ym-gis-2d 1.0.29 → 1.0.30

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 (70) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/AreaMeasure.js +1 -1
  15. package/interaction/Draw.js +1 -1
  16. package/interaction/InteractionManager.js +1 -1
  17. package/interaction/Select.js +1 -1
  18. package/layers/ArcgisDynamicLayer.js +1 -1
  19. package/layers/ArcgisFeatureLayer.js +1 -1
  20. package/layers/ArcgisTileLayer.js +1 -1
  21. package/layers/ArcgisWMSLayer.js +1 -1
  22. package/layers/ArcgisWMTSLayer.js +1 -1
  23. package/layers/GeoserverVectorTile.js +1 -1
  24. package/layers/GeoserverWFSLayer.js +1 -1
  25. package/layers/GeoserverWMSLayer.js +1 -1
  26. package/layers/GeoserverWMTSLayer.js +1 -1
  27. package/layers/LayerManager.js +1 -1
  28. package/layers/TDTLayer.js +1 -1
  29. package/mapView/Map.js +1 -1
  30. package/mapView/View.js +1 -1
  31. package/package.json +1 -1
  32. package/plot/Plot.js +1 -1
  33. package/plot/geometry/point/Point.js +1 -1
  34. package/plot/geometry/polygon/BasePolygon.js +1 -1
  35. package/plot/geometry/polygon/Circle.js +1 -1
  36. package/plot/geometry/polygon/Polygon.js +1 -1
  37. package/plot/geometry/polygon/RectAngle.js +1 -1
  38. package/plot/geometry/polyline/BaseLine.js +1 -1
  39. package/plot/geometry/polyline/Polyline.js +1 -1
  40. package/style/PointStyleFormat.js +1 -1
  41. package/style/PolygonStyleFormat.js +1 -1
  42. package/style/PolylineStyleFormat.js +1 -1
  43. package/style/StyleManager.js +1 -1
  44. package/style/common.js +1 -1
  45. package/utils/ArrayUtil.js +1 -1
  46. package/utils/AxiosUtil.js +1 -1
  47. package/utils/EsriUtil.js +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/LayerUtil.js +1 -1
  50. package/utils/RegisterProjUtil.js +1 -1
  51. package/utils/ResolutionUtil.js +1 -1
  52. package/utils/StringUtil.js +1 -1
  53. package/utils/StyleUtil.js +1 -1
  54. package/utils/UrlUtil.js +1 -1
  55. package/utils/XmlUtil.js +1 -1
  56. package/utils/format/CQL.js +1 -1
  57. package/utils/format/IsMatchCql.js +1 -1
  58. package/utils/plug/canvas/ImageCache.js +1 -1
  59. package/utils/plug/canvas/PinBuilder.js +1 -1
  60. package/utils/plug/canvas/PinIcon.js +1 -1
  61. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  62. package/utils/tasks/esri/Identify.js +1 -1
  63. package/utils/tasks/esri/Query.js +1 -1
  64. package/utils/tasks/esri/Task.js +1 -1
  65. package/utils/tasks/geoserver/QueryTask.js +1 -1
  66. package/utils/tasks/index.d.ts.map +1 -1
  67. package/utils/tasks/index.js +1 -1
  68. package/utils/tasks/index.js.map +1 -1
  69. package/ym-gis-2d.es.js +1 -1
  70. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- (function(_0x288e9f,_0x1e55da){const _0x11063f=a74_0x5e05,_0x4983d5=_0x288e9f();while(!![]){try{const _0x5b1cf6=parseInt(_0x11063f(0x1a0))/0x1+-parseInt(_0x11063f(0x19a))/0x2+parseInt(_0x11063f(0x1b1))/0x3+parseInt(_0x11063f(0x1a1))/0x4+-parseInt(_0x11063f(0x1a9))/0x5*(parseInt(_0x11063f(0x189))/0x6)+-parseInt(_0x11063f(0x1a3))/0x7+-parseInt(_0x11063f(0x1ac))/0x8;if(_0x5b1cf6===_0x1e55da)break;else _0x4983d5['push'](_0x4983d5['shift']());}catch(_0x2d1eeb){_0x4983d5['push'](_0x4983d5['shift']());}}}(a74_0x1724,0x7f36f));import{createTextStyle,getColor}from'./common';function a74_0x5e05(_0x3f2369,_0x59de56){const _0x17247d=a74_0x1724();return a74_0x5e05=function(_0x5e0583,_0x102b1a){_0x5e0583=_0x5e0583-0x180;let _0x572bbd=_0x17247d[_0x5e0583];return _0x572bbd;},a74_0x5e05(_0x3f2369,_0x59de56);}import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';function a74_0x1724(){const _0x1a4e90=['outlineColor','stroke','outline','435182iZuYEi','outlineWidth','getFlatMidpoints','length','lineWidth','shadowColor','878942oyAbia','1756076KcfSOQ','concat','419909rHVSjV','getFirstCoordinate','sin','push','setRenderer','pow','4467055MrpQhb','getCoordinates','butt','620304AKUWwi','width','atan2','sqrt','opacity','1354911zIpJjO','beginPath','MultiLineString','setGeometry','billboard','restore','glowPower','toString','LineString','label','getGeometry','6sISnza','getFlatMidpoint','save','context','cos','strokeStyle','arrow','getType','lineTo','moveTo','show','lineCap','lineType','color'];a74_0x1724=function(){return _0x1a4e90;};return a74_0x1724();}import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x2f13c5,_0x45d2c7,_0x33ba18,_0x5a9471){const _0x4a9267=a74_0x5e05;var _0x50b080,_0x324bfa,_0x4d5102;let _0x2a33e3=(_0x50b080=_0x2f13c5['zIndex'])!==null&&_0x50b080!==void 0x0?_0x50b080:0x0;const _0x72b443=_0x5a3982=>{const _0x52fef5=a74_0x5e05;var _0x11fef8=_0x5a3982[_0x52fef5(0x188)]();if(_0x11fef8)return _getRealPolyline(_0x11fef8,_0x2f13c5);return _0x11fef8;},_0x2fe28e=_0x2318f0=>{const _0x260a63=a74_0x5e05;var _0x1167b4=_0x2318f0[_0x260a63(0x188)]();let _0x24ca01=_0x1167b4;_0x1167b4&&(_0x24ca01=_getRealPolyline(_0x1167b4,_0x2f13c5));if(_0x24ca01&&_0x24ca01[_0x260a63(0x190)]()===_0x260a63(0x186))return new Point(_0x24ca01[_0x260a63(0x18a)]());else{let _0x544ff9=_0x24ca01[_0x260a63(0x19c)](),_0x196490=0x2,_0x1ceeb7=[];for(let _0x359746=0x0,_0x36dae1=_0x544ff9[_0x260a63(0x19d)];_0x359746<_0x36dae1;_0x359746+=_0x196490){let _0x114c85=[_0x544ff9[_0x359746],_0x544ff9[_0x359746+0x1]];_0x1ceeb7['push'](_0x114c85);}return new MultiPoint(_0x1ceeb7);}};let _0x3b0b9c=new Style({'geometry':_0x72b443,'stroke':new Stroke({'color':getColor(_0x2f13c5[_0x4a9267(0x196)],_0x2f13c5[_0x4a9267(0x1b0)]),'width':_0x2f13c5['width']}),'zIndex':_0x2a33e3}),_0xcf875=[_0x3b0b9c];if(_0x2f13c5[_0x4a9267(0x195)]==='dash'){let _0x28d84d=_0x2f13c5[_0x4a9267(0x19b)]/0x2,_0x19d0f3=new Style({'geometry':_0x72b443,'zIndex':_0x2a33e3,'stroke':new Stroke({'color':getColor(_0x2f13c5[_0x4a9267(0x196)],_0x2f13c5[_0x4a9267(0x1b0)]),'width':_0x2f13c5[_0x4a9267(0x1ad)],'lineCap':_0x4a9267(0x1ab),'lineDash':[_0x28d84d,_0x28d84d]})}),_0x35b7ca=new Style({'geometry':_0x72b443,'zIndex':_0x2a33e3+0.5,'stroke':new Stroke({'color':getColor(_0x2f13c5[_0x4a9267(0x197)],Number((_0x4d5102=(_0x324bfa=_0x2f13c5['outlineOpacity'])!==null&&_0x324bfa!==void 0x0?_0x324bfa:_0x2f13c5['opacity'])!==null&&_0x4d5102!==void 0x0?_0x4d5102:0x1)),'width':_0x2f13c5[_0x4a9267(0x1ad)],'lineCap':'butt','lineDash':[_0x28d84d,_0x28d84d],'lineDashOffset':_0x28d84d})});_0xcf875=[_0x19d0f3,_0x35b7ca];}_0x2f13c5[_0x4a9267(0x195)]===_0x4a9267(0x18f)&&_0x3b0b9c[_0x4a9267(0x1a7)]((_0x515475,_0x130a31)=>{const _0x502d04=_0x4a9267;let _0x3a193d=_0x130a31['context'],_0x2a336f=parseInt((_0x2f13c5[_0x502d04(0x1ad)]/0x4)[_0x502d04(0x185)]()),_0x187494=0xa,_0x5cbe56=Math[_0x502d04(0x1af)](Math[_0x502d04(0x1a8)](_0x187494,0x2)+Math[_0x502d04(0x1a8)](_0x2f13c5[_0x502d04(0x1ad)]/0x2,0x2)),_0x5a04d0=0x2d,_0x10b013=_0x515475[_0x515475['length']-0x2][0x0],_0x38265a=_0x515475[_0x515475[_0x502d04(0x19d)]-0x2][0x1],_0x16b5d1=_0x515475[_0x515475[_0x502d04(0x19d)]-0x1][0x0],_0x3064be=_0x515475[_0x515475[_0x502d04(0x19d)]-0x1][0x1],_0x3d819b=Math[_0x502d04(0x1ae)](_0x38265a-_0x3064be,_0x10b013-_0x16b5d1)*0xb4/Math['PI'],_0xb0e6d=(_0x3d819b+_0x5a04d0)*Math['PI']/0xb4,_0x4b2f1e=(_0x3d819b-_0x5a04d0)*Math['PI']/0xb4,_0x3976d9=_0x5cbe56*Math[_0x502d04(0x18d)](_0xb0e6d),_0x3d968f=_0x5cbe56*Math[_0x502d04(0x1a5)](_0xb0e6d),_0x4e3d28=_0x5cbe56*Math[_0x502d04(0x18d)](_0x4b2f1e),_0x43fd62=_0x5cbe56*Math['sin'](_0x4b2f1e);_0x3a193d[_0x502d04(0x18b)](),_0x3a193d[_0x502d04(0x1b2)]();let _0x3caf1a,_0x176395;for(let _0x408771=0x0;_0x408771<_0x515475[_0x502d04(0x19d)];_0x408771++){_0x408771===0x0?_0x3a193d[_0x502d04(0x192)](_0x515475[_0x408771][0x0],_0x515475[_0x408771][0x1]):_0x3a193d[_0x502d04(0x191)](_0x515475[_0x408771][0x0],_0x515475[_0x408771][0x1]);}_0x3a193d[_0x502d04(0x18e)]=getColor(_0x2f13c5[_0x502d04(0x196)],_0x2f13c5[_0x502d04(0x1b0)]),_0x3a193d[_0x502d04(0x19e)]=_0x2a336f,_0x3a193d[_0x502d04(0x194)]='butt',_0x3a193d[_0x502d04(0x198)](),_0x3caf1a=_0x16b5d1+_0x3976d9,_0x176395=_0x3064be+_0x3d968f,_0x3a193d[_0x502d04(0x192)](_0x3caf1a,_0x176395),_0x3a193d['lineTo'](_0x16b5d1,_0x3064be),_0x3caf1a=_0x16b5d1+_0x4e3d28,_0x176395=_0x3064be+_0x43fd62,_0x3a193d[_0x502d04(0x191)](_0x3caf1a,_0x176395),_0x3a193d[_0x502d04(0x194)]=_0x502d04(0x1ab),_0x3a193d[_0x502d04(0x198)](),_0x3a193d[_0x502d04(0x183)]();});_0x2f13c5[_0x4a9267(0x195)]==='glow'&&_0x3b0b9c[_0x4a9267(0x1a7)]((_0x40e331,_0x2836a2)=>{const _0x1a36f6=_0x4a9267;let _0x227199=_0x2836a2[_0x1a36f6(0x18c)];_0x227199[_0x1a36f6(0x18b)]();for(let _0x254fa9=0x0;_0x254fa9<0x4;_0x254fa9++){let _0x440005=_0x2f13c5[_0x1a36f6(0x1ad)]/0xa*(_0x2f13c5['glowPower']===0x0?0x1:_0x2f13c5[_0x1a36f6(0x184)]);_0x227199[_0x1a36f6(0x19f)]=getColor(_0x2f13c5[_0x1a36f6(0x196)],_0x2f13c5['opacity']),_0x227199['shadowBlur']=_0x2f13c5[_0x1a36f6(0x1ad)]/0x5*0x2,_0x227199[_0x1a36f6(0x1b2)]();for(let _0x4e2489=0x0;_0x4e2489<_0x40e331['length'];_0x4e2489++){_0x4e2489===0x0?_0x227199['moveTo'](_0x40e331[_0x4e2489][0x0],_0x40e331[_0x4e2489][0x1]):_0x227199[_0x1a36f6(0x191)](_0x40e331[_0x4e2489][0x0],_0x40e331[_0x4e2489][0x1]);}_0x227199[_0x1a36f6(0x194)]=_0x1a36f6(0x1ab),_0x227199['lineWidth']=_0x440005,_0x227199['strokeStyle']=getColor('white',_0x2f13c5[_0x1a36f6(0x1b0)]),_0x227199[_0x1a36f6(0x198)]();}_0x227199[_0x1a36f6(0x183)]();});_0x2f13c5[_0x4a9267(0x195)]===_0x4a9267(0x199)&&_0x3b0b9c[_0x4a9267(0x1a7)]((_0x2ac33f,_0x3c294d)=>{const _0x3ae470=_0x4a9267;let _0x7d8833=_0x3c294d[_0x3ae470(0x18c)];_0x7d8833[_0x3ae470(0x18b)](),_0x7d8833[_0x3ae470(0x1b2)]();for(let _0x32fa9d=0x0;_0x32fa9d<_0x2ac33f[_0x3ae470(0x19d)];_0x32fa9d++){_0x32fa9d===0x0?_0x7d8833[_0x3ae470(0x192)](_0x2ac33f[_0x32fa9d][0x0],_0x2ac33f[_0x32fa9d][0x1]):_0x7d8833[_0x3ae470(0x191)](_0x2ac33f[_0x32fa9d][0x0],_0x2ac33f[_0x32fa9d][0x1]);}_0x7d8833[_0x3ae470(0x194)]=_0x3ae470(0x1ab),_0x7d8833[_0x3ae470(0x19e)]=_0x2f13c5['width'],_0x7d8833['strokeStyle']=getColor(_0x2f13c5['outlineColor'],_0x2f13c5[_0x3ae470(0x1b0)]),_0x7d8833[_0x3ae470(0x198)](),_0x7d8833[_0x3ae470(0x1b2)]();for(let _0x39ec78=0x0;_0x39ec78<_0x2ac33f[_0x3ae470(0x19d)];_0x39ec78++){_0x39ec78===0x0?_0x7d8833[_0x3ae470(0x192)](_0x2ac33f[_0x39ec78][0x0],_0x2ac33f[_0x39ec78][0x1]):_0x7d8833['lineTo'](_0x2ac33f[_0x39ec78][0x0],_0x2ac33f[_0x39ec78][0x1]);}_0x7d8833[_0x3ae470(0x194)]='butt',_0x2f13c5['outlineWidth']>=_0x2f13c5[_0x3ae470(0x1ad)]&&(_0x2f13c5[_0x3ae470(0x19b)]=_0x2f13c5['width']-0x1),_0x7d8833[_0x3ae470(0x19e)]=_0x2f13c5[_0x3ae470(0x1ad)]-_0x2f13c5[_0x3ae470(0x19b)],_0x7d8833[_0x3ae470(0x18e)]=getColor(_0x2f13c5[_0x3ae470(0x196)],_0x2f13c5[_0x3ae470(0x1b0)]),_0x7d8833[_0x3ae470(0x198)](),_0x7d8833['restore']();});let _0x5c46c7=getImageOlStyle(_0x2f13c5[_0x4a9267(0x182)],_0x2a33e3,_0x33ba18,_0x5a9471);_0x5c46c7&&(_0x5c46c7[_0x4a9267(0x181)](_0x2fe28e),_0xcf875[_0x4a9267(0x1a6)](_0x5c46c7));if(_0x2f13c5[_0x4a9267(0x187)]&&_0x2f13c5[_0x4a9267(0x187)][_0x4a9267(0x193)]!==![]){let _0x49dff4=new Style({'geometry':_0x2fe28e,'text':createTextStyle(_0x2f13c5[_0x4a9267(0x187)],_0x45d2c7,_0x33ba18,_0x5a9471),'zIndex':Number(_0x2a33e3)+0x1});_0xcf875[_0x4a9267(0x1a6)](_0x49dff4);}return _0xcf875;}function _getRealPolyline(_0x171e8a,_0x1a9ae1){const _0x4eab0f=a74_0x5e05;if(!(_0x1a9ae1===null||_0x1a9ae1===void 0x0?void 0x0:_0x1a9ae1['closed']))return _0x171e8a;else{if(_0x171e8a[_0x4eab0f(0x190)]()===_0x4eab0f(0x180)){let _0x6acf36=_0x171e8a[_0x4eab0f(0x1aa)]();for(let _0x13e1bc in _0x6acf36){let _0x39477a=_0x6acf36[_0x13e1bc];_0x6acf36[_0x13e1bc]=_0x39477a[_0x4eab0f(0x1a2)]([_0x39477a[0x0]]);}return new MultiLineString(_0x6acf36);}else return new LineString(_0x171e8a[_0x4eab0f(0x1aa)]()[_0x4eab0f(0x1a2)]([_0x171e8a[_0x4eab0f(0x1a4)]()]));}}
