ym-gis-2d 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/feature/FeatureManager.js +1 -1
  12. package/index.js +1 -1
  13. package/interaction/Draw.js +1 -1
  14. package/interaction/InteractionManager.js +1 -1
  15. package/interaction/Select.js +1 -1
  16. package/layers/ArcgisDynamicLayer.js +1 -1
  17. package/layers/ArcgisFeatureLayer.js +1 -1
  18. package/layers/ArcgisTileLayer.js +1 -1
  19. package/layers/ArcgisWMSLayer.js +1 -1
  20. package/layers/ArcgisWMTSLayer.js +1 -1
  21. package/layers/GeoserverVectorTile.js +1 -1
  22. package/layers/GeoserverWFSLayer.js +1 -1
  23. package/layers/GeoserverWMSLayer.js +1 -1
  24. package/layers/GeoserverWMTSLayer.js +1 -1
  25. package/layers/LayerManager.js +1 -1
  26. package/layers/TDTLayer.js +1 -1
  27. package/mapView/Map.d.ts +2 -2
  28. package/mapView/Map.d.ts.map +1 -1
  29. package/mapView/Map.js +1 -1
  30. package/mapView/Map.js.map +1 -1
  31. package/mapView/View.js +1 -1
  32. package/package.json +1 -1
  33. package/plot/Plot.js +1 -1
  34. package/plot/geometry/point/Point.js +1 -1
  35. package/plot/geometry/polygon/BasePolygon.js +1 -1
  36. package/plot/geometry/polygon/Circle.js +1 -1
  37. package/plot/geometry/polygon/Polygon.js +1 -1
  38. package/plot/geometry/polygon/RectAngle.js +1 -1
  39. package/plot/geometry/polyline/BaseLine.js +1 -1
  40. package/plot/geometry/polyline/Polyline.js +1 -1
  41. package/style/PointStyleFormat.js +1 -1
  42. package/style/PolygonStyleFormat.js +1 -1
  43. package/style/PolylineStyleFormat.js +1 -1
  44. package/style/StyleManager.js +1 -1
  45. package/style/common.js +1 -1
  46. package/utils/ArrayUtil.js +1 -1
  47. package/utils/AxiosUtil.js +1 -1
  48. package/utils/EsriUtil.js +1 -1
  49. package/utils/GeometryUtil.js +1 -1
  50. package/utils/LayerUtil.js +1 -1
  51. package/utils/RegisterProjUtil.js +1 -1
  52. package/utils/ResolutionUtil.js +1 -1
  53. package/utils/StringUtil.js +1 -1
  54. package/utils/StyleUtil.js +1 -1
  55. package/utils/UrlUtil.js +1 -1
  56. package/utils/XmlUtil.js +1 -1
  57. package/utils/format/CQL.js +1 -1
  58. package/utils/format/IsMatchCql.js +1 -1
  59. package/utils/plug/canvas/ImageCache.js +1 -1
  60. package/utils/plug/canvas/PinBuilder.js +1 -1
  61. package/utils/plug/canvas/PinIcon.js +1 -1
  62. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  63. package/utils/tasks/esri/Identify.js +1 -1
  64. package/utils/tasks/esri/Query.js +1 -1
  65. package/utils/tasks/esri/Task.js +1 -1
  66. package/utils/tasks/geoserver/QueryTask.js +1 -1
  67. package/utils/tasks/index.js +1 -1
  68. package/ym-gis-2d.es.js +1 -1
  69. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- (function(_0x23a9b4,_0x1104bc){const _0x38a811=a65_0x5e90,_0x3247b1=_0x23a9b4();while(!![]){try{const _0x5397ef=-parseInt(_0x38a811(0xea))/0x1*(-parseInt(_0x38a811(0xe4))/0x2)+parseInt(_0x38a811(0xd2))/0x3*(parseInt(_0x38a811(0xee))/0x4)+parseInt(_0x38a811(0xd6))/0x5*(parseInt(_0x38a811(0xcc))/0x6)+parseInt(_0x38a811(0xfb))/0x7+-parseInt(_0x38a811(0xe0))/0x8*(parseInt(_0x38a811(0xe1))/0x9)+parseInt(_0x38a811(0xda))/0xa+parseInt(_0x38a811(0xdb))/0xb*(-parseInt(_0x38a811(0xe5))/0xc);if(_0x5397ef===_0x1104bc)break;else _0x3247b1['push'](_0x3247b1['shift']());}catch(_0x9fda2d){_0x3247b1['push'](_0x3247b1['shift']());}}}(a65_0x5c87,0x2ed1d));import{createTextStyle,getColor}from'./common';function a65_0x5e90(_0x7bb010,_0x4842c6){const _0x5c87a1=a65_0x5c87();return a65_0x5e90=function(_0x5e9022,_0x501a3b){_0x5e9022=_0x5e9022-0xcb;let _0x57b33=_0x5c87a1[_0x5e9022];return _0x57b33;},a65_0x5e90(_0x7bb010,_0x4842c6);}import{Stroke,Style}from'ol/style';function a65_0x5c87(){const _0x5366dc=['569418exJRGI','save','lineWidth','setRenderer','5cVXuBT','getType','glowPower','white','1329170bmWtDu','11rKSeym','pow','outlineColor','moveTo','atan2','72YdJjeS','22266ofOEdv','getGeometry','outlineOpacity','126058hjAojq','7749240fbVWce','toString','context','cos','outlineWidth','2qpWSRv','strokeStyle','dash','width','8brLyms','label','lineCap','shadowBlur','outline','stroke','push','arrow','MultiLineString','getFlatMidpoints','shadowColor','restore','glow','1217223PmZLCq','concat','color','opacity','length','lineType','LineString','283998tGPFLM','lineTo','beginPath','butt','closed','getFlatMidpoint'];a65_0x5c87=function(){return _0x5366dc;};return a65_0x5c87();}import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x20ebea,_0x47278f,_0x3d9293,_0x10b4b5){const _0x2b5d32=a65_0x5e90;var _0x5df556,_0x2f10a7,_0x1ebf93;let _0x3d7b56=(_0x5df556=_0x20ebea['zIndex'])!==null&&_0x5df556!==void 0x0?_0x5df556:0x0;const _0x28e99b=_0x26edbd=>{const _0x20affb=a65_0x5e90;var _0x251d25=_0x26edbd[_0x20affb(0xe2)]();if(_0x251d25)return _getRealPolyline(_0x251d25,_0x20ebea);return _0x251d25;},_0x581a7e=_0x18c429=>{const _0x35c33c=a65_0x5e90;var _0x3ce333=_0x18c429['getGeometry']();let _0x21a84c=_0x3ce333;_0x3ce333&&(_0x21a84c=_getRealPolyline(_0x3ce333,_0x20ebea));if(_0x21a84c&&_0x21a84c[_0x35c33c(0xd7)]()===_0x35c33c(0xcb))return new Point(_0x21a84c[_0x35c33c(0xd1)]());else{let _0x2e41e2=_0x21a84c[_0x35c33c(0xf7)](),_0x4bbddc=0x2,_0x4f10c0=[];for(let _0x375170=0x0,_0x530910=_0x2e41e2['length'];_0x375170<_0x530910;_0x375170+=_0x4bbddc){let _0x406454=[_0x2e41e2[_0x375170],_0x2e41e2[_0x375170+0x1]];_0x4f10c0[_0x35c33c(0xf4)](_0x406454);}return new MultiPoint(_0x4f10c0);}};let _0x1c356e=new Style({'geometry':_0x28e99b,'stroke':new Stroke({'color':getColor(_0x20ebea[_0x2b5d32(0xfd)],_0x20ebea[_0x2b5d32(0xfe)]),'width':_0x20ebea[_0x2b5d32(0xed)]}),'zIndex':_0x3d7b56}),_0x317cb6=[_0x1c356e];if(_0x20ebea['lineType']===_0x2b5d32(0xec)){let _0x4af102=_0x20ebea[_0x2b5d32(0xe9)]/0x2,_0x15673b=new Style({'geometry':_0x28e99b,'zIndex':_0x3d7b56,'stroke':new Stroke({'color':getColor(_0x20ebea[_0x2b5d32(0xfd)],_0x20ebea[_0x2b5d32(0xfe)]),'width':_0x20ebea['width'],'lineCap':'butt','lineDash':[_0x4af102,_0x4af102]})}),_0x2c74b9=new Style({'geometry':_0x28e99b,'zIndex':_0x3d7b56+0.5,'stroke':new Stroke({'color':getColor(_0x20ebea[_0x2b5d32(0xdd)],Number((_0x1ebf93=(_0x2f10a7=_0x20ebea[_0x2b5d32(0xe3)])!==null&&_0x2f10a7!==void 0x0?_0x2f10a7:_0x20ebea[_0x2b5d32(0xfe)])!==null&&_0x1ebf93!==void 0x0?_0x1ebf93:0x1)),'width':_0x20ebea[_0x2b5d32(0xed)],'lineCap':_0x2b5d32(0xcf),'lineDash':[_0x4af102,_0x4af102],'lineDashOffset':_0x4af102})});_0x317cb6=[_0x15673b,_0x2c74b9];}_0x20ebea[_0x2b5d32(0x100)]===_0x2b5d32(0xf5)&&_0x1c356e[_0x2b5d32(0xd5)]((_0xe44d62,_0x253f2f)=>{const _0x59d9ae=_0x2b5d32;let _0x46877a=_0x253f2f[_0x59d9ae(0xe7)],_0x15d719=parseInt((_0x20ebea[_0x59d9ae(0xed)]/0x4)[_0x59d9ae(0xe6)]()),_0x5a51c0=0xa,_0x2cb014=Math['sqrt'](Math[_0x59d9ae(0xdc)](_0x5a51c0,0x2)+Math['pow'](_0x20ebea[_0x59d9ae(0xed)]/0x2,0x2)),_0x25f391=0x2d,_0x977208=_0xe44d62[_0xe44d62[_0x59d9ae(0xff)]-0x2][0x0],_0x719e37=_0xe44d62[_0xe44d62[_0x59d9ae(0xff)]-0x2][0x1],_0x353da6=_0xe44d62[_0xe44d62[_0x59d9ae(0xff)]-0x1][0x0],_0x19de9b=_0xe44d62[_0xe44d62[_0x59d9ae(0xff)]-0x1][0x1],_0x4c2025=Math[_0x59d9ae(0xdf)](_0x719e37-_0x19de9b,_0x977208-_0x353da6)*0xb4/Math['PI'],_0x184427=(_0x4c2025+_0x25f391)*Math['PI']/0xb4,_0x1d5480=(_0x4c2025-_0x25f391)*Math['PI']/0xb4,_0x71b7cc=_0x2cb014*Math[_0x59d9ae(0xe8)](_0x184427),_0x2991fb=_0x2cb014*Math['sin'](_0x184427),_0x40aaa1=_0x2cb014*Math[_0x59d9ae(0xe8)](_0x1d5480),_0x455598=_0x2cb014*Math['sin'](_0x1d5480);_0x46877a['save'](),_0x46877a[_0x59d9ae(0xce)]();let _0x3361da,_0x5da010;for(let _0x6a7ecf=0x0;_0x6a7ecf<_0xe44d62['length'];_0x6a7ecf++){_0x6a7ecf===0x0?_0x46877a[_0x59d9ae(0xde)](_0xe44d62[_0x6a7ecf][0x0],_0xe44d62[_0x6a7ecf][0x1]):_0x46877a[_0x59d9ae(0xcd)](_0xe44d62[_0x6a7ecf][0x0],_0xe44d62[_0x6a7ecf][0x1]);}_0x46877a['strokeStyle']=getColor(_0x20ebea[_0x59d9ae(0xfd)],_0x20ebea[_0x59d9ae(0xfe)]),_0x46877a[_0x59d9ae(0xd4)]=_0x15d719,_0x46877a['lineCap']=_0x59d9ae(0xcf),_0x46877a['stroke'](),_0x3361da=_0x353da6+_0x71b7cc,_0x5da010=_0x19de9b+_0x2991fb,_0x46877a[_0x59d9ae(0xde)](_0x3361da,_0x5da010),_0x46877a[_0x59d9ae(0xcd)](_0x353da6,_0x19de9b),_0x3361da=_0x353da6+_0x40aaa1,_0x5da010=_0x19de9b+_0x455598,_0x46877a['lineTo'](_0x3361da,_0x5da010),_0x46877a[_0x59d9ae(0xf0)]=_0x59d9ae(0xcf),_0x46877a[_0x59d9ae(0xf3)](),_0x46877a[_0x59d9ae(0xf9)]();});_0x20ebea['lineType']===_0x2b5d32(0xfa)&&_0x1c356e[_0x2b5d32(0xd5)]((_0x59e8e9,_0x4378b6)=>{const _0x43cef6=_0x2b5d32;let _0x4cc065=_0x4378b6[_0x43cef6(0xe7)];_0x4cc065[_0x43cef6(0xd3)]();for(let _0x212309=0x0;_0x212309<0x4;_0x212309++){let _0x5423df=_0x20ebea[_0x43cef6(0xed)]/0xa*(_0x20ebea[_0x43cef6(0xd8)]===0x0?0x1:_0x20ebea[_0x43cef6(0xd8)]);_0x4cc065[_0x43cef6(0xf8)]=getColor(_0x20ebea['color'],_0x20ebea[_0x43cef6(0xfe)]),_0x4cc065[_0x43cef6(0xf1)]=_0x20ebea[_0x43cef6(0xed)]/0x5*0x2,_0x4cc065['beginPath']();for(let _0x574f17=0x0;_0x574f17<_0x59e8e9[_0x43cef6(0xff)];_0x574f17++){_0x574f17===0x0?_0x4cc065[_0x43cef6(0xde)](_0x59e8e9[_0x574f17][0x0],_0x59e8e9[_0x574f17][0x1]):_0x4cc065[_0x43cef6(0xcd)](_0x59e8e9[_0x574f17][0x0],_0x59e8e9[_0x574f17][0x1]);}_0x4cc065[_0x43cef6(0xf0)]=_0x43cef6(0xcf),_0x4cc065[_0x43cef6(0xd4)]=_0x5423df,_0x4cc065[_0x43cef6(0xeb)]=getColor(_0x43cef6(0xd9),_0x20ebea[_0x43cef6(0xfe)]),_0x4cc065[_0x43cef6(0xf3)]();}_0x4cc065[_0x43cef6(0xf9)]();});_0x20ebea[_0x2b5d32(0x100)]===_0x2b5d32(0xf2)&&_0x1c356e[_0x2b5d32(0xd5)]((_0x798083,_0x19d795)=>{const _0x33655a=_0x2b5d32;let _0x454155=_0x19d795[_0x33655a(0xe7)];_0x454155[_0x33655a(0xd3)](),_0x454155[_0x33655a(0xce)]();for(let _0x205926=0x0;_0x205926<_0x798083[_0x33655a(0xff)];_0x205926++){_0x205926===0x0?_0x454155[_0x33655a(0xde)](_0x798083[_0x205926][0x0],_0x798083[_0x205926][0x1]):_0x454155[_0x33655a(0xcd)](_0x798083[_0x205926][0x0],_0x798083[_0x205926][0x1]);}_0x454155[_0x33655a(0xf0)]=_0x33655a(0xcf),_0x454155[_0x33655a(0xd4)]=_0x20ebea[_0x33655a(0xed)],_0x454155['strokeStyle']=getColor(_0x20ebea[_0x33655a(0xdd)],_0x20ebea['opacity']),_0x454155[_0x33655a(0xf3)](),_0x454155[_0x33655a(0xce)]();for(let _0x5106c2=0x0;_0x5106c2<_0x798083[_0x33655a(0xff)];_0x5106c2++){_0x5106c2===0x0?_0x454155[_0x33655a(0xde)](_0x798083[_0x5106c2][0x0],_0x798083[_0x5106c2][0x1]):_0x454155[_0x33655a(0xcd)](_0x798083[_0x5106c2][0x0],_0x798083[_0x5106c2][0x1]);}_0x454155[_0x33655a(0xf0)]=_0x33655a(0xcf),_0x20ebea[_0x33655a(0xe9)]>=_0x20ebea[_0x33655a(0xed)]&&(_0x20ebea[_0x33655a(0xe9)]=_0x20ebea['width']-0x1),_0x454155['lineWidth']=_0x20ebea[_0x33655a(0xed)]-_0x20ebea[_0x33655a(0xe9)],_0x454155['strokeStyle']=getColor(_0x20ebea[_0x33655a(0xfd)],_0x20ebea[_0x33655a(0xfe)]),_0x454155[_0x33655a(0xf3)](),_0x454155[_0x33655a(0xf9)]();});let _0x215ba9=getImageOlStyle(_0x20ebea['billboard'],_0x3d7b56,_0x3d9293,_0x10b4b5);_0x215ba9&&(_0x215ba9['setGeometry'](_0x581a7e),_0x317cb6[_0x2b5d32(0xf4)](_0x215ba9));if(_0x20ebea[_0x2b5d32(0xef)]&&_0x20ebea[_0x2b5d32(0xef)]['show']!==![]){let _0x3fde28=new Style({'geometry':_0x581a7e,'text':createTextStyle(_0x20ebea[_0x2b5d32(0xef)],_0x47278f,_0x3d9293,_0x10b4b5),'zIndex':Number(_0x3d7b56)+0x1});_0x317cb6[_0x2b5d32(0xf4)](_0x3fde28);}return _0x317cb6;}function _getRealPolyline(_0x585ed3,_0x2af3fb){const _0x210419=a65_0x5e90;if(!(_0x2af3fb===null||_0x2af3fb===void 0x0?void 0x0:_0x2af3fb[_0x210419(0xd0)]))return _0x585ed3;else{if(_0x585ed3[_0x210419(0xd7)]()===_0x210419(0xf6)){let _0x145b03=_0x585ed3['getCoordinates']();for(let _0x3544c5 in _0x145b03){let _0xdc406=_0x145b03[_0x3544c5];_0x145b03[_0x3544c5]=_0xdc406[_0x210419(0xfc)]([_0xdc406[0x0]]);}return new MultiLineString(_0x145b03);}else return new LineString(_0x585ed3['getCoordinates']()[_0x210419(0xfc)]([_0x585ed3['getFirstCoordinate']()]));}}
