ym-gis-2d 1.0.42 → 1.0.44

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 (77) 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/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/AreaMeasure.js +1 -1
  15. package/interaction/Difference.js +1 -1
  16. package/interaction/Draw.js +1 -1
  17. package/interaction/InteractionManager.js +1 -1
  18. package/interaction/Modify.js +1 -1
  19. package/interaction/Select.js +1 -1
  20. package/interaction/Split.js +1 -1
  21. package/layers/ArcgisDynamicLayer.js +1 -1
  22. package/layers/ArcgisFeatureLayer.js +1 -1
  23. package/layers/ArcgisTileLayer.js +1 -1
  24. package/layers/ArcgisWMSLayer.js +1 -1
  25. package/layers/ArcgisWMTSLayer.js +1 -1
  26. package/layers/GeoserverVectorTile.js +1 -1
  27. package/layers/GeoserverWFSLayer.js +1 -1
  28. package/layers/GeoserverWMSLayer.js +1 -1
  29. package/layers/GeoserverWMTSLayer.js +1 -1
  30. package/layers/LayerManager.js +1 -1
  31. package/layers/MapTileLayer.js +1 -1
  32. package/layers/TDTLayer.js +1 -1
  33. package/mapView/Map.d.ts +1 -1
  34. package/mapView/Map.d.ts.map +1 -1
  35. package/mapView/Map.js +1 -1
  36. package/mapView/Map.js.map +1 -1
  37. package/mapView/View.js +1 -1
  38. package/package.json +1 -1
  39. package/plot/Plot.js +1 -1
  40. package/plot/geometry/point/Point.js +1 -1
  41. package/plot/geometry/polygon/BasePolygon.js +1 -1
  42. package/plot/geometry/polygon/Circle.js +1 -1
  43. package/plot/geometry/polygon/Polygon.js +1 -1
  44. package/plot/geometry/polygon/RectAngle.js +1 -1
  45. package/plot/geometry/polyline/BaseLine.js +1 -1
  46. package/plot/geometry/polyline/Polyline.js +1 -1
  47. package/style/PointStyleFormat.js +1 -1
  48. package/style/PolygonStyleFormat.js +1 -1
  49. package/style/PolylineStyleFormat.js +1 -1
  50. package/style/StyleManager.js +1 -1
  51. package/style/common.js +1 -1
  52. package/utils/ArrayUtil.js +1 -1
  53. package/utils/AxiosUtil.js +1 -1
  54. package/utils/EsriUtil.js +1 -1
  55. package/utils/GeometryUtil.d.ts.map +1 -1
  56. package/utils/GeometryUtil.js +1 -1
  57. package/utils/GeometryUtil.js.map +1 -1
  58. package/utils/LayerUtil.js +1 -1
  59. package/utils/RegisterProjUtil.js +1 -1
  60. package/utils/ResolutionUtil.js +1 -1
  61. package/utils/StringUtil.js +1 -1
  62. package/utils/StyleUtil.js +1 -1
  63. package/utils/UrlUtil.js +1 -1
  64. package/utils/XmlUtil.js +1 -1
  65. package/utils/format/CQL.js +1 -1
  66. package/utils/format/IsMatchCql.js +1 -1
  67. package/utils/plug/canvas/ImageCache.js +1 -1
  68. package/utils/plug/canvas/PinBuilder.js +1 -1
  69. package/utils/plug/canvas/PinIcon.js +1 -1
  70. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  71. package/utils/tasks/esri/Identify.js +1 -1
  72. package/utils/tasks/esri/Query.js +1 -1
  73. package/utils/tasks/esri/Task.js +1 -1
  74. package/utils/tasks/geoserver/QueryTask.js +1 -1
  75. package/utils/tasks/index.js +1 -1
  76. package/ym-gis-2d.es.js +1 -1
  77. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- (function(_0x3c58da,_0xbbe0cb){const _0x395227=a0_0x1766,_0x236585=_0x3c58da();while(!![]){try{const _0x56640a=parseInt(_0x395227(0xa9))/0x1*(parseInt(_0x395227(0xb9))/0x2)+-parseInt(_0x395227(0xbc))/0x3+parseInt(_0x395227(0x95))/0x4+-parseInt(_0x395227(0xcb))/0x5+-parseInt(_0x395227(0xc2))/0x6+parseInt(_0x395227(0xc4))/0x7*(-parseInt(_0x395227(0xa0))/0x8)+parseInt(_0x395227(0xd5))/0x9;if(_0x56640a===_0xbbe0cb)break;else _0x236585['push'](_0x236585['shift']());}catch(_0xff339f){_0x236585['push'](_0x236585['shift']());}}}(a0_0x4e0b,0xacf41));import{addArgument,appendPath}from'../utils/UrlUtil';import a0_0x530002 from'../utils/AxiosUtil';import{jsonp}from'../utils/AxiosUtil';import a0_0x45177e from'ol/format/WMTSCapabilities';import a0_0x1a69a5 from'ol/format/WMSCapabilities';import{readXml}from'../utils/XmlUtil';import{transformedToNumber}from'../utils/StringUtil';export async function getDynamicLayerInfo(_0x1cbe83){const _0xd2c96e=a0_0x1766,_0x3a9d2a=addArgument(_0x1cbe83,'f',_0xd2c96e(0xc7)),_0x5bd0c0=await a0_0x530002['get'](_0x3a9d2a);return _0x5bd0c0[_0xd2c96e(0xd8)];}export async function getFeatureLayerInfo(_0x1584c6,_0x4a084f){const _0x16c8e3=a0_0x1766;let _0x13d063=addArgument(_0x1584c6,'f',_0x16c8e3(0xc7));_0x13d063=appendPath(_0x13d063,_0x4a084f);const _0x10ceda=await jsonp(_0x13d063);return _0x10ceda[_0x16c8e3(0xd3)]=_0x13d063,_0x10ceda;}export async function getWMSLayerCapabilities(_0x3f7a13,_0x36bab9){const _0x5f4be2=a0_0x1766,_0xd8549d=await getWMSCapabilities(_0x3f7a13);let _0x20a92c={},_0x2ed306=_0xd8549d['Capability'][_0x5f4be2(0xde)]['Layer'];_0x20a92c[_0x5f4be2(0xb0)]=_0xd8549d[_0x5f4be2(0xb0)];for(let _0x5254eb=0x0;_0x5254eb<_0x2ed306[_0x5f4be2(0xe7)];_0x5254eb++){const _0x28ec22=_0x2ed306[_0x5254eb];if(_0x28ec22['Name']==_0x36bab9){_0x20a92c[_0x5f4be2(0xd2)]=_0x28ec22[_0x5f4be2(0xd7)][0x0][_0x5f4be2(0xd1)];for(let _0x38ade8=0x0;_0x38ade8<_0x28ec22[_0x5f4be2(0xe2)][_0x5f4be2(0xe7)];_0x38ade8++){const _0x1b81bd=_0x28ec22[_0x5f4be2(0xe2)][_0x38ade8];if(_0x1b81bd[_0x5f4be2(0xbf)][_0x5f4be2(0xb5)](_0x5f4be2(0xcd))>-0x1){_0x20a92c[_0x5f4be2(0xe8)]=transformedToNumber(_0x1b81bd[_0x5f4be2(0xbf)]),_0x20a92c[_0x5f4be2(0xaa)]=[_0x1b81bd[_0x5f4be2(0xdd)][0x1],_0x1b81bd[_0x5f4be2(0xdd)][0x0],_0x1b81bd[_0x5f4be2(0xdd)][0x3],_0x1b81bd[_0x5f4be2(0xdd)][0x2]];break;}}break;}}return _0x20a92c;}export async function getWMTSLayerCapabilities(_0x25637e,_0x4a52b9){const _0x5ed800=a0_0x1766,_0xa47038=await getWMTSCapabilities(_0x25637e);let _0x5310a7={},_0x5ba09e=_0xa47038['Contents'][_0x5ed800(0xde)];_0x5310a7[_0x5ed800(0xaf)]=_0xa47038;for(let _0xefed3c=0x0;_0xefed3c<_0x5ba09e['length'];_0xefed3c++){const _0x190f3e=_0x5ba09e[_0xefed3c];if(_0x190f3e['Identifier']==_0x4a52b9){_0x5310a7['format']=_0x190f3e[_0x5ed800(0x96)],_0x5310a7[_0x5ed800(0xd2)]=_0x190f3e[_0x5ed800(0xd7)][0x0][_0x5ed800(0xbe)],_0x5310a7[_0x5ed800(0xb3)]=_0x190f3e[_0x5ed800(0xda)][0x0][_0x5ed800(0xb6)],_0x5310a7[_0x5ed800(0xc5)]=_0x190f3e[_0x5ed800(0xc3)],_0x5310a7[_0x5ed800(0xab)]=_0x190f3e['BoundingBox']&&_0x190f3e[_0x5ed800(0xe2)]['length']>0x0?_0x190f3e[_0x5ed800(0xe2)][0x0][_0x5ed800(0xdd)]:_0x5310a7[_0x5ed800(0xc5)];break;}}if(_0x5310a7['tileMatrixSet'])for(let _0x595b09=0x0;_0x595b09<_0xa47038[_0x5ed800(0xe9)][_0x5ed800(0xb6)][_0x5ed800(0xe7)];_0x595b09++){const _0x1625c6=_0xa47038[_0x5ed800(0xe9)][_0x5ed800(0xb6)][_0x595b09];if(_0x1625c6['Identifier']==_0x5310a7['tileMatrixSet']){_0x5310a7[_0x5ed800(0xe8)]=transformedToNumber(_0x1625c6[_0x5ed800(0xdc)]),_0x5310a7[_0x5ed800(0xdb)]=[];for(let _0x3428fb=0x0;_0x3428fb<_0x1625c6[_0x5ed800(0x97)]['length'];_0x3428fb++){const _0x2085d9=_0x1625c6[_0x5ed800(0x97)][_0x3428fb];_0x5310a7[_0x5ed800(0xdb)][_0x5ed800(0xa4)]({'identifier':_0x2085d9[_0x5ed800(0xbe)],'matrixHeight':_0x2085d9[_0x5ed800(0xad)],'matrixWidth':_0x2085d9['MatrixWidth'],'scaleDenominator':_0x2085d9[_0x5ed800(0x9b)],'tileHeight':_0x2085d9[_0x5ed800(0xa6)],'tileWidth':_0x2085d9['TileWidth'],'topLeftCorner':_0x2085d9[_0x5ed800(0xb8)]});}break;}}return _0x5310a7;}function a0_0x4e0b(){const _0x1af7e3=['7ExNzjB','wgs84BoundingBox','forEach','json','layerFields','alias','DescribeFeatureType','3924400URPYJI','children','EPSG:','request','getElementsByTagName','pjson','Name','style','url','service','16433523PHkFkG','label','Style','data','date','TileMatrixSetLink','tileMatrixs','SupportedCRS','extent','Layer','innerHTML','geoserver-wms','wfs','BoundingBox','geoserver-wfs','split','Capability','value','length','wkid','Contents','get','name','short','3981016ITzzjv','Format','TileMatrix','esriFieldTypeOID','layers','GetCapabilities','ScaleDenominator','FeatureTypeList','esriFieldTypeGeometry','attributes','ows:WGS84BoundingBox','975944YGLgeh','decimal','esriFieldTypeInteger','DefaultCRS','push','toString','TileHeight','string','read','28uVxdKt','initExtent','boundingBoxExtent','wms','MatrixHeight','xsd:sequence','sourceXml','version','type','gml:','tileMatrixSet','arcgis-dynamic','indexOf','TileMatrixSet','esriFieldTypeDouble','TopLeftCorner','51718GYinAi','wmts','int','3676266qlmizz','Title','Identifier','crs','nodeName','typeName','4227246LKbROJ','WGS84BoundingBox'];a0_0x4e0b=function(){return _0x1af7e3;};return a0_0x4e0b();}export async function getWFSLayerCapabilities(_0x2bf062,_0x5ab9db){const _0x434890=a0_0x1766,_0x4c9c52=await getWFSCapabilities(_0x2bf062);let _0x57796c={'isFeature':![]},_0x30035c=_0x4c9c52[_0x434890(0xcf)](_0x434890(0x9c))[0x0]['children'],_0x47187e;for(let _0x44ec72=0x0,_0x388578=_0x30035c[_0x434890(0xe7)];_0x44ec72<_0x388578;_0x44ec72++){for(let _0x3f627c=0x0,_0x588aaa=_0x30035c[_0x44ec72]['children'][_0x434890(0xe7)];_0x3f627c<_0x588aaa;_0x3f627c++){if(_0x30035c[_0x44ec72][_0x434890(0xcc)][_0x3f627c][_0x434890(0xc0)]==='Name'){const _0x2f1fa5=_0x30035c[_0x44ec72]['children'][_0x3f627c][_0x434890(0xdf)]['toString']();if(_0x2f1fa5==_0x5ab9db||_0x2f1fa5[_0x434890(0xb5)](':'+_0x5ab9db)>-0x1){_0x47187e=_0x30035c[_0x44ec72];break;}}}if(_0x47187e)break;}if(_0x47187e){_0x57796c['isFeature']=!![];const _0x3b8870=await getWmsLayerFields(_0x2bf062,_0x5ab9db);_0x57796c[_0x434890(0xc8)]=_0x3b8870;let _0x1f0929=[];for(let _0x5ca840=0x0,_0x29b4c4=_0x47187e[_0x434890(0xcc)]['length'];_0x5ca840<_0x29b4c4;_0x5ca840++){if(_0x47187e[_0x434890(0xcc)][_0x5ca840][_0x434890(0xc0)]===_0x434890(0x9f)){let _0x1913dc=_0x47187e[_0x434890(0xcc)][_0x5ca840][_0x434890(0xcc)][0x0][_0x434890(0xdf)][_0x434890(0xe4)]('\x20'),_0x5a79a8=_0x47187e[_0x434890(0xcc)][_0x5ca840]['children'][0x1]['innerHTML'][_0x434890(0xe4)]('\x20');_0x1913dc&&_0x5a79a8&&(_0x1f0929=[_0x1913dc[0x0]-0x0,_0x1913dc[0x1]-0x0,_0x5a79a8[0x0]-0x0,_0x5a79a8[0x1]-0x0]),_0x57796c[_0x434890(0xaa)]=_0x1f0929;}else _0x47187e[_0x434890(0xcc)][_0x5ca840][_0x434890(0xc0)]===_0x434890(0xa3)&&(_0x57796c[_0x434890(0xe8)]=transformedToNumber(_0x47187e[_0x434890(0xcc)][_0x5ca840]['innerHTML']));}}return _0x57796c;}export async function getWMSCapabilities(_0x141021){const _0x47485c=a0_0x1766;let _0x1ff222=addArgument(_0x141021,_0x47485c(0xce),_0x47485c(0x9a));_0x1ff222=addArgument(_0x1ff222,_0x47485c(0xd4),_0x47485c(0xac));const _0x487fc9=await a0_0x530002[_0x47485c(0x92)](_0x1ff222);let _0x37c981=new a0_0x1a69a5();return _0x37c981[_0x47485c(0xa8)](_0x487fc9[_0x47485c(0xd8)]);}export async function getWMTSCapabilities(_0x305452){const _0x1e2a8f=a0_0x1766;let _0x608067=addArgument(_0x305452,_0x1e2a8f(0xce),_0x1e2a8f(0x9a));_0x608067=addArgument(_0x608067,'service',_0x1e2a8f(0xba));const _0x1ce274=await a0_0x530002[_0x1e2a8f(0x92)](_0x608067);let _0x10ecfa=new a0_0x45177e();return _0x10ecfa['read'](_0x1ce274[_0x1e2a8f(0xd8)]);}export async function getWFSCapabilities(_0xf1db9d){const _0x2fe27c=a0_0x1766;let _0x4b2207=addArgument(_0xf1db9d,_0x2fe27c(0xce),_0x2fe27c(0x9a));_0x4b2207=addArgument(_0x4b2207,_0x2fe27c(0xd4),_0x2fe27c(0xe1));const _0x58aef9=await a0_0x530002[_0x2fe27c(0x92)](_0x4b2207),_0x4da9b1=readXml(_0x58aef9[_0x2fe27c(0xd8)]);return _0x4da9b1;}export async function getWmsLayerFields(_0x238ce3,_0x28039a){const _0x3f3b7a=a0_0x1766;let _0x54c1ef=addArgument(_0x238ce3,'request',_0x3f3b7a(0xca));_0x54c1ef=addArgument(_0x54c1ef,_0x3f3b7a(0xd4),_0x3f3b7a(0xe1)),_0x54c1ef=addArgument(_0x54c1ef,_0x3f3b7a(0xc1),_0x28039a);const _0x2099b5=await a0_0x530002[_0x3f3b7a(0x92)](_0x54c1ef),_0xba1256=readXml(_0x2099b5[_0x3f3b7a(0xd8)]);let _0x4f737f=[];const _0x1880bc=_0xba1256[_0x3f3b7a(0xcf)](_0x3f3b7a(0xae))[0x0][_0x3f3b7a(0xcc)];for(let _0x3cd945=0x0;_0x3cd945<_0x1880bc['length'];_0x3cd945++){const _0xcdb21f=_0x1880bc[_0x3cd945],_0x16f18a=_0xcdb21f[_0x3f3b7a(0x9e)][_0x3f3b7a(0xb1)]['value'];let _0x84bba9=0x1;if(_0x16f18a[_0x3f3b7a(0xb5)](_0x3f3b7a(0xa7))>-0x1)_0x84bba9=0x1;else{if(_0x16f18a[_0x3f3b7a(0xb5)](_0x3f3b7a(0xb2))>-0x1)_0x84bba9=0x6;else{if(_0x16f18a[_0x3f3b7a(0xb5)](_0x3f3b7a(0xbb))>-0x1||_0x16f18a['indexOf'](_0x3f3b7a(0x94))>-0x1)_0x84bba9=0x2;else{if(_0x16f18a[_0x3f3b7a(0xb5)]('double')>-0x1||_0x16f18a[_0x3f3b7a(0xb5)](_0x3f3b7a(0xa1))>-0x1)_0x84bba9=0x3;else _0x16f18a[_0x3f3b7a(0xb5)](_0x3f3b7a(0xd9))>-0x1&&(_0x84bba9=0x4);}}}_0x4f737f[_0x3f3b7a(0xa4)]({'name':_0xcdb21f[_0x3f3b7a(0x9e)][_0x3f3b7a(0x93)]['value'],'aliasName':_0xcdb21f['attributes']['name'][_0x3f3b7a(0xe6)],'fieldType':_0x84bba9,'fieldTypeName':_0x16f18a,'iDisplay':!![]});}return _0x4f737f;}export async function getWmtsLayers(_0x4cb50f){const _0x177b8d=a0_0x1766,_0x257fc8=await getWMTSCapabilities(_0x4cb50f);let _0x4712f1=[];if(!_0x257fc8||!_0x257fc8['Contents']||!_0x257fc8[_0x177b8d(0xe9)][_0x177b8d(0xde)])return _0x4712f1;return _0x257fc8[_0x177b8d(0xe9)][_0x177b8d(0xde)][_0x177b8d(0xc6)](_0x316ea1=>{const _0x4ad64b=_0x177b8d;_0x4712f1[_0x4ad64b(0xa4)]({'name':_0x316ea1[_0x4ad64b(0xbe)],'label':_0x316ea1[_0x4ad64b(0xbd)]});}),_0x4712f1;}function a0_0x1766(_0x1d3f46,_0xeabc93){const _0x4e0bc8=a0_0x4e0b();return a0_0x1766=function(_0x17667a,_0x52f2c5){_0x17667a=_0x17667a-0x92;let _0x5a4b5e=_0x4e0bc8[_0x17667a];return _0x5a4b5e;},a0_0x1766(_0x1d3f46,_0xeabc93);}export async function getWmsLayers(_0x3e2fb4){const _0x34584c=a0_0x1766,_0x25400f=await getWMSCapabilities(_0x3e2fb4);let _0x4bdf7d=[];if(!_0x25400f||!_0x25400f[_0x34584c(0xe5)]||!_0x25400f[_0x34584c(0xe5)][_0x34584c(0xde)]||!_0x25400f['Capability']['Layer'][_0x34584c(0xde)])return _0x4bdf7d;return _0x25400f[_0x34584c(0xe5)][_0x34584c(0xde)][_0x34584c(0xde)][_0x34584c(0xc6)](_0x20afb5=>{const _0x413cf9=_0x34584c;_0x4bdf7d[_0x413cf9(0xa4)]({'name':_0x20afb5[_0x413cf9(0xd1)],'label':_0x20afb5[_0x413cf9(0xbd)]});}),_0x4bdf7d;}export async function getWfLayers(_0x41dd61){const _0x5bb0f5=a0_0x1766,_0x4ccbb4=await getWFSCapabilities(_0x41dd61);let _0x57edbd=[],_0x5e1df4=_0x4ccbb4[_0x5bb0f5(0xcf)](_0x5bb0f5(0x9c))[0x0][_0x5bb0f5(0xcc)],_0x4766b0;for(let _0x4946c6=0x0,_0x3bc1f2=_0x5e1df4[_0x5bb0f5(0xe7)];_0x4946c6<_0x3bc1f2;_0x4946c6++){let _0x365acf={'name':'','label':''};for(let _0x10c1c3=0x0,_0x21ac67=_0x5e1df4[_0x4946c6][_0x5bb0f5(0xcc)][_0x5bb0f5(0xe7)];_0x10c1c3<_0x21ac67;_0x10c1c3++){if(_0x5e1df4[_0x4946c6][_0x5bb0f5(0xcc)][_0x10c1c3][_0x5bb0f5(0xc0)]==='Name'){const _0x3e30ad=_0x5e1df4[_0x4946c6][_0x5bb0f5(0xcc)][_0x10c1c3][_0x5bb0f5(0xdf)][_0x5bb0f5(0xa5)]();_0x365acf[_0x5bb0f5(0x93)]=_0x3e30ad;}else{if(_0x5e1df4[_0x4946c6]['children'][_0x10c1c3]['nodeName']===_0x5bb0f5(0xbd)){const _0x690506=_0x5e1df4[_0x4946c6][_0x5bb0f5(0xcc)][_0x10c1c3]['innerHTML'][_0x5bb0f5(0xa5)]();_0x365acf[_0x5bb0f5(0xd6)]=_0x690506;}}}_0x365acf[_0x5bb0f5(0x93)]!==''&&_0x365acf[_0x5bb0f5(0xd6)]!==''&&_0x57edbd[_0x5bb0f5(0xa4)](_0x365acf);}return _0x57edbd;}export async function getArcgisDynamicLayers(_0x55c542){const _0x2dba7a=a0_0x1766;let _0x209a1f=addArgument(_0x55c542,'f',_0x2dba7a(0xd0));const _0x298a1d=await a0_0x530002[_0x2dba7a(0x92)](_0x209a1f);let _0x4b96b9=[];return _0x298a1d[_0x2dba7a(0xd8)][_0x2dba7a(0x99)][_0x2dba7a(0xc6)](_0x50c7d5=>{const _0x5cf9fb=_0x2dba7a;_0x4b96b9[_0x5cf9fb(0xa4)]({'name':_0x50c7d5['id'][_0x5cf9fb(0xa5)](),'label':_0x50c7d5[_0x5cf9fb(0x93)]});}),_0x4b96b9;}export async function getArcgisDynamicLayerFields(_0x5380b1,_0x58ec97){const _0x5457e9=a0_0x1766;let _0x175a28=appendPath(_0x5380b1,_0x58ec97);_0x175a28=addArgument(_0x175a28,'f',_0x5457e9(0xd0));const _0x4e29bf=await a0_0x530002[_0x5457e9(0x92)](_0x175a28);let _0x43ef35=[];return _0x4e29bf[_0x5457e9(0xd8)]['fields'][_0x5457e9(0xc6)](_0x3986ca=>{const _0x57dbe6=_0x5457e9;let _0x220ea4=0x1;switch(_0x3986ca[_0x57dbe6(0xb1)]){case'esriFieldTypeString':_0x220ea4=0x1;break;case _0x57dbe6(0xa2):case'esriFieldTypeSmallInteger':case _0x57dbe6(0x98):_0x220ea4=0x2;break;case _0x57dbe6(0xb7):_0x220ea4=0x3;break;case'esriFieldTypeDate':_0x220ea4=0x4;break;case _0x57dbe6(0x9d):_0x220ea4=0x6;break;default:_0x220ea4=0x1;break;}_0x43ef35[_0x57dbe6(0xa4)]({'name':_0x3986ca[_0x57dbe6(0x93)],'aliasName':_0x3986ca[_0x57dbe6(0xc9)],'fieldType':_0x220ea4,'fieldTypeName':_0x3986ca[_0x57dbe6(0xb1)],'fieldLength':_0x3986ca[_0x57dbe6(0xe7)],'iDisplay':!![]});}),_0x43ef35;}export async function getSourceLayerFields(_0x2dfafb,_0x51b1bb,_0xb3d9fa){const _0xe1261d=a0_0x1766;let _0x405aeb=[];switch(_0xb3d9fa){case _0xe1261d(0xb4):case'arcgis-feature':_0x405aeb=await getArcgisDynamicLayerFields(_0x2dfafb,_0x51b1bb);break;case _0xe1261d(0xe0):case _0xe1261d(0xe3):_0x405aeb=await getWmsLayerFields(_0x2dfafb,_0x51b1bb);break;default:break;}return _0x405aeb;}