1
+ function a74_0x324d(){const _0x10f0f5=['getFlatMidpoints','context','sin','1273428HyQFYL','color','754158GIXgsD','shadowBlur','1010cGvdtS','getCoordinates','pow','41943prAaYI','moveTo','getGeometry','stroke','glow','3887300gtOAkV','4344072VDpbjG','LineString','length','arrow','save','lineWidth','width','outlineColor','white','strokeStyle','shadowColor','outline','setRenderer','cos','restore','MultiLineString','lineCap','concat','opacity','toString','164KLsYBL','butt','318187AFOtGR','getFlatMidpoint','label','sqrt','setGeometry','push','beginPath','5VslWDd','outlineOpacity','30489NNoLRi','closed','outlineWidth','lineType','getType','lineTo','getFirstCoordinate','billboard','7xtEGmc','show'];a74_0x324d=function(){return _0x10f0f5;};return a74_0x324d();}(function(_0xecbac2,_0x2710d4){const _0x23b986=a74_0x519b,_0x2b59f8=_0xecbac2();while(!![]){try{const _0x514e94=-parseInt(_0x23b986(0x149))/0x1+-parseInt(_0x23b986(0x147))/0x2*(-parseInt(_0x23b986(0x152))/0x3)+parseInt(_0x23b986(0x16b))/0x4*(parseInt(_0x23b986(0x150))/0x5)+-parseInt(_0x23b986(0x161))/0x6+-parseInt(_0x23b986(0x15a))/0x7*(parseInt(_0x23b986(0x16c))/0x8)+parseInt(_0x23b986(0x15f))/0x9+parseInt(_0x23b986(0x163))/0xa*(-parseInt(_0x23b986(0x166))/0xb);if(_0x514e94===_0x2710d4)break;else _0x2b59f8['push'](_0x2b59f8['shift']());}catch(_0x512f33){_0x2b59f8['push'](_0x2b59f8['shift']());}}}(a74_0x324d,0x8c4d9));function a74_0x519b(_0x9a9f08,_0x57c21f){const _0x324d67=a74_0x324d();return a74_0x519b=function(_0x519bc2,_0x26e8d2){_0x519bc2=_0x519bc2-0x13f;let _0x4a8f7d=_0x324d67[_0x519bc2];return _0x4a8f7d;},a74_0x519b(_0x9a9f08,_0x57c21f);}import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x570a86,_0x4b51ff,_0xe0189a,_0xbae941){const _0x1f1a03=a74_0x519b;var _0x4a490e,_0x4405dd,_0x2b6b5a;let _0x22b541=(_0x4a490e=_0x570a86['zIndex'])!==null&&_0x4a490e!==void 0x0?_0x4a490e:0x0;const _0x36a872=_0x3a1d3c=>{const _0x279513=a74_0x519b;var _0x156d4d=_0x3a1d3c[_0x279513(0x168)]();if(_0x156d4d)return _getRealPolyline(_0x156d4d,_0x570a86);return _0x156d4d;},_0x314d80=_0x1990e5=>{const _0x17ac7e=a74_0x519b;var _0x579134=_0x1990e5[_0x17ac7e(0x168)]();let _0xc8eddd=_0x579134;_0x579134&&(_0xc8eddd=_getRealPolyline(_0x579134,_0x570a86));if(_0xc8eddd&&_0xc8eddd['getType']()===_0x17ac7e(0x16d))return new Point(_0xc8eddd[_0x17ac7e(0x14a)]());else{let _0x4e5b48=_0xc8eddd[_0x17ac7e(0x15c)](),_0x3502cb=0x2,_0x3f873a=[];for(let _0x2fc7b6=0x0,_0x8bf633=_0x4e5b48[_0x17ac7e(0x16e)];_0x2fc7b6<_0x8bf633;_0x2fc7b6+=_0x3502cb){let _0x358ad1=[_0x4e5b48[_0x2fc7b6],_0x4e5b48[_0x2fc7b6+0x1]];_0x3f873a[_0x17ac7e(0x14e)](_0x358ad1);}return new MultiPoint(_0x3f873a);}};let _0xf465a0=new Style({'geometry':_0x36a872,'stroke':new Stroke({'color':getColor(_0x570a86[_0x1f1a03(0x160)],_0x570a86['opacity']),'width':_0x570a86[_0x1f1a03(0x172)]}),'zIndex':_0x22b541}),_0x5f4cb5=[_0xf465a0];if(_0x570a86['lineType']==='dash'){let _0x26c6f1=_0x570a86[_0x1f1a03(0x154)]/0x2,_0x9ce75=new Style({'geometry':_0x36a872,'zIndex':_0x22b541,'stroke':new Stroke({'color':getColor(_0x570a86[_0x1f1a03(0x160)],_0x570a86[_0x1f1a03(0x145)]),'width':_0x570a86[_0x1f1a03(0x172)],'lineCap':'butt','lineDash':[_0x26c6f1,_0x26c6f1]})}),_0x3579af=new Style({'geometry':_0x36a872,'zIndex':_0x22b541+0.5,'stroke':new Stroke({'color':getColor(_0x570a86[_0x1f1a03(0x173)],Number((_0x2b6b5a=(_0x4405dd=_0x570a86[_0x1f1a03(0x151)])!==null&&_0x4405dd!==void 0x0?_0x4405dd:_0x570a86[_0x1f1a03(0x145)])!==null&&_0x2b6b5a!==void 0x0?_0x2b6b5a:0x1)),'width':_0x570a86[_0x1f1a03(0x172)],'lineCap':_0x1f1a03(0x148),'lineDash':[_0x26c6f1,_0x26c6f1],'lineDashOffset':_0x26c6f1})});_0x5f4cb5=[_0x9ce75,_0x3579af];}_0x570a86[_0x1f1a03(0x155)]===_0x1f1a03(0x16f)&&_0xf465a0[_0x1f1a03(0x13f)]((_0x5bf805,_0x23660a)=>{const _0x16c1dd=_0x1f1a03;let _0x4e4e69=_0x23660a['context'],_0x345661=parseInt((_0x570a86['width']/0x4)[_0x16c1dd(0x146)]()),_0x286e6a=0xa,_0x3e9256=Math[_0x16c1dd(0x14c)](Math['pow'](_0x286e6a,0x2)+Math[_0x16c1dd(0x165)](_0x570a86[_0x16c1dd(0x172)]/0x2,0x2)),_0x5e641f=0x2d,_0x35dc6a=_0x5bf805[_0x5bf805[_0x16c1dd(0x16e)]-0x2][0x0],_0x19f919=_0x5bf805[_0x5bf805[_0x16c1dd(0x16e)]-0x2][0x1],_0x15c167=_0x5bf805[_0x5bf805['length']-0x1][0x0],_0x17e065=_0x5bf805[_0x5bf805['length']-0x1][0x1],_0x1c4af5=Math['atan2'](_0x19f919-_0x17e065,_0x35dc6a-_0x15c167)*0xb4/Math['PI'],_0x653cb6=(_0x1c4af5+_0x5e641f)*Math['PI']/0xb4,_0x15ad34=(_0x1c4af5-_0x5e641f)*Math['PI']/0xb4,_0x23eb86=_0x3e9256*Math[_0x16c1dd(0x140)](_0x653cb6),_0x31d319=_0x3e9256*Math['sin'](_0x653cb6),_0x50bcb3=_0x3e9256*Math[_0x16c1dd(0x140)](_0x15ad34),_0x4b82a4=_0x3e9256*Math[_0x16c1dd(0x15e)](_0x15ad34);_0x4e4e69['save'](),_0x4e4e69[_0x16c1dd(0x14f)]();let _0x2d6982,_0x26ff3c;for(let _0x4f431d=0x0;_0x4f431d<_0x5bf805[_0x16c1dd(0x16e)];_0x4f431d++){_0x4f431d===0x0?_0x4e4e69[_0x16c1dd(0x167)](_0x5bf805[_0x4f431d][0x0],_0x5bf805[_0x4f431d][0x1]):_0x4e4e69['lineTo'](_0x5bf805[_0x4f431d][0x0],_0x5bf805[_0x4f431d][0x1]);}_0x4e4e69[_0x16c1dd(0x175)]=getColor(_0x570a86[_0x16c1dd(0x160)],_0x570a86[_0x16c1dd(0x145)]),_0x4e4e69[_0x16c1dd(0x171)]=_0x345661,_0x4e4e69[_0x16c1dd(0x143)]=_0x16c1dd(0x148),_0x4e4e69['stroke'](),_0x2d6982=_0x15c167+_0x23eb86,_0x26ff3c=_0x17e065+_0x31d319,_0x4e4e69[_0x16c1dd(0x167)](_0x2d6982,_0x26ff3c),_0x4e4e69['lineTo'](_0x15c167,_0x17e065),_0x2d6982=_0x15c167+_0x50bcb3,_0x26ff3c=_0x17e065+_0x4b82a4,_0x4e4e69[_0x16c1dd(0x157)](_0x2d6982,_0x26ff3c),_0x4e4e69['lineCap']='butt',_0x4e4e69[_0x16c1dd(0x169)](),_0x4e4e69[_0x16c1dd(0x141)]();});_0x570a86['lineType']===_0x1f1a03(0x16a)&&_0xf465a0[_0x1f1a03(0x13f)]((_0x14accc,_0x2ebc28)=>{const _0x571ff9=_0x1f1a03;let _0x39cc65=_0x2ebc28[_0x571ff9(0x15d)];_0x39cc65[_0x571ff9(0x170)]();for(let _0x28039c=0x0;_0x28039c<0x4;_0x28039c++){let _0x52e157=_0x570a86[_0x571ff9(0x172)]/0xa*(_0x570a86['glowPower']===0x0?0x1:_0x570a86['glowPower']);_0x39cc65[_0x571ff9(0x176)]=getColor(_0x570a86['color'],_0x570a86['opacity']),_0x39cc65[_0x571ff9(0x162)]=_0x570a86['width']/0x5*0x2,_0x39cc65['beginPath']();for(let _0x5d22ae=0x0;_0x5d22ae<_0x14accc[_0x571ff9(0x16e)];_0x5d22ae++){_0x5d22ae===0x0?_0x39cc65['moveTo'](_0x14accc[_0x5d22ae][0x0],_0x14accc[_0x5d22ae][0x1]):_0x39cc65[_0x571ff9(0x157)](_0x14accc[_0x5d22ae][0x0],_0x14accc[_0x5d22ae][0x1]);}_0x39cc65[_0x571ff9(0x143)]=_0x571ff9(0x148),_0x39cc65[_0x571ff9(0x171)]=_0x52e157,_0x39cc65[_0x571ff9(0x175)]=getColor(_0x571ff9(0x174),_0x570a86['opacity']),_0x39cc65[_0x571ff9(0x169)]();}_0x39cc65[_0x571ff9(0x141)]();});_0x570a86[_0x1f1a03(0x155)]===_0x1f1a03(0x177)&&_0xf465a0[_0x1f1a03(0x13f)]((_0x2251af,_0x178a4e)=>{const _0x1f6c74=_0x1f1a03;let _0x5bff0f=_0x178a4e[_0x1f6c74(0x15d)];_0x5bff0f[_0x1f6c74(0x170)](),_0x5bff0f[_0x1f6c74(0x14f)]();for(let _0x590540=0x0;_0x590540<_0x2251af['length'];_0x590540++){_0x590540===0x0?_0x5bff0f[_0x1f6c74(0x167)](_0x2251af[_0x590540][0x0],_0x2251af[_0x590540][0x1]):_0x5bff0f[_0x1f6c74(0x157)](_0x2251af[_0x590540][0x0],_0x2251af[_0x590540][0x1]);}_0x5bff0f[_0x1f6c74(0x143)]=_0x1f6c74(0x148),_0x5bff0f[_0x1f6c74(0x171)]=_0x570a86[_0x1f6c74(0x172)],_0x5bff0f[_0x1f6c74(0x175)]=getColor(_0x570a86['outlineColor'],_0x570a86[_0x1f6c74(0x145)]),_0x5bff0f['stroke'](),_0x5bff0f[_0x1f6c74(0x14f)]();for(let _0x267cb4=0x0;_0x267cb4<_0x2251af[_0x1f6c74(0x16e)];_0x267cb4++){_0x267cb4===0x0?_0x5bff0f[_0x1f6c74(0x167)](_0x2251af[_0x267cb4][0x0],_0x2251af[_0x267cb4][0x1]):_0x5bff0f['lineTo'](_0x2251af[_0x267cb4][0x0],_0x2251af[_0x267cb4][0x1]);}_0x5bff0f['lineCap']=_0x1f6c74(0x148),_0x570a86[_0x1f6c74(0x154)]>=_0x570a86[_0x1f6c74(0x172)]&&(_0x570a86['outlineWidth']=_0x570a86[_0x1f6c74(0x172)]-0x1),_0x5bff0f[_0x1f6c74(0x171)]=_0x570a86[_0x1f6c74(0x172)]-_0x570a86[_0x1f6c74(0x154)],_0x5bff0f[_0x1f6c74(0x175)]=getColor(_0x570a86[_0x1f6c74(0x160)],_0x570a86[_0x1f6c74(0x145)]),_0x5bff0f[_0x1f6c74(0x169)](),_0x5bff0f[_0x1f6c74(0x141)]();});let _0x127d39=getImageOlStyle(_0x570a86[_0x1f1a03(0x159)],_0x22b541,_0xe0189a,_0xbae941);_0x127d39&&(_0x127d39[_0x1f1a03(0x14d)](_0x314d80),_0x5f4cb5[_0x1f1a03(0x14e)](_0x127d39));if(_0x570a86[_0x1f1a03(0x14b)]&&_0x570a86[_0x1f1a03(0x14b)][_0x1f1a03(0x15b)]!==![]){let _0x101298=new Style({'geometry':_0x314d80,'text':createTextStyle(_0x570a86[_0x1f1a03(0x14b)],_0x4b51ff,_0xe0189a,_0xbae941),'zIndex':Number(_0x22b541)+0x1});_0x5f4cb5[_0x1f1a03(0x14e)](_0x101298);}return _0x5f4cb5;}function _getRealPolyline(_0xb9894,_0x3a7a28){const _0x5bab9a=a74_0x519b;if(!(_0x3a7a28===null||_0x3a7a28===void 0x0?void 0x0:_0x3a7a28[_0x5bab9a(0x153)]))return _0xb9894;else{if(_0xb9894[_0x5bab9a(0x156)]()===_0x5bab9a(0x142)){let _0xffc57e=_0xb9894[_0x5bab9a(0x164)]();for(let _0x66b169 in _0xffc57e){let _0x4198eb=_0xffc57e[_0x66b169];_0xffc57e[_0x66b169]=_0x4198eb[_0x5bab9a(0x144)]([_0x4198eb[0x0]]);}return new MultiLineString(_0xffc57e);}else return new LineString(_0xb9894['getCoordinates']()[_0x5bab9a(0x144)]([_0xb9894[_0x5bab9a(0x158)]()]));}}
@@ -1 +1 @@
1
- (function(_0x455824,_0x52ea0c){const _0x4faafd=a75_0x59c0,_0x4057a6=_0x455824();while(!![]){try{const _0xebbca8=parseInt(_0x4faafd(0x16e))/0x1*(parseInt(_0x4faafd(0x170))/0x2)+parseInt(_0x4faafd(0x17c))/0x3+-parseInt(_0x4faafd(0x17a))/0x4+-parseInt(_0x4faafd(0x178))/0x5*(parseInt(_0x4faafd(0x16b))/0x6)+parseInt(_0x4faafd(0x167))/0x7+-parseInt(_0x4faafd(0x16a))/0x8*(parseInt(_0x4faafd(0x172))/0x9)+-parseInt(_0x4faafd(0x169))/0xa;if(_0xebbca8===_0x52ea0c)break;else _0x4057a6['push'](_0x4057a6['shift']());}catch(_0x3321df){_0x4057a6['push'](_0x4057a6['shift']());}}}(a75_0x2566,0xc8694));import a75_0x4d6996 from'ol/style/Circle';import a75_0x5560a1 from'ol/style/Fill';import a75_0x290ef8 from'ol/style/Stroke';function a75_0x2566(){const _0x1d9b09=['MultiPoint','text','6895015mCtbEb','rgba(0,\x20255,0,\x200)','968380tzdvFl','opacity','4685460GGhbTf','setFill','Point','color','setText','249396xKZGgs','rgba(121,\x20243,\x20238,\x201)','2737510pdRCBQ','8fmRBPv','6yIqWmP','setStroke','rgba(121,\x20243,\x20238,\x200)','58066sCKlrf','rgba(121,\x20243,\x20238,\x200.3)','48AnwYFy','outlineColor','2477691voJzfh','MultiLineString','setZIndex','rgba(0,\x20255,0,\x201)'];a75_0x2566=function(){return _0x1d9b09;};return a75_0x2566();}import a75_0x55ff8d from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0xad72f2=a75_0x59c0;return new a75_0x55ff8d({'image':new a75_0x4d6996({'radius':0x5,'fill':new a75_0x5560a1({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a75_0x290ef8({'color':_0xad72f2(0x168),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x4005e9=a75_0x59c0;return new a75_0x55ff8d({'image':new a75_0x4d6996({'radius':0x5,'fill':new a75_0x5560a1({'color':_0x4005e9(0x16d)}),'stroke':new a75_0x290ef8({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectLineStyle(){const _0x43b321=a75_0x59c0;return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':_0x43b321(0x168),'width':0x2})});}function a75_0x59c0(_0x50ad3f,_0x3a8bcd){const _0x256633=a75_0x2566();return a75_0x59c0=function(_0x59c07f,_0x15922c){_0x59c07f=_0x59c07f-0x164;let _0x2df5bb=_0x256633[_0x59c07f];return _0x2df5bb;},a75_0x59c0(_0x50ad3f,_0x3a8bcd);}export function getSelectCancelLineStyle(){return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':'rgba(0,\x20255,0,\x201)','width':0x2})});}export function getSelectPolygonStyle(){const _0x37ab58=a75_0x59c0;return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':_0x37ab58(0x168),'width':0x2}),'fill':new a75_0x5560a1({'color':_0x37ab58(0x16f)})});}export function getSelectCancelPolygonStyle(){const _0x4ef288=a75_0x59c0;return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':_0x4ef288(0x175),'width':0x2}),'fill':new a75_0x5560a1({'color':_0x4ef288(0x179)})});}export function getStyle(_0x54bdbc){const _0x5a38b6=a75_0x59c0;if(_0x54bdbc){const _0xfea5bd=new a75_0x55ff8d();if(_0x54bdbc[_0x5a38b6(0x177)]){const _0x57cc12=createTextStyle(_0x54bdbc,_0x54bdbc[_0x5a38b6(0x177)]);_0x57cc12&&_0xfea5bd[_0x5a38b6(0x166)](_0x57cc12),_0xfea5bd[_0x5a38b6(0x174)](0x1);}return _0x54bdbc[_0x5a38b6(0x171)]&&_0xfea5bd[_0x5a38b6(0x16c)](new a75_0x290ef8({'color':getColor(_0x54bdbc[_0x5a38b6(0x171)],_0x54bdbc['outlineOpacity']),'width':_0x54bdbc['outlineWidth']||0x1})),_0x54bdbc[_0x5a38b6(0x165)]&&_0xfea5bd[_0x5a38b6(0x17d)](new a75_0x5560a1({'color':getColor(_0x54bdbc[_0x5a38b6(0x165)],_0x54bdbc[_0x5a38b6(0x17b)])})),_0xfea5bd;}return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':_0x5a38b6(0x168),'width':0x2}),'fill':new a75_0x5560a1({'color':_0x5a38b6(0x16f)})});}export function getSelectStyle(_0x5ddd01){const _0x23dff8=a75_0x59c0;let _0x1c554a=getSelectPolygonStyle();switch(_0x5ddd01){case'MultiPolygon':case'Polygon':_0x1c554a=getSelectPolygonStyle();break;case _0x23dff8(0x173):case'LineString':_0x1c554a=getSelectLineStyle();break;case _0x23dff8(0x176):case _0x23dff8(0x164):_0x1c554a=getSelectPointStyle();break;default:break;}return _0x1c554a;}
1
+ (function(_0x1db535,_0x504728){const _0x38e921=a75_0x3d57,_0x17f05e=_0x1db535();while(!![]){try{const _0x1ba525=parseInt(_0x38e921(0x151))/0x1*(parseInt(_0x38e921(0x152))/0x2)+-parseInt(_0x38e921(0x136))/0x3*(-parseInt(_0x38e921(0x13c))/0x4)+parseInt(_0x38e921(0x144))/0x5*(-parseInt(_0x38e921(0x140))/0x6)+-parseInt(_0x38e921(0x14c))/0x7*(-parseInt(_0x38e921(0x141))/0x8)+-parseInt(_0x38e921(0x13d))/0x9*(-parseInt(_0x38e921(0x14f))/0xa)+parseInt(_0x38e921(0x150))/0xb*(parseInt(_0x38e921(0x145))/0xc)+-parseInt(_0x38e921(0x13a))/0xd*(parseInt(_0x38e921(0x146))/0xe);if(_0x1ba525===_0x504728)break;else _0x17f05e['push'](_0x17f05e['shift']());}catch(_0x18144b){_0x17f05e['push'](_0x17f05e['shift']());}}}(a75_0x2eb4,0xc4563));import a75_0x9e7b74 from'ol/style/Circle';import a75_0x440d7c from'ol/style/Fill';import a75_0x10b39f from'ol/style/Stroke';import a75_0x5db10d from'ol/style/Style';function a75_0x3d57(_0x291321,_0x35934a){const _0x2eb4e9=a75_0x2eb4();return a75_0x3d57=function(_0x3d57d9,_0x58d5b0){_0x3d57d9=_0x3d57d9-0x135;let _0x1da42b=_0x2eb4e9[_0x3d57d9];return _0x1da42b;},a75_0x3d57(_0x291321,_0x35934a);}import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x5e0202=a75_0x3d57;return new a75_0x5db10d({'image':new a75_0x9e7b74({'radius':0x5,'fill':new a75_0x440d7c({'color':_0x5e0202(0x148)}),'stroke':new a75_0x10b39f({'color':_0x5e0202(0x148),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x32da2b=a75_0x3d57;return new a75_0x5db10d({'image':new a75_0x9e7b74({'radius':0x5,'fill':new a75_0x440d7c({'color':_0x32da2b(0x149)}),'stroke':new a75_0x10b39f({'color':_0x32da2b(0x148),'width':0x1})})});}export function getSelectLineStyle(){const _0x78854e=a75_0x3d57;return new a75_0x5db10d({'stroke':new a75_0x10b39f({'color':_0x78854e(0x148),'width':0x2})});}function a75_0x2eb4(){const _0x889636=['51xOGrJG','Point','rgba(0,\x20255,0,\x201)','outlineWidth','4914FtQzpf','setStroke','237064aKTUBW','9IFcZJX','color','Polygon','6zdrPnC','144YgzJil','setText','setFill','7983320CEMYql','9096FPUQSF','5502aEIGXh','LineString','rgba(121,\x20243,\x20238,\x201)','rgba(121,\x20243,\x20238,\x200)','rgba(0,\x20255,0,\x200)','MultiPolygon','81683VXoxiz','outlineColor','rgba(121,\x20243,\x20238,\x200.3)','372410PDGzSV','12562grKvsw','2ejCaRi','428972kolcVo','text'];a75_0x2eb4=function(){return _0x889636;};return a75_0x2eb4();}export function getSelectCancelLineStyle(){const _0x1ebfbd=a75_0x3d57;return new a75_0x5db10d({'stroke':new a75_0x10b39f({'color':_0x1ebfbd(0x138),'width':0x2})});}export function getSelectPolygonStyle(){const _0x10191f=a75_0x3d57;return new a75_0x5db10d({'stroke':new a75_0x10b39f({'color':_0x10191f(0x148),'width':0x2}),'fill':new a75_0x440d7c({'color':_0x10191f(0x14e)})});}export function getSelectCancelPolygonStyle(){const _0x5498ff=a75_0x3d57;return new a75_0x5db10d({'stroke':new a75_0x10b39f({'color':_0x5498ff(0x138),'width':0x2}),'fill':new a75_0x440d7c({'color':_0x5498ff(0x14a)})});}export function getStyle(_0x1909c5){const _0x1e190b=a75_0x3d57;if(_0x1909c5){const _0x3968ae=new a75_0x5db10d();if(_0x1909c5['text']){const _0x55704d=createTextStyle(_0x1909c5,_0x1909c5[_0x1e190b(0x135)]);_0x55704d&&_0x3968ae[_0x1e190b(0x142)](_0x55704d),_0x3968ae['setZIndex'](0x1);}return _0x1909c5[_0x1e190b(0x14d)]&&_0x3968ae[_0x1e190b(0x13b)](new a75_0x10b39f({'color':getColor(_0x1909c5[_0x1e190b(0x14d)],_0x1909c5['outlineOpacity']),'width':_0x1909c5[_0x1e190b(0x139)]||0x1})),_0x1909c5['color']&&_0x3968ae[_0x1e190b(0x143)](new a75_0x440d7c({'color':getColor(_0x1909c5[_0x1e190b(0x13e)],_0x1909c5['opacity'])})),_0x3968ae;}return new a75_0x5db10d({'stroke':new a75_0x10b39f({'color':_0x1e190b(0x148),'width':0x2}),'fill':new a75_0x440d7c({'color':_0x1e190b(0x14e)})});}export function getSelectStyle(_0x5bef6a){const _0x32b771=a75_0x3d57;let _0x591f5a=getSelectPolygonStyle();switch(_0x5bef6a){case _0x32b771(0x14b):case _0x32b771(0x13f):_0x591f5a=getSelectPolygonStyle();break;case'MultiLineString':case _0x32b771(0x147):_0x591f5a=getSelectLineStyle();break;case'MultiPoint':case _0x32b771(0x137):_0x591f5a=getSelectPointStyle();break;default:break;}return _0x591f5a;}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2330c8,_0x112fa3){const _0x3fa149=a71_0x23c4,_0x4c27c3=_0x2330c8();while(!![]){try{const _0x37d4d1=-parseInt(_0x3fa149(0x11d))/0x1+parseInt(_0x3fa149(0x116))/0x2+parseInt(_0x3fa149(0x112))/0x3+-parseInt(_0x3fa149(0x108))/0x4+parseInt(_0x3fa149(0x105))/0x5*(parseInt(_0x3fa149(0x104))/0x6)+-parseInt(_0x3fa149(0x12a))/0x7+parseInt(_0x3fa149(0x12b))/0x8;if(_0x37d4d1===_0x112fa3)break;else _0x4c27c3['push'](_0x4c27c3['shift']());}catch(_0x1daec7){_0x4c27c3['push'](_0x4c27c3['shift']());}}}(a71_0x2f95,0x738ba));import a71_0x1d0b35 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';function a71_0x2f95(){const _0x24a8ff=['7257424nAEHvH','middle','ERROR','2562ZwKTsp','5345Hsejzw','offsetX','font','2995344dvHiPd','getImageState','getView','IDLE','image','borderLineOpacity','haloColor','#000000','italic','haloOpacity','328014WSbApM','#2A2A2A','offsetY','pow','1133640cOiyKi','backgroundColor','backgroundOpacity','textBaseline','normal','getResolutionForZoom','px\x20','283328LdkyjS','\x20normal\x20','listenImageChange','weight','hexa','distanceDisplayFar','alpha','borderLineColor','LOADED','distanceDisplayNear','size','markerColor','haloWidth','3740527pbchHI'];a71_0x2f95=function(){return _0x24a8ff;};return a71_0x2f95();}import a71_0x268bb3 from'../utils/plug/canvas/PinIcon';import a71_0x207f5f from'ol/ImageState';export function isShowStyle(_0x26a63d,_0xe8c353,_0xd422c7){const _0x4456a4=a71_0x23c4;let _0x27a358=!![];if(_0xe8c353==undefined||_0xd422c7==undefined)return _0x27a358;if(_0x26a63d&&typeof _0x26a63d['distanceDisplayFar']!=undefined&&typeof _0x26a63d[_0x4456a4(0x126)]!=undefined){if(_0x26a63d['distanceDisplayFar']&&_0xd422c7){_0x27a358=![];let _0x4b631f=getLevel(_0x26a63d[_0x4456a4(0x122)]),_0x27a754=_0xd422c7[_0x4456a4(0x10a)]()[_0x4456a4(0x11b)](_0x4b631f);_0xe8c353<_0x27a754&&(_0x27a358=!![]);}if(_0x27a358&&_0x26a63d[_0x4456a4(0x126)]&&_0xd422c7){_0x27a358=![];let _0x30966e=getLevel(_0x26a63d['distanceDisplayNear']),_0x2a74a8=_0xd422c7[_0x4456a4(0x10a)]()[_0x4456a4(0x11b)](_0x30966e);_0xe8c353>_0x2a74a8&&(_0x27a358=!![]);}}return _0x27a358;}export function getLevel(_0xbd4855){const _0x1b5313=a71_0x23c4,_0x1f9957=3252.745,_0x51226b=0.0009198301,_0x583b07=52977.61,_0x1ccfcf=-3228.107;return _0x1ccfcf+(_0x1f9957-_0x1ccfcf)/(0x1+Math[_0x1b5313(0x115)](_0xbd4855/_0x583b07,_0x51226b));}function a71_0x23c4(_0x3bcd6e,_0x244c49){const _0x2f95ea=a71_0x2f95();return a71_0x23c4=function(_0x23c4f1,_0x1ef177){_0x23c4f1=_0x23c4f1-0x104;let _0x471370=_0x2f95ea[_0x23c4f1];return _0x471370;},a71_0x23c4(_0x3bcd6e,_0x244c49);}export function toRadians(_0x5d6b9b){if(_0x5d6b9b)return-(_0x5d6b9b*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x40a2d,_0x5c3a67,_0x4c1e9e,_0x1673a2){const _0x47e774=a71_0x23c4;var _0x2fbd11,_0x3b7783,_0x566a83,_0x42585e,_0x26cb9,_0x18c08f,_0x57295b,_0x211fea;if(_0x40a2d){let _0x1f8fff=isShowStyle(_0x40a2d,_0x4c1e9e,_0x1673a2);if(_0x1f8fff===![])return undefined;else{const _0x45cf85=_0x40a2d[_0x47e774(0x107)],_0x2ab934=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x110)])?_0x47e774(0x110):'normal',_0x50c993=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x120)])?'bold':_0x47e774(0x11a),_0x5d656d=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x127)])||'25',_0x3b97e2=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85['family'])||'楷体';let _0x1b6ca5=_0x2ab934+_0x47e774(0x11e)+_0x50c993+'\x20'+_0x5d656d+_0x47e774(0x11c)+_0x3b97e2,_0x4d58f3=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x106)])||0x0,_0x2b94a8=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x114)])||0x0,_0x3ba74d=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x119)])||_0x47e774(0x12c),_0x46dfda=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85['textAlign'])||'center';const _0x1a9fea=_0x40a2d['opacity']||0x1;let _0x4712bd=undefined;return(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85['haloColor'])&&(_0x4712bd=_getStroke(_0x45cf85[_0x47e774(0x10e)],_0x45cf85[_0x47e774(0x111)],_0x45cf85[_0x47e774(0x129)])),new Text({'overflow':!![],'text':_0x5c3a67,'font':_0x1b6ca5,'offsetX':_0x4d58f3,'offsetY':_0x2b94a8,'textAlign':_0x46dfda,'textBaseline':_0x3ba74d,'fill':new Fill({'color':getColor(((_0x2fbd11=_0x40a2d['font'])===null||_0x2fbd11===void 0x0?void 0x0:_0x2fbd11['color'])||_0x47e774(0x10f),_0x1a9fea)}),'stroke':_0x4712bd,'backgroundFill':((_0x3b7783=_0x40a2d['font'])===null||_0x3b7783===void 0x0?void 0x0:_0x3b7783[_0x47e774(0x117)])?new Fill({'color':getColor(((_0x566a83=_0x40a2d[_0x47e774(0x107)])===null||_0x566a83===void 0x0?void 0x0:_0x566a83['backgroundColor'])||_0x47e774(0x113),((_0x42585e=_0x40a2d[_0x47e774(0x107)])===null||_0x42585e===void 0x0?void 0x0:_0x42585e[_0x47e774(0x118)])||0x1)}):undefined,'backgroundStroke':((_0x26cb9=_0x40a2d['font'])===null||_0x26cb9===void 0x0?void 0x0:_0x26cb9[_0x47e774(0x124)])?_getStroke((_0x18c08f=_0x40a2d[_0x47e774(0x107)])===null||_0x18c08f===void 0x0?void 0x0:_0x18c08f['borderLineColor'],((_0x57295b=_0x40a2d[_0x47e774(0x107)])===null||_0x57295b===void 0x0?void 0x0:_0x57295b[_0x47e774(0x10d)])||0x1,((_0x211fea=_0x40a2d['font'])===null||_0x211fea===void 0x0?void 0x0:_0x211fea['borderLineWidth'])||0x1):undefined});}}else return undefined;}export function getColor(_0xad9a74,_0x19471a){const _0x4ac263=a71_0x23c4;return a71_0x1d0b35(_0xad9a74)[_0x4ac263(0x123)](_0x19471a!=undefined?_0x19471a:0x1)[_0x4ac263(0x121)]();}function _getStroke(_0x3aea58,_0x5097a0,_0x1771f9){return new Stroke({'color':getColor(_0x3aea58,_0x5097a0),'width':_0x1771f9==undefined?0x1:_0x1771f9});}export function preLoadImageRenderFunction(_0x5d68e5,_0x53d4b2,_0x55f79a,_0x2630e6,_0x21f9c9){const _0x4875a1=a71_0x23c4;let _0x591221;_0x5d68e5[_0x4875a1(0x128)]?_0x591221=new a71_0x268bb3(_0x5d68e5):_0x591221=new Icon({'src':_0x5d68e5[_0x4875a1(0x10c)]});let _0x1a6227=_0x591221[_0x4875a1(0x109)]();_0x1a6227===a71_0x207f5f[_0x4875a1(0x125)]||_0x1a6227===a71_0x207f5f[_0x4875a1(0x12d)]?_0x21f9c9(_0x5d68e5,_0x53d4b2,_0x55f79a,_0x2630e6,_0x591221['getImage'](0x60)):(_0x1a6227===a71_0x207f5f[_0x4875a1(0x10b)]&&_0x591221['load'](),_0x591221[_0x4875a1(0x11f)](_0x3182d8=>{const _0x41b80e=_0x4875a1;_0x1a6227=_0x3182d8['target'][_0x41b80e(0x109)](),(_0x1a6227===a71_0x207f5f['LOADED']||_0x1a6227===a71_0x207f5f[_0x41b80e(0x12d)])&&_0x21f9c9(_0x5d68e5,_0x53d4b2,_0x55f79a,_0x2630e6,_0x591221['getImage'](0x60));}));}
1
+ function a71_0x436e(){const _0x331707=['getResolutionForZoom','haloOpacity','1789222efdUgD','markerColor','168975uxlUvW','distanceDisplayFar','4417qlMhsN','alpha','textAlign','LOADED','normal','textBaseline','haloWidth','load','5031630ngsNNp','color','\x20normal\x20','getView','offsetX','opacity','IDLE','ERROR','size','8484YUckez','5791995lZuKgO','borderLineColor','px\x20','11mYSxLT','backgroundColor','family','middle','#2A2A2A','26459950RoguSj','center','font','target','borderLineWidth','bold','haloColor','1968208fqUxTK','3KVQuPS','distanceDisplayNear','8qjDsex','getImage','italic','weight','borderLineOpacity','image','offsetY'];a71_0x436e=function(){return _0x331707;};return a71_0x436e();}(function(_0x261bc1,_0xa3f59){const _0x501b14=a71_0x2404,_0x4933ea=_0x261bc1();while(!![]){try{const _0x4b599e=parseInt(_0x501b14(0x1e8))/0x1+-parseInt(_0x501b14(0x1e6))/0x2*(parseInt(_0x501b14(0x1db))/0x3)+-parseInt(_0x501b14(0x1da))/0x4+-parseInt(_0x501b14(0x1f2))/0x5+parseInt(_0x501b14(0x1fb))/0x6*(parseInt(_0x501b14(0x1ea))/0x7)+parseInt(_0x501b14(0x1dd))/0x8*(-parseInt(_0x501b14(0x1fc))/0x9)+parseInt(_0x501b14(0x204))/0xa*(parseInt(_0x501b14(0x1ff))/0xb);if(_0x4b599e===_0xa3f59)break;else _0x4933ea['push'](_0x4933ea['shift']());}catch(_0x555675){_0x4933ea['push'](_0x4933ea['shift']());}}}(a71_0x436e,0xa3bc4));import a71_0x48705f from'color';import{Fill,Icon,Stroke,Text}from'ol/style';function a71_0x2404(_0x3e93d4,_0x134e0f){const _0x436e5e=a71_0x436e();return a71_0x2404=function(_0x240428,_0xc7d40e){_0x240428=_0x240428-0x1d7;let _0xffd7d6=_0x436e5e[_0x240428];return _0xffd7d6;},a71_0x2404(_0x3e93d4,_0x134e0f);}import a71_0x3af476 from'../utils/plug/canvas/PinIcon';import a71_0xebda3d from'ol/ImageState';export function isShowStyle(_0x49fdee,_0x556a84,_0x5b7bfd){const _0x4b7e25=a71_0x2404;let _0x1fd5e0=!![];if(_0x556a84==undefined||_0x5b7bfd==undefined)return _0x1fd5e0;if(_0x49fdee&&typeof _0x49fdee['distanceDisplayFar']!=undefined&&typeof _0x49fdee[_0x4b7e25(0x1dc)]!=undefined){if(_0x49fdee['distanceDisplayFar']&&_0x5b7bfd){_0x1fd5e0=![];let _0x4f7059=getLevel(_0x49fdee[_0x4b7e25(0x1e9)]),_0xe72a37=_0x5b7bfd[_0x4b7e25(0x1f5)]()[_0x4b7e25(0x1e4)](_0x4f7059);_0x556a84<_0xe72a37&&(_0x1fd5e0=!![]);}if(_0x1fd5e0&&_0x49fdee[_0x4b7e25(0x1dc)]&&_0x5b7bfd){_0x1fd5e0=![];let _0x32709e=getLevel(_0x49fdee['distanceDisplayNear']),_0x4aaa51=_0x5b7bfd['getView']()[_0x4b7e25(0x1e4)](_0x32709e);_0x556a84>_0x4aaa51&&(_0x1fd5e0=!![]);}}return _0x1fd5e0;}export function getLevel(_0x1d63d6){const _0x312f6b=3252.745,_0x1c0f71=0.0009198301,_0x1701bc=52977.61,_0x6f4f6e=-3228.107;return _0x6f4f6e+(_0x312f6b-_0x6f4f6e)/(0x1+Math['pow'](_0x1d63d6/_0x1701bc,_0x1c0f71));}export function toRadians(_0xa91480){if(_0xa91480)return-(_0xa91480*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x3951ca,_0x1b4d45,_0x5c5a35,_0x3b0bef){const _0x3c0491=a71_0x2404;var _0x486b0b,_0x4869c9,_0x38d4cd,_0x37d5ab,_0x4691a6,_0x11c8ce,_0x8ccb50,_0x329812;if(_0x3951ca){let _0x39c5ff=isShowStyle(_0x3951ca,_0x5c5a35,_0x3b0bef);if(_0x39c5ff===![])return undefined;else{const _0x3f8871=_0x3951ca['font'],_0x45d427=(_0x3f8871===null||_0x3f8871===void 0x0?void 0x0:_0x3f8871['italic'])?_0x3c0491(0x1df):_0x3c0491(0x1ee),_0x34113d=(_0x3f8871===null||_0x3f8871===void 0x0?void 0x0:_0x3f8871[_0x3c0491(0x1e0)])?_0x3c0491(0x1d8):_0x3c0491(0x1ee),_0x477ff7=(_0x3f8871===null||_0x3f8871===void 0x0?void 0x0:_0x3f8871[_0x3c0491(0x1fa)])||'25',_0x3f6a51=(_0x3f8871===null||_0x3f8871===void 0x0?void 0x0:_0x3f8871[_0x3c0491(0x201)])||'楷体';let _0x4e24e1=_0x45d427+_0x3c0491(0x1f4)+_0x34113d+'\x20'+_0x477ff7+_0x3c0491(0x1fe)+_0x3f6a51,_0x3d297a=(_0x3f8871===null||_0x3f8871===void 0x0?void 0x0:_0x3f8871[_0x3c0491(0x1f6)])||0x0,_0x26caa8=(_0x3f8871===null||_0x3f8871===void 0x0?void 0x0:_0x3f8871[_0x3c0491(0x1e3)])||0x0,_0x347737=(_0x3f8871===null||_0x3f8871===void 0x0?void 0x0:_0x3f8871[_0x3c0491(0x1ef)])||_0x3c0491(0x202),_0x324aab=(_0x3f8871===null||_0x3f8871===void 0x0?void 0x0:_0x3f8871[_0x3c0491(0x1ec)])||_0x3c0491(0x205);const _0x42985a=_0x3951ca[_0x3c0491(0x1f7)]||0x1;let _0x44ddde=undefined;return(_0x3f8871===null||_0x3f8871===void 0x0?void 0x0:_0x3f8871['haloColor'])&&(_0x44ddde=_getStroke(_0x3f8871[_0x3c0491(0x1d9)],_0x3f8871[_0x3c0491(0x1e5)],_0x3f8871[_0x3c0491(0x1f0)])),new Text({'overflow':!![],'text':_0x1b4d45,'font':_0x4e24e1,'offsetX':_0x3d297a,'offsetY':_0x26caa8,'textAlign':_0x324aab,'textBaseline':_0x347737,'fill':new Fill({'color':getColor(((_0x486b0b=_0x3951ca[_0x3c0491(0x206)])===null||_0x486b0b===void 0x0?void 0x0:_0x486b0b[_0x3c0491(0x1f3)])||'#000000',_0x42985a)}),'stroke':_0x44ddde,'backgroundFill':((_0x4869c9=_0x3951ca[_0x3c0491(0x206)])===null||_0x4869c9===void 0x0?void 0x0:_0x4869c9[_0x3c0491(0x200)])?new Fill({'color':getColor(((_0x38d4cd=_0x3951ca[_0x3c0491(0x206)])===null||_0x38d4cd===void 0x0?void 0x0:_0x38d4cd[_0x3c0491(0x200)])||_0x3c0491(0x203),((_0x37d5ab=_0x3951ca[_0x3c0491(0x206)])===null||_0x37d5ab===void 0x0?void 0x0:_0x37d5ab['backgroundOpacity'])||0x1)}):undefined,'backgroundStroke':((_0x4691a6=_0x3951ca[_0x3c0491(0x206)])===null||_0x4691a6===void 0x0?void 0x0:_0x4691a6[_0x3c0491(0x1fd)])?_getStroke((_0x11c8ce=_0x3951ca[_0x3c0491(0x206)])===null||_0x11c8ce===void 0x0?void 0x0:_0x11c8ce[_0x3c0491(0x1fd)],((_0x8ccb50=_0x3951ca[_0x3c0491(0x206)])===null||_0x8ccb50===void 0x0?void 0x0:_0x8ccb50[_0x3c0491(0x1e1)])||0x1,((_0x329812=_0x3951ca[_0x3c0491(0x206)])===null||_0x329812===void 0x0?void 0x0:_0x329812[_0x3c0491(0x1d7)])||0x1):undefined});}}else return undefined;}export function getColor(_0x2f6167,_0x4f3376){const _0x32e87c=a71_0x2404;return a71_0x48705f(_0x2f6167)[_0x32e87c(0x1eb)](_0x4f3376!=undefined?_0x4f3376:0x1)['hexa']();}function _getStroke(_0x591b1e,_0x149ffe,_0x1bd48b){return new Stroke({'color':getColor(_0x591b1e,_0x149ffe),'width':_0x1bd48b==undefined?0x1:_0x1bd48b});}export function preLoadImageRenderFunction(_0x508ca6,_0xa30d76,_0x35a7e6,_0x53e744,_0x118328){const _0x478789=a71_0x2404;let _0x9315fa;_0x508ca6[_0x478789(0x1e7)]?_0x9315fa=new a71_0x3af476(_0x508ca6):_0x9315fa=new Icon({'src':_0x508ca6[_0x478789(0x1e2)]});let _0x22e31d=_0x9315fa['getImageState']();_0x22e31d===a71_0xebda3d[_0x478789(0x1ed)]||_0x22e31d===a71_0xebda3d['ERROR']?_0x118328(_0x508ca6,_0xa30d76,_0x35a7e6,_0x53e744,_0x9315fa[_0x478789(0x1de)](0x60)):(_0x22e31d===a71_0xebda3d[_0x478789(0x1f8)]&&_0x9315fa[_0x478789(0x1f1)](),_0x9315fa['listenImageChange'](_0x11b075=>{const _0x6c5fba=_0x478789;_0x22e31d=_0x11b075[_0x6c5fba(0x207)]['getImageState'](),(_0x22e31d===a71_0xebda3d[_0x6c5fba(0x1ed)]||_0x22e31d===a71_0xebda3d[_0x6c5fba(0x1f9)])&&_0x118328(_0x508ca6,_0xa30d76,_0x35a7e6,_0x53e744,_0x9315fa[_0x6c5fba(0x1de)](0x60));}));}
@@ -1 +1 @@
1
- function a76_0x436d(){const _0x4653de=['isArray','5218245huARKi','431827hshltq','2uAoqTF','2646195thqEGz','every','579094EziYJx','keys','2406761iQpCPZ','length','2891824deoIjP','6fOMFxD','910047GJBKua','4ABwmGC','20CPRxsH'];a76_0x436d=function(){return _0x4653de;};return a76_0x436d();}function a76_0x1704(_0x3158ce,_0x1a5e95){const _0x436dba=a76_0x436d();return a76_0x1704=function(_0x1704ea,_0x21cd9f){_0x1704ea=_0x1704ea-0x14a;let _0x481638=_0x436dba[_0x1704ea];return _0x481638;},a76_0x1704(_0x3158ce,_0x1a5e95);}(function(_0x428ee9,_0xce920a){const _0x50e279=a76_0x1704,_0x2acdd1=_0x428ee9();while(!![]){try{const _0x39d921=-parseInt(_0x50e279(0x153))/0x1+-parseInt(_0x50e279(0x150))/0x2*(-parseInt(_0x50e279(0x14a))/0x3)+-parseInt(_0x50e279(0x14b))/0x4*(-parseInt(_0x50e279(0x151))/0x5)+-parseInt(_0x50e279(0x158))/0x6*(-parseInt(_0x50e279(0x155))/0x7)+parseInt(_0x50e279(0x157))/0x8+-parseInt(_0x50e279(0x14e))/0x9+-parseInt(_0x50e279(0x14c))/0xa*(parseInt(_0x50e279(0x14f))/0xb);if(_0x39d921===_0xce920a)break;else _0x2acdd1['push'](_0x2acdd1['shift']());}catch(_0x4e8e1e){_0x2acdd1['push'](_0x2acdd1['shift']());}}}(a76_0x436d,0x495bc));export function getDeepth(_0x5c4f55){function _0x5a2dac(_0x435a3f,_0x597ba1){return _0x435a3f['reduce'](function(_0x5e9deb,_0x36ac1b){const _0x15fb6b=a76_0x1704;var _0x38cff8;return Array[_0x15fb6b(0x14d)](_0x36ac1b)&&(_0x38cff8=_0x5a2dac(_0x36ac1b,_0x597ba1+0x1)),_0x38cff8>_0x5e9deb?_0x38cff8:_0x5e9deb;},_0x597ba1);}return _0x5a2dac(_0x5c4f55,0x1);}export function compareArray(_0x174e51,_0x3abd19){const _0x46e400=a76_0x1704;if(_0x174e51[_0x46e400(0x156)]!==_0x3abd19['length'])return![];const _0x23ce29=_0x174e51['length'];for(let _0x28d403=0x0;_0x28d403<_0x23ce29;_0x28d403++){if(!compare(_0x174e51[_0x28d403],_0x3abd19[_0x28d403]))return![];}return!![];}export function compare(_0x3c6521,_0xb7b3bc){const _0x2d6f0a=a76_0x1704;if(_0x3c6521===_0xb7b3bc)return!![];if(typeof _0x3c6521!==typeof _0xb7b3bc||_0x3c6521===null||_0xb7b3bc===null)return![];if(Array[_0x2d6f0a(0x14d)](_0x3c6521)){if(!Array[_0x2d6f0a(0x14d)](_0xb7b3bc))return![];return compareArray(_0x3c6521,_0xb7b3bc);}if(typeof _0x3c6521==='object')return compareObject(_0x3c6521,_0xb7b3bc);return![];}export function compareObject(_0x288236,_0x141466){const _0x4d6f0c=a76_0x1704,_0x597fbf=Object[_0x4d6f0c(0x154)](_0x288236),_0x21dd38=Object[_0x4d6f0c(0x154)](_0x141466);if(_0x597fbf[_0x4d6f0c(0x156)]!==_0x21dd38[_0x4d6f0c(0x156)])return![];return _0x597fbf[_0x4d6f0c(0x152)](_0x59568c=>{if(!compare(_0x288236[_0x59568c],_0x141466[_0x59568c]))return![];return!![];});}
1
+ (function(_0x471413,_0x46bec4){const _0x15d662=a76_0x9f15,_0x253836=_0x471413();while(!![]){try{const _0x18819f=-parseInt(_0x15d662(0x103))/0x1*(-parseInt(_0x15d662(0xff))/0x2)+-parseInt(_0x15d662(0x109))/0x3*(parseInt(_0x15d662(0xfc))/0x4)+parseInt(_0x15d662(0xfe))/0x5+parseInt(_0x15d662(0x100))/0x6+-parseInt(_0x15d662(0x105))/0x7+parseInt(_0x15d662(0x104))/0x8+-parseInt(_0x15d662(0x106))/0x9;if(_0x18819f===_0x46bec4)break;else _0x253836['push'](_0x253836['shift']());}catch(_0x1519ae){_0x253836['push'](_0x253836['shift']());}}}(a76_0x1217,0xb6625));function a76_0x9f15(_0xc5276e,_0xe9cd9e){const _0x121766=a76_0x1217();return a76_0x9f15=function(_0x9f15b3,_0x2232b6){_0x9f15b3=_0x9f15b3-0xfc;let _0x234d90=_0x121766[_0x9f15b3];return _0x234d90;},a76_0x9f15(_0xc5276e,_0xe9cd9e);}export function getDeepth(_0x1e575b){function _0x3f9d1f(_0xbef1c2,_0x711da9){const _0x1fcfae=a76_0x9f15;return _0xbef1c2[_0x1fcfae(0x10a)](function(_0x207e67,_0x1055df){var _0x125fd5;return Array['isArray'](_0x1055df)&&(_0x125fd5=_0x3f9d1f(_0x1055df,_0x711da9+0x1)),_0x125fd5>_0x207e67?_0x125fd5:_0x207e67;},_0x711da9);}return _0x3f9d1f(_0x1e575b,0x1);}export function compareArray(_0x3190d1,_0x3d4d48){const _0x4063a1=a76_0x9f15;if(_0x3190d1['length']!==_0x3d4d48[_0x4063a1(0x108)])return![];const _0x267941=_0x3190d1[_0x4063a1(0x108)];for(let _0xd3ac65=0x0;_0xd3ac65<_0x267941;_0xd3ac65++){if(!compare(_0x3190d1[_0xd3ac65],_0x3d4d48[_0xd3ac65]))return![];}return!![];}export function compare(_0xcb7fcd,_0x4ea097){const _0x2116d3=a76_0x9f15;if(_0xcb7fcd===_0x4ea097)return!![];if(typeof _0xcb7fcd!==typeof _0x4ea097||_0xcb7fcd===null||_0x4ea097===null)return![];if(Array[_0x2116d3(0x102)](_0xcb7fcd)){if(!Array[_0x2116d3(0x102)](_0x4ea097))return![];return compareArray(_0xcb7fcd,_0x4ea097);}if(typeof _0xcb7fcd===_0x2116d3(0x107))return compareObject(_0xcb7fcd,_0x4ea097);return![];}export function compareObject(_0x5148fb,_0xb7f772){const _0x44ef8a=a76_0x9f15,_0x73253d=Object[_0x44ef8a(0xfd)](_0x5148fb),_0x5b60b3=Object['keys'](_0xb7f772);if(_0x73253d[_0x44ef8a(0x108)]!==_0x5b60b3[_0x44ef8a(0x108)])return![];return _0x73253d[_0x44ef8a(0x101)](_0x53003d=>{if(!compare(_0x5148fb[_0x53003d],_0xb7f772[_0x53003d]))return![];return!![];});}function a76_0x1217(){const _0x580bb1=['3698256ebKcWE','every','isArray','97673cPHGjA','5606352wrSBdw','3624138rPGQHy','11146554tXLWsw','object','length','219oxUjQs','reduce','1864NjTAEw','keys','5123935bDVWaD','4BlWnaj'];a76_0x1217=function(){return _0x580bb1;};return a76_0x1217();}
@@ -1 +1 @@
1
- (function(_0x2875ce,_0x3bef7c){const _0x4b9f6e=a77_0x3529,_0x202b5c=_0x2875ce();while(!![]){try{const _0x568e80=-parseInt(_0x4b9f6e(0x1e8))/0x1*(parseInt(_0x4b9f6e(0x1e3))/0x2)+-parseInt(_0x4b9f6e(0x1ec))/0x3+parseInt(_0x4b9f6e(0x1eb))/0x4*(-parseInt(_0x4b9f6e(0x1e1))/0x5)+-parseInt(_0x4b9f6e(0x1e4))/0x6+-parseInt(_0x4b9f6e(0x1df))/0x7+parseInt(_0x4b9f6e(0x1dd))/0x8*(parseInt(_0x4b9f6e(0x1ea))/0x9)+parseInt(_0x4b9f6e(0x1e5))/0xa*(parseInt(_0x4b9f6e(0x1e0))/0xb);if(_0x568e80===_0x3bef7c)break;else _0x202b5c['push'](_0x202b5c['shift']());}catch(_0x43e2f8){_0x202b5c['push'](_0x202b5c['shift']());}}}(a77_0x5469,0x43ebc));function a77_0x3529(_0x2348b6,_0x34e83b){const _0x54696b=a77_0x5469();return a77_0x3529=function(_0x3529fb,_0x526dc8){_0x3529fb=_0x3529fb-0x1dd;let _0x4353a0=_0x54696b[_0x3529fb];return _0x4353a0;},a77_0x3529(_0x2348b6,_0x34e83b);}import a77_0x18f409 from'axios';import a77_0x26193e from'jquery';const request=a77_0x18f409['create']({'timeout':0xb4*0x3e8});export function jsonp(_0x403020){return new Promise((_0x42652f,_0xeaef7b)=>{const _0x1c02ba=a77_0x3529;a77_0x26193e[_0x1c02ba(0x1e9)]({'url':_0x403020,'type':'get','dataType':'jsonp','success':_0x2ac59d=>{_0x42652f(_0x2ac59d);},'error':_0x126e82=>{_0xeaef7b(_0x126e82);}});});}function a77_0x5469(){const _0x1026d8=['4vMBtWH','892554lUQofE','8YAXNfv','constructor','1195278GOiGNb','13833556GWqawU','1362865HgoZHO','stringify','140978BQPWfz','145902BdHPmo','10djJSVC','append','hasOwnProperty','4fEardb','ajax','609534uOvXJI'];a77_0x5469=function(){return _0x1026d8;};return a77_0x5469();}export function stringify(_0x3bf377){const _0x4a2449=a77_0x3529,_0x575228=new FormData();for(const _0x5df270 in _0x3bf377){if(_0x3bf377[_0x4a2449(0x1e7)](_0x5df270)){if(_0x3bf377[_0x5df270]){if(_0x3bf377[_0x5df270][_0x4a2449(0x1de)]===Array)_0x3bf377[_0x5df270][0x0]?_0x3bf377[_0x5df270][0x0][_0x4a2449(0x1de)]===Object?_0x575228[_0x4a2449(0x1e6)](_0x5df270,JSON[_0x4a2449(0x1e2)](_0x3bf377[_0x5df270])):_0x3bf377[_0x5df270]['forEach']((_0x4d92f3,_0x5e6ce2)=>{const _0x2c301e=_0x4a2449;_0x575228[_0x2c301e(0x1e6)](_0x5df270+('['+_0x5e6ce2+']'),_0x4d92f3);}):_0x575228[_0x4a2449(0x1e6)](_0x5df270+'[]','');else _0x3bf377[_0x5df270][_0x4a2449(0x1de)]===Object?_0x575228['append'](_0x5df270,JSON[_0x4a2449(0x1e2)](_0x3bf377[_0x5df270])):_0x575228[_0x4a2449(0x1e6)](_0x5df270,_0x3bf377[_0x5df270]);}else _0x3bf377[_0x5df270]===0x0?_0x575228[_0x4a2449(0x1e6)](_0x5df270,'0'):_0x575228['append'](_0x5df270,'');}}return _0x575228;}export default request;
1
+ function a77_0x5a52(_0x552dc2,_0x59fc3d){const _0x3209b8=a77_0x3209();return a77_0x5a52=function(_0x5a52c0,_0x13721f){_0x5a52c0=_0x5a52c0-0x193;let _0x148fb2=_0x3209b8[_0x5a52c0];return _0x148fb2;},a77_0x5a52(_0x552dc2,_0x59fc3d);}const a77_0x3cde08=a77_0x5a52;function a77_0x3209(){const _0x211af=['161JFJgTq','257515WbyDJU','constructor','445NwrfOz','22456KvDGUB','stringify','16464ejlNKS','jsonp','hasOwnProperty','append','4655832AFkpRy','17113844nCoFIs','45hWYzWe','85125Hredbp','364670cqXeMH','4SyTTny','create','get'];a77_0x3209=function(){return _0x211af;};return a77_0x3209();}(function(_0x2f6f1a,_0x4a558e){const _0x336845=a77_0x5a52,_0x285b53=_0x2f6f1a();while(!![]){try{const _0x34618f=parseInt(_0x336845(0x1a0))/0x1+parseInt(_0x336845(0x19c))/0x2*(parseInt(_0x336845(0x19a))/0x3)+-parseInt(_0x336845(0x1a3))/0x4*(parseInt(_0x336845(0x1a2))/0x5)+-parseInt(_0x336845(0x197))/0x6+parseInt(_0x336845(0x19f))/0x7*(parseInt(_0x336845(0x193))/0x8)+-parseInt(_0x336845(0x199))/0x9*(parseInt(_0x336845(0x19b))/0xa)+parseInt(_0x336845(0x198))/0xb;if(_0x34618f===_0x4a558e)break;else _0x285b53['push'](_0x285b53['shift']());}catch(_0x4a9415){_0x285b53['push'](_0x285b53['shift']());}}}(a77_0x3209,0x702ba));import a77_0x1a8f47 from'axios';import a77_0x5add00 from'jquery';const request=a77_0x1a8f47[a77_0x3cde08(0x19d)]({'timeout':0xb4*0x3e8});export function jsonp(_0x24b240){return new Promise((_0x572d59,_0x303b45)=>{const _0xdcda5e=a77_0x5a52;a77_0x5add00['ajax']({'url':_0x24b240,'type':_0xdcda5e(0x19e),'dataType':_0xdcda5e(0x194),'success':_0x2e3b63=>{_0x572d59(_0x2e3b63);},'error':_0x4ca05d=>{_0x303b45(_0x4ca05d);}});});}export function stringify(_0x356b92){const _0x1b3c2e=a77_0x3cde08,_0x1a8020=new FormData();for(const _0x1c9d4d in _0x356b92){if(_0x356b92[_0x1b3c2e(0x195)](_0x1c9d4d)){if(_0x356b92[_0x1c9d4d]){if(_0x356b92[_0x1c9d4d]['constructor']===Array)_0x356b92[_0x1c9d4d][0x0]?_0x356b92[_0x1c9d4d][0x0][_0x1b3c2e(0x1a1)]===Object?_0x1a8020[_0x1b3c2e(0x196)](_0x1c9d4d,JSON[_0x1b3c2e(0x1a4)](_0x356b92[_0x1c9d4d])):_0x356b92[_0x1c9d4d]['forEach']((_0x2b6ea4,_0x382296)=>{_0x1a8020['append'](_0x1c9d4d+('['+_0x382296+']'),_0x2b6ea4);}):_0x1a8020[_0x1b3c2e(0x196)](_0x1c9d4d+'[]','');else _0x356b92[_0x1c9d4d][_0x1b3c2e(0x1a1)]===Object?_0x1a8020[_0x1b3c2e(0x196)](_0x1c9d4d,JSON[_0x1b3c2e(0x1a4)](_0x356b92[_0x1c9d4d])):_0x1a8020['append'](_0x1c9d4d,_0x356b92[_0x1c9d4d]);}else _0x356b92[_0x1c9d4d]===0x0?_0x1a8020['append'](_0x1c9d4d,'0'):_0x1a8020['append'](_0x1c9d4d,'');}}return _0x1a8020;}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- function a78_0x1f85(){const _0x4a55a0=['220797pqAOkA','49758MwMqXJ','332pXbyrG','replace','10EYqZOJ','6840251ydZQLZ','24311OSLXxV','347WCdFYQ','332148REbTSE','EPSG:','170WUbLuw','38004ePSDEA','1136MrkOLJ','indexOf','16PZCeNu'];a78_0x1f85=function(){return _0x4a55a0;};return a78_0x1f85();}(function(_0x59e1ae,_0xd88009){const _0x48de08=a78_0x4b48,_0x178f30=_0x59e1ae();while(!![]){try{const _0x1fac08=parseInt(_0x48de08(0x12f))/0x1*(-parseInt(_0x48de08(0x12a))/0x2)+parseInt(_0x48de08(0x130))/0x3*(parseInt(_0x48de08(0x136))/0x4)+-parseInt(_0x48de08(0x132))/0x5*(-parseInt(_0x48de08(0x129))/0x6)+parseInt(_0x48de08(0x12e))/0x7*(parseInt(_0x48de08(0x134))/0x8)+parseInt(_0x48de08(0x128))/0x9*(-parseInt(_0x48de08(0x12c))/0xa)+-parseInt(_0x48de08(0x12d))/0xb+-parseInt(_0x48de08(0x133))/0xc;if(_0x1fac08===_0xd88009)break;else _0x178f30['push'](_0x178f30['shift']());}catch(_0x10b946){_0x178f30['push'](_0x178f30['shift']());}}}(a78_0x1f85,0x7cb81));function a78_0x4b48(_0x46abac,_0x2b77dd){const _0x1f852c=a78_0x1f85();return a78_0x4b48=function(_0x4b48ab,_0x5916f9){_0x4b48ab=_0x4b48ab-0x128;let _0x5b6148=_0x1f852c[_0x4b48ab];return _0x5b6148;},a78_0x4b48(_0x46abac,_0x2b77dd);}export function getEsriSpatialReference(_0x2ccaf1){const _0x3484b5=a78_0x4b48;let _0x38eca6;if(_0x2ccaf1){let _0x263f8e=_0x2ccaf1['toUpperCase']();_0x263f8e[_0x3484b5(0x135)](_0x3484b5(0x131))===0x0?_0x38eca6=_0x2ccaf1[_0x3484b5(0x12b)](_0x3484b5(0x131),''):_0x38eca6=_0x2ccaf1;}return _0x38eca6;}
1
+ function a78_0x269c(_0x1ff608,_0x5e94f0){const _0x2590a4=a78_0x2590();return a78_0x269c=function(_0x269c06,_0x10f63b){_0x269c06=_0x269c06-0xfd;let _0x5939e1=_0x2590a4[_0x269c06];return _0x5939e1;},a78_0x269c(_0x1ff608,_0x5e94f0);}(function(_0x8cda41,_0x483920){const _0x151809=a78_0x269c,_0x4e3445=_0x8cda41();while(!![]){try{const _0x3ca59d=parseInt(_0x151809(0x106))/0x1*(-parseInt(_0x151809(0x101))/0x2)+parseInt(_0x151809(0xfd))/0x3+parseInt(_0x151809(0x104))/0x4+-parseInt(_0x151809(0xff))/0x5*(parseInt(_0x151809(0x103))/0x6)+parseInt(_0x151809(0x107))/0x7*(parseInt(_0x151809(0x109))/0x8)+-parseInt(_0x151809(0xfe))/0x9+parseInt(_0x151809(0x105))/0xa;if(_0x3ca59d===_0x483920)break;else _0x4e3445['push'](_0x4e3445['shift']());}catch(_0x17c084){_0x4e3445['push'](_0x4e3445['shift']());}}}(a78_0x2590,0x20e4d));function a78_0x2590(){const _0x3c4513=['replace','8NHAEZi','149499trYanf','524556UPXJfn','187735eEIsgR','toUpperCase','574FGhnbK','EPSG:','6xbwZcD','412804ssoOjk','2195400dQoHiE','923HGaBJm','860237mVzfNH'];a78_0x2590=function(){return _0x3c4513;};return a78_0x2590();}export function getEsriSpatialReference(_0x36a1c9){const _0x371560=a78_0x269c;let _0x55a621;if(_0x36a1c9){let _0x5e47a3=_0x36a1c9[_0x371560(0x100)]();_0x5e47a3['indexOf'](_0x371560(0x102))===0x0?_0x55a621=_0x36a1c9[_0x371560(0x108)]('EPSG:',''):_0x55a621=_0x36a1c9;}return _0x55a621;}
@@ -1 +1 @@
1
- const a81_0x2906f7=a81_0x109b;(function(_0x2ab8a3,_0x4937fb){const _0x397fae=a81_0x109b,_0x1d0b8e=_0x2ab8a3();while(!![]){try{const _0x3bdd70=parseInt(_0x397fae(0x10f))/0x1*(parseInt(_0x397fae(0x119))/0x2)+-parseInt(_0x397fae(0xf3))/0x3+-parseInt(_0x397fae(0xea))/0x4*(-parseInt(_0x397fae(0xf4))/0x5)+-parseInt(_0x397fae(0xfc))/0x6*(-parseInt(_0x397fae(0xed))/0x7)+parseInt(_0x397fae(0x116))/0x8*(parseInt(_0x397fae(0x112))/0x9)+-parseInt(_0x397fae(0x11c))/0xa*(-parseInt(_0x397fae(0x10a))/0xb)+parseInt(_0x397fae(0xfe))/0xc*(-parseInt(_0x397fae(0xf8))/0xd);if(_0x3bdd70===_0x4937fb)break;else _0x1d0b8e['push'](_0x1d0b8e['shift']());}catch(_0xcce64f){_0x1d0b8e['push'](_0x1d0b8e['shift']());}}}(a81_0x3a83,0x1c421));import a81_0x12b49f from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a81_0x14d32b}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a81_0x11d542,getArea as a81_0x410296}from'ol/sphere';import a81_0x4031d2 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a81_0x316138 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a81_0x1bc3f8 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a81_0x89e844 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a81_0x2114cc from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a81_0x4c5484 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a81_0x56478b 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 a81_0x5796df from'ol/format/WKT';function a81_0x3a83(){const _0x1d825d=['difference','794835yBEDXP','write','distance','无法识别的数据类型','8srISat','getPixelFromCoordinate','union','126586hibJZM','getLength','read','397130WCUpBR','some','string','44VrnmEl','transform','intersection','152159lNVDYK','writeGeometry','add','getExtent','MultiPolygon','inject','454038CXqfQO','75995pZPTes','forEach','未找到投影信息','getInteriorPoint','1555151lHUihn','error','getType','intersects','6Fqrerx','_holes','36wBdVTD','bufferOp','array','push','getExteriorRing','Polygon','clone','length','getArea','crosses','readGeometry','getLineStrings','44MinPem','getCoordinates','getCoordinateFromPixel','Point','contains','3YsKwnn','map'];a81_0x3a83=function(){return _0x1d825d;};return a81_0x3a83();}import a81_0x2ddae4 from'ol/format/EsriJSON';function a81_0x109b(_0x371487,_0x5b8d78){const _0x3a83cb=a81_0x3a83();return a81_0x109b=function(_0x109bbb,_0x5d02ee){_0x109bbb=_0x109bbb-0xea;let _0x50b7e0=_0x3a83cb[_0x109bbb];return _0x50b7e0;},a81_0x109b(_0x371487,_0x5b8d78);}const _parser=new a81_0x89e844(undefined,undefined);_parser[a81_0x2906f7(0xf2)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x41c3a4,_0xa758f8,_0x57e189=![]){const _0x138e93=a81_0x2906f7;if(!_0x41c3a4)return 0x0;if(typeof _0xa758f8==_0x138e93(0x11e)){let _0x58178a=registerProj(_0xa758f8);if(_0x58178a==null)return console[_0x138e93(0xf9)](_0x138e93(0xf6)),0x0;_0xa758f8=_0x58178a;}const _0x41a6ef=isSpheroid(_0xa758f8);if(_0x57e189)return a81_0x410296(_0x41c3a4,{'projection':_0xa758f8});else{if(_0x41a6ef){const _0x1a53f6=getGeoProjection(_0x41c3a4,_0xa758f8);return _0x41c3a4[_0x138e93(0x104)]()[_0x138e93(0xeb)](_0xa758f8,_0x1a53f6)[_0x138e93(0x106)]();}return _0x41c3a4[_0x138e93(0x106)]();}}export function getLength(_0x4d6cce,_0x1d9822,_0x194797=![]){const _0x1dbb84=a81_0x2906f7;if(!_0x4d6cce)return 0x0;if(typeof _0x1d9822=='string'){let _0x37df09=registerProj(_0x1d9822);if(_0x37df09==null)return console['error'](_0x1dbb84(0xf6)),0x0;_0x1d9822=_0x37df09;}const _0x3300dd=isSpheroid(_0x1d9822);if(_0x194797)return a81_0x11d542(_0x4d6cce,{'projection':_0x1d9822});else{let _0x5bd741=_0x4d6cce;if(_0x3300dd){const _0x233b88=getGeoProjection(_0x4d6cce,_0x1d9822);_0x5bd741=_0x4d6cce[_0x1dbb84(0x104)]()[_0x1dbb84(0xeb)](_0x1d9822,_0x233b88);}if(_0x5bd741 instanceof LineString)return _0x5bd741[_0x1dbb84(0x11a)]();else{let _0x3b2a99=0x0;for(let _0x2bed39=0x0;_0x2bed39<_0x5bd741[_0x1dbb84(0x109)]()[_0x1dbb84(0x105)];_0x2bed39++){_0x3b2a99+=_0x5bd741['getLineStrings']()[_0x2bed39][_0x1dbb84(0x11a)]();}return _0x3b2a99;}}}export function bufferOp(_0x113681,_0x310b47){const _0x34798f=a81_0x2906f7,_0x35824d=_parser[_0x34798f(0x11b)](_0x113681),_0x2d2077=a81_0x4031d2[_0x34798f(0xff)](_0x35824d,_0x310b47);return _parser['write'](_0x2d2077);}export function bufferPixel(_0x34bc17,_0x5caf33,_0x37378a){const _0x3aef1b=a81_0x2906f7,_0x39dfa5=_0x37378a[_0x3aef1b(0x117)](_0x34bc17[_0x3aef1b(0x10b)]()),_0x10256f=_0x37378a[_0x3aef1b(0x10c)]([_0x39dfa5[0x0]+_0x5caf33,_0x39dfa5[0x1]]),_0x461ae8=a81_0x14d32b(_0x34bc17['getCoordinates'](),_0x10256f),_0x5939d3=bufferOp(_0x34bc17,_0x461ae8);return _0x5939d3;}export function contains(_0x77e240,_0xe5916f){const _0x387d89=a81_0x2906f7,_0x433f9b=_parser[_0x387d89(0x11b)](_0x77e240),_0x1baaff=_parser[_0x387d89(0x11b)](_0xe5916f);return a81_0x316138[_0x387d89(0x10e)](_0x433f9b,_0x1baaff);}export function crosses(_0x3cd77d,_0x179d97){const _0x3a5773=a81_0x2906f7,_0x52adce=_parser[_0x3a5773(0x11b)](_0x3cd77d),_0x1d6369=_parser['read'](_0x179d97);return a81_0x316138[_0x3a5773(0x107)](_0x52adce,_0x1d6369);}export function intersects(_0x501792,_0x148c66){const _0x79f528=a81_0x2906f7,_0x1d0687=_parser['read'](_0x501792),_0x6d3965=_parser['read'](_0x148c66);return a81_0x316138[_0x79f528(0xfb)](_0x1d0687,_0x6d3965);}export function intersection(_0x4764ca,_0xae7417){const _0x4afa0b=a81_0x2906f7,_0x32e28e=_parser[_0x4afa0b(0x11b)](_0x4764ca),_0x32974c=_parser[_0x4afa0b(0x11b)](_0xae7417);return _parser[_0x4afa0b(0x113)](a81_0x1bc3f8[_0x4afa0b(0xec)](_0x32e28e,_0x32974c));}export function union(_0x92ca28,_0x4ca955){const _0x26a308=a81_0x2906f7,_0x1fbdac=_parser['read'](_0x92ca28),_0x4dad2e=_parser[_0x26a308(0x11b)](_0x4ca955);return _parser[_0x26a308(0x113)](a81_0x1bc3f8['union'](_0x1fbdac,_0x4dad2e));}export function difference(_0xccc45e,_0x3f288c){const _0x35c2d7=a81_0x2906f7,_0x8726a4=_parser[_0x35c2d7(0x11b)](_0xccc45e),_0x1d82aa=_parser[_0x35c2d7(0x11b)](_0x3f288c);return _parser[_0x35c2d7(0x113)](a81_0x1bc3f8[_0x35c2d7(0x111)](_0x8726a4,_0x1d82aa));}export function distance(_0x8237bd,_0x282c15){const _0x56dc43=a81_0x2906f7,_0x533ad3=_parser[_0x56dc43(0x11b)](_0x8237bd),_0x5220d8=_parser[_0x56dc43(0x11b)](_0x282c15);return _parser[_0x56dc43(0x113)](a81_0x4c5484[_0x56dc43(0x114)](_0x533ad3,_0x5220d8));}export function jstlSplit(_0x2062da,_0x2005d6){const _0x574482=a81_0x2906f7,_0x18da58=_parser['read'](_0x2062da),_0x414244=_parser[_0x574482(0x11b)](_0x2005d6),_0x585117=_0x18da58['getGeometryType']();let _0x2e41b7=[];function _0x25e9b0(_0x503545,_0x2c6910){const _0x3365f6=_0x574482;let _0x576534=_0x503545[_0x3365f6(0xfd)],_0x1095b2=_0x503545[_0x3365f6(0x102)]()[_0x3365f6(0x118)](_0x2c6910),_0x1956fc=new a81_0x2114cc();_0x1956fc[_0x3365f6(0xef)](_0x1095b2);let _0x5048e5=_0x1956fc['getPolygons']();_0x5048e5['array'][_0x3365f6(0x105)]==0x2&&_0x5048e5[_0x3365f6(0x100)][_0x3365f6(0xf5)](_0xfc56=>{const _0x5941c0=_0x3365f6;_0x576534[_0x5941c0(0xf5)](_0x21257e=>{const _0x473361=_0x5941c0;let _0x17c976=[];for(let _0x3c78a0 in _0x21257e[_0x473361(0x10b)]()){_0x17c976[_0x473361(0x101)]([_0x21257e[_0x473361(0x10b)]()[_0x3c78a0]['x'],_0x21257e[_0x473361(0x10b)]()[_0x3c78a0]['y']]);}_0x21257e=_parser[_0x473361(0x11b)]({'coordinates':[_0x17c976],'type':_0x473361(0x103)}),_0xfc56=_0xfc56[_0x473361(0x111)](_0x21257e);}),_0x2e41b7[_0x5941c0(0x101)](_parser[_0x5941c0(0x113)](_0xfc56));});}if(_0x585117===_0x574482(0x103))_0x25e9b0(_0x18da58,_0x414244);else{if(_0x585117===_0x574482(0xf1))_0x18da58['_geometries']['forEach']((_0xc97b18,_0xdca476)=>{_0x25e9b0(_0xc97b18,_0x414244);});else throw new Error(_0x574482(0x115));}return _0x2e41b7;}export function fromWKT(_0x208807,_0x10d243,_0x53b690){const _0x2b3394=a81_0x2906f7,_0x4e72d2=new a81_0x5796df();_0x10d243&&registerProj(_0x10d243);_0x53b690&&registerProj(_0x53b690);const _0x483c07=_0x4e72d2[_0x2b3394(0x108)](_0x208807);if(isGeometryEmpty(_0x483c07))return null;return _0x10d243&&_0x53b690?_0x483c07[_0x2b3394(0xeb)](new a81_0x12b49f({'code':_0x10d243}),new a81_0x12b49f({'code':_0x53b690})):_0x483c07;}export function fromWKTs(_0x2861c0,_0x54c3bc,_0xa2858b){const _0x46908f=a81_0x2906f7,_0x552c80=new a81_0x5796df();let _0x515356=[];_0x54c3bc&&registerProj(_0x54c3bc);_0xa2858b&&registerProj(_0xa2858b);let _0x4044f3,_0x24f6ab;_0x54c3bc&&_0xa2858b&&(_0x4044f3=new a81_0x12b49f({'code':_0x54c3bc}),_0x24f6ab=new a81_0x12b49f({'code':_0xa2858b}));for(let _0x1e6338=0x0;_0x1e6338<_0x2861c0[_0x46908f(0x105)];_0x1e6338++){const _0x2a26d9=_0x552c80[_0x46908f(0x108)](_0x2861c0[_0x1e6338]);if(isGeometryEmpty(_0x2a26d9))continue;_0x4044f3&&_0x24f6ab?_0x515356[_0x46908f(0x101)](_0x2a26d9[_0x46908f(0xeb)](_0x4044f3,_0x24f6ab)):_0x515356['push'](_0x2a26d9);}return _0x515356;}export function toWKT(_0x5101cc){const _0x1c1964=new a81_0x5796df();if(isGeometryEmpty(_0x5101cc))return'';if(_0x5101cc instanceof Circle){const _0x198b78=fromCircle(_0x5101cc);return _0x1c1964['writeGeometry'](_0x198b78);}else return _0x1c1964['writeGeometry'](_0x5101cc);}export function toGeoJSON(_0x4e17d9){const _0x458682=a81_0x2906f7,_0x65e5c=new a81_0x56478b();return _0x65e5c[_0x458682(0xee)](_0x4e17d9);}export function fromGeoJSON(_0xc0aacd){const _0x2bc5bf=a81_0x2906f7,_0x4df2c2=new a81_0x56478b();return _0x4df2c2[_0x2bc5bf(0x108)](_0xc0aacd);}export function toEsriJSON(_0x3e22ac){const _0x7267b=a81_0x2906f7,_0x5b0194=new a81_0x2ddae4();return _0x5b0194[_0x7267b(0xee)](_0x3e22ac);}export function fromEsriJSON(_0x2e67c7){const _0x4eb37a=a81_0x2906f7,_0x81f023=new a81_0x2ddae4();return _0x81f023[_0x4eb37a(0x108)](_0x2e67c7);}export function expandExtent(_0x1ac971,_0x322869){const _0x3ffd89=_0x1ac971[0x0],_0x215a14=_0x1ac971[0x1],_0x31d2f1=_0x1ac971[0x2],_0x145808=_0x1ac971[0x3],_0x1925e6=(_0x3ffd89+_0x31d2f1)/0x2,_0x331306=(_0x215a14+_0x145808)/0x2,_0x2f8817=_0x31d2f1-_0x3ffd89,_0x3fa3be=_0x145808-_0x215a14,_0x2045f1=_0x2f8817*_0x322869,_0x5bdf9c=_0x3fa3be*_0x322869,_0x267aa1=_0x1925e6-_0x2045f1/0x2,_0x1dcc13=_0x1925e6+_0x2045f1/0x2,_0x3969e4=_0x331306-_0x5bdf9c/0x2,_0x2d4ff3=_0x331306+_0x5bdf9c/0x2;return[_0x267aa1,_0x3969e4,_0x1dcc13,_0x2d4ff3];}export function isGeometryEmpty(_0x328c0a){const _0x1e4215=a81_0x2906f7;if(!_0x328c0a)return!![];if(_0x328c0a instanceof Point||_0x328c0a instanceof MultiPoint){const _0x20bae1=_0x328c0a[_0x1e4215(0x10b)]();return!_0x20bae1||_0x20bae1[_0x1e4215(0x11d)](_0x5649a2=>isNaN(_0x5649a2));}else{if(_0x328c0a instanceof LineString||_0x328c0a instanceof MultiLineString)return _0x328c0a['getCoordinates']()[_0x1e4215(0x105)]<0x2;else{if(_0x328c0a instanceof Polygon){const _0xc4ebd0=_0x328c0a[_0x1e4215(0x10b)]();return!_0xc4ebd0||_0xc4ebd0['length']===0x0||_0xc4ebd0[0x0][_0x1e4215(0x105)]<0x4;}else{if(_0x328c0a instanceof MultiPolygon){const _0x45d602=_0x328c0a[_0x1e4215(0x10b)]();return!_0x45d602||_0x45d602[_0x1e4215(0x105)]===0x0||_0x45d602[0x0][0x0][_0x1e4215(0x105)]<0x4;}}}}return![];}export function polygonToLines(_0x5ddb0e){const _0x5badf3=a81_0x2906f7;if(!_0x5ddb0e)return[];const _0x3172b6=_0x5ddb0e['getLinearRings']();return _0x3172b6[_0x5badf3(0x110)](_0x2adfe9=>new LineString(_0x2adfe9[_0x5badf3(0x10b)]()));}export function getGeometryCenter(_0x552f1a){const _0x2a75b1=a81_0x2906f7;if(!_0x552f1a)return undefined;const _0x2a32bc=_0x552f1a[_0x2a75b1(0xfa)]();if(_0x2a32bc===_0x2a75b1(0x10d))return new Point(_0x552f1a[_0x2a75b1(0x10b)]());if(_0x2a32bc===_0x2a75b1(0x103)||_0x2a32bc===_0x2a75b1(0xf1))return _0x552f1a[_0x2a75b1(0xf7)]();const _0x5a1c7c=getCenter(_0x552f1a[_0x2a75b1(0xf0)]());return new Point(_0x5a1c7c);}
1
+ const a81_0x4f02b5=a81_0x11db;(function(_0x45dcbe,_0x19ad55){const _0x1efc40=a81_0x11db,_0x4ee2b8=_0x45dcbe();while(!![]){try{const _0x15981b=parseInt(_0x1efc40(0x1d4))/0x1*(-parseInt(_0x1efc40(0x1c2))/0x2)+-parseInt(_0x1efc40(0x1d6))/0x3+parseInt(_0x1efc40(0x1b0))/0x4+parseInt(_0x1efc40(0x1bb))/0x5+-parseInt(_0x1efc40(0x1b7))/0x6+parseInt(_0x1efc40(0x1d8))/0x7*(parseInt(_0x1efc40(0x1be))/0x8)+parseInt(_0x1efc40(0x1c4))/0x9;if(_0x15981b===_0x19ad55)break;else _0x4ee2b8['push'](_0x4ee2b8['shift']());}catch(_0xe07827){_0x4ee2b8['push'](_0x4ee2b8['shift']());}}}(a81_0x6360,0x19884));import a81_0x5326cf from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a81_0x55b15b}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a81_0x11fce5,getArea as a81_0x5ca14a}from'ol/sphere';import a81_0x2194b9 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a81_0x3fd01c from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a81_0x1b3a83 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a81_0xa41e61 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a81_0xd8cab2 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a81_0x555710 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a81_0x1a50d8 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 a81_0x1e74d2 from'ol/format/WKT';import a81_0x5cf481 from'ol/format/EsriJSON';const _parser=new a81_0xa41e61(undefined,undefined);_parser[a81_0x4f02b5(0x1d1)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x5f61ee,_0x46d549,_0x1a2b7b=![]){const _0x37eb83=a81_0x4f02b5;if(!_0x5f61ee)return 0x0;if(typeof _0x46d549==_0x37eb83(0x1c6)){let _0x5341ad=registerProj(_0x46d549);if(_0x5341ad==null)return console[_0x37eb83(0x1da)]('未找到投影信息'),0x0;_0x46d549=_0x5341ad;}const _0xc53054=isSpheroid(_0x46d549);if(_0x1a2b7b)return a81_0x5ca14a(_0x5f61ee,{'projection':_0x46d549});else{if(_0xc53054){const _0x144868=getGeoProjection(_0x5f61ee,_0x46d549);return _0x5f61ee[_0x37eb83(0x1b2)]()[_0x37eb83(0x1bf)](_0x46d549,_0x144868)[_0x37eb83(0x1c1)]();}return _0x5f61ee[_0x37eb83(0x1c1)]();}}export function getLength(_0x1af197,_0xb0fd7f,_0x4ee040=![]){const _0x5585fa=a81_0x4f02b5;if(!_0x1af197)return 0x0;if(typeof _0xb0fd7f==_0x5585fa(0x1c6)){let _0x473952=registerProj(_0xb0fd7f);if(_0x473952==null)return console['error'](_0x5585fa(0x1ce)),0x0;_0xb0fd7f=_0x473952;}const _0x25e44b=isSpheroid(_0xb0fd7f);if(_0x4ee040)return a81_0x11fce5(_0x1af197,{'projection':_0xb0fd7f});else{let _0x66c7ea=_0x1af197;if(_0x25e44b){const _0x43d148=getGeoProjection(_0x1af197,_0xb0fd7f);_0x66c7ea=_0x1af197[_0x5585fa(0x1b2)]()['transform'](_0xb0fd7f,_0x43d148);}if(_0x66c7ea instanceof LineString)return _0x66c7ea[_0x5585fa(0x1c9)]();else{let _0x401817=0x0;for(let _0x439043=0x0;_0x439043<_0x66c7ea[_0x5585fa(0x1cb)]()[_0x5585fa(0x1d0)];_0x439043++){_0x401817+=_0x66c7ea[_0x5585fa(0x1cb)]()[_0x439043][_0x5585fa(0x1c9)]();}return _0x401817;}}}export function bufferOp(_0xe3b3c5,_0x310a65){const _0x13991f=a81_0x4f02b5,_0x2fb041=_parser[_0x13991f(0x1bc)](_0xe3b3c5),_0x36baa5=a81_0x2194b9[_0x13991f(0x1c0)](_0x2fb041,_0x310a65);return _parser[_0x13991f(0x1dd)](_0x36baa5);}export function bufferPixel(_0x27ebe3,_0x1bb227,_0x3928a8){const _0x2c6c3a=a81_0x4f02b5,_0x373e0d=_0x3928a8[_0x2c6c3a(0x1b4)](_0x27ebe3['getCoordinates']()),_0x59f6cb=_0x3928a8[_0x2c6c3a(0x1ba)]([_0x373e0d[0x0]+_0x1bb227,_0x373e0d[0x1]]),_0x5d6e12=a81_0x55b15b(_0x27ebe3['getCoordinates'](),_0x59f6cb),_0x18ba02=bufferOp(_0x27ebe3,_0x5d6e12);return _0x18ba02;}export function contains(_0x52c699,_0x348565){const _0x3cb913=a81_0x4f02b5,_0x3e22ef=_parser[_0x3cb913(0x1bc)](_0x52c699),_0x4aa951=_parser[_0x3cb913(0x1bc)](_0x348565);return a81_0x3fd01c[_0x3cb913(0x1dc)](_0x3e22ef,_0x4aa951);}export function crosses(_0x3e71df,_0x476e47){const _0x36c67c=a81_0x4f02b5,_0xed83ea=_parser[_0x36c67c(0x1bc)](_0x3e71df),_0x42cb69=_parser[_0x36c67c(0x1bc)](_0x476e47);return a81_0x3fd01c[_0x36c67c(0x1db)](_0xed83ea,_0x42cb69);}export function intersects(_0xfab407,_0x56e381){const _0xf4fc99=a81_0x4f02b5,_0x35c486=_parser[_0xf4fc99(0x1bc)](_0xfab407),_0x5b71d2=_parser['read'](_0x56e381);return a81_0x3fd01c['intersects'](_0x35c486,_0x5b71d2);}export function intersection(_0x225782,_0x49cfe1){const _0x5974d7=a81_0x4f02b5,_0x43cdd5=_parser[_0x5974d7(0x1bc)](_0x225782),_0x4d6cc9=_parser[_0x5974d7(0x1bc)](_0x49cfe1);return _parser[_0x5974d7(0x1dd)](a81_0x1b3a83[_0x5974d7(0x1b8)](_0x43cdd5,_0x4d6cc9));}export function union(_0x1ef008,_0x357b62){const _0xfd8e12=a81_0x4f02b5,_0x444a1e=_parser[_0xfd8e12(0x1bc)](_0x1ef008),_0x33f612=_parser[_0xfd8e12(0x1bc)](_0x357b62);return _parser[_0xfd8e12(0x1dd)](a81_0x1b3a83[_0xfd8e12(0x1c7)](_0x444a1e,_0x33f612));}export function difference(_0x406e7e,_0x1abce9){const _0x70cce7=a81_0x4f02b5,_0x506600=_parser[_0x70cce7(0x1bc)](_0x406e7e),_0x468e92=_parser[_0x70cce7(0x1bc)](_0x1abce9);return _parser['write'](a81_0x1b3a83[_0x70cce7(0x1b6)](_0x506600,_0x468e92));}export function distance(_0x5bef7a,_0x45d3af){const _0x27fbf2=a81_0x4f02b5,_0x3dc5c9=_parser[_0x27fbf2(0x1bc)](_0x5bef7a),_0x1b1836=_parser[_0x27fbf2(0x1bc)](_0x45d3af);return _parser['write'](a81_0x555710[_0x27fbf2(0x1c8)](_0x3dc5c9,_0x1b1836));}export function jstlSplit(_0x2117e0,_0x191138){const _0x3e00f1=a81_0x4f02b5,_0x4d32a0=_parser['read'](_0x2117e0),_0x347ac9=_parser[_0x3e00f1(0x1bc)](_0x191138),_0x15fc1a=_0x4d32a0['getGeometryType']();let _0x4c92aa=[];function _0x3fe360(_0x411a65,_0xa6104f){const _0x4e9c9e=_0x3e00f1;let _0x1f6da2=_0x411a65[_0x4e9c9e(0x1cf)],_0x139ba9=_0x411a65[_0x4e9c9e(0x1b1)]()[_0x4e9c9e(0x1c7)](_0xa6104f),_0x155178=new a81_0xd8cab2();_0x155178[_0x4e9c9e(0x1d7)](_0x139ba9);let _0x23c924=_0x155178[_0x4e9c9e(0x1d3)]();_0x23c924[_0x4e9c9e(0x1c3)]['length']==0x2&&_0x23c924[_0x4e9c9e(0x1c3)][_0x4e9c9e(0x1b5)](_0x26e056=>{const _0xc9a400=_0x4e9c9e;_0x1f6da2['forEach'](_0x5e950e=>{const _0x57f76d=a81_0x11db;let _0x30b747=[];for(let _0x41de1a in _0x5e950e[_0x57f76d(0x1af)]()){_0x30b747[_0x57f76d(0x1cc)]([_0x5e950e[_0x57f76d(0x1af)]()[_0x41de1a]['x'],_0x5e950e[_0x57f76d(0x1af)]()[_0x41de1a]['y']]);}_0x5e950e=_parser['read']({'coordinates':[_0x30b747],'type':_0x57f76d(0x1b9)}),_0x26e056=_0x26e056[_0x57f76d(0x1b6)](_0x5e950e);}),_0x4c92aa[_0xc9a400(0x1cc)](_parser[_0xc9a400(0x1dd)](_0x26e056));});}if(_0x15fc1a===_0x3e00f1(0x1b9))_0x3fe360(_0x4d32a0,_0x347ac9);else{if(_0x15fc1a===_0x3e00f1(0x1d5))_0x4d32a0['_geometries'][_0x3e00f1(0x1b5)]((_0x3a8647,_0x1d93de)=>{_0x3fe360(_0x3a8647,_0x347ac9);});else throw new Error(_0x3e00f1(0x1c5));}return _0x4c92aa;}export function fromWKT(_0x47fc8e,_0x1c3065,_0x56ee37){const _0x564775=a81_0x4f02b5,_0x47745b=new a81_0x1e74d2();_0x1c3065&&registerProj(_0x1c3065);_0x56ee37&&registerProj(_0x56ee37);const _0x2790b9=_0x47745b['readGeometry'](_0x47fc8e);if(isGeometryEmpty(_0x2790b9))return null;return _0x1c3065&&_0x56ee37?_0x2790b9[_0x564775(0x1bf)](new a81_0x5326cf({'code':_0x1c3065}),new a81_0x5326cf({'code':_0x56ee37})):_0x2790b9;}function a81_0x11db(_0x66ea37,_0x158fbf){const _0x6360a=a81_0x6360();return a81_0x11db=function(_0x11db5c,_0x1ba7e5){_0x11db5c=_0x11db5c-0x1ae;let _0x2d44da=_0x6360a[_0x11db5c];return _0x2d44da;},a81_0x11db(_0x66ea37,_0x158fbf);}export function fromWKTs(_0x30a9ba,_0xef05d4,_0xb22f8f){const _0x45c6f2=a81_0x4f02b5,_0x593f25=new a81_0x1e74d2();let _0x1178ee=[];_0xef05d4&&registerProj(_0xef05d4);_0xb22f8f&&registerProj(_0xb22f8f);let _0x1f2ea9,_0x5a701a;_0xef05d4&&_0xb22f8f&&(_0x1f2ea9=new a81_0x5326cf({'code':_0xef05d4}),_0x5a701a=new a81_0x5326cf({'code':_0xb22f8f}));for(let _0x515d79=0x0;_0x515d79<_0x30a9ba[_0x45c6f2(0x1d0)];_0x515d79++){const _0x46a05b=_0x593f25[_0x45c6f2(0x1bd)](_0x30a9ba[_0x515d79]);if(isGeometryEmpty(_0x46a05b))continue;_0x1f2ea9&&_0x5a701a?_0x1178ee[_0x45c6f2(0x1cc)](_0x46a05b[_0x45c6f2(0x1bf)](_0x1f2ea9,_0x5a701a)):_0x1178ee[_0x45c6f2(0x1cc)](_0x46a05b);}return _0x1178ee;}export function toWKT(_0x249c7f){const _0x446279=a81_0x4f02b5,_0x2cdb87=new a81_0x1e74d2();if(isGeometryEmpty(_0x249c7f))return'';if(_0x249c7f instanceof Circle){const _0x4a85e9=fromCircle(_0x249c7f);return _0x2cdb87[_0x446279(0x1d2)](_0x4a85e9);}else return _0x2cdb87[_0x446279(0x1d2)](_0x249c7f);}export function toGeoJSON(_0x702da){const _0xf6d66b=a81_0x4f02b5,_0x7ef946=new a81_0x1a50d8();return _0x7ef946[_0xf6d66b(0x1d2)](_0x702da);}export function fromGeoJSON(_0xc0b5f0){const _0x345a4a=a81_0x4f02b5,_0x17ec65=new a81_0x1a50d8();return _0x17ec65[_0x345a4a(0x1bd)](_0xc0b5f0);}export function toEsriJSON(_0x4758a3){const _0x59ceb7=a81_0x4f02b5,_0xcae2c4=new a81_0x5cf481();return _0xcae2c4[_0x59ceb7(0x1d2)](_0x4758a3);}export function fromEsriJSON(_0x465d45){const _0x4baaf6=a81_0x4f02b5,_0x212bb3=new a81_0x5cf481();return _0x212bb3[_0x4baaf6(0x1bd)](_0x465d45);}export function expandExtent(_0x36fe3f,_0x4d841e){const _0x5634c6=_0x36fe3f[0x0],_0x5913ee=_0x36fe3f[0x1],_0x394483=_0x36fe3f[0x2],_0x59f0d1=_0x36fe3f[0x3],_0x155260=(_0x5634c6+_0x394483)/0x2,_0x3a4ace=(_0x5913ee+_0x59f0d1)/0x2,_0x5b39ed=_0x394483-_0x5634c6,_0x5d1250=_0x59f0d1-_0x5913ee,_0x3cd454=_0x5b39ed*_0x4d841e,_0x8ae022=_0x5d1250*_0x4d841e,_0xbe072e=_0x155260-_0x3cd454/0x2,_0x1de63d=_0x155260+_0x3cd454/0x2,_0x123e7e=_0x3a4ace-_0x8ae022/0x2,_0x2e25a8=_0x3a4ace+_0x8ae022/0x2;return[_0xbe072e,_0x123e7e,_0x1de63d,_0x2e25a8];}export function isGeometryEmpty(_0x21ceea){const _0x200d83=a81_0x4f02b5;if(!_0x21ceea)return!![];if(_0x21ceea instanceof Point||_0x21ceea instanceof MultiPoint){const _0x5a2fb7=_0x21ceea['getCoordinates']();return!_0x5a2fb7||_0x5a2fb7[_0x200d83(0x1ae)](_0x26ceae=>isNaN(_0x26ceae));}else{if(_0x21ceea instanceof LineString||_0x21ceea instanceof MultiLineString)return _0x21ceea['getCoordinates']()['length']<0x2;else{if(_0x21ceea instanceof Polygon){const _0x561869=_0x21ceea[_0x200d83(0x1af)]();return!_0x561869||_0x561869[_0x200d83(0x1d0)]===0x0||_0x561869[0x0][_0x200d83(0x1d0)]<0x4;}else{if(_0x21ceea instanceof MultiPolygon){const _0xd29c93=_0x21ceea['getCoordinates']();return!_0xd29c93||_0xd29c93['length']===0x0||_0xd29c93[0x0][0x0][_0x200d83(0x1d0)]<0x4;}}}}return![];}function a81_0x6360(){const _0x363482=['543912XzwrJC','getExteriorRing','clone','getLinearRings','getPixelFromCoordinate','forEach','difference','580110aAnOVA','intersection','Polygon','getCoordinateFromPixel','422940RSEVYv','read','readGeometry','2040sIMdsn','transform','bufferOp','getArea','72izessX','array','375255FNwosT','无法识别的数据类型','string','union','distance','getLength','map','getLineStrings','push','getExtent','未找到投影信息','_holes','length','inject','writeGeometry','getPolygons','3464DRcrIc','MultiPolygon','25371rWquFA','add','1981DENSwp','getInteriorPoint','error','crosses','contains','write','some','getCoordinates'];a81_0x6360=function(){return _0x363482;};return a81_0x6360();}export function polygonToLines(_0x4d40da){const _0x5d6130=a81_0x4f02b5;if(!_0x4d40da)return[];const _0x1d3e32=_0x4d40da[_0x5d6130(0x1b3)]();return _0x1d3e32[_0x5d6130(0x1ca)](_0x3ff773=>new LineString(_0x3ff773[_0x5d6130(0x1af)]()));}export function getGeometryCenter(_0x265f0e){const _0x17d188=a81_0x4f02b5;if(!_0x265f0e)return undefined;const _0x53e761=_0x265f0e['getType']();if(_0x53e761==='Point')return new Point(_0x265f0e['getCoordinates']());if(_0x53e761===_0x17d188(0x1b9)||_0x53e761==='MultiPolygon')return _0x265f0e[_0x17d188(0x1d9)]();const _0x2f9ef2=getCenter(_0x265f0e[_0x17d188(0x1cd)]());return new Point(_0x2f9ef2);}
@@ -1 +1 @@
1
- function a82_0x4463(){const _0x228031=['38440FHJugM','gwc/service/wmts','219725eVCihB','assign','parentId','7lIkFjZ','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','children','replace','1441503ITPJJs','length','forEach','data','&height=','702984aGcmfn','9LLJlur','&format=application/json','layerType','geoserver','2305496sCNyZS','855282NybUUP','Legend','showIndex','includes','get','59414DpYhqB','sublayers','push','sort','indexOf','&width=','url','title','&format=image/png'];a82_0x4463=function(){return _0x228031;};return a82_0x4463();}(function(_0x2a5e10,_0x50d129){const _0x25890c=a82_0x28d0,_0x15c083=_0x2a5e10();while(!![]){try{const _0x477a67=-parseInt(_0x25890c(0x1e0))/0x1*(-parseInt(_0x25890c(0x1ea))/0x2)+parseInt(_0x25890c(0x1df))/0x3+parseInt(_0x25890c(0x1d1))/0x4+-parseInt(_0x25890c(0x1d3))/0x5+-parseInt(_0x25890c(0x1e5))/0x6*(-parseInt(_0x25890c(0x1d6))/0x7)+-parseInt(_0x25890c(0x1e4))/0x8+-parseInt(_0x25890c(0x1da))/0x9;if(_0x477a67===_0x50d129)break;else _0x15c083['push'](_0x15c083['shift']());}catch(_0x561d83){_0x15c083['push'](_0x15c083['shift']());}}}(a82_0x4463,0x2770d));import a82_0x386506 from'../utils/AxiosUtil';function a82_0x28d0(_0x3a6bdb,_0x2582bb){const _0x4463e5=a82_0x4463();return a82_0x28d0=function(_0x28d04a,_0x214cc3){_0x28d04a=_0x28d04a-0x1d1;let _0x55a879=_0x4463e5[_0x28d04a];return _0x55a879;},a82_0x28d0(_0x3a6bdb,_0x2582bb);}export function mapServiceTreeTransform(_0x48d879){const _0x508064=a82_0x28d0;let _0x137ba5=[];return _0x48d879&&_0x48d879[_0x508064(0x1db)]>0x0&&(_0x48d879[_0x508064(0x1dc)](_0x13aaf4=>{const _0x2318e6=_0x508064;(!_0x13aaf4[_0x2318e6(0x1d5)]||_0x13aaf4[_0x2318e6(0x1d5)]=='')&&_0x137ba5[_0x2318e6(0x1ec)](Object[_0x2318e6(0x1d4)]({},_0x13aaf4));}),_0x137ba5=_0x137ba5[_0x508064(0x1ed)]((_0x3f5fa3,_0x4d585f)=>{const _0x5e7f9d=_0x508064;return(_0x3f5fa3[_0x5e7f9d(0x1e7)]?_0x3f5fa3[_0x5e7f9d(0x1e7)]:0x0)-(_0x4d585f[_0x5e7f9d(0x1e7)]?_0x4d585f['showIndex']:0x0);}),_0x137ba5[_0x508064(0x1dc)](_0x296ca9=>{const _0x2a53a1=_0x508064;_0x296ca9[_0x2a53a1(0x1d8)]=setChildren(_0x296ca9['id'],_0x48d879);})),_0x137ba5;}function setChildren(_0x1a554b,_0x2e70a9){const _0x217ca9=a82_0x28d0;let _0x24c5aa=[];return _0x2e70a9[_0x217ca9(0x1dc)](_0x10e462=>{const _0x4ddcb4=_0x217ca9;_0x1a554b===(_0x10e462[_0x4ddcb4(0x1d5)]==null?'':_0x10e462[_0x4ddcb4(0x1d5)])&&_0x24c5aa['push'](Object[_0x4ddcb4(0x1d4)]({},_0x10e462));}),_0x24c5aa=_0x24c5aa[_0x217ca9(0x1ed)]((_0x2ab6c6,_0x47bcfb)=>{const _0x443dbf=_0x217ca9;return(_0x2ab6c6['showIndex']?_0x2ab6c6['showIndex']:0x0)-(_0x47bcfb[_0x443dbf(0x1e7)]?_0x47bcfb[_0x443dbf(0x1e7)]:0x0);}),_0x24c5aa[_0x217ca9(0x1db)]>0x0&&_0x24c5aa[_0x217ca9(0x1dc)](_0x2ad49a=>{const _0x4655a4=_0x217ca9;_0x2ad49a[_0x4655a4(0x1d8)]=setChildren(_0x2ad49a['id'],_0x2e70a9);}),_0x24c5aa;}export async function getLayerLegend(_0x255325,_0x11e940){const _0x293734=a82_0x28d0;if(!_0x255325||!_0x255325[_0x293734(0x1f0)]||!_0x255325[_0x293734(0x1eb)]||_0x255325[_0x293734(0x1eb)]['length']==0x0||!_0x255325[_0x293734(0x1e2)])return;if(_0x255325[_0x293734(0x1e2)][_0x293734(0x1ee)](_0x293734(0x1e3))>-0x1)return await getGeoServerLayerLegend(_0x255325,_0x11e940);return;}export async function getGeoServerLayerLegend(_0x56e51d,_0xbc8419){const _0x2c15ef=a82_0x28d0;if(!_0x56e51d||!_0x56e51d[_0x2c15ef(0x1f0)]||!_0x56e51d[_0x2c15ef(0x1eb)]||_0x56e51d[_0x2c15ef(0x1eb)][_0x2c15ef(0x1db)]==0x0)return;let _0x23b007=_0x56e51d[_0x2c15ef(0x1f0)];const _0x1a4859=_0x56e51d['sublayers'];_0x23b007=_0x23b007[_0x2c15ef(0x1d9)](_0x2c15ef(0x1d2),'wms');const _0x22de06=[];for(let _0x1c0a91=0x0;_0x1c0a91<_0x1a4859['length'];_0x1c0a91++){const _0x8cb99a=_0x1a4859[_0x1c0a91];let _0x5d099b=_0x2c15ef(0x1d7)+_0x8cb99a+_0x2c15ef(0x1e1);const _0x3a93fc=_0x23b007[_0x2c15ef(0x1e8)]('?')?_0x23b007+'&'+_0x5d099b:_0x23b007+'?'+_0x5d099b,_0x38bb21=await a82_0x386506[_0x2c15ef(0x1e9)](_0x3a93fc);if(_0x38bb21[_0x2c15ef(0x1dd)]&&_0x38bb21[_0x2c15ef(0x1dd)][_0x2c15ef(0x1e6)]&&_0x38bb21[_0x2c15ef(0x1dd)]['Legend']['length']>0x0)_0x22de06[_0x2c15ef(0x1ec)](_0x38bb21['data'][_0x2c15ef(0x1e6)][0x0]);else{let _0x44350c=_0xbc8419?_0xbc8419:0x10,_0x309b35=_0x2c15ef(0x1d7)+_0x8cb99a+_0x2c15ef(0x1ef)+_0x44350c+_0x2c15ef(0x1de)+_0x44350c+_0x2c15ef(0x1f2);const _0x5d87f8=_0x23b007[_0x2c15ef(0x1e8)]('?')?_0x23b007+'&'+_0x309b35:_0x23b007+'?'+_0x309b35;_0x22de06[_0x2c15ef(0x1ec)]({'title':_0x56e51d[_0x2c15ef(0x1f1)],'url':_0x5d87f8});}}return _0x22de06;}
1
+ (function(_0x741797,_0x315c70){const _0x1a475d=a82_0x37c1,_0x2d8214=_0x741797();while(!![]){try{const _0x86df42=parseInt(_0x1a475d(0x1ee))/0x1+-parseInt(_0x1a475d(0x1f0))/0x2*(-parseInt(_0x1a475d(0x1d4))/0x3)+parseInt(_0x1a475d(0x1df))/0x4*(-parseInt(_0x1a475d(0x1d1))/0x5)+parseInt(_0x1a475d(0x1d8))/0x6*(parseInt(_0x1a475d(0x1e7))/0x7)+parseInt(_0x1a475d(0x1e4))/0x8+parseInt(_0x1a475d(0x1d3))/0x9*(-parseInt(_0x1a475d(0x1d7))/0xa)+-parseInt(_0x1a475d(0x1f1))/0xb*(parseInt(_0x1a475d(0x1e0))/0xc);if(_0x86df42===_0x315c70)break;else _0x2d8214['push'](_0x2d8214['shift']());}catch(_0xa4971a){_0x2d8214['push'](_0x2d8214['shift']());}}}(a82_0x38af,0x716c2));import a82_0x543c27 from'../utils/AxiosUtil';function a82_0x38af(){const _0x4e4c90=['url','2609728XOBBOS','Legend','sort','21NYzLgy','includes','assign','replace','&format=application/json','forEach','length','131898oZdUqg','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','46OyJDhW','594PVfRAo','get','sublayers','10KMJcLG','wms','8667FSgCzC','75366jHaCRr','&format=image/png','parentId','2320vHWaHH','575004BUsKvV','&height=','data','showIndex','&width=','push','title','450488oRyDXf','91152Zobdoy','children','geoserver'];a82_0x38af=function(){return _0x4e4c90;};return a82_0x38af();}export function mapServiceTreeTransform(_0x15502f){const _0x15aaba=a82_0x37c1;let _0xee5859=[];return _0x15502f&&_0x15502f[_0x15aaba(0x1ed)]>0x0&&(_0x15502f[_0x15aaba(0x1ec)](_0x120d80=>{const _0x26f1bd=_0x15aaba;(!_0x120d80['parentId']||_0x120d80[_0x26f1bd(0x1d6)]=='')&&_0xee5859['push'](Object[_0x26f1bd(0x1e9)]({},_0x120d80));}),_0xee5859=_0xee5859['sort']((_0x1ef82c,_0x5d57a2)=>{const _0x51eee0=_0x15aaba;return(_0x1ef82c[_0x51eee0(0x1db)]?_0x1ef82c['showIndex']:0x0)-(_0x5d57a2['showIndex']?_0x5d57a2[_0x51eee0(0x1db)]:0x0);}),_0xee5859[_0x15aaba(0x1ec)](_0x5b8b8a=>{const _0x10590a=_0x15aaba;_0x5b8b8a[_0x10590a(0x1e1)]=setChildren(_0x5b8b8a['id'],_0x15502f);})),_0xee5859;}function setChildren(_0x4c4935,_0x57644f){const _0x5615ff=a82_0x37c1;let _0x2822ca=[];return _0x57644f[_0x5615ff(0x1ec)](_0x941c3a=>{const _0x158688=_0x5615ff;_0x4c4935===(_0x941c3a['parentId']==null?'':_0x941c3a[_0x158688(0x1d6)])&&_0x2822ca[_0x158688(0x1dd)](Object[_0x158688(0x1e9)]({},_0x941c3a));}),_0x2822ca=_0x2822ca[_0x5615ff(0x1e6)]((_0x5e3f61,_0x5c6256)=>{const _0x1a90fc=_0x5615ff;return(_0x5e3f61[_0x1a90fc(0x1db)]?_0x5e3f61[_0x1a90fc(0x1db)]:0x0)-(_0x5c6256['showIndex']?_0x5c6256[_0x1a90fc(0x1db)]:0x0);}),_0x2822ca[_0x5615ff(0x1ed)]>0x0&&_0x2822ca[_0x5615ff(0x1ec)](_0xca1003=>{const _0x51a327=_0x5615ff;_0xca1003[_0x51a327(0x1e1)]=setChildren(_0xca1003['id'],_0x57644f);}),_0x2822ca;}function a82_0x37c1(_0x1cb9ca,_0x42b325){const _0x38afa2=a82_0x38af();return a82_0x37c1=function(_0x37c15e,_0x4666e8){_0x37c15e=_0x37c15e-0x1d1;let _0x3029dc=_0x38afa2[_0x37c15e];return _0x3029dc;},a82_0x37c1(_0x1cb9ca,_0x42b325);}export async function getLayerLegend(_0x37c1f2,_0x573b96){const _0x4d8ce9=a82_0x37c1;if(!_0x37c1f2||!_0x37c1f2[_0x4d8ce9(0x1e3)]||!_0x37c1f2[_0x4d8ce9(0x1f3)]||_0x37c1f2[_0x4d8ce9(0x1f3)][_0x4d8ce9(0x1ed)]==0x0||!_0x37c1f2['layerType'])return;if(_0x37c1f2['layerType']['indexOf'](_0x4d8ce9(0x1e2))>-0x1)return await getGeoServerLayerLegend(_0x37c1f2,_0x573b96);return;}export async function getGeoServerLayerLegend(_0x3a1415,_0x4f4247){const _0x383f09=a82_0x37c1;if(!_0x3a1415||!_0x3a1415[_0x383f09(0x1e3)]||!_0x3a1415[_0x383f09(0x1f3)]||_0x3a1415[_0x383f09(0x1f3)][_0x383f09(0x1ed)]==0x0)return;let _0x3d680d=_0x3a1415[_0x383f09(0x1e3)];const _0x4cd8ef=_0x3a1415['sublayers'];_0x3d680d=_0x3d680d[_0x383f09(0x1ea)]('gwc/service/wmts',_0x383f09(0x1d2));const _0x50f247=[];for(let _0x1e781c=0x0;_0x1e781c<_0x4cd8ef[_0x383f09(0x1ed)];_0x1e781c++){const _0x1d2835=_0x4cd8ef[_0x1e781c];let _0x2b1016=_0x383f09(0x1ef)+_0x1d2835+_0x383f09(0x1eb);const _0x5a6dd0=_0x3d680d['includes']('?')?_0x3d680d+'&'+_0x2b1016:_0x3d680d+'?'+_0x2b1016,_0x45c325=await a82_0x543c27[_0x383f09(0x1f2)](_0x5a6dd0);if(_0x45c325[_0x383f09(0x1da)]&&_0x45c325['data'][_0x383f09(0x1e5)]&&_0x45c325[_0x383f09(0x1da)][_0x383f09(0x1e5)]['length']>0x0)_0x50f247[_0x383f09(0x1dd)](_0x45c325['data'][_0x383f09(0x1e5)][0x0]);else{let _0x1e0ff4=_0x4f4247?_0x4f4247:0x10,_0x2fc584=_0x383f09(0x1ef)+_0x1d2835+_0x383f09(0x1dc)+_0x1e0ff4+_0x383f09(0x1d9)+_0x1e0ff4+_0x383f09(0x1d5);const _0x3031d1=_0x3d680d[_0x383f09(0x1e8)]('?')?_0x3d680d+'&'+_0x2fc584:_0x3d680d+'?'+_0x2fc584;_0x50f247[_0x383f09(0x1dd)]({'title':_0x3a1415[_0x383f09(0x1de)],'url':_0x3031d1});}}return _0x50f247;}