ym-gis-2d 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/feature/FeatureManager.js +1 -1
  12. package/index.js +1 -1
  13. package/interaction/Draw.js +1 -1
  14. package/interaction/InteractionManager.js +1 -1
  15. package/interaction/Select.js +1 -1
  16. package/layers/ArcgisDynamicLayer.js +1 -1
  17. package/layers/ArcgisFeatureLayer.js +1 -1
  18. package/layers/ArcgisTileLayer.js +1 -1
  19. package/layers/ArcgisWMSLayer.js +1 -1
  20. package/layers/ArcgisWMTSLayer.js +1 -1
  21. package/layers/GeoserverVectorTile.js +1 -1
  22. package/layers/GeoserverWFSLayer.js +1 -1
  23. package/layers/GeoserverWMSLayer.js +1 -1
  24. package/layers/GeoserverWMTSLayer.js +1 -1
  25. package/layers/LayerManager.js +1 -1
  26. package/layers/TDTLayer.js +1 -1
  27. package/mapView/Map.js +1 -1
  28. package/mapView/View.js +1 -1
  29. package/package.json +1 -1
  30. package/plot/Plot.js +1 -1
  31. package/plot/geometry/point/Point.js +1 -1
  32. package/plot/geometry/polygon/BasePolygon.js +1 -1
  33. package/plot/geometry/polygon/Circle.js +1 -1
  34. package/plot/geometry/polygon/Polygon.js +1 -1
  35. package/plot/geometry/polygon/RectAngle.js +1 -1
  36. package/plot/geometry/polyline/BaseLine.js +1 -1
  37. package/plot/geometry/polyline/Polyline.js +1 -1
  38. package/style/PointStyleFormat.js +1 -1
  39. package/style/PolygonStyleFormat.js +1 -1
  40. package/style/PolylineStyleFormat.js +1 -1
  41. package/style/StyleManager.js +1 -1
  42. package/style/common.js +1 -1
  43. package/utils/ArrayUtil.js +1 -1
  44. package/utils/AxiosUtil.js +1 -1
  45. package/utils/EsriUtil.js +1 -1
  46. package/utils/GeometryUtil.d.ts +11 -3
  47. package/utils/GeometryUtil.d.ts.map +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/GeometryUtil.js.map +1 -1
  50. package/utils/LayerUtil.js +1 -1
  51. package/utils/RegisterProjUtil.js +1 -1
  52. package/utils/ResolutionUtil.js +1 -1
  53. package/utils/StringUtil.js +1 -1
  54. package/utils/StyleUtil.js +1 -1
  55. package/utils/UrlUtil.js +1 -1
  56. package/utils/XmlUtil.js +1 -1
  57. package/utils/format/CQL.js +1 -1
  58. package/utils/format/IsMatchCql.js +1 -1
  59. package/utils/plug/canvas/ImageCache.js +1 -1
  60. package/utils/plug/canvas/PinBuilder.js +1 -1
  61. package/utils/plug/canvas/PinIcon.js +1 -1
  62. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  63. package/utils/tasks/esri/Identify.js +1 -1
  64. package/utils/tasks/esri/Query.js +1 -1
  65. package/utils/tasks/esri/Task.js +1 -1
  66. package/utils/tasks/geoserver/QueryTask.js +1 -1
  67. package/utils/tasks/index.d.ts.map +1 -1
  68. package/utils/tasks/index.js +1 -1
  69. package/utils/tasks/index.js.map +1 -1
  70. package/ym-gis-2d.es.js +1 -1
  71. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- (function(_0x3bded3,_0x45bf16){const _0x5f02c6=a0_0x66c0,_0x14aae9=_0x3bded3();while(!![]){try{const _0x2a2c0d=-parseInt(_0x5f02c6(0xb6))/0x1+parseInt(_0x5f02c6(0xbe))/0x2+parseInt(_0x5f02c6(0xdd))/0x3+parseInt(_0x5f02c6(0x103))/0x4+-parseInt(_0x5f02c6(0xc2))/0x5*(-parseInt(_0x5f02c6(0xce))/0x6)+parseInt(_0x5f02c6(0xcd))/0x7*(-parseInt(_0x5f02c6(0xd5))/0x8)+parseInt(_0x5f02c6(0xe5))/0x9*(-parseInt(_0x5f02c6(0xbf))/0xa);if(_0x2a2c0d===_0x45bf16)break;else _0x14aae9['push'](_0x14aae9['shift']());}catch(_0x589659){_0x14aae9['push'](_0x14aae9['shift']());}}}(a0_0x11a0,0x4e41e));import{addArgument,appendPath}from'../utils/UrlUtil';import a0_0x3bfa8a from'../utils/AxiosUtil';import{jsonp}from'../utils/AxiosUtil';import a0_0x1368c0 from'ol/format/WMTSCapabilities';import a0_0x56b954 from'ol/format/WMSCapabilities';import{readXml}from'../utils/XmlUtil';import{transformedToNumber}from'../utils/StringUtil';function a0_0x11a0(){const _0x242ade=['TileWidth','Capability','Title','layers','wgs84BoundingBox','MatrixHeight','Layer','double','wfs','type','291382mwIQUZ','18xWnmRo','Identifier','wkid','innerHTML','GetCapabilities','Style','indexOf','24JeoLSc','arcgis-feature','wmts','EPSG:','request','children','DefaultCRS','xsd:sequence','1167933vAhGIR','TileMatrixSetLink','gml:','esriFieldTypeGeometry','sourceXml','tileMatrixSet','date','geoserver-wfs','9uCOmto','esriFieldTypeInteger','arcgis-dynamic','extent','pjson','WGS84BoundingBox','push','fields','FeatureTypeList','Contents','Format','getElementsByTagName','alias','BoundingBox','get','name','length','style','forEach','url','typeName','esriFieldTypeSmallInteger','TileMatrixSet','esriFieldTypeString','data','crs','toString','split','decimal','format','1549604rYERFE','read','service','value','layerFields','json','485319fecrxe','short','tileMatrixs','Name','ScaleDenominator','int','initExtent','esriFieldTypeDate','458226VCydyy','4455140nyjHnH','nodeName','wms','617380HwuUCo'];a0_0x11a0=function(){return _0x242ade;};return a0_0x11a0();}export async function getDynamicLayerInfo(_0x32e798){const _0x203b44=a0_0x66c0,_0x371727=addArgument(_0x32e798,'f',_0x203b44(0xb5)),_0x437eec=await a0_0x3bfa8a[_0x203b44(0xf3)](_0x371727);return _0x437eec[_0x203b44(0xfd)];}export async function getFeatureLayerInfo(_0x8af24,_0x38a4c0){const _0x20c903=a0_0x66c0;let _0x2befa6=addArgument(_0x8af24,'f','json');_0x2befa6=appendPath(_0x2befa6,_0x38a4c0);const _0x163b05=await jsonp(_0x2befa6);return _0x163b05[_0x20c903(0xf8)]=_0x2befa6,_0x163b05;}export async function getWMSLayerCapabilities(_0xe0e295,_0x2a05a7){const _0x24a4fe=a0_0x66c0,_0x3838ad=await getWMSCapabilities(_0xe0e295);let _0x195597={},_0x3a30a5=_0x3838ad[_0x24a4fe(0xc4)]['Layer'][_0x24a4fe(0xc9)];for(let _0x34258e=0x0;_0x34258e<_0x3a30a5[_0x24a4fe(0xf5)];_0x34258e++){const _0x42cac0=_0x3a30a5[_0x34258e];if(_0x42cac0[_0x24a4fe(0xb9)]==_0x2a05a7){_0x195597[_0x24a4fe(0xf6)]=_0x42cac0[_0x24a4fe(0xd3)][0x0][_0x24a4fe(0xb9)];for(let _0x5ecd0e=0x0;_0x5ecd0e<_0x42cac0['BoundingBox'][_0x24a4fe(0xf5)];_0x5ecd0e++){const _0x2df5d6=_0x42cac0['BoundingBox'][_0x5ecd0e];if(_0x2df5d6['crs'][_0x24a4fe(0xd4)](_0x24a4fe(0xd8))>-0x1){_0x195597[_0x24a4fe(0xd0)]=transformedToNumber(_0x2df5d6[_0x24a4fe(0xfe)]),_0x195597[_0x24a4fe(0xbc)]=[_0x2df5d6[_0x24a4fe(0xe8)][0x1],_0x2df5d6[_0x24a4fe(0xe8)][0x0],_0x2df5d6[_0x24a4fe(0xe8)][0x3],_0x2df5d6[_0x24a4fe(0xe8)][0x2]];break;}}break;}}return _0x195597;}export async function getWMTSLayerCapabilities(_0x3042d4,_0x1826dd){const _0x2f2c42=a0_0x66c0,_0x35d5fa=await getWMTSCapabilities(_0x3042d4);let _0x374c3e={},_0x234c73=_0x35d5fa['Contents'][_0x2f2c42(0xc9)];_0x374c3e[_0x2f2c42(0xe1)]=_0x35d5fa;for(let _0x3785e3=0x0;_0x3785e3<_0x234c73[_0x2f2c42(0xf5)];_0x3785e3++){const _0x577404=_0x234c73[_0x3785e3];if(_0x577404[_0x2f2c42(0xcf)]==_0x1826dd){_0x374c3e[_0x2f2c42(0x102)]=_0x577404[_0x2f2c42(0xef)],_0x374c3e[_0x2f2c42(0xf6)]=_0x577404[_0x2f2c42(0xd3)][0x0][_0x2f2c42(0xcf)],_0x374c3e[_0x2f2c42(0xe2)]=_0x577404[_0x2f2c42(0xde)][0x0][_0x2f2c42(0xfb)],_0x374c3e[_0x2f2c42(0xc7)]=_0x577404[_0x2f2c42(0xea)],_0x374c3e['boundingBoxExtent']=_0x577404['BoundingBox']&&_0x577404[_0x2f2c42(0xf2)]['length']>0x0?_0x577404[_0x2f2c42(0xf2)][0x0][_0x2f2c42(0xe8)]:_0x374c3e[_0x2f2c42(0xc7)];break;}}if(_0x374c3e[_0x2f2c42(0xe2)])for(let _0x4c9a1d=0x0;_0x4c9a1d<_0x35d5fa[_0x2f2c42(0xee)][_0x2f2c42(0xfb)][_0x2f2c42(0xf5)];_0x4c9a1d++){const _0xad58e9=_0x35d5fa[_0x2f2c42(0xee)][_0x2f2c42(0xfb)][_0x4c9a1d];if(_0xad58e9['Identifier']==_0x374c3e[_0x2f2c42(0xe2)]){_0x374c3e[_0x2f2c42(0xd0)]=transformedToNumber(_0xad58e9['SupportedCRS']),_0x374c3e['tileMatrixs']=[];for(let _0x198af9=0x0;_0x198af9<_0xad58e9['TileMatrix'][_0x2f2c42(0xf5)];_0x198af9++){const _0x5609b5=_0xad58e9['TileMatrix'][_0x198af9];_0x374c3e[_0x2f2c42(0xb8)][_0x2f2c42(0xeb)]({'identifier':_0x5609b5['Identifier'],'matrixHeight':_0x5609b5[_0x2f2c42(0xc8)],'matrixWidth':_0x5609b5['MatrixWidth'],'scaleDenominator':_0x5609b5[_0x2f2c42(0xba)],'tileHeight':_0x5609b5['TileHeight'],'tileWidth':_0x5609b5[_0x2f2c42(0xc3)],'topLeftCorner':_0x5609b5['TopLeftCorner']});}break;}}return _0x374c3e;}export async function getWFSLayerCapabilities(_0x5be117,_0x50b988){const _0x52d52e=a0_0x66c0,_0x359ceb=await getWFSCapabilities(_0x5be117);let _0x3d421b={};const _0x2acf68=await getWmsLayerFields(_0x5be117,_0x50b988);_0x3d421b[_0x52d52e(0xb4)]=_0x2acf68;let _0x3562d2=_0x359ceb[_0x52d52e(0xf0)](_0x52d52e(0xed))[0x0][_0x52d52e(0xda)],_0x1e3740;for(let _0x5539e0=0x0,_0x3ec269=_0x3562d2['length'];_0x5539e0<_0x3ec269;_0x5539e0++){for(let _0x14b42c=0x0,_0x4c87fe=_0x3562d2[_0x5539e0]['children'][_0x52d52e(0xf5)];_0x14b42c<_0x4c87fe;_0x14b42c++){if(_0x3562d2[_0x5539e0][_0x52d52e(0xda)][_0x14b42c][_0x52d52e(0xc0)]==='Name'){const _0x29bc6c=_0x3562d2[_0x5539e0][_0x52d52e(0xda)][_0x14b42c]['innerHTML'][_0x52d52e(0xff)]();if(_0x29bc6c==_0x50b988||_0x29bc6c['indexOf'](':'+_0x50b988)>-0x1){_0x1e3740=_0x3562d2[_0x5539e0];break;}}}if(_0x1e3740)break;}let _0x2c73ac=[];for(let _0x1be6fd=0x0,_0x38b45f=_0x1e3740['children']['length'];_0x1be6fd<_0x38b45f;_0x1be6fd++){if(_0x1e3740[_0x52d52e(0xda)][_0x1be6fd][_0x52d52e(0xc0)]==='ows:WGS84BoundingBox'){let _0x5eac5d=_0x1e3740[_0x52d52e(0xda)][_0x1be6fd]['children'][0x0]['innerHTML'][_0x52d52e(0x100)]('\x20'),_0x4b893b=_0x1e3740[_0x52d52e(0xda)][_0x1be6fd][_0x52d52e(0xda)][0x1][_0x52d52e(0xd1)]['split']('\x20');_0x5eac5d&&_0x4b893b&&(_0x2c73ac=[_0x5eac5d[0x0]-0x0,_0x5eac5d[0x1]-0x0,_0x4b893b[0x0]-0x0,_0x4b893b[0x1]-0x0]),_0x3d421b['initExtent']=_0x2c73ac;}else _0x1e3740[_0x52d52e(0xda)][_0x1be6fd]['nodeName']===_0x52d52e(0xdb)&&(_0x3d421b['wkid']=transformedToNumber(_0x1e3740[_0x52d52e(0xda)][_0x1be6fd]['innerHTML']));}return _0x3d421b;}export async function getWMSCapabilities(_0x56208b){const _0x3c6dbe=a0_0x66c0;let _0x36fbb8=addArgument(_0x56208b,_0x3c6dbe(0xd9),_0x3c6dbe(0xd2));_0x36fbb8=addArgument(_0x36fbb8,'service',_0x3c6dbe(0xc1));const _0x45dd62=await a0_0x3bfa8a[_0x3c6dbe(0xf3)](_0x36fbb8);let _0x529385=new a0_0x56b954();return _0x529385[_0x3c6dbe(0x104)](_0x45dd62[_0x3c6dbe(0xfd)]);}export async function getWMTSCapabilities(_0x437b60){const _0x2a7ee9=a0_0x66c0;let _0x42af8f=addArgument(_0x437b60,_0x2a7ee9(0xd9),_0x2a7ee9(0xd2));_0x42af8f=addArgument(_0x42af8f,_0x2a7ee9(0x105),_0x2a7ee9(0xd7));const _0x523a4a=await a0_0x3bfa8a[_0x2a7ee9(0xf3)](_0x42af8f);let _0x2724e1=new a0_0x1368c0();return _0x2724e1[_0x2a7ee9(0x104)](_0x523a4a[_0x2a7ee9(0xfd)]);}export async function getWFSCapabilities(_0x97faf){const _0x34c00d=a0_0x66c0;let _0x4df28f=addArgument(_0x97faf,_0x34c00d(0xd9),'GetCapabilities');_0x4df28f=addArgument(_0x4df28f,_0x34c00d(0x105),_0x34c00d(0xcb));const _0x39add2=await a0_0x3bfa8a[_0x34c00d(0xf3)](_0x4df28f),_0x3030d5=readXml(_0x39add2[_0x34c00d(0xfd)]);return _0x3030d5;}export async function getWmsLayerFields(_0x19dff5,_0x2e4a92){const _0x552075=a0_0x66c0;let _0x326fda=addArgument(_0x19dff5,'request','DescribeFeatureType');_0x326fda=addArgument(_0x326fda,_0x552075(0x105),_0x552075(0xcb)),_0x326fda=addArgument(_0x326fda,_0x552075(0xf9),_0x2e4a92);const _0x2b4658=await a0_0x3bfa8a['get'](_0x326fda),_0x2d37e9=readXml(_0x2b4658[_0x552075(0xfd)]);let _0x3e1c85=[];const _0x1f3ea0=_0x2d37e9[_0x552075(0xf0)](_0x552075(0xdc))[0x0][_0x552075(0xda)];for(let _0x5513a9=0x0;_0x5513a9<_0x1f3ea0[_0x552075(0xf5)];_0x5513a9++){const _0x3a657a=_0x1f3ea0[_0x5513a9],_0x2a6d28=_0x3a657a['attributes'][_0x552075(0xcc)][_0x552075(0x106)];let _0x4b0c43=0x1;if(_0x2a6d28[_0x552075(0xd4)]('string')>-0x1)_0x4b0c43=0x1;else{if(_0x2a6d28['indexOf'](_0x552075(0xdf))>-0x1)_0x4b0c43=0x6;else{if(_0x2a6d28[_0x552075(0xd4)](_0x552075(0xbb))>-0x1||_0x2a6d28[_0x552075(0xd4)](_0x552075(0xb7))>-0x1)_0x4b0c43=0x2;else{if(_0x2a6d28['indexOf'](_0x552075(0xca))>-0x1||_0x2a6d28[_0x552075(0xd4)](_0x552075(0x101))>-0x1)_0x4b0c43=0x3;else _0x2a6d28[_0x552075(0xd4)](_0x552075(0xe3))>-0x1&&(_0x4b0c43=0x4);}}}_0x3e1c85[_0x552075(0xeb)]({'name':_0x3a657a['attributes'][_0x552075(0xf4)][_0x552075(0x106)],'aliasName':_0x3a657a['attributes']['name'][_0x552075(0x106)],'fieldType':_0x4b0c43,'fieldTypeName':_0x2a6d28,'iDisplay':!![]});}return _0x3e1c85;}export async function getWmtsLayers(_0x2973cb){const _0x6bbd35=a0_0x66c0,_0xeddc05=await getWMTSCapabilities(_0x2973cb);let _0x40e16b=[];if(!_0xeddc05||!_0xeddc05[_0x6bbd35(0xee)]||!_0xeddc05['Contents'][_0x6bbd35(0xc9)])return _0x40e16b;return _0xeddc05[_0x6bbd35(0xee)][_0x6bbd35(0xc9)][_0x6bbd35(0xf7)](_0x2521d8=>{const _0x214084=_0x6bbd35;_0x40e16b['push']({'name':_0x2521d8[_0x214084(0xcf)],'label':_0x2521d8[_0x214084(0xc5)]});}),_0x40e16b;}export async function getWmsLayers(_0x244755){const _0xcd4823=a0_0x66c0,_0x36f3ea=await getWMSCapabilities(_0x244755);let _0x54ae15=[];if(!_0x36f3ea||!_0x36f3ea[_0xcd4823(0xc4)]||!_0x36f3ea[_0xcd4823(0xc4)]['Layer']||!_0x36f3ea[_0xcd4823(0xc4)][_0xcd4823(0xc9)][_0xcd4823(0xc9)])return _0x54ae15;return _0x36f3ea[_0xcd4823(0xc4)][_0xcd4823(0xc9)]['Layer']['forEach'](_0x58e417=>{const _0x92d751=_0xcd4823;_0x54ae15[_0x92d751(0xeb)]({'name':_0x58e417[_0x92d751(0xb9)],'label':_0x58e417['Title']});}),_0x54ae15;}function a0_0x66c0(_0x49fd1a,_0xb6a727){const _0x11a038=a0_0x11a0();return a0_0x66c0=function(_0x66c08d,_0x4065cf){_0x66c08d=_0x66c08d-0xb4;let _0x4be3ea=_0x11a038[_0x66c08d];return _0x4be3ea;},a0_0x66c0(_0x49fd1a,_0xb6a727);}export async function getWfLayers(_0xf0e4){const _0x137dac=a0_0x66c0,_0x5d4e16=await getWFSCapabilities(_0xf0e4);let _0x18f931=[],_0x2446c6=_0x5d4e16[_0x137dac(0xf0)](_0x137dac(0xed))[0x0][_0x137dac(0xda)],_0x51f9ea;for(let _0x4fc493=0x0,_0xe153b2=_0x2446c6[_0x137dac(0xf5)];_0x4fc493<_0xe153b2;_0x4fc493++){let _0x55f740={'name':'','label':''};for(let _0x1abb28=0x0,_0x3fb2bf=_0x2446c6[_0x4fc493]['children']['length'];_0x1abb28<_0x3fb2bf;_0x1abb28++){if(_0x2446c6[_0x4fc493]['children'][_0x1abb28][_0x137dac(0xc0)]===_0x137dac(0xb9)){const _0x2ef0f3=_0x2446c6[_0x4fc493][_0x137dac(0xda)][_0x1abb28][_0x137dac(0xd1)][_0x137dac(0xff)]();_0x55f740[_0x137dac(0xf4)]=_0x2ef0f3;}else{if(_0x2446c6[_0x4fc493][_0x137dac(0xda)][_0x1abb28]['nodeName']===_0x137dac(0xc5)){const _0x1ab5ab=_0x2446c6[_0x4fc493]['children'][_0x1abb28][_0x137dac(0xd1)][_0x137dac(0xff)]();_0x55f740['label']=_0x1ab5ab;}}}_0x55f740[_0x137dac(0xf4)]!==''&&_0x55f740['label']!==''&&_0x18f931[_0x137dac(0xeb)](_0x55f740);}return _0x18f931;}export async function getArcgisDynamicLayers(_0x9c1b25){const _0x5826e2=a0_0x66c0;let _0x4f11f4=addArgument(_0x9c1b25,'f',_0x5826e2(0xe9));const _0x593eda=await a0_0x3bfa8a[_0x5826e2(0xf3)](_0x4f11f4);let _0x239f1f=[];return _0x593eda[_0x5826e2(0xfd)][_0x5826e2(0xc6)]['forEach'](_0x3ff80e=>{const _0xea425b=_0x5826e2;_0x239f1f[_0xea425b(0xeb)]({'name':_0x3ff80e['id'][_0xea425b(0xff)](),'label':_0x3ff80e['name']});}),_0x239f1f;}export async function getArcgisDynamicLayerFields(_0xb23fc8,_0x179dea){const _0x3d9c93=a0_0x66c0;let _0x2da51e=appendPath(_0xb23fc8,_0x179dea);_0x2da51e=addArgument(_0x2da51e,'f','pjson');const _0x23b49f=await a0_0x3bfa8a[_0x3d9c93(0xf3)](_0x2da51e);let _0x501c56=[];return _0x23b49f[_0x3d9c93(0xfd)][_0x3d9c93(0xec)][_0x3d9c93(0xf7)](_0x4827b9=>{const _0x16ca3d=_0x3d9c93;let _0x40229e=0x1;switch(_0x4827b9[_0x16ca3d(0xcc)]){case _0x16ca3d(0xfc):_0x40229e=0x1;break;case _0x16ca3d(0xe6):case _0x16ca3d(0xfa):case'esriFieldTypeOID':_0x40229e=0x2;break;case'esriFieldTypeDouble':_0x40229e=0x3;break;case _0x16ca3d(0xbd):_0x40229e=0x4;break;case _0x16ca3d(0xe0):_0x40229e=0x6;break;default:_0x40229e=0x1;break;}_0x501c56[_0x16ca3d(0xeb)]({'name':_0x4827b9[_0x16ca3d(0xf4)],'aliasName':_0x4827b9[_0x16ca3d(0xf1)],'fieldType':_0x40229e,'fieldTypeName':_0x4827b9[_0x16ca3d(0xcc)],'fieldLength':_0x4827b9[_0x16ca3d(0xf5)],'iDisplay':!![]});}),_0x501c56;}export async function getSourceLayerFields(_0x32b46d,_0x1d7e58,_0xd0f197){const _0x366845=a0_0x66c0;let _0x278e92=[];switch(_0xd0f197){case _0x366845(0xe7):case _0x366845(0xd6):_0x278e92=await getArcgisDynamicLayerFields(_0x32b46d,_0x1d7e58);break;case'geoserver-wms':case _0x366845(0xe4):_0x278e92=await getWmsLayerFields(_0x32b46d,_0x1d7e58);break;default:break;}return _0x278e92;}
