diff --git a/CHANGELOG.md b/CHANGELOG.md
index 89c210ac..babb5eb1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
# Change Log
-## Master
+## 1.1.0 16 APR 2017
+
+I would like to thank @okwolf that has contributed with unit tests and some code reorganization.
### Added
@@ -13,6 +15,8 @@
- Added 2525B symbols that are missing in 2525C, so now we have full support for 2525B as well.
+- Initial unit tests added to the repository.
+
### Changed
### Deprecated
diff --git a/bower.json b/bower.json
index 0802b2b1..46104eae 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "milsymbol",
- "version": "1.0.0",
+ "version": "1.1.0",
"homepage": "https://github.com/spatialillusions/milsymbol",
"authors": [
"Måns Beckman (http://www.spatialillusions.com)"
diff --git a/dist/milsymbol.js b/dist/milsymbol.js
index 9ed6a02d..d913a19f 100644
--- a/dist/milsymbol.js
+++ b/dist/milsymbol.js
@@ -1,4 +1,4 @@
-!function(I,E){"object"==typeof exports&&"object"==typeof module?module.exports=E():"function"==typeof define&&define.amd?define("milsymbol",[],E):"object"==typeof exports?exports.milsymbol=E():I.ms=E()}(this,function(){return function(I){function E(R){if(t[R])return t[R].exports;var C=t[R]={i:R,l:!1,exports:{}};return I[R].call(C.exports,C,C.exports,E),C.l=!0,C.exports}var t={};return E.m=I,E.c=t,E.i=function(I){return I},E.d=function(I,t,R){E.o(I,t)||Object.defineProperty(I,t,{configurable:!1,enumerable:!0,get:R})},E.n=function(I){var t=I&&I.__esModule?function(){return I.default}:function(){return I};return E.d(t,"a",t),t},E.o=function(I,E){return Object.prototype.hasOwnProperty.call(I,E)},E.p="",E(E.s=66)}([function(I,E,t){"use strict";/*!
+!function(I,E){"object"==typeof exports&&"object"==typeof module?module.exports=E():"function"==typeof define&&define.amd?define("milsymbol",[],E):"object"==typeof exports?exports.milsymbol=E():I.ms=E()}(this,function(){return function(I){function E(R){if(t[R])return t[R].exports;var C=t[R]={i:R,l:!1,exports:{}};return I[R].call(C.exports,C,C.exports,E),C.l=!0,C.exports}var t={};return E.m=I,E.c=t,E.i=function(I){return I},E.d=function(I,t,R){E.o(I,t)||Object.defineProperty(I,t,{configurable:!1,enumerable:!0,get:R})},E.n=function(I){var t=I&&I.__esModule?function(){return I.default}:function(){return I};return E.d(t,"a",t),t},E.o=function(I,E){return Object.prototype.hasOwnProperty.call(I,E)},E.p="",E(E.s=58)}([function(I,E,t){"use strict";/*!
==========================================================================================
The MIT License (MIT)
@@ -29,4 +29,4 @@ For updates and more information go to http://www.spatialillusions.com
==========================================================================================
*/
-var R=new function(){this._colorModes={},this._dashArrays={pending:"4,4",anticipated:"8,12",feintDummy:"8,8"},this._hqStafLength=100,this._iconCache={},this._iconParts=[],this._labelCache={},this._labelOverrides={},this._letterSIDCicons=[],this._numberSIDCicons=[],this._STD2525=!0,this._svgNS="http://www.w3.org/2000/svg",this._symbolParts=[],this.autoSVG=!1,this.version="1.1.0","object"==typeof console&&console.info("milsymbol.js "+this.version+" - Copyright (c) 2017 Måns Beckman http://www.spatialillusions.com"),"undefined"==typeof parseXML&&(window.parseXML=function(I,E){E=E||document;var t=(new DOMParser).parseFromString(I,"text/xml");return E.adoptNode(t.documentElement)})};R._scale=function(I,E){return{type:"translate",x:100-100*I,y:100-100*I,draw:[{type:"scale",factor:I,draw:[E]}]}},R._translate=function(I,E,t){return{type:"translate",x:I,y:E,draw:[t]}},R.addIconParts=function(I){return"function"==typeof I&&(this._iconParts=this._iconParts.concat(I)),R},R.addLabelOverrides=function(I,E){return"function"==typeof I&&(this._labelOverrides.hasOwnProperty(E)||(this._labelOverrides[E]=[]),this._labelOverrides[E]=this._labelOverrides[E].concat(I)),R},R.addSIDCicons=function(I,E){return"function"==typeof I&&(this["_"+E+"SIDCicons"]=this["_"+E+"SIDCicons"].concat(I)),R},R.addSymbolPart=function(I){return"function"==typeof I&&R.setSymbolParts(R.getSymbolParts().concat(I)),R},R.BBox=t(58),R.ColorMode=function(I,E,t,R,C){var A={};return A.Civilian=I,A.Friend=E,A.Hostile=t,A.Neutral=R,A.Unknown=C,A},R.getColorMode=function(I){var E=this._colorModes[I];return new R.ColorMode(E.Civilian,E.Friend,E.Hostile,E.Neutral,E.Unknown)},R.getDashArrays=function(){return this._dashArrays},R.getHqStafLength=function(){return this._hqStafLength},R.getSymbolParts=function(){return this._symbolParts.slice(0)},R.getVersion=function(){return this.version},R.outline=function(I,E,t,C){if(Array.isArray(I)){var A=[];for(var e in I)A.push(R.outline(I[e],E,t,C))}else{var A={};for(var S in I)-1==["fill","fillopacity"].indexOf(S)&&(A[S]=I[S]);if("translate"==I.type||"rotate"==I.type||"scale"==I.type){A.draw=[];for(var T in I.draw)A.draw.push(R.outline(I.draw[T],E,t,C))}else A.strokewidth=0!=A.stroke?Number(A.strokewidth||t)+2*E:2*E,A.stroke=C,A.fill=!1,A.linecap="round"}return A},R.setAutoSVG=function(I){return this.autoSVG=I,this.autoSVG},R.setColorMode=function(I,E){return this._colorModes[I]={},this._colorModes[I].Hostile=E.Hostile,this._colorModes[I].Friend=E.Friend,this._colorModes[I].Neutral=E.Neutral,this._colorModes[I].Unknown=E.Unknown,this._colorModes[I].Civilian=E.Civilian,this._colorModes[I]},R.setDashArrays=function(I,E,t){return this._dashArrays.pending=I,this._dashArrays.anticipated=E,this._dashArrays.feintDummy=t,this._dashArrays},R.setHqStafLength=function(I){return this._hqStafLength=I,this._hqStafLength},R.setSymbolParts=function(I){return this._symbolParts=I,R},R.setStandard=t(59),R.addMarkerParts=function(I){console.log("addMarkerParts() is deprecated and should not be used, use addSymbolPart() instead."),R.addSymbolPart(I)},R.bboxMax=function(I,E){return console.log("bboxMax() is deprecated and should not be used, use BBox.merge() instead."),I.merge(E)},R.buildingBlock=function(I,E,t){return console.log("buildingBlock() is deprecated and should not be used."),1==I.length&&Array.isArray(I[0])&&(I=I[0]),1==E.length&&Array.isArray(E[0])&&(E=E[0]),{pre:I,post:E,bbox:t}},R.addLetterLabelOverrides=function(I){console.log("addLetterLabelOverrides() is deprecated and should not be used, use addLabelOverrides() instead."),"function"==typeof I&&(this._labelOverrides.hasOwnProperty("letter")||(this._labelOverrides.letter=[]),this._labelOverrides.letter=this._labelOverrides.letter.concat(I))},R.addLetterSIDCicons=function(I){console.log("addLetterSIDCicons() is deprecated and should not be used, use addSIDCicons() instead."),"function"==typeof I&&(this._letterSIDCicons=this._letterSIDCicons.concat(I))},R.addNumberLabelOverrides=function(I){console.log("addNumberLabelOverrides() is deprecated and should not be used, use addLabelOverrides() instead."),"function"==typeof I&&(this._labelOverrides.hasOwnProperty("number")||(this._labelOverrides.number=[]),this._labelOverrides.number=this._labelOverrides.number.concat(I))},R.addNumberSIDCicons=function(I){console.log("addNumberSIDCicons() is deprecated and should not be used, use addSIDCicons() instead."),"function"==typeof I&&(this._numberSIDCicons=this._numberSIDCicons.concat(I))},R.bbox=function(I){return console.log("bbox() is deprecated and should not be used, use BBox() instead."),R.BBox(I)},R.colorMode=function(I,E,t,C,A){return console.log("colorMode() is deprecated and should not be used, use ColorMode() instead."),R.ColorMode(I,E,t,C,A)},R.getMarkerParts=function(){return console.log("getMarkerParts() is deprecated and should not be used, use getSymbolParts() instead."),R.getSymbolParts()},R.setMarkerParts=function(I){return console.log("setMarkerParts() is deprecated and should not be used, use setSymbolParts() instead."),R.setSymbolParts(I),R},I.exports=R},function(I,E,t){var R=t(0);I.exports=new R.ColorMode("black","black","black","black","black")},function(I,E,t){var R=t(0);I.exports=new R.ColorMode("rgb(80,0,80)","rgb(0,107,140)","rgb(200,0,0)","rgb(0,160,0)","rgb(225,220,0)")},function(I,E,t){var R=t(0);I.exports=new R.ColorMode("rgb(255,0,255)","rgb(0, 255, 255)","rgb(255, 0, 0)","rgb(0, 255, 0)","rgb(255, 255, 0)")},function(I,E,t){var R=t(0);I.exports=new R.ColorMode("rgb(255,0,255)","rgb(0, 255, 255)","rgb(255, 0, 0)","rgb(0, 255, 0)","rgb(255, 255, 0)")},function(I,E,t){var R=t(0);I.exports=new R.ColorMode("rgb(255,161,255)","rgb(128,224,255)","rgb(255,128,128)","rgb(170,255,170)","rgb(255,255,128)")},function(I,E,t){var R=t(0);I.exports=new R.ColorMode("rgb(128,0,128)","rgb(0,168,220)","rgb(255,48,49)","rgb(0,226,110)","rgb(255,255,0)")},function(I,E,t){var R=t(0);I.exports=new R.ColorMode(!1,!1,!1,!1,!1)},function(I,E,t){var R=t(0);I.exports=new R.ColorMode("rgb(239, 239, 239)","rgb(239, 239, 239)","rgb(239, 239, 239)","rgb(239, 239, 239)","rgb(239, 239, 239)")},function(I,E,t){var R=t(0);I.exports=new R.ColorMode("white","white","white","white","white")},function(I,E){I.exports=function(I,E,t,R,C,A){function e(I){if("object"==typeof I){if(Array.isArray(I)){for(var E=0;E':"",t["AIR.M1.SPECIAL OPERATIONS FORCES"]],I["S-F-AHH---"]=[t["GR.IC.AVIATION ROTARY WING"],t["AIR.M1.SPECIAL OPERATIONS FORCES"],t["SOF.M2.COMBAT SEARCH AND RESCUE"]],I["S-F-AHA---"]=[t["AR.I.MILITARY FIXED WING"],t["AIR.M1.SPECIAL OPERATIONS FORCES"],t["SOF.M2.ATTACK"]],I["S-F-AHU---"]=[t["AR.I.MILITARY FIXED WING"],t["AIR.M1.SPECIAL OPERATIONS FORCES"],t["SOF.M2.UTILITY"]],I["S-F-AHUL--"]=[t["AR.I.MILITARY FIXED WING"],t["AIR.M1.SPECIAL OPERATIONS FORCES"],t["AIR.M2.LIGHT"]],I["S-F-AHUM--"]=[t["AR.I.MILITARY FIXED WING"],t["AIR.M1.SPECIAL OPERATIONS FORCES"],t["AIR.M2.MEDIUM"]],I["S-F-AHUH--"]=[t["AR.I.MILITARY FIXED WING"],t["AIR.M1.SPECIAL OPERATIONS FORCES"],t["AIR.M2.HEAVY"]],I["S-F-SN----"]=I["S-F-N-----"]=[t["GR.IC.NAVAL"],t["AIR.M1.SPECIAL OPERATIONS FORCES"]],I["S-F-SNS---"]=I["S-F-NS----"]=[t["GR.IC.SEA-AIR-LAND"]],I["S-F-SNU---"]=I["S-F-NU----"]=[t["SOF.IC.UNDERWATER DEMOLITION TEAM"]],I["S-F-SNB---"]=I["S-F-NB----"]=[t["SE.IC.COMBATANT"],t["AIR.M1.SPECIAL OPERATIONS FORCES"]],I["S-F-SNN---"]=I["S-F-NN----"]=[t["SU.IC.SUBMARINE NUCLEAR PROPULSION"],t["AIR.M1.SPECIAL OPERATIONS FORCES"]],I["S-F-G-----"]=[t["GR.IC.FF.INFANTRY"],t["AR.I.SPECIAL OPERATIONS FORCES"]],I["S-F-GS----"]=[t["GR.IC.SPECIAL FORCES"]],I["S-F-GR----"]=I["S-F-GSR---"]=[t["GR.IC.FF.INFANTRY"],t["AIR.M1.RECONNAISSANCE"],t["GR.M2.AIRBORNE"]],I["S-F-GP----"]=I["S-F-GSP---"]=[t["GR.EQ.PSYCHOLOGICAL OPERATIONS EQUIPMENT"]],I["S-F-GPA---"]=I["S-F-GSPA--"]=[t["GR.EQ.PSYCHOLOGICAL OPERATIONS EQUIPMENT"],R._translate(0,-30,R._scale(.7,t["AR.I.MILITARY FIXED WING"]))],I["S-F-GC----"]=I["S-F-GCA---"]=[t["GR.IC.CIVIL AFFAIRS"]],I["S-F-GB----"]=I["S-F-B-----"]=[t["AR.I.SPECIAL OPERATIONS FORCES"],t["GR.M2.SUPPORT"]]}},function(I,E,t){t(0);I.exports=function(I,E,t,R){I["S-P-------"]=[],I["S-P-S-----"]=[t["SP.I.FF.SATELLITE"]],I["S-P-V-----"]=[t["SP.I.FF.CREWED SPACE VEHICLE"]],I["S-P-T-----"]=[t["SP.I.FF.SPACE STATION"]],I["S-P-L-----"]=[t["SP.I.SPACE LAUNCH VEHICLE"]]}},function(I,E,t){t(0);I.exports=function(I,E,t,R){I["O-V-A-----"]=[t["ST.IC.ARSON/FIRE"]],I["O-V-M-----"]=[t["ST.IC.KILLING VICTIM"]],I["O-V-MA----"]=[t["ST.IC.KILLING VICTIM"],t["ST.M1.MURDER"]],I["O-V-MB----"]=[t["ST.IC.KILLING VICTIM"],t["ST.M1.EXECUTION (WRONGFUL KILLING)"]],I["O-V-MC----"]=[t["ST.IC.KILLING VICTIM"],t["ST.M1.ASSASSINATION"]],I["O-V-B-----"]=[t["ST.IC.BOMB"]],I["O-V-Y-----"]=[t["ST.IC.BOOBY TRAP"]],I["O-V-D-----"]=[t["ST.IC.DRIVE-BY SHOOTING"]],I["O-V-S-----"]=[t["ST.IC.SNIPING"]],I["O-V-P-----"]=[t["ST.IC.POISONING"]],I["O-V-E-----"]=[t["ST.IC.EXPLOSION"]],I["O-V-EI----"]=[t["ST.IC.EXPLOSION"],t["ST.IC.IED"]],I["O-L-B-----"]=[t["ST.IC.BLACK LIST LOCATION"]],I["O-L-G-----"]=[t["ST.IC.GRAY LIST LOCATION"]],I["O-L-W-----"]=[t["ST.IC.WHITE LIST LOCATION"]],I["O-L-M-----"]=[t["ST.IC.MASS GRAVE LOCATION"]],I["O-O-P-----"]=[t["ST.IC.PATROLLING"]],I["O-O-RW----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.WILLING"]],I["O-O-RC----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.COERCED/IMPRESSED"]],I["O-O-D-----"]=[t["ST.IC.DEMONSTRATION"]],I["O-O-M-----"]=[t["ST.IC.MINE LAYING"]],I["O-O-Y-----"]=[t["ST.IC.PSYCHOLOGICAL OPERATIONS"]],I["O-O-YT----"]=[t["ST.IC.RADIO AND TELEVISION PSYCHOLOGICAL OPERATIONS"]],I["O-O-YW----"]=[t["ST.IC.PSYCHOLOGICAL OPERATIONS"],t["ST.M1.WRITTEN PSYCHOLOGICAL OPERATIONS"]],I["O-O-YH----"]=[t["ST.IC.PSYCHOLOGICAL OPERATIONS"],t["ST.M1.HOUSE-TO-HOUSE"]],I["O-O-F-----"]=[t["ST.IC.SEARCHING"]],I["O-O-S-----"]=[t["ST.IC.SPY"]],I["O-O-O-----"]=[t["ST.IC.FOOD DISTRIBUTION"]],I["O-O-E-----"]=[t["ST.IC.EXTORTION"]],I["O-O-HT----"]=[t["ST.IC.KNOWN INSURGENT VEHICLE"],t["ST.M1.HIJACKING/HIJACKED"]],I["O-O-HA----"]=[t["ST.IC.HIJACKING (AIRPLANE)"],t["ST.M1.HIJACKING/HIJACKED"]],I["O-O-HV----"]=[t["ST.IC.HIJACKING (BOAT)"],t["ST.M1.HIJACKING/HIJACKED"]],I["O-O-K-----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.KIDNAPPING"]],I["O-O-KA----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.KIDNAPPING"],t["ST.IC.ATTEMPTED CRIMINAL ACTIVITY"]],I["O-O-A-----"]=[t["ST.IC.ARREST"]],I["O-O-U-----"]=[t["ST.IC.DRUG RELATED ACTIVITIES"]],I["O-O-C-----"]=[t["ST.IC.COMPOSITE LOSS"]],I["O-O-CA----"]=[t["ST.IC.COMPOSITE LOSS"],t["ST.M1.COMBAT"]],I["O-O-CB----"]=[t["ST.IC.COMPOSITE LOSS"],t["ST.M1.ACCIDENT"]],I["O-O-CC----"]=[t["ST.IC.COMPOSITE LOSS"],t["ST.M1.OTHER"]],I["O-I-R-----"]=[t["ST.IC.GROUP"]],I["O-I-S-----"]=[t["ST.IC.SAFE HOUSE"]],I["O-I-G-----"]=[t["ST.IC.GRAFFITI"]],I["O-I-V-----"]=[t["ST.IC.VANDALISM/LOOT/RANSACK/PLUNDER/SACK"]],I["O-I-I-----"]=[t["ST.IC.KNOWN INSURGENT VEHICLE"]],I["O-I-D-----"]=[t["ST.IC.KNOWN INSURGENT VEHICLE"],t["ST.M1.DRUG"]],I["O-I-F-----"]=[t["ST.IC.INTERNAL SECURITY FORCE"]],I["O-P-------"]=[t["ST.IC.INDIVIDUAL"]],I["O-P-A-----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.LEADER"]],I["O-P-B-----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.TARGETED"]],I["O-P-C-----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.TERRORIST"]],I["O-G-------"]=[t["ST.IC.GROUP"]],I["O-G-A-----"]=[t["ST.IC.GROUP"],t["ST.M1.DISPLACED PERSONS, REFUGEES, AND EVACUEES"]],I["O-G-B-----"]=[t["ST.IC.GROUP"],t["ST.M1.NONGOVERNMENTAL ORGANIZATION (NGO)"]],I["O-G-C-----"]=[t["ST.IC.GROUP"],t["ST.M1.TERRORIST"]],I["O-G-D-----"]=[t["ST.IC.GROUP"],t["ST.M1.RELIGIOUS"]],I["O-G-E-----"]=[t["ST.IC.GROUP"],t["ST.M1.FOREIGN FIGHTERS"]],I["O-G-F-----"]=[t["ST.IC.GROUP"],t["ST.M1.GANG"]],I["O-R-------"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.RAPE"]],I["O-R-A-----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.RAPE"],t["ST.IC.ATTEMPTED CRIMINAL ACTIVITY"]]}},function(I,E,t){t(0);I.exports=function(I,E,t,R){I["S-U-------"]=[],I["S-U-S-----"]=[t["SU.IC.SUBMARINE"]],I["S-U-SF----"]=[t["SU.IC.SUBMARINE, SURFACED"]],I["S-U-SB----"]=[t["SU.IC.SUBMARINE, BOTTOMED"]],I["S-U-SR----"]=[t["SU.IC.SUBMARINE"],t["SU.M2.CERTSUB"]],I["S-U-SX----"]=[t["SU.IC.NON-SUBMARINE"]],I["S-U-SN----"]=[t["SU.IC.SUBMARINE NUCLEAR PROPULSION"]],I["S-U-SNF---"]=[t["SU.IC.SUBMARINE NUCLEAR PROPULSION, SURFACED"]],I["S-U-SNA---"]=[t["SU.IC.SUBMARINE NUCLEAR PROPULSION"],t["SU.IC.SUBMARINE ATTACK (SSN)"]],I["S-U-SNM---"]=[t["SU.IC.SUBMARINE NUCLEAR PROPULSION"],t["SU.IC.SUBMARINE MISSILE (TYPE UNKNOWN)"]],I["S-U-SNG---"]=[t["SU.IC.SUBMARINE NUCLEAR PROPULSION"],t["SU.IC.SUBMARINE GUIDED MISSILE (SSGN)"]],I["S-U-SNB---"]=[t["SU.IC.SUBMARINE NUCLEAR PROPULSION"],t["SU.IC.SUBMARINE BALLISTIC MISSILE (SSBN)"]],I["S-U-SC----"]=[t["SU.IC.SUBMARINE CONVENTIONAL PROPULSION"]],I["S-U-SCF---"]=[t["SU.IC.SUBMARINE CONVENTIONAL PROPULSION, SURFACED"]],I["S-U-SCA---"]=[t["SU.IC.SUBMARINE CONVENTIONAL PROPULSION"],t["SU.IC.SUBMARINE ATTACK (SSN)"]],I["S-U-SCM---"]=[t["SU.IC.SUBMARINE CONVENTIONAL PROPULSION"],t["SU.IC.SUBMARINE MISSILE (TYPE UNKNOWN)"]],I["S-U-SCG---"]=[t["SU.IC.SUBMARINE CONVENTIONAL PROPULSION"],t["SU.IC.SUBMARINE GUIDED MISSILE (SSGN)"]],I["S-U-SCB---"]=[t["SU.IC.SUBMARINE CONVENTIONAL PROPULSION"],t["SU.IC.SUBMARINE BALLISTIC MISSILE (SSBN)"]],I["S-U-SO----"]=[t["SU.IC.OTHER SUBMERSIBLE"]],I["S-U-SOF---"]=[t["SU.IC.OTHER SUBMERSIBLE, SURFACED"]],I["S-U-SU----"]=[t["SU.IC.AUTONOMOUS UNDERWATER VEHICLE/ UNMANNED UNDERWATER VEHICLE (AUV/UUV)"]],I["S-U-SUM---"]=[t["SU.IC.AUTONOMOUS UNDERWATER VEHICLE/ UNMANNED UNDERWATER VEHICLE (AUV/UUV)"],t["SU.M1.MINE COUNTERMEASURES"]],I["S-U-SUS---"]=[t["SU.IC.AUTONOMOUS UNDERWATER VEHICLE/ UNMANNED UNDERWATER VEHICLE (AUV/UUV)"],t["SU.M1.ANTISUBMARINE WARFARE"]],I["S-U-SUN---"]=[t["SU.IC.AUTONOMOUS UNDERWATER VEHICLE/ UNMANNED UNDERWATER VEHICLE (AUV/UUV)"],t["SU.M1.SURFACE WARFARE"]],I["S-U-S1----"]=[t["SU.IC.SUBMARINE"],t["SU.M1.POSSIBLE SUBMARINE - LOW 1"]],I["S-U-S2----"]=[t["SU.IC.SUBMARINE"],t["SU.M1.POSSIBLE SUBMARINE - LOW 2"]],I["S-U-S3----"]=[t["SU.IC.SUBMARINE"],t["SU.M1.POSSIBLE SUBMARINE - HIGH 3"]],I["S-U-S4----"]=[t["SU.IC.SUBMARINE"],t["SU.M1.POSSIBLE SUBMARINE - HIGH 4"]],I["S-U-SL----"]=[t["SU.IC.SUBMARINE"],t["SU.M1.PROBABLE SUBMARINE"]],I["S-U-SK----"]=[t["SU.IC.SUBMARINE, SNORKELING"]],I["S-U-W-----"]=[t["SU.IC.UNDERWATER WEAPON"]],I["S-U-WT----"]=[t["SU.IC.TORPEDO"]],I["S-U-WM----"]=[t["SU.IC.SEA MINE"]],I["S-U-WMD---"]=[t["SU.IC.SEA MINE NEUTRALIZED"]],I["S-U-WMG---"]=[t["SU.IC.SEA MINE - BOTTOM"]],I["S-U-WMGD--"]=[t["SU.IC.SEA MINE NEUTRALIZED - BOTTOM"]],I["S-U-WMGX--"]=[t["SU.IC.SEA MINE EXERCISE MINE - BOTTOM"]],I["S-U-WMGE--"]=[t["SU.IC.SEA MINE MILEC - BOTTOM"]],I["S-U-WMGC--"]=[t["SU.IC.SEA MINE MILCO - BOTTOM"]],I["S-U-WMGR--"]=[t["SU.IC.SEA MINE NEGATIVE REACQUISITION - BOTTOM"]],I["S-U-WMGO--"]=[t["SU.IC.SEA MINE NON-MINE MINE-LIKE CONTACT - BOTTOM"]],I["S-U-WMM---"]=[t["SU.IC.SEA MINE - MOORED"]],I["S-U-WMMD--"]=[t["SU.IC.SEA MINE NEUTRALIZED - MOORED"]],I["S-U-WMMX--"]=[t["SU.IC.SEA MINE EXERCISE MINE - MOORED"]],I["S-U-WMME--"]=[t["SU.IC.SEA MINE MILEC - MOORED"]],I["S-U-WMMC--"]=[t["SU.IC.SEA MINE MILCO - MOORED"]],I["S-U-WMMR--"]=[t["SU.IC.SEA MINE NEGATIVE REACQUISITION - MOORED"]],I["S-U-WMMO--"]=[t["SU.IC.SEA MINE NON-MINE MINE-LIKE CONTACT - MOORED"]],I["S-U-WMF---"]=[t["SU.IC.SEA MINE - FLOATING"]],I["S-U-WMFD--"]=[t["SU.IC.SEA MINE NEUTRALIZED - FLOATING"]],I["S-U-WMFX--"]=[t["SU.IC.SEA MINE EXERCISE MINE - FLOATING"]],I["S-U-WMFE--"]=[t["SU.IC.SEA MINE MILEC - FLOATING"]],I["S-U-WMFC--"]=[t["SU.IC.SEA MINE MILCO - FLOATING"]],I["S-U-WMFR--"]=[t["SU.IC.SEA MINE NEGATIVE REACQUISITION - FLOATING"]],I["S-U-WMFO--"]=[t["SU.IC.SEA MINE NON-MINE MINE-LIKE CONTACT - FLOATING"]],I["S-U-WMO---"]=[t["SU.IC.SEA MINE (IN OTHER POSITION)"]],I["S-U-WMOD--"]=[t["SU.IC.SEA MINE (IN OTHER POSITION) NEUTRALIZED"]],I["S-U-WMX---"]=[t["SU.IC.SEA MINE EXERCISE MINE"]],I["S-U-WME---"]=[t["SU.IC.SEA MINE MILEC"]],I["S-U-WMA---"]=[t["SU.IC.SEA MINE MINE ANCHOR"]],I["S-U-WMC---"]=[t["SU.IC.SEA MINE MILCO"]],I["S-U-WMR---"]=[t["SU.IC.SEA MINE NEGATIVE REACQUISITION"]],I["S-U-WMB---"]=[t["SU.IC.SEA MINE GENERAL OBSTRUCTOR"]],I["S-U-WMBD--"]=[t["SU.IC.SEA MINE GENERAL OBSTRUCTOR NEUTRALIZED"]],I["S-U-WMN---"]=[t["SU.IC.SEA MINE NON-MINE MINE-LIKE CONTACT"]],I["S-U-WMS---"]=[t["SU.IC.SEA MINE - RISING"]],I["S-U-WMSX--"]=[t["SU.IC.SEA MINE EXERCISE MINE - RISING"]],I["S-U-WMSD--"]=[t["SU.IC.SEA MINE NEUTRALIZED - RISING"]],I["S-U-WV----"]=[t["SU.IC.AUTONOMOUS UNDERWATER VEHICLE/ UNMANNED UNDERWATER VEHICLE (AUV/UUV)"]],I["S-U-WD----"]=[t["SU.IC.UNDERWATER DECOY"]],I["S-U-WDM---"]=[t["SU.IC.SEA MINE DECOY"]],I["S-U-WDMG--"]=[t["SU.IC.SEA MINE DECOY, BOTTOM/GROUND"]],I["S-U-WDMM--"]=[t["SU.IC.SEA MINE DECOY, MOORED"]],I["S-U-N-----"]=[t["SU.IC.NON-SUBMARINE"]],I["S-U-ND----"]=[t["SU.IC.DIVER, CIVILIAN"]],I["S-U-E-----"]=[t["SU.IC.ENVIRONMENTAL REPORT LOCATION"]],I["S-U-V-----"]=[t["SU.IC.DIVE REPORT LOCATION"]],I["S-U-X-----"]=[t["SU.IC.UNEXPLODED EXPLOSIVE ORDNANCE"]],I["S-U-NBS---"]=[t["SU.IC.SEABED INSTALLATION/MANMADE"]],I["S-U-NBR---"]=[t["SU.IC.SEABED ROCK/STONE, OBSTACLE, OTHER"]],I["S-U-NBW---"]=[t["SU.IC.WRECK"]],I["S-U-NM----"]=[t["SU.IC.MARINE LIFE"]],I["S-U-NA----"]=[t["SU.IC.SEA ANOMALY"]]}},function(I,E){I.exports=function(I,E,t,R){I["G-T-D-----"]=t["TP.DESTROY"],E["G-T-D-----"]={x1:0,x2:200,y1:40,y2:160},I["G-T-I-----"]=t["TP.INTERDICT"],E["G-T-I-----"]={x1:0,x2:200,y1:40,y2:160},I["G-T-N-----"]=t["TP.NEUTRALIZE"],E["G-T-N-----"]={x1:0,x2:200,y1:40,y2:160},I["G-G-GPUUD-"]=t["TP.DATUM"],E["G-G-GPUUD-"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPUUB-"]=t["TP.BRIEF CONTACT"],E["G-G-GPUUB-"]={x1:50,x2:150,y1:0,y2:100},I["G-G-GPUUL-"]=t["TP.LOST CONTACT"],E["G-G-GPUUL-"]={x1:50,x2:150,y1:0,y2:100},I["G-G-GPUUS-"]=t["TP.SINKER"],E["G-G-GPUUS-"]={x1:50,x2:150,y1:0,y2:100},I["G-G-GPUY--"]=t["TP.SONOBUOY"],E["G-G-GPUY--"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYP-"]=t["TP.SONOBUOY PATTERN CENTER"],E["G-G-GPUYP-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYD-"]=t["TP.SONOBUOY DIFAR"],E["G-G-GPUYD-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYL-"]=t["TP.SONOBUOY LOFAR"],E["G-G-GPUYL-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYC-"]=t["TP.SONOBUOY CASS"],E["G-G-GPUYC-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYS-"]=t["TP.SONOBUOY DICASS"],E["G-G-GPUYS-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYB-"]=t["TP.SONOBUOY BT"],E["G-G-GPUYB-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYA-"]=t["TP.SONOBUOY ANM"],E["G-G-GPUYA-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYV-"]=t["TP.SONOBUOY VLAD"],E["G-G-GPUYV-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYT-"]=t["TP.SONOBUOY ATAC"],E["G-G-GPUYT-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYR-"]=t["TP.SONOBUOY RO"],E["G-G-GPUYR-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYK-"]=t["TP.SONOBUOY KINGPIN"],E["G-G-GPUYK-"]={x1:60,x2:140,y1:-10,y2:160},I["G-G-GPUYX-"]=t["TP.SONOBUOY EXPIRED"],E["G-G-GPUYX-"]={x1:40,x2:160,y1:-10,y2:160},I["G-G-GPUS--"]=t["TP.SEARCH"],E["G-G-GPUS--"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPUSA-"]=t["TP.SEARCH AREA"],E["G-G-GPUSA-"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPUSD-"]=t["TP.DIP POSITION"],E["G-G-GPUSD-"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPUSC-"]=t["TP.SEARCH CENTER"],E["G-G-GPUSC-"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPR---"]=t["TP.REFERENCE POINT"],E["G-G-GPR---"]={x1:40,x2:160,y1:40,y2:160},I["G-G-GPRN--"]=t["TP.NAVIGATIONAL REFERENCE"],E["G-G-GPRN--"]={x1:40,x2:160,y1:40,y2:160},I["G-G-GPRS--"]=t["TP.SPECIAL POINT"],E["G-G-GPRS--"]={x1:40,x2:160,y1:40,y2:160},I["G-G-GPRD--"]=t["TP.DLRP"],E["G-G-GPRD--"]={x1:40,x2:160,y1:40,y2:160},I["G-G-GPRP--"]=t["TP.POINT OF INTENDED MOVEMENT"],E["G-G-GPRP--"]={x1:40,x2:160,y1:40,y2:160},I["G-G-GPRM--"]=t["TP.MARSHALL POINT"],E["G-G-GPRM--"]={x1:40,x2:160,y1:40,y2:160},I["G-G-GPRW--"]=t["TP.REFERENCE POINT WAYPOINT"],E["G-G-GPRW--"]={x1:40,x2:160,y1:40,y2:160},I["G-G-GPRC--"]=t["TP.CORRIDOR TAB"],E["G-G-GPRC--"]={x1:40,x2:160,y1:40,y2:160},I["G-G-GPRI--"]=t["TP.POINT OF INTEREST"],E["G-G-GPRI--"]={x1:50,x2:150,y1:-25},I["G-G-GPWA--"]=t["TP.AIM POINT"],E["G-G-GPWA--"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPWD--"]=t["TP.DROP POINT"],E["G-G-GPWD--"]={x1:50,x2:150,y1:50,y2:120},I["G-G-GPWE--"]=t["TP.ENTRY POINT"],E["G-G-GPWE--"]={x1:50,x2:150,y1:50},I["G-G-GPWG--"]=t["TP.GROUND ZERO"],E["G-G-GPWG--"]={x1:50,x2:150,y1:30},I["G-G-GPWM--"]=t["TP.MSL DETECT POINT"],E["G-G-GPWM--"]={x1:50,x2:150,y1:30},I["G-G-GPWI--"]=t["TP.IMPACT POINT"],E["G-G-GPWI--"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPWP--"]=t["TP.PREDICTED IMPACT POINT"],E["G-G-GPWP--"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPF---"]=t["TP.FORMATION"],E["G-G-GPF---"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPH---"]=t["TP.HARBOR"],E["G-G-GPH---"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPHQ--"]=t["TP.HARBOR POINT Q"],E["G-G-GPHQ--"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPHA--"]=t["TP.HARBOR POINT A"],E["G-G-GPHA--"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPHY--"]=t["TP.HARBOR POINT Y"],E["G-G-GPHY--"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPHX--"]=t["TP.HARBOR POINT X"],E["G-G-GPHX--"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPO---"]=t["TP.ROUTE"],E["G-G-GPO---"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPOZ--"]=t["TP.ROUTE RENDEZVOUS"],E["G-G-GPOZ--"]={x1:30,x2:170,y1:60,y2:170},I["G-G-GPOD--"]=t["TP.ROUTE DIVERSIONS"],E["G-G-GPOD--"]={x1:30,x2:170,y1:60,y2:170},I["G-G-GPOW--"]=t["TP.ROUTE WAYPOINT"],E["G-G-GPOW--"]={x1:30,x2:170,y1:60,y2:170},I["G-G-GPOP--"]=t["TP.ROUTE PIM"],E["G-G-GPOP--"]={x1:30,x2:170,y1:60,y2:170},I["G-G-GPOR--"]=t["TP.ROUTE POINT R"],E["G-G-GPOR--"]={x1:30,x2:170,y1:60,y2:170},I["G-G-GPA---"]=t["TP.AIR CONTROL POINT"],E["G-G-GPA---"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAP--"]=t["TP.COMBAT AIR PATROL (CAP)"],E["G-G-GPAP--"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAW--"]=t["TP.AIRBORNE EARLY WARNING (AEW)"],E["G-G-GPAW--"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAK--"]=t["TP.TANKING"],E["G-G-GPAK--"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAA--"]=t["TP.FIXED WING"],E["G-G-GPAA--"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAH--"]=t["TP.ROTARY WING"],E["G-G-GPAH--"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAB--"]=t["TP.SUCAP - FIXED WING"],E["G-G-GPAB--"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAC--"]=t["TP.SUCAP - ROTARY WING"],E["G-G-GPAC--"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAD--"]=t["TP.MIW - FIXED WING"],E["G-G-GPAD--"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAE--"]=t["TP.MIW - ROTARY WING"],E["G-G-GPAE--"]={x1:60,x2:140,y1:40,y2:160},I["G-G-GPAS--"]=t["TP.STRIKE IP"],E["G-G-GPAS--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAT--"]=t["TP.TACAN"],E["G-G-GPAT--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAO--"]=t["TP.TOMCAT"],E["G-G-GPAO--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAR--"]=t["TP.RESCUE"],E["G-G-GPAR--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAL--"]=t["TP.REPLENISH"],E["G-G-GPAL--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAF--"]=t["TP.UNMANNED AERIAL SYSTEM"],E["G-G-GPAF--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAG--"]=t["TP.VTUA"],E["G-G-GPAG--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAI--"]=t["TP.ORBIT"],E["G-G-GPAI--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAJ--"]=t["TP.ORBIT - FIGURE EIGHT"],E["G-G-GPAJ--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAM--"]=t["TP.ORBIT - RACE TRACK"],E["G-G-GPAM--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPAN--"]=t["TP.ORBIT - RANDOM, CLOSED"],E["G-G-GPAN--"]={x1:60,x2:140,y1:30,y2:170},I["G-G-GPP---"]=t["TP.ACTION POINT"],E["G-G-GPP---"]={x1:60,x2:140,y1:-60},I["G-G-GPPK--"]=t["TP.ACTION CHECK POINT"],E["G-G-GPPK--"]={x1:60,x2:140,y1:-60},I["G-G-GPPC--"]=t["TP.CONTACT POINT"],E["G-G-GPPC--"]={x1:55,x2:145,y1:-10},I["G-G-GPPO--"]=t["TP.COORDINATION POINT"],E["G-G-GPPO--"]={x1:50,x2:150,y1:50,y2:150},I["G-G-GPPD--"]=t["TP.DECISION POINT"],E["G-G-GPPD--"]={x1:30,x2:170,y1:25,y2:160},I["G-G-GPPL--"]=t["TP.ACTION LINKUP POINT"],E["G-G-GPPL--"]={x1:60,x2:140,y1:-60},I["G-G-GPPP--"]=t["TP.ACTION PASSAGE POINT"],E["G-G-GPPP--"]={x1:60,x2:140,y1:-60},I["G-G-GPPR--"]=t["TP.ACTION RALLY POINT"],E["G-G-GPPR--"]={x1:60,x2:140,y1:-60},I["G-G-GPPE--"]=t["TP.ACTION RELEASE POINT"],E["G-G-GPPE--"]={x1:60,x2:140,y1:-60},I["G-G-GPPS--"]=t["TP.ACTION START POINT"],E["G-G-GPPS--"]={x1:60,x2:140,y1:-60},I["G-G-GPPA--"]=t["TP.ACTION AMNESTY POINT"],E["G-G-GPPA--"]={x1:60,x2:140,y1:-60},I["G-G-GPPW--"]=t["TP.WAYPOINT"],E["G-G-GPPW--"]={x1:60,x2:140,y1:60,y2:140},I["G-G-GPC---"]=t["TP.SEA SURFACE CONTROL STATION"],E["G-G-GPC---"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCU--"]=t["TP.(USV) CONTROL STATION"],E["G-G-GPCU--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCUR-"]=t["TP.(RMV) USV CONTROL STATION"],E["G-G-GPCUR-"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCUA-"]=t["TP.USV - ASW CONTROL STATION"],E["G-G-GPCUA-"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCUS-"]=t["TP.USV - SUW CONTROL STATION"],E["G-G-GPCUS-"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCUM-"]=t["TP.USV - MIW CONTROL STATION"],E["G-G-GPCUM-"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCA--"]=t["TP.ASW CONTROL STATION"],E["G-G-GPCA--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCS--"]=t["TP.SUW CONTROL STATION"],E["G-G-GPCS--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCM--"]=t["TP.MIW CONTROL STATION"],E["G-G-GPCM--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCP--"]=t["TP.PICKET CONTROL STATION"],E["G-G-GPCP--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCR--"]=t["TP.RENDEZVOUS CONTROL POINT"],E["G-G-GPCR--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCC--"]=t["TP.RESCUE CONTROL POINT"],E["G-G-GPCC--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCE--"]=t["TP.REPLENISHMENT CONTROL POINT"],E["G-G-GPCE--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPCN--"]=t["TP.NONCOMBATANT CONTROL STATION"],E["G-G-GPCN--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPB---"]=t["TP.SUB SURFACE CONTROL STATION"],E["G-G-GPB---"]={x1:30,x2:170,y1:60,y2:140};I["G-G-GPBU--"]=t["TP.(UUV) CONTROL STATION"],E["G-G-GPBU--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPBUA-"]=t["TP.UUV - ASW CONTROL STATION"],E["G-G-GPBUA-"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPBUS-"]=t["TP.UUV - SUW CONTROL STATION"],E["G-G-GPBUS-"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPBUM-"]=t["TP.UUV - MIW CONTROL STATION"],E["G-G-GPBUM-"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPBS--"]=t["TP.SUBMARINE CONTROL STATION"],E["G-G-GPBS--"]={x1:30,x2:170,y1:60,y2:140},I["G-G-GPBSA-"]=t["TP.ASW SUBMARINE CONTROL STATION"],E["G-G-GPBSA-"]={x1:30,x2:170,y1:60,y2:140},I["G-G-APP---"]=t["TP.AIR CONTROL POINT (ACP)"],E["G-G-APP---"]={x1:50,x2:150,y1:50,y2:150},I["G-G-APC---"]=t["TP.COMMUNICATIONS CHECKPOINT"],E["G-G-APC---"]={x1:50,x2:150,y1:50,y2:150},I["G-G-APU---"]=t["TP.PULL-UP POINT"],E["G-G-APU---"]={x1:50,x2:240,y1:50,y2:150},I["G-G-APD---"]=t["TP.DOWNED AIRCREW PICKUP POINT"],E["G-G-APD---"]={x1:60,x2:140,y1:-60},I["G-G-PN----"]=t["TP.DUMMY MINEFIELD"],E["G-G-PN----"]={x1:40,x2:160,y1:-10,y2:140},I["G-G-DPT---"]=t["TP.TARGET REFERENCE"],I["G-G-DPO---"]=t["TP.OBSERVATION POST/OUTPOST"],E["G-G-DPO---"]={x1:50,x2:150,y1:40,y2:150},I["G-G-DPOC--"]=t["TP.COMBAT OUTPOST"],E["G-G-DPOC--"]={x1:50,x2:150,y1:40,y2:150},I["G-G-DPOR--"]=t["TP.OBSERVATION POST/RECONNAISSANCE"],E["G-G-DPOR--"]={x1:50,x2:150,y1:40,y2:150},I["G-G-DPOF--"]=t["TP.FORWARD OBSERVER POSITION"],E["G-G-DPOF--"]={x1:50,x2:150,y1:40,y2:150},I["G-G-DPOS--"]=t["TP.SENSOR OUTPOST"],E["G-G-DPOS--"]={x1:50,x2:150,y1:40,y2:150},I["G-G-DPON--"]=t["TP.CBRN OBSERVATION POST"],E["G-G-DPON--"]={x1:50,x2:150,y1:40,y2:150},I["G-G-OPP---"]=t["TP.POINT OF DEPARTURE"],E["G-G-OPP---"]={x1:60,x2:140,y1:-60},I["G-M-OAOF--"]=t["TP.FIXED AND PREFABRICATED"],E["G-M-OAOF--"]={x1:60,x2:140,y1:30},I["G-M-OAOM--"]=t["TP.TETRAHEDRONS"],E["G-M-OAOM--"]={x1:60,x2:140,y1:30},I["G-M-OAOP--"]=t["TP.TETRAHEDRONS MOVABLE"],E["G-M-OAOP--"]={x1:60,x2:140,y1:30},I["G-M-OB----"]=t["TP.BOOBY TRAP"],I["G-M-OMU---"]=t["TP.UNSPECIFIED MINE"],I["G-M-OMT---"]=t["TP.ANTITANK MINE (AT)"],I["G-M-OMD---"]=t["TP.(AT) ANTIHANDLING DEVICE"],E["G-M-OMD---"]={x1:60,x2:140,y1:40,y2:195},I["G-M-OME---"]=t["TP.(AT) DIRECTIONAL"],E["G-M-OME---"]={x1:60,x2:140,y1:10,y2:140},I["G-M-OMP---"]=t["TP.ANTIPERSONNEL (AP) MINES"],I["G-M-OMW---"]=t["TP.WIDE AREA MINES"],I["G-M-OFS---"]=t["TP.MINEFIELDS STATIC"],E["G-M-OFS---"]={x1:40,x2:160,y1:60,y2:140},I["G-M-OHTL--"]=t["TP.TOWER LOW"],E["G-M-OHTL--"]={x1:50,x2:150,y1:30,y2:120},I["G-M-OHTH--"]=t["TP.TOWER HIGH"],E["G-M-OHTH--"]={x1:50,x2:150,y1:30,y2:120},I["G-M-BCP---"]=t["TP.ENGINEER REGULATING POINT"],E["G-M-BCP---"]={x1:60,x2:140,y1:-60},I["G-M-SE----"]=t["TP.EARTHWORK/FORTIFICATION"],I["G-M-SF----"]=t["TP.FORT"],I["G-M-SS----"]=t["TP.SURFACE SHELTER"],I["G-M-SU----"]=t["TP.UNDERGROUND SHELTER"],I["G-M-NZ----"]=t["TP.NUCLEAR DETONATIONS GROUND ZERO"],E["G-M-NZ----"]={x1:60,x2:140,y1:-20},I["G-M-NF----"]=t["TP.NUCLEAR FALLOUT PRODUCING"],E["G-M-NF----"]={x1:50,x2:150,y1:-20},I["G-M-NEB---"]=t["TP.RELEASE EVENTS BIOLOGICAL"],E["G-M-NEB---"]={x1:-10,x2:140,y1:-20},I["G-M-NEC---"]=t["TP.RELEASE EVENTS CHEMICAL"],E["G-M-NEC---"]={x1:-20,x2:140,y1:-20},I["G-M-NDP---"]=t["TP.DECON SITE/POINT"],E["G-M-NDP---"]={x1:60,x2:140,y1:-60},I["G-M-NDA---"]=t["TP.ALTERNATE DECON SITE/POINT"],E["G-M-NDA---"]={x1:60,x2:140,y1:-60},I["G-M-NDT---"]=t["TP.DECON SITE/POINT (TROOPS)"],E["G-M-NDT---"]={x1:60,x2:140,y1:-60},I["G-M-NDE---"]=t["TP.DECON SITE/POINT (EQUIPMENT)"],E["G-M-NDE---"]={x1:60,x2:140,y1:-60},I["G-M-NDB---"]=t["TP.DECON SITE/POINT (EQUIPMENT AND TROOPS)"],E["G-M-NDB---"]={x1:60,x2:140,y1:-60},I["G-M-NDO---"]=t["TP.DECON SITE/POINT (OPERATIONAL DECONTAMINATION)"],E["G-M-NDO---"]={x1:60,x2:140,y1:-60},I["G-M-NDD---"]=t["TP.DECON SITE/POINT (THOROUGH DECONTAMINATION)"],E["G-M-NDD---"]={x1:60,x2:140,y1:-60},I["G-F-PTS---"]=t["TP.POINT/SINGLE TARGET"],I["G-F-PTN---"]=t["TP.NUCLEAR TARGET"],I["G-F-PCF---"]=t["TP.FIRE SUPPORT STATION"],I["G-F-PCS---"]=t["TP.SURVEY CONTROL POINT"],E["G-F-PCS---"]={x1:60,x2:140,y1:-60},I["G-F-PCB---"]=t["TP.FIRING POINT"],E["G-F-PCB---"]={x1:60,x2:140,y1:-60},I["G-F-PCR---"]=t["TP.RELOAD POINT"],E["G-F-PCR---"]={x1:60,x2:140,y1:-60},I["G-F-PCH---"]=t["TP.HIDE POINT"],E["G-F-PCH---"]={x1:60,x2:140,y1:-60},I["G-F-PCL---"]=t["TP.LAUNCH POINT"],E["G-F-PCL---"]={x1:60,x2:140,y1:-60},I["G-S-PX----"]=t["TP.AMBULANCE EXCHANGE POINT"],E["G-S-PX----"]={x1:60,x2:140,y1:-60},I["G-S-PC----"]=t["TP.CANNIBALIZATION POINT"],E["G-S-PC----"]={x1:60,x2:140,y1:-60},I["G-S-PY----"]=t["TP.CASUALTY COLLECTION POINT"],E["G-S-PY----"]={x1:60,x2:140,y1:-60},I["G-S-PT----"]=t["TP.CIVILIAN COLLECTION POINT"],E["G-S-PT----"]={x1:60,x2:140,y1:-60},I["G-S-PD----"]=t["TP.DETAINEE COLLECTION POINT"],E["G-S-PD----"]={x1:60,x2:140,y1:-60},I["G-S-PE----"]=t["TP.EPW COLLECTION POINT"],E["G-S-PE----"]={x1:60,x2:140,y1:-60},I["G-S-PL----"]=t["TP.LOGISTICS RELEASE POINT"],E["G-S-PL----"]={x1:60,x2:140,y1:-60},I["G-S-PM----"]=t["TP.MAINTENANCE COLLECTION POINT"],E["G-S-PM----"]={x1:60,x2:140,y1:-60},I["G-S-PR----"]=t["TP.REARM, REFUEL AND RESUPPLY POINT"],E["G-S-PR----"]={x1:60,x2:140,y1:-60},I["G-S-PU----"]=t["TP.REFUEL ON THE MOVE POINT"],E["G-S-PU----"]={x1:60,x2:140,y1:-60},I["G-S-PO----"]=t["TP.TRAFFIC CONTROL POST"],E["G-S-PO----"]={x1:60,x2:140,y1:-60},I["G-S-PI----"]=t["TP.TRAILER TRANSFER POINT"],E["G-S-PI----"]={x1:60,x2:140,y1:-60},I["G-S-PN----"]=t["TP.UNIT MAINTENANCE COLLECTION POINT"],E["G-S-PN----"]={x1:60,x2:140,y1:-60},I["G-S-PSZ---"]=t["TP.SUPPLY POINT"],E["G-S-PSZ---"]={x1:60,x2:140,y1:-60},I["G-S-PSA---"]=t["TP.SP CLASS I"],E["G-S-PSA---"]={x1:60,x2:140,y1:-60},I["G-S-PSB---"]=t["TP.SP CLASS II"],E["G-S-PSB---"]={x1:60,x2:140,y1:-60},I["G-S-PSC---"]=t["TP.SP CLASS III"],E["G-S-PSC---"]={x1:60,x2:140,y1:-60},I["G-S-PSD---"]=t["TP.SP CLASS IV"],E["G-S-PSD---"]={x1:60,x2:140,y1:-60},I["G-S-PSE---"]=t["TP.SP CLASS V"],E["G-S-PSE---"]={x1:60,x2:140,y1:-60},I["G-S-PSF---"]=t["TP.SP CLASS VI"],E["G-S-PSF---"]={x1:60,x2:140,y1:-60},I["G-S-PSG---"]=t["TP.SP CLASS VII"],E["G-S-PSG---"]={x1:60,x2:140,y1:-60},I["G-S-PSH---"]=t["TP.SP CLASS VIII"],E["G-S-PSH---"]={x1:60,x2:140,y1:-60},I["G-S-PSI---"]=t["TP.SP CLASS IX"],E["G-S-PSI---"]={x1:60,x2:140,y1:-60},I["G-S-PSJ---"]=t["TP.SP CLASS X"],E["G-S-PSJ---"]={x1:60,x2:140,y1:-60},I["G-S-PAS---"]=t["TP.AMMUNITION SUPPLY POINT (ASP)"],E["G-S-PAS---"]={x1:60,x2:140,y1:-60},I["G-S-PAT---"]=t["TP.AMMUNITION TRANSFER POINT (ATP)"],E["G-S-PAT---"]={x1:60,x2:140,y1:-60},I["G-O-ED----"]=t["TP.DITCHED AIRCRAFT"],I["G-O-EP----"]=t["TP.PERSON IN WATER"],I["G-O-EV----"]=t["TP.DISTRESSED VESSEL"],I["G-O-HM----"]=t["TP.SEA MINELIKE"],E["G-O-HM----"]={x1:40,x2:160,y1:40,y2:150},I["G-O-HI----"]=t["TP.ICEBERG"],E["G-O-HI----"]={x1:50,x2:150,y1:50,y2:150},I["G-O-HO----"]=t["TP.OIL RIG/PLATFORM"],E["G-O-HO----"]={x1:30,x2:170,y1:60,y2:140},I["G-O-SB----"]=t["TP.BOTTOM RETURN"],E["G-O-SB----"]={x1:40,x2:160,y1:40,y2:100},I["G-O-SBM---"]=t["TP.INSTALLATION/MANMADE"],E["G-O-SBM---"]={x1:40,x2:160,y1:40,y2:100},I["G-O-SBN---"]=t["TP.BOTTOM RETURN"],E["G-O-SBN---"]={x1:40,x2:160,y1:40,y2:100},I["G-O-SBW---"]=t["TP.WRECK, NON DANGEROUS"],E["G-O-SBW---"]={x1:40,x2:160,y1:70,y2:130},I["G-O-SBX---"]=t["TP.WRECK, DANGEROUS"],E["G-O-SBX---"]={x1:40,x2:160,y1:70,y2:130},I["G-O-SM----"]=t["TP.MARINE LIFE"],E["G-O-SM----"]={x1:100,x2:220,y1:70,y2:130},I["G-O-SS----"]=t["TP.SEA ANOMALY"],E["G-O-SS----"]={x1:50,x2:150,y1:30,y2:120},I["G-O-FA----"]=t["TP.FIX ACOUSTIC"],I["G-O-FE----"]=t["TP.FIX ELECTRO-MAGNETIC"],I["G-O-FO----"]=t["TP.FIX ELECTRO-OPTICAL"]}},function(I,E){I.exports=function(I,E,t,R){I["G-T-GD----"]=t["TP.DESTROY"],E["G-T-GD----"]={x1:0,x2:200,y1:40,y2:160},I["G-T-GI----"]=t["TP.INTERDICT"],E["G-T-GI----"]={x1:0,x2:200,y1:40,y2:160},I["G-T-GN----"]=t["TP.NEUTRALIZE"],E["G-T-GN----"]={x1:0,x2:200,y1:40,y2:160},I["G-C-MGPFE-"]=t["TP.FIX ELECTRO-MAGNETIC"],I["G-C-MGPFA-"]=t["TP.FIX ACOUSTIC"],I["G-C-MGPFO-"]=t["TP.FIX ELECTRO-OPTICAL"],I["G-C-MGPI--"]=t["TP.POINT OF INTEREST"],E["G-C-MGPI--"]={x1:50,x2:150,y1:-25},I["G-C-MAAP--"]=t["TP.AIR CONTROL POINT (ACP)"],E["G-C-MAAP--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-MAAC--"]=t["TP.COMMUNICATIONS CHECKPOINT"],E["G-C-MAAC--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-MAAU--"]=t["TP.PULL-UP POINT"],E["G-C-MAAU--"]={x1:50,x2:240,y1:50,y2:150},I["G-C-MAAD--"]=t["TP.DOWNED AIRCREW PICKUP POINT"],E["G-C-MAAD--"]={x1:60,x2:140,y1:-60},I["G-C-MDN---"]=t["TP.DUMMY MINEFIELD"],E["G-C-MDN---"]={x1:40,x2:160,y1:-10,y2:140},I["G-C-MMPT--"]=t["TP.TARGET REFERENCE"],I["G-C-MMPO--"]=t["TP.OBSERVATION POST/OUTPOST"],E["G-C-MMPO--"]={x1:50,x2:150,y1:40,y2:150},I["G-C-MMPOC-"]=t["TP.COMBAT OUTPOST"],E["G-C-MMPOC-"]={x1:50,x2:150,y1:40,y2:150},I["G-C-MMPOR-"]=t["TP.OBSERVATION POST/RECONNAISSANCE"],E["G-C-MMPOR-"]={x1:50,x2:150,y1:40,y2:150},I["G-C-MMPOF-"]=t["TP.FORWARD OBSERVER POSITION"],E["G-C-MMPOF-"]={x1:50,x2:150,y1:40,y2:150},I["G-C-MMPOS-"]=t["TP.SENSOR OUTPOST"],E["G-C-MMPOS-"]={x1:50,x2:150,y1:40,y2:150},I["G-C-MMPON-"]=t["TP.CBRN OBSERVATION POST"],E["G-C-MMPON-"]={x1:50,x2:150,y1:40,y2:150},I["G-C-MOPD--"]=t["TP.POINT OF DEPARTURE"],E["G-C-MOPD--"]={x1:60,x2:140,y1:-60},I["G-C-BOATD-"]=t["TP.FIXED AND PREFABRICATED"],E["G-C-BOATD-"]={x1:60,x2:140,y1:30},I["G-C-BOAB--"]=t["TP.BOOBY TRAP"],I["G-C-BOAMA-"]=t["TP.ANTIPERSONNEL (AP) MINES"],I["G-C-BOAMT-"]=t["TP.ANTITANK MINE (AT)"],I["G-C-BOAMD-"]=t["TP.(AT) ANTIHANDLING DEVICE"],E["G-C-BOAMD-"]={x1:60,x2:140,y1:40,y2:195},I["G-C-BOAMC-"]=t["TP.(AT) DIRECTIONAL"],E["G-C-BOAMC-"]={x1:60,x2:140,y1:10,y2:140},I["G-C-BOAMU-"]=t["TP.UNSPECIFIED MINE"],I["G-C-BOAMW-"]=t["TP.WIDE AREA MINES"],I["G-C-BOAIP-"]=t["TP.PLANNED MINEFIELD"],E["G-C-BOAIP-"]={x1:40,x2:160,y1:60,y2:140},I["G-C-BOAIC-"]=t["TP.MINEFIELDS STATIC"],E["G-C-BOAIC-"]={x1:40,x2:160,y1:60,y2:140},I["G-C-BOAIN-"]=t["TP.ANTITANK (AT) MINEFIELD"],E["G-C-BOAIN-"]={x1:40,x2:160,y1:60,y2:140},I["G-C-BOAIS-"]=t["TP.SCATTERABLE MINES"],E["G-C-BOAIS-"]={x1:40,x2:160,y1:20,y2:140},I["G-C-BOAIH-"]=t["TP.ANTIPERSONNEL (AP) MINEFIELD"],E["G-C-BOAIH-"]={x1:40,x2:160,y1:20,y2:140},I["G-C-BOAID-"]=t["TP.SCATTERABLE MINEFIELD WITH SELF-DESTRUCT"],E["G-C-BOAID-"]={x1:40,x2:160,y1:20,y2:140},I["G-C-BOAV--"]=t["TP.VOLCANO MINEFIELD"],E["G-C-BOAV--"]={x1:40,x2:160,y1:20,y2:140},I["G-C-BYCG--"]=t["TP.ENGINEER REGULATING POINT"],E["G-C-BYCG--"]={x1:60,x2:140,y1:-60},I["G-C-BSE---"]=t["TP.EARTHWORK/FORTIFICATION"],I["G-C-BSF---"]=t["TP.FORT"],I["G-C-BSH---"]=t["TP.SURFACE SHELTER"],I["G-C-BSU---"]=t["TP.UNDERGROUND SHELTER"],I["G-C-BWN---"]=t["TP.NUCLEAR DETONATIONS GROUND ZERO"],E["G-C-BWN---"]={x1:60,x2:140,y1:-20},I["G-C-BWE---"]=t["TP.NUCLEAR DETONATIONS GROUND ZERO"],E["G-C-BWE---"]={x1:60,x2:140,y1:-20},I["G-C-BWI---"]=t["TP.NUCLEAR DETONATIONS GROUND ZERO PLANNED"],E["G-C-BWI---"]={x1:60,x2:140,y1:-20},I["G-C-BWF---"]=t["TP.NUCLEAR DETONATIONS GROUND ZERO PLANNED"],E["G-C-BWF---"]={x1:60,x2:140,y1:-20},I["G-C-BWP---"]=t["TP.NUCLEAR FALLOUT PRODUCING"],E["G-C-BWP---"]={x1:50,x2:150,y1:-20},I["G-C-BWDP--"]=t["TP.DECON SITE/POINT"],E["G-C-BWDP--"]={x1:60,x2:140,y1:-60},I["G-C-BWDA--"]=t["TP.ALTERNATE DECON SITE/POINT"],E["G-C-BWDA--"]={x1:60,x2:140,y1:-60},I["G-C-BWDT--"]=t["TP.DECON SITE/POINT (TROOPS)"],E["G-C-BWDT--"]={x1:60,x2:140,y1:-60},I["G-C-BWDE--"]=t["TP.DECON SITE/POINT (EQUIPMENT)"],E["G-C-BWDE--"]={x1:60,x2:140,y1:-60},I["G-C-BWDS--"]=t["TP.DECON SITE/POINT (EQUIPMENT AND TROOPS)"],E["G-C-BWDS--"]={x1:60,x2:140,y1:-60},I["G-C-BWDO--"]=t["TP.DECON SITE/POINT (OPERATIONAL DECONTAMINATION)"],E["G-C-BWDO--"]={x1:60,x2:140,y1:-60},I["G-C-BWDG--"]=t["TP.DECON SITE/POINT (THOROUGH DECONTAMINATION)"],E["G-C-BWDG--"]={x1:60,x2:140,y1:-60},I["G-C-BWDEM-"]=t["TP.DECON POINT (MAIN) EQUIPMENT"],E["G-C-BWDEM-"]={x1:60,x2:140,y1:-60},I["G-C-BWDTF-"]=t["TP.DECON POINT (FORWARD) TROOPS"],E["G-C-BWDTF-"]={x1:60,x2:140,y1:-60},I["G-C-FSTP--"]=t["TP.POINT/SINGLE TARGET"],I["G-C-FSS---"]=t["TP.FIRE SUPPORT STATION"],I["G-C-FAU---"]=t["TP.NUCLEAR TARGET"],I["G-C-SPA---"]=t["TP.AMBULANCE EXCHANGE POINT"],E["G-C-SPA---"]={x1:60,x2:140,y1:-60},I["G-C-SPC---"]=t["TP.CANNIBALIZATION POINT"],E["G-C-SPC---"]={x1:60,x2:140,y1:-60},I["G-C-SPY---"]=t["TP.CASUALTY COLLECTION POINT"],E["G-C-SPY---"]={x1:60,x2:140,y1:-60},I["G-C-SPT---"]=t["TP.CIVILIAN COLLECTION POINT"],E["G-C-SPT---"]={x1:60,x2:140,y1:-60},I["G-C-SPD---"]=t["TP.DETAINEE COLLECTION POINT"],E["G-C-SPD---"]={x1:60,x2:140,y1:-60},I["G-C-SPE---"]=t["TP.EPW COLLECTION POINT"],E["G-C-SPE---"]={x1:60,x2:140,y1:-60},I["G-C-SPL---"]=t["TP.LOGISTICS RELEASE POINT"],E["G-C-SPL---"]={x1:60,x2:140,y1:-60},I["G-C-SPM---"]=t["TP.MAINTENANCE COLLECTION POINT"],E["G-C-SPM---"]={x1:60,x2:140,y1:-60},I["G-C-SPR---"]=t["TP.REARM, REFUEL AND RESUPPLY POINT"],E["G-C-SPR---"]={x1:60,x2:140,y1:-60},I["G-C-SPU---"]=t["TP.REFUEL ON THE MOVE POINT"],E["G-C-SPU---"]={x1:60,x2:140,y1:-60},I["G-C-SPO---"]=t["TP.TRAFFIC CONTROL POST"],E["G-C-SPO---"]={x1:60,x2:140,y1:-60},I["G-C-SPI---"]=t["TP.TRAILER TRANSFER POINT"],E["G-C-SPI---"]={x1:60,x2:140,y1:-60},I["G-C-SPN---"]=t["TP.UNIT MAINTENANCE COLLECTION POINT"],E["G-C-SPN---"]={x1:60,x2:140,y1:-60},I["G-C-SPQT--"]=t["TP.SUPPLY POINT"],E["G-C-SPQT--"]={x1:60,x2:140,y1:-60},I["G-C-SPQA--"]=t["TP.SP CLASS I"],E["G-C-SPQA--"]={x1:60,x2:140,y1:-60},I["G-C-SPQB--"]=t["TP.SP CLASS II"],E["G-C-SPQB--"]={x1:60,x2:140,y1:-60},I["G-C-SPQC--"]=t["TP.SP CLASS III"],E["G-C-SPQC--"]={x1:60,x2:140,y1:-60},I["G-C-SPQD--"]=t["TP.SP CLASS IV"],E["G-C-SPQD--"]={x1:60,x2:140,y1:-60},I["G-C-SPQE--"]=t["TP.SP CLASS V"],E["G-C-SPQE--"]={x1:60,x2:140,y1:-60},I["G-C-SPQF--"]=t["TP.SP CLASS VI"],E["G-C-SPQF--"]={x1:60,x2:140,y1:-60},I["G-C-SPQG--"]=t["TP.SP CLASS VII"],E["G-C-SPQG--"]={x1:60,x2:140,y1:-60},I["G-C-SPQH--"]=t["TP.SP CLASS VIII"],E["G-C-SPQH--"]={x1:60,x2:140,y1:-60},I["G-C-SPQI--"]=t["TP.SP CLASS IX"],E["G-C-SPQI--"]={x1:60,x2:140,y1:-60},I["G-C-SPQJ--"]=t["TP.SP CLASS X"],E["G-C-SPQJ--"]={x1:60,x2:140,y1:-60},I["G-C-SPMA--"]=t["TP.AMMUNITION SUPPLY POINT (ASP)"],E["G-C-SPMA--"]={x1:60,x2:140,y1:-60},I["G-C-SPMT--"]=t["TP.AMMUNITION TRANSFER POINT (ATP)"],E["G-C-SPMT--"]={x1:60,x2:140,y1:-60},I["G-C-OX----"]=t["TP.SPECIAL POINT"],E["G-C-OX----"]={x1:40,x2:160,y1:40,y2:160},I["G-C-OXRN--"]=t["TP.NAVIGATIONAL REFERENCE"],E["G-C-OXRN--"]={x1:40,x2:160,y1:40,y2:160},I["G-C-OXUD--"]=t["TP.DATUM"],E["G-C-OXUD--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXUB--"]=t["TP.BRIEF CONTACT"],E["G-C-OXUB--"]={x1:50,x2:150,y1:0,y2:100},I["G-C-OXUL--"]=t["TP.LOST CONTACT"],E["G-C-OXUL--"]={x1:50,x2:150,y1:0,y2:100},I["G-C-OXUS--"]=t["TP.SINKER"],E["G-C-OXUS--"]={x1:50,x2:150,y1:0,y2:100},I["G-C-OXWA--"]=t["TP.AIM POINT"],E["G-C-OXWA--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXWD--"]=t["TP.DROP POINT"],E["G-C-OXWD--"]={x1:50,x2:150,y1:50,y2:120},I["G-C-OXWE--"]=t["TP.ENTRY POINT"],E["G-C-OXWE--"]={x1:50,x2:150,y1:50},I["G-C-OXWG--"]=t["TP.GROUND ZERO"],E["G-C-OXWG--"]={x1:50,x2:150,y1:30},I["G-C-OXWM--"]=t["TP.MSL DETECT POINT"],E["G-C-OXWM--"]={x1:50,x2:150,y1:30},I["G-C-OXWI--"]=t["TP.IMPACT POINT"],E["G-C-OXWI--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXWP--"]=t["TP.PREDICTED IMPACT POINT"],E["G-C-OXWP--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXY---"]=t["TP.SONOBUOY"],E["G-C-OXY---"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYP--"]=t["TP.SONOBUOY PATTERN CENTER"],E["G-C-OXYP--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYD--"]=t["TP.SONOBUOY DIFAR"],E["G-C-OXYD--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYL--"]=t["TP.SONOBUOY LOFAR"],E["G-C-OXYL--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYC--"]=t["TP.SONOBUOY CASS"],E["G-C-OXYC--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYS--"]=t["TP.SONOBUOY DICASS"],E["G-C-OXYS--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYB--"]=t["TP.SONOBUOY BT"],E["G-C-OXYB--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYA--"]=t["TP.SONOBUOY ANM"],E["G-C-OXYA--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYV--"]=t["TP.SONOBUOY VLAD"],E["G-C-OXYV--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYT--"]=t["TP.SONOBUOY ATAC"],E["G-C-OXYT--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYR--"]=t["TP.SONOBUOY RO"],E["G-C-OXYR--"]={x1:60,x2:140,y1:-10,y2:160},I["G-C-OXYK--"]=t["TP.SONOBUOY KINGPIN"],E["G-C-OXYK--"]={x1:60,x2:140,y1:-10,y2:160};I["G-C-OXN---"]=t["TP.FORMATION"],E["G-C-OXN---"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXH---"]=t["TP.HARBOR"],E["G-C-OXH---"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXHQ--"]=t["TP.HARBOR POINT Q"],E["G-C-OXHQ--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXHA--"]=t["TP.HARBOR POINT A"],E["G-C-OXHA--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXHY--"]=t["TP.HARBOR POINT Y"],E["G-C-OXHY--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXHX--"]=t["TP.HARBOR POINT X"],E["G-C-OXHX--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXR---"]=t["TP.ROUTE"],E["G-C-OXR---"]={x1:30,x2:170,y1:60,y2:140},I["G-C-OXRR--"]=t["TP.ROUTE RENDEZVOUS"],E["G-C-OXRR--"]={x1:30,x2:170,y1:60,y2:170},I["G-C-OXRD--"]=t["TP.ROUTE DIVERSIONS"],E["G-C-OXRD--"]={x1:30,x2:170,y1:60,y2:170},I["G-C-OXRW--"]=t["TP.ROUTE WAYPOINT"],E["G-C-OXRW--"]={x1:30,x2:170,y1:60,y2:170},I["G-C-OXRP--"]=t["TP.ROUTE PIM"],E["G-C-OXRP--"]={x1:30,x2:170,y1:60,y2:170},I["G-C-OXRT--"]=t["TP.ROUTE POINT R"],E["G-C-OXRT--"]={x1:30,x2:170,y1:60,y2:170},I["G-C-OXSTC-"]=t["TP.COMBATANT STATION"],E["G-C-OXSTC-"]={x1:-15,x2:140,y1:60,y2:140},I["G-C-OXSTCP"]=t["TP.PICKET STATION"],E["G-C-OXSTCP"]={x1:-15,x2:140,y1:60,y2:140},I["G-C-OXSTCA"]=t["TP.ASW SHIP STATION"],E["G-C-OXSTCA"]={x1:-15,x2:140,y1:60,y2:140},I["G-C-OXSTR-"]=t["TP.REPLENISHMENT AT SEA (RAS) STATION"],E["G-C-OXSTR-"]={x1:-15,x2:140,y1:60,y2:140},I["G-C-OXSTH-"]=t["TP.RESCUE STATION"],E["G-C-OXSTH-"]={x1:-15,x2:140,y1:60,y2:140},I["G-C-OXSTS-"]=t["TP.SUBMARINE STATION"],E["G-C-OXSTS-"]={x1:-15,x2:140,y1:60,y2:140},I["G-C-OXSTSA"]=t["TP.ASW SUBMARINE STATION"],E["G-C-OXSTSA"]={x1:-115,x2:140,y1:60,y2:140},I["G-C-OXS---"]=t["TP.SEARCH"],E["G-C-OXS---"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXSA--"]=t["TP.SEARCH AREA"],E["G-C-OXSA--"]={x1:20,x2:150,y1:50,y2:150},I["G-C-OXSD--"]=t["TP.DIP POSITION"],E["G-C-OXSD--"]={x1:10,x2:150,y1:50,y2:150},I["G-C-OXSC--"]=t["TP.SEARCH CENTER"],E["G-C-OXSC--"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OXAC--"]=t["TP.COMBAT AIR PATROL (CAP)"],E["G-C-OXAC--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAA--"]=t["TP.AIRBORNE EARLY WARNING (AEW)"],E["G-C-OXAA--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAT--"]=t["TP.TACAN"],E["G-C-OXAT--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAK--"]=t["TP.TANKING"],E["G-C-OXAK--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAF--"]=t["TP.FIXED WING"],E["G-C-OXAF--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAH--"]=t["TP.ROTARY WING"],E["G-C-OXAH--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAO--"]=t["TP.TOMCAT"],E["G-C-OXAO--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAR--"]=t["TP.RESCUE"],E["G-C-OXAR--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAP--"]=t["TP.REPLENISH"],E["G-C-OXAP--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAM--"]=t["TP.MARSHALL"],E["G-C-OXAM--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAS--"]=t["TP.STRIKE IP"],E["G-C-OXAS--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OXAD--"]=t["TP.CORRIDOR TAB POINT"],E["G-C-OXAD--"]={x1:60,x2:140,y1:40,y2:160},I["G-C-OG----"]=t["TP.ACTION POINT"],E["G-C-OG----"]={x1:60,x2:140,y1:-60},I["G-C-OGC---"]=t["TP.ACTION POINT"],E["G-C-OGC---"]={x1:60,x2:140,y1:-60},I["G-C-OGP---"]=t["TP.CONTACT POINT"],E["G-C-OGP---"]={x1:55,x2:145,y1:-10},I["G-C-OGT---"]=t["TP.COORDINATION POINT"],E["G-C-OGT---"]={x1:50,x2:150,y1:50,y2:150},I["G-C-OGD---"]=t["TP.DECISION POINT"],E["G-C-OGD---"]={x1:30,x2:170,y1:25,y2:160},I["G-C-OGL---"]=t["TP.ACTION LINKUP POINT"],E["G-C-OGL---"]={x1:60,x2:140,y1:-60},I["G-C-OGN---"]=t["TP.ACTION PASSAGE POINT"],E["G-C-OGN---"]={x1:60,x2:140,y1:-60},I["G-C-OGR---"]=t["TP.ACTION RALLY POINT"],E["G-C-OGR---"]={x1:60,x2:140,y1:-60},I["G-C-OGS---"]=t["TP.ACTION RELEASE POINT"],E["G-C-OGS---"]={x1:60,x2:140,y1:-60},I["G-C-OGI---"]=t["TP.ACTION START POINT"],E["G-C-OGI---"]={x1:60,x2:140,y1:-60},I["G-C-OGW---"]=t["TP.WAYPOINT"],E["G-C-OGW---"]={x1:60,x2:140,y1:60,y2:140},I["G-O-VA----"]=t["TP.FIRE"],I["G-O-VR----"]=t["GR.EQ.HOWITZER"],I["G-O-VE----"]=t["ST.IC.KILLING VICTIM"],I["G-O-VB----"]=t["AIR.MISSILE.IC.BOMB"],I["G-O-VY----"]=t["ST.IC.BOOBY TRAP"],I["G-O-VD----"]=t["ST.IC.DRIVE-BY SHOOTING"],I["G-O-VI----"]=t["TP.INDIRECT FIRE"],I["G-O-VM----"]=t["GR.EQ.MORTAR"],I["G-O-VK----"]=t["GR.EQ.MULTIPLE ROCKET LAUNCHER"],I["G-O-VS----"]=t["ST.IC.SNIPING"],I["G-O-VP----"]=t["ST.IC.POISONING"],I["G-O-VU----"]=t["TP.AMBUSH"],I["G-O-VC----"]=t["GR.IC.FF.CLASS V"],I["G-O-VH----"]=t["AR.I.FF.CIVILIAN ROTARY WING"],I["G-O-VF----"]=[t["GR.IC.FF.INFANTRY"],t["GR.IC.FF.MOTORIZED"]],I["G-O-VO----"]=t["GR.IC.FF.INFANTRY"],I["G-O-VL----"]=t["GR.IC.FF.RECONNAISSANCE"],I["G-O-VX----"]=t["GR.IC.FF.SIGNAL"],I["G-O-VZ----"]=t["GR.IC.FF.SUPPLY"],I["G-O-LB----"]=t["ST.IC.BLACK LIST LOCATION"],I["G-O-LG----"]=t["ST.IC.GRAY LIST LOCATION"],I["G-O-LW----"]=t["ST.IC.WHITE LIST LOCATION"],I["G-O-PR----"]=t["TP.ROAD BLOCK"],I["G-O-PRB---"]=t["TP.ROAD BLOCK (UNDER CONSTRUCTION)"],I["G-O-PT----"]=t["ST.IC.PATROLLING"],I["G-O-PC----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.WILLING"]],I["G-O-PCU---"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.COERCED/IMPRESSED"]],I["G-O-PD----"]=t["ST.IC.DEMONSTRATION"],I["G-O-PM----"]=t["ST.IC.MINE LAYING"],I["G-O-PH----"]=t["ST.IC.PSYCHOLOGICAL OPERATIONS"],I["G-O-PHY---"]=t["ST.IC.RADIO AND TELEVISION PSYCHOLOGICAL OPERATIONS"],I["G-O-PHW---"]=[t["ST.IC.PSYCHOLOGICAL OPERATIONS"],t["ST.M1.WRITTEN PSYCHOLOGICAL OPERATIONS"]],I["G-O-PHG---"]=[t["ST.IC.PSYCHOLOGICAL OPERATIONS"],t["ST.M1.WRITTEN PSYCHOLOGICAL OPERATIONS"]],I["G-O-PHT---"]=[t["ST.IC.PSYCHOLOGICAL OPERATIONS"],t["ST.M1.HOUSE-TO-HOUSE"]],I["G-O-PG----"]=t["ST.IC.SEARCHING"],I["G-O-PS----"]=t["ST.IC.SPY"],I["G-O-PF----"]=t["ST.IC.FOOD DISTRIBUTION"],I["G-O-PI----"]=t["GR.IC.FF.MEDICAL TREATMENT FACILITY"],I["G-O-PE----"]=[t["GR.IC.ELECTRONIC WARFARE"],t["GR.IC.FF.INTERCEPT"]],I["G-O-PX----"]=t["ST.IC.EXTORTION"],I["G-O-PJV---"]=[t["ST.IC.KNOWN INSURGENT VEHICLE"],t["ST.M1.HIJACKING/HIJACKED"]],I["G-O-PJA---"]=[t["ST.IC.HIJACKING (AIRPLANE)"],t["ST.M1.HIJACKING/HIJACKED"]],I["G-O-PJB---"]=[t["ST.IC.HIJACKING (BOAT)"],t["ST.M1.HIJACKING/HIJACKED"]],I["G-O-PK----"]=[t["ST.IC.INDIVIDUAL"],t["ST.M1.KIDNAPPING"]],I["G-O-PA----"]=t["ST.IC.ARREST"],I["G-O-PO----"]=t["ST.IC.DRUG RELATED ACTIVITIES"],I["G-O-IR----"]=t["ST.IC.GROUP"],I["G-O-IS----"]=t["ST.IC.SAFE HOUSE"],I["G-O-IG----"]=t["ST.IC.GRAFFITI"],I["G-O-IV----"]=t["ST.IC.VANDALISM/LOOT/RANSACK/PLUNDER/SACK"],I["G-O-IK----"]=t["ST.IC.KNOWN INSURGENT VEHICLE"],I["G-O-ID----"]=[t["ST.IC.KNOWN INSURGENT VEHICLE"],t["ST.M1.DRUG"]],I["G-O-IF----"]=t["ST.IC.INTERNAL SECURITY FORCE"]}},function(I,E,t){var R=t(0);I.exports=function(I,E){this.SIDC=this.SIDC.toUpperCase();var t=""!=this.SIDC.charAt(0)?this.SIDC.charAt(0):"-",C=""!=this.SIDC.charAt(1)?this.SIDC.charAt(1):"-",A=""!=this.SIDC.charAt(2)?this.SIDC.charAt(2):"-",e=""!=this.SIDC.charAt(3)?this.SIDC.charAt(3):"-",S=I.functionid=""!=this.SIDC.substr(4,6)?this.SIDC.substr(4,6):"------",T=""!=this.SIDC.charAt(10)?this.SIDC.charAt(10):"-",N=""!=this.SIDC.charAt(11)?this.SIDC.charAt(11):"-";""!=this.SIDC.substr(12,2)&&this.SIDC.substr(12,2),""!=this.SIDC.charAt(14)&&this.SIDC.charAt(14);return["H","S","J","K"].indexOf(C)>-1&&(I.affiliation=E.affiliation[0]),["F","A","D","M"].indexOf(C)>-1&&(I.affiliation=E.affiliation[1]),["N","L"].indexOf(C)>-1&&(I.affiliation=E.affiliation[2]),["P","U","G","W","O"].indexOf(C)>-1&&(I.affiliation=E.affiliation[3]),["P","A"].indexOf(A)>-1&&(I.dimension=E.dimension[0]),["G","Z","F","X"].indexOf(A)>-1&&(I.dimension=E.dimension[1]),["S"].indexOf(A)>-1&&(I.dimension=E.dimension[2]),["U"].indexOf(A)>-1&&(I.dimension=E.dimension[3]),"P"==A&&"O"!=t&&(I.space=!0),"O"==t&&["V","O","R"].indexOf(A)>-1&&(I.activity=!0),"H"==T&&(I.installation=!0),this.frame&&"A"==e&&(I.notpresent=R._dashArrays.anticipated),this.frame&&["P","A","S","G","M"].indexOf(C)>-1&&(I.notpresent=R._dashArrays.pending),"C"==e&&(I.condition=E.status[2]),"D"==e&&(I.condition=E.status[3]),"X"==e&&(I.condition=E.status[4]),"F"==e&&(I.condition=E.status[5]),["G","W","D","L","M","J","K"].indexOf(C)>-1&&(I.context=E.context[1]),"O"==t&&(I.dimension=E.dimension[1]),"E"==t&&(I.dimension=E.dimension[1]),I.baseDimension=I.dimension,I.baseAffilation=I.affiliation,"J"==C&&(I.joker=!0),"K"==C&&(I.faker=!0),(I.joker||I.faker)&&(I.affiliation=E.affiliation[1]),"S"==t&&"G"==A&&"E"==S.charAt(0)&&(I.dimension=E.dimension[2]),"I"==t&&"G"==A&&(I.dimension=E.dimension[2]),"E"==t&&("O"==A&&["AB----","AE----","AF----","BB----","CB----","CC----","DB----","DDB---","DEB---","DFB---","DGB---","DHB---","DIB---","DJB---","DLB---","DMB---","DOB---","EA----","EB----","EC----","ED----","EE----"].indexOf(S)>-1||"F"==A&&["BA----","MA----","MC----"].indexOf(S)>-1)&&(I.dimension=E.dimension[2]),(["F","G","C","D"].indexOf(T)>-1||"H"==T&&"B"==N)&&(I.feintDummy=!0),["A","B","C","D"].indexOf(T)>-1&&(I.headquarters=!0),["E","B","G","D"].indexOf(T)>-1&&(I.taskForce=!0),"A"==N&&(I.echelon=E.echelonMobility[11]),"B"==N&&"H"!=T&&(I.echelon=E.echelonMobility[12]),"C"==N&&(I.echelon=E.echelonMobility[13]),"D"==N&&(I.echelon=E.echelonMobility[14]),"E"==N&&(I.echelon=E.echelonMobility[15]),"F"==N&&(I.echelon=E.echelonMobility[16]),"G"==N&&(I.echelon=E.echelonMobility[17]),"H"==N&&(I.echelon=E.echelonMobility[18]),"I"==N&&(I.echelon=E.echelonMobility[21]),"J"==N&&(I.echelon=E.echelonMobility[22]),"K"==N&&(I.echelon=E.echelonMobility[23]),"L"==N&&"N"!=T&&(I.echelon=E.echelonMobility[24]),"M"==N&&(I.echelon=E.echelonMobility[25]),"N"==N&&(I.echelon=E.echelonMobility[26]),"M"==T&&("O"==N&&(I.mobility=E.echelonMobility[31]),"P"==N&&(I.mobility=E.echelonMobility[32]),"Q"==N&&(I.mobility=E.echelonMobility[33]),"R"==N&&(I.mobility=E.echelonMobility[34]),"S"==N&&(I.mobility=E.echelonMobility[35]),"T"==N&&(I.mobility=E.echelonMobility[36]),"U"==N&&(I.mobility=E.echelonMobility[41]),"V"==N&&(I.mobility=E.echelonMobility[42]),"W"==N&&(I.mobility=E.echelonMobility[37]),"Y"==N&&(I.mobility=E.echelonMobility[51]),"Z"==N&&(I.mobility=E.echelonMobility[52])),"N"==T&&("S"==N&&(I.mobility=E.echelonMobility[61]),"L"==N&&(I.mobility=E.echelonMobility[62])),("A"==A&&"C"==S.charAt(0)||"G"==A&&"EVC"==S.substring(0,3)||"S"==A&&"X"==S.charAt(0))&&(I.civilian=!0),"Z"!=A&&"X"!=A||(["P","U","F","N","H","A","S","G","W"].indexOf(C)>-1&&(I.dimensionUnknown=!0),["F","A"].indexOf(C)>-1&&(I.dimension="Sea"),["D","L","M","J","K"].indexOf(C)>-1&&(I.affiliation="none")),"S"==A&&["O-----","ED----","EP----","EV----","ZM----","ZN----","ZI----"].indexOf(S)>-1&&(I.frame=!1),"E"==t&&"N"==A&&["AA----","AB----","AC----","AD----","AE----","AG----","BB----","BC----","BF----","BM----","-C-----","CA----","CB----","CC----","CD----","CE----"].indexOf(S)>-1&&(I.frame=!1),"U"==A&&["WM----","WMD---","WMG---","WMGD--","WMGX--","WMGE--","WMGC--","WMGR--","WMGO--","WMM---","WMMD--","WMMX--","WMME--","WMMC--","WMMR--","WMMO--","WMF---","WMFD--","WMFX--","WMFE--","WMFC--","WMFR--","WMFO--","WMO---","WMOD--","WMX---","WME---","WMA---","WMC---","WMR---","WMB---","WMBD--","WMN---","WMS---","WMSX--","WMSD--","WD----","WDM---","WDMG--","WDMM--","ND----","E-----","V-----","X-----","NBS---","NBR---","NBW---","NM----","NA----"].indexOf(S)>-1&&(R._STD2525?(I.fill=!1,"WD----"==I.functionid&&(I.fill=!0),["ND----","NBS---","NBR---","NBW---","NM----","NA----"].indexOf(S)>-1&&(I.fill=!0,I.frame=!1)):(I.frame=!1,["E-----","V-----","X-----"].indexOf(S)>-1&&(I.fill=!1,I.frame=!1))),"WAS"!=this.SIDC.substr(0,3)&&"WOS"!=this.SIDC.substr(0,3)&&"G"!=t||(I.frame=!1),"G"==t&&"O"==A&&["V","L","P","I"].indexOf(S.charAt(0))>-1&&(I.frame=!0,I.dimension=E.dimension[1]),I}},function(I,E,t){t(0),I.exports=function(I,E){I.beginPath();var t,R,C,A,e,S,T,N=E.match(/([MCLHV][^MCLHV]*)/gi);for(C=0;C=4&&(E=32,t=110),{type:"text",stroke:!1,textanchor:"middle",x:100,y:t,fontsize:E,text:I}}function S(I){var E=30;return 3==I.length&&(E=25),I.length>=4&&(E=22),{type:"text",stroke:!1,textanchor:"middle",x:100,y:77,fontsize:E,text:I}}function T(I){var E=30,t=145;return 3==I.length&&(E=25,t=140),I.length>=4&&(E=20,t=135),{type:"text",stroke:!1,textanchor:"middle",x:100,y:t,fontsize:E,text:I}}function N(I){if("object"==typeof I){if(Array.isArray(I)){for(var E=0;E-1&&(I.feintDummy=!0),["2","3","6","7"].indexOf(S)>-1&&(I.headquarters=!0),["4","5","6","7"].indexOf(S)>-1&&(I.taskForce=!0),T<=30&&(I.echelon=E.echelonMobility[T]),T>=30&&T<70&&(I.mobility=E.echelonMobility[T]),T>=70&&T<80&&(I.leadership=E.echelonMobility[T]),("01"==A&&"12"==O.substring(0,2)||"05"==A&&"12"==O.substring(0,2)||"11"==A||"12"==A&&"12"==O.substring(0,2)||"15"==A&&"16"==O.substring(0,2)||"30"==A&&"14"==O.substring(0,2)||"35"==A&&"12"==O.substring(0,2))&&(I.civilian=!0),I}},function(I,E,t){var R=t(0);I.exports=function(){var I=[],E=[],t=this.properties.baseGeometry.bbox,C=this.colors.frameColor[this.properties.affiliation];if(this.properties.dimensionUnknown&&C&&E.push({type:"text",text:"?",x:100,y:127,fill:C,fontfamily:"Arial",fontsize:80,fontweight:"bold",textanchor:"middle"}),this.properties.baseGeometry.g&&C){var A=10;("Unknown"==this.properties.affiliation||"Hostile"==this.properties.affiliation&&"Subsurface"!=this.properties.dimension)&&(A=-10),"Exercise"==this.properties.context&&(this.properties.joker||this.properties.faker||E.push({type:"text",text:"X",x:t.x2+A,y:60,fill:C,fontfamily:"Arial",fontsize:35,fontweight:"bold",textanchor:"start"}),this.properties.joker&&E.push({type:"text",text:"J",x:t.x2+A,y:60,fill:C,fontfamily:"Arial",fontsize:35,fontweight:"bold",textanchor:"start"}),this.properties.faker&&E.push({type:"text",text:"K",x:t.x2+A,y:60,fill:C,fontfamily:"Arial",fontsize:35,fontweight:"bold",textanchor:"start"}),t={x2:t.x2+A+22,y1:35}),"Simulation"==this.properties.context&&(E.push({type:"text",text:"S",x:t.x2+A,y:60,fill:C,fontfamily:"Arial",fontsize:35,fontweight:"bold",textanchor:"start"}),t=new R.BBox({x2:t.x2+A+22,y1:35}))}return this.outlineWidth>0&&I.push(R.outline(E,this.outlineWidth,this.strokeWidth,this.outlineColor)),{pre:I,post:E,bbox:t}}},function(I,E,t){var R=t(0);I.exports=function(){var I,E=[],t=[],C=this.colors.frameColor[this.properties.affiliation];if(!this.properties.frame&&this.icon)return[];var A={type:this.properties.baseGeometry.g.type};switch(A.type){case"path":A.d=this.properties.baseGeometry.g.d;break;case"circle":A.cx=this.properties.baseGeometry.g.cx,A.cy=this.properties.baseGeometry.g.cy,A.r=this.properties.baseGeometry.g.r}if(A.fill=this.colors.fillColor[this.properties.affiliation],A.fillopacity=this.fillOpacity,A.stroke=C,A.strokewidth=this.size>=10?this.strokeWidth:10,this.frame&&this.outlineWidth>0&&("path"==A.type&&this.fill&&!this.monoColor?(outline={type:this.properties.baseGeometry.g.type},outline.d=this.properties.baseGeometry.g.d+" Z",outline.strokewidth=this.size>=10?this.strokeWidth:10):outline=A,E.push(R.outline(outline,this.outlineWidth,this.strokeWidth,this.outlineColor))),""==this.monoColor&&this.fill||!this.properties.notpresent||(A.strokedasharray=this.properties.notpresent),t.push(A),this.properties.dismounted&&(I={Neutral:{type:"path",stroke:!1,fill:C,d:"M 92.6 140.1 L 92.6 151.6 L 100 155 L 108 151.3 L 108 140.1 L 92.6 140.1 z "},Unknown:{type:"path",stroke:!1,fill:C,d:"M 92.5 147.1 L 92.5 156.5 L 99.8 162 L 107.5 156.3 L 107.5 147.1 L 92.5 147.1 z "}},I.hasOwnProperty(this.properties.affiliation)&&t.push(I[this.properties.affiliation])),this.properties.space&&(I={Friend:{type:"path",stroke:!1,fill:C,d:"M 100,30 C 90,30 80,35 68.65625,50 l 62.6875,0 C 120,35 110,30 100,30"},Hostile:{type:"path",stroke:!1,fill:C,d:"M67,50 L100,20 133,50 z"},Neutral:{type:"path",stroke:!1,fill:C,d:"M45,50 l0,-20 110,0 0,20 z"},Unknown:{type:"path",stroke:!1,fill:C,d:"M 100 22.5 C 85 22.5 70 31.669211 66 50 L 134 50 C 130 31.669204 115 22.5 100 22.5 z"}},t.push(I[this.properties.affiliation])),this.properties.activity&&(I={Friend:{type:"path",stroke:!1,fill:C,d:"m 160,135 0,15 15,0 0,-15 z m -135,0 15,0 0,15 -15,0 z m 135,-85 0,15 15,0 0,-15 z m -135,0 15,0 0,15 -15,0 z"},Hostile:{type:"path",stroke:!1,fill:C,d:"M 100 28 L 89.40625 38.59375 L 100 49.21875 L 110.59375 38.59375 L 100 28 z M 38.6875 89.3125 L 28.0625 99.9375 L 38.6875 110.53125 L 49.28125 99.9375 L 38.6875 89.3125 z M 161.40625 89.40625 L 150.78125 100 L 161.40625 110.59375 L 172 100 L 161.40625 89.40625 z M 99.9375 150.71875 L 89.3125 161.3125 L 99.9375 171.9375 L 110.53125 161.3125 L 99.9375 150.71875"},Neutral:{type:"path",stroke:!1,fill:C,d:"m 140,140 15,0 0,15 -15,0 z m -80,0 0,15 -15,0 0,-15 z m 80,-80 0,-15 15,0 0,15 z m -80,0 -15,0 0,-15 15,0 z"},Unknown:{type:"path",stroke:!1,fill:C,d:"M 107.96875 31.46875 L 92.03125 31.71875 L 92.03125 46.4375 L 107.71875 46.4375 L 107.96875 31.46875 z M 47.03125 92.5 L 31.09375 92.75 L 31.09375 107.5 L 46.78125 107.5 L 47.03125 92.5 z M 168.4375 92.5 L 152.5 92.75 L 152.5 107.5 L 168.1875 107.5 L 168.4375 92.5 z M 107.96875 153.5625 L 92.03125 153.8125 L 92.03125 168.53125 L 107.71875 168.53125 L 107.96875 153.5625 z"}},t.push(I[this.properties.affiliation])),this.fill&&this.frame&&this.properties.notpresent&&!this.properties.unframed){switch(A={type:this.properties.baseGeometry.g.type},A.type){case"path":A.d=this.properties.baseGeometry.g.d;break;case"circle":A.cx=this.properties.baseGeometry.g.cx,A.cy=this.properties.baseGeometry.g.cy,A.r=this.properties.baseGeometry.g.r}A.fill=!1,A.stroke=this.colors.white[this.properties.affiliation],A.strokewidth=parseFloat(this.strokeWidth)+1,A.strokedasharray=this.properties.notpresent,t.push(A)}return{pre:E,post:t,bbox:this.properties.baseGeometry.bbox}}},function(I,E,t){var R=t(0);I.exports=function(){var I=[],E=[],t=this.properties.baseGeometry.bbox;""==this.properties.baseGeometry.g&&(t=this.bbox);var C=new R.BBox,A=this.colors.iconColor[this.properties.affiliation]||this.colors.iconColor.Friend;if(this.infoFields&&this.direction&&""!=this.direction){var e=95,S=[{type:"rotate",degree:this.direction,x:100,y:100,draw:[{type:"path",fill:A,stroke:A,strokewidth:this.strokeWidth,d:"M100,100 l0,-"+(e-20)+" -5,3 5,-15 5,15 -5,-3"}]}];C.y1=Math.min(100-Math.cos(this.direction/360*Math.PI*2)*e,100),C.y2=Math.max(100-Math.cos(this.direction/360*Math.PI*2)*e,100),C.x1=Math.min(100+Math.sin(this.direction/360*Math.PI*2)*e,100),C.x2=Math.max(100+Math.sin(this.direction/360*Math.PI*2)*e,100),"Ground"!=this.properties.baseDimension&&""!=this.properties.baseDimension||(S=[{type:"translate",x:0,y:t.y2,draw:S},{type:"path",fill:A,stroke:A,strokewidth:this.strokeWidth,d:"M 100,"+t.y2+"l0,100"}],C.y2+=t.y2+parseFloat(this.strokeWidth)),this.outlineWidth>0&&I.push(R.outline(S,this.outlineWidth,this.strokeWidth,this.outlineColor)),E.push(S)}return{pre:I,post:E,bbox:C}}},function(I,E,t){var R=t(0);I.exports=function(){var I,E=[],t=[],C=new R.BBox({x1:50,x2:150,y1:50,y2:150}),A=[],e=[],S=[],T=[];if(this.icon){var N=this.colors.fillColor[this.properties.affiliation],G=this.colors.fillColor.Neutral,O=this.colors.iconColor[this.properties.affiliation],M=this.colors.iconFillColor[this.properties.affiliation],o=this.colors.none[this.properties.affiliation],L=this.colors.black[this.properties.affiliation],i=this.colors.white[this.properties.affiliation],s=(R._STD2525?"2525":"APP6")+","+this.properties.dimension+this.properties.affiliation+this.properties.notpresent+",frame:"+this.frame+",alternateMedal:"+this.alternateMedal+",colors:{fillcolor:"+N+",neutralColor"+G+",iconColor:"+O+",iconFillColor:"+M+",none:"+o+",black:"+L+",white:"+i+"}";if(R._iconCache.hasOwnProperty(s)?A=R._iconCache[s].iconParts:(R._iconCache[s]={},A=R._iconCache[s].iconParts=R._geticnParts(this.properties,this.colors,R._STD2525,this.monoColor,this.alternateMedal)),this.properties.numberSIDC||(-1!=["WMGX--","WMMX--","WMFX--","WMX---","WMSX--"].indexOf(this.properties.functionid)&&(C.y1=10,"Unknown"!=this.properties.affiliation&&(C.x2=this.properties.baseGeometry.bbox.x2+20)),R._iconCache[s].hasOwnProperty("letterSIDC")?(I=R._iconCache[s].letterSIDC.icons,T=R._iconCache[s].letterSIDC.bbox):"function"==typeof R._getLetterSIDCicn?(R._iconCache[s].letterSIDC=R._getLetterSIDCicn(A,R._STD2525),I=R._iconCache[s].letterSIDC.icons,T=R._iconCache[s].letterSIDC.bbox):console.warn("ms._getLetterSIDCicn() is not present, you will need to load functionality for letter based SIDCs")),this.properties.numberSIDC){var r=String(this.SIDC).substr(4,2);R._iconCache[s].hasOwnProperty("numberSIDC")?R._iconCache[s].numberSIDC.symbolSet.hasOwnProperty(r)?(I=R._iconCache[s].numberSIDC.symbolSet[r].icons,e=R._iconCache[s].numberSIDC.symbolSet[r].m1,S=R._iconCache[s].numberSIDC.symbolSet[r].m2,T=R._iconCache[s].numberSIDC.symbolSet[r].bbox):"function"==typeof R._getNumberSIDCicn?(R._iconCache[s].numberSIDC.symbolSet[r]=R._getNumberSIDCicn(r,A,R._STD2525),I=R._iconCache[s].numberSIDC.symbolSet[r].icons,e=R._iconCache[s].numberSIDC.symbolSet[r].m1,S=R._iconCache[s].numberSIDC.symbolSet[r].m2,T=R._iconCache[s].numberSIDC.symbolSet[r].bbox):console.warn("ms._getNumberSIDCicn() is not present, you will need to load functionality for number based SIDCs"):(R._iconCache[s].numberSIDC={},R._iconCache[s].numberSIDC.symbolSet={},"function"==typeof R._getNumberSIDCicn?(R._iconCache[s].numberSIDC.symbolSet[r]=R._getNumberSIDCicn(r,A,R._STD2525),I=R._iconCache[s].numberSIDC.symbolSet[r].icons,e=R._iconCache[s].numberSIDC.symbolSet[r].m1,S=R._iconCache[s].numberSIDC.symbolSet[r].m2,T=R._iconCache[s].numberSIDC.symbolSet[r].bbox):console.warn("ms._getNumberSIDCicn() is not present, you will need to load functionality for number based SIDCs"))}var O=this.colors.iconColor[this.properties.affiliation],n=[{type:"path",stroke:!1,fill:O,d:"m 94.8206,78.1372 c -0.4542,6.8983 0.6532,14.323 5.3424,19.6985 4.509,5.6933 11.309,9.3573 14.98,15.7283 3.164,6.353 -0.09,14.245 -5.903,17.822 -7.268,4.817 -18.6219,2.785 -22.7328,-5.249 -1.5511,-2.796 -2.3828,-5.931 -2.8815,-9.071 -3.5048,0.416 -7.0093,0.835 -10.5142,1.252 0.8239,8.555 5.2263,17.287 13.2544,21.111 7.8232,3.736 17.1891,3.783 25.3291,1.052 8.846,-3.103 15.737,-11.958 15.171,-21.537 0.05,-6.951 -4.272,-12.85 -9.134,-17.403 -4.526,-4.6949 -11.048,-8.3862 -12.401,-15.2748 -1.215,-2.3639 -0.889,-8.129 -0.889,-8.129 z m -0.6253,-20.5177 0,11.6509 11.6527,0 0,-11.6509 z"}];if(this.properties.numberSIDC){var l=I[this.properties.functionid.substr(0,6)];void 0===l&&(l=I[this.properties.functionid.substr(0,4)+"00"]),void 0===l?"000000"!=this.properties.functionid.substr(0,6)&&""!=this.properties.functionid.substr(0,6)&&(t.push(n),this._validIcon=!1):t.push(l),T.hasOwnProperty(this.properties.functionid.substr(0,6))&&(C=new R.BBox(T[this.properties.functionid.substr(0,6)])),"95"==this.properties.functionid.substr(4,2)&&t.push(A["GR.IC.FF.HEADQUARTERS OR HEADQUARTERS ELEMENT"]),"96"==this.properties.functionid.substr(4,2)&&t.push(A["GR.IC.FF.DIVISION AND BELOW SUPPORT"]),"97"==this.properties.functionid.substr(4,2)&&t.push(A["GR.IC.FF.CORPS SUPPORT"]),"98"==this.properties.functionid.substr(4,2)&&t.push(A["GR.IC.FF.THEATRE SUPPORT"]),t.push("00"!=this.properties.functionid.substr(6,2)?e[this.properties.functionid.substr(6,2)]:[]),t.push("00"!=this.properties.functionid.substr(8,2)?S[this.properties.functionid.substr(8,2)]:[])}else{var c=this.SIDC.substr(0,1)+"-"+this.SIDC.substr(2,1)+"-"+this.SIDC.substr(4,6);I[c]?t.push(I[c]):"------"!=this.SIDC.substr(4,6)&&""!=this.SIDC.substr(4,6)&&(t.push(n),this._validIcon=!1),T[c]&&(C=new R.BBox(T[c]))}}return this.frame&&this.fill&&!this.monoColor||this.outlineWidth>0&&E.push(R.outline(t,this.outlineWidth,this.strokeWidth,this.outlineColor)),{pre:E,post:t,bbox:C}}},function(I,E,t){var R=t(0);I.exports=function(){var I,E=[],t=[],C=new R.BBox(this.properties.baseGeometry.bbox),A=new R.BBox;if(this.properties.headquarters){var e=100,S=this.hqStafLength||R._hqStafLength;["AirFriend","AirNeutral","GroundFriend","GroundNeutral","SeaNeutral","SubsurfaceNeutral"].indexOf(this.properties.dimension+this.properties.affiliation)>-1&&(e=C.y2),this.properties.dimensionType+this.properties.affiliationType=="SubsurfaceFriend"&&(e=C.y1),I={type:"path",d:"M"+C.x1+","+e+" L"+C.x1+","+(C.y2+S)},this.outlineWidth>0&&E.push(R.outline(I,this.outlineWidth,this.strokeWidth,this.outlineColor)),t.push(I),A.y2=C.y2+S}if(this.properties.taskForce&&(I={type:"path",d:"M55,"+C.y1+" L55,"+(C.y1-40)+" 145,"+(C.y1-40)+" 145,"+C.y1},this.outlineWidth>0&&E.push(R.outline(I,this.outlineWidth,this.strokeWidth,this.outlineColor)),t.push(I),A.y1=C.y1-40),this.properties.installation){var T=0;["AirHostile","GroundHostile","SeaHostile"].indexOf(this.properties.dimension+this.properties.affiliation)>-1&&(T=14),["AirUnknown","GroundUnknown","SeaUnknown","AirFriend","SeaFriend"].indexOf(this.properties.dimension+this.properties.affiliation)>-1&&(T=2),I={type:"path",fill:this.colors.frameColor[this.properties.affiliation],d:"M85,"+(C.y1+T-this.strokeWidth/2)+" 85,"+(C.y1-10)+" 115,"+(C.y1-10)+" 115,"+(C.y1+T-this.strokeWidth/2)+" 100,"+(C.y1-this.strokeWidth)+" Z"},this.outlineWidth>0&&E.push(R.outline(I,this.outlineWidth,this.strokeWidth,this.outlineColor)),t.push(I),A.merge({y1:C.y1-10})}if(this.properties.feintDummy){var N=C.y1-40-C.width()/2;I={type:"path",strokedasharray:R._dashArrays.feintDummy,d:"M100,"+N+" L"+C.x1+","+(C.y1-40)+" M100,"+N+" L"+C.x2+","+(C.y1-40)},this.outlineWidth>0&&E.push(R.outline(I,this.outlineWidth,this.strokeWidth,this.outlineColor)),t.push(I),A.merge({y1:N})}if(this.properties.echelon){var G=this.properties.installation?15:0,O={"Team/Crew":{g:[{type:"circle",cx:100,cy:C.y1-20,r:15},{type:"path",d:"M80,"+(C.y1-10)+"L120,"+(C.y1-30)}],bbox:{y1:C.y1-40-G}},Squad:{g:[{type:"circle",fill:this.colors.frameColor[this.properties.affiliation],cx:100,cy:C.y1-20,r:7.5}],bbox:{y1:C.y1-20-7.5-G}},Section:{g:[{type:"circle",fill:this.colors.frameColor[this.properties.affiliation],cx:115,cy:C.y1-20,r:7.5},{type:"circle",fill:this.colors.frameColor[this.properties.affiliation],cx:85,cy:C.y1-20,r:7.5}],bbox:{y1:C.y1-20-7.5-G}},"Platoon/detachment":{g:[{type:"circle",fill:this.colors.frameColor[this.properties.affiliation],cx:100,cy:C.y1-20,r:7.5},{type:"circle",fill:this.colors.frameColor[this.properties.affiliation],cx:70,cy:C.y1-20,r:7.5},{type:"circle",fill:this.colors.frameColor[this.properties.affiliation],cx:130,cy:C.y1-20,r:7.5}],bbox:{y1:C.y1-20-7.5-G}},"Company/battery/troop":{g:[{type:"path",d:"M100,"+(C.y1-10)+"L100,"+(C.y1-35)}],bbox:{y1:C.y1-40-G}},"Battalion/squadron":{g:[{type:"path",d:"M90,"+(C.y1-10)+"L90,"+(C.y1-35)},{type:"path",d:"M110,"+(C.y1-10)+"L110,"+(C.y1-35)}],bbox:{y1:C.y1-40-G}},"Regiment/group":{g:[{type:"path",d:"M100,"+(C.y1-10)+"L100,"+(C.y1-35)},{type:"path",d:"M120,"+(C.y1-10)+"L120,"+(C.y1-35)},{type:"path",d:"M80,"+(C.y1-10)+"L80,"+(C.y1-35)}],bbox:{y1:C.y1-40-G}},Brigade:{g:[{type:"path",d:"M87.5,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25"}],bbox:{y1:C.y1-15-25-G}},Division:{g:[{type:"path",d:"M70,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M105,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25"}],bbox:{y1:C.y1-15-25-G,x1:70,x2:130}},"Corps/MEF":{g:[{type:"path",d:"M52.5,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M87.5,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M122.5,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25"}],bbox:{y1:C.y1-15-25-G,x1:52.5,x2:147.5}},Army:{g:[{type:"path",d:"M35,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M70,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M105,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M140,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25"}],bbox:{y1:C.y1-15-25-G,x1:35,x2:165}},"Army Group/front":{g:[{type:"path",d:"M17.5,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M52.5,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M87.5,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M122.5,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M157.5,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25"}],bbox:{y1:C.y1-15-25-G,x1:17.5,x2:182.5}},"Region/Theater":{g:[{type:"path",d:"M0,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M35,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M70,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M105,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M140,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25 M175,"+(C.y1-10)+" l25,-25 m0,25 l-25,-25"}],bbox:{y1:C.y1-15-25-G,x1:0,x2:200}},Command:{g:[{type:"path",d:"M70,"+(C.y1-22.5)+" l25,0 m-12.5,12.5 l0,-25 M105,"+(C.y1-22.5)+" l25,0 m-12.5,12.5 l0,-25"}],bbox:{y1:C.y1-15-25-G,x1:70,x2:130}}};O.hasOwnProperty(this.properties.echelon)&&(I=O[this.properties.echelon].g,this.outlineWidth>0&&E.push(R.outline({type:"translate",x:0,y:-G,draw:I},this.outlineWidth,this.strokeWidth,this.outlineColor)),t.push({type:"translate",x:0,y:-G,draw:I}),A.merge(O[this.properties.echelon].bbox))}if(this.properties.mobility){this.frame||(C.y2=this.bbox.y2),"Neutral"==this.properties.affiliation&&("Towed"!=this.properties.mobility&&"Short towed array"!=this.properties.mobility&&"Long towed Array"!=this.properties.mobility||(C.y2+=8),"Over snow (prime mover)"!=this.properties.mobility&&"Sled"!=this.properties.mobility||(C.y2+=13));var M={"Wheeled limited cross country":{g:[{type:"path",d:"M 50,1 l 100,0"},{type:"circle",cx:55,cy:8,r:8},{type:"circle",cx:145,cy:8,r:8}],bbox:{y2:C.y2+16}},"Wheeled cross country":{g:[{type:"path",d:"M 50,1 l 100,0"},{type:"circle",cx:55,cy:8,r:8},{type:"circle",cx:145,cy:8,r:8},{type:"circle",cx:100,cy:8,r:8}],bbox:{y2:C.y2+16}},Tracked:{g:[{type:"path",d:"M 50,1 l 100,0 c15,0 15,15 0,15 l -100,0 c-15,0 -15,-15 0,-15"}],bbox:{y2:C.y2+18,x1:42,x2:168}},"Wheeled and tracked combination":{g:[{type:"circle",cx:55,cy:8,r:8},{type:"path",d:"M 80,1 l 70,0 c15,0 15,15 0,15 l -70,0 c-15,0 -15,-15 0,-15"}],bbox:{y2:C.y2+16,x2:168}},Towed:{g:[{type:"path",d:"M 60,1 l 80,0"},{type:"circle",cx:55,cy:3,r:8},{type:"circle",cx:145,cy:3,r:8}],bbox:{y2:C.y2+10}},Rail:{g:[{type:"path",d:"M 50,1 l 100,0"},{type:"circle",cx:55,cy:8,r:8},{type:"circle",cx:70,cy:8,r:8},{type:"circle",cx:130,cy:8,r:8},{type:"circle",cx:145,cy:8,r:8}],bbox:{y2:C.y2+16}},"Over snow (prime mover)":{g:[{type:"path",d:"M 50,-9 l10,10 90,0"}],bbox:{y2:C.y2+9}},Sled:{g:[{type:"path",d:"M 145,-12 c15,0 15,15 0,15 l -90,0 c-15,0 -15,-15 0,-15"}],bbox:{y2:C.y2+15,x1:42,x2:168}},"Pack animals":{g:[{type:"path",d:"M 80,20 l 10,-20 10,20 10,-20 10,20"}],bbox:{y2:C.y2+20}},Barge:{g:[{type:"path",d:"M 50,1 l 100,0 c0,10 -100,10 -100,0"}],bbox:{y2:C.y2+10}},Amphibious:{g:[{type:"path",d:"M 65,10 c 0,-10 10,-10 10,0 0,10 10,10 10,0\t0,-10 10,-10 10,0 0,10 10,10 10,0\t0,-10 10,-10 10,0 0,10 10,10 10,0\t0,-10 10,-10 10,0"}],bbox:{y2:C.y2+20}},"Short towed array":{g:[{type:"path",fill:this.colors.frameColor[this.properties.affiliation],d:"M 50,5 l 100,0 M50,0 l10,0 0,10 -10,0 z M150,0 l-10,0 0,10 10,0 z M100,0 l5,5 -5,5 -5,-5 z"}],bbox:{y2:C.y2+10}},"Long towed Array":{g:[{type:"path",fill:this.colors.frameColor[this.properties.affiliation],d:"M 50,5 l 100,0 M50,0 l10,0 0,10 -10,0 z M150,0 l-10,0 0,10 10,0 z M105,0 l-10,0 0,10 10,0 z M75,0 l5,5 -5,5 -5,-5 z M125,0 l5,5 -5,5 -5,-5 z"}],bbox:{y2:C.y2+10}}};M.hasOwnProperty(this.properties.mobility)&&(I=M[this.properties.mobility].g,this.outlineWidth>0&&E.push(R.outline({type:"translate",x:0,y:C.y2,draw:I},this.outlineWidth,this.strokeWidth,this.outlineColor)),t.push({type:"translate",x:0,y:C.y2,draw:I}),A.merge(M[this.properties.mobility].bbox))}if(this.properties.leadership){var o={Friend:{type:"path",d:"m 45,60 55,-25 55,25"},Neutral:{type:"path",d:"m 45,60 55,-25 55,25"},Hostile:{type:"path",d:"m 42,71 57.8,-43.3 58.2,42.8"},Unknown:{type:"path",d:"m 50,60 10,-20 80,0 10,20"}}[this.properties.affiliation];"Deputy Individual"==this.properties.leadership&&(o.strokedasharray=R._dashArrays.feintDummy),E.push(o),A.merge({y1:A.y1-20})}for(var L=0;L0&&I.push(R.outline(E,this.outlineWidth,this.strokeWidth,this.outlineColor))}else"Damaged"!=this.properties.condition&&"Destroyed"!=this.properties.condition||(E.push({type:"path",d:"M150,20 L50,180",strokewidth:2*this.strokeWidth,stroke:this.colors.frameColor[this.properties.affiliation]}),C=20,A=180),"Destroyed"==this.properties.condition&&E.push({type:"path",d:"M50,20 L150,180",strokewidth:2*this.strokeWidth,stroke:this.colors.frameColor[this.properties.affiliation]}),this.outlineWidth>0&&I.push(R.outline(E,this.outlineWidth,this.strokeWidth,this.outlineColor));return{pre:I,post:E,bbox:{y1:C,y2:A}}}},function(I,E,t){var R=t(0);I.exports=function(){function I(I){if(0==I.length)return 0;for(var E={" ":9,"!":10,'"':15,"#":17,$:17,"%":27,"&":22,"'":8,"(":10,")":10,"*":12,"+":18,",":9,"-":10,".":9,"/":9,0:17,1:17,2:17,3:17,4:17,5:17,6:17,7:17,8:17,9:17,":":10,";":10,"<":18,"=":18,">":18,"?":19,"@":30,A:22,B:22,C:22,D:22,E:21,F:19,G:24,H:22,I:9,J:17,K:22,L:19,M:25,N:22,O:24,P:21,Q:24,R:22,S:21,T:19,U:22,V:21,W:29,X:21,Y:21,Z:19,"[":10,"]":10,"^":18,_:17,"`":10,a:17,b:19,c:17,d:19,e:17,f:10,g:19,h:19,i:9,j:9,k:17,l:9,m:27,n:19,o:19,p:19,q:19,r:12,s:17,t:10,u:19,v:17,w:24,x:17,y:17,z:15,"{":12,"|":9,"}":12,"~":18},t=0,R=0;R=4&&(E=32,t=110),{type:"text",text:I,x:100,y:t,textanchor:"middle",fontsize:E,fontfamily:T,fill:S,stroke:!1,fontweight:"bold"}}var C=[],A=[],e=this.properties.baseGeometry.bbox,S=this.infoColor||this.colors.iconColor[this.properties.affiliation]||this.colors.iconColor.Friend,T="Arial",N=this.infoSize,G=new R.BBox,O=20;if(this.properties.numberSIDC){String(this.SIDC).substr(4,2)}else{if(!R._labelCache.hasOwnProperty("letter")){R._labelCache.letter={};for(var M in R._labelOverrides.letter)R._labelOverrides.letter.hasOwnProperty(M)&&R._labelOverrides.letter[M].call(this,R._labelCache.letter)}var o=this.SIDC.substr(0,1)+"-"+this.SIDC.substr(2,1)+"-"+this.SIDC.substr(4,6);if(R._labelCache.letter.hasOwnProperty(o))return A.push(E.call(this,R._labelCache.letter[o])),this.outlineWidth>0&&C.push(R.outline(A,this.outlineWidth,this.strokeWidth,this.outlineColor)),{pre:C,post:A,bbox:G}}var L=this.quantity||this.reinforcedReduced||this.staffComments||this.additionalInformation||this.evaluationRating||this.combatEffectiveness||this.signatureEquipment||this.higherFormation||this.hostile||this.iffSif||this.sigint||this.uniqueDesignation||this.type||this.dtg||this.altitudeDepth||this.location||this.speed||this.specialHeadquarters||this.platformType||this.equipmentTeardownTime||this.commonIdentifier||this.auxiliaryEquipmentIndicator||this.headquartersElement;if(this.infoFields&&L){this.specialHeadquarters&&A.push(t(this.specialHeadquarters)),this.quantity&&(A.push({type:"text",text:this.quantity,x:100,y:e.y1-10,textanchor:"middle",fontsize:N,fontfamily:T,fill:S,stroke:!1}),G.y1=e.y1-10-N),this.headquartersElement&&(this.properties.condition&&this.properties.fill&&""==this.monoColor&&(e.y2+=15),A.push({type:"text",text:this.headquartersElement,x:100,y:e.y2+35,textanchor:"middle",fontsize:35,fontfamily:T,fontweight:"bold",fill:S,stroke:!1}),G.y2=e.y2+35);var i,s={L1:"",L2:"",L3:"",L4:"",L5:"",R1:"",R2:"",R3:"",R4:"",R5:""};isNaN(this.SIDC)||"Air"!=this.properties.dimension||(s.R1=this.uniqueDesignation,s.R2=this.iffSif,s.R3=this.type,(this.speed||this.altitudeDepth)&&(i=[],this.speed&&i.push(this.speed),this.location&&i.push(this.altitudeDepth),s.R4=i.join(" ")),(this.staffComments||this.location)&&(i=[],this.staffComments&&i.push(this.staffComments),this.additionalInformation&&i.push(this.additionalInformation),s.R5=i.join(" "))),(isNaN(this.SIDC)||"Ground"==this.properties.baseDimension)&&(s.L1=this.dtg,(this.altitudeDepth||this.location)&&(i=[],this.altitudeDepth&&i.push(this.altitudeDepth),this.location&&i.push(this.location),s.L2=i.join(" ")),(this.type||this.platformType||this.commonIdentifier)&&(i=[],this.type&&i.push(this.type),this.platformType&&i.push(this.platformType),this.commonIdentifier&&i.push(this.commonIdentifier),s.L3=i.join(" ")),s.L4=this.uniqueDesignation,s.L5=this.speed,s.R1=this.reinforcedReduced,s.R2=this.staffComments,(this.additionalInformation||this.equipmentTeardownTime)&&(i=[],this.additionalInformation&&i.push(this.additionalInformation),this.equipmentTeardownTime&&i.push(this.equipmentTeardownTime),s.R3=i.join(" ")),s.R4=this.higherFormation,(this.evaluationRating||this.combatEffectiveness||this.signatureEquipment||this.hostile||this.iffSif)&&(i=[],this.evaluationRating&&i.push(this.evaluationRating),this.combatEffectiveness&&i.push(this.combatEffectiveness),this.signatureEquipment&&i.push(this.signatureEquipment),this.hostile&&i.push(this.hostile),this.iffSif&&i.push(this.iffSif),s.R5=i.join(" "))),isNaN(this.SIDC)||"Sea"!=this.properties.dimension||(s.R1=this.uniqueDesignation,s.R2=this.type,s.R3=this.iffSif,(this.staffComments||this.location)&&(i=[],this.staffComments&&i.push(this.staffComments),this.additionalInformation&&i.push(this.additionalInformation),s.R4=i.join(" ")),(this.location||this.speed)&&(i=[],this.location&&i.push(this.location),this.speed&&i.push(this.speed),s.R5=i.join(" "))),isNaN(this.SIDC)||"Subsurface"!=this.properties.dimension||(s.R1=this.uniqueDesignation,s.R2=this.type,s.R3=this.altitudeDepth,s.R4=this.staffComments,s.R5=this.additionalInformation),G.x1=e.x1-Math.max(this.specialHeadquarters?(I(this.specialHeadquarters)-this.properties.baseGeometry.bbox.width())/2:0,I(s.L1),I(s.L2),I(s.L3),I(s.L4),I(s.L5)),G.x2=e.x2+Math.max(this.specialHeadquarters?(I(this.specialHeadquarters)-this.properties.baseGeometry.bbox.width())/2:0,I(s.R1),I(s.R2),I(s.R3),I(s.R4),I(s.R5)),(s.L1||s.R1)&&(G.y1=Math.min(G.y1,100-2.5*N)),(s.L2||s.R2)&&(G.y1=Math.min(G.y1,100-1.5*N)),(s.L4||s.R4)&&(G.y2=Math.max(G.y2,100+1.7*N)),(s.L5||s.R5)&&(G.y2=Math.max(G.y2,100+2.7*N)),s.L1&&A.push({type:"text",text:s.L1,x:e.x1-O,y:100-1.5*N,textanchor:"end",fontsize:N,fontfamily:T,fill:S,stroke:!1}),s.L2&&A.push({type:"text",text:s.L2,x:e.x1-O,y:100-.5*N,textanchor:"end",fontsize:N,fontfamily:T,fill:S,stroke:!1}),s.L3&&A.push({type:"text",text:s.L3,x:e.x1-O,y:100+.5*N,textanchor:"end",fontsize:N,fontfamily:T,fill:S,stroke:!1}),s.L4&&A.push({type:"text",text:s.L4,x:e.x1-O,y:100+1.5*N,textanchor:"end",fontsize:N,fontfamily:T,fill:S,stroke:!1}),s.L5&&A.push({type:"text",text:s.L5,x:e.x1-O,y:100+2.5*N,textanchor:"end",fontsize:N,fontfamily:T,fill:S,stroke:!1}),s.R1&&A.push({type:"text",text:s.R1,x:e.x2+O,y:100-1.5*N,textanchor:"start",fontsize:N,fontfamily:T,fill:S,stroke:!1}),s.R2&&A.push({type:"text",text:s.R2,x:e.x2+O,y:100-.5*N,textanchor:"start",fontsize:N,fontfamily:T,fill:S,stroke:!1}),s.R3&&A.push({type:"text",text:s.R3,x:e.x2+O,y:100+.5*N,textanchor:"start",fontsize:N,fontfamily:T,fill:S,stroke:!1}),s.R4&&A.push({type:"text",text:s.R4,x:e.x2+O,y:100+1.5*N,textanchor:"start",fontsize:N,fontfamily:T,fill:S,stroke:!1}),s.R5&&A.push({type:"text",text:s.R5,x:e.x2+O,y:100+2.5*N,textanchor:"start",fontsize:N,fontfamily:T,fill:S,stroke:!1}),this.outlineWidth>0&&C.push(R.outline(A,this.outlineWidth,this.strokeWidth,this.outlineColor))}return{pre:C,post:A,bbox:G}}},function(I,E){I.exports=function(I){return void 0===I&&(I={}),{x1:void 0!==I.x1?I.x1:100,y1:void 0!==I.y1?I.y1:100,x2:void 0!==I.x2?I.x2:100,y2:void 0!==I.y2?I.y2:100,width:function(){return this.x2-this.x1},height:function(){return this.y2-this.y1},getSize:function(){return{height:this.y2-this.y1,width:this.x2-this.x1}},merge:function(I){return this.x1=I.x1<=this.x1?I.x1:this.x1,this.y1=I.y1<=this.y1?I.y1:this.y1,this.x2=I.x2>=this.x2?I.x2:this.x2,this.y2=I.y2>=this.y2?I.y2:this.y2,this}}}},function(I,E){I.exports=function(I){return"2525"==I?(this._STD2525=!0,!0):"APP6"==I&&(this._STD2525=!1,!0)}},function(I,E,t){var R=t(0);I.exports=function(I){function E(I,t){for(var C=0;C",E[R].type){case"path":C+="";break;case"circle":C+="";break;case"text":C+=E[R].text+"";break;case"translate":case"rotate":case"scale":C+=I.call(this,E[R].draw),C+=""}}t+=C}return t}for(var E='