ym-gis-2d 1.0.23 → 1.0.25

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/LegendControl.js.map +1 -1
  5. package/controls/MousePositionControl.js +1 -1
  6. package/controls/SwipeLayerControl.js +1 -1
  7. package/conver/kml/geoJSONToKml.js +1 -1
  8. package/conver/kml/index.js +1 -1
  9. package/conver/kml/kmlToGeoJSON.js +1 -1
  10. package/entity/Feature.js +1 -1
  11. package/entity/GeometryType.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/Draw.js +1 -1
  15. package/interaction/InteractionManager.js +1 -1
  16. package/interaction/Select.js +1 -1
  17. package/layers/ArcgisDynamicLayer.js +1 -1
  18. package/layers/ArcgisFeatureLayer.js +1 -1
  19. package/layers/ArcgisTileLayer.js +1 -1
  20. package/layers/ArcgisWMSLayer.js +1 -1
  21. package/layers/ArcgisWMTSLayer.js +1 -1
  22. package/layers/GeoserverVectorTile.js +1 -1
  23. package/layers/GeoserverWFSLayer.js +1 -1
  24. package/layers/GeoserverWMSLayer.js +1 -1
  25. package/layers/GeoserverWMTSLayer.js +1 -1
  26. package/layers/LayerManager.js +1 -1
  27. package/layers/TDTLayer.js +1 -1
  28. package/mapView/Map.d.ts +2 -2
  29. package/mapView/Map.d.ts.map +1 -1
  30. package/mapView/Map.js +1 -1
  31. package/mapView/Map.js.map +1 -1
  32. package/mapView/View.js +1 -1
  33. package/package.json +1 -1
  34. package/plot/Plot.js +1 -1
  35. package/plot/geometry/point/Point.js +1 -1
  36. package/plot/geometry/polygon/BasePolygon.js +1 -1
  37. package/plot/geometry/polygon/Circle.js +1 -1
  38. package/plot/geometry/polygon/Polygon.js +1 -1
  39. package/plot/geometry/polygon/RectAngle.js +1 -1
  40. package/plot/geometry/polyline/BaseLine.js +1 -1
  41. package/plot/geometry/polyline/Polyline.js +1 -1
  42. package/style/PointStyleFormat.js +1 -1
  43. package/style/PolygonStyleFormat.js +1 -1
  44. package/style/PolylineStyleFormat.js +1 -1
  45. package/style/StyleManager.js +1 -1
  46. package/style/common.js +1 -1
  47. package/utils/ArrayUtil.js +1 -1
  48. package/utils/AxiosUtil.js +1 -1
  49. package/utils/EsriUtil.js +1 -1
  50. package/utils/GeometryUtil.js +1 -1
  51. package/utils/LayerUtil.js +1 -1
  52. package/utils/RegisterProjUtil.js +1 -1
  53. package/utils/ResolutionUtil.js +1 -1
  54. package/utils/StringUtil.js +1 -1
  55. package/utils/StyleUtil.js +1 -1
  56. package/utils/UrlUtil.js +1 -1
  57. package/utils/XmlUtil.js +1 -1
  58. package/utils/format/CQL.js +1 -1
  59. package/utils/format/IsMatchCql.js +1 -1
  60. package/utils/plug/canvas/ImageCache.js +1 -1
  61. package/utils/plug/canvas/PinBuilder.js +1 -1
  62. package/utils/plug/canvas/PinIcon.js +1 -1
  63. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  64. package/utils/tasks/esri/Identify.js +1 -1
  65. package/utils/tasks/esri/Query.js +1 -1
  66. package/utils/tasks/esri/Task.js +1 -1
  67. package/utils/tasks/geoserver/QueryTask.js +1 -1
  68. package/utils/tasks/index.js +1 -1
  69. package/ym-gis-2d.es.js +1 -1
  70. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- function a64_0x4fc6(){const _0x580558=['push','drawImage','translate','createElement','width','CENTER','fill','grid_lineThickness','outline','zIndex','moveTo','restore','stripe_repeat','fillType','setZIndex','872400QutSNn','getContext','7MXjgwQ','setRenderer','oddColor','outlineWidth','verticalOrigin','max','canvas','5OcDISg','context','9RrmXEU','lineWidth','opacity','height','checkerboard','closePath','save','outlineOpacity','checkerboard_repeat','setFill','globalAlpha','lineTo','repeat','image','color','862089cwWdua','length','label','48aAYFNM','grid_lineCount','20jselBs','831529OmPSZg','strokeStyle','show','billboard','8376907rFHCZJ','stripe','10066430BOOtdn','grid','13651280NprYQm','createPattern','stroke','setStroke','2740602oUOGyL','repeatX','fillStyle','beginPath','outlineColor','src','rgba(0,0,0,0.01)'];a64_0x4fc6=function(){return _0x580558;};return a64_0x4fc6();}(function(_0x308f91,_0x44550b){const _0x4a5673=a64_0x5f39,_0x37c679=_0x308f91();while(!![]){try{const _0x47e258=-parseInt(_0x4a5673(0x1d1))/0x1+parseInt(_0x4a5673(0x1f3))/0x2+parseInt(_0x4a5673(0x1cb))/0x3*(-parseInt(_0x4a5673(0x1d0))/0x4)+parseInt(_0x4a5673(0x1fc))/0x5*(parseInt(_0x4a5673(0x1dd))/0x6)+parseInt(_0x4a5673(0x1f5))/0x7*(-parseInt(_0x4a5673(0x1d9))/0x8)+parseInt(_0x4a5673(0x1fe))/0x9*(parseInt(_0x4a5673(0x1d7))/0xa)+parseInt(_0x4a5673(0x1d5))/0xb*(parseInt(_0x4a5673(0x1ce))/0xc);if(_0x47e258===_0x44550b)break;else _0x37c679['push'](_0x37c679['shift']());}catch(_0x5a87a0){_0x37c679['push'](_0x37c679['shift']());}}}(a64_0x4fc6,0xed0fc));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';function a64_0x5f39(_0x37ea55,_0x2f54c9){const _0x4fc6ff=a64_0x4fc6();return a64_0x5f39=function(_0x5f392d,_0x469810){_0x5f392d=_0x5f392d-0x1c4;let _0x423615=_0x4fc6ff[_0x5f392d];return _0x423615;},a64_0x5f39(_0x37ea55,_0x2f54c9);}import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x2433d6,_0x372924,_0x541c95,_0x80f140){const _0x57e35f=a64_0x5f39;var _0x568dd2;let _0x4b74aa=(_0x568dd2=_0x2433d6[_0x57e35f(0x1ed)])!==null&&_0x568dd2!==void 0x0?_0x568dd2:0x0,_0x3b4554=new Style();_0x3b4554[_0x57e35f(0x1f2)](_0x4b74aa),_0x3b4554[_0x57e35f(0x1c5)](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x2433d6['fill']!==![]){if(!_0x2433d6[_0x57e35f(0x1f1)]||_0x2433d6[_0x57e35f(0x1f1)]===_0x57e35f(0x1ca))_0x3b4554[_0x57e35f(0x1c5)](new Fill({'color':getColor(_0x2433d6[_0x57e35f(0x1ca)],_0x2433d6[_0x57e35f(0x200)])}));else{if(_0x2433d6[_0x57e35f(0x1f1)]===_0x57e35f(0x1c9))_0x3b4554[_0x57e35f(0x1f6)]((_0x476992,_0x5e1ecd)=>{preLoadImageRenderFunction(_0x2433d6,_0x476992,_0x5e1ecd,_0x80f140,_rendererFunction);});else _0x2433d6[_0x57e35f(0x1f1)]===_0x57e35f(0x1d8)||_0x2433d6[_0x57e35f(0x1f1)]===_0x57e35f(0x1d6)||_0x2433d6['fillType']===_0x57e35f(0x202)?_0x3b4554[_0x57e35f(0x1f6)]((_0x4e3060,_0x1b5742)=>{_rendererFunction(_0x2433d6,_0x4e3060,_0x1b5742,_0x80f140,null);}):_0x3b4554['setFill'](new Fill({'color':getColor(_0x2433d6[_0x57e35f(0x1ca)],_0x2433d6[_0x57e35f(0x200)])}));}}_0x2433d6[_0x57e35f(0x1ec)]!==![]&&_0x3b4554[_0x57e35f(0x1dc)](new Stroke({'color':getColor(_0x2433d6[_0x57e35f(0x1e1)],_0x2433d6[_0x57e35f(0x205)]),'width':_0x2433d6[_0x57e35f(0x1f8)]}));let _0x1b2ca7=[_0x3b4554];_0x2433d6[_0x57e35f(0x1d4)]&&!_0x2433d6[_0x57e35f(0x1d4)][_0x57e35f(0x1f9)]&&(_0x2433d6['billboard'][_0x57e35f(0x1f9)]=_0x57e35f(0x1e9));let _0x4f2833=getImageOlStyle(_0x2433d6[_0x57e35f(0x1d4)],_0x4b74aa,_0x541c95,_0x80f140);_0x4f2833&&_0x1b2ca7['push'](_0x4f2833);if(_0x2433d6[_0x57e35f(0x1cd)]&&_0x2433d6[_0x57e35f(0x1cd)][_0x57e35f(0x1d3)]!==![]){!_0x2433d6[_0x57e35f(0x1cd)][_0x57e35f(0x1f9)]&&(_0x2433d6[_0x57e35f(0x1cd)][_0x57e35f(0x1f9)]=_0x57e35f(0x1e9));let _0x588395=new Style({'text':createTextStyle(_0x2433d6[_0x57e35f(0x1cd)],_0x372924,_0x541c95,_0x80f140),'zIndex':Number(_0x4b74aa)+0x1});_0x1b2ca7[_0x57e35f(0x1e4)](_0x588395);}return _0x1b2ca7;}function _rendererFunction(_0x5ed279,_0x31e48b,_0x1ebd87,_0x278b66,_0x177195){const _0x236f47=a64_0x5f39;try{var _0x237212=_0x1ebd87[_0x236f47(0x1fd)];for(var _0x13beac=0x0,_0x9d7094=_0x31e48b[_0x236f47(0x1cc)];_0x13beac<_0x9d7094;_0x13beac++){_0x237212[_0x236f47(0x204)](),_0x237212[_0x236f47(0x1e0)]();var _0x37fb6f=_0x31e48b[_0x13beac];let _0x2dace5=boundingExtent(_0x37fb6f);_0x237212[_0x236f47(0x1e6)](_0x2dace5[0x0],_0x2dace5[0x1]);let _0x402946;switch(_0x5ed279['fillType']){case _0x236f47(0x1c9):_0x402946=_getImagePattern(_0x237212,_0x2dace5,_0x5ed279,_0x177195);break;case _0x236f47(0x1d8):_0x402946=_getGridPattern(_0x237212,_0x2dace5,_0x5ed279);break;case'stripe':_0x402946=_getStripePattern(_0x237212,_0x2dace5,_0x5ed279);break;case'checkerboard':_0x402946=_getCheckerBoardPattern(_0x237212,_0x2dace5,_0x5ed279);break;default:_0x402946=_0x236f47(0x1e3);break;}for(var _0x592ebf=0x0,_0x50fd21=_0x37fb6f[_0x236f47(0x1cc)];_0x592ebf<_0x50fd21;_0x592ebf++){var _0x45eaab=_0x37fb6f[_0x592ebf];_0x592ebf===0x0?_0x237212[_0x236f47(0x1ee)](_0x45eaab[0x0]-_0x2dace5[0x0],_0x45eaab[0x1]-_0x2dace5[0x1]):_0x237212['lineTo'](_0x45eaab[0x0]-_0x2dace5[0x0],_0x45eaab[0x1]-_0x2dace5[0x1]);}_0x237212[_0x236f47(0x203)](),_0x237212[_0x236f47(0x1df)]=_0x236f47(0x1e3),_0x237212[_0x236f47(0x1ea)](),_0x237212[_0x236f47(0x1df)]=_0x402946,_0x237212[_0x236f47(0x1ea)](),_0x5ed279['outline']?(_0x237212[_0x236f47(0x1d2)]=getColor(_0x5ed279[_0x236f47(0x1e1)],_0x5ed279[_0x236f47(0x205)]),_0x237212[_0x236f47(0x1ff)]=_0x5ed279[_0x236f47(0x1f8)]):_0x237212[_0x236f47(0x1d2)]='rgba(0,0,0,0.0)',_0x237212[_0x236f47(0x1db)](),_0x237212[_0x236f47(0x1ef)]();}}catch(_0x33bc7f){_0x237212['restore'](),console['warn'](_0x33bc7f);}}function _getImagePattern(_0x32bbcf,_0x5bf17b,_0x534c56,_0x4ed376){const _0x5a8820=a64_0x5f39;if(!_0x4ed376||_0x4ed376[_0x5a8820(0x1e8)]===0x0){let _0x44933f=new Image();_0x44933f[_0x5a8820(0x1e2)]=_0x534c56['image'];}var _0x36836d=getSize(_0x5bf17b);const _0x13b9db=document[_0x5a8820(0x1e7)]('canvas'),_0x2644f3=_0x13b9db[_0x5a8820(0x1f4)]('2d');return _0x13b9db[_0x5a8820(0x1e8)]=Math[_0x5a8820(0x1fa)](_0x36836d[0x0]/_0x534c56[_0x5a8820(0x1de)],0x1),_0x13b9db['height']=Math[_0x5a8820(0x1fa)](_0x36836d[0x1]/_0x534c56['repeatY'],0x1),_0x2644f3&&(_0x2644f3[_0x5a8820(0x1c6)]=_0x534c56[_0x5a8820(0x200)],_0x2644f3[_0x5a8820(0x1e5)](_0x4ed376,0x0,0x0,_0x13b9db[_0x5a8820(0x1e8)],_0x13b9db[_0x5a8820(0x201)])),_0x32bbcf[_0x5a8820(0x1da)](_0x13b9db,'repeat');}function _getGridPattern(_0x26c4f9,_0x68359e,_0x18fb61){const _0x4daaac=a64_0x5f39;var _0x3f44d6=getSize(_0x68359e);const _0x4ef760=document['createElement'](_0x4daaac(0x1fb)),_0x50b237=_0x4ef760[_0x4daaac(0x1f4)]('2d');return _0x4ef760[_0x4daaac(0x1e8)]=Math[_0x4daaac(0x1fa)](_0x3f44d6[0x0]/_0x18fb61['grid_lineCount'],0x1),_0x4ef760[_0x4daaac(0x201)]=Math[_0x4daaac(0x1fa)](_0x3f44d6[0x1]/_0x18fb61[_0x4daaac(0x1cf)],0x1),_0x50b237&&(_0x50b237[_0x4daaac(0x1d2)]=getColor(_0x18fb61[_0x4daaac(0x1ca)],_0x18fb61[_0x4daaac(0x200)]),_0x50b237[_0x4daaac(0x1ff)]=_0x18fb61[_0x4daaac(0x1eb)]*0x4,_0x50b237[_0x4daaac(0x1e0)](),_0x50b237[_0x4daaac(0x1ee)](0x0,_0x4ef760[_0x4daaac(0x201)]),_0x50b237[_0x4daaac(0x1c7)](_0x4ef760[_0x4daaac(0x1e8)],_0x4ef760[_0x4daaac(0x201)]),_0x50b237[_0x4daaac(0x1ee)](_0x4ef760[_0x4daaac(0x1e8)],0x0),_0x50b237['lineTo'](_0x4ef760[_0x4daaac(0x1e8)],_0x4ef760[_0x4daaac(0x201)]),_0x50b237['stroke']()),_0x26c4f9[_0x4daaac(0x1da)](_0x4ef760,_0x4daaac(0x1c8));}function _getStripePattern(_0x2e826a,_0x4ab2c7,_0xc03aa4){const _0x556878=a64_0x5f39;var _0x58b674=getSize(_0x4ab2c7);const _0x3c489d=document[_0x556878(0x1e7)](_0x556878(0x1fb)),_0x2565f7=_0x3c489d[_0x556878(0x1f4)]('2d');let _0x3ffcfd=Math['max'](_0x58b674[0x1]/_0xc03aa4[_0x556878(0x1f0)],0x1);return _0x3c489d[_0x556878(0x1e8)]=_0x58b674[0x0],_0x3c489d[_0x556878(0x201)]=_0x3ffcfd*0x2,_0x2565f7&&(_0x2565f7['beginPath'](),_0x2565f7[_0x556878(0x1ee)](0x0,0x0),_0x2565f7['lineTo'](_0x3c489d[_0x556878(0x1e8)],0x0),_0x2565f7[_0x556878(0x1c7)](_0x3c489d[_0x556878(0x1e8)],_0x3ffcfd),_0x2565f7[_0x556878(0x1c7)](0x0,_0x3ffcfd),_0x2565f7[_0x556878(0x203)](),_0x2565f7['fillStyle']=getColor(_0xc03aa4['stripe_oddcolor'],_0xc03aa4[_0x556878(0x200)]),_0x2565f7[_0x556878(0x1ea)](),_0x2565f7['beginPath'](),_0x2565f7[_0x556878(0x1ee)](0x0,_0x3ffcfd),_0x2565f7[_0x556878(0x1c7)](_0x3c489d[_0x556878(0x1e8)],_0x3ffcfd),_0x2565f7[_0x556878(0x1c7)](_0x3c489d[_0x556878(0x1e8)],_0x3ffcfd*0x2),_0x2565f7[_0x556878(0x1c7)](0x0,_0x3ffcfd*0x2),_0x2565f7[_0x556878(0x203)](),_0x2565f7[_0x556878(0x1df)]=getColor(_0xc03aa4[_0x556878(0x1ca)],_0xc03aa4['opacity']),_0x2565f7[_0x556878(0x1ea)]()),_0x2e826a[_0x556878(0x1da)](_0x3c489d,_0x556878(0x1c8));}function _getCheckerBoardPattern(_0x2a1681,_0x392824,_0x187a84){const _0xea4484=a64_0x5f39;var _0x1f8c72=getSize(_0x392824);const _0x1636c2=document[_0xea4484(0x1e7)]('canvas'),_0x501738=_0x1636c2['getContext']('2d');let _0x5edf0f=Math[_0xea4484(0x1fa)](_0x1f8c72[0x0]/_0x187a84[_0xea4484(0x1c4)],0x1),_0x1d4cea=Math['max'](_0x1f8c72[0x1]/_0x187a84[_0xea4484(0x1c4)],0x1);return _0x1636c2[_0xea4484(0x1e8)]=_0x5edf0f*0x2,_0x1636c2[_0xea4484(0x201)]=_0x1d4cea*0x2,_0x501738&&(_0x501738['beginPath'](),_0x501738['moveTo'](0x0,0x0),_0x501738[_0xea4484(0x1c7)](_0x5edf0f,0x0),_0x501738[_0xea4484(0x1c7)](_0x5edf0f,_0x1d4cea),_0x501738[_0xea4484(0x1c7)](0x0,_0x1d4cea),_0x501738[_0xea4484(0x203)](),_0x501738[_0xea4484(0x1df)]=getColor(_0x187a84[_0xea4484(0x1f7)],_0x187a84[_0xea4484(0x200)]),_0x501738['fill'](),_0x501738['beginPath'](),_0x501738['moveTo'](_0x5edf0f,0x0),_0x501738[_0xea4484(0x1c7)](_0x1636c2['width'],0x0),_0x501738[_0xea4484(0x1c7)](_0x1636c2[_0xea4484(0x1e8)],_0x1d4cea),_0x501738['lineTo'](_0x5edf0f,_0x1d4cea),_0x501738[_0xea4484(0x203)](),_0x501738['fillStyle']=getColor(_0x187a84[_0xea4484(0x1ca)],_0x187a84[_0xea4484(0x200)]),_0x501738[_0xea4484(0x1ea)](),_0x501738['beginPath'](),_0x501738['moveTo'](0x0,_0x1d4cea),_0x501738[_0xea4484(0x1c7)](_0x5edf0f,_0x1d4cea),_0x501738[_0xea4484(0x1c7)](_0x5edf0f,_0x1636c2[_0xea4484(0x201)]),_0x501738[_0xea4484(0x1c7)](0x0,_0x1636c2[_0xea4484(0x201)]),_0x501738[_0xea4484(0x203)](),_0x501738[_0xea4484(0x1df)]=getColor(_0x187a84[_0xea4484(0x1ca)],_0x187a84[_0xea4484(0x200)]),_0x501738[_0xea4484(0x1ea)](),_0x501738[_0xea4484(0x1e0)](),_0x501738[_0xea4484(0x1ee)](_0x5edf0f,_0x1d4cea),_0x501738[_0xea4484(0x1c7)](_0x1636c2[_0xea4484(0x1e8)],_0x1d4cea),_0x501738[_0xea4484(0x1c7)](_0x1636c2[_0xea4484(0x1e8)],_0x1636c2[_0xea4484(0x201)]),_0x501738['lineTo'](_0x5edf0f,_0x1636c2['height']),_0x501738[_0xea4484(0x203)](),_0x501738[_0xea4484(0x1df)]=getColor(_0x187a84[_0xea4484(0x1f7)],_0x187a84[_0xea4484(0x200)]),_0x501738[_0xea4484(0x1ea)]()),_0x2a1681[_0xea4484(0x1da)](_0x1636c2,'repeat');}