1
+ (function(_0x5caad8,_0x52dcca){const _0x5c15f4=a65_0x5ddc,_0xe02921=_0x5caad8();while(!![]){try{const _0x1ab8d0=parseInt(_0x5c15f4(0x1b0))/0x1*(parseInt(_0x5c15f4(0x1cc))/0x2)+parseInt(_0x5c15f4(0x1ca))/0x3+-parseInt(_0x5c15f4(0x1d6))/0x4*(-parseInt(_0x5c15f4(0x1ae))/0x5)+parseInt(_0x5c15f4(0x1bd))/0x6*(-parseInt(_0x5c15f4(0x1da))/0x7)+parseInt(_0x5c15f4(0x1c3))/0x8+parseInt(_0x5c15f4(0x1df))/0x9*(parseInt(_0x5c15f4(0x1ad))/0xa)+parseInt(_0x5c15f4(0x1c0))/0xb*(-parseInt(_0x5c15f4(0x1d7))/0xc);if(_0x1ab8d0===_0x52dcca)break;else _0xe02921['push'](_0xe02921['shift']());}catch(_0x4fc574){_0xe02921['push'](_0xe02921['shift']());}}}(a65_0x29ac,0x258b6));function a65_0x5ddc(_0x1b3a5c,_0x2d9432){const _0x29ac60=a65_0x29ac();return a65_0x5ddc=function(_0x5ddcfd,_0x387871){_0x5ddcfd=_0x5ddcfd-0x1a9;let _0x58f146=_0x29ac60[_0x5ddcfd];return _0x58f146;},a65_0x5ddc(_0x1b3a5c,_0x2d9432);}import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';function a65_0x29ac(){const _0xfccf18=['getCoordinates','64872gJjzru','arrow','32UReGZE','atan2','outlineColor','billboard','strokeStyle','opacity','beginPath','context','butt','lineTo','723196gLYjNr','4440obmfHA','setRenderer','moveTo','1470413qiJDCS','save','dash','getFirstCoordinate','white','135CVEmAD','lineCap','stroke','length','setGeometry','64330DZCRps','5qkMRSh','lineWidth','2437MdbUqM','color','toString','zIndex','getType','concat','closed','getGeometry','pow','width','glow','label','glowPower','6taxHJi','outlineWidth','cos','2123TCBYzi','MultiLineString','sin','778728yQVbLT','show','lineType','push','restore','getFlatMidpoint'];a65_0x29ac=function(){return _0xfccf18;};return a65_0x29ac();}export function getPolylineStyle(_0x2319b3,_0xd665df,_0x547aed,_0x2d4a04){const _0x42fb92=a65_0x5ddc;var _0x3d0673,_0x1ffaee,_0x220cf6;let _0x50cc1a=(_0x3d0673=_0x2319b3[_0x42fb92(0x1b3)])!==null&&_0x3d0673!==void 0x0?_0x3d0673:0x0;const _0x3de784=_0xa4bf8=>{const _0x32ef34=_0x42fb92;var _0x2c4295=_0xa4bf8[_0x32ef34(0x1b7)]();if(_0x2c4295)return _getRealPolyline(_0x2c4295,_0x2319b3);return _0x2c4295;},_0x49afd8=_0x1113f4=>{const _0x3b30a2=_0x42fb92;var _0x46e25a=_0x1113f4['getGeometry']();let _0x326c7f=_0x46e25a;_0x46e25a&&(_0x326c7f=_getRealPolyline(_0x46e25a,_0x2319b3));if(_0x326c7f&&_0x326c7f[_0x3b30a2(0x1b4)]()==='LineString')return new Point(_0x326c7f[_0x3b30a2(0x1c8)]());else{let _0x4c3b5d=_0x326c7f['getFlatMidpoints'](),_0x391f97=0x2,_0x576f3e=[];for(let _0x5f3e65=0x0,_0x1c5bd3=_0x4c3b5d['length'];_0x5f3e65<_0x1c5bd3;_0x5f3e65+=_0x391f97){let _0x5471cc=[_0x4c3b5d[_0x5f3e65],_0x4c3b5d[_0x5f3e65+0x1]];_0x576f3e[_0x3b30a2(0x1c6)](_0x5471cc);}return new MultiPoint(_0x576f3e);}};let _0x226a72=new Style({'geometry':_0x3de784,'stroke':new Stroke({'color':getColor(_0x2319b3[_0x42fb92(0x1b1)],_0x2319b3['opacity']),'width':_0x2319b3['width']}),'zIndex':_0x50cc1a}),_0xbaecf3=[_0x226a72];if(_0x2319b3[_0x42fb92(0x1c5)]===_0x42fb92(0x1dc)){let _0x5e030f=_0x2319b3[_0x42fb92(0x1be)]/0x2,_0x10f8a9=new Style({'geometry':_0x3de784,'zIndex':_0x50cc1a,'stroke':new Stroke({'color':getColor(_0x2319b3[_0x42fb92(0x1b1)],_0x2319b3[_0x42fb92(0x1d1)]),'width':_0x2319b3[_0x42fb92(0x1b9)],'lineCap':_0x42fb92(0x1d4),'lineDash':[_0x5e030f,_0x5e030f]})}),_0x39891d=new Style({'geometry':_0x3de784,'zIndex':_0x50cc1a+0.5,'stroke':new Stroke({'color':getColor(_0x2319b3[_0x42fb92(0x1ce)],Number((_0x220cf6=(_0x1ffaee=_0x2319b3['outlineOpacity'])!==null&&_0x1ffaee!==void 0x0?_0x1ffaee:_0x2319b3[_0x42fb92(0x1d1)])!==null&&_0x220cf6!==void 0x0?_0x220cf6:0x1)),'width':_0x2319b3[_0x42fb92(0x1b9)],'lineCap':_0x42fb92(0x1d4),'lineDash':[_0x5e030f,_0x5e030f],'lineDashOffset':_0x5e030f})});_0xbaecf3=[_0x10f8a9,_0x39891d];}_0x2319b3[_0x42fb92(0x1c5)]===_0x42fb92(0x1cb)&&_0x226a72[_0x42fb92(0x1d8)]((_0x5b5df1,_0x1b3489)=>{const _0x703b76=_0x42fb92;let _0x4bf1f9=_0x1b3489[_0x703b76(0x1d3)],_0x17da27=parseInt((_0x2319b3[_0x703b76(0x1b9)]/0x4)[_0x703b76(0x1b2)]()),_0x2588e4=0xa,_0x4ec072=Math['sqrt'](Math[_0x703b76(0x1b8)](_0x2588e4,0x2)+Math[_0x703b76(0x1b8)](_0x2319b3[_0x703b76(0x1b9)]/0x2,0x2)),_0x42cde4=0x2d,_0x2738dc=_0x5b5df1[_0x5b5df1['length']-0x2][0x0],_0x567768=_0x5b5df1[_0x5b5df1['length']-0x2][0x1],_0x166b28=_0x5b5df1[_0x5b5df1[_0x703b76(0x1ab)]-0x1][0x0],_0x41b405=_0x5b5df1[_0x5b5df1[_0x703b76(0x1ab)]-0x1][0x1],_0x304c3d=Math[_0x703b76(0x1cd)](_0x567768-_0x41b405,_0x2738dc-_0x166b28)*0xb4/Math['PI'],_0xd10ddd=(_0x304c3d+_0x42cde4)*Math['PI']/0xb4,_0x539fc0=(_0x304c3d-_0x42cde4)*Math['PI']/0xb4,_0x54e679=_0x4ec072*Math[_0x703b76(0x1bf)](_0xd10ddd),_0x10dca8=_0x4ec072*Math[_0x703b76(0x1c2)](_0xd10ddd),_0x3c29bc=_0x4ec072*Math['cos'](_0x539fc0),_0x4e2493=_0x4ec072*Math['sin'](_0x539fc0);_0x4bf1f9['save'](),_0x4bf1f9[_0x703b76(0x1d2)]();let _0x459f44,_0x331c77;for(let _0x226750=0x0;_0x226750<_0x5b5df1[_0x703b76(0x1ab)];_0x226750++){_0x226750===0x0?_0x4bf1f9[_0x703b76(0x1d9)](_0x5b5df1[_0x226750][0x0],_0x5b5df1[_0x226750][0x1]):_0x4bf1f9[_0x703b76(0x1d5)](_0x5b5df1[_0x226750][0x0],_0x5b5df1[_0x226750][0x1]);}_0x4bf1f9[_0x703b76(0x1d0)]=getColor(_0x2319b3['color'],_0x2319b3[_0x703b76(0x1d1)]),_0x4bf1f9['lineWidth']=_0x17da27,_0x4bf1f9[_0x703b76(0x1a9)]=_0x703b76(0x1d4),_0x4bf1f9[_0x703b76(0x1aa)](),_0x459f44=_0x166b28+_0x54e679,_0x331c77=_0x41b405+_0x10dca8,_0x4bf1f9['moveTo'](_0x459f44,_0x331c77),_0x4bf1f9['lineTo'](_0x166b28,_0x41b405),_0x459f44=_0x166b28+_0x3c29bc,_0x331c77=_0x41b405+_0x4e2493,_0x4bf1f9[_0x703b76(0x1d5)](_0x459f44,_0x331c77),_0x4bf1f9[_0x703b76(0x1a9)]='butt',_0x4bf1f9[_0x703b76(0x1aa)](),_0x4bf1f9[_0x703b76(0x1c7)]();});_0x2319b3[_0x42fb92(0x1c5)]===_0x42fb92(0x1ba)&&_0x226a72[_0x42fb92(0x1d8)]((_0x4a435c,_0x19be32)=>{const _0x47a052=_0x42fb92;let _0x2dc43e=_0x19be32[_0x47a052(0x1d3)];_0x2dc43e[_0x47a052(0x1db)]();for(let _0x222940=0x0;_0x222940<0x4;_0x222940++){let _0x477447=_0x2319b3[_0x47a052(0x1b9)]/0xa*(_0x2319b3[_0x47a052(0x1bc)]===0x0?0x1:_0x2319b3[_0x47a052(0x1bc)]);_0x2dc43e['shadowColor']=getColor(_0x2319b3[_0x47a052(0x1b1)],_0x2319b3[_0x47a052(0x1d1)]),_0x2dc43e['shadowBlur']=_0x2319b3[_0x47a052(0x1b9)]/0x5*0x2,_0x2dc43e['beginPath']();for(let _0x3c9234=0x0;_0x3c9234<_0x4a435c['length'];_0x3c9234++){_0x3c9234===0x0?_0x2dc43e[_0x47a052(0x1d9)](_0x4a435c[_0x3c9234][0x0],_0x4a435c[_0x3c9234][0x1]):_0x2dc43e['lineTo'](_0x4a435c[_0x3c9234][0x0],_0x4a435c[_0x3c9234][0x1]);}_0x2dc43e[_0x47a052(0x1a9)]=_0x47a052(0x1d4),_0x2dc43e['lineWidth']=_0x477447,_0x2dc43e[_0x47a052(0x1d0)]=getColor(_0x47a052(0x1de),_0x2319b3[_0x47a052(0x1d1)]),_0x2dc43e[_0x47a052(0x1aa)]();}_0x2dc43e['restore']();});_0x2319b3[_0x42fb92(0x1c5)]==='outline'&&_0x226a72[_0x42fb92(0x1d8)]((_0x2035a7,_0x21ea33)=>{const _0x57ba0c=_0x42fb92;let _0x4404e6=_0x21ea33[_0x57ba0c(0x1d3)];_0x4404e6[_0x57ba0c(0x1db)](),_0x4404e6[_0x57ba0c(0x1d2)]();for(let _0x94d171=0x0;_0x94d171<_0x2035a7[_0x57ba0c(0x1ab)];_0x94d171++){_0x94d171===0x0?_0x4404e6[_0x57ba0c(0x1d9)](_0x2035a7[_0x94d171][0x0],_0x2035a7[_0x94d171][0x1]):_0x4404e6['lineTo'](_0x2035a7[_0x94d171][0x0],_0x2035a7[_0x94d171][0x1]);}_0x4404e6['lineCap']=_0x57ba0c(0x1d4),_0x4404e6[_0x57ba0c(0x1af)]=_0x2319b3[_0x57ba0c(0x1b9)],_0x4404e6[_0x57ba0c(0x1d0)]=getColor(_0x2319b3[_0x57ba0c(0x1ce)],_0x2319b3[_0x57ba0c(0x1d1)]),_0x4404e6[_0x57ba0c(0x1aa)](),_0x4404e6[_0x57ba0c(0x1d2)]();for(let _0x270d33=0x0;_0x270d33<_0x2035a7[_0x57ba0c(0x1ab)];_0x270d33++){_0x270d33===0x0?_0x4404e6[_0x57ba0c(0x1d9)](_0x2035a7[_0x270d33][0x0],_0x2035a7[_0x270d33][0x1]):_0x4404e6[_0x57ba0c(0x1d5)](_0x2035a7[_0x270d33][0x0],_0x2035a7[_0x270d33][0x1]);}_0x4404e6[_0x57ba0c(0x1a9)]=_0x57ba0c(0x1d4),_0x2319b3[_0x57ba0c(0x1be)]>=_0x2319b3['width']&&(_0x2319b3['outlineWidth']=_0x2319b3[_0x57ba0c(0x1b9)]-0x1),_0x4404e6[_0x57ba0c(0x1af)]=_0x2319b3[_0x57ba0c(0x1b9)]-_0x2319b3['outlineWidth'],_0x4404e6[_0x57ba0c(0x1d0)]=getColor(_0x2319b3['color'],_0x2319b3[_0x57ba0c(0x1d1)]),_0x4404e6[_0x57ba0c(0x1aa)](),_0x4404e6[_0x57ba0c(0x1c7)]();});let _0x217cdd=getImageOlStyle(_0x2319b3[_0x42fb92(0x1cf)],_0x50cc1a,_0x547aed,_0x2d4a04);_0x217cdd&&(_0x217cdd[_0x42fb92(0x1ac)](_0x49afd8),_0xbaecf3[_0x42fb92(0x1c6)](_0x217cdd));if(_0x2319b3[_0x42fb92(0x1bb)]&&_0x2319b3['label'][_0x42fb92(0x1c4)]!==![]){let _0x15d796=new Style({'geometry':_0x49afd8,'text':createTextStyle(_0x2319b3[_0x42fb92(0x1bb)],_0xd665df,_0x547aed,_0x2d4a04),'zIndex':Number(_0x50cc1a)+0x1});_0xbaecf3[_0x42fb92(0x1c6)](_0x15d796);}return _0xbaecf3;}function _getRealPolyline(_0x7299b9,_0x7cfd44){const _0xe6b0f9=a65_0x5ddc;if(!(_0x7cfd44===null||_0x7cfd44===void 0x0?void 0x0:_0x7cfd44[_0xe6b0f9(0x1b6)]))return _0x7299b9;else{if(_0x7299b9['getType']()===_0xe6b0f9(0x1c1)){let _0x3df2f4=_0x7299b9[_0xe6b0f9(0x1c9)]();for(let _0x2f7043 in _0x3df2f4){let _0x4e0e21=_0x3df2f4[_0x2f7043];_0x3df2f4[_0x2f7043]=_0x4e0e21[_0xe6b0f9(0x1b5)]([_0x4e0e21[0x0]]);}return new MultiLineString(_0x3df2f4);}else return new LineString(_0x7299b9[_0xe6b0f9(0x1c9)]()['concat']([_0x7299b9[_0xe6b0f9(0x1dd)]()]));}}
@@ -1 +1 @@
1
- (function(_0x2a0584,_0x56d289){const _0x5702a3=a66_0x2adb,_0x58c377=_0x2a0584();while(!![]){try{const _0x251fd8=parseInt(_0x5702a3(0x1ce))/0x1+parseInt(_0x5702a3(0x1ca))/0x2+-parseInt(_0x5702a3(0x1d1))/0x3+-parseInt(_0x5702a3(0x1c4))/0x4*(parseInt(_0x5702a3(0x1bd))/0x5)+-parseInt(_0x5702a3(0x1be))/0x6+-parseInt(_0x5702a3(0x1cf))/0x7+parseInt(_0x5702a3(0x1c6))/0x8*(parseInt(_0x5702a3(0x1d0))/0x9);if(_0x251fd8===_0x56d289)break;else _0x58c377['push'](_0x58c377['shift']());}catch(_0x32f9d9){_0x58c377['push'](_0x58c377['shift']());}}}(a66_0x5741,0x9ec47));function a66_0x2adb(_0x3b95ff,_0x54c37c){const _0x574196=a66_0x5741();return a66_0x2adb=function(_0x2adbca,_0x805718){_0x2adbca=_0x2adbca-0x1b8;let _0x42c157=_0x574196[_0x2adbca];return _0x42c157;},a66_0x2adb(_0x3b95ff,_0x54c37c);}import a66_0x4acf2d from'ol/style/Circle';import a66_0x565ed3 from'ol/style/Fill';import a66_0x1b9bbd from'ol/style/Stroke';function a66_0x5741(){const _0x5eff5a=['6428598EtuUCA','rgba(0,\x20255,0,\x201)','Polygon','Point','MultiLineString','setStroke','4YUERmx','LineString','56bwYyIo','outlineOpacity','rgba(0,\x20255,0,\x200)','setFill','1048780jkURXK','MultiPolygon','color','outlineColor','1138566zoHWCz','5188274zxwlfD','3063195YEkklx','3638820VpAnHS','rgba(121,\x20243,\x20238,\x200.3)','rgba(121,\x20243,\x20238,\x200)','text','rgba(121,\x20243,\x20238,\x201)','MultiPoint','fill','1847875AnTLED'];a66_0x5741=function(){return _0x5eff5a;};return a66_0x5741();}import a66_0x3d5438 from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x23b703=a66_0x2adb;return new a66_0x3d5438({'image':new a66_0x4acf2d({'radius':0x5,'fill':new a66_0x565ed3({'color':_0x23b703(0x1ba)}),'stroke':new a66_0x1b9bbd({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0x2019b9=a66_0x2adb;return new a66_0x3d5438({'image':new a66_0x4acf2d({'radius':0x5,'fill':new a66_0x565ed3({'color':_0x2019b9(0x1b8)}),'stroke':new a66_0x1b9bbd({'color':_0x2019b9(0x1ba),'width':0x1})})});}export function getSelectLineStyle(){const _0x448445=a66_0x2adb;return new a66_0x3d5438({'stroke':new a66_0x1b9bbd({'color':_0x448445(0x1ba),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x2a5543=a66_0x2adb;return new a66_0x3d5438({'stroke':new a66_0x1b9bbd({'color':_0x2a5543(0x1bf),'width':0x2})});}export function getSelectPolygonStyle(){const _0x23243e=a66_0x2adb;return new a66_0x3d5438({'stroke':new a66_0x1b9bbd({'color':_0x23243e(0x1ba),'width':0x2}),'fill':new a66_0x565ed3({'color':_0x23243e(0x1d2)})});}export function getSelectCancelPolygonStyle(){const _0x4d61f1=a66_0x2adb;return new a66_0x3d5438({'stroke':new a66_0x1b9bbd({'color':_0x4d61f1(0x1bf),'width':0x2}),'fill':new a66_0x565ed3({'color':_0x4d61f1(0x1c8)})});}export function getStyle(_0x4a3eb9){const _0x29a08e=a66_0x2adb;if(_0x4a3eb9){if(_0x4a3eb9[_0x29a08e(0x1b9)])return new a66_0x3d5438({'text':createTextStyle(_0x4a3eb9,_0x4a3eb9[_0x29a08e(0x1b9)]),'zIndex':0x1});else{const _0x52289d=new a66_0x3d5438();return _0x4a3eb9[_0x29a08e(0x1cd)]&&_0x52289d[_0x29a08e(0x1c3)](new a66_0x1b9bbd({'color':getColor(_0x4a3eb9[_0x29a08e(0x1cd)],_0x4a3eb9[_0x29a08e(0x1c7)]),'width':_0x4a3eb9['outlineWidth']||0x1})),_0x4a3eb9[_0x29a08e(0x1cc)]&&_0x52289d[_0x29a08e(0x1c9)](new a66_0x565ed3({'color':getColor(_0x4a3eb9[_0x29a08e(0x1bc)],_0x4a3eb9['opacity'])})),_0x52289d;}}return new a66_0x3d5438({'stroke':new a66_0x1b9bbd({'color':_0x29a08e(0x1ba),'width':0x2}),'fill':new a66_0x565ed3({'color':_0x29a08e(0x1d2)})});}export function getSelectStyle(_0xfe9511){const _0x5a260a=a66_0x2adb;let _0x1f7dcd=getSelectPolygonStyle();switch(_0xfe9511){case _0x5a260a(0x1cb):case _0x5a260a(0x1c0):_0x1f7dcd=getSelectPolygonStyle();break;case _0x5a260a(0x1c2):case _0x5a260a(0x1c5):_0x1f7dcd=getSelectLineStyle();break;case _0x5a260a(0x1bb):case _0x5a260a(0x1c1):_0x1f7dcd=getSelectPointStyle();break;default:break;}return _0x1f7dcd;}
1
+ (function(_0x33f1de,_0x9f9336){const _0xefdd5f=a66_0x4702,_0x4e2f6f=_0x33f1de();while(!![]){try{const _0x189658=parseInt(_0xefdd5f(0xec))/0x1*(parseInt(_0xefdd5f(0xfc))/0x2)+parseInt(_0xefdd5f(0xef))/0x3*(parseInt(_0xefdd5f(0xee))/0x4)+parseInt(_0xefdd5f(0xe5))/0x5*(-parseInt(_0xefdd5f(0xe6))/0x6)+parseInt(_0xefdd5f(0xe2))/0x7*(parseInt(_0xefdd5f(0xf1))/0x8)+parseInt(_0xefdd5f(0xe3))/0x9*(parseInt(_0xefdd5f(0xfb))/0xa)+parseInt(_0xefdd5f(0xfe))/0xb*(-parseInt(_0xefdd5f(0xfd))/0xc)+parseInt(_0xefdd5f(0xe8))/0xd*(-parseInt(_0xefdd5f(0xf6))/0xe);if(_0x189658===_0x9f9336)break;else _0x4e2f6f['push'](_0x4e2f6f['shift']());}catch(_0x425633){_0x4e2f6f['push'](_0x4e2f6f['shift']());}}}(a66_0xd670,0x40701));import a66_0x5b0121 from'ol/style/Circle';import a66_0x3be0c3 from'ol/style/Fill';import a66_0x387b6c from'ol/style/Stroke';import a66_0x2372c8 from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x1c752d=a66_0x4702;return new a66_0x2372c8({'image':new a66_0x5b0121({'radius':0x5,'fill':new a66_0x3be0c3({'color':_0x1c752d(0xe4)}),'stroke':new a66_0x387b6c({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0xcaeccf=a66_0x4702;return new a66_0x2372c8({'image':new a66_0x5b0121({'radius':0x5,'fill':new a66_0x3be0c3({'color':_0xcaeccf(0xf0)}),'stroke':new a66_0x387b6c({'color':_0xcaeccf(0xe4),'width':0x1})})});}export function getSelectLineStyle(){const _0x74b647=a66_0x4702;return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x74b647(0xe4),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x5e83f8=a66_0x4702;return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x5e83f8(0xf7),'width':0x2})});}export function getSelectPolygonStyle(){const _0x9d8896=a66_0x4702;return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x9d8896(0xe4),'width':0x2}),'fill':new a66_0x3be0c3({'color':_0x9d8896(0xf2)})});}export function getSelectCancelPolygonStyle(){const _0x33523a=a66_0x4702;return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x33523a(0xf7),'width':0x2}),'fill':new a66_0x3be0c3({'color':_0x33523a(0xf9)})});}function a66_0x4702(_0x28f260,_0x1f8aaa){const _0xd6702f=a66_0xd670();return a66_0x4702=function(_0x470223,_0x8eca1a){_0x470223=_0x470223-0xe2;let _0x58b2eb=_0xd6702f[_0x470223];return _0x58b2eb;},a66_0x4702(_0x28f260,_0x1f8aaa);}export function getStyle(_0x3a36c8){const _0x612fa2=a66_0x4702;if(_0x3a36c8){if(_0x3a36c8[_0x612fa2(0xeb)])return new a66_0x2372c8({'text':createTextStyle(_0x3a36c8,_0x3a36c8[_0x612fa2(0xeb)]),'zIndex':0x1});else{const _0x148573=new a66_0x2372c8();return _0x3a36c8[_0x612fa2(0xea)]&&_0x148573['setStroke'](new a66_0x387b6c({'color':getColor(_0x3a36c8[_0x612fa2(0xea)],_0x3a36c8['outlineOpacity']),'width':_0x3a36c8[_0x612fa2(0xed)]||0x1})),_0x3a36c8[_0x612fa2(0xf4)]&&_0x148573['setFill'](new a66_0x3be0c3({'color':getColor(_0x3a36c8['fill'],_0x3a36c8['opacity'])})),_0x148573;}}return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x612fa2(0xe4),'width':0x2}),'fill':new a66_0x3be0c3({'color':_0x612fa2(0xf2)})});}export function getSelectStyle(_0xfebf1){const _0xd93c49=a66_0x4702;let _0x23606e=getSelectPolygonStyle();switch(_0xfebf1){case _0xd93c49(0xe9):case _0xd93c49(0xf5):_0x23606e=getSelectPolygonStyle();break;case _0xd93c49(0xf3):case _0xd93c49(0xf8):_0x23606e=getSelectLineStyle();break;case _0xd93c49(0xfa):case _0xd93c49(0xe7):_0x23606e=getSelectPointStyle();break;default:break;}return _0x23606e;}function a66_0xd670(){const _0x2e9c1e=['MultiLineString','color','Polygon','14NhTArD','rgba(0,\x20255,0,\x201)','LineString','rgba(0,\x20255,0,\x200)','MultiPoint','96970EvYXiN','8TVqZXF','296616qeHRWM','22wqTNYg','3808MDfScr','243yAODHZ','rgba(121,\x20243,\x20238,\x201)','632585WEibWn','24yWMjDM','Point','5388994Nffyfg','MultiPolygon','outlineColor','text','80039YZGubx','outlineWidth','18184dhcuvt','198DZcqmD','rgba(121,\x20243,\x20238,\x200)','5176GhHCSP','rgba(121,\x20243,\x20238,\x200.3)'];a66_0xd670=function(){return _0x2e9c1e;};return a66_0xd670();}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x59075f,_0x4609d2){const _0x32690e=a62_0x5b64,_0x224852=_0x59075f();while(!![]){try{const _0xdc6b07=parseInt(_0x32690e(0x20f))/0x1+-parseInt(_0x32690e(0x218))/0x2+-parseInt(_0x32690e(0x208))/0x3+-parseInt(_0x32690e(0x20d))/0x4*(parseInt(_0x32690e(0x220))/0x5)+-parseInt(_0x32690e(0x1f8))/0x6+-parseInt(_0x32690e(0x21c))/0x7*(parseInt(_0x32690e(0x20e))/0x8)+parseInt(_0x32690e(0x210))/0x9*(parseInt(_0x32690e(0x214))/0xa);if(_0xdc6b07===_0x4609d2)break;else _0x224852['push'](_0x224852['shift']());}catch(_0x57d19b){_0x224852['push'](_0x224852['shift']());}}}(a62_0x5bff,0x9afad));function a62_0x5bff(){const _0x43b4a5=['9pVjfpm','size','getResolutionForZoom','listenImageChange','22135210OlKNyQ','getView','fill','color','255712CHJEHB','ERROR','alpha','border_color','917DCtYKx','normal','getImage','#2A2A2A','2660AmtbZQ','border','LOADED','outlineWidth','target','outline','markerColor','789078EyQHoN','family','distanceDisplayFar','px\x20','center','textBaseline','opacity','\x20normal\x20','middle','pow','getImageState','textAlign','offsetX','weight','distanceDisplayNear','IDLE','1419732wwLFXk','outlineColor','image','font','italic','8308CbSbrX','34776AnJJvI','828310bnfnDX'];a62_0x5bff=function(){return _0x43b4a5;};return a62_0x5bff();}import a62_0x39033d from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0x39e4d2 from'../utils/plug/canvas/PinIcon';import a62_0x3301cf from'ol/ImageState';export function isShowStyle(_0x564660,_0xbb3b0d,_0x14d551){const _0x1761e3=a62_0x5b64;let _0x390353=!![];if(_0xbb3b0d==undefined||_0x14d551==undefined)return _0x390353;if(_0x564660&&typeof _0x564660[_0x1761e3(0x1fa)]!=undefined&&typeof _0x564660[_0x1761e3(0x206)]!=undefined){if(_0x564660[_0x1761e3(0x1fa)]&&_0x14d551){_0x390353=![];let _0x18033b=getLevel(_0x564660[_0x1761e3(0x1fa)]),_0x3cb9f4=_0x14d551[_0x1761e3(0x215)]()['getResolutionForZoom'](_0x18033b);_0xbb3b0d<_0x3cb9f4&&(_0x390353=!![]);}if(_0x390353&&_0x564660[_0x1761e3(0x206)]&&_0x14d551){_0x390353=![];let _0x285a5f=getLevel(_0x564660[_0x1761e3(0x206)]),_0x59fdba=_0x14d551[_0x1761e3(0x215)]()[_0x1761e3(0x212)](_0x285a5f);_0xbb3b0d>_0x59fdba&&(_0x390353=!![]);}}return _0x390353;}export function getLevel(_0x661135){const _0x17e48b=a62_0x5b64,_0x3ce391=3252.745,_0xfff297=0.0009198301,_0x274bb2=52977.61,_0x53a306=-3228.107;return _0x53a306+(_0x3ce391-_0x53a306)/(0x1+Math[_0x17e48b(0x201)](_0x661135/_0x274bb2,_0xfff297));}export function toRadians(_0x467cde){if(_0x467cde)return-(_0x467cde*Math['PI'])/0xb4;return 0x0;}function a62_0x5b64(_0x452aca,_0x342ad8){const _0x5bff90=a62_0x5bff();return a62_0x5b64=function(_0x5b64e1,_0x228001){_0x5b64e1=_0x5b64e1-0x1f2;let _0x4b6b54=_0x5bff90[_0x5b64e1];return _0x4b6b54;},a62_0x5b64(_0x452aca,_0x342ad8);}export function createTextStyle(_0x4349ce,_0x1a5a54,_0x314c47,_0x503239){const _0x4dd2c1=a62_0x5b64;if(_0x4349ce){let _0x1d95ea=isShowStyle(_0x4349ce,_0x314c47,_0x503239);if(_0x1d95ea===![])return undefined;else{const _0x347560=_0x4349ce[_0x4dd2c1(0x20b)],_0x5aa616=(_0x347560===null||_0x347560===void 0x0?void 0x0:_0x347560[_0x4dd2c1(0x20c)])?'italic':_0x4dd2c1(0x21d),_0x26cca8=(_0x347560===null||_0x347560===void 0x0?void 0x0:_0x347560[_0x4dd2c1(0x205)])?'bold':_0x4dd2c1(0x21d),_0x1e1c39=(_0x347560===null||_0x347560===void 0x0?void 0x0:_0x347560[_0x4dd2c1(0x211)])||'25',_0x5e8667=(_0x347560===null||_0x347560===void 0x0?void 0x0:_0x347560[_0x4dd2c1(0x1f9)])||'楷体';let _0x6c6e29=_0x5aa616+_0x4dd2c1(0x1ff)+_0x26cca8+'\x20'+_0x1e1c39+_0x4dd2c1(0x1fb)+_0x5e8667,_0x267ac1=(_0x347560===null||_0x347560===void 0x0?void 0x0:_0x347560[_0x4dd2c1(0x204)])||0x0,_0x404b7f=(_0x347560===null||_0x347560===void 0x0?void 0x0:_0x347560['offsetY'])||0x0,_0x36ee76=(_0x347560===null||_0x347560===void 0x0?void 0x0:_0x347560[_0x4dd2c1(0x1fd)])||_0x4dd2c1(0x200),_0x6cd9bf=(_0x347560===null||_0x347560===void 0x0?void 0x0:_0x347560[_0x4dd2c1(0x203)])||_0x4dd2c1(0x1fc);const _0x43733f=_0x4349ce[_0x4dd2c1(0x1fe)]||0x1;return new Text({'text':_0x1a5a54,'font':_0x6c6e29,'offsetX':_0x267ac1,'offsetY':_0x404b7f,'textAlign':_0x6cd9bf,'textBaseline':_0x36ee76,'fill':new Fill({'color':getColor(_0x4349ce[_0x4dd2c1(0x217)],_0x43733f)}),'stroke':_getLabelStroke(_0x4349ce),'backgroundFill':_0x4349ce['fill']?new Fill({'color':getColor(_0x4349ce[_0x4dd2c1(0x216)]||_0x4dd2c1(0x21f),_0x43733f)}):undefined});}}else return undefined;}export function getColor(_0x28f1c1,_0x2e7b68){const _0x3e97e3=a62_0x5b64;return a62_0x39033d(_0x28f1c1)[_0x3e97e3(0x21a)](_0x2e7b68!=undefined?_0x2e7b68:0x1)['hexa']();}function _getLabelStroke(_0x49af40){const _0x2e8ab6=a62_0x5b64;if(_0x49af40[_0x2e8ab6(0x1f2)])return new Stroke({'color':getColor(_0x49af40[_0x2e8ab6(0x21b)],_0x49af40['opacity']),'width':_0x49af40['border_width']});if(_0x49af40[_0x2e8ab6(0x1f6)])return new Stroke({'color':getColor(_0x49af40[_0x2e8ab6(0x209)],_0x49af40['opacity']),'width':_0x49af40[_0x2e8ab6(0x1f4)]});}export function preLoadImageRenderFunction(_0x1c57cb,_0x483bb7,_0x43d0d9,_0xc4857e,_0x1186db){const _0x2ce8d7=a62_0x5b64;let _0xe8ad10;_0x1c57cb[_0x2ce8d7(0x1f7)]?_0xe8ad10=new a62_0x39e4d2(_0x1c57cb):_0xe8ad10=new Icon({'src':_0x1c57cb[_0x2ce8d7(0x20a)]});let _0x29adb8=_0xe8ad10[_0x2ce8d7(0x202)]();_0x29adb8===a62_0x3301cf['LOADED']||_0x29adb8===a62_0x3301cf[_0x2ce8d7(0x219)]?_0x1186db(_0x1c57cb,_0x483bb7,_0x43d0d9,_0xc4857e,_0xe8ad10[_0x2ce8d7(0x21e)](0x60)):(_0x29adb8===a62_0x3301cf[_0x2ce8d7(0x207)]&&_0xe8ad10['load'](),_0xe8ad10[_0x2ce8d7(0x213)](_0x4e0699=>{const _0x579026=_0x2ce8d7;_0x29adb8=_0x4e0699[_0x579026(0x1f5)][_0x579026(0x202)](),(_0x29adb8===a62_0x3301cf[_0x579026(0x1f3)]||_0x29adb8===a62_0x3301cf[_0x579026(0x219)])&&_0x1186db(_0x1c57cb,_0x483bb7,_0x43d0d9,_0xc4857e,_0xe8ad10[_0x579026(0x21e)](0x60));}));}
1
+ (function(_0x283279,_0x2fa1f2){const _0x6cb072=a62_0xccd2,_0x2ac8b5=_0x283279();while(!![]){try{const _0x56b47d=-parseInt(_0x6cb072(0xa9))/0x1*(-parseInt(_0x6cb072(0x9f))/0x2)+-parseInt(_0x6cb072(0xa4))/0x3+-parseInt(_0x6cb072(0x8d))/0x4*(parseInt(_0x6cb072(0xb5))/0x5)+-parseInt(_0x6cb072(0x8f))/0x6+parseInt(_0x6cb072(0xb4))/0x7+-parseInt(_0x6cb072(0x9e))/0x8*(-parseInt(_0x6cb072(0x92))/0x9)+parseInt(_0x6cb072(0x8b))/0xa;if(_0x56b47d===_0x2fa1f2)break;else _0x2ac8b5['push'](_0x2ac8b5['shift']());}catch(_0x58aa1c){_0x2ac8b5['push'](_0x2ac8b5['shift']());}}}(a62_0x2138,0xed745));function a62_0x2138(){const _0x2fd458=['hexa','markerColor','size','px\x20','\x20normal\x20','italic','family','outlineColor','312LiayGX','150550lTcOxC','getImageState','border_color','listenImageChange','textBaseline','3716061pzxZsq','fill','load','opacity','font','5yIkFJz','border_width','distanceDisplayFar','getImage','getView','middle','bold','color','ERROR','LOADED','pow','11982124iDRizB','1030DVuhgZ','outlineWidth','target','4325550vsFLMz','outline','1272TACimO','distanceDisplayNear','5047770NaRuKg','center','textAlign','137871lzYPSF','normal','weight','alpha'];a62_0x2138=function(){return _0x2fd458;};return a62_0x2138();}import a62_0x556d61 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0xeab4e8 from'../utils/plug/canvas/PinIcon';import a62_0x308659 from'ol/ImageState';export function isShowStyle(_0x33d006,_0x3b8535,_0x96350e){const _0x35cdaa=a62_0xccd2;let _0x10f06e=!![];if(_0x3b8535==undefined||_0x96350e==undefined)return _0x10f06e;if(_0x33d006&&typeof _0x33d006[_0x35cdaa(0xab)]!=undefined&&typeof _0x33d006['distanceDisplayNear']!=undefined){if(_0x33d006[_0x35cdaa(0xab)]&&_0x96350e){_0x10f06e=![];let _0x3328f4=getLevel(_0x33d006[_0x35cdaa(0xab)]),_0x70557f=_0x96350e[_0x35cdaa(0xad)]()['getResolutionForZoom'](_0x3328f4);_0x3b8535<_0x70557f&&(_0x10f06e=!![]);}if(_0x10f06e&&_0x33d006[_0x35cdaa(0x8e)]&&_0x96350e){_0x10f06e=![];let _0x48687a=getLevel(_0x33d006[_0x35cdaa(0x8e)]),_0x468a25=_0x96350e[_0x35cdaa(0xad)]()['getResolutionForZoom'](_0x48687a);_0x3b8535>_0x468a25&&(_0x10f06e=!![]);}}return _0x10f06e;}export function getLevel(_0x5847e3){const _0x532b30=a62_0xccd2,_0x270c69=3252.745,_0x379c68=0.0009198301,_0x5078e3=52977.61,_0x833e60=-3228.107;return _0x833e60+(_0x270c69-_0x833e60)/(0x1+Math[_0x532b30(0xb3)](_0x5847e3/_0x5078e3,_0x379c68));}export function toRadians(_0x3f40af){if(_0x3f40af)return-(_0x3f40af*Math['PI'])/0xb4;return 0x0;}function a62_0xccd2(_0x28a5fa,_0x54e6fa){const _0x213839=a62_0x2138();return a62_0xccd2=function(_0xccd297,_0x3b164d){_0xccd297=_0xccd297-0x8b;let _0x232c79=_0x213839[_0xccd297];return _0x232c79;},a62_0xccd2(_0x28a5fa,_0x54e6fa);}export function createTextStyle(_0x5f42e4,_0x1f7bb8,_0x209bc5,_0x42f6d7){const _0x66c27=a62_0xccd2;if(_0x5f42e4){let _0x38e323=isShowStyle(_0x5f42e4,_0x209bc5,_0x42f6d7);if(_0x38e323===![])return undefined;else{const _0x2edfbf=_0x5f42e4[_0x66c27(0xa8)],_0xfb7959=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x9b)])?_0x66c27(0x9b):_0x66c27(0x93),_0x466eaf=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x94)])?_0x66c27(0xaf):_0x66c27(0x93),_0x5dcda2=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x98)])||'25',_0x2e2013=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x9c)])||'楷体';let _0xe26ca=_0xfb7959+_0x66c27(0x9a)+_0x466eaf+'\x20'+_0x5dcda2+_0x66c27(0x99)+_0x2e2013,_0x4ef8a0=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf['offsetX'])||0x0,_0x29d771=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf['offsetY'])||0x0,_0x1cc6e4=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0xa3)])||_0x66c27(0xae),_0x2fcbdf=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x91)])||_0x66c27(0x90);const _0x5f0324=_0x5f42e4[_0x66c27(0xa7)]||0x1;return new Text({'text':_0x1f7bb8,'font':_0xe26ca,'offsetX':_0x4ef8a0,'offsetY':_0x29d771,'textAlign':_0x2fcbdf,'textBaseline':_0x1cc6e4,'fill':new Fill({'color':getColor(_0x5f42e4[_0x66c27(0xb0)],_0x5f0324)}),'stroke':_getLabelStroke(_0x5f42e4),'backgroundFill':_0x5f42e4[_0x66c27(0xa5)]?new Fill({'color':getColor(_0x5f42e4[_0x66c27(0xa5)]||'#2A2A2A',_0x5f0324)}):undefined});}}else return undefined;}export function getColor(_0x37fa41,_0xd3f33a){const _0x2269ff=a62_0xccd2;return a62_0x556d61(_0x37fa41)[_0x2269ff(0x95)](_0xd3f33a!=undefined?_0xd3f33a:0x1)[_0x2269ff(0x96)]();}function _getLabelStroke(_0x418576){const _0x582949=a62_0xccd2;if(_0x418576['border'])return new Stroke({'color':getColor(_0x418576[_0x582949(0xa1)],_0x418576[_0x582949(0xa7)]),'width':_0x418576[_0x582949(0xaa)]});if(_0x418576[_0x582949(0x8c)])return new Stroke({'color':getColor(_0x418576[_0x582949(0x9d)],_0x418576['opacity']),'width':_0x418576[_0x582949(0xb6)]});}export function preLoadImageRenderFunction(_0x48b1e9,_0x4298a8,_0x100f04,_0x4d4c24,_0x2a5f7a){const _0x30a599=a62_0xccd2;let _0x49634f;_0x48b1e9[_0x30a599(0x97)]?_0x49634f=new a62_0xeab4e8(_0x48b1e9):_0x49634f=new Icon({'src':_0x48b1e9['image']});let _0x3795bb=_0x49634f[_0x30a599(0xa0)]();_0x3795bb===a62_0x308659[_0x30a599(0xb2)]||_0x3795bb===a62_0x308659[_0x30a599(0xb1)]?_0x2a5f7a(_0x48b1e9,_0x4298a8,_0x100f04,_0x4d4c24,_0x49634f['getImage'](0x60)):(_0x3795bb===a62_0x308659['IDLE']&&_0x49634f[_0x30a599(0xa6)](),_0x49634f[_0x30a599(0xa2)](_0x2a6f7e=>{const _0x3f621b=_0x30a599;_0x3795bb=_0x2a6f7e[_0x3f621b(0xb7)]['getImageState'](),(_0x3795bb===a62_0x308659[_0x3f621b(0xb2)]||_0x3795bb===a62_0x308659['ERROR'])&&_0x2a5f7a(_0x48b1e9,_0x4298a8,_0x100f04,_0x4d4c24,_0x49634f[_0x3f621b(0xac)](0x60));}));}
@@ -1 +1 @@
1
- (function(_0x32fa9d,_0x2fbb04){const _0x50dfea=a67_0x2017,_0x5f55e9=_0x32fa9d();while(!![]){try{const _0x339968=-parseInt(_0x50dfea(0x10e))/0x1*(parseInt(_0x50dfea(0x10c))/0x2)+parseInt(_0x50dfea(0x107))/0x3*(parseInt(_0x50dfea(0x112))/0x4)+parseInt(_0x50dfea(0x111))/0x5*(parseInt(_0x50dfea(0x108))/0x6)+-parseInt(_0x50dfea(0x104))/0x7*(-parseInt(_0x50dfea(0x105))/0x8)+parseInt(_0x50dfea(0x106))/0x9+-parseInt(_0x50dfea(0x110))/0xa*(parseInt(_0x50dfea(0x10b))/0xb)+-parseInt(_0x50dfea(0x113))/0xc*(parseInt(_0x50dfea(0x102))/0xd);if(_0x339968===_0x2fbb04)break;else _0x5f55e9['push'](_0x5f55e9['shift']());}catch(_0x4bf185){_0x5f55e9['push'](_0x5f55e9['shift']());}}}(a67_0x9dc7,0xe6027));export function getDeepth(_0x19bf1b){function _0x1776bd(_0x47dce0,_0x349084){const _0x50f3ef=a67_0x2017;return _0x47dce0[_0x50f3ef(0x10f)](function(_0x217357,_0x338a45){const _0x3dbfde=_0x50f3ef;var _0x312bfc;return Array[_0x3dbfde(0x109)](_0x338a45)&&(_0x312bfc=_0x1776bd(_0x338a45,_0x349084+0x1)),_0x312bfc>_0x217357?_0x312bfc:_0x217357;},_0x349084);}return _0x1776bd(_0x19bf1b,0x1);}export function compareArray(_0x19eb27,_0x5aea9c){const _0xb89fb=a67_0x2017;if(_0x19eb27[_0xb89fb(0x103)]!==_0x5aea9c[_0xb89fb(0x103)])return![];const _0x3976cb=_0x19eb27['length'];for(let _0x5eb307=0x0;_0x5eb307<_0x3976cb;_0x5eb307++){if(!compare(_0x19eb27[_0x5eb307],_0x5aea9c[_0x5eb307]))return![];}return!![];}export function compare(_0x5ae3f7,_0x44ad30){const _0x4da97b=a67_0x2017;if(_0x5ae3f7===_0x44ad30)return!![];if(typeof _0x5ae3f7!==typeof _0x44ad30||_0x5ae3f7===null||_0x44ad30===null)return![];if(Array['isArray'](_0x5ae3f7)){if(!Array[_0x4da97b(0x109)](_0x44ad30))return![];return compareArray(_0x5ae3f7,_0x44ad30);}if(typeof _0x5ae3f7===_0x4da97b(0x114))return compareObject(_0x5ae3f7,_0x44ad30);return![];}function a67_0x2017(_0x564a53,_0x507431){const _0x9dc704=a67_0x9dc7();return a67_0x2017=function(_0x2017a0,_0x1deb59){_0x2017a0=_0x2017a0-0x102;let _0x513425=_0x9dc704[_0x2017a0];return _0x513425;},a67_0x2017(_0x564a53,_0x507431);}export function compareObject(_0x22c418,_0x5c3b43){const _0x445afb=a67_0x2017,_0x452fc9=Object[_0x445afb(0x10d)](_0x22c418),_0x5e8449=Object[_0x445afb(0x10d)](_0x5c3b43);if(_0x452fc9[_0x445afb(0x103)]!==_0x5e8449['length'])return![];return _0x452fc9[_0x445afb(0x10a)](_0xf6b8d9=>{if(!compare(_0x22c418[_0xf6b8d9],_0x5c3b43[_0xf6b8d9]))return![];return!![];});}function a67_0x9dc7(){const _0x56ab97=['272926YxeqMK','keys','2rlZxhH','reduce','10EJncJI','55aEIqfe','131392ZXqeiW','2556LHcbSq','object','155272PIOSbc','length','1792133gKfRwm','16MMpXBz','12631176cwWFIM','96rSTnQJ','789546ZwghuW','isArray','every','7205242ZjfqVy'];a67_0x9dc7=function(){return _0x56ab97;};return a67_0x9dc7();}
1
+ function a67_0x5f4b(_0x1ed598,_0x492f07){const _0x2fccfb=a67_0x2fcc();return a67_0x5f4b=function(_0x5f4bb8,_0x2fad00){_0x5f4bb8=_0x5f4bb8-0x116;let _0x3aeb56=_0x2fccfb[_0x5f4bb8];return _0x3aeb56;},a67_0x5f4b(_0x1ed598,_0x492f07);}(function(_0x49f039,_0x3142ba){const _0x4f64b4=a67_0x5f4b,_0x14d117=_0x49f039();while(!![]){try{const _0x32f719=parseInt(_0x4f64b4(0x11f))/0x1*(parseInt(_0x4f64b4(0x118))/0x2)+parseInt(_0x4f64b4(0x126))/0x3*(parseInt(_0x4f64b4(0x124))/0x4)+-parseInt(_0x4f64b4(0x123))/0x5*(parseInt(_0x4f64b4(0x121))/0x6)+-parseInt(_0x4f64b4(0x125))/0x7+-parseInt(_0x4f64b4(0x11d))/0x8+-parseInt(_0x4f64b4(0x122))/0x9+-parseInt(_0x4f64b4(0x11c))/0xa*(-parseInt(_0x4f64b4(0x11b))/0xb);if(_0x32f719===_0x3142ba)break;else _0x14d117['push'](_0x14d117['shift']());}catch(_0x326fb8){_0x14d117['push'](_0x14d117['shift']());}}}(a67_0x2fcc,0x43a69));export function getDeepth(_0x4119d9){function _0x46d4e4(_0x28ded2,_0x84056c){const _0x181eda=a67_0x5f4b;return _0x28ded2[_0x181eda(0x117)](function(_0x4b67f1,_0x5a77bb){const _0x2949fb=_0x181eda;var _0x2a145c;return Array[_0x2949fb(0x120)](_0x5a77bb)&&(_0x2a145c=_0x46d4e4(_0x5a77bb,_0x84056c+0x1)),_0x2a145c>_0x4b67f1?_0x2a145c:_0x4b67f1;},_0x84056c);}return _0x46d4e4(_0x4119d9,0x1);}export function compareArray(_0x540044,_0xd4abb5){const _0x557e45=a67_0x5f4b;if(_0x540044[_0x557e45(0x11e)]!==_0xd4abb5[_0x557e45(0x11e)])return![];const _0x155e4f=_0x540044[_0x557e45(0x11e)];for(let _0x20ff37=0x0;_0x20ff37<_0x155e4f;_0x20ff37++){if(!compare(_0x540044[_0x20ff37],_0xd4abb5[_0x20ff37]))return![];}return!![];}export function compare(_0x476429,_0x39b049){const _0x2a513d=a67_0x5f4b;if(_0x476429===_0x39b049)return!![];if(typeof _0x476429!==typeof _0x39b049||_0x476429===null||_0x39b049===null)return![];if(Array[_0x2a513d(0x120)](_0x476429)){if(!Array[_0x2a513d(0x120)](_0x39b049))return![];return compareArray(_0x476429,_0x39b049);}if(typeof _0x476429===_0x2a513d(0x119))return compareObject(_0x476429,_0x39b049);return![];}function a67_0x2fcc(){const _0x236ca4=['5ONmAmj','2031496KCIjDa','911316HqamcH','3DSUJVa','every','reduce','2tOzCAV','object','keys','585167vFjGnd','10JFHeJM','1927096DralNZ','length','436478fnsUri','isArray','1271598bFBZAI','1236996ErbxBV'];a67_0x2fcc=function(){return _0x236ca4;};return a67_0x2fcc();}export function compareObject(_0x47c85d,_0x25ff84){const _0x5f48d6=a67_0x5f4b,_0x4ac4fa=Object[_0x5f48d6(0x11a)](_0x47c85d),_0x197695=Object[_0x5f48d6(0x11a)](_0x25ff84);if(_0x4ac4fa[_0x5f48d6(0x11e)]!==_0x197695[_0x5f48d6(0x11e)])return![];return _0x4ac4fa[_0x5f48d6(0x116)](_0x526755=>{if(!compare(_0x47c85d[_0x526755],_0x25ff84[_0x526755]))return![];return!![];});}
@@ -1 +1 @@
1
- function a68_0x1880(){const _0x101ae8=['42Jybtfg','10exfGYS','create','1707786tNPGfh','5092712iVZaTN','2483870nmLanK','3MqejPy','constructor','163452ArppyH','1125328vbcVDn','hasOwnProperty','stringify','837212cFTDJe','jsonp','forEach','append','1246734rAngGE','ajax'];a68_0x1880=function(){return _0x101ae8;};return a68_0x1880();}const a68_0x47f23b=a68_0x18c3;(function(_0x57bc8e,_0x3b4dbb){const _0x42625e=a68_0x18c3,_0x481f73=_0x57bc8e();while(!![]){try{const _0x1ee236=-parseInt(_0x42625e(0xdf))/0x1+-parseInt(_0x42625e(0xdb))/0x2*(-parseInt(_0x42625e(0xe7))/0x3)+-parseInt(_0x42625e(0xea))/0x4*(-parseInt(_0x42625e(0xe2))/0x5)+parseInt(_0x42625e(0xe9))/0x6*(-parseInt(_0x42625e(0xe1))/0x7)+parseInt(_0x42625e(0xe5))/0x8+parseInt(_0x42625e(0xe4))/0x9+parseInt(_0x42625e(0xe6))/0xa;if(_0x1ee236===_0x3b4dbb)break;else _0x481f73['push'](_0x481f73['shift']());}catch(_0x423456){_0x481f73['push'](_0x481f73['shift']());}}}(a68_0x1880,0x9dab6));import a68_0x19c15c from'axios';import a68_0x5e7e8f from'jquery';function a68_0x18c3(_0x2ffcbf,_0x17c38b){const _0x1880ef=a68_0x1880();return a68_0x18c3=function(_0x18c3a1,_0x3dafc4){_0x18c3a1=_0x18c3a1-0xdb;let _0x58db31=_0x1880ef[_0x18c3a1];return _0x58db31;},a68_0x18c3(_0x2ffcbf,_0x17c38b);}const request=a68_0x19c15c[a68_0x47f23b(0xe3)]({'timeout':0xb4*0x3e8});export function jsonp(_0x50b7cf){return new Promise((_0x12d0b6,_0x462cd6)=>{const _0x3bf9c7=a68_0x18c3;a68_0x5e7e8f[_0x3bf9c7(0xe0)]({'url':_0x50b7cf,'type':'get','dataType':_0x3bf9c7(0xdc),'success':_0x4142b3=>{_0x12d0b6(_0x4142b3);},'error':_0x1f327b=>{_0x462cd6(_0x1f327b);}});});}export function stringify(_0x1cf3f){const _0x4a6beb=a68_0x47f23b,_0x3493c2=new FormData();for(const _0x43cfa8 in _0x1cf3f){if(_0x1cf3f[_0x4a6beb(0xeb)](_0x43cfa8)){if(_0x1cf3f[_0x43cfa8]){if(_0x1cf3f[_0x43cfa8]['constructor']===Array)_0x1cf3f[_0x43cfa8][0x0]?_0x1cf3f[_0x43cfa8][0x0][_0x4a6beb(0xe8)]===Object?_0x3493c2[_0x4a6beb(0xde)](_0x43cfa8,JSON['stringify'](_0x1cf3f[_0x43cfa8])):_0x1cf3f[_0x43cfa8][_0x4a6beb(0xdd)]((_0x1f3be0,_0xf157e1)=>{const _0x5b47e1=_0x4a6beb;_0x3493c2[_0x5b47e1(0xde)](_0x43cfa8+('['+_0xf157e1+']'),_0x1f3be0);}):_0x3493c2[_0x4a6beb(0xde)](_0x43cfa8+'[]','');else _0x1cf3f[_0x43cfa8][_0x4a6beb(0xe8)]===Object?_0x3493c2[_0x4a6beb(0xde)](_0x43cfa8,JSON[_0x4a6beb(0xec)](_0x1cf3f[_0x43cfa8])):_0x3493c2['append'](_0x43cfa8,_0x1cf3f[_0x43cfa8]);}else _0x1cf3f[_0x43cfa8]===0x0?_0x3493c2[_0x4a6beb(0xde)](_0x43cfa8,'0'):_0x3493c2[_0x4a6beb(0xde)](_0x43cfa8,'');}}return _0x3493c2;}export default request;
1
+ const a68_0xcea251=a68_0x3f75;(function(_0x4ef428,_0xff3216){const _0x354661=a68_0x3f75,_0x3e1c66=_0x4ef428();while(!![]){try{const _0x2962fe=-parseInt(_0x354661(0x1d8))/0x1+parseInt(_0x354661(0x1df))/0x2*(parseInt(_0x354661(0x1d7))/0x3)+parseInt(_0x354661(0x1de))/0x4+parseInt(_0x354661(0x1db))/0x5+parseInt(_0x354661(0x1e6))/0x6*(-parseInt(_0x354661(0x1d6))/0x7)+parseInt(_0x354661(0x1e7))/0x8+-parseInt(_0x354661(0x1e0))/0x9;if(_0x2962fe===_0xff3216)break;else _0x3e1c66['push'](_0x3e1c66['shift']());}catch(_0x3a4745){_0x3e1c66['push'](_0x3e1c66['shift']());}}}(a68_0x4753,0x474ac));import a68_0x520515 from'axios';import a68_0x545cd6 from'jquery';const request=a68_0x520515[a68_0xcea251(0x1da)]({'timeout':0xb4*0x3e8});function a68_0x3f75(_0x3c3738,_0x23bcc5){const _0x475303=a68_0x4753();return a68_0x3f75=function(_0x3f7503,_0x462241){_0x3f7503=_0x3f7503-0x1d6;let _0x3ea083=_0x475303[_0x3f7503];return _0x3ea083;},a68_0x3f75(_0x3c3738,_0x23bcc5);}export function jsonp(_0x1e9d6b){return new Promise((_0x3b7a90,_0x4d7a28)=>{const _0x140976=a68_0x3f75;a68_0x545cd6[_0x140976(0x1e5)]({'url':_0x1e9d6b,'type':_0x140976(0x1e4),'dataType':_0x140976(0x1e1),'success':_0x5949fb=>{_0x3b7a90(_0x5949fb);},'error':_0x581257=>{_0x4d7a28(_0x581257);}});});}export function stringify(_0x3a1f04){const _0x4c0c76=a68_0xcea251,_0x16881b=new FormData();for(const _0x1ff599 in _0x3a1f04){if(_0x3a1f04[_0x4c0c76(0x1dc)](_0x1ff599)){if(_0x3a1f04[_0x1ff599]){if(_0x3a1f04[_0x1ff599][_0x4c0c76(0x1dd)]===Array)_0x3a1f04[_0x1ff599][0x0]?_0x3a1f04[_0x1ff599][0x0]['constructor']===Object?_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599,JSON[_0x4c0c76(0x1d9)](_0x3a1f04[_0x1ff599])):_0x3a1f04[_0x1ff599][_0x4c0c76(0x1e3)]((_0x18598c,_0x5a0a75)=>{const _0x364655=_0x4c0c76;_0x16881b[_0x364655(0x1e2)](_0x1ff599+('['+_0x5a0a75+']'),_0x18598c);}):_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599+'[]','');else _0x3a1f04[_0x1ff599][_0x4c0c76(0x1dd)]===Object?_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599,JSON['stringify'](_0x3a1f04[_0x1ff599])):_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599,_0x3a1f04[_0x1ff599]);}else _0x3a1f04[_0x1ff599]===0x0?_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599,'0'):_0x16881b['append'](_0x1ff599,'');}}return _0x16881b;}export default request;function a68_0x4753(){const _0x5e3f82=['21jwaGLz','3CykpmY','162574McrURJ','stringify','create','2716520PcwGVv','hasOwnProperty','constructor','559488rGFlpF','271892PUEQdu','312462hqgtFf','jsonp','append','forEach','get','ajax','807318JFBPlR','590728RdNpfv'];a68_0x4753=function(){return _0x5e3f82;};return a68_0x4753();}
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- (function(_0x519a85,_0x19709b){const _0x47b2c9=a69_0x5848,_0x3da675=_0x519a85();while(!![]){try{const _0x2810b3=parseInt(_0x47b2c9(0x89))/0x1*(parseInt(_0x47b2c9(0x8d))/0x2)+-parseInt(_0x47b2c9(0x8a))/0x3+-parseInt(_0x47b2c9(0x8f))/0x4*(-parseInt(_0x47b2c9(0x91))/0x5)+parseInt(_0x47b2c9(0x85))/0x6*(parseInt(_0x47b2c9(0x86))/0x7)+parseInt(_0x47b2c9(0x8c))/0x8+-parseInt(_0x47b2c9(0x88))/0x9+-parseInt(_0x47b2c9(0x87))/0xa;if(_0x2810b3===_0x19709b)break;else _0x3da675['push'](_0x3da675['shift']());}catch(_0x5277a1){_0x3da675['push'](_0x3da675['shift']());}}}(a69_0x4613,0xc827e));function a69_0x5848(_0x43f330,_0x76b28b){const _0x4613ad=a69_0x4613();return a69_0x5848=function(_0x5848da,_0x10ecd0){_0x5848da=_0x5848da-0x85;let _0x552238=_0x4613ad[_0x5848da];return _0x552238;},a69_0x5848(_0x43f330,_0x76b28b);}export function getEsriSpatialReference(_0x135d05){const _0x3cdb5e=a69_0x5848;let _0x3a799d;if(_0x135d05){let _0x33ec5a=_0x135d05['toUpperCase']();_0x33ec5a[_0x3cdb5e(0x90)](_0x3cdb5e(0x8e))===0x0?_0x3a799d=_0x135d05[_0x3cdb5e(0x8b)]('EPSG:',''):_0x3a799d=_0x135d05;}return _0x3a799d;}function a69_0x4613(){const _0x3498f0=['10846552TUWons','8fcMRMZ','EPSG:','4BFztNK','indexOf','1558090mvenWB','60948AxWnAY','259xhChXd','4659360UzHQuJ','2448702qmysxr','245947MIrOTX','4407657qekcbj','replace'];a69_0x4613=function(){return _0x3498f0;};return a69_0x4613();}
1
+ (function(_0x3a44d9,_0x206ffd){const _0x171a5d=a69_0x1510,_0x1493b3=_0x3a44d9();while(!![]){try{const _0x16195b=-parseInt(_0x171a5d(0x1f5))/0x1*(parseInt(_0x171a5d(0x1f9))/0x2)+parseInt(_0x171a5d(0x1f4))/0x3+parseInt(_0x171a5d(0x1f3))/0x4+parseInt(_0x171a5d(0x1f2))/0x5+parseInt(_0x171a5d(0x1ee))/0x6*(parseInt(_0x171a5d(0x1f0))/0x7)+-parseInt(_0x171a5d(0x1f6))/0x8+-parseInt(_0x171a5d(0x1ed))/0x9;if(_0x16195b===_0x206ffd)break;else _0x1493b3['push'](_0x1493b3['shift']());}catch(_0x488337){_0x1493b3['push'](_0x1493b3['shift']());}}}(a69_0x139b,0x6f22f));function a69_0x1510(_0x3e87f6,_0x435f0c){const _0x139bc9=a69_0x139b();return a69_0x1510=function(_0x1510af,_0x3632a8){_0x1510af=_0x1510af-0x1ed;let _0x4cacdf=_0x139bc9[_0x1510af];return _0x4cacdf;},a69_0x1510(_0x3e87f6,_0x435f0c);}export function getEsriSpatialReference(_0x52161a){const _0x4f0c6d=a69_0x1510;let _0x2766c4;if(_0x52161a){let _0x240050=_0x52161a[_0x4f0c6d(0x1ef)]();_0x240050[_0x4f0c6d(0x1f1)](_0x4f0c6d(0x1f8))===0x0?_0x2766c4=_0x52161a[_0x4f0c6d(0x1f7)](_0x4f0c6d(0x1f8),''):_0x2766c4=_0x52161a;}return _0x2766c4;}function a69_0x139b(){const _0xd0cffc=['3785814UnpYrM','72CuQZYn','toUpperCase','355376yHwRGs','indexOf','2909860xQBnTN','1540368zfcPcA','8163bruAgC','14178LrsBYv','3016368DzfDvA','replace','EPSG:','46XUyvIL'];a69_0x139b=function(){return _0xd0cffc;};return a69_0x139b();}
@@ -1 +1 @@
1
- const a72_0x4687da=a72_0x2063;(function(_0x30d3ca,_0x308fa7){const _0x2b7acd=a72_0x2063,_0x1c7a37=_0x30d3ca();while(!![]){try{const _0x1aeb69=-parseInt(_0x2b7acd(0x90))/0x1+parseInt(_0x2b7acd(0x8d))/0x2+parseInt(_0x2b7acd(0x82))/0x3*(parseInt(_0x2b7acd(0x79))/0x4)+-parseInt(_0x2b7acd(0x7b))/0x5*(parseInt(_0x2b7acd(0x76))/0x6)+-parseInt(_0x2b7acd(0x73))/0x7*(parseInt(_0x2b7acd(0x8f))/0x8)+parseInt(_0x2b7acd(0x81))/0x9+parseInt(_0x2b7acd(0x89))/0xa*(parseInt(_0x2b7acd(0x7c))/0xb);if(_0x1aeb69===_0x308fa7)break;else _0x1c7a37['push'](_0x1c7a37['shift']());}catch(_0x23f394){_0x1c7a37['push'](_0x1c7a37['shift']());}}}(a72_0x2661,0x3b85b));import a72_0x425e60 from'ol/proj/Projection';import{distance as a72_0x34e426}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';function a72_0x2063(_0x1e22fd,_0x303821){const _0x266147=a72_0x2661();return a72_0x2063=function(_0x2063c2,_0x195f08){_0x2063c2=_0x2063c2-0x6f;let _0x208d51=_0x266147[_0x2063c2];return _0x208d51;},a72_0x2063(_0x1e22fd,_0x303821);}import{getArea as a72_0x399004}from'ol/sphere';import a72_0x3d1a62 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x4ed99f from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a72_0x559d2c from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x1871c7 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x4186b4 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a72_0x35463b from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0x17556a from'ol/format/GeoJSON';function a72_0x2661(){const _0x1d8b94=['5490PDQSWz','1045TXgBSH','crosses','getCoordinates','getCoordinateFromPixel','clone','722592gYvPtU','189309NYIryc','transform','readGeometry','forEach','intersection','read','union','53770RaSPEI','distance','length','getGeometryType','388132uWMHnI','getArea','65960uBJHzu','471982BizAws','_holes','getExteriorRing','inject','Polygon','getPixelFromCoordinate','intersects','array','write','MultiPolygon','35JuuWpd','add','contains','1878STOelr','difference','writeGeometry','20gcuoXP','push'];a72_0x2661=function(){return _0x1d8b94;};return a72_0x2661();}import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a72_0x24b366 from'ol/format/WKT';import a72_0x11d7ba from'ol/format/EsriJSON';const _parser=new a72_0x1871c7(undefined,undefined);_parser[a72_0x4687da(0x93)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x24806e,_0x13f591,_0x423158=![]){const _0x588cea=a72_0x4687da;if(!_0x24806e)return 0x0;const _0x5f2b1d=isSpheroid(_0x13f591);if(_0x423158)return a72_0x399004(_0x24806e,{'projection':_0x13f591});else{if(_0x5f2b1d){const _0x278957=getGeoProjection(_0x24806e,_0x13f591);return _0x24806e[_0x588cea(0x80)]()['transform'](_0x13f591,_0x278957)[_0x588cea(0x8e)]();}return _0x24806e['getArea']();}}export function bufferOp(_0xac4848,_0x4a51cb){const _0x179d72=a72_0x4687da,_0x1f9b8a=_parser[_0x179d72(0x87)](_0xac4848),_0x310c3c=a72_0x3d1a62['bufferOp'](_0x1f9b8a,_0x4a51cb);return _parser[_0x179d72(0x71)](_0x310c3c);}export function bufferPixel(_0x58fa35,_0xa1ecee,_0xf0b098){const _0x1baa5a=a72_0x4687da,_0x3f9a30=_0xf0b098[_0x1baa5a(0x95)](_0x58fa35[_0x1baa5a(0x7e)]()),_0x46cb4f=_0xf0b098[_0x1baa5a(0x7f)]([_0x3f9a30[0x0]+_0xa1ecee,_0x3f9a30[0x1]]),_0x6c9dd5=a72_0x34e426(_0x58fa35[_0x1baa5a(0x7e)](),_0x46cb4f),_0x18b620=bufferOp(_0x58fa35,_0x6c9dd5);return _0x18b620;}export function contains(_0x2364fc,_0x338e9a){const _0x36bae3=a72_0x4687da,_0x268113=_parser['read'](_0x2364fc),_0x5f0f25=_parser['read'](_0x338e9a);return a72_0x4ed99f[_0x36bae3(0x75)](_0x268113,_0x5f0f25);}export function crosses(_0x215548,_0x57c666){const _0x288ee1=a72_0x4687da,_0x3ce795=_parser[_0x288ee1(0x87)](_0x215548),_0x4b3163=_parser[_0x288ee1(0x87)](_0x57c666);return a72_0x4ed99f[_0x288ee1(0x7d)](_0x3ce795,_0x4b3163);}export function intersects(_0x340092,_0x5491f7){const _0x35523c=a72_0x4687da,_0x5c9f3d=_parser[_0x35523c(0x87)](_0x340092),_0x546302=_parser[_0x35523c(0x87)](_0x5491f7);return a72_0x4ed99f[_0x35523c(0x6f)](_0x5c9f3d,_0x546302);}export function intersection(_0x232a3c,_0x1f1e63){const _0x2c627d=a72_0x4687da,_0x463dca=_parser[_0x2c627d(0x87)](_0x232a3c),_0x23d8ff=_parser[_0x2c627d(0x87)](_0x1f1e63);return _parser[_0x2c627d(0x71)](a72_0x559d2c[_0x2c627d(0x86)](_0x463dca,_0x23d8ff));}export function union(_0x1d2586,_0x505609){const _0x471fee=a72_0x4687da,_0x229998=_parser[_0x471fee(0x87)](_0x1d2586),_0x40bb45=_parser[_0x471fee(0x87)](_0x505609);return _parser['write'](a72_0x559d2c[_0x471fee(0x88)](_0x229998,_0x40bb45));}export function difference(_0x236092,_0x5683ee){const _0x1214b2=a72_0x4687da,_0x4eda32=_parser[_0x1214b2(0x87)](_0x236092),_0x464f0a=_parser[_0x1214b2(0x87)](_0x5683ee);return _parser[_0x1214b2(0x71)](a72_0x559d2c['difference'](_0x4eda32,_0x464f0a));}export function distance(_0x10279f,_0x16eaa9){const _0x59da5d=a72_0x4687da,_0x423572=_parser['read'](_0x10279f),_0x2d261c=_parser[_0x59da5d(0x87)](_0x16eaa9);return _parser[_0x59da5d(0x71)](a72_0x35463b[_0x59da5d(0x8a)](_0x423572,_0x2d261c));}export function jstlSplit(_0x3ab602,_0x1afd7a){const _0x26df31=a72_0x4687da,_0x1f7a12=_parser['read'](_0x3ab602),_0x1124b9=_parser[_0x26df31(0x87)](_0x1afd7a),_0x53b112=_0x1f7a12[_0x26df31(0x8c)]();let _0x387fa8=[];function _0x4fb33c(_0x3b7627,_0x434285){const _0x5335a8=_0x26df31;let _0x336e7f=_0x3b7627[_0x5335a8(0x91)],_0xa9981a=_0x3b7627[_0x5335a8(0x92)]()[_0x5335a8(0x88)](_0x434285),_0x418775=new a72_0x4186b4();_0x418775[_0x5335a8(0x74)](_0xa9981a);let _0x120730=_0x418775['getPolygons']();_0x120730[_0x5335a8(0x70)][_0x5335a8(0x8b)]==0x2&&_0x120730['array']['forEach'](_0x55ad01=>{const _0x5a29f6=_0x5335a8;_0x336e7f[_0x5a29f6(0x85)](_0x5ef99d=>{const _0x954a56=_0x5a29f6;let _0x5885c6=[];for(let _0x52ba53 in _0x5ef99d[_0x954a56(0x7e)]()){_0x5885c6[_0x954a56(0x7a)]([_0x5ef99d[_0x954a56(0x7e)]()[_0x52ba53]['x'],_0x5ef99d[_0x954a56(0x7e)]()[_0x52ba53]['y']]);}_0x5ef99d=_parser[_0x954a56(0x87)]({'coordinates':[_0x5885c6],'type':_0x954a56(0x94)}),_0x55ad01=_0x55ad01[_0x954a56(0x77)](_0x5ef99d);}),_0x387fa8[_0x5a29f6(0x7a)](_parser[_0x5a29f6(0x71)](_0x55ad01));});}if(_0x53b112==='Polygon')_0x4fb33c(_0x1f7a12,_0x1124b9);else{if(_0x53b112===_0x26df31(0x72))_0x1f7a12['_geometries'][_0x26df31(0x85)]((_0x453c10,_0x9fe40d)=>{_0x4fb33c(_0x453c10,_0x1124b9);});else throw new Error('无法识别的数据类型');}return _0x387fa8;}export function fromWKT(_0x4a28a4,_0x2a8272,_0x7cc3a3){const _0x4b1120=a72_0x4687da,_0x28b008=new a72_0x24b366();_0x2a8272&&registerProj(_0x2a8272);_0x7cc3a3&&registerProj(_0x7cc3a3);const _0x2e6bbe=_0x28b008[_0x4b1120(0x84)](_0x4a28a4);if(isGeometryEmpty(_0x2e6bbe))return null;return _0x2a8272&&_0x7cc3a3?_0x2e6bbe[_0x4b1120(0x83)](new a72_0x425e60({'code':_0x2a8272}),new a72_0x425e60({'code':_0x7cc3a3})):_0x2e6bbe;}export function fromWKTs(_0xaf1f2,_0x210d3f,_0x3acd54){const _0x5eade9=a72_0x4687da,_0x2b93d5=new a72_0x24b366();let _0x31bacf=[];_0x210d3f&&registerProj(_0x210d3f);_0x3acd54&&registerProj(_0x3acd54);let _0x1128f3,_0x1c97d8;_0x210d3f&&_0x3acd54&&(_0x1128f3=new a72_0x425e60({'code':_0x210d3f}),_0x1c97d8=new a72_0x425e60({'code':_0x3acd54}));for(let _0x39f0d7=0x0;_0x39f0d7<_0xaf1f2['length'];_0x39f0d7++){const _0x47154a=_0x2b93d5[_0x5eade9(0x84)](_0xaf1f2[_0x39f0d7]);if(isGeometryEmpty(_0x47154a))continue;_0x1128f3&&_0x1c97d8?_0x31bacf[_0x5eade9(0x7a)](_0x47154a[_0x5eade9(0x83)](_0x1128f3,_0x1c97d8)):_0x31bacf[_0x5eade9(0x7a)](_0x47154a);}return _0x31bacf;}export function toWKT(_0x5aca3b){const _0xc7c07e=a72_0x4687da,_0x1b2620=new a72_0x24b366();if(isGeometryEmpty(_0x5aca3b))return'';if(_0x5aca3b instanceof Circle){const _0x26ee49=fromCircle(_0x5aca3b);return _0x1b2620[_0xc7c07e(0x78)](_0x26ee49);}else return _0x1b2620[_0xc7c07e(0x78)](_0x5aca3b);}export function toGeoJSON(_0x1e0060){const _0x5af7f5=a72_0x4687da,_0x51ed31=new a72_0x17556a();return _0x51ed31[_0x5af7f5(0x78)](_0x1e0060);}export function fromGeoJSON(_0x56a914){const _0x5909ff=a72_0x4687da,_0x526c78=new a72_0x17556a();return _0x526c78[_0x5909ff(0x84)](_0x56a914);}export function toEsriJSON(_0x3f345a){const _0x2bcf6c=a72_0x4687da,_0x138d2c=new a72_0x11d7ba();return _0x138d2c[_0x2bcf6c(0x78)](_0x3f345a);}export function fromEsriJSON(_0x2d9ec1){const _0x2c87a9=a72_0x4687da,_0x56d019=new a72_0x11d7ba();return _0x56d019[_0x2c87a9(0x84)](_0x2d9ec1);}export function expandExtent(_0x3235dd,_0x8582f4){const _0x27813c=_0x3235dd[0x0],_0x5168a9=_0x3235dd[0x1],_0x182c42=_0x3235dd[0x2],_0x4d823f=_0x3235dd[0x3],_0x3d6e2d=(_0x27813c+_0x182c42)/0x2,_0x38ac7e=(_0x5168a9+_0x4d823f)/0x2,_0x566d5e=_0x182c42-_0x27813c,_0x4d8fae=_0x4d823f-_0x5168a9,_0x164633=_0x566d5e*_0x8582f4,_0x507d5d=_0x4d8fae*_0x8582f4,_0x42a955=_0x3d6e2d-_0x164633/0x2,_0x5f3c7d=_0x3d6e2d+_0x164633/0x2,_0x2fa276=_0x38ac7e-_0x507d5d/0x2,_0x470609=_0x38ac7e+_0x507d5d/0x2;return[_0x42a955,_0x2fa276,_0x5f3c7d,_0x470609];}export function isGeometryEmpty(_0x11a12a){const _0x402cba=a72_0x4687da;if(!_0x11a12a)return!![];if(_0x11a12a instanceof Point||_0x11a12a instanceof MultiPoint){const _0x305a6e=_0x11a12a[_0x402cba(0x7e)]();return!_0x305a6e||_0x305a6e['some'](_0x1105aa=>isNaN(_0x1105aa));}else{if(_0x11a12a instanceof LineString||_0x11a12a instanceof MultiLineString)return _0x11a12a[_0x402cba(0x7e)]()[_0x402cba(0x8b)]<0x2;else{if(_0x11a12a instanceof Polygon){const _0x21aeb5=_0x11a12a['getCoordinates']();return!_0x21aeb5||_0x21aeb5['length']===0x0||_0x21aeb5[0x0][_0x402cba(0x8b)]<0x4;}else{if(_0x11a12a instanceof MultiPolygon){const _0x2e567b=_0x11a12a[_0x402cba(0x7e)]();return!_0x2e567b||_0x2e567b[_0x402cba(0x8b)]===0x0||_0x2e567b[0x0][0x0][_0x402cba(0x8b)]<0x4;}}}}return![];}
1
+ const a72_0x1ce662=a72_0x3c3d;(function(_0x10f735,_0x10e497){const _0x3620a1=a72_0x3c3d,_0x1e8fe8=_0x10f735();while(!![]){try{const _0x5731a6=-parseInt(_0x3620a1(0x8a))/0x1*(parseInt(_0x3620a1(0x8c))/0x2)+-parseInt(_0x3620a1(0x99))/0x3*(-parseInt(_0x3620a1(0x83))/0x4)+-parseInt(_0x3620a1(0xa2))/0x5*(-parseInt(_0x3620a1(0x82))/0x6)+-parseInt(_0x3620a1(0x9d))/0x7*(parseInt(_0x3620a1(0xa6))/0x8)+parseInt(_0x3620a1(0x84))/0x9+parseInt(_0x3620a1(0x8b))/0xa+-parseInt(_0x3620a1(0x85))/0xb;if(_0x5731a6===_0x10e497)break;else _0x1e8fe8['push'](_0x1e8fe8['shift']());}catch(_0x520c88){_0x1e8fe8['push'](_0x1e8fe8['shift']());}}}(a72_0x2585,0x79162));import a72_0x21550d from'ol/proj/Projection';import{distance as a72_0xa569f0}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';function a72_0x3c3d(_0x20510e,_0x59c6ca){const _0x258552=a72_0x2585();return a72_0x3c3d=function(_0x3c3dc1,_0x196e55){_0x3c3dc1=_0x3c3dc1-0x80;let _0x17edf1=_0x258552[_0x3c3dc1];return _0x17edf1;},a72_0x3c3d(_0x20510e,_0x59c6ca);}import{getArea as a72_0x2e8d49}from'ol/sphere';import a72_0x121b9c from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x2225c4 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a72_0x261c6f from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x4c7edf from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x53bf47 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a72_0x1c7893 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0x54aede from'ol/format/GeoJSON';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a72_0x566f76 from'ol/format/WKT';import a72_0x1b3f3a from'ol/format/EsriJSON';const _parser=new a72_0x4c7edf(undefined,undefined);_parser[a72_0x1ce662(0x97)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x1b8810,_0x572c00,_0xc30502=![]){const _0xecbe86=a72_0x1ce662;if(!_0x1b8810)return 0x0;const _0x9c3c7a=isSpheroid(_0x572c00);if(_0xc30502)return a72_0x2e8d49(_0x1b8810,{'projection':_0x572c00});else{if(_0x9c3c7a){const _0x18dd0a=getGeoProjection(_0x1b8810,_0x572c00);return _0x1b8810[_0xecbe86(0x80)]()[_0xecbe86(0x9a)](_0x572c00,_0x18dd0a)[_0xecbe86(0x98)]();}return _0x1b8810['getArea']();}}export function bufferOp(_0x571d36,_0x49eabe){const _0x473eb6=a72_0x1ce662,_0x33e510=_parser['read'](_0x571d36),_0x34ce29=a72_0x121b9c['bufferOp'](_0x33e510,_0x49eabe);return _parser[_0x473eb6(0x91)](_0x34ce29);}export function bufferPixel(_0x4b8e03,_0x57215b,_0x29905c){const _0x1ebba7=a72_0x1ce662,_0x2abee9=_0x29905c[_0x1ebba7(0x8d)](_0x4b8e03[_0x1ebba7(0xa3)]()),_0x36c158=_0x29905c[_0x1ebba7(0x8e)]([_0x2abee9[0x0]+_0x57215b,_0x2abee9[0x1]]),_0x2b44d7=a72_0xa569f0(_0x4b8e03[_0x1ebba7(0xa3)](),_0x36c158),_0x3b4bdf=bufferOp(_0x4b8e03,_0x2b44d7);return _0x3b4bdf;}export function contains(_0xc8f3b1,_0x2c457e){const _0x2c2b9d=a72_0x1ce662,_0x327e46=_parser[_0x2c2b9d(0x88)](_0xc8f3b1),_0x235875=_parser['read'](_0x2c457e);return a72_0x2225c4[_0x2c2b9d(0xa4)](_0x327e46,_0x235875);}export function crosses(_0x9bf24f,_0x5b152c){const _0x514a9b=a72_0x1ce662,_0x3782c3=_parser[_0x514a9b(0x88)](_0x9bf24f),_0xbcc9f=_parser[_0x514a9b(0x88)](_0x5b152c);return a72_0x2225c4[_0x514a9b(0x87)](_0x3782c3,_0xbcc9f);}export function intersects(_0x582636,_0x114a1f){const _0x236b99=a72_0x1ce662,_0x532667=_parser[_0x236b99(0x88)](_0x582636),_0x169959=_parser['read'](_0x114a1f);return a72_0x2225c4[_0x236b99(0x90)](_0x532667,_0x169959);}export function intersection(_0x5e4839,_0x507cc8){const _0x43015a=a72_0x1ce662,_0x1ab350=_parser['read'](_0x5e4839),_0x51b0bd=_parser[_0x43015a(0x88)](_0x507cc8);return _parser[_0x43015a(0x91)](a72_0x261c6f[_0x43015a(0xa0)](_0x1ab350,_0x51b0bd));}export function union(_0x1f348f,_0x55e909){const _0x58b4a1=a72_0x1ce662,_0x11daa6=_parser[_0x58b4a1(0x88)](_0x1f348f),_0x2ec250=_parser[_0x58b4a1(0x88)](_0x55e909);return _parser['write'](a72_0x261c6f[_0x58b4a1(0x8f)](_0x11daa6,_0x2ec250));}export function difference(_0x36180d,_0x163131){const _0x65a2b2=a72_0x1ce662,_0x2e4238=_parser[_0x65a2b2(0x88)](_0x36180d),_0x45ff63=_parser[_0x65a2b2(0x88)](_0x163131);return _parser['write'](a72_0x261c6f[_0x65a2b2(0x89)](_0x2e4238,_0x45ff63));}function a72_0x2585(){const _0xc05171=['Polygon','getGeometryType','12642IkZcpy','writeGeometry','array','intersection','getExteriorRing','147175SRuFBG','getCoordinates','contains','_holes','3224CXTUfc','add','MultiPolygon','clone','forEach','186ABHPlh','137272WwsPgO','2647008BlSpAg','5961582BUJSBh','length','crosses','read','difference','1iVsWTH','3487530LsqjUg','814648qCeqNq','getPixelFromCoordinate','getCoordinateFromPixel','union','intersects','write','distance','some','push','_geometries','readGeometry','inject','getArea','54mFqVbv','transform'];a72_0x2585=function(){return _0xc05171;};return a72_0x2585();}export function distance(_0x197157,_0x4f3396){const _0x377cfa=a72_0x1ce662,_0x35e285=_parser[_0x377cfa(0x88)](_0x197157),_0x22dc8d=_parser['read'](_0x4f3396);return _parser[_0x377cfa(0x91)](a72_0x1c7893[_0x377cfa(0x92)](_0x35e285,_0x22dc8d));}export function jstlSplit(_0xb84822,_0x58bb22){const _0x2ebbcc=a72_0x1ce662,_0x197ad3=_parser[_0x2ebbcc(0x88)](_0xb84822),_0xacfddf=_parser[_0x2ebbcc(0x88)](_0x58bb22),_0x2c4e42=_0x197ad3[_0x2ebbcc(0x9c)]();let _0x2bf448=[];function _0x262fe3(_0x2e4cfc,_0x3e99a8){const _0x5668e5=_0x2ebbcc;let _0x53a25e=_0x2e4cfc[_0x5668e5(0xa5)],_0x1eb332=_0x2e4cfc[_0x5668e5(0xa1)]()[_0x5668e5(0x8f)](_0x3e99a8),_0x12ec28=new a72_0x53bf47();_0x12ec28[_0x5668e5(0xa7)](_0x1eb332);let _0x2fd7f9=_0x12ec28['getPolygons']();_0x2fd7f9[_0x5668e5(0x9f)]['length']==0x2&&_0x2fd7f9[_0x5668e5(0x9f)][_0x5668e5(0x81)](_0x137622=>{const _0xd38a55=_0x5668e5;_0x53a25e[_0xd38a55(0x81)](_0x3b184a=>{const _0x1c1980=_0xd38a55;let _0x89cede=[];for(let _0x498fc9 in _0x3b184a[_0x1c1980(0xa3)]()){_0x89cede[_0x1c1980(0x94)]([_0x3b184a[_0x1c1980(0xa3)]()[_0x498fc9]['x'],_0x3b184a[_0x1c1980(0xa3)]()[_0x498fc9]['y']]);}_0x3b184a=_parser['read']({'coordinates':[_0x89cede],'type':_0x1c1980(0x9b)}),_0x137622=_0x137622[_0x1c1980(0x89)](_0x3b184a);}),_0x2bf448[_0xd38a55(0x94)](_parser[_0xd38a55(0x91)](_0x137622));});}if(_0x2c4e42===_0x2ebbcc(0x9b))_0x262fe3(_0x197ad3,_0xacfddf);else{if(_0x2c4e42===_0x2ebbcc(0xa8))_0x197ad3[_0x2ebbcc(0x95)][_0x2ebbcc(0x81)]((_0x243a19,_0x6f547a)=>{_0x262fe3(_0x243a19,_0xacfddf);});else throw new Error('无法识别的数据类型');}return _0x2bf448;}export function fromWKT(_0x1aebed,_0x37f1b5,_0xaa6e30){const _0x3a0e8e=a72_0x1ce662,_0x35efe4=new a72_0x566f76();_0x37f1b5&&registerProj(_0x37f1b5);_0xaa6e30&&registerProj(_0xaa6e30);const _0xdbba03=_0x35efe4[_0x3a0e8e(0x96)](_0x1aebed);if(isGeometryEmpty(_0xdbba03))return null;return _0x37f1b5&&_0xaa6e30?_0xdbba03[_0x3a0e8e(0x9a)](new a72_0x21550d({'code':_0x37f1b5}),new a72_0x21550d({'code':_0xaa6e30})):_0xdbba03;}export function fromWKTs(_0x5d2f8f,_0x5a6915,_0xca094e){const _0x1e496a=a72_0x1ce662,_0x4da616=new a72_0x566f76();let _0x15a390=[];_0x5a6915&&registerProj(_0x5a6915);_0xca094e&&registerProj(_0xca094e);let _0x58e1a7,_0x4fe4dc;_0x5a6915&&_0xca094e&&(_0x58e1a7=new a72_0x21550d({'code':_0x5a6915}),_0x4fe4dc=new a72_0x21550d({'code':_0xca094e}));for(let _0x2959aa=0x0;_0x2959aa<_0x5d2f8f['length'];_0x2959aa++){const _0x2920d4=_0x4da616[_0x1e496a(0x96)](_0x5d2f8f[_0x2959aa]);if(isGeometryEmpty(_0x2920d4))continue;_0x58e1a7&&_0x4fe4dc?_0x15a390['push'](_0x2920d4[_0x1e496a(0x9a)](_0x58e1a7,_0x4fe4dc)):_0x15a390[_0x1e496a(0x94)](_0x2920d4);}return _0x15a390;}export function toWKT(_0x56a12d){const _0x2da8ab=a72_0x1ce662,_0x39ff43=new a72_0x566f76();if(isGeometryEmpty(_0x56a12d))return'';if(_0x56a12d instanceof Circle){const _0x4c5f51=fromCircle(_0x56a12d);return _0x39ff43[_0x2da8ab(0x9e)](_0x4c5f51);}else return _0x39ff43[_0x2da8ab(0x9e)](_0x56a12d);}export function toGeoJSON(_0xcdd7b8){const _0x372747=a72_0x1ce662,_0x4a6e2d=new a72_0x54aede();return _0x4a6e2d[_0x372747(0x9e)](_0xcdd7b8);}export function fromGeoJSON(_0x2659a4){const _0x2804e7=new a72_0x54aede();return _0x2804e7['readGeometry'](_0x2659a4);}export function toEsriJSON(_0x2e69a1){const _0x193b04=new a72_0x1b3f3a();return _0x193b04['writeGeometry'](_0x2e69a1);}export function fromEsriJSON(_0x28f880){const _0x48f533=a72_0x1ce662,_0x1a6926=new a72_0x1b3f3a();return _0x1a6926[_0x48f533(0x96)](_0x28f880);}export function expandExtent(_0x338e1a,_0xae282a){const _0x39285b=_0x338e1a[0x0],_0x55eda1=_0x338e1a[0x1],_0x4d1e97=_0x338e1a[0x2],_0x13914c=_0x338e1a[0x3],_0x194fc8=(_0x39285b+_0x4d1e97)/0x2,_0xe207ae=(_0x55eda1+_0x13914c)/0x2,_0x32ecda=_0x4d1e97-_0x39285b,_0x11c63c=_0x13914c-_0x55eda1,_0x4e00a1=_0x32ecda*_0xae282a,_0x17bdc8=_0x11c63c*_0xae282a,_0x516599=_0x194fc8-_0x4e00a1/0x2,_0x2d1015=_0x194fc8+_0x4e00a1/0x2,_0x49e481=_0xe207ae-_0x17bdc8/0x2,_0x501c3c=_0xe207ae+_0x17bdc8/0x2;return[_0x516599,_0x49e481,_0x2d1015,_0x501c3c];}export function isGeometryEmpty(_0x56af76){const _0xdfc1b1=a72_0x1ce662;if(!_0x56af76)return!![];if(_0x56af76 instanceof Point||_0x56af76 instanceof MultiPoint){const _0x3223fe=_0x56af76[_0xdfc1b1(0xa3)]();return!_0x3223fe||_0x3223fe[_0xdfc1b1(0x93)](_0xe213dc=>isNaN(_0xe213dc));}else{if(_0x56af76 instanceof LineString||_0x56af76 instanceof MultiLineString)return _0x56af76[_0xdfc1b1(0xa3)]()[_0xdfc1b1(0x86)]<0x2;else{if(_0x56af76 instanceof Polygon){const _0x286c2f=_0x56af76[_0xdfc1b1(0xa3)]();return!_0x286c2f||_0x286c2f[_0xdfc1b1(0x86)]===0x0||_0x286c2f[0x0][_0xdfc1b1(0x86)]<0x4;}else{if(_0x56af76 instanceof MultiPolygon){const _0x5eca0b=_0x56af76[_0xdfc1b1(0xa3)]();return!_0x5eca0b||_0x5eca0b[_0xdfc1b1(0x86)]===0x0||_0x5eca0b[0x0][0x0][_0xdfc1b1(0x86)]<0x4;}}}}return![];}
@@ -1 +1 @@
1
- (function(_0x13e549,_0x5c5efd){const _0x559dbe=a73_0x3282,_0x2e89b8=_0x13e549();while(!![]){try{const _0x32dda0=-parseInt(_0x559dbe(0x1bc))/0x1+-parseInt(_0x559dbe(0x1c9))/0x2+-parseInt(_0x559dbe(0x1ca))/0x3*(parseInt(_0x559dbe(0x1b9))/0x4)+-parseInt(_0x559dbe(0x1d9))/0x5+parseInt(_0x559dbe(0x1d0))/0x6*(-parseInt(_0x559dbe(0x1ce))/0x7)+-parseInt(_0x559dbe(0x1cc))/0x8*(parseInt(_0x559dbe(0x1c0))/0x9)+parseInt(_0x559dbe(0x1cf))/0xa*(parseInt(_0x559dbe(0x1d3))/0xb);if(_0x32dda0===_0x5c5efd)break;else _0x2e89b8['push'](_0x2e89b8['shift']());}catch(_0x305608){_0x2e89b8['push'](_0x2e89b8['shift']());}}}(a73_0x437e,0xc2a61));import a73_0x3fefe0 from'../utils/AxiosUtil';function a73_0x437e(){const _0x4ba742=['711895PsYxSk','&format=image/png','length','4xWLXmh','&width=','assign','1171090ktMWwc','&height=','replace','geoserver','27pDqKWA','sublayers','layerType','title','includes','gwc/service/wmts','push','indexOf','showIndex','1309538NGTejz','769299wFNjXL','url','3503944PzUetz','sort','126yipVEh','10QNATyp','279918jteLyT','forEach','wms','56932535YJXTrE','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','Legend','&format=application/json','data','parentId'];a73_0x437e=function(){return _0x4ba742;};return a73_0x437e();}export function mapServiceTreeTransform(_0x683e8f){const _0x515d1f=a73_0x3282;let _0x39ac63=[];return _0x683e8f&&_0x683e8f[_0x515d1f(0x1b8)]>0x0&&(_0x683e8f['forEach'](_0xdb8fee=>{const _0x3124fc=_0x515d1f;(!_0xdb8fee[_0x3124fc(0x1d8)]||_0xdb8fee[_0x3124fc(0x1d8)]=='')&&_0x39ac63[_0x3124fc(0x1c6)](Object[_0x3124fc(0x1bb)]({},_0xdb8fee));}),_0x39ac63=_0x39ac63[_0x515d1f(0x1cd)]((_0x3d4057,_0x38e70f)=>{const _0x1a3d3b=_0x515d1f;return(_0x3d4057[_0x1a3d3b(0x1c8)]?_0x3d4057[_0x1a3d3b(0x1c8)]:0x0)-(_0x38e70f[_0x1a3d3b(0x1c8)]?_0x38e70f['showIndex']:0x0);}),_0x39ac63[_0x515d1f(0x1d1)](_0x5c62e9=>{_0x5c62e9['children']=setChildren(_0x5c62e9['id'],_0x683e8f);})),_0x39ac63;}function a73_0x3282(_0x1e18c9,_0x2c91b1){const _0x437e57=a73_0x437e();return a73_0x3282=function(_0x3282d6,_0x3c8079){_0x3282d6=_0x3282d6-0x1b8;let _0x31094f=_0x437e57[_0x3282d6];return _0x31094f;},a73_0x3282(_0x1e18c9,_0x2c91b1);}function setChildren(_0x48c470,_0xe88697){const _0x5a94e5=a73_0x3282;let _0x316d22=[];return _0xe88697[_0x5a94e5(0x1d1)](_0x13a0bd=>{const _0x1be587=_0x5a94e5;_0x48c470===(_0x13a0bd[_0x1be587(0x1d8)]==null?'':_0x13a0bd[_0x1be587(0x1d8)])&&_0x316d22[_0x1be587(0x1c6)](Object[_0x1be587(0x1bb)]({},_0x13a0bd));}),_0x316d22=_0x316d22[_0x5a94e5(0x1cd)]((_0x1e80e3,_0x369557)=>{const _0x3d481c=_0x5a94e5;return(_0x1e80e3[_0x3d481c(0x1c8)]?_0x1e80e3[_0x3d481c(0x1c8)]:0x0)-(_0x369557[_0x3d481c(0x1c8)]?_0x369557[_0x3d481c(0x1c8)]:0x0);}),_0x316d22[_0x5a94e5(0x1b8)]>0x0&&_0x316d22['forEach'](_0x33a952=>{_0x33a952['children']=setChildren(_0x33a952['id'],_0xe88697);}),_0x316d22;}export async function getLayerLegend(_0x4a7af4,_0x42cf45){const _0x3cc3e5=a73_0x3282;if(!_0x4a7af4||!_0x4a7af4['url']||!_0x4a7af4[_0x3cc3e5(0x1c1)]||_0x4a7af4[_0x3cc3e5(0x1c1)][_0x3cc3e5(0x1b8)]==0x0||!_0x4a7af4[_0x3cc3e5(0x1c2)])return;if(_0x4a7af4[_0x3cc3e5(0x1c2)][_0x3cc3e5(0x1c7)](_0x3cc3e5(0x1bf))>-0x1)return await getGeoServerLayerLegend(_0x4a7af4,_0x42cf45);return;}export async function getGeoServerLayerLegend(_0x1debbb,_0x1ba5cd){const _0x3feb16=a73_0x3282;if(!_0x1debbb||!_0x1debbb['url']||!_0x1debbb[_0x3feb16(0x1c1)]||_0x1debbb[_0x3feb16(0x1c1)]['length']==0x0)return;let _0x58e6ca=_0x1debbb[_0x3feb16(0x1cb)];const _0x2f9fbb=_0x1debbb['sublayers'];_0x58e6ca=_0x58e6ca[_0x3feb16(0x1be)](_0x3feb16(0x1c5),_0x3feb16(0x1d2));const _0x242e00=[];for(let _0x99e31c=0x0;_0x99e31c<_0x2f9fbb[_0x3feb16(0x1b8)];_0x99e31c++){const _0x19415b=_0x2f9fbb[_0x99e31c];let _0xefbdd5=_0x3feb16(0x1d4)+_0x19415b+_0x3feb16(0x1d6);const _0x4d2005=_0x58e6ca['includes']('?')?_0x58e6ca+'&'+_0xefbdd5:_0x58e6ca+'?'+_0xefbdd5,_0x3c34fe=await a73_0x3fefe0['get'](_0x4d2005);if(_0x3c34fe['data']&&_0x3c34fe[_0x3feb16(0x1d7)][_0x3feb16(0x1d5)]&&_0x3c34fe[_0x3feb16(0x1d7)]['Legend'][_0x3feb16(0x1b8)]>0x0)_0x242e00[_0x3feb16(0x1c6)](_0x3c34fe['data'][_0x3feb16(0x1d5)][0x0]);else{let _0x1052f1=_0x1ba5cd?_0x1ba5cd:0x10,_0x47e6e6=_0x3feb16(0x1d4)+_0x19415b+_0x3feb16(0x1ba)+_0x1052f1+_0x3feb16(0x1bd)+_0x1052f1+_0x3feb16(0x1da);const _0x4fdada=_0x58e6ca[_0x3feb16(0x1c4)]('?')?_0x58e6ca+'&'+_0x47e6e6:_0x58e6ca+'?'+_0x47e6e6;_0x242e00[_0x3feb16(0x1c6)]({'title':_0x1debbb[_0x3feb16(0x1c3)],'url':_0x4fdada});}}return _0x242e00;}
1
+ function a73_0x5e55(){const _0x1bf0a7=['push','&width=','473562ldjyIQ','wms','148lPAtNT','&format=application/json','includes','children','parentId','3818619IBZlWX','sort','108768AiauFI','replace','get','url','631608UJVvIM','40247ERnBia','82kcDMcm','38592876xkxZGi','title','95FYoOrr','showIndex','sublayers','112610pEjFFf','Legend','&format=image/png','gwc/service/wmts','geoserver','data','308LflTFq','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','layerType','length','90Cbgbwu','assign','forEach','indexOf'];a73_0x5e55=function(){return _0x1bf0a7;};return a73_0x5e55();}(function(_0x33631b,_0x4f11c3){const _0x49e916=a73_0x32f6,_0x9a341f=_0x33631b();while(!![]){try{const _0x3e5c89=parseInt(_0x49e916(0x1b0))/0x1*(-parseInt(_0x49e916(0x1b1))/0x2)+-parseInt(_0x49e916(0x1ab))/0x3*(-parseInt(_0x49e916(0x1a4))/0x4)+-parseInt(_0x49e916(0x1b4))/0x5*(parseInt(_0x49e916(0x1a2))/0x6)+parseInt(_0x49e916(0x1a9))/0x7+-parseInt(_0x49e916(0x1af))/0x8*(parseInt(_0x49e916(0x1c1))/0x9)+parseInt(_0x49e916(0x1b7))/0xa*(-parseInt(_0x49e916(0x1bd))/0xb)+parseInt(_0x49e916(0x1b2))/0xc;if(_0x3e5c89===_0x4f11c3)break;else _0x9a341f['push'](_0x9a341f['shift']());}catch(_0x443836){_0x9a341f['push'](_0x9a341f['shift']());}}}(a73_0x5e55,0xcf278));import a73_0x1099f6 from'../utils/AxiosUtil';function a73_0x32f6(_0x1a400c,_0x50f92c){const _0x5e557a=a73_0x5e55();return a73_0x32f6=function(_0x32f6eb,_0x27342a){_0x32f6eb=_0x32f6eb-0x19e;let _0x238d03=_0x5e557a[_0x32f6eb];return _0x238d03;},a73_0x32f6(_0x1a400c,_0x50f92c);}export function mapServiceTreeTransform(_0x4a3665){const _0x1423a9=a73_0x32f6;let _0x90a519=[];return _0x4a3665&&_0x4a3665['length']>0x0&&(_0x4a3665[_0x1423a9(0x19e)](_0x305c0f=>{const _0x1adb19=_0x1423a9;(!_0x305c0f[_0x1adb19(0x1a8)]||_0x305c0f[_0x1adb19(0x1a8)]=='')&&_0x90a519[_0x1adb19(0x1a0)](Object[_0x1adb19(0x1c2)]({},_0x305c0f));}),_0x90a519=_0x90a519[_0x1423a9(0x1aa)]((_0x31b2f0,_0xe457ba)=>{const _0x23cd8b=_0x1423a9;return(_0x31b2f0[_0x23cd8b(0x1b5)]?_0x31b2f0[_0x23cd8b(0x1b5)]:0x0)-(_0xe457ba['showIndex']?_0xe457ba[_0x23cd8b(0x1b5)]:0x0);}),_0x90a519[_0x1423a9(0x19e)](_0x5b8bb7=>{_0x5b8bb7['children']=setChildren(_0x5b8bb7['id'],_0x4a3665);})),_0x90a519;}function setChildren(_0x2ddda0,_0x5a1f24){const _0x5595b7=a73_0x32f6;let _0x424007=[];return _0x5a1f24[_0x5595b7(0x19e)](_0x36c468=>{const _0x3d5682=_0x5595b7;_0x2ddda0===(_0x36c468[_0x3d5682(0x1a8)]==null?'':_0x36c468[_0x3d5682(0x1a8)])&&_0x424007[_0x3d5682(0x1a0)](Object[_0x3d5682(0x1c2)]({},_0x36c468));}),_0x424007=_0x424007[_0x5595b7(0x1aa)]((_0x4ff7ab,_0x4e3ca0)=>{const _0x2c1ec9=_0x5595b7;return(_0x4ff7ab[_0x2c1ec9(0x1b5)]?_0x4ff7ab[_0x2c1ec9(0x1b5)]:0x0)-(_0x4e3ca0[_0x2c1ec9(0x1b5)]?_0x4e3ca0['showIndex']:0x0);}),_0x424007['length']>0x0&&_0x424007['forEach'](_0xfaa5f7=>{const _0x51067b=_0x5595b7;_0xfaa5f7[_0x51067b(0x1a7)]=setChildren(_0xfaa5f7['id'],_0x5a1f24);}),_0x424007;}export async function getLayerLegend(_0x28f7cd,_0xa53a5a){const _0x55b0cc=a73_0x32f6;if(!_0x28f7cd||!_0x28f7cd[_0x55b0cc(0x1ae)]||!_0x28f7cd[_0x55b0cc(0x1b6)]||_0x28f7cd[_0x55b0cc(0x1b6)][_0x55b0cc(0x1c0)]==0x0||!_0x28f7cd['layerType'])return;if(_0x28f7cd[_0x55b0cc(0x1bf)][_0x55b0cc(0x19f)](_0x55b0cc(0x1bb))>-0x1)return await getGeoServerLayerLegend(_0x28f7cd,_0xa53a5a);return;}export async function getGeoServerLayerLegend(_0x2b9c28,_0x19207e){const _0x1da4c8=a73_0x32f6;if(!_0x2b9c28||!_0x2b9c28[_0x1da4c8(0x1ae)]||!_0x2b9c28['sublayers']||_0x2b9c28[_0x1da4c8(0x1b6)][_0x1da4c8(0x1c0)]==0x0)return;let _0x452374=_0x2b9c28[_0x1da4c8(0x1ae)];const _0x47201f=_0x2b9c28[_0x1da4c8(0x1b6)];_0x452374=_0x452374[_0x1da4c8(0x1ac)](_0x1da4c8(0x1ba),_0x1da4c8(0x1a3));const _0x430d43=[];for(let _0x4b1554=0x0;_0x4b1554<_0x47201f[_0x1da4c8(0x1c0)];_0x4b1554++){const _0x3426da=_0x47201f[_0x4b1554];let _0x28fe08=_0x1da4c8(0x1be)+_0x3426da+_0x1da4c8(0x1a5);const _0x4d9a6a=_0x452374[_0x1da4c8(0x1a6)]('?')?_0x452374+'&'+_0x28fe08:_0x452374+'?'+_0x28fe08,_0x3c1e6e=await a73_0x1099f6[_0x1da4c8(0x1ad)](_0x4d9a6a);if(_0x3c1e6e[_0x1da4c8(0x1bc)]&&_0x3c1e6e[_0x1da4c8(0x1bc)][_0x1da4c8(0x1b8)]&&_0x3c1e6e['data'][_0x1da4c8(0x1b8)][_0x1da4c8(0x1c0)]>0x0)_0x430d43['push'](_0x3c1e6e[_0x1da4c8(0x1bc)][_0x1da4c8(0x1b8)][0x0]);else{let _0x337482=_0x19207e?_0x19207e:0x10,_0x19b67d='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x3426da+_0x1da4c8(0x1a1)+_0x337482+'&height='+_0x337482+_0x1da4c8(0x1b9);const _0x171813=_0x452374[_0x1da4c8(0x1a6)]('?')?_0x452374+'&'+_0x19b67d:_0x452374+'?'+_0x19b67d;_0x430d43[_0x1da4c8(0x1a0)]({'title':_0x2b9c28[_0x1da4c8(0x1b3)],'url':_0x171813});}}return _0x430d43;}