ym-gis-2d 1.0.37 → 1.0.38

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 (74) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.d.ts +2 -0
  6. package/controls/SwipeLayerControl.d.ts.map +1 -1
  7. package/controls/SwipeLayerControl.js +1 -1
  8. package/controls/SwipeLayerControl.js.map +1 -1
  9. package/conver/kml/geoJSONToKml.js +1 -1
  10. package/conver/kml/index.js +1 -1
  11. package/conver/kml/kmlToGeoJSON.js +1 -1
  12. package/entity/Feature.js +1 -1
  13. package/entity/GeometryType.js +1 -1
  14. package/entity/measure/AreaMeasureUnits.js +1 -1
  15. package/feature/FeatureManager.js +1 -1
  16. package/index.js +1 -1
  17. package/interaction/AreaMeasure.js +1 -1
  18. package/interaction/Difference.js +1 -1
  19. package/interaction/Draw.js +1 -1
  20. package/interaction/InteractionManager.js +1 -1
  21. package/interaction/Modify.js +1 -1
  22. package/interaction/Select.js +1 -1
  23. package/interaction/Split.js +1 -1
  24. package/layers/ArcgisDynamicLayer.js +1 -1
  25. package/layers/ArcgisFeatureLayer.js +1 -1
  26. package/layers/ArcgisTileLayer.js +1 -1
  27. package/layers/ArcgisWMSLayer.js +1 -1
  28. package/layers/ArcgisWMTSLayer.js +1 -1
  29. package/layers/GeoserverVectorTile.js +1 -1
  30. package/layers/GeoserverWFSLayer.js +1 -1
  31. package/layers/GeoserverWMSLayer.js +1 -1
  32. package/layers/GeoserverWMTSLayer.js +1 -1
  33. package/layers/LayerManager.js +1 -1
  34. package/layers/TDTLayer.js +1 -1
  35. package/mapView/Map.js +1 -1
  36. package/mapView/View.js +1 -1
  37. package/package.json +1 -1
  38. package/plot/Plot.js +1 -1
  39. package/plot/geometry/point/Point.js +1 -1
  40. package/plot/geometry/polygon/BasePolygon.js +1 -1
  41. package/plot/geometry/polygon/Circle.js +1 -1
  42. package/plot/geometry/polygon/Polygon.js +1 -1
  43. package/plot/geometry/polygon/RectAngle.js +1 -1
  44. package/plot/geometry/polyline/BaseLine.js +1 -1
  45. package/plot/geometry/polyline/Polyline.js +1 -1
  46. package/style/PointStyleFormat.js +1 -1
  47. package/style/PolygonStyleFormat.js +1 -1
  48. package/style/PolylineStyleFormat.js +1 -1
  49. package/style/StyleManager.js +1 -1
  50. package/style/common.js +1 -1
  51. package/utils/ArrayUtil.js +1 -1
  52. package/utils/AxiosUtil.js +1 -1
  53. package/utils/EsriUtil.js +1 -1
  54. package/utils/GeometryUtil.js +1 -1
  55. package/utils/LayerUtil.js +1 -1
  56. package/utils/RegisterProjUtil.js +1 -1
  57. package/utils/ResolutionUtil.js +1 -1
  58. package/utils/StringUtil.js +1 -1
  59. package/utils/StyleUtil.js +1 -1
  60. package/utils/UrlUtil.js +1 -1
  61. package/utils/XmlUtil.js +1 -1
  62. package/utils/format/CQL.js +1 -1
  63. package/utils/format/IsMatchCql.js +1 -1
  64. package/utils/plug/canvas/ImageCache.js +1 -1
  65. package/utils/plug/canvas/PinBuilder.js +1 -1
  66. package/utils/plug/canvas/PinIcon.js +1 -1
  67. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  68. package/utils/tasks/esri/Identify.js +1 -1
  69. package/utils/tasks/esri/Query.js +1 -1
  70. package/utils/tasks/esri/Task.js +1 -1
  71. package/utils/tasks/geoserver/QueryTask.js +1 -1
  72. package/utils/tasks/index.js +1 -1
  73. package/ym-gis-2d.es.js +1 -1
  74. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- function a72_0xe7a8(_0x2d13c9,_0x29f784){var _0x241da0=a72_0x241d();return a72_0xe7a8=function(_0xe7a89f,_0x5cfd57){_0xe7a89f=_0xe7a89f-0x1e1;var _0x1b54ff=_0x241da0[_0xe7a89f];return _0x1b54ff;},a72_0xe7a8(_0x2d13c9,_0x29f784);}function a72_0x241d(){var _0x4d263f=['4231520EopBwY','10423IOSveI','32EjIuos','updatePoint','18YPfzQC','updateLastPoint','type','parse','4255745BXXqFG','length','4nKNxpg','setStyle','12MALoAp','points','9023052FxYFol','1377957jJDyAd','stringify','41834771zUxPwR','1480ehjHkH','isPlot','generate','55724Iythbu','LineString'];a72_0x241d=function(){return _0x4d263f;};return a72_0x241d();}var a72_0x121b74=a72_0xe7a8;(function(_0x25f122,_0x24771e){var _0x377f80=a72_0xe7a8,_0x4c1186=_0x25f122();while(!![]){try{var _0x90d04a=-parseInt(_0x377f80(0x1f0))/0x1*(-parseInt(_0x377f80(0x1ec))/0x2)+-parseInt(_0x377f80(0x1e6))/0x3+parseInt(_0x377f80(0x1e1))/0x4*(-parseInt(_0x377f80(0x1f6))/0x5)+-parseInt(_0x377f80(0x1e5))/0x6+parseInt(_0x377f80(0x1ef))/0x7*(-parseInt(_0x377f80(0x1e9))/0x8)+-parseInt(_0x377f80(0x1f2))/0x9*(parseInt(_0x377f80(0x1ee))/0xa)+parseInt(_0x377f80(0x1e8))/0xb*(parseInt(_0x377f80(0x1e3))/0xc);if(_0x90d04a===_0x24771e)break;else _0x4c1186['push'](_0x4c1186['shift']());}catch(_0x4afe2e){_0x4c1186['push'](_0x4c1186['shift']());}}}(a72_0x241d,0xb938a));import a72_0x25a92b from'./BaseLine';class Polyline extends a72_0x25a92b{constructor(_0x4f47b3){var _0x1f1bec=a72_0xe7a8;super(),this[_0x1f1bec(0x1f4)]=_0x1f1bec(0x1ed),this['setCoordinates'](_0x4f47b3);}['generate'](){this['setCoordinates'](this['points']);}[a72_0x121b74(0x1f1)](_0x122b1e,_0x24ad4d){var _0x31145f=a72_0x121b74;_0x24ad4d>=0x0&&_0x24ad4d<this[_0x31145f(0x1e4)][_0x31145f(0x1f7)]&&(this[_0x31145f(0x1e4)][_0x24ad4d]=_0x122b1e,this[_0x31145f(0x1eb)]());}[a72_0x121b74(0x1f3)](_0x4bf8cb){var _0x7b0244=a72_0x121b74;this[_0x7b0244(0x1f1)](_0x4bf8cb,this[_0x7b0244(0x1e4)][_0x7b0244(0x1f7)]-0x1);}[a72_0x121b74(0x1ea)](){return![];}[a72_0x121b74(0x1e2)](_0x8c0d12){var _0x169305=a72_0x121b74;this['style']=JSON[_0x169305(0x1f5)](JSON[_0x169305(0x1e7)](_0x8c0d12));}}export default Polyline;