1
+ (function(_0x509465,_0x1b7c05){const _0x26d858=a64_0x17bc,_0x2bf708=_0x509465();while(!![]){try{const _0x496a75=-parseInt(_0x26d858(0x207))/0x1*(-parseInt(_0x26d858(0x208))/0x2)+-parseInt(_0x26d858(0x212))/0x3*(-parseInt(_0x26d858(0x1ee))/0x4)+parseInt(_0x26d858(0x1dc))/0x5+-parseInt(_0x26d858(0x1f2))/0x6*(-parseInt(_0x26d858(0x20e))/0x7)+-parseInt(_0x26d858(0x1f1))/0x8+parseInt(_0x26d858(0x1da))/0x9*(parseInt(_0x26d858(0x20a))/0xa)+parseInt(_0x26d858(0x1f3))/0xb*(-parseInt(_0x26d858(0x206))/0xc);if(_0x496a75===_0x1b7c05)break;else _0x2bf708['push'](_0x2bf708['shift']());}catch(_0x5c4ca2){_0x2bf708['push'](_0x2bf708['shift']());}}}(a64_0x497c,0x2d1ec));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x412e1e,_0x192c86,_0x39fa1c,_0x9a53cc){const _0x29ff1a=a64_0x17bc;var _0x497700;let _0x1dc488=(_0x497700=_0x412e1e['zIndex'])!==null&&_0x497700!==void 0x0?_0x497700:0x0,_0x17c691=new Style();_0x17c691[_0x29ff1a(0x1e3)](_0x1dc488),_0x17c691[_0x29ff1a(0x210)](new Fill({'color':_0x29ff1a(0x1e0)}));if(_0x412e1e['fill']!==![]){if(!_0x412e1e[_0x29ff1a(0x1ed)]||_0x412e1e[_0x29ff1a(0x1ed)]===_0x29ff1a(0x1f7))_0x17c691[_0x29ff1a(0x210)](new Fill({'color':getColor(_0x412e1e[_0x29ff1a(0x1f7)],_0x412e1e[_0x29ff1a(0x1e2)])}));else{if(_0x412e1e[_0x29ff1a(0x1ed)]===_0x29ff1a(0x1de))_0x17c691[_0x29ff1a(0x1ec)]((_0x14868d,_0x542b88)=>{preLoadImageRenderFunction(_0x412e1e,_0x14868d,_0x542b88,_0x9a53cc,_rendererFunction);});else _0x412e1e[_0x29ff1a(0x1ed)]===_0x29ff1a(0x1f6)||_0x412e1e['fillType']===_0x29ff1a(0x20d)||_0x412e1e[_0x29ff1a(0x1ed)]==='checkerboard'?_0x17c691[_0x29ff1a(0x1ec)]((_0x29b482,_0x2196d2)=>{_rendererFunction(_0x412e1e,_0x29b482,_0x2196d2,_0x9a53cc,null);}):_0x17c691[_0x29ff1a(0x210)](new Fill({'color':getColor(_0x412e1e['color'],_0x412e1e[_0x29ff1a(0x1e2)])}));}}_0x412e1e[_0x29ff1a(0x204)]!==![]&&_0x17c691[_0x29ff1a(0x1f0)](new Stroke({'color':getColor(_0x412e1e[_0x29ff1a(0x1fb)],_0x412e1e['outlineOpacity']),'width':_0x412e1e[_0x29ff1a(0x1e9)]}));let _0x2d5ade=[_0x17c691];_0x412e1e[_0x29ff1a(0x1ea)]&&!_0x412e1e[_0x29ff1a(0x1ea)][_0x29ff1a(0x20b)]&&(_0x412e1e[_0x29ff1a(0x1ea)][_0x29ff1a(0x20b)]=_0x29ff1a(0x1fc));let _0x4e44da=getImageOlStyle(_0x412e1e[_0x29ff1a(0x1ea)],_0x1dc488,_0x39fa1c,_0x9a53cc);_0x4e44da&&_0x2d5ade[_0x29ff1a(0x1d9)](_0x4e44da);if(_0x412e1e['label']&&_0x412e1e['label'][_0x29ff1a(0x1f4)]!==![]){!_0x412e1e[_0x29ff1a(0x201)][_0x29ff1a(0x20b)]&&(_0x412e1e['label'][_0x29ff1a(0x20b)]=_0x29ff1a(0x1fc));let _0x50019e=new Style({'text':createTextStyle(_0x412e1e[_0x29ff1a(0x201)],_0x192c86,_0x39fa1c,_0x9a53cc),'zIndex':Number(_0x1dc488)+0x1});_0x2d5ade['push'](_0x50019e);}return _0x2d5ade;}function _rendererFunction(_0x56964e,_0x17a230,_0x120e5b,_0x45ab5a,_0x35f18e){const _0x5177d0=a64_0x17bc;try{var _0x1ea915=_0x120e5b['context'];for(var _0xd32f25=0x0,_0x1c4f8d=_0x17a230['length'];_0xd32f25<_0x1c4f8d;_0xd32f25++){_0x1ea915['save'](),_0x1ea915[_0x5177d0(0x1e1)]();var _0x5b455a=_0x17a230[_0xd32f25];let _0x52759b=boundingExtent(_0x5b455a);_0x1ea915[_0x5177d0(0x203)](_0x52759b[0x0],_0x52759b[0x1]);let _0x18ff0e;switch(_0x56964e[_0x5177d0(0x1ed)]){case _0x5177d0(0x1de):_0x18ff0e=_getImagePattern(_0x1ea915,_0x52759b,_0x56964e,_0x35f18e);break;case _0x5177d0(0x1f6):_0x18ff0e=_getGridPattern(_0x1ea915,_0x52759b,_0x56964e);break;case _0x5177d0(0x20d):_0x18ff0e=_getStripePattern(_0x1ea915,_0x52759b,_0x56964e);break;case'checkerboard':_0x18ff0e=_getCheckerBoardPattern(_0x1ea915,_0x52759b,_0x56964e);break;default:_0x18ff0e=_0x5177d0(0x1f8);break;}for(var _0x269482=0x0,_0x1ef927=_0x5b455a['length'];_0x269482<_0x1ef927;_0x269482++){var _0x536273=_0x5b455a[_0x269482];_0x269482===0x0?_0x1ea915[_0x5177d0(0x1dd)](_0x536273[0x0]-_0x52759b[0x0],_0x536273[0x1]-_0x52759b[0x1]):_0x1ea915[_0x5177d0(0x1fa)](_0x536273[0x0]-_0x52759b[0x0],_0x536273[0x1]-_0x52759b[0x1]);}_0x1ea915[_0x5177d0(0x1f9)](),_0x1ea915[_0x5177d0(0x1e8)]=_0x5177d0(0x1f8),_0x1ea915[_0x5177d0(0x1db)](),_0x1ea915[_0x5177d0(0x1e8)]=_0x18ff0e,_0x1ea915['fill'](),_0x56964e[_0x5177d0(0x204)]?(_0x1ea915[_0x5177d0(0x205)]=getColor(_0x56964e[_0x5177d0(0x1fb)],_0x56964e['outlineOpacity']),_0x1ea915[_0x5177d0(0x1eb)]=_0x56964e[_0x5177d0(0x1e9)]):_0x1ea915[_0x5177d0(0x205)]='rgba(0,0,0,0.0)',_0x1ea915[_0x5177d0(0x1e5)](),_0x1ea915[_0x5177d0(0x1fe)]();}}catch(_0x11acb6){_0x1ea915[_0x5177d0(0x1fe)](),console[_0x5177d0(0x1ff)](_0x11acb6);}}function a64_0x497c(){const _0xd08a89=['lineWidth','setRenderer','fillType','4vgxYtD','repeat','setStroke','458792QBNIEK','1489062CZoWmt','429FtSsvN','show','grid_lineCount','grid','color','rgba(0,0,0,0.01)','closePath','lineTo','outlineColor','CENTER','getContext','restore','warn','oddColor','label','max','translate','outline','strokeStyle','177984oGCKYz','5053aqXojm','14vZVFwV','createPattern','163890YZrxyt','verticalOrigin','createElement','stripe','7oaFWeA','canvas','setFill','height','624387cGuKjY','drawImage','src','checkerboard_repeat','stripe_repeat','push','18ICUYRS','fill','1480770IUifUg','moveTo','image','globalAlpha','rgba(0,0,0,0)','beginPath','opacity','setZIndex','width','stroke','stripe_oddcolor','repeatY','fillStyle','outlineWidth','billboard'];a64_0x497c=function(){return _0xd08a89;};return a64_0x497c();}function _getImagePattern(_0x873f93,_0xb31249,_0x1008c0,_0x5bb3a5){const _0xbb7097=a64_0x17bc;if(!_0x5bb3a5||_0x5bb3a5[_0xbb7097(0x1e4)]===0x0){let _0x3dc89f=new Image();_0x3dc89f[_0xbb7097(0x1d6)]=_0x1008c0['image'];}var _0x4c95f6=getSize(_0xb31249);const _0x3a5262=document['createElement'](_0xbb7097(0x20f)),_0x249ce8=_0x3a5262['getContext']('2d');return _0x3a5262['width']=Math[_0xbb7097(0x202)](_0x4c95f6[0x0]/_0x1008c0['repeatX'],0x1),_0x3a5262[_0xbb7097(0x211)]=Math[_0xbb7097(0x202)](_0x4c95f6[0x1]/_0x1008c0[_0xbb7097(0x1e7)],0x1),_0x249ce8&&(_0x249ce8[_0xbb7097(0x1df)]=_0x1008c0[_0xbb7097(0x1e2)],_0x249ce8[_0xbb7097(0x1d5)](_0x5bb3a5,0x0,0x0,_0x3a5262[_0xbb7097(0x1e4)],_0x3a5262['height'])),_0x873f93['createPattern'](_0x3a5262,'repeat');}function _getGridPattern(_0x48047e,_0x23dd17,_0x26a04a){const _0x2af51b=a64_0x17bc;var _0x36e50b=getSize(_0x23dd17);const _0x1a6751=document[_0x2af51b(0x20c)](_0x2af51b(0x20f)),_0x3542cd=_0x1a6751[_0x2af51b(0x1fd)]('2d');return _0x1a6751[_0x2af51b(0x1e4)]=Math[_0x2af51b(0x202)](_0x36e50b[0x0]/_0x26a04a['grid_lineCount'],0x1),_0x1a6751[_0x2af51b(0x211)]=Math[_0x2af51b(0x202)](_0x36e50b[0x1]/_0x26a04a[_0x2af51b(0x1f5)],0x1),_0x3542cd&&(_0x3542cd[_0x2af51b(0x205)]=getColor(_0x26a04a[_0x2af51b(0x1f7)],_0x26a04a[_0x2af51b(0x1e2)]),_0x3542cd['lineWidth']=_0x26a04a['grid_lineThickness']*0x4,_0x3542cd[_0x2af51b(0x1e1)](),_0x3542cd[_0x2af51b(0x1dd)](0x0,_0x1a6751[_0x2af51b(0x211)]),_0x3542cd[_0x2af51b(0x1fa)](_0x1a6751[_0x2af51b(0x1e4)],_0x1a6751[_0x2af51b(0x211)]),_0x3542cd['moveTo'](_0x1a6751[_0x2af51b(0x1e4)],0x0),_0x3542cd[_0x2af51b(0x1fa)](_0x1a6751[_0x2af51b(0x1e4)],_0x1a6751['height']),_0x3542cd['stroke']()),_0x48047e[_0x2af51b(0x209)](_0x1a6751,'repeat');}function a64_0x17bc(_0x29d793,_0x51498a){const _0x497c1d=a64_0x497c();return a64_0x17bc=function(_0x17bc2f,_0x55f183){_0x17bc2f=_0x17bc2f-0x1d5;let _0x80667d=_0x497c1d[_0x17bc2f];return _0x80667d;},a64_0x17bc(_0x29d793,_0x51498a);}function _getStripePattern(_0x2b8dfb,_0x13a632,_0x17a06f){const _0x501abc=a64_0x17bc;var _0x529f2a=getSize(_0x13a632);const _0x34f7eb=document['createElement']('canvas'),_0x16a7fb=_0x34f7eb[_0x501abc(0x1fd)]('2d');let _0x5b87d2=Math['max'](_0x529f2a[0x1]/_0x17a06f[_0x501abc(0x1d8)],0x1);return _0x34f7eb[_0x501abc(0x1e4)]=_0x529f2a[0x0],_0x34f7eb[_0x501abc(0x211)]=_0x5b87d2*0x2,_0x16a7fb&&(_0x16a7fb[_0x501abc(0x1e1)](),_0x16a7fb[_0x501abc(0x1dd)](0x0,0x0),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],0x0),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],_0x5b87d2),_0x16a7fb[_0x501abc(0x1fa)](0x0,_0x5b87d2),_0x16a7fb[_0x501abc(0x1f9)](),_0x16a7fb['fillStyle']=getColor(_0x17a06f[_0x501abc(0x1e6)],_0x17a06f[_0x501abc(0x1e2)]),_0x16a7fb[_0x501abc(0x1db)](),_0x16a7fb[_0x501abc(0x1e1)](),_0x16a7fb[_0x501abc(0x1dd)](0x0,_0x5b87d2),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],_0x5b87d2),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],_0x5b87d2*0x2),_0x16a7fb[_0x501abc(0x1fa)](0x0,_0x5b87d2*0x2),_0x16a7fb[_0x501abc(0x1f9)](),_0x16a7fb['fillStyle']=getColor(_0x17a06f[_0x501abc(0x1f7)],_0x17a06f[_0x501abc(0x1e2)]),_0x16a7fb[_0x501abc(0x1db)]()),_0x2b8dfb[_0x501abc(0x209)](_0x34f7eb,_0x501abc(0x1ef));}function _getCheckerBoardPattern(_0x3bca04,_0x31ef91,_0x593e13){const _0x45f4a1=a64_0x17bc;var _0x5dc433=getSize(_0x31ef91);const _0x390fd1=document['createElement'](_0x45f4a1(0x20f)),_0x50a07e=_0x390fd1['getContext']('2d');let _0x50579f=Math[_0x45f4a1(0x202)](_0x5dc433[0x0]/_0x593e13[_0x45f4a1(0x1d7)],0x1),_0x100b7e=Math[_0x45f4a1(0x202)](_0x5dc433[0x1]/_0x593e13[_0x45f4a1(0x1d7)],0x1);return _0x390fd1['width']=_0x50579f*0x2,_0x390fd1[_0x45f4a1(0x211)]=_0x100b7e*0x2,_0x50a07e&&(_0x50a07e[_0x45f4a1(0x1e1)](),_0x50a07e[_0x45f4a1(0x1dd)](0x0,0x0),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,0x0),_0x50a07e['lineTo'](_0x50579f,_0x100b7e),_0x50a07e['lineTo'](0x0,_0x100b7e),_0x50a07e['closePath'](),_0x50a07e['fillStyle']=getColor(_0x593e13[_0x45f4a1(0x200)],_0x593e13['opacity']),_0x50a07e['fill'](),_0x50a07e[_0x45f4a1(0x1e1)](),_0x50a07e[_0x45f4a1(0x1dd)](_0x50579f,0x0),_0x50a07e['lineTo'](_0x390fd1[_0x45f4a1(0x1e4)],0x0),_0x50a07e['lineTo'](_0x390fd1[_0x45f4a1(0x1e4)],_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,_0x100b7e),_0x50a07e['closePath'](),_0x50a07e[_0x45f4a1(0x1e8)]=getColor(_0x593e13['color'],_0x593e13['opacity']),_0x50a07e[_0x45f4a1(0x1db)](),_0x50a07e['beginPath'](),_0x50a07e['moveTo'](0x0,_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e['lineTo'](0x0,_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e[_0x45f4a1(0x1f9)](),_0x50a07e[_0x45f4a1(0x1e8)]=getColor(_0x593e13[_0x45f4a1(0x1f7)],_0x593e13[_0x45f4a1(0x1e2)]),_0x50a07e[_0x45f4a1(0x1db)](),_0x50a07e[_0x45f4a1(0x1e1)](),_0x50a07e[_0x45f4a1(0x1dd)](_0x50579f,_0x100b7e),_0x50a07e['lineTo'](_0x390fd1[_0x45f4a1(0x1e4)],_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x390fd1[_0x45f4a1(0x1e4)],_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e['lineTo'](_0x50579f,_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e[_0x45f4a1(0x1f9)](),_0x50a07e[_0x45f4a1(0x1e8)]=getColor(_0x593e13[_0x45f4a1(0x200)],_0x593e13['opacity']),_0x50a07e[_0x45f4a1(0x1db)]()),_0x3bca04[_0x45f4a1(0x209)](_0x390fd1,'repeat');}
@@ -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(_0x1b7af6,_0x1ed0cf){const _0x3783f7=a65_0xd48d,_0x58a5e3=_0x1b7af6();while(!![]){try{const _0x1be4a2=-parseInt(_0x3783f7(0x102))/0x1+parseInt(_0x3783f7(0x103))/0x2*(parseInt(_0x3783f7(0xfb))/0x3)+-parseInt(_0x3783f7(0xe3))/0x4+-parseInt(_0x3783f7(0xe9))/0x5*(-parseInt(_0x3783f7(0x104))/0x6)+-parseInt(_0x3783f7(0xfa))/0x7+-parseInt(_0x3783f7(0xdf))/0x8+parseInt(_0x3783f7(0xdb))/0x9*(parseInt(_0x3783f7(0xe4))/0xa);if(_0x1be4a2===_0x1ed0cf)break;else _0x58a5e3['push'](_0x58a5e3['shift']());}catch(_0x34f6f3){_0x58a5e3['push'](_0x58a5e3['shift']());}}}(a65_0x1854,0x403c7));function a65_0xd48d(_0x32efac,_0x413969){const _0x18540c=a65_0x1854();return a65_0xd48d=function(_0xd48db0,_0x667d64){_0xd48db0=_0xd48db0-0xd6;let _0x32a992=_0x18540c[_0xd48db0];return _0x32a992;},a65_0xd48d(_0x32efac,_0x413969);}import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';function a65_0x1854(){const _0x58b8fb=['opacity','setRenderer','dash','sin','push','strokeStyle','length','getGeometry','context','glow','color','6660QrxaUt','zIndex','glowPower','stroke','4027712BxZsoD','sqrt','shadowColor','beginPath','1892764wsnagI','17130NDBtib','lineWidth','MultiLineString','getFlatMidpoints','label','2975uOEXZq','outline','moveTo','getCoordinates','concat','arrow','save','width','pow','outlineColor','shadowBlur','lineCap','closed','restore','getFlatMidpoint','lineType','toString','2268511EHBpgo','2913WSFWtW','white','getType','setGeometry','lineTo','butt','cos','265301zHkyLv','860HaMUcY','1452rwMWYJ','LineString','billboard','outlineWidth'];a65_0x1854=function(){return _0x58b8fb;};return a65_0x1854();}import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x4faeba,_0x1d9dc5,_0x3feccf,_0x1add34){const _0x1d5a24=a65_0xd48d;var _0x39f171,_0x1ece1c,_0x44efc4;let _0x77dd4=(_0x39f171=_0x4faeba[_0x1d5a24(0xdc)])!==null&&_0x39f171!==void 0x0?_0x39f171:0x0;const _0x2ebd65=_0x1d8225=>{var _0x14178c=_0x1d8225['getGeometry']();if(_0x14178c)return _getRealPolyline(_0x14178c,_0x4faeba);return _0x14178c;},_0xe53a0c=_0x4baf77=>{const _0x3a9f17=_0x1d5a24;var _0x1da252=_0x4baf77[_0x3a9f17(0xd7)]();let _0x2cde93=_0x1da252;_0x1da252&&(_0x2cde93=_getRealPolyline(_0x1da252,_0x4faeba));if(_0x2cde93&&_0x2cde93[_0x3a9f17(0xfd)]()===_0x3a9f17(0x105))return new Point(_0x2cde93[_0x3a9f17(0xf7)]());else{let _0x2f640d=_0x2cde93[_0x3a9f17(0xe7)](),_0x5cfc20=0x2,_0x2c2e7a=[];for(let _0x2b1db3=0x0,_0xe5ec25=_0x2f640d[_0x3a9f17(0xd6)];_0x2b1db3<_0xe5ec25;_0x2b1db3+=_0x5cfc20){let _0x32b3b8=[_0x2f640d[_0x2b1db3],_0x2f640d[_0x2b1db3+0x1]];_0x2c2e7a['push'](_0x32b3b8);}return new MultiPoint(_0x2c2e7a);}};let _0x468007=new Style({'geometry':_0x2ebd65,'stroke':new Stroke({'color':getColor(_0x4faeba[_0x1d5a24(0xda)],_0x4faeba[_0x1d5a24(0x108)]),'width':_0x4faeba[_0x1d5a24(0xf0)]}),'zIndex':_0x77dd4}),_0x9e58ad=[_0x468007];if(_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0x10a)){let _0x16dc1d=_0x4faeba[_0x1d5a24(0x107)]/0x2,_0x4d0f3e=new Style({'geometry':_0x2ebd65,'zIndex':_0x77dd4,'stroke':new Stroke({'color':getColor(_0x4faeba['color'],_0x4faeba['opacity']),'width':_0x4faeba[_0x1d5a24(0xf0)],'lineCap':_0x1d5a24(0x100),'lineDash':[_0x16dc1d,_0x16dc1d]})}),_0x1afe1a=new Style({'geometry':_0x2ebd65,'zIndex':_0x77dd4+0.5,'stroke':new Stroke({'color':getColor(_0x4faeba[_0x1d5a24(0xf2)],Number((_0x44efc4=(_0x1ece1c=_0x4faeba['outlineOpacity'])!==null&&_0x1ece1c!==void 0x0?_0x1ece1c:_0x4faeba[_0x1d5a24(0x108)])!==null&&_0x44efc4!==void 0x0?_0x44efc4:0x1)),'width':_0x4faeba[_0x1d5a24(0xf0)],'lineCap':_0x1d5a24(0x100),'lineDash':[_0x16dc1d,_0x16dc1d],'lineDashOffset':_0x16dc1d})});_0x9e58ad=[_0x4d0f3e,_0x1afe1a];}_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0xee)&&_0x468007[_0x1d5a24(0x109)]((_0x4b6749,_0x3aeccd)=>{const _0x53d019=_0x1d5a24;let _0x142aa7=_0x3aeccd['context'],_0x3a0ca1=parseInt((_0x4faeba[_0x53d019(0xf0)]/0x4)[_0x53d019(0xf9)]()),_0x9d505e=0xa,_0x5bb4fe=Math[_0x53d019(0xe0)](Math[_0x53d019(0xf1)](_0x9d505e,0x2)+Math[_0x53d019(0xf1)](_0x4faeba['width']/0x2,0x2)),_0x2a1b15=0x2d,_0x3b6f65=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x2][0x0],_0x42fece=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x2][0x1],_0x246224=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x1][0x0],_0x38dbe3=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x1][0x1],_0x5339b=Math['atan2'](_0x42fece-_0x38dbe3,_0x3b6f65-_0x246224)*0xb4/Math['PI'],_0x5ac870=(_0x5339b+_0x2a1b15)*Math['PI']/0xb4,_0x2540c3=(_0x5339b-_0x2a1b15)*Math['PI']/0xb4,_0x4af88a=_0x5bb4fe*Math['cos'](_0x5ac870),_0x4fd70f=_0x5bb4fe*Math[_0x53d019(0x10b)](_0x5ac870),_0x59c7d1=_0x5bb4fe*Math[_0x53d019(0x101)](_0x2540c3),_0x4f7abd=_0x5bb4fe*Math[_0x53d019(0x10b)](_0x2540c3);_0x142aa7[_0x53d019(0xef)](),_0x142aa7[_0x53d019(0xe2)]();let _0x3eb326,_0x226f39;for(let _0x5eb4a2=0x0;_0x5eb4a2<_0x4b6749[_0x53d019(0xd6)];_0x5eb4a2++){_0x5eb4a2===0x0?_0x142aa7['moveTo'](_0x4b6749[_0x5eb4a2][0x0],_0x4b6749[_0x5eb4a2][0x1]):_0x142aa7['lineTo'](_0x4b6749[_0x5eb4a2][0x0],_0x4b6749[_0x5eb4a2][0x1]);}_0x142aa7[_0x53d019(0x10d)]=getColor(_0x4faeba[_0x53d019(0xda)],_0x4faeba[_0x53d019(0x108)]),_0x142aa7['lineWidth']=_0x3a0ca1,_0x142aa7[_0x53d019(0xf4)]=_0x53d019(0x100),_0x142aa7[_0x53d019(0xde)](),_0x3eb326=_0x246224+_0x4af88a,_0x226f39=_0x38dbe3+_0x4fd70f,_0x142aa7[_0x53d019(0xeb)](_0x3eb326,_0x226f39),_0x142aa7[_0x53d019(0xff)](_0x246224,_0x38dbe3),_0x3eb326=_0x246224+_0x59c7d1,_0x226f39=_0x38dbe3+_0x4f7abd,_0x142aa7[_0x53d019(0xff)](_0x3eb326,_0x226f39),_0x142aa7['lineCap']=_0x53d019(0x100),_0x142aa7['stroke'](),_0x142aa7['restore']();});_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0xd9)&&_0x468007['setRenderer']((_0xee561f,_0x5800cc)=>{const _0x6ae5e4=_0x1d5a24;let _0x3c3ba8=_0x5800cc[_0x6ae5e4(0xd8)];_0x3c3ba8['save']();for(let _0x23dda8=0x0;_0x23dda8<0x4;_0x23dda8++){let _0x10370d=_0x4faeba[_0x6ae5e4(0xf0)]/0xa*(_0x4faeba[_0x6ae5e4(0xdd)]===0x0?0x1:_0x4faeba[_0x6ae5e4(0xdd)]);_0x3c3ba8[_0x6ae5e4(0xe1)]=getColor(_0x4faeba['color'],_0x4faeba[_0x6ae5e4(0x108)]),_0x3c3ba8[_0x6ae5e4(0xf3)]=_0x4faeba['width']/0x5*0x2,_0x3c3ba8[_0x6ae5e4(0xe2)]();for(let _0x551eef=0x0;_0x551eef<_0xee561f[_0x6ae5e4(0xd6)];_0x551eef++){_0x551eef===0x0?_0x3c3ba8[_0x6ae5e4(0xeb)](_0xee561f[_0x551eef][0x0],_0xee561f[_0x551eef][0x1]):_0x3c3ba8[_0x6ae5e4(0xff)](_0xee561f[_0x551eef][0x0],_0xee561f[_0x551eef][0x1]);}_0x3c3ba8['lineCap']=_0x6ae5e4(0x100),_0x3c3ba8[_0x6ae5e4(0xe5)]=_0x10370d,_0x3c3ba8[_0x6ae5e4(0x10d)]=getColor(_0x6ae5e4(0xfc),_0x4faeba[_0x6ae5e4(0x108)]),_0x3c3ba8['stroke']();}_0x3c3ba8[_0x6ae5e4(0xf6)]();});_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0xea)&&_0x468007[_0x1d5a24(0x109)]((_0x4c93d4,_0x2654de)=>{const _0x5eeb87=_0x1d5a24;let _0xaff386=_0x2654de[_0x5eeb87(0xd8)];_0xaff386['save'](),_0xaff386[_0x5eeb87(0xe2)]();for(let _0x41290d=0x0;_0x41290d<_0x4c93d4[_0x5eeb87(0xd6)];_0x41290d++){_0x41290d===0x0?_0xaff386[_0x5eeb87(0xeb)](_0x4c93d4[_0x41290d][0x0],_0x4c93d4[_0x41290d][0x1]):_0xaff386[_0x5eeb87(0xff)](_0x4c93d4[_0x41290d][0x0],_0x4c93d4[_0x41290d][0x1]);}_0xaff386[_0x5eeb87(0xf4)]='butt',_0xaff386['lineWidth']=_0x4faeba[_0x5eeb87(0xf0)],_0xaff386[_0x5eeb87(0x10d)]=getColor(_0x4faeba[_0x5eeb87(0xf2)],_0x4faeba[_0x5eeb87(0x108)]),_0xaff386['stroke'](),_0xaff386[_0x5eeb87(0xe2)]();for(let _0x5ac459=0x0;_0x5ac459<_0x4c93d4[_0x5eeb87(0xd6)];_0x5ac459++){_0x5ac459===0x0?_0xaff386['moveTo'](_0x4c93d4[_0x5ac459][0x0],_0x4c93d4[_0x5ac459][0x1]):_0xaff386[_0x5eeb87(0xff)](_0x4c93d4[_0x5ac459][0x0],_0x4c93d4[_0x5ac459][0x1]);}_0xaff386[_0x5eeb87(0xf4)]=_0x5eeb87(0x100),_0x4faeba[_0x5eeb87(0x107)]>=_0x4faeba[_0x5eeb87(0xf0)]&&(_0x4faeba[_0x5eeb87(0x107)]=_0x4faeba[_0x5eeb87(0xf0)]-0x1),_0xaff386[_0x5eeb87(0xe5)]=_0x4faeba[_0x5eeb87(0xf0)]-_0x4faeba[_0x5eeb87(0x107)],_0xaff386[_0x5eeb87(0x10d)]=getColor(_0x4faeba['color'],_0x4faeba[_0x5eeb87(0x108)]),_0xaff386[_0x5eeb87(0xde)](),_0xaff386[_0x5eeb87(0xf6)]();});let _0x26a6cc=getImageOlStyle(_0x4faeba[_0x1d5a24(0x106)],_0x77dd4,_0x3feccf,_0x1add34);_0x26a6cc&&(_0x26a6cc[_0x1d5a24(0xfe)](_0xe53a0c),_0x9e58ad[_0x1d5a24(0x10c)](_0x26a6cc));if(_0x4faeba[_0x1d5a24(0xe8)]&&_0x4faeba[_0x1d5a24(0xe8)]['show']!==![]){let _0x12e6d0=new Style({'geometry':_0xe53a0c,'text':createTextStyle(_0x4faeba[_0x1d5a24(0xe8)],_0x1d9dc5,_0x3feccf,_0x1add34),'zIndex':Number(_0x77dd4)+0x1});_0x9e58ad['push'](_0x12e6d0);}return _0x9e58ad;}function _getRealPolyline(_0x12f8db,_0x23f17d){const _0x42b20b=a65_0xd48d;if(!(_0x23f17d===null||_0x23f17d===void 0x0?void 0x0:_0x23f17d[_0x42b20b(0xf5)]))return _0x12f8db;else{if(_0x12f8db['getType']()===_0x42b20b(0xe6)){let _0x54dd3c=_0x12f8db[_0x42b20b(0xec)]();for(let _0x288cdd in _0x54dd3c){let _0x1b0e54=_0x54dd3c[_0x288cdd];_0x54dd3c[_0x288cdd]=_0x1b0e54[_0x42b20b(0xed)]([_0x1b0e54[0x0]]);}return new MultiLineString(_0x54dd3c);}else return new LineString(_0x12f8db[_0x42b20b(0xec)]()[_0x42b20b(0xed)]([_0x12f8db['getFirstCoordinate']()]));}}
@@ -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(_0x1c9506,_0x2fbb6c){const _0x118e44=a66_0x498d,_0x655ae1=_0x1c9506();while(!![]){try{const _0x2852a1=-parseInt(_0x118e44(0x13b))/0x1*(-parseInt(_0x118e44(0x136))/0x2)+-parseInt(_0x118e44(0x138))/0x3+parseInt(_0x118e44(0x146))/0x4+-parseInt(_0x118e44(0x14c))/0x5+-parseInt(_0x118e44(0x149))/0x6+parseInt(_0x118e44(0x13c))/0x7+-parseInt(_0x118e44(0x140))/0x8*(-parseInt(_0x118e44(0x14a))/0x9);if(_0x2852a1===_0x2fbb6c)break;else _0x655ae1['push'](_0x655ae1['shift']());}catch(_0x1b6859){_0x655ae1['push'](_0x655ae1['shift']());}}}(a66_0x5bc3,0xead83));import a66_0x783332 from'ol/style/Circle';import a66_0x7cbc50 from'ol/style/Fill';function a66_0x498d(_0x431588,_0x201c18){const _0x5bc351=a66_0x5bc3();return a66_0x498d=function(_0x498dd7,_0x620ea5){_0x498dd7=_0x498dd7-0x136;let _0x277d90=_0x5bc351[_0x498dd7];return _0x277d90;},a66_0x498d(_0x431588,_0x201c18);}import a66_0x473ba1 from'ol/style/Stroke';function a66_0x5bc3(){const _0x21167f=['LineString','4604952Rifyuh','rgba(121,\x20243,\x20238,\x201)','text','6228738KCxJrc','6411789FVXvBL','rgba(121,\x20243,\x20238,\x200.3)','8339195yTHxbT','Polygon','1112xqhJOt','setFill','5298846ZrLsWx','rgba(0,\x20255,0,\x200)','MultiPoint','3259UeTrnq','2335634Myzohv','MultiPolygon','outlineOpacity','rgba(0,\x20255,0,\x201)','24ooeNhx','opacity','rgba(121,\x20243,\x20238,\x200)','outlineColor','setStroke'];a66_0x5bc3=function(){return _0x21167f;};return a66_0x5bc3();}import a66_0x1d6f9d from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x56d84c=a66_0x498d;return new a66_0x1d6f9d({'image':new a66_0x783332({'radius':0x5,'fill':new a66_0x7cbc50({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a66_0x473ba1({'color':_0x56d84c(0x147),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x9d8fc5=a66_0x498d;return new a66_0x1d6f9d({'image':new a66_0x783332({'radius':0x5,'fill':new a66_0x7cbc50({'color':_0x9d8fc5(0x142)}),'stroke':new a66_0x473ba1({'color':_0x9d8fc5(0x147),'width':0x1})})});}export function getSelectLineStyle(){return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2})});}export function getSelectCancelLineStyle(){return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':'rgba(0,\x20255,0,\x201)','width':0x2})});}export function getSelectPolygonStyle(){const _0x55e38a=a66_0x498d;return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':_0x55e38a(0x147),'width':0x2}),'fill':new a66_0x7cbc50({'color':_0x55e38a(0x14b)})});}export function getSelectCancelPolygonStyle(){const _0x3fd5f7=a66_0x498d;return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':_0x3fd5f7(0x13f),'width':0x2}),'fill':new a66_0x7cbc50({'color':_0x3fd5f7(0x139)})});}export function getStyle(_0x423151){const _0x455912=a66_0x498d;if(_0x423151){if(_0x423151[_0x455912(0x148)])return new a66_0x1d6f9d({'text':createTextStyle(_0x423151,_0x423151[_0x455912(0x148)]),'zIndex':0x1});else{const _0x3c95e7=new a66_0x1d6f9d();return _0x423151[_0x455912(0x143)]&&_0x3c95e7[_0x455912(0x144)](new a66_0x473ba1({'color':getColor(_0x423151[_0x455912(0x143)],_0x423151[_0x455912(0x13e)]),'width':_0x423151['outlineWidth']||0x1})),_0x423151['color']&&_0x3c95e7[_0x455912(0x137)](new a66_0x7cbc50({'color':getColor(_0x423151['fill'],_0x423151[_0x455912(0x141)])})),_0x3c95e7;}}return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a66_0x7cbc50({'color':_0x455912(0x14b)})});}export function getSelectStyle(_0x3fba2e){const _0x114eef=a66_0x498d;let _0x563832=getSelectPolygonStyle();switch(_0x3fba2e){case _0x114eef(0x13d):case _0x114eef(0x14d):_0x563832=getSelectPolygonStyle();break;case'MultiLineString':case _0x114eef(0x145):_0x563832=getSelectLineStyle();break;case _0x114eef(0x13a):case'Point':_0x563832=getSelectPointStyle();break;default:break;}return _0x563832;}
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(_0x23bef6,_0x3e682e){const _0x563f2b=a62_0x19e8,_0x181856=_0x23bef6();while(!![]){try{const _0x455a36=parseInt(_0x563f2b(0x18d))/0x1+-parseInt(_0x563f2b(0x199))/0x2*(-parseInt(_0x563f2b(0x19c))/0x3)+-parseInt(_0x563f2b(0x18c))/0x4+parseInt(_0x563f2b(0x184))/0x5*(-parseInt(_0x563f2b(0x190))/0x6)+parseInt(_0x563f2b(0x196))/0x7+parseInt(_0x563f2b(0x1a9))/0x8+parseInt(_0x563f2b(0x181))/0x9*(-parseInt(_0x563f2b(0x185))/0xa);if(_0x455a36===_0x3e682e)break;else _0x181856['push'](_0x181856['shift']());}catch(_0x1e3b34){_0x181856['push'](_0x181856['shift']());}}}(a62_0x9039,0xd89b0));import a62_0x482612 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0x3117e1 from'../utils/plug/canvas/PinIcon';import a62_0x59132f from'ol/ImageState';export function isShowStyle(_0x136d8d,_0x5d00d6,_0x2d6eae){const _0x4838e6=a62_0x19e8;let _0x462d9d=!![];if(_0x5d00d6==undefined||_0x2d6eae==undefined)return _0x462d9d;if(_0x136d8d&&typeof _0x136d8d[_0x4838e6(0x183)]!=undefined&&typeof _0x136d8d[_0x4838e6(0x1a8)]!=undefined){if(_0x136d8d['distanceDisplayFar']&&_0x2d6eae){_0x462d9d=![];let _0x457a7c=getLevel(_0x136d8d[_0x4838e6(0x183)]),_0x17f975=_0x2d6eae['getView']()['getResolutionForZoom'](_0x457a7c);_0x5d00d6<_0x17f975&&(_0x462d9d=!![]);}if(_0x462d9d&&_0x136d8d[_0x4838e6(0x1a8)]&&_0x2d6eae){_0x462d9d=![];let _0x150578=getLevel(_0x136d8d[_0x4838e6(0x1a8)]),_0x5e10e2=_0x2d6eae[_0x4838e6(0x1a4)]()[_0x4838e6(0x180)](_0x150578);_0x5d00d6>_0x5e10e2&&(_0x462d9d=!![]);}}return _0x462d9d;}export function getLevel(_0x350b18){const _0x2e71e0=a62_0x19e8,_0xf1c46a=3252.745,_0x179941=0.0009198301,_0x19fdd9=52977.61,_0x1f5fad=-3228.107;return _0x1f5fad+(_0xf1c46a-_0x1f5fad)/(0x1+Math[_0x2e71e0(0x186)](_0x350b18/_0x19fdd9,_0x179941));}export function toRadians(_0x515460){if(_0x515460)return-(_0x515460*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x1b3270,_0xd72b4b,_0x236f82,_0x372aa7){const _0x5f4d44=a62_0x19e8;if(_0x1b3270){let _0x1d8963=isShowStyle(_0x1b3270,_0x236f82,_0x372aa7);if(_0x1d8963===![])return undefined;else{const _0x1998b9=_0x1b3270['font'],_0x501e93=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x182)])?'italic':_0x5f4d44(0x19d),_0x426bc9=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9['weight'])?'bold':_0x5f4d44(0x19d),_0x56e5be=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x188)])||'25',_0x320222=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9['family'])||'楷体';let _0x2c9813=_0x501e93+_0x5f4d44(0x1a3)+_0x426bc9+'\x20'+_0x56e5be+_0x5f4d44(0x1aa)+_0x320222,_0x33fd00=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x198)])||0x0,_0x8fcdd4=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x1a5)])||0x0,_0x3c7da6=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x19a)])||_0x5f4d44(0x1a7),_0xa092f3=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x195)])||'center';const _0x3d99b4=_0x1b3270[_0x5f4d44(0x197)]||0x1;return new Text({'text':_0xd72b4b,'font':_0x2c9813,'offsetX':_0x33fd00,'offsetY':_0x8fcdd4,'textAlign':_0xa092f3,'textBaseline':_0x3c7da6,'fill':new Fill({'color':getColor(_0x1b3270[_0x5f4d44(0x18b)],_0x3d99b4)}),'stroke':_getLabelStroke(_0x1b3270),'backgroundFill':_0x1b3270[_0x5f4d44(0x1a2)]?new Fill({'color':getColor(_0x1b3270[_0x5f4d44(0x1a2)]||_0x5f4d44(0x18a),_0x3d99b4)}):undefined});}}else return undefined;}function a62_0x19e8(_0x27ccb8,_0xa04850){const _0x90392c=a62_0x9039();return a62_0x19e8=function(_0x19e873,_0x257884){_0x19e873=_0x19e873-0x180;let _0x2e91fa=_0x90392c[_0x19e873];return _0x2e91fa;},a62_0x19e8(_0x27ccb8,_0xa04850);}function a62_0x9039(){const _0x3eced1=['20818610jdsIEt','pow','markerColor','size','hexa','#2A2A2A','color','2825580YqTtYb','849463FQyjlE','outline','load','312oVPLxQ','border_color','outlineColor','border_width','LOADED','textAlign','12092409xibHmA','opacity','offsetX','34TnSaiM','textBaseline','ERROR','87303hpEqGl','normal','border','getImageState','outlineWidth','getImage','fill','\x20normal\x20','getView','offsetY','image','middle','distanceDisplayNear','10774248vciLNP','px\x20','getResolutionForZoom','9LbXCKD','italic','distanceDisplayFar','71440opefxp'];a62_0x9039=function(){return _0x3eced1;};return a62_0x9039();}export function getColor(_0x611479,_0x5b227f){const _0x3066f0=a62_0x19e8;return a62_0x482612(_0x611479)['alpha'](_0x5b227f!=undefined?_0x5b227f:0x1)[_0x3066f0(0x189)]();}function _getLabelStroke(_0x2eccb2){const _0x1b6881=a62_0x19e8;if(_0x2eccb2[_0x1b6881(0x19e)])return new Stroke({'color':getColor(_0x2eccb2[_0x1b6881(0x191)],_0x2eccb2[_0x1b6881(0x197)]),'width':_0x2eccb2[_0x1b6881(0x193)]});if(_0x2eccb2[_0x1b6881(0x18e)])return new Stroke({'color':getColor(_0x2eccb2[_0x1b6881(0x192)],_0x2eccb2['opacity']),'width':_0x2eccb2[_0x1b6881(0x1a0)]});}export function preLoadImageRenderFunction(_0x42f317,_0x552f17,_0x5a1f1a,_0x416ba9,_0x1e4876){const _0x3e74b1=a62_0x19e8;let _0x46e833;_0x42f317[_0x3e74b1(0x187)]?_0x46e833=new a62_0x3117e1(_0x42f317):_0x46e833=new Icon({'src':_0x42f317[_0x3e74b1(0x1a6)]});let _0x4165f4=_0x46e833[_0x3e74b1(0x19f)]();_0x4165f4===a62_0x59132f['LOADED']||_0x4165f4===a62_0x59132f[_0x3e74b1(0x19b)]?_0x1e4876(_0x42f317,_0x552f17,_0x5a1f1a,_0x416ba9,_0x46e833[_0x3e74b1(0x1a1)](0x60)):(_0x4165f4===a62_0x59132f['IDLE']&&_0x46e833[_0x3e74b1(0x18f)](),_0x46e833['listenImageChange'](_0x2e416a=>{const _0x30e172=_0x3e74b1;_0x4165f4=_0x2e416a['target'][_0x30e172(0x19f)](),(_0x4165f4===a62_0x59132f[_0x30e172(0x194)]||_0x4165f4===a62_0x59132f[_0x30e172(0x19b)])&&_0x1e4876(_0x42f317,_0x552f17,_0x5a1f1a,_0x416ba9,_0x46e833[_0x30e172(0x1a1)](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(_0x32fe56,_0x12ca7c){const _0x3918ea=a67_0x275d,_0xdbeaf8=_0x32fe56();while(!![]){try{const _0x49b499=parseInt(_0x3918ea(0x186))/0x1*(parseInt(_0x3918ea(0x17d))/0x2)+parseInt(_0x3918ea(0x184))/0x3*(-parseInt(_0x3918ea(0x181))/0x4)+-parseInt(_0x3918ea(0x18a))/0x5+-parseInt(_0x3918ea(0x17f))/0x6*(parseInt(_0x3918ea(0x17c))/0x7)+parseInt(_0x3918ea(0x180))/0x8*(parseInt(_0x3918ea(0x187))/0x9)+parseInt(_0x3918ea(0x18d))/0xa+-parseInt(_0x3918ea(0x18b))/0xb*(-parseInt(_0x3918ea(0x189))/0xc);if(_0x49b499===_0x12ca7c)break;else _0xdbeaf8['push'](_0xdbeaf8['shift']());}catch(_0xddb760){_0xdbeaf8['push'](_0xdbeaf8['shift']());}}}(a67_0x5576,0x9203f));export function getDeepth(_0x5674a2){function _0x34a0f6(_0x5a6f02,_0x425ffc){const _0x278df8=a67_0x275d;return _0x5a6f02[_0x278df8(0x18c)](function(_0x5836cb,_0x5140a9){const _0x33df7b=_0x278df8;var _0xf8778d;return Array[_0x33df7b(0x183)](_0x5140a9)&&(_0xf8778d=_0x34a0f6(_0x5140a9,_0x425ffc+0x1)),_0xf8778d>_0x5836cb?_0xf8778d:_0x5836cb;},_0x425ffc);}return _0x34a0f6(_0x5674a2,0x1);}export function compareArray(_0x1a8d91,_0x3b0173){const _0x297fd3=a67_0x275d;if(_0x1a8d91['length']!==_0x3b0173[_0x297fd3(0x17e)])return![];const _0x40d22f=_0x1a8d91['length'];for(let _0x111a3f=0x0;_0x111a3f<_0x40d22f;_0x111a3f++){if(!compare(_0x1a8d91[_0x111a3f],_0x3b0173[_0x111a3f]))return![];}return!![];}export function compare(_0x54f8ac,_0x56df30){const _0x579c7b=a67_0x275d;if(_0x54f8ac===_0x56df30)return!![];if(typeof _0x54f8ac!==typeof _0x56df30||_0x54f8ac===null||_0x56df30===null)return![];if(Array[_0x579c7b(0x183)](_0x54f8ac)){if(!Array['isArray'](_0x56df30))return![];return compareArray(_0x54f8ac,_0x56df30);}if(typeof _0x54f8ac===_0x579c7b(0x185))return compareObject(_0x54f8ac,_0x56df30);return![];}function a67_0x275d(_0x1677d2,_0x5bc3c9){const _0x557623=a67_0x5576();return a67_0x275d=function(_0x275dac,_0x21973e){_0x275dac=_0x275dac-0x17c;let _0x5d84e5=_0x557623[_0x275dac];return _0x5d84e5;},a67_0x275d(_0x1677d2,_0x5bc3c9);}function a67_0x5576(){const _0x31afaf=['isArray','3hAxcwv','object','4swKlNg','3879NoTFNG','keys','8148RDYGvP','2743915NAOUHD','21098LFXcrF','reduce','4277810KecDEI','2373GKsatV','465412gsAenb','length','14772qEdZhb','5808ulwWae','3969412hEDSEq','every'];a67_0x5576=function(){return _0x31afaf;};return a67_0x5576();}export function compareObject(_0x5ea04d,_0x16928b){const _0x252fc2=a67_0x275d,_0x445e9a=Object['keys'](_0x5ea04d),_0x182f14=Object[_0x252fc2(0x188)](_0x16928b);if(_0x445e9a[_0x252fc2(0x17e)]!==_0x182f14[_0x252fc2(0x17e)])return![];return _0x445e9a[_0x252fc2(0x182)](_0x12cb1e=>{if(!compare(_0x5ea04d[_0x12cb1e],_0x16928b[_0x12cb1e]))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_0x1d0f45=a68_0x5852;function a68_0x5852(_0x2cdebc,_0x47a000){const _0x26683f=a68_0x2668();return a68_0x5852=function(_0x58524d,_0x3d61f8){_0x58524d=_0x58524d-0x172;let _0x18f559=_0x26683f[_0x58524d];return _0x18f559;},a68_0x5852(_0x2cdebc,_0x47a000);}(function(_0xd0ec56,_0x516b51){const _0x58b6c1=a68_0x5852,_0x2bb664=_0xd0ec56();while(!![]){try{const _0x1ad37f=-parseInt(_0x58b6c1(0x175))/0x1*(-parseInt(_0x58b6c1(0x17f))/0x2)+parseInt(_0x58b6c1(0x17a))/0x3*(parseInt(_0x58b6c1(0x174))/0x4)+parseInt(_0x58b6c1(0x172))/0x5*(-parseInt(_0x58b6c1(0x17e))/0x6)+-parseInt(_0x58b6c1(0x183))/0x7*(parseInt(_0x58b6c1(0x17d))/0x8)+-parseInt(_0x58b6c1(0x178))/0x9+parseInt(_0x58b6c1(0x180))/0xa+-parseInt(_0x58b6c1(0x17b))/0xb*(parseInt(_0x58b6c1(0x179))/0xc);if(_0x1ad37f===_0x516b51)break;else _0x2bb664['push'](_0x2bb664['shift']());}catch(_0xbcfe98){_0x2bb664['push'](_0x2bb664['shift']());}}}(a68_0x2668,0x1d246));import a68_0x422e6e from'axios';import a68_0x524f0d from'jquery';const request=a68_0x422e6e[a68_0x1d0f45(0x173)]({'timeout':0xb4*0x3e8});export function jsonp(_0x3ee3ba){return new Promise((_0x551de3,_0x6538bc)=>{const _0x487efb=a68_0x5852;a68_0x524f0d[_0x487efb(0x17c)]({'url':_0x3ee3ba,'type':'get','dataType':'jsonp','success':_0x3796d4=>{_0x551de3(_0x3796d4);},'error':_0x40068b=>{_0x6538bc(_0x40068b);}});});}function a68_0x2668(){const _0x2e818d=['stringify','append','28LHRBLR','10oWrbCg','create','740RryzTq','2IRhdfE','constructor','forEach','1990125nAvEdA','72sSKmFg','2283wfUSqn','92180qVnfoM','ajax','63064RlvqyK','63870rCOldy','133422xiCPFk','1693860gOfjrm'];a68_0x2668=function(){return _0x2e818d;};return a68_0x2668();}export function stringify(_0x3fd782){const _0x302e60=a68_0x1d0f45,_0x22a7e1=new FormData();for(const _0xff8f73 in _0x3fd782){if(_0x3fd782['hasOwnProperty'](_0xff8f73)){if(_0x3fd782[_0xff8f73]){if(_0x3fd782[_0xff8f73]['constructor']===Array)_0x3fd782[_0xff8f73][0x0]?_0x3fd782[_0xff8f73][0x0][_0x302e60(0x176)]===Object?_0x22a7e1['append'](_0xff8f73,JSON[_0x302e60(0x181)](_0x3fd782[_0xff8f73])):_0x3fd782[_0xff8f73][_0x302e60(0x177)]((_0x209cab,_0x3d8f14)=>{_0x22a7e1['append'](_0xff8f73+('['+_0x3d8f14+']'),_0x209cab);}):_0x22a7e1[_0x302e60(0x182)](_0xff8f73+'[]','');else _0x3fd782[_0xff8f73][_0x302e60(0x176)]===Object?_0x22a7e1['append'](_0xff8f73,JSON[_0x302e60(0x181)](_0x3fd782[_0xff8f73])):_0x22a7e1[_0x302e60(0x182)](_0xff8f73,_0x3fd782[_0xff8f73]);}else _0x3fd782[_0xff8f73]===0x0?_0x22a7e1[_0x302e60(0x182)](_0xff8f73,'0'):_0x22a7e1[_0x302e60(0x182)](_0xff8f73,'');}}return _0x22a7e1;}export default request;
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 a69_0x1c7f(){const _0x3a1e9d=['163719vPafRl','indexOf','40563260ZyVmub','18LVugqX','3733500phtEwP','toUpperCase','2554808yFuXHA','10NCXtZq','EPSG:','2350rXkJVL','12176wUBlZa','390803QhyzOr','replace','8082711XFAmhB'];a69_0x1c7f=function(){return _0x3a1e9d;};return a69_0x1c7f();}function a69_0x1800(_0x53844c,_0x1fb12f){const _0x1c7f1a=a69_0x1c7f();return a69_0x1800=function(_0x1800c7,_0x43dd6f){_0x1800c7=_0x1800c7-0x1cd;let _0x4e4d42=_0x1c7f1a[_0x1800c7];return _0x4e4d42;},a69_0x1800(_0x53844c,_0x1fb12f);}(function(_0x3c7482,_0x13621c){const _0x5606b3=a69_0x1800,_0x5b17fd=_0x3c7482();while(!![]){try{const _0x9b9605=-parseInt(_0x5606b3(0x1ce))/0x1+-parseInt(_0x5606b3(0x1d8))/0x2*(parseInt(_0x5606b3(0x1d1))/0x3)+-parseInt(_0x5606b3(0x1cd))/0x4*(parseInt(_0x5606b3(0x1da))/0x5)+parseInt(_0x5606b3(0x1d5))/0x6+-parseInt(_0x5606b3(0x1d0))/0x7+-parseInt(_0x5606b3(0x1d7))/0x8*(parseInt(_0x5606b3(0x1d4))/0x9)+parseInt(_0x5606b3(0x1d3))/0xa;if(_0x9b9605===_0x13621c)break;else _0x5b17fd['push'](_0x5b17fd['shift']());}catch(_0x30312e){_0x5b17fd['push'](_0x5b17fd['shift']());}}}(a69_0x1c7f,0xc1145));export function getEsriSpatialReference(_0x23bdfe){const _0xfbb619=a69_0x1800;let _0x3447f5;if(_0x23bdfe){let _0x3a49e7=_0x23bdfe[_0xfbb619(0x1d6)]();_0x3a49e7[_0xfbb619(0x1d2)](_0xfbb619(0x1d9))===0x0?_0x3447f5=_0x23bdfe[_0xfbb619(0x1cf)](_0xfbb619(0x1d9),''):_0x3447f5=_0x23bdfe;}return _0x3447f5;}
@@ -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_0x48ffe9=a72_0x2068;(function(_0x11a699,_0x31a19b){const _0x58fe03=a72_0x2068,_0x4af7e1=_0x11a699();while(!![]){try{const _0xd4ab30=-parseInt(_0x58fe03(0x173))/0x1+-parseInt(_0x58fe03(0x181))/0x2*(parseInt(_0x58fe03(0x169))/0x3)+parseInt(_0x58fe03(0x175))/0x4+-parseInt(_0x58fe03(0x183))/0x5*(parseInt(_0x58fe03(0x171))/0x6)+-parseInt(_0x58fe03(0x17b))/0x7*(parseInt(_0x58fe03(0x167))/0x8)+parseInt(_0x58fe03(0x17d))/0x9*(-parseInt(_0x58fe03(0x172))/0xa)+parseInt(_0x58fe03(0x180))/0xb;if(_0xd4ab30===_0x31a19b)break;else _0x4af7e1['push'](_0x4af7e1['shift']());}catch(_0x2d464e){_0x4af7e1['push'](_0x4af7e1['shift']());}}}(a72_0xe469,0x7a9a2));import a72_0x5a9e82 from'ol/proj/Projection';import{distance as a72_0x5436cb}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getArea as a72_0x3482c1}from'ol/sphere';import a72_0x5bfb5c from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x3b3bab from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';function a72_0xe469(){const _0x1f98bb=['transform','getCoordinates','getPolygons','forEach','inject','difference','union','16wkOBuP','_geometries','3LCmRbg','contains','getGeometryType','write','clone','push','无法识别的数据类型','distance','6nxgijy','100790oGQXUl','742534gEadzH','bufferOp','3325176xEQtzr','getCoordinateFromPixel','Polygon','length','_holes','getArea','1097768bAaTvV','read','549oeRQdR','readGeometry','MultiPolygon','30854582oUetqE','1048836xuCiTh','writeGeometry','4693295vVrDHo'];a72_0xe469=function(){return _0x1f98bb;};return a72_0xe469();}import a72_0x44747b from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x5370a2 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x19f99c from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a72_0x4fe216 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0xeac95d 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_0x22d2f6 from'ol/format/WKT';import a72_0x214f6a from'ol/format/EsriJSON';const _parser=new a72_0x5370a2(undefined,undefined);_parser[a72_0x48ffe9(0x188)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x436012,_0x38a8cf,_0x406835=![]){const _0x197c57=a72_0x48ffe9;if(!_0x436012)return 0x0;const _0x5ae926=isSpheroid(_0x38a8cf);if(_0x406835)return a72_0x3482c1(_0x436012,{'projection':_0x38a8cf});else{if(_0x5ae926){const _0x3c92e0=getGeoProjection(_0x436012,_0x38a8cf);return _0x436012[_0x197c57(0x16d)]()[_0x197c57(0x184)](_0x38a8cf,_0x3c92e0)[_0x197c57(0x17a)]();}return _0x436012['getArea']();}}export function bufferOp(_0x5a33ba,_0x566ad9){const _0x15660b=a72_0x48ffe9,_0xa1e7c2=_parser[_0x15660b(0x17c)](_0x5a33ba),_0x4dd0cf=a72_0x5bfb5c[_0x15660b(0x174)](_0xa1e7c2,_0x566ad9);return _parser[_0x15660b(0x16c)](_0x4dd0cf);}export function bufferPixel(_0x15b364,_0x15c67f,_0x2a161b){const _0x33411c=a72_0x48ffe9,_0x10b286=_0x2a161b['getPixelFromCoordinate'](_0x15b364[_0x33411c(0x185)]()),_0x3cc109=_0x2a161b[_0x33411c(0x176)]([_0x10b286[0x0]+_0x15c67f,_0x10b286[0x1]]),_0x5541b3=a72_0x5436cb(_0x15b364[_0x33411c(0x185)](),_0x3cc109),_0x42bb27=bufferOp(_0x15b364,_0x5541b3);return _0x42bb27;}export function contains(_0x4e0a81,_0x3db35e){const _0xef5d71=a72_0x48ffe9,_0x41fee5=_parser[_0xef5d71(0x17c)](_0x4e0a81),_0x3e195c=_parser[_0xef5d71(0x17c)](_0x3db35e);return a72_0x3b3bab[_0xef5d71(0x16a)](_0x41fee5,_0x3e195c);}export function crosses(_0x374c45,_0x39c64d){const _0x139b0c=a72_0x48ffe9,_0x12a2bb=_parser[_0x139b0c(0x17c)](_0x374c45),_0x10c4f9=_parser['read'](_0x39c64d);return a72_0x3b3bab['crosses'](_0x12a2bb,_0x10c4f9);}export function intersects(_0x2ff696,_0x250655){const _0x738d5c=a72_0x48ffe9,_0x4a1ead=_parser[_0x738d5c(0x17c)](_0x2ff696),_0x3e9301=_parser[_0x738d5c(0x17c)](_0x250655);return a72_0x3b3bab['intersects'](_0x4a1ead,_0x3e9301);}export function intersection(_0x2bb4cb,_0x4e3d1e){const _0x275dd7=a72_0x48ffe9,_0x120d84=_parser[_0x275dd7(0x17c)](_0x2bb4cb),_0x395f22=_parser[_0x275dd7(0x17c)](_0x4e3d1e);return _parser[_0x275dd7(0x16c)](a72_0x44747b['intersection'](_0x120d84,_0x395f22));}export function union(_0x88ccdd,_0x1a875e){const _0x37f141=a72_0x48ffe9,_0x21fee7=_parser[_0x37f141(0x17c)](_0x88ccdd),_0x20eb75=_parser[_0x37f141(0x17c)](_0x1a875e);return _parser[_0x37f141(0x16c)](a72_0x44747b[_0x37f141(0x166)](_0x21fee7,_0x20eb75));}export function difference(_0x3b4638,_0x86abbc){const _0x5d4aba=a72_0x48ffe9,_0x31af6=_parser['read'](_0x3b4638),_0x4dc1ed=_parser[_0x5d4aba(0x17c)](_0x86abbc);return _parser[_0x5d4aba(0x16c)](a72_0x44747b[_0x5d4aba(0x165)](_0x31af6,_0x4dc1ed));}export function distance(_0x3c53ac,_0x4f3b58){const _0x10b72c=a72_0x48ffe9,_0x383940=_parser[_0x10b72c(0x17c)](_0x3c53ac),_0x141a82=_parser[_0x10b72c(0x17c)](_0x4f3b58);return _parser['write'](a72_0x4fe216[_0x10b72c(0x170)](_0x383940,_0x141a82));}function a72_0x2068(_0x26be59,_0x477755){const _0xe469e9=a72_0xe469();return a72_0x2068=function(_0x206862,_0x56bcfc){_0x206862=_0x206862-0x165;let _0x353125=_0xe469e9[_0x206862];return _0x353125;},a72_0x2068(_0x26be59,_0x477755);}export function jstlSplit(_0x1f8cc1,_0x328709){const _0x2a1614=a72_0x48ffe9,_0x4ad47b=_parser['read'](_0x1f8cc1),_0x38d0de=_parser[_0x2a1614(0x17c)](_0x328709),_0x557e36=_0x4ad47b[_0x2a1614(0x16b)]();let _0x467d2a=[];function _0x912bad(_0x5ba8ae,_0x3eb759){const _0x3ad44b=_0x2a1614;let _0x599f3c=_0x5ba8ae[_0x3ad44b(0x179)],_0x2f2733=_0x5ba8ae['getExteriorRing']()[_0x3ad44b(0x166)](_0x3eb759),_0x4d33d5=new a72_0x19f99c();_0x4d33d5['add'](_0x2f2733);let _0x4c0be4=_0x4d33d5[_0x3ad44b(0x186)]();_0x4c0be4['array']['length']==0x2&&_0x4c0be4['array'][_0x3ad44b(0x187)](_0x4caece=>{const _0x4ac766=_0x3ad44b;_0x599f3c[_0x4ac766(0x187)](_0x398a77=>{const _0x28da76=_0x4ac766;let _0x53bd0a=[];for(let _0x3f739a in _0x398a77[_0x28da76(0x185)]()){_0x53bd0a[_0x28da76(0x16e)]([_0x398a77[_0x28da76(0x185)]()[_0x3f739a]['x'],_0x398a77[_0x28da76(0x185)]()[_0x3f739a]['y']]);}_0x398a77=_parser['read']({'coordinates':[_0x53bd0a],'type':_0x28da76(0x177)}),_0x4caece=_0x4caece[_0x28da76(0x165)](_0x398a77);}),_0x467d2a[_0x4ac766(0x16e)](_parser[_0x4ac766(0x16c)](_0x4caece));});}if(_0x557e36===_0x2a1614(0x177))_0x912bad(_0x4ad47b,_0x38d0de);else{if(_0x557e36===_0x2a1614(0x17f))_0x4ad47b[_0x2a1614(0x168)]['forEach']((_0x52ead5,_0x3e47bd)=>{_0x912bad(_0x52ead5,_0x38d0de);});else throw new Error(_0x2a1614(0x16f));}return _0x467d2a;}export function fromWKT(_0x2cca64,_0x10c624,_0x5c84f9){const _0x20d631=a72_0x48ffe9,_0x39347d=new a72_0x22d2f6();_0x10c624&&registerProj(_0x10c624);_0x5c84f9&&registerProj(_0x5c84f9);const _0x32466d=_0x39347d['readGeometry'](_0x2cca64);if(isGeometryEmpty(_0x32466d))return null;return _0x10c624&&_0x5c84f9?_0x32466d[_0x20d631(0x184)](new a72_0x5a9e82({'code':_0x10c624}),new a72_0x5a9e82({'code':_0x5c84f9})):_0x32466d;}export function fromWKTs(_0xc216a4,_0x50f9c8,_0x1a362d){const _0xbcae4a=a72_0x48ffe9,_0xbc0e3=new a72_0x22d2f6();let _0x118bdb=[];_0x50f9c8&&registerProj(_0x50f9c8);_0x1a362d&&registerProj(_0x1a362d);let _0x1acd5e,_0x42df44;_0x50f9c8&&_0x1a362d&&(_0x1acd5e=new a72_0x5a9e82({'code':_0x50f9c8}),_0x42df44=new a72_0x5a9e82({'code':_0x1a362d}));for(let _0x1ac752=0x0;_0x1ac752<_0xc216a4['length'];_0x1ac752++){const _0x1a1d2e=_0xbc0e3['readGeometry'](_0xc216a4[_0x1ac752]);if(isGeometryEmpty(_0x1a1d2e))continue;_0x1acd5e&&_0x42df44?_0x118bdb[_0xbcae4a(0x16e)](_0x1a1d2e[_0xbcae4a(0x184)](_0x1acd5e,_0x42df44)):_0x118bdb[_0xbcae4a(0x16e)](_0x1a1d2e);}return _0x118bdb;}export function toWKT(_0x4d5692){const _0x2198aa=a72_0x48ffe9,_0x4ed08d=new a72_0x22d2f6();if(isGeometryEmpty(_0x4d5692))return'';if(_0x4d5692 instanceof Circle){const _0x1eabf3=fromCircle(_0x4d5692);return _0x4ed08d[_0x2198aa(0x182)](_0x1eabf3);}else return _0x4ed08d[_0x2198aa(0x182)](_0x4d5692);}export function toGeoJSON(_0x3a5ece){const _0x368080=a72_0x48ffe9,_0xde0ff7=new a72_0xeac95d();return _0xde0ff7[_0x368080(0x182)](_0x3a5ece);}export function fromGeoJSON(_0x44655f){const _0x2e9e17=a72_0x48ffe9,_0x5c7b1e=new a72_0xeac95d();return _0x5c7b1e[_0x2e9e17(0x17e)](_0x44655f);}export function toEsriJSON(_0x53a9f4){const _0x42e997=a72_0x48ffe9,_0x6aa1b9=new a72_0x214f6a();return _0x6aa1b9[_0x42e997(0x182)](_0x53a9f4);}export function fromEsriJSON(_0x12e323){const _0x48507d=new a72_0x214f6a();return _0x48507d['readGeometry'](_0x12e323);}export function expandExtent(_0x406d0e,_0x20b6f6){const _0xf22c08=_0x406d0e[0x0],_0xcc0e00=_0x406d0e[0x1],_0x291117=_0x406d0e[0x2],_0x201b15=_0x406d0e[0x3],_0x483a4c=(_0xf22c08+_0x291117)/0x2,_0x4feb0f=(_0xcc0e00+_0x201b15)/0x2,_0x4d2125=_0x291117-_0xf22c08,_0x6b5675=_0x201b15-_0xcc0e00,_0x23996c=_0x4d2125*_0x20b6f6,_0x45e143=_0x6b5675*_0x20b6f6,_0x2c9e30=_0x483a4c-_0x23996c/0x2,_0x3dcf59=_0x483a4c+_0x23996c/0x2,_0x171805=_0x4feb0f-_0x45e143/0x2,_0x5ead08=_0x4feb0f+_0x45e143/0x2;return[_0x2c9e30,_0x171805,_0x3dcf59,_0x5ead08];}export function isGeometryEmpty(_0x256f08){const _0x477e58=a72_0x48ffe9;if(!_0x256f08)return!![];if(_0x256f08 instanceof Point||_0x256f08 instanceof MultiPoint){const _0x238b37=_0x256f08['getCoordinates']();return!_0x238b37||_0x238b37['some'](_0x9c64f1=>isNaN(_0x9c64f1));}else{if(_0x256f08 instanceof LineString||_0x256f08 instanceof MultiLineString)return _0x256f08[_0x477e58(0x185)]()['length']<0x2;else{if(_0x256f08 instanceof Polygon){const _0x9703fa=_0x256f08[_0x477e58(0x185)]();return!_0x9703fa||_0x9703fa['length']===0x0||_0x9703fa[0x0][_0x477e58(0x178)]<0x4;}else{if(_0x256f08 instanceof MultiPolygon){const _0x30a4cd=_0x256f08[_0x477e58(0x185)]();return!_0x30a4cd||_0x30a4cd[_0x477e58(0x178)]===0x0||_0x30a4cd[0x0][0x0][_0x477e58(0x178)]<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(_0x2c3f8a,_0x3d31b6){const _0x4fa612=a73_0xdfdc,_0x2e73c2=_0x2c3f8a();while(!![]){try{const _0x39d7cf=-parseInt(_0x4fa612(0x1df))/0x1*(parseInt(_0x4fa612(0x1d7))/0x2)+-parseInt(_0x4fa612(0x1e5))/0x3+parseInt(_0x4fa612(0x1e6))/0x4+parseInt(_0x4fa612(0x1eb))/0x5+-parseInt(_0x4fa612(0x1e2))/0x6+parseInt(_0x4fa612(0x1f3))/0x7+-parseInt(_0x4fa612(0x1f2))/0x8*(-parseInt(_0x4fa612(0x1da))/0x9);if(_0x39d7cf===_0x3d31b6)break;else _0x2e73c2['push'](_0x2e73c2['shift']());}catch(_0x481674){_0x2e73c2['push'](_0x2e73c2['shift']());}}}(a73_0x50c7,0x2f436));function a73_0xdfdc(_0x411e39,_0x33ee7f){const _0x50c772=a73_0x50c7();return a73_0xdfdc=function(_0xdfdc4d,_0x1aeb4f){_0xdfdc4d=_0xdfdc4d-0x1d4;let _0x581ab1=_0x50c772[_0xdfdc4d];return _0x581ab1;},a73_0xdfdc(_0x411e39,_0x33ee7f);}import a73_0xa7ee51 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0xbd8c96){const _0x160348=a73_0xdfdc;let _0x50440c=[];return _0xbd8c96&&_0xbd8c96['length']>0x0&&(_0xbd8c96[_0x160348(0x1ec)](_0x292a5f=>{const _0x5877b3=_0x160348;(!_0x292a5f[_0x5877b3(0x1f0)]||_0x292a5f['parentId']=='')&&_0x50440c[_0x5877b3(0x1ea)](Object['assign']({},_0x292a5f));}),_0x50440c=_0x50440c['sort']((_0x490601,_0x338ee9)=>{const _0x33d322=_0x160348;return(_0x490601[_0x33d322(0x1e4)]?_0x490601[_0x33d322(0x1e4)]:0x0)-(_0x338ee9['showIndex']?_0x338ee9['showIndex']:0x0);}),_0x50440c[_0x160348(0x1ec)](_0x26f41e=>{const _0x3385f1=_0x160348;_0x26f41e[_0x3385f1(0x1e3)]=setChildren(_0x26f41e['id'],_0xbd8c96);})),_0x50440c;}function setChildren(_0x1f52e4,_0x2ba8f7){const _0x433e54=a73_0xdfdc;let _0x290ea2=[];return _0x2ba8f7['forEach'](_0x15d4c6=>{const _0x426fa0=a73_0xdfdc;_0x1f52e4===(_0x15d4c6['parentId']==null?'':_0x15d4c6['parentId'])&&_0x290ea2[_0x426fa0(0x1ea)](Object[_0x426fa0(0x1e9)]({},_0x15d4c6));}),_0x290ea2=_0x290ea2[_0x433e54(0x1e0)]((_0x50eb14,_0x49554f)=>{const _0x361353=_0x433e54;return(_0x50eb14[_0x361353(0x1e4)]?_0x50eb14[_0x361353(0x1e4)]:0x0)-(_0x49554f[_0x361353(0x1e4)]?_0x49554f['showIndex']:0x0);}),_0x290ea2['length']>0x0&&_0x290ea2[_0x433e54(0x1ec)](_0x2fc40b=>{const _0x14aa21=_0x433e54;_0x2fc40b[_0x14aa21(0x1e3)]=setChildren(_0x2fc40b['id'],_0x2ba8f7);}),_0x290ea2;}function a73_0x50c7(){const _0x10ffc6=['get','replace','includes','parentId','title','1385192cwzkYZ','2088478WwugqJ','Legend','layerType','wms','4ueBjdF','&format=application/json','&format=image/png','18Uwtgnc','sublayers','geoserver','data','&width=','128551OmXmtM','sort','url','1660464wHrMjT','children','showIndex','418212yymgnF','322460xPcOiS','indexOf','length','assign','push','707865hNeAqY','forEach'];a73_0x50c7=function(){return _0x10ffc6;};return a73_0x50c7();}export async function getLayerLegend(_0x5d503b,_0x3f9be0){const _0x5aa9b7=a73_0xdfdc;if(!_0x5d503b||!_0x5d503b[_0x5aa9b7(0x1e1)]||!_0x5d503b['sublayers']||_0x5d503b[_0x5aa9b7(0x1db)][_0x5aa9b7(0x1e8)]==0x0||!_0x5d503b[_0x5aa9b7(0x1d5)])return;if(_0x5d503b['layerType'][_0x5aa9b7(0x1e7)](_0x5aa9b7(0x1dc))>-0x1)return await getGeoServerLayerLegend(_0x5d503b,_0x3f9be0);return;}export async function getGeoServerLayerLegend(_0x2aecfa,_0x5c3db4){const _0x11cc1a=a73_0xdfdc;if(!_0x2aecfa||!_0x2aecfa['url']||!_0x2aecfa['sublayers']||_0x2aecfa['sublayers'][_0x11cc1a(0x1e8)]==0x0)return;let _0x1d8680=_0x2aecfa['url'];const _0x17a75f=_0x2aecfa[_0x11cc1a(0x1db)];_0x1d8680=_0x1d8680[_0x11cc1a(0x1ee)]('gwc/service/wmts',_0x11cc1a(0x1d6));const _0x18d183=[];for(let _0x4fb826=0x0;_0x4fb826<_0x17a75f[_0x11cc1a(0x1e8)];_0x4fb826++){const _0x57d250=_0x17a75f[_0x4fb826];let _0x52a4cd='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x57d250+_0x11cc1a(0x1d8);const _0x1d7f6b=_0x1d8680[_0x11cc1a(0x1ef)]('?')?_0x1d8680+'&'+_0x52a4cd:_0x1d8680+'?'+_0x52a4cd,_0x4b6f5e=await a73_0xa7ee51[_0x11cc1a(0x1ed)](_0x1d7f6b);if(_0x4b6f5e[_0x11cc1a(0x1dd)]&&_0x4b6f5e[_0x11cc1a(0x1dd)]['Legend']&&_0x4b6f5e['data']['Legend'][_0x11cc1a(0x1e8)]>0x0)_0x18d183['push'](_0x4b6f5e[_0x11cc1a(0x1dd)][_0x11cc1a(0x1d4)][0x0]);else{let _0x1a6d4b=_0x5c3db4?_0x5c3db4:0x10,_0x3c1322='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x57d250+_0x11cc1a(0x1de)+_0x1a6d4b+'&height='+_0x1a6d4b+_0x11cc1a(0x1d9);const _0x83da44=_0x1d8680[_0x11cc1a(0x1ef)]('?')?_0x1d8680+'&'+_0x3c1322:_0x1d8680+'?'+_0x3c1322;_0x18d183[_0x11cc1a(0x1ea)]({'title':_0x2aecfa[_0x11cc1a(0x1f1)],'url':_0x83da44});}}return _0x18d183;}