1
+ (function(_0x5a1dbe,_0x4c3691){const _0x3e6a17=a0_0x1561,_0x304de6=_0x5a1dbe();while(!![]){try{const _0x403114=-parseInt(_0x3e6a17(0x17f))/0x1+parseInt(_0x3e6a17(0x197))/0x2+parseInt(_0x3e6a17(0x186))/0x3*(-parseInt(_0x3e6a17(0x182))/0x4)+-parseInt(_0x3e6a17(0x18a))/0x5+-parseInt(_0x3e6a17(0x18c))/0x6*(parseInt(_0x3e6a17(0x192))/0x7)+-parseInt(_0x3e6a17(0x166))/0x8*(parseInt(_0x3e6a17(0x1ab))/0x9)+parseInt(_0x3e6a17(0x1a9))/0xa;if(_0x403114===_0x4c3691)break;else _0x304de6['push'](_0x304de6['shift']());}catch(_0x3c6ef6){_0x304de6['push'](_0x304de6['shift']());}}}(a0_0x419b,0x4cd8e));function a0_0x1561(_0xbc214c,_0x297e6f){const _0x419baa=a0_0x419b();return a0_0x1561=function(_0x1561c9,_0x4d76d9){_0x1561c9=_0x1561c9-0x155;let _0x224236=_0x419baa[_0x1561c9];return _0x224236;},a0_0x1561(_0xbc214c,_0x297e6f);}import{addArgument,appendPath}from'../utils/UrlUtil';import a0_0x1d3d26 from'../utils/AxiosUtil';import{jsonp}from'../utils/AxiosUtil';import a0_0x41f1d0 from'ol/format/WMTSCapabilities';import a0_0x42e7ba from'ol/format/WMSCapabilities';import{readXml}from'../utils/XmlUtil';function a0_0x419b(){const _0xab5cf8=['data','esriFieldTypeDouble','44hbPEiG','format','geoserver-wfs','SupportedCRS','3768HdPLeU','style','geoserver-wms','esriFieldTypeGeometry','295565sTTKsC','date','642JsHtcT','tileMatrixs','short','fields','double','type','8904HdjXaX','service','get','wfs','read','1108670HxPfsh','version','WGS84BoundingBox','Contents','TileMatrixSet','layerFields','esriFieldTypeInteger','json','layers','typeName','arcgis-feature','esriFieldTypeSmallInteger','wms','indexOf','TileHeight','tileMatrixSet','EPSG:','innerHTML','7494940IbfDoO','url','9fnMVvy','alias','pjson','request','wkid','nodeName','TileWidth','sourceXml','length','Name','Layer','wmts','gml:','wgs84BoundingBox','int','ows:WGS84BoundingBox','esriFieldTypeOID','DescribeFeatureType','decimal','2763512ggqzbs','label','Capability','arcgis-dynamic','MatrixHeight','TileMatrix','DefaultCRS','getElementsByTagName','initExtent','crs','BoundingBox','toString','Title','children','forEach','extent','TileMatrixSetLink','GetCapabilities','value','split','MatrixWidth','attributes','Identifier','push','name','434591swpJeT'];a0_0x419b=function(){return _0xab5cf8;};return a0_0x419b();}import{transformedToNumber}from'../utils/StringUtil';export async function getDynamicLayerInfo(_0x16c122){const _0x97a27e=a0_0x1561,_0x48bfea=addArgument(_0x16c122,'f',_0x97a27e(0x19e)),_0x3e99a9=await a0_0x1d3d26[_0x97a27e(0x194)](_0x48bfea);return _0x3e99a9[_0x97a27e(0x180)];}export async function getFeatureLayerInfo(_0x2f2389,_0x2ac031){const _0x1e8c2a=a0_0x1561;let _0x435dc0=addArgument(_0x2f2389,'f',_0x1e8c2a(0x19e));_0x435dc0=appendPath(_0x435dc0,_0x2ac031);const _0x34e509=await jsonp(_0x435dc0);return _0x34e509[_0x1e8c2a(0x1aa)]=_0x435dc0,_0x34e509;}export async function getWMSLayerCapabilities(_0x2185a2,_0x1a4857){const _0x4538c0=a0_0x1561,_0x3b01d9=await getWMSCapabilities(_0x2185a2);let _0x5008c3={},_0x29e440=_0x3b01d9[_0x4538c0(0x168)]['Layer'][_0x4538c0(0x15d)];_0x5008c3['version']=_0x3b01d9[_0x4538c0(0x198)];for(let _0x692c55=0x0;_0x692c55<_0x29e440[_0x4538c0(0x15b)];_0x692c55++){const _0x4923c9=_0x29e440[_0x692c55];if(_0x4923c9[_0x4538c0(0x15c)]==_0x1a4857){_0x5008c3[_0x4538c0(0x187)]=_0x4923c9['Style'][0x0][_0x4538c0(0x15c)];for(let _0x34a3a3=0x0;_0x34a3a3<_0x4923c9[_0x4538c0(0x170)][_0x4538c0(0x15b)];_0x34a3a3++){const _0x243eba=_0x4923c9[_0x4538c0(0x170)][_0x34a3a3];if(_0x243eba['crs'][_0x4538c0(0x1a4)](_0x4538c0(0x1a7))>-0x1){_0x5008c3[_0x4538c0(0x157)]=transformedToNumber(_0x243eba[_0x4538c0(0x16f)]),_0x5008c3[_0x4538c0(0x16e)]=[_0x243eba[_0x4538c0(0x175)][0x1],_0x243eba[_0x4538c0(0x175)][0x0],_0x243eba[_0x4538c0(0x175)][0x3],_0x243eba[_0x4538c0(0x175)][0x2]];break;}}break;}}return _0x5008c3;}export async function getWMTSLayerCapabilities(_0x4f5407,_0x350a43){const _0x4f806b=a0_0x1561,_0xe1fd76=await getWMTSCapabilities(_0x4f5407);let _0xa9648e={},_0x236b1d=_0xe1fd76[_0x4f806b(0x19a)][_0x4f806b(0x15d)];_0xa9648e[_0x4f806b(0x15a)]=_0xe1fd76;for(let _0x514c1f=0x0;_0x514c1f<_0x236b1d['length'];_0x514c1f++){const _0xde9af=_0x236b1d[_0x514c1f];if(_0xde9af[_0x4f806b(0x17c)]==_0x350a43){_0xa9648e[_0x4f806b(0x183)]=_0xde9af['Format'],_0xa9648e[_0x4f806b(0x187)]=_0xde9af['Style'][0x0]['Identifier'],_0xa9648e[_0x4f806b(0x1a6)]=_0xde9af[_0x4f806b(0x176)][0x0]['TileMatrixSet'],_0xa9648e['wgs84BoundingBox']=_0xde9af[_0x4f806b(0x199)],_0xa9648e['boundingBoxExtent']=_0xde9af[_0x4f806b(0x170)]&&_0xde9af[_0x4f806b(0x170)][_0x4f806b(0x15b)]>0x0?_0xde9af[_0x4f806b(0x170)][0x0]['extent']:_0xa9648e[_0x4f806b(0x160)];break;}}if(_0xa9648e[_0x4f806b(0x1a6)])for(let _0x1bfd27=0x0;_0x1bfd27<_0xe1fd76[_0x4f806b(0x19a)][_0x4f806b(0x19b)][_0x4f806b(0x15b)];_0x1bfd27++){const _0x1c90c2=_0xe1fd76[_0x4f806b(0x19a)][_0x4f806b(0x19b)][_0x1bfd27];if(_0x1c90c2[_0x4f806b(0x17c)]==_0xa9648e[_0x4f806b(0x1a6)]){_0xa9648e['wkid']=transformedToNumber(_0x1c90c2[_0x4f806b(0x185)]),_0xa9648e[_0x4f806b(0x18d)]=[];for(let _0x7113a8=0x0;_0x7113a8<_0x1c90c2[_0x4f806b(0x16b)][_0x4f806b(0x15b)];_0x7113a8++){const _0xdda4e5=_0x1c90c2[_0x4f806b(0x16b)][_0x7113a8];_0xa9648e[_0x4f806b(0x18d)][_0x4f806b(0x17d)]({'identifier':_0xdda4e5['Identifier'],'matrixHeight':_0xdda4e5[_0x4f806b(0x16a)],'matrixWidth':_0xdda4e5[_0x4f806b(0x17a)],'scaleDenominator':_0xdda4e5['ScaleDenominator'],'tileHeight':_0xdda4e5[_0x4f806b(0x1a5)],'tileWidth':_0xdda4e5[_0x4f806b(0x159)],'topLeftCorner':_0xdda4e5['TopLeftCorner']});}break;}}return _0xa9648e;}export async function getWFSLayerCapabilities(_0x13a0b9,_0x3bc337){const _0x50f0fa=a0_0x1561,_0x10bea5=await getWFSCapabilities(_0x13a0b9);let _0x2281fb={'isFeature':![]},_0x435c46=_0x10bea5[_0x50f0fa(0x16d)]('FeatureTypeList')[0x0][_0x50f0fa(0x173)],_0x2c85b9;for(let _0x183060=0x0,_0x1a85b0=_0x435c46[_0x50f0fa(0x15b)];_0x183060<_0x1a85b0;_0x183060++){for(let _0x2cbd1a=0x0,_0xb6e97a=_0x435c46[_0x183060][_0x50f0fa(0x173)]['length'];_0x2cbd1a<_0xb6e97a;_0x2cbd1a++){if(_0x435c46[_0x183060][_0x50f0fa(0x173)][_0x2cbd1a][_0x50f0fa(0x158)]===_0x50f0fa(0x15c)){const _0xee20d0=_0x435c46[_0x183060][_0x50f0fa(0x173)][_0x2cbd1a][_0x50f0fa(0x1a8)][_0x50f0fa(0x171)]();if(_0xee20d0==_0x3bc337||_0xee20d0[_0x50f0fa(0x1a4)](':'+_0x3bc337)>-0x1){_0x2c85b9=_0x435c46[_0x183060];break;}}}if(_0x2c85b9)break;}if(_0x2c85b9){_0x2281fb['isFeature']=!![];const _0x5d7119=await getWmsLayerFields(_0x13a0b9,_0x3bc337);_0x2281fb[_0x50f0fa(0x19c)]=_0x5d7119;let _0x2a746e=[];for(let _0x50f310=0x0,_0x202665=_0x2c85b9[_0x50f0fa(0x173)]['length'];_0x50f310<_0x202665;_0x50f310++){if(_0x2c85b9['children'][_0x50f310]['nodeName']===_0x50f0fa(0x162)){let _0x2b7711=_0x2c85b9[_0x50f0fa(0x173)][_0x50f310]['children'][0x0][_0x50f0fa(0x1a8)][_0x50f0fa(0x179)]('\x20'),_0x28555b=_0x2c85b9[_0x50f0fa(0x173)][_0x50f310]['children'][0x1][_0x50f0fa(0x1a8)][_0x50f0fa(0x179)]('\x20');_0x2b7711&&_0x28555b&&(_0x2a746e=[_0x2b7711[0x0]-0x0,_0x2b7711[0x1]-0x0,_0x28555b[0x0]-0x0,_0x28555b[0x1]-0x0]),_0x2281fb[_0x50f0fa(0x16e)]=_0x2a746e;}else _0x2c85b9['children'][_0x50f310][_0x50f0fa(0x158)]===_0x50f0fa(0x16c)&&(_0x2281fb['wkid']=transformedToNumber(_0x2c85b9[_0x50f0fa(0x173)][_0x50f310]['innerHTML']));}}return _0x2281fb;}export async function getWMSCapabilities(_0x397a9e){const _0x32d00a=a0_0x1561;let _0x27880e=addArgument(_0x397a9e,'request',_0x32d00a(0x177));_0x27880e=addArgument(_0x27880e,_0x32d00a(0x193),_0x32d00a(0x1a3));const _0x539f74=await a0_0x1d3d26[_0x32d00a(0x194)](_0x27880e);let _0x4692ab=new a0_0x42e7ba();return _0x4692ab[_0x32d00a(0x196)](_0x539f74['data']);}export async function getWMTSCapabilities(_0x180ab2){const _0x302c01=a0_0x1561;let _0xd2c67e=addArgument(_0x180ab2,_0x302c01(0x156),'GetCapabilities');_0xd2c67e=addArgument(_0xd2c67e,_0x302c01(0x193),_0x302c01(0x15e));const _0x25f856=await a0_0x1d3d26[_0x302c01(0x194)](_0xd2c67e);let _0x2385ef=new a0_0x41f1d0();return _0x2385ef[_0x302c01(0x196)](_0x25f856['data']);}export async function getWFSCapabilities(_0x2d0d6a){const _0x2de90a=a0_0x1561;let _0x59eebd=addArgument(_0x2d0d6a,_0x2de90a(0x156),_0x2de90a(0x177));_0x59eebd=addArgument(_0x59eebd,_0x2de90a(0x193),_0x2de90a(0x195));const _0xabe9bb=await a0_0x1d3d26[_0x2de90a(0x194)](_0x59eebd),_0x1ee8ed=readXml(_0xabe9bb['data']);return _0x1ee8ed;}export async function getWmsLayerFields(_0xc977da,_0x2f0581){const _0x35dd46=a0_0x1561;let _0x1d23c3=addArgument(_0xc977da,_0x35dd46(0x156),_0x35dd46(0x164));_0x1d23c3=addArgument(_0x1d23c3,_0x35dd46(0x193),'wfs'),_0x1d23c3=addArgument(_0x1d23c3,_0x35dd46(0x1a0),_0x2f0581);const _0x19be1e=await a0_0x1d3d26['get'](_0x1d23c3),_0x1191b6=readXml(_0x19be1e[_0x35dd46(0x180)]);let _0x4d0ae4=[];const _0x343364=_0x1191b6[_0x35dd46(0x16d)]('xsd:sequence')[0x0][_0x35dd46(0x173)];for(let _0x4d840a=0x0;_0x4d840a<_0x343364[_0x35dd46(0x15b)];_0x4d840a++){const _0x171313=_0x343364[_0x4d840a],_0x9d7657=_0x171313[_0x35dd46(0x17b)][_0x35dd46(0x191)][_0x35dd46(0x178)];let _0xbee15f=0x1;if(_0x9d7657[_0x35dd46(0x1a4)]('string')>-0x1)_0xbee15f=0x1;else{if(_0x9d7657[_0x35dd46(0x1a4)](_0x35dd46(0x15f))>-0x1)_0xbee15f=0x6;else{if(_0x9d7657[_0x35dd46(0x1a4)](_0x35dd46(0x161))>-0x1||_0x9d7657['indexOf'](_0x35dd46(0x18e))>-0x1)_0xbee15f=0x2;else{if(_0x9d7657[_0x35dd46(0x1a4)](_0x35dd46(0x190))>-0x1||_0x9d7657[_0x35dd46(0x1a4)](_0x35dd46(0x165))>-0x1)_0xbee15f=0x3;else _0x9d7657['indexOf'](_0x35dd46(0x18b))>-0x1&&(_0xbee15f=0x4);}}}_0x4d0ae4['push']({'name':_0x171313[_0x35dd46(0x17b)]['name'][_0x35dd46(0x178)],'aliasName':_0x171313['attributes'][_0x35dd46(0x17e)][_0x35dd46(0x178)],'fieldType':_0xbee15f,'fieldTypeName':_0x9d7657,'iDisplay':!![]});}return _0x4d0ae4;}export async function getWmtsLayers(_0x39b22b){const _0xd85ba4=a0_0x1561,_0x69d5b4=await getWMTSCapabilities(_0x39b22b);let _0x2b7957=[];if(!_0x69d5b4||!_0x69d5b4['Contents']||!_0x69d5b4[_0xd85ba4(0x19a)][_0xd85ba4(0x15d)])return _0x2b7957;return _0x69d5b4[_0xd85ba4(0x19a)][_0xd85ba4(0x15d)][_0xd85ba4(0x174)](_0xcb3e0e=>{const _0xacca8c=_0xd85ba4;_0x2b7957['push']({'name':_0xcb3e0e[_0xacca8c(0x17c)],'label':_0xcb3e0e[_0xacca8c(0x172)]});}),_0x2b7957;}export async function getWmsLayers(_0xaab478){const _0x27ee96=a0_0x1561,_0x107e1d=await getWMSCapabilities(_0xaab478);let _0x407aef=[];if(!_0x107e1d||!_0x107e1d[_0x27ee96(0x168)]||!_0x107e1d[_0x27ee96(0x168)][_0x27ee96(0x15d)]||!_0x107e1d['Capability'][_0x27ee96(0x15d)]['Layer'])return _0x407aef;return _0x107e1d[_0x27ee96(0x168)]['Layer'][_0x27ee96(0x15d)][_0x27ee96(0x174)](_0x38a382=>{const _0x51cfcc=_0x27ee96;_0x407aef[_0x51cfcc(0x17d)]({'name':_0x38a382[_0x51cfcc(0x15c)],'label':_0x38a382[_0x51cfcc(0x172)]});}),_0x407aef;}export async function getWfLayers(_0x571674){const _0x5c40d3=a0_0x1561,_0xbed776=await getWFSCapabilities(_0x571674);let _0x1222b9=[],_0xce3e1b=_0xbed776[_0x5c40d3(0x16d)]('FeatureTypeList')[0x0][_0x5c40d3(0x173)],_0x401633;for(let _0x1e9b5e=0x0,_0x2355f2=_0xce3e1b['length'];_0x1e9b5e<_0x2355f2;_0x1e9b5e++){let _0x2ed0e9={'name':'','label':''};for(let _0x41370d=0x0,_0x493aa0=_0xce3e1b[_0x1e9b5e]['children'][_0x5c40d3(0x15b)];_0x41370d<_0x493aa0;_0x41370d++){if(_0xce3e1b[_0x1e9b5e][_0x5c40d3(0x173)][_0x41370d]['nodeName']===_0x5c40d3(0x15c)){const _0x54d19d=_0xce3e1b[_0x1e9b5e]['children'][_0x41370d][_0x5c40d3(0x1a8)]['toString']();_0x2ed0e9[_0x5c40d3(0x17e)]=_0x54d19d;}else{if(_0xce3e1b[_0x1e9b5e][_0x5c40d3(0x173)][_0x41370d][_0x5c40d3(0x158)]==='Title'){const _0x5cadd8=_0xce3e1b[_0x1e9b5e][_0x5c40d3(0x173)][_0x41370d][_0x5c40d3(0x1a8)]['toString']();_0x2ed0e9['label']=_0x5cadd8;}}}_0x2ed0e9['name']!==''&&_0x2ed0e9[_0x5c40d3(0x167)]!==''&&_0x1222b9[_0x5c40d3(0x17d)](_0x2ed0e9);}return _0x1222b9;}export async function getArcgisDynamicLayers(_0x581fc5){const _0x4d720d=a0_0x1561;let _0x3599d4=addArgument(_0x581fc5,'f',_0x4d720d(0x155));const _0x13939a=await a0_0x1d3d26[_0x4d720d(0x194)](_0x3599d4);let _0x42e245=[];return _0x13939a[_0x4d720d(0x180)][_0x4d720d(0x19f)][_0x4d720d(0x174)](_0x53a938=>{const _0x2d7e10=_0x4d720d;_0x42e245['push']({'name':_0x53a938['id'][_0x2d7e10(0x171)](),'label':_0x53a938[_0x2d7e10(0x17e)]});}),_0x42e245;}export async function getArcgisDynamicLayerFields(_0x357b65,_0x1eb1da){const _0x43e2d8=a0_0x1561;let _0x228a89=appendPath(_0x357b65,_0x1eb1da);_0x228a89=addArgument(_0x228a89,'f',_0x43e2d8(0x155));const _0x3f8022=await a0_0x1d3d26[_0x43e2d8(0x194)](_0x228a89);let _0x1fa676=[];return _0x3f8022[_0x43e2d8(0x180)][_0x43e2d8(0x18f)][_0x43e2d8(0x174)](_0x1bbd3c=>{const _0x4379cf=_0x43e2d8;let _0x4fcb91=0x1;switch(_0x1bbd3c['type']){case'esriFieldTypeString':_0x4fcb91=0x1;break;case _0x4379cf(0x19d):case _0x4379cf(0x1a2):case _0x4379cf(0x163):_0x4fcb91=0x2;break;case _0x4379cf(0x181):_0x4fcb91=0x3;break;case'esriFieldTypeDate':_0x4fcb91=0x4;break;case _0x4379cf(0x189):_0x4fcb91=0x6;break;default:_0x4fcb91=0x1;break;}_0x1fa676['push']({'name':_0x1bbd3c[_0x4379cf(0x17e)],'aliasName':_0x1bbd3c[_0x4379cf(0x1ac)],'fieldType':_0x4fcb91,'fieldTypeName':_0x1bbd3c[_0x4379cf(0x191)],'fieldLength':_0x1bbd3c[_0x4379cf(0x15b)],'iDisplay':!![]});}),_0x1fa676;}export async function getSourceLayerFields(_0x130e22,_0x3821d4,_0x4a3547){const _0x39534d=a0_0x1561;let _0x639b2c=[];switch(_0x4a3547){case _0x39534d(0x169):case _0x39534d(0x1a1):_0x639b2c=await getArcgisDynamicLayerFields(_0x130e22,_0x3821d4);break;case _0x39534d(0x188):case _0x39534d(0x184):_0x639b2c=await getWmsLayerFields(_0x130e22,_0x3821d4);break;default:break;}return _0x639b2c;}
@@ -1 +1 @@
1
- function a1_0x2b53(){const _0x5c5223=['removeAllControls','name','3719877PFwryd','getControl','6012cjdEud','get','delete','8491bcDTUc','2826LasQjL','18422990SoeIPA','1496360kVMGmC','clear','has','set','3133088wMxJoh','33328NaEnxo','controls','35897KSzKUJ','16XkwNfs','addControl','map','removeControl'];a1_0x2b53=function(){return _0x5c5223;};return a1_0x2b53();}const a1_0x520a01=a1_0x45d9;(function(_0x33370c,_0x4db0ab){const _0x26ebdf=a1_0x45d9,_0x6c2376=_0x33370c();while(!![]){try{const _0x3a82cf=parseInt(_0x26ebdf(0x82))/0x1*(parseInt(_0x26ebdf(0x83))/0x2)+parseInt(_0x26ebdf(0x89))/0x3+parseInt(_0x26ebdf(0x7f))/0x4+parseInt(_0x26ebdf(0x91))/0x5+parseInt(_0x26ebdf(0x8b))/0x6*(-parseInt(_0x26ebdf(0x8e))/0x7)+parseInt(_0x26ebdf(0x80))/0x8*(parseInt(_0x26ebdf(0x8f))/0x9)+-parseInt(_0x26ebdf(0x90))/0xa;if(_0x3a82cf===_0x4db0ab)break;else _0x6c2376['push'](_0x6c2376['shift']());}catch(_0x13142a){_0x6c2376['push'](_0x6c2376['shift']());}}}(a1_0x2b53,0xd1fae));function a1_0x45d9(_0x34d660,_0x145da5){const _0x2b53a1=a1_0x2b53();return a1_0x45d9=function(_0x45d960,_0x279e8d){_0x45d960=_0x45d960-0x7d;let _0x55f0e3=_0x2b53a1[_0x45d960];return _0x55f0e3;},a1_0x45d9(_0x34d660,_0x145da5);}export default class ControlManager{constructor(_0x54d66f){const _0x5c0e08=a1_0x45d9;this[_0x5c0e08(0x85)]=_0x54d66f,this['controls']=new Map();}['addControl'](_0x516405,_0x286586){const _0x19a151=a1_0x45d9;this['controls'][_0x19a151(0x7d)](_0x516405)&&this[_0x19a151(0x86)](_0x516405),_0x286586[_0x19a151(0x7e)](_0x19a151(0x88),_0x516405),this[_0x19a151(0x81)][_0x19a151(0x7e)](_0x516405,_0x286586),this[_0x19a151(0x85)][_0x19a151(0x84)](_0x286586);}['removeControl'](_0x15f8af){const _0x35b4dc=a1_0x45d9,_0x47f468=this[_0x35b4dc(0x81)]['get'](_0x15f8af);_0x47f468&&(this[_0x35b4dc(0x85)][_0x35b4dc(0x86)](_0x47f468),this[_0x35b4dc(0x81)][_0x35b4dc(0x8d)](_0x15f8af));}[a1_0x520a01(0x87)](){const _0x50a4ca=a1_0x520a01;this[_0x50a4ca(0x81)]['forEach'](_0x5728a0=>{this['map']['removeControl'](_0x5728a0);}),this[_0x50a4ca(0x81)][_0x50a4ca(0x92)]();}[a1_0x520a01(0x8a)](_0x15779e){const _0x4e9155=a1_0x520a01;return this[_0x4e9155(0x81)][_0x4e9155(0x8c)](_0x15779e);}}
1
+ const a1_0x49e3ad=a1_0xb494;function a1_0x4e65(){const _0x2ce7a5=['1301251iJGotE','4624103bjJmfi','delete','addControl','1kdTscE','3495304ZoGzGX','977758wlSwIk','map','250140msMnnT','114530Jiyuhh','set','removeAllControls','15HGgpTR','249192uxMbeF','controls','get','12YxczJX','12FrBKcu','9whyQtK','removeControl'];a1_0x4e65=function(){return _0x2ce7a5;};return a1_0x4e65();}function a1_0xb494(_0x5415bc,_0x348fc5){const _0x4e659d=a1_0x4e65();return a1_0xb494=function(_0xb49468,_0x4fe0f1){_0xb49468=_0xb49468-0x92;let _0x59136d=_0x4e659d[_0xb49468];return _0x59136d;},a1_0xb494(_0x5415bc,_0x348fc5);}(function(_0x74e732,_0x472f4e){const _0xe04e2e=a1_0xb494,_0x47a11a=_0x74e732();while(!![]){try{const _0x5dc7ce=-parseInt(_0xe04e2e(0x95))/0x1*(parseInt(_0xe04e2e(0x97))/0x2)+parseInt(_0xe04e2e(0x9d))/0x3*(parseInt(_0xe04e2e(0x9e))/0x4)+parseInt(_0xe04e2e(0x99))/0x5+parseInt(_0xe04e2e(0xa2))/0x6*(parseInt(_0xe04e2e(0xa5))/0x7)+-parseInt(_0xe04e2e(0x96))/0x8*(-parseInt(_0xe04e2e(0xa3))/0x9)+parseInt(_0xe04e2e(0x9a))/0xa+parseInt(_0xe04e2e(0x92))/0xb*(-parseInt(_0xe04e2e(0xa1))/0xc);if(_0x5dc7ce===_0x472f4e)break;else _0x47a11a['push'](_0x47a11a['shift']());}catch(_0x326ac1){_0x47a11a['push'](_0x47a11a['shift']());}}}(a1_0x4e65,0x42822));export default class ControlManager{constructor(_0x194115){const _0x97c819=a1_0xb494;this[_0x97c819(0x98)]=_0x194115,this[_0x97c819(0x9f)]=new Map();}[a1_0x49e3ad(0x94)](_0x18527c,_0x263155){const _0x4096c1=a1_0x49e3ad;this[_0x4096c1(0x9f)]['has'](_0x18527c)&&this[_0x4096c1(0xa4)](_0x18527c),_0x263155[_0x4096c1(0x9b)]('name',_0x18527c),this[_0x4096c1(0x9f)][_0x4096c1(0x9b)](_0x18527c,_0x263155),this[_0x4096c1(0x98)][_0x4096c1(0x94)](_0x263155);}['removeControl'](_0xe28d0a){const _0x2db5a5=a1_0x49e3ad,_0x4fac48=this['controls'][_0x2db5a5(0xa0)](_0xe28d0a);_0x4fac48&&(this[_0x2db5a5(0x98)][_0x2db5a5(0xa4)](_0x4fac48),this[_0x2db5a5(0x9f)][_0x2db5a5(0x93)](_0xe28d0a));}[a1_0x49e3ad(0x9c)](){const _0xcab16a=a1_0x49e3ad;this[_0xcab16a(0x9f)]['forEach'](_0x4d5630=>{const _0xff70dc=_0xcab16a;this['map'][_0xff70dc(0xa4)](_0x4d5630);}),this[_0xcab16a(0x9f)]['clear']();}['getControl'](_0x232bbb){const _0x105306=a1_0x49e3ad;return this[_0x105306(0x9f)][_0x105306(0xa0)](_0x232bbb);}}
@@ -1 +1 @@
1
- const a3_0x5a25b0=a3_0x3719;function a3_0x3719(_0x7b9e79,_0x6a08c){const _0x35ccc9=a3_0x35cc();return a3_0x3719=function(_0x3719d3,_0x30dca3){_0x3719d3=_0x3719d3-0x9c;let _0x55e15d=_0x35ccc9[_0x3719d3];return _0x55e15d;},a3_0x3719(_0x7b9e79,_0x6a08c);}(function(_0x2a5f82,_0x533aa0){const _0x4830cf=a3_0x3719,_0x448ca7=_0x2a5f82();while(!![]){try{const _0xdc6d8f=parseInt(_0x4830cf(0xdd))/0x1+parseInt(_0x4830cf(0xc6))/0x2+-parseInt(_0x4830cf(0x9f))/0x3+parseInt(_0x4830cf(0xc5))/0x4*(parseInt(_0x4830cf(0xbc))/0x5)+-parseInt(_0x4830cf(0xcb))/0x6*(parseInt(_0x4830cf(0xc2))/0x7)+-parseInt(_0x4830cf(0xe8))/0x8*(parseInt(_0x4830cf(0xd0))/0x9)+-parseInt(_0x4830cf(0xa9))/0xa*(-parseInt(_0x4830cf(0xb0))/0xb);if(_0xdc6d8f===_0x533aa0)break;else _0x448ca7['push'](_0x448ca7['shift']());}catch(_0x375120){_0x448ca7['push'](_0x448ca7['shift']());}}}(a3_0x35cc,0x5408c));import{Control}from'ol/control';function a3_0x35cc(){const _0x30f8ac=['showLegend','\x200%','title','abs','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-polygon\x22\x20style=\x22','fill-opacity','<div\x20class=\x22ol-legend-no-data\x22>暂无图例</div>','border:\x20','url','447526kKVuEM','render','color','Polygon','getLayerById','join','appendChild','childElementCount','init','createColorRamp','changelayer','3902432AhoEAL','<div\x20class=\x22ol-legend-ramp-label\x22\x20>低:','element','layerIds','innerHTML','ol-legend-container','imgUrl','Line','</div>','1205682IFoRPZ','\x22\x20/></div>','layerInfos','entries','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-line\x22\x20style=\x22','getMap','fill','ol-legend-control\x20','px\x20solid\x20','rules','1777780fXMGyr','ol-legend-layer','ol-legend-color-ramp','className','legend','indexOf','getVisible','11pKcrvX','time','background-color:','quantity','symbolizers','frameState','<div\x20class=\x22legend-layer-title\x22>','stroke-opacity','<div\x20class=\x22ol-legend-ramp-bar\x22\x20style=\x22background:linear-gradient(to\x20bottom,\x20','toFixed','Point','Raster','25XptWTF','findIndex','<div\x20class=\x22ol-legend-item-title\x22>','label',';height:','\x22></div>','170009VDssFf','push','createDivByLegendJson','189172hdYbAu','1181432qBRqAx','length','ol-legend-item','stroke-width','div','54asqwBP','setMap','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-img\x22><img\x20class=\x22ol-legend-icon-size\x22\x20src=\x22','<div\x20class=\x22ol-legend-ramp-label\x22\x20>高:','createElement','9kfAVmB','ol-legend-ramp-label-container','background-color:\x20','stroke'];a3_0x35cc=function(){return _0x30f8ac;};return a3_0x35cc();}import{getColor}from'../style/common';import{getLayerLegend}from'../utils/LayerUtil';export default class LegendControl extends Control{constructor(_0x5cc2bf){const _0x376251=a3_0x3719;_0x5cc2bf=_0x5cc2bf||{};if(!_0x5cc2bf['element']){const _0x40dec8=document[_0x376251(0xcf)](_0x376251(0xca));_0x5cc2bf['element']=_0x40dec8,_0x40dec8[_0x376251(0xac)]=_0x376251(0xa6)+_0x5cc2bf[_0x376251(0xac)];}super(_0x5cc2bf),this[_0x376251(0xa1)]=_0x5cc2bf[_0x376251(0xa1)],this['title']=_0x5cc2bf[_0x376251(0xd6)],this['time']=null;}async[a3_0x5a25b0(0xe5)](_0xaa6752=[]){const _0x9eaeb=a3_0x5a25b0;if(this[_0x9eaeb(0xa1)]&&this[_0x9eaeb(0xa1)][_0x9eaeb(0xc7)]>0x0&&_0xaa6752[_0x9eaeb(0xc7)]>0x0&&this[_0x9eaeb(0xa1)][_0x9eaeb(0xbd)](_0x44d662=>{const _0x44b04f=_0x9eaeb;return _0xaa6752[_0x44b04f(0xae)](_0x44d662['id'])>-0x1&&_0x44d662[_0x44b04f(0xd4)];})==-0x1)return;const _0x597baf=this[_0x9eaeb(0xea)];_0x597baf['innerHTML']='';const _0x308a7c=document['createElement'](_0x9eaeb(0xca));_0x308a7c[_0x9eaeb(0xac)]=_0x9eaeb(0xed);this[_0x9eaeb(0xd6)]&&(_0x597baf['innerHTML']='<div\x20class=\x22ol-legend-title\x22>'+this[_0x9eaeb(0xd6)]+'</div>');let _0x355cef=![];if(!this[_0x9eaeb(0xa1)]||this[_0x9eaeb(0xa1)][_0x9eaeb(0xc7)]==0x0||_0xaa6752['length']>0x0&&this[_0x9eaeb(0xa1)]['findIndex'](_0x58e60d=>{const _0x501f1c=_0x9eaeb;return _0xaa6752[_0x501f1c(0xae)](_0x58e60d['id'])>-0x1&&_0x58e60d[_0x501f1c(0xd4)];})==-0x1)_0x308a7c['innerHTML']=_0x9eaeb(0xda);else for(let _0x2e900e=0x0;_0x2e900e<this[_0x9eaeb(0xa1)]['length'];_0x2e900e++){const _0x14970e=this[_0x9eaeb(0xa1)][_0x2e900e];if(!_0x14970e[_0x9eaeb(0xd4)]||!_0x14970e[_0x9eaeb(0xdc)])continue;const _0x4b6cf8=this[_0x9eaeb(0xa4)]();if(!_0x4b6cf8)continue;const _0x256f45=_0x4b6cf8[_0x9eaeb(0xe1)](_0x14970e['id']);if(!_0x256f45||_0x256f45[_0x9eaeb(0xaf)]()==![])continue;if(_0x14970e[_0x9eaeb(0xad)]&&_0x14970e[_0x9eaeb(0xad)][_0x9eaeb(0xc7)]>0x0)for(let _0xffb54f=0x0;_0xffb54f<_0x14970e[_0x9eaeb(0xad)][_0x9eaeb(0xc7)];_0xffb54f++){const _0x410454=_0x14970e[_0x9eaeb(0xad)][_0xffb54f],_0xb4260c=document[_0x9eaeb(0xcf)](_0x9eaeb(0xca));_0xb4260c[_0x9eaeb(0xac)]=_0x9eaeb(0xaa),_0xb4260c[_0x9eaeb(0xec)]+=_0x9eaeb(0xb6)+_0x14970e[_0x9eaeb(0xd6)]+_0x9eaeb(0x9e);const _0xda2e4c=this[_0x9eaeb(0xc4)](_0x410454);_0xda2e4c&&_0xb4260c[_0x9eaeb(0xe3)](_0xda2e4c),_0x308a7c[_0x9eaeb(0xe3)](_0xb4260c);}else{const _0x11bf63=await getLayerLegend(_0x14970e);if(_0x11bf63&&_0x11bf63[_0x9eaeb(0xc7)]>0x0)for(let _0x2160c8=0x0;_0x2160c8<_0x11bf63[_0x9eaeb(0xc7)];_0x2160c8++){const _0x58908d=_0x11bf63[_0x2160c8],_0x5cb6db=document['createElement'](_0x9eaeb(0xca));_0x5cb6db['className']='ol-legend-layer',_0x5cb6db[_0x9eaeb(0xec)]+=_0x9eaeb(0xb6)+_0x14970e[_0x9eaeb(0xd6)]+_0x9eaeb(0x9e);const _0x46af0b=this[_0x9eaeb(0xc4)](_0x58908d);_0x46af0b&&_0x5cb6db[_0x9eaeb(0xe3)](_0x46af0b),_0x308a7c[_0x9eaeb(0xe3)](_0x5cb6db);}}}_0x308a7c[_0x9eaeb(0xe4)]==0x0&&(_0x308a7c[_0x9eaeb(0xec)]='<div\x20class=\x22ol-legend-no-data\x22>暂无图例</div>'),this[_0x9eaeb(0xea)][_0x9eaeb(0xe3)](_0x308a7c);}[a3_0x5a25b0(0xc4)](_0x2c0239){const _0x1c9dbd=a3_0x5a25b0;if(!_0x2c0239||(!_0x2c0239[_0x1c9dbd(0xa8)]||_0x2c0239[_0x1c9dbd(0xa8)]['length']==0x0)&&!_0x2c0239[_0x1c9dbd(0xdc)])return;const _0x3e5f2d=document['createElement']('div');_0x3e5f2d[_0x1c9dbd(0xac)]='ol-legend-item-container';if(_0x2c0239[_0x1c9dbd(0xdc)]){const _0x3414e4=document['createElement'](_0x1c9dbd(0xca));return _0x3414e4['className']=_0x1c9dbd(0xc8),_0x3414e4[_0x1c9dbd(0xec)]+='<img\x20src=\x22'+_0x2c0239[_0x1c9dbd(0xdc)]+'\x22\x20/>',_0x3e5f2d[_0x1c9dbd(0xe3)](_0x3414e4),_0x3e5f2d;}for(let _0x59e4c0=0x0;_0x59e4c0<_0x2c0239[_0x1c9dbd(0xa8)][_0x1c9dbd(0xc7)];_0x59e4c0++){const _0x5ead01=_0x2c0239[_0x1c9dbd(0xa8)][_0x59e4c0];if(!_0x5ead01||!_0x5ead01[_0x1c9dbd(0xb4)]||_0x5ead01['symbolizers'][_0x1c9dbd(0xc7)]==0x0)continue;const _0x36ae88=document['createElement'](_0x1c9dbd(0xca));_0x36ae88['className']=_0x1c9dbd(0xc8);const _0x158f98=_0x5ead01['symbolizers'][0x0];if(_0x158f98['Polygon']){let _0x11f436='';if(_0x158f98[_0x1c9dbd(0xe0)][_0x1c9dbd(0xd3)]){const _0x33cfd7=getColor(_0x158f98[_0x1c9dbd(0xe0)][_0x1c9dbd(0xd3)],_0x158f98['Polygon'][_0x1c9dbd(0xb7)]?_0x158f98[_0x1c9dbd(0xe0)][_0x1c9dbd(0xb7)]-0x0:0x1);_0x11f436=_0x1c9dbd(0xdb)+_0x158f98['Polygon'][_0x1c9dbd(0xc9)]+_0x1c9dbd(0xa7)+_0x33cfd7+';';}if(_0x158f98[_0x1c9dbd(0xe0)][_0x1c9dbd(0xa5)]){const _0x221f60=getColor(_0x158f98['Polygon'][_0x1c9dbd(0xa5)],_0x158f98['Polygon'][_0x1c9dbd(0xd9)]?_0x158f98[_0x1c9dbd(0xe0)][_0x1c9dbd(0xd9)]-0x0:0x1);_0x11f436+=_0x1c9dbd(0xd2)+_0x221f60+';';}_0x36ae88[_0x1c9dbd(0xec)]+=_0x1c9dbd(0xd8)+_0x11f436+'\x22></div>';}else{if(_0x158f98[_0x1c9dbd(0x9d)]){let _0x11ffeb='';if(_0x158f98[_0x1c9dbd(0x9d)][_0x1c9dbd(0xd3)]){const _0x9c385e=getColor(_0x158f98[_0x1c9dbd(0x9d)][_0x1c9dbd(0xd3)],_0x158f98[_0x1c9dbd(0x9d)]['stroke-opacity']?_0x158f98[_0x1c9dbd(0x9d)][_0x1c9dbd(0xb7)]-0x0:0x1);_0x11ffeb=_0x1c9dbd(0xb2)+_0x9c385e+_0x1c9dbd(0xc0)+_0x158f98[_0x1c9dbd(0x9d)][_0x1c9dbd(0xc9)]+'px';}_0x36ae88[_0x1c9dbd(0xec)]+=_0x1c9dbd(0xa3)+_0x11ffeb+_0x1c9dbd(0xc1);}else{if(_0x158f98[_0x1c9dbd(0xba)]){}else{if(_0x158f98['imgUrl'])_0x36ae88[_0x1c9dbd(0xec)]+=_0x1c9dbd(0xcd)+_0x158f98[_0x1c9dbd(0x9c)]+_0x1c9dbd(0xa0);else _0x158f98['Raster']&&_0x36ae88['appendChild'](this[_0x1c9dbd(0xe6)](_0x158f98[_0x1c9dbd(0xbb)]['colormap'][_0x1c9dbd(0xa2)]));}}}_0x36ae88[_0x1c9dbd(0xec)]+=_0x1c9dbd(0xbe)+(_0x5ead01[_0x1c9dbd(0xd6)]==undefined?'':_0x5ead01[_0x1c9dbd(0xd6)])+_0x1c9dbd(0x9e),_0x3e5f2d[_0x1c9dbd(0xe3)](_0x36ae88);}return _0x3e5f2d;}['setMap'](_0x16049c){const _0x20eecc=a3_0x5a25b0;super[_0x20eecc(0xcc)](_0x16049c),_0x16049c&&(_0x16049c['on'](_0x20eecc(0xe7),_0x367a97=>{const _0x389ec9=_0x20eecc;this[_0x389ec9(0xb1)]&&(clearTimeout(this[_0x389ec9(0xb1)]),this[_0x389ec9(0xb1)]=null),this[_0x389ec9(0xb1)]=setTimeout(()=>{const _0x54906d=_0x389ec9;this[_0x54906d(0xe5)](_0x367a97[_0x54906d(0xeb)]),this[_0x54906d(0xb1)]=null;},0x64);}),this[_0x20eecc(0xe5)]([]));}[a3_0x5a25b0(0xde)](_0x418821){const _0x14de07=a3_0x5a25b0,_0x3f6018=_0x418821[_0x14de07(0xb5)];}[a3_0x5a25b0(0xe6)](_0x1610a5){const _0x10b534=a3_0x5a25b0;_0x1610a5['sort']((_0x196c7e,_0x3c9846)=>_0x3c9846[_0x10b534(0xb3)]-_0x196c7e[_0x10b534(0xb3)]);const _0x574153=_0x1610a5[_0x10b534(0xc7)]-0x1,_0x2b640e=_0x1610a5[0x0][_0x10b534(0xb3)]-0x0,_0xb872ae=_0x1610a5[_0x574153][_0x10b534(0xb3)]-0x0,_0x19c92e=_0x2b640e-_0xb872ae;let _0x2c2a14=[],_0x32a1d2=0x0;_0x2c2a14[_0x10b534(0xc3)](_0x1610a5[0x0]['color']+_0x10b534(0xd5));const _0x26dc7c=[];for(let _0x584628=0x1;_0x584628<_0x1610a5[_0x10b534(0xc7)];_0x584628++){const _0x4b9c93=_0x1610a5[_0x584628][_0x10b534(0xb3)]-_0x1610a5[_0x584628-0x1][_0x10b534(0xb3)],_0x3a013f=Math[_0x10b534(0xd7)](_0x4b9c93/_0x19c92e*0x64);_0x32a1d2+=_0x3a013f,_0x2c2a14[_0x10b534(0xc3)](_0x1610a5[_0x584628][_0x10b534(0xdf)]+'\x20'+_0x32a1d2[_0x10b534(0xb9)](0x2)+'%'),_0x26dc7c[_0x10b534(0xc3)]({'from':_0x1610a5[_0x584628-0x1][_0x10b534(0xbf)],'to':_0x1610a5[_0x584628]['label'],'range':_0x4b9c93['toFixed'](0x2),'percent':_0x3a013f['toFixed'](0x1)+'%','color':_0x1610a5[_0x584628]['color']});}const _0x19985d=document[_0x10b534(0xcf)](_0x10b534(0xca));_0x19985d['className']='ol-legend-ramp-container';const _0x14e783=document[_0x10b534(0xcf)](_0x10b534(0xca));_0x14e783['className']=_0x10b534(0xab),_0x14e783[_0x10b534(0xec)]=_0x10b534(0xb8)+_0x2c2a14[_0x10b534(0xe2)](',\x20')+')\x22></div>',_0x19985d[_0x10b534(0xe3)](_0x14e783);const _0xfcf12e=document[_0x10b534(0xcf)]('div');return _0xfcf12e[_0x10b534(0xac)]=_0x10b534(0xd1),_0xfcf12e['innerHTML']=_0x10b534(0xce)+(_0x1610a5[0x0][_0x10b534(0xbf)]?_0x1610a5[0x0][_0x10b534(0xbf)]:_0x1610a5[0x0]['quantity'])+'</div>',_0xfcf12e[_0x10b534(0xec)]+=_0x10b534(0xe9)+(_0x1610a5[_0x574153][_0x10b534(0xbf)]?_0x1610a5[_0x574153][_0x10b534(0xbf)]:_0x1610a5[_0x574153][_0x10b534(0xb3)])+_0x10b534(0x9e),_0x19985d[_0x10b534(0xe3)](_0xfcf12e),_0x19985d;}}
1
+ const a3_0x4800f1=a3_0x4ce9;function a3_0x49ad(){const _0x45b6d7=['Polygon','url','sort','ol-legend-item','3845365EBQrkt','246939uUjZOa','ol-legend-layer','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-line\x22\x20style=\x22','\x22\x20/></div>','createDivByLegendJson','stroke','8YrsUPI','time','background-color:\x20','px\x20solid\x20','toFixed','quantity','fill-opacity','symbolizers','ol-legend-color-ramp','108CLmPLG','6561919leetWb','setMap','findIndex','innerHTML','ol-legend-ramp-container','rules','12aoecgB','init','legend','frameState','\x22></div>','ol-legend-ramp-label-container','<div\x20class=\x22ol-legend-item-title\x22>','<img\x20src=\x22','fill','colormap','showLegend','render','layerInfos','getMap','createColorRamp','<div\x20class=\x22ol-legend-title\x22>','<div\x20class=\x22ol-legend-ramp-label\x22\x20>高:','indexOf','length','div','title','getLayerById','11352636yuibsA','getVisible','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-img\x22><img\x20class=\x22ol-legend-icon-size\x22\x20src=\x22','background-color:','ol-legend-container','120ElcrPe','<div\x20class=\x22ol-legend-ramp-label\x22\x20>低:','<div\x20class=\x22legend-layer-title\x22>','103040xszsUi','Line','element','<div\x20class=\x22ol-legend-no-data\x22>暂无图例</div>','color','\x200%','stroke-opacity',')\x22></div>','14402jTyuuJ','label','layerIds','ol-legend-control\x20','2440526khoJVy','childElementCount','imgUrl','appendChild',';height:','className','createElement','push','stroke-width','</div>'];a3_0x49ad=function(){return _0x45b6d7;};return a3_0x49ad();}function a3_0x4ce9(_0x2bbc10,_0x160a7f){const _0x49ad5e=a3_0x49ad();return a3_0x4ce9=function(_0x4ce9ad,_0x1538f6){_0x4ce9ad=_0x4ce9ad-0x192;let _0x5d5006=_0x49ad5e[_0x4ce9ad];return _0x5d5006;},a3_0x4ce9(_0x2bbc10,_0x160a7f);}(function(_0x4c7c3d,_0x299556){const _0x23da57=a3_0x4ce9,_0x5b6f17=_0x4c7c3d();while(!![]){try{const _0x46b7b9=-parseInt(_0x23da57(0x1b5))/0x1+-parseInt(_0x23da57(0x1a2))/0x2*(-parseInt(_0x23da57(0x1c4))/0x3)+-parseInt(_0x23da57(0x19a))/0x4+parseInt(_0x23da57(0x1b4))/0x5*(-parseInt(_0x23da57(0x1cb))/0x6)+parseInt(_0x23da57(0x1c5))/0x7+parseInt(_0x23da57(0x1bb))/0x8*(-parseInt(_0x23da57(0x192))/0x9)+-parseInt(_0x23da57(0x197))/0xa*(-parseInt(_0x23da57(0x1a6))/0xb);if(_0x46b7b9===_0x299556)break;else _0x5b6f17['push'](_0x5b6f17['shift']());}catch(_0x15fee1){_0x5b6f17['push'](_0x5b6f17['shift']());}}}(a3_0x49ad,0xc016c));import{Control}from'ol/control';import{getColor}from'../style/common';import{getLayerLegend}from'../utils/LayerUtil';export default class LegendControl extends Control{constructor(_0x47eddd){const _0x608da=a3_0x4ce9;_0x47eddd=_0x47eddd||{};if(!_0x47eddd[_0x608da(0x19c)]){const _0x5ae7e8=document[_0x608da(0x1ac)]('div');_0x47eddd[_0x608da(0x19c)]=_0x5ae7e8,_0x5ae7e8[_0x608da(0x1ab)]=_0x608da(0x1a5)+_0x47eddd[_0x608da(0x1ab)];}super(_0x47eddd),this[_0x608da(0x1d7)]=_0x47eddd[_0x608da(0x1d7)],this[_0x608da(0x1df)]=_0x47eddd[_0x608da(0x1df)],this[_0x608da(0x1bc)]=null;}async[a3_0x4800f1(0x1cc)](_0x3f1b77=[]){const _0xead946=a3_0x4800f1;if(this['layerInfos']&&this[_0xead946(0x1d7)][_0xead946(0x1dd)]>0x0&&_0x3f1b77['length']>0x0&&this['layerInfos'][_0xead946(0x1c7)](_0x3ff72f=>{const _0xd7f66=_0xead946;return _0x3f1b77[_0xd7f66(0x1dc)](_0x3ff72f['id'])>-0x1&&_0x3ff72f[_0xd7f66(0x1d5)];})==-0x1)return;const _0x382a05=this['element'];_0x382a05['innerHTML']='';const _0x6aa48b=document[_0xead946(0x1ac)](_0xead946(0x1de));_0x6aa48b[_0xead946(0x1ab)]=_0xead946(0x196);this['title']&&(_0x382a05['innerHTML']=_0xead946(0x1da)+this['title']+_0xead946(0x1af));let _0x268bd9=![];if(!this[_0xead946(0x1d7)]||this[_0xead946(0x1d7)][_0xead946(0x1dd)]==0x0||_0x3f1b77['length']>0x0&&this[_0xead946(0x1d7)][_0xead946(0x1c7)](_0x58c7cb=>{const _0x51787c=_0xead946;return _0x3f1b77[_0x51787c(0x1dc)](_0x58c7cb['id'])>-0x1&&_0x58c7cb['showLegend'];})==-0x1)_0x6aa48b['innerHTML']='<div\x20class=\x22ol-legend-no-data\x22>暂无图例</div>';else for(let _0x47346d=0x0;_0x47346d<this[_0xead946(0x1d7)][_0xead946(0x1dd)];_0x47346d++){const _0x38d7e2=this[_0xead946(0x1d7)][_0x47346d];if(!_0x38d7e2['showLegend']||!_0x38d7e2[_0xead946(0x1b1)])continue;const _0x45ebc1=this[_0xead946(0x1d8)]();if(!_0x45ebc1)continue;const _0x30c222=_0x45ebc1[_0xead946(0x1e0)](_0x38d7e2['id']);if(!_0x30c222||_0x30c222[_0xead946(0x193)]()==![])continue;if(_0x38d7e2['legend']&&_0x38d7e2[_0xead946(0x1cd)][_0xead946(0x1dd)]>0x0)for(let _0x48c5e4=0x0;_0x48c5e4<_0x38d7e2[_0xead946(0x1cd)][_0xead946(0x1dd)];_0x48c5e4++){const _0x2549ee=_0x38d7e2['legend'][_0x48c5e4],_0x1624c3=document[_0xead946(0x1ac)](_0xead946(0x1de));_0x1624c3[_0xead946(0x1ab)]=_0xead946(0x1b6),_0x1624c3[_0xead946(0x1c8)]+=_0xead946(0x199)+_0x38d7e2[_0xead946(0x1df)]+_0xead946(0x1af);const _0x573c71=this[_0xead946(0x1b9)](_0x2549ee);_0x573c71&&_0x1624c3[_0xead946(0x1a9)](_0x573c71),_0x6aa48b[_0xead946(0x1a9)](_0x1624c3);}else{const _0x4138ae=await getLayerLegend(_0x38d7e2);if(_0x4138ae&&_0x4138ae[_0xead946(0x1dd)]>0x0)for(let _0x4414e5=0x0;_0x4414e5<_0x4138ae[_0xead946(0x1dd)];_0x4414e5++){const _0x463e7c=_0x4138ae[_0x4414e5],_0xfc262b=document[_0xead946(0x1ac)]('div');_0xfc262b['className']=_0xead946(0x1b6),_0xfc262b[_0xead946(0x1c8)]+='<div\x20class=\x22legend-layer-title\x22>'+_0x38d7e2[_0xead946(0x1df)]+'</div>';const _0x106ae2=this[_0xead946(0x1b9)](_0x463e7c);_0x106ae2&&_0xfc262b[_0xead946(0x1a9)](_0x106ae2),_0x6aa48b[_0xead946(0x1a9)](_0xfc262b);}}}_0x6aa48b[_0xead946(0x1a7)]==0x0&&(_0x6aa48b[_0xead946(0x1c8)]=_0xead946(0x19d)),this[_0xead946(0x19c)][_0xead946(0x1a9)](_0x6aa48b);}['createDivByLegendJson'](_0x5aae9f){const _0x4fffa7=a3_0x4800f1;if(!_0x5aae9f||(!_0x5aae9f['rules']||_0x5aae9f[_0x4fffa7(0x1ca)]['length']==0x0)&&!_0x5aae9f[_0x4fffa7(0x1b1)])return;const _0x5d7131=document[_0x4fffa7(0x1ac)]('div');_0x5d7131[_0x4fffa7(0x1ab)]='ol-legend-item-container';if(_0x5aae9f['url']){const _0x498ab7=document[_0x4fffa7(0x1ac)]('div');return _0x498ab7[_0x4fffa7(0x1ab)]=_0x4fffa7(0x1b3),_0x498ab7[_0x4fffa7(0x1c8)]+=_0x4fffa7(0x1d2)+_0x5aae9f[_0x4fffa7(0x1b1)]+'\x22\x20/>',_0x5d7131[_0x4fffa7(0x1a9)](_0x498ab7),_0x5d7131;}for(let _0x33cfe5=0x0;_0x33cfe5<_0x5aae9f[_0x4fffa7(0x1ca)]['length'];_0x33cfe5++){const _0x281eea=_0x5aae9f[_0x4fffa7(0x1ca)][_0x33cfe5];if(!_0x281eea||!_0x281eea[_0x4fffa7(0x1c2)]||_0x281eea[_0x4fffa7(0x1c2)][_0x4fffa7(0x1dd)]==0x0)continue;const _0x1cee1b=document[_0x4fffa7(0x1ac)](_0x4fffa7(0x1de));_0x1cee1b[_0x4fffa7(0x1ab)]='ol-legend-item';const _0x4ca156=_0x281eea[_0x4fffa7(0x1c2)][0x0];if(_0x4ca156[_0x4fffa7(0x1b0)]){let _0x151d74='';if(_0x4ca156['Polygon'][_0x4fffa7(0x1ba)]){const _0x3e8031=getColor(_0x4ca156['Polygon'][_0x4fffa7(0x1ba)],_0x4ca156[_0x4fffa7(0x1b0)][_0x4fffa7(0x1a0)]?_0x4ca156[_0x4fffa7(0x1b0)][_0x4fffa7(0x1a0)]-0x0:0x1);_0x151d74='border:\x20'+_0x4ca156[_0x4fffa7(0x1b0)][_0x4fffa7(0x1ae)]+_0x4fffa7(0x1be)+_0x3e8031+';';}if(_0x4ca156[_0x4fffa7(0x1b0)][_0x4fffa7(0x1d3)]){const _0x4e4eef=getColor(_0x4ca156[_0x4fffa7(0x1b0)]['fill'],_0x4ca156[_0x4fffa7(0x1b0)][_0x4fffa7(0x1c1)]?_0x4ca156[_0x4fffa7(0x1b0)][_0x4fffa7(0x1c1)]-0x0:0x1);_0x151d74+=_0x4fffa7(0x1bd)+_0x4e4eef+';';}_0x1cee1b[_0x4fffa7(0x1c8)]+='<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-polygon\x22\x20style=\x22'+_0x151d74+_0x4fffa7(0x1cf);}else{if(_0x4ca156[_0x4fffa7(0x19b)]){let _0x308b54='';if(_0x4ca156[_0x4fffa7(0x19b)][_0x4fffa7(0x1ba)]){const _0xcd0298=getColor(_0x4ca156[_0x4fffa7(0x19b)]['stroke'],_0x4ca156['Line'][_0x4fffa7(0x1a0)]?_0x4ca156[_0x4fffa7(0x19b)][_0x4fffa7(0x1a0)]-0x0:0x1);_0x308b54=_0x4fffa7(0x195)+_0xcd0298+_0x4fffa7(0x1aa)+_0x4ca156[_0x4fffa7(0x19b)][_0x4fffa7(0x1ae)]+'px';}_0x1cee1b[_0x4fffa7(0x1c8)]+=_0x4fffa7(0x1b7)+_0x308b54+_0x4fffa7(0x1cf);}else{if(_0x4ca156['Point']){}else{if(_0x4ca156[_0x4fffa7(0x1a8)])_0x1cee1b['innerHTML']+=_0x4fffa7(0x194)+_0x4ca156[_0x4fffa7(0x1a8)]+_0x4fffa7(0x1b8);else _0x4ca156['Raster']&&_0x1cee1b['appendChild'](this[_0x4fffa7(0x1d9)](_0x4ca156['Raster'][_0x4fffa7(0x1d4)]['entries']));}}}_0x1cee1b[_0x4fffa7(0x1c8)]+=_0x4fffa7(0x1d1)+(_0x281eea[_0x4fffa7(0x1df)]==undefined?'':_0x281eea[_0x4fffa7(0x1df)])+_0x4fffa7(0x1af),_0x5d7131['appendChild'](_0x1cee1b);}return _0x5d7131;}[a3_0x4800f1(0x1c6)](_0x17f360){const _0x1d036e=a3_0x4800f1;super['setMap'](_0x17f360),_0x17f360&&(_0x17f360['on']('changelayer',_0x67b9cb=>{const _0x559efd=a3_0x4ce9;this[_0x559efd(0x1bc)]&&(clearTimeout(this[_0x559efd(0x1bc)]),this[_0x559efd(0x1bc)]=null),this[_0x559efd(0x1bc)]=setTimeout(()=>{const _0x542a06=_0x559efd;this[_0x542a06(0x1cc)](_0x67b9cb[_0x542a06(0x1a4)]),this[_0x542a06(0x1bc)]=null;},0x64);}),this[_0x1d036e(0x1cc)]([]));}[a3_0x4800f1(0x1d6)](_0x2e6218){const _0x36d905=a3_0x4800f1,_0x5d9979=_0x2e6218[_0x36d905(0x1ce)];}[a3_0x4800f1(0x1d9)](_0x51d3e1){const _0x361a1b=a3_0x4800f1;_0x51d3e1[_0x361a1b(0x1b2)]((_0x498fc3,_0x1163a0)=>_0x1163a0[_0x361a1b(0x1c0)]-_0x498fc3[_0x361a1b(0x1c0)]);const _0x1712df=_0x51d3e1[_0x361a1b(0x1dd)]-0x1,_0x5c3112=_0x51d3e1[0x0]['quantity']-0x0,_0x2aa6f6=_0x51d3e1[_0x1712df][_0x361a1b(0x1c0)]-0x0,_0x2f1c72=_0x5c3112-_0x2aa6f6;let _0x48ae28=[],_0x128f9e=0x0;_0x48ae28[_0x361a1b(0x1ad)](_0x51d3e1[0x0][_0x361a1b(0x19e)]+_0x361a1b(0x19f));const _0x131b67=[];for(let _0x4f1df0=0x1;_0x4f1df0<_0x51d3e1['length'];_0x4f1df0++){const _0x57eb4c=_0x51d3e1[_0x4f1df0][_0x361a1b(0x1c0)]-_0x51d3e1[_0x4f1df0-0x1][_0x361a1b(0x1c0)],_0x59f69e=Math['abs'](_0x57eb4c/_0x2f1c72*0x64);_0x128f9e+=_0x59f69e,_0x48ae28['push'](_0x51d3e1[_0x4f1df0][_0x361a1b(0x19e)]+'\x20'+_0x128f9e[_0x361a1b(0x1bf)](0x2)+'%'),_0x131b67['push']({'from':_0x51d3e1[_0x4f1df0-0x1][_0x361a1b(0x1a3)],'to':_0x51d3e1[_0x4f1df0][_0x361a1b(0x1a3)],'range':_0x57eb4c['toFixed'](0x2),'percent':_0x59f69e[_0x361a1b(0x1bf)](0x1)+'%','color':_0x51d3e1[_0x4f1df0][_0x361a1b(0x19e)]});}const _0xd2407f=document[_0x361a1b(0x1ac)](_0x361a1b(0x1de));_0xd2407f['className']=_0x361a1b(0x1c9);const _0x259caa=document['createElement']('div');_0x259caa[_0x361a1b(0x1ab)]=_0x361a1b(0x1c3),_0x259caa[_0x361a1b(0x1c8)]='<div\x20class=\x22ol-legend-ramp-bar\x22\x20style=\x22background:linear-gradient(to\x20bottom,\x20'+_0x48ae28['join'](',\x20')+_0x361a1b(0x1a1),_0xd2407f['appendChild'](_0x259caa);const _0xcdbccb=document[_0x361a1b(0x1ac)](_0x361a1b(0x1de));return _0xcdbccb[_0x361a1b(0x1ab)]=_0x361a1b(0x1d0),_0xcdbccb[_0x361a1b(0x1c8)]=_0x361a1b(0x1db)+(_0x51d3e1[0x0]['label']?_0x51d3e1[0x0][_0x361a1b(0x1a3)]:_0x51d3e1[0x0][_0x361a1b(0x1c0)])+_0x361a1b(0x1af),_0xcdbccb[_0x361a1b(0x1c8)]+=_0x361a1b(0x198)+(_0x51d3e1[_0x1712df][_0x361a1b(0x1a3)]?_0x51d3e1[_0x1712df][_0x361a1b(0x1a3)]:_0x51d3e1[_0x1712df][_0x361a1b(0x1c0)])+_0x361a1b(0x1af),_0xd2407f[_0x361a1b(0x1a9)](_0xcdbccb),_0xd2407f;}}
@@ -1 +1 @@
1
- const a4_0x3c3ec2=a4_0x19c6;(function(_0x409537,_0x50203a){const _0x5d9758=a4_0x19c6,_0x3e96a4=_0x409537();while(!![]){try{const _0x55c89f=-parseInt(_0x5d9758(0x1cc))/0x1+parseInt(_0x5d9758(0x1d3))/0x2*(parseInt(_0x5d9758(0x1d9))/0x3)+parseInt(_0x5d9758(0x1de))/0x4*(parseInt(_0x5d9758(0x1d4))/0x5)+parseInt(_0x5d9758(0x1e5))/0x6*(parseInt(_0x5d9758(0x1bb))/0x7)+parseInt(_0x5d9758(0x1ba))/0x8+-parseInt(_0x5d9758(0x1bc))/0x9*(-parseInt(_0x5d9758(0x1c7))/0xa)+parseInt(_0x5d9758(0x1b6))/0xb*(-parseInt(_0x5d9758(0x1b7))/0xc);if(_0x55c89f===_0x50203a)break;else _0x3e96a4['push'](_0x3e96a4['shift']());}catch(_0x2e14f4){_0x3e96a4['push'](_0x3e96a4['shift']());}}}(a4_0x4c4b,0x5525d));function a4_0x4c4b(){const _0x3fbc21=['getMap','render','10KGLwki','X:{x}\x20Y:{y}','&#160;','setMap','renderedHTML_','447986VKzhcB','setProjection','transform_','fractionDigits','renderOnMouseOut_','div','get','136YDPNPV','2031575EeAuVt','handleMouseOut','getCoordinateFormat','handleProjectionChanged_','toString','219xzXMkK','wrapX_','innerHTML','placeholder_','set','4IlTqno','className','element','getEventPixel','createStringXY','getProjection','POINTEROUT','2225046nsoIdn','handleMouseMove','placeholder','coordinateFormat','ol-mouse-position','6462863zCYnBQ','12jqedNO','getView','push','3887624nXMdCf','7xcXGnl','1045899vZZWGq','mapProjection_','projection','经度:','viewState','showSpheroid','createStringHDMS','getCoordinateFromPixelInternal','updateHTML_'];a4_0x4c4b=function(){return _0x3fbc21;};return a4_0x4c4b();}import{format,wrapX}from'ol/coordinate';import{degreesToStringHDMS}from'../utils/StringUtil';import a4_0x50b083 from'ol/pointer/EventType.js';import{getSpheroidProjection,isSpheroid}from'../utils/RegisterProjUtil';function a4_0x19c6(_0x29e520,_0x41a8e7){const _0x4c4b90=a4_0x4c4b();return a4_0x19c6=function(_0x19c689,_0x2a784f){_0x19c689=_0x19c689-0x1b4;let _0x10084e=_0x4c4b90[_0x19c689];return _0x10084e;},a4_0x19c6(_0x29e520,_0x41a8e7);}import{listen}from'ol/events';import{Control}from'ol/control';import{getTransformFromProjections,getUserProjection,identityTransform}from'ol/proj';const PROJECTION=a4_0x3c3ec2(0x1be),COORDINATE_FORMAT=a4_0x3c3ec2(0x1b4);export default class MousePositionControl extends Control{constructor(_0x51a74c){const _0x3a0029=a4_0x3c3ec2;_0x51a74c=_0x51a74c||{};if(!_0x51a74c[_0x3a0029(0x1e0)]){const _0x9917a5=document['createElement'](_0x3a0029(0x1d1));_0x51a74c[_0x3a0029(0x1e0)]=_0x9917a5;}_0x51a74c[_0x3a0029(0x1e0)][_0x3a0029(0x1df)]=_0x51a74c['className']==undefined?_0x3a0029(0x1b5):_0x51a74c[_0x3a0029(0x1df)],super(_0x51a74c),this[_0x3a0029(0x1c1)]=_0x51a74c['showSpheroid']===undefined?![]:_0x51a74c[_0x3a0029(0x1c1)],this[_0x3a0029(0x1cf)]=_0x51a74c['fractionDigits']===undefined?0x2:_0x51a74c[_0x3a0029(0x1cf)],this[_0x3a0029(0x1d0)]=_0x51a74c[_0x3a0029(0x1e7)]!==undefined,this[_0x3a0029(0x1dc)]=_0x51a74c[_0x3a0029(0x1e7)]!==undefined?_0x51a74c[_0x3a0029(0x1e7)]:_0x3a0029(0x1c9),this[_0x3a0029(0x1cb)]=_0x51a74c[_0x3a0029(0x1e0)]['innerHTML'],this[_0x3a0029(0x1da)]=!![];}[a4_0x3c3ec2(0x1d7)](){const _0x5873ee=a4_0x3c3ec2;this[_0x5873ee(0x1ce)]=undefined;}[a4_0x3c3ec2(0x1d6)](){const _0x34f206=a4_0x3c3ec2;return this[_0x34f206(0x1d2)](COORDINATE_FORMAT);}['setCoordinateFormat'](_0xc51411){const _0x383cc4=a4_0x3c3ec2;this[_0x383cc4(0x1dd)](COORDINATE_FORMAT,_0xc51411);}['getProjection'](){return this['get'](PROJECTION);}['setProjection'](_0x2bdf18){const _0x822d31=a4_0x3c3ec2;this[_0x822d31(0x1dd)](PROJECTION,_0x2bdf18);}['handleMouseMove'](_0x81f544){const _0x140317=a4_0x3c3ec2,_0x558ed7=this[_0x140317(0x1c5)]();this[_0x140317(0x1c4)](_0x558ed7===null||_0x558ed7===void 0x0?void 0x0:_0x558ed7[_0x140317(0x1e1)](_0x81f544));}[a4_0x3c3ec2(0x1d5)](_0x16dee8){const _0x3bb834=a4_0x3c3ec2;this[_0x3bb834(0x1c4)](null);}['setMap'](_0x1bf7eb){const _0x39e57f=a4_0x3c3ec2;super[_0x39e57f(0x1ca)](_0x1bf7eb);if(_0x1bf7eb){const _0x36c837=isSpheroid(_0x1bf7eb[_0x39e57f(0x1b8)]()[_0x39e57f(0x1e3)]());let _0x54c649=_0x1bf7eb[_0x39e57f(0x1b8)]()[_0x39e57f(0x1e3)](),_0x202376=this[_0x39e57f(0x1c2)];if(!_0x36c837){if(this['showSpheroid']){const _0x54a482=getSpheroidProjection(_0x1bf7eb[_0x39e57f(0x1b8)]()['getProjection']());_0x54a482&&(_0x54c649=_0x54a482);}else _0x202376=this[_0x39e57f(0x1e2)];}this[_0x39e57f(0x1cd)](_0x54c649),this['setCoordinateFormat'](_0x202376(this[_0x39e57f(0x1cf)]));const _0xe876c9=_0x1bf7eb['getViewport']();this['listenerKeys'][_0x39e57f(0x1b9)](listen(_0xe876c9,a4_0x50b083['POINTERMOVE'],this[_0x39e57f(0x1e6)],this)),this[_0x39e57f(0x1d0)]&&this['listenerKeys'][_0x39e57f(0x1b9)](listen(_0xe876c9,a4_0x50b083[_0x39e57f(0x1e4)],this['handleMouseOut'],this)),this[_0x39e57f(0x1c4)](null);}}[a4_0x3c3ec2(0x1c4)](_0x3e2194){const _0xd7f2bc=a4_0x3c3ec2;let _0x2fe543=this['placeholder_'];const _0x277ad1=this[_0xd7f2bc(0x1c5)]();if(_0x3e2194&&this[_0xd7f2bc(0x1bd)]&&_0x277ad1){if(!this['transform_']){const _0x5f28bb=this[_0xd7f2bc(0x1e3)]();_0x5f28bb?this[_0xd7f2bc(0x1ce)]=getTransformFromProjections(this[_0xd7f2bc(0x1bd)],_0x5f28bb):this[_0xd7f2bc(0x1ce)]=identityTransform;}const _0x28ceda=_0x277ad1[_0xd7f2bc(0x1c3)](_0x3e2194);if(_0x28ceda){const _0x94efa6=getUserProjection();_0x94efa6&&(this[_0xd7f2bc(0x1ce)]=getTransformFromProjections(this[_0xd7f2bc(0x1bd)],_0x94efa6));this[_0xd7f2bc(0x1ce)](_0x28ceda,_0x28ceda,undefined);if(this[_0xd7f2bc(0x1da)]){const _0x5891ab=_0x94efa6||this[_0xd7f2bc(0x1e3)]()||this['mapProjection_'];wrapX(_0x28ceda,_0x5891ab);}const _0x2a9e48=this[_0xd7f2bc(0x1d6)]();_0x2a9e48?_0x2fe543=_0x2a9e48(_0x28ceda):_0x2fe543=_0x28ceda[_0xd7f2bc(0x1d8)]();}}(!this[_0xd7f2bc(0x1cb)]||_0x2fe543!==this[_0xd7f2bc(0x1cb)])&&(this['element'][_0xd7f2bc(0x1db)]=_0x2fe543,this['renderedHTML_']=_0x2fe543);}[a4_0x3c3ec2(0x1c6)](_0x25673f){const _0x56b34e=a4_0x3c3ec2,_0x5b9bb0=_0x25673f['frameState'];!_0x5b9bb0?this[_0x56b34e(0x1bd)]=undefined:this[_0x56b34e(0x1bd)]!=_0x5b9bb0[_0x56b34e(0x1c0)][_0x56b34e(0x1be)]&&(this['mapProjection_']=_0x5b9bb0[_0x56b34e(0x1c0)]['projection'],this['transform_']=undefined);}[a4_0x3c3ec2(0x1e2)](_0x1208bb){return function(_0xc907cb){const _0x275650=a4_0x19c6;return format(_0xc907cb,_0x275650(0x1c8),_0x1208bb);};}['createStringHDMS'](_0x4d7af0){return function(_0x1e4d3d){const _0x1aa0df=a4_0x19c6;if(_0x1e4d3d)return _0x1aa0df(0x1bf)+degreesToStringHDMS(_0x1e4d3d[0x0],_0x4d7af0)+'\x20'+'纬度:'+degreesToStringHDMS(_0x1e4d3d[0x1],_0x4d7af0);};}}
1
+ const a4_0x4af282=a4_0x2d0f;(function(_0x4aa6ad,_0x5be9fd){const _0x794d23=a4_0x2d0f,_0x1b4658=_0x4aa6ad();while(!![]){try{const _0x4a375c=parseInt(_0x794d23(0x1d4))/0x1+parseInt(_0x794d23(0x1be))/0x2*(parseInt(_0x794d23(0x1d9))/0x3)+-parseInt(_0x794d23(0x1dc))/0x4*(-parseInt(_0x794d23(0x1b7))/0x5)+parseInt(_0x794d23(0x1c4))/0x6+-parseInt(_0x794d23(0x1d8))/0x7*(parseInt(_0x794d23(0x1bc))/0x8)+-parseInt(_0x794d23(0x1e6))/0x9*(parseInt(_0x794d23(0x1de))/0xa)+-parseInt(_0x794d23(0x1df))/0xb;if(_0x4a375c===_0x5be9fd)break;else _0x1b4658['push'](_0x1b4658['shift']());}catch(_0x339a4e){_0x1b4658['push'](_0x1b4658['shift']());}}}(a4_0x17c0,0xe5b8a));import{format,wrapX}from'ol/coordinate';import{degreesToStringHDMS}from'../utils/StringUtil';import a4_0x63fc98 from'ol/pointer/EventType.js';function a4_0x2d0f(_0x9d26fc,_0x48c5ba){const _0x17c016=a4_0x17c0();return a4_0x2d0f=function(_0x2d0fc5,_0x164af2){_0x2d0fc5=_0x2d0fc5-0x1b4;let _0x3c9032=_0x17c016[_0x2d0fc5];return _0x3c9032;},a4_0x2d0f(_0x9d26fc,_0x48c5ba);}import{getSpheroidProjection,isSpheroid}from'../utils/RegisterProjUtil';import{listen}from'ol/events';function a4_0x17c0(){const _0x5102e2=['get','40OZGPxd','setMap','18276hEJyiM','element','createStringXY','setProjection','renderOnMouseOut_','viewState','6961908KBahHU','getMap','transform_','setCoordinateFormat','wrapX_','toString','mapProjection_','纬度:','push','placeholder_','getProjection','getCoordinateFromPixelInternal','placeholder','coordinateFormat','set','listenerKeys','1794595QAyHvM','getView','handleProjectionChanged_','div','2364131gSFGsK','276hjGxsX','showSpheroid','经度:','4lOeiNa','fractionDigits','410GMCpuP','23396604sEbDzr','updateHTML_','className','getCoordinateFormat','POINTEROUT','render','frameState','37251mHdbqP','handleMouseOut','renderedHTML_','handleMouseMove','createStringHDMS','5653285KoctjB','projection','createElement','X:{x}\x20Y:{y}'];a4_0x17c0=function(){return _0x5102e2;};return a4_0x17c0();}import{Control}from'ol/control';import{getTransformFromProjections,getUserProjection,identityTransform}from'ol/proj';const PROJECTION=a4_0x4af282(0x1b8),COORDINATE_FORMAT=a4_0x4af282(0x1d1);export default class MousePositionControl extends Control{constructor(_0x3ab49b){const _0x395dd9=a4_0x4af282;_0x3ab49b=_0x3ab49b||{};if(!_0x3ab49b[_0x395dd9(0x1bf)]){const _0x70d469=document[_0x395dd9(0x1b9)](_0x395dd9(0x1d7));_0x3ab49b[_0x395dd9(0x1bf)]=_0x70d469;}_0x3ab49b[_0x395dd9(0x1bf)][_0x395dd9(0x1e1)]=_0x3ab49b[_0x395dd9(0x1e1)]==undefined?'ol-mouse-position':_0x3ab49b[_0x395dd9(0x1e1)],super(_0x3ab49b),this[_0x395dd9(0x1da)]=_0x3ab49b[_0x395dd9(0x1da)]===undefined?![]:_0x3ab49b['showSpheroid'],this['fractionDigits']=_0x3ab49b['fractionDigits']===undefined?0x2:_0x3ab49b[_0x395dd9(0x1dd)],this['renderOnMouseOut_']=_0x3ab49b[_0x395dd9(0x1d0)]!==undefined,this[_0x395dd9(0x1cd)]=_0x3ab49b[_0x395dd9(0x1d0)]!==undefined?_0x3ab49b[_0x395dd9(0x1d0)]:'&#160;',this['renderedHTML_']=_0x3ab49b[_0x395dd9(0x1bf)]['innerHTML'],this[_0x395dd9(0x1c8)]=!![];}[a4_0x4af282(0x1d6)](){const _0x29f28d=a4_0x4af282;this[_0x29f28d(0x1c6)]=undefined;}[a4_0x4af282(0x1e2)](){return this['get'](COORDINATE_FORMAT);}[a4_0x4af282(0x1c7)](_0x49e9f6){this['set'](COORDINATE_FORMAT,_0x49e9f6);}[a4_0x4af282(0x1ce)](){const _0x2b9e12=a4_0x4af282;return this[_0x2b9e12(0x1bb)](PROJECTION);}[a4_0x4af282(0x1c1)](_0x5c7aa1){const _0x23a4c2=a4_0x4af282;this[_0x23a4c2(0x1d2)](PROJECTION,_0x5c7aa1);}[a4_0x4af282(0x1b5)](_0x528985){const _0x34bb9f=a4_0x4af282,_0x482efe=this[_0x34bb9f(0x1c5)]();this[_0x34bb9f(0x1e0)](_0x482efe===null||_0x482efe===void 0x0?void 0x0:_0x482efe['getEventPixel'](_0x528985));}[a4_0x4af282(0x1e7)](_0x44403b){const _0x1f185e=a4_0x4af282;this[_0x1f185e(0x1e0)](null);}[a4_0x4af282(0x1bd)](_0x1a59ed){const _0x5915a7=a4_0x4af282;super[_0x5915a7(0x1bd)](_0x1a59ed);if(_0x1a59ed){const _0x41a16b=isSpheroid(_0x1a59ed[_0x5915a7(0x1d5)]()[_0x5915a7(0x1ce)]());let _0x59c2fb=_0x1a59ed['getView']()[_0x5915a7(0x1ce)](),_0x149092=this[_0x5915a7(0x1b6)];if(!_0x41a16b){if(this[_0x5915a7(0x1da)]){const _0x2a872b=getSpheroidProjection(_0x1a59ed[_0x5915a7(0x1d5)]()[_0x5915a7(0x1ce)]());_0x2a872b&&(_0x59c2fb=_0x2a872b);}else _0x149092=this[_0x5915a7(0x1c0)];}this['setProjection'](_0x59c2fb),this['setCoordinateFormat'](_0x149092(this[_0x5915a7(0x1dd)]));const _0x1ddeaf=_0x1a59ed['getViewport']();this[_0x5915a7(0x1d3)][_0x5915a7(0x1cc)](listen(_0x1ddeaf,a4_0x63fc98['POINTERMOVE'],this[_0x5915a7(0x1b5)],this)),this[_0x5915a7(0x1c2)]&&this[_0x5915a7(0x1d3)]['push'](listen(_0x1ddeaf,a4_0x63fc98[_0x5915a7(0x1e3)],this['handleMouseOut'],this)),this[_0x5915a7(0x1e0)](null);}}[a4_0x4af282(0x1e0)](_0x512d5a){const _0x39d696=a4_0x4af282;let _0x59975e=this['placeholder_'];const _0x3a9d4d=this['getMap']();if(_0x512d5a&&this['mapProjection_']&&_0x3a9d4d){if(!this[_0x39d696(0x1c6)]){const _0x2c4df5=this['getProjection']();_0x2c4df5?this[_0x39d696(0x1c6)]=getTransformFromProjections(this['mapProjection_'],_0x2c4df5):this[_0x39d696(0x1c6)]=identityTransform;}const _0x4023f8=_0x3a9d4d[_0x39d696(0x1cf)](_0x512d5a);if(_0x4023f8){const _0x22d4f4=getUserProjection();_0x22d4f4&&(this['transform_']=getTransformFromProjections(this['mapProjection_'],_0x22d4f4));this[_0x39d696(0x1c6)](_0x4023f8,_0x4023f8,undefined);if(this[_0x39d696(0x1c8)]){const _0x45716d=_0x22d4f4||this[_0x39d696(0x1ce)]()||this[_0x39d696(0x1ca)];wrapX(_0x4023f8,_0x45716d);}const _0x4b216f=this[_0x39d696(0x1e2)]();_0x4b216f?_0x59975e=_0x4b216f(_0x4023f8):_0x59975e=_0x4023f8[_0x39d696(0x1c9)]();}}(!this[_0x39d696(0x1b4)]||_0x59975e!==this[_0x39d696(0x1b4)])&&(this['element']['innerHTML']=_0x59975e,this[_0x39d696(0x1b4)]=_0x59975e);}[a4_0x4af282(0x1e4)](_0x307880){const _0xc3d3b0=a4_0x4af282,_0xa17951=_0x307880[_0xc3d3b0(0x1e5)];!_0xa17951?this[_0xc3d3b0(0x1ca)]=undefined:this['mapProjection_']!=_0xa17951[_0xc3d3b0(0x1c3)][_0xc3d3b0(0x1b8)]&&(this[_0xc3d3b0(0x1ca)]=_0xa17951[_0xc3d3b0(0x1c3)][_0xc3d3b0(0x1b8)],this[_0xc3d3b0(0x1c6)]=undefined);}[a4_0x4af282(0x1c0)](_0x14c9b6){return function(_0x16b965){const _0x25ad55=a4_0x2d0f;return format(_0x16b965,_0x25ad55(0x1ba),_0x14c9b6);};}[a4_0x4af282(0x1b6)](_0x3879f5){return function(_0x31d37d){const _0x2fb195=a4_0x2d0f;if(_0x31d37d)return _0x2fb195(0x1db)+degreesToStringHDMS(_0x31d37d[0x0],_0x3879f5)+'\x20'+_0x2fb195(0x1cb)+degreesToStringHDMS(_0x31d37d[0x1],_0x3879f5);};}}
@@ -1 +1 @@
1
- function a5_0x22b1(_0x458bb8,_0x5923ba){const _0x491446=a5_0x4914();return a5_0x22b1=function(_0x22b1f6,_0x8439cb){_0x22b1f6=_0x22b1f6-0x170;let _0x241150=_0x491446[_0x22b1f6];return _0x241150;},a5_0x22b1(_0x458bb8,_0x5923ba);}const a5_0x4626e4=a5_0x22b1;(function(_0x21e25b,_0x25dde4){const _0x317dd2=a5_0x22b1,_0x3a7577=_0x21e25b();while(!![]){try{const _0x1868d8=-parseInt(_0x317dd2(0x186))/0x1*(-parseInt(_0x317dd2(0x196))/0x2)+-parseInt(_0x317dd2(0x1a3))/0x3*(-parseInt(_0x317dd2(0x17e))/0x4)+-parseInt(_0x317dd2(0x176))/0x5*(-parseInt(_0x317dd2(0x193))/0x6)+-parseInt(_0x317dd2(0x199))/0x7+-parseInt(_0x317dd2(0x1a5))/0x8+-parseInt(_0x317dd2(0x178))/0x9*(parseInt(_0x317dd2(0x19d))/0xa)+parseInt(_0x317dd2(0x18a))/0xb*(parseInt(_0x317dd2(0x17a))/0xc);if(_0x1868d8===_0x25dde4)break;else _0x3a7577['push'](_0x3a7577['shift']());}catch(_0x1f8242){_0x3a7577['push'](_0x3a7577['shift']());}}}(a5_0x4914,0x5b6b9));import{Control}from'ol/control';function a5_0x4914(){const _0x14779b=['391192RzlOMv','postrender','Right','getMap','swipeVa','setSwipeLayer','_dockedVisible','dockedVisible','render','length','canvas','clientY','height','135uKPrKU','_swipeLayerKey','1783791lbLMyZ','prerender','2388MMNXqs','beginPath','unprerender','addEventListener','4POFxbN','restore','className','pointerdown','input','unsetSwipeLayer','createElement','cursor','526VkLjrI','clientX','context','Left','34507DnDsOu','save','top','element','disposeInternal','push','rect','left','clip','19476XqTWcE','bindEvents','getBoundingClientRect','552MiMJhB','width','setMap','2578576CHANOu','getCoordinateFromPixel','swipeLayer','style','20dpFLes','ol-scroll-layer','getTargetElement','col-resize','dispose','_swipeLayer','993123oyOOkv','isVertical'];a5_0x4914=function(){return _0x14779b;};return a5_0x4914();}import{unByKey}from'ol/Observable';export default class SwipeLayerControl extends Control{constructor(_0x44b10d){const _0x222575=a5_0x22b1;_0x44b10d=_0x44b10d||{};if(!_0x44b10d[_0x222575(0x18d)]){const _0x2c3b05=document[_0x222575(0x184)]('div');_0x44b10d[_0x222575(0x18d)]=_0x2c3b05,_0x2c3b05[_0x222575(0x180)]=_0x222575(0x19e),(_0x44b10d[_0x222575(0x170)]==='Left'||_0x44b10d[_0x222575(0x170)]===_0x222575(0x1a7))&&(_0x2c3b05[_0x222575(0x180)]='ol-scroll-layer\x20ol-scroll-layer-vertical');}super(_0x44b10d),this[_0x222575(0x1a9)]=0x32,this[_0x222575(0x1a4)]=![],this[_0x222575(0x177)]=[],this[_0x222575(0x1a2)]=_0x44b10d['swipeLayer'],this[_0x222575(0x1ab)]=_0x44b10d[_0x222575(0x170)],this['isVertical']=_0x44b10d[_0x222575(0x170)]===_0x222575(0x189)||_0x44b10d[_0x222575(0x170)]==='Right',this['bindEvents'](this['element']),this[_0x222575(0x18d)][_0x222575(0x17d)](_0x222575(0x182),()=>{const _0x33a90f=_0x222575;var _0x580ad2;const _0x45df52=this[_0x33a90f(0x18d)]['value'];this['swipeVa']=_0x45df52,(_0x580ad2=this['getMap']())===null||_0x580ad2===void 0x0?void 0x0:_0x580ad2['render']();},![]),this[_0x222575(0x1aa)](_0x44b10d[_0x222575(0x19b)]);}[a5_0x4626e4(0x1aa)](_0x51a3f5){const _0x5d04f2=a5_0x4626e4;this[_0x5d04f2(0x183)](),this[_0x5d04f2(0x177)]=[],_0x51a3f5&&(this[_0x5d04f2(0x177)][_0x5d04f2(0x18f)](_0x51a3f5['on'](_0x5d04f2(0x179),_0x4a1183=>this[_0x5d04f2(0x179)](_0x4a1183))),this[_0x5d04f2(0x177)]['push'](_0x51a3f5['on'](_0x5d04f2(0x1a6),_0x46d983=>this[_0x5d04f2(0x1a6)](_0x46d983))),this[_0x5d04f2(0x1a2)]=_0x51a3f5);}[a5_0x4626e4(0x183)](){const _0x316676=a5_0x4626e4;var _0x3f1267;this[_0x316676(0x177)]&&this[_0x316676(0x177)][_0x316676(0x172)]>0x0&&(unByKey(this[_0x316676(0x177)]),(_0x3f1267=this[_0x316676(0x1a8)]())===null||_0x3f1267===void 0x0?void 0x0:_0x3f1267[_0x316676(0x171)]());}['prerender'](_0x3ef66f){const _0x495874=a5_0x4626e4,_0xf3688=_0x3ef66f[_0x495874(0x188)],_0x4c5485=_0xf3688===null||_0xf3688===void 0x0?void 0x0:_0xf3688[_0x495874(0x173)][_0x495874(0x197)];if(!this[_0x495874(0x18d)]||!_0x4c5485||!_0xf3688)return;const _0x2bbd90=_0x4c5485*this['swipeVa']/0x64;_0xf3688[_0x495874(0x18b)](),_0xf3688[_0x495874(0x17b)](),_0xf3688['rect'](0x0,0x0,_0x2bbd90,_0xf3688[_0x495874(0x173)]['height']),_0xf3688[_0x495874(0x192)]();}[a5_0x4626e4(0x17c)](_0x5325d3){const _0x1a1e65=a5_0x4626e4,_0x34b7d1=_0x5325d3[_0x1a1e65(0x188)],_0x1f3d40=_0x34b7d1===null||_0x34b7d1===void 0x0?void 0x0:_0x34b7d1[_0x1a1e65(0x173)][_0x1a1e65(0x197)];if(!this[_0x1a1e65(0x18d)]||!_0x1f3d40||!_0x34b7d1)return;const _0x35524e=_0x1f3d40*0x64/0x64;_0x34b7d1['save'](),_0x34b7d1[_0x1a1e65(0x17b)](),_0x34b7d1[_0x1a1e65(0x190)](0x0,0x0,_0x35524e,_0x34b7d1['canvas'][_0x1a1e65(0x175)]),_0x34b7d1[_0x1a1e65(0x192)]();}[a5_0x4626e4(0x1a6)](_0x5ae207){const _0x510e6c=a5_0x4626e4,_0xa06ef9=_0x5ae207[_0x510e6c(0x188)];_0xa06ef9[_0x510e6c(0x17f)]();}[a5_0x4626e4(0x198)](_0x4dc4ca){const _0x3d7f9f=a5_0x4626e4;!_0x4dc4ca&&this['unsetSwipeLayer'](),super[_0x3d7f9f(0x198)](_0x4dc4ca);}[a5_0x4626e4(0x1a1)](){const _0x25dc3c=a5_0x4626e4;this[_0x25dc3c(0x183)]();}[a5_0x4626e4(0x18e)](){const _0x3f9d65=a5_0x4626e4;this[_0x3f9d65(0x183)](),super['disposeInternal']();}['render'](_0x454b1){}[a5_0x4626e4(0x194)](_0x140e00){const _0x3cbc1b=a5_0x4626e4;let _0x1a4a19=![];_0x140e00['addEventListener'](_0x3cbc1b(0x181),()=>{const _0x19a2be=_0x3cbc1b,_0xb8ed51=this[_0x19a2be(0x1a8)]();if(!_0xb8ed51)return;_0x1a4a19=!![],_0xb8ed51[_0x19a2be(0x19f)]()[_0x19a2be(0x19c)][_0x19a2be(0x185)]=this[_0x19a2be(0x1a4)]?_0x19a2be(0x1a0):'row-resize';}),document[_0x3cbc1b(0x17d)]('pointermove',_0x1aa042=>{const _0x2dbd58=_0x3cbc1b;if(!_0x1a4a19)return;const _0x39649e=this[_0x2dbd58(0x1a8)]();if(!_0x39649e)return;const _0x1df445=_0x39649e[_0x2dbd58(0x19f)]()[_0x2dbd58(0x195)](),_0x3bdd30=_0x39649e[_0x2dbd58(0x19a)]([_0x1aa042['clientX']-_0x1df445[_0x2dbd58(0x191)],_0x1aa042['clientY']-_0x1df445['top']]);this[_0x2dbd58(0x1a4)]?(this[_0x2dbd58(0x1a9)]=(_0x1aa042[_0x2dbd58(0x187)]-_0x1df445[_0x2dbd58(0x191)])/_0x1df445['width']*0x64,_0x140e00[_0x2dbd58(0x19c)][_0x2dbd58(0x191)]=this[_0x2dbd58(0x1a9)]+'%'):_0x140e00[_0x2dbd58(0x19c)][_0x2dbd58(0x18c)]=(_0x1aa042[_0x2dbd58(0x174)]-_0x1df445[_0x2dbd58(0x18c)])/_0x1df445[_0x2dbd58(0x175)]*0x64+'%',_0x39649e['render']();}),document[_0x3cbc1b(0x17d)]('pointerup',()=>{const _0x214b2c=_0x3cbc1b;_0x1a4a19=![];const _0x40717c=this['getMap']();if(!_0x40717c)return;_0x40717c[_0x214b2c(0x19f)]()[_0x214b2c(0x19c)][_0x214b2c(0x185)]='';});}}
1
+ const a5_0x4dae5d=a5_0x5921;(function(_0x39dbd8,_0x2cb414){const _0x7a4d74=a5_0x5921,_0x352e45=_0x39dbd8();while(!![]){try{const _0x795579=parseInt(_0x7a4d74(0x18f))/0x1+parseInt(_0x7a4d74(0x188))/0x2*(parseInt(_0x7a4d74(0x177))/0x3)+parseInt(_0x7a4d74(0x172))/0x4+-parseInt(_0x7a4d74(0x183))/0x5+parseInt(_0x7a4d74(0x17e))/0x6*(-parseInt(_0x7a4d74(0x17c))/0x7)+-parseInt(_0x7a4d74(0x19d))/0x8*(parseInt(_0x7a4d74(0x18a))/0x9)+parseInt(_0x7a4d74(0x162))/0xa;if(_0x795579===_0x2cb414)break;else _0x352e45['push'](_0x352e45['shift']());}catch(_0x264662){_0x352e45['push'](_0x352e45['shift']());}}}(a5_0x4ffd,0xce733));function a5_0x4ffd(){const _0x3a3dd0=['175cqLUuV','push','249198RpXjaV','beginPath','left','getCoordinateFromPixel','value','6587150sMiaNZ','height','createElement','getMap','input','4kyMgxk','row-resize','4293MPzlkv','disposeInternal','col-resize','length','context','730096xoItUO','dockedVisible','postrender','clip','Left','className','pointermove','ol-scroll-layer','setSwipeLayer','top','swipeVa','getTargetElement','_dockedVisible','_swipeLayer','3728EDAZDE','cursor','clientX','9138030wakUZj','swipeLayer','save','dispose','addEventListener','Right','bindEvents','prerender','render','style','div','setMap','canvas','unsetSwipeLayer','_swipeLayerKey','width','6701588aLdDLK','clientY','unprerender','element','pointerup','156540xuEbsh','isVertical','rect','pointerdown','ol-scroll-layer\x20ol-scroll-layer-vertical'];a5_0x4ffd=function(){return _0x3a3dd0;};return a5_0x4ffd();}import{Control}from'ol/control';function a5_0x5921(_0x26e03d,_0x1e9bf5){const _0x4ffdb1=a5_0x4ffd();return a5_0x5921=function(_0x592161,_0x438525){_0x592161=_0x592161-0x161;let _0x5a8629=_0x4ffdb1[_0x592161];return _0x5a8629;},a5_0x5921(_0x26e03d,_0x1e9bf5);}import{unByKey}from'ol/Observable';export default class SwipeLayerControl extends Control{constructor(_0x5e0feb){const _0x49d953=a5_0x5921;_0x5e0feb=_0x5e0feb||{};if(!_0x5e0feb[_0x49d953(0x175)]){const _0x485096=document[_0x49d953(0x185)](_0x49d953(0x16c));_0x5e0feb[_0x49d953(0x175)]=_0x485096,_0x485096[_0x49d953(0x194)]=_0x49d953(0x196),(_0x5e0feb['dockedVisible']==='Left'||_0x5e0feb[_0x49d953(0x190)]===_0x49d953(0x167))&&(_0x485096['className']=_0x49d953(0x17b));}super(_0x5e0feb),this[_0x49d953(0x199)]=0x32,this['isVertical']=![],this[_0x49d953(0x170)]=[],this[_0x49d953(0x19c)]=_0x5e0feb['swipeLayer'],this[_0x49d953(0x19b)]=_0x5e0feb[_0x49d953(0x190)],this[_0x49d953(0x178)]=_0x5e0feb['dockedVisible']===_0x49d953(0x193)||_0x5e0feb[_0x49d953(0x190)]===_0x49d953(0x167),this['bindEvents'](this[_0x49d953(0x175)]),this[_0x49d953(0x175)][_0x49d953(0x166)](_0x49d953(0x187),()=>{const _0x3d7654=_0x49d953;var _0x3eee05;const _0x43eb22=this[_0x3d7654(0x175)][_0x3d7654(0x182)];this[_0x3d7654(0x199)]=_0x43eb22,(_0x3eee05=this['getMap']())===null||_0x3eee05===void 0x0?void 0x0:_0x3eee05[_0x3d7654(0x16a)]();},![]),this[_0x49d953(0x197)](_0x5e0feb[_0x49d953(0x163)]);}[a5_0x4dae5d(0x197)](_0x4254d2){const _0x53e371=a5_0x4dae5d;this[_0x53e371(0x16f)](),this[_0x53e371(0x170)]=[],_0x4254d2&&(this[_0x53e371(0x170)]['push'](_0x4254d2['on'](_0x53e371(0x169),_0xe103bf=>this[_0x53e371(0x169)](_0xe103bf))),this[_0x53e371(0x170)][_0x53e371(0x17d)](_0x4254d2['on'](_0x53e371(0x191),_0x4f8b08=>this['postrender'](_0x4f8b08))),this[_0x53e371(0x19c)]=_0x4254d2);}[a5_0x4dae5d(0x16f)](){const _0x342215=a5_0x4dae5d;var _0x51d1ca;this['_swipeLayerKey']&&this[_0x342215(0x170)][_0x342215(0x18d)]>0x0&&(unByKey(this['_swipeLayerKey']),(_0x51d1ca=this[_0x342215(0x186)]())===null||_0x51d1ca===void 0x0?void 0x0:_0x51d1ca[_0x342215(0x16a)]());}['prerender'](_0x315feb){const _0x1cb208=a5_0x4dae5d,_0x114609=_0x315feb['context'],_0x18133d=_0x114609===null||_0x114609===void 0x0?void 0x0:_0x114609['canvas']['width'];if(!this['element']||!_0x18133d||!_0x114609)return;const _0x52715e=_0x18133d*this[_0x1cb208(0x199)]/0x64;_0x114609['save'](),_0x114609[_0x1cb208(0x17f)](),_0x114609[_0x1cb208(0x179)](0x0,0x0,_0x52715e,_0x114609[_0x1cb208(0x16e)]['height']),_0x114609[_0x1cb208(0x192)]();}[a5_0x4dae5d(0x174)](_0x4fbcb5){const _0x27ec71=a5_0x4dae5d,_0xcd8890=_0x4fbcb5[_0x27ec71(0x18e)],_0x4e4ea3=_0xcd8890===null||_0xcd8890===void 0x0?void 0x0:_0xcd8890[_0x27ec71(0x16e)][_0x27ec71(0x171)];if(!this['element']||!_0x4e4ea3||!_0xcd8890)return;const _0x571695=_0x4e4ea3*0x64/0x64;_0xcd8890[_0x27ec71(0x164)](),_0xcd8890[_0x27ec71(0x17f)](),_0xcd8890[_0x27ec71(0x179)](0x0,0x0,_0x571695,_0xcd8890[_0x27ec71(0x16e)][_0x27ec71(0x184)]),_0xcd8890[_0x27ec71(0x192)]();}['postrender'](_0xbc4aa8){const _0x12c3b7=_0xbc4aa8['context'];_0x12c3b7['restore']();}[a5_0x4dae5d(0x16d)](_0x489047){const _0x5892c6=a5_0x4dae5d;!_0x489047&&this['unsetSwipeLayer'](),super[_0x5892c6(0x16d)](_0x489047);}[a5_0x4dae5d(0x165)](){const _0x248749=a5_0x4dae5d;this[_0x248749(0x16f)]();}['disposeInternal'](){const _0x290c77=a5_0x4dae5d;this[_0x290c77(0x16f)](),super[_0x290c77(0x18b)]();}[a5_0x4dae5d(0x16a)](_0xf15a7c){}[a5_0x4dae5d(0x168)](_0xb95a16){const _0x5193c5=a5_0x4dae5d;let _0x2d9af6=![];_0xb95a16[_0x5193c5(0x166)](_0x5193c5(0x17a),()=>{const _0x1b2b93=_0x5193c5,_0xdc4ea8=this[_0x1b2b93(0x186)]();if(!_0xdc4ea8)return;_0x2d9af6=!![],_0xdc4ea8[_0x1b2b93(0x19a)]()[_0x1b2b93(0x16b)][_0x1b2b93(0x19e)]=this[_0x1b2b93(0x178)]?_0x1b2b93(0x18c):_0x1b2b93(0x189);}),document[_0x5193c5(0x166)](_0x5193c5(0x195),_0xb1291c=>{const _0x49ebaf=_0x5193c5;if(!_0x2d9af6)return;const _0x1b181c=this[_0x49ebaf(0x186)]();if(!_0x1b181c)return;const _0x125c30=_0x1b181c[_0x49ebaf(0x19a)]()['getBoundingClientRect'](),_0x13fefd=_0x1b181c[_0x49ebaf(0x181)]([_0xb1291c[_0x49ebaf(0x161)]-_0x125c30[_0x49ebaf(0x180)],_0xb1291c[_0x49ebaf(0x173)]-_0x125c30[_0x49ebaf(0x198)]]);this[_0x49ebaf(0x178)]?(this[_0x49ebaf(0x199)]=(_0xb1291c[_0x49ebaf(0x161)]-_0x125c30[_0x49ebaf(0x180)])/_0x125c30['width']*0x64,_0xb95a16[_0x49ebaf(0x16b)][_0x49ebaf(0x180)]=this[_0x49ebaf(0x199)]+'%'):_0xb95a16['style'][_0x49ebaf(0x198)]=(_0xb1291c[_0x49ebaf(0x173)]-_0x125c30['top'])/_0x125c30[_0x49ebaf(0x184)]*0x64+'%',_0x1b181c[_0x49ebaf(0x16a)]();}),document[_0x5193c5(0x166)](_0x5193c5(0x176),()=>{const _0x30fecb=_0x5193c5;_0x2d9af6=![];const _0x5fe672=this[_0x30fecb(0x186)]();if(!_0x5fe672)return;_0x5fe672[_0x30fecb(0x19a)]()['style'][_0x30fecb(0x19e)]='';});}}
@@ -1 +1 @@
1
- const a6_0xef9fec=a6_0xe762;(function(_0x6cb938,_0x18218e){const _0x379c89=a6_0xe762,_0xfef28c=_0x6cb938();while(!![]){try{const _0x29fed7=parseInt(_0x379c89(0x87))/0x1+parseInt(_0x379c89(0xc2))/0x2*(-parseInt(_0x379c89(0xc4))/0x3)+parseInt(_0x379c89(0xae))/0x4+parseInt(_0x379c89(0xbf))/0x5+-parseInt(_0x379c89(0xd9))/0x6*(-parseInt(_0x379c89(0x95))/0x7)+-parseInt(_0x379c89(0xa5))/0x8+parseInt(_0x379c89(0xd7))/0x9*(-parseInt(_0x379c89(0x8b))/0xa);if(_0x29fed7===_0x18218e)break;else _0xfef28c['push'](_0xfef28c['shift']());}catch(_0x5d7ab3){_0xfef28c['push'](_0xfef28c['shift']());}}}(a6_0x3b20,0x97574));export function geoJSONToKml(_0x46f6d8,_0xa35e01){const _0x280198=a6_0xe762;return _0xa35e01=_0xa35e01||{'documentName':undefined,'documentDescription':undefined,'name':_0x280198(0xa8),'description':_0x280198(0xd4),'simplestyle':![],'timestamp':_0x280198(0xb4)},'<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>'+tag('kml',tag(_0x280198(0x9d),documentName(_0xa35e01)+documentDescription(_0xa35e01)+root(_0x46f6d8,_0xa35e01)),[[_0x280198(0xca),_0x280198(0x8e)]]);}function feature(_0xa988b3,_0x30983c){return function(_0x2a9663){const _0x4672f9=a6_0xe762;if(!_0x2a9663[_0x4672f9(0xd5)]||!geometry[_0x4672f9(0xc9)](_0x2a9663['geometry']))return'';const _0x621d46=geometry[_0x4672f9(0xa3)](_0x2a9663[_0x4672f9(0x88)]);if(!_0x621d46)return'';let _0x38e933='',_0x4af8ed='';if(_0xa988b3[_0x4672f9(0xc7)]){const _0x39e8df=hashStyle(_0x2a9663[_0x4672f9(0xd5)]);if(_0x39e8df){if(geometry[_0x4672f9(0xa9)](_0x2a9663['geometry'])&&hasMarkerStyle(_0x2a9663[_0x4672f9(0xd5)]))_0x30983c[_0x4672f9(0x90)](_0x39e8df)===-0x1&&(_0x38e933=markerStyle(_0x2a9663[_0x4672f9(0xd5)],_0x39e8df),_0x30983c[_0x4672f9(0xa1)](_0x39e8df)),_0x4af8ed=tag(_0x4672f9(0x8f),'#'+_0x39e8df);else(geometry['isPolygon'](_0x2a9663[_0x4672f9(0x88)])||geometry['isLine'](_0x2a9663[_0x4672f9(0x88)]))&&hasPolygonAndLineStyle(_0x2a9663[_0x4672f9(0xd5)])&&(_0x30983c[_0x4672f9(0x90)](_0x39e8df)===-0x1&&(_0x38e933=polygonAndLineStyle(_0x2a9663['properties'],_0x39e8df),_0x30983c[_0x4672f9(0xa1)](_0x39e8df)),_0x4af8ed=tag(_0x4672f9(0x8f),'#'+_0x39e8df));}}return _0x38e933+tag('Placemark',name(_0x2a9663['properties'],_0xa988b3)+description(_0x2a9663['properties'],_0xa988b3)+extendeddata(_0x2a9663[_0x4672f9(0xd5)])+timestamp(_0x2a9663[_0x4672f9(0xd5)],_0xa988b3)+_0x621d46+_0x4af8ed);};}function root(_0x48ed4f,_0x2a6bfd){const _0x159d98=a6_0xe762;if(!_0x48ed4f[_0x159d98(0x99)])return'';const _0x202f3b=[];switch(_0x48ed4f['type']){case _0x159d98(0xc5):if(!_0x48ed4f['features'])return'';return _0x48ed4f[_0x159d98(0xaa)][_0x159d98(0x84)](feature(_0x2a6bfd,_0x202f3b))['join']('');case'Feature':return feature(_0x2a6bfd,_0x202f3b)(_0x48ed4f);default:return feature(_0x2a6bfd,_0x202f3b)({'type':'Feature','geometry':_0x48ed4f,'properties':{}});}}function documentName(_0x55c594){const _0x3126aa=a6_0xe762;return _0x55c594[_0x3126aa(0x86)]!==undefined?tag(_0x3126aa(0xa8),_0x55c594[_0x3126aa(0x86)]):'';}function documentDescription(_0x98059f){const _0x678187=a6_0xe762;return _0x98059f[_0x678187(0xbd)]!==undefined?tag(_0x678187(0xd4),_0x98059f[_0x678187(0xbd)]):'';}function name(_0x3f2b67,_0x21aec3){const _0x510a2c=a6_0xe762;return _0x3f2b67[_0x21aec3['name']]?tag(_0x510a2c(0xa8),encode(_0x3f2b67[_0x21aec3['name']])):'';}function description(_0x21e929,_0x5c9732){const _0x24ebc9=a6_0xe762;return _0x21e929[_0x5c9732['description']]?tag(_0x24ebc9(0xd4),encode(_0x21e929[_0x5c9732[_0x24ebc9(0xd4)]])):'';}function timestamp(_0x522fbc,_0x29ea8f){const _0x3ac1d4=a6_0xe762;return _0x522fbc[_0x29ea8f[_0x3ac1d4(0xb4)]]?tag(_0x3ac1d4(0xc8),tag(_0x3ac1d4(0xb6),encode(_0x522fbc[_0x29ea8f[_0x3ac1d4(0xb4)]]))):'';}const geometry={'Point':function(_0x26e3e2){const _0x490e21=a6_0xe762;return tag(_0x490e21(0x9e),tag(_0x490e21(0xb8),_0x26e3e2['coordinates'][_0x490e21(0xa4)](',')));},'LineString':function(_0x35c801){const _0x414198=a6_0xe762;return tag(_0x414198(0x9c),tag(_0x414198(0xb8),linearring(_0x35c801['coordinates'])));},'Polygon':function(_0x3c591b){const _0x128e4d=a6_0xe762;if(!_0x3c591b[_0x128e4d(0xb8)][_0x128e4d(0xa0)])return'';const _0x334a44=_0x3c591b['coordinates'][0x0],_0x3f9692=_0x3c591b[_0x128e4d(0xb8)][_0x128e4d(0xd6)](0x1),_0x5248d4=tag(_0x128e4d(0xb3),tag(_0x128e4d(0x8d),tag(_0x128e4d(0xb8),linearring(_0x334a44)))),_0x33cad5=_0x3f9692[_0x128e4d(0x84)](function(_0x2b8971){const _0x226a0b=_0x128e4d;return tag(_0x226a0b(0xbe),tag(_0x226a0b(0x8d),tag('coordinates',linearring(_0x2b8971))));})['join']('');return tag(_0x128e4d(0xb1),_0x5248d4+_0x33cad5);},'MultiPoint':function(_0x1089c5){const _0x4f737c=a6_0xe762;if(!_0x1089c5[_0x4f737c(0xb8)][_0x4f737c(0xa0)])return'';return tag(_0x4f737c(0xce),_0x1089c5[_0x4f737c(0xb8)][_0x4f737c(0x84)](function(_0x4e42a5){const _0x5d10b0=_0x4f737c;return geometry[_0x5d10b0(0x9e)]({'coordinates':_0x4e42a5});})[_0x4f737c(0xa4)](''));},'MultiPolygon':function(_0x1fd689){const _0x21e541=a6_0xe762;if(!_0x1fd689[_0x21e541(0xb8)][_0x21e541(0xa0)])return'';return tag(_0x21e541(0xce),_0x1fd689[_0x21e541(0xb8)][_0x21e541(0x84)](function(_0x37b6c7){const _0x356007=_0x21e541;return geometry[_0x356007(0xb1)]({'coordinates':_0x37b6c7});})[_0x21e541(0xa4)](''));},'MultiLineString':function(_0x4a2611){const _0x9318af=a6_0xe762;if(!_0x4a2611[_0x9318af(0xb8)]['length'])return'';return tag(_0x9318af(0xce),_0x4a2611['coordinates'][_0x9318af(0x84)](function(_0x3971b2){return geometry['LineString']({'coordinates':_0x3971b2});})[_0x9318af(0xa4)](''));},'GeometryCollection':function(_0x4b83f5){const _0x53a776=a6_0xe762;return tag(_0x53a776(0xce),_0x4b83f5[_0x53a776(0xac)][_0x53a776(0x84)](geometry['any'])[_0x53a776(0xa4)](''));},'valid':function(_0x4c2b2f){const _0x12dd82=a6_0xe762;return _0x4c2b2f&&_0x4c2b2f[_0x12dd82(0x99)]&&(_0x4c2b2f[_0x12dd82(0xb8)]||_0x4c2b2f['type']===_0x12dd82(0x93)&&_0x4c2b2f[_0x12dd82(0xac)]&&_0x4c2b2f['geometries'][_0x12dd82(0xad)](geometry[_0x12dd82(0xc9)]));},'any':function(_0x4c4b9e){const _0x1b903a=a6_0xe762;return geometry[_0x4c4b9e[_0x1b903a(0x99)]]?geometry[_0x4c4b9e[_0x1b903a(0x99)]](_0x4c4b9e):'';},'isPoint':function(_0x124c50){const _0x1dbdcf=a6_0xe762;return _0x124c50[_0x1dbdcf(0x99)]==='Point'||_0x124c50[_0x1dbdcf(0x99)]==='MultiPoint';},'isPolygon':function(_0x44a0bd){const _0x3c41df=a6_0xe762;return _0x44a0bd[_0x3c41df(0x99)]==='Polygon'||_0x44a0bd[_0x3c41df(0x99)]===_0x3c41df(0xcd);},'isLine':function(_0x3916f5){const _0x1b6e46=a6_0xe762;return _0x3916f5[_0x1b6e46(0x99)]==='LineString'||_0x3916f5['type']==='MultiLineString';}};function linearring(_0x3eea85){const _0xb2bbe5=a6_0xe762;return _0x3eea85['map'](function(_0x230d05){const _0x57b573=a6_0xe762;return _0x230d05[_0x57b573(0xa4)](',');})[_0xb2bbe5(0xa4)]('\x20');}function extendeddata(_0x32e9f){const _0x59d8e3=a6_0xe762,_0x2a36df=[];for(const _0x434efa in _0x32e9f){const _0x243fc7=_0x32e9f[_0x434efa];isObject(_0x243fc7)?_0x2a36df['push']('<Data\x20name\x20=\x22'+_0x434efa+_0x59d8e3(0xbb)+JSON['stringify'](_0x243fc7)+_0x59d8e3(0x92)):_0x2a36df[_0x59d8e3(0xa1)](_0x59d8e3(0xab)+_0x434efa+_0x59d8e3(0xbb)+_0x243fc7+_0x59d8e3(0x92));}return tag('ExtendedData',_0x2a36df[_0x59d8e3(0xa4)](''));}function data(_0x3e57cd){const _0x2223ab=a6_0xe762;return tag('Data',tag(_0x2223ab(0x8c),encode(_0x3e57cd[0x1])),[['name',encode(_0x3e57cd[0x0])]]);}function hasMarkerStyle(_0x33871a){const _0x88b7e=a6_0xe762;return!!(_0x33871a[_0x88b7e(0xa2)]||_0x33871a[_0x88b7e(0x91)]||_0x33871a[_0x88b7e(0xd8)]);}function markerStyle(_0xb17310,_0x4b71dc){const _0x4df1ee=a6_0xe762;return tag(_0x4df1ee(0xcc),tag('IconStyle',tag(_0x4df1ee(0x85),tag(_0x4df1ee(0xc0),iconUrl(_0xb17310))))+iconSize(_0xb17310),[['id',_0x4b71dc]]);}function iconUrl(_0x9e2d09){const _0x53e3d1=a6_0xe762;return _0x9e2d09[_0x53e3d1(0x91)];}function a6_0x3b20(){const _0x490916=['styleUrl','indexOf','marker-symbol','</value></Data>','GeometryCollection','ff555555','28DUqife','substr','stroke','([&\x22<>\x27])','type','toString','yunits','LineString','Document','Point','&apos;','length','push','marker-size','any','join','8610952PcQZes','width','fraction','name','isPoint','features','<Data\x20name\x20=\x22','geometries','every','1041468vZIyti','PolyStyle','number','Polygon','&amp;','outerBoundaryIs','timestamp','call','when','isArray','coordinates','stroke-width','prototype','\x22><value>','&lt;','documentDescription','innerBoundaryIs','5380515tTeQTQ','href','replace','1808WPGrOV','xunits','3750VtpcmR','FeatureCollection','color','simplestyle','TimeStamp','valid','xmlns','keys','Style','MultiPolygon','MultiGeometry','toLowerCase','stroke-opacity','fill-opacity','&gt;','fill','description','properties','slice','2655CXCpRR','marker-color','1619184ZhMLHc','map','Icon','documentName','643090JfwZpY','geometry','hotSpot','&quot;','7890QXNFpQ','value','LinearRing','http://www.opengis.net/kml/2.2'];a6_0x3b20=function(){return _0x490916;};return a6_0x3b20();}function iconSize(_0x26c102){const _0x122ffe=a6_0xe762;return tag(_0x122ffe(0x89),'',[[_0x122ffe(0xc3),_0x122ffe(0xa7)],[_0x122ffe(0x9b),'fraction'],['x',0.5],['y',0.5]]);}function hasPolygonAndLineStyle(_0x334c30){for(const _0x5f1eb5 in _0x334c30){if({'stroke':!![],'stroke-opacity':!![],'stroke-width':!![],'fill':!![],'fill-opacity':!![]}[_0x5f1eb5])return!![];}}function polygonAndLineStyle(_0x3c3baa,_0xf375af){const _0x5073cb=a6_0xe762,_0x4f1548=tag('LineStyle',[tag(_0x5073cb(0xc6),hexToKmlColor(_0x3c3baa[_0x5073cb(0x97)],_0x3c3baa[_0x5073cb(0xd0)])||_0x5073cb(0x94))+tag(_0x5073cb(0xa6),_0x3c3baa[_0x5073cb(0xb9)]===undefined?0x2:_0x3c3baa[_0x5073cb(0xb9)])]);let _0x3078ca='';return(_0x3c3baa[_0x5073cb(0xd3)]||_0x3c3baa['fill-opacity'])&&(_0x3078ca=tag(_0x5073cb(0xaf),[tag(_0x5073cb(0xc6),hexToKmlColor(_0x3c3baa[_0x5073cb(0xd3)],_0x3c3baa['fill-opacity'])||'88555555')])),tag('Style',_0x4f1548+_0x3078ca,[['id',_0xf375af]]);}function hashStyle(_0x24ec94){const _0x1b305a=a6_0xe762;let _0x117753='';return _0x24ec94[_0x1b305a(0x91)]&&(_0x117753=_0x117753+'ms'+_0x24ec94[_0x1b305a(0x91)]),_0x24ec94[_0x1b305a(0xd8)]&&(_0x117753=_0x117753+'mc'+_0x24ec94['marker-color']['replace']('#','')),_0x24ec94['marker-size']&&(_0x117753=_0x117753+'ms'+_0x24ec94[_0x1b305a(0xa2)]),_0x24ec94[_0x1b305a(0x97)]&&(_0x117753=_0x117753+'s'+_0x24ec94[_0x1b305a(0x97)][_0x1b305a(0xc1)]('#','')),_0x24ec94[_0x1b305a(0xb9)]&&(_0x117753=_0x117753+'sw'+_0x24ec94[_0x1b305a(0xb9)][_0x1b305a(0x9a)]()['replace']('.','')),_0x24ec94[_0x1b305a(0xd0)]&&(_0x117753=_0x117753+'mo'+_0x24ec94[_0x1b305a(0xd0)][_0x1b305a(0x9a)]()[_0x1b305a(0xc1)]('.','')),_0x24ec94[_0x1b305a(0xd3)]&&(_0x117753=_0x117753+'f'+_0x24ec94[_0x1b305a(0xd3)][_0x1b305a(0xc1)]('#','')),_0x24ec94[_0x1b305a(0xd1)]&&(_0x117753=_0x117753+'fo'+_0x24ec94['fill-opacity']['toString']()[_0x1b305a(0xc1)]('.','')),_0x117753;}function hexToKmlColor(_0x51e4dc,_0x3e7e56){const _0x1e566f=a6_0xe762;if(typeof _0x51e4dc!=='string')return'';_0x51e4dc=_0x51e4dc['replace']('#','')[_0x1e566f(0xcf)]();if(_0x51e4dc[_0x1e566f(0xa0)]===0x3)_0x51e4dc=_0x51e4dc[0x0]+_0x51e4dc[0x0]+_0x51e4dc[0x1]+_0x51e4dc[0x1]+_0x51e4dc[0x2]+_0x51e4dc[0x2];else{if(_0x51e4dc[_0x1e566f(0xa0)]!==0x6)return'';}const _0xc04e74=_0x51e4dc[0x0]+_0x51e4dc[0x1],_0x35f0a7=_0x51e4dc[0x2]+_0x51e4dc[0x3],_0x428178=_0x51e4dc[0x4]+_0x51e4dc[0x5];let _0x2e115d='ff';return typeof _0x3e7e56===_0x1e566f(0xb0)&&_0x3e7e56>=0x0&&_0x3e7e56<=0x1&&(_0x2e115d=(_0x3e7e56*0xff)['toString'](0x10),_0x2e115d[_0x1e566f(0x90)]('.')>-0x1&&(_0x2e115d=_0x2e115d[_0x1e566f(0x96)](0x0,_0x2e115d[_0x1e566f(0x90)]('.'))),_0x2e115d['length']<0x2&&(_0x2e115d='0'+_0x2e115d)),_0x2e115d+_0x428178+_0x35f0a7+_0xc04e74;}export function isObject(_0x429739){const _0x1c0b05=a6_0xe762;return Object[_0x1c0b05(0xba)]['toString'][_0x1c0b05(0xb5)](_0x429739)==='[object\x20Object]';}function encode(_0x4ba26b){const _0x412526=a6_0xe762;if(!_0x4ba26b)return'';return _0x4ba26b[_0x412526(0x9a)]()['replace'](/&/g,_0x412526(0xb2))['replace'](/</g,_0x412526(0xbc))[_0x412526(0xc1)](/>/g,_0x412526(0xd2))[_0x412526(0xc1)](/"/g,_0x412526(0x8a));}function a6_0xe762(_0x2e16d0,_0x45d04d){const _0x3b207d=a6_0x3b20();return a6_0xe762=function(_0xe762e8,_0x4184a0){_0xe762e8=_0xe762e8-0x84;let _0x1257ae=_0x3b207d[_0xe762e8];return _0x1257ae;},a6_0xe762(_0x2e16d0,_0x45d04d);}function attr(_0xe711c9){const _0x5b14ee=a6_0xe762;if(!Object[_0x5b14ee(0xcb)](_0xe711c9)[_0x5b14ee(0xa0)])return'';return'\x20'+Object[_0x5b14ee(0xcb)](_0xe711c9)['map'](function(_0x74f798){return _0x74f798+'=\x22'+escape(_0xe711c9[_0x74f798])+'\x22';})[_0x5b14ee(0xa4)]('\x20');}const escape_map={'>':a6_0xef9fec(0xd2),'<':a6_0xef9fec(0xbc),'\x27':a6_0xef9fec(0x9f),'\x22':a6_0xef9fec(0x8a),'&':'&amp;'};function escape(_0x316bde,_0x1c5eb9){const _0x721355=a6_0xef9fec;if(_0x316bde===null||_0x316bde===undefined)return;_0x1c5eb9=(_0x1c5eb9||'')['replace'](/[^&"<>\']/g,'');const _0x3aba9b=_0x721355(0x98)[_0x721355(0xc1)](new RegExp('['+_0x1c5eb9+']','g'),'');return _0x316bde[_0x721355(0xc1)](new RegExp(_0x3aba9b,'g'),function(_0x144370,_0x20a87e){return escape_map[_0x20a87e];});}function tag(_0x47a54b,_0x24ec3c,_0x44b397){const _0x406535=a6_0xef9fec;return(Array[_0x406535(0xb7)](_0x24ec3c)||typeof _0x24ec3c==='string')&&(_0x44b397=_0x24ec3c,_0x24ec3c={}),Array[_0x406535(0xb7)](_0x44b397)&&(_0x44b397='\x0a'+_0x44b397[_0x406535(0x84)](function(_0x38ba3b){return'\x20\x20'+_0x38ba3b;})[_0x406535(0xa4)]('\x0a')+'\x0a'),'<'+_0x47a54b+attr(_0x24ec3c)+'>'+_0x44b397+'</'+_0x47a54b+'>';}
1
+ const a6_0x40a73f=a6_0x48c4;(function(_0x72a5cf,_0x37bd14){const _0x475aad=a6_0x48c4,_0x59ba67=_0x72a5cf();while(!![]){try{const _0x14c53c=parseInt(_0x475aad(0x1ad))/0x1*(-parseInt(_0x475aad(0x1da))/0x2)+-parseInt(_0x475aad(0x1a9))/0x3+-parseInt(_0x475aad(0x1e2))/0x4+parseInt(_0x475aad(0x1b5))/0x5*(-parseInt(_0x475aad(0x204))/0x6)+parseInt(_0x475aad(0x1de))/0x7+parseInt(_0x475aad(0x203))/0x8*(-parseInt(_0x475aad(0x1b2))/0x9)+-parseInt(_0x475aad(0x1c8))/0xa*(-parseInt(_0x475aad(0x1b9))/0xb);if(_0x14c53c===_0x37bd14)break;else _0x59ba67['push'](_0x59ba67['shift']());}catch(_0x62f8f4){_0x59ba67['push'](_0x59ba67['shift']());}}}(a6_0xa4bb,0xa6944));export function geoJSONToKml(_0x175a57,_0x14c588){const _0x592748=a6_0x48c4;return _0x14c588=_0x14c588||{'documentName':undefined,'documentDescription':undefined,'name':'name','description':_0x592748(0x1ca),'simplestyle':![],'timestamp':_0x592748(0x1cc)},_0x592748(0x1cd)+tag(_0x592748(0x1c2),tag(_0x592748(0x200),documentName(_0x14c588)+documentDescription(_0x14c588)+root(_0x175a57,_0x14c588)),[[_0x592748(0x1e7),_0x592748(0x1a8)]]);}function feature(_0x1fb81d,_0x4664ca){return function(_0x2cccd3){const _0x1b93c2=a6_0x48c4;if(!_0x2cccd3[_0x1b93c2(0x1fd)]||!geometry[_0x1b93c2(0x1e0)](_0x2cccd3[_0x1b93c2(0x1f8)]))return'';const _0x2651a1=geometry[_0x1b93c2(0x1b8)](_0x2cccd3['geometry']);if(!_0x2651a1)return'';let _0x1d78bf='',_0x3c4f3f='';if(_0x1fb81d[_0x1b93c2(0x1f5)]){const _0x30e2bd=hashStyle(_0x2cccd3[_0x1b93c2(0x1fd)]);if(_0x30e2bd){if(geometry[_0x1b93c2(0x1ba)](_0x2cccd3[_0x1b93c2(0x1f8)])&&hasMarkerStyle(_0x2cccd3['properties']))_0x4664ca[_0x1b93c2(0x1fb)](_0x30e2bd)===-0x1&&(_0x1d78bf=markerStyle(_0x2cccd3[_0x1b93c2(0x1fd)],_0x30e2bd),_0x4664ca[_0x1b93c2(0x1ee)](_0x30e2bd)),_0x3c4f3f=tag(_0x1b93c2(0x1d6),'#'+_0x30e2bd);else(geometry[_0x1b93c2(0x1cf)](_0x2cccd3['geometry'])||geometry[_0x1b93c2(0x1d4)](_0x2cccd3[_0x1b93c2(0x1f8)]))&&hasPolygonAndLineStyle(_0x2cccd3[_0x1b93c2(0x1fd)])&&(_0x4664ca[_0x1b93c2(0x1fb)](_0x30e2bd)===-0x1&&(_0x1d78bf=polygonAndLineStyle(_0x2cccd3['properties'],_0x30e2bd),_0x4664ca['push'](_0x30e2bd)),_0x3c4f3f=tag('styleUrl','#'+_0x30e2bd));}}return _0x1d78bf+tag(_0x1b93c2(0x208),name(_0x2cccd3[_0x1b93c2(0x1fd)],_0x1fb81d)+description(_0x2cccd3['properties'],_0x1fb81d)+extendeddata(_0x2cccd3[_0x1b93c2(0x1fd)])+timestamp(_0x2cccd3['properties'],_0x1fb81d)+_0x2651a1+_0x3c4f3f);};}function root(_0x9d2d7d,_0x2bfc5a){const _0x5b70ef=a6_0x48c4;if(!_0x9d2d7d[_0x5b70ef(0x1df)])return'';const _0x2b3486=[];switch(_0x9d2d7d['type']){case _0x5b70ef(0x1dd):if(!_0x9d2d7d[_0x5b70ef(0x1d3)])return'';return _0x9d2d7d[_0x5b70ef(0x1d3)][_0x5b70ef(0x1fa)](feature(_0x2bfc5a,_0x2b3486))['join']('');case _0x5b70ef(0x1c6):return feature(_0x2bfc5a,_0x2b3486)(_0x9d2d7d);default:return feature(_0x2bfc5a,_0x2b3486)({'type':_0x5b70ef(0x1c6),'geometry':_0x9d2d7d,'properties':{}});}}function documentName(_0x4e1ae2){const _0x1ad1c3=a6_0x48c4;return _0x4e1ae2[_0x1ad1c3(0x1d5)]!==undefined?tag('name',_0x4e1ae2[_0x1ad1c3(0x1d5)]):'';}function documentDescription(_0xbf6e5d){const _0x3519ff=a6_0x48c4;return _0xbf6e5d[_0x3519ff(0x1f0)]!==undefined?tag(_0x3519ff(0x1ca),_0xbf6e5d[_0x3519ff(0x1f0)]):'';}function name(_0x44e6a0,_0x37f7cd){const _0x29429d=a6_0x48c4;return _0x44e6a0[_0x37f7cd[_0x29429d(0x1d1)]]?tag(_0x29429d(0x1d1),encode(_0x44e6a0[_0x37f7cd[_0x29429d(0x1d1)]])):'';}function description(_0x347985,_0x36bfd9){const _0x1ce4d9=a6_0x48c4;return _0x347985[_0x36bfd9['description']]?tag(_0x1ce4d9(0x1ca),encode(_0x347985[_0x36bfd9[_0x1ce4d9(0x1ca)]])):'';}function timestamp(_0x5f184d,_0x675344){const _0x4493bd=a6_0x48c4;return _0x5f184d[_0x675344[_0x4493bd(0x1cc)]]?tag(_0x4493bd(0x1e4),tag('when',encode(_0x5f184d[_0x675344['timestamp']]))):'';}const geometry={'Point':function(_0x4f32ce){const _0x73b17d=a6_0x48c4;return tag(_0x73b17d(0x1be),tag('coordinates',_0x4f32ce[_0x73b17d(0x1d7)][_0x73b17d(0x1d8)](',')));},'LineString':function(_0xe0465d){const _0x286a3f=a6_0x48c4;return tag(_0x286a3f(0x1b3),tag('coordinates',linearring(_0xe0465d[_0x286a3f(0x1d7)])));},'Polygon':function(_0x287cde){const _0x1b4b76=a6_0x48c4;if(!_0x287cde[_0x1b4b76(0x1d7)]['length'])return'';const _0x59d3da=_0x287cde[_0x1b4b76(0x1d7)][0x0],_0x5a58c7=_0x287cde['coordinates'][_0x1b4b76(0x1f6)](0x1),_0x56cf8e=tag('outerBoundaryIs',tag(_0x1b4b76(0x1b6),tag('coordinates',linearring(_0x59d3da)))),_0x1b24bc=_0x5a58c7[_0x1b4b76(0x1fa)](function(_0x1cd00d){const _0x4a9911=_0x1b4b76;return tag('innerBoundaryIs',tag(_0x4a9911(0x1b6),tag('coordinates',linearring(_0x1cd00d))));})[_0x1b4b76(0x1d8)]('');return tag(_0x1b4b76(0x1c9),_0x56cf8e+_0x1b24bc);},'MultiPoint':function(_0x34c0df){const _0x1bc0f7=a6_0x48c4;if(!_0x34c0df[_0x1bc0f7(0x1d7)][_0x1bc0f7(0x1db)])return'';return tag('MultiGeometry',_0x34c0df[_0x1bc0f7(0x1d7)][_0x1bc0f7(0x1fa)](function(_0x2fba55){const _0x46d3ae=_0x1bc0f7;return geometry[_0x46d3ae(0x1be)]({'coordinates':_0x2fba55});})[_0x1bc0f7(0x1d8)](''));},'MultiPolygon':function(_0x522f7d){const _0x324652=a6_0x48c4;if(!_0x522f7d['coordinates'][_0x324652(0x1db)])return'';return tag(_0x324652(0x205),_0x522f7d[_0x324652(0x1d7)][_0x324652(0x1fa)](function(_0x542696){return geometry['Polygon']({'coordinates':_0x542696});})[_0x324652(0x1d8)](''));},'MultiLineString':function(_0x1e6aeb){const _0xd2797=a6_0x48c4;if(!_0x1e6aeb[_0xd2797(0x1d7)][_0xd2797(0x1db)])return'';return tag(_0xd2797(0x205),_0x1e6aeb[_0xd2797(0x1d7)][_0xd2797(0x1fa)](function(_0x5ea99e){const _0x1bd571=_0xd2797;return geometry[_0x1bd571(0x1b3)]({'coordinates':_0x5ea99e});})[_0xd2797(0x1d8)](''));},'GeometryCollection':function(_0xb5cf9f){const _0x21c886=a6_0x48c4;return tag(_0x21c886(0x205),_0xb5cf9f[_0x21c886(0x1e1)][_0x21c886(0x1fa)](geometry[_0x21c886(0x1b8)])[_0x21c886(0x1d8)](''));},'valid':function(_0x436cc7){const _0x2891e3=a6_0x48c4;return _0x436cc7&&_0x436cc7[_0x2891e3(0x1df)]&&(_0x436cc7[_0x2891e3(0x1d7)]||_0x436cc7[_0x2891e3(0x1df)]===_0x2891e3(0x1c3)&&_0x436cc7[_0x2891e3(0x1e1)]&&_0x436cc7[_0x2891e3(0x1e1)][_0x2891e3(0x1c7)](geometry[_0x2891e3(0x1e0)]));},'any':function(_0x5db457){const _0x1566ab=a6_0x48c4;return geometry[_0x5db457[_0x1566ab(0x1df)]]?geometry[_0x5db457[_0x1566ab(0x1df)]](_0x5db457):'';},'isPoint':function(_0x2549d3){const _0x172a31=a6_0x48c4;return _0x2549d3[_0x172a31(0x1df)]===_0x172a31(0x1be)||_0x2549d3[_0x172a31(0x1df)]===_0x172a31(0x1ff);},'isPolygon':function(_0x1ab76b){const _0x44af27=a6_0x48c4;return _0x1ab76b[_0x44af27(0x1df)]===_0x44af27(0x1c9)||_0x1ab76b[_0x44af27(0x1df)]===_0x44af27(0x1af);},'isLine':function(_0x639870){const _0x2c4f9c=a6_0x48c4;return _0x639870[_0x2c4f9c(0x1df)]===_0x2c4f9c(0x1b3)||_0x639870[_0x2c4f9c(0x1df)]===_0x2c4f9c(0x206);}};function linearring(_0x5ec16e){const _0x53c10f=a6_0x48c4;return _0x5ec16e[_0x53c10f(0x1fa)](function(_0x14afd0){const _0x35d454=_0x53c10f;return _0x14afd0[_0x35d454(0x1d8)](',');})[_0x53c10f(0x1d8)]('\x20');}function extendeddata(_0xf62c46){const _0x2a3199=a6_0x48c4,_0x4ed122=[];for(const _0x3be79c in _0xf62c46){const _0x436bf=_0xf62c46[_0x3be79c];isObject(_0x436bf)?_0x4ed122[_0x2a3199(0x1ee)](_0x2a3199(0x202)+_0x3be79c+'\x22><value>'+JSON['stringify'](_0x436bf)+_0x2a3199(0x1cb)):_0x4ed122[_0x2a3199(0x1ee)](_0x2a3199(0x202)+_0x3be79c+_0x2a3199(0x1ce)+_0x436bf+_0x2a3199(0x1cb));}return tag(_0x2a3199(0x1ac),_0x4ed122[_0x2a3199(0x1d8)](''));}function data(_0x527370){const _0x1487ae=a6_0x48c4;return tag(_0x1487ae(0x1b4),tag(_0x1487ae(0x1ed),encode(_0x527370[0x1])),[[_0x1487ae(0x1d1),encode(_0x527370[0x0])]]);}function hasMarkerStyle(_0x1527e0){const _0x49506e=a6_0x48c4;return!!(_0x1527e0[_0x49506e(0x1b7)]||_0x1527e0[_0x49506e(0x1d0)]||_0x1527e0[_0x49506e(0x1f2)]);}function markerStyle(_0x19f76c,_0x26ff7d){const _0x596c3f=a6_0x48c4;return tag(_0x596c3f(0x1c0),tag(_0x596c3f(0x1aa),tag('Icon',tag(_0x596c3f(0x1c1),iconUrl(_0x19f76c))))+iconSize(_0x19f76c),[['id',_0x26ff7d]]);}function iconUrl(_0x28dc05){return _0x28dc05['marker-symbol'];}function iconSize(_0x44e151){const _0x3b7906=a6_0x48c4;return tag(_0x3b7906(0x1c5),'',[[_0x3b7906(0x1bb),_0x3b7906(0x1bd)],[_0x3b7906(0x1fe),_0x3b7906(0x1bd)],['x',0.5],['y',0.5]]);}function hasPolygonAndLineStyle(_0x3039ae){for(const _0x4ae89a in _0x3039ae){if({'stroke':!![],'stroke-opacity':!![],'stroke-width':!![],'fill':!![],'fill-opacity':!![]}[_0x4ae89a])return!![];}}function polygonAndLineStyle(_0x400b4d,_0x410bf1){const _0x1cad27=a6_0x48c4,_0x3e6d4f=tag(_0x1cad27(0x1e3),[tag(_0x1cad27(0x1fc),hexToKmlColor(_0x400b4d[_0x1cad27(0x1ae)],_0x400b4d[_0x1cad27(0x1d2)])||_0x1cad27(0x1e5))+tag(_0x1cad27(0x1ab),_0x400b4d[_0x1cad27(0x1bc)]===undefined?0x2:_0x400b4d['stroke-width'])]);let _0x3a3014='';return(_0x400b4d['fill']||_0x400b4d[_0x1cad27(0x1f4)])&&(_0x3a3014=tag(_0x1cad27(0x1ec),[tag(_0x1cad27(0x1fc),hexToKmlColor(_0x400b4d[_0x1cad27(0x1f7)],_0x400b4d[_0x1cad27(0x1f4)])||_0x1cad27(0x1f9))])),tag(_0x1cad27(0x1c0),_0x3e6d4f+_0x3a3014,[['id',_0x410bf1]]);}function hashStyle(_0x245b44){const _0x444e3c=a6_0x48c4;let _0x2ffd67='';return _0x245b44[_0x444e3c(0x1d0)]&&(_0x2ffd67=_0x2ffd67+'ms'+_0x245b44[_0x444e3c(0x1d0)]),_0x245b44[_0x444e3c(0x1f2)]&&(_0x2ffd67=_0x2ffd67+'mc'+_0x245b44[_0x444e3c(0x1f2)][_0x444e3c(0x201)]('#','')),_0x245b44[_0x444e3c(0x1b7)]&&(_0x2ffd67=_0x2ffd67+'ms'+_0x245b44[_0x444e3c(0x1b7)]),_0x245b44['stroke']&&(_0x2ffd67=_0x2ffd67+'s'+_0x245b44[_0x444e3c(0x1ae)]['replace']('#','')),_0x245b44[_0x444e3c(0x1bc)]&&(_0x2ffd67=_0x2ffd67+'sw'+_0x245b44[_0x444e3c(0x1bc)][_0x444e3c(0x1dc)]()[_0x444e3c(0x201)]('.','')),_0x245b44[_0x444e3c(0x1d2)]&&(_0x2ffd67=_0x2ffd67+'mo'+_0x245b44[_0x444e3c(0x1d2)][_0x444e3c(0x1dc)]()[_0x444e3c(0x201)]('.','')),_0x245b44[_0x444e3c(0x1f7)]&&(_0x2ffd67=_0x2ffd67+'f'+_0x245b44[_0x444e3c(0x1f7)][_0x444e3c(0x201)]('#','')),_0x245b44[_0x444e3c(0x1f4)]&&(_0x2ffd67=_0x2ffd67+'fo'+_0x245b44[_0x444e3c(0x1f4)][_0x444e3c(0x1dc)]()[_0x444e3c(0x201)]('.','')),_0x2ffd67;}function hexToKmlColor(_0x562dd5,_0x5401ff){const _0x330aad=a6_0x48c4;if(typeof _0x562dd5!==_0x330aad(0x1c4))return'';_0x562dd5=_0x562dd5[_0x330aad(0x201)]('#','')[_0x330aad(0x207)]();if(_0x562dd5['length']===0x3)_0x562dd5=_0x562dd5[0x0]+_0x562dd5[0x0]+_0x562dd5[0x1]+_0x562dd5[0x1]+_0x562dd5[0x2]+_0x562dd5[0x2];else{if(_0x562dd5['length']!==0x6)return'';}const _0x5f2d02=_0x562dd5[0x0]+_0x562dd5[0x1],_0x58f62d=_0x562dd5[0x2]+_0x562dd5[0x3],_0x44583e=_0x562dd5[0x4]+_0x562dd5[0x5];let _0x38adf7='ff';return typeof _0x5401ff===_0x330aad(0x1ef)&&_0x5401ff>=0x0&&_0x5401ff<=0x1&&(_0x38adf7=(_0x5401ff*0xff)[_0x330aad(0x1dc)](0x10),_0x38adf7[_0x330aad(0x1fb)]('.')>-0x1&&(_0x38adf7=_0x38adf7[_0x330aad(0x1e8)](0x0,_0x38adf7[_0x330aad(0x1fb)]('.'))),_0x38adf7[_0x330aad(0x1db)]<0x2&&(_0x38adf7='0'+_0x38adf7)),_0x38adf7+_0x44583e+_0x58f62d+_0x5f2d02;}export function isObject(_0x8eef6b){const _0x2a92dd=a6_0x48c4;return Object[_0x2a92dd(0x1bf)][_0x2a92dd(0x1dc)]['call'](_0x8eef6b)===_0x2a92dd(0x1f3);}function encode(_0x133621){const _0x50241f=a6_0x48c4;if(!_0x133621)return'';return _0x133621[_0x50241f(0x1dc)]()[_0x50241f(0x201)](/&/g,_0x50241f(0x1b1))['replace'](/</g,_0x50241f(0x1ea))[_0x50241f(0x201)](/>/g,'&gt;')[_0x50241f(0x201)](/"/g,_0x50241f(0x1b0));}function attr(_0x3c3f7d){const _0x2e5fd7=a6_0x48c4;if(!Object[_0x2e5fd7(0x1d9)](_0x3c3f7d)[_0x2e5fd7(0x1db)])return'';return'\x20'+Object[_0x2e5fd7(0x1d9)](_0x3c3f7d)[_0x2e5fd7(0x1fa)](function(_0x1f4175){return _0x1f4175+'=\x22'+escape(_0x3c3f7d[_0x1f4175])+'\x22';})[_0x2e5fd7(0x1d8)]('\x20');}function a6_0x48c4(_0x5501b5,_0x3ea5a1){const _0xa4bbb5=a6_0xa4bb();return a6_0x48c4=function(_0x48c4d9,_0x45be1d){_0x48c4d9=_0x48c4d9-0x1a8;let _0x409172=_0xa4bbb5[_0x48c4d9];return _0x409172;},a6_0x48c4(_0x5501b5,_0x3ea5a1);}const escape_map={'>':a6_0x40a73f(0x1f1),'<':a6_0x40a73f(0x1ea),'\x27':a6_0x40a73f(0x1e6),'\x22':a6_0x40a73f(0x1b0),'&':'&amp;'};function a6_0xa4bb(){const _0x17de24=['<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>','\x22><value>','isPolygon','marker-symbol','name','stroke-opacity','features','isLine','documentName','styleUrl','coordinates','join','keys','55804zzRIKZ','length','toString','FeatureCollection','7780374IiWhJP','type','valid','geometries','4014756nveVKl','LineStyle','TimeStamp','ff555555','&apos;','xmlns','substr','isArray','&lt;','([&\x22<>\x27])','PolyStyle','value','push','number','documentDescription','&gt;','marker-color','[object\x20Object]','fill-opacity','simplestyle','slice','fill','geometry','88555555','map','indexOf','color','properties','yunits','MultiPoint','Document','replace','<Data\x20name\x20=\x22','2686056wxwKYS','1848BvXnuj','MultiGeometry','MultiLineString','toLowerCase','Placemark','http://www.opengis.net/kml/2.2','3417498swpIkb','IconStyle','width','ExtendedData','25LEAxEv','stroke','MultiPolygon','&quot;','&amp;','18NSQRMI','LineString','Data','19510cuahXE','LinearRing','marker-size','any','187gfFGBK','isPoint','xunits','stroke-width','fraction','Point','prototype','Style','href','kml','GeometryCollection','string','hotSpot','Feature','every','2520330TkkvXI','Polygon','description','</value></Data>','timestamp'];a6_0xa4bb=function(){return _0x17de24;};return a6_0xa4bb();}function escape(_0x11ac1f,_0x1b919f){const _0x14aa5=a6_0x40a73f;if(_0x11ac1f===null||_0x11ac1f===undefined)return;_0x1b919f=(_0x1b919f||'')[_0x14aa5(0x201)](/[^&"<>\']/g,'');const _0x40e32b=_0x14aa5(0x1eb)[_0x14aa5(0x201)](new RegExp('['+_0x1b919f+']','g'),'');return _0x11ac1f['replace'](new RegExp(_0x40e32b,'g'),function(_0x166674,_0x210b76){return escape_map[_0x210b76];});}function tag(_0x205bf4,_0x3d4fa1,_0x1ab506){const _0x32ab8f=a6_0x40a73f;return(Array['isArray'](_0x3d4fa1)||typeof _0x3d4fa1===_0x32ab8f(0x1c4))&&(_0x1ab506=_0x3d4fa1,_0x3d4fa1={}),Array[_0x32ab8f(0x1e9)](_0x1ab506)&&(_0x1ab506='\x0a'+_0x1ab506[_0x32ab8f(0x1fa)](function(_0x19fb53){return'\x20\x20'+_0x19fb53;})[_0x32ab8f(0x1d8)]('\x0a')+'\x0a'),'<'+_0x205bf4+attr(_0x3d4fa1)+'>'+_0x1ab506+'</'+_0x205bf4+'>';}
@@ -1 +1 @@
1
- function a7_0x4647(_0x2a754f,_0x27918c){const _0x56a0e4=a7_0x56a0();return a7_0x4647=function(_0x4647f1,_0x632e30){_0x4647f1=_0x4647f1-0x8a;let _0x529433=_0x56a0e4[_0x4647f1];return _0x529433;},a7_0x4647(_0x2a754f,_0x27918c);}const a7_0xe4d89e=a7_0x4647;(function(_0xe20cd5,_0x35cad2){const _0x2b01f3=a7_0x4647,_0x5dfe8e=_0xe20cd5();while(!![]){try{const _0x4eb74c=parseInt(_0x2b01f3(0xa5))/0x1+parseInt(_0x2b01f3(0xb8))/0x2+parseInt(_0x2b01f3(0xb5))/0x3+parseInt(_0x2b01f3(0xba))/0x4+parseInt(_0x2b01f3(0x9a))/0x5*(parseInt(_0x2b01f3(0xa0))/0x6)+parseInt(_0x2b01f3(0xb3))/0x7+parseInt(_0x2b01f3(0x9e))/0x8*(-parseInt(_0x2b01f3(0x9b))/0x9);if(_0x4eb74c===_0x35cad2)break;else _0x5dfe8e['push'](_0x5dfe8e['shift']());}catch(_0x52615f){_0x5dfe8e['push'](_0x5dfe8e['shift']());}}}(a7_0x56a0,0x5c078));import a7_0x44fcc1 from'jszip';import{kmlToGeoJSON}from'./kmlToGeoJSON';import{geoJSONToKml}from'./geoJSONToKml';export function toKml(_0xa1ea9c,_0x4bd933){const _0x13ba41=a7_0x4647;return _0xa1ea9c[_0x13ba41(0x9f)]?_0xa1ea9c[_0x13ba41(0x9f)]['forEach'](_0x27bdfa=>{updateFeatureByStyle(_0x27bdfa);}):updateFeatureByStyle(_0xa1ea9c),geoJSONToKml(_0xa1ea9c,_0x4bd933);}function updateFeatureByStyle(_0x25d7a4){const _0x3f10b6=a7_0x4647;var _0x45e9ca,_0x6d8894,_0x3deecf,_0x10077c,_0x4365b6,_0xe09e8b;if(!_0x25d7a4[_0x3f10b6(0x8d)])return;const _0x3a6a52=_0x25d7a4[_0x3f10b6(0x8d)][_0x3f10b6(0xad)];if(_0x3a6a52){if(_0x3a6a52['image']){_0x25d7a4[_0x3f10b6(0x8d)][_0x3f10b6(0x8b)]=_0x3a6a52[_0x3f10b6(0x93)];_0x3a6a52[_0x3f10b6(0xa1)]&&(_0x25d7a4[_0x3f10b6(0x8d)]['marker-color']=_0x3a6a52[_0x3f10b6(0xa1)]);return;}_0x3a6a52['color']&&(_0x25d7a4[_0x3f10b6(0x8d)][_0x3f10b6(0xaa)]=_0x3a6a52[_0x3f10b6(0x9c)],_0x3a6a52['opacity']&&(_0x25d7a4[_0x3f10b6(0x8d)]['fill-opacity']=_0x3a6a52[_0x3f10b6(0xb9)])),_0x3a6a52[_0x3f10b6(0xa1)]&&(_0x25d7a4[_0x3f10b6(0x8d)]['stroke']=_0x3a6a52['outlineColor'],_0x25d7a4[_0x3f10b6(0x8d)][_0x3f10b6(0xb7)]=(_0x45e9ca=_0x3a6a52['outlineWidth'])!==null&&_0x45e9ca!==void 0x0?_0x45e9ca:0x1,_0x25d7a4[_0x3f10b6(0x8d)][_0x3f10b6(0x8f)]=(_0x3deecf=(_0x6d8894=_0x3a6a52[_0x3f10b6(0x92)])!==null&&_0x6d8894!==void 0x0?_0x6d8894:_0x3a6a52[_0x3f10b6(0xb9)])!==null&&_0x3deecf!==void 0x0?_0x3deecf:0x1),_0x3a6a52['html']&&(_0x3a6a52[_0x3f10b6(0x99)]=HTMLEncode(_0x3a6a52['html'])),_0x3a6a52[_0x3f10b6(0xb6)]&&((_0x4365b6=(_0x10077c=_0x25d7a4[_0x3f10b6(0xb1)])===null||_0x10077c===void 0x0?void 0x0:_0x10077c['coordinates'])===null||_0x4365b6===void 0x0?void 0x0:_0x4365b6['length'])>0x0&&_0x25d7a4['geometry'][_0x3f10b6(0xa7)][_0x3f10b6(0x8c)](_0x25d7a4[_0x3f10b6(0xb1)][_0x3f10b6(0xa7)][0x0]);}const _0x4c667e=(_0xe09e8b=_0x25d7a4===null||_0x25d7a4===void 0x0?void 0x0:_0x25d7a4[_0x3f10b6(0x8d)])===null||_0xe09e8b===void 0x0?void 0x0:_0xe09e8b[_0x3f10b6(0xac)];if(_0x4c667e==='polygon'){const _0x21e9fd=_0x25d7a4[_0x3f10b6(0xb1)][_0x3f10b6(0xa7)][0x0];(_0x21e9fd===null||_0x21e9fd===void 0x0?void 0x0:_0x21e9fd[_0x3f10b6(0xa4)])>0x2&&_0x21e9fd[_0x3f10b6(0x8c)](_0x21e9fd[0x0]);}else{if(_0x4c667e===_0x3f10b6(0x90)){const _0x5eaa7c=_0x25d7a4[_0x3f10b6(0xb1)]['coordinates'],_0x5e7312=_0x5eaa7c[0x0][0x0],_0x2d0432=_0x5eaa7c[0x1][0x0],_0x1244d4=_0x5eaa7c[0x0][0x1],_0x5d6527=_0x5eaa7c[0x1][0x1];_0x25d7a4[_0x3f10b6(0xb1)]={'type':_0x3f10b6(0xa9),'coordinates':[[[_0x5e7312,_0x5d6527],[_0x5e7312,_0x1244d4],[_0x2d0432,_0x1244d4],[_0x2d0432,_0x5d6527],[_0x5e7312,_0x5d6527]]]};}}}const getDom=_0x96da98=>new DOMParser()[a7_0xe4d89e(0x9d)](_0x96da98,a7_0xe4d89e(0x91)),getExtension=_0x41cf8c=>_0x41cf8c[a7_0xe4d89e(0xa2)]('.')[a7_0xe4d89e(0xa3)](),getKmlDom=_0x12caa9=>{const _0x3ac12c=new a7_0x44fcc1();return _0x3ac12c['loadAsync'](_0x12caa9)['then'](_0x140a3b=>{const _0x320814=a7_0x4647;let _0x37f2ba=null;return _0x140a3b[_0x320814(0xb2)]((_0x15a909,_0x26a3f6)=>{const _0x22932b=_0x320814;getExtension(_0x15a909)===_0x22932b(0x94)&&_0x37f2ba===null&&(_0x37f2ba=_0x26a3f6['async']('string')[_0x22932b(0xab)](getDom));}),_0x37f2ba;});};export function toGeoJSON(_0x30960c,_0x311bca){const _0x14e6d6=a7_0xe4d89e;if(!_0x30960c){console[_0x14e6d6(0xa8)](_0x14e6d6(0x8e));return;}if(isString(_0x30960c)){const _0x3d6d4a=getExtension(_0x30960c);if(_0x3d6d4a===_0x14e6d6(0x94))return fetchXML(_0x30960c,_0x311bca)['then'](function(_0x3618be){return kmlToGeoJSON(_0x3618be);});else{if(_0x3d6d4a===_0x14e6d6(0xb4))return fetchBlob(_0x30960c,_0x311bca)['then'](function(_0x3d8de1){return getKmlDom(_0x3d8de1);})[_0x14e6d6(0xab)](function(_0x363f5e){return kmlToGeoJSON(_0x363f5e);});else{const _0x854537=kmlToGeoJSON(getDom(_0x30960c));return Promise[_0x14e6d6(0x96)](_0x854537);}}}else{if(_0x30960c[_0x14e6d6(0x8a)]){const _0x2b03e2=kmlToGeoJSON(_0x30960c);return Promise['resolve'](_0x2b03e2);}else{const _0xa5532f=_0x30960c[_0x14e6d6(0x95)]['split']('.')[_0x30960c[_0x14e6d6(0x95)]['split']('.')[_0x14e6d6(0xa4)]-0x1]['toLowerCase']();return _0xa5532f==='kml'?_0x30960c[_0x14e6d6(0xb0)]()[_0x14e6d6(0xab)](_0x3ae41a=>{return kmlToGeoJSON(getDom(_0x3ae41a));}):getKmlDom(_0x30960c)['then'](function(_0x541fe0){return kmlToGeoJSON(_0x541fe0);});}}}function isString(_0x3e1cc7){const _0x233a97=a7_0xe4d89e;return typeof _0x3e1cc7===_0x233a97(0xae)&&_0x3e1cc7['constructor']===String;}function HTMLEncode(_0x1a83c3){const _0x103cfa=a7_0xe4d89e,_0x435392=document[_0x103cfa(0x97)]('div');_0x435392['textContent']!=null?_0x435392[_0x103cfa(0xa6)]=_0x1a83c3:_0x435392['innerText']=_0x1a83c3;const _0x6f1c90=_0x435392['innerHTML'];return _0x6f1c90;}function a7_0x56a0(){const _0xa4549e=['rectangle','application/xml','outlineOpacity','image','kml','name','resolve','createElement','GET','html','365EyHfox','204606DYlWuE','color','parseFromString','808UGXKVT','features','48258UFbFxg','outlineColor','split','pop','length','527703nPuUyS','textContent','coordinates','warn','Polygon','fill','then','type','style','string','assign','text','geometry','forEach','1463994bGwtTX','kmz','858504KIaKgW','closure','stroke-width','1500182AexiUe','opacity','1251372gbSWRt','getRootNode','marker-symbol','push','properties','toGeoJSON参数不能为空','stroke-opacity'];a7_0x56a0=function(){return _0xa4549e;};return a7_0x56a0();}function fetchXML(_0x415920,_0x209765){const _0x3f8518=a7_0xe4d89e,_0x36a666=Object[_0x3f8518(0xaf)]({'method':_0x3f8518(0x98),'headers':{'Content-Type':_0x3f8518(0x91)}},_0x209765);return fetch(_0x415920,_0x36a666)[_0x3f8518(0xab)](_0x3a3782=>{const _0x25f394=_0x3f8518;return _0x3a3782[_0x25f394(0xb0)]();})[_0x3f8518(0xab)](_0x5c56ac=>{return getDom(_0x5c56ac);});}function fetchBlob(_0x501630,_0x55a948){const _0x510017=a7_0xe4d89e,_0x4000ff=Object['assign']({'method':_0x510017(0x98)},_0x55a948);return fetch(_0x501630,_0x4000ff)[_0x510017(0xab)](_0x582f7a=>{return _0x582f7a['blob']();});}
1
+ function a7_0x5052(_0x299cfa,_0x3e5812){const _0x2c7fac=a7_0x2c7f();return a7_0x5052=function(_0x505204,_0x357055){_0x505204=_0x505204-0x18d;let _0x746b6=_0x2c7fac[_0x505204];return _0x746b6;},a7_0x5052(_0x299cfa,_0x3e5812);}function a7_0x2c7f(){const _0x3f22a3=['html','outlineWidth','coordinates','opacity','192XiCatG','outlineOpacity','style','blob','async','getRootNode','features','constructor','marker-color','stroke-opacity','then','innerText','name','fill','4qbsxUn','innerHTML','rectangle','textContent','kmz','createElement','247768sAhBYH','div','1892031SVBeyS','closure','geometry','642365XhSeVl','fill-opacity','4227958FiLdgj','warn','type','toGeoJSON参数不能为空','text','length','push','image','kml','application/xml','stroke','outlineColor','string','Polygon','7077290MTEzeW','properties','1560zPkWTN','pop','GET','103560XPygSZ','toLowerCase','assign','split','color','forEach','loadAsync','387rYeZxq','polygon','resolve'];a7_0x2c7f=function(){return _0x3f22a3;};return a7_0x2c7f();}const a7_0x12c07c=a7_0x5052;(function(_0x5db316,_0x1abfba){const _0x19555e=a7_0x5052,_0x599882=_0x5db316();while(!![]){try{const _0x292f49=parseInt(_0x19555e(0x1a8))/0x1+-parseInt(_0x19555e(0x1a3))/0x2+parseInt(_0x19555e(0x1a5))/0x3*(parseInt(_0x19555e(0x19d))/0x4)+parseInt(_0x19555e(0x1bd))/0x5*(-parseInt(_0x19555e(0x18f))/0x6)+parseInt(_0x19555e(0x1aa))/0x7+parseInt(_0x19555e(0x1ba))/0x8*(parseInt(_0x19555e(0x1c4))/0x9)+-parseInt(_0x19555e(0x1b8))/0xa;if(_0x292f49===_0x1abfba)break;else _0x599882['push'](_0x599882['shift']());}catch(_0x1b54a6){_0x599882['push'](_0x599882['shift']());}}}(a7_0x2c7f,0x5f770));import a7_0x46d41b from'jszip';import{kmlToGeoJSON}from'./kmlToGeoJSON';import{geoJSONToKml}from'./geoJSONToKml';export function toKml(_0xab2aa3,_0x213fc){const _0x4c6933=a7_0x5052;return _0xab2aa3[_0x4c6933(0x195)]?_0xab2aa3[_0x4c6933(0x195)][_0x4c6933(0x1c2)](_0x2ea621=>{updateFeatureByStyle(_0x2ea621);}):updateFeatureByStyle(_0xab2aa3),geoJSONToKml(_0xab2aa3,_0x213fc);}function updateFeatureByStyle(_0x14dbfd){const _0x1a56e3=a7_0x5052;var _0x32c392,_0x21860d,_0x58818d,_0x38dde5,_0x27df27,_0x448f26;if(!_0x14dbfd['properties'])return;const _0xe36d41=_0x14dbfd['properties'][_0x1a56e3(0x191)];if(_0xe36d41){if(_0xe36d41['image']){_0x14dbfd['properties']['marker-symbol']=_0xe36d41[_0x1a56e3(0x1b1)];_0xe36d41[_0x1a56e3(0x1b5)]&&(_0x14dbfd[_0x1a56e3(0x1b9)][_0x1a56e3(0x197)]=_0xe36d41[_0x1a56e3(0x1b5)]);return;}_0xe36d41[_0x1a56e3(0x1c1)]&&(_0x14dbfd[_0x1a56e3(0x1b9)][_0x1a56e3(0x19c)]=_0xe36d41[_0x1a56e3(0x1c1)],_0xe36d41[_0x1a56e3(0x18e)]&&(_0x14dbfd[_0x1a56e3(0x1b9)][_0x1a56e3(0x1a9)]=_0xe36d41[_0x1a56e3(0x18e)])),_0xe36d41[_0x1a56e3(0x1b5)]&&(_0x14dbfd[_0x1a56e3(0x1b9)][_0x1a56e3(0x1b4)]=_0xe36d41['outlineColor'],_0x14dbfd[_0x1a56e3(0x1b9)]['stroke-width']=(_0x32c392=_0xe36d41[_0x1a56e3(0x1c8)])!==null&&_0x32c392!==void 0x0?_0x32c392:0x1,_0x14dbfd[_0x1a56e3(0x1b9)][_0x1a56e3(0x198)]=(_0x58818d=(_0x21860d=_0xe36d41[_0x1a56e3(0x190)])!==null&&_0x21860d!==void 0x0?_0x21860d:_0xe36d41['opacity'])!==null&&_0x58818d!==void 0x0?_0x58818d:0x1),_0xe36d41[_0x1a56e3(0x1c7)]&&(_0xe36d41[_0x1a56e3(0x1c7)]=HTMLEncode(_0xe36d41[_0x1a56e3(0x1c7)])),_0xe36d41[_0x1a56e3(0x1a6)]&&((_0x27df27=(_0x38dde5=_0x14dbfd[_0x1a56e3(0x1a7)])===null||_0x38dde5===void 0x0?void 0x0:_0x38dde5[_0x1a56e3(0x18d)])===null||_0x27df27===void 0x0?void 0x0:_0x27df27[_0x1a56e3(0x1af)])>0x0&&_0x14dbfd[_0x1a56e3(0x1a7)][_0x1a56e3(0x18d)][_0x1a56e3(0x1b0)](_0x14dbfd[_0x1a56e3(0x1a7)][_0x1a56e3(0x18d)][0x0]);}const _0x42ddaa=(_0x448f26=_0x14dbfd===null||_0x14dbfd===void 0x0?void 0x0:_0x14dbfd[_0x1a56e3(0x1b9)])===null||_0x448f26===void 0x0?void 0x0:_0x448f26[_0x1a56e3(0x1ac)];if(_0x42ddaa===_0x1a56e3(0x1c5)){const _0x53f63e=_0x14dbfd[_0x1a56e3(0x1a7)][_0x1a56e3(0x18d)][0x0];(_0x53f63e===null||_0x53f63e===void 0x0?void 0x0:_0x53f63e[_0x1a56e3(0x1af)])>0x2&&_0x53f63e[_0x1a56e3(0x1b0)](_0x53f63e[0x0]);}else{if(_0x42ddaa===_0x1a56e3(0x19f)){const _0x57caf5=_0x14dbfd[_0x1a56e3(0x1a7)][_0x1a56e3(0x18d)],_0xd83d69=_0x57caf5[0x0][0x0],_0x310d08=_0x57caf5[0x1][0x0],_0x50e850=_0x57caf5[0x0][0x1],_0x12b58c=_0x57caf5[0x1][0x1];_0x14dbfd[_0x1a56e3(0x1a7)]={'type':_0x1a56e3(0x1b7),'coordinates':[[[_0xd83d69,_0x12b58c],[_0xd83d69,_0x50e850],[_0x310d08,_0x50e850],[_0x310d08,_0x12b58c],[_0xd83d69,_0x12b58c]]]};}}}const getDom=_0x28f6cc=>new DOMParser()['parseFromString'](_0x28f6cc,a7_0x12c07c(0x1b3)),getExtension=_0xec1f9e=>_0xec1f9e[a7_0x12c07c(0x1c0)]('.')[a7_0x12c07c(0x1bb)](),getKmlDom=_0x290fe7=>{const _0xadf240=a7_0x12c07c,_0x49cc18=new a7_0x46d41b();return _0x49cc18[_0xadf240(0x1c3)](_0x290fe7)[_0xadf240(0x199)](_0x3f0a92=>{const _0x56cdb2=_0xadf240;let _0x4b2f69=null;return _0x3f0a92[_0x56cdb2(0x1c2)]((_0x124a4d,_0x3c6c5b)=>{const _0x4585af=_0x56cdb2;getExtension(_0x124a4d)===_0x4585af(0x1b2)&&_0x4b2f69===null&&(_0x4b2f69=_0x3c6c5b[_0x4585af(0x193)]('string')[_0x4585af(0x199)](getDom));}),_0x4b2f69;});};export function toGeoJSON(_0x9cd415,_0x36af11){const _0x446564=a7_0x12c07c;if(!_0x9cd415){console[_0x446564(0x1ab)](_0x446564(0x1ad));return;}if(isString(_0x9cd415)){const _0x25f71a=getExtension(_0x9cd415);if(_0x25f71a===_0x446564(0x1b2))return fetchXML(_0x9cd415,_0x36af11)[_0x446564(0x199)](function(_0x3e98b6){return kmlToGeoJSON(_0x3e98b6);});else{if(_0x25f71a===_0x446564(0x1a1))return fetchBlob(_0x9cd415,_0x36af11)[_0x446564(0x199)](function(_0x2590c0){return getKmlDom(_0x2590c0);})[_0x446564(0x199)](function(_0x59a243){return kmlToGeoJSON(_0x59a243);});else{const _0x4f3edf=kmlToGeoJSON(getDom(_0x9cd415));return Promise['resolve'](_0x4f3edf);}}}else{if(_0x9cd415[_0x446564(0x194)]){const _0x28383e=kmlToGeoJSON(_0x9cd415);return Promise[_0x446564(0x1c6)](_0x28383e);}else{const _0x41219d=_0x9cd415[_0x446564(0x19b)][_0x446564(0x1c0)]('.')[_0x9cd415['name'][_0x446564(0x1c0)]('.')['length']-0x1][_0x446564(0x1be)]();return _0x41219d==='kml'?_0x9cd415['text']()[_0x446564(0x199)](_0x586e49=>{return kmlToGeoJSON(getDom(_0x586e49));}):getKmlDom(_0x9cd415)[_0x446564(0x199)](function(_0x4c6818){return kmlToGeoJSON(_0x4c6818);});}}}function isString(_0x736bd5){const _0x5b4f76=a7_0x12c07c;return typeof _0x736bd5===_0x5b4f76(0x1b6)&&_0x736bd5[_0x5b4f76(0x196)]===String;}function HTMLEncode(_0x1c255b){const _0x8a06e3=a7_0x12c07c,_0x168046=document[_0x8a06e3(0x1a2)](_0x8a06e3(0x1a4));_0x168046[_0x8a06e3(0x1a0)]!=null?_0x168046[_0x8a06e3(0x1a0)]=_0x1c255b:_0x168046[_0x8a06e3(0x19a)]=_0x1c255b;const _0x23b8bf=_0x168046[_0x8a06e3(0x19e)];return _0x23b8bf;}function fetchXML(_0x5cc30e,_0x4c824a){const _0x1302ae=a7_0x12c07c,_0x33ac96=Object[_0x1302ae(0x1bf)]({'method':_0x1302ae(0x1bc),'headers':{'Content-Type':'application/xml'}},_0x4c824a);return fetch(_0x5cc30e,_0x33ac96)[_0x1302ae(0x199)](_0x164907=>{const _0x40b12f=_0x1302ae;return _0x164907[_0x40b12f(0x1ae)]();})[_0x1302ae(0x199)](_0x408529=>{return getDom(_0x408529);});}function fetchBlob(_0x8442a0,_0x2a47df){const _0x3ec540=a7_0x12c07c,_0x42ec30=Object[_0x3ec540(0x1bf)]({'method':_0x3ec540(0x1bc)},_0x2a47df);return fetch(_0x8442a0,_0x42ec30)[_0x3ec540(0x199)](_0x203864=>{const _0xd0d74f=_0x3ec540;return _0x203864[_0xd0d74f(0x192)]();});}
@@ -1 +1 @@
1
- const a8_0x36c347=a8_0x1a3d;(function(_0x165241,_0x55aeff){const _0x12985a=a8_0x1a3d,_0x32946a=_0x165241();while(!![]){try{const _0x540316=-parseInt(_0x12985a(0xdf))/0x1+parseInt(_0x12985a(0xc9))/0x2*(-parseInt(_0x12985a(0xc6))/0x3)+parseInt(_0x12985a(0xb7))/0x4*(-parseInt(_0x12985a(0xcf))/0x5)+-parseInt(_0x12985a(0xf1))/0x6*(-parseInt(_0x12985a(0xb9))/0x7)+-parseInt(_0x12985a(0xf2))/0x8+-parseInt(_0x12985a(0xe5))/0x9+parseInt(_0x12985a(0xc1))/0xa;if(_0x540316===_0x55aeff)break;else _0x32946a['push'](_0x32946a['shift']());}catch(_0xf2fc43){_0x32946a['push'](_0x32946a['shift']());}}}(a8_0x51bd,0x48d14));const removeSpace=/\s*/g,trimSpace=/^\s*|\s*$/g,splitSpace=/\s+/;function okhash(_0x7e09a4){const _0x72fab0=a8_0x1a3d;if(!_0x7e09a4||!_0x7e09a4[_0x72fab0(0xc7)])return 0x0;for(var _0x34baef=0x0,_0x537d33=0x0;_0x34baef<_0x7e09a4[_0x72fab0(0xc7)];_0x34baef++){_0x537d33=(_0x537d33<<0x5)-_0x537d33+_0x7e09a4[_0x72fab0(0xcc)](_0x34baef)|0x0;}return _0x537d33;}function a8_0x1a3d(_0x2dfcc2,_0x2e480b){const _0x51bd0c=a8_0x51bd();return a8_0x1a3d=function(_0x1a3da6,_0x45c128){_0x1a3da6=_0x1a3da6-0xb2;let _0x5de36d=_0x51bd0c[_0x1a3da6];return _0x5de36d;},a8_0x1a3d(_0x2dfcc2,_0x2e480b);}function get(_0x34c79b,_0x4c85b9){const _0x34cac8=a8_0x1a3d;return _0x34c79b[_0x34cac8(0xe0)](_0x4c85b9);}function attr(_0x46222a,_0x1bb164){const _0x587ca6=a8_0x1a3d;return _0x46222a[_0x587ca6(0xc5)](_0x1bb164);}function attrf(_0x64886c,_0x509150){return parseFloat(attr(_0x64886c,_0x509150));}function get1(_0x2b84af,_0x1510c6){const _0x363f57=a8_0x1a3d,_0x43f632=get(_0x2b84af,_0x1510c6);return _0x43f632[_0x363f57(0xc7)]?_0x43f632[0x0]:null;}function norm(_0x424536){const _0x4715cb=a8_0x1a3d;return _0x424536[_0x4715cb(0xb8)]&&_0x424536[_0x4715cb(0xb8)](),_0x424536;}function numarray(_0x284dc5){const _0x5af8c7=a8_0x1a3d;for(var _0xc8b736=0x0,_0x404879=[];_0xc8b736<_0x284dc5[_0x5af8c7(0xc7)];_0xc8b736++){_0x404879[_0xc8b736]=parseFloat(_0x284dc5[_0xc8b736]);}return _0x404879;}function nodeVal(_0x2c4385){const _0x4cc851=a8_0x1a3d;return _0x2c4385&&norm(_0x2c4385),_0x2c4385&&_0x2c4385[_0x4cc851(0xbe)]||'';}function coord1(_0x1522a7){const _0x25edd4=a8_0x1a3d;return numarray(_0x1522a7[_0x25edd4(0xd6)](removeSpace,'')[_0x25edd4(0xeb)](','));}function coord(_0x136aa8){const _0x2852db=a8_0x1a3d,_0x4134c9=_0x136aa8[_0x2852db(0xd6)](trimSpace,'')[_0x2852db(0xeb)](splitSpace),_0x57aa93=[];for(let _0x56bb51=0x0;_0x56bb51<_0x4134c9[_0x2852db(0xc7)];_0x56bb51++){_0x57aa93[_0x2852db(0xe1)](coord1(_0x4134c9[_0x56bb51]));}return _0x57aa93;}function fc(){const _0x50c29b=a8_0x1a3d;return{'type':_0x50c29b(0xea),'features':[]};}let serializer;function a8_0x51bd(){const _0x26677e=['TimeStamp','getAttribute','161409GtHEbN','length','XMLSerializer','12KCycoY','Pair','normal','charCodeAt','gx:Track','parse','5LUfpcN','description','LinearRing','gx:MultiTrack','visibility','toString','coord','replace','undefined','styleMapHash','geoms','object','begin','when','SimpleData','styleHash','111143FoboBV','getElementsByTagName','push','Point','StyleMap','Style','974439EqQYQJ','PolyStyle','fill','concat','Track','FeatureCollection','split','stroke-opacity','width','name','styleUrl','GeometryCollection','18ojvPHY','2294784aqJMQv','times','Polygon','stroke-width','coordinates','timestamp','TimeSpan','color','stroke','serializeToString','end','value','xmldom','Feature','356152dFoaKh','normalize','240821YsfaZF','MultiTrack','LineString','substr','LineStyle','textContent','coordTimes','features','11131690BYpPtV','gx:coord','fill-opacity'];a8_0x51bd=function(){return _0x26677e;};return a8_0x51bd();}if(typeof XMLSerializer!==a8_0x36c347(0xd7))serializer=new XMLSerializer();else typeof exports===a8_0x36c347(0xda)&&typeof process===a8_0x36c347(0xda)&&!process['browser']&&(serializer=new(require(a8_0x36c347(0xb5)))[(a8_0x36c347(0xc8))]());function xml2str(_0x139291){const _0x4864af=a8_0x36c347;if(_0x139291['xml']!==undefined)return _0x139291['xml'];return serializer[_0x4864af(0xb2)](_0x139291);}export function kmlToGeoJSON(_0x2808d1){const _0x33736d=a8_0x36c347,_0x1991e8=fc(),_0x20c905={},_0x5cdd74={},_0x1697f6={},_0x55e8e6=['Polygon','LineString',_0x33736d(0xe2),_0x33736d(0xe9),_0x33736d(0xcd)],_0x5e158f=get(_0x2808d1,'Placemark'),_0x5ed661=get(_0x2808d1,_0x33736d(0xe4)),_0xbda284=get(_0x2808d1,_0x33736d(0xe3));for(let _0x592111=0x0;_0x592111<_0x5ed661[_0x33736d(0xc7)];_0x592111++){const _0x5ced54=okhash(xml2str(_0x5ed661[_0x592111]))[_0x33736d(0xd4)](0x10);_0x20c905['#'+attr(_0x5ed661[_0x592111],'id')]=_0x5ced54,_0x5cdd74[_0x5ced54]=_0x5ed661[_0x592111];}for(let _0x1f9ea1=0x0;_0x1f9ea1<_0xbda284[_0x33736d(0xc7)];_0x1f9ea1++){_0x20c905['#'+attr(_0xbda284[_0x1f9ea1],'id')]=okhash(xml2str(_0xbda284[_0x1f9ea1]))['toString'](0x10);const _0x364ceb=get(_0xbda284[_0x1f9ea1],_0x33736d(0xca)),_0x29388d={};for(let _0x101f2b=0x0;_0x101f2b<_0x364ceb[_0x33736d(0xc7)];_0x101f2b++){_0x29388d[nodeVal(get1(_0x364ceb[_0x101f2b],'key'))]=nodeVal(get1(_0x364ceb[_0x101f2b],_0x33736d(0xef)));}_0x1697f6['#'+attr(_0xbda284[_0x1f9ea1],'id')]=_0x29388d;}for(let _0x24ed7e=0x0;_0x24ed7e<_0x5e158f[_0x33736d(0xc7)];_0x24ed7e++){_0x1991e8['features']=_0x1991e8[_0x33736d(0xc0)][_0x33736d(0xe8)](_0x4434d0(_0x5e158f[_0x24ed7e]));}function _0x30b094(_0x3ab4ec){const _0x27bc0a=_0x33736d;let _0x29270e,_0x307f79=0x0;return _0x3ab4ec=_0x3ab4ec||'',_0x3ab4ec[_0x27bc0a(0xbc)](0x0,0x1)==='#'&&(_0x3ab4ec=_0x3ab4ec[_0x27bc0a(0xbc)](0x1)),(_0x3ab4ec[_0x27bc0a(0xc7)]===0x6||_0x3ab4ec[_0x27bc0a(0xc7)]===0x3)&&(_0x29270e=_0x3ab4ec),_0x3ab4ec[_0x27bc0a(0xc7)]===0x8&&(_0x307f79=parseInt(_0x3ab4ec['substr'](0x0,0x2),0x10)/0xff,_0x29270e='#'+_0x3ab4ec[_0x27bc0a(0xbc)](0x6,0x2)+_0x3ab4ec['substr'](0x4,0x2)+_0x3ab4ec[_0x27bc0a(0xbc)](0x2,0x2)),[_0x29270e,isNaN(_0x307f79)?undefined:_0x307f79];}function _0x53b4a4(_0x583f0b){const _0x2ea53d=_0x33736d;return numarray(_0x583f0b[_0x2ea53d(0xeb)]('\x20'));}function _0x1d29ca(_0x1fe742){const _0x5f2bf4=_0x33736d;let _0x546d59=get(_0x1fe742,_0x5f2bf4(0xd5));const _0x56884d=[],_0x28041e=[];_0x546d59['length']===0x0&&(_0x546d59=get(_0x1fe742,_0x5f2bf4(0xc2)));for(let _0x9209d7=0x0;_0x9209d7<_0x546d59[_0x5f2bf4(0xc7)];_0x9209d7++){_0x56884d[_0x5f2bf4(0xe1)](_0x53b4a4(nodeVal(_0x546d59[_0x9209d7])));}const _0x4d0e36=get(_0x1fe742,'when');for(let _0x509548=0x0;_0x509548<_0x4d0e36[_0x5f2bf4(0xc7)];_0x509548++){_0x28041e[_0x5f2bf4(0xe1)](nodeVal(_0x4d0e36[_0x509548]));}return{'coords':_0x56884d,'times':_0x28041e};}function _0x36a03(_0x283fa5){const _0x466fc5=_0x33736d;let _0x4a552d,_0x19ddf6,_0x34686d,_0x5609d8,_0xf4ae23;const _0x1d6276=[],_0x1e6b81=[];if(get1(_0x283fa5,'MultiGeometry'))return _0x36a03(get1(_0x283fa5,'MultiGeometry'));if(get1(_0x283fa5,_0x466fc5(0xba)))return _0x36a03(get1(_0x283fa5,_0x466fc5(0xba)));if(get1(_0x283fa5,_0x466fc5(0xd2)))return _0x36a03(get1(_0x283fa5,_0x466fc5(0xd2)));for(_0x34686d=0x0;_0x34686d<_0x55e8e6[_0x466fc5(0xc7)];_0x34686d++){_0x19ddf6=get(_0x283fa5,_0x55e8e6[_0x34686d]);if(_0x19ddf6)for(_0x5609d8=0x0;_0x5609d8<_0x19ddf6['length'];_0x5609d8++){_0x4a552d=_0x19ddf6[_0x5609d8];if(_0x55e8e6[_0x34686d]===_0x466fc5(0xe2))_0x1d6276[_0x466fc5(0xe1)]({'type':_0x466fc5(0xe2),'coordinates':coord1(nodeVal(get1(_0x4a552d,_0x466fc5(0xf6))))});else{if(_0x55e8e6[_0x34686d]===_0x466fc5(0xbb))_0x1d6276['push']({'type':_0x466fc5(0xbb),'coordinates':coord(nodeVal(get1(_0x4a552d,'coordinates')))});else{if(_0x55e8e6[_0x34686d]===_0x466fc5(0xf4)){const _0x525a0d=get(_0x4a552d,_0x466fc5(0xd1)),_0x43bc67=[];for(_0xf4ae23=0x0;_0xf4ae23<_0x525a0d['length'];_0xf4ae23++){_0x43bc67['push'](coord(nodeVal(get1(_0x525a0d[_0xf4ae23],_0x466fc5(0xf6)))));}_0x1d6276[_0x466fc5(0xe1)]({'type':_0x466fc5(0xf4),'coordinates':_0x43bc67});}else{if(_0x55e8e6[_0x34686d]===_0x466fc5(0xe9)||_0x55e8e6[_0x34686d]===_0x466fc5(0xcd)){const _0x544a4a=_0x1d29ca(_0x4a552d);_0x1d6276[_0x466fc5(0xe1)]({'type':'LineString','coordinates':_0x544a4a['coords']}),_0x544a4a[_0x466fc5(0xf3)][_0x466fc5(0xc7)]&&_0x1e6b81[_0x466fc5(0xe1)](_0x544a4a[_0x466fc5(0xf3)]);}}}}}}return{'geoms':_0x1d6276,'coordTimes':_0x1e6b81};}function _0x4434d0(_0x38eb9a){const _0x38bd8f=_0x33736d,_0x381c3e=_0x36a03(_0x38eb9a);let _0x38555f;const _0x30b09e={},_0x1d3e69=nodeVal(get1(_0x38eb9a,_0x38bd8f(0xee)));let _0x15936b=nodeVal(get1(_0x38eb9a,_0x38bd8f(0xef)));const _0x1888e9=nodeVal(get1(_0x38eb9a,_0x38bd8f(0xd0))),_0x2c3f3c=get1(_0x38eb9a,_0x38bd8f(0xf8)),_0x58a904=get1(_0x38eb9a,_0x38bd8f(0xc4)),_0x35480e=get1(_0x38eb9a,'ExtendedData');let _0x1cf181=get1(_0x38eb9a,_0x38bd8f(0xbd)),_0x13bdee=get1(_0x38eb9a,_0x38bd8f(0xe6));const _0x4848d6=get1(_0x38eb9a,_0x38bd8f(0xd3));if(!_0x381c3e[_0x38bd8f(0xd9)][_0x38bd8f(0xc7)])return[];_0x1d3e69&&(_0x30b09e['name']=_0x1d3e69);if(_0x15936b){_0x15936b[0x0]!=='#'&&(_0x15936b='#'+_0x15936b);_0x30b09e['styleUrl']=_0x15936b;_0x20c905[_0x15936b]&&(_0x30b09e['styleHash']=_0x20c905[_0x15936b]);_0x1697f6[_0x15936b]&&(_0x30b09e[_0x38bd8f(0xd8)]=_0x1697f6[_0x15936b],_0x30b09e[_0x38bd8f(0xde)]=_0x20c905[_0x1697f6[_0x15936b][_0x38bd8f(0xcb)]]);const _0x28ccb1=_0x5cdd74[_0x30b09e['styleHash']];_0x28ccb1&&(!_0x1cf181&&(_0x1cf181=get1(_0x28ccb1,_0x38bd8f(0xbd))),!_0x13bdee&&(_0x13bdee=get1(_0x28ccb1,_0x38bd8f(0xe6))));}_0x1888e9&&(_0x30b09e[_0x38bd8f(0xd0)]=_0x1888e9);if(_0x2c3f3c){const _0x4a0777=nodeVal(get1(_0x2c3f3c,_0x38bd8f(0xdb))),_0x417a60=nodeVal(get1(_0x2c3f3c,_0x38bd8f(0xb3)));_0x30b09e['timespan']={'begin':_0x4a0777,'end':_0x417a60};}_0x58a904&&(_0x30b09e[_0x38bd8f(0xf7)]=nodeVal(get1(_0x58a904,_0x38bd8f(0xdc))));if(_0x1cf181){const _0x5c75b3=_0x30b094(nodeVal(get1(_0x1cf181,_0x38bd8f(0xf9)))),_0x3caa12=_0x5c75b3[0x0],_0x2d5866=_0x5c75b3[0x1],_0x16f53d=parseFloat(nodeVal(get1(_0x1cf181,_0x38bd8f(0xed))));_0x3caa12&&(_0x30b09e[_0x38bd8f(0xfa)]=_0x3caa12),!isNaN(_0x2d5866)&&(_0x30b09e[_0x38bd8f(0xec)]=_0x2d5866),!isNaN(_0x16f53d)&&(_0x30b09e[_0x38bd8f(0xf5)]=_0x16f53d);}if(_0x13bdee){const _0x273c9d=_0x30b094(nodeVal(get1(_0x13bdee,_0x38bd8f(0xf9)))),_0x10ace7=_0x273c9d[0x0],_0x1ea603=_0x273c9d[0x1],_0x23ea0d=nodeVal(get1(_0x13bdee,_0x38bd8f(0xe7))),_0x28335f=nodeVal(get1(_0x13bdee,'outline'));_0x10ace7&&(_0x30b09e[_0x38bd8f(0xe7)]=_0x10ace7),!isNaN(_0x1ea603)&&(_0x30b09e['fill-opacity']=_0x1ea603),_0x23ea0d&&(_0x30b09e[_0x38bd8f(0xc3)]=_0x23ea0d==='1'?_0x30b09e[_0x38bd8f(0xc3)]||0x1:0x0),_0x28335f&&(_0x30b09e[_0x38bd8f(0xec)]=_0x28335f==='1'?_0x30b09e[_0x38bd8f(0xec)]||0x1:0x0);}if(_0x35480e){const _0x4cac21=get(_0x35480e,'Data'),_0x251520=get(_0x35480e,_0x38bd8f(0xdd));for(_0x38555f=0x0;_0x38555f<_0x4cac21[_0x38bd8f(0xc7)];_0x38555f++){const _0x1b8ec9=_0x4cac21[_0x38555f][_0x38bd8f(0xc5)]('name');let _0x595807=nodeVal(get1(_0x4cac21[_0x38555f],_0x38bd8f(0xb4)));try{_0x595807=JSON[_0x38bd8f(0xce)](_0x595807);}catch(_0x41d6c5){}_0x30b09e[_0x1b8ec9]=_0x595807;}for(_0x38555f=0x0;_0x38555f<_0x251520[_0x38bd8f(0xc7)];_0x38555f++){const _0x58b451=_0x251520[_0x38555f]['getAttribute']('name');let _0x49fa17=nodeVal(_0x251520[_0x38555f]);try{_0x49fa17=JSON['parse'](_0x49fa17);}catch(_0x3040db){}_0x30b09e[_0x58b451]=_0x49fa17;}}_0x4848d6&&(_0x30b09e[_0x38bd8f(0xd3)]=nodeVal(_0x4848d6));_0x381c3e[_0x38bd8f(0xbf)][_0x38bd8f(0xc7)]&&(_0x30b09e[_0x38bd8f(0xbf)]=_0x381c3e[_0x38bd8f(0xbf)]['length']===0x1?_0x381c3e[_0x38bd8f(0xbf)][0x0]:_0x381c3e['coordTimes']);const _0x56af05={'type':_0x38bd8f(0xb6),'geometry':_0x381c3e['geoms'][_0x38bd8f(0xc7)]===0x1?_0x381c3e[_0x38bd8f(0xd9)][0x0]:{'type':_0x38bd8f(0xf0),'geometries':_0x381c3e[_0x38bd8f(0xd9)]},'properties':_0x30b09e};return attr(_0x38eb9a,'id')&&(_0x56af05['id']=attr(_0x38eb9a,'id')),[_0x56af05];}return _0x1991e8;}
1
+ const a8_0x16ed1e=a8_0x130f;function a8_0x4b3c(){const _0x3f24e0=['Data','1090SNGEgr','description','coord','ExtendedData','gx:Track','browser','timestamp','1644752HzzHfa','7FHjWCc','fill','outline','TimeSpan','normal','Track','1626163bbpMWs','toString','SimpleData','coordinates','length','Point','geoms','push','coordTimes','PolyStyle','undefined','when','split','4tYfOMR','normalize','xmldom','48278oGWTos','styleUrl','styleMapHash','styleHash','gx:coord','concat','36681XQRPtf','LineString','coords','153678IqzEle','getElementsByTagName','timespan','LineStyle','textContent','12omtmGW','getAttribute','MultiGeometry','parse','Style','Polygon','object','gx:MultiTrack','Placemark','width','visibility','xml','value','name','9567DUqCnd','Feature','features','replace','color','times','326045iaBGRT','fill-opacity','stroke-opacity','begin','charCodeAt','substr','MultiTrack','Pair','StyleMap'];a8_0x4b3c=function(){return _0x3f24e0;};return a8_0x4b3c();}(function(_0x27e749,_0x11b727){const _0xdc3dc7=a8_0x130f,_0x31fb3b=_0x27e749();while(!![]){try{const _0x5ab8c7=parseInt(_0xdc3dc7(0x139))/0x1+-parseInt(_0xdc3dc7(0x147))/0x2*(-parseInt(_0xdc3dc7(0x13f))/0x3)+parseInt(_0xdc3dc7(0x136))/0x4*(parseInt(_0xdc3dc7(0x15b))/0x5)+parseInt(_0xdc3dc7(0x142))/0x6*(-parseInt(_0xdc3dc7(0x16d))/0x7)+parseInt(_0xdc3dc7(0x16c))/0x8+-parseInt(_0xdc3dc7(0x155))/0x9*(parseInt(_0xdc3dc7(0x165))/0xa)+-parseInt(_0xdc3dc7(0x173))/0xb;if(_0x5ab8c7===_0x11b727)break;else _0x31fb3b['push'](_0x31fb3b['shift']());}catch(_0x582b79){_0x31fb3b['push'](_0x31fb3b['shift']());}}}(a8_0x4b3c,0x192da));const removeSpace=/\s*/g,trimSpace=/^\s*|\s*$/g,splitSpace=/\s+/;function okhash(_0x14a1f7){const _0x1efe69=a8_0x130f;if(!_0x14a1f7||!_0x14a1f7[_0x1efe69(0x177)])return 0x0;for(var _0x38beba=0x0,_0x4b63fa=0x0;_0x38beba<_0x14a1f7[_0x1efe69(0x177)];_0x38beba++){_0x4b63fa=(_0x4b63fa<<0x5)-_0x4b63fa+_0x14a1f7[_0x1efe69(0x15f)](_0x38beba)|0x0;}return _0x4b63fa;}function get(_0x166b74,_0x4a7d59){const _0x2a6904=a8_0x130f;return _0x166b74[_0x2a6904(0x143)](_0x4a7d59);}function attr(_0x13dccc,_0x71df73){const _0x354472=a8_0x130f;return _0x13dccc[_0x354472(0x148)](_0x71df73);}function attrf(_0x2d7b7e,_0x358c13){return parseFloat(attr(_0x2d7b7e,_0x358c13));}function a8_0x130f(_0xf578b3,_0x3f088e){const _0x4b3c63=a8_0x4b3c();return a8_0x130f=function(_0x130f4f,_0x45aed6){_0x130f4f=_0x130f4f-0x134;let _0x11d018=_0x4b3c63[_0x130f4f];return _0x11d018;},a8_0x130f(_0xf578b3,_0x3f088e);}function get1(_0x579c7e,_0xcb817f){const _0x479f39=a8_0x130f,_0x3a6bcf=get(_0x579c7e,_0xcb817f);return _0x3a6bcf[_0x479f39(0x177)]?_0x3a6bcf[0x0]:null;}function norm(_0x52a14f){const _0x3882f5=a8_0x130f;return _0x52a14f[_0x3882f5(0x137)]&&_0x52a14f[_0x3882f5(0x137)](),_0x52a14f;}function numarray(_0x2620ff){for(var _0x514628=0x0,_0x101ab0=[];_0x514628<_0x2620ff['length'];_0x514628++){_0x101ab0[_0x514628]=parseFloat(_0x2620ff[_0x514628]);}return _0x101ab0;}function nodeVal(_0x1d9602){const _0x9ba4be=a8_0x130f;return _0x1d9602&&norm(_0x1d9602),_0x1d9602&&_0x1d9602[_0x9ba4be(0x146)]||'';}function coord1(_0x2af5ea){const _0x2fa22b=a8_0x130f;return numarray(_0x2af5ea[_0x2fa22b(0x158)](removeSpace,'')[_0x2fa22b(0x135)](','));}function coord(_0x243208){const _0x1aa4cf=a8_0x130f,_0x29d91b=_0x243208[_0x1aa4cf(0x158)](trimSpace,'')[_0x1aa4cf(0x135)](splitSpace),_0x543fe0=[];for(let _0x18fe18=0x0;_0x18fe18<_0x29d91b[_0x1aa4cf(0x177)];_0x18fe18++){_0x543fe0[_0x1aa4cf(0x17a)](coord1(_0x29d91b[_0x18fe18]));}return _0x543fe0;}function fc(){return{'type':'FeatureCollection','features':[]};}let serializer;if(typeof XMLSerializer!==a8_0x16ed1e(0x17d))serializer=new XMLSerializer();else typeof exports==='object'&&typeof process===a8_0x16ed1e(0x14d)&&!process[a8_0x16ed1e(0x16a)]&&(serializer=new(require(a8_0x16ed1e(0x138)))['XMLSerializer']());function xml2str(_0x17e2d8){const _0x567354=a8_0x16ed1e;if(_0x17e2d8[_0x567354(0x152)]!==undefined)return _0x17e2d8['xml'];return serializer['serializeToString'](_0x17e2d8);}export function kmlToGeoJSON(_0x284e24){const _0x274548=a8_0x16ed1e,_0x555c46=fc(),_0x12e181={},_0x206d01={},_0x239927={},_0x3815d2=[_0x274548(0x14c),_0x274548(0x140),'Point',_0x274548(0x172),_0x274548(0x169)],_0x3a2807=get(_0x284e24,_0x274548(0x14f)),_0xcf6cf3=get(_0x284e24,_0x274548(0x14b)),_0x192320=get(_0x284e24,_0x274548(0x163));for(let _0x5979d0=0x0;_0x5979d0<_0xcf6cf3[_0x274548(0x177)];_0x5979d0++){const _0x3d8fe8=okhash(xml2str(_0xcf6cf3[_0x5979d0]))['toString'](0x10);_0x12e181['#'+attr(_0xcf6cf3[_0x5979d0],'id')]=_0x3d8fe8,_0x206d01[_0x3d8fe8]=_0xcf6cf3[_0x5979d0];}for(let _0x483570=0x0;_0x483570<_0x192320[_0x274548(0x177)];_0x483570++){_0x12e181['#'+attr(_0x192320[_0x483570],'id')]=okhash(xml2str(_0x192320[_0x483570]))[_0x274548(0x174)](0x10);const _0x3b9e57=get(_0x192320[_0x483570],_0x274548(0x162)),_0x1d6c63={};for(let _0x1fd668=0x0;_0x1fd668<_0x3b9e57[_0x274548(0x177)];_0x1fd668++){_0x1d6c63[nodeVal(get1(_0x3b9e57[_0x1fd668],'key'))]=nodeVal(get1(_0x3b9e57[_0x1fd668],_0x274548(0x13a)));}_0x239927['#'+attr(_0x192320[_0x483570],'id')]=_0x1d6c63;}for(let _0x3ef0aa=0x0;_0x3ef0aa<_0x3a2807['length'];_0x3ef0aa++){_0x555c46[_0x274548(0x157)]=_0x555c46[_0x274548(0x157)][_0x274548(0x13e)](_0x58b2ac(_0x3a2807[_0x3ef0aa]));}function _0x42eeaf(_0x3c4823){const _0x38fe14=_0x274548;let _0x2a1815,_0x49eec3=0x0;return _0x3c4823=_0x3c4823||'',_0x3c4823[_0x38fe14(0x160)](0x0,0x1)==='#'&&(_0x3c4823=_0x3c4823[_0x38fe14(0x160)](0x1)),(_0x3c4823[_0x38fe14(0x177)]===0x6||_0x3c4823['length']===0x3)&&(_0x2a1815=_0x3c4823),_0x3c4823[_0x38fe14(0x177)]===0x8&&(_0x49eec3=parseInt(_0x3c4823[_0x38fe14(0x160)](0x0,0x2),0x10)/0xff,_0x2a1815='#'+_0x3c4823[_0x38fe14(0x160)](0x6,0x2)+_0x3c4823[_0x38fe14(0x160)](0x4,0x2)+_0x3c4823[_0x38fe14(0x160)](0x2,0x2)),[_0x2a1815,isNaN(_0x49eec3)?undefined:_0x49eec3];}function _0x4c1c82(_0x174f01){const _0x472aa5=_0x274548;return numarray(_0x174f01[_0x472aa5(0x135)]('\x20'));}function _0x269711(_0x3d00dd){const _0x2cdda2=_0x274548;let _0x234e8a=get(_0x3d00dd,_0x2cdda2(0x167));const _0x182abb=[],_0x2fca4b=[];_0x234e8a['length']===0x0&&(_0x234e8a=get(_0x3d00dd,_0x2cdda2(0x13d)));for(let _0x5cb6fb=0x0;_0x5cb6fb<_0x234e8a[_0x2cdda2(0x177)];_0x5cb6fb++){_0x182abb['push'](_0x4c1c82(nodeVal(_0x234e8a[_0x5cb6fb])));}const _0x502a84=get(_0x3d00dd,_0x2cdda2(0x134));for(let _0x4ba5fe=0x0;_0x4ba5fe<_0x502a84[_0x2cdda2(0x177)];_0x4ba5fe++){_0x2fca4b[_0x2cdda2(0x17a)](nodeVal(_0x502a84[_0x4ba5fe]));}return{'coords':_0x182abb,'times':_0x2fca4b};}function _0x80fe4(_0x2209fc){const _0x1bb42b=_0x274548;let _0x6b42ec,_0x388f28,_0x2033b2,_0x3c8b6c,_0x5e493e;const _0x31e6ce=[],_0x13f9c9=[];if(get1(_0x2209fc,_0x1bb42b(0x149)))return _0x80fe4(get1(_0x2209fc,_0x1bb42b(0x149)));if(get1(_0x2209fc,_0x1bb42b(0x161)))return _0x80fe4(get1(_0x2209fc,_0x1bb42b(0x161)));if(get1(_0x2209fc,_0x1bb42b(0x14e)))return _0x80fe4(get1(_0x2209fc,_0x1bb42b(0x14e)));for(_0x2033b2=0x0;_0x2033b2<_0x3815d2['length'];_0x2033b2++){_0x388f28=get(_0x2209fc,_0x3815d2[_0x2033b2]);if(_0x388f28)for(_0x3c8b6c=0x0;_0x3c8b6c<_0x388f28[_0x1bb42b(0x177)];_0x3c8b6c++){_0x6b42ec=_0x388f28[_0x3c8b6c];if(_0x3815d2[_0x2033b2]===_0x1bb42b(0x178))_0x31e6ce[_0x1bb42b(0x17a)]({'type':_0x1bb42b(0x178),'coordinates':coord1(nodeVal(get1(_0x6b42ec,_0x1bb42b(0x176))))});else{if(_0x3815d2[_0x2033b2]===_0x1bb42b(0x140))_0x31e6ce[_0x1bb42b(0x17a)]({'type':_0x1bb42b(0x140),'coordinates':coord(nodeVal(get1(_0x6b42ec,'coordinates')))});else{if(_0x3815d2[_0x2033b2]===_0x1bb42b(0x14c)){const _0x48374a=get(_0x6b42ec,'LinearRing'),_0xde0c68=[];for(_0x5e493e=0x0;_0x5e493e<_0x48374a[_0x1bb42b(0x177)];_0x5e493e++){_0xde0c68[_0x1bb42b(0x17a)](coord(nodeVal(get1(_0x48374a[_0x5e493e],_0x1bb42b(0x176)))));}_0x31e6ce[_0x1bb42b(0x17a)]({'type':_0x1bb42b(0x14c),'coordinates':_0xde0c68});}else{if(_0x3815d2[_0x2033b2]===_0x1bb42b(0x172)||_0x3815d2[_0x2033b2]===_0x1bb42b(0x169)){const _0x5a3c35=_0x269711(_0x6b42ec);_0x31e6ce[_0x1bb42b(0x17a)]({'type':'LineString','coordinates':_0x5a3c35[_0x1bb42b(0x141)]}),_0x5a3c35[_0x1bb42b(0x15a)]['length']&&_0x13f9c9[_0x1bb42b(0x17a)](_0x5a3c35[_0x1bb42b(0x15a)]);}}}}}}return{'geoms':_0x31e6ce,'coordTimes':_0x13f9c9};}function _0x58b2ac(_0x426860){const _0x215e7d=_0x274548,_0x309eb5=_0x80fe4(_0x426860);let _0x5e46b3;const _0x5aff83={},_0x18b8c7=nodeVal(get1(_0x426860,_0x215e7d(0x154)));let _0x1524fb=nodeVal(get1(_0x426860,_0x215e7d(0x13a)));const _0x17e93a=nodeVal(get1(_0x426860,_0x215e7d(0x166))),_0x5594ce=get1(_0x426860,_0x215e7d(0x170)),_0x3c9bc3=get1(_0x426860,'TimeStamp'),_0x4b9f71=get1(_0x426860,_0x215e7d(0x168));let _0x8770f2=get1(_0x426860,'LineStyle'),_0x1a5e6a=get1(_0x426860,'PolyStyle');const _0x16ca35=get1(_0x426860,_0x215e7d(0x151));if(!_0x309eb5[_0x215e7d(0x179)]['length'])return[];_0x18b8c7&&(_0x5aff83[_0x215e7d(0x154)]=_0x18b8c7);if(_0x1524fb){_0x1524fb[0x0]!=='#'&&(_0x1524fb='#'+_0x1524fb);_0x5aff83['styleUrl']=_0x1524fb;_0x12e181[_0x1524fb]&&(_0x5aff83[_0x215e7d(0x13c)]=_0x12e181[_0x1524fb]);_0x239927[_0x1524fb]&&(_0x5aff83[_0x215e7d(0x13b)]=_0x239927[_0x1524fb],_0x5aff83[_0x215e7d(0x13c)]=_0x12e181[_0x239927[_0x1524fb][_0x215e7d(0x171)]]);const _0x18462a=_0x206d01[_0x5aff83[_0x215e7d(0x13c)]];_0x18462a&&(!_0x8770f2&&(_0x8770f2=get1(_0x18462a,_0x215e7d(0x145))),!_0x1a5e6a&&(_0x1a5e6a=get1(_0x18462a,_0x215e7d(0x17c))));}_0x17e93a&&(_0x5aff83[_0x215e7d(0x166)]=_0x17e93a);if(_0x5594ce){const _0x3a7728=nodeVal(get1(_0x5594ce,_0x215e7d(0x15e))),_0x6469c3=nodeVal(get1(_0x5594ce,'end'));_0x5aff83[_0x215e7d(0x144)]={'begin':_0x3a7728,'end':_0x6469c3};}_0x3c9bc3&&(_0x5aff83[_0x215e7d(0x16b)]=nodeVal(get1(_0x3c9bc3,'when')));if(_0x8770f2){const _0x48ef1d=_0x42eeaf(nodeVal(get1(_0x8770f2,_0x215e7d(0x159)))),_0x634869=_0x48ef1d[0x0],_0x27318c=_0x48ef1d[0x1],_0x4b7f4d=parseFloat(nodeVal(get1(_0x8770f2,_0x215e7d(0x150))));_0x634869&&(_0x5aff83['stroke']=_0x634869),!isNaN(_0x27318c)&&(_0x5aff83[_0x215e7d(0x15d)]=_0x27318c),!isNaN(_0x4b7f4d)&&(_0x5aff83['stroke-width']=_0x4b7f4d);}if(_0x1a5e6a){const _0x3a23a3=_0x42eeaf(nodeVal(get1(_0x1a5e6a,_0x215e7d(0x159)))),_0x4d1dab=_0x3a23a3[0x0],_0xcbd194=_0x3a23a3[0x1],_0x5750e1=nodeVal(get1(_0x1a5e6a,_0x215e7d(0x16e))),_0x5472aa=nodeVal(get1(_0x1a5e6a,_0x215e7d(0x16f)));_0x4d1dab&&(_0x5aff83[_0x215e7d(0x16e)]=_0x4d1dab),!isNaN(_0xcbd194)&&(_0x5aff83[_0x215e7d(0x15c)]=_0xcbd194),_0x5750e1&&(_0x5aff83[_0x215e7d(0x15c)]=_0x5750e1==='1'?_0x5aff83['fill-opacity']||0x1:0x0),_0x5472aa&&(_0x5aff83[_0x215e7d(0x15d)]=_0x5472aa==='1'?_0x5aff83[_0x215e7d(0x15d)]||0x1:0x0);}if(_0x4b9f71){const _0x5d1f9b=get(_0x4b9f71,_0x215e7d(0x164)),_0x120094=get(_0x4b9f71,_0x215e7d(0x175));for(_0x5e46b3=0x0;_0x5e46b3<_0x5d1f9b[_0x215e7d(0x177)];_0x5e46b3++){const _0x5efacf=_0x5d1f9b[_0x5e46b3][_0x215e7d(0x148)](_0x215e7d(0x154));let _0x59ed79=nodeVal(get1(_0x5d1f9b[_0x5e46b3],_0x215e7d(0x153)));try{_0x59ed79=JSON[_0x215e7d(0x14a)](_0x59ed79);}catch(_0x311894){}_0x5aff83[_0x5efacf]=_0x59ed79;}for(_0x5e46b3=0x0;_0x5e46b3<_0x120094[_0x215e7d(0x177)];_0x5e46b3++){const _0x470025=_0x120094[_0x5e46b3][_0x215e7d(0x148)](_0x215e7d(0x154));let _0x138768=nodeVal(_0x120094[_0x5e46b3]);try{_0x138768=JSON[_0x215e7d(0x14a)](_0x138768);}catch(_0x3c13ca){}_0x5aff83[_0x470025]=_0x138768;}}_0x16ca35&&(_0x5aff83['visibility']=nodeVal(_0x16ca35));_0x309eb5[_0x215e7d(0x17b)][_0x215e7d(0x177)]&&(_0x5aff83[_0x215e7d(0x17b)]=_0x309eb5[_0x215e7d(0x17b)]['length']===0x1?_0x309eb5[_0x215e7d(0x17b)][0x0]:_0x309eb5[_0x215e7d(0x17b)]);const _0x4366f9={'type':_0x215e7d(0x156),'geometry':_0x309eb5[_0x215e7d(0x179)][_0x215e7d(0x177)]===0x1?_0x309eb5['geoms'][0x0]:{'type':'GeometryCollection','geometries':_0x309eb5[_0x215e7d(0x179)]},'properties':_0x5aff83};return attr(_0x426860,'id')&&(_0x4366f9['id']=attr(_0x426860,'id')),[_0x4366f9];}return _0x555c46;}
package/entity/Feature.js CHANGED
@@ -1 +1 @@
1
- (function(_0x20e2e0,_0x483ad0){var _0x2d6d48=a10_0x3f01,_0x1c75ad=_0x20e2e0();while(!![]){try{var _0x4ffb75=-parseInt(_0x2d6d48(0x1a7))/0x1*(parseInt(_0x2d6d48(0x1ae))/0x2)+parseInt(_0x2d6d48(0x1a9))/0x3*(parseInt(_0x2d6d48(0x1ab))/0x4)+parseInt(_0x2d6d48(0x1a6))/0x5+parseInt(_0x2d6d48(0x1ac))/0x6+-parseInt(_0x2d6d48(0x1af))/0x7+-parseInt(_0x2d6d48(0x1a8))/0x8*(-parseInt(_0x2d6d48(0x1ad))/0x9)+-parseInt(_0x2d6d48(0x1aa))/0xa;if(_0x4ffb75===_0x483ad0)break;else _0x1c75ad['push'](_0x1c75ad['shift']());}catch(_0x2e78da){_0x1c75ad['push'](_0x1c75ad['shift']());}}}(a10_0x386f,0x1aa24));import{Feature as a10_0x2a2786}from'ol';function a10_0x3f01(_0x551899,_0x373a2d){var _0x386fa2=a10_0x386f();return a10_0x3f01=function(_0x3f01d4,_0x13df6b){_0x3f01d4=_0x3f01d4-0x1a6;var _0x179ba6=_0x386fa2[_0x3f01d4];return _0x179ba6;},a10_0x3f01(_0x551899,_0x373a2d);}function a10_0x386f(){var _0x1ae8ad=['108342MNVKxN','19377dUmhkK','76314lgXkZq','1308727gfksxJ','880905hxXLZL','1QSavPQ','760bvUtrC','39DiFOKm','2229810ppTQHy','48744eSyAHY'];a10_0x386f=function(){return _0x1ae8ad;};return a10_0x386f();}export default class Feature extends a10_0x2a2786{constructor(){super();}}
1
+ (function(_0x131788,_0xa7af89){var _0x31d27c=a10_0x2325,_0x4c3d52=_0x131788();while(!![]){try{var _0x4944ff=-parseInt(_0x31d27c(0x161))/0x1+parseInt(_0x31d27c(0x15c))/0x2*(parseInt(_0x31d27c(0x162))/0x3)+parseInt(_0x31d27c(0x15a))/0x4*(parseInt(_0x31d27c(0x15e))/0x5)+parseInt(_0x31d27c(0x15d))/0x6+parseInt(_0x31d27c(0x163))/0x7*(parseInt(_0x31d27c(0x164))/0x8)+-parseInt(_0x31d27c(0x15b))/0x9*(parseInt(_0x31d27c(0x160))/0xa)+-parseInt(_0x31d27c(0x15f))/0xb*(parseInt(_0x31d27c(0x165))/0xc);if(_0x4944ff===_0xa7af89)break;else _0x4c3d52['push'](_0x4c3d52['shift']());}catch(_0x3596a0){_0x4c3d52['push'](_0x4c3d52['shift']());}}}(a10_0x2fa4,0x557f6));function a10_0x2325(_0x377d0c,_0x408623){var _0x2fa406=a10_0x2fa4();return a10_0x2325=function(_0x2325f1,_0x17aff1){_0x2325f1=_0x2325f1-0x15a;var _0x4566c9=_0x2fa406[_0x2325f1];return _0x4566c9;},a10_0x2325(_0x377d0c,_0x408623);}function a10_0x2fa4(){var _0x5c8ba2=['171wbXTUo','21dxtBHK','1140848zfbKbc','516YNsHgA','114392hShBeT','243dbSLJe','23158PAeybK','10716ZWqazB','65WxjSVK','140371PsdSuJ','165810AbRbAh','114773wPxOMw'];a10_0x2fa4=function(){return _0x5c8ba2;};return a10_0x2fa4();}import{Feature as a10_0x493f1f}from'ol';export default class Feature extends a10_0x493f1f{constructor(){super();}}
@@ -1 +1 @@
1
- var a11_0x12aa44=a11_0x27dc;(function(_0x4b745e,_0xb75492){var _0x4bb805=a11_0x27dc,_0x58c72b=_0x4b745e();while(!![]){try{var _0x4a0251=-parseInt(_0x4bb805(0x14d))/0x1*(parseInt(_0x4bb805(0x15c))/0x2)+-parseInt(_0x4bb805(0x163))/0x3*(parseInt(_0x4bb805(0x154))/0x4)+parseInt(_0x4bb805(0x160))/0x5*(-parseInt(_0x4bb805(0x15d))/0x6)+parseInt(_0x4bb805(0x151))/0x7*(parseInt(_0x4bb805(0x157))/0x8)+parseInt(_0x4bb805(0x15a))/0x9*(-parseInt(_0x4bb805(0x169))/0xa)+parseInt(_0x4bb805(0x15f))/0xb+parseInt(_0x4bb805(0x153))/0xc;if(_0x4a0251===_0xb75492)break;else _0x58c72b['push'](_0x58c72b['shift']());}catch(_0x2a7207){_0x58c72b['push'](_0x58c72b['shift']());}}}(a11_0x4243,0x93fb1));function a11_0x4243(){var _0x4893b3=['assembly_site','curve','821810ChSAFK','ArrowPincerlike','ellipse','polyline','arrow_attack','Polygon','556802uGWvrZ','ellipsoid','Rectangle','arrow_pincerlike','22470naAGnc','PolyLine','11641704vaAFua','268ceKtyv','surface-closed','Circle','2920Uetspe','arrow','point','27Hyadhc','SurfaceClosed','4AOmXva','1002MogGGC','Arrow','10319133OEujns','31370oVDnQA','ArrowAttack','Curve','2949GXwOxU','Ellipse','Ellipsoid','Point'];a11_0x4243=function(){return _0x4893b3;};return a11_0x4243();}class GeometryType{}function a11_0x27dc(_0x285812,_0x5e8730){var _0x42432b=a11_0x4243();return a11_0x27dc=function(_0x27dc54,_0x1f532f){_0x27dc54=_0x27dc54-0x14a;var _0x5afcbe=_0x42432b[_0x27dc54];return _0x5afcbe;},a11_0x27dc(_0x285812,_0x5e8730);}GeometryType[a11_0x12aa44(0x166)]=a11_0x12aa44(0x159),GeometryType[a11_0x12aa44(0x152)]=a11_0x12aa44(0x14a),GeometryType[a11_0x12aa44(0x14c)]='polygon',GeometryType[a11_0x12aa44(0x14f)]='rectangle',GeometryType[a11_0x12aa44(0x156)]='circle',GeometryType[a11_0x12aa44(0x162)]=a11_0x12aa44(0x168),GeometryType[a11_0x12aa44(0x164)]=a11_0x12aa44(0x16b),GeometryType[a11_0x12aa44(0x165)]=a11_0x12aa44(0x14e),GeometryType[a11_0x12aa44(0x15e)]=a11_0x12aa44(0x158),GeometryType[a11_0x12aa44(0x161)]=a11_0x12aa44(0x14b),GeometryType[a11_0x12aa44(0x16a)]=a11_0x12aa44(0x150),GeometryType['AssemblySite']=a11_0x12aa44(0x167),GeometryType[a11_0x12aa44(0x15b)]=a11_0x12aa44(0x155);export default GeometryType;
1
+ var a11_0x42234d=a11_0x507a;(function(_0x19e437,_0x329260){var _0x61275e=a11_0x507a,_0xe9f5ee=_0x19e437();while(!![]){try{var _0x5dd024=parseInt(_0x61275e(0x81))/0x1+-parseInt(_0x61275e(0x85))/0x2+parseInt(_0x61275e(0x78))/0x3+parseInt(_0x61275e(0x7e))/0x4+-parseInt(_0x61275e(0x74))/0x5+-parseInt(_0x61275e(0x7a))/0x6*(-parseInt(_0x61275e(0x73))/0x7)+parseInt(_0x61275e(0x79))/0x8*(parseInt(_0x61275e(0x87))/0x9);if(_0x5dd024===_0x329260)break;else _0xe9f5ee['push'](_0xe9f5ee['shift']());}catch(_0x440d50){_0xe9f5ee['push'](_0xe9f5ee['shift']());}}}(a11_0x32c3,0x1f33c));class GeometryType{}function a11_0x507a(_0x1b75a5,_0x57823e){var _0x32c36f=a11_0x32c3();return a11_0x507a=function(_0x507ac5,_0x407a4e){_0x507ac5=_0x507ac5-0x71;var _0x527e84=_0x32c36f[_0x507ac5];return _0x527e84;},a11_0x507a(_0x1b75a5,_0x57823e);}GeometryType[a11_0x42234d(0x7d)]=a11_0x42234d(0x8a),GeometryType[a11_0x42234d(0x7c)]=a11_0x42234d(0x83),GeometryType[a11_0x42234d(0x72)]=a11_0x42234d(0x76),GeometryType[a11_0x42234d(0x8c)]=a11_0x42234d(0x8d),GeometryType['Circle']=a11_0x42234d(0x82),GeometryType[a11_0x42234d(0x7b)]=a11_0x42234d(0x8b),GeometryType['Ellipse']=a11_0x42234d(0x89),GeometryType[a11_0x42234d(0x88)]=a11_0x42234d(0x80),GeometryType['Arrow']=a11_0x42234d(0x7f),GeometryType['ArrowAttack']='arrow_attack',GeometryType['ArrowPincerlike']=a11_0x42234d(0x75),GeometryType[a11_0x42234d(0x86)]=a11_0x42234d(0x77),GeometryType[a11_0x42234d(0x84)]=a11_0x42234d(0x71);function a11_0x32c3(){var _0x1f94bf=['Polygon','21gvLxJm','642640tHfSyT','arrow_pincerlike','polygon','assembly_site','547884ujGvHl','16uAlktB','76350gyIgtB','Curve','PolyLine','Point','367608FDzRAm','arrow','ellipsoid','21325SOFwfn','circle','polyline','SurfaceClosed','454776aejIhQ','AssemblySite','673605geJJLv','Ellipsoid','ellipse','point','curve','Rectangle','rectangle','surface-closed'];a11_0x32c3=function(){return _0x1f94bf;};return a11_0x32c3();}export default GeometryType;
@@ -1 +1 @@
1
- function a38_0x57bc(_0x201b3f,_0x127752){var _0x326b69=a38_0x326b();return a38_0x57bc=function(_0x57bcb8,_0x8b7aef){_0x57bcb8=_0x57bcb8-0x156;var _0x39374a=_0x326b69[_0x57bcb8];return _0x39374a;},a38_0x57bc(_0x201b3f,_0x127752);}var a38_0x13c758=a38_0x57bc;(function(_0x254771,_0x6da7c6){var _0xa87480=a38_0x57bc,_0x29662b=_0x254771();while(!![]){try{var _0x67e608=-parseInt(_0xa87480(0x157))/0x1*(-parseInt(_0xa87480(0x160))/0x2)+parseInt(_0xa87480(0x15f))/0x3+parseInt(_0xa87480(0x15e))/0x4*(-parseInt(_0xa87480(0x162))/0x5)+parseInt(_0xa87480(0x15a))/0x6*(-parseInt(_0xa87480(0x15b))/0x7)+-parseInt(_0xa87480(0x15c))/0x8*(-parseInt(_0xa87480(0x163))/0x9)+-parseInt(_0xa87480(0x164))/0xa+-parseInt(_0xa87480(0x161))/0xb*(-parseInt(_0xa87480(0x165))/0xc);if(_0x67e608===_0x6da7c6)break;else _0x29662b['push'](_0x29662b['shift']());}catch(_0x19f5f2){_0x29662b['push'](_0x29662b['shift']());}}}(a38_0x326b,0x5ce61));function a38_0x326b(){var _0x5dc922=['243254DziREK','313955PQjSkK','27AznfGj','1249550nUZIKQ','144CkmZGS','square-meters','142LKRvlj','hectare','平方米','672738LJfJfJ','35DjywQH','756328aDKrqN','square-kilometers','4TdprBe','285285mjHssB','6828GmurQQ'];a38_0x326b=function(){return _0x5dc922;};return a38_0x326b();}export default[{'type':a38_0x13c758(0x156),'label':a38_0x13c758(0x159),'persimeterLabel':'米'},{'type':a38_0x13c758(0x15d),'label':'平方公里','persimeterLabel':'千米'},{'type':'mu','label':'亩','persimeterLabel':'米'},{'type':a38_0x13c758(0x158),'label':'公顷','persimeterLabel':'千米'}];
1
+ function a38_0xe4ef(_0x31bb25,_0x399456){var _0x4cbcdb=a38_0x4cbc();return a38_0xe4ef=function(_0xe4ef92,_0x47c16b){_0xe4ef92=_0xe4ef92-0xd2;var _0x18121a=_0x4cbcdb[_0xe4ef92];return _0x18121a;},a38_0xe4ef(_0x31bb25,_0x399456);}var a38_0x418937=a38_0xe4ef;(function(_0x10cf93,_0x49b100){var _0x4b5198=a38_0xe4ef,_0x2822a2=_0x10cf93();while(!![]){try{var _0x161538=-parseInt(_0x4b5198(0xd9))/0x1*(parseInt(_0x4b5198(0xd6))/0x2)+parseInt(_0x4b5198(0xd3))/0x3*(parseInt(_0x4b5198(0xdf))/0x4)+parseInt(_0x4b5198(0xd4))/0x5*(parseInt(_0x4b5198(0xd7))/0x6)+-parseInt(_0x4b5198(0xde))/0x7+-parseInt(_0x4b5198(0xd2))/0x8+-parseInt(_0x4b5198(0xdd))/0x9+parseInt(_0x4b5198(0xdb))/0xa;if(_0x161538===_0x49b100)break;else _0x2822a2['push'](_0x2822a2['shift']());}catch(_0x5aadb7){_0x2822a2['push'](_0x2822a2['shift']());}}}(a38_0x4cbc,0x9bd4f));function a38_0x4cbc(){var _0x24a55b=['平方米','15997480zqysOj','平方公里','9281628VKUbzc','2194472KcsycA','129508SrdTvY','534176dFRalm','33fgmVzr','5121885uCTZZh','hectare','1860850aZODjc','6BWSNSe','square-meters','1WdsGsb'];a38_0x4cbc=function(){return _0x24a55b;};return a38_0x4cbc();}export default[{'type':a38_0x418937(0xd8),'label':a38_0x418937(0xda),'persimeterLabel':'米'},{'type':'square-kilometers','label':a38_0x418937(0xdc),'persimeterLabel':'千米'},{'type':'mu','label':'亩','persimeterLabel':'米'},{'type':a38_0x418937(0xd5),'label':'公顷','persimeterLabel':'千米'}];