1
+ var a72_0x46c40d=a72_0x2bc8;(function(_0x5280ec,_0x404ae5){var _0xf63a58=a72_0x2bc8,_0x350db7=_0x5280ec();while(!![]){try{var _0x3470bc=parseInt(_0xf63a58(0x107))/0x1*(-parseInt(_0xf63a58(0x102))/0x2)+-parseInt(_0xf63a58(0xfb))/0x3*(parseInt(_0xf63a58(0x101))/0x4)+parseInt(_0xf63a58(0xfc))/0x5+-parseInt(_0xf63a58(0xf6))/0x6+parseInt(_0xf63a58(0xf8))/0x7*(parseInt(_0xf63a58(0x109))/0x8)+-parseInt(_0xf63a58(0xf9))/0x9+parseInt(_0xf63a58(0xf4))/0xa;if(_0x3470bc===_0x404ae5)break;else _0x350db7['push'](_0x350db7['shift']());}catch(_0x7908cf){_0x350db7['push'](_0x350db7['shift']());}}}(a72_0x43c4,0x653bd));import a72_0xde28b5 from'./BaseLine';class Polyline extends a72_0xde28b5{constructor(_0x758a9c){var _0x18b7ef=a72_0x2bc8;super(),this[_0x18b7ef(0xff)]=_0x18b7ef(0x103),this[_0x18b7ef(0xfe)](_0x758a9c);}[a72_0x46c40d(0x106)](){var _0x9889ed=a72_0x46c40d;this[_0x9889ed(0xfe)](this[_0x9889ed(0x104)]);}[a72_0x46c40d(0x100)](_0x12fb77,_0x5eb486){var _0x5cfcb1=a72_0x46c40d;_0x5eb486>=0x0&&_0x5eb486<this[_0x5cfcb1(0x104)][_0x5cfcb1(0x105)]&&(this['points'][_0x5eb486]=_0x12fb77,this[_0x5cfcb1(0x106)]());}['updateLastPoint'](_0x345fc6){var _0x3bad42=a72_0x46c40d;this[_0x3bad42(0x100)](_0x345fc6,this[_0x3bad42(0x104)][_0x3bad42(0x105)]-0x1);}[a72_0x46c40d(0xf7)](){return![];}[a72_0x46c40d(0x108)](_0x4963d9){var _0x146798=a72_0x46c40d;this[_0x146798(0xfa)]=JSON[_0x146798(0xfd)](JSON[_0x146798(0xf5)](_0x4963d9));}}function a72_0x43c4(){var _0x55ed7a=['parse','setCoordinates','type','updatePoint','38572cxvMsZ','948ehiHkW','LineString','points','length','generate','1517YtRvaL','setStyle','64cXRqYv','25750800cqBXVy','stringify','1826046xEsbuv','isPlot','141197ekQesh','5263893bhCZTD','style','222OhCLop','315VWBZin'];a72_0x43c4=function(){return _0x55ed7a;};return a72_0x43c4();}function a72_0x2bc8(_0x347cf3,_0x1703e9){var _0x43c449=a72_0x43c4();return a72_0x2bc8=function(_0x2bc84c,_0x1f2793){_0x2bc84c=_0x2bc84c-0xf4;var _0x472845=_0x43c449[_0x2bc84c];return _0x472845;},a72_0x2bc8(_0x347cf3,_0x1703e9);}export default Polyline;
@@ -1 +1 @@
1
- (function(_0x379467,_0x30e83e){const _0x3cfe83=a75_0x362c,_0x31fb4b=_0x379467();while(!![]){try{const _0x9e5cad=parseInt(_0x3cfe83(0x8e))/0x1*(-parseInt(_0x3cfe83(0xd0))/0x2)+parseInt(_0x3cfe83(0x8d))/0x3*(parseInt(_0x3cfe83(0xc0))/0x4)+parseInt(_0x3cfe83(0xba))/0x5+-parseInt(_0x3cfe83(0xcc))/0x6+-parseInt(_0x3cfe83(0xcb))/0x7+-parseInt(_0x3cfe83(0x97))/0x8*(-parseInt(_0x3cfe83(0xa0))/0x9)+-parseInt(_0x3cfe83(0xa8))/0xa*(parseInt(_0x3cfe83(0xaa))/0xb);if(_0x9e5cad===_0x30e83e)break;else _0x31fb4b['push'](_0x31fb4b['shift']());}catch(_0x50d492){_0x31fb4b['push'](_0x31fb4b['shift']());}}}(a75_0x10ec,0x231b3));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';function a75_0x10ec(){const _0x30196d=['scale','TOP','4agLYkU','MultiPolygon','.png','getType','text','getContext','drawImage','getPixelFromCoordinate','horizontalOrigin','image','imgUrl','114156iYbcii','449952JVKJBL','show','restore','pixelOffset','8bPJnCH','pixelOffsetY','getFlatInteriorPoint','modelKind','642909GUkhKW','47668BUMAGS','color','stringify','verticalOrigin','model/','data','zIndex','height','parse','876776kQNtIz','pixelRatio','pixelSize','putImageData','save','getStride','replace','rotation','match','9IsnTos','changeColor','globalAlpha','LEFT','translate','pixelOffsetX','toUpperCase','opacity','241880VotqwL','context','11iojbQJ','rotate','getImageData','width','model','point','markerColor','CENTER','MultiLineString','LineString','outlineColor','MultiPoint','getFlatInteriorPoints','canvas','push','label','630275XfbdVH','length','radius','billboard'];a75_0x10ec=function(){return _0x30196d;};return a75_0x10ec();}import a75_0x320375 from'ol/style/Style';import a75_0x102ce8 from'ol/style/Circle';import a75_0x373067 from'ol/style/Fill';import a75_0x3ab6fa from'ol/style/Stroke';function getMainStyle(_0x430fd1,_0x1e1610=0x0,_0xc0b9e5){const _0x3bc649=a75_0x362c;let _0x1a111e;return _0x430fd1['image']||_0x430fd1[_0x3bc649(0xb0)]?_0x1a111e=new a75_0x320375({'renderer':(_0x2ef664,_0x28072d)=>{preLoadImageRenderFunction(_0x430fd1,_0x2ef664,_0x28072d,_0xc0b9e5,_rendererFunction);},'zIndex':Number(_0x1e1610)}):_0x1a111e=new a75_0x320375({'image':new a75_0x102ce8({'radius':_0x430fd1[_0x3bc649(0xbc)]?_0x430fd1[_0x3bc649(0xbc)]:_0x430fd1[_0x3bc649(0x99)],'fill':new a75_0x373067({'color':getColor(_0x430fd1['color'],_0x430fd1[_0x3bc649(0xa7)])}),'stroke':_0x430fd1['outline']&&_0x430fd1['outlineColor']?new a75_0x3ab6fa({'color':getColor(_0x430fd1[_0x3bc649(0xb4)],_0x430fd1['outlineOpacity']),'width':_0x430fd1['outlineWidth']}):undefined}),'zIndex':Number(_0x1e1610)}),_0x1a111e;}function _rendererFunction(_0x1c1594,_0x3577d2,_0x58ba42,_0x4d71c4,_0x1a1f7b){const _0x5beedd=a75_0x362c;if(!_0x1a1f7b||_0x1a1f7b['width']===0x0){let _0x154e81=new Image();_0x154e81['src']=_0x1c1594['image'];}if(_0x1c1594[_0x5beedd(0xa1)]&&_0x1c1594[_0x5beedd(0x8f)]!==''){let _0x429e3b=_0x1c1594['scale']||0x1,_0x12618d=_0x1c1594[_0x5beedd(0xad)]||_0x1a1f7b[_0x5beedd(0xad)]*_0x429e3b,_0x230e5e=_0x1c1594['height']||_0x1a1f7b[_0x5beedd(0x95)]*_0x429e3b;_0x12618d=_0x12618d*_0x58ba42['pixelRatio'],_0x230e5e=_0x230e5e*_0x58ba42[_0x5beedd(0x98)];const _0x561e5f=document['createElement'](_0x5beedd(0xb7));_0x561e5f['width']=_0x12618d,_0x561e5f[_0x5beedd(0x95)]=_0x230e5e;const _0x1b2c85=_0x561e5f[_0x5beedd(0xc5)]('2d');_0x1b2c85===null||_0x1b2c85===void 0x0?void 0x0:_0x1b2c85['drawImage'](_0x1a1f7b,0x0,0x0,_0x12618d,_0x230e5e);let _0x3226ed=_0x1b2c85===null||_0x1b2c85===void 0x0?void 0x0:_0x1b2c85[_0x5beedd(0xac)](0x0,0x0,_0x12618d,_0x230e5e),_0xd55865=_0x3226ed===null||_0x3226ed===void 0x0?void 0x0:_0x3226ed[_0x5beedd(0x93)];_0x1a1f7b=_0x561e5f;let _0x4d410b=HexToRgb(_0x1c1594[_0x5beedd(0x8f)]);if(_0xd55865&&_0x4d410b)for(var _0x2fff2a=0x0;_0x2fff2a<_0xd55865[_0x5beedd(0xbb)];_0x2fff2a+=0x4){_0xd55865[_0x2fff2a]=_0x4d410b[0x0],_0xd55865[_0x2fff2a+0x1]=_0x4d410b[0x1],_0xd55865[_0x2fff2a+0x2]=_0x4d410b[0x2];}_0x3226ed&&(_0x1b2c85===null||_0x1b2c85===void 0x0?void 0x0:_0x1b2c85[_0x5beedd(0x9a)](_0x3226ed,0x0,0x0));}let _0x520bed=_0x58ba42['geometry'],_0xa95541=_0x58ba42[_0x5beedd(0x98)],_0x40fd8e=_0x520bed[_0x5beedd(0x9c)](),_0x3d1c07=_0x520bed[_0x5beedd(0xc3)](),_0x49f5f3=[];switch(_0x3d1c07){case _0x5beedd(0xb3):_0x49f5f3=_0x520bed['getFlatMidpoint']();break;case _0x5beedd(0xb2):_0x49f5f3=_0x520bed['getFlatMidpoints'](),_0x40fd8e=0x2;break;case'Polygon':_0x49f5f3=_0x520bed[_0x5beedd(0xd2)](),_0x40fd8e=0x3;break;case _0x5beedd(0xc1):{let _0x3d78e0=_0x520bed[_0x5beedd(0xb6)]();_0x49f5f3=[];for(let _0x47482c=0x0,_0x32b873=_0x3d78e0['length'];_0x47482c<_0x32b873;_0x47482c+=0x3){_0x49f5f3['push'](_0x3d78e0[_0x47482c],_0x3d78e0[_0x47482c+0x1]);}if(_0x49f5f3['length']===0x0)return;_0x40fd8e=0x2;break;}}if(_0x49f5f3[_0x5beedd(0xbb)]>0x0&&_0x4d71c4)for(let _0x424e09=0x0,_0x2200fe=_0x49f5f3['length'];_0x424e09<_0x2200fe;_0x424e09+=_0x40fd8e){let _0x379226=[_0x49f5f3[_0x424e09],_0x49f5f3[_0x424e09+0x1]],_0x203a86=_0x4d71c4[_0x5beedd(0xc7)](_0x379226);_0x203a86=[_0x203a86[0x0]*_0xa95541,_0x203a86[0x1]*_0xa95541],drawImage(_0x1c1594,_0x203a86,_0x58ba42,_0x1a1f7b);}else{if(_0x3d1c07===_0x5beedd(0xb5))for(let _0xd4662b of _0x3577d2){drawImage(_0x1c1594,_0xd4662b,_0x58ba42,_0x1a1f7b);}else drawImage(_0x1c1594,_0x3577d2,_0x58ba42,_0x1a1f7b);}}function HexToRgb(_0x370564){const _0x26d134=a75_0x362c;_0x370564=_0x370564[_0x26d134(0x9d)]('#','');let _0x222656=_0x370564[_0x26d134(0x9f)](/../g);if(_0x222656){for(let _0x130063=0x0;_0x130063<0x3;_0x130063++)_0x222656[_0x130063]=parseInt(_0x222656[_0x130063],0x10);}return _0x222656;}export function getImageOlStyle(_0x201cbc,_0x497bc9,_0x1ca792,_0x18e869){const _0x129baf=a75_0x362c;var _0x3f7ccb;if(_0x201cbc&&_0x201cbc['show']!==![]){_0x201cbc=JSON[_0x129baf(0x96)](JSON[_0x129baf(0x90)](_0x201cbc)),_0x497bc9=(_0x3f7ccb=_0x201cbc[_0x129baf(0x94)])!==null&&_0x3f7ccb!==void 0x0?_0x3f7ccb:_0x497bc9;let _0x27668c=isShowStyle(_0x201cbc,_0x1ca792,_0x18e869);if(_0x27668c)return _0x201cbc[_0x129baf(0xc9)]=parseImage(_0x201cbc['image']),getMainStyle(_0x201cbc,_0x497bc9,_0x18e869);}}export function getPointStyle(_0x51f4bf,_0x595cea,_0x3f425e,_0x5689da){const _0x40f215=a75_0x362c;var _0x4c03bf,_0x20bf56;_0x51f4bf=JSON[_0x40f215(0x96)](JSON[_0x40f215(0x90)](_0x51f4bf));let _0x1db5df=(_0x4c03bf=_0x51f4bf[_0x40f215(0x94)])!==null&&_0x4c03bf!==void 0x0?_0x4c03bf:0x0,_0x278a5f=[],_0x20e941=getImageOlStyle(_0x51f4bf,_0x1db5df,_0x3f425e,_0x5689da);_0x20e941&&_0x278a5f[_0x40f215(0xb8)](_0x20e941);let _0x37645d=getImageOlStyle(_0x51f4bf['billboard'],_0x1db5df,_0x3f425e,_0x5689da);_0x37645d&&_0x278a5f[_0x40f215(0xb8)](_0x37645d);if(_0x51f4bf['model']&&_0x51f4bf['model']['show']!==![]){let _0x5ac857=isShowStyle(_0x51f4bf[_0x40f215(0xae)],_0x3f425e,_0x5689da);if(_0x5ac857){let _0x43ec19=(_0x20bf56=_0x51f4bf[_0x40f215(0xae)][_0x40f215(0x94)])!==null&&_0x20bf56!==void 0x0?_0x20bf56:_0x1db5df,_0x1f23ae=_0x51f4bf[_0x40f215(0xae)][_0x40f215(0xca)]||_0x40f215(0x92)+_0x51f4bf[_0x40f215(0xae)][_0x40f215(0x8c)]+_0x40f215(0xc2);_0x51f4bf[_0x40f215(0xbe)]=0x1,_0x51f4bf[_0x40f215(0xad)]=0x30,_0x51f4bf[_0x40f215(0x95)]=0x30,_0x51f4bf[_0x40f215(0x91)]=_0x40f215(0xb1),_0x278a5f[_0x40f215(0xb8)](getMainStyle(_0x51f4bf['model'],_0x43ec19,_0x5689da));}}if(_0x51f4bf['label']&&_0x51f4bf['label'][_0x40f215(0xcd)]!==![]){let _0x1ba6c4=new a75_0x320375({'text':createTextStyle(_0x51f4bf[_0x40f215(0xb9)],_0x595cea,_0x3f425e,_0x5689da),'zIndex':Number(_0x1db5df)+0x1});_0x278a5f['push'](_0x1ba6c4);}return _0x278a5f;}export function getPointSingleStyle(_0x2e743b,_0x42057c,_0x26961f,_0x4f941b){const _0x43e8e0=a75_0x362c;_0x42057c=JSON[_0x43e8e0(0x96)](JSON['stringify'](_0x42057c));let _0x43469d=_0x42057c['label'],_0x5a3510;_0x43469d&&(_0x5a3510=_0x43469d[_0x43e8e0(0xc4)]?_0x43469d[_0x43e8e0(0xc4)]:'');if(_0x2e743b===_0x43e8e0(0xbd))return _0x42057c['image']=parseImage(_0x42057c[_0x43e8e0(0xc9)]),getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);else{if(_0x2e743b===_0x43e8e0(0xae)){let _0x2e77c2=_0x42057c[_0x43e8e0(0xca)]||'model/'+_0x42057c[_0x43e8e0(0x8c)]+_0x43e8e0(0xc2);return _0x42057c[_0x43e8e0(0xbe)]=0x1,_0x42057c[_0x43e8e0(0xad)]=0x30,_0x42057c[_0x43e8e0(0x95)]=0x30,_0x42057c[_0x43e8e0(0x91)]=_0x43e8e0(0xb1),getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);}else{if(_0x2e743b==='cloud')return getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);else{if(_0x2e743b===_0x43e8e0(0xaf))return getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);else return _0x2e743b===_0x43e8e0(0xb9)?new a75_0x320375({'text':createTextStyle(_0x42057c,_0x42057c[_0x43e8e0(0xc4)],_0x26961f,_0x4f941b),'zIndex':_0x42057c[_0x43e8e0(0x94)]}):getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);}}}}function a75_0x362c(_0x21c137,_0x562591){const _0x10ec00=a75_0x10ec();return a75_0x362c=function(_0x362cf4,_0x5692a2){_0x362cf4=_0x362cf4-0x8c;let _0x378f07=_0x10ec00[_0x362cf4];return _0x378f07;},a75_0x362c(_0x21c137,_0x562591);}function drawImage(_0x1e4a24,_0x5bdb2d,_0xd2ef92,_0x2c1382){const _0x11ba68=a75_0x362c;var _0x466006,_0x1bff72,_0x48a3c8,_0x127d11;let _0x570b21=_0xd2ef92[_0x11ba68(0xa9)];try{_0x570b21[_0x11ba68(0x9b)]();let _0x1ceec6=Number(_0x1e4a24[_0x11ba68(0xa5)]||((_0x466006=_0x1e4a24['pixelOffset'])===null||_0x466006===void 0x0?void 0x0:_0x466006[0x0])||0x0),_0x5051dd=Number(_0x1e4a24[_0x11ba68(0xd1)]||((_0x1bff72=_0x1e4a24[_0x11ba68(0xcf)])===null||_0x1bff72===void 0x0?void 0x0:_0x1bff72[0x1])||0x0);_0x570b21[_0x11ba68(0xa4)](_0x5bdb2d[0x0]+_0x1ceec6,_0x5bdb2d[0x1]+_0x5051dd);if(_0x1e4a24[_0x11ba68(0x9e)])_0x570b21[_0x11ba68(0xab)](toRadians(_0x1e4a24[_0x11ba68(0x9e)]));_0x570b21[_0x11ba68(0xa2)]=_0x1e4a24['opacity']!=null?_0x1e4a24['opacity']:0x1;if(_0x2c1382['width']>0x0){let _0x182bf2=_0x1e4a24[_0x11ba68(0xbe)]||0x1,_0x47f759=_0x1e4a24[_0x11ba68(0xad)]||_0x2c1382[_0x11ba68(0xad)]*_0x182bf2,_0x1d354b=_0x1e4a24[_0x11ba68(0x95)]||_0x2c1382['height']*_0x182bf2;_0x47f759=_0x47f759*_0xd2ef92[_0x11ba68(0x98)],_0x1d354b=_0x1d354b*_0xd2ef92[_0x11ba68(0x98)];_0x1e4a24['changeColor']&&(_0x47f759=_0x2c1382['width'],_0x1d354b=_0x2c1382[_0x11ba68(0x95)]);let _0x45e20b;switch((_0x48a3c8=_0x1e4a24[_0x11ba68(0xc8)])===null||_0x48a3c8===void 0x0?void 0x0:_0x48a3c8[_0x11ba68(0xa6)]()){default:case _0x11ba68(0xb1):_0x45e20b=-_0x47f759/0x2;break;case _0x11ba68(0xa3):_0x45e20b=0x0;break;case'RIGHT':_0x45e20b=-_0x47f759;break;}let _0x3bc5fa;switch((_0x127d11=_0x1e4a24[_0x11ba68(0x91)])===null||_0x127d11===void 0x0?void 0x0:_0x127d11['toUpperCase']()){default:case'BOTTOM':_0x3bc5fa=-_0x1d354b;break;case _0x11ba68(0xb1):_0x3bc5fa=-_0x1d354b/0x2;break;case _0x11ba68(0xbf):_0x3bc5fa=0x0;break;}_0x570b21[_0x11ba68(0xc6)](_0x2c1382,_0x45e20b,_0x3bc5fa,_0x47f759,_0x1d354b);}else _0x570b21[_0x11ba68(0xc6)](_0x2c1382,0x0,0x0);_0x570b21['restore']();}catch(_0x687a17){_0x570b21[_0x11ba68(0xce)](),console['warn'](_0x687a17);}}
1
+ function a75_0xb173(){const _0x89426f=['show','height','getStride','match','width','billboard','getContext','radius','changeColor','stringify','pixelOffsetY','verticalOrigin','push','context','getFlatMidpoint','drawImage','replace','save','outlineColor','Polygon','MultiPolygon','restore','parse','translate','LineString','cloud','canvas','114hSugeG','3203150KuayFt','model','TOP','horizontalOrigin','modelKind','pixelRatio','getFlatInteriorPoint','opacity','outlineWidth','getPixelFromCoordinate','outline','markerColor','model/','592220ZDllhQ','color','createElement','MultiLineString','92XJSweQ','pixelSize','scale','484994gdyPGF','point','toUpperCase','425117gwTafa','image','src','LEFT','rotation','text','getFlatMidpoints','length','BOTTOM','MultiPoint','data','imgUrl','pixelOffset','CENTER','label','rotate','1202872FEAehJ','358673lePinY','geometry','warn','.png','zIndex','149118tOBNRr','423lrVqce'];a75_0xb173=function(){return _0x89426f;};return a75_0xb173();}(function(_0x3805fb,_0x5e2a42){const _0x57b40d=a75_0x10ae,_0x215bb3=_0x3805fb();while(!![]){try{const _0x3b1cc7=-parseInt(_0x57b40d(0x179))/0x1+-parseInt(_0x57b40d(0x176))/0x2+-parseInt(_0x57b40d(0x144))/0x3*(parseInt(_0x57b40d(0x173))/0x4)+parseInt(_0x57b40d(0x162))/0x5+-parseInt(_0x57b40d(0x161))/0x6*(parseInt(_0x57b40d(0x13f))/0x7)+parseInt(_0x57b40d(0x13e))/0x8+-parseInt(_0x57b40d(0x145))/0x9*(-parseInt(_0x57b40d(0x16f))/0xa);if(_0x3b1cc7===_0x5e2a42)break;else _0x215bb3['push'](_0x215bb3['shift']());}catch(_0x1897c5){_0x215bb3['push'](_0x215bb3['shift']());}}}(a75_0xb173,0xc0e0e));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a75_0x5aac00 from'ol/style/Style';import a75_0x578f06 from'ol/style/Circle';function a75_0x10ae(_0x54c61a,_0x43d809){const _0xb17339=a75_0xb173();return a75_0x10ae=function(_0x10aef6,_0x294a9f){_0x10aef6=_0x10aef6-0x136;let _0x98bdf7=_0xb17339[_0x10aef6];return _0x98bdf7;},a75_0x10ae(_0x54c61a,_0x43d809);}import a75_0x519de3 from'ol/style/Fill';import a75_0x5b6d34 from'ol/style/Stroke';function getMainStyle(_0x2e86dc,_0x10c932=0x0,_0x3edb7d){const _0x53878f=a75_0x10ae;let _0x1bd96e;return _0x2e86dc[_0x53878f(0x17a)]||_0x2e86dc[_0x53878f(0x16d)]?_0x1bd96e=new a75_0x5aac00({'renderer':(_0x36a7b8,_0x174205)=>{preLoadImageRenderFunction(_0x2e86dc,_0x36a7b8,_0x174205,_0x3edb7d,_rendererFunction);},'zIndex':Number(_0x10c932)}):_0x1bd96e=new a75_0x5aac00({'image':new a75_0x578f06({'radius':_0x2e86dc[_0x53878f(0x14d)]?_0x2e86dc[_0x53878f(0x14d)]:_0x2e86dc[_0x53878f(0x174)],'fill':new a75_0x519de3({'color':getColor(_0x2e86dc[_0x53878f(0x170)],_0x2e86dc[_0x53878f(0x169)])}),'stroke':_0x2e86dc[_0x53878f(0x16c)]&&_0x2e86dc[_0x53878f(0x158)]?new a75_0x5b6d34({'color':getColor(_0x2e86dc[_0x53878f(0x158)],_0x2e86dc['outlineOpacity']),'width':_0x2e86dc[_0x53878f(0x16a)]}):undefined}),'zIndex':Number(_0x10c932)}),_0x1bd96e;}function _rendererFunction(_0x2bcd84,_0x5ee92a,_0x4dadbd,_0x2535b8,_0x26fb64){const _0x2bc8eb=a75_0x10ae;if(!_0x26fb64||_0x26fb64['width']===0x0){let _0x4581ea=new Image();_0x4581ea[_0x2bc8eb(0x17b)]=_0x2bcd84[_0x2bc8eb(0x17a)];}if(_0x2bcd84[_0x2bc8eb(0x14e)]&&_0x2bcd84['color']!==''){let _0x56a77f=_0x2bcd84[_0x2bc8eb(0x175)]||0x1,_0x5c8c90=_0x2bcd84[_0x2bc8eb(0x14a)]||_0x26fb64['width']*_0x56a77f,_0x131d83=_0x2bcd84[_0x2bc8eb(0x147)]||_0x26fb64[_0x2bc8eb(0x147)]*_0x56a77f;_0x5c8c90=_0x5c8c90*_0x4dadbd['pixelRatio'],_0x131d83=_0x131d83*_0x4dadbd[_0x2bc8eb(0x167)];const _0x351883=document[_0x2bc8eb(0x171)](_0x2bc8eb(0x160));_0x351883['width']=_0x5c8c90,_0x351883[_0x2bc8eb(0x147)]=_0x131d83;const _0x2dbe50=_0x351883[_0x2bc8eb(0x14c)]('2d');_0x2dbe50===null||_0x2dbe50===void 0x0?void 0x0:_0x2dbe50[_0x2bc8eb(0x155)](_0x26fb64,0x0,0x0,_0x5c8c90,_0x131d83);let _0x79e8aa=_0x2dbe50===null||_0x2dbe50===void 0x0?void 0x0:_0x2dbe50['getImageData'](0x0,0x0,_0x5c8c90,_0x131d83),_0x5abde5=_0x79e8aa===null||_0x79e8aa===void 0x0?void 0x0:_0x79e8aa[_0x2bc8eb(0x138)];_0x26fb64=_0x351883;let _0x40989f=HexToRgb(_0x2bcd84[_0x2bc8eb(0x170)]);if(_0x5abde5&&_0x40989f)for(var _0xcbdf66=0x0;_0xcbdf66<_0x5abde5['length'];_0xcbdf66+=0x4){_0x5abde5[_0xcbdf66]=_0x40989f[0x0],_0x5abde5[_0xcbdf66+0x1]=_0x40989f[0x1],_0x5abde5[_0xcbdf66+0x2]=_0x40989f[0x2];}_0x79e8aa&&(_0x2dbe50===null||_0x2dbe50===void 0x0?void 0x0:_0x2dbe50['putImageData'](_0x79e8aa,0x0,0x0));}let _0x1ba1ad=_0x4dadbd[_0x2bc8eb(0x140)],_0xe934cc=_0x4dadbd[_0x2bc8eb(0x167)],_0x39d1a6=_0x1ba1ad[_0x2bc8eb(0x148)](),_0x4b244f=_0x1ba1ad['getType'](),_0x2fa2b2=[];switch(_0x4b244f){case _0x2bc8eb(0x15e):_0x2fa2b2=_0x1ba1ad[_0x2bc8eb(0x154)]();break;case _0x2bc8eb(0x172):_0x2fa2b2=_0x1ba1ad[_0x2bc8eb(0x17f)](),_0x39d1a6=0x2;break;case _0x2bc8eb(0x159):_0x2fa2b2=_0x1ba1ad[_0x2bc8eb(0x168)](),_0x39d1a6=0x3;break;case _0x2bc8eb(0x15a):{let _0x3c55f2=_0x1ba1ad['getFlatInteriorPoints']();_0x2fa2b2=[];for(let _0x40a128=0x0,_0x1e7a99=_0x3c55f2[_0x2bc8eb(0x180)];_0x40a128<_0x1e7a99;_0x40a128+=0x3){_0x2fa2b2[_0x2bc8eb(0x152)](_0x3c55f2[_0x40a128],_0x3c55f2[_0x40a128+0x1]);}if(_0x2fa2b2['length']===0x0)return;_0x39d1a6=0x2;break;}}if(_0x2fa2b2[_0x2bc8eb(0x180)]>0x0&&_0x2535b8)for(let _0x58206f=0x0,_0x3eda61=_0x2fa2b2[_0x2bc8eb(0x180)];_0x58206f<_0x3eda61;_0x58206f+=_0x39d1a6){let _0xc01af5=[_0x2fa2b2[_0x58206f],_0x2fa2b2[_0x58206f+0x1]],_0x1b1e0f=_0x2535b8[_0x2bc8eb(0x16b)](_0xc01af5);_0x1b1e0f=[_0x1b1e0f[0x0]*_0xe934cc,_0x1b1e0f[0x1]*_0xe934cc],drawImage(_0x2bcd84,_0x1b1e0f,_0x4dadbd,_0x26fb64);}else{if(_0x4b244f===_0x2bc8eb(0x137))for(let _0x28165d of _0x5ee92a){drawImage(_0x2bcd84,_0x28165d,_0x4dadbd,_0x26fb64);}else drawImage(_0x2bcd84,_0x5ee92a,_0x4dadbd,_0x26fb64);}}function HexToRgb(_0x5cdedb){const _0x154d10=a75_0x10ae;_0x5cdedb=_0x5cdedb[_0x154d10(0x156)]('#','');let _0x27090b=_0x5cdedb[_0x154d10(0x149)](/../g);if(_0x27090b){for(let _0x50e88d=0x0;_0x50e88d<0x3;_0x50e88d++)_0x27090b[_0x50e88d]=parseInt(_0x27090b[_0x50e88d],0x10);}return _0x27090b;}export function getImageOlStyle(_0x2ea791,_0x522028,_0x4e67a3,_0x38fec9){const _0x40aad3=a75_0x10ae;var _0x334c49;if(_0x2ea791&&_0x2ea791[_0x40aad3(0x146)]!==![]){_0x2ea791=JSON[_0x40aad3(0x15c)](JSON[_0x40aad3(0x14f)](_0x2ea791)),_0x522028=(_0x334c49=_0x2ea791[_0x40aad3(0x143)])!==null&&_0x334c49!==void 0x0?_0x334c49:_0x522028;let _0x1fbfc4=isShowStyle(_0x2ea791,_0x4e67a3,_0x38fec9);if(_0x1fbfc4)return _0x2ea791[_0x40aad3(0x17a)]=parseImage(_0x2ea791[_0x40aad3(0x17a)]),getMainStyle(_0x2ea791,_0x522028,_0x38fec9);}}export function getPointStyle(_0xef3075,_0x53b686,_0x43261e,_0x295e29){const _0x30ee1d=a75_0x10ae;var _0x3c9413,_0x2f597e;_0xef3075=JSON[_0x30ee1d(0x15c)](JSON[_0x30ee1d(0x14f)](_0xef3075));let _0x7dc7e4=(_0x3c9413=_0xef3075[_0x30ee1d(0x143)])!==null&&_0x3c9413!==void 0x0?_0x3c9413:0x0,_0x172d77=[],_0xe652f9=getImageOlStyle(_0xef3075,_0x7dc7e4,_0x43261e,_0x295e29);_0xe652f9&&_0x172d77[_0x30ee1d(0x152)](_0xe652f9);let _0x52ff89=getImageOlStyle(_0xef3075[_0x30ee1d(0x14b)],_0x7dc7e4,_0x43261e,_0x295e29);_0x52ff89&&_0x172d77[_0x30ee1d(0x152)](_0x52ff89);if(_0xef3075[_0x30ee1d(0x163)]&&_0xef3075['model'][_0x30ee1d(0x146)]!==![]){let _0x8069e6=isShowStyle(_0xef3075[_0x30ee1d(0x163)],_0x43261e,_0x295e29);if(_0x8069e6){let _0x4ab163=(_0x2f597e=_0xef3075[_0x30ee1d(0x163)]['zIndex'])!==null&&_0x2f597e!==void 0x0?_0x2f597e:_0x7dc7e4,_0x10386c=_0xef3075[_0x30ee1d(0x163)][_0x30ee1d(0x139)]||_0x30ee1d(0x16e)+_0xef3075[_0x30ee1d(0x163)][_0x30ee1d(0x166)]+_0x30ee1d(0x142);_0xef3075['scale']=0x1,_0xef3075[_0x30ee1d(0x14a)]=0x30,_0xef3075[_0x30ee1d(0x147)]=0x30,_0xef3075[_0x30ee1d(0x151)]=_0x30ee1d(0x13b),_0x172d77[_0x30ee1d(0x152)](getMainStyle(_0xef3075[_0x30ee1d(0x163)],_0x4ab163,_0x295e29));}}if(_0xef3075[_0x30ee1d(0x13c)]&&_0xef3075['label'][_0x30ee1d(0x146)]!==![]){let _0x56b338=new a75_0x5aac00({'text':createTextStyle(_0xef3075[_0x30ee1d(0x13c)],_0x53b686,_0x43261e,_0x295e29),'zIndex':Number(_0x7dc7e4)+0x1});_0x172d77[_0x30ee1d(0x152)](_0x56b338);}return _0x172d77;}export function getPointSingleStyle(_0x6e411a,_0x3b48c1,_0x35ee54,_0x468139){const _0x2cebf4=a75_0x10ae;_0x3b48c1=JSON[_0x2cebf4(0x15c)](JSON[_0x2cebf4(0x14f)](_0x3b48c1));let _0x5dc931=_0x3b48c1[_0x2cebf4(0x13c)],_0x1d7655;_0x5dc931&&(_0x1d7655=_0x5dc931[_0x2cebf4(0x17e)]?_0x5dc931[_0x2cebf4(0x17e)]:'');if(_0x6e411a===_0x2cebf4(0x14b))return _0x3b48c1[_0x2cebf4(0x17a)]=parseImage(_0x3b48c1[_0x2cebf4(0x17a)]),getPointStyle(_0x3b48c1,_0x1d7655,_0x35ee54,_0x468139);else{if(_0x6e411a===_0x2cebf4(0x163)){let _0x12bec4=_0x3b48c1[_0x2cebf4(0x139)]||_0x2cebf4(0x16e)+_0x3b48c1[_0x2cebf4(0x166)]+'.png';return _0x3b48c1['scale']=0x1,_0x3b48c1['width']=0x30,_0x3b48c1[_0x2cebf4(0x147)]=0x30,_0x3b48c1[_0x2cebf4(0x151)]=_0x2cebf4(0x13b),getPointStyle(_0x3b48c1,_0x1d7655,_0x35ee54,_0x468139);}else{if(_0x6e411a===_0x2cebf4(0x15f))return getPointStyle(_0x3b48c1,_0x1d7655,_0x35ee54,_0x468139);else{if(_0x6e411a===_0x2cebf4(0x177))return getPointStyle(_0x3b48c1,_0x1d7655,_0x35ee54,_0x468139);else return _0x6e411a===_0x2cebf4(0x13c)?new a75_0x5aac00({'text':createTextStyle(_0x3b48c1,_0x3b48c1[_0x2cebf4(0x17e)],_0x35ee54,_0x468139),'zIndex':_0x3b48c1[_0x2cebf4(0x143)]}):getPointStyle(_0x3b48c1,_0x1d7655,_0x35ee54,_0x468139);}}}}function drawImage(_0x5f15f5,_0x626030,_0xa69333,_0x58d140){const _0x1b966e=a75_0x10ae;var _0x16b380,_0x2ba18b,_0x47280d,_0x3607e4;let _0x156c36=_0xa69333[_0x1b966e(0x153)];try{_0x156c36[_0x1b966e(0x157)]();let _0x1f5387=Number(_0x5f15f5['pixelOffsetX']||((_0x16b380=_0x5f15f5[_0x1b966e(0x13a)])===null||_0x16b380===void 0x0?void 0x0:_0x16b380[0x0])||0x0),_0x51e400=Number(_0x5f15f5[_0x1b966e(0x150)]||((_0x2ba18b=_0x5f15f5['pixelOffset'])===null||_0x2ba18b===void 0x0?void 0x0:_0x2ba18b[0x1])||0x0);_0x156c36[_0x1b966e(0x15d)](_0x626030[0x0]+_0x1f5387,_0x626030[0x1]+_0x51e400);if(_0x5f15f5[_0x1b966e(0x17d)])_0x156c36[_0x1b966e(0x13d)](toRadians(_0x5f15f5[_0x1b966e(0x17d)]));_0x156c36['globalAlpha']=_0x5f15f5[_0x1b966e(0x169)]!=null?_0x5f15f5[_0x1b966e(0x169)]:0x1;if(_0x58d140[_0x1b966e(0x14a)]>0x0){let _0x1d73cb=_0x5f15f5[_0x1b966e(0x175)]||0x1,_0x268654=_0x5f15f5[_0x1b966e(0x14a)]||_0x58d140[_0x1b966e(0x14a)]*_0x1d73cb,_0x4deb92=_0x5f15f5['height']||_0x58d140['height']*_0x1d73cb;_0x268654=_0x268654*_0xa69333[_0x1b966e(0x167)],_0x4deb92=_0x4deb92*_0xa69333['pixelRatio'];_0x5f15f5[_0x1b966e(0x14e)]&&(_0x268654=_0x58d140[_0x1b966e(0x14a)],_0x4deb92=_0x58d140[_0x1b966e(0x147)]);let _0x2624df;switch((_0x47280d=_0x5f15f5[_0x1b966e(0x165)])===null||_0x47280d===void 0x0?void 0x0:_0x47280d[_0x1b966e(0x178)]()){default:case _0x1b966e(0x13b):_0x2624df=-_0x268654/0x2;break;case _0x1b966e(0x17c):_0x2624df=0x0;break;case'RIGHT':_0x2624df=-_0x268654;break;}let _0x430e9c;switch((_0x3607e4=_0x5f15f5[_0x1b966e(0x151)])===null||_0x3607e4===void 0x0?void 0x0:_0x3607e4[_0x1b966e(0x178)]()){default:case _0x1b966e(0x136):_0x430e9c=-_0x4deb92;break;case _0x1b966e(0x13b):_0x430e9c=-_0x4deb92/0x2;break;case _0x1b966e(0x164):_0x430e9c=0x0;break;}_0x156c36['drawImage'](_0x58d140,_0x2624df,_0x430e9c,_0x268654,_0x4deb92);}else _0x156c36[_0x1b966e(0x155)](_0x58d140,0x0,0x0);_0x156c36[_0x1b966e(0x15b)]();}catch(_0x440ebd){_0x156c36[_0x1b966e(0x15b)](),console[_0x1b966e(0x141)](_0x440ebd);}}
@@ -1 +1 @@
1
- (function(_0x585d75,_0x234ffb){var _0x58a5ef=a76_0x3ffc,_0x5b577d=_0x585d75();while(!![]){try{var _0x1f1402=parseInt(_0x58a5ef(0x21f))/0x1*(-parseInt(_0x58a5ef(0x1ee))/0x2)+parseInt(_0x58a5ef(0x209))/0x3+parseInt(_0x58a5ef(0x1f6))/0x4+parseInt(_0x58a5ef(0x20e))/0x5*(-parseInt(_0x58a5ef(0x1ec))/0x6)+parseInt(_0x58a5ef(0x213))/0x7*(-parseInt(_0x58a5ef(0x21d))/0x8)+parseInt(_0x58a5ef(0x1ff))/0x9*(-parseInt(_0x58a5ef(0x21b))/0xa)+parseInt(_0x58a5ef(0x225))/0xb;if(_0x1f1402===_0x234ffb)break;else _0x5b577d['push'](_0x5b577d['shift']());}catch(_0x389007){_0x5b577d['push'](_0x5b577d['shift']());}}}(a76_0x1964,0x84db2));function a76_0x3ffc(_0x19d172,_0x5da126){var _0x19640c=a76_0x1964();return a76_0x3ffc=function(_0x3ffc51,_0x18206b){_0x3ffc51=_0x3ffc51-0x1ea;var _0x4f3ff0=_0x19640c[_0x3ffc51];return _0x4f3ff0;},a76_0x3ffc(_0x19d172,_0x5da126);}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(_0x29fe52,_0x1b0509,_0x1f6ce6,_0xfb08f){var _0x37cdf9=a76_0x3ffc,_0x3f2076;let _0x119971=(_0x3f2076=_0x29fe52[_0x37cdf9(0x227)])!==null&&_0x3f2076!==void 0x0?_0x3f2076:0x0,_0x1e02f7=new Style();_0x1e02f7[_0x37cdf9(0x202)](_0x119971),_0x1e02f7['setFill'](new Fill({'color':_0x37cdf9(0x20f)}));if(_0x29fe52[_0x37cdf9(0x1f5)]!==![]){if(!_0x29fe52[_0x37cdf9(0x1fd)]||_0x29fe52[_0x37cdf9(0x1fd)]===_0x37cdf9(0x1ea))_0x1e02f7[_0x37cdf9(0x20d)](new Fill({'color':getColor(_0x29fe52[_0x37cdf9(0x1ea)],_0x29fe52[_0x37cdf9(0x222)])}));else{if(_0x29fe52[_0x37cdf9(0x1fd)]===_0x37cdf9(0x1fe))_0x1e02f7[_0x37cdf9(0x1f2)]((_0x46f4b7,_0x1172ad)=>{preLoadImageRenderFunction(_0x29fe52,_0x46f4b7,_0x1172ad,_0xfb08f,_rendererFunction);});else _0x29fe52[_0x37cdf9(0x1fd)]==='grid'||_0x29fe52[_0x37cdf9(0x1fd)]===_0x37cdf9(0x1f4)||_0x29fe52['fillType']==='checkerboard'?_0x1e02f7[_0x37cdf9(0x1f2)]((_0x291119,_0x452068)=>{_rendererFunction(_0x29fe52,_0x291119,_0x452068,_0xfb08f,null);}):_0x1e02f7[_0x37cdf9(0x20d)](new Fill({'color':getColor(_0x29fe52[_0x37cdf9(0x1ea)],_0x29fe52['opacity'])}));}}_0x29fe52['outline']!==![]&&_0x1e02f7[_0x37cdf9(0x219)](new Stroke({'color':getColor(_0x29fe52[_0x37cdf9(0x20b)],_0x29fe52[_0x37cdf9(0x211)]),'width':_0x29fe52[_0x37cdf9(0x21e)]}));let _0x243dc5=[_0x1e02f7];_0x29fe52[_0x37cdf9(0x218)]&&!_0x29fe52[_0x37cdf9(0x218)][_0x37cdf9(0x223)]&&(_0x29fe52['billboard'][_0x37cdf9(0x223)]=_0x37cdf9(0x205));let _0x207db8=getImageOlStyle(_0x29fe52['billboard'],_0x119971,_0x1f6ce6,_0xfb08f);_0x207db8&&_0x243dc5['push'](_0x207db8);if(_0x1b0509){const _0x590305=createTextStyle(_0x29fe52,_0x1b0509,_0x1f6ce6,_0xfb08f);_0x590305&&(_0x1e02f7[_0x37cdf9(0x204)](_0x590305),_0x1e02f7[_0x37cdf9(0x202)](Number(_0x119971)+0x1));}return _0x243dc5;}function _rendererFunction(_0xf9269c,_0x433764,_0x40d05b,_0x13dceb,_0x561219){var _0x504043=a76_0x3ffc;try{var _0xa68a75=_0x40d05b[_0x504043(0x1ef)];for(var _0x1db637=0x0,_0x14a1c5=_0x433764[_0x504043(0x207)];_0x1db637<_0x14a1c5;_0x1db637++){_0xa68a75[_0x504043(0x1f8)](),_0xa68a75[_0x504043(0x1f0)]();var _0xd9623e=_0x433764[_0x1db637];let _0x54a52c=boundingExtent(_0xd9623e);_0xa68a75['translate'](_0x54a52c[0x0],_0x54a52c[0x1]);let _0x6b5011;switch(_0xf9269c[_0x504043(0x1fd)]){case _0x504043(0x1fe):_0x6b5011=_getImagePattern(_0xa68a75,_0x54a52c,_0xf9269c,_0x561219);break;case _0x504043(0x228):_0x6b5011=_getGridPattern(_0xa68a75,_0x54a52c,_0xf9269c);break;case _0x504043(0x1f4):_0x6b5011=_getStripePattern(_0xa68a75,_0x54a52c,_0xf9269c);break;case _0x504043(0x221):_0x6b5011=_getCheckerBoardPattern(_0xa68a75,_0x54a52c,_0xf9269c);break;default:_0x6b5011=_0x504043(0x226);break;}for(var _0x34ea19=0x0,_0x1c6702=_0xd9623e[_0x504043(0x207)];_0x34ea19<_0x1c6702;_0x34ea19++){var _0x33e161=_0xd9623e[_0x34ea19];_0x34ea19===0x0?_0xa68a75[_0x504043(0x201)](_0x33e161[0x0]-_0x54a52c[0x0],_0x33e161[0x1]-_0x54a52c[0x1]):_0xa68a75[_0x504043(0x216)](_0x33e161[0x0]-_0x54a52c[0x0],_0x33e161[0x1]-_0x54a52c[0x1]);}_0xa68a75[_0x504043(0x1f3)](),_0xa68a75['fillStyle']='rgba(0,0,0,0.01)',_0xa68a75[_0x504043(0x1f5)](),_0xa68a75['fillStyle']=_0x6b5011,_0xa68a75[_0x504043(0x1f5)](),_0xf9269c[_0x504043(0x1fb)]?(_0xa68a75[_0x504043(0x1f1)]=getColor(_0xf9269c[_0x504043(0x20b)],_0xf9269c[_0x504043(0x211)]),_0xa68a75[_0x504043(0x215)]=_0xf9269c[_0x504043(0x21e)]):_0xa68a75[_0x504043(0x1f1)]=_0x504043(0x1eb),_0xa68a75[_0x504043(0x1f9)](),_0xa68a75[_0x504043(0x21c)]();}}catch(_0x3b4bd7){_0xa68a75[_0x504043(0x21c)](),console[_0x504043(0x220)](_0x3b4bd7);}}function _getImagePattern(_0x371ac4,_0x2331b5,_0x2a0daf,_0x399fdf){var _0x2ed9a1=a76_0x3ffc;if(!_0x399fdf||_0x399fdf['width']===0x0){let _0x259d8e=new Image();_0x259d8e[_0x2ed9a1(0x20a)]=_0x2a0daf['image'];}var _0x1db34f=getSize(_0x2331b5);const _0xdc9a76=document[_0x2ed9a1(0x224)](_0x2ed9a1(0x217)),_0x1a346c=_0xdc9a76['getContext']('2d');return _0xdc9a76[_0x2ed9a1(0x21a)]=Math[_0x2ed9a1(0x203)](_0x1db34f[0x0]/_0x2a0daf['repeatX'],0x1),_0xdc9a76[_0x2ed9a1(0x206)]=Math[_0x2ed9a1(0x203)](_0x1db34f[0x1]/_0x2a0daf['repeatY'],0x1),_0x1a346c&&(_0x1a346c['globalAlpha']=_0x2a0daf[_0x2ed9a1(0x222)],_0x1a346c[_0x2ed9a1(0x214)](_0x399fdf,0x0,0x0,_0xdc9a76[_0x2ed9a1(0x21a)],_0xdc9a76[_0x2ed9a1(0x206)])),_0x371ac4['createPattern'](_0xdc9a76,'repeat');}function _getGridPattern(_0x492ce3,_0x211a8a,_0x290853){var _0x3f320=a76_0x3ffc,_0x560f9f=getSize(_0x211a8a);const _0x1104b5=document['createElement'](_0x3f320(0x217)),_0x27d60b=_0x1104b5[_0x3f320(0x1fa)]('2d');return _0x1104b5[_0x3f320(0x21a)]=Math[_0x3f320(0x203)](_0x560f9f[0x0]/_0x290853['grid_lineCount'],0x1),_0x1104b5['height']=Math[_0x3f320(0x203)](_0x560f9f[0x1]/_0x290853[_0x3f320(0x1ed)],0x1),_0x27d60b&&(_0x27d60b[_0x3f320(0x1f1)]=getColor(_0x290853[_0x3f320(0x1ea)],_0x290853[_0x3f320(0x222)]),_0x27d60b['lineWidth']=_0x290853[_0x3f320(0x212)]*0x4,_0x27d60b['beginPath'](),_0x27d60b['moveTo'](0x0,_0x1104b5[_0x3f320(0x206)]),_0x27d60b[_0x3f320(0x216)](_0x1104b5['width'],_0x1104b5[_0x3f320(0x206)]),_0x27d60b[_0x3f320(0x201)](_0x1104b5[_0x3f320(0x21a)],0x0),_0x27d60b[_0x3f320(0x216)](_0x1104b5[_0x3f320(0x21a)],_0x1104b5[_0x3f320(0x206)]),_0x27d60b[_0x3f320(0x1f9)]()),_0x492ce3[_0x3f320(0x1fc)](_0x1104b5,_0x3f320(0x200));}function _getStripePattern(_0x76f7ef,_0x457a90,_0x3448b7){var _0x814cff=a76_0x3ffc,_0x29a8f9=getSize(_0x457a90);const _0xac0904=document[_0x814cff(0x224)](_0x814cff(0x217)),_0x21d4a6=_0xac0904[_0x814cff(0x1fa)]('2d');let _0x4b93f4=Math[_0x814cff(0x203)](_0x29a8f9[0x1]/_0x3448b7[_0x814cff(0x210)],0x1);return _0xac0904['width']=_0x29a8f9[0x0],_0xac0904[_0x814cff(0x206)]=_0x4b93f4*0x2,_0x21d4a6&&(_0x21d4a6['beginPath'](),_0x21d4a6[_0x814cff(0x201)](0x0,0x0),_0x21d4a6[_0x814cff(0x216)](_0xac0904['width'],0x0),_0x21d4a6[_0x814cff(0x216)](_0xac0904[_0x814cff(0x21a)],_0x4b93f4),_0x21d4a6[_0x814cff(0x216)](0x0,_0x4b93f4),_0x21d4a6['closePath'](),_0x21d4a6[_0x814cff(0x229)]=getColor(_0x3448b7[_0x814cff(0x208)],_0x3448b7['opacity']),_0x21d4a6[_0x814cff(0x1f5)](),_0x21d4a6[_0x814cff(0x1f0)](),_0x21d4a6[_0x814cff(0x201)](0x0,_0x4b93f4),_0x21d4a6[_0x814cff(0x216)](_0xac0904[_0x814cff(0x21a)],_0x4b93f4),_0x21d4a6[_0x814cff(0x216)](_0xac0904[_0x814cff(0x21a)],_0x4b93f4*0x2),_0x21d4a6[_0x814cff(0x216)](0x0,_0x4b93f4*0x2),_0x21d4a6[_0x814cff(0x1f3)](),_0x21d4a6[_0x814cff(0x229)]=getColor(_0x3448b7[_0x814cff(0x1ea)],_0x3448b7[_0x814cff(0x222)]),_0x21d4a6['fill']()),_0x76f7ef[_0x814cff(0x1fc)](_0xac0904,_0x814cff(0x200));}function _getCheckerBoardPattern(_0x58a21a,_0x10d347,_0x15c04d){var _0x58233a=a76_0x3ffc,_0x22ee4b=getSize(_0x10d347);const _0x54ed0e=document[_0x58233a(0x224)](_0x58233a(0x217)),_0x29b1a2=_0x54ed0e[_0x58233a(0x1fa)]('2d');let _0x3b0e00=Math[_0x58233a(0x203)](_0x22ee4b[0x0]/_0x15c04d['checkerboard_repeat'],0x1),_0x3ebb97=Math['max'](_0x22ee4b[0x1]/_0x15c04d[_0x58233a(0x1f7)],0x1);return _0x54ed0e[_0x58233a(0x21a)]=_0x3b0e00*0x2,_0x54ed0e[_0x58233a(0x206)]=_0x3ebb97*0x2,_0x29b1a2&&(_0x29b1a2['beginPath'](),_0x29b1a2['moveTo'](0x0,0x0),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,0x0),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](0x0,_0x3ebb97),_0x29b1a2['closePath'](),_0x29b1a2[_0x58233a(0x229)]=getColor(_0x15c04d['oddColor'],_0x15c04d[_0x58233a(0x222)]),_0x29b1a2[_0x58233a(0x1f5)](),_0x29b1a2[_0x58233a(0x1f0)](),_0x29b1a2[_0x58233a(0x201)](_0x3b0e00,0x0),_0x29b1a2['lineTo'](_0x54ed0e[_0x58233a(0x21a)],0x0),_0x29b1a2['lineTo'](_0x54ed0e[_0x58233a(0x21a)],_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,_0x3ebb97),_0x29b1a2[_0x58233a(0x1f3)](),_0x29b1a2[_0x58233a(0x229)]=getColor(_0x15c04d['color'],_0x15c04d[_0x58233a(0x222)]),_0x29b1a2[_0x58233a(0x1f5)](),_0x29b1a2[_0x58233a(0x1f0)](),_0x29b1a2[_0x58233a(0x201)](0x0,_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,_0x54ed0e[_0x58233a(0x206)]),_0x29b1a2[_0x58233a(0x216)](0x0,_0x54ed0e[_0x58233a(0x206)]),_0x29b1a2['closePath'](),_0x29b1a2[_0x58233a(0x229)]=getColor(_0x15c04d[_0x58233a(0x1ea)],_0x15c04d[_0x58233a(0x222)]),_0x29b1a2['fill'](),_0x29b1a2['beginPath'](),_0x29b1a2[_0x58233a(0x201)](_0x3b0e00,_0x3ebb97),_0x29b1a2['lineTo'](_0x54ed0e[_0x58233a(0x21a)],_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](_0x54ed0e[_0x58233a(0x21a)],_0x54ed0e[_0x58233a(0x206)]),_0x29b1a2['lineTo'](_0x3b0e00,_0x54ed0e[_0x58233a(0x206)]),_0x29b1a2[_0x58233a(0x1f3)](),_0x29b1a2['fillStyle']=getColor(_0x15c04d[_0x58233a(0x20c)],_0x15c04d['opacity']),_0x29b1a2['fill']()),_0x58a21a['createPattern'](_0x54ed0e,_0x58233a(0x200));}function a76_0x1964(){var _0x1ed833=['lineTo','canvas','billboard','setStroke','width','3460wofgZN','restore','1719752pWvfoW','outlineWidth','6998rdZESc','warn','checkerboard','opacity','verticalOrigin','createElement','21258666ZWUTuz','rgba(0,0,0,0.01)','zIndex','grid','fillStyle','color','rgba(0,0,0,0.0)','60zsQJbt','grid_lineCount','118CwsZis','context','beginPath','strokeStyle','setRenderer','closePath','stripe','fill','18264dPCEkd','checkerboard_repeat','save','stroke','getContext','outline','createPattern','fillType','image','10494iQUllJ','repeat','moveTo','setZIndex','max','setText','CENTER','height','length','stripe_oddcolor','1481940xVOwwW','src','outlineColor','oddColor','setFill','105390cIZzzE','rgba(0,0,0,0)','stripe_repeat','outlineOpacity','grid_lineThickness','28oVJOeH','drawImage','lineWidth'];a76_0x1964=function(){return _0x1ed833;};return a76_0x1964();}
1
+ (function(_0x56f533,_0x438a17){var _0x46f078=a76_0x132c,_0x25322c=_0x56f533();while(!![]){try{var _0x53b387=-parseInt(_0x46f078(0x1d5))/0x1+-parseInt(_0x46f078(0x1a7))/0x2+-parseInt(_0x46f078(0x1ab))/0x3+-parseInt(_0x46f078(0x1a0))/0x4*(-parseInt(_0x46f078(0x1ce))/0x5)+parseInt(_0x46f078(0x1d7))/0x6*(parseInt(_0x46f078(0x1b2))/0x7)+-parseInt(_0x46f078(0x1d3))/0x8*(-parseInt(_0x46f078(0x1c0))/0x9)+parseInt(_0x46f078(0x1d1))/0xa*(parseInt(_0x46f078(0x1bf))/0xb);if(_0x53b387===_0x438a17)break;else _0x25322c['push'](_0x25322c['shift']());}catch(_0x4ce33e){_0x25322c['push'](_0x25322c['shift']());}}}(a76_0x3990,0xeabc6));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';function a76_0x3990(){var _0x99fd0c=['rgba(0,0,0,0.0)','width','canvas','8FQwRwo','translate','rgba(0,0,0,0)','height','getContext','length','stripe_oddcolor','1568590AyjJdV','fillStyle','setFill','CENTER','3384828BioEHa','createElement','src','repeat','setStroke','grid_lineCount','strokeStyle','70qvTMTu','outlineWidth','fill','oddColor','warn','stripe','color','lineTo','max','setZIndex','repeatX','outline','checkerboard_repeat','10109DusPYt','2374659HNMVcL','moveTo','drawImage','restore','fillType','opacity','outlineOpacity','setRenderer','createPattern','save','grid_lineThickness','repeatY','stroke','push','4223090dBaNcr','globalAlpha','rgba(0,0,0,0.01)','15620wmfGKP','outlineColor','8vqiJxw','beginPath','1280616qcZIJC','context','459660yclIUs','checkerboard','closePath','zIndex','lineWidth','billboard','image','verticalOrigin'];a76_0x3990=function(){return _0x99fd0c;};return a76_0x3990();}import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x3800c8,_0x1989b9,_0x278fdb,_0x5b1ce5){var _0x41d898=a76_0x132c,_0x5b656f;let _0x3e2e90=(_0x5b656f=_0x3800c8[_0x41d898(0x198)])!==null&&_0x5b656f!==void 0x0?_0x5b656f:0x0,_0x32dd68=new Style();_0x32dd68[_0x41d898(0x1bb)](_0x3e2e90),_0x32dd68[_0x41d898(0x1a9)](new Fill({'color':_0x41d898(0x1a2)}));if(_0x3800c8['fill']!==![]){if(!_0x3800c8[_0x41d898(0x1c4)]||_0x3800c8['fillType']===_0x41d898(0x1b8))_0x32dd68[_0x41d898(0x1a9)](new Fill({'color':getColor(_0x3800c8[_0x41d898(0x1b8)],_0x3800c8['opacity'])}));else{if(_0x3800c8['fillType']===_0x41d898(0x19b))_0x32dd68[_0x41d898(0x1c7)]((_0x399da8,_0x55d7ea)=>{preLoadImageRenderFunction(_0x3800c8,_0x399da8,_0x55d7ea,_0x5b1ce5,_rendererFunction);});else _0x3800c8['fillType']==='grid'||_0x3800c8[_0x41d898(0x1c4)]==='stripe'||_0x3800c8[_0x41d898(0x1c4)]===_0x41d898(0x1d8)?_0x32dd68['setRenderer']((_0x47510e,_0x2f4063)=>{_rendererFunction(_0x3800c8,_0x47510e,_0x2f4063,_0x5b1ce5,null);}):_0x32dd68[_0x41d898(0x1a9)](new Fill({'color':getColor(_0x3800c8[_0x41d898(0x1b8)],_0x3800c8[_0x41d898(0x1c5)])}));}}_0x3800c8[_0x41d898(0x1bd)]!==![]&&_0x32dd68[_0x41d898(0x1af)](new Stroke({'color':getColor(_0x3800c8[_0x41d898(0x1d2)],_0x3800c8[_0x41d898(0x1c6)]),'width':_0x3800c8[_0x41d898(0x1b3)]}));let _0x38f4b0=[_0x32dd68];_0x3800c8[_0x41d898(0x19a)]&&!_0x3800c8['billboard'][_0x41d898(0x19c)]&&(_0x3800c8[_0x41d898(0x19a)][_0x41d898(0x19c)]=_0x41d898(0x1aa));let _0x118670=getImageOlStyle(_0x3800c8[_0x41d898(0x19a)],_0x3e2e90,_0x278fdb,_0x5b1ce5);_0x118670&&_0x38f4b0[_0x41d898(0x1cd)](_0x118670);if(_0x1989b9){const _0x1ce93c=createTextStyle(_0x3800c8,_0x1989b9,_0x278fdb,_0x5b1ce5);_0x1ce93c&&(_0x32dd68['setText'](_0x1ce93c),_0x32dd68[_0x41d898(0x1bb)](Number(_0x3e2e90)+0x1));}return _0x38f4b0;}function _rendererFunction(_0x457d4c,_0x405274,_0x5ea3f5,_0xa349e1,_0xd89cc2){var _0x3cc00e=a76_0x132c;try{var _0xc877b6=_0x5ea3f5[_0x3cc00e(0x1d6)];for(var _0x2f0213=0x0,_0x3c57c0=_0x405274[_0x3cc00e(0x1a5)];_0x2f0213<_0x3c57c0;_0x2f0213++){_0xc877b6[_0x3cc00e(0x1c9)](),_0xc877b6[_0x3cc00e(0x1d4)]();var _0x4eb87a=_0x405274[_0x2f0213];let _0x5481ef=boundingExtent(_0x4eb87a);_0xc877b6[_0x3cc00e(0x1a1)](_0x5481ef[0x0],_0x5481ef[0x1]);let _0x53e64c;switch(_0x457d4c['fillType']){case'image':_0x53e64c=_getImagePattern(_0xc877b6,_0x5481ef,_0x457d4c,_0xd89cc2);break;case'grid':_0x53e64c=_getGridPattern(_0xc877b6,_0x5481ef,_0x457d4c);break;case _0x3cc00e(0x1b7):_0x53e64c=_getStripePattern(_0xc877b6,_0x5481ef,_0x457d4c);break;case _0x3cc00e(0x1d8):_0x53e64c=_getCheckerBoardPattern(_0xc877b6,_0x5481ef,_0x457d4c);break;default:_0x53e64c='rgba(0,0,0,0.01)';break;}for(var _0x464624=0x0,_0x6ffc86=_0x4eb87a[_0x3cc00e(0x1a5)];_0x464624<_0x6ffc86;_0x464624++){var _0xd64bd2=_0x4eb87a[_0x464624];_0x464624===0x0?_0xc877b6['moveTo'](_0xd64bd2[0x0]-_0x5481ef[0x0],_0xd64bd2[0x1]-_0x5481ef[0x1]):_0xc877b6[_0x3cc00e(0x1b9)](_0xd64bd2[0x0]-_0x5481ef[0x0],_0xd64bd2[0x1]-_0x5481ef[0x1]);}_0xc877b6['closePath'](),_0xc877b6[_0x3cc00e(0x1a8)]=_0x3cc00e(0x1d0),_0xc877b6['fill'](),_0xc877b6[_0x3cc00e(0x1a8)]=_0x53e64c,_0xc877b6[_0x3cc00e(0x1b4)](),_0x457d4c[_0x3cc00e(0x1bd)]?(_0xc877b6[_0x3cc00e(0x1b1)]=getColor(_0x457d4c['outlineColor'],_0x457d4c[_0x3cc00e(0x1c6)]),_0xc877b6[_0x3cc00e(0x199)]=_0x457d4c[_0x3cc00e(0x1b3)]):_0xc877b6[_0x3cc00e(0x1b1)]=_0x3cc00e(0x19d),_0xc877b6[_0x3cc00e(0x1cc)](),_0xc877b6[_0x3cc00e(0x1c3)]();}}catch(_0x58c5dc){_0xc877b6['restore'](),console[_0x3cc00e(0x1b6)](_0x58c5dc);}}function _getImagePattern(_0x12f04b,_0x4e46e9,_0x2fd10b,_0x5e11ed){var _0x54e625=a76_0x132c;if(!_0x5e11ed||_0x5e11ed[_0x54e625(0x19e)]===0x0){let _0x3d6b76=new Image();_0x3d6b76[_0x54e625(0x1ad)]=_0x2fd10b[_0x54e625(0x19b)];}var _0x45ad1a=getSize(_0x4e46e9);const _0x15f8fc=document['createElement']('canvas'),_0x2ad099=_0x15f8fc[_0x54e625(0x1a4)]('2d');return _0x15f8fc[_0x54e625(0x19e)]=Math[_0x54e625(0x1ba)](_0x45ad1a[0x0]/_0x2fd10b[_0x54e625(0x1bc)],0x1),_0x15f8fc[_0x54e625(0x1a3)]=Math[_0x54e625(0x1ba)](_0x45ad1a[0x1]/_0x2fd10b[_0x54e625(0x1cb)],0x1),_0x2ad099&&(_0x2ad099[_0x54e625(0x1cf)]=_0x2fd10b[_0x54e625(0x1c5)],_0x2ad099[_0x54e625(0x1c2)](_0x5e11ed,0x0,0x0,_0x15f8fc[_0x54e625(0x19e)],_0x15f8fc[_0x54e625(0x1a3)])),_0x12f04b[_0x54e625(0x1c8)](_0x15f8fc,_0x54e625(0x1ae));}function _getGridPattern(_0xf73057,_0x509d88,_0x2c5400){var _0x439a45=a76_0x132c,_0x15202f=getSize(_0x509d88);const _0x15338e=document[_0x439a45(0x1ac)](_0x439a45(0x19f)),_0x4a6e87=_0x15338e[_0x439a45(0x1a4)]('2d');return _0x15338e[_0x439a45(0x19e)]=Math['max'](_0x15202f[0x0]/_0x2c5400[_0x439a45(0x1b0)],0x1),_0x15338e[_0x439a45(0x1a3)]=Math[_0x439a45(0x1ba)](_0x15202f[0x1]/_0x2c5400['grid_lineCount'],0x1),_0x4a6e87&&(_0x4a6e87[_0x439a45(0x1b1)]=getColor(_0x2c5400['color'],_0x2c5400['opacity']),_0x4a6e87[_0x439a45(0x199)]=_0x2c5400[_0x439a45(0x1ca)]*0x4,_0x4a6e87['beginPath'](),_0x4a6e87[_0x439a45(0x1c1)](0x0,_0x15338e[_0x439a45(0x1a3)]),_0x4a6e87[_0x439a45(0x1b9)](_0x15338e['width'],_0x15338e[_0x439a45(0x1a3)]),_0x4a6e87[_0x439a45(0x1c1)](_0x15338e[_0x439a45(0x19e)],0x0),_0x4a6e87[_0x439a45(0x1b9)](_0x15338e[_0x439a45(0x19e)],_0x15338e['height']),_0x4a6e87[_0x439a45(0x1cc)]()),_0xf73057[_0x439a45(0x1c8)](_0x15338e,'repeat');}function a76_0x132c(_0x5a34c5,_0x4f7150){var _0x399057=a76_0x3990();return a76_0x132c=function(_0x132c86,_0x420c7a){_0x132c86=_0x132c86-0x197;var _0x57279a=_0x399057[_0x132c86];return _0x57279a;},a76_0x132c(_0x5a34c5,_0x4f7150);}function _getStripePattern(_0x2ae6a1,_0x4426ae,_0xd98aba){var _0x4809ed=a76_0x132c,_0x32042f=getSize(_0x4426ae);const _0x1f493e=document[_0x4809ed(0x1ac)]('canvas'),_0x1b15e6=_0x1f493e[_0x4809ed(0x1a4)]('2d');let _0x3cc3c1=Math['max'](_0x32042f[0x1]/_0xd98aba['stripe_repeat'],0x1);return _0x1f493e[_0x4809ed(0x19e)]=_0x32042f[0x0],_0x1f493e['height']=_0x3cc3c1*0x2,_0x1b15e6&&(_0x1b15e6[_0x4809ed(0x1d4)](),_0x1b15e6[_0x4809ed(0x1c1)](0x0,0x0),_0x1b15e6['lineTo'](_0x1f493e[_0x4809ed(0x19e)],0x0),_0x1b15e6['lineTo'](_0x1f493e[_0x4809ed(0x19e)],_0x3cc3c1),_0x1b15e6[_0x4809ed(0x1b9)](0x0,_0x3cc3c1),_0x1b15e6[_0x4809ed(0x197)](),_0x1b15e6[_0x4809ed(0x1a8)]=getColor(_0xd98aba[_0x4809ed(0x1a6)],_0xd98aba[_0x4809ed(0x1c5)]),_0x1b15e6[_0x4809ed(0x1b4)](),_0x1b15e6['beginPath'](),_0x1b15e6[_0x4809ed(0x1c1)](0x0,_0x3cc3c1),_0x1b15e6[_0x4809ed(0x1b9)](_0x1f493e[_0x4809ed(0x19e)],_0x3cc3c1),_0x1b15e6['lineTo'](_0x1f493e[_0x4809ed(0x19e)],_0x3cc3c1*0x2),_0x1b15e6[_0x4809ed(0x1b9)](0x0,_0x3cc3c1*0x2),_0x1b15e6['closePath'](),_0x1b15e6[_0x4809ed(0x1a8)]=getColor(_0xd98aba['color'],_0xd98aba[_0x4809ed(0x1c5)]),_0x1b15e6['fill']()),_0x2ae6a1[_0x4809ed(0x1c8)](_0x1f493e,_0x4809ed(0x1ae));}function _getCheckerBoardPattern(_0x4364d3,_0x52ace7,_0x3e03cf){var _0x11dded=a76_0x132c,_0x1c10e0=getSize(_0x52ace7);const _0x30f6b3=document['createElement'](_0x11dded(0x19f)),_0x1c25ea=_0x30f6b3[_0x11dded(0x1a4)]('2d');let _0x3cbf96=Math[_0x11dded(0x1ba)](_0x1c10e0[0x0]/_0x3e03cf[_0x11dded(0x1be)],0x1),_0x5df5ee=Math[_0x11dded(0x1ba)](_0x1c10e0[0x1]/_0x3e03cf[_0x11dded(0x1be)],0x1);return _0x30f6b3[_0x11dded(0x19e)]=_0x3cbf96*0x2,_0x30f6b3[_0x11dded(0x1a3)]=_0x5df5ee*0x2,_0x1c25ea&&(_0x1c25ea[_0x11dded(0x1d4)](),_0x1c25ea[_0x11dded(0x1c1)](0x0,0x0),_0x1c25ea[_0x11dded(0x1b9)](_0x3cbf96,0x0),_0x1c25ea[_0x11dded(0x1b9)](_0x3cbf96,_0x5df5ee),_0x1c25ea[_0x11dded(0x1b9)](0x0,_0x5df5ee),_0x1c25ea['closePath'](),_0x1c25ea[_0x11dded(0x1a8)]=getColor(_0x3e03cf[_0x11dded(0x1b5)],_0x3e03cf[_0x11dded(0x1c5)]),_0x1c25ea[_0x11dded(0x1b4)](),_0x1c25ea['beginPath'](),_0x1c25ea[_0x11dded(0x1c1)](_0x3cbf96,0x0),_0x1c25ea[_0x11dded(0x1b9)](_0x30f6b3[_0x11dded(0x19e)],0x0),_0x1c25ea[_0x11dded(0x1b9)](_0x30f6b3[_0x11dded(0x19e)],_0x5df5ee),_0x1c25ea[_0x11dded(0x1b9)](_0x3cbf96,_0x5df5ee),_0x1c25ea[_0x11dded(0x197)](),_0x1c25ea[_0x11dded(0x1a8)]=getColor(_0x3e03cf[_0x11dded(0x1b8)],_0x3e03cf['opacity']),_0x1c25ea[_0x11dded(0x1b4)](),_0x1c25ea[_0x11dded(0x1d4)](),_0x1c25ea[_0x11dded(0x1c1)](0x0,_0x5df5ee),_0x1c25ea[_0x11dded(0x1b9)](_0x3cbf96,_0x5df5ee),_0x1c25ea['lineTo'](_0x3cbf96,_0x30f6b3[_0x11dded(0x1a3)]),_0x1c25ea[_0x11dded(0x1b9)](0x0,_0x30f6b3['height']),_0x1c25ea[_0x11dded(0x197)](),_0x1c25ea[_0x11dded(0x1a8)]=getColor(_0x3e03cf[_0x11dded(0x1b8)],_0x3e03cf[_0x11dded(0x1c5)]),_0x1c25ea[_0x11dded(0x1b4)](),_0x1c25ea['beginPath'](),_0x1c25ea[_0x11dded(0x1c1)](_0x3cbf96,_0x5df5ee),_0x1c25ea[_0x11dded(0x1b9)](_0x30f6b3['width'],_0x5df5ee),_0x1c25ea[_0x11dded(0x1b9)](_0x30f6b3[_0x11dded(0x19e)],_0x30f6b3['height']),_0x1c25ea[_0x11dded(0x1b9)](_0x3cbf96,_0x30f6b3[_0x11dded(0x1a3)]),_0x1c25ea[_0x11dded(0x197)](),_0x1c25ea[_0x11dded(0x1a8)]=getColor(_0x3e03cf[_0x11dded(0x1b5)],_0x3e03cf['opacity']),_0x1c25ea[_0x11dded(0x1b4)]()),_0x4364d3['createPattern'](_0x30f6b3,_0x11dded(0x1ae));}
@@ -1 +1 @@
1
- (function(_0x5be4b8,_0x5e5681){const _0x243c11=a77_0x27b7,_0x29460d=_0x5be4b8();while(!![]){try{const _0xc3a0c9=parseInt(_0x243c11(0xe6))/0x1*(parseInt(_0x243c11(0x100))/0x2)+parseInt(_0x243c11(0xf6))/0x3+-parseInt(_0x243c11(0xfa))/0x4+-parseInt(_0x243c11(0x104))/0x5+parseInt(_0x243c11(0xf9))/0x6*(-parseInt(_0x243c11(0xd4))/0x7)+-parseInt(_0x243c11(0x101))/0x8+parseInt(_0x243c11(0xdf))/0x9;if(_0xc3a0c9===_0x5e5681)break;else _0x29460d['push'](_0x29460d['shift']());}catch(_0x3dde7b){_0x29460d['push'](_0x29460d['shift']());}}}(a77_0x569c,0xdde0f));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x3134c0,_0x5aecf8,_0x411178,_0x18998c){const _0x59f6a9=a77_0x27b7;var _0x7c28e8,_0x21f202,_0x7df3d9;let _0x3bacf1=(_0x7c28e8=_0x3134c0[_0x59f6a9(0xfe)])!==null&&_0x7c28e8!==void 0x0?_0x7c28e8:0x0;const _0x22c95c=_0x367756=>{const _0x109cfc=_0x59f6a9;var _0x47e29c=_0x367756[_0x109cfc(0xed)]();if(_0x47e29c)return _getRealPolyline(_0x47e29c,_0x3134c0);return _0x47e29c;},_0x5a3602=_0xe8c28c=>{const _0x522898=_0x59f6a9;var _0x3203b3=_0xe8c28c[_0x522898(0xed)]();let _0x8c34d5=_0x3203b3;_0x3203b3&&(_0x8c34d5=_getRealPolyline(_0x3203b3,_0x3134c0));if(_0x8c34d5&&_0x8c34d5[_0x522898(0xe4)]()==='LineString')return new Point(_0x8c34d5['getFlatMidpoint']());else{let _0x383a85=_0x8c34d5[_0x522898(0xef)](),_0x312adf=0x2,_0x124a40=[];for(let _0x3d6c5b=0x0,_0x3080c6=_0x383a85[_0x522898(0xdd)];_0x3d6c5b<_0x3080c6;_0x3d6c5b+=_0x312adf){let _0x37fee5=[_0x383a85[_0x3d6c5b],_0x383a85[_0x3d6c5b+0x1]];_0x124a40[_0x522898(0xd6)](_0x37fee5);}return new MultiPoint(_0x124a40);}};let _0x513af4=new Style({'geometry':_0x22c95c,'stroke':new Stroke({'color':getColor(_0x3134c0[_0x59f6a9(0xf8)],_0x3134c0[_0x59f6a9(0x102)]),'width':_0x3134c0[_0x59f6a9(0xd2)]}),'zIndex':_0x3bacf1}),_0x3ba1f9=[_0x513af4];if(_0x3134c0['lineType']==='dash'){let _0xb710d3=_0x3134c0[_0x59f6a9(0xd2)]/0x2,_0x51e997=new Style({'geometry':_0x22c95c,'zIndex':_0x3bacf1,'stroke':new Stroke({'color':getColor(_0x3134c0['color'],_0x3134c0[_0x59f6a9(0xfc)]),'width':_0x3134c0[_0x59f6a9(0xf2)],'lineCap':_0x59f6a9(0xd5),'lineDash':[_0xb710d3,_0xb710d3]})}),_0x27798a=new Style({'geometry':_0x22c95c,'zIndex':_0x3bacf1+0.5,'stroke':new Stroke({'color':getColor(_0x3134c0[_0x59f6a9(0xf8)],Number((_0x7df3d9=(_0x21f202=_0x3134c0[_0x59f6a9(0x102)])!==null&&_0x21f202!==void 0x0?_0x21f202:_0x3134c0[_0x59f6a9(0xfc)])!==null&&_0x7df3d9!==void 0x0?_0x7df3d9:0x1)),'width':_0x3134c0['width'],'lineCap':_0x59f6a9(0xd5),'lineDash':[_0xb710d3,_0xb710d3],'lineDashOffset':_0xb710d3})});_0x3ba1f9=[_0x51e997,_0x27798a];}_0x3134c0[_0x59f6a9(0xd3)]===_0x59f6a9(0xe3)&&_0x513af4[_0x59f6a9(0xd9)]((_0x24de85,_0x25adbb)=>{const _0x2e2557=_0x59f6a9;let _0x29913f=_0x25adbb[_0x2e2557(0xff)],_0x4c11ee=parseInt((_0x3134c0['width']/0x4)['toString']()),_0x5b4694=0xa,_0x1d3415=Math[_0x2e2557(0xe0)](Math[_0x2e2557(0xf7)](_0x5b4694,0x2)+Math[_0x2e2557(0xf7)](_0x3134c0[_0x2e2557(0xf2)]/0x2,0x2)),_0x6289a2=0x2d,_0x37ed29=_0x24de85[_0x24de85[_0x2e2557(0xdd)]-0x2][0x0],_0x268562=_0x24de85[_0x24de85[_0x2e2557(0xdd)]-0x2][0x1],_0x2043d1=_0x24de85[_0x24de85[_0x2e2557(0xdd)]-0x1][0x0],_0x4b77d6=_0x24de85[_0x24de85[_0x2e2557(0xdd)]-0x1][0x1],_0x1358b7=Math[_0x2e2557(0xe2)](_0x268562-_0x4b77d6,_0x37ed29-_0x2043d1)*0xb4/Math['PI'],_0x31c0cb=(_0x1358b7+_0x6289a2)*Math['PI']/0xb4,_0x23cffc=(_0x1358b7-_0x6289a2)*Math['PI']/0xb4,_0x1cffe9=_0x1d3415*Math['cos'](_0x31c0cb),_0x2b711b=_0x1d3415*Math[_0x2e2557(0xf1)](_0x31c0cb),_0x39a015=_0x1d3415*Math['cos'](_0x23cffc),_0x2682e4=_0x1d3415*Math[_0x2e2557(0xf1)](_0x23cffc);_0x29913f['save'](),_0x29913f[_0x2e2557(0xe8)]();let _0x4fdff5,_0x3e719c;for(let _0x5c995d=0x0;_0x5c995d<_0x24de85[_0x2e2557(0xdd)];_0x5c995d++){_0x5c995d===0x0?_0x29913f['moveTo'](_0x24de85[_0x5c995d][0x0],_0x24de85[_0x5c995d][0x1]):_0x29913f['lineTo'](_0x24de85[_0x5c995d][0x0],_0x24de85[_0x5c995d][0x1]);}_0x29913f[_0x2e2557(0xf5)]=getColor(_0x3134c0[_0x2e2557(0xe5)],_0x3134c0[_0x2e2557(0xfc)]),_0x29913f[_0x2e2557(0xde)]=_0x4c11ee,_0x29913f[_0x2e2557(0xee)]=_0x2e2557(0xd5),_0x29913f[_0x2e2557(0xea)](),_0x4fdff5=_0x2043d1+_0x1cffe9,_0x3e719c=_0x4b77d6+_0x2b711b,_0x29913f[_0x2e2557(0xd7)](_0x4fdff5,_0x3e719c),_0x29913f['lineTo'](_0x2043d1,_0x4b77d6),_0x4fdff5=_0x2043d1+_0x39a015,_0x3e719c=_0x4b77d6+_0x2682e4,_0x29913f['lineTo'](_0x4fdff5,_0x3e719c),_0x29913f[_0x2e2557(0xee)]=_0x2e2557(0xd5),_0x29913f['stroke'](),_0x29913f['restore']();});_0x3134c0[_0x59f6a9(0xd3)]===_0x59f6a9(0x105)&&_0x513af4[_0x59f6a9(0xd9)]((_0x37736f,_0x2f907d)=>{const _0x402ea5=_0x59f6a9;let _0x221383=_0x2f907d[_0x402ea5(0xff)];_0x221383[_0x402ea5(0x103)]();for(let _0x1ba822=0x0;_0x1ba822<0x4;_0x1ba822++){let _0x5bda9e=_0x3134c0[_0x402ea5(0xf2)]/0xa*(_0x3134c0[_0x402ea5(0xe7)]===0x0?0x1:_0x3134c0[_0x402ea5(0xe7)]);_0x221383[_0x402ea5(0xfd)]=getColor(_0x3134c0[_0x402ea5(0xe5)],_0x3134c0[_0x402ea5(0xfc)]),_0x221383[_0x402ea5(0xe1)]=_0x3134c0[_0x402ea5(0xf2)]/0x5*0x2,_0x221383[_0x402ea5(0xe8)]();for(let _0x5d08d1=0x0;_0x5d08d1<_0x37736f[_0x402ea5(0xdd)];_0x5d08d1++){_0x5d08d1===0x0?_0x221383[_0x402ea5(0xd7)](_0x37736f[_0x5d08d1][0x0],_0x37736f[_0x5d08d1][0x1]):_0x221383[_0x402ea5(0xdb)](_0x37736f[_0x5d08d1][0x0],_0x37736f[_0x5d08d1][0x1]);}_0x221383['lineCap']=_0x402ea5(0xd5),_0x221383[_0x402ea5(0xde)]=_0x5bda9e,_0x221383[_0x402ea5(0xf5)]=getColor(_0x402ea5(0xec),_0x3134c0[_0x402ea5(0xfc)]),_0x221383[_0x402ea5(0xea)]();}_0x221383[_0x402ea5(0xfb)]();});_0x3134c0[_0x59f6a9(0xd3)]===_0x59f6a9(0xeb)&&_0x513af4[_0x59f6a9(0xd9)]((_0x167918,_0x1c805f)=>{const _0x2f2f3e=_0x59f6a9;let _0x2a9035=_0x1c805f[_0x2f2f3e(0xff)];_0x2a9035['save'](),_0x2a9035['beginPath']();for(let _0xd2b4c3=0x0;_0xd2b4c3<_0x167918[_0x2f2f3e(0xdd)];_0xd2b4c3++){_0xd2b4c3===0x0?_0x2a9035[_0x2f2f3e(0xd7)](_0x167918[_0xd2b4c3][0x0],_0x167918[_0xd2b4c3][0x1]):_0x2a9035[_0x2f2f3e(0xdb)](_0x167918[_0xd2b4c3][0x0],_0x167918[_0xd2b4c3][0x1]);}_0x2a9035[_0x2f2f3e(0xee)]=_0x2f2f3e(0xd5),_0x2a9035[_0x2f2f3e(0xde)]=_0x3134c0['width'],_0x2a9035[_0x2f2f3e(0xf5)]=getColor(_0x3134c0[_0x2f2f3e(0xf8)],_0x3134c0['opacity']),_0x2a9035[_0x2f2f3e(0xea)](),_0x2a9035[_0x2f2f3e(0xe8)]();for(let _0x5ae2c3=0x0;_0x5ae2c3<_0x167918[_0x2f2f3e(0xdd)];_0x5ae2c3++){_0x5ae2c3===0x0?_0x2a9035['moveTo'](_0x167918[_0x5ae2c3][0x0],_0x167918[_0x5ae2c3][0x1]):_0x2a9035[_0x2f2f3e(0xdb)](_0x167918[_0x5ae2c3][0x0],_0x167918[_0x5ae2c3][0x1]);}_0x2a9035[_0x2f2f3e(0xee)]=_0x2f2f3e(0xd5),_0x3134c0[_0x2f2f3e(0xd2)]>=_0x3134c0[_0x2f2f3e(0xf2)]&&(_0x3134c0[_0x2f2f3e(0xd2)]=_0x3134c0['width']-0x1),_0x2a9035[_0x2f2f3e(0xde)]=_0x3134c0['width']-_0x3134c0[_0x2f2f3e(0xd2)],_0x2a9035[_0x2f2f3e(0xf5)]=getColor(_0x3134c0[_0x2f2f3e(0xe5)],_0x3134c0[_0x2f2f3e(0xfc)]),_0x2a9035[_0x2f2f3e(0xea)](),_0x2a9035[_0x2f2f3e(0xfb)]();});let _0x94d84f=getImageOlStyle(_0x3134c0[_0x59f6a9(0xf3)],_0x3bacf1,_0x411178,_0x18998c);_0x94d84f&&(_0x94d84f[_0x59f6a9(0xdc)](_0x5a3602),_0x3ba1f9['push'](_0x94d84f));if(_0x3134c0[_0x59f6a9(0xe9)]&&_0x3134c0[_0x59f6a9(0xe9)][_0x59f6a9(0xf4)]!==![]){let _0x26dfee=new Style({'geometry':_0x5a3602,'text':createTextStyle(_0x3134c0[_0x59f6a9(0xe9)],_0x5aecf8,_0x411178,_0x18998c),'zIndex':Number(_0x3bacf1)+0x1});_0x3ba1f9[_0x59f6a9(0xd6)](_0x26dfee);}return _0x3ba1f9;}function a77_0x27b7(_0x3ed4da,_0x4b889a){const _0x569c9f=a77_0x569c();return a77_0x27b7=function(_0x27b7e6,_0x424f0b){_0x27b7e6=_0x27b7e6-0xd2;let _0x320e2e=_0x569c9f[_0x27b7e6];return _0x320e2e;},a77_0x27b7(_0x3ed4da,_0x4b889a);}function a77_0x569c(){const _0x4c3c5c=['opacity','shadowColor','zIndex','context','146YuxclV','2001488IqRXPl','outlineOpacity','save','2362730RZUdsC','glow','outlineWidth','lineType','7eBkfVc','butt','push','moveTo','getCoordinates','setRenderer','closed','lineTo','setGeometry','length','lineWidth','9719640WNdxvU','sqrt','shadowBlur','atan2','arrow','getType','color','14843nczEit','glowPower','beginPath','label','stroke','outline','white','getGeometry','lineCap','getFlatMidpoints','concat','sin','width','billboard','show','strokeStyle','2721864mhVEwQ','pow','outlineColor','3552420llZKuX','3388680vRjoND','restore'];a77_0x569c=function(){return _0x4c3c5c;};return a77_0x569c();}function _getRealPolyline(_0x4772bd,_0x171bec){const _0x52c088=a77_0x27b7;if(!(_0x171bec===null||_0x171bec===void 0x0?void 0x0:_0x171bec[_0x52c088(0xda)]))return _0x4772bd;else{if(_0x4772bd['getType']()==='MultiLineString'){let _0x5d14ba=_0x4772bd[_0x52c088(0xd8)]();for(let _0x3a8391 in _0x5d14ba){let _0x206528=_0x5d14ba[_0x3a8391];_0x5d14ba[_0x3a8391]=_0x206528[_0x52c088(0xf0)]([_0x206528[0x0]]);}return new MultiLineString(_0x5d14ba);}else return new LineString(_0x4772bd[_0x52c088(0xd8)]()['concat']([_0x4772bd['getFirstCoordinate']()]));}}
1
+ (function(_0x1a7f8e,_0x53c99a){const _0x4721a3=a77_0x3f45,_0x365214=_0x1a7f8e();while(!![]){try{const _0x9fb959=parseInt(_0x4721a3(0x161))/0x1*(parseInt(_0x4721a3(0x180))/0x2)+-parseInt(_0x4721a3(0x183))/0x3+-parseInt(_0x4721a3(0x17d))/0x4*(parseInt(_0x4721a3(0x15e))/0x5)+-parseInt(_0x4721a3(0x17b))/0x6+parseInt(_0x4721a3(0x15b))/0x7*(parseInt(_0x4721a3(0x185))/0x8)+-parseInt(_0x4721a3(0x173))/0x9+parseInt(_0x4721a3(0x181))/0xa*(parseInt(_0x4721a3(0x165))/0xb);if(_0x9fb959===_0x53c99a)break;else _0x365214['push'](_0x365214['shift']());}catch(_0x37658f){_0x365214['push'](_0x365214['shift']());}}}(a77_0x3e07,0x3d88a));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x130175,_0x50b55a,_0x54c195,_0x2ce2f0){const _0x4b6b43=a77_0x3f45;var _0x536ecc,_0x824022,_0x4fc0f0;let _0x2a61ef=(_0x536ecc=_0x130175['zIndex'])!==null&&_0x536ecc!==void 0x0?_0x536ecc:0x0;const _0x17f515=_0x17ee05=>{const _0xa7a028=a77_0x3f45;var _0x3b62e9=_0x17ee05[_0xa7a028(0x172)]();if(_0x3b62e9)return _getRealPolyline(_0x3b62e9,_0x130175);return _0x3b62e9;},_0x55b938=_0x537249=>{const _0x2e6894=a77_0x3f45;var _0x2ec256=_0x537249[_0x2e6894(0x172)]();let _0x5da4b1=_0x2ec256;_0x2ec256&&(_0x5da4b1=_getRealPolyline(_0x2ec256,_0x130175));if(_0x5da4b1&&_0x5da4b1[_0x2e6894(0x163)]()===_0x2e6894(0x179))return new Point(_0x5da4b1[_0x2e6894(0x189)]());else{let _0x4ab186=_0x5da4b1['getFlatMidpoints'](),_0x153838=0x2,_0x465f67=[];for(let _0xfd0055=0x0,_0x329f22=_0x4ab186['length'];_0xfd0055<_0x329f22;_0xfd0055+=_0x153838){let _0x27b3f6=[_0x4ab186[_0xfd0055],_0x4ab186[_0xfd0055+0x1]];_0x465f67[_0x2e6894(0x160)](_0x27b3f6);}return new MultiPoint(_0x465f67);}};let _0x5e7202=new Style({'geometry':_0x17f515,'stroke':new Stroke({'color':getColor(_0x130175[_0x4b6b43(0x16c)],_0x130175['outlineOpacity']),'width':_0x130175['outlineWidth']}),'zIndex':_0x2a61ef}),_0x3b0106=[_0x5e7202];if(_0x130175['lineType']===_0x4b6b43(0x164)){let _0x59c608=_0x130175[_0x4b6b43(0x15d)]/0x2,_0x589b6d=new Style({'geometry':_0x17f515,'zIndex':_0x2a61ef,'stroke':new Stroke({'color':getColor(_0x130175['color'],_0x130175[_0x4b6b43(0x15a)]),'width':_0x130175['width'],'lineCap':_0x4b6b43(0x159),'lineDash':[_0x59c608,_0x59c608]})}),_0x2bf331=new Style({'geometry':_0x17f515,'zIndex':_0x2a61ef+0.5,'stroke':new Stroke({'color':getColor(_0x130175[_0x4b6b43(0x16c)],Number((_0x4fc0f0=(_0x824022=_0x130175[_0x4b6b43(0x15f)])!==null&&_0x824022!==void 0x0?_0x824022:_0x130175[_0x4b6b43(0x15a)])!==null&&_0x4fc0f0!==void 0x0?_0x4fc0f0:0x1)),'width':_0x130175[_0x4b6b43(0x16e)],'lineCap':_0x4b6b43(0x159),'lineDash':[_0x59c608,_0x59c608],'lineDashOffset':_0x59c608})});_0x3b0106=[_0x589b6d,_0x2bf331];}_0x130175['lineType']==='arrow'&&_0x5e7202['setRenderer']((_0x65050f,_0x4a8679)=>{const _0x432638=_0x4b6b43;let _0x458284=_0x4a8679[_0x432638(0x177)],_0x4524da=parseInt((_0x130175['width']/0x4)[_0x432638(0x167)]()),_0x3dff15=0xa,_0x3f0d77=Math[_0x432638(0x17f)](Math[_0x432638(0x168)](_0x3dff15,0x2)+Math['pow'](_0x130175['width']/0x2,0x2)),_0x5f24e7=0x2d,_0x14fc69=_0x65050f[_0x65050f[_0x432638(0x178)]-0x2][0x0],_0x8819bb=_0x65050f[_0x65050f[_0x432638(0x178)]-0x2][0x1],_0x2a0860=_0x65050f[_0x65050f[_0x432638(0x178)]-0x1][0x0],_0x1ab8d4=_0x65050f[_0x65050f[_0x432638(0x178)]-0x1][0x1],_0x4169fc=Math[_0x432638(0x175)](_0x8819bb-_0x1ab8d4,_0x14fc69-_0x2a0860)*0xb4/Math['PI'],_0x3d96ea=(_0x4169fc+_0x5f24e7)*Math['PI']/0xb4,_0x1374b6=(_0x4169fc-_0x5f24e7)*Math['PI']/0xb4,_0x4ca254=_0x3f0d77*Math[_0x432638(0x184)](_0x3d96ea),_0x467888=_0x3f0d77*Math['sin'](_0x3d96ea),_0x46395b=_0x3f0d77*Math[_0x432638(0x184)](_0x1374b6),_0x19d824=_0x3f0d77*Math[_0x432638(0x176)](_0x1374b6);_0x458284[_0x432638(0x16b)](),_0x458284['beginPath']();let _0x4564f1,_0x3305e0;for(let _0xe66aa8=0x0;_0xe66aa8<_0x65050f[_0x432638(0x178)];_0xe66aa8++){_0xe66aa8===0x0?_0x458284['moveTo'](_0x65050f[_0xe66aa8][0x0],_0x65050f[_0xe66aa8][0x1]):_0x458284[_0x432638(0x158)](_0x65050f[_0xe66aa8][0x0],_0x65050f[_0xe66aa8][0x1]);}_0x458284[_0x432638(0x157)]=getColor(_0x130175[_0x432638(0x174)],_0x130175[_0x432638(0x15a)]),_0x458284['lineWidth']=_0x4524da,_0x458284[_0x432638(0x182)]=_0x432638(0x159),_0x458284[_0x432638(0x17e)](),_0x4564f1=_0x2a0860+_0x4ca254,_0x3305e0=_0x1ab8d4+_0x467888,_0x458284[_0x432638(0x171)](_0x4564f1,_0x3305e0),_0x458284[_0x432638(0x158)](_0x2a0860,_0x1ab8d4),_0x4564f1=_0x2a0860+_0x46395b,_0x3305e0=_0x1ab8d4+_0x19d824,_0x458284[_0x432638(0x158)](_0x4564f1,_0x3305e0),_0x458284[_0x432638(0x182)]=_0x432638(0x159),_0x458284['stroke'](),_0x458284[_0x432638(0x18b)]();});_0x130175[_0x4b6b43(0x17a)]===_0x4b6b43(0x162)&&_0x5e7202[_0x4b6b43(0x16d)]((_0x5ea8f2,_0x227574)=>{const _0x23f8aa=_0x4b6b43;let _0x3857e9=_0x227574[_0x23f8aa(0x177)];_0x3857e9[_0x23f8aa(0x16b)]();for(let _0x1ba655=0x0;_0x1ba655<0x4;_0x1ba655++){let _0x1ee8a8=_0x130175[_0x23f8aa(0x16e)]/0xa*(_0x130175[_0x23f8aa(0x166)]===0x0?0x1:_0x130175['glowPower']);_0x3857e9[_0x23f8aa(0x187)]=getColor(_0x130175['color'],_0x130175[_0x23f8aa(0x15a)]),_0x3857e9[_0x23f8aa(0x155)]=_0x130175[_0x23f8aa(0x16e)]/0x5*0x2,_0x3857e9['beginPath']();for(let _0x849020=0x0;_0x849020<_0x5ea8f2[_0x23f8aa(0x178)];_0x849020++){_0x849020===0x0?_0x3857e9['moveTo'](_0x5ea8f2[_0x849020][0x0],_0x5ea8f2[_0x849020][0x1]):_0x3857e9[_0x23f8aa(0x158)](_0x5ea8f2[_0x849020][0x0],_0x5ea8f2[_0x849020][0x1]);}_0x3857e9[_0x23f8aa(0x182)]='butt',_0x3857e9[_0x23f8aa(0x170)]=_0x1ee8a8,_0x3857e9[_0x23f8aa(0x157)]=getColor('white',_0x130175[_0x23f8aa(0x15a)]),_0x3857e9['stroke']();}_0x3857e9[_0x23f8aa(0x18b)]();});_0x130175[_0x4b6b43(0x17a)]===_0x4b6b43(0x188)&&_0x5e7202[_0x4b6b43(0x16d)]((_0x41fba1,_0x274b72)=>{const _0x1e3485=_0x4b6b43;let _0x31c166=_0x274b72[_0x1e3485(0x177)];_0x31c166[_0x1e3485(0x16b)](),_0x31c166['beginPath']();for(let _0x32508a=0x0;_0x32508a<_0x41fba1[_0x1e3485(0x178)];_0x32508a++){_0x32508a===0x0?_0x31c166[_0x1e3485(0x171)](_0x41fba1[_0x32508a][0x0],_0x41fba1[_0x32508a][0x1]):_0x31c166[_0x1e3485(0x158)](_0x41fba1[_0x32508a][0x0],_0x41fba1[_0x32508a][0x1]);}_0x31c166['lineCap']=_0x1e3485(0x159),_0x31c166[_0x1e3485(0x170)]=_0x130175[_0x1e3485(0x16e)],_0x31c166['strokeStyle']=getColor(_0x130175[_0x1e3485(0x16c)],_0x130175[_0x1e3485(0x15a)]),_0x31c166[_0x1e3485(0x17e)](),_0x31c166[_0x1e3485(0x16f)]();for(let _0x374299=0x0;_0x374299<_0x41fba1[_0x1e3485(0x178)];_0x374299++){_0x374299===0x0?_0x31c166[_0x1e3485(0x171)](_0x41fba1[_0x374299][0x0],_0x41fba1[_0x374299][0x1]):_0x31c166[_0x1e3485(0x158)](_0x41fba1[_0x374299][0x0],_0x41fba1[_0x374299][0x1]);}_0x31c166[_0x1e3485(0x182)]=_0x1e3485(0x159),_0x130175[_0x1e3485(0x15d)]>=_0x130175[_0x1e3485(0x16e)]&&(_0x130175[_0x1e3485(0x15d)]=_0x130175['width']-0x1),_0x31c166[_0x1e3485(0x170)]=_0x130175[_0x1e3485(0x16e)]-_0x130175[_0x1e3485(0x15d)],_0x31c166[_0x1e3485(0x157)]=getColor(_0x130175[_0x1e3485(0x174)],_0x130175['opacity']),_0x31c166['stroke'](),_0x31c166[_0x1e3485(0x18b)]();});let _0x2d2cf3=getImageOlStyle(_0x130175[_0x4b6b43(0x17c)],_0x2a61ef,_0x54c195,_0x2ce2f0);_0x2d2cf3&&(_0x2d2cf3[_0x4b6b43(0x18a)](_0x55b938),_0x3b0106[_0x4b6b43(0x160)](_0x2d2cf3));if(_0x130175[_0x4b6b43(0x186)]&&_0x130175['label']['show']!==![]){let _0x501bb1=new Style({'geometry':_0x55b938,'text':createTextStyle(_0x130175[_0x4b6b43(0x186)],_0x50b55a,_0x54c195,_0x2ce2f0),'zIndex':Number(_0x2a61ef)+0x1});_0x3b0106[_0x4b6b43(0x160)](_0x501bb1);}return _0x3b0106;}function a77_0x3f45(_0x5127af,_0x3cae9a){const _0x3e076b=a77_0x3e07();return a77_0x3f45=function(_0x3f45cf,_0x251ed3){_0x3f45cf=_0x3f45cf-0x155;let _0xff6926=_0x3e076b[_0x3f45cf];return _0xff6926;},a77_0x3f45(_0x5127af,_0x3cae9a);}function a77_0x3e07(){const _0x23bb86=['LineString','lineType','2913420udZiYM','billboard','8lCCEgZ','stroke','sqrt','2AOPxam','17380WYviSc','lineCap','592527VcNEzy','cos','31968BdeUZC','label','shadowColor','outline','getFlatMidpoint','setGeometry','restore','shadowBlur','MultiLineString','strokeStyle','lineTo','butt','opacity','399VPgOYT','getCoordinates','outlineWidth','509380QzjeJj','outlineOpacity','push','285841qVvrFz','glow','getType','dash','4092UrFKNR','glowPower','toString','pow','getFirstCoordinate','concat','save','outlineColor','setRenderer','width','beginPath','lineWidth','moveTo','getGeometry','191484wThELP','color','atan2','sin','context','length'];a77_0x3e07=function(){return _0x23bb86;};return a77_0x3e07();}function _getRealPolyline(_0x1aeb55,_0x1f67aa){const _0x563f86=a77_0x3f45;if(!(_0x1f67aa===null||_0x1f67aa===void 0x0?void 0x0:_0x1f67aa['closed']))return _0x1aeb55;else{if(_0x1aeb55[_0x563f86(0x163)]()===_0x563f86(0x156)){let _0x36525e=_0x1aeb55[_0x563f86(0x15c)]();for(let _0x3d2b93 in _0x36525e){let _0x4a5d6=_0x36525e[_0x3d2b93];_0x36525e[_0x3d2b93]=_0x4a5d6[_0x563f86(0x16a)]([_0x4a5d6[0x0]]);}return new MultiLineString(_0x36525e);}else return new LineString(_0x1aeb55[_0x563f86(0x15c)]()[_0x563f86(0x16a)]([_0x1aeb55[_0x563f86(0x169)]()]));}}
@@ -1 +1 @@
1
- (function(_0xc3a871,_0x157e09){const _0x479c14=a78_0x5895,_0x4d29b8=_0xc3a871();while(!![]){try{const _0x56cddd=parseInt(_0x479c14(0x186))/0x1+parseInt(_0x479c14(0x16a))/0x2*(-parseInt(_0x479c14(0x173))/0x3)+parseInt(_0x479c14(0x17f))/0x4*(-parseInt(_0x479c14(0x175))/0x5)+parseInt(_0x479c14(0x16d))/0x6+-parseInt(_0x479c14(0x185))/0x7+-parseInt(_0x479c14(0x174))/0x8*(parseInt(_0x479c14(0x168))/0x9)+parseInt(_0x479c14(0x181))/0xa;if(_0x56cddd===_0x157e09)break;else _0x4d29b8['push'](_0x4d29b8['shift']());}catch(_0x158cdf){_0x4d29b8['push'](_0x4d29b8['shift']());}}}(a78_0x15f5,0x6465a));import a78_0x1d9997 from'ol/style/Circle';import a78_0x4dd86d from'ol/style/Fill';import a78_0x5c5f48 from'ol/style/Stroke';import a78_0x42cecd from'ol/style/Style';function a78_0x5895(_0x1dbeac,_0xe96b54){const _0x15f5c8=a78_0x15f5();return a78_0x5895=function(_0x5895bf,_0x5aaffb){_0x5895bf=_0x5895bf-0x164;let _0x1b65a4=_0x15f5c8[_0x5895bf];return _0x1b65a4;},a78_0x5895(_0x1dbeac,_0xe96b54);}import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x550e9e=a78_0x5895;return new a78_0x42cecd({'image':new a78_0x1d9997({'radius':0x5,'fill':new a78_0x4dd86d({'color':_0x550e9e(0x17d)}),'stroke':new a78_0x5c5f48({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0x3d9f69=a78_0x5895;return new a78_0x42cecd({'image':new a78_0x1d9997({'radius':0x5,'fill':new a78_0x4dd86d({'color':_0x3d9f69(0x16e)}),'stroke':new a78_0x5c5f48({'color':_0x3d9f69(0x17d),'width':0x1})})});}export function getSelectLineStyle(){const _0x49d8e3=a78_0x5895;return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0x49d8e3(0x17d),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x104c20=a78_0x5895;return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0x104c20(0x182),'width':0x2})});}export function getSelectPolygonStyle(){const _0xd06518=a78_0x5895;return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0xd06518(0x17d),'width':0x2}),'fill':new a78_0x4dd86d({'color':_0xd06518(0x17a)})});}export function getSelectCancelPolygonStyle(){const _0x3f4cdc=a78_0x5895;return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0x3f4cdc(0x182),'width':0x2}),'fill':new a78_0x4dd86d({'color':_0x3f4cdc(0x16c)})});}export function getStyle(_0x128ff5){const _0x2a2b77=a78_0x5895;if(_0x128ff5){const _0x59d775=new a78_0x42cecd();if(_0x128ff5['text']){const _0x3fe529=createTextStyle(_0x128ff5,_0x128ff5[_0x2a2b77(0x167)]);_0x3fe529&&_0x59d775[_0x2a2b77(0x16b)](_0x3fe529),_0x59d775[_0x2a2b77(0x177)](0x1);}return _0x128ff5[_0x2a2b77(0x184)]&&_0x59d775['setStroke'](new a78_0x5c5f48({'color':getColor(_0x128ff5[_0x2a2b77(0x184)],_0x128ff5[_0x2a2b77(0x170)]),'width':_0x128ff5[_0x2a2b77(0x164)]||0x1})),_0x128ff5[_0x2a2b77(0x183)]&&_0x59d775[_0x2a2b77(0x17c)](new a78_0x4dd86d({'color':getColor(_0x128ff5[_0x2a2b77(0x183)],_0x128ff5[_0x2a2b77(0x165)])})),_0x128ff5[_0x2a2b77(0x176)]=='circle'&&_0x59d775[_0x2a2b77(0x166)](new a78_0x1d9997({'radius':_0x128ff5[_0x2a2b77(0x172)]||0x5,'fill':new a78_0x4dd86d({'color':getColor(_0x128ff5['color'],_0x128ff5['opacity'])})})),(_0x128ff5[_0x2a2b77(0x176)]=='icon'||_0x128ff5[_0x2a2b77(0x169)])&&_0x59d775[_0x2a2b77(0x166)](new Icon({'src':_0x128ff5[_0x2a2b77(0x169)],'anchor':_0x128ff5[_0x2a2b77(0x16f)]||[0.5,0.5],'scale':_0x128ff5[_0x2a2b77(0x17e)]||0x1,'rotation':_0x128ff5[_0x2a2b77(0x178)]||0x0})),_0x59d775;}return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0x2a2b77(0x17d),'width':0x2}),'fill':new a78_0x4dd86d({'color':_0x2a2b77(0x17a)})});}export function getSelectStyle(_0x5d2d3b){const _0x554a55=a78_0x5895;let _0x76f8bf=getSelectPolygonStyle();switch(_0x5d2d3b){case'MultiPolygon':case _0x554a55(0x17b):_0x76f8bf=getSelectPolygonStyle();break;case _0x554a55(0x171):case _0x554a55(0x180):_0x76f8bf=getSelectLineStyle();break;case'MultiPoint':case _0x554a55(0x179):_0x76f8bf=getSelectPointStyle();break;default:break;}return _0x76f8bf;}function a78_0x15f5(){const _0x52efcf=['20464gVNXLJ','295305ZgOzOo','pointType','setZIndex','rotation','Point','rgba(121,\x20243,\x20238,\x200.3)','Polygon','setFill','rgba(121,\x20243,\x20238,\x201)','scale','44BwjDGM','LineString','16013730mLLJZE','rgba(0,\x20255,0,\x201)','color','outlineColor','5609660ypYJgJ','443662CLsRWx','outlineWidth','opacity','setImage','text','558Glgdjx','imgurl','102948RZcNSn','setText','rgba(0,\x20255,0,\x200)','1708092NgXceb','rgba(121,\x20243,\x20238,\x200)','anchor','outlineOpacity','MultiLineString','radius','18LHymyK'];a78_0x15f5=function(){return _0x52efcf;};return a78_0x15f5();}
1
+ (function(_0x314439,_0x1d8760){const _0x189589=a78_0x2359,_0x1b2818=_0x314439();while(!![]){try{const _0x583a6c=-parseInt(_0x189589(0x79))/0x1*(parseInt(_0x189589(0x85))/0x2)+parseInt(_0x189589(0x7c))/0x3+parseInt(_0x189589(0x80))/0x4+-parseInt(_0x189589(0x6e))/0x5*(-parseInt(_0x189589(0x70))/0x6)+-parseInt(_0x189589(0x78))/0x7+-parseInt(_0x189589(0x87))/0x8+parseInt(_0x189589(0x8c))/0x9;if(_0x583a6c===_0x1d8760)break;else _0x1b2818['push'](_0x1b2818['shift']());}catch(_0x1f660b){_0x1b2818['push'](_0x1b2818['shift']());}}}(a78_0x4e5a,0xa38b3));import a78_0x27f080 from'ol/style/Circle';import a78_0xef023f from'ol/style/Fill';import a78_0x5b66f7 from'ol/style/Stroke';import a78_0x1fe43e from'ol/style/Style';function a78_0x4e5a(){const _0x3e5ba1=['setImage','outlineColor','circle','1633468kxvlFF','setFill','rgba(121,\x20243,\x20238,\x200)','scale','anchor','592612oUiZTx','setText','7793192lRHqfO','rotation','rgba(0,\x20255,0,\x200)','radius','imgurl','6550587fgiMLC','rgba(0,\x20255,0,\x201)','rgba(121,\x20243,\x20238,\x200.3)','10doLWSK','rgba(121,\x20243,\x20238,\x201)','2232762gTzwdA','LineString','Polygon','text','color','outlineWidth','Point','opacity','545440WTTJOA','3BqFFFN','pointType','setStroke','2191194yXVBEC'];a78_0x4e5a=function(){return _0x3e5ba1;};return a78_0x4e5a();}import{createTextStyle,getColor}from'./common';function a78_0x2359(_0x10304e,_0x8f8b96){const _0x4e5a00=a78_0x4e5a();return a78_0x2359=function(_0x2359fc,_0xb751c9){_0x2359fc=_0x2359fc-0x6c;let _0x24272c=_0x4e5a00[_0x2359fc];return _0x24272c;},a78_0x2359(_0x10304e,_0x8f8b96);}import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x349bb2=a78_0x2359;return new a78_0x1fe43e({'image':new a78_0x27f080({'radius':0x5,'fill':new a78_0xef023f({'color':_0x349bb2(0x6f)}),'stroke':new a78_0x5b66f7({'color':_0x349bb2(0x6f),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x277a2a=a78_0x2359;return new a78_0x1fe43e({'image':new a78_0x27f080({'radius':0x5,'fill':new a78_0xef023f({'color':_0x277a2a(0x82)}),'stroke':new a78_0x5b66f7({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectLineStyle(){const _0x49c6b7=a78_0x2359;return new a78_0x1fe43e({'stroke':new a78_0x5b66f7({'color':_0x49c6b7(0x6f),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x366fbf=a78_0x2359;return new a78_0x1fe43e({'stroke':new a78_0x5b66f7({'color':_0x366fbf(0x6c),'width':0x2})});}export function getSelectPolygonStyle(){const _0x294c13=a78_0x2359;return new a78_0x1fe43e({'stroke':new a78_0x5b66f7({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a78_0xef023f({'color':_0x294c13(0x6d)})});}export function getSelectCancelPolygonStyle(){const _0x153791=a78_0x2359;return new a78_0x1fe43e({'stroke':new a78_0x5b66f7({'color':_0x153791(0x6c),'width':0x2}),'fill':new a78_0xef023f({'color':_0x153791(0x89)})});}export function getStyle(_0x3a50a3){const _0x3a3431=a78_0x2359;if(_0x3a50a3){const _0x959496=new a78_0x1fe43e();if(_0x3a50a3[_0x3a3431(0x73)]){const _0x4ddbe1=createTextStyle(_0x3a50a3,_0x3a50a3['text']);_0x4ddbe1&&_0x959496[_0x3a3431(0x86)](_0x4ddbe1),_0x959496['setZIndex'](0x1);}return _0x3a50a3[_0x3a3431(0x7e)]&&_0x959496[_0x3a3431(0x7b)](new a78_0x5b66f7({'color':getColor(_0x3a50a3[_0x3a3431(0x7e)],_0x3a50a3['outlineOpacity']),'width':_0x3a50a3[_0x3a3431(0x75)]||0x1})),_0x3a50a3[_0x3a3431(0x74)]&&_0x959496[_0x3a3431(0x81)](new a78_0xef023f({'color':getColor(_0x3a50a3['color'],_0x3a50a3[_0x3a3431(0x77)])})),_0x3a50a3['pointType']==_0x3a3431(0x7f)&&_0x959496[_0x3a3431(0x7d)](new a78_0x27f080({'radius':_0x3a50a3[_0x3a3431(0x8a)]||0x5,'fill':new a78_0xef023f({'color':getColor(_0x3a50a3[_0x3a3431(0x74)],_0x3a50a3[_0x3a3431(0x77)])})})),(_0x3a50a3[_0x3a3431(0x7a)]=='icon'||_0x3a50a3['imgurl'])&&_0x959496[_0x3a3431(0x7d)](new Icon({'src':_0x3a50a3[_0x3a3431(0x8b)],'anchor':_0x3a50a3[_0x3a3431(0x84)]||[0.5,0.5],'scale':_0x3a50a3[_0x3a3431(0x83)]||0x1,'rotation':_0x3a50a3[_0x3a3431(0x88)]||0x0})),_0x959496;}return new a78_0x1fe43e({'stroke':new a78_0x5b66f7({'color':_0x3a3431(0x6f),'width':0x2}),'fill':new a78_0xef023f({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectStyle(_0x1c80fe){const _0x532182=a78_0x2359;let _0x1246d7=getSelectPolygonStyle();switch(_0x1c80fe){case'MultiPolygon':case _0x532182(0x72):_0x1246d7=getSelectPolygonStyle();break;case'MultiLineString':case _0x532182(0x71):_0x1246d7=getSelectLineStyle();break;case'MultiPoint':case _0x532182(0x76):_0x1246d7=getSelectPointStyle();break;default:break;}return _0x1246d7;}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x160654,_0x296563){const _0x48a3d7=a74_0x1bbd,_0x719ad1=_0x160654();while(!![]){try{const _0x4a348d=parseInt(_0x48a3d7(0x9b))/0x1+-parseInt(_0x48a3d7(0xa9))/0x2*(parseInt(_0x48a3d7(0xb7))/0x3)+parseInt(_0x48a3d7(0xa0))/0x4+-parseInt(_0x48a3d7(0xad))/0x5+-parseInt(_0x48a3d7(0xab))/0x6*(-parseInt(_0x48a3d7(0x97))/0x7)+-parseInt(_0x48a3d7(0xb9))/0x8*(-parseInt(_0x48a3d7(0x9e))/0x9)+-parseInt(_0x48a3d7(0x9a))/0xa*(parseInt(_0x48a3d7(0xba))/0xb);if(_0x4a348d===_0x296563)break;else _0x719ad1['push'](_0x719ad1['shift']());}catch(_0xe4688b){_0x719ad1['push'](_0x719ad1['shift']());}}}(a74_0x188e,0x4d47b));import a74_0x484067 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a74_0x20b37f from'../utils/plug/canvas/PinIcon';import a74_0x5a34af from'ol/ImageState';function a74_0x1bbd(_0x3d03c8,_0x420636){const _0x188e5a=a74_0x188e();return a74_0x1bbd=function(_0x1bbdf4,_0x288968){_0x1bbdf4=_0x1bbdf4-0x93;let _0x1c601e=_0x188e5a[_0x1bbdf4];return _0x1c601e;},a74_0x1bbd(_0x3d03c8,_0x420636);}function a74_0x188e(){const _0xdd5dbd=['font','borderLineOpacity','italic','distanceDisplayFar','#000000','load','markerColor','borderLineColor','image','7LCAvuG','getImageState','alpha','1990iWrHOl','410199EqPsYo','listenImageChange','backgroundColor','10386DLtFFJ','borderLineWidth','645352QLrRng','IDLE','family','normal','getView','haloWidth','ERROR','haloColor','LOADED','36372ecFbAQ','getResolutionForZoom','2903946IzALLd','hexa','912860SAbuHG','offsetX','distanceDisplayNear','size','haloOpacity','pow','#2A2A2A','middle','\x20normal\x20','getImage','51aMbWtT','textBaseline','696NATSrQ','19217mVbhjI'];a74_0x188e=function(){return _0xdd5dbd;};return a74_0x188e();}export function isShowStyle(_0x52fa29,_0x303f06,_0x195348){const _0x25cc7a=a74_0x1bbd;let _0x3f9f77=!![];if(_0x303f06==undefined||_0x195348==undefined)return _0x3f9f77;if(_0x52fa29&&typeof _0x52fa29[_0x25cc7a(0xbe)]!=undefined&&typeof _0x52fa29[_0x25cc7a(0xaf)]!=undefined){if(_0x52fa29['distanceDisplayFar']&&_0x195348){_0x3f9f77=![];let _0x24bb3b=getLevel(_0x52fa29['distanceDisplayFar']),_0x35b6d4=_0x195348[_0x25cc7a(0xa4)]()[_0x25cc7a(0xaa)](_0x24bb3b);_0x303f06<_0x35b6d4&&(_0x3f9f77=!![]);}if(_0x3f9f77&&_0x52fa29[_0x25cc7a(0xaf)]&&_0x195348){_0x3f9f77=![];let _0x2aa7a3=getLevel(_0x52fa29['distanceDisplayNear']),_0x218b0a=_0x195348[_0x25cc7a(0xa4)]()[_0x25cc7a(0xaa)](_0x2aa7a3);_0x303f06>_0x218b0a&&(_0x3f9f77=!![]);}}return _0x3f9f77;}export function getLevel(_0xc45c64){const _0xa471d9=a74_0x1bbd,_0x5ce9f2=3252.745,_0x5daa4b=0.0009198301,_0x20b435=52977.61,_0x187f73=-3228.107;return _0x187f73+(_0x5ce9f2-_0x187f73)/(0x1+Math[_0xa471d9(0xb2)](_0xc45c64/_0x20b435,_0x5daa4b));}export function toRadians(_0x22566d){if(_0x22566d)return-(_0x22566d*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x89893c,_0x29d6d9,_0xe75bd2,_0x32e7e6){const _0x311eca=a74_0x1bbd;var _0x4ead03,_0x2915fd,_0xa72e2,_0x39e588,_0x1ffa9d,_0x37af65,_0x260de1,_0x40683d;if(_0x89893c){let _0x20cd88=isShowStyle(_0x89893c,_0xe75bd2,_0x32e7e6);if(_0x20cd88===![])return undefined;else{const _0x494c40=_0x89893c[_0x311eca(0xbb)],_0x1a21ae=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xbd)])?'italic':_0x311eca(0xa3),_0x1c8667=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40['weight'])?'bold':_0x311eca(0xa3),_0x1f3732=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xb0)])||'25',_0x58b154=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xa2)])||'楷体';let _0x3790e4=_0x1a21ae+_0x311eca(0xb5)+_0x1c8667+'\x20'+_0x1f3732+'px\x20'+_0x58b154,_0x5d9289=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xae)])||0x0,_0x3f7d6d=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40['offsetY'])||0x0,_0x3aece1=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xb8)])||_0x311eca(0xb4),_0x13fabf=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40['textAlign'])||'center';const _0x43e125=_0x89893c['opacity']||0x1;let _0x332970=undefined;return(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xa7)])&&(_0x332970=_getStroke(_0x494c40['haloColor'],_0x494c40[_0x311eca(0xb1)],_0x494c40[_0x311eca(0xa5)])),new Text({'overflow':!![],'text':_0x29d6d9,'font':_0x3790e4,'offsetX':_0x5d9289,'offsetY':_0x3f7d6d,'textAlign':_0x13fabf,'textBaseline':_0x3aece1,'fill':new Fill({'color':getColor(((_0x4ead03=_0x89893c[_0x311eca(0xbb)])===null||_0x4ead03===void 0x0?void 0x0:_0x4ead03['color'])||_0x311eca(0xbf),_0x43e125)}),'stroke':_0x332970,'backgroundFill':((_0x2915fd=_0x89893c[_0x311eca(0xbb)])===null||_0x2915fd===void 0x0?void 0x0:_0x2915fd[_0x311eca(0x9d)])?new Fill({'color':getColor(((_0xa72e2=_0x89893c[_0x311eca(0xbb)])===null||_0xa72e2===void 0x0?void 0x0:_0xa72e2[_0x311eca(0x9d)])||_0x311eca(0xb3),((_0x39e588=_0x89893c['font'])===null||_0x39e588===void 0x0?void 0x0:_0x39e588['backgroundOpacity'])||0x1)}):undefined,'backgroundStroke':((_0x1ffa9d=_0x89893c[_0x311eca(0xbb)])===null||_0x1ffa9d===void 0x0?void 0x0:_0x1ffa9d[_0x311eca(0x95)])?_getStroke((_0x37af65=_0x89893c[_0x311eca(0xbb)])===null||_0x37af65===void 0x0?void 0x0:_0x37af65[_0x311eca(0x95)],((_0x260de1=_0x89893c['font'])===null||_0x260de1===void 0x0?void 0x0:_0x260de1[_0x311eca(0xbc)])||0x1,((_0x40683d=_0x89893c['font'])===null||_0x40683d===void 0x0?void 0x0:_0x40683d[_0x311eca(0x9f)])||0x1):undefined});}}else return undefined;}export function getColor(_0xa52533,_0x41cc43){const _0x4559d9=a74_0x1bbd;return a74_0x484067(_0xa52533)[_0x4559d9(0x99)](_0x41cc43!=undefined?_0x41cc43:0x1)[_0x4559d9(0xac)]();}function _getStroke(_0x25124f,_0x18e435,_0x5c82cd){return new Stroke({'color':getColor(_0x25124f,_0x18e435),'width':_0x5c82cd==undefined?0x1:_0x5c82cd});}export function preLoadImageRenderFunction(_0x142849,_0x16da88,_0x2dd97f,_0xcaff5b,_0x12f195){const _0x29cb53=a74_0x1bbd;let _0x997e6a;_0x142849[_0x29cb53(0x94)]?_0x997e6a=new a74_0x20b37f(_0x142849):_0x997e6a=new Icon({'src':_0x142849[_0x29cb53(0x96)]});let _0x41f36b=_0x997e6a[_0x29cb53(0x98)]();_0x41f36b===a74_0x5a34af[_0x29cb53(0xa8)]||_0x41f36b===a74_0x5a34af[_0x29cb53(0xa6)]?_0x12f195(_0x142849,_0x16da88,_0x2dd97f,_0xcaff5b,_0x997e6a['getImage'](0x60)):(_0x41f36b===a74_0x5a34af[_0x29cb53(0xa1)]&&_0x997e6a[_0x29cb53(0x93)](),_0x997e6a[_0x29cb53(0x9c)](_0xa258e7=>{const _0x10db32=_0x29cb53;_0x41f36b=_0xa258e7['target'][_0x10db32(0x98)](),(_0x41f36b===a74_0x5a34af[_0x10db32(0xa8)]||_0x41f36b===a74_0x5a34af[_0x10db32(0xa6)])&&_0x12f195(_0x142849,_0x16da88,_0x2dd97f,_0xcaff5b,_0x997e6a[_0x10db32(0xb6)](0x60));}));}
1
+ (function(_0x5363d7,_0x290c27){const _0x4cb451=a74_0x5ed3,_0x151ff4=_0x5363d7();while(!![]){try{const _0x5a6958=parseInt(_0x4cb451(0x103))/0x1+-parseInt(_0x4cb451(0x104))/0x2+parseInt(_0x4cb451(0x109))/0x3+parseInt(_0x4cb451(0x114))/0x4+-parseInt(_0x4cb451(0x10d))/0x5*(-parseInt(_0x4cb451(0xed))/0x6)+parseInt(_0x4cb451(0xf1))/0x7+-parseInt(_0x4cb451(0xf7))/0x8*(parseInt(_0x4cb451(0xe7))/0x9);if(_0x5a6958===_0x290c27)break;else _0x151ff4['push'](_0x151ff4['shift']());}catch(_0x4b5323){_0x151ff4['push'](_0x151ff4['shift']());}}}(a74_0x52f5,0x3e57f));import a74_0x440ea6 from'color';function a74_0x5ed3(_0x5de8be,_0x20ea2b){const _0x52f5fb=a74_0x52f5();return a74_0x5ed3=function(_0x5ed3ea,_0x1fdf4b){_0x5ed3ea=_0x5ed3ea-0xe5;let _0x5061cc=_0x52f5fb[_0x5ed3ea];return _0x5061cc;},a74_0x5ed3(_0x5de8be,_0x20ea2b);}import{Fill,Icon,Stroke,Text}from'ol/style';import a74_0x485e3e from'../utils/plug/canvas/PinIcon';import a74_0x169f06 from'ol/ImageState';export function isShowStyle(_0xcea465,_0x1549c2,_0x3562bf){const _0x50a825=a74_0x5ed3;let _0x491581=!![];if(_0x1549c2==undefined||_0x3562bf==undefined)return _0x491581;if(_0xcea465&&typeof _0xcea465['distanceDisplayFar']!=undefined&&typeof _0xcea465[_0x50a825(0xe9)]!=undefined){if(_0xcea465[_0x50a825(0xfb)]&&_0x3562bf){_0x491581=![];let _0x3cef43=getLevel(_0xcea465['distanceDisplayFar']),_0x1ef5e7=_0x3562bf[_0x50a825(0xe6)]()[_0x50a825(0xf5)](_0x3cef43);_0x1549c2<_0x1ef5e7&&(_0x491581=!![]);}if(_0x491581&&_0xcea465[_0x50a825(0xe9)]&&_0x3562bf){_0x491581=![];let _0x2ee0df=getLevel(_0xcea465[_0x50a825(0xe9)]),_0x3d6f0a=_0x3562bf[_0x50a825(0xe6)]()[_0x50a825(0xf5)](_0x2ee0df);_0x1549c2>_0x3d6f0a&&(_0x491581=!![]);}}return _0x491581;}export function getLevel(_0x2ac8ee){const _0xa652d5=a74_0x5ed3,_0xb32d82=3252.745,_0x11619d=0.0009198301,_0x36968c=52977.61,_0x174fac=-3228.107;return _0x174fac+(_0xb32d82-_0x174fac)/(0x1+Math[_0xa652d5(0xf9)](_0x2ac8ee/_0x36968c,_0x11619d));}function a74_0x52f5(){const _0x1930df=['textAlign','color','haloColor','target','920644WPzmqs','IDLE','getView','615420nRYVpy','opacity','distanceDisplayNear','LOADED','size','normal','828906mpJSJr','haloOpacity','backgroundOpacity','weight','1767269ECzvYK','italic','haloWidth','ERROR','getResolutionForZoom','borderLineOpacity','40Bocpsh','#2A2A2A','pow','getImage','distanceDisplayFar','backgroundColor','family','listenImageChange','px\x20','borderLineColor','markerColor','image','292898CtPZmG','838740uxEpFK','borderLineWidth','offsetX','bold','font','308856fgFqJl','load','#000000','getImageState','5MhiEsD','hexa','offsetY'];a74_0x52f5=function(){return _0x1930df;};return a74_0x52f5();}export function toRadians(_0x49dacd){if(_0x49dacd)return-(_0x49dacd*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x243b16,_0x161fd5,_0x1b7ea2,_0xc7ff3b){const _0x20a7d0=a74_0x5ed3;var _0x38172b,_0x14ee7d,_0x4fdce8,_0x4273e5,_0x2234cf,_0x167c1e,_0xcc9f48,_0x562bee;if(_0x243b16){let _0x13bafb=isShowStyle(_0x243b16,_0x1b7ea2,_0xc7ff3b);if(_0x13bafb===![])return undefined;else{const _0x6147a5=_0x243b16[_0x20a7d0(0x108)],_0x11f635=(_0x6147a5===null||_0x6147a5===void 0x0?void 0x0:_0x6147a5['italic'])?_0x20a7d0(0xf2):_0x20a7d0(0xec),_0x3ecb74=(_0x6147a5===null||_0x6147a5===void 0x0?void 0x0:_0x6147a5[_0x20a7d0(0xf0)])?_0x20a7d0(0x107):_0x20a7d0(0xec),_0x318949=(_0x6147a5===null||_0x6147a5===void 0x0?void 0x0:_0x6147a5[_0x20a7d0(0xeb)])||'25',_0x34b27e=(_0x6147a5===null||_0x6147a5===void 0x0?void 0x0:_0x6147a5[_0x20a7d0(0xfd)])||'楷体';let _0x79081=_0x11f635+'\x20normal\x20'+_0x3ecb74+'\x20'+_0x318949+_0x20a7d0(0xff)+_0x34b27e,_0x2f8ae3=(_0x6147a5===null||_0x6147a5===void 0x0?void 0x0:_0x6147a5[_0x20a7d0(0x106)])||0x0,_0x217a11=(_0x6147a5===null||_0x6147a5===void 0x0?void 0x0:_0x6147a5[_0x20a7d0(0x10f)])||0x0,_0x3aa377=(_0x6147a5===null||_0x6147a5===void 0x0?void 0x0:_0x6147a5['textBaseline'])||'middle',_0xfe4706=(_0x6147a5===null||_0x6147a5===void 0x0?void 0x0:_0x6147a5[_0x20a7d0(0x110)])||'center';const _0x1c1481=_0x243b16[_0x20a7d0(0xe8)]||0x1;let _0x291b9e=undefined;return(_0x6147a5===null||_0x6147a5===void 0x0?void 0x0:_0x6147a5[_0x20a7d0(0x112)])&&(_0x291b9e=_getStroke(_0x6147a5['haloColor'],_0x6147a5[_0x20a7d0(0xee)],_0x6147a5[_0x20a7d0(0xf3)])),new Text({'overflow':!![],'text':_0x161fd5,'font':_0x79081,'offsetX':_0x2f8ae3,'offsetY':_0x217a11,'textAlign':_0xfe4706,'textBaseline':_0x3aa377,'fill':new Fill({'color':getColor(((_0x38172b=_0x243b16[_0x20a7d0(0x108)])===null||_0x38172b===void 0x0?void 0x0:_0x38172b[_0x20a7d0(0x111)])||_0x20a7d0(0x10b),_0x1c1481)}),'stroke':_0x291b9e,'backgroundFill':((_0x14ee7d=_0x243b16['font'])===null||_0x14ee7d===void 0x0?void 0x0:_0x14ee7d[_0x20a7d0(0xfc)])?new Fill({'color':getColor(((_0x4fdce8=_0x243b16[_0x20a7d0(0x108)])===null||_0x4fdce8===void 0x0?void 0x0:_0x4fdce8['backgroundColor'])||_0x20a7d0(0xf8),((_0x4273e5=_0x243b16[_0x20a7d0(0x108)])===null||_0x4273e5===void 0x0?void 0x0:_0x4273e5[_0x20a7d0(0xef)])||0x1)}):undefined,'backgroundStroke':((_0x2234cf=_0x243b16[_0x20a7d0(0x108)])===null||_0x2234cf===void 0x0?void 0x0:_0x2234cf[_0x20a7d0(0x100)])?_getStroke((_0x167c1e=_0x243b16[_0x20a7d0(0x108)])===null||_0x167c1e===void 0x0?void 0x0:_0x167c1e[_0x20a7d0(0x100)],((_0xcc9f48=_0x243b16[_0x20a7d0(0x108)])===null||_0xcc9f48===void 0x0?void 0x0:_0xcc9f48[_0x20a7d0(0xf6)])||0x1,((_0x562bee=_0x243b16[_0x20a7d0(0x108)])===null||_0x562bee===void 0x0?void 0x0:_0x562bee[_0x20a7d0(0x105)])||0x1):undefined});}}else return undefined;}export function getColor(_0x3ee5ab,_0x46060e){const _0x3e085c=a74_0x5ed3;return a74_0x440ea6(_0x3ee5ab)['alpha'](_0x46060e!=undefined?_0x46060e:0x1)[_0x3e085c(0x10e)]();}function _getStroke(_0x3eecc4,_0x275ea3,_0x219129){return new Stroke({'color':getColor(_0x3eecc4,_0x275ea3),'width':_0x219129==undefined?0x1:_0x219129});}export function preLoadImageRenderFunction(_0x4863d5,_0x1c8089,_0xfe1a01,_0x1f520e,_0x2a3847){const _0x125078=a74_0x5ed3;let _0x5a5e91;_0x4863d5[_0x125078(0x101)]?_0x5a5e91=new a74_0x485e3e(_0x4863d5):_0x5a5e91=new Icon({'src':_0x4863d5[_0x125078(0x102)]});let _0x56dd4f=_0x5a5e91['getImageState']();_0x56dd4f===a74_0x169f06[_0x125078(0xea)]||_0x56dd4f===a74_0x169f06[_0x125078(0xf4)]?_0x2a3847(_0x4863d5,_0x1c8089,_0xfe1a01,_0x1f520e,_0x5a5e91[_0x125078(0xfa)](0x60)):(_0x56dd4f===a74_0x169f06[_0x125078(0xe5)]&&_0x5a5e91[_0x125078(0x10a)](),_0x5a5e91[_0x125078(0xfe)](_0x2d6d51=>{const _0x292472=_0x125078;_0x56dd4f=_0x2d6d51[_0x292472(0x113)][_0x292472(0x10c)](),(_0x56dd4f===a74_0x169f06[_0x292472(0xea)]||_0x56dd4f===a74_0x169f06['ERROR'])&&_0x2a3847(_0x4863d5,_0x1c8089,_0xfe1a01,_0x1f520e,_0x5a5e91['getImage'](0x60));}));}
@@ -1 +1 @@
1
- function a79_0x5900(_0x50a7cf,_0x509194){const _0x1a3537=a79_0x1a35();return a79_0x5900=function(_0x590042,_0x26027a){_0x590042=_0x590042-0x187;let _0x4cfdb4=_0x1a3537[_0x590042];return _0x4cfdb4;},a79_0x5900(_0x50a7cf,_0x509194);}(function(_0x497d99,_0xcda4ce){const _0x1142f7=a79_0x5900,_0x2e4d2f=_0x497d99();while(!![]){try{const _0x2df5db=parseInt(_0x1142f7(0x18b))/0x1+-parseInt(_0x1142f7(0x195))/0x2+-parseInt(_0x1142f7(0x187))/0x3*(parseInt(_0x1142f7(0x18f))/0x4)+-parseInt(_0x1142f7(0x18a))/0x5*(parseInt(_0x1142f7(0x188))/0x6)+-parseInt(_0x1142f7(0x194))/0x7+-parseInt(_0x1142f7(0x193))/0x8+-parseInt(_0x1142f7(0x189))/0x9*(-parseInt(_0x1142f7(0x18e))/0xa);if(_0x2df5db===_0xcda4ce)break;else _0x2e4d2f['push'](_0x2e4d2f['shift']());}catch(_0x55894e){_0x2e4d2f['push'](_0x2e4d2f['shift']());}}}(a79_0x1a35,0x9d98e));export function getDeepth(_0xa023ee){function _0x1d7836(_0x1a22fd,_0x394846){const _0x312101=a79_0x5900;return _0x1a22fd[_0x312101(0x191)](function(_0xc3a3ea,_0x488f49){const _0x2ef039=_0x312101;var _0x4d4a85;return Array[_0x2ef039(0x196)](_0x488f49)&&(_0x4d4a85=_0x1d7836(_0x488f49,_0x394846+0x1)),_0x4d4a85>_0xc3a3ea?_0x4d4a85:_0xc3a3ea;},_0x394846);}return _0x1d7836(_0xa023ee,0x1);}function a79_0x1a35(){const _0x2c3dcb=['8545551MAQunh','483806VdmFxa','isArray','26733bkZSYm','6qeXbrE','6714vdWvdC','1661135cHYkAS','1150336nomHIk','every','length','30040TMllbg','316bIlAzO','keys','reduce','object','1975280tDvzMQ'];a79_0x1a35=function(){return _0x2c3dcb;};return a79_0x1a35();}export function compareArray(_0x1a115b,_0x5abb00){const _0x3041a8=a79_0x5900;if(_0x1a115b[_0x3041a8(0x18d)]!==_0x5abb00[_0x3041a8(0x18d)])return![];const _0x23f128=_0x1a115b[_0x3041a8(0x18d)];for(let _0x2dfa80=0x0;_0x2dfa80<_0x23f128;_0x2dfa80++){if(!compare(_0x1a115b[_0x2dfa80],_0x5abb00[_0x2dfa80]))return![];}return!![];}export function compare(_0x400399,_0x702218){const _0x319fa2=a79_0x5900;if(_0x400399===_0x702218)return!![];if(typeof _0x400399!==typeof _0x702218||_0x400399===null||_0x702218===null)return![];if(Array['isArray'](_0x400399)){if(!Array[_0x319fa2(0x196)](_0x702218))return![];return compareArray(_0x400399,_0x702218);}if(typeof _0x400399===_0x319fa2(0x192))return compareObject(_0x400399,_0x702218);return![];}export function compareObject(_0x2ec784,_0x1e05b5){const _0xb9b5e7=a79_0x5900,_0xd7030a=Object[_0xb9b5e7(0x190)](_0x2ec784),_0x419fde=Object[_0xb9b5e7(0x190)](_0x1e05b5);if(_0xd7030a[_0xb9b5e7(0x18d)]!==_0x419fde[_0xb9b5e7(0x18d)])return![];return _0xd7030a[_0xb9b5e7(0x18c)](_0x4617ad=>{if(!compare(_0x2ec784[_0x4617ad],_0x1e05b5[_0x4617ad]))return![];return!![];});}
1
+ (function(_0x4a1397,_0x28772c){const _0x2489c9=a79_0x5702,_0x4630ca=_0x4a1397();while(!![]){try{const _0x1be593=parseInt(_0x2489c9(0x18c))/0x1+-parseInt(_0x2489c9(0x192))/0x2+-parseInt(_0x2489c9(0x18e))/0x3+-parseInt(_0x2489c9(0x190))/0x4*(-parseInt(_0x2489c9(0x193))/0x5)+-parseInt(_0x2489c9(0x191))/0x6+-parseInt(_0x2489c9(0x194))/0x7+parseInt(_0x2489c9(0x198))/0x8;if(_0x1be593===_0x28772c)break;else _0x4630ca['push'](_0x4630ca['shift']());}catch(_0x41c919){_0x4630ca['push'](_0x4630ca['shift']());}}}(a79_0x537d,0xc06cc));export function getDeepth(_0x564663){function _0x437ff7(_0x248f5e,_0x559e7a){const _0x122511=a79_0x5702;return _0x248f5e[_0x122511(0x196)](function(_0x7a009a,_0xe347bb){const _0x41c9d2=_0x122511;var _0x39ec64;return Array[_0x41c9d2(0x18f)](_0xe347bb)&&(_0x39ec64=_0x437ff7(_0xe347bb,_0x559e7a+0x1)),_0x39ec64>_0x7a009a?_0x39ec64:_0x7a009a;},_0x559e7a);}return _0x437ff7(_0x564663,0x1);}export function compareArray(_0x28b9b4,_0x4235d1){const _0x4e0b60=a79_0x5702;if(_0x28b9b4[_0x4e0b60(0x199)]!==_0x4235d1[_0x4e0b60(0x199)])return![];const _0x20471b=_0x28b9b4[_0x4e0b60(0x199)];for(let _0x35ee40=0x0;_0x35ee40<_0x20471b;_0x35ee40++){if(!compare(_0x28b9b4[_0x35ee40],_0x4235d1[_0x35ee40]))return![];}return!![];}function a79_0x5702(_0x55113c,_0x25ab98){const _0x537d19=a79_0x537d();return a79_0x5702=function(_0x570212,_0x300f4c){_0x570212=_0x570212-0x18c;let _0x11cafd=_0x537d19[_0x570212];return _0x11cafd;},a79_0x5702(_0x55113c,_0x25ab98);}export function compare(_0x28989f,_0x745367){const _0x3a9427=a79_0x5702;if(_0x28989f===_0x745367)return!![];if(typeof _0x28989f!==typeof _0x745367||_0x28989f===null||_0x745367===null)return![];if(Array[_0x3a9427(0x18f)](_0x28989f)){if(!Array[_0x3a9427(0x18f)](_0x745367))return![];return compareArray(_0x28989f,_0x745367);}if(typeof _0x28989f===_0x3a9427(0x197))return compareObject(_0x28989f,_0x745367);return![];}function a79_0x537d(){const _0x24e5d6=['38590OvlAlM','every','3442662ujeiGQ','isArray','60XoPCsO','953100ISiqyK','835770rCffxM','16755TcSiKA','2826992NtEwgr','keys','reduce','object','22619696CGydIO','length'];a79_0x537d=function(){return _0x24e5d6;};return a79_0x537d();}export function compareObject(_0x37c5c9,_0x446510){const _0x100202=a79_0x5702,_0x42d5af=Object[_0x100202(0x195)](_0x37c5c9),_0x5a9909=Object[_0x100202(0x195)](_0x446510);if(_0x42d5af[_0x100202(0x199)]!==_0x5a9909[_0x100202(0x199)])return![];return _0x42d5af[_0x100202(0x18d)](_0x1619e1=>{if(!compare(_0x37c5c9[_0x1619e1],_0x446510[_0x1619e1]))return![];return!![];});}
@@ -1 +1 @@
1
- const a80_0x2c8edf=a80_0x3277;(function(_0x5d6432,_0x37b979){const _0x3568a1=a80_0x3277,_0x2568a3=_0x5d6432();while(!![]){try{const _0x2ce6b0=-parseInt(_0x3568a1(0x15b))/0x1*(parseInt(_0x3568a1(0x160))/0x2)+parseInt(_0x3568a1(0x155))/0x3+-parseInt(_0x3568a1(0x165))/0x4+-parseInt(_0x3568a1(0x166))/0x5+-parseInt(_0x3568a1(0x164))/0x6+-parseInt(_0x3568a1(0x15c))/0x7+parseInt(_0x3568a1(0x162))/0x8*(parseInt(_0x3568a1(0x156))/0x9);if(_0x2ce6b0===_0x37b979)break;else _0x2568a3['push'](_0x2568a3['shift']());}catch(_0x3e3b5b){_0x2568a3['push'](_0x2568a3['shift']());}}}(a80_0x5cdb,0x41cde));import a80_0x10e429 from'axios';function a80_0x5cdb(){const _0x3a3c5f=['936575bukInK','1246200sKYopV','2004120KZiMnd','get','create','hasOwnProperty','constructor','121tGWdnE','1397305YglTNT','append','forEach','stringify','2982XspaVX','jsonp','32cqafec','ajax','1317732QibilY','998492mUPzaA'];a80_0x5cdb=function(){return _0x3a3c5f;};return a80_0x5cdb();}import a80_0x2ec362 from'jquery';const request=a80_0x10e429[a80_0x2c8edf(0x158)]({'timeout':0xb4*0x3e8});export function jsonp(_0x49a9e4){return new Promise((_0x2c0c2b,_0x2d1ea3)=>{const _0x140a08=a80_0x3277;a80_0x2ec362[_0x140a08(0x163)]({'url':_0x49a9e4,'type':_0x140a08(0x157),'dataType':_0x140a08(0x161),'success':_0x672859=>{_0x2c0c2b(_0x672859);},'error':_0x3f9d75=>{_0x2d1ea3(_0x3f9d75);}});});}function a80_0x3277(_0xabe3ce,_0x344ede){const _0x5cdbbc=a80_0x5cdb();return a80_0x3277=function(_0x3277c6,_0xb21e59){_0x3277c6=_0x3277c6-0x155;let _0x375446=_0x5cdbbc[_0x3277c6];return _0x375446;},a80_0x3277(_0xabe3ce,_0x344ede);}export function stringify(_0x287363){const _0x5feed7=a80_0x2c8edf,_0x1fdaec=new FormData();for(const _0x286174 in _0x287363){if(_0x287363[_0x5feed7(0x159)](_0x286174)){if(_0x287363[_0x286174]){if(_0x287363[_0x286174][_0x5feed7(0x15a)]===Array)_0x287363[_0x286174][0x0]?_0x287363[_0x286174][0x0]['constructor']===Object?_0x1fdaec['append'](_0x286174,JSON[_0x5feed7(0x15f)](_0x287363[_0x286174])):_0x287363[_0x286174][_0x5feed7(0x15e)]((_0xc958fe,_0x43d468)=>{_0x1fdaec['append'](_0x286174+('['+_0x43d468+']'),_0xc958fe);}):_0x1fdaec[_0x5feed7(0x15d)](_0x286174+'[]','');else _0x287363[_0x286174]['constructor']===Object?_0x1fdaec['append'](_0x286174,JSON[_0x5feed7(0x15f)](_0x287363[_0x286174])):_0x1fdaec[_0x5feed7(0x15d)](_0x286174,_0x287363[_0x286174]);}else _0x287363[_0x286174]===0x0?_0x1fdaec[_0x5feed7(0x15d)](_0x286174,'0'):_0x1fdaec[_0x5feed7(0x15d)](_0x286174,'');}}return _0x1fdaec;}export default request;
1
+ function a80_0x5445(_0x186820,_0x1e2eab){const _0x427172=a80_0x4271();return a80_0x5445=function(_0x5445a9,_0x1d4ae2){_0x5445a9=_0x5445a9-0xca;let _0x5c85df=_0x427172[_0x5445a9];return _0x5c85df;},a80_0x5445(_0x186820,_0x1e2eab);}function a80_0x4271(){const _0x5695b5=['336182hjNzin','jsonp','485532nRROaO','hasOwnProperty','6GrMjAC','constructor','96105caXkcv','create','1032857AchxhG','194190bNdfqX','598608iVovMn','stringify','append','get','1546232WqzCLg','forEach'];a80_0x4271=function(){return _0x5695b5;};return a80_0x4271();}const a80_0x4c692a=a80_0x5445;(function(_0x2fc740,_0x4e39ad){const _0x5338c1=a80_0x5445,_0x5f15d3=_0x2fc740();while(!![]){try{const _0x3bf587=parseInt(_0x5338c1(0xd4))/0x1+parseInt(_0x5338c1(0xcd))/0x2+-parseInt(_0x5338c1(0xce))/0x3+-parseInt(_0x5338c1(0xd6))/0x4+parseInt(_0x5338c1(0xca))/0x5+-parseInt(_0x5338c1(0xd8))/0x6*(parseInt(_0x5338c1(0xcc))/0x7)+parseInt(_0x5338c1(0xd2))/0x8;if(_0x3bf587===_0x4e39ad)break;else _0x5f15d3['push'](_0x5f15d3['shift']());}catch(_0x8222d2){_0x5f15d3['push'](_0x5f15d3['shift']());}}}(a80_0x4271,0x2b49b));import a80_0x1e7448 from'axios';import a80_0x267e4b from'jquery';const request=a80_0x1e7448[a80_0x4c692a(0xcb)]({'timeout':0xb4*0x3e8});export function jsonp(_0x339acb){return new Promise((_0x2c2521,_0xdf06e8)=>{const _0x140648=a80_0x5445;a80_0x267e4b['ajax']({'url':_0x339acb,'type':_0x140648(0xd1),'dataType':_0x140648(0xd5),'success':_0x351aa9=>{_0x2c2521(_0x351aa9);},'error':_0x33c523=>{_0xdf06e8(_0x33c523);}});});}export function stringify(_0x3e332f){const _0x288073=a80_0x4c692a,_0x266805=new FormData();for(const _0x392c50 in _0x3e332f){if(_0x3e332f[_0x288073(0xd7)](_0x392c50)){if(_0x3e332f[_0x392c50]){if(_0x3e332f[_0x392c50][_0x288073(0xd9)]===Array)_0x3e332f[_0x392c50][0x0]?_0x3e332f[_0x392c50][0x0][_0x288073(0xd9)]===Object?_0x266805[_0x288073(0xd0)](_0x392c50,JSON['stringify'](_0x3e332f[_0x392c50])):_0x3e332f[_0x392c50][_0x288073(0xd3)]((_0x57f51e,_0x5ccb5f)=>{const _0x3eba16=_0x288073;_0x266805[_0x3eba16(0xd0)](_0x392c50+('['+_0x5ccb5f+']'),_0x57f51e);}):_0x266805[_0x288073(0xd0)](_0x392c50+'[]','');else _0x3e332f[_0x392c50]['constructor']===Object?_0x266805[_0x288073(0xd0)](_0x392c50,JSON[_0x288073(0xcf)](_0x3e332f[_0x392c50])):_0x266805[_0x288073(0xd0)](_0x392c50,_0x3e332f[_0x392c50]);}else _0x3e332f[_0x392c50]===0x0?_0x266805[_0x288073(0xd0)](_0x392c50,'0'):_0x266805['append'](_0x392c50,'');}}return _0x266805;}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- function a81_0x219a(){const _0x325083=['33ISmhrf','replace','492772JQgoXN','3378095elelXd','EPSG:','1670130xzCPrR','774708ebGmcg','66681EEyFgV','toUpperCase','5473686xwzGjo','7322090ewuZPN','5560nPyqME','indexOf'];a81_0x219a=function(){return _0x325083;};return a81_0x219a();}(function(_0x4fcbd0,_0x3edd98){const _0x5e96b5=a81_0x5c13,_0x39dd81=_0x4fcbd0();while(!![]){try{const _0xd44e50=parseInt(_0x5e96b5(0xd3))/0x1+-parseInt(_0x5e96b5(0xd2))/0x2+-parseInt(_0x5e96b5(0xcd))/0x3*(parseInt(_0x5e96b5(0xcf))/0x4)+-parseInt(_0x5e96b5(0xca))/0x5+-parseInt(_0x5e96b5(0xd6))/0x6+-parseInt(_0x5e96b5(0xd0))/0x7+parseInt(_0x5e96b5(0xcb))/0x8*(parseInt(_0x5e96b5(0xd4))/0x9);if(_0xd44e50===_0x3edd98)break;else _0x39dd81['push'](_0x39dd81['shift']());}catch(_0x5cd0c4){_0x39dd81['push'](_0x39dd81['shift']());}}}(a81_0x219a,0xd57fb));function a81_0x5c13(_0xb4e7a,_0x54d816){const _0x219a13=a81_0x219a();return a81_0x5c13=function(_0x5c13a4,_0x514597){_0x5c13a4=_0x5c13a4-0xca;let _0x2509c0=_0x219a13[_0x5c13a4];return _0x2509c0;},a81_0x5c13(_0xb4e7a,_0x54d816);}export function getEsriSpatialReference(_0x23fd5a){const _0x56fc29=a81_0x5c13;let _0xd6e0fb;if(_0x23fd5a){let _0x5bb8bd=_0x23fd5a[_0x56fc29(0xd5)]();_0x5bb8bd[_0x56fc29(0xcc)]('EPSG:')===0x0?_0xd6e0fb=_0x23fd5a[_0x56fc29(0xce)](_0x56fc29(0xd1),''):_0xd6e0fb=_0x23fd5a;}return _0xd6e0fb;}
1
+ (function(_0x3c4206,_0x1d7644){const _0x71311d=a81_0x55d3,_0x15ce76=_0x3c4206();while(!![]){try{const _0x5e7110=-parseInt(_0x71311d(0xdf))/0x1*(-parseInt(_0x71311d(0xe1))/0x2)+parseInt(_0x71311d(0xde))/0x3*(-parseInt(_0x71311d(0xea))/0x4)+parseInt(_0x71311d(0xe6))/0x5*(parseInt(_0x71311d(0xe7))/0x6)+parseInt(_0x71311d(0xe9))/0x7+parseInt(_0x71311d(0xe0))/0x8*(parseInt(_0x71311d(0xe2))/0x9)+parseInt(_0x71311d(0xe5))/0xa*(-parseInt(_0x71311d(0xdd))/0xb)+-parseInt(_0x71311d(0xe8))/0xc;if(_0x5e7110===_0x1d7644)break;else _0x15ce76['push'](_0x15ce76['shift']());}catch(_0x3961ae){_0x15ce76['push'](_0x15ce76['shift']());}}}(a81_0x37de,0xe327b));export function getEsriSpatialReference(_0x41fb63){const _0x4342a8=a81_0x55d3;let _0x55bec5;if(_0x41fb63){let _0x34dd2c=_0x41fb63[_0x4342a8(0xe4)]();_0x34dd2c[_0x4342a8(0xe3)]('EPSG:')===0x0?_0x55bec5=_0x41fb63['replace']('EPSG:',''):_0x55bec5=_0x41fb63;}return _0x55bec5;}function a81_0x55d3(_0x1a83f5,_0x4c59bc){const _0x37deb6=a81_0x37de();return a81_0x55d3=function(_0x55d33d,_0x7dcb6f){_0x55d33d=_0x55d33d-0xdd;let _0x3dd19a=_0x37deb6[_0x55d33d];return _0x3dd19a;},a81_0x55d3(_0x1a83f5,_0x4c59bc);}function a81_0x37de(){const _0x446b5b=['2745568aeQGiG','1605764uPJEIt','188254AgPXly','9OtpoIp','1048IgLLTe','600jxEMAp','3356yeIRIQ','111636NNLQuG','indexOf','toUpperCase','10BzffgQ','142325FHfXkL','114YEFpDJ','17640468EwBRmV'];a81_0x37de=function(){return _0x446b5b;};return a81_0x37de();}
@@ -1 +1 @@
1
- (function(_0x233320,_0x442440){const _0x4f2b13=a84_0x450d,_0x3f49aa=_0x233320();while(!![]){try{const _0x2fec6d=-parseInt(_0x4f2b13(0x1f2))/0x1+-parseInt(_0x4f2b13(0x1fb))/0x2*(parseInt(_0x4f2b13(0x1de))/0x3)+parseInt(_0x4f2b13(0x1d5))/0x4*(parseInt(_0x4f2b13(0x1f7))/0x5)+-parseInt(_0x4f2b13(0x1f4))/0x6*(-parseInt(_0x4f2b13(0x1ec))/0x7)+parseInt(_0x4f2b13(0x201))/0x8*(parseInt(_0x4f2b13(0x1d6))/0x9)+-parseInt(_0x4f2b13(0x20b))/0xa*(parseInt(_0x4f2b13(0x1d2))/0xb)+-parseInt(_0x4f2b13(0x1f9))/0xc*(-parseInt(_0x4f2b13(0x1f6))/0xd);if(_0x2fec6d===_0x442440)break;else _0x3f49aa['push'](_0x3f49aa['shift']());}catch(_0x817b7e){_0x3f49aa['push'](_0x3f49aa['shift']());}}}(a84_0x91fa,0x2f450));import a84_0x29ee89 from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a84_0x1bd0e7}from'ol/coordinate';function a84_0x91fa(){const _0x2d2cf5=['10075BOuYbQ','error','27660jpFQZZ','MultiPoint','2FFqsws','isEmpty','getPolygons','map','sort','getCoordinates','16cooTfQ','union','getExtent','readGeometry','bufferOp','无法识别的数据类型','difference','toArray','getStartIndex','getGeometryType','20WkOjao','size','extractLine','abs','write','contains','transform','1251349sqOgtu','未找到投影信息','some','44HcuTTF','139941MHvLHX','getInteriorPoint','getCoordinate','clone','getGeometryN','getLinearRings','warn','getPixelFromCoordinate','179679YbpMDz','getLength','Polygon','intersects','getArea','indexOf','string','writeGeometry','getLineStrings','read','length','getType','MultiPolygon','getEndIndex','1024492cgDzlw','push','distance','Point','crosses','getInteriorRingN','370907thrCnd','forEach','6GnPIHv','getNumGeometries','3679Myfjqi'];a84_0x91fa=function(){return _0x2d2cf5;};return a84_0x91fa();}import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a84_0x543bf4,getArea as a84_0x36a5ec}from'ol/sphere';import a84_0x2beac7 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a84_0x43023c from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a84_0x3272e0 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a84_0x17e094 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a84_0xa8f0e2 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a84_0x458b66 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a84_0x36330d from'ol/format/GeoJSON';import a84_0x1497f2 from'jsts/org/locationtech/jts/geom/GeometryFactory';import a84_0x2212ce from'jsts/org/locationtech/jts/linearref/LengthIndexedLine';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a84_0x414f9f from'ol/format/WKT';import a84_0x2addcc from'ol/format/EsriJSON';const _parser=new a84_0x17e094(undefined,undefined);_parser['inject'](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x4d517a,_0x4ab20a,_0xbca119=![]){const _0x5d5cc2=a84_0x450d;if(!_0x4d517a)return 0x0;if(typeof _0x4ab20a==_0x5d5cc2(0x1e4)){let _0x17b7ec=registerProj(_0x4ab20a);if(_0x17b7ec==null)return console[_0x5d5cc2(0x1f8)]('未找到投影信息'),0x0;_0x4ab20a=_0x17b7ec;}const _0x3412ab=isSpheroid(_0x4ab20a);if(_0xbca119)return a84_0x36a5ec(_0x4d517a,{'projection':_0x4ab20a});else{if(_0x3412ab){const _0x842bfc=getGeoProjection(_0x4d517a,_0x4ab20a);return _0x4d517a[_0x5d5cc2(0x1d9)]()['transform'](_0x4ab20a,_0x842bfc)[_0x5d5cc2(0x1e2)]();}return _0x4d517a[_0x5d5cc2(0x1e2)]();}}export function getLength(_0x35d9fa,_0x33c157,_0xc7974c=![]){const _0xa07a13=a84_0x450d;if(!_0x35d9fa)return 0x0;if(typeof _0x33c157=='string'){let _0xd64b3a=registerProj(_0x33c157);if(_0xd64b3a==null)return console[_0xa07a13(0x1f8)](_0xa07a13(0x1d3)),0x0;_0x33c157=_0xd64b3a;}const _0x19bea2=isSpheroid(_0x33c157);if(_0xc7974c)return a84_0x543bf4(_0x35d9fa,{'projection':_0x33c157});else{let _0x472c49=_0x35d9fa;if(_0x19bea2){const _0x1579ab=getGeoProjection(_0x35d9fa,_0x33c157);_0x472c49=_0x35d9fa[_0xa07a13(0x1d9)]()[_0xa07a13(0x1d1)](_0x33c157,_0x1579ab);}if(_0x472c49 instanceof LineString)return _0x472c49['getLength']();else{let _0x175bf6=0x0;for(let _0x7fe151=0x0;_0x7fe151<_0x472c49[_0xa07a13(0x1e6)]()[_0xa07a13(0x1e8)];_0x7fe151++){_0x175bf6+=_0x472c49[_0xa07a13(0x1e6)]()[_0x7fe151][_0xa07a13(0x1df)]();}return _0x175bf6;}}}export function bufferOp(_0x45c66d,_0x2d3535){const _0x51fed1=a84_0x450d,_0x31dec5=_parser['read'](_0x45c66d),_0x2bca7d=a84_0x2beac7[_0x51fed1(0x205)](_0x31dec5,_0x2d3535);return _parser[_0x51fed1(0x1cf)](_0x2bca7d);}export function bufferPixel(_0x3597fa,_0xc06d5a,_0x5bf3be){const _0x5a2121=a84_0x450d,_0x27219a=_0x5bf3be[_0x5a2121(0x1dd)](_0x3597fa[_0x5a2121(0x200)]()),_0x1ecd47=_0x5bf3be['getCoordinateFromPixel']([_0x27219a[0x0]+_0xc06d5a,_0x27219a[0x1]]),_0x5e1083=a84_0x1bd0e7(_0x3597fa[_0x5a2121(0x200)](),_0x1ecd47),_0x1097bb=bufferOp(_0x3597fa,_0x5e1083);return _0x1097bb;}export function contains(_0x1fdc6f,_0x400ef4){const _0x201cd7=a84_0x450d,_0x36887c=_parser['read'](_0x1fdc6f),_0x59c724=_parser[_0x201cd7(0x1e7)](_0x400ef4);return a84_0x43023c[_0x201cd7(0x1d0)](_0x36887c,_0x59c724);}export function crosses(_0x51e0a8,_0x2e414b){const _0x244e17=a84_0x450d,_0x185c00=_parser['read'](_0x51e0a8),_0x15c33a=_parser['read'](_0x2e414b);return a84_0x43023c[_0x244e17(0x1f0)](_0x185c00,_0x15c33a);}export function intersects(_0xa51bd9,_0x9dc3a6){const _0x71df20=a84_0x450d,_0x1385ce=_parser['read'](_0xa51bd9),_0x6cef91=_parser[_0x71df20(0x1e7)](_0x9dc3a6);return a84_0x43023c[_0x71df20(0x1e1)](_0x1385ce,_0x6cef91);}export function intersection(_0x334ced,_0x17fd41){const _0x5b2710=a84_0x450d,_0x37eccf=_parser[_0x5b2710(0x1e7)](_0x334ced),_0x215eb3=_parser[_0x5b2710(0x1e7)](_0x17fd41);return _parser[_0x5b2710(0x1cf)](a84_0x3272e0['intersection'](_0x37eccf,_0x215eb3));}export function union(_0x169c5c,_0x455d09){const _0x169a20=a84_0x450d,_0xbef299=_parser[_0x169a20(0x1e7)](_0x169c5c),_0x24a460=_parser['read'](_0x455d09);return _parser[_0x169a20(0x1cf)](a84_0x3272e0[_0x169a20(0x202)](_0xbef299,_0x24a460));}export function unions(_0x42b0ad){const _0x3a7195=a84_0x450d;if(!_0x42b0ad||_0x42b0ad['length']===0x0)return;if(_0x42b0ad[_0x3a7195(0x1e8)]===0x1)return _0x42b0ad[0x0][_0x3a7195(0x1d9)]();let _0x22d022=_parser[_0x3a7195(0x1e7)](_0x42b0ad[0x0]);for(let _0x3fd5d6=0x1;_0x3fd5d6<_0x42b0ad['length'];_0x3fd5d6++){const _0x497f51=_parser[_0x3a7195(0x1e7)](_0x42b0ad[_0x3fd5d6]);_0x22d022=a84_0x3272e0['union'](_0x22d022,_0x497f51);}return _parser[_0x3a7195(0x1cf)](_0x22d022);}export function difference(_0x50127d,_0x2233e8){const _0x1510f6=a84_0x450d,_0x1a86ed=_parser[_0x1510f6(0x1e7)](_0x50127d),_0x557c48=_parser['read'](_0x2233e8);return _parser[_0x1510f6(0x1cf)](a84_0x3272e0['difference'](_0x1a86ed,_0x557c48));}export function distance(_0x42a4ea,_0x321f41){const _0x11db69=a84_0x450d,_0x2867bd=_parser[_0x11db69(0x1e7)](_0x42a4ea),_0x3449eb=_parser[_0x11db69(0x1e7)](_0x321f41);return _parser[_0x11db69(0x1cf)](a84_0x458b66[_0x11db69(0x1ee)](_0x2867bd,_0x3449eb));}export function jstlSplit(_0x4a5930,_0x373880){const _0x996118=a84_0x450d,_0x5ef2f9=_parser['read'](_0x4a5930),_0x40dbeb=_parser[_0x996118(0x1e7)](_0x373880),_0x25d0c8=_0x5ef2f9[_0x996118(0x20a)]();let _0x3e937e=[];function _0x2191d9(_0x2dbf16,_0x3f40eb){const _0x1aede6=_0x996118,_0x145ac3=_0x2dbf16['getExteriorRing'](),_0x2206e3=_0x2dbf16['getNumInteriorRing'](),_0x83d416=[];for(let _0x5a4e81=0x0;_0x5a4e81<_0x2206e3;_0x5a4e81++){_0x83d416[_0x1aede6(0x1ed)](_0x2dbf16[_0x1aede6(0x1f1)](_0x5a4e81));}const _0xb2163=a84_0x3272e0['union'](_0x145ac3,_0x3f40eb),_0x84a61f=new a84_0xa8f0e2();_0x84a61f['add'](_0xb2163);const _0x901ce0=_0x84a61f[_0x1aede6(0x1fd)](),_0x189cca=new a84_0x1497f2();_0x901ce0[_0x1aede6(0x1cc)]()>0x1?_0x901ce0[_0x1aede6(0x208)]()['forEach'](_0x106353=>{const _0x34326a=_0x1aede6;let _0x497ddd=_0x106353;_0x83d416[_0x34326a(0x1f3)](_0x526e58=>{const _0x3475f9=_0x34326a,_0x243b11=_0x189cca['createPolygon'](_0x526e58);try{_0x497ddd=a84_0x3272e0[_0x3475f9(0x207)](_0x497ddd,_0x243b11);}catch(_0x5abe53){console[_0x3475f9(0x1dc)]('孔洞操作失败:',_0x5abe53);}}),_0x497ddd&&_0x3e937e[_0x34326a(0x1ed)](_parser['write'](_0x497ddd));}):_0x3e937e[_0x1aede6(0x1ed)](_parser[_0x1aede6(0x1cf)](_0x2dbf16));}if(_0x25d0c8==='Polygon')_0x2191d9(_0x5ef2f9,_0x40dbeb);else{if(_0x25d0c8===_0x996118(0x1ea)){const _0xa62b57=_0x5ef2f9[_0x996118(0x1f5)]();for(let _0x1142dc=0x0;_0x1142dc<_0xa62b57;_0x1142dc++){const _0x56a027=_0x5ef2f9[_0x996118(0x1da)](_0x1142dc);_0x2191d9(_0x56a027,_0x40dbeb);}}else throw new Error(_0x996118(0x206));}return _0x3e937e;}export function splitLineByLine(_0xa62922,_0x2de9ce){const _0x275a88=a84_0x450d,_0x80492c=_parser[_0x275a88(0x1e7)](_0xa62922),_0x52eeb3=_parser['read'](_0x2de9ce),_0x4e36d7=a84_0x3272e0['intersection'](_0x80492c,_0x52eeb3);if(!_0x4e36d7||_0x4e36d7[_0x275a88(0x1fc)]())return[_0xa62922];const _0x453601=[];if(_0x4e36d7[_0x275a88(0x20a)]()===_0x275a88(0x1ef))_0x453601[_0x275a88(0x1ed)](_0x4e36d7[_0x275a88(0x1d8)]());else{if(_0x4e36d7[_0x275a88(0x20a)]()===_0x275a88(0x1fa))for(let _0x254415=0x0;_0x254415<_0x4e36d7[_0x275a88(0x1f5)]();_0x254415++){_0x453601[_0x275a88(0x1ed)](_0x4e36d7['getGeometryN'](_0x254415)[_0x275a88(0x1d8)]());}}const _0x2e52df=new a84_0x2212ce(_0x80492c),_0x3fd29d=_0x453601[_0x275a88(0x1fe)](_0x1363b0=>_0x2e52df[_0x275a88(0x1e3)](_0x1363b0))[_0x275a88(0x1ff)]((_0x37436c,_0x8feab9)=>_0x37436c-_0x8feab9),_0x52a8c4=[],_0xcb07b1=1e-9;for(let _0x175681=0x0;_0x175681<_0x3fd29d[_0x275a88(0x1e8)];_0x175681++){if(_0x175681===0x0||Math[_0x275a88(0x1ce)](_0x3fd29d[_0x175681]-_0x3fd29d[_0x175681-0x1])>_0xcb07b1)_0x52a8c4['push'](_0x3fd29d[_0x175681]);}const _0x28ee26=[];let _0x22d8e3=_0x2e52df['getStartIndex']?_0x2e52df[_0x275a88(0x209)]():0x0;const _0x5263c2=_0x2e52df['getEndIndex']&&_0x2e52df[_0x275a88(0x1eb)]()||_0x80492c[_0x275a88(0x1df)]();for(let _0x418b81=0x0;_0x418b81<_0x52a8c4[_0x275a88(0x1e8)];_0x418b81++){const _0x341a20=_0x52a8c4[_0x418b81];if(_0x341a20-_0x22d8e3>_0xcb07b1){const _0x85e103=_0x2e52df[_0x275a88(0x1cd)](_0x22d8e3,_0x341a20);_0x28ee26[_0x275a88(0x1ed)](_parser[_0x275a88(0x1cf)](_0x85e103));}_0x22d8e3=_0x341a20;}if(_0x5263c2-_0x22d8e3>_0xcb07b1){const _0x4e2ce4=_0x2e52df[_0x275a88(0x1cd)](_0x22d8e3,_0x5263c2);_0x28ee26[_0x275a88(0x1ed)](_parser[_0x275a88(0x1cf)](_0x4e2ce4));}const _0x3404ff=_0x28ee26['filter'](_0x3917d4=>{const _0x34a537=_0x275a88,_0x1dc21b=_0x3917d4[_0x34a537(0x200)]();return _0x1dc21b&&_0x1dc21b[_0x34a537(0x1e8)]>=0x2&&!(_0x1dc21b[_0x34a537(0x1e8)]===0x2&&_0x1dc21b[0x0][0x0]===_0x1dc21b[0x1][0x0]&&_0x1dc21b[0x0][0x1]===_0x1dc21b[0x1][0x1]);});return _0x3404ff;}function a84_0x450d(_0x5af2ad,_0x2f19da){const _0x91fad6=a84_0x91fa();return a84_0x450d=function(_0x450df1,_0x4e0cdd){_0x450df1=_0x450df1-0x1cc;let _0x23668d=_0x91fad6[_0x450df1];return _0x23668d;},a84_0x450d(_0x5af2ad,_0x2f19da);}export function fromWKT(_0x8c1e56,_0x4d6200,_0x2d7455){const _0x4b5427=a84_0x450d,_0x5cdd1b=new a84_0x414f9f();_0x4d6200&&registerProj(_0x4d6200);_0x2d7455&&registerProj(_0x2d7455);const _0x442724=_0x5cdd1b[_0x4b5427(0x204)](_0x8c1e56);if(isGeometryEmpty(_0x442724))return null;return _0x4d6200&&_0x2d7455?_0x442724[_0x4b5427(0x1d1)](new a84_0x29ee89({'code':_0x4d6200}),new a84_0x29ee89({'code':_0x2d7455})):_0x442724;}export function fromWKTs(_0x35b692,_0x2f393e,_0x7fd2dc){const _0x404012=a84_0x450d,_0x2720d9=new a84_0x414f9f();let _0x18d3cb=[];_0x2f393e&&registerProj(_0x2f393e);_0x7fd2dc&&registerProj(_0x7fd2dc);let _0x152911,_0x3f3a4f;_0x2f393e&&_0x7fd2dc&&(_0x152911=new a84_0x29ee89({'code':_0x2f393e}),_0x3f3a4f=new a84_0x29ee89({'code':_0x7fd2dc}));for(let _0x1b8da7=0x0;_0x1b8da7<_0x35b692[_0x404012(0x1e8)];_0x1b8da7++){const _0x34fd09=_0x2720d9[_0x404012(0x204)](_0x35b692[_0x1b8da7]);if(isGeometryEmpty(_0x34fd09))continue;_0x152911&&_0x3f3a4f?_0x18d3cb['push'](_0x34fd09['transform'](_0x152911,_0x3f3a4f)):_0x18d3cb[_0x404012(0x1ed)](_0x34fd09);}return _0x18d3cb;}export function toWKT(_0x2d2fb8){const _0x1da6c4=a84_0x450d,_0x5a1f7f=new a84_0x414f9f();if(isGeometryEmpty(_0x2d2fb8))return'';if(_0x2d2fb8 instanceof Circle){const _0x6036fd=fromCircle(_0x2d2fb8);return _0x5a1f7f[_0x1da6c4(0x1e5)](_0x6036fd);}else return _0x5a1f7f[_0x1da6c4(0x1e5)](_0x2d2fb8);}export function toGeoJSON(_0x11d1c4){const _0x5efd4b=new a84_0x36330d();return _0x5efd4b['writeGeometry'](_0x11d1c4);}export function fromGeoJSON(_0x2ce7fb){const _0x2fc0d4=a84_0x450d,_0x1e6a67=new a84_0x36330d();return _0x1e6a67[_0x2fc0d4(0x204)](_0x2ce7fb);}export function toEsriJSON(_0xdadbac){const _0x4d328d=a84_0x450d,_0x1d006=new a84_0x2addcc();return _0x1d006[_0x4d328d(0x1e5)](_0xdadbac);}export function fromEsriJSON(_0x344afe){const _0x11106a=new a84_0x2addcc();return _0x11106a['readGeometry'](_0x344afe);}export function expandExtent(_0x51f9ee,_0x5aa008){const _0x33239f=_0x51f9ee[0x0],_0x58846d=_0x51f9ee[0x1],_0x4e9360=_0x51f9ee[0x2],_0x303cd0=_0x51f9ee[0x3],_0x40ba8c=(_0x33239f+_0x4e9360)/0x2,_0xbaa466=(_0x58846d+_0x303cd0)/0x2,_0xe73722=_0x4e9360-_0x33239f,_0x2fce1e=_0x303cd0-_0x58846d,_0x465b0b=_0xe73722*_0x5aa008,_0x3a393d=_0x2fce1e*_0x5aa008,_0xe1fe76=_0x40ba8c-_0x465b0b/0x2,_0x9f37b2=_0x40ba8c+_0x465b0b/0x2,_0x195e2b=_0xbaa466-_0x3a393d/0x2,_0x128296=_0xbaa466+_0x3a393d/0x2;return[_0xe1fe76,_0x195e2b,_0x9f37b2,_0x128296];}export function isGeometryEmpty(_0x530e48){const _0x1ca954=a84_0x450d;if(!_0x530e48)return!![];if(_0x530e48 instanceof Point||_0x530e48 instanceof MultiPoint){const _0x150f67=_0x530e48['getCoordinates']();return!_0x150f67||_0x150f67[_0x1ca954(0x1d4)](_0x59fea7=>isNaN(_0x59fea7));}else{if(_0x530e48 instanceof LineString||_0x530e48 instanceof MultiLineString)return _0x530e48[_0x1ca954(0x200)]()[_0x1ca954(0x1e8)]<0x2;else{if(_0x530e48 instanceof Polygon){const _0xb34685=_0x530e48[_0x1ca954(0x200)]();return!_0xb34685||_0xb34685[_0x1ca954(0x1e8)]===0x0||_0xb34685[0x0][_0x1ca954(0x1e8)]<0x4;}else{if(_0x530e48 instanceof MultiPolygon){const _0x3c899e=_0x530e48['getCoordinates']();return!_0x3c899e||_0x3c899e[_0x1ca954(0x1e8)]===0x0||_0x3c899e[0x0][0x0][_0x1ca954(0x1e8)]<0x4;}}}}return![];}export function polygonToLines(_0x1b0290){const _0x4315a6=a84_0x450d;if(!_0x1b0290)return[];const _0x24622f=_0x1b0290[_0x4315a6(0x1db)]();return _0x24622f[_0x4315a6(0x1fe)](_0xc98fad=>new LineString(_0xc98fad['getCoordinates']()));}export function getGeometryCenter(_0x1e3db4){const _0x5d195a=a84_0x450d;if(!_0x1e3db4)return undefined;const _0x36c924=_0x1e3db4[_0x5d195a(0x1e9)]();if(_0x36c924==='Point')return new Point(_0x1e3db4[_0x5d195a(0x200)]());if(_0x36c924===_0x5d195a(0x1e0)||_0x36c924===_0x5d195a(0x1ea))return _0x1e3db4[_0x5d195a(0x1d7)]();const _0xf42291=getCenter(_0x1e3db4[_0x5d195a(0x203)]());return new Point(_0xf42291);}
1
+ (function(_0x47a328,_0x38afe5){const _0x3d01a6=a84_0x5553,_0x331c85=_0x47a328();while(!![]){try{const _0x2956e3=parseInt(_0x3d01a6(0x174))/0x1*(-parseInt(_0x3d01a6(0x17a))/0x2)+-parseInt(_0x3d01a6(0x175))/0x3+parseInt(_0x3d01a6(0x172))/0x4+parseInt(_0x3d01a6(0x178))/0x5+parseInt(_0x3d01a6(0x17b))/0x6+parseInt(_0x3d01a6(0x16a))/0x7+-parseInt(_0x3d01a6(0x199))/0x8;if(_0x2956e3===_0x38afe5)break;else _0x331c85['push'](_0x331c85['shift']());}catch(_0x39e977){_0x331c85['push'](_0x331c85['shift']());}}}(a84_0x16e7,0xf1b68));import a84_0x551570 from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a84_0x1bb6e9}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a84_0x47531a,getArea as a84_0xae087f}from'ol/sphere';import a84_0x1f1738 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a84_0x32fcca from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a84_0xabb0ab from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a84_0x2b5dd3 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a84_0x34d3f4 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a84_0x5edbc8 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a84_0x30a3a7 from'ol/format/GeoJSON';import a84_0x328ce4 from'jsts/org/locationtech/jts/geom/GeometryFactory';import a84_0x1cf901 from'jsts/org/locationtech/jts/linearref/LengthIndexedLine';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';function a84_0x5553(_0x4d8140,_0x508628){const _0x16e79a=a84_0x16e7();return a84_0x5553=function(_0x5553f6,_0x597e86){_0x5553f6=_0x5553f6-0x163;let _0x1d1fb6=_0x16e79a[_0x5553f6];return _0x1d1fb6;},a84_0x5553(_0x4d8140,_0x508628);}import{fromCircle}from'ol/geom/Polygon';import a84_0x133e62 from'ol/format/WKT';import a84_0x10aba2 from'ol/format/EsriJSON';const _parser=new a84_0x2b5dd3(undefined,undefined);_parser['inject'](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x5d0d94,_0x2b7026,_0x15fa8c=![]){const _0x254f77=a84_0x5553;if(!_0x5d0d94)return 0x0;if(typeof _0x2b7026==_0x254f77(0x17e)){let _0x4f6ebf=registerProj(_0x2b7026);if(_0x4f6ebf==null)return console['error'](_0x254f77(0x198)),0x0;_0x2b7026=_0x4f6ebf;}const _0x9cd37=isSpheroid(_0x2b7026);if(_0x15fa8c)return a84_0xae087f(_0x5d0d94,{'projection':_0x2b7026});else{if(_0x9cd37){const _0x13c06d=getGeoProjection(_0x5d0d94,_0x2b7026);return _0x5d0d94[_0x254f77(0x180)]()[_0x254f77(0x18d)](_0x2b7026,_0x13c06d)[_0x254f77(0x193)]();}return _0x5d0d94[_0x254f77(0x193)]();}}export function getLength(_0xd8de8d,_0x538c51,_0x268372=![]){const _0x80e16f=a84_0x5553;if(!_0xd8de8d)return 0x0;if(typeof _0x538c51==_0x80e16f(0x17e)){let _0x59aead=registerProj(_0x538c51);if(_0x59aead==null)return console[_0x80e16f(0x173)]('未找到投影信息'),0x0;_0x538c51=_0x59aead;}const _0x25157b=isSpheroid(_0x538c51);if(_0x268372)return a84_0x47531a(_0xd8de8d,{'projection':_0x538c51});else{let _0x5ef76b=_0xd8de8d;if(_0x25157b){const _0x33fc8a=getGeoProjection(_0xd8de8d,_0x538c51);_0x5ef76b=_0xd8de8d[_0x80e16f(0x180)]()[_0x80e16f(0x18d)](_0x538c51,_0x33fc8a);}if(_0x5ef76b instanceof LineString)return _0x5ef76b[_0x80e16f(0x171)]();else{let _0x4659f3=0x0;for(let _0x486304=0x0;_0x486304<_0x5ef76b[_0x80e16f(0x186)]()['length'];_0x486304++){_0x4659f3+=_0x5ef76b[_0x80e16f(0x186)]()[_0x486304][_0x80e16f(0x171)]();}return _0x4659f3;}}}export function bufferOp(_0x3f47d9,_0x38250b){const _0x32df2c=a84_0x5553,_0x3c78b9=_parser['read'](_0x3f47d9),_0x108da3=a84_0x1f1738['bufferOp'](_0x3c78b9,_0x38250b);return _parser[_0x32df2c(0x16f)](_0x108da3);}export function bufferPixel(_0x3157fa,_0x9f0b74,_0x583483){const _0x1d91c6=a84_0x5553,_0x52b909=_0x583483[_0x1d91c6(0x18a)](_0x3157fa['getCoordinates']()),_0x4efcb6=_0x583483['getCoordinateFromPixel']([_0x52b909[0x0]+_0x9f0b74,_0x52b909[0x1]]),_0x32a3c1=a84_0x1bb6e9(_0x3157fa[_0x1d91c6(0x16b)](),_0x4efcb6),_0x57c5b5=bufferOp(_0x3157fa,_0x32a3c1);return _0x57c5b5;}export function contains(_0x4a188b,_0x32e73c){const _0x3e1d26=a84_0x5553,_0x561bc0=_parser[_0x3e1d26(0x16d)](_0x4a188b),_0x38427d=_parser[_0x3e1d26(0x16d)](_0x32e73c);return a84_0x32fcca[_0x3e1d26(0x18f)](_0x561bc0,_0x38427d);}export function crosses(_0x31d9ae,_0x534f57){const _0x302b73=a84_0x5553,_0xe4a44=_parser[_0x302b73(0x16d)](_0x31d9ae),_0x5dd64e=_parser[_0x302b73(0x16d)](_0x534f57);return a84_0x32fcca[_0x302b73(0x18e)](_0xe4a44,_0x5dd64e);}export function intersects(_0x57ac31,_0x4f06e6){const _0x10a922=a84_0x5553,_0x166a6f=_parser[_0x10a922(0x16d)](_0x57ac31),_0x21bb01=_parser[_0x10a922(0x16d)](_0x4f06e6);return a84_0x32fcca[_0x10a922(0x190)](_0x166a6f,_0x21bb01);}export function intersection(_0x164132,_0x3265b7){const _0x5ccf25=a84_0x5553,_0x5d6803=_parser[_0x5ccf25(0x16d)](_0x164132),_0xffd35b=_parser[_0x5ccf25(0x16d)](_0x3265b7);return _parser[_0x5ccf25(0x16f)](a84_0xabb0ab[_0x5ccf25(0x187)](_0x5d6803,_0xffd35b));}export function union(_0x58e651,_0xeba87f){const _0x26d420=a84_0x5553,_0x4b6340=_parser[_0x26d420(0x16d)](_0x58e651),_0x30d85f=_parser[_0x26d420(0x16d)](_0xeba87f);return _parser[_0x26d420(0x16f)](a84_0xabb0ab[_0x26d420(0x16c)](_0x4b6340,_0x30d85f));}export function unions(_0x1eced9){const _0x285a40=a84_0x5553;if(!_0x1eced9||_0x1eced9['length']===0x0)return;if(_0x1eced9['length']===0x1)return _0x1eced9[0x0][_0x285a40(0x180)]();let _0x36f0dd=_parser['read'](_0x1eced9[0x0]);for(let _0x204005=0x1;_0x204005<_0x1eced9[_0x285a40(0x164)];_0x204005++){const _0x341db1=_parser[_0x285a40(0x16d)](_0x1eced9[_0x204005]);_0x36f0dd=a84_0xabb0ab[_0x285a40(0x16c)](_0x36f0dd,_0x341db1);}return _parser[_0x285a40(0x16f)](_0x36f0dd);}export function difference(_0x564f96,_0x3b09f1){const _0x3d3303=a84_0x5553,_0x3fadcb=_parser[_0x3d3303(0x16d)](_0x564f96),_0x4730c9=_parser[_0x3d3303(0x16d)](_0x3b09f1);return _parser[_0x3d3303(0x16f)](a84_0xabb0ab['difference'](_0x3fadcb,_0x4730c9));}export function distance(_0x3a612f,_0x5ab5be){const _0x5a16be=a84_0x5553,_0x1437f2=_parser['read'](_0x3a612f),_0x38dad1=_parser[_0x5a16be(0x16d)](_0x5ab5be);return _parser[_0x5a16be(0x16f)](a84_0x5edbc8['distance'](_0x1437f2,_0x38dad1));}export function jstlSplit(_0x35a674,_0x23faef){const _0xcda653=a84_0x5553,_0x38ce6a=_parser[_0xcda653(0x16d)](_0x35a674),_0x59be1b=_parser[_0xcda653(0x16d)](_0x23faef),_0x369fd2=_0x38ce6a['getGeometryType']();let _0x50b94f=[];function _0x40281c(_0x107388,_0x37c68e){const _0x54a294=_0xcda653,_0x2b4113=_0x107388['getExteriorRing'](),_0x461716=_0x107388[_0x54a294(0x195)](),_0x406066=[];for(let _0x2479c5=0x0;_0x2479c5<_0x461716;_0x2479c5++){_0x406066[_0x54a294(0x191)](_0x107388[_0x54a294(0x182)](_0x2479c5));}const _0xebbce5=a84_0xabb0ab['union'](_0x2b4113,_0x37c68e),_0x211de7=new a84_0x34d3f4();_0x211de7['add'](_0xebbce5);const _0x1c412b=_0x211de7[_0x54a294(0x177)](),_0x36fa04=new a84_0x328ce4();_0x1c412b['size']()>0x1?_0x1c412b[_0x54a294(0x185)]()['forEach'](_0x50dcfc=>{const _0x290147=_0x54a294;let _0x171e05=_0x50dcfc;_0x406066[_0x290147(0x17d)](_0x49f0f0=>{const _0x471f0d=_0x290147,_0x352b4b=_0x36fa04['createPolygon'](_0x49f0f0);try{_0x171e05=a84_0xabb0ab[_0x471f0d(0x163)](_0x171e05,_0x352b4b);}catch(_0x35ec95){console[_0x471f0d(0x18c)](_0x471f0d(0x197),_0x35ec95);}}),_0x171e05&&_0x50b94f[_0x290147(0x191)](_parser[_0x290147(0x16f)](_0x171e05));}):_0x50b94f[_0x54a294(0x191)](_parser[_0x54a294(0x16f)](_0x107388));}if(_0x369fd2===_0xcda653(0x196))_0x40281c(_0x38ce6a,_0x59be1b);else{if(_0x369fd2==='MultiPolygon'){const _0x41e1ca=_0x38ce6a['getNumGeometries']();for(let _0x2e9ce5=0x0;_0x2e9ce5<_0x41e1ca;_0x2e9ce5++){const _0x8ac8af=_0x38ce6a[_0xcda653(0x176)](_0x2e9ce5);_0x40281c(_0x8ac8af,_0x59be1b);}}else throw new Error(_0xcda653(0x17c));}return _0x50b94f;}export function splitLineByLine(_0x5e4978,_0x35ef6a){const _0x1abcbf=a84_0x5553,_0x2b7297=_parser['read'](_0x5e4978),_0x30c2e4=_parser['read'](_0x35ef6a),_0x500d92=a84_0xabb0ab['intersection'](_0x2b7297,_0x30c2e4);if(!_0x500d92||_0x500d92[_0x1abcbf(0x18b)]())return[_0x5e4978];const _0x547858=[];if(_0x500d92[_0x1abcbf(0x167)]()===_0x1abcbf(0x170))_0x547858['push'](_0x500d92['getCoordinate']());else{if(_0x500d92[_0x1abcbf(0x167)]()==='MultiPoint')for(let _0x51340b=0x0;_0x51340b<_0x500d92['getNumGeometries']();_0x51340b++){_0x547858[_0x1abcbf(0x191)](_0x500d92[_0x1abcbf(0x176)](_0x51340b)[_0x1abcbf(0x165)]());}}const _0x2b0611=new a84_0x1cf901(_0x2b7297),_0xc34c8e=_0x547858[_0x1abcbf(0x168)](_0x56e6e8=>_0x2b0611[_0x1abcbf(0x181)](_0x56e6e8))['sort']((_0x10a846,_0x4b268a)=>_0x10a846-_0x4b268a),_0x1e792b=[],_0x2cb7a4=1e-9;for(let _0x28ef10=0x0;_0x28ef10<_0xc34c8e[_0x1abcbf(0x164)];_0x28ef10++){if(_0x28ef10===0x0||Math[_0x1abcbf(0x166)](_0xc34c8e[_0x28ef10]-_0xc34c8e[_0x28ef10-0x1])>_0x2cb7a4)_0x1e792b[_0x1abcbf(0x191)](_0xc34c8e[_0x28ef10]);}const _0x4e04e2=[];let _0x316d52=_0x2b0611[_0x1abcbf(0x192)]?_0x2b0611[_0x1abcbf(0x192)]():0x0;const _0x52787d=_0x2b0611[_0x1abcbf(0x188)]&&_0x2b0611['getEndIndex']()||_0x2b7297[_0x1abcbf(0x171)]();for(let _0x13d6d1=0x0;_0x13d6d1<_0x1e792b[_0x1abcbf(0x164)];_0x13d6d1++){const _0x5a78c3=_0x1e792b[_0x13d6d1];if(_0x5a78c3-_0x316d52>_0x2cb7a4){const _0x185fc8=_0x2b0611['extractLine'](_0x316d52,_0x5a78c3);_0x4e04e2[_0x1abcbf(0x191)](_parser[_0x1abcbf(0x16f)](_0x185fc8));}_0x316d52=_0x5a78c3;}if(_0x52787d-_0x316d52>_0x2cb7a4){const _0x5564b2=_0x2b0611[_0x1abcbf(0x17f)](_0x316d52,_0x52787d);_0x4e04e2['push'](_parser[_0x1abcbf(0x16f)](_0x5564b2));}const _0x12b174=_0x4e04e2['filter'](_0xb7be84=>{const _0x3a91ba=_0x1abcbf,_0x31b5c9=_0xb7be84[_0x3a91ba(0x16b)]();return _0x31b5c9&&_0x31b5c9['length']>=0x2&&!(_0x31b5c9[_0x3a91ba(0x164)]===0x2&&_0x31b5c9[0x0][0x0]===_0x31b5c9[0x1][0x0]&&_0x31b5c9[0x0][0x1]===_0x31b5c9[0x1][0x1]);});return _0x12b174;}export function fromWKT(_0x59824b,_0x420d75,_0x5768a1){const _0x457a6a=a84_0x5553,_0x4dd3ec=new a84_0x133e62();_0x420d75&&registerProj(_0x420d75);_0x5768a1&&registerProj(_0x5768a1);const _0x206854=_0x4dd3ec['readGeometry'](_0x59824b);if(isGeometryEmpty(_0x206854))return null;return _0x420d75&&_0x5768a1?_0x206854[_0x457a6a(0x18d)](new a84_0x551570({'code':_0x420d75}),new a84_0x551570({'code':_0x5768a1})):_0x206854;}function a84_0x16e7(){const _0x21cc51=['getExtent','getNumInteriorRing','Polygon','孔洞操作失败:','未找到投影信息','6431344TiVHJh','difference','length','getCoordinate','abs','getGeometryType','map','getType','13754594UMumxD','getCoordinates','union','read','writeGeometry','write','Point','getLength','2281936gGsxsC','error','385831FiSBTl','4383222VwNWzX','getGeometryN','getPolygons','6690030pWXjkK','getLinearRings','4ybgWQj','919668ycsozE','无法识别的数据类型','forEach','string','extractLine','clone','indexOf','getInteriorRingN','readGeometry','MultiPolygon','toArray','getLineStrings','intersection','getEndIndex','getInteriorPoint','getPixelFromCoordinate','isEmpty','warn','transform','crosses','contains','intersects','push','getStartIndex','getArea'];a84_0x16e7=function(){return _0x21cc51;};return a84_0x16e7();}export function fromWKTs(_0x10b601,_0x12f4f2,_0x474ed6){const _0x32f07c=a84_0x5553,_0x157e20=new a84_0x133e62();let _0x595cdb=[];_0x12f4f2&&registerProj(_0x12f4f2);_0x474ed6&&registerProj(_0x474ed6);let _0x145860,_0xc3b219;_0x12f4f2&&_0x474ed6&&(_0x145860=new a84_0x551570({'code':_0x12f4f2}),_0xc3b219=new a84_0x551570({'code':_0x474ed6}));for(let _0x3cdbb2=0x0;_0x3cdbb2<_0x10b601['length'];_0x3cdbb2++){const _0x130918=_0x157e20['readGeometry'](_0x10b601[_0x3cdbb2]);if(isGeometryEmpty(_0x130918))continue;_0x145860&&_0xc3b219?_0x595cdb['push'](_0x130918[_0x32f07c(0x18d)](_0x145860,_0xc3b219)):_0x595cdb[_0x32f07c(0x191)](_0x130918);}return _0x595cdb;}export function toWKT(_0x2f0cbc){const _0xcdaa6e=a84_0x5553,_0x1220da=new a84_0x133e62();if(isGeometryEmpty(_0x2f0cbc))return'';if(_0x2f0cbc instanceof Circle){const _0x2fe8b8=fromCircle(_0x2f0cbc);return _0x1220da[_0xcdaa6e(0x16e)](_0x2fe8b8);}else return _0x1220da[_0xcdaa6e(0x16e)](_0x2f0cbc);}export function toGeoJSON(_0x1d52c4){const _0x1d96be=a84_0x5553,_0x274a82=new a84_0x30a3a7();return _0x274a82[_0x1d96be(0x16e)](_0x1d52c4);}export function fromGeoJSON(_0x49875b){const _0x325276=a84_0x5553,_0x5b65a3=new a84_0x30a3a7();return _0x5b65a3[_0x325276(0x183)](_0x49875b);}export function toEsriJSON(_0x11455c){const _0x54ac11=a84_0x5553,_0x5399af=new a84_0x10aba2();return _0x5399af[_0x54ac11(0x16e)](_0x11455c);}export function fromEsriJSON(_0x3bccff){const _0x4a1a88=a84_0x5553,_0x141e57=new a84_0x10aba2();return _0x141e57[_0x4a1a88(0x183)](_0x3bccff);}export function expandExtent(_0x826b79,_0x58ee78){const _0x41a285=_0x826b79[0x0],_0x1c5ade=_0x826b79[0x1],_0x248bd1=_0x826b79[0x2],_0x338e8a=_0x826b79[0x3],_0x25427e=(_0x41a285+_0x248bd1)/0x2,_0x54186c=(_0x1c5ade+_0x338e8a)/0x2,_0x13d491=_0x248bd1-_0x41a285,_0x5a95b6=_0x338e8a-_0x1c5ade,_0x22d806=_0x13d491*_0x58ee78,_0x335024=_0x5a95b6*_0x58ee78,_0x689e58=_0x25427e-_0x22d806/0x2,_0x2a31ce=_0x25427e+_0x22d806/0x2,_0x571b70=_0x54186c-_0x335024/0x2,_0x5bbbe1=_0x54186c+_0x335024/0x2;return[_0x689e58,_0x571b70,_0x2a31ce,_0x5bbbe1];}export function isGeometryEmpty(_0x53937d){const _0x46a6ef=a84_0x5553;if(!_0x53937d)return!![];if(_0x53937d instanceof Point||_0x53937d instanceof MultiPoint){const _0x49b371=_0x53937d[_0x46a6ef(0x16b)]();return!_0x49b371||_0x49b371['some'](_0x31fe81=>isNaN(_0x31fe81));}else{if(_0x53937d instanceof LineString||_0x53937d instanceof MultiLineString)return _0x53937d[_0x46a6ef(0x16b)]()[_0x46a6ef(0x164)]<0x2;else{if(_0x53937d instanceof Polygon){const _0x27cae9=_0x53937d[_0x46a6ef(0x16b)]();return!_0x27cae9||_0x27cae9[_0x46a6ef(0x164)]===0x0||_0x27cae9[0x0][_0x46a6ef(0x164)]<0x4;}else{if(_0x53937d instanceof MultiPolygon){const _0x48f4b5=_0x53937d[_0x46a6ef(0x16b)]();return!_0x48f4b5||_0x48f4b5['length']===0x0||_0x48f4b5[0x0][0x0][_0x46a6ef(0x164)]<0x4;}}}}return![];}export function polygonToLines(_0x359e4d){const _0x37d7ef=a84_0x5553;if(!_0x359e4d)return[];const _0x7c4181=_0x359e4d[_0x37d7ef(0x179)]();return _0x7c4181[_0x37d7ef(0x168)](_0x470cf8=>new LineString(_0x470cf8['getCoordinates']()));}export function getGeometryCenter(_0x497008){const _0x4cc756=a84_0x5553;if(!_0x497008)return undefined;const _0x10ed89=_0x497008[_0x4cc756(0x169)]();if(_0x10ed89===_0x4cc756(0x170))return new Point(_0x497008[_0x4cc756(0x16b)]());if(_0x10ed89===_0x4cc756(0x196)||_0x10ed89===_0x4cc756(0x184))return _0x497008[_0x4cc756(0x189)]();const _0x3cc008=getCenter(_0x497008[_0x4cc756(0x194)]());return new Point(_0x3cc008);}
@@ -1 +1 @@
1
- (function(_0x34ec1e,_0x579dfc){const _0xc0089e=a85_0x1734,_0x3c25c3=_0x34ec1e();while(!![]){try{const _0x4406a0=parseInt(_0xc0089e(0xb4))/0x1*(parseInt(_0xc0089e(0xc8))/0x2)+-parseInt(_0xc0089e(0xb9))/0x3+-parseInt(_0xc0089e(0xcc))/0x4*(-parseInt(_0xc0089e(0xcd))/0x5)+-parseInt(_0xc0089e(0xb5))/0x6*(parseInt(_0xc0089e(0xc7))/0x7)+parseInt(_0xc0089e(0xcf))/0x8*(parseInt(_0xc0089e(0xc0))/0x9)+parseInt(_0xc0089e(0xc6))/0xa+-parseInt(_0xc0089e(0xcb))/0xb*(-parseInt(_0xc0089e(0xc4))/0xc);if(_0x4406a0===_0x579dfc)break;else _0x3c25c3['push'](_0x3c25c3['shift']());}catch(_0x222514){_0x3c25c3['push'](_0x3c25c3['shift']());}}}(a85_0x4169,0x7980e));import a85_0x233513 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x100937){const _0x241a93=a85_0x1734;let _0x760416=[];return _0x100937&&_0x100937[_0x241a93(0xb8)]>0x0&&(_0x100937['forEach'](_0x150ca6=>{const _0x344128=_0x241a93;(!_0x150ca6[_0x344128(0xb0)]||_0x150ca6[_0x344128(0xb0)]=='')&&_0x760416[_0x344128(0xbd)](Object['assign']({},_0x150ca6));}),_0x760416=_0x760416['sort']((_0x3d6fb6,_0x56c70a)=>{const _0x6bd418=_0x241a93;return(_0x3d6fb6[_0x6bd418(0xae)]?_0x3d6fb6[_0x6bd418(0xae)]:0x0)-(_0x56c70a[_0x6bd418(0xae)]?_0x56c70a['showIndex']:0x0);}),_0x760416[_0x241a93(0xbc)](_0x4bac00=>{const _0x5c4930=_0x241a93;_0x4bac00[_0x5c4930(0xbb)]=setChildren(_0x4bac00['id'],_0x100937);})),_0x760416;}function setChildren(_0x4309da,_0x211ddc){const _0x1734ea=a85_0x1734;let _0x2f3067=[];return _0x211ddc['forEach'](_0xbfe385=>{const _0x152cfe=a85_0x1734;_0x4309da===(_0xbfe385[_0x152cfe(0xb0)]==null?'':_0xbfe385['parentId'])&&_0x2f3067['push'](Object[_0x152cfe(0xba)]({},_0xbfe385));}),_0x2f3067=_0x2f3067[_0x1734ea(0xb2)]((_0x3c2388,_0x4fc8b0)=>{const _0x4cc4a7=_0x1734ea;return(_0x3c2388[_0x4cc4a7(0xae)]?_0x3c2388[_0x4cc4a7(0xae)]:0x0)-(_0x4fc8b0['showIndex']?_0x4fc8b0[_0x4cc4a7(0xae)]:0x0);}),_0x2f3067[_0x1734ea(0xb8)]>0x0&&_0x2f3067['forEach'](_0xa8425f=>{_0xa8425f['children']=setChildren(_0xa8425f['id'],_0x211ddc);}),_0x2f3067;}function a85_0x1734(_0x397d7b,_0x34e6b3){const _0x4169f5=a85_0x4169();return a85_0x1734=function(_0x17349b,_0x1bdbbb){_0x17349b=_0x17349b-0xae;let _0x2a0428=_0x4169f5[_0x17349b];return _0x2a0428;},a85_0x1734(_0x397d7b,_0x34e6b3);}export async function getLayerLegend(_0x29c0b7,_0x2cc6ee){const _0x5a58f0=a85_0x1734;if(!_0x29c0b7||!_0x29c0b7['url']||!_0x29c0b7[_0x5a58f0(0xb6)]||_0x29c0b7[_0x5a58f0(0xb6)][_0x5a58f0(0xb8)]==0x0||!_0x29c0b7[_0x5a58f0(0xca)])return;if(_0x29c0b7['layerType'][_0x5a58f0(0xbe)](_0x5a58f0(0xc2))>-0x1)return await getGeoServerLayerLegend(_0x29c0b7,_0x2cc6ee);return;}export async function getGeoServerLayerLegend(_0xf67e92,_0x595ee8){const _0x4f1568=a85_0x1734;if(!_0xf67e92||!_0xf67e92['url']||!_0xf67e92[_0x4f1568(0xb6)]||_0xf67e92[_0x4f1568(0xb6)]['length']==0x0)return;let _0x2f5291=_0xf67e92[_0x4f1568(0xc9)];const _0x406be5=_0xf67e92[_0x4f1568(0xb6)];_0x2f5291=_0x2f5291[_0x4f1568(0xb7)](_0x4f1568(0xce),_0x4f1568(0xc1));const _0x2f5b0c=[];for(let _0x56c2fa=0x0;_0x56c2fa<_0x406be5[_0x4f1568(0xb8)];_0x56c2fa++){const _0x45a68b=_0x406be5[_0x56c2fa];let _0x199ae4='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x45a68b+_0x4f1568(0xc3);const _0x21b96d=_0x2f5291[_0x4f1568(0xbf)]('?')?_0x2f5291+'&'+_0x199ae4:_0x2f5291+'?'+_0x199ae4,_0x4dc7a1=await a85_0x233513[_0x4f1568(0xb1)](_0x21b96d);if(_0x4dc7a1['data']&&_0x4dc7a1[_0x4f1568(0xaf)][_0x4f1568(0xc5)]&&_0x4dc7a1[_0x4f1568(0xaf)][_0x4f1568(0xc5)][_0x4f1568(0xb8)]>0x0)_0x2f5b0c[_0x4f1568(0xbd)](_0x4dc7a1[_0x4f1568(0xaf)]['Legend'][0x0]);else{let _0x11508b=_0x595ee8?_0x595ee8:0x10,_0x273a2f=_0x4f1568(0xb3)+_0x45a68b+'&width='+_0x11508b+'&height='+_0x11508b+'&format=image/png';const _0x486344=_0x2f5291['includes']('?')?_0x2f5291+'&'+_0x273a2f:_0x2f5291+'?'+_0x273a2f;_0x2f5b0c['push']({'title':_0xf67e92['title'],'url':_0x486344});}}return _0x2f5b0c;}function a85_0x4169(){const _0x5decdc=['128424WXotOv','showIndex','data','parentId','get','sort','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','1sGEADl','54420aufyAT','sublayers','replace','length','2596080EsKaHK','assign','children','forEach','push','indexOf','includes','9BmpSFu','wms','geoserver','&format=application/json','60KVnyux','Legend','4360750KWhaxv','595IhkGvk','244646IwOeVg','url','layerType','2934910rtOKYy','1772yQIbSt','2545OoEkoY','gwc/service/wmts'];a85_0x4169=function(){return _0x5decdc;};return a85_0x4169();}
1
+ function a85_0x5d4b(_0x4da56c,_0xdd1cbc){const _0x32eaa8=a85_0x32ea();return a85_0x5d4b=function(_0x5d4ba4,_0x2f9ce1){_0x5d4ba4=_0x5d4ba4-0x65;let _0x596ce5=_0x32eaa8[_0x5d4ba4];return _0x596ce5;},a85_0x5d4b(_0x4da56c,_0xdd1cbc);}(function(_0x599930,_0x456aa5){const _0x4f83fd=a85_0x5d4b,_0x3bfb1f=_0x599930();while(!![]){try{const _0x390fcb=-parseInt(_0x4f83fd(0x7a))/0x1*(parseInt(_0x4f83fd(0x78))/0x2)+-parseInt(_0x4f83fd(0x81))/0x3+parseInt(_0x4f83fd(0x74))/0x4*(-parseInt(_0x4f83fd(0x75))/0x5)+-parseInt(_0x4f83fd(0x83))/0x6+-parseInt(_0x4f83fd(0x82))/0x7+-parseInt(_0x4f83fd(0x73))/0x8*(parseInt(_0x4f83fd(0x70))/0x9)+-parseInt(_0x4f83fd(0x77))/0xa*(-parseInt(_0x4f83fd(0x7d))/0xb);if(_0x390fcb===_0x456aa5)break;else _0x3bfb1f['push'](_0x3bfb1f['shift']());}catch(_0x5534f1){_0x3bfb1f['push'](_0x3bfb1f['shift']());}}}(a85_0x32ea,0x264f0));import a85_0x403fea from'../utils/AxiosUtil';function a85_0x32ea(){const _0x2a0c30=['geoserver','showIndex','children','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','8442tYyDPq','sublayers','includes','1744QiTTgX','61608nXsmYn','5wVdjAU','push','147250RkXXMM','10XgFcCk','forEach','36321tSNZal','&format=image/png','Legend','814dGmJKz','wms','title','gwc/service/wmts','445758yUUyoM','1277507yNIdZx','1200960iKTSBC','layerType','&format=application/json','length','sort','url','parentId','data','indexOf','assign'];a85_0x32ea=function(){return _0x2a0c30;};return a85_0x32ea();}export function mapServiceTreeTransform(_0xbcaca4){const _0x6e2ec7=a85_0x5d4b;let _0x426916=[];return _0xbcaca4&&_0xbcaca4[_0x6e2ec7(0x65)]>0x0&&(_0xbcaca4[_0x6e2ec7(0x79)](_0x33e4f9=>{const _0x48a8d6=_0x6e2ec7;(!_0x33e4f9[_0x48a8d6(0x68)]||_0x33e4f9[_0x48a8d6(0x68)]=='')&&_0x426916[_0x48a8d6(0x76)](Object['assign']({},_0x33e4f9));}),_0x426916=_0x426916[_0x6e2ec7(0x66)]((_0x5dbcae,_0x2cd826)=>{const _0x4a1c9e=_0x6e2ec7;return(_0x5dbcae[_0x4a1c9e(0x6d)]?_0x5dbcae[_0x4a1c9e(0x6d)]:0x0)-(_0x2cd826[_0x4a1c9e(0x6d)]?_0x2cd826[_0x4a1c9e(0x6d)]:0x0);}),_0x426916[_0x6e2ec7(0x79)](_0x31e779=>{_0x31e779['children']=setChildren(_0x31e779['id'],_0xbcaca4);})),_0x426916;}function setChildren(_0xc3b891,_0x2afe73){const _0x1846b1=a85_0x5d4b;let _0x2e6680=[];return _0x2afe73[_0x1846b1(0x79)](_0x186e6a=>{const _0x285d12=_0x1846b1;_0xc3b891===(_0x186e6a['parentId']==null?'':_0x186e6a['parentId'])&&_0x2e6680['push'](Object[_0x285d12(0x6b)]({},_0x186e6a));}),_0x2e6680=_0x2e6680[_0x1846b1(0x66)]((_0xf47f66,_0x53e614)=>{const _0x261c60=_0x1846b1;return(_0xf47f66[_0x261c60(0x6d)]?_0xf47f66['showIndex']:0x0)-(_0x53e614[_0x261c60(0x6d)]?_0x53e614[_0x261c60(0x6d)]:0x0);}),_0x2e6680['length']>0x0&&_0x2e6680[_0x1846b1(0x79)](_0x5bdd27=>{const _0x500a5d=_0x1846b1;_0x5bdd27[_0x500a5d(0x6e)]=setChildren(_0x5bdd27['id'],_0x2afe73);}),_0x2e6680;}export async function getLayerLegend(_0x304602,_0x46c384){const _0x39882e=a85_0x5d4b;if(!_0x304602||!_0x304602['url']||!_0x304602[_0x39882e(0x71)]||_0x304602[_0x39882e(0x71)]['length']==0x0||!_0x304602['layerType'])return;if(_0x304602[_0x39882e(0x84)][_0x39882e(0x6a)](_0x39882e(0x6c))>-0x1)return await getGeoServerLayerLegend(_0x304602,_0x46c384);return;}export async function getGeoServerLayerLegend(_0x3bf0ea,_0x1b2189){const _0x1a1cb2=a85_0x5d4b;if(!_0x3bf0ea||!_0x3bf0ea[_0x1a1cb2(0x67)]||!_0x3bf0ea[_0x1a1cb2(0x71)]||_0x3bf0ea[_0x1a1cb2(0x71)][_0x1a1cb2(0x65)]==0x0)return;let _0x53ed33=_0x3bf0ea['url'];const _0x43b2c9=_0x3bf0ea[_0x1a1cb2(0x71)];_0x53ed33=_0x53ed33['replace'](_0x1a1cb2(0x80),_0x1a1cb2(0x7e));const _0x5a0e20=[];for(let _0x2effb3=0x0;_0x2effb3<_0x43b2c9[_0x1a1cb2(0x65)];_0x2effb3++){const _0x10c108=_0x43b2c9[_0x2effb3];let _0x53bbdb=_0x1a1cb2(0x6f)+_0x10c108+_0x1a1cb2(0x85);const _0x232f6e=_0x53ed33['includes']('?')?_0x53ed33+'&'+_0x53bbdb:_0x53ed33+'?'+_0x53bbdb,_0x50083e=await a85_0x403fea['get'](_0x232f6e);if(_0x50083e[_0x1a1cb2(0x69)]&&_0x50083e[_0x1a1cb2(0x69)][_0x1a1cb2(0x7c)]&&_0x50083e[_0x1a1cb2(0x69)][_0x1a1cb2(0x7c)]['length']>0x0)_0x5a0e20[_0x1a1cb2(0x76)](_0x50083e[_0x1a1cb2(0x69)][_0x1a1cb2(0x7c)][0x0]);else{let _0x40393e=_0x1b2189?_0x1b2189:0x10,_0x1e4659=_0x1a1cb2(0x6f)+_0x10c108+'&width='+_0x40393e+'&height='+_0x40393e+_0x1a1cb2(0x7b);const _0x1886d1=_0x53ed33[_0x1a1cb2(0x72)]('?')?_0x53ed33+'&'+_0x1e4659:_0x53ed33+'?'+_0x1e4659;_0x5a0e20[_0x1a1cb2(0x76)]({'title':_0x3bf0ea[_0x1a1cb2(0x7f)],'url':_0x1886d1});}}return _0x5a0e20;}