ym-gis-2d 1.0.8 → 1.0.10
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.
- package/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/feature/FeatureManager.js +1 -1
- package/index.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.js +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/Map.js.map +1 -1
- package/mapView/View.d.ts +1 -0
- package/mapView/View.d.ts.map +1 -1
- package/mapView/View.js +1 -1
- package/mapView/View.js.map +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/StyleManager.js +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/index.js +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
package/capabilities/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2fde8c,_0x1cd316){const _0x473200=a0_0x4464,_0x2dcf19=_0x2fde8c();while(!![]){try{const _0xb98b9=parseInt(_0x473200(0x172))/0x1+parseInt(_0x473200(0x190))/0x2+parseInt(_0x473200(0x18b))/0x3+parseInt(_0x473200(0x1c3))/0x4+parseInt(_0x473200(0x191))/0x5*(parseInt(_0x473200(0x1b9))/0x6)+parseInt(_0x473200(0x19f))/0x7*(parseInt(_0x473200(0x18a))/0x8)+-parseInt(_0x473200(0x17f))/0x9;if(_0xb98b9===_0x1cd316)break;else _0x2dcf19['push'](_0x2dcf19['shift']());}catch(_0x1208bb){_0x2dcf19['push'](_0x2dcf19['shift']());}}}(a0_0x8f14,0x5fa3a));import{addArgument,appendPath}from'../utils/UrlUtil';import a0_0x24a128 from'../utils/AxiosUtil';import{jsonp}from'../utils/AxiosUtil';import a0_0xe3c01a from'ol/format/WMTSCapabilities';import a0_0x298360 from'ol/format/WMSCapabilities';function a0_0x4464(_0x1c5a3f,_0x5a9914){const _0x8f14e9=a0_0x8f14();return a0_0x4464=function(_0x446442,_0x27451e){_0x446442=_0x446442-0x172;let _0x4cc3ce=_0x8f14e9[_0x446442];return _0x4cc3ce;},a0_0x4464(_0x1c5a3f,_0x5a9914);}import{readXml}from'../utils/XmlUtil';import{transformedToNumber}from'../utils/StringUtil';export async function getDynamicLayerInfo(_0x45ab40){const _0x2fafc7=a0_0x4464,_0x44d15b=addArgument(_0x45ab40,'f',_0x2fafc7(0x1b1)),_0x569bf=await a0_0x24a128[_0x2fafc7(0x18f)](_0x44d15b);return _0x569bf[_0x2fafc7(0x183)];}export async function getFeatureLayerInfo(_0x459ab2,_0x4e2bb9){const _0x1d7c05=a0_0x4464;let _0x9c49ea=addArgument(_0x459ab2,'f','json');_0x9c49ea=appendPath(_0x9c49ea,_0x4e2bb9);const _0x1b921a=await jsonp(_0x9c49ea);return _0x1b921a[_0x1d7c05(0x181)]=_0x9c49ea,_0x1b921a;}export async function getWMSLayerCapabilities(_0xf44aa3,_0x30a6e2){const _0x274e4d=a0_0x4464,_0x54d3b3=await getWMSCapabilities(_0xf44aa3);let _0x52041f={},_0x169fc4=_0x54d3b3[_0x274e4d(0x182)][_0x274e4d(0x1b8)][_0x274e4d(0x1b8)];for(let _0x1a8c6e=0x0;_0x1a8c6e<_0x169fc4[_0x274e4d(0x1be)];_0x1a8c6e++){const _0x22eeec=_0x169fc4[_0x1a8c6e];if(_0x22eeec[_0x274e4d(0x1a2)]==_0x30a6e2){_0x52041f['style']=_0x22eeec[_0x274e4d(0x1b0)][0x0][_0x274e4d(0x1a2)];for(let _0x263c68=0x0;_0x263c68<_0x22eeec[_0x274e4d(0x18e)][_0x274e4d(0x1be)];_0x263c68++){const _0x44c1da=_0x22eeec[_0x274e4d(0x18e)][_0x263c68];if(_0x44c1da[_0x274e4d(0x1b5)][_0x274e4d(0x1a1)](_0x274e4d(0x1c2))>-0x1){_0x52041f[_0x274e4d(0x1a9)]=transformedToNumber(_0x44c1da[_0x274e4d(0x1b5)]),_0x52041f[_0x274e4d(0x179)]=[_0x44c1da['extent'][0x1],_0x44c1da[_0x274e4d(0x1a8)][0x0],_0x44c1da[_0x274e4d(0x1a8)][0x3],_0x44c1da['extent'][0x2]];break;}}break;}}return _0x52041f;}export async function getWMTSLayerCapabilities(_0x13c741,_0x4624d2){const _0x553fea=a0_0x4464,_0x9572c8=await getWMTSCapabilities(_0x13c741);let _0x23d2cd={},_0x537187=_0x9572c8[_0x553fea(0x1ab)][_0x553fea(0x1b8)];_0x23d2cd[_0x553fea(0x18d)]=_0x9572c8;for(let _0x1871bc=0x0;_0x1871bc<_0x537187[_0x553fea(0x1be)];_0x1871bc++){const _0x57e765=_0x537187[_0x1871bc];if(_0x57e765[_0x553fea(0x17c)]==_0x4624d2){_0x23d2cd[_0x553fea(0x176)]=_0x57e765[_0x553fea(0x185)],_0x23d2cd[_0x553fea(0x1b4)]=_0x57e765[_0x553fea(0x1b0)][0x0][_0x553fea(0x17c)],_0x23d2cd[_0x553fea(0x196)]=_0x57e765['TileMatrixSetLink'][0x0][_0x553fea(0x1a3)],_0x23d2cd[_0x553fea(0x19a)]=_0x57e765['WGS84BoundingBox'],_0x23d2cd[_0x553fea(0x18c)]=_0x57e765[_0x553fea(0x18e)]&&_0x57e765[_0x553fea(0x18e)][_0x553fea(0x1be)]>0x0?_0x57e765[_0x553fea(0x18e)][0x0][_0x553fea(0x1a8)]:_0x23d2cd[_0x553fea(0x19a)];break;}}if(_0x23d2cd[_0x553fea(0x196)])for(let _0x110e9f=0x0;_0x110e9f<_0x9572c8[_0x553fea(0x1ab)][_0x553fea(0x1a3)][_0x553fea(0x1be)];_0x110e9f++){const _0x468dc3=_0x9572c8[_0x553fea(0x1ab)][_0x553fea(0x1a3)][_0x110e9f];if(_0x468dc3[_0x553fea(0x17c)]==_0x23d2cd[_0x553fea(0x196)]){_0x23d2cd[_0x553fea(0x1a9)]=transformedToNumber(_0x468dc3['SupportedCRS']),_0x23d2cd['tileMatrixs']=[];for(let _0xdd0cbc=0x0;_0xdd0cbc<_0x468dc3['TileMatrix'][_0x553fea(0x1be)];_0xdd0cbc++){const _0x59d78b=_0x468dc3[_0x553fea(0x1b7)][_0xdd0cbc];_0x23d2cd['tileMatrixs'][_0x553fea(0x17a)]({'identifier':_0x59d78b[_0x553fea(0x17c)],'matrixHeight':_0x59d78b[_0x553fea(0x189)],'matrixWidth':_0x59d78b[_0x553fea(0x178)],'scaleDenominator':_0x59d78b[_0x553fea(0x1a5)],'tileHeight':_0x59d78b[_0x553fea(0x174)],'tileWidth':_0x59d78b[_0x553fea(0x187)],'topLeftCorner':_0x59d78b[_0x553fea(0x197)]});}break;}}return _0x23d2cd;}export async function getWFSLayerCapabilities(_0x4812b8,_0x1858d5){const _0xc650fa=a0_0x4464,_0x435bb4=await getWFSCapabilities(_0x4812b8);let _0x477634={};const _0x33c85c=await getWmsLayerFields(_0x4812b8,_0x1858d5);_0x477634[_0xc650fa(0x19e)]=_0x33c85c;let _0x2a54de=_0x435bb4[_0xc650fa(0x188)](_0xc650fa(0x1ac))[0x0][_0xc650fa(0x192)],_0x516d57;for(let _0x456879=0x0,_0x2027d1=_0x2a54de[_0xc650fa(0x1be)];_0x456879<_0x2027d1;_0x456879++){for(let _0x524d07=0x0,_0x34862e=_0x2a54de[_0x456879]['children'][_0xc650fa(0x1be)];_0x524d07<_0x34862e;_0x524d07++){if(_0x2a54de[_0x456879][_0xc650fa(0x192)][_0x524d07][_0xc650fa(0x1ba)]===_0xc650fa(0x1a2)){const _0x318f44=_0x2a54de[_0x456879][_0xc650fa(0x192)][_0x524d07][_0xc650fa(0x1bb)][_0xc650fa(0x186)]();if(_0x318f44==_0x1858d5||_0x318f44[_0xc650fa(0x1a1)](':'+_0x1858d5)>-0x1){_0x516d57=_0x2a54de[_0x456879];break;}}}if(_0x516d57)break;}let _0x3d0749=[];for(let _0xc1e1f0=0x0,_0xe46ce7=_0x516d57[_0xc650fa(0x192)][_0xc650fa(0x1be)];_0xc1e1f0<_0xe46ce7;_0xc1e1f0++){if(_0x516d57[_0xc650fa(0x192)][_0xc1e1f0][_0xc650fa(0x1ba)]===_0xc650fa(0x195)){let _0x52567e=_0x516d57[_0xc650fa(0x192)][_0xc1e1f0][_0xc650fa(0x192)][0x0]['innerHTML'][_0xc650fa(0x193)]('\x20'),_0x3a5ac8=_0x516d57['children'][_0xc1e1f0][_0xc650fa(0x192)][0x1][_0xc650fa(0x1bb)][_0xc650fa(0x193)]('\x20');_0x52567e&&_0x3a5ac8&&(_0x3d0749=[_0x52567e[0x0]-0x0,_0x52567e[0x1]-0x0,_0x3a5ac8[0x0]-0x0,_0x3a5ac8[0x1]-0x0]),_0x477634[_0xc650fa(0x179)]=_0x3d0749;}else _0x516d57[_0xc650fa(0x192)][_0xc1e1f0][_0xc650fa(0x1ba)]===_0xc650fa(0x173)&&(_0x477634[_0xc650fa(0x1a9)]=transformedToNumber(_0x516d57[_0xc650fa(0x192)][_0xc1e1f0][_0xc650fa(0x1bb)]));}return _0x477634;}export async function getWMSCapabilities(_0x3e65ed){const _0x6a5814=a0_0x4464;let _0x613a13=addArgument(_0x3e65ed,'request','GetCapabilities');_0x613a13=addArgument(_0x613a13,'service',_0x6a5814(0x19c));const _0x48cf7f=await a0_0x24a128[_0x6a5814(0x18f)](_0x613a13);let _0x4e792c=new a0_0x298360();return _0x4e792c['read'](_0x48cf7f[_0x6a5814(0x183)]);}function a0_0x8f14(){const _0x2ac964=['esriFieldTypeDouble','MatrixWidth','initExtent','push','pjson','Identifier','request','arcgis-feature','20343213UWVkoX','read','url','Capability','data','short','Format','toString','TileWidth','getElementsByTagName','MatrixHeight','24gyVgus','2055684bASfSt','boundingBoxExtent','sourceXml','BoundingBox','get','1467306FTcdwc','5qzGutM','children','split','DescribeFeatureType','ows:WGS84BoundingBox','tileMatrixSet','TopLeftCorner','esriFieldTypeInteger','GetCapabilities','wgs84BoundingBox','int','wms','decimal','layerFields','155029RzbUPi','wmts','indexOf','Name','TileMatrixSet','name','ScaleDenominator','service','geoserver-wfs','extent','wkid','value','Contents','FeatureTypeList','forEach','xsd:sequence','layers','Style','json','attributes','label','style','crs','esriFieldTypeSmallInteger','TileMatrix','Layer','1344414epyZJW','nodeName','innerHTML','date','alias','length','double','type','wfs','EPSG:','1721172DAycVf','Title','512411vciVpX','DefaultCRS','TileHeight','string','format'];a0_0x8f14=function(){return _0x2ac964;};return a0_0x8f14();}export async function getWMTSCapabilities(_0x447d60){const _0x5d78ea=a0_0x4464;let _0x20aac6=addArgument(_0x447d60,'request',_0x5d78ea(0x199));_0x20aac6=addArgument(_0x20aac6,'service',_0x5d78ea(0x1a0));const _0xeccce3=await a0_0x24a128['get'](_0x20aac6);let _0x107203=new a0_0xe3c01a();return _0x107203[_0x5d78ea(0x180)](_0xeccce3[_0x5d78ea(0x183)]);}export async function getWFSCapabilities(_0x31104b){const _0x56437b=a0_0x4464;let _0xc675f8=addArgument(_0x31104b,_0x56437b(0x17d),'GetCapabilities');_0xc675f8=addArgument(_0xc675f8,_0x56437b(0x1a6),_0x56437b(0x1c1));const _0x109db3=await a0_0x24a128[_0x56437b(0x18f)](_0xc675f8),_0x542301=readXml(_0x109db3[_0x56437b(0x183)]);return _0x542301;}export async function getWmsLayerFields(_0xd28c5f,_0x4a8d9a){const _0x56473c=a0_0x4464;let _0x1d959b=addArgument(_0xd28c5f,'request',_0x56473c(0x194));_0x1d959b=addArgument(_0x1d959b,'service',_0x56473c(0x1c1)),_0x1d959b=addArgument(_0x1d959b,'typeName',_0x4a8d9a);const _0x3570aa=await a0_0x24a128[_0x56473c(0x18f)](_0x1d959b),_0x37300a=readXml(_0x3570aa['data']);let _0x3c6b9d=[];const _0x436975=_0x37300a['getElementsByTagName'](_0x56473c(0x1ae))[0x0][_0x56473c(0x192)];for(let _0x41e057=0x0;_0x41e057<_0x436975['length'];_0x41e057++){const _0x2f3ca3=_0x436975[_0x41e057],_0x41cbc4=_0x2f3ca3[_0x56473c(0x1b2)][_0x56473c(0x1c0)][_0x56473c(0x1aa)];let _0x6038=0x1;if(_0x41cbc4['indexOf'](_0x56473c(0x175))>-0x1)_0x6038=0x1;else{if(_0x41cbc4[_0x56473c(0x1a1)](_0x56473c(0x19b))>-0x1||_0x41cbc4[_0x56473c(0x1a1)](_0x56473c(0x184))>-0x1)_0x6038=0x2;else{if(_0x41cbc4[_0x56473c(0x1a1)](_0x56473c(0x1bf))>-0x1||_0x41cbc4[_0x56473c(0x1a1)](_0x56473c(0x19d))>-0x1)_0x6038=0x3;else{if(_0x41cbc4[_0x56473c(0x1a1)](_0x56473c(0x1bc))>-0x1)_0x6038=0x4;else _0x41cbc4[_0x56473c(0x1a1)]('gml:')>-0x1&&(_0x6038=0x6);}}}_0x3c6b9d[_0x56473c(0x17a)]({'name':_0x2f3ca3[_0x56473c(0x1b2)][_0x56473c(0x1a4)][_0x56473c(0x1aa)],'aliasName':_0x2f3ca3['attributes'][_0x56473c(0x1a4)][_0x56473c(0x1aa)],'fieldType':_0x6038,'fieldTypeName':_0x41cbc4});}return _0x3c6b9d;}export async function getWmtsLayers(_0x194c28){const _0x35ae0d=a0_0x4464,_0x23cab1=await getWMTSCapabilities(_0x194c28);let _0x4e5641=[];if(!_0x23cab1||!_0x23cab1[_0x35ae0d(0x1ab)]||!_0x23cab1[_0x35ae0d(0x1ab)][_0x35ae0d(0x1b8)])return _0x4e5641;return _0x23cab1['Contents'][_0x35ae0d(0x1b8)][_0x35ae0d(0x1ad)](_0x7b467e=>{const _0x1c63fe=_0x35ae0d;_0x4e5641[_0x1c63fe(0x17a)]({'name':_0x7b467e[_0x1c63fe(0x17c)],'label':_0x7b467e['Title']});}),_0x4e5641;}export async function getWmsLayers(_0x2b922b){const _0xdccd21=a0_0x4464,_0x217780=await getWMSCapabilities(_0x2b922b);let _0xd53a2a=[];if(!_0x217780||!_0x217780[_0xdccd21(0x182)]||!_0x217780[_0xdccd21(0x182)][_0xdccd21(0x1b8)]||!_0x217780[_0xdccd21(0x182)]['Layer'][_0xdccd21(0x1b8)])return _0xd53a2a;return _0x217780['Capability'][_0xdccd21(0x1b8)]['Layer'][_0xdccd21(0x1ad)](_0x46556a=>{const _0x213553=_0xdccd21;_0xd53a2a[_0x213553(0x17a)]({'name':_0x46556a[_0x213553(0x1a2)],'label':_0x46556a['Title']});}),_0xd53a2a;}export async function getWfLayers(_0x333fcd){const _0x2e3a25=a0_0x4464,_0x529a07=await getWFSCapabilities(_0x333fcd);let _0x2b9983=[],_0x43f8bc=_0x529a07['getElementsByTagName'](_0x2e3a25(0x1ac))[0x0][_0x2e3a25(0x192)],_0x44198d;for(let _0x2cf95e=0x0,_0x3b853e=_0x43f8bc['length'];_0x2cf95e<_0x3b853e;_0x2cf95e++){let _0x5e7531={'name':'','label':''};for(let _0x31f090=0x0,_0x3a4296=_0x43f8bc[_0x2cf95e][_0x2e3a25(0x192)][_0x2e3a25(0x1be)];_0x31f090<_0x3a4296;_0x31f090++){if(_0x43f8bc[_0x2cf95e][_0x2e3a25(0x192)][_0x31f090][_0x2e3a25(0x1ba)]==='Name'){const _0x57027f=_0x43f8bc[_0x2cf95e]['children'][_0x31f090][_0x2e3a25(0x1bb)][_0x2e3a25(0x186)]();_0x5e7531[_0x2e3a25(0x1a4)]=_0x57027f;}else{if(_0x43f8bc[_0x2cf95e][_0x2e3a25(0x192)][_0x31f090][_0x2e3a25(0x1ba)]===_0x2e3a25(0x1c4)){const _0x3facfa=_0x43f8bc[_0x2cf95e][_0x2e3a25(0x192)][_0x31f090][_0x2e3a25(0x1bb)][_0x2e3a25(0x186)]();_0x5e7531[_0x2e3a25(0x1b3)]=_0x3facfa;}}}_0x5e7531[_0x2e3a25(0x1a4)]!==''&&_0x5e7531['label']!==''&&_0x2b9983[_0x2e3a25(0x17a)](_0x5e7531);}return _0x2b9983;}export async function getArcgisDynamicLayers(_0x59aef5){const _0x4bd4b9=a0_0x4464;let _0x2b5d25=addArgument(_0x59aef5,'f','pjson');const _0x39edec=await a0_0x24a128[_0x4bd4b9(0x18f)](_0x2b5d25);let _0x25186f=[];return _0x39edec[_0x4bd4b9(0x183)][_0x4bd4b9(0x1af)][_0x4bd4b9(0x1ad)](_0xe7b5d4=>{const _0x2602bc=_0x4bd4b9;_0x25186f[_0x2602bc(0x17a)]({'name':_0xe7b5d4['id'][_0x2602bc(0x186)](),'label':_0xe7b5d4[_0x2602bc(0x1a4)]});}),_0x25186f;}export async function getArcgisDynamicLayerFields(_0x2d5b57,_0x567415){const _0xa90a1b=a0_0x4464;let _0x221f03=appendPath(_0x2d5b57,_0x567415);_0x221f03=addArgument(_0x221f03,'f',_0xa90a1b(0x17b));const _0x154d1f=await a0_0x24a128[_0xa90a1b(0x18f)](_0x221f03);let _0x44f4b4=[];return _0x154d1f[_0xa90a1b(0x183)]['fields'][_0xa90a1b(0x1ad)](_0x4543ba=>{const _0x596a45=_0xa90a1b;let _0x165710=0x1;switch(_0x4543ba[_0x596a45(0x1c0)]){case'esriFieldTypeString':_0x165710=0x1;break;case _0x596a45(0x198):case _0x596a45(0x1b6):case'esriFieldTypeOID':_0x165710=0x2;break;case _0x596a45(0x177):_0x165710=0x3;break;case'esriFieldTypeDate':_0x165710=0x4;break;case'esriFieldTypeGeometry':_0x165710=0x6;break;default:_0x165710=0x1;break;}_0x44f4b4[_0x596a45(0x17a)]({'name':_0x4543ba['name'],'aliasName':_0x4543ba[_0x596a45(0x1bd)],'fieldType':_0x165710,'fieldTypeName':_0x4543ba['type'],'fieldLength':_0x4543ba[_0x596a45(0x1be)]});}),_0x44f4b4;}export async function getSourceLayerFields(_0x2756ba,_0x9cb165,_0x2e51fe){const _0xedaa7d=a0_0x4464;let _0x234c77=[];switch(_0x2e51fe){case'arcgis-dynamic':case _0xedaa7d(0x17e):_0x234c77=await getArcgisDynamicLayerFields(_0x2756ba,_0x9cb165);break;case'geoserver-wms':case _0xedaa7d(0x1a7):_0x234c77=await getWmsLayerFields(_0x2756ba,_0x9cb165);break;default:break;}return _0x234c77;}
|
|
1
|
+
(function(_0x318a7a,_0x2c43bc){const _0x4a905e=a0_0x3926,_0xf548c4=_0x318a7a();while(!![]){try{const _0x5a213a=parseInt(_0x4a905e(0x1a8))/0x1+parseInt(_0x4a905e(0x1a4))/0x2*(-parseInt(_0x4a905e(0x18e))/0x3)+parseInt(_0x4a905e(0x191))/0x4+parseInt(_0x4a905e(0x1b2))/0x5*(-parseInt(_0x4a905e(0x18f))/0x6)+-parseInt(_0x4a905e(0x17b))/0x7*(parseInt(_0x4a905e(0x1a9))/0x8)+-parseInt(_0x4a905e(0x1b6))/0x9*(-parseInt(_0x4a905e(0x187))/0xa)+-parseInt(_0x4a905e(0x179))/0xb*(parseInt(_0x4a905e(0x17d))/0xc);if(_0x5a213a===_0x2c43bc)break;else _0xf548c4['push'](_0xf548c4['shift']());}catch(_0x3424e8){_0xf548c4['push'](_0xf548c4['shift']());}}}(a0_0x4f49,0xde64e));import{addArgument,appendPath}from'../utils/UrlUtil';import a0_0x3a3602 from'../utils/AxiosUtil';import{jsonp}from'../utils/AxiosUtil';import a0_0x3c148d from'ol/format/WMTSCapabilities';import a0_0x45b26a from'ol/format/WMSCapabilities';import{readXml}from'../utils/XmlUtil';import{transformedToNumber}from'../utils/StringUtil';export async function getDynamicLayerInfo(_0x383296){const _0x355fd9=a0_0x3926,_0x37cd11=addArgument(_0x383296,'f',_0x355fd9(0x16a)),_0x37a912=await a0_0x3a3602[_0x355fd9(0x188)](_0x37cd11);return _0x37a912['data'];}function a0_0x3926(_0x4e916e,_0xa2952d){const _0x4f4950=a0_0x4f49();return a0_0x3926=function(_0x392658,_0x576b3f){_0x392658=_0x392658-0x169;let _0x3dc505=_0x4f4950[_0x392658];return _0x3dc505;},a0_0x3926(_0x4e916e,_0xa2952d);}export async function getFeatureLayerInfo(_0x41e15b,_0x485ed3){const _0x19b717=a0_0x3926;let _0x2aa223=addArgument(_0x41e15b,'f','json');_0x2aa223=appendPath(_0x2aa223,_0x485ed3);const _0x396f86=await jsonp(_0x2aa223);return _0x396f86[_0x19b717(0x176)]=_0x2aa223,_0x396f86;}export async function getWMSLayerCapabilities(_0x120533,_0x3b35d8){const _0x38ab19=a0_0x3926,_0x471afc=await getWMSCapabilities(_0x120533);let _0x2b9ab6={},_0x17cc18=_0x471afc[_0x38ab19(0x18c)]['Layer'][_0x38ab19(0x19c)];for(let _0x20caac=0x0;_0x20caac<_0x17cc18[_0x38ab19(0x173)];_0x20caac++){const _0x49f30e=_0x17cc18[_0x20caac];if(_0x49f30e[_0x38ab19(0x183)]==_0x3b35d8){_0x2b9ab6[_0x38ab19(0x16b)]=_0x49f30e['Style'][0x0][_0x38ab19(0x183)];for(let _0x515532=0x0;_0x515532<_0x49f30e[_0x38ab19(0x19e)]['length'];_0x515532++){const _0x5ec210=_0x49f30e[_0x38ab19(0x19e)][_0x515532];if(_0x5ec210[_0x38ab19(0x1b3)][_0x38ab19(0x197)](_0x38ab19(0x1aa))>-0x1){_0x2b9ab6['wkid']=transformedToNumber(_0x5ec210[_0x38ab19(0x1b3)]),_0x2b9ab6['initExtent']=[_0x5ec210[_0x38ab19(0x18d)][0x1],_0x5ec210[_0x38ab19(0x18d)][0x0],_0x5ec210['extent'][0x3],_0x5ec210[_0x38ab19(0x18d)][0x2]];break;}}break;}}return _0x2b9ab6;}export async function getWMTSLayerCapabilities(_0x3b501c,_0x43b23e){const _0x406c85=a0_0x3926,_0x5bf8bf=await getWMTSCapabilities(_0x3b501c);let _0x3e3376={},_0x4d3813=_0x5bf8bf[_0x406c85(0x1a5)]['Layer'];_0x3e3376[_0x406c85(0x1af)]=_0x5bf8bf;for(let _0xd7bbc4=0x0;_0xd7bbc4<_0x4d3813[_0x406c85(0x173)];_0xd7bbc4++){const _0x28c11f=_0x4d3813[_0xd7bbc4];if(_0x28c11f[_0x406c85(0x190)]==_0x43b23e){_0x3e3376['format']=_0x28c11f[_0x406c85(0x16c)],_0x3e3376[_0x406c85(0x16b)]=_0x28c11f['Style'][0x0][_0x406c85(0x190)],_0x3e3376[_0x406c85(0x194)]=_0x28c11f[_0x406c85(0x196)][0x0]['TileMatrixSet'],_0x3e3376[_0x406c85(0x1a3)]=_0x28c11f[_0x406c85(0x177)],_0x3e3376['boundingBoxExtent']=_0x28c11f[_0x406c85(0x19e)]&&_0x28c11f[_0x406c85(0x19e)][_0x406c85(0x173)]>0x0?_0x28c11f[_0x406c85(0x19e)][0x0]['extent']:_0x3e3376[_0x406c85(0x1a3)];break;}}if(_0x3e3376[_0x406c85(0x194)])for(let _0xea9008=0x0;_0xea9008<_0x5bf8bf[_0x406c85(0x1a5)][_0x406c85(0x19b)][_0x406c85(0x173)];_0xea9008++){const _0x32c614=_0x5bf8bf['Contents'][_0x406c85(0x19b)][_0xea9008];if(_0x32c614[_0x406c85(0x190)]==_0x3e3376[_0x406c85(0x194)]){_0x3e3376[_0x406c85(0x1ba)]=transformedToNumber(_0x32c614[_0x406c85(0x192)]),_0x3e3376[_0x406c85(0x1ad)]=[];for(let _0x30ac2a=0x0;_0x30ac2a<_0x32c614[_0x406c85(0x16d)][_0x406c85(0x173)];_0x30ac2a++){const _0x5186b7=_0x32c614['TileMatrix'][_0x30ac2a];_0x3e3376[_0x406c85(0x1ad)][_0x406c85(0x182)]({'identifier':_0x5186b7[_0x406c85(0x190)],'matrixHeight':_0x5186b7[_0x406c85(0x185)],'matrixWidth':_0x5186b7['MatrixWidth'],'scaleDenominator':_0x5186b7[_0x406c85(0x184)],'tileHeight':_0x5186b7[_0x406c85(0x19a)],'tileWidth':_0x5186b7[_0x406c85(0x189)],'topLeftCorner':_0x5186b7[_0x406c85(0x19d)]});}break;}}return _0x3e3376;}export async function getWFSLayerCapabilities(_0x4d3b32,_0x23ac13){const _0x466ef3=a0_0x3926,_0x471711=await getWFSCapabilities(_0x4d3b32);let _0x13bfc0={};const _0x1f6d42=await getWmsLayerFields(_0x4d3b32,_0x23ac13);_0x13bfc0[_0x466ef3(0x169)]=_0x1f6d42;let _0x305ecf=_0x471711[_0x466ef3(0x186)]('FeatureTypeList')[0x0]['children'],_0x4d4c82;for(let _0x424cf7=0x0,_0x1bee5f=_0x305ecf[_0x466ef3(0x173)];_0x424cf7<_0x1bee5f;_0x424cf7++){for(let _0xe4c0b=0x0,_0xa2caa=_0x305ecf[_0x424cf7]['children'][_0x466ef3(0x173)];_0xe4c0b<_0xa2caa;_0xe4c0b++){if(_0x305ecf[_0x424cf7]['children'][_0xe4c0b][_0x466ef3(0x1b8)]===_0x466ef3(0x183)){const _0x4da475=_0x305ecf[_0x424cf7]['children'][_0xe4c0b][_0x466ef3(0x1b0)][_0x466ef3(0x1b9)]();if(_0x4da475==_0x23ac13||_0x4da475[_0x466ef3(0x197)](':'+_0x23ac13)>-0x1){_0x4d4c82=_0x305ecf[_0x424cf7];break;}}}if(_0x4d4c82)break;}let _0x5bc786=[];for(let _0x46a33b=0x0,_0xd2eda4=_0x4d4c82[_0x466ef3(0x1b1)][_0x466ef3(0x173)];_0x46a33b<_0xd2eda4;_0x46a33b++){if(_0x4d4c82[_0x466ef3(0x1b1)][_0x46a33b][_0x466ef3(0x1b8)]===_0x466ef3(0x1a1)){let _0x3190c0=_0x4d4c82[_0x466ef3(0x1b1)][_0x46a33b][_0x466ef3(0x1b1)][0x0][_0x466ef3(0x1b0)]['split']('\x20'),_0xe77c43=_0x4d4c82['children'][_0x46a33b][_0x466ef3(0x1b1)][0x1][_0x466ef3(0x1b0)][_0x466ef3(0x1ac)]('\x20');_0x3190c0&&_0xe77c43&&(_0x5bc786=[_0x3190c0[0x0]-0x0,_0x3190c0[0x1]-0x0,_0xe77c43[0x0]-0x0,_0xe77c43[0x1]-0x0]),_0x13bfc0[_0x466ef3(0x1b7)]=_0x5bc786;}else _0x4d4c82[_0x466ef3(0x1b1)][_0x46a33b]['nodeName']==='DefaultCRS'&&(_0x13bfc0[_0x466ef3(0x1ba)]=transformedToNumber(_0x4d4c82[_0x466ef3(0x1b1)][_0x46a33b][_0x466ef3(0x1b0)]));}return _0x13bfc0;}export async function getWMSCapabilities(_0x291853){const _0xe305f=a0_0x3926;let _0xe135ed=addArgument(_0x291853,_0xe305f(0x18b),_0xe305f(0x1b5));_0xe135ed=addArgument(_0xe135ed,'service',_0xe305f(0x170));const _0xc8ae6f=await a0_0x3a3602[_0xe305f(0x188)](_0xe135ed);let _0x428b28=new a0_0x45b26a();return _0x428b28[_0xe305f(0x193)](_0xc8ae6f[_0xe305f(0x1a0)]);}export async function getWMTSCapabilities(_0x1f2112){const _0x438cd7=a0_0x3926;let _0x1cb063=addArgument(_0x1f2112,_0x438cd7(0x18b),_0x438cd7(0x1b5));_0x1cb063=addArgument(_0x1cb063,_0x438cd7(0x1ae),_0x438cd7(0x1a2));const _0x89cd3=await a0_0x3a3602[_0x438cd7(0x188)](_0x1cb063);let _0x5ed46e=new a0_0x3c148d();return _0x5ed46e[_0x438cd7(0x193)](_0x89cd3[_0x438cd7(0x1a0)]);}export async function getWFSCapabilities(_0x492e61){const _0x5eaff6=a0_0x3926;let _0x3d6c7c=addArgument(_0x492e61,_0x5eaff6(0x18b),_0x5eaff6(0x1b5));_0x3d6c7c=addArgument(_0x3d6c7c,_0x5eaff6(0x1ae),_0x5eaff6(0x180));const _0x12daff=await a0_0x3a3602[_0x5eaff6(0x188)](_0x3d6c7c),_0x44f6b5=readXml(_0x12daff[_0x5eaff6(0x1a0)]);return _0x44f6b5;}export async function getWmsLayerFields(_0x2be4c2,_0xc8b33c){const _0x301153=a0_0x3926;let _0x20e661=addArgument(_0x2be4c2,_0x301153(0x18b),'DescribeFeatureType');_0x20e661=addArgument(_0x20e661,_0x301153(0x1ae),'wfs'),_0x20e661=addArgument(_0x20e661,_0x301153(0x19f),_0xc8b33c);const _0x40ec6c=await a0_0x3a3602[_0x301153(0x188)](_0x20e661),_0x5dbb7d=readXml(_0x40ec6c['data']);let _0x60286c=[];const _0x599cc3=_0x5dbb7d[_0x301153(0x186)]('xsd:sequence')[0x0][_0x301153(0x1b1)];for(let _0x3da649=0x0;_0x3da649<_0x599cc3[_0x301153(0x173)];_0x3da649++){const _0x28df24=_0x599cc3[_0x3da649],_0x3aa52e=_0x28df24[_0x301153(0x17e)][_0x301153(0x1b4)][_0x301153(0x178)];let _0x4c9317=0x1;if(_0x3aa52e[_0x301153(0x197)](_0x301153(0x16e))>-0x1)_0x4c9317=0x1;else{if(_0x3aa52e[_0x301153(0x197)]('int')>-0x1||_0x3aa52e[_0x301153(0x197)](_0x301153(0x199))>-0x1)_0x4c9317=0x2;else{if(_0x3aa52e['indexOf'](_0x301153(0x1a6))>-0x1||_0x3aa52e[_0x301153(0x197)](_0x301153(0x1a7))>-0x1)_0x4c9317=0x3;else{if(_0x3aa52e['indexOf']('date')>-0x1)_0x4c9317=0x4;else _0x3aa52e['indexOf'](_0x301153(0x1ab))>-0x1&&(_0x4c9317=0x6);}}}_0x60286c[_0x301153(0x182)]({'name':_0x28df24[_0x301153(0x17e)][_0x301153(0x17a)][_0x301153(0x178)],'aliasName':_0x28df24[_0x301153(0x17e)][_0x301153(0x17a)][_0x301153(0x178)],'fieldType':_0x4c9317,'fieldTypeName':_0x3aa52e});}return _0x60286c;}export async function getWmtsLayers(_0x3273c8){const _0x162280=a0_0x3926,_0x192a31=await getWMTSCapabilities(_0x3273c8);let _0x656f4d=[];if(!_0x192a31||!_0x192a31['Contents']||!_0x192a31[_0x162280(0x1a5)][_0x162280(0x19c)])return _0x656f4d;return _0x192a31[_0x162280(0x1a5)][_0x162280(0x19c)][_0x162280(0x1bb)](_0x4e3e87=>{const _0xfa1a2d=_0x162280;_0x656f4d[_0xfa1a2d(0x182)]({'name':_0x4e3e87[_0xfa1a2d(0x190)],'label':_0x4e3e87['Title']});}),_0x656f4d;}export async function getWmsLayers(_0x5cf38f){const _0x35c80c=a0_0x3926,_0x5424e7=await getWMSCapabilities(_0x5cf38f);let _0x4f89af=[];if(!_0x5424e7||!_0x5424e7[_0x35c80c(0x18c)]||!_0x5424e7[_0x35c80c(0x18c)][_0x35c80c(0x19c)]||!_0x5424e7['Capability']['Layer'][_0x35c80c(0x19c)])return _0x4f89af;return _0x5424e7[_0x35c80c(0x18c)]['Layer']['Layer']['forEach'](_0x4bd2ad=>{const _0x3b6aef=_0x35c80c;_0x4f89af[_0x3b6aef(0x182)]({'name':_0x4bd2ad[_0x3b6aef(0x183)],'label':_0x4bd2ad[_0x3b6aef(0x17f)]});}),_0x4f89af;}function a0_0x4f49(){const _0x1027a2=['TileMatrix','string','alias','wms','FeatureTypeList','arcgis-feature','length','esriFieldTypeOID','esriFieldTypeInteger','url','WGS84BoundingBox','value','2801931TfpNpZ','name','61887hfOtEx','esriFieldTypeString','12NSCbrz','attributes','Title','wfs','esriFieldTypeGeometry','push','Name','ScaleDenominator','MatrixHeight','getElementsByTagName','2791610IDFAfv','get','TileWidth','geoserver-wms','request','Capability','extent','4593zPIMvB','394398GcnMEH','Identifier','6761200bEOYjL','SupportedCRS','read','tileMatrixSet','esriFieldTypeSmallInteger','TileMatrixSetLink','indexOf','layers','short','TileHeight','TileMatrixSet','Layer','TopLeftCorner','BoundingBox','typeName','data','ows:WGS84BoundingBox','wmts','wgs84BoundingBox','596StbimQ','Contents','double','decimal','1044165aRNSAG','456WQccmr','EPSG:','gml:','split','tileMatrixs','service','sourceXml','innerHTML','children','110oggTkH','crs','type','GetCapabilities','27ZDvyWS','initExtent','nodeName','toString','wkid','forEach','pjson','label','layerFields','json','style','Format'];a0_0x4f49=function(){return _0x1027a2;};return a0_0x4f49();}export async function getWfLayers(_0x2ea92c){const _0x12263d=a0_0x3926,_0x44e006=await getWFSCapabilities(_0x2ea92c);let _0x28b8e7=[],_0x1a7708=_0x44e006['getElementsByTagName'](_0x12263d(0x171))[0x0]['children'],_0x1db633;for(let _0x1ac323=0x0,_0x3ca013=_0x1a7708[_0x12263d(0x173)];_0x1ac323<_0x3ca013;_0x1ac323++){let _0xf159bb={'name':'','label':''};for(let _0x3aa428=0x0,_0x9cc5f6=_0x1a7708[_0x1ac323][_0x12263d(0x1b1)][_0x12263d(0x173)];_0x3aa428<_0x9cc5f6;_0x3aa428++){if(_0x1a7708[_0x1ac323][_0x12263d(0x1b1)][_0x3aa428][_0x12263d(0x1b8)]===_0x12263d(0x183)){const _0x230343=_0x1a7708[_0x1ac323]['children'][_0x3aa428][_0x12263d(0x1b0)][_0x12263d(0x1b9)]();_0xf159bb[_0x12263d(0x17a)]=_0x230343;}else{if(_0x1a7708[_0x1ac323][_0x12263d(0x1b1)][_0x3aa428][_0x12263d(0x1b8)]===_0x12263d(0x17f)){const _0x5395e2=_0x1a7708[_0x1ac323][_0x12263d(0x1b1)][_0x3aa428][_0x12263d(0x1b0)]['toString']();_0xf159bb[_0x12263d(0x1bd)]=_0x5395e2;}}}_0xf159bb[_0x12263d(0x17a)]!==''&&_0xf159bb[_0x12263d(0x1bd)]!==''&&_0x28b8e7['push'](_0xf159bb);}return _0x28b8e7;}export async function getArcgisDynamicLayers(_0x12647d){const _0x3d1fea=a0_0x3926;let _0x3a14d7=addArgument(_0x12647d,'f',_0x3d1fea(0x1bc));const _0x40dcd4=await a0_0x3a3602[_0x3d1fea(0x188)](_0x3a14d7);let _0x2e6234=[];return _0x40dcd4[_0x3d1fea(0x1a0)][_0x3d1fea(0x198)][_0x3d1fea(0x1bb)](_0x1e4def=>{const _0x2ab7fa=_0x3d1fea;_0x2e6234['push']({'name':_0x1e4def['id'][_0x2ab7fa(0x1b9)](),'label':_0x1e4def[_0x2ab7fa(0x17a)]});}),_0x2e6234;}export async function getArcgisDynamicLayerFields(_0x3088dd,_0x281849){const _0x448e81=a0_0x3926;let _0x1b31e8=appendPath(_0x3088dd,_0x281849);_0x1b31e8=addArgument(_0x1b31e8,'f','pjson');const _0x423131=await a0_0x3a3602[_0x448e81(0x188)](_0x1b31e8);let _0x6e2c9=[];return _0x423131[_0x448e81(0x1a0)]['fields'][_0x448e81(0x1bb)](_0x54b294=>{const _0x540886=_0x448e81;let _0x5a394b=0x1;switch(_0x54b294['type']){case _0x540886(0x17c):_0x5a394b=0x1;break;case _0x540886(0x175):case _0x540886(0x195):case _0x540886(0x174):_0x5a394b=0x2;break;case'esriFieldTypeDouble':_0x5a394b=0x3;break;case'esriFieldTypeDate':_0x5a394b=0x4;break;case _0x540886(0x181):_0x5a394b=0x6;break;default:_0x5a394b=0x1;break;}_0x6e2c9['push']({'name':_0x54b294[_0x540886(0x17a)],'aliasName':_0x54b294[_0x540886(0x16f)],'fieldType':_0x5a394b,'fieldTypeName':_0x54b294['type'],'fieldLength':_0x54b294[_0x540886(0x173)]});}),_0x6e2c9;}export async function getSourceLayerFields(_0x52492f,_0x2f5e4e,_0x550f86){const _0x177ee2=a0_0x3926;let _0x40be56=[];switch(_0x550f86){case'arcgis-dynamic':case _0x177ee2(0x172):_0x40be56=await getArcgisDynamicLayerFields(_0x52492f,_0x2f5e4e);break;case _0x177ee2(0x18a):case'geoserver-wfs':_0x40be56=await getWmsLayerFields(_0x52492f,_0x2f5e4e);break;default:break;}return _0x40be56;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a1_0x210f(_0x57cf9e,_0xcd9de4){const _0x2f05fc=a1_0x2f05();return a1_0x210f=function(_0x210fc0,_0x15349f){_0x210fc0=_0x210fc0-0xf3;let _0x1b52cc=_0x2f05fc[_0x210fc0];return _0x1b52cc;},a1_0x210f(_0x57cf9e,_0xcd9de4);}const a1_0x2d7dbd=a1_0x210f;function a1_0x2f05(){const _0x51b25e=['getControl','map','8NCGijk','removeAllControls','2430211uxrHmx','forEach','addControl','1288190gYybAj','removeControl','controls','set','has','96447dUjkaH','1269279BVuMuP','20cQADmH','10QlHDKE','6nXpQOd','name','3845583DwzAuz','270236HBgMTu','delete','68380efWAov','get','clear'];a1_0x2f05=function(){return _0x51b25e;};return a1_0x2f05();}(function(_0x243f3d,_0x59cfea){const _0x59a8e6=a1_0x210f,_0x4ffc38=_0x243f3d();while(!![]){try{const _0x2ad3d2=-parseInt(_0x59a8e6(0xfa))/0x1*(-parseInt(_0x59a8e6(0x100))/0x2)+-parseInt(_0x59a8e6(0xf7))/0x3+parseInt(_0x59a8e6(0xfe))/0x4*(parseInt(_0x59a8e6(0xf9))/0x5)+parseInt(_0x59a8e6(0xfb))/0x6*(parseInt(_0x59a8e6(0x107))/0x7)+parseInt(_0x59a8e6(0x105))/0x8*(-parseInt(_0x59a8e6(0xfd))/0x9)+-parseInt(_0x59a8e6(0x10a))/0xa+-parseInt(_0x59a8e6(0xf8))/0xb;if(_0x2ad3d2===_0x59cfea)break;else _0x4ffc38['push'](_0x4ffc38['shift']());}catch(_0x956571){_0x4ffc38['push'](_0x4ffc38['shift']());}}}(a1_0x2f05,0x3e6b1));export default class ControlManager{constructor(_0x48ed26){const _0x469967=a1_0x210f;this[_0x469967(0x104)]=_0x48ed26,this[_0x469967(0xf4)]=new Map();}[a1_0x2d7dbd(0x109)](_0xdd24eb,_0x42c854){const _0x28c9f7=a1_0x2d7dbd;this['controls'][_0x28c9f7(0xf6)](_0xdd24eb)&&this['removeControl'](_0xdd24eb),_0x42c854[_0x28c9f7(0xf5)](_0x28c9f7(0xfc),_0xdd24eb),this[_0x28c9f7(0xf4)][_0x28c9f7(0xf5)](_0xdd24eb,_0x42c854),this[_0x28c9f7(0x104)][_0x28c9f7(0x109)](_0x42c854);}[a1_0x2d7dbd(0xf3)](_0x410ff1){const _0x2258fe=a1_0x2d7dbd,_0x3c24ff=this[_0x2258fe(0xf4)][_0x2258fe(0x101)](_0x410ff1);_0x3c24ff&&(this[_0x2258fe(0x104)]['removeControl'](_0x3c24ff),this['controls'][_0x2258fe(0xff)](_0x410ff1));}[a1_0x2d7dbd(0x106)](){const _0x27d1a8=a1_0x2d7dbd;this[_0x27d1a8(0xf4)][_0x27d1a8(0x108)](_0x57afbe=>{const _0x436dfa=_0x27d1a8;this[_0x436dfa(0x104)][_0x436dfa(0xf3)](_0x57afbe);}),this[_0x27d1a8(0xf4)][_0x27d1a8(0x102)]();}[a1_0x2d7dbd(0x103)](_0x12086e){const _0xc0eeaf=a1_0x2d7dbd;return this[_0xc0eeaf(0xf4)][_0xc0eeaf(0x101)](_0x12086e);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x5bd446=a3_0x14b6;(function(_0xc95a55,_0x39bff7){const _0x231d9c=a3_0x14b6,_0x5b4f69=_0xc95a55();while(!![]){try{const _0x4f3e70=parseInt(_0x231d9c(0x11a))/0x1*(-parseInt(_0x231d9c(0x11d))/0x2)+parseInt(_0x231d9c(0xf9))/0x3*(-parseInt(_0x231d9c(0x119))/0x4)+-parseInt(_0x231d9c(0xf4))/0x5+parseInt(_0x231d9c(0x106))/0x6+-parseInt(_0x231d9c(0x117))/0x7+-parseInt(_0x231d9c(0x11e))/0x8+-parseInt(_0x231d9c(0x10b))/0x9*(-parseInt(_0x231d9c(0xf8))/0xa);if(_0x4f3e70===_0x39bff7)break;else _0x5b4f69['push'](_0x5b4f69['shift']());}catch(_0x10cd66){_0x5b4f69['push'](_0x5b4f69['shift']());}}}(a3_0x18df,0x49956));import{format,wrapX}from'ol/coordinate';import{degreesToStringHDMS}from'../utils/StringUtil';import a3_0x10fe8c from'ol/pointer/EventType.js';function a3_0x18df(){const _0x535811=['get','coordinateFormat','428840sOYcNh','handleMouseOut','getView','getMap','119910mZBOzy','952761CIKGRq','element','createElement','经度:','placeholder','getProjection','createStringHDMS','mapProjection_','div','projection','纬度:','fractionDigits','setProjection','467214vBjjpI','innerHTML','toString','listenerKeys','ol-mouse-position','1323rxEBZM','transform_',' ','createStringXY','setMap','push','POINTERMOVE','viewState','showSpheroid','placeholder_','wrapX_','getCoordinateFormat','1713698qCLhwR','updateHTML_','4ithHrd','2zYMgap','frameState','handleProjectionChanged_','435322sUqcdn','3645256GaMYuU','className','setCoordinateFormat','X:{x}\x20Y:{y}','render','renderOnMouseOut_','renderedHTML_','handleMouseMove'];a3_0x18df=function(){return _0x535811;};return a3_0x18df();}import{getSpheroidProjection,isSpheroid}from'../utils/RegisterProjUtil';import{listen}from'ol/events';import{Control}from'ol/control';import{getTransformFromProjections,getUserProjection,identityTransform}from'ol/proj';function a3_0x14b6(_0xd5194c,_0x2d9684){const _0x18dffd=a3_0x18df();return a3_0x14b6=function(_0x14b687,_0x13b638){_0x14b687=_0x14b687-0xf1;let _0x43942e=_0x18dffd[_0x14b687];return _0x43942e;},a3_0x14b6(_0xd5194c,_0x2d9684);}const PROJECTION=a3_0x5bd446(0x102),COORDINATE_FORMAT=a3_0x5bd446(0xf3);export default class MousePositionControl extends Control{constructor(_0xf02453){const _0xfed6f0=a3_0x5bd446;_0xf02453=_0xf02453||{};if(!_0xf02453[_0xfed6f0(0xfa)]){const _0x135569=document[_0xfed6f0(0xfb)](_0xfed6f0(0x101));_0xf02453[_0xfed6f0(0xfa)]=_0x135569;}_0xf02453[_0xfed6f0(0xfa)]['className']=_0xf02453[_0xfed6f0(0x11f)]==undefined?_0xfed6f0(0x10a):_0xf02453[_0xfed6f0(0x11f)],super(_0xf02453),this[_0xfed6f0(0x113)]=_0xf02453['showSpheroid']===undefined?![]:_0xf02453['showSpheroid'],this[_0xfed6f0(0x104)]=_0xf02453['fractionDigits']===undefined?0x2:_0xf02453[_0xfed6f0(0x104)],this[_0xfed6f0(0x123)]=_0xf02453[_0xfed6f0(0xfd)]!==undefined,this['placeholder_']=_0xf02453[_0xfed6f0(0xfd)]!==undefined?_0xf02453[_0xfed6f0(0xfd)]:_0xfed6f0(0x10d),this[_0xfed6f0(0x124)]=_0xf02453[_0xfed6f0(0xfa)][_0xfed6f0(0x107)],this['wrapX_']=!![];}[a3_0x5bd446(0x11c)](){const _0x16cbc3=a3_0x5bd446;this[_0x16cbc3(0x10c)]=undefined;}[a3_0x5bd446(0x116)](){const _0x2e55be=a3_0x5bd446;return this[_0x2e55be(0xf2)](COORDINATE_FORMAT);}[a3_0x5bd446(0x120)](_0x3b4f35){this['set'](COORDINATE_FORMAT,_0x3b4f35);}['getProjection'](){const _0x4a3944=a3_0x5bd446;return this[_0x4a3944(0xf2)](PROJECTION);}[a3_0x5bd446(0x105)](_0x3ae1db){this['set'](PROJECTION,_0x3ae1db);}['handleMouseMove'](_0x471f40){const _0xffdc3d=a3_0x5bd446,_0xae73f6=this[_0xffdc3d(0xf7)]();this['updateHTML_'](_0xae73f6===null||_0xae73f6===void 0x0?void 0x0:_0xae73f6['getEventPixel'](_0x471f40));}['handleMouseOut'](_0x23d7d8){const _0x4fe034=a3_0x5bd446;this[_0x4fe034(0x118)](null);}[a3_0x5bd446(0x10f)](_0x9e9af8){const _0x7ba431=a3_0x5bd446;super[_0x7ba431(0x10f)](_0x9e9af8);if(_0x9e9af8){const _0xced1c9=isSpheroid(_0x9e9af8[_0x7ba431(0xf6)]()[_0x7ba431(0xfe)]());let _0x461f8b=_0x9e9af8[_0x7ba431(0xf6)]()[_0x7ba431(0xfe)](),_0x2fb032=this[_0x7ba431(0xff)];if(!_0xced1c9){if(this[_0x7ba431(0x113)]){const _0x3cbac7=getSpheroidProjection(_0x9e9af8['getView']()[_0x7ba431(0xfe)]());_0x3cbac7&&(_0x461f8b=_0x3cbac7);}else _0x2fb032=this['createStringXY'];}this['setProjection'](_0x461f8b),this['setCoordinateFormat'](_0x2fb032(this[_0x7ba431(0x104)]));const _0x24257e=_0x9e9af8['getViewport']();this[_0x7ba431(0x109)][_0x7ba431(0x110)](listen(_0x24257e,a3_0x10fe8c[_0x7ba431(0x111)],this[_0x7ba431(0xf1)],this)),this[_0x7ba431(0x123)]&&this[_0x7ba431(0x109)][_0x7ba431(0x110)](listen(_0x24257e,a3_0x10fe8c['POINTEROUT'],this[_0x7ba431(0xf5)],this)),this[_0x7ba431(0x118)](null);}}[a3_0x5bd446(0x118)](_0x5497c6){const _0x31b520=a3_0x5bd446;let _0x22fde9=this[_0x31b520(0x114)];const _0x18d501=this['getMap']();if(_0x5497c6&&this[_0x31b520(0x100)]&&_0x18d501){if(!this[_0x31b520(0x10c)]){const _0x3d84d1=this[_0x31b520(0xfe)]();_0x3d84d1?this[_0x31b520(0x10c)]=getTransformFromProjections(this[_0x31b520(0x100)],_0x3d84d1):this[_0x31b520(0x10c)]=identityTransform;}const _0x2f7a60=_0x18d501['getCoordinateFromPixelInternal'](_0x5497c6);if(_0x2f7a60){const _0x272768=getUserProjection();_0x272768&&(this['transform_']=getTransformFromProjections(this[_0x31b520(0x100)],_0x272768));this['transform_'](_0x2f7a60,_0x2f7a60,undefined);if(this[_0x31b520(0x115)]){const _0x7c663=_0x272768||this[_0x31b520(0xfe)]()||this[_0x31b520(0x100)];wrapX(_0x2f7a60,_0x7c663);}const _0x12ed14=this['getCoordinateFormat']();_0x12ed14?_0x22fde9=_0x12ed14(_0x2f7a60):_0x22fde9=_0x2f7a60[_0x31b520(0x108)]();}}(!this[_0x31b520(0x124)]||_0x22fde9!==this[_0x31b520(0x124)])&&(this['element'][_0x31b520(0x107)]=_0x22fde9,this[_0x31b520(0x124)]=_0x22fde9);}[a3_0x5bd446(0x122)](_0x3f63b4){const _0x175b5b=a3_0x5bd446,_0x30955f=_0x3f63b4[_0x175b5b(0x11b)];!_0x30955f?this[_0x175b5b(0x100)]=undefined:this[_0x175b5b(0x100)]!=_0x30955f[_0x175b5b(0x112)][_0x175b5b(0x102)]&&(this['mapProjection_']=_0x30955f['viewState']['projection'],this[_0x175b5b(0x10c)]=undefined);}[a3_0x5bd446(0x10e)](_0xe18e89){return function(_0x69b0da){const _0x5aa8ff=a3_0x14b6;return format(_0x69b0da,_0x5aa8ff(0x121),_0xe18e89);};}[a3_0x5bd446(0xff)](_0x563b33){return function(_0x29bc7c){const _0x38e643=a3_0x14b6;if(_0x29bc7c)return _0x38e643(0xfc)+degreesToStringHDMS(_0x29bc7c[0x0],_0x563b33)+'\x20'+_0x38e643(0x103)+degreesToStringHDMS(_0x29bc7c[0x1],_0x563b33);};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x4d5fdd=a4_0x158d;(function(_0x2f43e5,_0x2d4090){const _0x42b279=a4_0x158d,_0x5f4316=_0x2f43e5();while(!![]){try{const _0x570d7c=parseInt(_0x42b279(0xdb))/0x1*(-parseInt(_0x42b279(0xca))/0x2)+parseInt(_0x42b279(0xc7))/0x3*(parseInt(_0x42b279(0xb3))/0x4)+parseInt(_0x42b279(0xc2))/0x5+parseInt(_0x42b279(0xb7))/0x6+-parseInt(_0x42b279(0xce))/0x7*(-parseInt(_0x42b279(0xda))/0x8)+-parseInt(_0x42b279(0xd5))/0x9+parseInt(_0x42b279(0xe7))/0xa*(parseInt(_0x42b279(0xe4))/0xb);if(_0x570d7c===_0x2d4090)break;else _0x5f4316['push'](_0x5f4316['shift']());}catch(_0x1de970){_0x5f4316['push'](_0x5f4316['shift']());}}}(a4_0x4ac4,0x88969));function a4_0x158d(_0x5c2ddd,_0x2d27fa){const _0x4ac43f=a4_0x4ac4();return a4_0x158d=function(_0x158d91,_0x58e7bc){_0x158d91=_0x158d91-0xb2;let _0x42143e=_0x4ac43f[_0x158d91];return _0x42143e;},a4_0x158d(_0x5c2ddd,_0x2d27fa);}import{Control}from'ol/control';export default class SwipeLayerControl extends Control{constructor(_0x4b6e78){const _0xcbb0f9=a4_0x158d;_0x4b6e78=_0x4b6e78||{};if(!_0x4b6e78[_0xcbb0f9(0xcd)]){const _0x1c1f28=document[_0xcbb0f9(0xd6)](_0xcbb0f9(0xbb));_0x4b6e78['element']=_0x1c1f28,_0x1c1f28[_0xcbb0f9(0xb4)]=_0xcbb0f9(0xd8),(_0x4b6e78[_0xcbb0f9(0xb5)]==='Left'||_0x4b6e78['dockedVisible']===_0xcbb0f9(0xc6))&&(_0x1c1f28[_0xcbb0f9(0xb4)]=_0xcbb0f9(0xe3));}super(_0x4b6e78),this[_0xcbb0f9(0xe8)]=0x32,this[_0xcbb0f9(0xc1)]=![],this[_0xcbb0f9(0xe6)]=_0x4b6e78[_0xcbb0f9(0xde)],this[_0xcbb0f9(0xcb)]=_0x4b6e78[_0xcbb0f9(0xb5)],this[_0xcbb0f9(0xc1)]=_0x4b6e78['dockedVisible']==='Left'||_0x4b6e78['dockedVisible']===_0xcbb0f9(0xc6),this['bindEvents'](this['element']),this['element']['addEventListener'](_0xcbb0f9(0xc4),()=>{const _0x1b0b9=_0xcbb0f9;var _0x4e1816;const _0x5390cf=this[_0x1b0b9(0xcd)][_0x1b0b9(0xe0)];this[_0x1b0b9(0xe8)]=_0x5390cf,(_0x4e1816=this[_0x1b0b9(0xe5)]())===null||_0x4e1816===void 0x0?void 0x0:_0x4e1816[_0x1b0b9(0xd1)]();},![]),this[_0xcbb0f9(0xb6)](_0x4b6e78['swipeLayer']);}[a4_0x4d5fdd(0xb6)](_0xb6517b){const _0x8cd26b=a4_0x4d5fdd;this['unsetSwipeLayer'](),_0xb6517b&&(_0xb6517b['on'](_0x8cd26b(0xd4),_0x11f0a1=>this['prerender'](_0x11f0a1)),_0xb6517b['on']('postrender',_0x3e3100=>this[_0x8cd26b(0xcf)](_0x3e3100)),this[_0x8cd26b(0xe6)]=_0xb6517b);}[a4_0x4d5fdd(0xc3)](){const _0x4578ec=a4_0x4d5fdd;var _0x3406b0;this[_0x4578ec(0xe6)]&&(this[_0x4578ec(0xe8)]=0x64,(_0x3406b0=this[_0x4578ec(0xe5)]())===null||_0x3406b0===void 0x0?void 0x0:_0x3406b0['render'](),this[_0x4578ec(0xe6)]['un'](_0x4578ec(0xd4),_0x22e02a=>this[_0x4578ec(0xd4)](_0x22e02a)),this['_swipeLayer']['un'](_0x4578ec(0xcf),_0x4fa4a7=>this[_0x4578ec(0xcf)](_0x4fa4a7)));}[a4_0x4d5fdd(0xd4)](_0xa884a){const _0x17b7f0=a4_0x4d5fdd,_0x5bdfac=_0xa884a[_0x17b7f0(0xdd)],_0x3a8f04=_0x5bdfac===null||_0x5bdfac===void 0x0?void 0x0:_0x5bdfac['canvas'][_0x17b7f0(0xc9)];if(!this[_0x17b7f0(0xcd)]||!_0x3a8f04||!_0x5bdfac)return;console['log'](this[_0x17b7f0(0xe8)]);const _0x3b2722=_0x3a8f04*this[_0x17b7f0(0xe8)]/0x64;_0x5bdfac['save'](),_0x5bdfac[_0x17b7f0(0xdf)](),_0x5bdfac['rect'](0x0,0x0,_0x3b2722,_0x5bdfac[_0x17b7f0(0xbc)][_0x17b7f0(0xd3)]),_0x5bdfac[_0x17b7f0(0xcc)]();}[a4_0x4d5fdd(0xcf)](_0x2b7fad){const _0x141d8d=a4_0x4d5fdd,_0x469a5c=_0x2b7fad[_0x141d8d(0xdd)];_0x469a5c[_0x141d8d(0xbd)]();}[a4_0x4d5fdd(0xbf)](_0x748570){const _0x5c38bf=a4_0x4d5fdd;!_0x748570&&this[_0x5c38bf(0xc3)](),super[_0x5c38bf(0xbf)](_0x748570);}[a4_0x4d5fdd(0xdc)](){const _0x4aa0ee=a4_0x4d5fdd;this[_0x4aa0ee(0xc3)]();}['disposeInternal'](){this['unsetSwipeLayer'](),super['disposeInternal']();}[a4_0x4d5fdd(0xd1)](_0x23ddd7){}[a4_0x4d5fdd(0xbe)](_0x3000c9){const _0x520a6e=a4_0x4d5fdd;let _0x57ad02=![];_0x3000c9[_0x520a6e(0xc8)](_0x520a6e(0xba),()=>{const _0x27062f=_0x520a6e,_0x178cba=this[_0x27062f(0xe5)]();if(!_0x178cba)return;_0x57ad02=!![],_0x178cba[_0x27062f(0xe1)]()[_0x27062f(0xd2)][_0x27062f(0xd7)]=this['isVertical']?_0x27062f(0xd9):_0x27062f(0xd0);}),document[_0x520a6e(0xc8)]('pointermove',_0xb543f2=>{const _0x18303f=_0x520a6e;if(!_0x57ad02)return;const _0x3ad354=this['getMap']();if(!_0x3ad354)return;const _0x2afeae=_0x3ad354[_0x18303f(0xe1)]()['getBoundingClientRect'](),_0x223096=_0x3ad354[_0x18303f(0xc0)]([_0xb543f2[_0x18303f(0xb2)]-_0x2afeae[_0x18303f(0xb9)],_0xb543f2[_0x18303f(0xe2)]-_0x2afeae[_0x18303f(0xc5)]]);this[_0x18303f(0xc1)]?(this[_0x18303f(0xe8)]=(_0xb543f2[_0x18303f(0xb2)]-_0x2afeae['left'])/_0x2afeae[_0x18303f(0xc9)]*0x64,_0x3000c9[_0x18303f(0xd2)][_0x18303f(0xb9)]=this[_0x18303f(0xe8)]+'%'):_0x3000c9['style'][_0x18303f(0xc5)]=(_0xb543f2[_0x18303f(0xe2)]-_0x2afeae['top'])/_0x2afeae[_0x18303f(0xd3)]*0x64+'%',_0x3ad354['render']();}),document[_0x520a6e(0xc8)](_0x520a6e(0xb8),()=>{const _0x53e9d4=_0x520a6e;_0x57ad02=![];const _0x99cc0e=this[_0x53e9d4(0xe5)]();if(!_0x99cc0e)return;_0x99cc0e['getTargetElement']()[_0x53e9d4(0xd2)][_0x53e9d4(0xd7)]='';});}}function a4_0x4ac4(){const _0x5a4079=['beginPath','value','getTargetElement','clientY','ol-scroll-layer\x20ol-scroll-layer-vertical','18326RVQYnp','getMap','_swipeLayer','620TudEaV','swipeVa','clientX','40tFtmrD','className','dockedVisible','setSwipeLayer','1983702pDSLjW','pointerup','left','pointerdown','div','canvas','restore','bindEvents','setMap','getCoordinateFromPixel','isVertical','2543395IzzaAk','unsetSwipeLayer','input','top','Right','94701dtEkLF','addEventListener','width','2mScGYC','_dockedVisible','clip','element','623ZiTvcw','postrender','row-resize','render','style','height','prerender','9589455xtkYhJ','createElement','cursor','ol-scroll-layer','col-resize','34256DVDRRc','14396Gwnrif','dispose','context','swipeLayer'];a4_0x4ac4=function(){return _0x5a4079;};return a4_0x4ac4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a5_0x2ca2d9=a5_0x44c4;(function(_0x1bf20a,_0x2f51b5){const _0x3ee7ba=a5_0x44c4,_0x532645=_0x1bf20a();while(!![]){try{const _0x51f4f4=parseInt(_0x3ee7ba(0x13f))/0x1+-parseInt(_0x3ee7ba(0x127))/0x2+parseInt(_0x3ee7ba(0x123))/0x3*(-parseInt(_0x3ee7ba(0x10d))/0x4)+-parseInt(_0x3ee7ba(0x135))/0x5+-parseInt(_0x3ee7ba(0xfd))/0x6+parseInt(_0x3ee7ba(0xfa))/0x7*(parseInt(_0x3ee7ba(0x11c))/0x8)+-parseInt(_0x3ee7ba(0x12d))/0x9*(-parseInt(_0x3ee7ba(0x13e))/0xa);if(_0x51f4f4===_0x2f51b5)break;else _0x532645['push'](_0x532645['shift']());}catch(_0x4ddbd6){_0x532645['push'](_0x532645['shift']());}}}(a5_0xa272,0x82e9e));export function geoJSONToKml(_0x287a41,_0x45f016){const _0x1462c9=a5_0x44c4;return _0x45f016=_0x45f016||{'documentName':undefined,'documentDescription':undefined,'name':_0x1462c9(0x12e),'description':_0x1462c9(0x138),'simplestyle':![],'timestamp':_0x1462c9(0x14c)},_0x1462c9(0x104)+tag('kml',tag(_0x1462c9(0x14a),documentName(_0x45f016)+documentDescription(_0x45f016)+root(_0x287a41,_0x45f016)),[['xmlns',_0x1462c9(0xfb)]]);}function feature(_0x245014,_0x401b8b){return function(_0x3c16ef){const _0x48ef44=a5_0x44c4;if(!_0x3c16ef['properties']||!geometry[_0x48ef44(0x113)](_0x3c16ef['geometry']))return'';const _0x1e4ef4=geometry[_0x48ef44(0x14f)](_0x3c16ef[_0x48ef44(0x125)]);if(!_0x1e4ef4)return'';let _0x19ac3c='',_0x520b79='';if(_0x245014[_0x48ef44(0x10a)]){const _0x22784f=hashStyle(_0x3c16ef['properties']);if(_0x22784f){if(geometry[_0x48ef44(0x122)](_0x3c16ef[_0x48ef44(0x125)])&&hasMarkerStyle(_0x3c16ef[_0x48ef44(0x11e)]))_0x401b8b[_0x48ef44(0x109)](_0x22784f)===-0x1&&(_0x19ac3c=markerStyle(_0x3c16ef[_0x48ef44(0x11e)],_0x22784f),_0x401b8b[_0x48ef44(0x105)](_0x22784f)),_0x520b79=tag('styleUrl','#'+_0x22784f);else(geometry['isPolygon'](_0x3c16ef[_0x48ef44(0x125)])||geometry[_0x48ef44(0x10c)](_0x3c16ef[_0x48ef44(0x125)]))&&hasPolygonAndLineStyle(_0x3c16ef[_0x48ef44(0x11e)])&&(_0x401b8b[_0x48ef44(0x109)](_0x22784f)===-0x1&&(_0x19ac3c=polygonAndLineStyle(_0x3c16ef[_0x48ef44(0x11e)],_0x22784f),_0x401b8b[_0x48ef44(0x105)](_0x22784f)),_0x520b79=tag(_0x48ef44(0x12a),'#'+_0x22784f));}}return _0x19ac3c+tag(_0x48ef44(0x117),name(_0x3c16ef[_0x48ef44(0x11e)],_0x245014)+description(_0x3c16ef[_0x48ef44(0x11e)],_0x245014)+extendeddata(_0x3c16ef['properties'])+timestamp(_0x3c16ef['properties'],_0x245014)+_0x1e4ef4+_0x520b79);};}function root(_0x45101b,_0x47db2e){const _0x1becc6=a5_0x44c4;if(!_0x45101b[_0x1becc6(0x144)])return'';const _0x28c755=[];switch(_0x45101b[_0x1becc6(0x144)]){case'FeatureCollection':if(!_0x45101b[_0x1becc6(0x12b)])return'';return _0x45101b[_0x1becc6(0x12b)][_0x1becc6(0x146)](feature(_0x47db2e,_0x28c755))['join']('');case _0x1becc6(0x121):return feature(_0x47db2e,_0x28c755)(_0x45101b);default:return feature(_0x47db2e,_0x28c755)({'type':_0x1becc6(0x121),'geometry':_0x45101b,'properties':{}});}}function documentName(_0x38bd08){const _0x1cc994=a5_0x44c4;return _0x38bd08[_0x1cc994(0x150)]!==undefined?tag(_0x1cc994(0x12e),_0x38bd08[_0x1cc994(0x150)]):'';}function documentDescription(_0x69ad31){const _0x1cf020=a5_0x44c4;return _0x69ad31['documentDescription']!==undefined?tag(_0x1cf020(0x138),_0x69ad31[_0x1cf020(0x147)]):'';}function name(_0x4c4cd7,_0x45a50b){const _0x3f8932=a5_0x44c4;return _0x4c4cd7[_0x45a50b[_0x3f8932(0x12e)]]?tag(_0x3f8932(0x12e),encode(_0x4c4cd7[_0x45a50b[_0x3f8932(0x12e)]])):'';}function description(_0x43f371,_0x525db8){const _0x398cd8=a5_0x44c4;return _0x43f371[_0x525db8[_0x398cd8(0x138)]]?tag(_0x398cd8(0x138),encode(_0x43f371[_0x525db8[_0x398cd8(0x138)]])):'';}function timestamp(_0x38e6f1,_0x305dde){const _0x21f9cb=a5_0x44c4;return _0x38e6f1[_0x305dde['timestamp']]?tag(_0x21f9cb(0x136),tag(_0x21f9cb(0x10b),encode(_0x38e6f1[_0x305dde[_0x21f9cb(0x14c)]]))):'';}const geometry={'Point':function(_0x1f10dc){const _0xafbaa0=a5_0x44c4;return tag(_0xafbaa0(0x152),tag(_0xafbaa0(0x153),_0x1f10dc[_0xafbaa0(0x153)][_0xafbaa0(0x101)](',')));},'LineString':function(_0x1bddcb){const _0x35fddc=a5_0x44c4;return tag(_0x35fddc(0x157),tag(_0x35fddc(0x153),linearring(_0x1bddcb['coordinates'])));},'Polygon':function(_0xa4e714){const _0x423767=a5_0x44c4;if(!_0xa4e714['coordinates']['length'])return'';const _0x51debc=_0xa4e714['coordinates'][0x0],_0x296d1e=_0xa4e714[_0x423767(0x153)][_0x423767(0x132)](0x1),_0x5aacbb=tag(_0x423767(0x11f),tag(_0x423767(0xfe),tag('coordinates',linearring(_0x51debc)))),_0x25237b=_0x296d1e[_0x423767(0x146)](function(_0xb6f2a5){const _0x184829=_0x423767;return tag(_0x184829(0x118),tag('LinearRing',tag('coordinates',linearring(_0xb6f2a5))));})[_0x423767(0x101)]('');return tag(_0x423767(0xff),_0x5aacbb+_0x25237b);},'MultiPoint':function(_0x1dcb2d){const _0x156071=a5_0x44c4;if(!_0x1dcb2d[_0x156071(0x153)][_0x156071(0x130)])return'';return tag('MultiGeometry',_0x1dcb2d[_0x156071(0x153)][_0x156071(0x146)](function(_0x543be4){const _0x1a359d=_0x156071;return geometry[_0x1a359d(0x152)]({'coordinates':_0x543be4});})[_0x156071(0x101)](''));},'MultiPolygon':function(_0x36537b){const _0x2b2d04=a5_0x44c4;if(!_0x36537b[_0x2b2d04(0x153)]['length'])return'';return tag(_0x2b2d04(0x111),_0x36537b[_0x2b2d04(0x153)][_0x2b2d04(0x146)](function(_0x4ad3a3){const _0x33e37b=_0x2b2d04;return geometry[_0x33e37b(0xff)]({'coordinates':_0x4ad3a3});})[_0x2b2d04(0x101)](''));},'MultiLineString':function(_0x152c2c){const _0x222929=a5_0x44c4;if(!_0x152c2c[_0x222929(0x153)][_0x222929(0x130)])return'';return tag('MultiGeometry',_0x152c2c[_0x222929(0x153)]['map'](function(_0x3cdc68){const _0x213398=_0x222929;return geometry[_0x213398(0x157)]({'coordinates':_0x3cdc68});})[_0x222929(0x101)](''));},'GeometryCollection':function(_0x1aa17a){const _0x6d26a=a5_0x44c4;return tag(_0x6d26a(0x111),_0x1aa17a[_0x6d26a(0x102)][_0x6d26a(0x146)](geometry[_0x6d26a(0x14f)])['join'](''));},'valid':function(_0x29599b){const _0x4de9db=a5_0x44c4;return _0x29599b&&_0x29599b['type']&&(_0x29599b[_0x4de9db(0x153)]||_0x29599b[_0x4de9db(0x144)]==='GeometryCollection'&&_0x29599b['geometries']&&_0x29599b[_0x4de9db(0x102)][_0x4de9db(0xf9)](geometry[_0x4de9db(0x113)]));},'any':function(_0x34c674){const _0x286d4b=a5_0x44c4;return geometry[_0x34c674['type']]?geometry[_0x34c674[_0x286d4b(0x144)]](_0x34c674):'';},'isPoint':function(_0x21f92b){const _0x2263b3=a5_0x44c4;return _0x21f92b[_0x2263b3(0x144)]===_0x2263b3(0x152)||_0x21f92b['type']===_0x2263b3(0x137);},'isPolygon':function(_0x1994e8){const _0x383376=a5_0x44c4;return _0x1994e8['type']===_0x383376(0xff)||_0x1994e8[_0x383376(0x144)]===_0x383376(0x142);},'isLine':function(_0x95a264){const _0x12316b=a5_0x44c4;return _0x95a264[_0x12316b(0x144)]===_0x12316b(0x157)||_0x95a264[_0x12316b(0x144)]===_0x12316b(0x14d);}};function linearring(_0x3f0195){const _0x47157b=a5_0x44c4;return _0x3f0195[_0x47157b(0x146)](function(_0x1c183e){const _0x371409=_0x47157b;return _0x1c183e[_0x371409(0x101)](',');})[_0x47157b(0x101)]('\x20');}function extendeddata(_0x35b20c){const _0x1a0154=a5_0x44c4,_0x3cef88=[];for(const _0x39aad3 in _0x35b20c){const _0x25b1ab=_0x35b20c[_0x39aad3];isObject(_0x25b1ab)?_0x3cef88[_0x1a0154(0x105)](_0x1a0154(0x115)+_0x39aad3+_0x1a0154(0x116)+JSON[_0x1a0154(0xfc)](_0x25b1ab)+_0x1a0154(0x139)):_0x3cef88[_0x1a0154(0x105)](_0x1a0154(0x115)+_0x39aad3+'\x22><value>'+_0x25b1ab+_0x1a0154(0x139));}return tag(_0x1a0154(0x110),_0x3cef88[_0x1a0154(0x101)](''));}function data(_0x3a799b){const _0x38031e=a5_0x44c4;return tag(_0x38031e(0x13a),tag(_0x38031e(0x156),encode(_0x3a799b[0x1])),[['name',encode(_0x3a799b[0x0])]]);}function hasMarkerStyle(_0x1c2605){const _0x1ddac8=a5_0x44c4;return!!(_0x1c2605[_0x1ddac8(0x143)]||_0x1c2605[_0x1ddac8(0x155)]||_0x1c2605[_0x1ddac8(0x11b)]);}function markerStyle(_0x287840,_0x171218){const _0x357a14=a5_0x44c4;return tag(_0x357a14(0x11a),tag(_0x357a14(0x128),tag(_0x357a14(0x107),tag(_0x357a14(0x108),iconUrl(_0x287840))))+iconSize(_0x287840),[['id',_0x171218]]);}function a5_0x44c4(_0x36fdb1,_0x3d0a05){const _0xa27241=a5_0xa272();return a5_0x44c4=function(_0x44c452,_0x1af0d9){_0x44c452=_0x44c452-0xf9;let _0x11fff4=_0xa27241[_0x44c452];return _0x11fff4;},a5_0x44c4(_0x36fdb1,_0x3d0a05);}function iconUrl(_0xf9515){const _0x1103a3=a5_0x44c4;return _0xf9515[_0x1103a3(0x155)];}function iconSize(_0x17bf47){const _0x2e95af=a5_0x44c4;return tag(_0x2e95af(0x119),'',[[_0x2e95af(0x12c),_0x2e95af(0x103)],[_0x2e95af(0x112),_0x2e95af(0x103)],['x',0.5],['y',0.5]]);}function hasPolygonAndLineStyle(_0x4c2ba3){for(const _0x53294a in _0x4c2ba3){if({'stroke':!![],'stroke-opacity':!![],'stroke-width':!![],'fill':!![],'fill-opacity':!![]}[_0x53294a])return!![];}}function polygonAndLineStyle(_0x574a44,_0x104c43){const _0x52518f=a5_0x44c4,_0x166152=tag(_0x52518f(0x141),[tag('color',hexToKmlColor(_0x574a44[_0x52518f(0x151)],_0x574a44['stroke-opacity'])||_0x52518f(0x149))+tag(_0x52518f(0x10e),_0x574a44[_0x52518f(0x14b)]===undefined?0x2:_0x574a44[_0x52518f(0x14b)])]);let _0x19c829='';return(_0x574a44['fill']||_0x574a44[_0x52518f(0x133)])&&(_0x19c829=tag(_0x52518f(0x10f),[tag(_0x52518f(0x134),hexToKmlColor(_0x574a44[_0x52518f(0x14e)],_0x574a44[_0x52518f(0x133)])||_0x52518f(0x145))])),tag(_0x52518f(0x11a),_0x166152+_0x19c829,[['id',_0x104c43]]);}function hashStyle(_0x3481a3){const _0x1bdffb=a5_0x44c4;let _0x1a126e='';return _0x3481a3[_0x1bdffb(0x155)]&&(_0x1a126e=_0x1a126e+'ms'+_0x3481a3[_0x1bdffb(0x155)]),_0x3481a3['marker-color']&&(_0x1a126e=_0x1a126e+'mc'+_0x3481a3['marker-color']['replace']('#','')),_0x3481a3[_0x1bdffb(0x143)]&&(_0x1a126e=_0x1a126e+'ms'+_0x3481a3[_0x1bdffb(0x143)]),_0x3481a3[_0x1bdffb(0x151)]&&(_0x1a126e=_0x1a126e+'s'+_0x3481a3[_0x1bdffb(0x151)]['replace']('#','')),_0x3481a3[_0x1bdffb(0x14b)]&&(_0x1a126e=_0x1a126e+'sw'+_0x3481a3[_0x1bdffb(0x14b)][_0x1bdffb(0x106)]()[_0x1bdffb(0x124)]('.','')),_0x3481a3[_0x1bdffb(0x126)]&&(_0x1a126e=_0x1a126e+'mo'+_0x3481a3[_0x1bdffb(0x126)]['toString']()[_0x1bdffb(0x124)]('.','')),_0x3481a3[_0x1bdffb(0x14e)]&&(_0x1a126e=_0x1a126e+'f'+_0x3481a3[_0x1bdffb(0x14e)][_0x1bdffb(0x124)]('#','')),_0x3481a3['fill-opacity']&&(_0x1a126e=_0x1a126e+'fo'+_0x3481a3[_0x1bdffb(0x133)][_0x1bdffb(0x106)]()[_0x1bdffb(0x124)]('.','')),_0x1a126e;}function hexToKmlColor(_0x54614d,_0x4116d0){const _0x180ce7=a5_0x44c4;if(typeof _0x54614d!==_0x180ce7(0x131))return'';_0x54614d=_0x54614d[_0x180ce7(0x124)]('#','')[_0x180ce7(0x114)]();if(_0x54614d[_0x180ce7(0x130)]===0x3)_0x54614d=_0x54614d[0x0]+_0x54614d[0x0]+_0x54614d[0x1]+_0x54614d[0x1]+_0x54614d[0x2]+_0x54614d[0x2];else{if(_0x54614d[_0x180ce7(0x130)]!==0x6)return'';}const _0x5eae5f=_0x54614d[0x0]+_0x54614d[0x1],_0x5a3588=_0x54614d[0x2]+_0x54614d[0x3],_0x123b68=_0x54614d[0x4]+_0x54614d[0x5];let _0x45e21e='ff';return typeof _0x4116d0===_0x180ce7(0x13d)&&_0x4116d0>=0x0&&_0x4116d0<=0x1&&(_0x45e21e=(_0x4116d0*0xff)[_0x180ce7(0x106)](0x10),_0x45e21e[_0x180ce7(0x109)]('.')>-0x1&&(_0x45e21e=_0x45e21e[_0x180ce7(0x154)](0x0,_0x45e21e[_0x180ce7(0x109)]('.'))),_0x45e21e[_0x180ce7(0x130)]<0x2&&(_0x45e21e='0'+_0x45e21e)),_0x45e21e+_0x123b68+_0x5a3588+_0x5eae5f;}export function isObject(_0x10047a){const _0x348895=a5_0x44c4;return Object[_0x348895(0x140)]['toString'][_0x348895(0x100)](_0x10047a)===_0x348895(0x13b);}function encode(_0x5b070c){const _0x4b2f21=a5_0x44c4;if(!_0x5b070c)return'';return _0x5b070c[_0x4b2f21(0x106)]()[_0x4b2f21(0x124)](/&/g,_0x4b2f21(0x129))[_0x4b2f21(0x124)](/</g,_0x4b2f21(0x13c))[_0x4b2f21(0x124)](/>/g,_0x4b2f21(0x12f))[_0x4b2f21(0x124)](/"/g,_0x4b2f21(0x148));}function attr(_0x286956){const _0x14a000=a5_0x44c4;if(!Object['keys'](_0x286956)['length'])return'';return'\x20'+Object['keys'](_0x286956)['map'](function(_0x5e1bde){return _0x5e1bde+'=\x22'+escape(_0x286956[_0x5e1bde])+'\x22';})[_0x14a000(0x101)]('\x20');}const escape_map={'>':a5_0x2ca2d9(0x12f),'<':'<','\x27':a5_0x2ca2d9(0x120),'\x22':a5_0x2ca2d9(0x148),'&':a5_0x2ca2d9(0x129)};function a5_0xa272(){const _0xe61e6e=['timestamp','MultiLineString','fill','any','documentName','stroke','Point','coordinates','substr','marker-symbol','value','LineString','every','56NBhbjm','http://www.opengis.net/kml/2.2','stringify','2654124hJLNWe','LinearRing','Polygon','call','join','geometries','fraction','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>','push','toString','Icon','href','indexOf','simplestyle','when','isLine','332vbZGRZ','width','PolyStyle','ExtendedData','MultiGeometry','yunits','valid','toLowerCase','<Data\x20name\x20=\x22','\x22><value>','Placemark','innerBoundaryIs','hotSpot','Style','marker-color','549736FUjUIW','isArray','properties','outerBoundaryIs',''','Feature','isPoint','21927LwXQqI','replace','geometry','stroke-opacity','1430426wRBoek','IconStyle','&','styleUrl','features','xunits','81VWcoOj','name','>','length','string','slice','fill-opacity','color','5283660DWYMkZ','TimeStamp','MultiPoint','description','</value></Data>','Data','[object\x20Object]','<','number','2685170BeFDXf','390779OLKDEp','prototype','LineStyle','MultiPolygon','marker-size','type','88555555','map','documentDescription','"','ff555555','Document','stroke-width'];a5_0xa272=function(){return _0xe61e6e;};return a5_0xa272();}function escape(_0x1e105c,_0x39e16f){const _0x5603fb=a5_0x2ca2d9;if(_0x1e105c===null||_0x1e105c===undefined)return;_0x39e16f=(_0x39e16f||'')[_0x5603fb(0x124)](/[^&"<>\']/g,'');const _0x42d9bb='([&\x22<>\x27])'[_0x5603fb(0x124)](new RegExp('['+_0x39e16f+']','g'),'');return _0x1e105c[_0x5603fb(0x124)](new RegExp(_0x42d9bb,'g'),function(_0x5ce3d6,_0x263537){return escape_map[_0x263537];});}function tag(_0x6f568e,_0x336236,_0x38e488){const _0x36ec55=a5_0x2ca2d9;return(Array[_0x36ec55(0x11d)](_0x336236)||typeof _0x336236==='string')&&(_0x38e488=_0x336236,_0x336236={}),Array[_0x36ec55(0x11d)](_0x38e488)&&(_0x38e488='\x0a'+_0x38e488['map'](function(_0x30177d){return'\x20\x20'+_0x30177d;})[_0x36ec55(0x101)]('\x0a')+'\x0a'),'<'+_0x6f568e+attr(_0x336236)+'>'+_0x38e488+'</'+_0x6f568e+'>';}
|
|
1
|
+
const a5_0x20a726=a5_0x55d3;(function(_0x265165,_0x125103){const _0x2b9367=a5_0x55d3,_0x375be2=_0x265165();while(!![]){try{const _0x8699a=parseInt(_0x2b9367(0x175))/0x1*(parseInt(_0x2b9367(0x174))/0x2)+parseInt(_0x2b9367(0x17e))/0x3+parseInt(_0x2b9367(0x16d))/0x4*(parseInt(_0x2b9367(0x1b2))/0x5)+-parseInt(_0x2b9367(0x163))/0x6*(-parseInt(_0x2b9367(0x179))/0x7)+-parseInt(_0x2b9367(0x176))/0x8*(-parseInt(_0x2b9367(0x16e))/0x9)+parseInt(_0x2b9367(0x18f))/0xa*(parseInt(_0x2b9367(0x165))/0xb)+-parseInt(_0x2b9367(0x164))/0xc*(parseInt(_0x2b9367(0x15d))/0xd);if(_0x8699a===_0x125103)break;else _0x375be2['push'](_0x375be2['shift']());}catch(_0x3a7151){_0x375be2['push'](_0x375be2['shift']());}}}(a5_0xc150,0x8b491));export function geoJSONToKml(_0x34a442,_0x378c33){const _0x47801b=a5_0x55d3;return _0x378c33=_0x378c33||{'documentName':undefined,'documentDescription':undefined,'name':_0x47801b(0x181),'description':_0x47801b(0x173),'simplestyle':![],'timestamp':_0x47801b(0x1ac)},_0x47801b(0x190)+tag(_0x47801b(0x199),tag('Document',documentName(_0x378c33)+documentDescription(_0x378c33)+root(_0x34a442,_0x378c33)),[[_0x47801b(0x185),_0x47801b(0x19b)]]);}function feature(_0x186969,_0x415b7f){return function(_0x54390a){const _0x355e16=a5_0x55d3;if(!_0x54390a[_0x355e16(0x171)]||!geometry[_0x355e16(0x1b1)](_0x54390a[_0x355e16(0x16c)]))return'';const _0x24b0fa=geometry[_0x355e16(0x17a)](_0x54390a[_0x355e16(0x16c)]);if(!_0x24b0fa)return'';let _0x4004ba='',_0xb89deb='';if(_0x186969[_0x355e16(0x1a3)]){const _0x2b9ea5=hashStyle(_0x54390a[_0x355e16(0x171)]);if(_0x2b9ea5){if(geometry[_0x355e16(0x183)](_0x54390a[_0x355e16(0x16c)])&&hasMarkerStyle(_0x54390a[_0x355e16(0x171)]))_0x415b7f[_0x355e16(0x15c)](_0x2b9ea5)===-0x1&&(_0x4004ba=markerStyle(_0x54390a[_0x355e16(0x171)],_0x2b9ea5),_0x415b7f[_0x355e16(0x19c)](_0x2b9ea5)),_0xb89deb=tag(_0x355e16(0x194),'#'+_0x2b9ea5);else(geometry[_0x355e16(0x17b)](_0x54390a['geometry'])||geometry[_0x355e16(0x1a1)](_0x54390a[_0x355e16(0x16c)]))&&hasPolygonAndLineStyle(_0x54390a[_0x355e16(0x171)])&&(_0x415b7f[_0x355e16(0x15c)](_0x2b9ea5)===-0x1&&(_0x4004ba=polygonAndLineStyle(_0x54390a[_0x355e16(0x171)],_0x2b9ea5),_0x415b7f[_0x355e16(0x19c)](_0x2b9ea5)),_0xb89deb=tag(_0x355e16(0x194),'#'+_0x2b9ea5));}}return _0x4004ba+tag('Placemark',name(_0x54390a[_0x355e16(0x171)],_0x186969)+description(_0x54390a['properties'],_0x186969)+extendeddata(_0x54390a['properties'])+timestamp(_0x54390a[_0x355e16(0x171)],_0x186969)+_0x24b0fa+_0xb89deb);};}function root(_0x36c24b,_0x4ef854){const _0x5c9d66=a5_0x55d3;if(!_0x36c24b['type'])return'';const _0x4c90d7=[];switch(_0x36c24b[_0x5c9d66(0x167)]){case _0x5c9d66(0x189):if(!_0x36c24b[_0x5c9d66(0x1a5)])return'';return _0x36c24b[_0x5c9d66(0x1a5)][_0x5c9d66(0x177)](feature(_0x4ef854,_0x4c90d7))[_0x5c9d66(0x184)]('');case _0x5c9d66(0x1a6):return feature(_0x4ef854,_0x4c90d7)(_0x36c24b);default:return feature(_0x4ef854,_0x4c90d7)({'type':'Feature','geometry':_0x36c24b,'properties':{}});}}function documentName(_0x4aec12){const _0x3763a6=a5_0x55d3;return _0x4aec12['documentName']!==undefined?tag(_0x3763a6(0x181),_0x4aec12['documentName']):'';}function documentDescription(_0x4ce612){const _0x42926b=a5_0x55d3;return _0x4ce612[_0x42926b(0x1a4)]!==undefined?tag(_0x42926b(0x173),_0x4ce612['documentDescription']):'';}function name(_0x3da071,_0x58e36c){const _0xe7e655=a5_0x55d3;return _0x3da071[_0x58e36c[_0xe7e655(0x181)]]?tag(_0xe7e655(0x181),encode(_0x3da071[_0x58e36c[_0xe7e655(0x181)]])):'';}function description(_0x4ee6a6,_0x23bfbf){const _0x368292=a5_0x55d3;return _0x4ee6a6[_0x23bfbf[_0x368292(0x173)]]?tag('description',encode(_0x4ee6a6[_0x23bfbf['description']])):'';}function a5_0xc150(){const _0x967d05=['when','72254bWRLgn','any','isPolygon','ff555555','hotSpot','2722317QOSvCV','color','length','name','xunits','isPoint','join','xmlns','>','outerBoundaryIs','<Data\x20name\x20=\x22','FeatureCollection','TimeStamp','stroke','Icon','marker-color','MultiPolygon','10zOeIpY','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>','Data','fill','stringify','styleUrl','&','"','coordinates','Style','kml','MultiLineString','http://www.opengis.net/kml/2.2','push','PolyStyle','marker-symbol','keys','ExtendedData','isLine','stroke-opacity','simplestyle','documentDescription','features','Feature','substr','value','toString','string','replace','timestamp','href','yunits','marker-size','Polygon','valid','5lnjHbx','LineString','toLowerCase','<','[object\x20Object]','indexOf','43394mBrHqi','GeometryCollection','MultiGeometry','call','</value></Data>','stroke-width','372lIygQJ','12636vepufu','2874597JLKytB','innerBoundaryIs','type','88555555','fill-opacity','Point','isArray','geometry','4312036rXOlir','1131174noJuUJ','fraction','geometries','properties','\x22><value>','description','4ExeadS','33757NsWGRa','72omPSLY','map'];a5_0xc150=function(){return _0x967d05;};return a5_0xc150();}function timestamp(_0x226aea,_0x2210e3){const _0x37448e=a5_0x55d3;return _0x226aea[_0x2210e3[_0x37448e(0x1ac)]]?tag(_0x37448e(0x18a),tag(_0x37448e(0x178),encode(_0x226aea[_0x2210e3[_0x37448e(0x1ac)]]))):'';}const geometry={'Point':function(_0x34b6d1){const _0x19734e=a5_0x55d3;return tag(_0x19734e(0x16a),tag(_0x19734e(0x197),_0x34b6d1[_0x19734e(0x197)]['join'](',')));},'LineString':function(_0x194ec9){const _0xe20e5e=a5_0x55d3;return tag(_0xe20e5e(0x1b3),tag(_0xe20e5e(0x197),linearring(_0x194ec9[_0xe20e5e(0x197)])));},'Polygon':function(_0x4c2c49){const _0x121c20=a5_0x55d3;if(!_0x4c2c49[_0x121c20(0x197)][_0x121c20(0x180)])return'';const _0x54165f=_0x4c2c49[_0x121c20(0x197)][0x0],_0x574d7b=_0x4c2c49[_0x121c20(0x197)]['slice'](0x1),_0x593e57=tag(_0x121c20(0x187),tag('LinearRing',tag('coordinates',linearring(_0x54165f)))),_0x4274e1=_0x574d7b[_0x121c20(0x177)](function(_0x5d4e98){const _0x5a285f=_0x121c20;return tag(_0x5a285f(0x166),tag('LinearRing',tag(_0x5a285f(0x197),linearring(_0x5d4e98))));})[_0x121c20(0x184)]('');return tag('Polygon',_0x593e57+_0x4274e1);},'MultiPoint':function(_0x15eb00){const _0x2423ae=a5_0x55d3;if(!_0x15eb00[_0x2423ae(0x197)][_0x2423ae(0x180)])return'';return tag('MultiGeometry',_0x15eb00[_0x2423ae(0x197)][_0x2423ae(0x177)](function(_0x358416){const _0x12b4c6=_0x2423ae;return geometry[_0x12b4c6(0x16a)]({'coordinates':_0x358416});})[_0x2423ae(0x184)](''));},'MultiPolygon':function(_0x4b77ac){const _0x51eede=a5_0x55d3;if(!_0x4b77ac[_0x51eede(0x197)][_0x51eede(0x180)])return'';return tag(_0x51eede(0x15f),_0x4b77ac[_0x51eede(0x197)]['map'](function(_0x68b2ee){const _0x931dd4=_0x51eede;return geometry[_0x931dd4(0x1b0)]({'coordinates':_0x68b2ee});})[_0x51eede(0x184)](''));},'MultiLineString':function(_0x52179d){const _0x3e03bb=a5_0x55d3;if(!_0x52179d[_0x3e03bb(0x197)][_0x3e03bb(0x180)])return'';return tag(_0x3e03bb(0x15f),_0x52179d[_0x3e03bb(0x197)]['map'](function(_0x102628){const _0x54ab37=_0x3e03bb;return geometry[_0x54ab37(0x1b3)]({'coordinates':_0x102628});})[_0x3e03bb(0x184)](''));},'GeometryCollection':function(_0x2722df){const _0x2e4357=a5_0x55d3;return tag(_0x2e4357(0x15f),_0x2722df['geometries'][_0x2e4357(0x177)](geometry[_0x2e4357(0x17a)])[_0x2e4357(0x184)](''));},'valid':function(_0x5868a9){const _0x41cc1e=a5_0x55d3;return _0x5868a9&&_0x5868a9[_0x41cc1e(0x167)]&&(_0x5868a9['coordinates']||_0x5868a9[_0x41cc1e(0x167)]===_0x41cc1e(0x15e)&&_0x5868a9[_0x41cc1e(0x170)]&&_0x5868a9[_0x41cc1e(0x170)]['every'](geometry[_0x41cc1e(0x1b1)]));},'any':function(_0x4243cd){const _0x1a2397=a5_0x55d3;return geometry[_0x4243cd[_0x1a2397(0x167)]]?geometry[_0x4243cd['type']](_0x4243cd):'';},'isPoint':function(_0x13ebbc){return _0x13ebbc['type']==='Point'||_0x13ebbc['type']==='MultiPoint';},'isPolygon':function(_0x87ceac){const _0x447b13=a5_0x55d3;return _0x87ceac[_0x447b13(0x167)]===_0x447b13(0x1b0)||_0x87ceac[_0x447b13(0x167)]===_0x447b13(0x18e);},'isLine':function(_0x1574c3){const _0xaeba95=a5_0x55d3;return _0x1574c3[_0xaeba95(0x167)]==='LineString'||_0x1574c3[_0xaeba95(0x167)]===_0xaeba95(0x19a);}};function linearring(_0xe9b3cf){const _0x6ccec4=a5_0x55d3;return _0xe9b3cf['map'](function(_0x4baf42){const _0x56ba67=a5_0x55d3;return _0x4baf42[_0x56ba67(0x184)](',');})[_0x6ccec4(0x184)]('\x20');}function extendeddata(_0x2b818a){const _0x13f2ff=a5_0x55d3,_0x408bc0=[];for(const _0x4be773 in _0x2b818a){const _0x25723a=_0x2b818a[_0x4be773];isObject(_0x25723a)?_0x408bc0['push']('<Data\x20name\x20=\x22'+_0x4be773+_0x13f2ff(0x172)+JSON[_0x13f2ff(0x193)](_0x25723a)+_0x13f2ff(0x161)):_0x408bc0[_0x13f2ff(0x19c)](_0x13f2ff(0x188)+_0x4be773+_0x13f2ff(0x172)+_0x25723a+_0x13f2ff(0x161));}return tag(_0x13f2ff(0x1a0),_0x408bc0[_0x13f2ff(0x184)](''));}function data(_0x1dcb51){const _0x2ccd92=a5_0x55d3;return tag(_0x2ccd92(0x191),tag(_0x2ccd92(0x1a8),encode(_0x1dcb51[0x1])),[['name',encode(_0x1dcb51[0x0])]]);}function hasMarkerStyle(_0x3b49fa){const _0x5e740d=a5_0x55d3;return!!(_0x3b49fa['marker-size']||_0x3b49fa[_0x5e740d(0x19e)]||_0x3b49fa['marker-color']);}function markerStyle(_0xd22e69,_0xa61ce4){const _0x43bca=a5_0x55d3;return tag(_0x43bca(0x198),tag('IconStyle',tag(_0x43bca(0x18c),tag(_0x43bca(0x1ad),iconUrl(_0xd22e69))))+iconSize(_0xd22e69),[['id',_0xa61ce4]]);}function iconUrl(_0x4f9e7c){return _0x4f9e7c['marker-symbol'];}function iconSize(_0x25a7e5){const _0x58c428=a5_0x55d3;return tag(_0x58c428(0x17d),'',[[_0x58c428(0x182),_0x58c428(0x16f)],[_0x58c428(0x1ae),_0x58c428(0x16f)],['x',0.5],['y',0.5]]);}function hasPolygonAndLineStyle(_0x9b6b0c){for(const _0x4d92ec in _0x9b6b0c){if({'stroke':!![],'stroke-opacity':!![],'stroke-width':!![],'fill':!![],'fill-opacity':!![]}[_0x4d92ec])return!![];}}function polygonAndLineStyle(_0x309e29,_0x5b7cde){const _0x38a832=a5_0x55d3,_0x4f1eef=tag('LineStyle',[tag(_0x38a832(0x17f),hexToKmlColor(_0x309e29[_0x38a832(0x18b)],_0x309e29[_0x38a832(0x1a2)])||_0x38a832(0x17c))+tag('width',_0x309e29[_0x38a832(0x162)]===undefined?0x2:_0x309e29[_0x38a832(0x162)])]);let _0x59232d='';return(_0x309e29[_0x38a832(0x192)]||_0x309e29[_0x38a832(0x169)])&&(_0x59232d=tag(_0x38a832(0x19d),[tag(_0x38a832(0x17f),hexToKmlColor(_0x309e29[_0x38a832(0x192)],_0x309e29['fill-opacity'])||_0x38a832(0x168))])),tag(_0x38a832(0x198),_0x4f1eef+_0x59232d,[['id',_0x5b7cde]]);}function hashStyle(_0x610a7b){const _0x4204ed=a5_0x55d3;let _0x12793a='';return _0x610a7b[_0x4204ed(0x19e)]&&(_0x12793a=_0x12793a+'ms'+_0x610a7b['marker-symbol']),_0x610a7b[_0x4204ed(0x18d)]&&(_0x12793a=_0x12793a+'mc'+_0x610a7b[_0x4204ed(0x18d)][_0x4204ed(0x1ab)]('#','')),_0x610a7b[_0x4204ed(0x1af)]&&(_0x12793a=_0x12793a+'ms'+_0x610a7b[_0x4204ed(0x1af)]),_0x610a7b['stroke']&&(_0x12793a=_0x12793a+'s'+_0x610a7b[_0x4204ed(0x18b)]['replace']('#','')),_0x610a7b[_0x4204ed(0x162)]&&(_0x12793a=_0x12793a+'sw'+_0x610a7b[_0x4204ed(0x162)][_0x4204ed(0x1a9)]()[_0x4204ed(0x1ab)]('.','')),_0x610a7b[_0x4204ed(0x1a2)]&&(_0x12793a=_0x12793a+'mo'+_0x610a7b[_0x4204ed(0x1a2)][_0x4204ed(0x1a9)]()[_0x4204ed(0x1ab)]('.','')),_0x610a7b[_0x4204ed(0x192)]&&(_0x12793a=_0x12793a+'f'+_0x610a7b[_0x4204ed(0x192)][_0x4204ed(0x1ab)]('#','')),_0x610a7b['fill-opacity']&&(_0x12793a=_0x12793a+'fo'+_0x610a7b[_0x4204ed(0x169)][_0x4204ed(0x1a9)]()[_0x4204ed(0x1ab)]('.','')),_0x12793a;}function hexToKmlColor(_0x2e3cf7,_0x37dc4b){const _0x134342=a5_0x55d3;if(typeof _0x2e3cf7!==_0x134342(0x1aa))return'';_0x2e3cf7=_0x2e3cf7[_0x134342(0x1ab)]('#','')[_0x134342(0x1b4)]();if(_0x2e3cf7[_0x134342(0x180)]===0x3)_0x2e3cf7=_0x2e3cf7[0x0]+_0x2e3cf7[0x0]+_0x2e3cf7[0x1]+_0x2e3cf7[0x1]+_0x2e3cf7[0x2]+_0x2e3cf7[0x2];else{if(_0x2e3cf7[_0x134342(0x180)]!==0x6)return'';}const _0x587d54=_0x2e3cf7[0x0]+_0x2e3cf7[0x1],_0x2d36af=_0x2e3cf7[0x2]+_0x2e3cf7[0x3],_0x2b3ae6=_0x2e3cf7[0x4]+_0x2e3cf7[0x5];let _0x18807a='ff';return typeof _0x37dc4b==='number'&&_0x37dc4b>=0x0&&_0x37dc4b<=0x1&&(_0x18807a=(_0x37dc4b*0xff)[_0x134342(0x1a9)](0x10),_0x18807a[_0x134342(0x15c)]('.')>-0x1&&(_0x18807a=_0x18807a[_0x134342(0x1a7)](0x0,_0x18807a['indexOf']('.'))),_0x18807a[_0x134342(0x180)]<0x2&&(_0x18807a='0'+_0x18807a)),_0x18807a+_0x2b3ae6+_0x2d36af+_0x587d54;}function a5_0x55d3(_0x400574,_0x4d4f04){const _0xc15011=a5_0xc150();return a5_0x55d3=function(_0x55d3bc,_0x4dca8a){_0x55d3bc=_0x55d3bc-0x15a;let _0x2f63e9=_0xc15011[_0x55d3bc];return _0x2f63e9;},a5_0x55d3(_0x400574,_0x4d4f04);}export function isObject(_0x4b2ff2){const _0x468dfa=a5_0x55d3;return Object['prototype'][_0x468dfa(0x1a9)][_0x468dfa(0x160)](_0x4b2ff2)===_0x468dfa(0x15b);}function encode(_0xb59f22){const _0x490f29=a5_0x55d3;if(!_0xb59f22)return'';return _0xb59f22[_0x490f29(0x1a9)]()['replace'](/&/g,_0x490f29(0x195))[_0x490f29(0x1ab)](/</g,_0x490f29(0x15a))[_0x490f29(0x1ab)](/>/g,'>')[_0x490f29(0x1ab)](/"/g,_0x490f29(0x196));}function attr(_0x51203f){const _0x5e9407=a5_0x55d3;if(!Object[_0x5e9407(0x19f)](_0x51203f)[_0x5e9407(0x180)])return'';return'\x20'+Object[_0x5e9407(0x19f)](_0x51203f)[_0x5e9407(0x177)](function(_0x5ecd43){return _0x5ecd43+'=\x22'+escape(_0x51203f[_0x5ecd43])+'\x22';})[_0x5e9407(0x184)]('\x20');}const escape_map={'>':a5_0x20a726(0x186),'<':'<','\x27':''','\x22':'"','&':a5_0x20a726(0x195)};function escape(_0x2c7076,_0x82f199){const _0x2b0e0d=a5_0x20a726;if(_0x2c7076===null||_0x2c7076===undefined)return;_0x82f199=(_0x82f199||'')['replace'](/[^&"<>\']/g,'');const _0x3600af='([&\x22<>\x27])'['replace'](new RegExp('['+_0x82f199+']','g'),'');return _0x2c7076[_0x2b0e0d(0x1ab)](new RegExp(_0x3600af,'g'),function(_0x1c376f,_0x48bcc2){return escape_map[_0x48bcc2];});}function tag(_0x3de710,_0x3fc47a,_0xeefe36){const _0x39bc74=a5_0x20a726;return(Array[_0x39bc74(0x16b)](_0x3fc47a)||typeof _0x3fc47a===_0x39bc74(0x1aa))&&(_0xeefe36=_0x3fc47a,_0x3fc47a={}),Array[_0x39bc74(0x16b)](_0xeefe36)&&(_0xeefe36='\x0a'+_0xeefe36[_0x39bc74(0x177)](function(_0x5b5399){return'\x20\x20'+_0x5b5399;})[_0x39bc74(0x184)]('\x0a')+'\x0a'),'<'+_0x3de710+attr(_0x3fc47a)+'>'+_0xeefe36+'</'+_0x3de710+'>';}
|
package/conver/kml/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a6_0x2e4c31=a6_0x27b6;(function(_0x523318,_0x590c67){const _0x27fe68=a6_0x27b6,_0xbc7c9d=_0x523318();while(!![]){try{const _0x169dab=parseInt(_0x27fe68(0xac))/0x1+parseInt(_0x27fe68(0x91))/0x2+parseInt(_0x27fe68(0x8d))/0x3*(parseInt(_0x27fe68(0x9e))/0x4)+parseInt(_0x27fe68(0xab))/0x5*(-parseInt(_0x27fe68(0xb6))/0x6)+parseInt(_0x27fe68(0x9d))/0x7*(-parseInt(_0x27fe68(0x99))/0x8)+-parseInt(_0x27fe68(0x82))/0x9*(-parseInt(_0x27fe68(0x83))/0xa)+parseInt(_0x27fe68(0xad))/0xb*(-parseInt(_0x27fe68(0xb9))/0xc);if(_0x169dab===_0x590c67)break;else _0xbc7c9d['push'](_0xbc7c9d['shift']());}catch(_0x5745ca){_0xbc7c9d['push'](_0xbc7c9d['shift']());}}}(a6_0x10e0,0xbe6de));import a6_0x40a253 from'jszip';import{kmlToGeoJSON}from'./kmlToGeoJSON';function a6_0x27b6(_0x35830b,_0x575045){const _0x10e0f2=a6_0x10e0();return a6_0x27b6=function(_0x27b607,_0x4f419b){_0x27b607=_0x27b607-0x82;let _0x41605e=_0x10e0f2[_0x27b607];return _0x41605e;},a6_0x27b6(_0x35830b,_0x575045);}import{geoJSONToKml}from'./geoJSONToKml';export function toKml(_0x4354a3,_0x998cb3){const _0x58d049=a6_0x27b6;return _0x4354a3[_0x58d049(0xb7)]?_0x4354a3['features']['forEach'](_0x15f5dc=>{updateFeatureByStyle(_0x15f5dc);}):updateFeatureByStyle(_0x4354a3),geoJSONToKml(_0x4354a3,_0x998cb3);}function updateFeatureByStyle(_0x2f15a5){const _0x3cdf49=a6_0x27b6;var _0x563633,_0x56bf10,_0x3084d6,_0x36446a,_0xc6b60f,_0x3cc7da;if(!_0x2f15a5[_0x3cdf49(0x9b)])return;const _0x5b787f=_0x2f15a5[_0x3cdf49(0x9b)]['style'];if(_0x5b787f){if(_0x5b787f[_0x3cdf49(0xa2)]){_0x2f15a5[_0x3cdf49(0x9b)][_0x3cdf49(0xa1)]=_0x5b787f[_0x3cdf49(0xa2)];_0x5b787f['outlineColor']&&(_0x2f15a5[_0x3cdf49(0x9b)][_0x3cdf49(0xb0)]=_0x5b787f[_0x3cdf49(0xa7)]);return;}_0x5b787f[_0x3cdf49(0x8c)]&&(_0x2f15a5[_0x3cdf49(0x9b)][_0x3cdf49(0xae)]=_0x5b787f['color'],_0x5b787f[_0x3cdf49(0xa5)]&&(_0x2f15a5[_0x3cdf49(0x9b)][_0x3cdf49(0xaf)]=_0x5b787f[_0x3cdf49(0xa5)])),_0x5b787f['outlineColor']&&(_0x2f15a5[_0x3cdf49(0x9b)][_0x3cdf49(0x89)]=_0x5b787f[_0x3cdf49(0xa7)],_0x2f15a5[_0x3cdf49(0x9b)][_0x3cdf49(0x96)]=(_0x563633=_0x5b787f[_0x3cdf49(0x8e)])!==null&&_0x563633!==void 0x0?_0x563633:0x1,_0x2f15a5[_0x3cdf49(0x9b)]['stroke-opacity']=(_0x3084d6=(_0x56bf10=_0x5b787f[_0x3cdf49(0x92)])!==null&&_0x56bf10!==void 0x0?_0x56bf10:_0x5b787f[_0x3cdf49(0xa5)])!==null&&_0x3084d6!==void 0x0?_0x3084d6:0x1),_0x5b787f[_0x3cdf49(0xa4)]&&(_0x5b787f[_0x3cdf49(0xa4)]=HTMLEncode(_0x5b787f[_0x3cdf49(0xa4)])),_0x5b787f['closure']&&((_0xc6b60f=(_0x36446a=_0x2f15a5[_0x3cdf49(0x87)])===null||_0x36446a===void 0x0?void 0x0:_0x36446a[_0x3cdf49(0xb3)])===null||_0xc6b60f===void 0x0?void 0x0:_0xc6b60f[_0x3cdf49(0x86)])>0x0&&_0x2f15a5[_0x3cdf49(0x87)][_0x3cdf49(0xb3)][_0x3cdf49(0x98)](_0x2f15a5['geometry'][_0x3cdf49(0xb3)][0x0]);}const _0x2a85ad=(_0x3cc7da=_0x2f15a5===null||_0x2f15a5===void 0x0?void 0x0:_0x2f15a5[_0x3cdf49(0x9b)])===null||_0x3cc7da===void 0x0?void 0x0:_0x3cc7da[_0x3cdf49(0xb2)];if(_0x2a85ad===_0x3cdf49(0x8a)){const _0xccb728=_0x2f15a5[_0x3cdf49(0x87)][_0x3cdf49(0xb3)][0x0];(_0xccb728===null||_0xccb728===void 0x0?void 0x0:_0xccb728['length'])>0x2&&_0xccb728[_0x3cdf49(0x98)](_0xccb728[0x0]);}else{if(_0x2a85ad===_0x3cdf49(0x97)){const _0x2a30a=_0x2f15a5[_0x3cdf49(0x87)][_0x3cdf49(0xb3)],_0x2e8d99=_0x2a30a[0x0][0x0],_0x3ffddd=_0x2a30a[0x1][0x0],_0x226ea8=_0x2a30a[0x0][0x1],_0x479bc3=_0x2a30a[0x1][0x1];_0x2f15a5['geometry']={'type':_0x3cdf49(0xa9),'coordinates':[[[_0x2e8d99,_0x479bc3],[_0x2e8d99,_0x226ea8],[_0x3ffddd,_0x226ea8],[_0x3ffddd,_0x479bc3],[_0x2e8d99,_0x479bc3]]]};}}}const getDom=_0x2b6fac=>new DOMParser()[a6_0x2e4c31(0x9a)](_0x2b6fac,a6_0x2e4c31(0xaa)),getExtension=_0x5a7fde=>_0x5a7fde[a6_0x2e4c31(0xa8)]('.')[a6_0x2e4c31(0xb4)](),getKmlDom=_0x279cfe=>{const _0x3a333f=a6_0x2e4c31,_0x39417e=new a6_0x40a253();return _0x39417e[_0x3a333f(0xbc)](_0x279cfe)[_0x3a333f(0x8f)](_0xaee9c7=>{const _0x2f2f33=_0x3a333f;let _0x538eb9=null;return _0xaee9c7[_0x2f2f33(0xba)]((_0x1e3e64,_0x11fbe3)=>{const _0x50c7f2=_0x2f2f33;getExtension(_0x1e3e64)==='kml'&&_0x538eb9===null&&(_0x538eb9=_0x11fbe3[_0x50c7f2(0xa6)](_0x50c7f2(0x85))['then'](getDom));}),_0x538eb9;});};export function toGeoJSON(_0x2eea36,_0x5586b6){const _0x3c77ef=a6_0x2e4c31;if(!_0x2eea36){console[_0x3c77ef(0xa0)](_0x3c77ef(0xb1));return;}if(isString(_0x2eea36)){const _0x548a11=getExtension(_0x2eea36);if(_0x548a11==='kml')return fetchXML(_0x2eea36,_0x5586b6)['then'](function(_0x437b37){return kmlToGeoJSON(_0x437b37);});else{if(_0x548a11==='kmz')return fetchBlob(_0x2eea36,_0x5586b6)[_0x3c77ef(0x8f)](function(_0x26e02f){return getKmlDom(_0x26e02f);})[_0x3c77ef(0x8f)](function(_0x1e8cea){return kmlToGeoJSON(_0x1e8cea);});else{const _0x3d94e6=kmlToGeoJSON(getDom(_0x2eea36));return Promise[_0x3c77ef(0x95)](_0x3d94e6);}}}else{if(_0x2eea36[_0x3c77ef(0xb8)]){const _0x29ffea=kmlToGeoJSON(_0x2eea36);return Promise[_0x3c77ef(0x95)](_0x29ffea);}else{const _0x5376cf=_0x2eea36[_0x3c77ef(0x88)][_0x3c77ef(0xa8)]('.')[_0x2eea36['name']['split']('.')[_0x3c77ef(0x86)]-0x1][_0x3c77ef(0xb5)]();return _0x5376cf===_0x3c77ef(0x9f)?_0x2eea36[_0x3c77ef(0x90)]()[_0x3c77ef(0x8f)](_0x32d5ca=>{return kmlToGeoJSON(getDom(_0x32d5ca));}):getKmlDom(_0x2eea36)['then'](function(_0x5b50f6){return kmlToGeoJSON(_0x5b50f6);});}}}function isString(_0x594c46){const _0x1c24b2=a6_0x2e4c31;return typeof _0x594c46===_0x1c24b2(0x85)&&_0x594c46[_0x1c24b2(0xbb)]===String;}function HTMLEncode(_0x4553dd){const _0xf5c244=a6_0x2e4c31,_0x53a6e4=document['createElement'](_0xf5c244(0x93));_0x53a6e4[_0xf5c244(0x94)]!=null?_0x53a6e4['textContent']=_0x4553dd:_0x53a6e4['innerText']=_0x4553dd;const _0x222464=_0x53a6e4[_0xf5c244(0x8b)];return _0x222464;}function fetchXML(_0x5597ed,_0x3f6a1c){const _0x26e362=a6_0x2e4c31,_0x34e073=Object['assign']({'method':'GET','headers':{'Content-Type':_0x26e362(0xaa)}},_0x3f6a1c);return fetch(_0x5597ed,_0x34e073)['then'](_0x4741f9=>{const _0x3cf384=_0x26e362;return _0x4741f9[_0x3cf384(0x90)]();})[_0x26e362(0x8f)](_0x981ae0=>{return getDom(_0x981ae0);});}function a6_0x10e0(){const _0x4082bd=['blob','string','length','geometry','name','stroke','polygon','innerHTML','color','843vgLFej','outlineWidth','then','text','824198LCIUWi','outlineOpacity','div','textContent','resolve','stroke-width','rectangle','push','21328JTqQzZ','parseFromString','properties','GET','833wyHgYZ','2596JXiNpR','kml','warn','marker-symbol','image','assign','html','opacity','async','outlineColor','split','Polygon','application/xml','721635tOWcSZ','422360cuSGmj','14597mpsAvC','fill','fill-opacity','marker-color','toGeoJSON参数不能为空','type','coordinates','pop','toLowerCase','30RkESKU','features','getRootNode','132sAvSGD','forEach','constructor','loadAsync','3674952imFakp','20ipPaeZ'];a6_0x10e0=function(){return _0x4082bd;};return a6_0x10e0();}function fetchBlob(_0x3e1f52,_0xfe4c87){const _0xf0f2ea=a6_0x2e4c31,_0x316b63=Object[_0xf0f2ea(0xa3)]({'method':_0xf0f2ea(0x9c)},_0xfe4c87);return fetch(_0x3e1f52,_0x316b63)[_0xf0f2ea(0x8f)](_0xf7b596=>{const _0x42b675=_0xf0f2ea;return _0xf7b596[_0x42b675(0x84)]();});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7_0x455837=a7_0x6be3;(function(_0x15f96f,_0x3b9515){const _0x4c706e=a7_0x6be3,_0x3f6a73=_0x15f96f();while(!![]){try{const _0xb27b9c=-parseInt(_0x4c706e(0xa1))/0x1*(parseInt(_0x4c706e(0xb5))/0x2)+-parseInt(_0x4c706e(0xd9))/0x3*(parseInt(_0x4c706e(0xad))/0x4)+-parseInt(_0x4c706e(0xaf))/0x5*(parseInt(_0x4c706e(0xdc))/0x6)+parseInt(_0x4c706e(0xb7))/0x7+-parseInt(_0x4c706e(0xbd))/0x8*(parseInt(_0x4c706e(0xbc))/0x9)+-parseInt(_0x4c706e(0xa2))/0xa+parseInt(_0x4c706e(0xa8))/0xb*(parseInt(_0x4c706e(0xc7))/0xc);if(_0xb27b9c===_0x3b9515)break;else _0x3f6a73['push'](_0x3f6a73['shift']());}catch(_0x123399){_0x3f6a73['push'](_0x3f6a73['shift']());}}}(a7_0x2cea,0xdeda0));const removeSpace=/\s*/g,trimSpace=/^\s*|\s*$/g,splitSpace=/\s+/;function okhash(_0x13f2d2){const _0x450931=a7_0x6be3;if(!_0x13f2d2||!_0x13f2d2[_0x450931(0xc9)])return 0x0;for(var _0xbf3b1b=0x0,_0x2e475b=0x0;_0xbf3b1b<_0x13f2d2[_0x450931(0xc9)];_0xbf3b1b++){_0x2e475b=(_0x2e475b<<0x5)-_0x2e475b+_0x13f2d2[_0x450931(0xc4)](_0xbf3b1b)|0x0;}return _0x2e475b;}function get(_0x437478,_0x54d69f){const _0x3d9ca9=a7_0x6be3;return _0x437478[_0x3d9ca9(0xd6)](_0x54d69f);}function attr(_0x11bea1,_0x5164d9){const _0x555253=a7_0x6be3;return _0x11bea1[_0x555253(0xe5)](_0x5164d9);}function attrf(_0x2eff4b,_0x565e2b){return parseFloat(attr(_0x2eff4b,_0x565e2b));}function get1(_0x25113b,_0x3e5f05){const _0xc8799b=a7_0x6be3,_0x3e02b5=get(_0x25113b,_0x3e5f05);return _0x3e02b5[_0xc8799b(0xc9)]?_0x3e02b5[0x0]:null;}function norm(_0x38373a){const _0x1442d5=a7_0x6be3;return _0x38373a[_0x1442d5(0xd4)]&&_0x38373a[_0x1442d5(0xd4)](),_0x38373a;}function numarray(_0x52cf7a){const _0x560905=a7_0x6be3;for(var _0x4adedc=0x0,_0x34fcaf=[];_0x4adedc<_0x52cf7a[_0x560905(0xc9)];_0x4adedc++){_0x34fcaf[_0x4adedc]=parseFloat(_0x52cf7a[_0x4adedc]);}return _0x34fcaf;}function nodeVal(_0xe2e714){return _0xe2e714&&norm(_0xe2e714),_0xe2e714&&_0xe2e714['textContent']||'';}function coord1(_0x3d50fa){const _0xe5924e=a7_0x6be3;return numarray(_0x3d50fa[_0xe5924e(0xe0)](removeSpace,'')[_0xe5924e(0xba)](','));}function a7_0x6be3(_0x14bf17,_0x310ce7){const _0x2cea19=a7_0x2cea();return a7_0x6be3=function(_0x6be311,_0x2b4f69){_0x6be311=_0x6be311-0x9e;let _0x16279e=_0x2cea19[_0x6be311];return _0x16279e;},a7_0x6be3(_0x14bf17,_0x310ce7);}function coord(_0x18f129){const _0x530d9f=a7_0x6be3,_0x2eb850=_0x18f129[_0x530d9f(0xe0)](trimSpace,'')[_0x530d9f(0xba)](splitSpace),_0x2c7dc1=[];for(let _0x3d79d4=0x0;_0x3d79d4<_0x2eb850[_0x530d9f(0xc9)];_0x3d79d4++){_0x2c7dc1[_0x530d9f(0xb4)](coord1(_0x2eb850[_0x3d79d4]));}return _0x2c7dc1;}function fc(){const _0x3b763c=a7_0x6be3;return{'type':_0x3b763c(0xaa),'features':[]};}let serializer;function a7_0x2cea(){const _0x275dfe=['push','4ffPprr','Pair','1932812UJfGqK','Placemark','browser','split','gx:MultiTrack','1179eUSzOv','44584cdVzMo','value','Polygon','LineString','normal','Feature','name','charCodeAt','concat','end','21377892KuimeY','Track','length','XMLSerializer','undefined','times','outline','LineStyle','when','fill','visibility','key','styleMapHash','normalize','gx:Track','getElementsByTagName','coordTimes','object','144hOEYnB','fill-opacity','MultiTrack','30kIiWog','description','timespan','Point','replace','parse','styleHash','SimpleData','styleUrl','getAttribute','TimeStamp','StyleMap','serializeToString','xmldom','635231JheWFi','8935820jsZWsO','geoms','toString','coordinates','width','stroke-width','33xLuuaf','LinearRing','FeatureCollection','xml','substr','6716ewIfju','coords','1733090YbmVvY','stroke-opacity','PolyStyle','TimeSpan','GeometryCollection'];a7_0x2cea=function(){return _0x275dfe;};return a7_0x2cea();}if(typeof XMLSerializer!==a7_0x455837(0xcb))serializer=new XMLSerializer();else typeof exports===a7_0x455837(0xd8)&&typeof process===a7_0x455837(0xd8)&&!process[a7_0x455837(0xb9)]&&(serializer=new(require(a7_0x455837(0xa0)))[(a7_0x455837(0xca))]());function xml2str(_0x2bd83){const _0x101349=a7_0x455837;if(_0x2bd83[_0x101349(0xab)]!==undefined)return _0x2bd83[_0x101349(0xab)];return serializer[_0x101349(0x9f)](_0x2bd83);}export function kmlToGeoJSON(_0x1fcefc){const _0x57fee8=a7_0x455837,_0x246e75=fc(),_0x2cd9b4={},_0x3e8388={},_0x53c19e={},_0x3dc98d=[_0x57fee8(0xbf),'LineString',_0x57fee8(0xdf),'Track',_0x57fee8(0xd5)],_0x3d5c62=get(_0x1fcefc,_0x57fee8(0xb8)),_0x5129c6=get(_0x1fcefc,'Style'),_0x42c415=get(_0x1fcefc,_0x57fee8(0x9e));for(let _0xb8b767=0x0;_0xb8b767<_0x5129c6['length'];_0xb8b767++){const _0x1241e7=okhash(xml2str(_0x5129c6[_0xb8b767]))[_0x57fee8(0xa4)](0x10);_0x2cd9b4['#'+attr(_0x5129c6[_0xb8b767],'id')]=_0x1241e7,_0x3e8388[_0x1241e7]=_0x5129c6[_0xb8b767];}for(let _0x49046c=0x0;_0x49046c<_0x42c415[_0x57fee8(0xc9)];_0x49046c++){_0x2cd9b4['#'+attr(_0x42c415[_0x49046c],'id')]=okhash(xml2str(_0x42c415[_0x49046c]))[_0x57fee8(0xa4)](0x10);const _0x2f6737=get(_0x42c415[_0x49046c],_0x57fee8(0xb6)),_0x3b8d01={};for(let _0x2fa5df=0x0;_0x2fa5df<_0x2f6737['length'];_0x2fa5df++){_0x3b8d01[nodeVal(get1(_0x2f6737[_0x2fa5df],_0x57fee8(0xd2)))]=nodeVal(get1(_0x2f6737[_0x2fa5df],_0x57fee8(0xe4)));}_0x53c19e['#'+attr(_0x42c415[_0x49046c],'id')]=_0x3b8d01;}for(let _0x1e0666=0x0;_0x1e0666<_0x3d5c62[_0x57fee8(0xc9)];_0x1e0666++){_0x246e75['features']=_0x246e75['features'][_0x57fee8(0xc5)](_0x3e5dd2(_0x3d5c62[_0x1e0666]));}function _0x8b5b07(_0x46b9a1){const _0x2ff336=_0x57fee8;let _0xb5f1f2,_0x519ea4=0x0;return _0x46b9a1=_0x46b9a1||'',_0x46b9a1[_0x2ff336(0xac)](0x0,0x1)==='#'&&(_0x46b9a1=_0x46b9a1[_0x2ff336(0xac)](0x1)),(_0x46b9a1[_0x2ff336(0xc9)]===0x6||_0x46b9a1['length']===0x3)&&(_0xb5f1f2=_0x46b9a1),_0x46b9a1[_0x2ff336(0xc9)]===0x8&&(_0x519ea4=parseInt(_0x46b9a1[_0x2ff336(0xac)](0x0,0x2),0x10)/0xff,_0xb5f1f2='#'+_0x46b9a1[_0x2ff336(0xac)](0x6,0x2)+_0x46b9a1[_0x2ff336(0xac)](0x4,0x2)+_0x46b9a1[_0x2ff336(0xac)](0x2,0x2)),[_0xb5f1f2,isNaN(_0x519ea4)?undefined:_0x519ea4];}function _0x55c33c(_0x4ebc37){const _0x1e0f8a=_0x57fee8;return numarray(_0x4ebc37[_0x1e0f8a(0xba)]('\x20'));}function _0xd622e7(_0x4a0b7c){const _0x117b48=_0x57fee8;let _0x5bb7b1=get(_0x4a0b7c,'coord');const _0x5e165c=[],_0x1ee1e5=[];_0x5bb7b1[_0x117b48(0xc9)]===0x0&&(_0x5bb7b1=get(_0x4a0b7c,'gx:coord'));for(let _0x586c32=0x0;_0x586c32<_0x5bb7b1[_0x117b48(0xc9)];_0x586c32++){_0x5e165c[_0x117b48(0xb4)](_0x55c33c(nodeVal(_0x5bb7b1[_0x586c32])));}const _0x50a6c4=get(_0x4a0b7c,_0x117b48(0xcf));for(let _0x21bd18=0x0;_0x21bd18<_0x50a6c4[_0x117b48(0xc9)];_0x21bd18++){_0x1ee1e5[_0x117b48(0xb4)](nodeVal(_0x50a6c4[_0x21bd18]));}return{'coords':_0x5e165c,'times':_0x1ee1e5};}function _0xd93d0(_0x2041e0){const _0x42c45c=_0x57fee8;let _0x1f25c9,_0x17ac63,_0x4538f1,_0x3daebd,_0x30d273;const _0x2d347d=[],_0x49d683=[];if(get1(_0x2041e0,'MultiGeometry'))return _0xd93d0(get1(_0x2041e0,'MultiGeometry'));if(get1(_0x2041e0,_0x42c45c(0xdb)))return _0xd93d0(get1(_0x2041e0,_0x42c45c(0xdb)));if(get1(_0x2041e0,_0x42c45c(0xbb)))return _0xd93d0(get1(_0x2041e0,_0x42c45c(0xbb)));for(_0x4538f1=0x0;_0x4538f1<_0x3dc98d[_0x42c45c(0xc9)];_0x4538f1++){_0x17ac63=get(_0x2041e0,_0x3dc98d[_0x4538f1]);if(_0x17ac63)for(_0x3daebd=0x0;_0x3daebd<_0x17ac63['length'];_0x3daebd++){_0x1f25c9=_0x17ac63[_0x3daebd];if(_0x3dc98d[_0x4538f1]===_0x42c45c(0xdf))_0x2d347d[_0x42c45c(0xb4)]({'type':_0x42c45c(0xdf),'coordinates':coord1(nodeVal(get1(_0x1f25c9,_0x42c45c(0xa5))))});else{if(_0x3dc98d[_0x4538f1]===_0x42c45c(0xc0))_0x2d347d[_0x42c45c(0xb4)]({'type':'LineString','coordinates':coord(nodeVal(get1(_0x1f25c9,_0x42c45c(0xa5))))});else{if(_0x3dc98d[_0x4538f1]==='Polygon'){const _0x19781a=get(_0x1f25c9,_0x42c45c(0xa9)),_0x334b9e=[];for(_0x30d273=0x0;_0x30d273<_0x19781a[_0x42c45c(0xc9)];_0x30d273++){_0x334b9e[_0x42c45c(0xb4)](coord(nodeVal(get1(_0x19781a[_0x30d273],'coordinates'))));}_0x2d347d['push']({'type':_0x42c45c(0xbf),'coordinates':_0x334b9e});}else{if(_0x3dc98d[_0x4538f1]===_0x42c45c(0xc8)||_0x3dc98d[_0x4538f1]===_0x42c45c(0xd5)){const _0x362ce1=_0xd622e7(_0x1f25c9);_0x2d347d[_0x42c45c(0xb4)]({'type':_0x42c45c(0xc0),'coordinates':_0x362ce1[_0x42c45c(0xae)]}),_0x362ce1[_0x42c45c(0xcc)][_0x42c45c(0xc9)]&&_0x49d683[_0x42c45c(0xb4)](_0x362ce1[_0x42c45c(0xcc)]);}}}}}}return{'geoms':_0x2d347d,'coordTimes':_0x49d683};}function _0x3e5dd2(_0x27180b){const _0x10a00a=_0x57fee8,_0x11d45c=_0xd93d0(_0x27180b);let _0x1f7ea2;const _0x3cf321={},_0x44541b=nodeVal(get1(_0x27180b,_0x10a00a(0xc3)));let _0x768314=nodeVal(get1(_0x27180b,_0x10a00a(0xe4)));const _0x137f80=nodeVal(get1(_0x27180b,'description')),_0x5f2262=get1(_0x27180b,_0x10a00a(0xb2)),_0x361723=get1(_0x27180b,_0x10a00a(0xe6)),_0xf3ba3a=get1(_0x27180b,'ExtendedData');let _0x14a805=get1(_0x27180b,_0x10a00a(0xce)),_0xc152c=get1(_0x27180b,_0x10a00a(0xb1));const _0xb7b561=get1(_0x27180b,_0x10a00a(0xd1));if(!_0x11d45c['geoms']['length'])return[];_0x44541b&&(_0x3cf321['name']=_0x44541b);if(_0x768314){_0x768314[0x0]!=='#'&&(_0x768314='#'+_0x768314);_0x3cf321[_0x10a00a(0xe4)]=_0x768314;_0x2cd9b4[_0x768314]&&(_0x3cf321[_0x10a00a(0xe2)]=_0x2cd9b4[_0x768314]);_0x53c19e[_0x768314]&&(_0x3cf321[_0x10a00a(0xd3)]=_0x53c19e[_0x768314],_0x3cf321[_0x10a00a(0xe2)]=_0x2cd9b4[_0x53c19e[_0x768314][_0x10a00a(0xc1)]]);const _0x4060bb=_0x3e8388[_0x3cf321[_0x10a00a(0xe2)]];_0x4060bb&&(!_0x14a805&&(_0x14a805=get1(_0x4060bb,'LineStyle')),!_0xc152c&&(_0xc152c=get1(_0x4060bb,_0x10a00a(0xb1))));}_0x137f80&&(_0x3cf321[_0x10a00a(0xdd)]=_0x137f80);if(_0x5f2262){const _0x370bd7=nodeVal(get1(_0x5f2262,'begin')),_0x16b65a=nodeVal(get1(_0x5f2262,_0x10a00a(0xc6)));_0x3cf321[_0x10a00a(0xde)]={'begin':_0x370bd7,'end':_0x16b65a};}_0x361723&&(_0x3cf321['timestamp']=nodeVal(get1(_0x361723,_0x10a00a(0xcf))));if(_0x14a805){const _0x5f5850=_0x8b5b07(nodeVal(get1(_0x14a805,'color'))),_0x33b3b5=_0x5f5850[0x0],_0x426a89=_0x5f5850[0x1],_0x10ded1=parseFloat(nodeVal(get1(_0x14a805,_0x10a00a(0xa6))));_0x33b3b5&&(_0x3cf321['stroke']=_0x33b3b5),!isNaN(_0x426a89)&&(_0x3cf321[_0x10a00a(0xb0)]=_0x426a89),!isNaN(_0x10ded1)&&(_0x3cf321[_0x10a00a(0xa7)]=_0x10ded1);}if(_0xc152c){const _0x40641b=_0x8b5b07(nodeVal(get1(_0xc152c,'color'))),_0x38e388=_0x40641b[0x0],_0x3d9326=_0x40641b[0x1],_0x26ea3f=nodeVal(get1(_0xc152c,_0x10a00a(0xd0))),_0x26298b=nodeVal(get1(_0xc152c,_0x10a00a(0xcd)));_0x38e388&&(_0x3cf321['fill']=_0x38e388),!isNaN(_0x3d9326)&&(_0x3cf321['fill-opacity']=_0x3d9326),_0x26ea3f&&(_0x3cf321[_0x10a00a(0xda)]=_0x26ea3f==='1'?_0x3cf321[_0x10a00a(0xda)]||0x1:0x0),_0x26298b&&(_0x3cf321[_0x10a00a(0xb0)]=_0x26298b==='1'?_0x3cf321[_0x10a00a(0xb0)]||0x1:0x0);}if(_0xf3ba3a){const _0x29163e=get(_0xf3ba3a,'Data'),_0x3574ba=get(_0xf3ba3a,_0x10a00a(0xe3));for(_0x1f7ea2=0x0;_0x1f7ea2<_0x29163e['length'];_0x1f7ea2++){const _0x2c5885=_0x29163e[_0x1f7ea2][_0x10a00a(0xe5)]('name');let _0x532078=nodeVal(get1(_0x29163e[_0x1f7ea2],_0x10a00a(0xbe)));try{_0x532078=JSON[_0x10a00a(0xe1)](_0x532078);}catch(_0x165f75){}_0x3cf321[_0x2c5885]=_0x532078;}for(_0x1f7ea2=0x0;_0x1f7ea2<_0x3574ba[_0x10a00a(0xc9)];_0x1f7ea2++){const _0x9ba6e3=_0x3574ba[_0x1f7ea2][_0x10a00a(0xe5)](_0x10a00a(0xc3));let _0x4be86a=nodeVal(_0x3574ba[_0x1f7ea2]);try{_0x4be86a=JSON[_0x10a00a(0xe1)](_0x4be86a);}catch(_0x95336a){}_0x3cf321[_0x9ba6e3]=_0x4be86a;}}_0xb7b561&&(_0x3cf321['visibility']=nodeVal(_0xb7b561));_0x11d45c[_0x10a00a(0xd7)][_0x10a00a(0xc9)]&&(_0x3cf321['coordTimes']=_0x11d45c[_0x10a00a(0xd7)][_0x10a00a(0xc9)]===0x1?_0x11d45c[_0x10a00a(0xd7)][0x0]:_0x11d45c[_0x10a00a(0xd7)]);const _0x92697c={'type':_0x10a00a(0xc2),'geometry':_0x11d45c['geoms'][_0x10a00a(0xc9)]===0x1?_0x11d45c[_0x10a00a(0xa3)][0x0]:{'type':_0x10a00a(0xb3),'geometries':_0x11d45c[_0x10a00a(0xa3)]},'properties':_0x3cf321};return attr(_0x27180b,'id')&&(_0x92697c['id']=attr(_0x27180b,'id')),[_0x92697c];}return _0x246e75;}
|
|
1
|
+
function a7_0x35ae(){const _0x1877b6=['coordinates','geoms','name','normal','Data','visibility','outline','xml','textContent','styleHash','MultiTrack','stroke-opacity','Track','gx:MultiTrack','getAttribute','PolyStyle','1334348ZNeXQf','Placemark','description','xmldom','4041408CnlgjR','LinearRing','MultiGeometry','width','coord','coordTimes','158305smfNwN','styleMapHash','fill-opacity','3UEfPOk','split','3EnvXdP','concat','begin','gx:coord','color','stroke-width','fill','value','getElementsByTagName','length','FeatureCollection','Style','parse','end','timespan','styleUrl','81262edDRwH','1328463TWeoCV','normalize','TimeSpan','ExtendedData','88aNoXPG','coords','times','toString','push','object','11415220JLyiCb','features','when','Pair','XMLSerializer','212020NhRvvW','Polygon','LineString','Feature','substr','key','undefined','gx:Track','browser','SimpleData'];a7_0x35ae=function(){return _0x1877b6;};return a7_0x35ae();}const a7_0x50e327=a7_0x5e39;(function(_0x3202b9,_0x998674){const _0x4f25d9=a7_0x5e39,_0x2ebe13=_0x3202b9();while(!![]){try{const _0x1d5229=-parseInt(_0x4f25d9(0x16b))/0x1*(-parseInt(_0x4f25d9(0x134))/0x2)+-parseInt(_0x4f25d9(0x16d))/0x3*(-parseInt(_0x4f25d9(0x15e))/0x4)+-parseInt(_0x4f25d9(0x144))/0x5+parseInt(_0x4f25d9(0x162))/0x6+parseInt(_0x4f25d9(0x168))/0x7*(parseInt(_0x4f25d9(0x139))/0x8)+parseInt(_0x4f25d9(0x135))/0x9+-parseInt(_0x4f25d9(0x13f))/0xa;if(_0x1d5229===_0x998674)break;else _0x2ebe13['push'](_0x2ebe13['shift']());}catch(_0x3baf55){_0x2ebe13['push'](_0x2ebe13['shift']());}}}(a7_0x35ae,0x535f6));const removeSpace=/\s*/g,trimSpace=/^\s*|\s*$/g,splitSpace=/\s+/;function okhash(_0x60f48d){const _0x29041=a7_0x5e39;if(!_0x60f48d||!_0x60f48d[_0x29041(0x12d)])return 0x0;for(var _0x2da8ad=0x0,_0xb756f7=0x0;_0x2da8ad<_0x60f48d[_0x29041(0x12d)];_0x2da8ad++){_0xb756f7=(_0xb756f7<<0x5)-_0xb756f7+_0x60f48d['charCodeAt'](_0x2da8ad)|0x0;}return _0xb756f7;}function get(_0x4917de,_0x3bb5ea){const _0x460ae3=a7_0x5e39;return _0x4917de[_0x460ae3(0x12c)](_0x3bb5ea);}function attr(_0x384bca,_0x31e2e7){const _0x1ba6f5=a7_0x5e39;return _0x384bca[_0x1ba6f5(0x15c)](_0x31e2e7);}function attrf(_0x2bcb91,_0x3790b0){return parseFloat(attr(_0x2bcb91,_0x3790b0));}function get1(_0x3ec3ca,_0x541b95){const _0x2189c9=a7_0x5e39,_0xdcbaa2=get(_0x3ec3ca,_0x541b95);return _0xdcbaa2[_0x2189c9(0x12d)]?_0xdcbaa2[0x0]:null;}function norm(_0x2c1595){const _0xa01b89=a7_0x5e39;return _0x2c1595[_0xa01b89(0x136)]&&_0x2c1595[_0xa01b89(0x136)](),_0x2c1595;}function numarray(_0x29a50b){for(var _0x3a5a6e=0x0,_0x2074f4=[];_0x3a5a6e<_0x29a50b['length'];_0x3a5a6e++){_0x2074f4[_0x3a5a6e]=parseFloat(_0x29a50b[_0x3a5a6e]);}return _0x2074f4;}function nodeVal(_0xdb76a){const _0x419d09=a7_0x5e39;return _0xdb76a&&norm(_0xdb76a),_0xdb76a&&_0xdb76a[_0x419d09(0x156)]||'';}function coord1(_0x2fc536){const _0x210588=a7_0x5e39;return numarray(_0x2fc536['replace'](removeSpace,'')[_0x210588(0x16c)](','));}function a7_0x5e39(_0x23f76e,_0x82bc62){const _0x35ae85=a7_0x35ae();return a7_0x5e39=function(_0x5e3907,_0x199af4){_0x5e3907=_0x5e3907-0x126;let _0x3d763e=_0x35ae85[_0x5e3907];return _0x3d763e;},a7_0x5e39(_0x23f76e,_0x82bc62);}function coord(_0x3f3fa6){const _0x2614dd=a7_0x5e39,_0x5df6da=_0x3f3fa6['replace'](trimSpace,'')[_0x2614dd(0x16c)](splitSpace),_0x2b4dae=[];for(let _0x468606=0x0;_0x468606<_0x5df6da['length'];_0x468606++){_0x2b4dae['push'](coord1(_0x5df6da[_0x468606]));}return _0x2b4dae;}function fc(){const _0xf13a33=a7_0x5e39;return{'type':_0xf13a33(0x12e),'features':[]};}let serializer;if(typeof XMLSerializer!==a7_0x50e327(0x14a))serializer=new XMLSerializer();else typeof exports===a7_0x50e327(0x13e)&&typeof process===a7_0x50e327(0x13e)&&!process[a7_0x50e327(0x14c)]&&(serializer=new(require(a7_0x50e327(0x161)))[(a7_0x50e327(0x143))]());function xml2str(_0x17def9){const _0x301245=a7_0x50e327;if(_0x17def9[_0x301245(0x155)]!==undefined)return _0x17def9[_0x301245(0x155)];return serializer['serializeToString'](_0x17def9);}export function kmlToGeoJSON(_0x1bc480){const _0x14bda=a7_0x50e327,_0x458b01=fc(),_0x94c6b0={},_0x2fc5ce={},_0x2b0467={},_0x462d4b=[_0x14bda(0x145),_0x14bda(0x146),'Point',_0x14bda(0x15a),_0x14bda(0x14b)],_0x5103dc=get(_0x1bc480,_0x14bda(0x15f)),_0x2a1652=get(_0x1bc480,_0x14bda(0x12f)),_0x2aaa4a=get(_0x1bc480,'StyleMap');for(let _0x8d61e4=0x0;_0x8d61e4<_0x2a1652['length'];_0x8d61e4++){const _0x579ac8=okhash(xml2str(_0x2a1652[_0x8d61e4]))[_0x14bda(0x13c)](0x10);_0x94c6b0['#'+attr(_0x2a1652[_0x8d61e4],'id')]=_0x579ac8,_0x2fc5ce[_0x579ac8]=_0x2a1652[_0x8d61e4];}for(let _0x356eac=0x0;_0x356eac<_0x2aaa4a[_0x14bda(0x12d)];_0x356eac++){_0x94c6b0['#'+attr(_0x2aaa4a[_0x356eac],'id')]=okhash(xml2str(_0x2aaa4a[_0x356eac]))[_0x14bda(0x13c)](0x10);const _0x444722=get(_0x2aaa4a[_0x356eac],_0x14bda(0x142)),_0x4c4c6c={};for(let _0x3fe299=0x0;_0x3fe299<_0x444722['length'];_0x3fe299++){_0x4c4c6c[nodeVal(get1(_0x444722[_0x3fe299],_0x14bda(0x149)))]=nodeVal(get1(_0x444722[_0x3fe299],'styleUrl'));}_0x2b0467['#'+attr(_0x2aaa4a[_0x356eac],'id')]=_0x4c4c6c;}for(let _0xf12db4=0x0;_0xf12db4<_0x5103dc[_0x14bda(0x12d)];_0xf12db4++){_0x458b01['features']=_0x458b01[_0x14bda(0x140)][_0x14bda(0x16e)](_0x42b6c7(_0x5103dc[_0xf12db4]));}function _0x4560a4(_0x96867f){const _0x75950c=_0x14bda;let _0x43c181,_0x2cdcb8=0x0;return _0x96867f=_0x96867f||'',_0x96867f['substr'](0x0,0x1)==='#'&&(_0x96867f=_0x96867f[_0x75950c(0x148)](0x1)),(_0x96867f[_0x75950c(0x12d)]===0x6||_0x96867f[_0x75950c(0x12d)]===0x3)&&(_0x43c181=_0x96867f),_0x96867f['length']===0x8&&(_0x2cdcb8=parseInt(_0x96867f[_0x75950c(0x148)](0x0,0x2),0x10)/0xff,_0x43c181='#'+_0x96867f[_0x75950c(0x148)](0x6,0x2)+_0x96867f[_0x75950c(0x148)](0x4,0x2)+_0x96867f[_0x75950c(0x148)](0x2,0x2)),[_0x43c181,isNaN(_0x2cdcb8)?undefined:_0x2cdcb8];}function _0x5491ed(_0xbaa4fc){const _0x385a6a=_0x14bda;return numarray(_0xbaa4fc[_0x385a6a(0x16c)]('\x20'));}function _0x395478(_0xbfb77a){const _0x2c7d90=_0x14bda;let _0x3d497a=get(_0xbfb77a,_0x2c7d90(0x166));const _0x715952=[],_0x5f0853=[];_0x3d497a['length']===0x0&&(_0x3d497a=get(_0xbfb77a,_0x2c7d90(0x127)));for(let _0x3f12ac=0x0;_0x3f12ac<_0x3d497a[_0x2c7d90(0x12d)];_0x3f12ac++){_0x715952[_0x2c7d90(0x13d)](_0x5491ed(nodeVal(_0x3d497a[_0x3f12ac])));}const _0x2f5ca2=get(_0xbfb77a,_0x2c7d90(0x141));for(let _0x2f6999=0x0;_0x2f6999<_0x2f5ca2[_0x2c7d90(0x12d)];_0x2f6999++){_0x5f0853[_0x2c7d90(0x13d)](nodeVal(_0x2f5ca2[_0x2f6999]));}return{'coords':_0x715952,'times':_0x5f0853};}function _0xfefed8(_0x39fad1){const _0x578152=_0x14bda;let _0x2c6240,_0x3f4d98,_0x39c980,_0x158f81,_0x202d72;const _0x59fd99=[],_0x29513b=[];if(get1(_0x39fad1,'MultiGeometry'))return _0xfefed8(get1(_0x39fad1,_0x578152(0x164)));if(get1(_0x39fad1,_0x578152(0x158)))return _0xfefed8(get1(_0x39fad1,_0x578152(0x158)));if(get1(_0x39fad1,_0x578152(0x15b)))return _0xfefed8(get1(_0x39fad1,_0x578152(0x15b)));for(_0x39c980=0x0;_0x39c980<_0x462d4b[_0x578152(0x12d)];_0x39c980++){_0x3f4d98=get(_0x39fad1,_0x462d4b[_0x39c980]);if(_0x3f4d98)for(_0x158f81=0x0;_0x158f81<_0x3f4d98[_0x578152(0x12d)];_0x158f81++){_0x2c6240=_0x3f4d98[_0x158f81];if(_0x462d4b[_0x39c980]==='Point')_0x59fd99['push']({'type':'Point','coordinates':coord1(nodeVal(get1(_0x2c6240,_0x578152(0x14e))))});else{if(_0x462d4b[_0x39c980]===_0x578152(0x146))_0x59fd99[_0x578152(0x13d)]({'type':_0x578152(0x146),'coordinates':coord(nodeVal(get1(_0x2c6240,_0x578152(0x14e))))});else{if(_0x462d4b[_0x39c980]===_0x578152(0x145)){const _0x30236e=get(_0x2c6240,_0x578152(0x163)),_0x4b1bc5=[];for(_0x202d72=0x0;_0x202d72<_0x30236e[_0x578152(0x12d)];_0x202d72++){_0x4b1bc5[_0x578152(0x13d)](coord(nodeVal(get1(_0x30236e[_0x202d72],_0x578152(0x14e)))));}_0x59fd99[_0x578152(0x13d)]({'type':_0x578152(0x145),'coordinates':_0x4b1bc5});}else{if(_0x462d4b[_0x39c980]==='Track'||_0x462d4b[_0x39c980]===_0x578152(0x14b)){const _0x2b0070=_0x395478(_0x2c6240);_0x59fd99['push']({'type':_0x578152(0x146),'coordinates':_0x2b0070[_0x578152(0x13a)]}),_0x2b0070[_0x578152(0x13b)][_0x578152(0x12d)]&&_0x29513b[_0x578152(0x13d)](_0x2b0070[_0x578152(0x13b)]);}}}}}}return{'geoms':_0x59fd99,'coordTimes':_0x29513b};}function _0x42b6c7(_0x4504f1){const _0x77bc45=_0x14bda,_0x459753=_0xfefed8(_0x4504f1);let _0x465e34;const _0x395ccf={},_0x1454be=nodeVal(get1(_0x4504f1,_0x77bc45(0x150)));let _0x47042c=nodeVal(get1(_0x4504f1,'styleUrl'));const _0xc2a7c0=nodeVal(get1(_0x4504f1,_0x77bc45(0x160))),_0x74ff3a=get1(_0x4504f1,_0x77bc45(0x137)),_0x130567=get1(_0x4504f1,'TimeStamp'),_0x55bd63=get1(_0x4504f1,_0x77bc45(0x138));let _0x14ae80=get1(_0x4504f1,'LineStyle'),_0x661d63=get1(_0x4504f1,_0x77bc45(0x15d));const _0x4c7c37=get1(_0x4504f1,_0x77bc45(0x153));if(!_0x459753[_0x77bc45(0x14f)][_0x77bc45(0x12d)])return[];_0x1454be&&(_0x395ccf['name']=_0x1454be);if(_0x47042c){_0x47042c[0x0]!=='#'&&(_0x47042c='#'+_0x47042c);_0x395ccf[_0x77bc45(0x133)]=_0x47042c;_0x94c6b0[_0x47042c]&&(_0x395ccf[_0x77bc45(0x157)]=_0x94c6b0[_0x47042c]);_0x2b0467[_0x47042c]&&(_0x395ccf[_0x77bc45(0x169)]=_0x2b0467[_0x47042c],_0x395ccf[_0x77bc45(0x157)]=_0x94c6b0[_0x2b0467[_0x47042c][_0x77bc45(0x151)]]);const _0x4eec5f=_0x2fc5ce[_0x395ccf['styleHash']];_0x4eec5f&&(!_0x14ae80&&(_0x14ae80=get1(_0x4eec5f,'LineStyle')),!_0x661d63&&(_0x661d63=get1(_0x4eec5f,_0x77bc45(0x15d))));}_0xc2a7c0&&(_0x395ccf[_0x77bc45(0x160)]=_0xc2a7c0);if(_0x74ff3a){const _0x3afcae=nodeVal(get1(_0x74ff3a,_0x77bc45(0x126))),_0x4a6d30=nodeVal(get1(_0x74ff3a,_0x77bc45(0x131)));_0x395ccf[_0x77bc45(0x132)]={'begin':_0x3afcae,'end':_0x4a6d30};}_0x130567&&(_0x395ccf['timestamp']=nodeVal(get1(_0x130567,_0x77bc45(0x141))));if(_0x14ae80){const _0x3ca460=_0x4560a4(nodeVal(get1(_0x14ae80,_0x77bc45(0x128)))),_0x16174b=_0x3ca460[0x0],_0x10ea9c=_0x3ca460[0x1],_0x194f21=parseFloat(nodeVal(get1(_0x14ae80,_0x77bc45(0x165))));_0x16174b&&(_0x395ccf['stroke']=_0x16174b),!isNaN(_0x10ea9c)&&(_0x395ccf[_0x77bc45(0x159)]=_0x10ea9c),!isNaN(_0x194f21)&&(_0x395ccf[_0x77bc45(0x129)]=_0x194f21);}if(_0x661d63){const _0x56749e=_0x4560a4(nodeVal(get1(_0x661d63,_0x77bc45(0x128)))),_0x3954a2=_0x56749e[0x0],_0x12fe0c=_0x56749e[0x1],_0x4b932e=nodeVal(get1(_0x661d63,_0x77bc45(0x12a))),_0x2aa929=nodeVal(get1(_0x661d63,_0x77bc45(0x154)));_0x3954a2&&(_0x395ccf['fill']=_0x3954a2),!isNaN(_0x12fe0c)&&(_0x395ccf[_0x77bc45(0x16a)]=_0x12fe0c),_0x4b932e&&(_0x395ccf[_0x77bc45(0x16a)]=_0x4b932e==='1'?_0x395ccf[_0x77bc45(0x16a)]||0x1:0x0),_0x2aa929&&(_0x395ccf[_0x77bc45(0x159)]=_0x2aa929==='1'?_0x395ccf[_0x77bc45(0x159)]||0x1:0x0);}if(_0x55bd63){const _0x1d6ab0=get(_0x55bd63,_0x77bc45(0x152)),_0x21969a=get(_0x55bd63,_0x77bc45(0x14d));for(_0x465e34=0x0;_0x465e34<_0x1d6ab0[_0x77bc45(0x12d)];_0x465e34++){const _0x4b49dc=_0x1d6ab0[_0x465e34][_0x77bc45(0x15c)](_0x77bc45(0x150));let _0x291a66=nodeVal(get1(_0x1d6ab0[_0x465e34],_0x77bc45(0x12b)));try{_0x291a66=JSON[_0x77bc45(0x130)](_0x291a66);}catch(_0x37feca){}_0x395ccf[_0x4b49dc]=_0x291a66;}for(_0x465e34=0x0;_0x465e34<_0x21969a[_0x77bc45(0x12d)];_0x465e34++){const _0x3801fd=_0x21969a[_0x465e34]['getAttribute']('name');let _0x50fcb6=nodeVal(_0x21969a[_0x465e34]);try{_0x50fcb6=JSON[_0x77bc45(0x130)](_0x50fcb6);}catch(_0x5a0404){}_0x395ccf[_0x3801fd]=_0x50fcb6;}}_0x4c7c37&&(_0x395ccf[_0x77bc45(0x153)]=nodeVal(_0x4c7c37));_0x459753[_0x77bc45(0x167)][_0x77bc45(0x12d)]&&(_0x395ccf[_0x77bc45(0x167)]=_0x459753[_0x77bc45(0x167)][_0x77bc45(0x12d)]===0x1?_0x459753[_0x77bc45(0x167)][0x0]:_0x459753[_0x77bc45(0x167)]);const _0x1724d8={'type':_0x77bc45(0x147),'geometry':_0x459753[_0x77bc45(0x14f)][_0x77bc45(0x12d)]===0x1?_0x459753['geoms'][0x0]:{'type':'GeometryCollection','geometries':_0x459753[_0x77bc45(0x14f)]},'properties':_0x395ccf};return attr(_0x4504f1,'id')&&(_0x1724d8['id']=attr(_0x4504f1,'id')),[_0x1724d8];}return _0x458b01;}
|
package/entity/Feature.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x33a833,_0x30e8f3){var _0x5a3539=a9_0x2ff1,_0x22799d=_0x33a833();while(!![]){try{var _0x363518=-parseInt(_0x5a3539(0xf0))/0x1+-parseInt(_0x5a3539(0xee))/0x2+parseInt(_0x5a3539(0xf2))/0x3+parseInt(_0x5a3539(0xed))/0x4*(parseInt(_0x5a3539(0xea))/0x5)+-parseInt(_0x5a3539(0xeb))/0x6*(parseInt(_0x5a3539(0xec))/0x7)+-parseInt(_0x5a3539(0xf1))/0x8+parseInt(_0x5a3539(0xe9))/0x9*(-parseInt(_0x5a3539(0xef))/0xa);if(_0x363518===_0x30e8f3)break;else _0x22799d['push'](_0x22799d['shift']());}catch(_0x2899a9){_0x22799d['push'](_0x22799d['shift']());}}}(a9_0x49ff,0xd0ee5));function a9_0x2ff1(_0x550b06,_0xb67be5){var _0x49fffa=a9_0x49ff();return a9_0x2ff1=function(_0x2ff1f7,_0x286230){_0x2ff1f7=_0x2ff1f7-0xe9;var _0x19cd05=_0x49fffa[_0x2ff1f7];return _0x19cd05;},a9_0x2ff1(_0x550b06,_0xb67be5);}import{Feature as a9_0x5d4b14}from'ol';function a9_0x49ff(){var _0x20c2ec=['744068MafbsG','616426nfYpSd','20GAYPWB','1233078BSLRCm','6008504MnAwId','5095821Mtrzli','895383uWfhPS','45WbIugG','678FJYDra','1589VIIivg'];a9_0x49ff=function(){return _0x20c2ec;};return a9_0x49ff();}export default class Feature extends a9_0x5d4b14{constructor(){super();}}
|
package/entity/GeometryType.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a10_0x46f054=a10_0x22e3;(function(_0x368ebd,_0x2a06bb){var _0x319a07=a10_0x22e3,_0x8535e5=_0x368ebd();while(!![]){try{var _0x14cab7=-parseInt(_0x319a07(0xe3))/0x1*(-parseInt(_0x319a07(0xd3))/0x2)+-parseInt(_0x319a07(0xd2))/0x3+parseInt(_0x319a07(0xe7))/0x4*(-parseInt(_0x319a07(0xdf))/0x5)+-parseInt(_0x319a07(0xd0))/0x6+-parseInt(_0x319a07(0xe4))/0x7+parseInt(_0x319a07(0xcb))/0x8+parseInt(_0x319a07(0xcf))/0x9*(parseInt(_0x319a07(0xe5))/0xa);if(_0x14cab7===_0x2a06bb)break;else _0x8535e5['push'](_0x8535e5['shift']());}catch(_0x84b4bc){_0x8535e5['push'](_0x8535e5['shift']());}}}(a10_0x276c,0xa8bdd));class GeometryType{}GeometryType['Point']=a10_0x46f054(0xde),GeometryType[a10_0x46f054(0xd1)]='polyline',GeometryType[a10_0x46f054(0xd8)]='polygon',GeometryType[a10_0x46f054(0xd7)]=a10_0x46f054(0xe0),GeometryType[a10_0x46f054(0xd4)]=a10_0x46f054(0xce),GeometryType[a10_0x46f054(0xcc)]=a10_0x46f054(0xe6),GeometryType[a10_0x46f054(0xe1)]='ellipse',GeometryType['Ellipsoid']=a10_0x46f054(0xe2),GeometryType[a10_0x46f054(0xda)]=a10_0x46f054(0xdc),GeometryType[a10_0x46f054(0xd5)]=a10_0x46f054(0xd6),GeometryType[a10_0x46f054(0xdd)]='arrow_pincerlike',GeometryType['AssemblySite']=a10_0x46f054(0xdb),GeometryType[a10_0x46f054(0xd9)]=a10_0x46f054(0xcd);function a10_0x22e3(_0x5b7110,_0x433df0){var _0x276c92=a10_0x276c();return a10_0x22e3=function(_0x22e3d9,_0x5d6f0){_0x22e3d9=_0x22e3d9-0xcb;var _0x46688c=_0x276c92[_0x22e3d9];return _0x46688c;},a10_0x22e3(_0x5b7110,_0x433df0);}function a10_0x276c(){var _0x2fc32a=['538554zFLZiL','Circle','ArrowAttack','arrow_attack','Rectangle','Polygon','SurfaceClosed','Arrow','assembly_site','arrow','ArrowPincerlike','point','2324090JXBIPJ','rectangle','Ellipse','ellipsoid','1DoFvmx','6400618KVyXQf','200bKPZhk','curve','4MZslre','5283728HjLUBe','Curve','surface-closed','circle','1272276CPjmeO','3684798wgqkCI','PolyLine','3217599RmHtID'];a10_0x276c=function(){return _0x2fc32a;};return a10_0x276c();}export default GeometryType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a27_0x4db72d=a27_0x3a89;(function(_0x20a132,_0x35928c){const _0x3a7474=a27_0x3a89,_0x1e8a4b=_0x20a132();while(!![]){try{const _0x5b483c=parseInt(_0x3a7474(0x1ba))/0x1+parseInt(_0x3a7474(0x1a8))/0x2*(parseInt(_0x3a7474(0x1b9))/0x3)+-parseInt(_0x3a7474(0x1ad))/0x4*(parseInt(_0x3a7474(0x1af))/0x5)+-parseInt(_0x3a7474(0x1b5))/0x6+parseInt(_0x3a7474(0x1a9))/0x7+-parseInt(_0x3a7474(0x1bc))/0x8+-parseInt(_0x3a7474(0x1a7))/0x9*(-parseInt(_0x3a7474(0x1a5))/0xa);if(_0x5b483c===_0x35928c)break;else _0x1e8a4b['push'](_0x1e8a4b['shift']());}catch(_0x910246){_0x1e8a4b['push'](_0x1e8a4b['shift']());}}}(a27_0x1759,0xe5216));function a27_0x1759(){const _0xe1b201=['map','flashFeatures','addFeatures','setVisible','layerId','readFeature','filter','getTempSelectedFeatures','tempLayer','7090910YBPFaF','removeFeature','18aAwXer','1289102lqsfLf','366037VfqwSx','layerInfo','tag','getVisible','4uLlPZD','kmlImport','7188465WMXCHw','getLayersById','getFeatures','getLineTempLayer','removeLayer','isSelected','3059046rurYKL','forEach','getSelectedFeatures','push','3Mflxao','1280198qacbUG','getSource','4073360kwODuK'];a27_0x1759=function(){return _0xe1b201;};return a27_0x1759();}import a27_0x3a612f from'ol/layer/Vector';import a27_0x1428f4 from'ol/source/Vector';import{toGeoJSON}from'../conver/kml/index';import a27_0x4e511e from'ol/format/GeoJSON';function a27_0x3a89(_0x15a3f0,_0x3c5984){const _0x1759d3=a27_0x1759();return a27_0x3a89=function(_0x3a8969,_0x1b0a05){_0x3a8969=_0x3a8969-0x1a0;let _0x155fac=_0x1759d3[_0x3a8969];return _0x155fac;},a27_0x3a89(_0x15a3f0,_0x3c5984);}export default class FeatureManager{constructor(_0x4ad3f7){const _0x1c6654=a27_0x3a89;this[_0x1c6654(0x1bd)]=_0x4ad3f7;}[a27_0x4db72d(0x1b7)](_0x68228,_0x2f494c){const _0x3058cc=a27_0x4db72d;if(_0x68228){const _0xea4492=this['map'][_0x3058cc(0x1b0)](_0x68228);if(!_0xea4492||!_0xea4492[_0x3058cc(0x1aa)])return;let _0x83e9fd;switch(_0xea4492['layerInfo']['geometryType']){case 0x1:_0x83e9fd=this[_0x3058cc(0x1a3)](this[_0x3058cc(0x1bd)]['getPointTempLayer'](),_0x68228,_0x2f494c);break;case 0x2:_0x83e9fd=this[_0x3058cc(0x1a3)](this[_0x3058cc(0x1bd)][_0x3058cc(0x1b2)](),_0x68228,_0x2f494c);break;case 0x3:_0x83e9fd=this[_0x3058cc(0x1a3)](this[_0x3058cc(0x1bd)]['getPolygonTempLayer'](),_0x68228,_0x2f494c);break;default:break;}return _0x83e9fd;}else{const _0x69760a=this[_0x3058cc(0x1a3)](this[_0x3058cc(0x1bd)]['getPointTempLayer'](),_0x68228,_0x2f494c),_0x3ca0bf=this['getTempSelectedFeatures'](this['map'][_0x3058cc(0x1b2)](),_0x68228,_0x2f494c),_0x394aa9=this[_0x3058cc(0x1a3)](this[_0x3058cc(0x1bd)]['getPolygonTempLayer'](),_0x68228,_0x2f494c);let _0x26a644=[];return _0x69760a&&(_0x26a644=[..._0x26a644,..._0x69760a]),_0x3ca0bf&&(_0x26a644=[..._0x26a644,..._0x3ca0bf]),_0x394aa9&&(_0x26a644=[..._0x26a644,..._0x394aa9]),_0x26a644;}}['getTempSelectedFeatures'](_0x3ba1c6,_0x5d32ca,_0x1ec2e3){const _0x244954=a27_0x4db72d;var _0x45a48b;let _0x21f522=(_0x45a48b=_0x3ba1c6[_0x244954(0x1bb)]())===null||_0x45a48b===void 0x0?void 0x0:_0x45a48b[_0x244954(0x1b1)]();if(!_0x21f522)return;_0x21f522[_0x244954(0x1b6)]((_0x36ab1e,_0x20540d,_0x1ce658)=>{_0x36ab1e['tempLayer']=_0x3ba1c6;});_0x1ec2e3!=undefined&&(_0x21f522=_0x21f522[_0x244954(0x1a2)](_0x1f1a52=>_0x1f1a52[_0x244954(0x1b4)]==_0x1ec2e3));if(_0x5d32ca)return _0x21f522[_0x244954(0x1a2)](_0x536ec1=>_0x536ec1[_0x244954(0x1a0)]==_0x5d32ca);return _0x21f522;}[a27_0x4db72d(0x1be)](_0x2446d1,_0x570938=0x3){const _0x15e911=a27_0x4db72d;var _0x56b075;let _0x50a6d4=new a27_0x3a612f({'zIndex':0x270f,'source':new a27_0x1428f4()});_0x50a6d4['id']='flash_layer',this['map']['addLayer'](_0x50a6d4,![]),(_0x56b075=_0x50a6d4[_0x15e911(0x1bb)]())===null||_0x56b075===void 0x0?void 0x0:_0x56b075[_0x15e911(0x1bf)](_0x2446d1);let _0x4ea6d0=0x0,_0x31ff78=setInterval(()=>{const _0x12616e=_0x15e911;if(_0x4ea6d0===_0x570938){_0x31ff78&&clearInterval(_0x31ff78);const _0x4e74b9=this[_0x12616e(0x1bd)][_0x12616e(0x1b0)](_0x50a6d4['id']);_0x4e74b9&&this['map'][_0x12616e(0x1b3)](_0x4e74b9);return;}if(_0x50a6d4[_0x12616e(0x1ac)]())_0x50a6d4[_0x12616e(0x1c0)](![]);else _0x50a6d4[_0x12616e(0x1c0)](!![]);_0x4ea6d0++;},0x190);}async[a27_0x4db72d(0x1ae)](_0x122f44){const _0x413a0d=a27_0x4db72d;let _0x2090a1=await toGeoJSON(_0x122f44,null);if(!_0x2090a1)return[];let _0x5714f1=[];var _0xd6d12c=new a27_0x4e511e();return _0x2090a1['features'][_0x413a0d(0x1b6)](_0x1de6c1=>{const _0x44bb04=_0x413a0d;_0x5714f1[_0x44bb04(0x1b8)](_0xd6d12c[_0x44bb04(0x1a1)](_0x1de6c1,null));}),_0x5714f1;}['clearTempFeatures'](_0x1796b6){const _0x5c49ac=a27_0x4db72d,_0x22bfc9=this[_0x5c49ac(0x1b7)]();if(_0x22bfc9&&_0x22bfc9['length']>0x0)for(const _0x2c1b7b of _0x22bfc9){if(_0x2c1b7b&&_0x2c1b7b[_0x5c49ac(0x1a4)]){const _0xe24297=_0x2c1b7b[_0x5c49ac(0x1a4)][_0x5c49ac(0x1bb)]();_0xe24297&&(_0x1796b6!=undefined?_0x2c1b7b[_0x5c49ac(0x1ab)]==_0x1796b6&&_0xe24297[_0x5c49ac(0x1a6)](_0x2c1b7b):_0xe24297[_0x5c49ac(0x1a6)](_0x2c1b7b));}}}}
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a28_0x54f7(_0x46d14e,_0x54cb4f){var _0x3eacf9=a28_0x3eac();return a28_0x54f7=function(_0x54f778,_0x264595){_0x54f778=_0x54f778-0x1bf;var _0x3a82d4=_0x3eacf9[_0x54f778];return _0x3a82d4;},a28_0x54f7(_0x46d14e,_0x54cb4f);}(function(_0x44d736,_0x59a857){var _0x219d31=a28_0x54f7,_0x1eb269=_0x44d736();while(!![]){try{var _0x53ca69=parseInt(_0x219d31(0x1c1))/0x1*(-parseInt(_0x219d31(0x1c0))/0x2)+-parseInt(_0x219d31(0x1c9))/0x3+-parseInt(_0x219d31(0x1c4))/0x4+-parseInt(_0x219d31(0x1c2))/0x5*(-parseInt(_0x219d31(0x1c8))/0x6)+parseInt(_0x219d31(0x1c7))/0x7*(-parseInt(_0x219d31(0x1bf))/0x8)+-parseInt(_0x219d31(0x1c5))/0x9+-parseInt(_0x219d31(0x1c3))/0xa*(-parseInt(_0x219d31(0x1c6))/0xb);if(_0x53ca69===_0x59a857)break;else _0x1eb269['push'](_0x1eb269['shift']());}catch(_0x1b7c05){_0x1eb269['push'](_0x1eb269['shift']());}}}(a28_0x3eac,0x84266));function a28_0x3eac(){var _0x134ae2=['1417768GzXiBe','472969ucCbwW','48PLRpQD','136242CXhqRL','8piuQfs','407522thDttt','1CGcTzc','620970YpoDka','40TjWNao','1622808DydGEj','2208366LnIuHw'];a28_0x3eac=function(){return _0x134ae2;};return a28_0x3eac();}import a28_0x2c05c8 from'./mapView/Map';export{a28_0x2c05c8 as Map2D};
|