1
+ (function(_0x3bcc8c,_0x345f57){const _0x1a9abc=a0_0x59c1,_0x3550e2=_0x3bcc8c();while(!![]){try{const _0x21d407=parseInt(_0x1a9abc(0x18d))/0x1+parseInt(_0x1a9abc(0x182))/0x2*(parseInt(_0x1a9abc(0x189))/0x3)+-parseInt(_0x1a9abc(0x161))/0x4+-parseInt(_0x1a9abc(0x166))/0x5*(parseInt(_0x1a9abc(0x16a))/0x6)+parseInt(_0x1a9abc(0x140))/0x7*(-parseInt(_0x1a9abc(0x179))/0x8)+-parseInt(_0x1a9abc(0x14c))/0x9+parseInt(_0x1a9abc(0x168))/0xa*(parseInt(_0x1a9abc(0x167))/0xb);if(_0x21d407===_0x345f57)break;else _0x3550e2['push'](_0x3550e2['shift']());}catch(_0x5704f5){_0x3550e2['push'](_0x3550e2['shift']());}}}(a0_0x1459,0xb3d7c));import{addArgument,appendPath}from'../utils/UrlUtil';import a0_0x36f704 from'../utils/AxiosUtil';import{jsonp}from'../utils/AxiosUtil';import a0_0x4e54d8 from'ol/format/WMTSCapabilities';import a0_0x503112 from'ol/format/WMSCapabilities';function a0_0x59c1(_0x1e3dba,_0xc38444){const _0x145975=a0_0x1459();return a0_0x59c1=function(_0x59c1d3,_0x58d172){_0x59c1d3=_0x59c1d3-0x139;let _0x2c872f=_0x145975[_0x59c1d3];return _0x2c872f;},a0_0x59c1(_0x1e3dba,_0xc38444);}import{readXml}from'../utils/XmlUtil';import{transformedToNumber}from'../utils/StringUtil';export async function getDynamicLayerInfo(_0xc86599){const _0x26c538=a0_0x59c1,_0x259188=addArgument(_0xc86599,'f',_0x26c538(0x143)),_0x22fee5=await a0_0x36f704[_0x26c538(0x155)](_0x259188);return _0x22fee5[_0x26c538(0x172)];}export async function getFeatureLayerInfo(_0x3115f8,_0x6233f5){const _0xe9ef13=a0_0x59c1;let _0xe84296=addArgument(_0x3115f8,'f',_0xe9ef13(0x143));_0xe84296=appendPath(_0xe84296,_0x6233f5);const _0x57614f=await jsonp(_0xe84296);return _0x57614f[_0xe9ef13(0x163)]=_0xe84296,_0x57614f;}export async function getWMSLayerCapabilities(_0x36aee6,_0x154e84){const _0x3ce4d6=a0_0x59c1,_0x157ed7=await getWMSCapabilities(_0x36aee6);let _0x41b477={},_0x5e1988=_0x157ed7[_0x3ce4d6(0x173)][_0x3ce4d6(0x142)][_0x3ce4d6(0x142)];for(let _0x1f9dfa=0x0;_0x1f9dfa<_0x5e1988['length'];_0x1f9dfa++){const _0x504853=_0x5e1988[_0x1f9dfa];if(_0x504853[_0x3ce4d6(0x153)]==_0x154e84){_0x41b477[_0x3ce4d6(0x14f)]=_0x504853[_0x3ce4d6(0x150)][0x0][_0x3ce4d6(0x153)];for(let _0x4ac844=0x0;_0x4ac844<_0x504853[_0x3ce4d6(0x18c)]['length'];_0x4ac844++){const _0x5287c9=_0x504853[_0x3ce4d6(0x18c)][_0x4ac844];if(_0x5287c9['crs'][_0x3ce4d6(0x171)](_0x3ce4d6(0x15f))>-0x1){_0x41b477[_0x3ce4d6(0x17d)]=transformedToNumber(_0x5287c9[_0x3ce4d6(0x14e)]),_0x41b477[_0x3ce4d6(0x13f)]=[_0x5287c9[_0x3ce4d6(0x149)][0x1],_0x5287c9[_0x3ce4d6(0x149)][0x0],_0x5287c9[_0x3ce4d6(0x149)][0x3],_0x5287c9[_0x3ce4d6(0x149)][0x2]];break;}}break;}}return _0x41b477;}export async function getWMTSLayerCapabilities(_0x587ebd,_0x5e0aa0){const _0x417fb8=a0_0x59c1,_0x532ba7=await getWMTSCapabilities(_0x587ebd);let _0x66ad57={},_0x4de9d6=_0x532ba7[_0x417fb8(0x14a)][_0x417fb8(0x142)];_0x66ad57[_0x417fb8(0x156)]=_0x532ba7;for(let _0x5a75fc=0x0;_0x5a75fc<_0x4de9d6[_0x417fb8(0x18f)];_0x5a75fc++){const _0x280287=_0x4de9d6[_0x5a75fc];if(_0x280287[_0x417fb8(0x13b)]==_0x5e0aa0){_0x66ad57[_0x417fb8(0x17e)]=_0x280287[_0x417fb8(0x15c)],_0x66ad57[_0x417fb8(0x14f)]=_0x280287['Style'][0x0]['Identifier'],_0x66ad57[_0x417fb8(0x144)]=_0x280287['TileMatrixSetLink'][0x0]['TileMatrixSet'],_0x66ad57[_0x417fb8(0x184)]=_0x280287[_0x417fb8(0x188)],_0x66ad57[_0x417fb8(0x16c)]=_0x280287[_0x417fb8(0x18c)]&&_0x280287['BoundingBox']['length']>0x0?_0x280287['BoundingBox'][0x0][_0x417fb8(0x149)]:_0x66ad57[_0x417fb8(0x184)];break;}}if(_0x66ad57[_0x417fb8(0x144)])for(let _0x49c0c9=0x0;_0x49c0c9<_0x532ba7['Contents'][_0x417fb8(0x17c)]['length'];_0x49c0c9++){const _0x19e8bd=_0x532ba7['Contents'][_0x417fb8(0x17c)][_0x49c0c9];if(_0x19e8bd[_0x417fb8(0x13b)]==_0x66ad57[_0x417fb8(0x144)]){_0x66ad57[_0x417fb8(0x17d)]=transformedToNumber(_0x19e8bd[_0x417fb8(0x169)]),_0x66ad57[_0x417fb8(0x181)]=[];for(let _0xabcd36=0x0;_0xabcd36<_0x19e8bd[_0x417fb8(0x187)][_0x417fb8(0x18f)];_0xabcd36++){const _0x1ee4b5=_0x19e8bd['TileMatrix'][_0xabcd36];_0x66ad57['tileMatrixs'][_0x417fb8(0x15e)]({'identifier':_0x1ee4b5[_0x417fb8(0x13b)],'matrixHeight':_0x1ee4b5[_0x417fb8(0x16d)],'matrixWidth':_0x1ee4b5[_0x417fb8(0x157)],'scaleDenominator':_0x1ee4b5[_0x417fb8(0x13e)],'tileHeight':_0x1ee4b5[_0x417fb8(0x183)],'tileWidth':_0x1ee4b5['TileWidth'],'topLeftCorner':_0x1ee4b5[_0x417fb8(0x13d)]});}break;}}return _0x66ad57;}function a0_0x1459(){const _0x2989b9=['Identifier','forEach','TopLeftCorner','ScaleDenominator','initExtent','3241LhbHRb','request','Layer','json','tileMatrixSet','nodeName','ows:WGS84BoundingBox','esriFieldTypeDate','DescribeFeatureType','extent','Contents','name','5070609llUALo','double','crs','style','Style','gml:','value','Name','toString','get','sourceXml','MatrixWidth','layers','children','Title','type','Format','layerFields','push','EPSG:','getElementsByTagName','3858508drHPWd','fields','url','short','attributes','2215bFPzvp','103917bMSSNs','1740HqnuSj','SupportedCRS','5574fRRCGN','esriFieldTypeOID','boundingBoxExtent','MatrixHeight','innerHTML','service','split','indexOf','data','Capability','arcgis-dynamic','decimal','string','GetCapabilities','int','832vjfbxm','FeatureTypeList','alias','TileMatrixSet','wkid','format','esriFieldTypeString','xsd:sequence','tileMatrixs','15598xVIQfT','TileHeight','wgs84BoundingBox','pjson','read','TileMatrix','WGS84BoundingBox','69izYECA','geoserver-wfs','label','BoundingBox','901208PUJWUO','date','length','wfs','wms','esriFieldTypeDouble'];a0_0x1459=function(){return _0x2989b9;};return a0_0x1459();}export async function getWFSLayerCapabilities(_0x27d506,_0x30b908){const _0x2d09ab=a0_0x59c1,_0x3760a8=await getWFSCapabilities(_0x27d506);let _0x137647={};const _0x271c83=await getWmsLayerFields(_0x27d506,_0x30b908);_0x137647[_0x2d09ab(0x15d)]=_0x271c83;let _0x4f3e8e=_0x3760a8[_0x2d09ab(0x160)]('FeatureTypeList')[0x0][_0x2d09ab(0x159)],_0x4cf570;for(let _0x329f57=0x0,_0x262a9d=_0x4f3e8e[_0x2d09ab(0x18f)];_0x329f57<_0x262a9d;_0x329f57++){for(let _0x12937f=0x0,_0x1c19a9=_0x4f3e8e[_0x329f57][_0x2d09ab(0x159)]['length'];_0x12937f<_0x1c19a9;_0x12937f++){if(_0x4f3e8e[_0x329f57][_0x2d09ab(0x159)][_0x12937f][_0x2d09ab(0x145)]===_0x2d09ab(0x153)){const _0x40585d=_0x4f3e8e[_0x329f57][_0x2d09ab(0x159)][_0x12937f][_0x2d09ab(0x16e)][_0x2d09ab(0x154)]();if(_0x40585d==_0x30b908||_0x40585d['indexOf'](':'+_0x30b908)>-0x1){_0x4cf570=_0x4f3e8e[_0x329f57];break;}}}if(_0x4cf570)break;}let _0x20a8c4=[];for(let _0x45207f=0x0,_0x40c3b5=_0x4cf570[_0x2d09ab(0x159)][_0x2d09ab(0x18f)];_0x45207f<_0x40c3b5;_0x45207f++){if(_0x4cf570[_0x2d09ab(0x159)][_0x45207f]['nodeName']===_0x2d09ab(0x146)){let _0xd0ea1f=_0x4cf570[_0x2d09ab(0x159)][_0x45207f][_0x2d09ab(0x159)][0x0][_0x2d09ab(0x16e)][_0x2d09ab(0x170)]('\x20'),_0x233080=_0x4cf570[_0x2d09ab(0x159)][_0x45207f][_0x2d09ab(0x159)][0x1][_0x2d09ab(0x16e)][_0x2d09ab(0x170)]('\x20');_0xd0ea1f&&_0x233080&&(_0x20a8c4=[_0xd0ea1f[0x0]-0x0,_0xd0ea1f[0x1]-0x0,_0x233080[0x0]-0x0,_0x233080[0x1]-0x0]),_0x137647[_0x2d09ab(0x13f)]=_0x20a8c4;}else _0x4cf570['children'][_0x45207f]['nodeName']==='DefaultCRS'&&(_0x137647[_0x2d09ab(0x17d)]=transformedToNumber(_0x4cf570[_0x2d09ab(0x159)][_0x45207f][_0x2d09ab(0x16e)]));}return _0x137647;}export async function getWMSCapabilities(_0x1520a4){const _0x5a97d1=a0_0x59c1;let _0x2f3bd0=addArgument(_0x1520a4,'request',_0x5a97d1(0x177));_0x2f3bd0=addArgument(_0x2f3bd0,_0x5a97d1(0x16f),_0x5a97d1(0x139));const _0x23c0cb=await a0_0x36f704[_0x5a97d1(0x155)](_0x2f3bd0);let _0x4667a5=new a0_0x503112();return _0x4667a5[_0x5a97d1(0x186)](_0x23c0cb[_0x5a97d1(0x172)]);}export async function getWMTSCapabilities(_0x4f22cc){const _0x34e1f6=a0_0x59c1;let _0x195f5e=addArgument(_0x4f22cc,_0x34e1f6(0x141),'GetCapabilities');_0x195f5e=addArgument(_0x195f5e,_0x34e1f6(0x16f),'wmts');const _0x55db1=await a0_0x36f704[_0x34e1f6(0x155)](_0x195f5e);let _0x231d02=new a0_0x4e54d8();return _0x231d02[_0x34e1f6(0x186)](_0x55db1[_0x34e1f6(0x172)]);}export async function getWFSCapabilities(_0x2981bc){const _0x382116=a0_0x59c1;let _0x36847d=addArgument(_0x2981bc,_0x382116(0x141),_0x382116(0x177));_0x36847d=addArgument(_0x36847d,'service',_0x382116(0x190));const _0x5c5c90=await a0_0x36f704['get'](_0x36847d),_0x42f8c5=readXml(_0x5c5c90['data']);return _0x42f8c5;}export async function getWmsLayerFields(_0x943bc1,_0x153bba){const _0x424bbc=a0_0x59c1;let _0x1734a0=addArgument(_0x943bc1,'request',_0x424bbc(0x148));_0x1734a0=addArgument(_0x1734a0,_0x424bbc(0x16f),_0x424bbc(0x190)),_0x1734a0=addArgument(_0x1734a0,'typeName',_0x153bba);const _0xba273d=await a0_0x36f704[_0x424bbc(0x155)](_0x1734a0),_0x4521ea=readXml(_0xba273d[_0x424bbc(0x172)]);let _0x44b18b=[];const _0x496d37=_0x4521ea[_0x424bbc(0x160)](_0x424bbc(0x180))[0x0][_0x424bbc(0x159)];for(let _0x3bda34=0x0;_0x3bda34<_0x496d37['length'];_0x3bda34++){const _0x1a622e=_0x496d37[_0x3bda34],_0x56d34f=_0x1a622e[_0x424bbc(0x165)][_0x424bbc(0x15b)]['value'];let _0x1aae4c=0x1;if(_0x56d34f[_0x424bbc(0x171)](_0x424bbc(0x176))>-0x1)_0x1aae4c=0x1;else{if(_0x56d34f[_0x424bbc(0x171)](_0x424bbc(0x151))>-0x1)_0x1aae4c=0x6;else{if(_0x56d34f['indexOf'](_0x424bbc(0x178))>-0x1||_0x56d34f[_0x424bbc(0x171)](_0x424bbc(0x164))>-0x1)_0x1aae4c=0x2;else{if(_0x56d34f[_0x424bbc(0x171)](_0x424bbc(0x14d))>-0x1||_0x56d34f['indexOf'](_0x424bbc(0x175))>-0x1)_0x1aae4c=0x3;else _0x56d34f[_0x424bbc(0x171)](_0x424bbc(0x18e))>-0x1&&(_0x1aae4c=0x4);}}}_0x44b18b[_0x424bbc(0x15e)]({'name':_0x1a622e[_0x424bbc(0x165)][_0x424bbc(0x14b)][_0x424bbc(0x152)],'aliasName':_0x1a622e['attributes'][_0x424bbc(0x14b)][_0x424bbc(0x152)],'fieldType':_0x1aae4c,'fieldTypeName':_0x56d34f,'iDisplay':!![]});}return _0x44b18b;}export async function getWmtsLayers(_0xcd69ab){const _0x2ed3f2=a0_0x59c1,_0x257a33=await getWMTSCapabilities(_0xcd69ab);let _0x1ce802=[];if(!_0x257a33||!_0x257a33[_0x2ed3f2(0x14a)]||!_0x257a33[_0x2ed3f2(0x14a)][_0x2ed3f2(0x142)])return _0x1ce802;return _0x257a33[_0x2ed3f2(0x14a)][_0x2ed3f2(0x142)][_0x2ed3f2(0x13c)](_0x454ada=>{const _0x1e0a3b=_0x2ed3f2;_0x1ce802['push']({'name':_0x454ada['Identifier'],'label':_0x454ada[_0x1e0a3b(0x15a)]});}),_0x1ce802;}export async function getWmsLayers(_0x5cc29b){const _0x45012e=a0_0x59c1,_0xc1799e=await getWMSCapabilities(_0x5cc29b);let _0x3e8b46=[];if(!_0xc1799e||!_0xc1799e[_0x45012e(0x173)]||!_0xc1799e[_0x45012e(0x173)][_0x45012e(0x142)]||!_0xc1799e[_0x45012e(0x173)]['Layer']['Layer'])return _0x3e8b46;return _0xc1799e[_0x45012e(0x173)][_0x45012e(0x142)][_0x45012e(0x142)]['forEach'](_0x56745c=>{const _0x1d8402=_0x45012e;_0x3e8b46[_0x1d8402(0x15e)]({'name':_0x56745c['Name'],'label':_0x56745c['Title']});}),_0x3e8b46;}export async function getWfLayers(_0x135280){const _0x1ca6d7=a0_0x59c1,_0x42a579=await getWFSCapabilities(_0x135280);let _0x2d33fb=[],_0x171174=_0x42a579[_0x1ca6d7(0x160)](_0x1ca6d7(0x17a))[0x0][_0x1ca6d7(0x159)],_0x9122fc;for(let _0x2af26c=0x0,_0x12a957=_0x171174[_0x1ca6d7(0x18f)];_0x2af26c<_0x12a957;_0x2af26c++){let _0x3659d0={'name':'','label':''};for(let _0x2335bf=0x0,_0x2404a4=_0x171174[_0x2af26c][_0x1ca6d7(0x159)][_0x1ca6d7(0x18f)];_0x2335bf<_0x2404a4;_0x2335bf++){if(_0x171174[_0x2af26c][_0x1ca6d7(0x159)][_0x2335bf][_0x1ca6d7(0x145)]===_0x1ca6d7(0x153)){const _0x32c54f=_0x171174[_0x2af26c][_0x1ca6d7(0x159)][_0x2335bf][_0x1ca6d7(0x16e)]['toString']();_0x3659d0[_0x1ca6d7(0x14b)]=_0x32c54f;}else{if(_0x171174[_0x2af26c]['children'][_0x2335bf][_0x1ca6d7(0x145)]===_0x1ca6d7(0x15a)){const _0x1b2e3e=_0x171174[_0x2af26c]['children'][_0x2335bf][_0x1ca6d7(0x16e)][_0x1ca6d7(0x154)]();_0x3659d0['label']=_0x1b2e3e;}}}_0x3659d0['name']!==''&&_0x3659d0[_0x1ca6d7(0x18b)]!==''&&_0x2d33fb[_0x1ca6d7(0x15e)](_0x3659d0);}return _0x2d33fb;}export async function getArcgisDynamicLayers(_0x5a57e0){const _0xbce58b=a0_0x59c1;let _0xb7cf45=addArgument(_0x5a57e0,'f',_0xbce58b(0x185));const _0x33cdb3=await a0_0x36f704[_0xbce58b(0x155)](_0xb7cf45);let _0xfc38f0=[];return _0x33cdb3[_0xbce58b(0x172)][_0xbce58b(0x158)][_0xbce58b(0x13c)](_0x5e362b=>{const _0x95083f=_0xbce58b;_0xfc38f0['push']({'name':_0x5e362b['id'][_0x95083f(0x154)](),'label':_0x5e362b['name']});}),_0xfc38f0;}export async function getArcgisDynamicLayerFields(_0x31cc8c,_0x46780b){const _0x45d2bf=a0_0x59c1;let _0x2bb21f=appendPath(_0x31cc8c,_0x46780b);_0x2bb21f=addArgument(_0x2bb21f,'f',_0x45d2bf(0x185));const _0x7aa43f=await a0_0x36f704['get'](_0x2bb21f);let _0x456298=[];return _0x7aa43f[_0x45d2bf(0x172)][_0x45d2bf(0x162)][_0x45d2bf(0x13c)](_0x471008=>{const _0x5e0343=_0x45d2bf;let _0x8ff4c=0x1;switch(_0x471008[_0x5e0343(0x15b)]){case _0x5e0343(0x17f):_0x8ff4c=0x1;break;case'esriFieldTypeInteger':case'esriFieldTypeSmallInteger':case _0x5e0343(0x16b):_0x8ff4c=0x2;break;case _0x5e0343(0x13a):_0x8ff4c=0x3;break;case _0x5e0343(0x147):_0x8ff4c=0x4;break;case'esriFieldTypeGeometry':_0x8ff4c=0x6;break;default:_0x8ff4c=0x1;break;}_0x456298[_0x5e0343(0x15e)]({'name':_0x471008[_0x5e0343(0x14b)],'aliasName':_0x471008[_0x5e0343(0x17b)],'fieldType':_0x8ff4c,'fieldTypeName':_0x471008[_0x5e0343(0x15b)],'fieldLength':_0x471008[_0x5e0343(0x18f)],'iDisplay':!![]});}),_0x456298;}export async function getSourceLayerFields(_0x55cf2c,_0xb24699,_0x4acd27){const _0x3a6ec0=a0_0x59c1;let _0x2eadbf=[];switch(_0x4acd27){case _0x3a6ec0(0x174):case'arcgis-feature':_0x2eadbf=await getArcgisDynamicLayerFields(_0x55cf2c,_0xb24699);break;case'geoserver-wms':case _0x3a6ec0(0x18a):_0x2eadbf=await getWmsLayerFields(_0x55cf2c,_0xb24699);break;default:break;}return _0x2eadbf;}
@@ -1 +1 @@
1
- const a1_0xab121c=a1_0x38c0;(function(_0x1f96e0,_0x316ada){const _0x11d8d7=a1_0x38c0,_0x40ead7=_0x1f96e0();while(!![]){try{const _0x593f7e=-parseInt(_0x11d8d7(0x1cc))/0x1+-parseInt(_0x11d8d7(0x1cd))/0x2+-parseInt(_0x11d8d7(0x1cf))/0x3*(parseInt(_0x11d8d7(0x1c5))/0x4)+-parseInt(_0x11d8d7(0x1c3))/0x5+-parseInt(_0x11d8d7(0x1c2))/0x6+-parseInt(_0x11d8d7(0x1c0))/0x7*(parseInt(_0x11d8d7(0x1d4))/0x8)+parseInt(_0x11d8d7(0x1d1))/0x9*(parseInt(_0x11d8d7(0x1c9))/0xa);if(_0x593f7e===_0x316ada)break;else _0x40ead7['push'](_0x40ead7['shift']());}catch(_0x35d475){_0x40ead7['push'](_0x40ead7['shift']());}}}(a1_0x49bc,0x862cb));function a1_0x49bc(){const _0xbf5f41=['36027TdifRz','clear','forEach','1138888vMpdfB','name','42fRzeOE','addControl','1977150epOItM','2276565nAWhBK','delete','620076EpoAgm','set','getControl','removeControl','6300cUTuxY','map','controls','96989KYFHcZ','162598GdPXWJ','get','3tAddMl','has'];a1_0x49bc=function(){return _0xbf5f41;};return a1_0x49bc();}function a1_0x38c0(_0x4820a5,_0x203ad3){const _0x49bca3=a1_0x49bc();return a1_0x38c0=function(_0x38c034,_0x5ece34){_0x38c034=_0x38c034-0x1c0;let _0x504e04=_0x49bca3[_0x38c034];return _0x504e04;},a1_0x38c0(_0x4820a5,_0x203ad3);}export default class ControlManager{constructor(_0x3fddf7){const _0x3fd3b8=a1_0x38c0;this[_0x3fd3b8(0x1ca)]=_0x3fddf7,this[_0x3fd3b8(0x1cb)]=new Map();}[a1_0xab121c(0x1c1)](_0x283926,_0x269624){const _0x4b79cc=a1_0xab121c;this['controls'][_0x4b79cc(0x1d0)](_0x283926)&&this[_0x4b79cc(0x1c8)](_0x283926),_0x269624[_0x4b79cc(0x1c6)](_0x4b79cc(0x1d5),_0x283926),this[_0x4b79cc(0x1cb)]['set'](_0x283926,_0x269624),this[_0x4b79cc(0x1ca)][_0x4b79cc(0x1c1)](_0x269624);}[a1_0xab121c(0x1c8)](_0x486358){const _0x2ad7fd=a1_0xab121c,_0x97402f=this['controls'][_0x2ad7fd(0x1ce)](_0x486358);_0x97402f&&(this[_0x2ad7fd(0x1ca)]['removeControl'](_0x97402f),this[_0x2ad7fd(0x1cb)][_0x2ad7fd(0x1c4)](_0x486358));}['removeAllControls'](){const _0x21d3b7=a1_0xab121c;this[_0x21d3b7(0x1cb)][_0x21d3b7(0x1d3)](_0x54ec9c=>{const _0x5941b7=_0x21d3b7;this[_0x5941b7(0x1ca)][_0x5941b7(0x1c8)](_0x54ec9c);}),this[_0x21d3b7(0x1cb)][_0x21d3b7(0x1d2)]();}[a1_0xab121c(0x1c7)](_0x1558fe){const _0x18219a=a1_0xab121c;return this[_0x18219a(0x1cb)][_0x18219a(0x1ce)](_0x1558fe);}}
1
+ const a1_0x36564b=a1_0x579f;function a1_0x2f60(){const _0x3b8d29=['4AGiPmE','map','271867KIGVoW','2485152ssVhqV','375924WKWPjD','controls','removeControl','3484472RhUogU','3JfOqbn','715KETtFQ','3820815tVRxjE','name','set','2590ONBaFY','4140689dyokfy','get','addControl','6KcIzHg','forEach','delete','28899tyGJWY','removeAllControls'];a1_0x2f60=function(){return _0x3b8d29;};return a1_0x2f60();}(function(_0x35c86f,_0x5d6600){const _0xb44857=a1_0x579f,_0x154a15=_0x35c86f();while(!![]){try{const _0x195038=parseInt(_0xb44857(0xdc))/0x1*(parseInt(_0xb44857(0xda))/0x2)+parseInt(_0xb44857(0xe2))/0x3*(parseInt(_0xb44857(0xe1))/0x4)+parseInt(_0xb44857(0xe4))/0x5+-parseInt(_0xb44857(0xeb))/0x6*(parseInt(_0xb44857(0xe8))/0x7)+parseInt(_0xb44857(0xdd))/0x8+-parseInt(_0xb44857(0xd8))/0x9*(-parseInt(_0xb44857(0xe7))/0xa)+-parseInt(_0xb44857(0xe3))/0xb*(parseInt(_0xb44857(0xde))/0xc);if(_0x195038===_0x5d6600)break;else _0x154a15['push'](_0x154a15['shift']());}catch(_0x1afe8d){_0x154a15['push'](_0x154a15['shift']());}}}(a1_0x2f60,0xa9516));function a1_0x579f(_0x3f4955,_0x49b014){const _0x2f60ec=a1_0x2f60();return a1_0x579f=function(_0x579ff1,_0x3aaa08){_0x579ff1=_0x579ff1-0xd6;let _0x4430c4=_0x2f60ec[_0x579ff1];return _0x4430c4;},a1_0x579f(_0x3f4955,_0x49b014);}export default class ControlManager{constructor(_0x2caf90){this['map']=_0x2caf90,this['controls']=new Map();}[a1_0x36564b(0xea)](_0x227ee7,_0x273413){const _0x5bd7f6=a1_0x36564b;this[_0x5bd7f6(0xdf)]['has'](_0x227ee7)&&this[_0x5bd7f6(0xe0)](_0x227ee7),_0x273413[_0x5bd7f6(0xe6)](_0x5bd7f6(0xe5),_0x227ee7),this['controls'][_0x5bd7f6(0xe6)](_0x227ee7,_0x273413),this['map']['addControl'](_0x273413);}[a1_0x36564b(0xe0)](_0x536328){const _0x3bcd82=a1_0x36564b,_0x41d112=this[_0x3bcd82(0xdf)][_0x3bcd82(0xe9)](_0x536328);_0x41d112&&(this[_0x3bcd82(0xdb)][_0x3bcd82(0xe0)](_0x41d112),this[_0x3bcd82(0xdf)][_0x3bcd82(0xd7)](_0x536328));}[a1_0x36564b(0xd9)](){const _0x3fd56c=a1_0x36564b;this[_0x3fd56c(0xdf)][_0x3fd56c(0xd6)](_0x510109=>{const _0x5bccf0=_0x3fd56c;this[_0x5bccf0(0xdb)][_0x5bccf0(0xe0)](_0x510109);}),this[_0x3fd56c(0xdf)]['clear']();}['getControl'](_0x440a55){const _0x78ba63=a1_0x36564b;return this[_0x78ba63(0xdf)][_0x78ba63(0xe9)](_0x440a55);}}
@@ -1 +1 @@
1
- const a3_0x494e9c=a3_0x2198;(function(_0x5b8fb9,_0x74cc37){const _0x20c58a=a3_0x2198,_0x24070d=_0x5b8fb9();while(!![]){try{const _0x198354=parseInt(_0x20c58a(0x205))/0x1*(parseInt(_0x20c58a(0x225))/0x2)+-parseInt(_0x20c58a(0x1f0))/0x3+-parseInt(_0x20c58a(0x210))/0x4*(-parseInt(_0x20c58a(0x1f1))/0x5)+-parseInt(_0x20c58a(0x1eb))/0x6+parseInt(_0x20c58a(0x203))/0x7+-parseInt(_0x20c58a(0x218))/0x8+parseInt(_0x20c58a(0x1ee))/0x9*(parseInt(_0x20c58a(0x1fc))/0xa);if(_0x198354===_0x74cc37)break;else _0x24070d['push'](_0x24070d['shift']());}catch(_0xd0ab01){_0x24070d['push'](_0x24070d['shift']());}}}(a3_0x3de3,0x24680));import{Control}from'ol/control';function a3_0x2198(_0x288f31,_0x15588a){const _0x3de3dc=a3_0x3de3();return a3_0x2198=function(_0x21988f,_0x95401e){_0x21988f=_0x21988f-0x1e9;let _0x244772=_0x3de3dc[_0x21988f];return _0x244772;},a3_0x2198(_0x288f31,_0x15588a);}import{getColor}from'../style/common';import{getLayerLegend}from'../utils/LayerUtil';export default class LegendControl extends Control{constructor(_0x441713){const _0x18fbce=a3_0x2198;_0x441713=_0x441713||{};if(!_0x441713[_0x18fbce(0x226)]){const _0xecbc5c=document[_0x18fbce(0x221)](_0x18fbce(0x211));_0x441713[_0x18fbce(0x226)]=_0xecbc5c,_0xecbc5c['className']=_0x18fbce(0x21c)+_0x441713[_0x18fbce(0x212)];}super(_0x441713),this[_0x18fbce(0x1e9)]=_0x441713[_0x18fbce(0x1e9)],this[_0x18fbce(0x1f3)]=_0x441713[_0x18fbce(0x1f3)],this[_0x18fbce(0x200)]=null;}async['init'](_0x4477e7=[]){const _0x4256a4=a3_0x2198,_0x3de28a=this[_0x4256a4(0x226)];_0x3de28a['innerHTML']='';const _0x5204cc=document['createElement'](_0x4256a4(0x211));_0x5204cc[_0x4256a4(0x212)]=_0x4256a4(0x204);this[_0x4256a4(0x1f3)]&&(_0x3de28a[_0x4256a4(0x217)]='<div\x20class=\x22ol-legend-title\x22>'+this[_0x4256a4(0x1f3)]+_0x4256a4(0x222));let _0x489cce=![];if(!this[_0x4256a4(0x1e9)]||this[_0x4256a4(0x1e9)][_0x4256a4(0x1fd)]==0x0||_0x4477e7[_0x4256a4(0x1fd)]>0x0&&this[_0x4256a4(0x1e9)][_0x4256a4(0x1ed)](_0x1b62e0=>{const _0x2df3c0=_0x4256a4;return _0x4477e7[_0x2df3c0(0x1fa)](_0x1b62e0['id'])>-0x1&&_0x1b62e0['showLegend'];})==-0x1)_0x5204cc[_0x4256a4(0x217)]=_0x4256a4(0x201);else for(let _0x355000=0x0;_0x355000<this[_0x4256a4(0x1e9)][_0x4256a4(0x1fd)];_0x355000++){const _0xbf67ba=this[_0x4256a4(0x1e9)][_0x355000];if(!_0xbf67ba['showLegend']||!_0xbf67ba[_0x4256a4(0x21d)])continue;const _0x161965=this[_0x4256a4(0x1ef)]();if(!_0x161965)continue;const _0x15ca23=_0x161965[_0x4256a4(0x202)](_0xbf67ba['id']);if(!_0x15ca23||_0x15ca23[_0x4256a4(0x220)]()==![])continue;if(_0xbf67ba['legend']&&_0xbf67ba[_0x4256a4(0x1f9)]['length']>0x0)for(let _0xfa79ea=0x0;_0xfa79ea<_0xbf67ba['legend'][_0x4256a4(0x1fd)];_0xfa79ea++){const _0xe395e4=_0xbf67ba[_0x4256a4(0x1f9)][_0xfa79ea],_0xc4be53=document[_0x4256a4(0x221)](_0x4256a4(0x211));_0xc4be53[_0x4256a4(0x212)]=_0x4256a4(0x1ff),_0xc4be53['innerHTML']+=_0x4256a4(0x20a)+_0xbf67ba[_0x4256a4(0x1f3)]+_0x4256a4(0x222);const _0x586475=this[_0x4256a4(0x1ec)](_0xe395e4);_0x586475&&_0xc4be53[_0x4256a4(0x21f)](_0x586475),_0x5204cc[_0x4256a4(0x21f)](_0xc4be53);}else{const _0x19cfec=await getLayerLegend(_0xbf67ba);if(_0x19cfec&&_0x19cfec['length']>0x0)for(let _0x19cba4=0x0;_0x19cba4<_0x19cfec[_0x4256a4(0x1fd)];_0x19cba4++){const _0x4e1b75=_0x19cfec[_0x19cba4],_0x1f9e25=document[_0x4256a4(0x221)](_0x4256a4(0x211));_0x1f9e25['className']=_0x4256a4(0x1ff),_0x1f9e25[_0x4256a4(0x217)]+=_0x4256a4(0x20a)+_0xbf67ba[_0x4256a4(0x1f3)]+_0x4256a4(0x222);const _0x1461a4=this['createDivByLegendJson'](_0x4e1b75);_0x1461a4&&_0x1f9e25['appendChild'](_0x1461a4),_0x5204cc[_0x4256a4(0x21f)](_0x1f9e25);}}}_0x5204cc[_0x4256a4(0x1f7)]==0x0&&(_0x5204cc['innerHTML']='<div\x20class=\x22ol-legend-no-data\x22>暂无图例</div>'),this[_0x4256a4(0x226)][_0x4256a4(0x21f)](_0x5204cc);}[a3_0x494e9c(0x1ec)](_0x20bbc3){const _0x36a81e=a3_0x494e9c;if(!_0x20bbc3||(!_0x20bbc3[_0x36a81e(0x219)]||_0x20bbc3['rules'][_0x36a81e(0x1fd)]==0x0)&&!_0x20bbc3[_0x36a81e(0x21d)])return;const _0x466a37=document[_0x36a81e(0x221)](_0x36a81e(0x211));_0x466a37[_0x36a81e(0x212)]=_0x36a81e(0x215);if(_0x20bbc3['url']){const _0x2c8527=document[_0x36a81e(0x221)](_0x36a81e(0x211));return _0x2c8527['className']='ol-legend-item',_0x2c8527[_0x36a81e(0x217)]+=_0x36a81e(0x21e)+_0x20bbc3[_0x36a81e(0x21d)]+_0x36a81e(0x1f5),_0x466a37['appendChild'](_0x2c8527),_0x466a37;}for(let _0x547351=0x0;_0x547351<_0x20bbc3['rules'][_0x36a81e(0x1fd)];_0x547351++){const _0x214f6f=_0x20bbc3[_0x36a81e(0x219)][_0x547351];if(!_0x214f6f||!_0x214f6f[_0x36a81e(0x1f6)]||_0x214f6f[_0x36a81e(0x1f6)][_0x36a81e(0x1fd)]==0x0)continue;const _0x55ed1c=document[_0x36a81e(0x221)](_0x36a81e(0x211));_0x55ed1c[_0x36a81e(0x212)]=_0x36a81e(0x1f2);const _0x20ee27=_0x214f6f[_0x36a81e(0x1f6)][0x0];if(_0x20ee27[_0x36a81e(0x209)]){let _0x5e546f='';if(_0x20ee27[_0x36a81e(0x209)][_0x36a81e(0x21a)]){const _0x1a7a1f=getColor(_0x20ee27[_0x36a81e(0x209)]['stroke'],_0x20ee27[_0x36a81e(0x209)][_0x36a81e(0x224)]?_0x20ee27[_0x36a81e(0x209)][_0x36a81e(0x224)]-0x0:0x1);_0x5e546f=_0x36a81e(0x1f4)+_0x20ee27[_0x36a81e(0x209)][_0x36a81e(0x1ea)]+_0x36a81e(0x20d)+_0x1a7a1f+';';}if(_0x20ee27['Polygon'][_0x36a81e(0x1fe)]){const _0x543174=getColor(_0x20ee27[_0x36a81e(0x209)]['fill'],_0x20ee27[_0x36a81e(0x209)][_0x36a81e(0x1fb)]?_0x20ee27[_0x36a81e(0x209)][_0x36a81e(0x1fb)]-0x0:0x1);_0x5e546f+=_0x36a81e(0x213)+_0x543174+';';}_0x55ed1c[_0x36a81e(0x217)]+=_0x36a81e(0x216)+_0x5e546f+_0x36a81e(0x227);}else{if(_0x20ee27[_0x36a81e(0x206)]){let _0x291f75='';if(_0x20ee27[_0x36a81e(0x206)][_0x36a81e(0x21a)]){const _0x38e0d8=getColor(_0x20ee27['Line'][_0x36a81e(0x21a)],_0x20ee27['Line'][_0x36a81e(0x224)]?_0x20ee27['Line'][_0x36a81e(0x224)]-0x0:0x1);_0x291f75=_0x36a81e(0x1f8)+_0x38e0d8+';height:'+_0x20ee27['Line'][_0x36a81e(0x1ea)]+'px';}_0x55ed1c[_0x36a81e(0x217)]+='<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-line\x22\x20style=\x22'+_0x291f75+_0x36a81e(0x227);}else{if(_0x20ee27[_0x36a81e(0x20c)]){}else _0x20ee27[_0x36a81e(0x21b)]&&(_0x55ed1c[_0x36a81e(0x217)]+='<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-img\x22><img\x20class=\x22ol-legend-icon-size\x22\x20src=\x22'+_0x20ee27[_0x36a81e(0x21b)]+_0x36a81e(0x208));}}_0x55ed1c[_0x36a81e(0x217)]+=_0x36a81e(0x207)+(_0x214f6f['title']==undefined?'':_0x214f6f[_0x36a81e(0x1f3)])+_0x36a81e(0x222),_0x466a37[_0x36a81e(0x21f)](_0x55ed1c);}return _0x466a37;}[a3_0x494e9c(0x20e)](_0x1758d1){const _0x1f951d=a3_0x494e9c;super[_0x1f951d(0x20e)](_0x1758d1),_0x1758d1&&(_0x1758d1['on'](_0x1f951d(0x214),_0xa8ae0b=>{const _0x377104=_0x1f951d;this['time']&&(clearTimeout(this[_0x377104(0x200)]),this['time']=null),this[_0x377104(0x200)]=setTimeout(()=>{const _0x29c4d8=_0x377104;this[_0x29c4d8(0x20f)](_0xa8ae0b['layerIds']),this[_0x29c4d8(0x200)]=null;},0x64);}),this[_0x1f951d(0x20f)]([]));}[a3_0x494e9c(0x20b)](_0x49e904){const _0x1a55c0=a3_0x494e9c,_0x33129=_0x49e904[_0x1a55c0(0x223)];}}function a3_0x3de3(){const _0x317161=['<div\x20class=\x22ol-legend-item-title\x22>','\x22\x20/></div>','Polygon','<div\x20class=\x22legend-layer-title\x22>','render','Point','px\x20solid\x20','setMap','init','172fkywSa','div','className','background-color:\x20','changelayer','ol-legend-item-container','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-polygon\x22\x20style=\x22','innerHTML','64416cFxDxI','rules','stroke','imgUrl','ol-legend-control\x20','url','<img\x20src=\x22','appendChild','getVisible','createElement','</div>','frameState','stroke-opacity','2126AuojsR','element','\x22></div>','layerInfos','stroke-width','114330REBUgg','createDivByLegendJson','findIndex','29358TfoamS','getMap','56616dznkdv','5320YftIce','ol-legend-item','title','border:\x20','\x22\x20/>','symbolizers','childElementCount','background-color:','legend','indexOf','fill-opacity','240mrnhIn','length','fill','ol-legend-layer','time','<div\x20class=\x22ol-legend-no-data\x22>暂无图例</div>','getLayerById','236978TrIsLV','ol-legend-container','35QCdaKY','Line'];a3_0x3de3=function(){return _0x317161;};return a3_0x3de3();}
1
+ const a3_0x508ae8=a3_0x283b;(function(_0x223335,_0x126c88){const _0x5b58c8=a3_0x283b,_0xfdfd72=_0x223335();while(!![]){try{const _0x14fd26=parseInt(_0x5b58c8(0xe3))/0x1*(-parseInt(_0x5b58c8(0xb2))/0x2)+parseInt(_0x5b58c8(0xbb))/0x3*(-parseInt(_0x5b58c8(0xb7))/0x4)+-parseInt(_0x5b58c8(0xdd))/0x5*(parseInt(_0x5b58c8(0xd6))/0x6)+parseInt(_0x5b58c8(0xd9))/0x7*(-parseInt(_0x5b58c8(0xb3))/0x8)+parseInt(_0x5b58c8(0xe9))/0x9+-parseInt(_0x5b58c8(0xda))/0xa+parseInt(_0x5b58c8(0xef))/0xb;if(_0x14fd26===_0x126c88)break;else _0xfdfd72['push'](_0xfdfd72['shift']());}catch(_0x5159d2){_0xfdfd72['push'](_0xfdfd72['shift']());}}}(a3_0x3e01,0xda44d));import{Control}from'ol/control';function a3_0x3e01(){const _0x53f1eb=['ol-legend-item-container','170CDgKHu','createDivByLegendJson','time','stroke-opacity','className','fill-opacity','27867xvMqJb','background-color:\x20','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-img\x22><img\x20class=\x22ol-legend-icon-size\x22\x20src=\x22','getLayerById','ol-legend-item','showLegend','4534317nKnatA','\x22></div>','<div\x20class=\x22ol-legend-no-data\x22>暂无图例</div>','indexOf','background-color:','Polygon','36497769XPPAWx','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-polygon\x22\x20style=\x22','createElement','Point','16ijHKXF','8CzjrBR','length','changelayer','imgUrl','984308FMoqRL','</div>','\x22\x20/>','ol-legend-layer','9PmoaVM','rules','px\x20solid\x20','appendChild','getMap','setMap','init','legend','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-line\x22\x20style=\x22','Line','element','<img\x20src=\x22','title','div','childElementCount','layerInfos','ol-legend-control\x20','<div\x20class=\x22ol-legend-item-title\x22>','render','findIndex','<div\x20class=\x22ol-legend-title\x22>','innerHTML','stroke-width','layerIds','<div\x20class=\x22legend-layer-title\x22>','border:\x20','symbolizers','7146lYsWEg','fill','url','2189670RAbQoK','16132920lRPNxa','stroke'];a3_0x3e01=function(){return _0x53f1eb;};return a3_0x3e01();}import{getColor}from'../style/common';import{getLayerLegend}from'../utils/LayerUtil';function a3_0x283b(_0x41560b,_0x4e61ba){const _0x3e01b5=a3_0x3e01();return a3_0x283b=function(_0x283ba3,_0x3176c3){_0x283ba3=_0x283ba3-0xb2;let _0x3f65a4=_0x3e01b5[_0x283ba3];return _0x3f65a4;},a3_0x283b(_0x41560b,_0x4e61ba);}export default class LegendControl extends Control{constructor(_0x3e72a0){const _0x2b26c0=a3_0x283b;_0x3e72a0=_0x3e72a0||{};if(!_0x3e72a0['element']){const _0x2c4363=document[_0x2b26c0(0xf1)](_0x2b26c0(0xc8));_0x3e72a0[_0x2b26c0(0xc5)]=_0x2c4363,_0x2c4363[_0x2b26c0(0xe1)]=_0x2b26c0(0xcb)+_0x3e72a0[_0x2b26c0(0xe1)];}super(_0x3e72a0),this['layerInfos']=_0x3e72a0[_0x2b26c0(0xca)],this['title']=_0x3e72a0[_0x2b26c0(0xc7)],this['time']=null;}async[a3_0x508ae8(0xc1)](_0x2e6976=[]){const _0x7f7faf=a3_0x508ae8,_0x552ead=this[_0x7f7faf(0xc5)];_0x552ead[_0x7f7faf(0xd0)]='';const _0x11545f=document[_0x7f7faf(0xf1)](_0x7f7faf(0xc8));_0x11545f[_0x7f7faf(0xe1)]='ol-legend-container';this[_0x7f7faf(0xc7)]&&(_0x552ead[_0x7f7faf(0xd0)]=_0x7f7faf(0xcf)+this[_0x7f7faf(0xc7)]+_0x7f7faf(0xb8));let _0xe0e606=![];if(!this[_0x7f7faf(0xca)]||this[_0x7f7faf(0xca)][_0x7f7faf(0xb4)]==0x0||_0x2e6976[_0x7f7faf(0xb4)]>0x0&&this['layerInfos'][_0x7f7faf(0xce)](_0x335b74=>{const _0x1fcbd0=_0x7f7faf;return _0x2e6976[_0x1fcbd0(0xec)](_0x335b74['id'])>-0x1&&_0x335b74[_0x1fcbd0(0xe8)];})==-0x1)_0x11545f[_0x7f7faf(0xd0)]=_0x7f7faf(0xeb);else for(let _0x499cdc=0x0;_0x499cdc<this[_0x7f7faf(0xca)][_0x7f7faf(0xb4)];_0x499cdc++){const _0x13e46b=this[_0x7f7faf(0xca)][_0x499cdc];if(!_0x13e46b[_0x7f7faf(0xe8)]||!_0x13e46b[_0x7f7faf(0xd8)])continue;const _0x270d74=this[_0x7f7faf(0xbf)]();if(!_0x270d74)continue;const _0x29065a=_0x270d74[_0x7f7faf(0xe6)](_0x13e46b['id']);if(!_0x29065a||_0x29065a['getVisible']()==![])continue;if(_0x13e46b[_0x7f7faf(0xc2)]&&_0x13e46b[_0x7f7faf(0xc2)][_0x7f7faf(0xb4)]>0x0)for(let _0x38d750=0x0;_0x38d750<_0x13e46b[_0x7f7faf(0xc2)][_0x7f7faf(0xb4)];_0x38d750++){const _0x25dcde=_0x13e46b[_0x7f7faf(0xc2)][_0x38d750],_0x3cf3fe=document['createElement'](_0x7f7faf(0xc8));_0x3cf3fe[_0x7f7faf(0xe1)]='ol-legend-layer',_0x3cf3fe[_0x7f7faf(0xd0)]+=_0x7f7faf(0xd3)+_0x13e46b[_0x7f7faf(0xc7)]+_0x7f7faf(0xb8);const _0x54e1cd=this['createDivByLegendJson'](_0x25dcde);_0x54e1cd&&_0x3cf3fe[_0x7f7faf(0xbe)](_0x54e1cd),_0x11545f['appendChild'](_0x3cf3fe);}else{const _0xf3e92e=await getLayerLegend(_0x13e46b);if(_0xf3e92e&&_0xf3e92e[_0x7f7faf(0xb4)]>0x0)for(let _0x2d5b34=0x0;_0x2d5b34<_0xf3e92e[_0x7f7faf(0xb4)];_0x2d5b34++){const _0x2be11c=_0xf3e92e[_0x2d5b34],_0xfa1a06=document[_0x7f7faf(0xf1)]('div');_0xfa1a06[_0x7f7faf(0xe1)]=_0x7f7faf(0xba),_0xfa1a06['innerHTML']+=_0x7f7faf(0xd3)+_0x13e46b[_0x7f7faf(0xc7)]+_0x7f7faf(0xb8);const _0x1861b7=this[_0x7f7faf(0xde)](_0x2be11c);_0x1861b7&&_0xfa1a06['appendChild'](_0x1861b7),_0x11545f[_0x7f7faf(0xbe)](_0xfa1a06);}}}_0x11545f[_0x7f7faf(0xc9)]==0x0&&(_0x11545f[_0x7f7faf(0xd0)]=_0x7f7faf(0xeb)),this[_0x7f7faf(0xc5)]['appendChild'](_0x11545f);}[a3_0x508ae8(0xde)](_0x5634f1){const _0x114ffc=a3_0x508ae8;if(!_0x5634f1||(!_0x5634f1['rules']||_0x5634f1[_0x114ffc(0xbc)][_0x114ffc(0xb4)]==0x0)&&!_0x5634f1[_0x114ffc(0xd8)])return;const _0x4d7ceb=document['createElement'](_0x114ffc(0xc8));_0x4d7ceb['className']=_0x114ffc(0xdc);if(_0x5634f1[_0x114ffc(0xd8)]){const _0x3bbf21=document[_0x114ffc(0xf1)](_0x114ffc(0xc8));return _0x3bbf21['className']='ol-legend-item',_0x3bbf21[_0x114ffc(0xd0)]+=_0x114ffc(0xc6)+_0x5634f1[_0x114ffc(0xd8)]+_0x114ffc(0xb9),_0x4d7ceb[_0x114ffc(0xbe)](_0x3bbf21),_0x4d7ceb;}for(let _0x3e03c1=0x0;_0x3e03c1<_0x5634f1[_0x114ffc(0xbc)][_0x114ffc(0xb4)];_0x3e03c1++){const _0x490354=_0x5634f1[_0x114ffc(0xbc)][_0x3e03c1];if(!_0x490354||!_0x490354[_0x114ffc(0xd5)]||_0x490354[_0x114ffc(0xd5)]['length']==0x0)continue;const _0x564641=document['createElement'](_0x114ffc(0xc8));_0x564641[_0x114ffc(0xe1)]=_0x114ffc(0xe7);const _0x4476ff=_0x490354['symbolizers'][0x0];if(_0x4476ff[_0x114ffc(0xee)]){let _0x28a721='';if(_0x4476ff[_0x114ffc(0xee)][_0x114ffc(0xdb)]){const _0x1730be=getColor(_0x4476ff['Polygon'][_0x114ffc(0xdb)],_0x4476ff[_0x114ffc(0xee)][_0x114ffc(0xe0)]?_0x4476ff['Polygon']['stroke-opacity']-0x0:0x1);_0x28a721=_0x114ffc(0xd4)+_0x4476ff[_0x114ffc(0xee)][_0x114ffc(0xd1)]+_0x114ffc(0xbd)+_0x1730be+';';}if(_0x4476ff[_0x114ffc(0xee)][_0x114ffc(0xd7)]){const _0x4f5f85=getColor(_0x4476ff[_0x114ffc(0xee)][_0x114ffc(0xd7)],_0x4476ff['Polygon']['fill-opacity']?_0x4476ff[_0x114ffc(0xee)][_0x114ffc(0xe2)]-0x0:0x1);_0x28a721+=_0x114ffc(0xe4)+_0x4f5f85+';';}_0x564641[_0x114ffc(0xd0)]+=_0x114ffc(0xf0)+_0x28a721+_0x114ffc(0xea);}else{if(_0x4476ff[_0x114ffc(0xc4)]){let _0x1dbf04='';if(_0x4476ff[_0x114ffc(0xc4)][_0x114ffc(0xdb)]){const _0x4c9eec=getColor(_0x4476ff['Line']['stroke'],_0x4476ff[_0x114ffc(0xc4)][_0x114ffc(0xe0)]?_0x4476ff['Line']['stroke-opacity']-0x0:0x1);_0x1dbf04=_0x114ffc(0xed)+_0x4c9eec+';height:'+_0x4476ff[_0x114ffc(0xc4)]['stroke-width']+'px';}_0x564641['innerHTML']+=_0x114ffc(0xc3)+_0x1dbf04+_0x114ffc(0xea);}else{if(_0x4476ff[_0x114ffc(0xf2)]){}else _0x4476ff[_0x114ffc(0xb6)]&&(_0x564641[_0x114ffc(0xd0)]+=_0x114ffc(0xe5)+_0x4476ff[_0x114ffc(0xb6)]+'\x22\x20/></div>');}}_0x564641[_0x114ffc(0xd0)]+=_0x114ffc(0xcc)+(_0x490354[_0x114ffc(0xc7)]==undefined?'':_0x490354['title'])+_0x114ffc(0xb8),_0x4d7ceb['appendChild'](_0x564641);}return _0x4d7ceb;}[a3_0x508ae8(0xc0)](_0xf1ee56){const _0x5105d4=a3_0x508ae8;super['setMap'](_0xf1ee56),_0xf1ee56&&(_0xf1ee56['on'](_0x5105d4(0xb5),_0x4cfee7=>{const _0x4faa31=_0x5105d4;this[_0x4faa31(0xdf)]&&(clearTimeout(this[_0x4faa31(0xdf)]),this[_0x4faa31(0xdf)]=null),this[_0x4faa31(0xdf)]=setTimeout(()=>{const _0x175bde=_0x4faa31;this[_0x175bde(0xc1)](_0x4cfee7[_0x175bde(0xd2)]),this[_0x175bde(0xdf)]=null;},0x64);}),this[_0x5105d4(0xc1)]([]));}[a3_0x508ae8(0xcd)](_0x32aa2f){const _0x19f695=_0x32aa2f['frameState'];}}
@@ -1 +1 @@
1
- const a4_0x289b76=a4_0x3975;(function(_0x421b54,_0x668563){const _0x176fb5=a4_0x3975,_0x13959f=_0x421b54();while(!![]){try{const _0x50d402=-parseInt(_0x176fb5(0x133))/0x1*(-parseInt(_0x176fb5(0x161))/0x2)+parseInt(_0x176fb5(0x146))/0x3+parseInt(_0x176fb5(0x141))/0x4*(parseInt(_0x176fb5(0x13a))/0x5)+parseInt(_0x176fb5(0x156))/0x6+-parseInt(_0x176fb5(0x138))/0x7*(-parseInt(_0x176fb5(0x137))/0x8)+parseInt(_0x176fb5(0x163))/0x9*(-parseInt(_0x176fb5(0x14d))/0xa)+-parseInt(_0x176fb5(0x14a))/0xb*(parseInt(_0x176fb5(0x12f))/0xc);if(_0x50d402===_0x668563)break;else _0x13959f['push'](_0x13959f['shift']());}catch(_0x18c82a){_0x13959f['push'](_0x13959f['shift']());}}}(a4_0x238f,0x51265));function a4_0x3975(_0xb9cc40,_0x49a8d2){const _0x238fea=a4_0x238f();return a4_0x3975=function(_0x397508,_0x4675e3){_0x397508=_0x397508-0x12e;let _0xe3a1e=_0x238fea[_0x397508];return _0xe3a1e;},a4_0x3975(_0xb9cc40,_0x49a8d2);}import{format,wrapX}from'ol/coordinate';import{degreesToStringHDMS}from'../utils/StringUtil';import a4_0x327432 from'ol/pointer/EventType.js';import{getSpheroidProjection,isSpheroid}from'../utils/RegisterProjUtil';function a4_0x238f(){const _0x53e442=['getView','95LcvaMH','coordinateFormat','handleProjectionChanged_','纬度:','handleMouseMove','X:{x}\x20Y:{y}','showSpheroid','113300yJDGjj','mapProjection_','getCoordinateFormat','getCoordinateFromPixelInternal','POINTEROUT','736716OuwHKK','fractionDigits','get','&#160;','128689zqbLvD','经度:','createStringHDMS','10UeoHSH','push','setCoordinateFormat','getProjection','createStringXY','getViewport','innerHTML','wrapX_','listenerKeys','3262926JCNPnr','set','updateHTML_','ol-mouse-position','getEventPixel','element','viewState','setProjection','POINTERMOVE','renderOnMouseOut_','setMap','4dCistd','renderedHTML_','4372614uBWsMY','placeholder','transform_','className','1356AJzqKf','div','handleMouseOut','projection','317588DnGvKb','frameState','placeholder_','createElement','709912JPpZQE','14klrkLj'];a4_0x238f=function(){return _0x53e442;};return a4_0x238f();}import{listen}from'ol/events';import{Control}from'ol/control';import{getTransformFromProjections,getUserProjection,identityTransform}from'ol/proj';const PROJECTION='projection',COORDINATE_FORMAT=a4_0x289b76(0x13b);export default class MousePositionControl extends Control{constructor(_0x1113c7){const _0x474bd0=a4_0x289b76;_0x1113c7=_0x1113c7||{};if(!_0x1113c7['element']){const _0x4b9d60=document[_0x474bd0(0x136)](_0x474bd0(0x130));_0x1113c7['element']=_0x4b9d60;}_0x1113c7['element'][_0x474bd0(0x12e)]=_0x1113c7['className']==undefined?_0x474bd0(0x159):_0x1113c7[_0x474bd0(0x12e)],super(_0x1113c7),this[_0x474bd0(0x140)]=_0x1113c7['showSpheroid']===undefined?![]:_0x1113c7[_0x474bd0(0x140)],this[_0x474bd0(0x147)]=_0x1113c7['fractionDigits']===undefined?0x2:_0x1113c7[_0x474bd0(0x147)],this['renderOnMouseOut_']=_0x1113c7[_0x474bd0(0x164)]!==undefined,this[_0x474bd0(0x135)]=_0x1113c7[_0x474bd0(0x164)]!==undefined?_0x1113c7[_0x474bd0(0x164)]:_0x474bd0(0x149),this['renderedHTML_']=_0x1113c7['element'][_0x474bd0(0x153)],this[_0x474bd0(0x154)]=!![];}[a4_0x289b76(0x13c)](){const _0x11293e=a4_0x289b76;this[_0x11293e(0x165)]=undefined;}[a4_0x289b76(0x143)](){const _0x25f156=a4_0x289b76;return this[_0x25f156(0x148)](COORDINATE_FORMAT);}[a4_0x289b76(0x14f)](_0x31f10e){this['set'](COORDINATE_FORMAT,_0x31f10e);}['getProjection'](){const _0x42a65f=a4_0x289b76;return this[_0x42a65f(0x148)](PROJECTION);}[a4_0x289b76(0x15d)](_0x3eebfb){const _0x305a7a=a4_0x289b76;this[_0x305a7a(0x157)](PROJECTION,_0x3eebfb);}['handleMouseMove'](_0x5c7aa8){const _0x4262e8=a4_0x289b76,_0x6136c4=this['getMap']();this[_0x4262e8(0x158)](_0x6136c4===null||_0x6136c4===void 0x0?void 0x0:_0x6136c4[_0x4262e8(0x15a)](_0x5c7aa8));}['handleMouseOut'](_0x450a6e){const _0x253fe1=a4_0x289b76;this[_0x253fe1(0x158)](null);}[a4_0x289b76(0x160)](_0x2ec8a8){const _0x2dac34=a4_0x289b76;super['setMap'](_0x2ec8a8);if(_0x2ec8a8){const _0x2a9558=isSpheroid(_0x2ec8a8['getView']()[_0x2dac34(0x150)]());let _0x1fe3e4=_0x2ec8a8[_0x2dac34(0x139)]()[_0x2dac34(0x150)](),_0x534e1c=this[_0x2dac34(0x14c)];if(!_0x2a9558){if(this[_0x2dac34(0x140)]){const _0x124bd7=getSpheroidProjection(_0x2ec8a8[_0x2dac34(0x139)]()[_0x2dac34(0x150)]());_0x124bd7&&(_0x1fe3e4=_0x124bd7);}else _0x534e1c=this[_0x2dac34(0x151)];}this[_0x2dac34(0x15d)](_0x1fe3e4),this['setCoordinateFormat'](_0x534e1c(this[_0x2dac34(0x147)]));const _0x492e97=_0x2ec8a8[_0x2dac34(0x152)]();this[_0x2dac34(0x155)][_0x2dac34(0x14e)](listen(_0x492e97,a4_0x327432[_0x2dac34(0x15e)],this[_0x2dac34(0x13e)],this)),this[_0x2dac34(0x15f)]&&this[_0x2dac34(0x155)][_0x2dac34(0x14e)](listen(_0x492e97,a4_0x327432[_0x2dac34(0x145)],this[_0x2dac34(0x131)],this)),this[_0x2dac34(0x158)](null);}}[a4_0x289b76(0x158)](_0x2e1f70){const _0x3bf325=a4_0x289b76;let _0x2c6b16=this[_0x3bf325(0x135)];const _0x5db53e=this['getMap']();if(_0x2e1f70&&this['mapProjection_']&&_0x5db53e){if(!this[_0x3bf325(0x165)]){const _0x1231e5=this[_0x3bf325(0x150)]();_0x1231e5?this[_0x3bf325(0x165)]=getTransformFromProjections(this['mapProjection_'],_0x1231e5):this['transform_']=identityTransform;}const _0x32d717=_0x5db53e[_0x3bf325(0x144)](_0x2e1f70);if(_0x32d717){const _0x33fa89=getUserProjection();_0x33fa89&&(this[_0x3bf325(0x165)]=getTransformFromProjections(this[_0x3bf325(0x142)],_0x33fa89));this[_0x3bf325(0x165)](_0x32d717,_0x32d717,undefined);if(this['wrapX_']){const _0x5b3033=_0x33fa89||this[_0x3bf325(0x150)]()||this[_0x3bf325(0x142)];wrapX(_0x32d717,_0x5b3033);}const _0x47a931=this[_0x3bf325(0x143)]();_0x47a931?_0x2c6b16=_0x47a931(_0x32d717):_0x2c6b16=_0x32d717['toString']();}}(!this[_0x3bf325(0x162)]||_0x2c6b16!==this[_0x3bf325(0x162)])&&(this[_0x3bf325(0x15b)][_0x3bf325(0x153)]=_0x2c6b16,this['renderedHTML_']=_0x2c6b16);}['render'](_0x2fb6c2){const _0xfdb243=a4_0x289b76,_0x10587f=_0x2fb6c2[_0xfdb243(0x134)];!_0x10587f?this[_0xfdb243(0x142)]=undefined:this[_0xfdb243(0x142)]!=_0x10587f['viewState'][_0xfdb243(0x132)]&&(this[_0xfdb243(0x142)]=_0x10587f[_0xfdb243(0x15c)][_0xfdb243(0x132)],this[_0xfdb243(0x165)]=undefined);}[a4_0x289b76(0x151)](_0xf14c36){return function(_0x1ba3b2){const _0x2da221=a4_0x3975;return format(_0x1ba3b2,_0x2da221(0x13f),_0xf14c36);};}['createStringHDMS'](_0x384914){return function(_0x3df6d3){const _0x118005=a4_0x3975;if(_0x3df6d3)return _0x118005(0x14b)+degreesToStringHDMS(_0x3df6d3[0x0],_0x384914)+'\x20'+_0x118005(0x13d)+degreesToStringHDMS(_0x3df6d3[0x1],_0x384914);};}}
1
+ const a4_0x3d706f=a4_0x4b62;(function(_0x1f32b7,_0x31e73b){const _0x5ef6c7=a4_0x4b62,_0x4977e6=_0x1f32b7();while(!![]){try{const _0x1736dd=-parseInt(_0x5ef6c7(0x95))/0x1+parseInt(_0x5ef6c7(0x99))/0x2*(parseInt(_0x5ef6c7(0x8e))/0x3)+-parseInt(_0x5ef6c7(0x8d))/0x4*(-parseInt(_0x5ef6c7(0xb5))/0x5)+parseInt(_0x5ef6c7(0x98))/0x6*(parseInt(_0x5ef6c7(0xb3))/0x7)+-parseInt(_0x5ef6c7(0xa8))/0x8+-parseInt(_0x5ef6c7(0xb1))/0x9+parseInt(_0x5ef6c7(0xa3))/0xa*(parseInt(_0x5ef6c7(0xb4))/0xb);if(_0x1736dd===_0x31e73b)break;else _0x4977e6['push'](_0x4977e6['shift']());}catch(_0x22058d){_0x4977e6['push'](_0x4977e6['shift']());}}}(a4_0xec9b,0xa879e));function a4_0xec9b(){const _0x3f55d9=['setProjection','1176904jRAgKz','86733yhnliG','get','projection','纬度:','placeholder_','updateHTML_','getMap','94894WFDlfK','toString','POINTEROUT','3061458wRrxTU','2apkSVB','setMap','element','getCoordinateFormat','handleMouseMove','setCoordinateFormat','push','getView','fractionDigits','innerHTML','10516850QTCiRC','viewState','wrapX_','createElement','mapProjection_','9658752RkhHCC','ol-mouse-position','showSpheroid','createStringXY','set','transform_','getProjection','renderedHTML_','listenerKeys','11571030EimCne','render','14PvmhyY','11EoACkJ','20ItmlKv','createStringHDMS','renderOnMouseOut_','div','handleMouseOut','getEventPixel','className','X:{x}\x20Y:{y}','placeholder','frameState'];a4_0xec9b=function(){return _0x3f55d9;};return a4_0xec9b();}import{format,wrapX}from'ol/coordinate';function a4_0x4b62(_0x2f3a41,_0x4b8aab){const _0xec9b32=a4_0xec9b();return a4_0x4b62=function(_0x4b62d5,_0x6db280){_0x4b62d5=_0x4b62d5-0x8d;let _0x1b7b99=_0xec9b32[_0x4b62d5];return _0x1b7b99;},a4_0x4b62(_0x2f3a41,_0x4b8aab);}import{degreesToStringHDMS}from'../utils/StringUtil';import a4_0x24ffa0 from'ol/pointer/EventType.js';import{getSpheroidProjection,isSpheroid}from'../utils/RegisterProjUtil';import{listen}from'ol/events';import{Control}from'ol/control';import{getTransformFromProjections,getUserProjection,identityTransform}from'ol/proj';const PROJECTION=a4_0x3d706f(0x90),COORDINATE_FORMAT='coordinateFormat';export default class MousePositionControl extends Control{constructor(_0x15bcf4){const _0x2b194b=a4_0x3d706f;_0x15bcf4=_0x15bcf4||{};if(!_0x15bcf4[_0x2b194b(0x9b)]){const _0x4ed4fd=document[_0x2b194b(0xa6)](_0x2b194b(0xb8));_0x15bcf4[_0x2b194b(0x9b)]=_0x4ed4fd;}_0x15bcf4['element'][_0x2b194b(0xbb)]=_0x15bcf4[_0x2b194b(0xbb)]==undefined?_0x2b194b(0xa9):_0x15bcf4[_0x2b194b(0xbb)],super(_0x15bcf4),this[_0x2b194b(0xaa)]=_0x15bcf4[_0x2b194b(0xaa)]===undefined?![]:_0x15bcf4[_0x2b194b(0xaa)],this[_0x2b194b(0xa1)]=_0x15bcf4['fractionDigits']===undefined?0x2:_0x15bcf4[_0x2b194b(0xa1)],this[_0x2b194b(0xb7)]=_0x15bcf4['placeholder']!==undefined,this[_0x2b194b(0x92)]=_0x15bcf4[_0x2b194b(0xbd)]!==undefined?_0x15bcf4[_0x2b194b(0xbd)]:'&#160;',this[_0x2b194b(0xaf)]=_0x15bcf4[_0x2b194b(0x9b)][_0x2b194b(0xa2)],this['wrapX_']=!![];}['handleProjectionChanged_'](){const _0xdcca9c=a4_0x3d706f;this[_0xdcca9c(0xad)]=undefined;}[a4_0x3d706f(0x9c)](){const _0x490285=a4_0x3d706f;return this[_0x490285(0x8f)](COORDINATE_FORMAT);}[a4_0x3d706f(0x9e)](_0xc09321){const _0x264514=a4_0x3d706f;this[_0x264514(0xac)](COORDINATE_FORMAT,_0xc09321);}[a4_0x3d706f(0xae)](){return this['get'](PROJECTION);}['setProjection'](_0x96d40d){this['set'](PROJECTION,_0x96d40d);}[a4_0x3d706f(0x9d)](_0x5e1773){const _0x4a30c7=a4_0x3d706f,_0x5e9d5d=this[_0x4a30c7(0x94)]();this[_0x4a30c7(0x93)](_0x5e9d5d===null||_0x5e9d5d===void 0x0?void 0x0:_0x5e9d5d[_0x4a30c7(0xba)](_0x5e1773));}[a4_0x3d706f(0xb9)](_0x246625){const _0x1b5978=a4_0x3d706f;this[_0x1b5978(0x93)](null);}[a4_0x3d706f(0x9a)](_0x2b9e4d){const _0x5748e2=a4_0x3d706f;super[_0x5748e2(0x9a)](_0x2b9e4d);if(_0x2b9e4d){const _0x156c81=isSpheroid(_0x2b9e4d[_0x5748e2(0xa0)]()[_0x5748e2(0xae)]());let _0x3f2a2b=_0x2b9e4d[_0x5748e2(0xa0)]()[_0x5748e2(0xae)](),_0x2d9592=this[_0x5748e2(0xb6)];if(!_0x156c81){if(this[_0x5748e2(0xaa)]){const _0x4e46cb=getSpheroidProjection(_0x2b9e4d[_0x5748e2(0xa0)]()[_0x5748e2(0xae)]());_0x4e46cb&&(_0x3f2a2b=_0x4e46cb);}else _0x2d9592=this['createStringXY'];}this[_0x5748e2(0xbf)](_0x3f2a2b),this[_0x5748e2(0x9e)](_0x2d9592(this[_0x5748e2(0xa1)]));const _0x42880c=_0x2b9e4d['getViewport']();this['listenerKeys'][_0x5748e2(0x9f)](listen(_0x42880c,a4_0x24ffa0['POINTERMOVE'],this[_0x5748e2(0x9d)],this)),this[_0x5748e2(0xb7)]&&this[_0x5748e2(0xb0)][_0x5748e2(0x9f)](listen(_0x42880c,a4_0x24ffa0[_0x5748e2(0x97)],this[_0x5748e2(0xb9)],this)),this[_0x5748e2(0x93)](null);}}[a4_0x3d706f(0x93)](_0x4df51f){const _0x8082f1=a4_0x3d706f;let _0xd29f97=this[_0x8082f1(0x92)];const _0x59e52a=this[_0x8082f1(0x94)]();if(_0x4df51f&&this[_0x8082f1(0xa7)]&&_0x59e52a){if(!this[_0x8082f1(0xad)]){const _0x458626=this[_0x8082f1(0xae)]();_0x458626?this['transform_']=getTransformFromProjections(this['mapProjection_'],_0x458626):this['transform_']=identityTransform;}const _0x51e520=_0x59e52a['getCoordinateFromPixelInternal'](_0x4df51f);if(_0x51e520){const _0x4d1712=getUserProjection();_0x4d1712&&(this[_0x8082f1(0xad)]=getTransformFromProjections(this['mapProjection_'],_0x4d1712));this[_0x8082f1(0xad)](_0x51e520,_0x51e520,undefined);if(this[_0x8082f1(0xa5)]){const _0x21f126=_0x4d1712||this[_0x8082f1(0xae)]()||this['mapProjection_'];wrapX(_0x51e520,_0x21f126);}const _0x798618=this[_0x8082f1(0x9c)]();_0x798618?_0xd29f97=_0x798618(_0x51e520):_0xd29f97=_0x51e520[_0x8082f1(0x96)]();}}(!this[_0x8082f1(0xaf)]||_0xd29f97!==this[_0x8082f1(0xaf)])&&(this[_0x8082f1(0x9b)][_0x8082f1(0xa2)]=_0xd29f97,this['renderedHTML_']=_0xd29f97);}[a4_0x3d706f(0xb2)](_0x2dc0f2){const _0xf3d68b=a4_0x3d706f,_0x9a35d1=_0x2dc0f2[_0xf3d68b(0xbe)];!_0x9a35d1?this[_0xf3d68b(0xa7)]=undefined:this[_0xf3d68b(0xa7)]!=_0x9a35d1[_0xf3d68b(0xa4)][_0xf3d68b(0x90)]&&(this[_0xf3d68b(0xa7)]=_0x9a35d1['viewState'][_0xf3d68b(0x90)],this[_0xf3d68b(0xad)]=undefined);}[a4_0x3d706f(0xab)](_0xc3c58c){return function(_0x39c991){const _0xb90c50=a4_0x4b62;return format(_0x39c991,_0xb90c50(0xbc),_0xc3c58c);};}[a4_0x3d706f(0xb6)](_0x4058f1){return function(_0x583bf0){const _0x48511f=a4_0x4b62;if(_0x583bf0)return'经度:'+degreesToStringHDMS(_0x583bf0[0x0],_0x4058f1)+'\x20'+_0x48511f(0x91)+degreesToStringHDMS(_0x583bf0[0x1],_0x4058f1);};}}
@@ -1 +1 @@
1
- function a5_0x39d4(_0x278d2e,_0x1d327e){const _0x2c9491=a5_0x2c94();return a5_0x39d4=function(_0x39d437,_0x4724b4){_0x39d437=_0x39d437-0xd3;let _0x3dbf1e=_0x2c9491[_0x39d437];return _0x3dbf1e;},a5_0x39d4(_0x278d2e,_0x1d327e);}const a5_0x573d95=a5_0x39d4;(function(_0x5dd31f,_0x3b9bea){const _0x49ddd1=a5_0x39d4,_0x45b7f1=_0x5dd31f();while(!![]){try{const _0x2bce4b=parseInt(_0x49ddd1(0x100))/0x1+parseInt(_0x49ddd1(0xec))/0x2*(parseInt(_0x49ddd1(0xf5))/0x3)+parseInt(_0x49ddd1(0xd9))/0x4*(-parseInt(_0x49ddd1(0xf0))/0x5)+-parseInt(_0x49ddd1(0xfd))/0x6+parseInt(_0x49ddd1(0x108))/0x7+parseInt(_0x49ddd1(0xe4))/0x8+-parseInt(_0x49ddd1(0x104))/0x9;if(_0x2bce4b===_0x3b9bea)break;else _0x45b7f1['push'](_0x45b7f1['shift']());}catch(_0x3d69ba){_0x45b7f1['push'](_0x45b7f1['shift']());}}}(a5_0x2c94,0x8464d));import{Control}from'ol/control';function a5_0x2c94(){const _0x2de9bb=['col-resize','row-resize','clientX','100jYzFRZ','value','bindEvents','getCoordinateFromPixel','53255WctCRU','width','Left','input','postrender','56853BNSQUP','ol-scroll-layer','canvas','save','clientY','setSwipeLayer','_swipeLayer','cursor','372792qHfZhk','createElement','top','799844iWMOyY','render','restore','ol-scroll-layer\x20ol-scroll-layer-vertical','19345275MdXbfd','style','setMap','element','4008375zrmGYc','_dockedVisible','Right','unsetSwipeLayer','getMap','getBoundingClientRect','prerender','24cshFRg','height','dockedVisible','div','className','swipeLayer','pointerdown','log','left','dispose','isVertical','3982232vWrKnc','swipeVa','clip','getTargetElement','addEventListener'];a5_0x2c94=function(){return _0x2de9bb;};return a5_0x2c94();}export default class SwipeLayerControl extends Control{constructor(_0x6e2a01){const _0x4e0f08=a5_0x39d4;_0x6e2a01=_0x6e2a01||{};if(!_0x6e2a01[_0x4e0f08(0x107)]){const _0x2de300=document[_0x4e0f08(0xfe)](_0x4e0f08(0xdc));_0x6e2a01[_0x4e0f08(0x107)]=_0x2de300,_0x2de300[_0x4e0f08(0xdd)]=_0x4e0f08(0xf6),(_0x6e2a01['dockedVisible']==='Left'||_0x6e2a01[_0x4e0f08(0xdb)]===_0x4e0f08(0xd4))&&(_0x2de300[_0x4e0f08(0xdd)]=_0x4e0f08(0x103));}super(_0x6e2a01),this[_0x4e0f08(0xe5)]=0x32,this[_0x4e0f08(0xe3)]=![],this[_0x4e0f08(0xfb)]=_0x6e2a01[_0x4e0f08(0xde)],this[_0x4e0f08(0xd3)]=_0x6e2a01[_0x4e0f08(0xdb)],this[_0x4e0f08(0xe3)]=_0x6e2a01['dockedVisible']===_0x4e0f08(0xf2)||_0x6e2a01[_0x4e0f08(0xdb)]===_0x4e0f08(0xd4),this[_0x4e0f08(0xee)](this[_0x4e0f08(0x107)]),this[_0x4e0f08(0x107)]['addEventListener'](_0x4e0f08(0xf3),()=>{const _0x146ff4=_0x4e0f08;var _0x4774ea;const _0x1a38f3=this[_0x146ff4(0x107)][_0x146ff4(0xed)];this[_0x146ff4(0xe5)]=_0x1a38f3,(_0x4774ea=this[_0x146ff4(0xd6)]())===null||_0x4774ea===void 0x0?void 0x0:_0x4774ea[_0x146ff4(0x101)]();},![]),this[_0x4e0f08(0xfa)](_0x6e2a01[_0x4e0f08(0xde)]);}[a5_0x573d95(0xfa)](_0x4c58d7){const _0x20be52=a5_0x573d95;this['unsetSwipeLayer'](),_0x4c58d7&&(_0x4c58d7['on'](_0x20be52(0xd8),_0x5054fa=>this[_0x20be52(0xd8)](_0x5054fa)),_0x4c58d7['on'](_0x20be52(0xf4),_0x25c23c=>this[_0x20be52(0xf4)](_0x25c23c)),this[_0x20be52(0xfb)]=_0x4c58d7);}[a5_0x573d95(0xd5)](){const _0x329bbd=a5_0x573d95;var _0x3a3887;this[_0x329bbd(0xfb)]&&(this[_0x329bbd(0xe5)]=0x64,(_0x3a3887=this[_0x329bbd(0xd6)]())===null||_0x3a3887===void 0x0?void 0x0:_0x3a3887['render'](),this['_swipeLayer']['un'](_0x329bbd(0xd8),_0x582271=>this[_0x329bbd(0xd8)](_0x582271)),this[_0x329bbd(0xfb)]['un'](_0x329bbd(0xf4),_0x3c0e50=>this[_0x329bbd(0xf4)](_0x3c0e50)));}[a5_0x573d95(0xd8)](_0x303627){const _0x4dc1ee=a5_0x573d95,_0x4eb924=_0x303627['context'],_0x859163=_0x4eb924===null||_0x4eb924===void 0x0?void 0x0:_0x4eb924[_0x4dc1ee(0xf7)][_0x4dc1ee(0xf1)];if(!this[_0x4dc1ee(0x107)]||!_0x859163||!_0x4eb924)return;console[_0x4dc1ee(0xe0)](this[_0x4dc1ee(0xe5)]);const _0x4160d1=_0x859163*this['swipeVa']/0x64;_0x4eb924[_0x4dc1ee(0xf8)](),_0x4eb924['beginPath'](),_0x4eb924['rect'](0x0,0x0,_0x4160d1,_0x4eb924[_0x4dc1ee(0xf7)][_0x4dc1ee(0xda)]),_0x4eb924[_0x4dc1ee(0xe6)]();}[a5_0x573d95(0xf4)](_0x15a02f){const _0x5e3584=a5_0x573d95,_0x374921=_0x15a02f['context'];_0x374921[_0x5e3584(0x102)]();}['setMap'](_0x4e044c){const _0x3aaa0b=a5_0x573d95;!_0x4e044c&&this[_0x3aaa0b(0xd5)](),super[_0x3aaa0b(0x106)](_0x4e044c);}[a5_0x573d95(0xe2)](){this['unsetSwipeLayer']();}['disposeInternal'](){const _0x4d327e=a5_0x573d95;this[_0x4d327e(0xd5)](),super['disposeInternal']();}[a5_0x573d95(0x101)](_0x437ab0){}[a5_0x573d95(0xee)](_0x4f5ed4){const _0x4648c6=a5_0x573d95;let _0x1216eb=![];_0x4f5ed4[_0x4648c6(0xe8)](_0x4648c6(0xdf),()=>{const _0x24ea99=_0x4648c6,_0x386485=this['getMap']();if(!_0x386485)return;_0x1216eb=!![],_0x386485['getTargetElement']()[_0x24ea99(0x105)][_0x24ea99(0xfc)]=this['isVertical']?_0x24ea99(0xe9):_0x24ea99(0xea);}),document['addEventListener']('pointermove',_0x504c1f=>{const _0x171d83=_0x4648c6;if(!_0x1216eb)return;const _0x448dc5=this['getMap']();if(!_0x448dc5)return;const _0x5b796d=_0x448dc5[_0x171d83(0xe7)]()[_0x171d83(0xd7)](),_0x38912c=_0x448dc5[_0x171d83(0xef)]([_0x504c1f[_0x171d83(0xeb)]-_0x5b796d['left'],_0x504c1f['clientY']-_0x5b796d['top']]);this[_0x171d83(0xe3)]?(this['swipeVa']=(_0x504c1f[_0x171d83(0xeb)]-_0x5b796d[_0x171d83(0xe1)])/_0x5b796d[_0x171d83(0xf1)]*0x64,_0x4f5ed4['style'][_0x171d83(0xe1)]=this['swipeVa']+'%'):_0x4f5ed4['style'][_0x171d83(0xff)]=(_0x504c1f[_0x171d83(0xf9)]-_0x5b796d[_0x171d83(0xff)])/_0x5b796d['height']*0x64+'%',_0x448dc5[_0x171d83(0x101)]();}),document['addEventListener']('pointerup',()=>{const _0x229118=_0x4648c6;_0x1216eb=![];const _0x41a7a0=this[_0x229118(0xd6)]();if(!_0x41a7a0)return;_0x41a7a0[_0x229118(0xe7)]()['style'][_0x229118(0xfc)]='';});}}
1
+ const a5_0x473d48=a5_0x26f7;(function(_0xb47753,_0x212ac0){const _0x326051=a5_0x26f7,_0x473fd1=_0xb47753();while(!![]){try{const _0x294ce3=parseInt(_0x326051(0x1ed))/0x1*(parseInt(_0x326051(0x1b5))/0x2)+parseInt(_0x326051(0x1ba))/0x3+parseInt(_0x326051(0x1d1))/0x4*(parseInt(_0x326051(0x1dd))/0x5)+-parseInt(_0x326051(0x1e1))/0x6*(-parseInt(_0x326051(0x1d3))/0x7)+parseInt(_0x326051(0x1e0))/0x8*(-parseInt(_0x326051(0x1c7))/0x9)+-parseInt(_0x326051(0x1b9))/0xa+-parseInt(_0x326051(0x1e8))/0xb*(parseInt(_0x326051(0x1d2))/0xc);if(_0x294ce3===_0x212ac0)break;else _0x473fd1['push'](_0x473fd1['shift']());}catch(_0x489fcd){_0x473fd1['push'](_0x473fd1['shift']());}}}(a5_0x1b6f,0x9eca2));function a5_0x26f7(_0x480f4e,_0x1c4f86){const _0x1b6fd3=a5_0x1b6f();return a5_0x26f7=function(_0x26f7ce,_0x4134d5){_0x26f7ce=_0x26f7ce-0x1b4;let _0xa08236=_0x1b6fd3[_0x26f7ce];return _0xa08236;},a5_0x26f7(_0x480f4e,_0x1c4f86);}import{Control}from'ol/control';export default class SwipeLayerControl extends Control{constructor(_0x3c384a){const _0x5c27ff=a5_0x26f7;_0x3c384a=_0x3c384a||{};if(!_0x3c384a[_0x5c27ff(0x1ec)]){const _0x5e4bc5=document[_0x5c27ff(0x1d6)](_0x5c27ff(0x1e2));_0x3c384a[_0x5c27ff(0x1ec)]=_0x5e4bc5,_0x5e4bc5[_0x5c27ff(0x1e9)]=_0x5c27ff(0x1e7),(_0x3c384a[_0x5c27ff(0x1bd)]===_0x5c27ff(0x1d5)||_0x3c384a[_0x5c27ff(0x1bd)]===_0x5c27ff(0x1c4))&&(_0x5e4bc5[_0x5c27ff(0x1e9)]=_0x5c27ff(0x1eb));}super(_0x3c384a),this[_0x5c27ff(0x1c1)]=0x32,this[_0x5c27ff(0x1cf)]=![],this['_swipeLayer']=_0x3c384a[_0x5c27ff(0x1d4)],this[_0x5c27ff(0x1e6)]=_0x3c384a['dockedVisible'],this[_0x5c27ff(0x1cf)]=_0x3c384a[_0x5c27ff(0x1bd)]===_0x5c27ff(0x1d5)||_0x3c384a[_0x5c27ff(0x1bd)]===_0x5c27ff(0x1c4),this['bindEvents'](this[_0x5c27ff(0x1ec)]),this['element'][_0x5c27ff(0x1df)]('input',()=>{const _0x1fdccc=_0x5c27ff;var _0x433c2e;const _0x8691bf=this['element'][_0x1fdccc(0x1bb)];this[_0x1fdccc(0x1c1)]=_0x8691bf,(_0x433c2e=this[_0x1fdccc(0x1d7)]())===null||_0x433c2e===void 0x0?void 0x0:_0x433c2e[_0x1fdccc(0x1b8)]();},![]),this[_0x5c27ff(0x1e5)](_0x3c384a[_0x5c27ff(0x1d4)]);}['setSwipeLayer'](_0x3d8d82){const _0x1eab6b=a5_0x26f7;this[_0x1eab6b(0x1de)](),_0x3d8d82&&(_0x3d8d82['on'](_0x1eab6b(0x1c5),_0x571709=>this[_0x1eab6b(0x1c5)](_0x571709)),_0x3d8d82['on'](_0x1eab6b(0x1ca),_0x1b51d4=>this[_0x1eab6b(0x1ca)](_0x1b51d4)),this[_0x1eab6b(0x1be)]=_0x3d8d82);}[a5_0x473d48(0x1de)](){const _0x32d0d8=a5_0x473d48;var _0x2e1efa;this[_0x32d0d8(0x1be)]&&(this[_0x32d0d8(0x1c1)]=0x64,(_0x2e1efa=this[_0x32d0d8(0x1d7)]())===null||_0x2e1efa===void 0x0?void 0x0:_0x2e1efa[_0x32d0d8(0x1b8)](),this[_0x32d0d8(0x1be)]['un'](_0x32d0d8(0x1c5),_0x39211f=>this[_0x32d0d8(0x1c5)](_0x39211f)),this['_swipeLayer']['un'](_0x32d0d8(0x1ca),_0x5a45c5=>this[_0x32d0d8(0x1ca)](_0x5a45c5)));}[a5_0x473d48(0x1c5)](_0x37cab3){const _0x363c3a=a5_0x473d48,_0x4031db=_0x37cab3[_0x363c3a(0x1b6)],_0x4ba913=_0x4031db===null||_0x4031db===void 0x0?void 0x0:_0x4031db[_0x363c3a(0x1d8)]['width'];if(!this['element']||!_0x4ba913||!_0x4031db)return;console[_0x363c3a(0x1cb)](this[_0x363c3a(0x1c1)]);const _0x547db3=_0x4ba913*this[_0x363c3a(0x1c1)]/0x64;_0x4031db[_0x363c3a(0x1b7)](),_0x4031db[_0x363c3a(0x1c0)](),_0x4031db[_0x363c3a(0x1c8)](0x0,0x0,_0x547db3,_0x4031db['canvas'][_0x363c3a(0x1bf)]),_0x4031db[_0x363c3a(0x1d0)]();}['postrender'](_0x1f282c){const _0x2f6987=a5_0x473d48,_0x1eb903=_0x1f282c[_0x2f6987(0x1b6)];_0x1eb903[_0x2f6987(0x1cc)]();}[a5_0x473d48(0x1d9)](_0x5e9188){const _0x4f70ac=a5_0x473d48;!_0x5e9188&&this[_0x4f70ac(0x1de)](),super['setMap'](_0x5e9188);}['dispose'](){const _0x247dc6=a5_0x473d48;this[_0x247dc6(0x1de)]();}['disposeInternal'](){const _0x192aca=a5_0x473d48;this[_0x192aca(0x1de)](),super[_0x192aca(0x1db)]();}[a5_0x473d48(0x1b8)](_0x5bb72c){}[a5_0x473d48(0x1c9)](_0x114fe9){const _0x2ee54c=a5_0x473d48;let _0x213c64=![];_0x114fe9['addEventListener'](_0x2ee54c(0x1c3),()=>{const _0x8244b6=_0x2ee54c,_0x7d0694=this[_0x8244b6(0x1d7)]();if(!_0x7d0694)return;_0x213c64=!![],_0x7d0694['getTargetElement']()['style']['cursor']=this[_0x8244b6(0x1cf)]?'col-resize':_0x8244b6(0x1b4);}),document['addEventListener']('pointermove',_0x455f93=>{const _0x129887=_0x2ee54c;if(!_0x213c64)return;const _0x572e30=this[_0x129887(0x1d7)]();if(!_0x572e30)return;const _0x18ada3=_0x572e30[_0x129887(0x1c6)]()['getBoundingClientRect'](),_0x563413=_0x572e30[_0x129887(0x1e3)]([_0x455f93[_0x129887(0x1dc)]-_0x18ada3[_0x129887(0x1da)],_0x455f93[_0x129887(0x1bc)]-_0x18ada3[_0x129887(0x1cd)]]);this['isVertical']?(this[_0x129887(0x1c1)]=(_0x455f93[_0x129887(0x1dc)]-_0x18ada3[_0x129887(0x1da)])/_0x18ada3[_0x129887(0x1ce)]*0x64,_0x114fe9[_0x129887(0x1c2)][_0x129887(0x1da)]=this['swipeVa']+'%'):_0x114fe9['style'][_0x129887(0x1cd)]=(_0x455f93[_0x129887(0x1bc)]-_0x18ada3[_0x129887(0x1cd)])/_0x18ada3[_0x129887(0x1bf)]*0x64+'%',_0x572e30[_0x129887(0x1b8)]();}),document[_0x2ee54c(0x1df)](_0x2ee54c(0x1ea),()=>{const _0x4bca30=_0x2ee54c;_0x213c64=![];const _0x11f3cc=this[_0x4bca30(0x1d7)]();if(!_0x11f3cc)return;_0x11f3cc[_0x4bca30(0x1c6)]()[_0x4bca30(0x1c2)][_0x4bca30(0x1e4)]='';});}}function a5_0x1b6f(){const _0x22667c=['restore','top','width','isVertical','clip','1962092QpllwX','86124KNHLKc','5509fUJrqI','swipeLayer','Left','createElement','getMap','canvas','setMap','left','disposeInternal','clientX','10hKZeAW','unsetSwipeLayer','addEventListener','55032wEfbBh','9618WuCILj','div','getCoordinateFromPixel','cursor','setSwipeLayer','_dockedVisible','ol-scroll-layer','3058HEkNHc','className','pointerup','ol-scroll-layer\x20ol-scroll-layer-vertical','element','3MMhcWH','row-resize','592690dCnIWE','context','save','render','8731960cGRjzu','2709261WcYvGF','value','clientY','dockedVisible','_swipeLayer','height','beginPath','swipeVa','style','pointerdown','Right','prerender','getTargetElement','675yEceGJ','rect','bindEvents','postrender','log'];a5_0x1b6f=function(){return _0x22667c;};return a5_0x1b6f();}
@@ -1 +1 @@
1
- const a6_0x4cc529=a6_0x4677;(function(_0x359f6d,_0xdcb9e8){const _0x20ae35=a6_0x4677,_0x3fbb2e=_0x359f6d();while(!![]){try{const _0x50e521=parseInt(_0x20ae35(0x1d4))/0x1+-parseInt(_0x20ae35(0x207))/0x2*(-parseInt(_0x20ae35(0x1cf))/0x3)+parseInt(_0x20ae35(0x215))/0x4*(-parseInt(_0x20ae35(0x1c5))/0x5)+parseInt(_0x20ae35(0x1de))/0x6*(parseInt(_0x20ae35(0x1f0))/0x7)+-parseInt(_0x20ae35(0x1f2))/0x8+-parseInt(_0x20ae35(0x205))/0x9*(-parseInt(_0x20ae35(0x1fd))/0xa)+parseInt(_0x20ae35(0x1ff))/0xb;if(_0x50e521===_0xdcb9e8)break;else _0x3fbb2e['push'](_0x3fbb2e['shift']());}catch(_0x4e7cce){_0x3fbb2e['push'](_0x3fbb2e['shift']());}}}(a6_0x3c32,0xc5e19));export function geoJSONToKml(_0x1440be,_0x3420e5){const _0x42758b=a6_0x4677;return _0x3420e5=_0x3420e5||{'documentName':undefined,'documentDescription':undefined,'name':_0x42758b(0x20e),'description':_0x42758b(0x1d2),'simplestyle':![],'timestamp':'timestamp'},_0x42758b(0x200)+tag(_0x42758b(0x1d7),tag(_0x42758b(0x1f7),documentName(_0x3420e5)+documentDescription(_0x3420e5)+root(_0x1440be,_0x3420e5)),[['xmlns',_0x42758b(0x1d9)]]);}function feature(_0x3efc56,_0x31fbeb){return function(_0x10a233){const _0xf1da21=a6_0x4677;if(!_0x10a233['properties']||!geometry[_0xf1da21(0x210)](_0x10a233[_0xf1da21(0x213)]))return'';const _0x4f691d=geometry[_0xf1da21(0x1d0)](_0x10a233[_0xf1da21(0x213)]);if(!_0x4f691d)return'';let _0x40e160='',_0x513051='';if(_0x3efc56['simplestyle']){const _0x5f1e84=hashStyle(_0x10a233['properties']);if(_0x5f1e84){if(geometry[_0xf1da21(0x1fa)](_0x10a233['geometry'])&&hasMarkerStyle(_0x10a233['properties']))_0x31fbeb['indexOf'](_0x5f1e84)===-0x1&&(_0x40e160=markerStyle(_0x10a233[_0xf1da21(0x1c2)],_0x5f1e84),_0x31fbeb[_0xf1da21(0x20a)](_0x5f1e84)),_0x513051=tag(_0xf1da21(0x1c6),'#'+_0x5f1e84);else(geometry[_0xf1da21(0x1ee)](_0x10a233['geometry'])||geometry[_0xf1da21(0x1fb)](_0x10a233[_0xf1da21(0x213)]))&&hasPolygonAndLineStyle(_0x10a233[_0xf1da21(0x1c2)])&&(_0x31fbeb[_0xf1da21(0x1e5)](_0x5f1e84)===-0x1&&(_0x40e160=polygonAndLineStyle(_0x10a233['properties'],_0x5f1e84),_0x31fbeb[_0xf1da21(0x20a)](_0x5f1e84)),_0x513051=tag(_0xf1da21(0x1c6),'#'+_0x5f1e84));}}return _0x40e160+tag(_0xf1da21(0x1e9),name(_0x10a233['properties'],_0x3efc56)+description(_0x10a233['properties'],_0x3efc56)+extendeddata(_0x10a233[_0xf1da21(0x1c2)])+timestamp(_0x10a233[_0xf1da21(0x1c2)],_0x3efc56)+_0x4f691d+_0x513051);};}function root(_0x55ae50,_0x310395){const _0x2cfdb1=a6_0x4677;if(!_0x55ae50['type'])return'';const _0x55937d=[];switch(_0x55ae50[_0x2cfdb1(0x1e8)]){case _0x2cfdb1(0x201):if(!_0x55ae50['features'])return'';return _0x55ae50[_0x2cfdb1(0x1ce)]['map'](feature(_0x310395,_0x55937d))[_0x2cfdb1(0x206)]('');case _0x2cfdb1(0x1c7):return feature(_0x310395,_0x55937d)(_0x55ae50);default:return feature(_0x310395,_0x55937d)({'type':'Feature','geometry':_0x55ae50,'properties':{}});}}function documentName(_0x379713){const _0x1b9a88=a6_0x4677;return _0x379713[_0x1b9a88(0x1f6)]!==undefined?tag(_0x1b9a88(0x20e),_0x379713[_0x1b9a88(0x1f6)]):'';}function documentDescription(_0x1dc92a){const _0x225d96=a6_0x4677;return _0x1dc92a['documentDescription']!==undefined?tag('description',_0x1dc92a[_0x225d96(0x1e1)]):'';}function name(_0x3f2447,_0x32663b){const _0x17a143=a6_0x4677;return _0x3f2447[_0x32663b[_0x17a143(0x20e)]]?tag(_0x17a143(0x20e),encode(_0x3f2447[_0x32663b['name']])):'';}function description(_0x4a61dd,_0x1f365b){const _0x27e75b=a6_0x4677;return _0x4a61dd[_0x1f365b[_0x27e75b(0x1d2)]]?tag(_0x27e75b(0x1d2),encode(_0x4a61dd[_0x1f365b[_0x27e75b(0x1d2)]])):'';}function timestamp(_0x4ae82c,_0x25c2a4){const _0x1a9f6e=a6_0x4677;return _0x4ae82c[_0x25c2a4[_0x1a9f6e(0x1ec)]]?tag('TimeStamp',tag(_0x1a9f6e(0x20b),encode(_0x4ae82c[_0x25c2a4['timestamp']]))):'';}const geometry={'Point':function(_0x2220ca){const _0x14f58c=a6_0x4677;return tag('Point',tag('coordinates',_0x2220ca[_0x14f58c(0x1e7)][_0x14f58c(0x206)](',')));},'LineString':function(_0x2a6e76){const _0x4a61a5=a6_0x4677;return tag(_0x4a61a5(0x1df),tag('coordinates',linearring(_0x2a6e76[_0x4a61a5(0x1e7)])));},'Polygon':function(_0x3f5cb3){const _0xfecfef=a6_0x4677;if(!_0x3f5cb3[_0xfecfef(0x1e7)][_0xfecfef(0x1fe)])return'';const _0x2a80e5=_0x3f5cb3[_0xfecfef(0x1e7)][0x0],_0x31fec2=_0x3f5cb3[_0xfecfef(0x1e7)]['slice'](0x1),_0x1e318d=tag(_0xfecfef(0x212),tag(_0xfecfef(0x20c),tag('coordinates',linearring(_0x2a80e5)))),_0x4fddea=_0x31fec2[_0xfecfef(0x1ed)](function(_0x24bf5f){const _0x2f482f=_0xfecfef;return tag('innerBoundaryIs',tag(_0x2f482f(0x20c),tag(_0x2f482f(0x1e7),linearring(_0x24bf5f))));})[_0xfecfef(0x206)]('');return tag(_0xfecfef(0x1d1),_0x1e318d+_0x4fddea);},'MultiPoint':function(_0x564f9f){const _0xcb0196=a6_0x4677;if(!_0x564f9f[_0xcb0196(0x1e7)][_0xcb0196(0x1fe)])return'';return tag('MultiGeometry',_0x564f9f['coordinates'][_0xcb0196(0x1ed)](function(_0x16ea4d){const _0x50e094=_0xcb0196;return geometry[_0x50e094(0x209)]({'coordinates':_0x16ea4d});})[_0xcb0196(0x206)](''));},'MultiPolygon':function(_0x50f488){const _0x3a3bd8=a6_0x4677;if(!_0x50f488[_0x3a3bd8(0x1e7)]['length'])return'';return tag('MultiGeometry',_0x50f488[_0x3a3bd8(0x1e7)][_0x3a3bd8(0x1ed)](function(_0x501915){const _0x282563=_0x3a3bd8;return geometry[_0x282563(0x1d1)]({'coordinates':_0x501915});})[_0x3a3bd8(0x206)](''));},'MultiLineString':function(_0x5be230){const _0x7ab450=a6_0x4677;if(!_0x5be230[_0x7ab450(0x1e7)][_0x7ab450(0x1fe)])return'';return tag('MultiGeometry',_0x5be230[_0x7ab450(0x1e7)][_0x7ab450(0x1ed)](function(_0x101492){const _0x1b1666=_0x7ab450;return geometry[_0x1b1666(0x1df)]({'coordinates':_0x101492});})[_0x7ab450(0x206)](''));},'GeometryCollection':function(_0x534d09){const _0x1b0228=a6_0x4677;return tag('MultiGeometry',_0x534d09[_0x1b0228(0x1d6)][_0x1b0228(0x1ed)](geometry[_0x1b0228(0x1d0)])[_0x1b0228(0x206)](''));},'valid':function(_0x2ade04){const _0x1a3957=a6_0x4677;return _0x2ade04&&_0x2ade04['type']&&(_0x2ade04[_0x1a3957(0x1e7)]||_0x2ade04['type']===_0x1a3957(0x1f5)&&_0x2ade04['geometries']&&_0x2ade04[_0x1a3957(0x1d6)][_0x1a3957(0x208)](geometry[_0x1a3957(0x210)]));},'any':function(_0x489cd3){const _0x287131=a6_0x4677;return geometry[_0x489cd3[_0x287131(0x1e8)]]?geometry[_0x489cd3[_0x287131(0x1e8)]](_0x489cd3):'';},'isPoint':function(_0x37558e){const _0x2beef7=a6_0x4677;return _0x37558e[_0x2beef7(0x1e8)]===_0x2beef7(0x209)||_0x37558e[_0x2beef7(0x1e8)]===_0x2beef7(0x20f);},'isPolygon':function(_0xe673aa){const _0x40eae7=a6_0x4677;return _0xe673aa[_0x40eae7(0x1e8)]===_0x40eae7(0x1d1)||_0xe673aa[_0x40eae7(0x1e8)]==='MultiPolygon';},'isLine':function(_0x1c6943){const _0x41483f=a6_0x4677;return _0x1c6943[_0x41483f(0x1e8)]===_0x41483f(0x1df)||_0x1c6943[_0x41483f(0x1e8)]==='MultiLineString';}};function linearring(_0x164ce5){const _0x32e465=a6_0x4677;return _0x164ce5[_0x32e465(0x1ed)](function(_0x5243a5){return _0x5243a5['join'](',');})['join']('\x20');}function extendeddata(_0x115851){const _0x1d5a1d=a6_0x4677,_0xcb6f38=[];for(const _0x544aa9 in _0x115851){const _0x455143=_0x115851[_0x544aa9];isObject(_0x455143)?_0xcb6f38['push']('<Data\x20name\x20=\x22'+_0x544aa9+_0x1d5a1d(0x211)+JSON['stringify'](_0x455143)+_0x1d5a1d(0x1c0)):_0xcb6f38[_0x1d5a1d(0x20a)]('<Data\x20name\x20=\x22'+_0x544aa9+_0x1d5a1d(0x211)+_0x455143+_0x1d5a1d(0x1c0));}return tag(_0x1d5a1d(0x203),_0xcb6f38[_0x1d5a1d(0x206)](''));}function data(_0x28952e){const _0x13331c=a6_0x4677;return tag(_0x13331c(0x1f9),tag(_0x13331c(0x1d5),encode(_0x28952e[0x1])),[[_0x13331c(0x20e),encode(_0x28952e[0x0])]]);}function a6_0x4677(_0x304523,_0x15b4b1){const _0x3c3257=a6_0x3c32();return a6_0x4677=function(_0x467779,_0x1fc6d3){_0x467779=_0x467779-0x1c0;let _0x5a8c56=_0x3c3257[_0x467779];return _0x5a8c56;},a6_0x4677(_0x304523,_0x15b4b1);}function hasMarkerStyle(_0x30aa08){const _0x1938c4=a6_0x4677;return!!(_0x30aa08['marker-size']||_0x30aa08[_0x1938c4(0x204)]||_0x30aa08[_0x1938c4(0x1e6)]);}function markerStyle(_0x58ad2f,_0x2a8416){const _0x3f06a7=a6_0x4677;return tag(_0x3f06a7(0x1f4),tag(_0x3f06a7(0x1cb),tag(_0x3f06a7(0x1ef),tag(_0x3f06a7(0x1f8),iconUrl(_0x58ad2f))))+iconSize(_0x58ad2f),[['id',_0x2a8416]]);}function iconUrl(_0x4df8d3){const _0x2506cf=a6_0x4677;return _0x4df8d3[_0x2506cf(0x204)];}function iconSize(_0x3584ee){const _0x2a13db=a6_0x4677;return tag(_0x2a13db(0x1c9),'',[['xunits',_0x2a13db(0x1c3)],[_0x2a13db(0x1d8),_0x2a13db(0x1c3)],['x',0.5],['y',0.5]]);}function a6_0x3c32(){const _0x3e8330=['Polygon','description','PolyStyle','534315htxqGM','value','geometries','kml','yunits','http://www.opengis.net/kml/2.2','&lt;','stroke-width','ff555555','keys','4244394VcyXti','LineString','&amp;','documentDescription','string','color','toString','indexOf','marker-color','coordinates','type','Placemark','88555555','marker-size','timestamp','map','isPolygon','Icon','7kwOpwW','stroke-opacity','11054472efBxhq','fill','Style','GeometryCollection','documentName','Document','href','Data','isPoint','isLine','replace','1200MJuRFq','length','854260NGZiwm','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>','FeatureCollection','stroke','ExtendedData','marker-symbol','60966JYncHk','join','2tophxL','every','Point','push','when','LinearRing','&gt;','name','MultiPoint','valid','\x22><value>','outerBoundaryIs','geometry','prototype','3992644VjGyNt','</value></Data>','fill-opacity','properties','fraction','isArray','5xTVxxj','styleUrl','Feature','&quot;','hotSpot','number','IconStyle','width','[object\x20Object]','features','3174711EXTTNd','any'];a6_0x3c32=function(){return _0x3e8330;};return a6_0x3c32();}function hasPolygonAndLineStyle(_0x479f09){for(const _0xeda5b6 in _0x479f09){if({'stroke':!![],'stroke-opacity':!![],'stroke-width':!![],'fill':!![],'fill-opacity':!![]}[_0xeda5b6])return!![];}}function polygonAndLineStyle(_0x4c3205,_0x3ae06c){const _0x25ccbf=a6_0x4677,_0x27bebc=tag('LineStyle',[tag(_0x25ccbf(0x1e3),hexToKmlColor(_0x4c3205[_0x25ccbf(0x202)],_0x4c3205[_0x25ccbf(0x1f1)])||_0x25ccbf(0x1dc))+tag(_0x25ccbf(0x1cc),_0x4c3205[_0x25ccbf(0x1db)]===undefined?0x2:_0x4c3205['stroke-width'])]);let _0x4e4551='';return(_0x4c3205[_0x25ccbf(0x1f3)]||_0x4c3205[_0x25ccbf(0x1c1)])&&(_0x4e4551=tag(_0x25ccbf(0x1d3),[tag(_0x25ccbf(0x1e3),hexToKmlColor(_0x4c3205['fill'],_0x4c3205[_0x25ccbf(0x1c1)])||_0x25ccbf(0x1ea))])),tag('Style',_0x27bebc+_0x4e4551,[['id',_0x3ae06c]]);}function hashStyle(_0x1e31de){const _0x670719=a6_0x4677;let _0x5f2f31='';return _0x1e31de[_0x670719(0x204)]&&(_0x5f2f31=_0x5f2f31+'ms'+_0x1e31de['marker-symbol']),_0x1e31de[_0x670719(0x1e6)]&&(_0x5f2f31=_0x5f2f31+'mc'+_0x1e31de[_0x670719(0x1e6)][_0x670719(0x1fc)]('#','')),_0x1e31de[_0x670719(0x1eb)]&&(_0x5f2f31=_0x5f2f31+'ms'+_0x1e31de[_0x670719(0x1eb)]),_0x1e31de[_0x670719(0x202)]&&(_0x5f2f31=_0x5f2f31+'s'+_0x1e31de[_0x670719(0x202)]['replace']('#','')),_0x1e31de[_0x670719(0x1db)]&&(_0x5f2f31=_0x5f2f31+'sw'+_0x1e31de['stroke-width'][_0x670719(0x1e4)]()[_0x670719(0x1fc)]('.','')),_0x1e31de['stroke-opacity']&&(_0x5f2f31=_0x5f2f31+'mo'+_0x1e31de[_0x670719(0x1f1)][_0x670719(0x1e4)]()[_0x670719(0x1fc)]('.','')),_0x1e31de[_0x670719(0x1f3)]&&(_0x5f2f31=_0x5f2f31+'f'+_0x1e31de[_0x670719(0x1f3)][_0x670719(0x1fc)]('#','')),_0x1e31de['fill-opacity']&&(_0x5f2f31=_0x5f2f31+'fo'+_0x1e31de[_0x670719(0x1c1)][_0x670719(0x1e4)]()[_0x670719(0x1fc)]('.','')),_0x5f2f31;}function hexToKmlColor(_0x355603,_0x21fb01){const _0x141f23=a6_0x4677;if(typeof _0x355603!=='string')return'';_0x355603=_0x355603[_0x141f23(0x1fc)]('#','')['toLowerCase']();if(_0x355603[_0x141f23(0x1fe)]===0x3)_0x355603=_0x355603[0x0]+_0x355603[0x0]+_0x355603[0x1]+_0x355603[0x1]+_0x355603[0x2]+_0x355603[0x2];else{if(_0x355603[_0x141f23(0x1fe)]!==0x6)return'';}const _0x315820=_0x355603[0x0]+_0x355603[0x1],_0x121fbb=_0x355603[0x2]+_0x355603[0x3],_0x5d47b3=_0x355603[0x4]+_0x355603[0x5];let _0x1236ad='ff';return typeof _0x21fb01===_0x141f23(0x1ca)&&_0x21fb01>=0x0&&_0x21fb01<=0x1&&(_0x1236ad=(_0x21fb01*0xff)[_0x141f23(0x1e4)](0x10),_0x1236ad[_0x141f23(0x1e5)]('.')>-0x1&&(_0x1236ad=_0x1236ad['substr'](0x0,_0x1236ad[_0x141f23(0x1e5)]('.'))),_0x1236ad[_0x141f23(0x1fe)]<0x2&&(_0x1236ad='0'+_0x1236ad)),_0x1236ad+_0x5d47b3+_0x121fbb+_0x315820;}export function isObject(_0x68b999){const _0x367920=a6_0x4677;return Object[_0x367920(0x214)]['toString']['call'](_0x68b999)===_0x367920(0x1cd);}function encode(_0x2b1418){const _0x5d31f2=a6_0x4677;if(!_0x2b1418)return'';return _0x2b1418[_0x5d31f2(0x1e4)]()['replace'](/&/g,_0x5d31f2(0x1e0))[_0x5d31f2(0x1fc)](/</g,_0x5d31f2(0x1da))[_0x5d31f2(0x1fc)](/>/g,_0x5d31f2(0x20d))[_0x5d31f2(0x1fc)](/"/g,_0x5d31f2(0x1c8));}function attr(_0xf8c0c1){const _0x4f8758=a6_0x4677;if(!Object[_0x4f8758(0x1dd)](_0xf8c0c1)['length'])return'';return'\x20'+Object[_0x4f8758(0x1dd)](_0xf8c0c1)[_0x4f8758(0x1ed)](function(_0x434082){return _0x434082+'=\x22'+escape(_0xf8c0c1[_0x434082])+'\x22';})['join']('\x20');}const escape_map={'>':a6_0x4cc529(0x20d),'<':a6_0x4cc529(0x1da),'\x27':'&apos;','\x22':a6_0x4cc529(0x1c8),'&':a6_0x4cc529(0x1e0)};function escape(_0x23f6cc,_0x463fbc){const _0x47a78f=a6_0x4cc529;if(_0x23f6cc===null||_0x23f6cc===undefined)return;_0x463fbc=(_0x463fbc||'')[_0x47a78f(0x1fc)](/[^&"<>\']/g,'');const _0x31dc44='([&\x22<>\x27])'[_0x47a78f(0x1fc)](new RegExp('['+_0x463fbc+']','g'),'');return _0x23f6cc['replace'](new RegExp(_0x31dc44,'g'),function(_0xe17799,_0x214c1c){return escape_map[_0x214c1c];});}function tag(_0x230c06,_0x20ea0a,_0x39e6df){const _0x5bf7e9=a6_0x4cc529;return(Array[_0x5bf7e9(0x1c4)](_0x20ea0a)||typeof _0x20ea0a===_0x5bf7e9(0x1e2))&&(_0x39e6df=_0x20ea0a,_0x20ea0a={}),Array[_0x5bf7e9(0x1c4)](_0x39e6df)&&(_0x39e6df='\x0a'+_0x39e6df[_0x5bf7e9(0x1ed)](function(_0x3161cc){return'\x20\x20'+_0x3161cc;})[_0x5bf7e9(0x206)]('\x0a')+'\x0a'),'<'+_0x230c06+attr(_0x20ea0a)+'>'+_0x39e6df+'</'+_0x230c06+'>';}
1
+ const a6_0x547cbf=a6_0xda23;(function(_0x40f287,_0x26e0bd){const _0x1c9b73=a6_0xda23,_0x1feec6=_0x40f287();while(!![]){try{const _0x25acdf=parseInt(_0x1c9b73(0xc8))/0x1+-parseInt(_0x1c9b73(0xce))/0x2*(-parseInt(_0x1c9b73(0xe6))/0x3)+-parseInt(_0x1c9b73(0xd2))/0x4+-parseInt(_0x1c9b73(0xdc))/0x5*(parseInt(_0x1c9b73(0xd8))/0x6)+parseInt(_0x1c9b73(0xd7))/0x7+parseInt(_0x1c9b73(0xda))/0x8*(-parseInt(_0x1c9b73(0xb4))/0x9)+-parseInt(_0x1c9b73(0xd0))/0xa*(-parseInt(_0x1c9b73(0xee))/0xb);if(_0x25acdf===_0x26e0bd)break;else _0x1feec6['push'](_0x1feec6['shift']());}catch(_0x456bb8){_0x1feec6['push'](_0x1feec6['shift']());}}}(a6_0x171a,0x9d3ce));export function geoJSONToKml(_0x5bc1fb,_0x1f603f){const _0x411db3=a6_0xda23;return _0x1f603f=_0x1f603f||{'documentName':undefined,'documentDescription':undefined,'name':_0x411db3(0xc7),'description':_0x411db3(0xbc),'simplestyle':![],'timestamp':_0x411db3(0xb9)},'<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>'+tag(_0x411db3(0xea),tag('Document',documentName(_0x1f603f)+documentDescription(_0x1f603f)+root(_0x5bc1fb,_0x1f603f)),[[_0x411db3(0x9f),'http://www.opengis.net/kml/2.2']]);}function a6_0xda23(_0x1bb6eb,_0x29fd14){const _0x171ab9=a6_0x171a();return a6_0xda23=function(_0xda237e,_0x314962){_0xda237e=_0xda237e-0x98;let _0x35902b=_0x171ab9[_0xda237e];return _0x35902b;},a6_0xda23(_0x1bb6eb,_0x29fd14);}function feature(_0x9c2e38,_0x369dd9){return function(_0x1aee5d){const _0x49fc0d=a6_0xda23;if(!_0x1aee5d[_0x49fc0d(0xaf)]||!geometry[_0x49fc0d(0xa1)](_0x1aee5d[_0x49fc0d(0xf1)]))return'';const _0x28252c=geometry[_0x49fc0d(0xaa)](_0x1aee5d[_0x49fc0d(0xf1)]);if(!_0x28252c)return'';let _0x2947bb='',_0x4f2fb9='';if(_0x9c2e38[_0x49fc0d(0xc3)]){const _0xbd6b07=hashStyle(_0x1aee5d[_0x49fc0d(0xaf)]);if(_0xbd6b07){if(geometry[_0x49fc0d(0xd9)](_0x1aee5d[_0x49fc0d(0xf1)])&&hasMarkerStyle(_0x1aee5d[_0x49fc0d(0xaf)]))_0x369dd9[_0x49fc0d(0xa6)](_0xbd6b07)===-0x1&&(_0x2947bb=markerStyle(_0x1aee5d[_0x49fc0d(0xaf)],_0xbd6b07),_0x369dd9[_0x49fc0d(0xcc)](_0xbd6b07)),_0x4f2fb9=tag('styleUrl','#'+_0xbd6b07);else(geometry[_0x49fc0d(0xc6)](_0x1aee5d[_0x49fc0d(0xf1)])||geometry['isLine'](_0x1aee5d[_0x49fc0d(0xf1)]))&&hasPolygonAndLineStyle(_0x1aee5d[_0x49fc0d(0xaf)])&&(_0x369dd9['indexOf'](_0xbd6b07)===-0x1&&(_0x2947bb=polygonAndLineStyle(_0x1aee5d[_0x49fc0d(0xaf)],_0xbd6b07),_0x369dd9[_0x49fc0d(0xcc)](_0xbd6b07)),_0x4f2fb9=tag(_0x49fc0d(0x9e),'#'+_0xbd6b07));}}return _0x2947bb+tag(_0x49fc0d(0x9a),name(_0x1aee5d['properties'],_0x9c2e38)+description(_0x1aee5d['properties'],_0x9c2e38)+extendeddata(_0x1aee5d[_0x49fc0d(0xaf)])+timestamp(_0x1aee5d[_0x49fc0d(0xaf)],_0x9c2e38)+_0x28252c+_0x4f2fb9);};}function root(_0x561f56,_0x2ea44e){const _0x1d8191=a6_0xda23;if(!_0x561f56['type'])return'';const _0x565434=[];switch(_0x561f56[_0x1d8191(0xbf)]){case _0x1d8191(0xad):if(!_0x561f56[_0x1d8191(0xf2)])return'';return _0x561f56[_0x1d8191(0xf2)][_0x1d8191(0xba)](feature(_0x2ea44e,_0x565434))['join']('');case _0x1d8191(0xac):return feature(_0x2ea44e,_0x565434)(_0x561f56);default:return feature(_0x2ea44e,_0x565434)({'type':_0x1d8191(0xac),'geometry':_0x561f56,'properties':{}});}}function documentName(_0x50eb9e){const _0x469fbe=a6_0xda23;return _0x50eb9e['documentName']!==undefined?tag(_0x469fbe(0xc7),_0x50eb9e[_0x469fbe(0xae)]):'';}function documentDescription(_0x35ea55){const _0x12dc45=a6_0xda23;return _0x35ea55['documentDescription']!==undefined?tag(_0x12dc45(0xbc),_0x35ea55[_0x12dc45(0xbe)]):'';}function name(_0x49f8fb,_0x292807){const _0x13b3d5=a6_0xda23;return _0x49f8fb[_0x292807[_0x13b3d5(0xc7)]]?tag(_0x13b3d5(0xc7),encode(_0x49f8fb[_0x292807['name']])):'';}function description(_0x4a16dd,_0x234061){const _0x25340c=a6_0xda23;return _0x4a16dd[_0x234061[_0x25340c(0xbc)]]?tag(_0x25340c(0xbc),encode(_0x4a16dd[_0x234061[_0x25340c(0xbc)]])):'';}function timestamp(_0x3bb073,_0x4f8b55){const _0x3a9683=a6_0xda23;return _0x3bb073[_0x4f8b55[_0x3a9683(0xb9)]]?tag(_0x3a9683(0xa5),tag(_0x3a9683(0x98),encode(_0x3bb073[_0x4f8b55['timestamp']]))):'';}const geometry={'Point':function(_0x336ab5){const _0x2459f9=a6_0xda23;return tag('Point',tag(_0x2459f9(0xe4),_0x336ab5[_0x2459f9(0xe4)][_0x2459f9(0xf0)](',')));},'LineString':function(_0x4f6317){const _0x33576b=a6_0xda23;return tag(_0x33576b(0xa3),tag(_0x33576b(0xe4),linearring(_0x4f6317[_0x33576b(0xe4)])));},'Polygon':function(_0xa56793){const _0x44c456=a6_0xda23;if(!_0xa56793[_0x44c456(0xe4)][_0x44c456(0xde)])return'';const _0x52772d=_0xa56793[_0x44c456(0xe4)][0x0],_0x1f4416=_0xa56793['coordinates'][_0x44c456(0xcd)](0x1),_0x564c95=tag(_0x44c456(0xe1),tag(_0x44c456(0xc4),tag('coordinates',linearring(_0x52772d)))),_0x506d28=_0x1f4416[_0x44c456(0xba)](function(_0x56d6a6){const _0x21897c=_0x44c456;return tag(_0x21897c(0xe7),tag(_0x21897c(0xc4),tag(_0x21897c(0xe4),linearring(_0x56d6a6))));})['join']('');return tag(_0x44c456(0xa2),_0x564c95+_0x506d28);},'MultiPoint':function(_0x11edec){const _0x3e151d=a6_0xda23;if(!_0x11edec[_0x3e151d(0xe4)][_0x3e151d(0xde)])return'';return tag(_0x3e151d(0x99),_0x11edec[_0x3e151d(0xe4)][_0x3e151d(0xba)](function(_0x3f7016){const _0x185579=_0x3e151d;return geometry[_0x185579(0xa9)]({'coordinates':_0x3f7016});})[_0x3e151d(0xf0)](''));},'MultiPolygon':function(_0x1b43ef){const _0x5188aa=a6_0xda23;if(!_0x1b43ef[_0x5188aa(0xe4)]['length'])return'';return tag(_0x5188aa(0x99),_0x1b43ef[_0x5188aa(0xe4)]['map'](function(_0xfe1cfb){const _0x4ea518=_0x5188aa;return geometry[_0x4ea518(0xa2)]({'coordinates':_0xfe1cfb});})[_0x5188aa(0xf0)](''));},'MultiLineString':function(_0x43aa73){const _0x40ed7b=a6_0xda23;if(!_0x43aa73[_0x40ed7b(0xe4)][_0x40ed7b(0xde)])return'';return tag('MultiGeometry',_0x43aa73[_0x40ed7b(0xe4)][_0x40ed7b(0xba)](function(_0x39cf40){const _0x273aa2=_0x40ed7b;return geometry[_0x273aa2(0xa3)]({'coordinates':_0x39cf40});})[_0x40ed7b(0xf0)](''));},'GeometryCollection':function(_0xaf56e4){const _0x5961ba=a6_0xda23;return tag('MultiGeometry',_0xaf56e4['geometries'][_0x5961ba(0xba)](geometry['any'])[_0x5961ba(0xf0)](''));},'valid':function(_0x46f5ae){const _0x385ed8=a6_0xda23;return _0x46f5ae&&_0x46f5ae[_0x385ed8(0xbf)]&&(_0x46f5ae['coordinates']||_0x46f5ae[_0x385ed8(0xbf)]===_0x385ed8(0xd6)&&_0x46f5ae[_0x385ed8(0xef)]&&_0x46f5ae[_0x385ed8(0xef)][_0x385ed8(0xc5)](geometry['valid']));},'any':function(_0x42c2dd){const _0x2b5ca5=a6_0xda23;return geometry[_0x42c2dd['type']]?geometry[_0x42c2dd[_0x2b5ca5(0xbf)]](_0x42c2dd):'';},'isPoint':function(_0x532351){const _0x543725=a6_0xda23;return _0x532351[_0x543725(0xbf)]===_0x543725(0xa9)||_0x532351[_0x543725(0xbf)]===_0x543725(0xdd);},'isPolygon':function(_0x1372f1){const _0x29d940=a6_0xda23;return _0x1372f1[_0x29d940(0xbf)]==='Polygon'||_0x1372f1[_0x29d940(0xbf)]===_0x29d940(0xb8);},'isLine':function(_0x32d23b){const _0x40c9bc=a6_0xda23;return _0x32d23b['type']===_0x40c9bc(0xa3)||_0x32d23b[_0x40c9bc(0xbf)]===_0x40c9bc(0x9d);}};function linearring(_0x3c7d3f){const _0x39ba8f=a6_0xda23;return _0x3c7d3f[_0x39ba8f(0xba)](function(_0x4ad84d){const _0x37822c=_0x39ba8f;return _0x4ad84d[_0x37822c(0xf0)](',');})['join']('\x20');}function extendeddata(_0x47d443){const _0x40977e=a6_0xda23,_0x546281=[];for(const _0x249554 in _0x47d443){const _0x3dfd02=_0x47d443[_0x249554];isObject(_0x3dfd02)?_0x546281['push']('<Data\x20name\x20=\x22'+_0x249554+_0x40977e(0xb0)+JSON[_0x40977e(0xe3)](_0x3dfd02)+_0x40977e(0xd4)):_0x546281[_0x40977e(0xcc)]('<Data\x20name\x20=\x22'+_0x249554+_0x40977e(0xb0)+_0x3dfd02+'</value></Data>');}return tag('ExtendedData',_0x546281[_0x40977e(0xf0)](''));}function data(_0x30fc6f){const _0x2338d1=a6_0xda23;return tag(_0x2338d1(0xbd),tag(_0x2338d1(0xd1),encode(_0x30fc6f[0x1])),[['name',encode(_0x30fc6f[0x0])]]);}function hasMarkerStyle(_0x8b0194){const _0x56d99f=a6_0xda23;return!!(_0x8b0194['marker-size']||_0x8b0194[_0x56d99f(0xca)]||_0x8b0194[_0x56d99f(0xe2)]);}function markerStyle(_0x58e54e,_0x2efd05){const _0x1b8e86=a6_0xda23;return tag('Style',tag(_0x1b8e86(0xab),tag(_0x1b8e86(0xb1),tag(_0x1b8e86(0x9b),iconUrl(_0x58e54e))))+iconSize(_0x58e54e),[['id',_0x2efd05]]);}function iconUrl(_0x28be12){const _0x175d41=a6_0xda23;return _0x28be12[_0x175d41(0xca)];}function iconSize(_0x275951){const _0x4efd0d=a6_0xda23;return tag(_0x4efd0d(0xc1),'',[[_0x4efd0d(0xd5),'fraction'],[_0x4efd0d(0xcf),'fraction'],['x',0.5],['y',0.5]]);}function hasPolygonAndLineStyle(_0x14e09c){for(const _0x236177 in _0x14e09c){if({'stroke':!![],'stroke-opacity':!![],'stroke-width':!![],'fill':!![],'fill-opacity':!![]}[_0x236177])return!![];}}function polygonAndLineStyle(_0x168ebd,_0x2cce8e){const _0x54f98e=a6_0xda23,_0x138772=tag(_0x54f98e(0xb7),[tag(_0x54f98e(0xb5),hexToKmlColor(_0x168ebd[_0x54f98e(0xdf)],_0x168ebd[_0x54f98e(0x9c)])||_0x54f98e(0xa7))+tag(_0x54f98e(0xe8),_0x168ebd[_0x54f98e(0xb6)]===undefined?0x2:_0x168ebd[_0x54f98e(0xb6)])]);let _0x401d4d='';return(_0x168ebd[_0x54f98e(0xb2)]||_0x168ebd['fill-opacity'])&&(_0x401d4d=tag('PolyStyle',[tag('color',hexToKmlColor(_0x168ebd[_0x54f98e(0xb2)],_0x168ebd[_0x54f98e(0xd3)])||_0x54f98e(0xbb))])),tag(_0x54f98e(0xc9),_0x138772+_0x401d4d,[['id',_0x2cce8e]]);}function hashStyle(_0x53af06){const _0x3d2d58=a6_0xda23;let _0x1c9dc3='';return _0x53af06['marker-symbol']&&(_0x1c9dc3=_0x1c9dc3+'ms'+_0x53af06['marker-symbol']),_0x53af06[_0x3d2d58(0xe2)]&&(_0x1c9dc3=_0x1c9dc3+'mc'+_0x53af06['marker-color'][_0x3d2d58(0xe0)]('#','')),_0x53af06[_0x3d2d58(0xe9)]&&(_0x1c9dc3=_0x1c9dc3+'ms'+_0x53af06[_0x3d2d58(0xe9)]),_0x53af06[_0x3d2d58(0xdf)]&&(_0x1c9dc3=_0x1c9dc3+'s'+_0x53af06[_0x3d2d58(0xdf)]['replace']('#','')),_0x53af06['stroke-width']&&(_0x1c9dc3=_0x1c9dc3+'sw'+_0x53af06['stroke-width'][_0x3d2d58(0xa0)]()[_0x3d2d58(0xe0)]('.','')),_0x53af06[_0x3d2d58(0x9c)]&&(_0x1c9dc3=_0x1c9dc3+'mo'+_0x53af06[_0x3d2d58(0x9c)][_0x3d2d58(0xa0)]()['replace']('.','')),_0x53af06[_0x3d2d58(0xb2)]&&(_0x1c9dc3=_0x1c9dc3+'f'+_0x53af06[_0x3d2d58(0xb2)][_0x3d2d58(0xe0)]('#','')),_0x53af06['fill-opacity']&&(_0x1c9dc3=_0x1c9dc3+'fo'+_0x53af06['fill-opacity']['toString']()[_0x3d2d58(0xe0)]('.','')),_0x1c9dc3;}function hexToKmlColor(_0x4288ed,_0x5cb681){const _0x33fe2c=a6_0xda23;if(typeof _0x4288ed!=='string')return'';_0x4288ed=_0x4288ed[_0x33fe2c(0xe0)]('#','')[_0x33fe2c(0xa4)]();if(_0x4288ed[_0x33fe2c(0xde)]===0x3)_0x4288ed=_0x4288ed[0x0]+_0x4288ed[0x0]+_0x4288ed[0x1]+_0x4288ed[0x1]+_0x4288ed[0x2]+_0x4288ed[0x2];else{if(_0x4288ed['length']!==0x6)return'';}const _0x22578d=_0x4288ed[0x0]+_0x4288ed[0x1],_0x5a065b=_0x4288ed[0x2]+_0x4288ed[0x3],_0x325c42=_0x4288ed[0x4]+_0x4288ed[0x5];let _0x1e5433='ff';return typeof _0x5cb681==='number'&&_0x5cb681>=0x0&&_0x5cb681<=0x1&&(_0x1e5433=(_0x5cb681*0xff)['toString'](0x10),_0x1e5433[_0x33fe2c(0xa6)]('.')>-0x1&&(_0x1e5433=_0x1e5433[_0x33fe2c(0xa8)](0x0,_0x1e5433[_0x33fe2c(0xa6)]('.'))),_0x1e5433[_0x33fe2c(0xde)]<0x2&&(_0x1e5433='0'+_0x1e5433)),_0x1e5433+_0x325c42+_0x5a065b+_0x22578d;}export function isObject(_0x35059b){const _0x4fd24f=a6_0xda23;return Object[_0x4fd24f(0xcb)]['toString']['call'](_0x35059b)==='[object\x20Object]';}function encode(_0x39d221){const _0x2538bc=a6_0xda23;if(!_0x39d221)return'';return _0x39d221['toString']()['replace'](/&/g,'&amp;')['replace'](/</g,'&lt;')[_0x2538bc(0xe0)](/>/g,'&gt;')['replace'](/"/g,_0x2538bc(0xec));}function attr(_0x4c1775){const _0x3afa42=a6_0xda23;if(!Object[_0x3afa42(0xeb)](_0x4c1775)[_0x3afa42(0xde)])return'';return'\x20'+Object[_0x3afa42(0xeb)](_0x4c1775)[_0x3afa42(0xba)](function(_0x18806f){return _0x18806f+'=\x22'+escape(_0x4c1775[_0x18806f])+'\x22';})['join']('\x20');}const escape_map={'>':'&gt;','<':a6_0x547cbf(0xe5),'\x27':a6_0x547cbf(0xed),'\x22':'&quot;','&':a6_0x547cbf(0xc2)};function a6_0x171a(){const _0x1e9e19=['stringify','coordinates','&lt;','291ejBhjs','innerBoundaryIs','width','marker-size','kml','keys','&quot;','&apos;','5701289ASBKYv','geometries','join','geometry','features','when','MultiGeometry','Placemark','href','stroke-opacity','MultiLineString','styleUrl','xmlns','toString','valid','Polygon','LineString','toLowerCase','TimeStamp','indexOf','ff555555','substr','Point','any','IconStyle','Feature','FeatureCollection','documentName','properties','\x22><value>','Icon','fill','isArray','6129wfKXBE','color','stroke-width','LineStyle','MultiPolygon','timestamp','map','88555555','description','Data','documentDescription','type','string','hotSpot','&amp;','simplestyle','LinearRing','every','isPolygon','name','1084394BCQfzO','Style','marker-symbol','prototype','push','slice','5438UanXIS','yunits','10YFViDi','value','1056680bHTArg','fill-opacity','</value></Data>','xunits','GeometryCollection','2751945CCjqNX','6UbmpZq','isPoint','8808oPLmYi','([&\x22<>\x27])','3007870olQQci','MultiPoint','length','stroke','replace','outerBoundaryIs','marker-color'];a6_0x171a=function(){return _0x1e9e19;};return a6_0x171a();}function escape(_0x558755,_0x4d286b){const _0x1a1706=a6_0x547cbf;if(_0x558755===null||_0x558755===undefined)return;_0x4d286b=(_0x4d286b||'')[_0x1a1706(0xe0)](/[^&"<>\']/g,'');const _0x4b6a99=_0x1a1706(0xdb)[_0x1a1706(0xe0)](new RegExp('['+_0x4d286b+']','g'),'');return _0x558755['replace'](new RegExp(_0x4b6a99,'g'),function(_0x50b41,_0x53e46f){return escape_map[_0x53e46f];});}function tag(_0x4562b2,_0x1af2e7,_0x22c828){const _0x238561=a6_0x547cbf;return(Array[_0x238561(0xb3)](_0x1af2e7)||typeof _0x1af2e7===_0x238561(0xc0))&&(_0x22c828=_0x1af2e7,_0x1af2e7={}),Array[_0x238561(0xb3)](_0x22c828)&&(_0x22c828='\x0a'+_0x22c828[_0x238561(0xba)](function(_0x2e3b27){return'\x20\x20'+_0x2e3b27;})[_0x238561(0xf0)]('\x0a')+'\x0a'),'<'+_0x4562b2+attr(_0x1af2e7)+'>'+_0x22c828+'</'+_0x4562b2+'>';}
@@ -1 +1 @@
1
- const a7_0x4b7527=a7_0x313b;(function(_0x355e68,_0x534661){const _0x2d9101=a7_0x313b,_0x574495=_0x355e68();while(!![]){try{const _0x3c895e=parseInt(_0x2d9101(0x1f5))/0x1*(parseInt(_0x2d9101(0x1e8))/0x2)+-parseInt(_0x2d9101(0x200))/0x3+parseInt(_0x2d9101(0x1f6))/0x4*(-parseInt(_0x2d9101(0x1f1))/0x5)+-parseInt(_0x2d9101(0x1fa))/0x6+-parseInt(_0x2d9101(0x1fd))/0x7+parseInt(_0x2d9101(0x207))/0x8*(-parseInt(_0x2d9101(0x1f4))/0x9)+parseInt(_0x2d9101(0x1e4))/0xa;if(_0x3c895e===_0x534661)break;else _0x574495['push'](_0x574495['shift']());}catch(_0x3864c2){_0x574495['push'](_0x574495['shift']());}}}(a7_0x5958,0xda4ed));function a7_0x313b(_0x5c7bbd,_0x10c24b){const _0x595804=a7_0x5958();return a7_0x313b=function(_0x313bc8,_0x4bbcd7){_0x313bc8=_0x313bc8-0x1db;let _0x44bf33=_0x595804[_0x313bc8];return _0x44bf33;},a7_0x313b(_0x5c7bbd,_0x10c24b);}import a7_0x2062eb from'jszip';import{kmlToGeoJSON}from'./kmlToGeoJSON';import{geoJSONToKml}from'./geoJSONToKml';export function toKml(_0x81ad31,_0x3f3a6b){const _0x39ee82=a7_0x313b;return _0x81ad31[_0x39ee82(0x210)]?_0x81ad31['features'][_0x39ee82(0x1fe)](_0x253281=>{updateFeatureByStyle(_0x253281);}):updateFeatureByStyle(_0x81ad31),geoJSONToKml(_0x81ad31,_0x3f3a6b);}function updateFeatureByStyle(_0x3e08dc){const _0x2ac00a=a7_0x313b;var _0x262721,_0x4c8ae3,_0x1d05d6,_0x500ba5,_0x4db193,_0x27bd95;if(!_0x3e08dc['properties'])return;const _0x336289=_0x3e08dc['properties'][_0x2ac00a(0x209)];if(_0x336289){if(_0x336289[_0x2ac00a(0x1ea)]){_0x3e08dc[_0x2ac00a(0x203)][_0x2ac00a(0x1e6)]=_0x336289[_0x2ac00a(0x1ea)];_0x336289[_0x2ac00a(0x206)]&&(_0x3e08dc[_0x2ac00a(0x203)][_0x2ac00a(0x204)]=_0x336289['outlineColor']);return;}_0x336289[_0x2ac00a(0x1f3)]&&(_0x3e08dc[_0x2ac00a(0x203)][_0x2ac00a(0x1ef)]=_0x336289['color'],_0x336289['opacity']&&(_0x3e08dc[_0x2ac00a(0x203)][_0x2ac00a(0x208)]=_0x336289[_0x2ac00a(0x1f0)])),_0x336289['outlineColor']&&(_0x3e08dc[_0x2ac00a(0x203)][_0x2ac00a(0x213)]=_0x336289['outlineColor'],_0x3e08dc[_0x2ac00a(0x203)][_0x2ac00a(0x211)]=(_0x262721=_0x336289[_0x2ac00a(0x1f8)])!==null&&_0x262721!==void 0x0?_0x262721:0x1,_0x3e08dc[_0x2ac00a(0x203)][_0x2ac00a(0x20d)]=(_0x1d05d6=(_0x4c8ae3=_0x336289['outlineOpacity'])!==null&&_0x4c8ae3!==void 0x0?_0x4c8ae3:_0x336289[_0x2ac00a(0x1f0)])!==null&&_0x1d05d6!==void 0x0?_0x1d05d6:0x1),_0x336289['html']&&(_0x336289['html']=HTMLEncode(_0x336289[_0x2ac00a(0x20e)])),_0x336289[_0x2ac00a(0x1e9)]&&((_0x4db193=(_0x500ba5=_0x3e08dc['geometry'])===null||_0x500ba5===void 0x0?void 0x0:_0x500ba5[_0x2ac00a(0x212)])===null||_0x4db193===void 0x0?void 0x0:_0x4db193['length'])>0x0&&_0x3e08dc[_0x2ac00a(0x20b)][_0x2ac00a(0x212)][_0x2ac00a(0x1df)](_0x3e08dc[_0x2ac00a(0x20b)][_0x2ac00a(0x212)][0x0]);}const _0x2c4af8=(_0x27bd95=_0x3e08dc===null||_0x3e08dc===void 0x0?void 0x0:_0x3e08dc['properties'])===null||_0x27bd95===void 0x0?void 0x0:_0x27bd95[_0x2ac00a(0x1db)];if(_0x2c4af8==='polygon'){const _0x10a498=_0x3e08dc[_0x2ac00a(0x20b)][_0x2ac00a(0x212)][0x0];(_0x10a498===null||_0x10a498===void 0x0?void 0x0:_0x10a498[_0x2ac00a(0x1de)])>0x2&&_0x10a498[_0x2ac00a(0x1df)](_0x10a498[0x0]);}else{if(_0x2c4af8===_0x2ac00a(0x215)){const _0x51b3ec=_0x3e08dc[_0x2ac00a(0x20b)][_0x2ac00a(0x212)],_0xa69cf9=_0x51b3ec[0x0][0x0],_0xe0d2b5=_0x51b3ec[0x1][0x0],_0x29126c=_0x51b3ec[0x0][0x1],_0x4a622b=_0x51b3ec[0x1][0x1];_0x3e08dc[_0x2ac00a(0x20b)]={'type':_0x2ac00a(0x214),'coordinates':[[[_0xa69cf9,_0x4a622b],[_0xa69cf9,_0x29126c],[_0xe0d2b5,_0x29126c],[_0xe0d2b5,_0x4a622b],[_0xa69cf9,_0x4a622b]]]};}}}const getDom=_0x72527b=>new DOMParser()[a7_0x4b7527(0x1dd)](_0x72527b,'application/xml'),getExtension=_0x3e4375=>_0x3e4375[a7_0x4b7527(0x202)]('.')[a7_0x4b7527(0x1f9)](),getKmlDom=_0x1d90d2=>{const _0x3562a4=a7_0x4b7527,_0x5efb0c=new a7_0x2062eb();return _0x5efb0c[_0x3562a4(0x1ed)](_0x1d90d2)['then'](_0x4730dd=>{let _0x302a94=null;return _0x4730dd['forEach']((_0x243c5e,_0x1fac33)=>{const _0x2829f1=a7_0x313b;getExtension(_0x243c5e)===_0x2829f1(0x1e7)&&_0x302a94===null&&(_0x302a94=_0x1fac33[_0x2829f1(0x1ff)](_0x2829f1(0x201))[_0x2829f1(0x20a)](getDom));}),_0x302a94;});};export function toGeoJSON(_0x3fedc2,_0x1fe190){const _0x26ca15=a7_0x4b7527;if(!_0x3fedc2){console[_0x26ca15(0x1fb)](_0x26ca15(0x20f));return;}if(isString(_0x3fedc2)){const _0x4d3910=getExtension(_0x3fedc2);if(_0x4d3910===_0x26ca15(0x1e7))return fetchXML(_0x3fedc2,_0x1fe190)[_0x26ca15(0x20a)](function(_0x41819e){return kmlToGeoJSON(_0x41819e);});else{if(_0x4d3910==='kmz')return fetchBlob(_0x3fedc2,_0x1fe190)[_0x26ca15(0x20a)](function(_0x148299){return getKmlDom(_0x148299);})[_0x26ca15(0x20a)](function(_0x21e078){return kmlToGeoJSON(_0x21e078);});else{const _0x5b08bb=kmlToGeoJSON(getDom(_0x3fedc2));return Promise[_0x26ca15(0x1f2)](_0x5b08bb);}}}else{if(_0x3fedc2[_0x26ca15(0x1fc)]){const _0x4d9277=kmlToGeoJSON(_0x3fedc2);return Promise[_0x26ca15(0x1f2)](_0x4d9277);}else{const _0x52986c=_0x3fedc2[_0x26ca15(0x1ee)][_0x26ca15(0x202)]('.')[_0x3fedc2[_0x26ca15(0x1ee)][_0x26ca15(0x202)]('.')[_0x26ca15(0x1de)]-0x1]['toLowerCase']();return _0x52986c===_0x26ca15(0x1e7)?_0x3fedc2[_0x26ca15(0x1eb)]()[_0x26ca15(0x20a)](_0x1cc268=>{return kmlToGeoJSON(getDom(_0x1cc268));}):getKmlDom(_0x3fedc2)[_0x26ca15(0x20a)](function(_0x6b60f9){return kmlToGeoJSON(_0x6b60f9);});}}}function isString(_0x503a87){const _0x37e0c1=a7_0x4b7527;return typeof _0x503a87==='string'&&_0x503a87[_0x37e0c1(0x1ec)]===String;}function HTMLEncode(_0x382cb9){const _0x83a41f=a7_0x4b7527,_0x109d27=document[_0x83a41f(0x1e2)](_0x83a41f(0x1dc));_0x109d27['textContent']!=null?_0x109d27[_0x83a41f(0x1e1)]=_0x382cb9:_0x109d27[_0x83a41f(0x1e3)]=_0x382cb9;const _0x170504=_0x109d27[_0x83a41f(0x20c)];return _0x170504;}function fetchXML(_0x1e6294,_0x3ee4d5){const _0x5ba0aa=a7_0x4b7527,_0x15111=Object[_0x5ba0aa(0x1f7)]({'method':_0x5ba0aa(0x1e5),'headers':{'Content-Type':_0x5ba0aa(0x1e0)}},_0x3ee4d5);return fetch(_0x1e6294,_0x15111)['then'](_0x1b313c=>{const _0x1d4cf7=_0x5ba0aa;return _0x1b313c[_0x1d4cf7(0x1eb)]();})[_0x5ba0aa(0x20a)](_0x42f8ce=>{return getDom(_0x42f8ce);});}function fetchBlob(_0xf849ce,_0x48cec4){const _0x54950d=a7_0x4b7527,_0x127615=Object['assign']({'method':_0x54950d(0x1e5)},_0x48cec4);return fetch(_0xf849ce,_0x127615)[_0x54950d(0x20a)](_0x48b2bb=>{const _0x5988d9=_0x54950d;return _0x48b2bb[_0x5988d9(0x205)]();});}function a7_0x5958(){const _0x4e9413=['1834644myjVwB','forEach','async','3076980NtgjSi','string','split','properties','marker-color','blob','outlineColor','16xFPrXO','fill-opacity','style','then','geometry','innerHTML','stroke-opacity','html','toGeoJSON参数不能为空','features','stroke-width','coordinates','stroke','Polygon','rectangle','type','div','parseFromString','length','push','application/xml','textContent','createElement','innerText','43317600PkPBgQ','GET','marker-symbol','kml','2XUhTZS','closure','image','text','constructor','loadAsync','name','fill','opacity','5qHmYJH','resolve','color','4954293ujIPIm','577231tsyJgy','3496852biFLUv','assign','outlineWidth','pop','4511298rOjuSA','warn','getRootNode'];a7_0x5958=function(){return _0x4e9413;};return a7_0x5958();}
1
+ const a7_0x4c1c9f=a7_0x242e;(function(_0x4e93f1,_0x4eda01){const _0xfcca93=a7_0x242e,_0x12e29c=_0x4e93f1();while(!![]){try{const _0x1c1d5a=-parseInt(_0xfcca93(0x199))/0x1*(-parseInt(_0xfcca93(0x172))/0x2)+parseInt(_0xfcca93(0x183))/0x3+-parseInt(_0xfcca93(0x180))/0x4*(parseInt(_0xfcca93(0x17d))/0x5)+parseInt(_0xfcca93(0x175))/0x6+-parseInt(_0xfcca93(0x18d))/0x7*(-parseInt(_0xfcca93(0x171))/0x8)+-parseInt(_0xfcca93(0x16f))/0x9*(parseInt(_0xfcca93(0x196))/0xa)+parseInt(_0xfcca93(0x165))/0xb*(-parseInt(_0xfcca93(0x16d))/0xc);if(_0x1c1d5a===_0x4eda01)break;else _0x12e29c['push'](_0x12e29c['shift']());}catch(_0x5c8c28){_0x12e29c['push'](_0x12e29c['shift']());}}}(a7_0x18f6,0x9add9));function a7_0x242e(_0x5c4314,_0x32ecdb){const _0x18f695=a7_0x18f6();return a7_0x242e=function(_0x242e15,_0x3ada0c){_0x242e15=_0x242e15-0x163;let _0x424754=_0x18f695[_0x242e15];return _0x424754;},a7_0x242e(_0x5c4314,_0x32ecdb);}import a7_0x33ca3e from'jszip';function a7_0x18f6(){const _0x201694=['text','kmz','fill','103164vnJCgx','geometry','9WxIvqu','parseFromString','29744yUZRYC','624506nzPTkK','textContent','application/xml','6533172GQOaNq','outlineOpacity','string','loadAsync','getRootNode','type','polygon','innerText','5frCMUg','features','warn','1753388oAdvRi','blob','marker-color','2093130eGcLEf','coordinates','stroke-width','then','kml','resolve','constructor','split','async','assign','1470XTqQam','style','fill-opacity','outlineWidth','push','closure','innerHTML','opacity','html','12392130xhyEEj','stroke-opacity','image','4nsvaSq','length','outlineColor','1925oAsiJy','name','properties','stroke','rectangle'];a7_0x18f6=function(){return _0x201694;};return a7_0x18f6();}import{kmlToGeoJSON}from'./kmlToGeoJSON';import{geoJSONToKml}from'./geoJSONToKml';export function toKml(_0x281256,_0x368806){const _0x72b330=a7_0x242e;return _0x281256[_0x72b330(0x17e)]?_0x281256[_0x72b330(0x17e)]['forEach'](_0x4416fb=>{updateFeatureByStyle(_0x4416fb);}):updateFeatureByStyle(_0x281256),geoJSONToKml(_0x281256,_0x368806);}function updateFeatureByStyle(_0x2be295){const _0x4818f4=a7_0x242e;var _0x483c04,_0x28fa0b,_0x1f6bea,_0x5e4055,_0x15ddc2,_0x27dacc;if(!_0x2be295[_0x4818f4(0x167)])return;const _0x183c8a=_0x2be295[_0x4818f4(0x167)][_0x4818f4(0x18e)];if(_0x183c8a){if(_0x183c8a[_0x4818f4(0x198)]){_0x2be295[_0x4818f4(0x167)]['marker-symbol']=_0x183c8a[_0x4818f4(0x198)];_0x183c8a['outlineColor']&&(_0x2be295[_0x4818f4(0x167)][_0x4818f4(0x182)]=_0x183c8a['outlineColor']);return;}_0x183c8a['color']&&(_0x2be295[_0x4818f4(0x167)][_0x4818f4(0x16c)]=_0x183c8a['color'],_0x183c8a[_0x4818f4(0x194)]&&(_0x2be295[_0x4818f4(0x167)][_0x4818f4(0x18f)]=_0x183c8a['opacity'])),_0x183c8a[_0x4818f4(0x164)]&&(_0x2be295['properties'][_0x4818f4(0x168)]=_0x183c8a['outlineColor'],_0x2be295[_0x4818f4(0x167)][_0x4818f4(0x185)]=(_0x483c04=_0x183c8a[_0x4818f4(0x190)])!==null&&_0x483c04!==void 0x0?_0x483c04:0x1,_0x2be295['properties'][_0x4818f4(0x197)]=(_0x1f6bea=(_0x28fa0b=_0x183c8a[_0x4818f4(0x176)])!==null&&_0x28fa0b!==void 0x0?_0x28fa0b:_0x183c8a[_0x4818f4(0x194)])!==null&&_0x1f6bea!==void 0x0?_0x1f6bea:0x1),_0x183c8a[_0x4818f4(0x195)]&&(_0x183c8a[_0x4818f4(0x195)]=HTMLEncode(_0x183c8a[_0x4818f4(0x195)])),_0x183c8a[_0x4818f4(0x192)]&&((_0x15ddc2=(_0x5e4055=_0x2be295['geometry'])===null||_0x5e4055===void 0x0?void 0x0:_0x5e4055[_0x4818f4(0x184)])===null||_0x15ddc2===void 0x0?void 0x0:_0x15ddc2[_0x4818f4(0x163)])>0x0&&_0x2be295[_0x4818f4(0x16e)][_0x4818f4(0x184)][_0x4818f4(0x191)](_0x2be295['geometry'][_0x4818f4(0x184)][0x0]);}const _0x4e4ecb=(_0x27dacc=_0x2be295===null||_0x2be295===void 0x0?void 0x0:_0x2be295[_0x4818f4(0x167)])===null||_0x27dacc===void 0x0?void 0x0:_0x27dacc[_0x4818f4(0x17a)];if(_0x4e4ecb===_0x4818f4(0x17b)){const _0x27988a=_0x2be295[_0x4818f4(0x16e)]['coordinates'][0x0];(_0x27988a===null||_0x27988a===void 0x0?void 0x0:_0x27988a[_0x4818f4(0x163)])>0x2&&_0x27988a[_0x4818f4(0x191)](_0x27988a[0x0]);}else{if(_0x4e4ecb===_0x4818f4(0x169)){const _0x5cc082=_0x2be295[_0x4818f4(0x16e)]['coordinates'],_0x299080=_0x5cc082[0x0][0x0],_0x5a384f=_0x5cc082[0x1][0x0],_0x45d9f1=_0x5cc082[0x0][0x1],_0x4ec832=_0x5cc082[0x1][0x1];_0x2be295[_0x4818f4(0x16e)]={'type':'Polygon','coordinates':[[[_0x299080,_0x4ec832],[_0x299080,_0x45d9f1],[_0x5a384f,_0x45d9f1],[_0x5a384f,_0x4ec832],[_0x299080,_0x4ec832]]]};}}}const getDom=_0x185ea5=>new DOMParser()[a7_0x4c1c9f(0x170)](_0x185ea5,a7_0x4c1c9f(0x174)),getExtension=_0x49a295=>_0x49a295[a7_0x4c1c9f(0x18a)]('.')['pop'](),getKmlDom=_0x406da1=>{const _0x5b8235=a7_0x4c1c9f,_0x97e895=new a7_0x33ca3e();return _0x97e895[_0x5b8235(0x178)](_0x406da1)[_0x5b8235(0x186)](_0x3e77b1=>{let _0x68d61e=null;return _0x3e77b1['forEach']((_0x144aec,_0x2f8f99)=>{const _0x593ab3=a7_0x242e;getExtension(_0x144aec)===_0x593ab3(0x187)&&_0x68d61e===null&&(_0x68d61e=_0x2f8f99[_0x593ab3(0x18b)](_0x593ab3(0x177))[_0x593ab3(0x186)](getDom));}),_0x68d61e;});};export function toGeoJSON(_0x57a699,_0x3bbc7e){const _0x226e68=a7_0x4c1c9f;if(!_0x57a699){console[_0x226e68(0x17f)]('toGeoJSON参数不能为空');return;}if(isString(_0x57a699)){const _0x50c308=getExtension(_0x57a699);if(_0x50c308===_0x226e68(0x187))return fetchXML(_0x57a699,_0x3bbc7e)[_0x226e68(0x186)](function(_0x393976){return kmlToGeoJSON(_0x393976);});else{if(_0x50c308===_0x226e68(0x16b))return fetchBlob(_0x57a699,_0x3bbc7e)[_0x226e68(0x186)](function(_0x332cf8){return getKmlDom(_0x332cf8);})['then'](function(_0x181592){return kmlToGeoJSON(_0x181592);});else{const _0x52ddc0=kmlToGeoJSON(getDom(_0x57a699));return Promise[_0x226e68(0x188)](_0x52ddc0);}}}else{if(_0x57a699[_0x226e68(0x179)]){const _0xf2c5b1=kmlToGeoJSON(_0x57a699);return Promise['resolve'](_0xf2c5b1);}else{const _0x18a5d4=_0x57a699[_0x226e68(0x166)][_0x226e68(0x18a)]('.')[_0x57a699[_0x226e68(0x166)]['split']('.')[_0x226e68(0x163)]-0x1]['toLowerCase']();return _0x18a5d4===_0x226e68(0x187)?_0x57a699[_0x226e68(0x16a)]()[_0x226e68(0x186)](_0x37408f=>{return kmlToGeoJSON(getDom(_0x37408f));}):getKmlDom(_0x57a699)[_0x226e68(0x186)](function(_0x4fe23c){return kmlToGeoJSON(_0x4fe23c);});}}}function isString(_0x5bf8d8){const _0xfd7a31=a7_0x4c1c9f;return typeof _0x5bf8d8===_0xfd7a31(0x177)&&_0x5bf8d8[_0xfd7a31(0x189)]===String;}function HTMLEncode(_0xbcb19d){const _0x4156ec=a7_0x4c1c9f,_0x59971e=document['createElement']('div');_0x59971e['textContent']!=null?_0x59971e[_0x4156ec(0x173)]=_0xbcb19d:_0x59971e[_0x4156ec(0x17c)]=_0xbcb19d;const _0x28b8da=_0x59971e[_0x4156ec(0x193)];return _0x28b8da;}function fetchXML(_0x4797ae,_0x5c5a4b){const _0x39772f=a7_0x4c1c9f,_0x441d38=Object[_0x39772f(0x18c)]({'method':'GET','headers':{'Content-Type':_0x39772f(0x174)}},_0x5c5a4b);return fetch(_0x4797ae,_0x441d38)[_0x39772f(0x186)](_0x284c03=>{return _0x284c03['text']();})[_0x39772f(0x186)](_0x39da2c=>{return getDom(_0x39da2c);});}function fetchBlob(_0x591113,_0x41ea8e){const _0x1aa394=a7_0x4c1c9f,_0x2e44bb=Object['assign']({'method':'GET'},_0x41ea8e);return fetch(_0x591113,_0x2e44bb)[_0x1aa394(0x186)](_0x1262a6=>{const _0xe7e495=_0x1aa394;return _0x1262a6[_0xe7e495(0x181)]();});}
@@ -1 +1 @@
1
- const a8_0x5a5f2b=a8_0x2307;(function(_0x484c3c,_0x4006ef){const _0x517dbc=a8_0x2307,_0x44d195=_0x484c3c();while(!![]){try{const _0xedea3d=parseInt(_0x517dbc(0x1f4))/0x1*(parseInt(_0x517dbc(0x1d6))/0x2)+parseInt(_0x517dbc(0x203))/0x3+parseInt(_0x517dbc(0x1e1))/0x4*(-parseInt(_0x517dbc(0x216))/0x5)+-parseInt(_0x517dbc(0x1f6))/0x6+parseInt(_0x517dbc(0x1e3))/0x7*(parseInt(_0x517dbc(0x1ec))/0x8)+-parseInt(_0x517dbc(0x1e0))/0x9*(parseInt(_0x517dbc(0x1e4))/0xa)+parseInt(_0x517dbc(0x1f2))/0xb;if(_0xedea3d===_0x4006ef)break;else _0x44d195['push'](_0x44d195['shift']());}catch(_0x16de95){_0x44d195['push'](_0x44d195['shift']());}}}(a8_0x3ed0,0x2bc06));function a8_0x3ed0(){const _0x2bb8e1=['styleHash','parse','LineStyle','579549sAyvzO','browser','outline','ExtendedData','coordinates','visibility','gx:coord','GeometryCollection','replace','name','substr','when','normal','geoms','color','begin','MultiGeometry','timestamp','styleUrl','5CIygdn','Track','width','Point','2hGvQhL','charCodeAt','FeatureCollection','Placemark','features','Feature','textContent','TimeSpan','gx:MultiTrack','getElementsByTagName','63HjNYva','859580ogNSKT','toString','7fLqeIP','216730PUMRTB','fill-opacity','stroke','xml','normalize','styleMapHash','xmldom','undefined','1078424VHPkZU','TimeStamp','coordTimes','serializeToString','StyleMap','MultiTrack','1466432myPWAI','push','209815lVpfDr','times','751806JlRaXn','getAttribute','coords','end','length','key','XMLSerializer','stroke-opacity','LineString','concat'];a8_0x3ed0=function(){return _0x2bb8e1;};return a8_0x3ed0();}function a8_0x2307(_0x283c9b,_0x5dfcc3){const _0x3ed09e=a8_0x3ed0();return a8_0x2307=function(_0x230703,_0x3d81ae){_0x230703=_0x230703-0x1d3;let _0x3d989c=_0x3ed09e[_0x230703];return _0x3d989c;},a8_0x2307(_0x283c9b,_0x5dfcc3);}const removeSpace=/\s*/g,trimSpace=/^\s*|\s*$/g,splitSpace=/\s+/;function okhash(_0x4f231c){const _0x3e2d42=a8_0x2307;if(!_0x4f231c||!_0x4f231c[_0x3e2d42(0x1fa)])return 0x0;for(var _0xcc6000=0x0,_0x1a9828=0x0;_0xcc6000<_0x4f231c[_0x3e2d42(0x1fa)];_0xcc6000++){_0x1a9828=(_0x1a9828<<0x5)-_0x1a9828+_0x4f231c[_0x3e2d42(0x1d7)](_0xcc6000)|0x0;}return _0x1a9828;}function get(_0x52231a,_0x1f08a8){const _0x357f35=a8_0x2307;return _0x52231a[_0x357f35(0x1df)](_0x1f08a8);}function attr(_0x159092,_0x33c91d){const _0x400117=a8_0x2307;return _0x159092[_0x400117(0x1f7)](_0x33c91d);}function attrf(_0x277e95,_0x381da6){return parseFloat(attr(_0x277e95,_0x381da6));}function get1(_0x29541c,_0x453866){const _0x396a16=a8_0x2307,_0x49c836=get(_0x29541c,_0x453866);return _0x49c836[_0x396a16(0x1fa)]?_0x49c836[0x0]:null;}function norm(_0x160f37){const _0x3303b7=a8_0x2307;return _0x160f37[_0x3303b7(0x1e8)]&&_0x160f37[_0x3303b7(0x1e8)](),_0x160f37;}function numarray(_0x45340f){for(var _0x1c730a=0x0,_0x31455f=[];_0x1c730a<_0x45340f['length'];_0x1c730a++){_0x31455f[_0x1c730a]=parseFloat(_0x45340f[_0x1c730a]);}return _0x31455f;}function nodeVal(_0x6d3d6){const _0x2f0600=a8_0x2307;return _0x6d3d6&&norm(_0x6d3d6),_0x6d3d6&&_0x6d3d6[_0x2f0600(0x1dc)]||'';}function coord1(_0x1cdb44){return numarray(_0x1cdb44['replace'](removeSpace,'')['split'](','));}function coord(_0x423ba9){const _0x411fd5=a8_0x2307,_0x1081ad=_0x423ba9[_0x411fd5(0x20b)](trimSpace,'')['split'](splitSpace),_0x5362c8=[];for(let _0x3b2edf=0x0;_0x3b2edf<_0x1081ad[_0x411fd5(0x1fa)];_0x3b2edf++){_0x5362c8[_0x411fd5(0x1f3)](coord1(_0x1081ad[_0x3b2edf]));}return _0x5362c8;}function fc(){const _0x3de029=a8_0x2307;return{'type':_0x3de029(0x1d8),'features':[]};}let serializer;if(typeof XMLSerializer!==a8_0x5a5f2b(0x1eb))serializer=new XMLSerializer();else typeof exports==='object'&&typeof process==='object'&&!process[a8_0x5a5f2b(0x204)]&&(serializer=new(require(a8_0x5a5f2b(0x1ea)))[(a8_0x5a5f2b(0x1fc))]());function xml2str(_0x5d26d2){const _0x2b5840=a8_0x5a5f2b;if(_0x5d26d2[_0x2b5840(0x1e7)]!==undefined)return _0x5d26d2[_0x2b5840(0x1e7)];return serializer[_0x2b5840(0x1ef)](_0x5d26d2);}export function kmlToGeoJSON(_0x1f168c){const _0x55df2b=a8_0x5a5f2b,_0x4a602f=fc(),_0x7f5c5={},_0x1676a0={},_0x33fc18={},_0x48253c=['Polygon',_0x55df2b(0x1fe),_0x55df2b(0x1d5),_0x55df2b(0x1d3),'gx:Track'],_0x54ed3d=get(_0x1f168c,_0x55df2b(0x1d9)),_0x2d3198=get(_0x1f168c,'Style'),_0x16cbd3=get(_0x1f168c,_0x55df2b(0x1f0));for(let _0x53b512=0x0;_0x53b512<_0x2d3198[_0x55df2b(0x1fa)];_0x53b512++){const _0x53ed05=okhash(xml2str(_0x2d3198[_0x53b512]))['toString'](0x10);_0x7f5c5['#'+attr(_0x2d3198[_0x53b512],'id')]=_0x53ed05,_0x1676a0[_0x53ed05]=_0x2d3198[_0x53b512];}for(let _0x29d031=0x0;_0x29d031<_0x16cbd3[_0x55df2b(0x1fa)];_0x29d031++){_0x7f5c5['#'+attr(_0x16cbd3[_0x29d031],'id')]=okhash(xml2str(_0x16cbd3[_0x29d031]))[_0x55df2b(0x1e2)](0x10);const _0x114edb=get(_0x16cbd3[_0x29d031],'Pair'),_0x1a3c8f={};for(let _0x5dd60f=0x0;_0x5dd60f<_0x114edb[_0x55df2b(0x1fa)];_0x5dd60f++){_0x1a3c8f[nodeVal(get1(_0x114edb[_0x5dd60f],_0x55df2b(0x1fb)))]=nodeVal(get1(_0x114edb[_0x5dd60f],'styleUrl'));}_0x33fc18['#'+attr(_0x16cbd3[_0x29d031],'id')]=_0x1a3c8f;}for(let _0x17b6d6=0x0;_0x17b6d6<_0x54ed3d['length'];_0x17b6d6++){_0x4a602f['features']=_0x4a602f[_0x55df2b(0x1da)][_0x55df2b(0x1ff)](_0xd6dcbb(_0x54ed3d[_0x17b6d6]));}function _0x30b92c(_0x5bd3ca){const _0x414e1d=_0x55df2b;let _0x234028,_0xf065fa=0x0;return _0x5bd3ca=_0x5bd3ca||'',_0x5bd3ca[_0x414e1d(0x20d)](0x0,0x1)==='#'&&(_0x5bd3ca=_0x5bd3ca['substr'](0x1)),(_0x5bd3ca['length']===0x6||_0x5bd3ca['length']===0x3)&&(_0x234028=_0x5bd3ca),_0x5bd3ca['length']===0x8&&(_0xf065fa=parseInt(_0x5bd3ca[_0x414e1d(0x20d)](0x0,0x2),0x10)/0xff,_0x234028='#'+_0x5bd3ca['substr'](0x6,0x2)+_0x5bd3ca[_0x414e1d(0x20d)](0x4,0x2)+_0x5bd3ca['substr'](0x2,0x2)),[_0x234028,isNaN(_0xf065fa)?undefined:_0xf065fa];}function _0x4d88a3(_0x37c439){return numarray(_0x37c439['split']('\x20'));}function _0x59585d(_0x3be6b0){const _0x1eb5c0=_0x55df2b;let _0x5b36f4=get(_0x3be6b0,'coord');const _0x11a777=[],_0x374bd1=[];_0x5b36f4[_0x1eb5c0(0x1fa)]===0x0&&(_0x5b36f4=get(_0x3be6b0,_0x1eb5c0(0x209)));for(let _0x15c219=0x0;_0x15c219<_0x5b36f4[_0x1eb5c0(0x1fa)];_0x15c219++){_0x11a777[_0x1eb5c0(0x1f3)](_0x4d88a3(nodeVal(_0x5b36f4[_0x15c219])));}const _0xfcac39=get(_0x3be6b0,_0x1eb5c0(0x20e));for(let _0x1331e7=0x0;_0x1331e7<_0xfcac39[_0x1eb5c0(0x1fa)];_0x1331e7++){_0x374bd1[_0x1eb5c0(0x1f3)](nodeVal(_0xfcac39[_0x1331e7]));}return{'coords':_0x11a777,'times':_0x374bd1};}function _0x581fa1(_0x45a44b){const _0x28ee6c=_0x55df2b;let _0x5cde77,_0x462946,_0x914af3,_0x58abdf,_0x352837;const _0x14d21a=[],_0x44907e=[];if(get1(_0x45a44b,_0x28ee6c(0x213)))return _0x581fa1(get1(_0x45a44b,_0x28ee6c(0x213)));if(get1(_0x45a44b,_0x28ee6c(0x1f1)))return _0x581fa1(get1(_0x45a44b,'MultiTrack'));if(get1(_0x45a44b,_0x28ee6c(0x1de)))return _0x581fa1(get1(_0x45a44b,_0x28ee6c(0x1de)));for(_0x914af3=0x0;_0x914af3<_0x48253c[_0x28ee6c(0x1fa)];_0x914af3++){_0x462946=get(_0x45a44b,_0x48253c[_0x914af3]);if(_0x462946)for(_0x58abdf=0x0;_0x58abdf<_0x462946[_0x28ee6c(0x1fa)];_0x58abdf++){_0x5cde77=_0x462946[_0x58abdf];if(_0x48253c[_0x914af3]==='Point')_0x14d21a[_0x28ee6c(0x1f3)]({'type':'Point','coordinates':coord1(nodeVal(get1(_0x5cde77,_0x28ee6c(0x207))))});else{if(_0x48253c[_0x914af3]==='LineString')_0x14d21a['push']({'type':'LineString','coordinates':coord(nodeVal(get1(_0x5cde77,_0x28ee6c(0x207))))});else{if(_0x48253c[_0x914af3]==='Polygon'){const _0x14f23c=get(_0x5cde77,'LinearRing'),_0x2a5831=[];for(_0x352837=0x0;_0x352837<_0x14f23c['length'];_0x352837++){_0x2a5831['push'](coord(nodeVal(get1(_0x14f23c[_0x352837],_0x28ee6c(0x207)))));}_0x14d21a[_0x28ee6c(0x1f3)]({'type':'Polygon','coordinates':_0x2a5831});}else{if(_0x48253c[_0x914af3]===_0x28ee6c(0x1d3)||_0x48253c[_0x914af3]==='gx:Track'){const _0x215d4d=_0x59585d(_0x5cde77);_0x14d21a[_0x28ee6c(0x1f3)]({'type':_0x28ee6c(0x1fe),'coordinates':_0x215d4d[_0x28ee6c(0x1f8)]}),_0x215d4d['times']['length']&&_0x44907e[_0x28ee6c(0x1f3)](_0x215d4d[_0x28ee6c(0x1f5)]);}}}}}}return{'geoms':_0x14d21a,'coordTimes':_0x44907e};}function _0xd6dcbb(_0x121779){const _0x33707d=_0x55df2b,_0x774c5d=_0x581fa1(_0x121779);let _0x2d0277;const _0x53b5b2={},_0x31f9df=nodeVal(get1(_0x121779,_0x33707d(0x20c)));let _0x37e919=nodeVal(get1(_0x121779,_0x33707d(0x215)));const _0xd634b2=nodeVal(get1(_0x121779,'description')),_0x3961b7=get1(_0x121779,_0x33707d(0x1dd)),_0x2a73f9=get1(_0x121779,_0x33707d(0x1ed)),_0x595519=get1(_0x121779,_0x33707d(0x206));let _0x1e3d60=get1(_0x121779,'LineStyle'),_0x3fc95b=get1(_0x121779,'PolyStyle');const _0x596764=get1(_0x121779,_0x33707d(0x208));if(!_0x774c5d['geoms'][_0x33707d(0x1fa)])return[];_0x31f9df&&(_0x53b5b2[_0x33707d(0x20c)]=_0x31f9df);if(_0x37e919){_0x37e919[0x0]!=='#'&&(_0x37e919='#'+_0x37e919);_0x53b5b2[_0x33707d(0x215)]=_0x37e919;_0x7f5c5[_0x37e919]&&(_0x53b5b2['styleHash']=_0x7f5c5[_0x37e919]);_0x33fc18[_0x37e919]&&(_0x53b5b2[_0x33707d(0x1e9)]=_0x33fc18[_0x37e919],_0x53b5b2[_0x33707d(0x200)]=_0x7f5c5[_0x33fc18[_0x37e919][_0x33707d(0x20f)]]);const _0x1290bb=_0x1676a0[_0x53b5b2[_0x33707d(0x200)]];_0x1290bb&&(!_0x1e3d60&&(_0x1e3d60=get1(_0x1290bb,_0x33707d(0x202))),!_0x3fc95b&&(_0x3fc95b=get1(_0x1290bb,'PolyStyle')));}_0xd634b2&&(_0x53b5b2['description']=_0xd634b2);if(_0x3961b7){const _0x3dd94e=nodeVal(get1(_0x3961b7,_0x33707d(0x212))),_0x15de69=nodeVal(get1(_0x3961b7,_0x33707d(0x1f9)));_0x53b5b2['timespan']={'begin':_0x3dd94e,'end':_0x15de69};}_0x2a73f9&&(_0x53b5b2[_0x33707d(0x214)]=nodeVal(get1(_0x2a73f9,_0x33707d(0x20e))));if(_0x1e3d60){const _0x47cd94=_0x30b92c(nodeVal(get1(_0x1e3d60,_0x33707d(0x211)))),_0x51a4dd=_0x47cd94[0x0],_0xb9bf9a=_0x47cd94[0x1],_0x5a1e6d=parseFloat(nodeVal(get1(_0x1e3d60,_0x33707d(0x1d4))));_0x51a4dd&&(_0x53b5b2[_0x33707d(0x1e6)]=_0x51a4dd),!isNaN(_0xb9bf9a)&&(_0x53b5b2[_0x33707d(0x1fd)]=_0xb9bf9a),!isNaN(_0x5a1e6d)&&(_0x53b5b2['stroke-width']=_0x5a1e6d);}if(_0x3fc95b){const _0x514372=_0x30b92c(nodeVal(get1(_0x3fc95b,'color'))),_0x1425da=_0x514372[0x0],_0x1d4a67=_0x514372[0x1],_0x42a08e=nodeVal(get1(_0x3fc95b,'fill')),_0x44612b=nodeVal(get1(_0x3fc95b,_0x33707d(0x205)));_0x1425da&&(_0x53b5b2['fill']=_0x1425da),!isNaN(_0x1d4a67)&&(_0x53b5b2[_0x33707d(0x1e5)]=_0x1d4a67),_0x42a08e&&(_0x53b5b2[_0x33707d(0x1e5)]=_0x42a08e==='1'?_0x53b5b2[_0x33707d(0x1e5)]||0x1:0x0),_0x44612b&&(_0x53b5b2[_0x33707d(0x1fd)]=_0x44612b==='1'?_0x53b5b2[_0x33707d(0x1fd)]||0x1:0x0);}if(_0x595519){const _0x2e5a85=get(_0x595519,'Data'),_0x9c6367=get(_0x595519,'SimpleData');for(_0x2d0277=0x0;_0x2d0277<_0x2e5a85[_0x33707d(0x1fa)];_0x2d0277++){const _0x5f2422=_0x2e5a85[_0x2d0277][_0x33707d(0x1f7)]('name');let _0x16feb4=nodeVal(get1(_0x2e5a85[_0x2d0277],'value'));try{_0x16feb4=JSON['parse'](_0x16feb4);}catch(_0x2d6dd6){}_0x53b5b2[_0x5f2422]=_0x16feb4;}for(_0x2d0277=0x0;_0x2d0277<_0x9c6367[_0x33707d(0x1fa)];_0x2d0277++){const _0x4ede61=_0x9c6367[_0x2d0277]['getAttribute'](_0x33707d(0x20c));let _0x5abc23=nodeVal(_0x9c6367[_0x2d0277]);try{_0x5abc23=JSON[_0x33707d(0x201)](_0x5abc23);}catch(_0x47f96a){}_0x53b5b2[_0x4ede61]=_0x5abc23;}}_0x596764&&(_0x53b5b2['visibility']=nodeVal(_0x596764));_0x774c5d[_0x33707d(0x1ee)][_0x33707d(0x1fa)]&&(_0x53b5b2['coordTimes']=_0x774c5d['coordTimes'][_0x33707d(0x1fa)]===0x1?_0x774c5d[_0x33707d(0x1ee)][0x0]:_0x774c5d[_0x33707d(0x1ee)]);const _0x58e6a7={'type':_0x33707d(0x1db),'geometry':_0x774c5d[_0x33707d(0x210)][_0x33707d(0x1fa)]===0x1?_0x774c5d['geoms'][0x0]:{'type':_0x33707d(0x20a),'geometries':_0x774c5d[_0x33707d(0x210)]},'properties':_0x53b5b2};return attr(_0x121779,'id')&&(_0x58e6a7['id']=attr(_0x121779,'id')),[_0x58e6a7];}return _0x4a602f;}
1
+ const a8_0x20b41c=a8_0x1ca2;(function(_0x331a52,_0x302b5e){const _0x59e071=a8_0x1ca2,_0x185ddb=_0x331a52();while(!![]){try{const _0x3e249d=-parseInt(_0x59e071(0x16d))/0x1+-parseInt(_0x59e071(0x158))/0x2+-parseInt(_0x59e071(0x179))/0x3*(parseInt(_0x59e071(0x15d))/0x4)+-parseInt(_0x59e071(0x14b))/0x5*(-parseInt(_0x59e071(0x171))/0x6)+parseInt(_0x59e071(0x155))/0x7+-parseInt(_0x59e071(0x15b))/0x8+parseInt(_0x59e071(0x178))/0x9;if(_0x3e249d===_0x302b5e)break;else _0x185ddb['push'](_0x185ddb['shift']());}catch(_0x50a517){_0x185ddb['push'](_0x185ddb['shift']());}}}(a8_0x19b5,0xa1c34));const removeSpace=/\s*/g,trimSpace=/^\s*|\s*$/g,splitSpace=/\s+/;function okhash(_0x51e222){const _0x4deb00=a8_0x1ca2;if(!_0x51e222||!_0x51e222[_0x4deb00(0x175)])return 0x0;for(var _0x26a63c=0x0,_0x27c94a=0x0;_0x26a63c<_0x51e222[_0x4deb00(0x175)];_0x26a63c++){_0x27c94a=(_0x27c94a<<0x5)-_0x27c94a+_0x51e222[_0x4deb00(0x187)](_0x26a63c)|0x0;}return _0x27c94a;}function get(_0x14d803,_0x182b8a){const _0x1ec59d=a8_0x1ca2;return _0x14d803[_0x1ec59d(0x174)](_0x182b8a);}function attr(_0x16bc06,_0x37b458){const _0x3c1dc4=a8_0x1ca2;return _0x16bc06[_0x3c1dc4(0x15f)](_0x37b458);}function a8_0x1ca2(_0xde3016,_0x5f13fd){const _0x19b5d0=a8_0x19b5();return a8_0x1ca2=function(_0x1ca275,_0x401b5c){_0x1ca275=_0x1ca275-0x146;let _0x1d0550=_0x19b5d0[_0x1ca275];return _0x1d0550;},a8_0x1ca2(_0xde3016,_0x5f13fd);}function attrf(_0x1d4fee,_0x5c1e8d){return parseFloat(attr(_0x1d4fee,_0x5c1e8d));}function get1(_0x52eddc,_0x23a101){const _0x4904e5=a8_0x1ca2,_0xf30775=get(_0x52eddc,_0x23a101);return _0xf30775[_0x4904e5(0x175)]?_0xf30775[0x0]:null;}function norm(_0x5c5fe5){const _0x40b44d=a8_0x1ca2;return _0x5c5fe5[_0x40b44d(0x163)]&&_0x5c5fe5[_0x40b44d(0x163)](),_0x5c5fe5;}function numarray(_0x53ef58){const _0x132deb=a8_0x1ca2;for(var _0x37ff20=0x0,_0x37eaef=[];_0x37ff20<_0x53ef58[_0x132deb(0x175)];_0x37ff20++){_0x37eaef[_0x37ff20]=parseFloat(_0x53ef58[_0x37ff20]);}return _0x37eaef;}function nodeVal(_0x18bedb){const _0x29e9af=a8_0x1ca2;return _0x18bedb&&norm(_0x18bedb),_0x18bedb&&_0x18bedb[_0x29e9af(0x188)]||'';}function a8_0x19b5(){const _0x56526f=['stroke-width','value','serializeToString','LineStyle','color','Point','2027011GlGuny','push','end','1882700aKkOIQ','StyleMap','fill-opacity','10283584QhdXvW','gx:MultiTrack','1072eakMLf','coordinates','getAttribute','features','replace','width','normalize','TimeStamp','LineString','Polygon','begin','Pair','concat','coordTimes','PolyStyle','FeatureCollection','1165035aezjBn','GeometryCollection','Data','xmldom','838002qJlCSA','description','TimeSpan','getElementsByTagName','length','XMLSerializer','geoms','42028533ggMTTi','11694vxcgXM','timespan','toString','stroke-opacity','visibility','substr','Feature','coord','object','ExtendedData','Track','timestamp','times','when','charCodeAt','textContent','MultiGeometry','styleUrl','parse','name','gx:coord','MultiTrack','split','5uHGYwr','styleHash','fill','browser'];a8_0x19b5=function(){return _0x56526f;};return a8_0x19b5();}function coord1(_0x581e03){const _0x2882cd=a8_0x1ca2;return numarray(_0x581e03[_0x2882cd(0x161)](removeSpace,'')['split'](','));}function coord(_0x26e4c4){const _0x3e8641=a8_0x1ca2,_0xf831c=_0x26e4c4[_0x3e8641(0x161)](trimSpace,'')[_0x3e8641(0x14a)](splitSpace),_0x4f05af=[];for(let _0x33591b=0x0;_0x33591b<_0xf831c[_0x3e8641(0x175)];_0x33591b++){_0x4f05af[_0x3e8641(0x156)](coord1(_0xf831c[_0x33591b]));}return _0x4f05af;}function fc(){const _0x293c92=a8_0x1ca2;return{'type':_0x293c92(0x16c),'features':[]};}let serializer;if(typeof XMLSerializer!=='undefined')serializer=new XMLSerializer();else typeof exports===a8_0x20b41c(0x181)&&typeof process===a8_0x20b41c(0x181)&&!process[a8_0x20b41c(0x14e)]&&(serializer=new(require(a8_0x20b41c(0x170)))[(a8_0x20b41c(0x176))]());function xml2str(_0x1b62c3){const _0x145c9a=a8_0x20b41c;if(_0x1b62c3['xml']!==undefined)return _0x1b62c3['xml'];return serializer[_0x145c9a(0x151)](_0x1b62c3);}export function kmlToGeoJSON(_0x725d1f){const _0x3e53a2=a8_0x20b41c,_0x29c2f1=fc(),_0x14d7ac={},_0x5af1e4={},_0x49f4d1={},_0x4e1164=[_0x3e53a2(0x166),_0x3e53a2(0x165),_0x3e53a2(0x154),_0x3e53a2(0x183),'gx:Track'],_0x402c8f=get(_0x725d1f,'Placemark'),_0x5c94b5=get(_0x725d1f,'Style'),_0x1983fb=get(_0x725d1f,_0x3e53a2(0x159));for(let _0x40c33d=0x0;_0x40c33d<_0x5c94b5[_0x3e53a2(0x175)];_0x40c33d++){const _0x141e82=okhash(xml2str(_0x5c94b5[_0x40c33d]))[_0x3e53a2(0x17b)](0x10);_0x14d7ac['#'+attr(_0x5c94b5[_0x40c33d],'id')]=_0x141e82,_0x5af1e4[_0x141e82]=_0x5c94b5[_0x40c33d];}for(let _0x5ac3e1=0x0;_0x5ac3e1<_0x1983fb['length'];_0x5ac3e1++){_0x14d7ac['#'+attr(_0x1983fb[_0x5ac3e1],'id')]=okhash(xml2str(_0x1983fb[_0x5ac3e1]))[_0x3e53a2(0x17b)](0x10);const _0x43c814=get(_0x1983fb[_0x5ac3e1],_0x3e53a2(0x168)),_0x4492d1={};for(let _0xea0b47=0x0;_0xea0b47<_0x43c814[_0x3e53a2(0x175)];_0xea0b47++){_0x4492d1[nodeVal(get1(_0x43c814[_0xea0b47],'key'))]=nodeVal(get1(_0x43c814[_0xea0b47],'styleUrl'));}_0x49f4d1['#'+attr(_0x1983fb[_0x5ac3e1],'id')]=_0x4492d1;}for(let _0x5ae17c=0x0;_0x5ae17c<_0x402c8f[_0x3e53a2(0x175)];_0x5ae17c++){_0x29c2f1['features']=_0x29c2f1[_0x3e53a2(0x160)][_0x3e53a2(0x169)](_0x4589c3(_0x402c8f[_0x5ae17c]));}function _0x15008c(_0x52f56b){const _0x47a6c9=_0x3e53a2;let _0x2fd2ec,_0x1ef78b=0x0;return _0x52f56b=_0x52f56b||'',_0x52f56b['substr'](0x0,0x1)==='#'&&(_0x52f56b=_0x52f56b[_0x47a6c9(0x17e)](0x1)),(_0x52f56b['length']===0x6||_0x52f56b[_0x47a6c9(0x175)]===0x3)&&(_0x2fd2ec=_0x52f56b),_0x52f56b[_0x47a6c9(0x175)]===0x8&&(_0x1ef78b=parseInt(_0x52f56b[_0x47a6c9(0x17e)](0x0,0x2),0x10)/0xff,_0x2fd2ec='#'+_0x52f56b[_0x47a6c9(0x17e)](0x6,0x2)+_0x52f56b[_0x47a6c9(0x17e)](0x4,0x2)+_0x52f56b[_0x47a6c9(0x17e)](0x2,0x2)),[_0x2fd2ec,isNaN(_0x1ef78b)?undefined:_0x1ef78b];}function _0x429af6(_0x4f0f85){const _0x3c32bb=_0x3e53a2;return numarray(_0x4f0f85[_0x3c32bb(0x14a)]('\x20'));}function _0x55400b(_0x2e9739){const _0x332954=_0x3e53a2;let _0x30203f=get(_0x2e9739,_0x332954(0x180));const _0x2f13bc=[],_0x58c4c1=[];_0x30203f['length']===0x0&&(_0x30203f=get(_0x2e9739,_0x332954(0x148)));for(let _0x4d2473=0x0;_0x4d2473<_0x30203f[_0x332954(0x175)];_0x4d2473++){_0x2f13bc[_0x332954(0x156)](_0x429af6(nodeVal(_0x30203f[_0x4d2473])));}const _0x2d61aa=get(_0x2e9739,_0x332954(0x186));for(let _0x15d74d=0x0;_0x15d74d<_0x2d61aa['length'];_0x15d74d++){_0x58c4c1[_0x332954(0x156)](nodeVal(_0x2d61aa[_0x15d74d]));}return{'coords':_0x2f13bc,'times':_0x58c4c1};}function _0x3ec1e1(_0x54fafa){const _0x4eaa1b=_0x3e53a2;let _0xe7b6fc,_0x325062,_0x27fd2a,_0xe57cc3,_0x40198e;const _0x5791ef=[],_0x12f171=[];if(get1(_0x54fafa,'MultiGeometry'))return _0x3ec1e1(get1(_0x54fafa,_0x4eaa1b(0x189)));if(get1(_0x54fafa,_0x4eaa1b(0x149)))return _0x3ec1e1(get1(_0x54fafa,_0x4eaa1b(0x149)));if(get1(_0x54fafa,_0x4eaa1b(0x15c)))return _0x3ec1e1(get1(_0x54fafa,_0x4eaa1b(0x15c)));for(_0x27fd2a=0x0;_0x27fd2a<_0x4e1164['length'];_0x27fd2a++){_0x325062=get(_0x54fafa,_0x4e1164[_0x27fd2a]);if(_0x325062)for(_0xe57cc3=0x0;_0xe57cc3<_0x325062[_0x4eaa1b(0x175)];_0xe57cc3++){_0xe7b6fc=_0x325062[_0xe57cc3];if(_0x4e1164[_0x27fd2a]===_0x4eaa1b(0x154))_0x5791ef[_0x4eaa1b(0x156)]({'type':'Point','coordinates':coord1(nodeVal(get1(_0xe7b6fc,_0x4eaa1b(0x15e))))});else{if(_0x4e1164[_0x27fd2a]===_0x4eaa1b(0x165))_0x5791ef[_0x4eaa1b(0x156)]({'type':_0x4eaa1b(0x165),'coordinates':coord(nodeVal(get1(_0xe7b6fc,_0x4eaa1b(0x15e))))});else{if(_0x4e1164[_0x27fd2a]===_0x4eaa1b(0x166)){const _0x1d0381=get(_0xe7b6fc,'LinearRing'),_0x344979=[];for(_0x40198e=0x0;_0x40198e<_0x1d0381[_0x4eaa1b(0x175)];_0x40198e++){_0x344979[_0x4eaa1b(0x156)](coord(nodeVal(get1(_0x1d0381[_0x40198e],_0x4eaa1b(0x15e)))));}_0x5791ef['push']({'type':'Polygon','coordinates':_0x344979});}else{if(_0x4e1164[_0x27fd2a]===_0x4eaa1b(0x183)||_0x4e1164[_0x27fd2a]==='gx:Track'){const _0x52aff0=_0x55400b(_0xe7b6fc);_0x5791ef[_0x4eaa1b(0x156)]({'type':'LineString','coordinates':_0x52aff0['coords']}),_0x52aff0[_0x4eaa1b(0x185)][_0x4eaa1b(0x175)]&&_0x12f171[_0x4eaa1b(0x156)](_0x52aff0['times']);}}}}}}return{'geoms':_0x5791ef,'coordTimes':_0x12f171};}function _0x4589c3(_0x23573f){const _0x313440=_0x3e53a2,_0x2e2cc3=_0x3ec1e1(_0x23573f);let _0x59e9ae;const _0x5e5ef9={},_0x4607f1=nodeVal(get1(_0x23573f,_0x313440(0x147)));let _0x4f390d=nodeVal(get1(_0x23573f,_0x313440(0x18a)));const _0x5bc19b=nodeVal(get1(_0x23573f,_0x313440(0x172))),_0x33f3ce=get1(_0x23573f,_0x313440(0x173)),_0x571e35=get1(_0x23573f,_0x313440(0x164)),_0x53c298=get1(_0x23573f,_0x313440(0x182));let _0x474d48=get1(_0x23573f,_0x313440(0x152)),_0x49a5e5=get1(_0x23573f,_0x313440(0x16b));const _0x3c6842=get1(_0x23573f,_0x313440(0x17d));if(!_0x2e2cc3[_0x313440(0x177)][_0x313440(0x175)])return[];_0x4607f1&&(_0x5e5ef9[_0x313440(0x147)]=_0x4607f1);if(_0x4f390d){_0x4f390d[0x0]!=='#'&&(_0x4f390d='#'+_0x4f390d);_0x5e5ef9[_0x313440(0x18a)]=_0x4f390d;_0x14d7ac[_0x4f390d]&&(_0x5e5ef9['styleHash']=_0x14d7ac[_0x4f390d]);_0x49f4d1[_0x4f390d]&&(_0x5e5ef9['styleMapHash']=_0x49f4d1[_0x4f390d],_0x5e5ef9[_0x313440(0x14c)]=_0x14d7ac[_0x49f4d1[_0x4f390d]['normal']]);const _0x5c258b=_0x5af1e4[_0x5e5ef9[_0x313440(0x14c)]];_0x5c258b&&(!_0x474d48&&(_0x474d48=get1(_0x5c258b,'LineStyle')),!_0x49a5e5&&(_0x49a5e5=get1(_0x5c258b,'PolyStyle')));}_0x5bc19b&&(_0x5e5ef9[_0x313440(0x172)]=_0x5bc19b);if(_0x33f3ce){const _0x1a95c2=nodeVal(get1(_0x33f3ce,_0x313440(0x167))),_0x1ed102=nodeVal(get1(_0x33f3ce,_0x313440(0x157)));_0x5e5ef9[_0x313440(0x17a)]={'begin':_0x1a95c2,'end':_0x1ed102};}_0x571e35&&(_0x5e5ef9[_0x313440(0x184)]=nodeVal(get1(_0x571e35,_0x313440(0x186))));if(_0x474d48){const _0x22a971=_0x15008c(nodeVal(get1(_0x474d48,'color'))),_0x501330=_0x22a971[0x0],_0x3b050c=_0x22a971[0x1],_0x108abc=parseFloat(nodeVal(get1(_0x474d48,_0x313440(0x162))));_0x501330&&(_0x5e5ef9['stroke']=_0x501330),!isNaN(_0x3b050c)&&(_0x5e5ef9[_0x313440(0x17c)]=_0x3b050c),!isNaN(_0x108abc)&&(_0x5e5ef9[_0x313440(0x14f)]=_0x108abc);}if(_0x49a5e5){const _0x46a5bf=_0x15008c(nodeVal(get1(_0x49a5e5,_0x313440(0x153)))),_0x437d24=_0x46a5bf[0x0],_0x412ed7=_0x46a5bf[0x1],_0x13d47e=nodeVal(get1(_0x49a5e5,'fill')),_0x1ec139=nodeVal(get1(_0x49a5e5,'outline'));_0x437d24&&(_0x5e5ef9[_0x313440(0x14d)]=_0x437d24),!isNaN(_0x412ed7)&&(_0x5e5ef9['fill-opacity']=_0x412ed7),_0x13d47e&&(_0x5e5ef9[_0x313440(0x15a)]=_0x13d47e==='1'?_0x5e5ef9[_0x313440(0x15a)]||0x1:0x0),_0x1ec139&&(_0x5e5ef9[_0x313440(0x17c)]=_0x1ec139==='1'?_0x5e5ef9[_0x313440(0x17c)]||0x1:0x0);}if(_0x53c298){const _0x40c121=get(_0x53c298,_0x313440(0x16f)),_0xe5ac76=get(_0x53c298,'SimpleData');for(_0x59e9ae=0x0;_0x59e9ae<_0x40c121['length'];_0x59e9ae++){const _0x2d2ca9=_0x40c121[_0x59e9ae][_0x313440(0x15f)]('name');let _0x326dec=nodeVal(get1(_0x40c121[_0x59e9ae],_0x313440(0x150)));try{_0x326dec=JSON[_0x313440(0x146)](_0x326dec);}catch(_0x51bb7e){}_0x5e5ef9[_0x2d2ca9]=_0x326dec;}for(_0x59e9ae=0x0;_0x59e9ae<_0xe5ac76[_0x313440(0x175)];_0x59e9ae++){const _0x4c7143=_0xe5ac76[_0x59e9ae]['getAttribute'](_0x313440(0x147));let _0x483842=nodeVal(_0xe5ac76[_0x59e9ae]);try{_0x483842=JSON[_0x313440(0x146)](_0x483842);}catch(_0xfac014){}_0x5e5ef9[_0x4c7143]=_0x483842;}}_0x3c6842&&(_0x5e5ef9[_0x313440(0x17d)]=nodeVal(_0x3c6842));_0x2e2cc3['coordTimes'][_0x313440(0x175)]&&(_0x5e5ef9[_0x313440(0x16a)]=_0x2e2cc3[_0x313440(0x16a)]['length']===0x1?_0x2e2cc3['coordTimes'][0x0]:_0x2e2cc3[_0x313440(0x16a)]);const _0xa721bc={'type':_0x313440(0x17f),'geometry':_0x2e2cc3['geoms'][_0x313440(0x175)]===0x1?_0x2e2cc3[_0x313440(0x177)][0x0]:{'type':_0x313440(0x16e),'geometries':_0x2e2cc3['geoms']},'properties':_0x5e5ef9};return attr(_0x23573f,'id')&&(_0xa721bc['id']=attr(_0x23573f,'id')),[_0xa721bc];}return _0x29c2f1;}
package/entity/Feature.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5d3c11,_0x20e8c7){var _0x5b812b=a10_0x1a43,_0x1326a2=_0x5d3c11();while(!![]){try{var _0xf5d3a4=parseInt(_0x5b812b(0x164))/0x1+parseInt(_0x5b812b(0x169))/0x2*(parseInt(_0x5b812b(0x167))/0x3)+-parseInt(_0x5b812b(0x16a))/0x4*(parseInt(_0x5b812b(0x162))/0x5)+parseInt(_0x5b812b(0x166))/0x6+parseInt(_0x5b812b(0x165))/0x7+parseInt(_0x5b812b(0x163))/0x8*(parseInt(_0x5b812b(0x168))/0x9)+-parseInt(_0x5b812b(0x160))/0xa*(parseInt(_0x5b812b(0x161))/0xb);if(_0xf5d3a4===_0x20e8c7)break;else _0x1326a2['push'](_0x1326a2['shift']());}catch(_0x3b43d9){_0x1326a2['push'](_0x1326a2['shift']());}}}(a10_0x23a6,0xa9e90));function a10_0x23a6(){var _0x5a097e=['525340IYhnBL','286boFktP','6164995wQiZsB','8LbupFv','160403dYrYOQ','4010104SGNvVL','3455646XGlJza','120027gVclyq','11749194tHcNLK','34IbELjq','4ErOEQN'];a10_0x23a6=function(){return _0x5a097e;};return a10_0x23a6();}import{Feature as a10_0x236c67}from'ol';function a10_0x1a43(_0x279a83,_0x1c277a){var _0x23a6c5=a10_0x23a6();return a10_0x1a43=function(_0x1a4395,_0x218285){_0x1a4395=_0x1a4395-0x160;var _0x4b60ed=_0x23a6c5[_0x1a4395];return _0x4b60ed;},a10_0x1a43(_0x279a83,_0x1c277a);}export default class Feature extends a10_0x236c67{constructor(){super();}}
1
+ function a10_0x407a(_0xe3ff9c,_0x3f1149){var _0x5e668d=a10_0x5e66();return a10_0x407a=function(_0x407a8d,_0x307561){_0x407a8d=_0x407a8d-0xc5;var _0x288aad=_0x5e668d[_0x407a8d];return _0x288aad;},a10_0x407a(_0xe3ff9c,_0x3f1149);}function a10_0x5e66(){var _0x113cb5=['18zOHqXn','36KeYequ','57vUhCmj','391331MpvQsc','135935YTTqpe','38342fRXxpr','290304lrihPC','12tfFbUT','3544739xQxvOB','209600HBoZhV','9oOmeGt','909979SaZsqJ'];a10_0x5e66=function(){return _0x113cb5;};return a10_0x5e66();}(function(_0x3b2b55,_0x5a932e){var _0x4ade08=a10_0x407a,_0x11da7a=_0x3b2b55();while(!![]){try{var _0x4881c7=parseInt(_0x4ade08(0xc5))/0x1+-parseInt(_0x4ade08(0xc7))/0x2*(parseInt(_0x4ade08(0xd0))/0x3)+-parseInt(_0x4ade08(0xcf))/0x4*(-parseInt(_0x4ade08(0xc6))/0x5)+-parseInt(_0x4ade08(0xce))/0x6*(parseInt(_0x4ade08(0xcd))/0x7)+parseInt(_0x4ade08(0xc8))/0x8+-parseInt(_0x4ade08(0xcc))/0x9*(parseInt(_0x4ade08(0xcb))/0xa)+-parseInt(_0x4ade08(0xca))/0xb*(-parseInt(_0x4ade08(0xc9))/0xc);if(_0x4881c7===_0x5a932e)break;else _0x11da7a['push'](_0x11da7a['shift']());}catch(_0x5ac498){_0x11da7a['push'](_0x11da7a['shift']());}}}(a10_0x5e66,0x358d7));import{Feature as a10_0x11a9ad}from'ol';export default class Feature extends a10_0x11a9ad{constructor(){super();}}
@@ -1 +1 @@
1
- var a11_0x408f2d=a11_0x455b;(function(_0x2a074d,_0x237432){var _0x48feec=a11_0x455b,_0xeaecd4=_0x2a074d();while(!![]){try{var _0x15bdc6=parseInt(_0x48feec(0xb5))/0x1+parseInt(_0x48feec(0xa6))/0x2+-parseInt(_0x48feec(0xb8))/0x3*(parseInt(_0x48feec(0xba))/0x4)+-parseInt(_0x48feec(0xb7))/0x5*(parseInt(_0x48feec(0xa2))/0x6)+parseInt(_0x48feec(0xbb))/0x7*(parseInt(_0x48feec(0xa5))/0x8)+-parseInt(_0x48feec(0xb9))/0x9+-parseInt(_0x48feec(0xb6))/0xa;if(_0x15bdc6===_0x237432)break;else _0xeaecd4['push'](_0xeaecd4['shift']());}catch(_0x5b24a8){_0xeaecd4['push'](_0xeaecd4['shift']());}}}(a11_0x58b8,0xe0dce));class GeometryType{}GeometryType['Point']=a11_0x408f2d(0xa4),GeometryType[a11_0x408f2d(0xad)]=a11_0x408f2d(0xb2),GeometryType[a11_0x408f2d(0xaf)]=a11_0x408f2d(0xa7),GeometryType['Rectangle']=a11_0x408f2d(0xae),GeometryType[a11_0x408f2d(0xaa)]=a11_0x408f2d(0xb4),GeometryType['Curve']=a11_0x408f2d(0xa0),GeometryType['Ellipse']=a11_0x408f2d(0xa9),GeometryType[a11_0x408f2d(0xa8)]='ellipsoid',GeometryType[a11_0x408f2d(0xab)]=a11_0x408f2d(0xb0),GeometryType[a11_0x408f2d(0xa1)]=a11_0x408f2d(0x9f),GeometryType[a11_0x408f2d(0xac)]='arrow_pincerlike',GeometryType[a11_0x408f2d(0xb1)]=a11_0x408f2d(0xa3),GeometryType[a11_0x408f2d(0xb3)]='surface-closed';export default GeometryType;function a11_0x455b(_0x34cc71,_0x36842f){var _0x58b8a2=a11_0x58b8();return a11_0x455b=function(_0x455b10,_0x69fe4f){_0x455b10=_0x455b10-0x9f;var _0x568d7b=_0x58b8a2[_0x455b10];return _0x568d7b;},a11_0x455b(_0x34cc71,_0x36842f);}function a11_0x58b8(){var _0x43153e=['polygon','Ellipsoid','ellipse','Circle','Arrow','ArrowPincerlike','PolyLine','rectangle','Polygon','arrow','AssemblySite','polyline','SurfaceClosed','circle','1029328LgdLqc','9779110uumUEA','3945dGIIwL','15kaocEx','4988331RDSznr','283204DtHhPN','8470357VLtYHA','arrow_attack','curve','ArrowAttack','8898dlbJLs','assembly_site','point','8jLCWkh','3475842FzEsth'];a11_0x58b8=function(){return _0x43153e;};return a11_0x58b8();}
1
+ function a11_0x2c28(){var _0x17b37c=['6eeEgKt','SurfaceClosed','rectangle','Circle','16QgCyZO','165BhhKhz','Curve','polygon','ArrowPincerlike','16795308tWEDER','Point','surface-closed','arrow_pincerlike','1513547NXQuPc','ellipsoid','polyline','333650BjIjWj','Arrow','arrow','AssemblySite','curve','72dySFUB','PolyLine','Rectangle','432252qTpLgM','ArrowAttack','Ellipsoid','point','assembly_site','13nOACtE','2261280ujJKlo','1GEKUmB','249015MvQKpY','ellipse','485752dsVQfx'];a11_0x2c28=function(){return _0x17b37c;};return a11_0x2c28();}function a11_0x4db5(_0x566519,_0x119cda){var _0x2c2815=a11_0x2c28();return a11_0x4db5=function(_0x4db538,_0x28e814){_0x4db538=_0x4db538-0xd5;var _0xa52273=_0x2c2815[_0x4db538];return _0xa52273;},a11_0x4db5(_0x566519,_0x119cda);}var a11_0x26960b=a11_0x4db5;(function(_0x4d19f1,_0x447184){var _0x50663d=a11_0x4db5,_0x29449c=_0x4d19f1();while(!![]){try{var _0x16c705=-parseInt(_0x50663d(0xed))/0x1*(parseInt(_0x50663d(0xf0))/0x2)+-parseInt(_0x50663d(0xee))/0x3*(-parseInt(_0x50663d(0xf5))/0x4)+parseInt(_0x50663d(0xec))/0x5+-parseInt(_0x50663d(0xf1))/0x6*(-parseInt(_0x50663d(0xdb))/0x7)+parseInt(_0x50663d(0xe3))/0x8*(parseInt(_0x50663d(0xe6))/0x9)+-parseInt(_0x50663d(0xde))/0xa*(-parseInt(_0x50663d(0xf6))/0xb)+-parseInt(_0x50663d(0xd7))/0xc*(parseInt(_0x50663d(0xeb))/0xd);if(_0x16c705===_0x447184)break;else _0x29449c['push'](_0x29449c['shift']());}catch(_0x7c1dc9){_0x29449c['push'](_0x29449c['shift']());}}}(a11_0x2c28,0x46fb3));class GeometryType{}GeometryType[a11_0x26960b(0xd8)]=a11_0x26960b(0xe9),GeometryType[a11_0x26960b(0xe4)]=a11_0x26960b(0xdd),GeometryType['Polygon']=a11_0x26960b(0xd5),GeometryType[a11_0x26960b(0xe5)]=a11_0x26960b(0xf3),GeometryType[a11_0x26960b(0xf4)]='circle',GeometryType[a11_0x26960b(0xf7)]=a11_0x26960b(0xe2),GeometryType['Ellipse']=a11_0x26960b(0xef),GeometryType[a11_0x26960b(0xe8)]=a11_0x26960b(0xdc),GeometryType[a11_0x26960b(0xdf)]=a11_0x26960b(0xe0),GeometryType[a11_0x26960b(0xe7)]='arrow_attack',GeometryType[a11_0x26960b(0xd6)]=a11_0x26960b(0xda),GeometryType[a11_0x26960b(0xe1)]=a11_0x26960b(0xea),GeometryType[a11_0x26960b(0xf2)]=a11_0x26960b(0xd9);export default GeometryType;
@@ -1 +1 @@
1
- const a35_0xf1d5f3=a35_0x1721;(function(_0x940f32,_0x57e823){const _0x3fa656=a35_0x1721,_0x37c8ed=_0x940f32();while(!![]){try{const _0x5b1aec=parseInt(_0x3fa656(0xc3))/0x1+-parseInt(_0x3fa656(0xad))/0x2+-parseInt(_0x3fa656(0xc2))/0x3+parseInt(_0x3fa656(0xaf))/0x4+parseInt(_0x3fa656(0xa8))/0x5*(parseInt(_0x3fa656(0xc1))/0x6)+-parseInt(_0x3fa656(0xa5))/0x7+-parseInt(_0x3fa656(0xc7))/0x8*(parseInt(_0x3fa656(0xbe))/0x9);if(_0x5b1aec===_0x57e823)break;else _0x37c8ed['push'](_0x37c8ed['shift']());}catch(_0x1e4cba){_0x37c8ed['push'](_0x37c8ed['shift']());}}}(a35_0x3977,0xb74c6));import a35_0x1288eb from'../entity/Feature';function a35_0x1721(_0x3bfea0,_0x3c65b1){const _0x3977de=a35_0x3977();return a35_0x1721=function(_0x1721ac,_0x457b67){_0x1721ac=_0x1721ac-0xa3;let _0x2a8e31=_0x3977de[_0x1721ac];return _0x2a8e31;},a35_0x1721(_0x3bfea0,_0x3c65b1);}import a35_0x490d0e from'ol/layer/Vector';import a35_0x2a09bc from'ol/source/Vector';import{toGeoJSON}from'../conver/kml/index';import a35_0x193e97 from'ol/format/GeoJSON';import{getSelectStyle}from'../style/StyleManager';export default class FeatureManager{constructor(_0x4ee178){const _0x563aa6=a35_0x1721;this[_0x563aa6(0xb1)]=_0x4ee178;}[a35_0xf1d5f3(0xb8)](_0x2dae55,_0x2fc868){const _0xff52c3=a35_0xf1d5f3;if(_0x2dae55){const _0x2c1d81=this[_0xff52c3(0xb1)][_0xff52c3(0xbb)](_0x2dae55);if(!_0x2c1d81||!_0x2c1d81[_0xff52c3(0xc4)])return;let _0x2a9d4f;switch(_0x2c1d81[_0xff52c3(0xc4)][_0xff52c3(0xaa)]){case 0x1:_0x2a9d4f=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)][_0xff52c3(0xb3)](),_0x2dae55,_0x2fc868);break;case 0x2:_0x2a9d4f=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)][_0xff52c3(0xc0)](),_0x2dae55,_0x2fc868);break;case 0x3:_0x2a9d4f=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)][_0xff52c3(0xc9)](),_0x2dae55,_0x2fc868);break;default:break;}return _0x2a9d4f;}else{const _0x3b6324=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)][_0xff52c3(0xb3)](),_0x2dae55,_0x2fc868),_0x4bc91e=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)]['getLineTempLayer'](),_0x2dae55,_0x2fc868),_0x2e8e71=this['getTempSelectedFeatures'](this[_0xff52c3(0xb1)][_0xff52c3(0xc9)](),_0x2dae55,_0x2fc868);let _0x54898d=[];return _0x3b6324&&(_0x54898d=[..._0x54898d,..._0x3b6324]),_0x4bc91e&&(_0x54898d=[..._0x54898d,..._0x4bc91e]),_0x2e8e71&&(_0x54898d=[..._0x54898d,..._0x2e8e71]),_0x54898d;}}[a35_0xf1d5f3(0xb7)](_0x2eab25,_0x5976a3,_0x506851){const _0x3915f7=a35_0xf1d5f3;var _0x3ee73d;let _0x3f9a81=(_0x3ee73d=_0x2eab25['getSource']())===null||_0x3ee73d===void 0x0?void 0x0:_0x3ee73d[_0x3915f7(0xa4)]();if(!_0x3f9a81)return;_0x3f9a81[_0x3915f7(0xcb)]((_0x10756d,_0xcefd7e,_0x4944af)=>{_0x10756d['tempLayer']=_0x2eab25;});_0x506851!=undefined&&(_0x3f9a81=_0x3f9a81['filter'](_0x18f151=>_0x18f151[_0x3915f7(0xb5)]==_0x506851));if(_0x5976a3)return _0x3f9a81[_0x3915f7(0xb2)](_0x592578=>_0x592578[_0x3915f7(0xb4)]==_0x5976a3);return _0x3f9a81;}['flashFeatures'](_0xde4042,_0x23f447=0x3){const _0x4c0b64=a35_0xf1d5f3;var _0x3e4ac7;let _0xca1d85=new a35_0x490d0e({'zIndex':0x270f,'source':new a35_0x2a09bc()});_0xca1d85['id']=_0x4c0b64(0xb0),this[_0x4c0b64(0xb1)]['addLayer'](_0xca1d85,![]),(_0x3e4ac7=_0xca1d85[_0x4c0b64(0xb9)]())===null||_0x3e4ac7===void 0x0?void 0x0:_0x3e4ac7[_0x4c0b64(0xa9)](_0xde4042);let _0xf4b18a=0x0,_0x118b73=setInterval(()=>{const _0x2569cb=_0x4c0b64;if(_0xf4b18a===_0x23f447){_0x118b73&&clearInterval(_0x118b73);const _0x26437d=this['map'][_0x2569cb(0xbb)](_0xca1d85['id']);_0x26437d&&this['map'][_0x2569cb(0xb6)](_0x26437d);return;}if(_0xca1d85[_0x2569cb(0xa3)]())_0xca1d85[_0x2569cb(0xac)](![]);else _0xca1d85['setVisible'](!![]);_0xf4b18a++;},0x190);}[a35_0xf1d5f3(0xab)](_0x149481,_0x53667f=0x3){const _0x29fe9b=a35_0xf1d5f3;var _0x3d0c42;let _0x400f1e=new a35_0x490d0e({'zIndex':0x270f,'source':new a35_0x2a09bc()});_0x400f1e['id']=_0x29fe9b(0xb0),this[_0x29fe9b(0xb1)][_0x29fe9b(0xcc)](_0x400f1e,![]);let _0x14dfff=[];_0x149481[_0x29fe9b(0xcb)](_0x31018b=>{const _0x391fcd=_0x29fe9b;let _0x1deb05=new a35_0x1288eb();const _0x77e795=getSelectStyle(_0x31018b[_0x391fcd(0xc5)]());_0x1deb05[_0x391fcd(0xbf)](_0x77e795),_0x1deb05[_0x391fcd(0xc8)](_0x31018b),_0x14dfff['push'](_0x1deb05);}),(_0x3d0c42=_0x400f1e[_0x29fe9b(0xb9)]())===null||_0x3d0c42===void 0x0?void 0x0:_0x3d0c42[_0x29fe9b(0xa9)](_0x14dfff);let _0x26f4f9=0x0,_0x4fed0f=setInterval(()=>{const _0x1182f0=_0x29fe9b;if(_0x26f4f9===_0x53667f){_0x4fed0f&&clearInterval(_0x4fed0f);const _0xa37126=this['map'][_0x1182f0(0xbb)](_0x400f1e['id']);_0xa37126&&this['map']['removeLayer'](_0xa37126);return;}if(_0x400f1e[_0x1182f0(0xa3)]())_0x400f1e[_0x1182f0(0xac)](![]);else _0x400f1e[_0x1182f0(0xac)](!![]);_0x26f4f9++;},0x190);}async[a35_0xf1d5f3(0xae)](_0x349824){const _0x14765e=a35_0xf1d5f3;let _0x25f573=await toGeoJSON(_0x349824,null);if(!_0x25f573)return[];let _0xfb5d07=[];var _0x510175=new a35_0x193e97();return _0x25f573[_0x14765e(0xbc)][_0x14765e(0xcb)](_0x1a3ad0=>{const _0xf3f33f=_0x14765e;_0xfb5d07[_0xf3f33f(0xca)](_0x510175['readFeature'](_0x1a3ad0,null));}),_0xfb5d07;}[a35_0xf1d5f3(0xbd)](_0x112089){const _0x2e5607=a35_0xf1d5f3,_0x7c3b42=this[_0x2e5607(0xb8)]();if(_0x7c3b42&&_0x7c3b42[_0x2e5607(0xc6)]>0x0)for(const _0x8c3d33 of _0x7c3b42){if(_0x8c3d33&&_0x8c3d33[_0x2e5607(0xa6)]){const _0x1df6fb=_0x8c3d33['tempLayer'][_0x2e5607(0xb9)]();_0x1df6fb&&(_0x112089!=undefined?_0x8c3d33[_0x2e5607(0xba)]==_0x112089&&_0x1df6fb[_0x2e5607(0xa7)](_0x8c3d33):_0x1df6fb['removeFeature'](_0x8c3d33));}}}}function a35_0x3977(){const _0x5dd47b=['setVisible','372870eWcJux','kmlImport','2481964dualXH','flash_layer','map','filter','getPointTempLayer','layerId','isSelected','removeLayer','getTempSelectedFeatures','getSelectedFeatures','getSource','tag','getLayerById','features','clearTempFeatures','1962EybHqv','setStyle','getLineTempLayer','51396pFiDgC','126762XKDNce','1309831TuxXbv','layerInfo','getType','length','84944oYIFEv','setGeometry','getPolygonTempLayer','push','forEach','addLayer','getVisible','getFeatures','106715QeJFIK','tempLayer','removeFeature','805vnZBmd','addFeatures','geometryType','flashGeometrys'];a35_0x3977=function(){return _0x5dd47b;};return a35_0x3977();}
1
+ const a35_0x138f05=a35_0x15fe;(function(_0x5ca496,_0x5426c2){const _0x5d1dbd=a35_0x15fe,_0x276b58=_0x5ca496();while(!![]){try{const _0x15a26f=parseInt(_0x5d1dbd(0xfc))/0x1*(parseInt(_0x5d1dbd(0x105))/0x2)+parseInt(_0x5d1dbd(0xf2))/0x3*(-parseInt(_0x5d1dbd(0xec))/0x4)+-parseInt(_0x5d1dbd(0x101))/0x5*(-parseInt(_0x5d1dbd(0x100))/0x6)+parseInt(_0x5d1dbd(0xf8))/0x7*(parseInt(_0x5d1dbd(0x110))/0x8)+parseInt(_0x5d1dbd(0xff))/0x9+-parseInt(_0x5d1dbd(0x111))/0xa*(parseInt(_0x5d1dbd(0xfd))/0xb)+-parseInt(_0x5d1dbd(0xfe))/0xc;if(_0x15a26f===_0x5426c2)break;else _0x276b58['push'](_0x276b58['shift']());}catch(_0x5f8a11){_0x276b58['push'](_0x276b58['shift']());}}}(a35_0x2547,0x8a0aa));function a35_0x15fe(_0x5a7e1d,_0x36ff64){const _0x25473a=a35_0x2547();return a35_0x15fe=function(_0x15fedc,_0x3f51a5){_0x15fedc=_0x15fedc-0xec;let _0x2f8db0=_0x25473a[_0x15fedc];return _0x2f8db0;},a35_0x15fe(_0x5a7e1d,_0x36ff64);}import a35_0x41321b from'../entity/Feature';import a35_0x13ecb2 from'ol/layer/Vector';import a35_0x5e6b79 from'ol/source/Vector';import{toGeoJSON}from'../conver/kml/index';import a35_0xabb2f3 from'ol/format/GeoJSON';function a35_0x2547(){const _0x1e6cf6=['addLayer','kmlImport','getSelectedFeatures','removeFeature','77126aTpwxR','features','layerInfo','getLayerById','7ejwxpV','153131qEpskK','15975852vdpVwG','8334531sQpajK','709638yPOQdl','15RUSwXp','flashFeatures','length','map','172268jiybEC','setVisible','getPolygonTempLayer','clearTempFeatures','isSelected','removeLayer','getLineTempLayer','setGeometry','getSource','getTempSelectedFeatures','geometryType','432rkmtDI','340oKroSN','getPointTempLayer','setStyle','push','addFeatures','flash_layer','4hCsaoj','filter','getType','tempLayer','getVisible','readFeature','326205YEtraZ','forEach'];a35_0x2547=function(){return _0x1e6cf6;};return a35_0x2547();}import{getSelectStyle}from'../style/StyleManager';export default class FeatureManager{constructor(_0x3363eb){const _0x5e4d13=a35_0x15fe;this[_0x5e4d13(0x104)]=_0x3363eb;}[a35_0x138f05(0xf6)](_0x5e020e,_0x1c4698){const _0x31335e=a35_0x138f05;if(_0x5e020e){const _0x30c2cf=this[_0x31335e(0x104)][_0x31335e(0xfb)](_0x5e020e);if(!_0x30c2cf||!_0x30c2cf[_0x31335e(0xfa)])return;let _0x2e77b5;switch(_0x30c2cf[_0x31335e(0xfa)][_0x31335e(0x10f)]){case 0x1:_0x2e77b5=this['getTempSelectedFeatures'](this['map'][_0x31335e(0x112)](),_0x5e020e,_0x1c4698);break;case 0x2:_0x2e77b5=this[_0x31335e(0x10e)](this[_0x31335e(0x104)][_0x31335e(0x10b)](),_0x5e020e,_0x1c4698);break;case 0x3:_0x2e77b5=this['getTempSelectedFeatures'](this[_0x31335e(0x104)][_0x31335e(0x107)](),_0x5e020e,_0x1c4698);break;default:break;}return _0x2e77b5;}else{const _0x562153=this[_0x31335e(0x10e)](this[_0x31335e(0x104)][_0x31335e(0x112)](),_0x5e020e,_0x1c4698),_0x661a8=this['getTempSelectedFeatures'](this['map'][_0x31335e(0x10b)](),_0x5e020e,_0x1c4698),_0x457cc9=this[_0x31335e(0x10e)](this[_0x31335e(0x104)]['getPolygonTempLayer'](),_0x5e020e,_0x1c4698);let _0xe12cf=[];return _0x562153&&(_0xe12cf=[..._0xe12cf,..._0x562153]),_0x661a8&&(_0xe12cf=[..._0xe12cf,..._0x661a8]),_0x457cc9&&(_0xe12cf=[..._0xe12cf,..._0x457cc9]),_0xe12cf;}}[a35_0x138f05(0x10e)](_0x25ee90,_0x286803,_0xe6e37d){const _0xa75f95=a35_0x138f05;var _0x7a4c2f;let _0x33024e=(_0x7a4c2f=_0x25ee90[_0xa75f95(0x10d)]())===null||_0x7a4c2f===void 0x0?void 0x0:_0x7a4c2f['getFeatures']();if(!_0x33024e)return;_0x33024e['forEach']((_0x2bb435,_0x318fa9,_0x2fc8f5)=>{const _0x48c4c8=_0xa75f95;_0x2bb435[_0x48c4c8(0xef)]=_0x25ee90;});_0xe6e37d!=undefined&&(_0x33024e=_0x33024e['filter'](_0x3b0c2b=>_0x3b0c2b[_0xa75f95(0x109)]==_0xe6e37d));if(_0x286803)return _0x33024e[_0xa75f95(0xed)](_0x532434=>_0x532434['layerId']==_0x286803);return _0x33024e;}[a35_0x138f05(0x102)](_0x199422,_0x3b8a3b=0x3){const _0x585eab=a35_0x138f05;var _0x406b6d;let _0x626c42=new a35_0x13ecb2({'zIndex':0x270f,'source':new a35_0x5e6b79()});_0x626c42['id']=_0x585eab(0x116),this[_0x585eab(0x104)][_0x585eab(0xf4)](_0x626c42,![]),(_0x406b6d=_0x626c42['getSource']())===null||_0x406b6d===void 0x0?void 0x0:_0x406b6d['addFeatures'](_0x199422);let _0x5ec5ae=0x0,_0x4c8af2=setInterval(()=>{const _0x3ecae8=_0x585eab;if(_0x5ec5ae===_0x3b8a3b){_0x4c8af2&&clearInterval(_0x4c8af2);const _0x555068=this['map'][_0x3ecae8(0xfb)](_0x626c42['id']);_0x555068&&this[_0x3ecae8(0x104)][_0x3ecae8(0x10a)](_0x555068);return;}if(_0x626c42['getVisible']())_0x626c42[_0x3ecae8(0x106)](![]);else _0x626c42['setVisible'](!![]);_0x5ec5ae++;},0x190);}['flashGeometrys'](_0x44f5ba,_0x206782=0x3){const _0xf42d89=a35_0x138f05;var _0x4313da;let _0x46c700=new a35_0x13ecb2({'zIndex':0x270f,'source':new a35_0x5e6b79()});_0x46c700['id']=_0xf42d89(0x116),this['map'][_0xf42d89(0xf4)](_0x46c700,![]);let _0x5e009b=[];_0x44f5ba[_0xf42d89(0xf3)](_0x4fd25d=>{const _0x8656e4=_0xf42d89;let _0x3b186b=new a35_0x41321b();const _0x3b9e3a=getSelectStyle(_0x4fd25d[_0x8656e4(0xee)]());_0x3b186b[_0x8656e4(0x113)](_0x3b9e3a),_0x3b186b[_0x8656e4(0x10c)](_0x4fd25d),_0x5e009b[_0x8656e4(0x114)](_0x3b186b);}),(_0x4313da=_0x46c700[_0xf42d89(0x10d)]())===null||_0x4313da===void 0x0?void 0x0:_0x4313da[_0xf42d89(0x115)](_0x5e009b);let _0x2cfdb4=0x0,_0x657b0d=setInterval(()=>{const _0x2f033f=_0xf42d89;if(_0x2cfdb4===_0x206782){_0x657b0d&&clearInterval(_0x657b0d);const _0x26c287=this[_0x2f033f(0x104)][_0x2f033f(0xfb)](_0x46c700['id']);_0x26c287&&this[_0x2f033f(0x104)][_0x2f033f(0x10a)](_0x26c287);return;}if(_0x46c700[_0x2f033f(0xf0)]())_0x46c700['setVisible'](![]);else _0x46c700[_0x2f033f(0x106)](!![]);_0x2cfdb4++;},0x190);}async[a35_0x138f05(0xf5)](_0x3ce609){const _0x351b84=a35_0x138f05;let _0x2e2ea6=await toGeoJSON(_0x3ce609,null);if(!_0x2e2ea6)return[];let _0x5d78e5=[];var _0x4d135d=new a35_0xabb2f3();return _0x2e2ea6[_0x351b84(0xf9)][_0x351b84(0xf3)](_0x40b71c=>{const _0x1e3187=_0x351b84;_0x5d78e5[_0x1e3187(0x114)](_0x4d135d[_0x1e3187(0xf1)](_0x40b71c,null));}),_0x5d78e5;}[a35_0x138f05(0x108)](_0x180b5f){const _0x5e28be=a35_0x138f05,_0x128bd6=this['getSelectedFeatures']();if(_0x128bd6&&_0x128bd6[_0x5e28be(0x103)]>0x0)for(const _0x554985 of _0x128bd6){if(_0x554985&&_0x554985[_0x5e28be(0xef)]){const _0x31ce23=_0x554985[_0x5e28be(0xef)][_0x5e28be(0x10d)]();_0x31ce23&&(_0x180b5f!=undefined?_0x554985['tag']==_0x180b5f&&_0x31ce23[_0x5e28be(0xf7)](_0x554985):_0x31ce23[_0x5e28be(0xf7)](_0x554985));}}}}
package/index.js CHANGED
@@ -1 +1 @@
1
- function a36_0x4927(_0x1822fc,_0x1dbd15){var _0x5e2f7a=a36_0x5e2f();return a36_0x4927=function(_0x4927df,_0x270b52){_0x4927df=_0x4927df-0x18b;var _0x29f6dd=_0x5e2f7a[_0x4927df];return _0x29f6dd;},a36_0x4927(_0x1822fc,_0x1dbd15);}(function(_0x4c3c49,_0x4017a3){var _0x12b77b=a36_0x4927,_0x19a8d8=_0x4c3c49();while(!![]){try{var _0x291c1a=-parseInt(_0x12b77b(0x193))/0x1+-parseInt(_0x12b77b(0x192))/0x2+-parseInt(_0x12b77b(0x190))/0x3*(-parseInt(_0x12b77b(0x195))/0x4)+parseInt(_0x12b77b(0x194))/0x5*(-parseInt(_0x12b77b(0x18c))/0x6)+-parseInt(_0x12b77b(0x18f))/0x7+parseInt(_0x12b77b(0x18b))/0x8*(-parseInt(_0x12b77b(0x18e))/0x9)+-parseInt(_0x12b77b(0x18d))/0xa*(-parseInt(_0x12b77b(0x191))/0xb);if(_0x291c1a===_0x4017a3)break;else _0x19a8d8['push'](_0x19a8d8['shift']());}catch(_0x925f44){_0x19a8d8['push'](_0x19a8d8['shift']());}}}(a36_0x5e2f,0xd1f30));import a36_0x5f4948 from'./mapView/Map';export{a36_0x5f4948 as Map2D};function a36_0x5e2f(){var _0x4b7773=['550810DtGzzm','3330ILaLki','59828OIfSPc','824MKcLlT','1782WDJZzJ','145420tqYZcg','129879EXlmWT','6851012ejWfYT','201VKBhUi','2827SiDYOS','1331480SZWfmw'];a36_0x5e2f=function(){return _0x4b7773;};return a36_0x5e2f();}
1
+ (function(_0x434a80,_0x27bd0c){var _0x2edf29=a36_0x5921,_0x40387d=_0x434a80();while(!![]){try{var _0x3a5f7d=parseInt(_0x2edf29(0x17e))/0x1*(parseInt(_0x2edf29(0x17f))/0x2)+parseInt(_0x2edf29(0x185))/0x3+parseInt(_0x2edf29(0x184))/0x4*(parseInt(_0x2edf29(0x180))/0x5)+parseInt(_0x2edf29(0x186))/0x6+parseInt(_0x2edf29(0x17d))/0x7*(parseInt(_0x2edf29(0x182))/0x8)+parseInt(_0x2edf29(0x181))/0x9+-parseInt(_0x2edf29(0x183))/0xa;if(_0x3a5f7d===_0x27bd0c)break;else _0x40387d['push'](_0x40387d['shift']());}catch(_0x3938e8){_0x40387d['push'](_0x40387d['shift']());}}}(a36_0x1a06,0x6d1df));function a36_0x5921(_0x29437d,_0x3b56e8){var _0x1a06fa=a36_0x1a06();return a36_0x5921=function(_0x592120,_0x3d7e18){_0x592120=_0x592120-0x17d;var _0x371d7f=_0x1a06fa[_0x592120];return _0x371d7f;},a36_0x5921(_0x29437d,_0x3b56e8);}import a36_0x233a47 from'./mapView/Map';export{a36_0x233a47 as Map2D};function a36_0x1a06(){var _0x19a17b=['22157810oOnsZb','496220DjdecC','1327077UUKmqU','1924632IGfuUW','1961673EcdAlB','1VFHDHw','403238utOUJu','25KzgSuh','4654989AhnBzK','16eZdlBw'];a36_0x1a06=function(){return _0x19a17b;};return a36_0x1a06();}