ym-gis-2d 1.0.35 → 1.0.36

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 (72) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/feature/FeatureManager.js.map +1 -1
  14. package/index.js +1 -1
  15. package/interaction/AreaMeasure.js +1 -1
  16. package/interaction/Difference.js +1 -1
  17. package/interaction/Draw.js +1 -1
  18. package/interaction/InteractionManager.js +1 -1
  19. package/interaction/Modify.js +1 -1
  20. package/interaction/Select.js +1 -1
  21. package/interaction/Split.js +1 -1
  22. package/layers/ArcgisDynamicLayer.js +1 -1
  23. package/layers/ArcgisFeatureLayer.js +1 -1
  24. package/layers/ArcgisTileLayer.js +1 -1
  25. package/layers/ArcgisWMSLayer.js +1 -1
  26. package/layers/ArcgisWMTSLayer.js +1 -1
  27. package/layers/GeoserverVectorTile.js +1 -1
  28. package/layers/GeoserverWFSLayer.js +1 -1
  29. package/layers/GeoserverWMSLayer.js +1 -1
  30. package/layers/GeoserverWMTSLayer.js +1 -1
  31. package/layers/LayerManager.js +1 -1
  32. package/layers/TDTLayer.js +1 -1
  33. package/mapView/Map.js +1 -1
  34. package/mapView/View.js +1 -1
  35. package/package.json +1 -1
  36. package/plot/Plot.js +1 -1
  37. package/plot/geometry/point/Point.js +1 -1
  38. package/plot/geometry/polygon/BasePolygon.js +1 -1
  39. package/plot/geometry/polygon/Circle.js +1 -1
  40. package/plot/geometry/polygon/Polygon.js +1 -1
  41. package/plot/geometry/polygon/RectAngle.js +1 -1
  42. package/plot/geometry/polyline/BaseLine.js +1 -1
  43. package/plot/geometry/polyline/Polyline.js +1 -1
  44. package/style/PointStyleFormat.js +1 -1
  45. package/style/PolygonStyleFormat.js +1 -1
  46. package/style/PolylineStyleFormat.js +1 -1
  47. package/style/StyleManager.js +1 -1
  48. package/style/common.js +1 -1
  49. package/utils/ArrayUtil.js +1 -1
  50. package/utils/AxiosUtil.js +1 -1
  51. package/utils/EsriUtil.js +1 -1
  52. package/utils/GeometryUtil.js +1 -1
  53. package/utils/LayerUtil.js +1 -1
  54. package/utils/RegisterProjUtil.js +1 -1
  55. package/utils/ResolutionUtil.js +1 -1
  56. package/utils/StringUtil.js +1 -1
  57. package/utils/StyleUtil.js +1 -1
  58. package/utils/UrlUtil.js +1 -1
  59. package/utils/XmlUtil.js +1 -1
  60. package/utils/format/CQL.js +1 -1
  61. package/utils/format/IsMatchCql.js +1 -1
  62. package/utils/plug/canvas/ImageCache.js +1 -1
  63. package/utils/plug/canvas/PinBuilder.js +1 -1
  64. package/utils/plug/canvas/PinIcon.js +1 -1
  65. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  66. package/utils/tasks/esri/Identify.js +1 -1
  67. package/utils/tasks/esri/Query.js +1 -1
  68. package/utils/tasks/esri/Task.js +1 -1
  69. package/utils/tasks/geoserver/QueryTask.js +1 -1
  70. package/utils/tasks/index.js +1 -1
  71. package/ym-gis-2d.es.js +1 -1
  72. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- function a71_0x22f6(_0x40f563,_0xe5077d){var _0x172172=a71_0x1721();return a71_0x22f6=function(_0x22f653,_0x232fb4){_0x22f653=_0x22f653-0x1f2;var _0x5c27a5=_0x172172[_0x22f653];return _0x5c27a5;},a71_0x22f6(_0x40f563,_0xe5077d);}var a71_0x2d5e92=a71_0x22f6;(function(_0x5cf1fd,_0x5a1872){var _0x8f0e14=a71_0x22f6,_0x3040ed=_0x5cf1fd();while(!![]){try{var _0x28c0b7=-parseInt(_0x8f0e14(0x1f6))/0x1*(parseInt(_0x8f0e14(0x1f4))/0x2)+parseInt(_0x8f0e14(0x201))/0x3*(-parseInt(_0x8f0e14(0x1f3))/0x4)+parseInt(_0x8f0e14(0x1fc))/0x5*(-parseInt(_0x8f0e14(0x20e))/0x6)+parseInt(_0x8f0e14(0x1f2))/0x7*(-parseInt(_0x8f0e14(0x205))/0x8)+-parseInt(_0x8f0e14(0x1fd))/0x9+-parseInt(_0x8f0e14(0x200))/0xa*(-parseInt(_0x8f0e14(0x1f9))/0xb)+parseInt(_0x8f0e14(0x208))/0xc;if(_0x28c0b7===_0x5a1872)break;else _0x3040ed['push'](_0x3040ed['shift']());}catch(_0x53a0c2){_0x3040ed['push'](_0x3040ed['shift']());}}}(a71_0x1721,0x589c3));import{LineString}from'ol/geom';function a71_0x1721(){var _0x1a8157=['slice','937340SNhXhc','106851cHhzmb','传入的不是地图对象!','type','finishDrawing','8xewzpS','getPoints','getPlotType','20277468FKXwlz','isPlot','generate','length','map','getMap','5478irtGpR','getPointCount','3553067FoSPDR','76UrUSuW','30736PTVeJe','style','5AcByFf','setStyle','points','77ShWvdW','writeGeometryObject','stringify','3725aLiJdu','374859tFpEJP','parse'];a71_0x1721=function(){return _0x1a8157;};return a71_0x1721();}import a71_0x4d33bd from'ol/format/GeoJSON';import a71_0x452867 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x562fda=a71_0x22f6;super([]),this[_0x562fda(0x1f8)]=[];}[a71_0x2d5e92(0x207)](){var _0x19a8b1=a71_0x2d5e92;return this[_0x19a8b1(0x203)];}['getGeoJson'](){var _0x53a0d4=a71_0x2d5e92;return new a71_0x4d33bd()[_0x53a0d4(0x1fa)](this);}[a71_0x2d5e92(0x1f7)](_0x5d104f){var _0x44a3d3=a71_0x2d5e92;this[_0x44a3d3(0x1f5)]=JSON[_0x44a3d3(0x1fe)](JSON[_0x44a3d3(0x1fb)](_0x5d104f));}['setMap'](_0x3c3918){var _0x3557f2=a71_0x2d5e92;if(_0x3c3918&&_0x3c3918 instanceof a71_0x452867)this[_0x3557f2(0x20c)]=_0x3c3918;else throw new Error(_0x3557f2(0x202));}[a71_0x2d5e92(0x20d)](){var _0x183f5b=a71_0x2d5e92;return this[_0x183f5b(0x20c)];}[a71_0x2d5e92(0x209)](){return!![];}['setPoints'](_0x20e4ce){var _0x1265e4=a71_0x2d5e92;this[_0x1265e4(0x1f8)]=!_0x20e4ce?[]:_0x20e4ce,this[_0x1265e4(0x1f8)][_0x1265e4(0x20b)]>=0x1&&(this[_0x1265e4(0x20a)]&&this[_0x1265e4(0x20a)]());}['generate'](){}[a71_0x2d5e92(0x206)](){var _0x6cfb1e=a71_0x2d5e92;return this[_0x6cfb1e(0x1f8)][_0x6cfb1e(0x1ff)](0x0);}[a71_0x2d5e92(0x20f)](){var _0x211f59=a71_0x2d5e92;return this['points'][_0x211f59(0x20b)];}[a71_0x2d5e92(0x204)](){}}export default Plot;
1
+ var a71_0x22843f=a71_0xb3c0;(function(_0x31111f,_0x35c091){var _0x203094=a71_0xb3c0,_0x22ab5b=_0x31111f();while(!![]){try{var _0x34bfdd=parseInt(_0x203094(0x1de))/0x1+parseInt(_0x203094(0x1ed))/0x2*(parseInt(_0x203094(0x1e9))/0x3)+parseInt(_0x203094(0x1dd))/0x4+-parseInt(_0x203094(0x1e1))/0x5+-parseInt(_0x203094(0x1d9))/0x6+parseInt(_0x203094(0x1e6))/0x7*(-parseInt(_0x203094(0x1e3))/0x8)+-parseInt(_0x203094(0x1e4))/0x9;if(_0x34bfdd===_0x35c091)break;else _0x22ab5b['push'](_0x22ab5b['shift']());}catch(_0x255d1b){_0x22ab5b['push'](_0x22ab5b['shift']());}}}(a71_0x29b7,0x468e6));function a71_0x29b7(){var _0x136c2f=['points','setPoints','2631gTXmRs','getPointCount','length','getGeoJson','786vsQWWB','parse','getMap','slice','2629206yqQWYj','writeGeometryObject','style','generate','1759816RFNSKK','547520xSjqri','type','setMap','16890ctnrhH','map','125104Bcsnzr','5273280OEjQAd','getPlotType','7YgCqVR'];a71_0x29b7=function(){return _0x136c2f;};return a71_0x29b7();}import{LineString}from'ol/geom';import a71_0x45f2b5 from'ol/format/GeoJSON';import a71_0x390410 from'../../../mapView/Map';function a71_0xb3c0(_0x2b28e3,_0x4f5ed6){var _0x29b787=a71_0x29b7();return a71_0xb3c0=function(_0xb3c01a,_0x1764b7){_0xb3c01a=_0xb3c01a-0x1d9;var _0x4113e7=_0x29b787[_0xb3c01a];return _0x4113e7;},a71_0xb3c0(_0x2b28e3,_0x4f5ed6);}class Plot extends LineString{constructor(){var _0x517376=a71_0xb3c0;super([]),this[_0x517376(0x1e7)]=[];}[a71_0x22843f(0x1e5)](){var _0x5a9696=a71_0x22843f;return this[_0x5a9696(0x1df)];}[a71_0x22843f(0x1ec)](){var _0x3f81f4=a71_0x22843f;return new a71_0x45f2b5()[_0x3f81f4(0x1da)](this);}['setStyle'](_0x3106de){var _0xa676f=a71_0x22843f;this[_0xa676f(0x1db)]=JSON[_0xa676f(0x1ee)](JSON['stringify'](_0x3106de));}[a71_0x22843f(0x1e0)](_0x87c9ce){var _0x3f785a=a71_0x22843f;if(_0x87c9ce&&_0x87c9ce instanceof a71_0x390410)this[_0x3f785a(0x1e2)]=_0x87c9ce;else throw new Error('传入的不是地图对象!');}[a71_0x22843f(0x1ef)](){var _0x428da1=a71_0x22843f;return this[_0x428da1(0x1e2)];}['isPlot'](){return!![];}[a71_0x22843f(0x1e8)](_0x2c8415){var _0x1d6a75=a71_0x22843f;this[_0x1d6a75(0x1e7)]=!_0x2c8415?[]:_0x2c8415,this[_0x1d6a75(0x1e7)][_0x1d6a75(0x1eb)]>=0x1&&(this[_0x1d6a75(0x1dc)]&&this[_0x1d6a75(0x1dc)]());}[a71_0x22843f(0x1dc)](){}['getPoints'](){var _0x102946=a71_0x22843f;return this[_0x102946(0x1e7)][_0x102946(0x1f0)](0x0);}[a71_0x22843f(0x1ea)](){var _0x4d9083=a71_0x22843f;return this[_0x4d9083(0x1e7)][_0x4d9083(0x1eb)];}['finishDrawing'](){}}export default Plot;
@@ -1 +1 @@
1
- function a72_0xc9f8(_0x2b2ad4,_0xf45d18){var _0x4fd769=a72_0x4fd7();return a72_0xc9f8=function(_0xc9f8b0,_0x8097f){_0xc9f8b0=_0xc9f8b0-0xb1;var _0x38cb83=_0x4fd769[_0xc9f8b0];return _0x38cb83;},a72_0xc9f8(_0x2b2ad4,_0xf45d18);}var a72_0x586974=a72_0xc9f8;(function(_0x48c605,_0x25a2bb){var _0x22ba03=a72_0xc9f8,_0x5b779b=_0x48c605();while(!![]){try{var _0x3c3154=-parseInt(_0x22ba03(0xc3))/0x1+parseInt(_0x22ba03(0xb5))/0x2+-parseInt(_0x22ba03(0xb2))/0x3+-parseInt(_0x22ba03(0xb9))/0x4*(parseInt(_0x22ba03(0xb7))/0x5)+parseInt(_0x22ba03(0xbe))/0x6*(-parseInt(_0x22ba03(0xc0))/0x7)+parseInt(_0x22ba03(0xb6))/0x8*(parseInt(_0x22ba03(0xbd))/0x9)+parseInt(_0x22ba03(0xba))/0xa;if(_0x3c3154===_0x25a2bb)break;else _0x5b779b['push'](_0x5b779b['shift']());}catch(_0xbc8e09){_0x5b779b['push'](_0x5b779b['shift']());}}}(a72_0x4fd7,0x81d6a));function a72_0x4fd7(){var _0xa19af5=['length','692gAwyeE','21410950rzxcBf','updatePoint','generate','351qxgOmg','12uatdnc','stringify','3402497hFontT','points','isPlot','679127ZzaLxh','LineString','setCoordinates','1368096wXwMFt','parse','setStyle','817020ORVyHE','124504nUIPDh','14955Atjqxp'];a72_0x4fd7=function(){return _0xa19af5;};return a72_0x4fd7();}import a72_0x497b7c from'./BaseLine';class Polyline extends a72_0x497b7c{constructor(_0x293b80){var _0x14701b=a72_0xc9f8;super(),this['type']=_0x14701b(0xc4),this[_0x14701b(0xb1)](_0x293b80);}[a72_0x586974(0xbc)](){var _0x40cc27=a72_0x586974;this[_0x40cc27(0xb1)](this['points']);}[a72_0x586974(0xbb)](_0x3c1d0c,_0x50e692){var _0x50daff=a72_0x586974;_0x50e692>=0x0&&_0x50e692<this[_0x50daff(0xc1)][_0x50daff(0xb8)]&&(this[_0x50daff(0xc1)][_0x50e692]=_0x3c1d0c,this[_0x50daff(0xbc)]());}['updateLastPoint'](_0x4bc288){var _0x1bb7ee=a72_0x586974;this[_0x1bb7ee(0xbb)](_0x4bc288,this[_0x1bb7ee(0xc1)][_0x1bb7ee(0xb8)]-0x1);}[a72_0x586974(0xc2)](){return![];}[a72_0x586974(0xb4)](_0x5dca66){var _0x49a5cc=a72_0x586974;this['style']=JSON[_0x49a5cc(0xb3)](JSON[_0x49a5cc(0xbf)](_0x5dca66));}}export default Polyline;
1
+ var a72_0x88b1fd=a72_0x9fc4;function a72_0x18b3(){var _0xff126b=['10806460rzgkxt','length','300MyRHJd','parse','points','1223550JrvENP','3920805Icmtmy','setCoordinates','isPlot','11rHsuXH','LineString','updatePoint','stringify','30055hbMKLP','2487513wshDkA','generate','2qaMHPF','setStyle','143437pkZrFF','16cleXOL','6074754BbphSe','updateLastPoint'];a72_0x18b3=function(){return _0xff126b;};return a72_0x18b3();}(function(_0x343a56,_0x3a19bb){var _0xd36d1=a72_0x9fc4,_0x579bff=_0x343a56();while(!![]){try{var _0x3d5f0c=-parseInt(_0xd36d1(0x12a))/0x1+parseInt(_0xd36d1(0x128))/0x2*(parseInt(_0xd36d1(0x11d))/0x3)+parseInt(_0xd36d1(0x130))/0x4*(parseInt(_0xd36d1(0x125))/0x5)+-parseInt(_0xd36d1(0x12c))/0x6+parseInt(_0xd36d1(0x126))/0x7*(-parseInt(_0xd36d1(0x12b))/0x8)+parseInt(_0xd36d1(0x11e))/0x9+parseInt(_0xd36d1(0x12e))/0xa*(parseInt(_0xd36d1(0x121))/0xb);if(_0x3d5f0c===_0x3a19bb)break;else _0x579bff['push'](_0x579bff['shift']());}catch(_0x2a420a){_0x579bff['push'](_0x579bff['shift']());}}}(a72_0x18b3,0x7c1c0));function a72_0x9fc4(_0x5c8771,_0x3b2f95){var _0x18b3ae=a72_0x18b3();return a72_0x9fc4=function(_0x9fc475,_0x1e5393){_0x9fc475=_0x9fc475-0x11c;var _0x26c454=_0x18b3ae[_0x9fc475];return _0x26c454;},a72_0x9fc4(_0x5c8771,_0x3b2f95);}import a72_0x746d9a from'./BaseLine';class Polyline extends a72_0x746d9a{constructor(_0x2ec77d){var _0x559ac1=a72_0x9fc4;super(),this['type']=_0x559ac1(0x122),this[_0x559ac1(0x11f)](_0x2ec77d);}['generate'](){var _0x48f07c=a72_0x9fc4;this[_0x48f07c(0x11f)](this[_0x48f07c(0x11c)]);}[a72_0x88b1fd(0x123)](_0x180d0d,_0x32a246){var _0x428063=a72_0x88b1fd;_0x32a246>=0x0&&_0x32a246<this['points'][_0x428063(0x12f)]&&(this[_0x428063(0x11c)][_0x32a246]=_0x180d0d,this[_0x428063(0x127)]());}[a72_0x88b1fd(0x12d)](_0x44a40e){var _0x304055=a72_0x88b1fd;this[_0x304055(0x123)](_0x44a40e,this[_0x304055(0x11c)][_0x304055(0x12f)]-0x1);}[a72_0x88b1fd(0x120)](){return![];}[a72_0x88b1fd(0x129)](_0xb8fc46){var _0x129a89=a72_0x88b1fd;this['style']=JSON[_0x129a89(0x131)](JSON[_0x129a89(0x124)](_0xb8fc46));}}export default Polyline;
@@ -1 +1 @@
1
- (function(_0x55ce55,_0x3bc1c5){const _0x59f074=a75_0x3dc5,_0x1410b6=_0x55ce55();while(!![]){try{const _0x588123=parseInt(_0x59f074(0xe3))/0x1+parseInt(_0x59f074(0xee))/0x2*(parseInt(_0x59f074(0xb6))/0x3)+-parseInt(_0x59f074(0xd7))/0x4+-parseInt(_0x59f074(0xd0))/0x5+-parseInt(_0x59f074(0xfb))/0x6*(-parseInt(_0x59f074(0xc0))/0x7)+-parseInt(_0x59f074(0xdd))/0x8*(parseInt(_0x59f074(0xc7))/0x9)+parseInt(_0x59f074(0xca))/0xa;if(_0x588123===_0x3bc1c5)break;else _0x1410b6['push'](_0x1410b6['shift']());}catch(_0x355271){_0x1410b6['push'](_0x1410b6['shift']());}}}(a75_0x1f78,0xde93f));import{parseImage}from'../utils/UrlUtil';function a75_0x3dc5(_0x457b3e,_0x1c85b4){const _0x1f781b=a75_0x1f78();return a75_0x3dc5=function(_0x3dc573,_0x441a21){_0x3dc573=_0x3dc573-0xb1;let _0x216e9f=_0x1f781b[_0x3dc573];return _0x216e9f;},a75_0x3dc5(_0x457b3e,_0x1c85b4);}import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a75_0x638599 from'ol/style/Style';import a75_0x350805 from'ol/style/Circle';import a75_0x1bb560 from'ol/style/Fill';import a75_0x1f033a from'ol/style/Stroke';function getMainStyle(_0x44e50a,_0x170b59=0x0,_0x4242a7){const _0x3ddaf6=a75_0x3dc5;let _0x1dbc01;return _0x44e50a[_0x3ddaf6(0xe6)]||_0x44e50a[_0x3ddaf6(0xf3)]?_0x1dbc01=new a75_0x638599({'renderer':(_0x319ad6,_0x307139)=>{preLoadImageRenderFunction(_0x44e50a,_0x319ad6,_0x307139,_0x4242a7,_rendererFunction);},'zIndex':Number(_0x170b59)}):_0x1dbc01=new a75_0x638599({'image':new a75_0x350805({'radius':_0x44e50a[_0x3ddaf6(0xc1)]?_0x44e50a['radius']:_0x44e50a['pixelSize'],'fill':new a75_0x1bb560({'color':getColor(_0x44e50a[_0x3ddaf6(0xb5)],_0x44e50a[_0x3ddaf6(0xbe)])}),'stroke':_0x44e50a[_0x3ddaf6(0xed)]&&_0x44e50a[_0x3ddaf6(0xcf)]?new a75_0x1f033a({'color':getColor(_0x44e50a[_0x3ddaf6(0xcf)],_0x44e50a[_0x3ddaf6(0xfa)]),'width':_0x44e50a[_0x3ddaf6(0xbc)]}):undefined}),'zIndex':Number(_0x170b59)}),_0x1dbc01;}function _rendererFunction(_0x3c108d,_0x5e6d98,_0x3a90c8,_0x43d3b6,_0x5d9b37){const _0x434154=a75_0x3dc5;if(!_0x5d9b37||_0x5d9b37[_0x434154(0xf9)]===0x0){let _0x5cebf1=new Image();_0x5cebf1[_0x434154(0xb3)]=_0x3c108d[_0x434154(0xe6)];}if(_0x3c108d['changeColor']&&_0x3c108d[_0x434154(0xb5)]!==''){let _0x348cad=_0x3c108d[_0x434154(0xb9)]||0x1,_0x5f1e7a=_0x3c108d[_0x434154(0xf9)]||_0x5d9b37[_0x434154(0xf9)]*_0x348cad,_0x49f74d=_0x3c108d['height']||_0x5d9b37[_0x434154(0xf8)]*_0x348cad;_0x5f1e7a=_0x5f1e7a*_0x3a90c8[_0x434154(0xeb)],_0x49f74d=_0x49f74d*_0x3a90c8['pixelRatio'];const _0x3ad079=document[_0x434154(0xe4)](_0x434154(0xc8));_0x3ad079[_0x434154(0xf9)]=_0x5f1e7a,_0x3ad079['height']=_0x49f74d;const _0x33d01e=_0x3ad079[_0x434154(0xbf)]('2d');_0x33d01e===null||_0x33d01e===void 0x0?void 0x0:_0x33d01e['drawImage'](_0x5d9b37,0x0,0x0,_0x5f1e7a,_0x49f74d);let _0x15ee05=_0x33d01e===null||_0x33d01e===void 0x0?void 0x0:_0x33d01e[_0x434154(0xb1)](0x0,0x0,_0x5f1e7a,_0x49f74d),_0x53b749=_0x15ee05===null||_0x15ee05===void 0x0?void 0x0:_0x15ee05[_0x434154(0xea)];_0x5d9b37=_0x3ad079;let _0x410691=HexToRgb(_0x3c108d[_0x434154(0xb5)]);if(_0x53b749&&_0x410691)for(var _0x421410=0x0;_0x421410<_0x53b749[_0x434154(0xef)];_0x421410+=0x4){_0x53b749[_0x421410]=_0x410691[0x0],_0x53b749[_0x421410+0x1]=_0x410691[0x1],_0x53b749[_0x421410+0x2]=_0x410691[0x2];}_0x15ee05&&(_0x33d01e===null||_0x33d01e===void 0x0?void 0x0:_0x33d01e[_0x434154(0xec)](_0x15ee05,0x0,0x0));}let _0x12defa=_0x3a90c8[_0x434154(0xf6)],_0x459a99=_0x3a90c8[_0x434154(0xeb)],_0x3a7650=_0x12defa[_0x434154(0xbd)](),_0x2b92a9=_0x12defa[_0x434154(0xb7)](),_0x2af3e3=[];switch(_0x2b92a9){case _0x434154(0xe9):_0x2af3e3=_0x12defa[_0x434154(0xf2)]();break;case _0x434154(0xf1):_0x2af3e3=_0x12defa[_0x434154(0xcb)](),_0x3a7650=0x2;break;case _0x434154(0xbb):_0x2af3e3=_0x12defa[_0x434154(0xf5)](),_0x3a7650=0x3;break;case _0x434154(0xd9):{let _0x1c5255=_0x12defa[_0x434154(0xf0)]();_0x2af3e3=[];for(let _0x1bc45b=0x0,_0x3d356b=_0x1c5255['length'];_0x1bc45b<_0x3d356b;_0x1bc45b+=0x3){_0x2af3e3[_0x434154(0xe0)](_0x1c5255[_0x1bc45b],_0x1c5255[_0x1bc45b+0x1]);}if(_0x2af3e3[_0x434154(0xef)]===0x0)return;_0x3a7650=0x2;break;}}if(_0x2af3e3[_0x434154(0xef)]>0x0&&_0x43d3b6)for(let _0x35c059=0x0,_0x4731e3=_0x2af3e3[_0x434154(0xef)];_0x35c059<_0x4731e3;_0x35c059+=_0x3a7650){let _0x4952e9=[_0x2af3e3[_0x35c059],_0x2af3e3[_0x35c059+0x1]],_0x2e2dd3=_0x43d3b6[_0x434154(0xc2)](_0x4952e9);_0x2e2dd3=[_0x2e2dd3[0x0]*_0x459a99,_0x2e2dd3[0x1]*_0x459a99],drawImage(_0x3c108d,_0x2e2dd3,_0x3a90c8,_0x5d9b37);}else{if(_0x2b92a9==='MultiPoint')for(let _0x2a1a2c of _0x5e6d98){drawImage(_0x3c108d,_0x2a1a2c,_0x3a90c8,_0x5d9b37);}else drawImage(_0x3c108d,_0x5e6d98,_0x3a90c8,_0x5d9b37);}}function HexToRgb(_0x56cdb7){const _0xe2615=a75_0x3dc5;_0x56cdb7=_0x56cdb7[_0xe2615(0xd4)]('#','');let _0x1351a9=_0x56cdb7[_0xe2615(0xd8)](/../g);if(_0x1351a9){for(let _0x5c3068=0x0;_0x5c3068<0x3;_0x5c3068++)_0x1351a9[_0x5c3068]=parseInt(_0x1351a9[_0x5c3068],0x10);}return _0x1351a9;}export function getImageOlStyle(_0x74cf7a,_0x2727ba,_0x2ecbcf,_0x3e7d23){const _0x387913=a75_0x3dc5;var _0x435f49;if(_0x74cf7a&&_0x74cf7a[_0x387913(0xd2)]!==![]){_0x74cf7a=JSON[_0x387913(0xd5)](JSON[_0x387913(0xb8)](_0x74cf7a)),_0x2727ba=(_0x435f49=_0x74cf7a['zIndex'])!==null&&_0x435f49!==void 0x0?_0x435f49:_0x2727ba;let _0x85b250=isShowStyle(_0x74cf7a,_0x2ecbcf,_0x3e7d23);if(_0x85b250)return _0x74cf7a[_0x387913(0xe6)]=parseImage(_0x74cf7a[_0x387913(0xe6)]),getMainStyle(_0x74cf7a,_0x2727ba,_0x3e7d23);}}function a75_0x1f78(){const _0xd7b977=['getFlatInteriorPoints','MultiLineString','getFlatMidpoint','markerColor','translate','getFlatInteriorPoint','geometry','restore','height','width','outlineOpacity','3314982oZVhmO','getImageData','rotation','src','point','color','6933bhtaRz','getType','stringify','scale','verticalOrigin','Polygon','outlineWidth','getStride','opacity','getContext','7NROTIq','radius','getPixelFromCoordinate','label','model/','rotate','save','45DrfWty','canvas','.png','26109060XIyHJN','getFlatMidpoints','CENTER','RIGHT','text','outlineColor','7104310eFDmNL','horizontalOrigin','show','changeColor','replace','parse','warn','6733816jwpFil','match','MultiPolygon','pixelOffsetY','modelKind','toUpperCase','1345576eZIjZw','imgUrl','billboard','push','pixelOffset','zIndex','785354qmaiAf','createElement','LEFT','image','drawImage','model','LineString','data','pixelRatio','putImageData','outline','786ViaeSG','length'];a75_0x1f78=function(){return _0xd7b977;};return a75_0x1f78();}export function getPointStyle(_0x3da11f,_0x55ca7b,_0x4ca07b,_0x4401f7){const _0x1f1fb8=a75_0x3dc5;var _0x2aadf8,_0x26c9dc;_0x3da11f=JSON[_0x1f1fb8(0xd5)](JSON[_0x1f1fb8(0xb8)](_0x3da11f));let _0xebb71f=(_0x2aadf8=_0x3da11f[_0x1f1fb8(0xe2)])!==null&&_0x2aadf8!==void 0x0?_0x2aadf8:0x0,_0x3afb46=[],_0x440285=getImageOlStyle(_0x3da11f,_0xebb71f,_0x4ca07b,_0x4401f7);_0x440285&&_0x3afb46[_0x1f1fb8(0xe0)](_0x440285);let _0x1510a6=getImageOlStyle(_0x3da11f[_0x1f1fb8(0xdf)],_0xebb71f,_0x4ca07b,_0x4401f7);_0x1510a6&&_0x3afb46[_0x1f1fb8(0xe0)](_0x1510a6);if(_0x3da11f['model']&&_0x3da11f['model'][_0x1f1fb8(0xd2)]!==![]){let _0x3223fd=isShowStyle(_0x3da11f[_0x1f1fb8(0xe8)],_0x4ca07b,_0x4401f7);if(_0x3223fd){let _0x4650ec=(_0x26c9dc=_0x3da11f[_0x1f1fb8(0xe8)][_0x1f1fb8(0xe2)])!==null&&_0x26c9dc!==void 0x0?_0x26c9dc:_0xebb71f,_0x47b322=_0x3da11f[_0x1f1fb8(0xe8)][_0x1f1fb8(0xde)]||_0x1f1fb8(0xc4)+_0x3da11f[_0x1f1fb8(0xe8)][_0x1f1fb8(0xdb)]+'.png';_0x3da11f[_0x1f1fb8(0xb9)]=0x1,_0x3da11f[_0x1f1fb8(0xf9)]=0x30,_0x3da11f['height']=0x30,_0x3da11f['verticalOrigin']='CENTER',_0x3afb46[_0x1f1fb8(0xe0)](getMainStyle(_0x3da11f[_0x1f1fb8(0xe8)],_0x4650ec,_0x4401f7));}}if(_0x3da11f[_0x1f1fb8(0xc3)]&&_0x3da11f[_0x1f1fb8(0xc3)][_0x1f1fb8(0xd2)]!==![]){let _0x20a7f7=new a75_0x638599({'text':createTextStyle(_0x3da11f['label'],_0x55ca7b,_0x4ca07b,_0x4401f7),'zIndex':Number(_0xebb71f)+0x1});_0x3afb46[_0x1f1fb8(0xe0)](_0x20a7f7);}return _0x3afb46;}export function getPointSingleStyle(_0x17e1db,_0x2b371b,_0x43c275,_0x52bcd7){const _0xca2508=a75_0x3dc5;_0x2b371b=JSON[_0xca2508(0xd5)](JSON['stringify'](_0x2b371b));let _0x5640e2=_0x2b371b[_0xca2508(0xc3)],_0x1937ea;_0x5640e2&&(_0x1937ea=_0x5640e2[_0xca2508(0xce)]?_0x5640e2[_0xca2508(0xce)]:'');if(_0x17e1db==='billboard')return _0x2b371b[_0xca2508(0xe6)]=parseImage(_0x2b371b[_0xca2508(0xe6)]),getPointStyle(_0x2b371b,_0x1937ea,_0x43c275,_0x52bcd7);else{if(_0x17e1db===_0xca2508(0xe8)){let _0x329125=_0x2b371b[_0xca2508(0xde)]||_0xca2508(0xc4)+_0x2b371b['modelKind']+_0xca2508(0xc9);return _0x2b371b[_0xca2508(0xb9)]=0x1,_0x2b371b['width']=0x30,_0x2b371b[_0xca2508(0xf8)]=0x30,_0x2b371b[_0xca2508(0xba)]=_0xca2508(0xcc),getPointStyle(_0x2b371b,_0x1937ea,_0x43c275,_0x52bcd7);}else{if(_0x17e1db==='cloud')return getPointStyle(_0x2b371b,_0x1937ea,_0x43c275,_0x52bcd7);else{if(_0x17e1db===_0xca2508(0xb4))return getPointStyle(_0x2b371b,_0x1937ea,_0x43c275,_0x52bcd7);else return _0x17e1db===_0xca2508(0xc3)?new a75_0x638599({'text':createTextStyle(_0x2b371b,_0x2b371b[_0xca2508(0xce)],_0x43c275,_0x52bcd7),'zIndex':_0x2b371b['zIndex']}):getPointStyle(_0x2b371b,_0x1937ea,_0x43c275,_0x52bcd7);}}}}function drawImage(_0x5a3e94,_0x3ffdfa,_0x41046b,_0x3bf923){const _0x211f5a=a75_0x3dc5;var _0x365275,_0x436da9,_0x499845,_0x416665;let _0x1a958d=_0x41046b['context'];try{_0x1a958d[_0x211f5a(0xc6)]();let _0x5528ca=Number(_0x5a3e94['pixelOffsetX']||((_0x365275=_0x5a3e94[_0x211f5a(0xe1)])===null||_0x365275===void 0x0?void 0x0:_0x365275[0x0])||0x0),_0x2295d1=Number(_0x5a3e94[_0x211f5a(0xda)]||((_0x436da9=_0x5a3e94[_0x211f5a(0xe1)])===null||_0x436da9===void 0x0?void 0x0:_0x436da9[0x1])||0x0);_0x1a958d[_0x211f5a(0xf4)](_0x3ffdfa[0x0]+_0x5528ca,_0x3ffdfa[0x1]+_0x2295d1);if(_0x5a3e94[_0x211f5a(0xb2)])_0x1a958d[_0x211f5a(0xc5)](toRadians(_0x5a3e94[_0x211f5a(0xb2)]));_0x1a958d['globalAlpha']=_0x5a3e94[_0x211f5a(0xbe)]!=null?_0x5a3e94[_0x211f5a(0xbe)]:0x1;if(_0x3bf923[_0x211f5a(0xf9)]>0x0){let _0x3388e6=_0x5a3e94[_0x211f5a(0xb9)]||0x1,_0x5ec090=_0x5a3e94['width']||_0x3bf923['width']*_0x3388e6,_0x3339ad=_0x5a3e94[_0x211f5a(0xf8)]||_0x3bf923[_0x211f5a(0xf8)]*_0x3388e6;_0x5ec090=_0x5ec090*_0x41046b[_0x211f5a(0xeb)],_0x3339ad=_0x3339ad*_0x41046b[_0x211f5a(0xeb)];_0x5a3e94[_0x211f5a(0xd3)]&&(_0x5ec090=_0x3bf923[_0x211f5a(0xf9)],_0x3339ad=_0x3bf923[_0x211f5a(0xf8)]);let _0x1872ee;switch((_0x499845=_0x5a3e94[_0x211f5a(0xd1)])===null||_0x499845===void 0x0?void 0x0:_0x499845[_0x211f5a(0xdc)]()){default:case'CENTER':_0x1872ee=-_0x5ec090/0x2;break;case _0x211f5a(0xe5):_0x1872ee=0x0;break;case _0x211f5a(0xcd):_0x1872ee=-_0x5ec090;break;}let _0x15ea1b;switch((_0x416665=_0x5a3e94['verticalOrigin'])===null||_0x416665===void 0x0?void 0x0:_0x416665[_0x211f5a(0xdc)]()){default:case'BOTTOM':_0x15ea1b=-_0x3339ad;break;case'CENTER':_0x15ea1b=-_0x3339ad/0x2;break;case'TOP':_0x15ea1b=0x0;break;}_0x1a958d[_0x211f5a(0xe7)](_0x3bf923,_0x1872ee,_0x15ea1b,_0x5ec090,_0x3339ad);}else _0x1a958d[_0x211f5a(0xe7)](_0x3bf923,0x0,0x0);_0x1a958d[_0x211f5a(0xf7)]();}catch(_0x42d1ad){_0x1a958d[_0x211f5a(0xf7)](),console[_0x211f5a(0xd6)](_0x42d1ad);}}
1
+ (function(_0x249b55,_0x40f36a){const _0x3a63f6=a75_0x1fed,_0x115320=_0x249b55();while(!![]){try{const _0x585153=-parseInt(_0x3a63f6(0x1b3))/0x1+parseInt(_0x3a63f6(0x1af))/0x2+-parseInt(_0x3a63f6(0x1be))/0x3+parseInt(_0x3a63f6(0x1ca))/0x4*(-parseInt(_0x3a63f6(0x1c0))/0x5)+parseInt(_0x3a63f6(0x1ad))/0x6+parseInt(_0x3a63f6(0x1ba))/0x7*(-parseInt(_0x3a63f6(0x1b8))/0x8)+parseInt(_0x3a63f6(0x1a6))/0x9;if(_0x585153===_0x40f36a)break;else _0x115320['push'](_0x115320['shift']());}catch(_0x3e570f){_0x115320['push'](_0x115320['shift']());}}}(a75_0x43d9,0x42088));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a75_0x4a38ed from'ol/style/Style';import a75_0x4c5755 from'ol/style/Circle';import a75_0x251f8b from'ol/style/Fill';import a75_0x152726 from'ol/style/Stroke';function getMainStyle(_0x22babb,_0x31bdaf=0x0,_0x39895e){const _0x2f36dd=a75_0x1fed;let _0x1ee5ad;return _0x22babb[_0x2f36dd(0x18f)]||_0x22babb[_0x2f36dd(0x19e)]?_0x1ee5ad=new a75_0x4a38ed({'renderer':(_0x2db977,_0x14da02)=>{preLoadImageRenderFunction(_0x22babb,_0x2db977,_0x14da02,_0x39895e,_rendererFunction);},'zIndex':Number(_0x31bdaf)}):_0x1ee5ad=new a75_0x4a38ed({'image':new a75_0x4c5755({'radius':_0x22babb[_0x2f36dd(0x1a5)]?_0x22babb['radius']:_0x22babb['pixelSize'],'fill':new a75_0x251f8b({'color':getColor(_0x22babb[_0x2f36dd(0x1a3)],_0x22babb[_0x2f36dd(0x19c)])}),'stroke':_0x22babb[_0x2f36dd(0x1ae)]&&_0x22babb[_0x2f36dd(0x191)]?new a75_0x152726({'color':getColor(_0x22babb[_0x2f36dd(0x191)],_0x22babb[_0x2f36dd(0x18d)]),'width':_0x22babb['outlineWidth']}):undefined}),'zIndex':Number(_0x31bdaf)}),_0x1ee5ad;}function _rendererFunction(_0xca26f7,_0x177a18,_0x3d1d50,_0x2c6a97,_0xc03e41){const _0x4d0883=a75_0x1fed;if(!_0xc03e41||_0xc03e41['width']===0x0){let _0x24743b=new Image();_0x24743b[_0x4d0883(0x19a)]=_0xca26f7['image'];}if(_0xca26f7[_0x4d0883(0x1bb)]&&_0xca26f7[_0x4d0883(0x1a3)]!==''){let _0x467fdf=_0xca26f7['scale']||0x1,_0x33932b=_0xca26f7[_0x4d0883(0x195)]||_0xc03e41[_0x4d0883(0x195)]*_0x467fdf,_0x4d44b4=_0xca26f7[_0x4d0883(0x19b)]||_0xc03e41['height']*_0x467fdf;_0x33932b=_0x33932b*_0x3d1d50[_0x4d0883(0x1b1)],_0x4d44b4=_0x4d44b4*_0x3d1d50[_0x4d0883(0x1b1)];const _0x46e6d5=document[_0x4d0883(0x194)](_0x4d0883(0x196));_0x46e6d5[_0x4d0883(0x195)]=_0x33932b,_0x46e6d5[_0x4d0883(0x19b)]=_0x4d44b4;const _0x417cc0=_0x46e6d5[_0x4d0883(0x1b9)]('2d');_0x417cc0===null||_0x417cc0===void 0x0?void 0x0:_0x417cc0[_0x4d0883(0x1a1)](_0xc03e41,0x0,0x0,_0x33932b,_0x4d44b4);let _0x3ef783=_0x417cc0===null||_0x417cc0===void 0x0?void 0x0:_0x417cc0[_0x4d0883(0x1c6)](0x0,0x0,_0x33932b,_0x4d44b4),_0x6e7ce=_0x3ef783===null||_0x3ef783===void 0x0?void 0x0:_0x3ef783[_0x4d0883(0x18c)];_0xc03e41=_0x46e6d5;let _0x2f03e2=HexToRgb(_0xca26f7[_0x4d0883(0x1a3)]);if(_0x6e7ce&&_0x2f03e2)for(var _0xff0ea0=0x0;_0xff0ea0<_0x6e7ce[_0x4d0883(0x1cb)];_0xff0ea0+=0x4){_0x6e7ce[_0xff0ea0]=_0x2f03e2[0x0],_0x6e7ce[_0xff0ea0+0x1]=_0x2f03e2[0x1],_0x6e7ce[_0xff0ea0+0x2]=_0x2f03e2[0x2];}_0x3ef783&&(_0x417cc0===null||_0x417cc0===void 0x0?void 0x0:_0x417cc0[_0x4d0883(0x1c5)](_0x3ef783,0x0,0x0));}let _0x1423bb=_0x3d1d50[_0x4d0883(0x1ac)],_0x5d1d28=_0x3d1d50[_0x4d0883(0x1b1)],_0x3057a9=_0x1423bb['getStride'](),_0x3abd5e=_0x1423bb['getType'](),_0x51a107=[];switch(_0x3abd5e){case'LineString':_0x51a107=_0x1423bb[_0x4d0883(0x1c3)]();break;case _0x4d0883(0x1a8):_0x51a107=_0x1423bb[_0x4d0883(0x18e)](),_0x3057a9=0x2;break;case _0x4d0883(0x1b7):_0x51a107=_0x1423bb[_0x4d0883(0x19f)](),_0x3057a9=0x3;break;case _0x4d0883(0x1bc):{let _0x3ce807=_0x1423bb['getFlatInteriorPoints']();_0x51a107=[];for(let _0x1bde54=0x0,_0x442ae3=_0x3ce807[_0x4d0883(0x1cb)];_0x1bde54<_0x442ae3;_0x1bde54+=0x3){_0x51a107[_0x4d0883(0x190)](_0x3ce807[_0x1bde54],_0x3ce807[_0x1bde54+0x1]);}if(_0x51a107[_0x4d0883(0x1cb)]===0x0)return;_0x3057a9=0x2;break;}}if(_0x51a107[_0x4d0883(0x1cb)]>0x0&&_0x2c6a97)for(let _0x1257cb=0x0,_0x30c2fb=_0x51a107[_0x4d0883(0x1cb)];_0x1257cb<_0x30c2fb;_0x1257cb+=_0x3057a9){let _0x43038c=[_0x51a107[_0x1257cb],_0x51a107[_0x1257cb+0x1]],_0x363247=_0x2c6a97[_0x4d0883(0x1cc)](_0x43038c);_0x363247=[_0x363247[0x0]*_0x5d1d28,_0x363247[0x1]*_0x5d1d28],drawImage(_0xca26f7,_0x363247,_0x3d1d50,_0xc03e41);}else{if(_0x3abd5e===_0x4d0883(0x18b))for(let _0x28120b of _0x177a18){drawImage(_0xca26f7,_0x28120b,_0x3d1d50,_0xc03e41);}else drawImage(_0xca26f7,_0x177a18,_0x3d1d50,_0xc03e41);}}function a75_0x43d9(){const _0x14f587=['stringify','src','height','opacity','point','markerColor','getFlatInteriorPoint','replace','drawImage','verticalOrigin','color','zIndex','radius','10106694nnLQpP','translate','MultiLineString','BOTTOM','rotate','pixelOffset','geometry','2120292dDoVMY','outline','155256hisIwl','model/','pixelRatio','RIGHT','310611ZzkOyk','text','show','warn','Polygon','2199096kVpfgp','getContext','7CAvGCP','changeColor','MultiPolygon','parse','1121547NBvMYO','globalAlpha','5MFfnri','toUpperCase','rotation','getFlatMidpoint','cloud','putImageData','getImageData','modelKind','TOP','CENTER','1296628NJFfke','length','getPixelFromCoordinate','billboard','model','context','imgUrl','scale','label','.png','MultiPoint','data','outlineOpacity','getFlatMidpoints','image','push','outlineColor','restore','LEFT','createElement','width','canvas','horizontalOrigin','save'];a75_0x43d9=function(){return _0x14f587;};return a75_0x43d9();}function HexToRgb(_0x363df3){const _0x147951=a75_0x1fed;_0x363df3=_0x363df3[_0x147951(0x1a0)]('#','');let _0x1c80d1=_0x363df3['match'](/../g);if(_0x1c80d1){for(let _0xd4b66=0x0;_0xd4b66<0x3;_0xd4b66++)_0x1c80d1[_0xd4b66]=parseInt(_0x1c80d1[_0xd4b66],0x10);}return _0x1c80d1;}export function getImageOlStyle(_0x4042ef,_0x2fe55f,_0x83316f,_0x418f01){const _0x49386d=a75_0x1fed;var _0x28b6b9;if(_0x4042ef&&_0x4042ef[_0x49386d(0x1b5)]!==![]){_0x4042ef=JSON[_0x49386d(0x1bd)](JSON[_0x49386d(0x199)](_0x4042ef)),_0x2fe55f=(_0x28b6b9=_0x4042ef[_0x49386d(0x1a4)])!==null&&_0x28b6b9!==void 0x0?_0x28b6b9:_0x2fe55f;let _0x264906=isShowStyle(_0x4042ef,_0x83316f,_0x418f01);if(_0x264906)return _0x4042ef[_0x49386d(0x18f)]=parseImage(_0x4042ef[_0x49386d(0x18f)]),getMainStyle(_0x4042ef,_0x2fe55f,_0x418f01);}}export function getPointStyle(_0x7acdbc,_0x3f6f74,_0x3ce84c,_0x140cdf){const _0xafa16c=a75_0x1fed;var _0xa5d222,_0x49202e;_0x7acdbc=JSON[_0xafa16c(0x1bd)](JSON[_0xafa16c(0x199)](_0x7acdbc));let _0x1140d4=(_0xa5d222=_0x7acdbc[_0xafa16c(0x1a4)])!==null&&_0xa5d222!==void 0x0?_0xa5d222:0x0,_0x584d11=[],_0x1dcff7=getImageOlStyle(_0x7acdbc,_0x1140d4,_0x3ce84c,_0x140cdf);_0x1dcff7&&_0x584d11[_0xafa16c(0x190)](_0x1dcff7);let _0x2f4ca3=getImageOlStyle(_0x7acdbc[_0xafa16c(0x184)],_0x1140d4,_0x3ce84c,_0x140cdf);_0x2f4ca3&&_0x584d11[_0xafa16c(0x190)](_0x2f4ca3);if(_0x7acdbc[_0xafa16c(0x185)]&&_0x7acdbc[_0xafa16c(0x185)][_0xafa16c(0x1b5)]!==![]){let _0x58805f=isShowStyle(_0x7acdbc['model'],_0x3ce84c,_0x140cdf);if(_0x58805f){let _0x3b0690=(_0x49202e=_0x7acdbc[_0xafa16c(0x185)]['zIndex'])!==null&&_0x49202e!==void 0x0?_0x49202e:_0x1140d4,_0x5a1f6e=_0x7acdbc['model'][_0xafa16c(0x187)]||_0xafa16c(0x1b0)+_0x7acdbc[_0xafa16c(0x185)][_0xafa16c(0x1c7)]+_0xafa16c(0x18a);_0x7acdbc[_0xafa16c(0x188)]=0x1,_0x7acdbc['width']=0x30,_0x7acdbc[_0xafa16c(0x19b)]=0x30,_0x7acdbc['verticalOrigin']=_0xafa16c(0x1c9),_0x584d11[_0xafa16c(0x190)](getMainStyle(_0x7acdbc[_0xafa16c(0x185)],_0x3b0690,_0x140cdf));}}if(_0x7acdbc[_0xafa16c(0x189)]&&_0x7acdbc['label'][_0xafa16c(0x1b5)]!==![]){let _0x2050d2=new a75_0x4a38ed({'text':createTextStyle(_0x7acdbc[_0xafa16c(0x189)],_0x3f6f74,_0x3ce84c,_0x140cdf),'zIndex':Number(_0x1140d4)+0x1});_0x584d11[_0xafa16c(0x190)](_0x2050d2);}return _0x584d11;}export function getPointSingleStyle(_0x33348d,_0x93c37,_0x1daa68,_0x24bbcb){const _0x523c44=a75_0x1fed;_0x93c37=JSON[_0x523c44(0x1bd)](JSON['stringify'](_0x93c37));let _0xd10b6f=_0x93c37[_0x523c44(0x189)],_0x3e1a84;_0xd10b6f&&(_0x3e1a84=_0xd10b6f[_0x523c44(0x1b4)]?_0xd10b6f['text']:'');if(_0x33348d===_0x523c44(0x184))return _0x93c37['image']=parseImage(_0x93c37['image']),getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);else{if(_0x33348d==='model'){let _0x297709=_0x93c37['imgUrl']||_0x523c44(0x1b0)+_0x93c37['modelKind']+'.png';return _0x93c37[_0x523c44(0x188)]=0x1,_0x93c37['width']=0x30,_0x93c37[_0x523c44(0x19b)]=0x30,_0x93c37[_0x523c44(0x1a2)]=_0x523c44(0x1c9),getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);}else{if(_0x33348d===_0x523c44(0x1c4))return getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);else{if(_0x33348d===_0x523c44(0x19d))return getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);else return _0x33348d===_0x523c44(0x189)?new a75_0x4a38ed({'text':createTextStyle(_0x93c37,_0x93c37[_0x523c44(0x1b4)],_0x1daa68,_0x24bbcb),'zIndex':_0x93c37['zIndex']}):getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);}}}}function a75_0x1fed(_0x1aabfe,_0x502a4b){const _0x43d986=a75_0x43d9();return a75_0x1fed=function(_0x1fedad,_0x28ebd3){_0x1fedad=_0x1fedad-0x184;let _0x9e2fe2=_0x43d986[_0x1fedad];return _0x9e2fe2;},a75_0x1fed(_0x1aabfe,_0x502a4b);}function drawImage(_0x3b2189,_0x57f8b6,_0x2b39a8,_0xb7a029){const _0x3c270f=a75_0x1fed;var _0x2ac51d,_0x32df28,_0x50c503,_0x103386;let _0x4c82f8=_0x2b39a8[_0x3c270f(0x186)];try{_0x4c82f8[_0x3c270f(0x198)]();let _0x2bdb62=Number(_0x3b2189['pixelOffsetX']||((_0x2ac51d=_0x3b2189[_0x3c270f(0x1ab)])===null||_0x2ac51d===void 0x0?void 0x0:_0x2ac51d[0x0])||0x0),_0x206d16=Number(_0x3b2189['pixelOffsetY']||((_0x32df28=_0x3b2189[_0x3c270f(0x1ab)])===null||_0x32df28===void 0x0?void 0x0:_0x32df28[0x1])||0x0);_0x4c82f8[_0x3c270f(0x1a7)](_0x57f8b6[0x0]+_0x2bdb62,_0x57f8b6[0x1]+_0x206d16);if(_0x3b2189[_0x3c270f(0x1c2)])_0x4c82f8[_0x3c270f(0x1aa)](toRadians(_0x3b2189[_0x3c270f(0x1c2)]));_0x4c82f8[_0x3c270f(0x1bf)]=_0x3b2189[_0x3c270f(0x19c)]!=null?_0x3b2189['opacity']:0x1;if(_0xb7a029[_0x3c270f(0x195)]>0x0){let _0x2bfe4d=_0x3b2189[_0x3c270f(0x188)]||0x1,_0x47fa85=_0x3b2189[_0x3c270f(0x195)]||_0xb7a029[_0x3c270f(0x195)]*_0x2bfe4d,_0x48b025=_0x3b2189[_0x3c270f(0x19b)]||_0xb7a029['height']*_0x2bfe4d;_0x47fa85=_0x47fa85*_0x2b39a8[_0x3c270f(0x1b1)],_0x48b025=_0x48b025*_0x2b39a8[_0x3c270f(0x1b1)];_0x3b2189[_0x3c270f(0x1bb)]&&(_0x47fa85=_0xb7a029[_0x3c270f(0x195)],_0x48b025=_0xb7a029[_0x3c270f(0x19b)]);let _0x3409a2;switch((_0x50c503=_0x3b2189[_0x3c270f(0x197)])===null||_0x50c503===void 0x0?void 0x0:_0x50c503[_0x3c270f(0x1c1)]()){default:case _0x3c270f(0x1c9):_0x3409a2=-_0x47fa85/0x2;break;case _0x3c270f(0x193):_0x3409a2=0x0;break;case _0x3c270f(0x1b2):_0x3409a2=-_0x47fa85;break;}let _0xdfad46;switch((_0x103386=_0x3b2189[_0x3c270f(0x1a2)])===null||_0x103386===void 0x0?void 0x0:_0x103386[_0x3c270f(0x1c1)]()){default:case _0x3c270f(0x1a9):_0xdfad46=-_0x48b025;break;case'CENTER':_0xdfad46=-_0x48b025/0x2;break;case _0x3c270f(0x1c8):_0xdfad46=0x0;break;}_0x4c82f8['drawImage'](_0xb7a029,_0x3409a2,_0xdfad46,_0x47fa85,_0x48b025);}else _0x4c82f8[_0x3c270f(0x1a1)](_0xb7a029,0x0,0x0);_0x4c82f8[_0x3c270f(0x192)]();}catch(_0x27df37){_0x4c82f8['restore'](),console[_0x3c270f(0x1b6)](_0x27df37);}}
@@ -1 +1 @@
1
- (function(_0x4787e3,_0x528e6c){var _0x34e402=a76_0x58d7,_0xe5748e=_0x4787e3();while(!![]){try{var _0x9f4408=parseInt(_0x34e402(0x1da))/0x1*(parseInt(_0x34e402(0x1fb))/0x2)+parseInt(_0x34e402(0x1ca))/0x3+-parseInt(_0x34e402(0x1e1))/0x4*(-parseInt(_0x34e402(0x205))/0x5)+parseInt(_0x34e402(0x1ee))/0x6*(-parseInt(_0x34e402(0x1cb))/0x7)+parseInt(_0x34e402(0x1d5))/0x8+-parseInt(_0x34e402(0x1fe))/0x9*(-parseInt(_0x34e402(0x1ff))/0xa)+parseInt(_0x34e402(0x202))/0xb*(-parseInt(_0x34e402(0x201))/0xc);if(_0x9f4408===_0x528e6c)break;else _0xe5748e['push'](_0xe5748e['shift']());}catch(_0x3dc8c1){_0xe5748e['push'](_0xe5748e['shift']());}}}(a76_0x2cb5,0xeefec));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';function a76_0x58d7(_0x3133a1,_0x376972){var _0x2cb5f0=a76_0x2cb5();return a76_0x58d7=function(_0x58d750,_0x2e86c7){_0x58d750=_0x58d750-0x1c7;var _0x136bb4=_0x2cb5f0[_0x58d750];return _0x136bb4;},a76_0x58d7(_0x3133a1,_0x376972);}import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x37f214,_0x232054,_0x3d8a01,_0x59a13f){var _0x506716=a76_0x58d7,_0x3ee0f7;let _0x1a5de8=(_0x3ee0f7=_0x37f214[_0x506716(0x1e7)])!==null&&_0x3ee0f7!==void 0x0?_0x3ee0f7:0x0,_0x4a4324=new Style();_0x4a4324['setZIndex'](_0x1a5de8),_0x4a4324[_0x506716(0x1d8)](new Fill({'color':_0x506716(0x1e6)}));if(_0x37f214[_0x506716(0x1dc)]!==![]){if(!_0x37f214['fillType']||_0x37f214[_0x506716(0x1ec)]==='color')_0x4a4324[_0x506716(0x1d8)](new Fill({'color':getColor(_0x37f214[_0x506716(0x1f9)],_0x37f214['opacity'])}));else{if(_0x37f214[_0x506716(0x1ec)]===_0x506716(0x1d6))_0x4a4324[_0x506716(0x1eb)]((_0x5b2746,_0x5c710a)=>{preLoadImageRenderFunction(_0x37f214,_0x5b2746,_0x5c710a,_0x59a13f,_rendererFunction);});else _0x37f214[_0x506716(0x1ec)]==='grid'||_0x37f214[_0x506716(0x1ec)]==='stripe'||_0x37f214[_0x506716(0x1ec)]===_0x506716(0x1d0)?_0x4a4324[_0x506716(0x1eb)]((_0x5ac498,_0x55e942)=>{_rendererFunction(_0x37f214,_0x5ac498,_0x55e942,_0x59a13f,null);}):_0x4a4324[_0x506716(0x1d8)](new Fill({'color':getColor(_0x37f214[_0x506716(0x1f9)],_0x37f214[_0x506716(0x1dd)])}));}}_0x37f214['outline']!==![]&&_0x4a4324[_0x506716(0x1c8)](new Stroke({'color':getColor(_0x37f214[_0x506716(0x1d9)],_0x37f214[_0x506716(0x1df)]),'width':_0x37f214[_0x506716(0x1d2)]}));let _0x3797ec=[_0x4a4324];_0x37f214['billboard']&&!_0x37f214['billboard'][_0x506716(0x1e5)]&&(_0x37f214[_0x506716(0x207)][_0x506716(0x1e5)]=_0x506716(0x1de));let _0x38f55c=getImageOlStyle(_0x37f214[_0x506716(0x207)],_0x1a5de8,_0x3d8a01,_0x59a13f);_0x38f55c&&_0x3797ec['push'](_0x38f55c);if(_0x232054){const _0x1e3eff=createTextStyle(_0x37f214,_0x232054,_0x3d8a01,_0x59a13f);_0x1e3eff&&(_0x4a4324[_0x506716(0x1d4)](_0x1e3eff),_0x4a4324[_0x506716(0x1f5)](Number(_0x1a5de8)+0x1));}return _0x3797ec;}function _rendererFunction(_0x1c4618,_0x2e10ab,_0x17cc94,_0x2f02b1,_0x35db9a){var _0x179a20=a76_0x58d7;try{var _0x3d08b1=_0x17cc94[_0x179a20(0x1c9)];for(var _0x523b83=0x0,_0x4c1bdf=_0x2e10ab[_0x179a20(0x1ce)];_0x523b83<_0x4c1bdf;_0x523b83++){_0x3d08b1[_0x179a20(0x1f7)](),_0x3d08b1[_0x179a20(0x1e0)]();var _0x3f01dd=_0x2e10ab[_0x523b83];let _0x323acc=boundingExtent(_0x3f01dd);_0x3d08b1[_0x179a20(0x1d7)](_0x323acc[0x0],_0x323acc[0x1]);let _0x3bb104;switch(_0x1c4618[_0x179a20(0x1ec)]){case'image':_0x3bb104=_getImagePattern(_0x3d08b1,_0x323acc,_0x1c4618,_0x35db9a);break;case _0x179a20(0x1ef):_0x3bb104=_getGridPattern(_0x3d08b1,_0x323acc,_0x1c4618);break;case _0x179a20(0x1f4):_0x3bb104=_getStripePattern(_0x3d08b1,_0x323acc,_0x1c4618);break;case _0x179a20(0x1d0):_0x3bb104=_getCheckerBoardPattern(_0x3d08b1,_0x323acc,_0x1c4618);break;default:_0x3bb104=_0x179a20(0x1fd);break;}for(var _0x4e0cb2=0x0,_0x24d2f1=_0x3f01dd[_0x179a20(0x1ce)];_0x4e0cb2<_0x24d2f1;_0x4e0cb2++){var _0x435703=_0x3f01dd[_0x4e0cb2];_0x4e0cb2===0x0?_0x3d08b1['moveTo'](_0x435703[0x0]-_0x323acc[0x0],_0x435703[0x1]-_0x323acc[0x1]):_0x3d08b1[_0x179a20(0x1e3)](_0x435703[0x0]-_0x323acc[0x0],_0x435703[0x1]-_0x323acc[0x1]);}_0x3d08b1[_0x179a20(0x1f8)](),_0x3d08b1[_0x179a20(0x1c7)]='rgba(0,0,0,0.01)',_0x3d08b1[_0x179a20(0x1dc)](),_0x3d08b1[_0x179a20(0x1c7)]=_0x3bb104,_0x3d08b1[_0x179a20(0x1dc)](),_0x1c4618[_0x179a20(0x1ed)]?(_0x3d08b1[_0x179a20(0x206)]=getColor(_0x1c4618['outlineColor'],_0x1c4618[_0x179a20(0x1df)]),_0x3d08b1[_0x179a20(0x1fa)]=_0x1c4618[_0x179a20(0x1d2)]):_0x3d08b1[_0x179a20(0x206)]='rgba(0,0,0,0.0)',_0x3d08b1[_0x179a20(0x1f3)](),_0x3d08b1[_0x179a20(0x1f1)]();}}catch(_0x11f3ff){_0x3d08b1[_0x179a20(0x1f1)](),console['warn'](_0x11f3ff);}}function _getImagePattern(_0x456c02,_0x5bf2b7,_0x39e284,_0x1b06e5){var _0x44904e=a76_0x58d7;if(!_0x1b06e5||_0x1b06e5['width']===0x0){let _0x14d846=new Image();_0x14d846[_0x44904e(0x1f2)]=_0x39e284[_0x44904e(0x1d6)];}var _0x4f573d=getSize(_0x5bf2b7);const _0x353df1=document['createElement'](_0x44904e(0x1e9)),_0x516525=_0x353df1[_0x44904e(0x1e4)]('2d');return _0x353df1[_0x44904e(0x1cf)]=Math[_0x44904e(0x1cd)](_0x4f573d[0x0]/_0x39e284[_0x44904e(0x1ea)],0x1),_0x353df1[_0x44904e(0x1db)]=Math['max'](_0x4f573d[0x1]/_0x39e284[_0x44904e(0x1f6)],0x1),_0x516525&&(_0x516525[_0x44904e(0x1e2)]=_0x39e284['opacity'],_0x516525[_0x44904e(0x1cc)](_0x1b06e5,0x0,0x0,_0x353df1[_0x44904e(0x1cf)],_0x353df1[_0x44904e(0x1db)])),_0x456c02[_0x44904e(0x1d3)](_0x353df1,_0x44904e(0x200));}function _getGridPattern(_0x252bfb,_0x2df186,_0x54248a){var _0x50d24d=a76_0x58d7,_0x47fbe5=getSize(_0x2df186);const _0x3d372f=document['createElement'](_0x50d24d(0x1e9)),_0x5381c7=_0x3d372f[_0x50d24d(0x1e4)]('2d');return _0x3d372f[_0x50d24d(0x1cf)]=Math['max'](_0x47fbe5[0x0]/_0x54248a[_0x50d24d(0x203)],0x1),_0x3d372f[_0x50d24d(0x1db)]=Math[_0x50d24d(0x1cd)](_0x47fbe5[0x1]/_0x54248a['grid_lineCount'],0x1),_0x5381c7&&(_0x5381c7['strokeStyle']=getColor(_0x54248a['color'],_0x54248a[_0x50d24d(0x1dd)]),_0x5381c7[_0x50d24d(0x1fa)]=_0x54248a['grid_lineThickness']*0x4,_0x5381c7[_0x50d24d(0x1e0)](),_0x5381c7[_0x50d24d(0x1d1)](0x0,_0x3d372f['height']),_0x5381c7[_0x50d24d(0x1e3)](_0x3d372f['width'],_0x3d372f['height']),_0x5381c7[_0x50d24d(0x1d1)](_0x3d372f['width'],0x0),_0x5381c7['lineTo'](_0x3d372f[_0x50d24d(0x1cf)],_0x3d372f[_0x50d24d(0x1db)]),_0x5381c7['stroke']()),_0x252bfb['createPattern'](_0x3d372f,'repeat');}function _getStripePattern(_0x5f39ec,_0x1bdcda,_0x2ea4ee){var _0x2fb80b=a76_0x58d7,_0xd1cfb4=getSize(_0x1bdcda);const _0x2bd15f=document['createElement']('canvas'),_0x3004b0=_0x2bd15f[_0x2fb80b(0x1e4)]('2d');let _0x574d9a=Math[_0x2fb80b(0x1cd)](_0xd1cfb4[0x1]/_0x2ea4ee[_0x2fb80b(0x1f0)],0x1);return _0x2bd15f[_0x2fb80b(0x1cf)]=_0xd1cfb4[0x0],_0x2bd15f[_0x2fb80b(0x1db)]=_0x574d9a*0x2,_0x3004b0&&(_0x3004b0[_0x2fb80b(0x1e0)](),_0x3004b0[_0x2fb80b(0x1d1)](0x0,0x0),_0x3004b0[_0x2fb80b(0x1e3)](_0x2bd15f['width'],0x0),_0x3004b0[_0x2fb80b(0x1e3)](_0x2bd15f[_0x2fb80b(0x1cf)],_0x574d9a),_0x3004b0[_0x2fb80b(0x1e3)](0x0,_0x574d9a),_0x3004b0[_0x2fb80b(0x1f8)](),_0x3004b0['fillStyle']=getColor(_0x2ea4ee['stripe_oddcolor'],_0x2ea4ee[_0x2fb80b(0x1dd)]),_0x3004b0[_0x2fb80b(0x1dc)](),_0x3004b0[_0x2fb80b(0x1e0)](),_0x3004b0[_0x2fb80b(0x1d1)](0x0,_0x574d9a),_0x3004b0['lineTo'](_0x2bd15f[_0x2fb80b(0x1cf)],_0x574d9a),_0x3004b0[_0x2fb80b(0x1e3)](_0x2bd15f['width'],_0x574d9a*0x2),_0x3004b0['lineTo'](0x0,_0x574d9a*0x2),_0x3004b0[_0x2fb80b(0x1f8)](),_0x3004b0[_0x2fb80b(0x1c7)]=getColor(_0x2ea4ee['color'],_0x2ea4ee[_0x2fb80b(0x1dd)]),_0x3004b0[_0x2fb80b(0x1dc)]()),_0x5f39ec['createPattern'](_0x2bd15f,_0x2fb80b(0x200));}function _getCheckerBoardPattern(_0x4108b7,_0x342eca,_0x9339da){var _0x2d8c62=a76_0x58d7,_0x5f26f0=getSize(_0x342eca);const _0x4c8b3e=document[_0x2d8c62(0x204)](_0x2d8c62(0x1e9)),_0x37367a=_0x4c8b3e[_0x2d8c62(0x1e4)]('2d');let _0x6e5c7b=Math[_0x2d8c62(0x1cd)](_0x5f26f0[0x0]/_0x9339da['checkerboard_repeat'],0x1),_0x1522ec=Math[_0x2d8c62(0x1cd)](_0x5f26f0[0x1]/_0x9339da[_0x2d8c62(0x1fc)],0x1);return _0x4c8b3e['width']=_0x6e5c7b*0x2,_0x4c8b3e[_0x2d8c62(0x1db)]=_0x1522ec*0x2,_0x37367a&&(_0x37367a[_0x2d8c62(0x1e0)](),_0x37367a[_0x2d8c62(0x1d1)](0x0,0x0),_0x37367a[_0x2d8c62(0x1e3)](_0x6e5c7b,0x0),_0x37367a[_0x2d8c62(0x1e3)](_0x6e5c7b,_0x1522ec),_0x37367a[_0x2d8c62(0x1e3)](0x0,_0x1522ec),_0x37367a[_0x2d8c62(0x1f8)](),_0x37367a[_0x2d8c62(0x1c7)]=getColor(_0x9339da[_0x2d8c62(0x1e8)],_0x9339da[_0x2d8c62(0x1dd)]),_0x37367a[_0x2d8c62(0x1dc)](),_0x37367a[_0x2d8c62(0x1e0)](),_0x37367a['moveTo'](_0x6e5c7b,0x0),_0x37367a['lineTo'](_0x4c8b3e[_0x2d8c62(0x1cf)],0x0),_0x37367a[_0x2d8c62(0x1e3)](_0x4c8b3e['width'],_0x1522ec),_0x37367a['lineTo'](_0x6e5c7b,_0x1522ec),_0x37367a['closePath'](),_0x37367a[_0x2d8c62(0x1c7)]=getColor(_0x9339da[_0x2d8c62(0x1f9)],_0x9339da[_0x2d8c62(0x1dd)]),_0x37367a[_0x2d8c62(0x1dc)](),_0x37367a[_0x2d8c62(0x1e0)](),_0x37367a['moveTo'](0x0,_0x1522ec),_0x37367a[_0x2d8c62(0x1e3)](_0x6e5c7b,_0x1522ec),_0x37367a[_0x2d8c62(0x1e3)](_0x6e5c7b,_0x4c8b3e[_0x2d8c62(0x1db)]),_0x37367a['lineTo'](0x0,_0x4c8b3e[_0x2d8c62(0x1db)]),_0x37367a[_0x2d8c62(0x1f8)](),_0x37367a[_0x2d8c62(0x1c7)]=getColor(_0x9339da['color'],_0x9339da[_0x2d8c62(0x1dd)]),_0x37367a['fill'](),_0x37367a['beginPath'](),_0x37367a[_0x2d8c62(0x1d1)](_0x6e5c7b,_0x1522ec),_0x37367a[_0x2d8c62(0x1e3)](_0x4c8b3e[_0x2d8c62(0x1cf)],_0x1522ec),_0x37367a[_0x2d8c62(0x1e3)](_0x4c8b3e[_0x2d8c62(0x1cf)],_0x4c8b3e[_0x2d8c62(0x1db)]),_0x37367a[_0x2d8c62(0x1e3)](_0x6e5c7b,_0x4c8b3e[_0x2d8c62(0x1db)]),_0x37367a[_0x2d8c62(0x1f8)](),_0x37367a[_0x2d8c62(0x1c7)]=getColor(_0x9339da[_0x2d8c62(0x1e8)],_0x9339da[_0x2d8c62(0x1dd)]),_0x37367a[_0x2d8c62(0x1dc)]()),_0x4108b7[_0x2d8c62(0x1d3)](_0x4c8b3e,_0x2d8c62(0x200));}function a76_0x2cb5(){var _0x5a677e=['stroke','stripe','setZIndex','repeatY','save','closePath','color','lineWidth','15294ImShAG','checkerboard_repeat','rgba(0,0,0,0.01)','716301lKqDmY','240NXkZTA','repeat','24QMVLCc','26019928UQhAWV','grid_lineCount','createElement','10cnkggQ','strokeStyle','billboard','fillStyle','setStroke','context','594345IVXcJf','589722nnpyGT','drawImage','max','length','width','checkerboard','moveTo','outlineWidth','createPattern','setText','14041152ukQRte','image','translate','setFill','outlineColor','157EfpVYH','height','fill','opacity','CENTER','outlineOpacity','beginPath','2976612HyCdBw','globalAlpha','lineTo','getContext','verticalOrigin','rgba(0,0,0,0)','zIndex','oddColor','canvas','repeatX','setRenderer','fillType','outline','60JTLvcq','grid','stripe_repeat','restore','src'];a76_0x2cb5=function(){return _0x5a677e;};return a76_0x2cb5();}
1
+ function a76_0x39b6(){var _0x2ab04f=['fillType','warn','max','verticalOrigin','opacity','stripe_oddcolor','lineTo','stripe','27wTKGyO','checkerboard','outlineWidth','save','rgba(0,0,0,0.0)','translate','context','setZIndex','21UyhPZB','globalAlpha','length','grid','6565188bPjUOA','fill','restore','zIndex','44188870bfIWDy','height','rgba(0,0,0,0.01)','grid_lineCount','width','outlineColor','beginPath','568432ASuuIZ','setText','canvas','stroke','closePath','setStroke','image','stripe_repeat','src','strokeStyle','getContext','color','grid_lineThickness','drawImage','5208520yWuNJj','fillStyle','532308SWEMjF','repeat','lineWidth','createPattern','createElement','rgba(0,0,0,0)','32462EMlkOo','push','103158UKjSAn','moveTo','69HUpssy','billboard','setRenderer','outline','setFill','oddColor','checkerboard_repeat','295kqcJEP'];a76_0x39b6=function(){return _0x2ab04f;};return a76_0x39b6();}(function(_0x4648f2,_0x22ac30){var _0x163a1e=a76_0x2215,_0x142636=_0x4648f2();while(!![]){try{var _0x589b12=parseInt(_0x163a1e(0x89))/0x1*(-parseInt(_0x163a1e(0x85))/0x2)+parseInt(_0x163a1e(0xa1))/0x3*(-parseInt(_0x163a1e(0x7f))/0x4)+parseInt(_0x163a1e(0x90))/0x5*(-parseInt(_0x163a1e(0x87))/0x6)+-parseInt(_0x163a1e(0xa5))/0x7+-parseInt(_0x163a1e(0xb0))/0x8*(-parseInt(_0x163a1e(0x99))/0x9)+parseInt(_0x163a1e(0x7d))/0xa+parseInt(_0x163a1e(0xa9))/0xb;if(_0x589b12===_0x22ac30)break;else _0x142636['push'](_0x142636['shift']());}catch(_0x43af80){_0x142636['push'](_0x142636['shift']());}}}(a76_0x39b6,0xb67ab));function a76_0x2215(_0x46a9d8,_0x1afbe2){var _0x39b6f6=a76_0x39b6();return a76_0x2215=function(_0x221555,_0x33b748){_0x221555=_0x221555-0x77;var _0x4c429b=_0x39b6f6[_0x221555];return _0x4c429b;},a76_0x2215(_0x46a9d8,_0x1afbe2);}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(_0x132f4c,_0x1f83db,_0x8a2ec0,_0x2bbb8e){var _0x4a72b9=a76_0x2215,_0x1335f3;let _0x532ed7=(_0x1335f3=_0x132f4c[_0x4a72b9(0xa8)])!==null&&_0x1335f3!==void 0x0?_0x1335f3:0x0,_0x1e5818=new Style();_0x1e5818['setZIndex'](_0x532ed7),_0x1e5818['setFill'](new Fill({'color':_0x4a72b9(0x84)}));if(_0x132f4c[_0x4a72b9(0xa6)]!==![]){if(!_0x132f4c['fillType']||_0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0x7a))_0x1e5818['setFill'](new Fill({'color':getColor(_0x132f4c['color'],_0x132f4c[_0x4a72b9(0x95)])}));else{if(_0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0xb6))_0x1e5818[_0x4a72b9(0x8b)]((_0x4903a5,_0x12ac2a)=>{preLoadImageRenderFunction(_0x132f4c,_0x4903a5,_0x12ac2a,_0x2bbb8e,_rendererFunction);});else _0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0xa4)||_0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0x98)||_0x132f4c['fillType']===_0x4a72b9(0x9a)?_0x1e5818[_0x4a72b9(0x8b)]((_0x5ca99b,_0x5eda07)=>{_rendererFunction(_0x132f4c,_0x5ca99b,_0x5eda07,_0x2bbb8e,null);}):_0x1e5818[_0x4a72b9(0x8d)](new Fill({'color':getColor(_0x132f4c[_0x4a72b9(0x7a)],_0x132f4c['opacity'])}));}}_0x132f4c[_0x4a72b9(0x8c)]!==![]&&_0x1e5818[_0x4a72b9(0xb5)](new Stroke({'color':getColor(_0x132f4c[_0x4a72b9(0xae)],_0x132f4c['outlineOpacity']),'width':_0x132f4c[_0x4a72b9(0x9b)]}));let _0x27dcdd=[_0x1e5818];_0x132f4c['billboard']&&!_0x132f4c[_0x4a72b9(0x8a)][_0x4a72b9(0x94)]&&(_0x132f4c['billboard'][_0x4a72b9(0x94)]='CENTER');let _0x217355=getImageOlStyle(_0x132f4c[_0x4a72b9(0x8a)],_0x532ed7,_0x8a2ec0,_0x2bbb8e);_0x217355&&_0x27dcdd[_0x4a72b9(0x86)](_0x217355);if(_0x1f83db){const _0x4411cc=createTextStyle(_0x132f4c,_0x1f83db,_0x8a2ec0,_0x2bbb8e);_0x4411cc&&(_0x1e5818[_0x4a72b9(0xb1)](_0x4411cc),_0x1e5818[_0x4a72b9(0xa0)](Number(_0x532ed7)+0x1));}return _0x27dcdd;}function _rendererFunction(_0x36338c,_0x35b868,_0x5c9bf5,_0x22238f,_0x2eb253){var _0x1acfc7=a76_0x2215;try{var _0x35114d=_0x5c9bf5[_0x1acfc7(0x9f)];for(var _0x182859=0x0,_0x5ec2ab=_0x35b868[_0x1acfc7(0xa3)];_0x182859<_0x5ec2ab;_0x182859++){_0x35114d[_0x1acfc7(0x9c)](),_0x35114d[_0x1acfc7(0xaf)]();var _0x36b69d=_0x35b868[_0x182859];let _0x55a1d8=boundingExtent(_0x36b69d);_0x35114d[_0x1acfc7(0x9e)](_0x55a1d8[0x0],_0x55a1d8[0x1]);let _0x526907;switch(_0x36338c[_0x1acfc7(0x91)]){case _0x1acfc7(0xb6):_0x526907=_getImagePattern(_0x35114d,_0x55a1d8,_0x36338c,_0x2eb253);break;case _0x1acfc7(0xa4):_0x526907=_getGridPattern(_0x35114d,_0x55a1d8,_0x36338c);break;case _0x1acfc7(0x98):_0x526907=_getStripePattern(_0x35114d,_0x55a1d8,_0x36338c);break;case _0x1acfc7(0x9a):_0x526907=_getCheckerBoardPattern(_0x35114d,_0x55a1d8,_0x36338c);break;default:_0x526907=_0x1acfc7(0xab);break;}for(var _0x12bec8=0x0,_0x249d9b=_0x36b69d[_0x1acfc7(0xa3)];_0x12bec8<_0x249d9b;_0x12bec8++){var _0x8fec5b=_0x36b69d[_0x12bec8];_0x12bec8===0x0?_0x35114d[_0x1acfc7(0x88)](_0x8fec5b[0x0]-_0x55a1d8[0x0],_0x8fec5b[0x1]-_0x55a1d8[0x1]):_0x35114d['lineTo'](_0x8fec5b[0x0]-_0x55a1d8[0x0],_0x8fec5b[0x1]-_0x55a1d8[0x1]);}_0x35114d[_0x1acfc7(0xb4)](),_0x35114d['fillStyle']='rgba(0,0,0,0.01)',_0x35114d['fill'](),_0x35114d['fillStyle']=_0x526907,_0x35114d['fill'](),_0x36338c[_0x1acfc7(0x8c)]?(_0x35114d['strokeStyle']=getColor(_0x36338c[_0x1acfc7(0xae)],_0x36338c['outlineOpacity']),_0x35114d[_0x1acfc7(0x81)]=_0x36338c[_0x1acfc7(0x9b)]):_0x35114d[_0x1acfc7(0x78)]=_0x1acfc7(0x9d),_0x35114d['stroke'](),_0x35114d[_0x1acfc7(0xa7)]();}}catch(_0x1cd063){_0x35114d[_0x1acfc7(0xa7)](),console[_0x1acfc7(0x92)](_0x1cd063);}}function _getImagePattern(_0x91942b,_0x7dca5c,_0x160ee8,_0x46a81f){var _0xd1bacf=a76_0x2215;if(!_0x46a81f||_0x46a81f[_0xd1bacf(0xad)]===0x0){let _0x18c345=new Image();_0x18c345[_0xd1bacf(0x77)]=_0x160ee8[_0xd1bacf(0xb6)];}var _0x5617e9=getSize(_0x7dca5c);const _0x469ffd=document[_0xd1bacf(0x83)](_0xd1bacf(0xb2)),_0x4f6bc0=_0x469ffd['getContext']('2d');return _0x469ffd[_0xd1bacf(0xad)]=Math[_0xd1bacf(0x93)](_0x5617e9[0x0]/_0x160ee8['repeatX'],0x1),_0x469ffd[_0xd1bacf(0xaa)]=Math[_0xd1bacf(0x93)](_0x5617e9[0x1]/_0x160ee8['repeatY'],0x1),_0x4f6bc0&&(_0x4f6bc0[_0xd1bacf(0xa2)]=_0x160ee8[_0xd1bacf(0x95)],_0x4f6bc0[_0xd1bacf(0x7c)](_0x46a81f,0x0,0x0,_0x469ffd[_0xd1bacf(0xad)],_0x469ffd[_0xd1bacf(0xaa)])),_0x91942b[_0xd1bacf(0x82)](_0x469ffd,_0xd1bacf(0x80));}function _getGridPattern(_0x4f905a,_0x7494e8,_0x956ff9){var _0x3c28dd=a76_0x2215,_0x21216a=getSize(_0x7494e8);const _0x2a190f=document[_0x3c28dd(0x83)](_0x3c28dd(0xb2)),_0x3653da=_0x2a190f[_0x3c28dd(0x79)]('2d');return _0x2a190f[_0x3c28dd(0xad)]=Math[_0x3c28dd(0x93)](_0x21216a[0x0]/_0x956ff9[_0x3c28dd(0xac)],0x1),_0x2a190f[_0x3c28dd(0xaa)]=Math[_0x3c28dd(0x93)](_0x21216a[0x1]/_0x956ff9['grid_lineCount'],0x1),_0x3653da&&(_0x3653da[_0x3c28dd(0x78)]=getColor(_0x956ff9[_0x3c28dd(0x7a)],_0x956ff9[_0x3c28dd(0x95)]),_0x3653da[_0x3c28dd(0x81)]=_0x956ff9[_0x3c28dd(0x7b)]*0x4,_0x3653da['beginPath'](),_0x3653da[_0x3c28dd(0x88)](0x0,_0x2a190f['height']),_0x3653da['lineTo'](_0x2a190f[_0x3c28dd(0xad)],_0x2a190f['height']),_0x3653da[_0x3c28dd(0x88)](_0x2a190f['width'],0x0),_0x3653da[_0x3c28dd(0x97)](_0x2a190f[_0x3c28dd(0xad)],_0x2a190f[_0x3c28dd(0xaa)]),_0x3653da[_0x3c28dd(0xb3)]()),_0x4f905a[_0x3c28dd(0x82)](_0x2a190f,'repeat');}function _getStripePattern(_0x46884f,_0x561489,_0x57556a){var _0x26a29a=a76_0x2215,_0x5e5a82=getSize(_0x561489);const _0x56bb75=document[_0x26a29a(0x83)]('canvas'),_0x2caf09=_0x56bb75[_0x26a29a(0x79)]('2d');let _0x2a1b43=Math[_0x26a29a(0x93)](_0x5e5a82[0x1]/_0x57556a[_0x26a29a(0xb7)],0x1);return _0x56bb75[_0x26a29a(0xad)]=_0x5e5a82[0x0],_0x56bb75[_0x26a29a(0xaa)]=_0x2a1b43*0x2,_0x2caf09&&(_0x2caf09[_0x26a29a(0xaf)](),_0x2caf09[_0x26a29a(0x88)](0x0,0x0),_0x2caf09[_0x26a29a(0x97)](_0x56bb75[_0x26a29a(0xad)],0x0),_0x2caf09[_0x26a29a(0x97)](_0x56bb75[_0x26a29a(0xad)],_0x2a1b43),_0x2caf09[_0x26a29a(0x97)](0x0,_0x2a1b43),_0x2caf09[_0x26a29a(0xb4)](),_0x2caf09['fillStyle']=getColor(_0x57556a[_0x26a29a(0x96)],_0x57556a[_0x26a29a(0x95)]),_0x2caf09[_0x26a29a(0xa6)](),_0x2caf09[_0x26a29a(0xaf)](),_0x2caf09[_0x26a29a(0x88)](0x0,_0x2a1b43),_0x2caf09['lineTo'](_0x56bb75['width'],_0x2a1b43),_0x2caf09[_0x26a29a(0x97)](_0x56bb75[_0x26a29a(0xad)],_0x2a1b43*0x2),_0x2caf09[_0x26a29a(0x97)](0x0,_0x2a1b43*0x2),_0x2caf09[_0x26a29a(0xb4)](),_0x2caf09[_0x26a29a(0x7e)]=getColor(_0x57556a[_0x26a29a(0x7a)],_0x57556a[_0x26a29a(0x95)]),_0x2caf09['fill']()),_0x46884f[_0x26a29a(0x82)](_0x56bb75,_0x26a29a(0x80));}function _getCheckerBoardPattern(_0x157625,_0x8686ea,_0x46f2ed){var _0x4a1713=a76_0x2215,_0x4ae285=getSize(_0x8686ea);const _0x2c6842=document[_0x4a1713(0x83)]('canvas'),_0x5b650e=_0x2c6842[_0x4a1713(0x79)]('2d');let _0x4405db=Math[_0x4a1713(0x93)](_0x4ae285[0x0]/_0x46f2ed[_0x4a1713(0x8f)],0x1),_0x5cf48d=Math['max'](_0x4ae285[0x1]/_0x46f2ed[_0x4a1713(0x8f)],0x1);return _0x2c6842[_0x4a1713(0xad)]=_0x4405db*0x2,_0x2c6842['height']=_0x5cf48d*0x2,_0x5b650e&&(_0x5b650e[_0x4a1713(0xaf)](),_0x5b650e[_0x4a1713(0x88)](0x0,0x0),_0x5b650e['lineTo'](_0x4405db,0x0),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](0x0,_0x5cf48d),_0x5b650e[_0x4a1713(0xb4)](),_0x5b650e[_0x4a1713(0x7e)]=getColor(_0x46f2ed[_0x4a1713(0x8e)],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e['fill'](),_0x5b650e['beginPath'](),_0x5b650e[_0x4a1713(0x88)](_0x4405db,0x0),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],0x0),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0xb4)](),_0x5b650e[_0x4a1713(0x7e)]=getColor(_0x46f2ed['color'],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e[_0x4a1713(0xa6)](),_0x5b650e[_0x4a1713(0xaf)](),_0x5b650e[_0x4a1713(0x88)](0x0,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x2c6842['height']),_0x5b650e[_0x4a1713(0x97)](0x0,_0x2c6842['height']),_0x5b650e[_0x4a1713(0xb4)](),_0x5b650e[_0x4a1713(0x7e)]=getColor(_0x46f2ed[_0x4a1713(0x7a)],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e[_0x4a1713(0xa6)](),_0x5b650e[_0x4a1713(0xaf)](),_0x5b650e[_0x4a1713(0x88)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],_0x2c6842['height']),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x2c6842[_0x4a1713(0xaa)]),_0x5b650e['closePath'](),_0x5b650e['fillStyle']=getColor(_0x46f2ed[_0x4a1713(0x8e)],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e['fill']()),_0x157625[_0x4a1713(0x82)](_0x2c6842,_0x4a1713(0x80));}
@@ -1 +1 @@
1
- function a77_0x340d(_0xebd343,_0x184267){const _0x244ac9=a77_0x244a();return a77_0x340d=function(_0x340d49,_0x2f4221){_0x340d49=_0x340d49-0x185;let _0x143444=_0x244ac9[_0x340d49];return _0x143444;},a77_0x340d(_0xebd343,_0x184267);}(function(_0x42e7a3,_0x38f142){const _0x2b641c=a77_0x340d,_0x405e72=_0x42e7a3();while(!![]){try{const _0x5e64f8=-parseInt(_0x2b641c(0x188))/0x1*(parseInt(_0x2b641c(0x19f))/0x2)+parseInt(_0x2b641c(0x1af))/0x3+-parseInt(_0x2b641c(0x1a3))/0x4*(-parseInt(_0x2b641c(0x198))/0x5)+parseInt(_0x2b641c(0x1a8))/0x6+parseInt(_0x2b641c(0x197))/0x7+-parseInt(_0x2b641c(0x1a9))/0x8+-parseInt(_0x2b641c(0x18e))/0x9*(parseInt(_0x2b641c(0x1b0))/0xa);if(_0x5e64f8===_0x38f142)break;else _0x405e72['push'](_0x405e72['shift']());}catch(_0x33c68a){_0x405e72['push'](_0x405e72['shift']());}}}(a77_0x244a,0x7a1d0));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';function a77_0x244a(){const _0x2fb76f=['getType','atan2','closed','moveTo','billboard','2846YbuXjI','zIndex','getGeometry','arrow','12360vhGqbg','sqrt','setRenderer','white','concat','4785786CvUxQN','125304KrkSaO','sin','lineTo','LineString','show','getFlatMidpoints','1225770GWENqJ','170ORIjkO','getCoordinates','getFirstCoordinate','stroke','outlineColor','dash','save','lineWidth','glowPower','restore','length','push','label','context','butt','539BaMsKK','cos','lineType','setGeometry','shadowColor','opacity','421758XyeiVM','glow','pow','strokeStyle','lineCap','color','toString','beginPath','width','2435783xxFOos','850QEvXXq','outlineWidth'];a77_0x244a=function(){return _0x2fb76f;};return a77_0x244a();}import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x3ce4a6,_0x465528,_0x352778,_0x451707){const _0x2da89e=a77_0x340d;var _0x19e20e,_0x1697f6,_0x2f9e46;let _0x3d7c65=(_0x19e20e=_0x3ce4a6[_0x2da89e(0x1a0)])!==null&&_0x19e20e!==void 0x0?_0x19e20e:0x0;const _0x27f81d=_0xeeeac9=>{const _0x1f9bff=_0x2da89e;var _0x55c5b3=_0xeeeac9[_0x1f9bff(0x1a1)]();if(_0x55c5b3)return _getRealPolyline(_0x55c5b3,_0x3ce4a6);return _0x55c5b3;},_0x1d13b5=_0x4885af=>{const _0x343823=_0x2da89e;var _0x13606b=_0x4885af[_0x343823(0x1a1)]();let _0x589772=_0x13606b;_0x13606b&&(_0x589772=_getRealPolyline(_0x13606b,_0x3ce4a6));if(_0x589772&&_0x589772[_0x343823(0x19a)]()===_0x343823(0x1ac))return new Point(_0x589772['getFlatMidpoint']());else{let _0x3212ab=_0x589772[_0x343823(0x1ae)](),_0x392953=0x2,_0x27645d=[];for(let _0xaab586=0x0,_0x11f90d=_0x3212ab['length'];_0xaab586<_0x11f90d;_0xaab586+=_0x392953){let _0x18a31b=[_0x3212ab[_0xaab586],_0x3212ab[_0xaab586+0x1]];_0x27645d[_0x343823(0x1bb)](_0x18a31b);}return new MultiPoint(_0x27645d);}};let _0x2f527b=new Style({'geometry':_0x27f81d,'stroke':new Stroke({'color':getColor(_0x3ce4a6[_0x2da89e(0x1b4)],_0x3ce4a6['outlineOpacity']),'width':_0x3ce4a6[_0x2da89e(0x199)]}),'zIndex':_0x3d7c65}),_0x311955=[_0x2f527b];if(_0x3ce4a6[_0x2da89e(0x18a)]===_0x2da89e(0x1b5)){let _0x3ee803=_0x3ce4a6['outlineWidth']/0x2,_0x533a94=new Style({'geometry':_0x27f81d,'zIndex':_0x3d7c65,'stroke':new Stroke({'color':getColor(_0x3ce4a6[_0x2da89e(0x193)],_0x3ce4a6[_0x2da89e(0x18d)]),'width':_0x3ce4a6[_0x2da89e(0x196)],'lineCap':'butt','lineDash':[_0x3ee803,_0x3ee803]})}),_0xee4fff=new Style({'geometry':_0x27f81d,'zIndex':_0x3d7c65+0.5,'stroke':new Stroke({'color':getColor(_0x3ce4a6[_0x2da89e(0x1b4)],Number((_0x2f9e46=(_0x1697f6=_0x3ce4a6['outlineOpacity'])!==null&&_0x1697f6!==void 0x0?_0x1697f6:_0x3ce4a6[_0x2da89e(0x18d)])!==null&&_0x2f9e46!==void 0x0?_0x2f9e46:0x1)),'width':_0x3ce4a6[_0x2da89e(0x196)],'lineCap':'butt','lineDash':[_0x3ee803,_0x3ee803],'lineDashOffset':_0x3ee803})});_0x311955=[_0x533a94,_0xee4fff];}_0x3ce4a6[_0x2da89e(0x18a)]===_0x2da89e(0x1a2)&&_0x2f527b[_0x2da89e(0x1a5)]((_0xf15cff,_0x48a372)=>{const _0x111bc5=_0x2da89e;let _0x8eab6=_0x48a372['context'],_0x364526=parseInt((_0x3ce4a6['width']/0x4)[_0x111bc5(0x194)]()),_0x35c799=0xa,_0x51a85f=Math[_0x111bc5(0x1a4)](Math[_0x111bc5(0x190)](_0x35c799,0x2)+Math[_0x111bc5(0x190)](_0x3ce4a6['width']/0x2,0x2)),_0x17c261=0x2d,_0x5da668=_0xf15cff[_0xf15cff['length']-0x2][0x0],_0x78a17a=_0xf15cff[_0xf15cff[_0x111bc5(0x1ba)]-0x2][0x1],_0x3025c8=_0xf15cff[_0xf15cff[_0x111bc5(0x1ba)]-0x1][0x0],_0x2c1c0b=_0xf15cff[_0xf15cff['length']-0x1][0x1],_0x864e82=Math[_0x111bc5(0x19b)](_0x78a17a-_0x2c1c0b,_0x5da668-_0x3025c8)*0xb4/Math['PI'],_0x2c16c7=(_0x864e82+_0x17c261)*Math['PI']/0xb4,_0x8b842a=(_0x864e82-_0x17c261)*Math['PI']/0xb4,_0x174fc3=_0x51a85f*Math[_0x111bc5(0x189)](_0x2c16c7),_0x1131f5=_0x51a85f*Math[_0x111bc5(0x1aa)](_0x2c16c7),_0x3ce4b4=_0x51a85f*Math[_0x111bc5(0x189)](_0x8b842a),_0x45cdef=_0x51a85f*Math[_0x111bc5(0x1aa)](_0x8b842a);_0x8eab6[_0x111bc5(0x1b6)](),_0x8eab6['beginPath']();let _0x57d0a1,_0xb5c471;for(let _0x1b5ab5=0x0;_0x1b5ab5<_0xf15cff[_0x111bc5(0x1ba)];_0x1b5ab5++){_0x1b5ab5===0x0?_0x8eab6[_0x111bc5(0x19d)](_0xf15cff[_0x1b5ab5][0x0],_0xf15cff[_0x1b5ab5][0x1]):_0x8eab6[_0x111bc5(0x1ab)](_0xf15cff[_0x1b5ab5][0x0],_0xf15cff[_0x1b5ab5][0x1]);}_0x8eab6['strokeStyle']=getColor(_0x3ce4a6[_0x111bc5(0x193)],_0x3ce4a6[_0x111bc5(0x18d)]),_0x8eab6[_0x111bc5(0x1b7)]=_0x364526,_0x8eab6[_0x111bc5(0x192)]=_0x111bc5(0x187),_0x8eab6['stroke'](),_0x57d0a1=_0x3025c8+_0x174fc3,_0xb5c471=_0x2c1c0b+_0x1131f5,_0x8eab6[_0x111bc5(0x19d)](_0x57d0a1,_0xb5c471),_0x8eab6[_0x111bc5(0x1ab)](_0x3025c8,_0x2c1c0b),_0x57d0a1=_0x3025c8+_0x3ce4b4,_0xb5c471=_0x2c1c0b+_0x45cdef,_0x8eab6[_0x111bc5(0x1ab)](_0x57d0a1,_0xb5c471),_0x8eab6[_0x111bc5(0x192)]='butt',_0x8eab6[_0x111bc5(0x1b3)](),_0x8eab6[_0x111bc5(0x1b9)]();});_0x3ce4a6[_0x2da89e(0x18a)]===_0x2da89e(0x18f)&&_0x2f527b['setRenderer']((_0x2cb95f,_0x4799f3)=>{const _0x252219=_0x2da89e;let _0x5910b9=_0x4799f3[_0x252219(0x186)];_0x5910b9[_0x252219(0x1b6)]();for(let _0x5754fa=0x0;_0x5754fa<0x4;_0x5754fa++){let _0x4f4458=_0x3ce4a6[_0x252219(0x196)]/0xa*(_0x3ce4a6[_0x252219(0x1b8)]===0x0?0x1:_0x3ce4a6['glowPower']);_0x5910b9[_0x252219(0x18c)]=getColor(_0x3ce4a6[_0x252219(0x193)],_0x3ce4a6[_0x252219(0x18d)]),_0x5910b9['shadowBlur']=_0x3ce4a6[_0x252219(0x196)]/0x5*0x2,_0x5910b9[_0x252219(0x195)]();for(let _0x5b13cf=0x0;_0x5b13cf<_0x2cb95f[_0x252219(0x1ba)];_0x5b13cf++){_0x5b13cf===0x0?_0x5910b9[_0x252219(0x19d)](_0x2cb95f[_0x5b13cf][0x0],_0x2cb95f[_0x5b13cf][0x1]):_0x5910b9[_0x252219(0x1ab)](_0x2cb95f[_0x5b13cf][0x0],_0x2cb95f[_0x5b13cf][0x1]);}_0x5910b9[_0x252219(0x192)]='butt',_0x5910b9[_0x252219(0x1b7)]=_0x4f4458,_0x5910b9[_0x252219(0x191)]=getColor(_0x252219(0x1a6),_0x3ce4a6[_0x252219(0x18d)]),_0x5910b9[_0x252219(0x1b3)]();}_0x5910b9[_0x252219(0x1b9)]();});_0x3ce4a6[_0x2da89e(0x18a)]==='outline'&&_0x2f527b[_0x2da89e(0x1a5)]((_0x1d4156,_0x3e2a5a)=>{const _0xf49417=_0x2da89e;let _0x4c71a0=_0x3e2a5a[_0xf49417(0x186)];_0x4c71a0['save'](),_0x4c71a0[_0xf49417(0x195)]();for(let _0x9523fb=0x0;_0x9523fb<_0x1d4156[_0xf49417(0x1ba)];_0x9523fb++){_0x9523fb===0x0?_0x4c71a0[_0xf49417(0x19d)](_0x1d4156[_0x9523fb][0x0],_0x1d4156[_0x9523fb][0x1]):_0x4c71a0[_0xf49417(0x1ab)](_0x1d4156[_0x9523fb][0x0],_0x1d4156[_0x9523fb][0x1]);}_0x4c71a0['lineCap']=_0xf49417(0x187),_0x4c71a0[_0xf49417(0x1b7)]=_0x3ce4a6[_0xf49417(0x196)],_0x4c71a0['strokeStyle']=getColor(_0x3ce4a6[_0xf49417(0x1b4)],_0x3ce4a6[_0xf49417(0x18d)]),_0x4c71a0[_0xf49417(0x1b3)](),_0x4c71a0[_0xf49417(0x195)]();for(let _0x75c1bc=0x0;_0x75c1bc<_0x1d4156[_0xf49417(0x1ba)];_0x75c1bc++){_0x75c1bc===0x0?_0x4c71a0[_0xf49417(0x19d)](_0x1d4156[_0x75c1bc][0x0],_0x1d4156[_0x75c1bc][0x1]):_0x4c71a0[_0xf49417(0x1ab)](_0x1d4156[_0x75c1bc][0x0],_0x1d4156[_0x75c1bc][0x1]);}_0x4c71a0[_0xf49417(0x192)]=_0xf49417(0x187),_0x3ce4a6[_0xf49417(0x199)]>=_0x3ce4a6[_0xf49417(0x196)]&&(_0x3ce4a6['outlineWidth']=_0x3ce4a6[_0xf49417(0x196)]-0x1),_0x4c71a0[_0xf49417(0x1b7)]=_0x3ce4a6[_0xf49417(0x196)]-_0x3ce4a6['outlineWidth'],_0x4c71a0['strokeStyle']=getColor(_0x3ce4a6[_0xf49417(0x193)],_0x3ce4a6[_0xf49417(0x18d)]),_0x4c71a0['stroke'](),_0x4c71a0[_0xf49417(0x1b9)]();});let _0x4ce9b1=getImageOlStyle(_0x3ce4a6[_0x2da89e(0x19e)],_0x3d7c65,_0x352778,_0x451707);_0x4ce9b1&&(_0x4ce9b1[_0x2da89e(0x18b)](_0x1d13b5),_0x311955['push'](_0x4ce9b1));if(_0x3ce4a6[_0x2da89e(0x185)]&&_0x3ce4a6['label'][_0x2da89e(0x1ad)]!==![]){let _0x3bab67=new Style({'geometry':_0x1d13b5,'text':createTextStyle(_0x3ce4a6['label'],_0x465528,_0x352778,_0x451707),'zIndex':Number(_0x3d7c65)+0x1});_0x311955[_0x2da89e(0x1bb)](_0x3bab67);}return _0x311955;}function _getRealPolyline(_0x144809,_0x43274e){const _0x269894=a77_0x340d;if(!(_0x43274e===null||_0x43274e===void 0x0?void 0x0:_0x43274e[_0x269894(0x19c)]))return _0x144809;else{if(_0x144809[_0x269894(0x19a)]()==='MultiLineString'){let _0x4210c7=_0x144809[_0x269894(0x1b1)]();for(let _0x28ee73 in _0x4210c7){let _0x4ad695=_0x4210c7[_0x28ee73];_0x4210c7[_0x28ee73]=_0x4ad695[_0x269894(0x1a7)]([_0x4ad695[0x0]]);}return new MultiLineString(_0x4210c7);}else return new LineString(_0x144809[_0x269894(0x1b1)]()[_0x269894(0x1a7)]([_0x144809[_0x269894(0x1b2)]()]));}}
1
+ (function(_0xe4fd08,_0x2c2d89){const _0x4d9ea9=a77_0x4eb1,_0x308941=_0xe4fd08();while(!![]){try{const _0x4536b6=-parseInt(_0x4d9ea9(0x7f))/0x1+-parseInt(_0x4d9ea9(0x89))/0x2*(parseInt(_0x4d9ea9(0x87))/0x3)+parseInt(_0x4d9ea9(0x96))/0x4+parseInt(_0x4d9ea9(0x8e))/0x5+-parseInt(_0x4d9ea9(0x99))/0x6*(parseInt(_0x4d9ea9(0x7b))/0x7)+-parseInt(_0x4d9ea9(0x7c))/0x8+parseInt(_0x4d9ea9(0x8d))/0x9;if(_0x4536b6===_0x2c2d89)break;else _0x308941['push'](_0x308941['shift']());}catch(_0x31aa72){_0x308941['push'](_0x308941['shift']());}}}(a77_0x4db6,0xb2e2b));function a77_0x4db6(){const _0x550506=['billboard','push','save','butt','zIndex','sin','opacity','3908456ZQjXoc','stroke','getFirstCoordinate','90618GqSYZc','getCoordinates','getFlatMidpoint','label','show','outlineWidth','lineCap','glowPower','outlineColor','strokeStyle','cos','concat','outline','restore','width','getType','sqrt','lineWidth','pow','moveTo','length','beginPath','MultiLineString','287yjpxRr','7023464XUTEJg','setRenderer','color','1374249wKSKVi','setGeometry','outlineOpacity','closed','lineTo','lineType','getFlatMidpoints','LineString','1243371fFRGLI','dash','6WekhPE','context','toString','white','33536367EepdXK','720570zkDfZg'];a77_0x4db6=function(){return _0x550506;};return a77_0x4db6();}function a77_0x4eb1(_0x2e1df4,_0x2c516c){const _0x4db67c=a77_0x4db6();return a77_0x4eb1=function(_0x4eb1e2,_0x595999){_0x4eb1e2=_0x4eb1e2-0x73;let _0x46967d=_0x4db67c[_0x4eb1e2];return _0x46967d;},a77_0x4eb1(_0x2e1df4,_0x2c516c);}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(_0x343b5c,_0x53c6b7,_0x108225,_0x13947d){const _0xef1e7d=a77_0x4eb1;var _0xaf8ab,_0x152a4a,_0x4fc29c;let _0x310e63=(_0xaf8ab=_0x343b5c[_0xef1e7d(0x93)])!==null&&_0xaf8ab!==void 0x0?_0xaf8ab:0x0;const _0x25e411=_0x4d4004=>{var _0x4e3455=_0x4d4004['getGeometry']();if(_0x4e3455)return _getRealPolyline(_0x4e3455,_0x343b5c);return _0x4e3455;},_0x2e8d1c=_0x1f8f9f=>{const _0x50a29f=_0xef1e7d;var _0x44e806=_0x1f8f9f['getGeometry']();let _0x53eb47=_0x44e806;_0x44e806&&(_0x53eb47=_getRealPolyline(_0x44e806,_0x343b5c));if(_0x53eb47&&_0x53eb47[_0x50a29f(0x73)]()===_0x50a29f(0x86))return new Point(_0x53eb47[_0x50a29f(0x9b)]());else{let _0x38ace0=_0x53eb47[_0x50a29f(0x85)](),_0x33b671=0x2,_0x43d946=[];for(let _0x2ca4a8=0x0,_0x1345c8=_0x38ace0[_0x50a29f(0x78)];_0x2ca4a8<_0x1345c8;_0x2ca4a8+=_0x33b671){let _0x5b7f92=[_0x38ace0[_0x2ca4a8],_0x38ace0[_0x2ca4a8+0x1]];_0x43d946[_0x50a29f(0x90)](_0x5b7f92);}return new MultiPoint(_0x43d946);}};let _0x11bff8=new Style({'geometry':_0x25e411,'stroke':new Stroke({'color':getColor(_0x343b5c['outlineColor'],_0x343b5c[_0xef1e7d(0x81)]),'width':_0x343b5c['outlineWidth']}),'zIndex':_0x310e63}),_0x4ccbfa=[_0x11bff8];if(_0x343b5c[_0xef1e7d(0x84)]===_0xef1e7d(0x88)){let _0x13df5b=_0x343b5c['outlineWidth']/0x2,_0x41758c=new Style({'geometry':_0x25e411,'zIndex':_0x310e63,'stroke':new Stroke({'color':getColor(_0x343b5c[_0xef1e7d(0x7e)],_0x343b5c['opacity']),'width':_0x343b5c[_0xef1e7d(0xa7)],'lineCap':'butt','lineDash':[_0x13df5b,_0x13df5b]})}),_0x5bb745=new Style({'geometry':_0x25e411,'zIndex':_0x310e63+0.5,'stroke':new Stroke({'color':getColor(_0x343b5c[_0xef1e7d(0xa1)],Number((_0x4fc29c=(_0x152a4a=_0x343b5c[_0xef1e7d(0x81)])!==null&&_0x152a4a!==void 0x0?_0x152a4a:_0x343b5c['opacity'])!==null&&_0x4fc29c!==void 0x0?_0x4fc29c:0x1)),'width':_0x343b5c['width'],'lineCap':_0xef1e7d(0x92),'lineDash':[_0x13df5b,_0x13df5b],'lineDashOffset':_0x13df5b})});_0x4ccbfa=[_0x41758c,_0x5bb745];}_0x343b5c[_0xef1e7d(0x84)]==='arrow'&&_0x11bff8[_0xef1e7d(0x7d)]((_0x212bf9,_0xbfe2c2)=>{const _0xc50882=_0xef1e7d;let _0x407af1=_0xbfe2c2['context'],_0x462b9e=parseInt((_0x343b5c['width']/0x4)[_0xc50882(0x8b)]()),_0x3d8f4e=0xa,_0x2aefe7=Math[_0xc50882(0x74)](Math['pow'](_0x3d8f4e,0x2)+Math[_0xc50882(0x76)](_0x343b5c[_0xc50882(0xa7)]/0x2,0x2)),_0x2c200f=0x2d,_0x5519f1=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x2][0x0],_0x439a8c=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x2][0x1],_0x2fd67f=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x1][0x0],_0x4c4c3c=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x1][0x1],_0x17cc49=Math['atan2'](_0x439a8c-_0x4c4c3c,_0x5519f1-_0x2fd67f)*0xb4/Math['PI'],_0x53aa7b=(_0x17cc49+_0x2c200f)*Math['PI']/0xb4,_0x1964d1=(_0x17cc49-_0x2c200f)*Math['PI']/0xb4,_0x5be4b4=_0x2aefe7*Math['cos'](_0x53aa7b),_0x490f3e=_0x2aefe7*Math[_0xc50882(0x94)](_0x53aa7b),_0xf54240=_0x2aefe7*Math[_0xc50882(0xa3)](_0x1964d1),_0x573452=_0x2aefe7*Math[_0xc50882(0x94)](_0x1964d1);_0x407af1[_0xc50882(0x91)](),_0x407af1[_0xc50882(0x79)]();let _0x4123dc,_0x428304;for(let _0x21736a=0x0;_0x21736a<_0x212bf9[_0xc50882(0x78)];_0x21736a++){_0x21736a===0x0?_0x407af1['moveTo'](_0x212bf9[_0x21736a][0x0],_0x212bf9[_0x21736a][0x1]):_0x407af1['lineTo'](_0x212bf9[_0x21736a][0x0],_0x212bf9[_0x21736a][0x1]);}_0x407af1[_0xc50882(0xa2)]=getColor(_0x343b5c[_0xc50882(0x7e)],_0x343b5c[_0xc50882(0x95)]),_0x407af1['lineWidth']=_0x462b9e,_0x407af1[_0xc50882(0x9f)]=_0xc50882(0x92),_0x407af1[_0xc50882(0x97)](),_0x4123dc=_0x2fd67f+_0x5be4b4,_0x428304=_0x4c4c3c+_0x490f3e,_0x407af1[_0xc50882(0x77)](_0x4123dc,_0x428304),_0x407af1[_0xc50882(0x83)](_0x2fd67f,_0x4c4c3c),_0x4123dc=_0x2fd67f+_0xf54240,_0x428304=_0x4c4c3c+_0x573452,_0x407af1[_0xc50882(0x83)](_0x4123dc,_0x428304),_0x407af1['lineCap']=_0xc50882(0x92),_0x407af1[_0xc50882(0x97)](),_0x407af1[_0xc50882(0xa6)]();});_0x343b5c[_0xef1e7d(0x84)]==='glow'&&_0x11bff8['setRenderer']((_0x2a45b,_0x18118e)=>{const _0x293fd8=_0xef1e7d;let _0x4d8e62=_0x18118e[_0x293fd8(0x8a)];_0x4d8e62[_0x293fd8(0x91)]();for(let _0x39a358=0x0;_0x39a358<0x4;_0x39a358++){let _0x962aad=_0x343b5c['width']/0xa*(_0x343b5c[_0x293fd8(0xa0)]===0x0?0x1:_0x343b5c[_0x293fd8(0xa0)]);_0x4d8e62['shadowColor']=getColor(_0x343b5c[_0x293fd8(0x7e)],_0x343b5c['opacity']),_0x4d8e62['shadowBlur']=_0x343b5c['width']/0x5*0x2,_0x4d8e62['beginPath']();for(let _0x4df23f=0x0;_0x4df23f<_0x2a45b[_0x293fd8(0x78)];_0x4df23f++){_0x4df23f===0x0?_0x4d8e62[_0x293fd8(0x77)](_0x2a45b[_0x4df23f][0x0],_0x2a45b[_0x4df23f][0x1]):_0x4d8e62['lineTo'](_0x2a45b[_0x4df23f][0x0],_0x2a45b[_0x4df23f][0x1]);}_0x4d8e62[_0x293fd8(0x9f)]=_0x293fd8(0x92),_0x4d8e62[_0x293fd8(0x75)]=_0x962aad,_0x4d8e62[_0x293fd8(0xa2)]=getColor(_0x293fd8(0x8c),_0x343b5c[_0x293fd8(0x95)]),_0x4d8e62[_0x293fd8(0x97)]();}_0x4d8e62[_0x293fd8(0xa6)]();});_0x343b5c[_0xef1e7d(0x84)]===_0xef1e7d(0xa5)&&_0x11bff8[_0xef1e7d(0x7d)]((_0x53b727,_0x29800e)=>{const _0x454221=_0xef1e7d;let _0x5adc50=_0x29800e[_0x454221(0x8a)];_0x5adc50[_0x454221(0x91)](),_0x5adc50[_0x454221(0x79)]();for(let _0x3412ba=0x0;_0x3412ba<_0x53b727[_0x454221(0x78)];_0x3412ba++){_0x3412ba===0x0?_0x5adc50[_0x454221(0x77)](_0x53b727[_0x3412ba][0x0],_0x53b727[_0x3412ba][0x1]):_0x5adc50[_0x454221(0x83)](_0x53b727[_0x3412ba][0x0],_0x53b727[_0x3412ba][0x1]);}_0x5adc50[_0x454221(0x9f)]=_0x454221(0x92),_0x5adc50[_0x454221(0x75)]=_0x343b5c['width'],_0x5adc50['strokeStyle']=getColor(_0x343b5c[_0x454221(0xa1)],_0x343b5c[_0x454221(0x95)]),_0x5adc50[_0x454221(0x97)](),_0x5adc50[_0x454221(0x79)]();for(let _0x480b2d=0x0;_0x480b2d<_0x53b727[_0x454221(0x78)];_0x480b2d++){_0x480b2d===0x0?_0x5adc50[_0x454221(0x77)](_0x53b727[_0x480b2d][0x0],_0x53b727[_0x480b2d][0x1]):_0x5adc50['lineTo'](_0x53b727[_0x480b2d][0x0],_0x53b727[_0x480b2d][0x1]);}_0x5adc50[_0x454221(0x9f)]=_0x454221(0x92),_0x343b5c['outlineWidth']>=_0x343b5c[_0x454221(0xa7)]&&(_0x343b5c[_0x454221(0x9e)]=_0x343b5c[_0x454221(0xa7)]-0x1),_0x5adc50['lineWidth']=_0x343b5c[_0x454221(0xa7)]-_0x343b5c[_0x454221(0x9e)],_0x5adc50[_0x454221(0xa2)]=getColor(_0x343b5c[_0x454221(0x7e)],_0x343b5c[_0x454221(0x95)]),_0x5adc50[_0x454221(0x97)](),_0x5adc50['restore']();});let _0x3d1dcd=getImageOlStyle(_0x343b5c[_0xef1e7d(0x8f)],_0x310e63,_0x108225,_0x13947d);_0x3d1dcd&&(_0x3d1dcd[_0xef1e7d(0x80)](_0x2e8d1c),_0x4ccbfa[_0xef1e7d(0x90)](_0x3d1dcd));if(_0x343b5c[_0xef1e7d(0x9c)]&&_0x343b5c[_0xef1e7d(0x9c)][_0xef1e7d(0x9d)]!==![]){let _0x3a5c18=new Style({'geometry':_0x2e8d1c,'text':createTextStyle(_0x343b5c[_0xef1e7d(0x9c)],_0x53c6b7,_0x108225,_0x13947d),'zIndex':Number(_0x310e63)+0x1});_0x4ccbfa[_0xef1e7d(0x90)](_0x3a5c18);}return _0x4ccbfa;}function _getRealPolyline(_0xe9fdad,_0x11eb5e){const _0x5a3a15=a77_0x4eb1;if(!(_0x11eb5e===null||_0x11eb5e===void 0x0?void 0x0:_0x11eb5e[_0x5a3a15(0x82)]))return _0xe9fdad;else{if(_0xe9fdad[_0x5a3a15(0x73)]()===_0x5a3a15(0x7a)){let _0xd0f92=_0xe9fdad[_0x5a3a15(0x9a)]();for(let _0x589649 in _0xd0f92){let _0x1c9063=_0xd0f92[_0x589649];_0xd0f92[_0x589649]=_0x1c9063['concat']([_0x1c9063[0x0]]);}return new MultiLineString(_0xd0f92);}else return new LineString(_0xe9fdad[_0x5a3a15(0x9a)]()[_0x5a3a15(0xa4)]([_0xe9fdad[_0x5a3a15(0x98)]()]));}}
@@ -1 +1 @@
1
- (function(_0x42a74a,_0xfe10bf){const _0x8ebfcd=a78_0x5936,_0x4aa223=_0x42a74a();while(!![]){try{const _0x1cc648=-parseInt(_0x8ebfcd(0x13a))/0x1*(parseInt(_0x8ebfcd(0x156))/0x2)+parseInt(_0x8ebfcd(0x14b))/0x3*(-parseInt(_0x8ebfcd(0x150))/0x4)+parseInt(_0x8ebfcd(0x154))/0x5+parseInt(_0x8ebfcd(0x14f))/0x6+-parseInt(_0x8ebfcd(0x148))/0x7+parseInt(_0x8ebfcd(0x14d))/0x8+parseInt(_0x8ebfcd(0x145))/0x9*(parseInt(_0x8ebfcd(0x14a))/0xa);if(_0x1cc648===_0xfe10bf)break;else _0x4aa223['push'](_0x4aa223['shift']());}catch(_0x257477){_0x4aa223['push'](_0x4aa223['shift']());}}}(a78_0x392c,0x92898));import a78_0x4e43c0 from'ol/style/Circle';import a78_0xa8fe68 from'ol/style/Fill';function a78_0x5936(_0xdafd1a,_0x478cd2){const _0x392c68=a78_0x392c();return a78_0x5936=function(_0x593658,_0x58f468){_0x593658=_0x593658-0x134;let _0x1e5d14=_0x392c68[_0x593658];return _0x1e5d14;},a78_0x5936(_0xdafd1a,_0x478cd2);}import a78_0x284c27 from'ol/style/Stroke';import a78_0x281d41 from'ol/style/Style';import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x6f31b3=a78_0x5936;return new a78_0x281d41({'image':new a78_0x4e43c0({'radius':0x5,'fill':new a78_0xa8fe68({'color':_0x6f31b3(0x137)}),'stroke':new a78_0x284c27({'color':_0x6f31b3(0x137),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x204abb=a78_0x5936;return new a78_0x281d41({'image':new a78_0x4e43c0({'radius':0x5,'fill':new a78_0xa8fe68({'color':_0x204abb(0x153)}),'stroke':new a78_0x284c27({'color':_0x204abb(0x137),'width':0x1})})});}export function getSelectLineStyle(){const _0x33e186=a78_0x5936;return new a78_0x281d41({'stroke':new a78_0x284c27({'color':_0x33e186(0x137),'width':0x2})});}export function getSelectCancelLineStyle(){return new a78_0x281d41({'stroke':new a78_0x284c27({'color':'rgba(0,\x20255,0,\x201)','width':0x2})});}export function getSelectPolygonStyle(){const _0x312825=a78_0x5936;return new a78_0x281d41({'stroke':new a78_0x284c27({'color':_0x312825(0x137),'width':0x2}),'fill':new a78_0xa8fe68({'color':_0x312825(0x136)})});}export function getSelectCancelPolygonStyle(){const _0x245136=a78_0x5936;return new a78_0x281d41({'stroke':new a78_0x284c27({'color':_0x245136(0x151),'width':0x2}),'fill':new a78_0xa8fe68({'color':_0x245136(0x13e)})});}export function getStyle(_0x5cba59){const _0x236ccf=a78_0x5936;if(_0x5cba59){const _0x47feaf=new a78_0x281d41();if(_0x5cba59['text']){const _0x59658c=createTextStyle(_0x5cba59,_0x5cba59['text']);_0x59658c&&_0x47feaf[_0x236ccf(0x139)](_0x59658c),_0x47feaf[_0x236ccf(0x13f)](0x1);}return _0x5cba59[_0x236ccf(0x155)]&&_0x47feaf['setStroke'](new a78_0x284c27({'color':getColor(_0x5cba59[_0x236ccf(0x155)],_0x5cba59[_0x236ccf(0x13b)]),'width':_0x5cba59['outlineWidth']||0x1})),_0x5cba59[_0x236ccf(0x135)]&&_0x47feaf[_0x236ccf(0x13d)](new a78_0xa8fe68({'color':getColor(_0x5cba59[_0x236ccf(0x135)],_0x5cba59[_0x236ccf(0x141)])})),_0x5cba59[_0x236ccf(0x134)]=='circle'&&_0x47feaf[_0x236ccf(0x13c)](new a78_0x4e43c0({'radius':_0x5cba59[_0x236ccf(0x146)]||0x5,'fill':new a78_0xa8fe68({'color':getColor(_0x5cba59['color'],_0x5cba59[_0x236ccf(0x141)])})})),(_0x5cba59[_0x236ccf(0x134)]==_0x236ccf(0x144)||_0x5cba59[_0x236ccf(0x14e)])&&_0x47feaf['setImage'](new Icon({'src':_0x5cba59[_0x236ccf(0x14e)],'anchor':_0x5cba59[_0x236ccf(0x138)]||[0.5,0.5],'scale':_0x5cba59[_0x236ccf(0x140)]||0x1,'rotation':_0x5cba59[_0x236ccf(0x157)]||0x0})),_0x47feaf;}return new a78_0x281d41({'stroke':new a78_0x284c27({'color':_0x236ccf(0x137),'width':0x2}),'fill':new a78_0xa8fe68({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectStyle(_0x301e9b){const _0x74cb6=a78_0x5936;let _0x17038f=getSelectPolygonStyle();switch(_0x301e9b){case _0x74cb6(0x149):case _0x74cb6(0x143):_0x17038f=getSelectPolygonStyle();break;case _0x74cb6(0x14c):case _0x74cb6(0x142):_0x17038f=getSelectLineStyle();break;case _0x74cb6(0x152):case _0x74cb6(0x147):_0x17038f=getSelectPointStyle();break;default:break;}return _0x17038f;}function a78_0x392c(){const _0x22582b=['opacity','LineString','Polygon','icon','2413566AZRDtD','radius','Point','5343121rxHoIk','MultiPolygon','10OrdJkG','612ncPDKJ','MultiLineString','5328616CdCjYi','imgurl','6293538PdSNhM','13156AZJPQK','rgba(0,\x20255,0,\x201)','MultiPoint','rgba(121,\x20243,\x20238,\x200)','761055fsEfAT','outlineColor','201820rJwaXA','rotation','pointType','color','rgba(121,\x20243,\x20238,\x200.3)','rgba(121,\x20243,\x20238,\x201)','anchor','setText','1LhEVTc','outlineOpacity','setImage','setFill','rgba(0,\x20255,0,\x200)','setZIndex','scale'];a78_0x392c=function(){return _0x22582b;};return a78_0x392c();}
1
+ (function(_0x25afce,_0x32c68a){const _0x4cdd7d=a78_0x329c,_0x44143a=_0x25afce();while(!![]){try{const _0x588827=-parseInt(_0x4cdd7d(0x76))/0x1+-parseInt(_0x4cdd7d(0x8f))/0x2*(-parseInt(_0x4cdd7d(0x97))/0x3)+-parseInt(_0x4cdd7d(0x87))/0x4*(parseInt(_0x4cdd7d(0x84))/0x5)+parseInt(_0x4cdd7d(0x94))/0x6*(-parseInt(_0x4cdd7d(0x83))/0x7)+-parseInt(_0x4cdd7d(0x82))/0x8*(-parseInt(_0x4cdd7d(0x96))/0x9)+-parseInt(_0x4cdd7d(0x86))/0xa*(-parseInt(_0x4cdd7d(0x7b))/0xb)+-parseInt(_0x4cdd7d(0x88))/0xc*(-parseInt(_0x4cdd7d(0x91))/0xd);if(_0x588827===_0x32c68a)break;else _0x44143a['push'](_0x44143a['shift']());}catch(_0x5619d1){_0x44143a['push'](_0x44143a['shift']());}}}(a78_0x557a,0xcce92));import a78_0xdd68ce from'ol/style/Circle';function a78_0x557a(){const _0x36c722=['80dbLFnx','224182Stzgxs','7499955DPqvJB','rgba(0,\x20255,0,\x201)','24740faFftw','4LzAgQe','384fNGHdc','color','radius','pointType','Point','circle','imgurl','4Nnzxei','MultiPoint','176488LKgafI','setImage','rgba(0,\x20255,0,\x200)','30IpqlAE','setStroke','1456227shUeUa','1197363nFWmNM','setZIndex','rgba(121,\x20243,\x20238,\x200.3)','1103365cwaJtb','LineString','rotation','text','rgba(121,\x20243,\x20238,\x201)','3344yANnnF','outlineColor','MultiPolygon','MultiLineString','setText','setFill','outlineOpacity'];a78_0x557a=function(){return _0x36c722;};return a78_0x557a();}import a78_0x50b679 from'ol/style/Fill';import a78_0x586de6 from'ol/style/Stroke';import a78_0x192937 from'ol/style/Style';import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x24d6ba=a78_0x329c;return new a78_0x192937({'image':new a78_0xdd68ce({'radius':0x5,'fill':new a78_0x50b679({'color':_0x24d6ba(0x7a)}),'stroke':new a78_0x586de6({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0x2b530c=a78_0x329c;return new a78_0x192937({'image':new a78_0xdd68ce({'radius':0x5,'fill':new a78_0x50b679({'color':'rgba(121,\x20243,\x20238,\x200)'}),'stroke':new a78_0x586de6({'color':_0x2b530c(0x7a),'width':0x1})})});}export function getSelectLineStyle(){return new a78_0x192937({'stroke':new a78_0x586de6({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2})});}function a78_0x329c(_0x47b070,_0x127d4d){const _0x557a0f=a78_0x557a();return a78_0x329c=function(_0x329c20,_0x4ad4b5){_0x329c20=_0x329c20-0x74;let _0x53260d=_0x557a0f[_0x329c20];return _0x53260d;},a78_0x329c(_0x47b070,_0x127d4d);}export function getSelectCancelLineStyle(){const _0x57ffec=a78_0x329c;return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x57ffec(0x85),'width':0x2})});}export function getSelectPolygonStyle(){const _0x33fd32=a78_0x329c;return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x33fd32(0x7a),'width':0x2}),'fill':new a78_0x50b679({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectCancelPolygonStyle(){const _0x1720f7=a78_0x329c;return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x1720f7(0x85),'width':0x2}),'fill':new a78_0x50b679({'color':_0x1720f7(0x93)})});}export function getStyle(_0x1bcdb7){const _0x408220=a78_0x329c;if(_0x1bcdb7){const _0x11266e=new a78_0x192937();if(_0x1bcdb7[_0x408220(0x79)]){const _0x54e025=createTextStyle(_0x1bcdb7,_0x1bcdb7[_0x408220(0x79)]);_0x54e025&&_0x11266e[_0x408220(0x7f)](_0x54e025),_0x11266e[_0x408220(0x74)](0x1);}return _0x1bcdb7['outlineColor']&&_0x11266e[_0x408220(0x95)](new a78_0x586de6({'color':getColor(_0x1bcdb7[_0x408220(0x7c)],_0x1bcdb7[_0x408220(0x81)]),'width':_0x1bcdb7['outlineWidth']||0x1})),_0x1bcdb7[_0x408220(0x89)]&&_0x11266e[_0x408220(0x80)](new a78_0x50b679({'color':getColor(_0x1bcdb7[_0x408220(0x89)],_0x1bcdb7['opacity'])})),_0x1bcdb7[_0x408220(0x8b)]==_0x408220(0x8d)&&_0x11266e[_0x408220(0x92)](new a78_0xdd68ce({'radius':_0x1bcdb7[_0x408220(0x8a)]||0x5,'fill':new a78_0x50b679({'color':getColor(_0x1bcdb7['color'],_0x1bcdb7['opacity'])})})),(_0x1bcdb7[_0x408220(0x8b)]=='icon'||_0x1bcdb7[_0x408220(0x8e)])&&_0x11266e[_0x408220(0x92)](new Icon({'src':_0x1bcdb7[_0x408220(0x8e)],'anchor':_0x1bcdb7['anchor']||[0.5,0.5],'scale':_0x1bcdb7['scale']||0x1,'rotation':_0x1bcdb7[_0x408220(0x78)]||0x0})),_0x11266e;}return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x408220(0x7a),'width':0x2}),'fill':new a78_0x50b679({'color':_0x408220(0x75)})});}export function getSelectStyle(_0x32545b){const _0xa51301=a78_0x329c;let _0x3edec8=getSelectPolygonStyle();switch(_0x32545b){case _0xa51301(0x7d):case'Polygon':_0x3edec8=getSelectPolygonStyle();break;case _0xa51301(0x7e):case _0xa51301(0x77):_0x3edec8=getSelectLineStyle();break;case _0xa51301(0x90):case _0xa51301(0x8c):_0x3edec8=getSelectPointStyle();break;default:break;}return _0x3edec8;}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2f4cde,_0x2d1d99){const _0x3dd11a=a74_0x2386,_0x23892b=_0x2f4cde();while(!![]){try{const _0x56f226=parseInt(_0x3dd11a(0xc6))/0x1*(-parseInt(_0x3dd11a(0xd4))/0x2)+parseInt(_0x3dd11a(0xde))/0x3+parseInt(_0x3dd11a(0xea))/0x4*(-parseInt(_0x3dd11a(0xe5))/0x5)+parseInt(_0x3dd11a(0xd0))/0x6+-parseInt(_0x3dd11a(0xe1))/0x7*(parseInt(_0x3dd11a(0xe3))/0x8)+parseInt(_0x3dd11a(0xc9))/0x9*(-parseInt(_0x3dd11a(0xe8))/0xa)+parseInt(_0x3dd11a(0xd1))/0xb;if(_0x56f226===_0x2d1d99)break;else _0x23892b['push'](_0x23892b['shift']());}catch(_0x18bcbe){_0x23892b['push'](_0x23892b['shift']());}}}(a74_0x426b,0x5c64f));import a74_0x1af25d from'color';import{Fill,Icon,Stroke,Text}from'ol/style';function a74_0x2386(_0x244edf,_0x399500){const _0x426b8a=a74_0x426b();return a74_0x2386=function(_0x2386b5,_0x3f0f43){_0x2386b5=_0x2386b5-0xc6;let _0x5a5ba0=_0x426b8a[_0x2386b5];return _0x5a5ba0;},a74_0x2386(_0x244edf,_0x399500);}function a74_0x426b(){const _0x5a407c=['198RlTjWR','textAlign','borderLineColor','distanceDisplayFar','size','getImageState','pow','2199954WjDyzh','16309546tlTZOM','font','getImage','27992ojKUKZ','image','\x20normal\x20','load','bold','backgroundColor','haloOpacity','getResolutionForZoom','listenImageChange','normal','599289qXUuio','haloWidth','alpha','49763NAuQdX','#2A2A2A','536ooLSIM','backgroundOpacity','10gOUTmT','getView','middle','170330uVJlBy','italic','1219384fjvhMi','hexa','ERROR','color','distanceDisplayNear','IDLE','haloColor','LOADED','offsetX','center','borderLineOpacity','weight','opacity','15tGOIQc','px\x20','family'];a74_0x426b=function(){return _0x5a407c;};return a74_0x426b();}import a74_0x21c333 from'../utils/plug/canvas/PinIcon';import a74_0x106c34 from'ol/ImageState';export function isShowStyle(_0x28e8c3,_0x8ac297,_0x5e0c35){const _0x3e7375=a74_0x2386;let _0x13326b=!![];if(_0x8ac297==undefined||_0x5e0c35==undefined)return _0x13326b;if(_0x28e8c3&&typeof _0x28e8c3[_0x3e7375(0xcc)]!=undefined&&typeof _0x28e8c3[_0x3e7375(0xee)]!=undefined){if(_0x28e8c3[_0x3e7375(0xcc)]&&_0x5e0c35){_0x13326b=![];let _0x29440=getLevel(_0x28e8c3[_0x3e7375(0xcc)]),_0x5e73f2=_0x5e0c35[_0x3e7375(0xe6)]()[_0x3e7375(0xdb)](_0x29440);_0x8ac297<_0x5e73f2&&(_0x13326b=!![]);}if(_0x13326b&&_0x28e8c3[_0x3e7375(0xee)]&&_0x5e0c35){_0x13326b=![];let _0x5f598b=getLevel(_0x28e8c3[_0x3e7375(0xee)]),_0x5c4fea=_0x5e0c35['getView']()['getResolutionForZoom'](_0x5f598b);_0x8ac297>_0x5c4fea&&(_0x13326b=!![]);}}return _0x13326b;}export function getLevel(_0x57f963){const _0x5f4513=a74_0x2386,_0x50c975=3252.745,_0x4f54c0=0.0009198301,_0xa72d37=52977.61,_0x27824b=-3228.107;return _0x27824b+(_0x50c975-_0x27824b)/(0x1+Math[_0x5f4513(0xcf)](_0x57f963/_0xa72d37,_0x4f54c0));}export function toRadians(_0x574cb4){if(_0x574cb4)return-(_0x574cb4*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x3351b0,_0x4df68f,_0x3ecb10,_0x9d9b4d){const _0x5a5519=a74_0x2386;var _0x2941f2,_0x4c03d5,_0x18191e,_0x268435,_0x391cf6,_0x55a64d,_0x195f1d,_0x59bcb7;if(_0x3351b0){let _0x74ce2b=isShowStyle(_0x3351b0,_0x3ecb10,_0x9d9b4d);if(_0x74ce2b===![])return undefined;else{const _0x173e08=_0x3351b0[_0x5a5519(0xd2)],_0x11e4f4=(_0x173e08===null||_0x173e08===void 0x0?void 0x0:_0x173e08[_0x5a5519(0xe9)])?'italic':_0x5a5519(0xdd),_0x199841=(_0x173e08===null||_0x173e08===void 0x0?void 0x0:_0x173e08[_0x5a5519(0xf5)])?_0x5a5519(0xd8):_0x5a5519(0xdd),_0x2801b7=(_0x173e08===null||_0x173e08===void 0x0?void 0x0:_0x173e08[_0x5a5519(0xcd)])||'25',_0x30b30c=(_0x173e08===null||_0x173e08===void 0x0?void 0x0:_0x173e08[_0x5a5519(0xc8)])||'楷体';let _0x57327e=_0x11e4f4+_0x5a5519(0xd6)+_0x199841+'\x20'+_0x2801b7+_0x5a5519(0xc7)+_0x30b30c,_0x531f7c=(_0x173e08===null||_0x173e08===void 0x0?void 0x0:_0x173e08[_0x5a5519(0xf2)])||0x0,_0x315463=(_0x173e08===null||_0x173e08===void 0x0?void 0x0:_0x173e08['offsetY'])||0x0,_0x2b2b1a=(_0x173e08===null||_0x173e08===void 0x0?void 0x0:_0x173e08['textBaseline'])||_0x5a5519(0xe7),_0x3fecb8=(_0x173e08===null||_0x173e08===void 0x0?void 0x0:_0x173e08[_0x5a5519(0xca)])||_0x5a5519(0xf3);const _0x3b98a=_0x3351b0[_0x5a5519(0xf6)]||0x1;let _0xdc1654=undefined;return(_0x173e08===null||_0x173e08===void 0x0?void 0x0:_0x173e08[_0x5a5519(0xf0)])&&(_0xdc1654=_getStroke(_0x173e08[_0x5a5519(0xf0)],_0x173e08[_0x5a5519(0xda)],_0x173e08[_0x5a5519(0xdf)])),new Text({'overflow':!![],'text':_0x4df68f,'font':_0x57327e,'offsetX':_0x531f7c,'offsetY':_0x315463,'textAlign':_0x3fecb8,'textBaseline':_0x2b2b1a,'fill':new Fill({'color':getColor(((_0x2941f2=_0x3351b0[_0x5a5519(0xd2)])===null||_0x2941f2===void 0x0?void 0x0:_0x2941f2[_0x5a5519(0xed)])||'#000000',_0x3b98a)}),'stroke':_0xdc1654,'backgroundFill':((_0x4c03d5=_0x3351b0[_0x5a5519(0xd2)])===null||_0x4c03d5===void 0x0?void 0x0:_0x4c03d5[_0x5a5519(0xd9)])?new Fill({'color':getColor(((_0x18191e=_0x3351b0[_0x5a5519(0xd2)])===null||_0x18191e===void 0x0?void 0x0:_0x18191e[_0x5a5519(0xd9)])||_0x5a5519(0xe2),((_0x268435=_0x3351b0[_0x5a5519(0xd2)])===null||_0x268435===void 0x0?void 0x0:_0x268435[_0x5a5519(0xe4)])||0x1)}):undefined,'backgroundStroke':((_0x391cf6=_0x3351b0[_0x5a5519(0xd2)])===null||_0x391cf6===void 0x0?void 0x0:_0x391cf6[_0x5a5519(0xcb)])?_getStroke((_0x55a64d=_0x3351b0[_0x5a5519(0xd2)])===null||_0x55a64d===void 0x0?void 0x0:_0x55a64d['borderLineColor'],((_0x195f1d=_0x3351b0[_0x5a5519(0xd2)])===null||_0x195f1d===void 0x0?void 0x0:_0x195f1d[_0x5a5519(0xf4)])||0x1,((_0x59bcb7=_0x3351b0[_0x5a5519(0xd2)])===null||_0x59bcb7===void 0x0?void 0x0:_0x59bcb7['borderLineWidth'])||0x1):undefined});}}else return undefined;}export function getColor(_0x10110e,_0x2f6898){const _0x4abad7=a74_0x2386;return a74_0x1af25d(_0x10110e)[_0x4abad7(0xe0)](_0x2f6898!=undefined?_0x2f6898:0x1)[_0x4abad7(0xeb)]();}function _getStroke(_0x89b60e,_0x3a5f0b,_0x21564a){return new Stroke({'color':getColor(_0x89b60e,_0x3a5f0b),'width':_0x21564a==undefined?0x1:_0x21564a});}export function preLoadImageRenderFunction(_0x31303d,_0x56e24f,_0x5ae49c,_0x154bb9,_0x20ee29){const _0x2261de=a74_0x2386;let _0x56ffa9;_0x31303d['markerColor']?_0x56ffa9=new a74_0x21c333(_0x31303d):_0x56ffa9=new Icon({'src':_0x31303d[_0x2261de(0xd5)]});let _0x5372b7=_0x56ffa9[_0x2261de(0xce)]();_0x5372b7===a74_0x106c34[_0x2261de(0xf1)]||_0x5372b7===a74_0x106c34[_0x2261de(0xec)]?_0x20ee29(_0x31303d,_0x56e24f,_0x5ae49c,_0x154bb9,_0x56ffa9[_0x2261de(0xd3)](0x60)):(_0x5372b7===a74_0x106c34[_0x2261de(0xef)]&&_0x56ffa9[_0x2261de(0xd7)](),_0x56ffa9[_0x2261de(0xdc)](_0x38a2c4=>{const _0x325f42=_0x2261de;_0x5372b7=_0x38a2c4['target'][_0x325f42(0xce)](),(_0x5372b7===a74_0x106c34[_0x325f42(0xf1)]||_0x5372b7===a74_0x106c34[_0x325f42(0xec)])&&_0x20ee29(_0x31303d,_0x56e24f,_0x5ae49c,_0x154bb9,_0x56ffa9['getImage'](0x60));}));}
1
+ (function(_0x48c3ff,_0x25792c){const _0x251616=a74_0x4f72,_0x14dd64=_0x48c3ff();while(!![]){try{const _0x4a3d4f=parseInt(_0x251616(0x143))/0x1*(parseInt(_0x251616(0x144))/0x2)+-parseInt(_0x251616(0x141))/0x3*(parseInt(_0x251616(0x12f))/0x4)+parseInt(_0x251616(0x117))/0x5+-parseInt(_0x251616(0x120))/0x6*(-parseInt(_0x251616(0x138))/0x7)+-parseInt(_0x251616(0x11b))/0x8+-parseInt(_0x251616(0x133))/0x9*(parseInt(_0x251616(0x128))/0xa)+parseInt(_0x251616(0x121))/0xb*(parseInt(_0x251616(0x126))/0xc);if(_0x4a3d4f===_0x25792c)break;else _0x14dd64['push'](_0x14dd64['shift']());}catch(_0x1f5cb1){_0x14dd64['push'](_0x14dd64['shift']());}}}(a74_0x16a6,0xddb4d));import a74_0x2016c3 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a74_0x5a168f from'../utils/plug/canvas/PinIcon';import a74_0x173137 from'ol/ImageState';export function isShowStyle(_0x24e70f,_0x2f5fde,_0x27e567){const _0x355eeb=a74_0x4f72;let _0x15280f=!![];if(_0x2f5fde==undefined||_0x27e567==undefined)return _0x15280f;if(_0x24e70f&&typeof _0x24e70f[_0x355eeb(0x12c)]!=undefined&&typeof _0x24e70f['distanceDisplayNear']!=undefined){if(_0x24e70f[_0x355eeb(0x12c)]&&_0x27e567){_0x15280f=![];let _0x23daaf=getLevel(_0x24e70f[_0x355eeb(0x12c)]),_0x144dbb=_0x27e567['getView']()[_0x355eeb(0x123)](_0x23daaf);_0x2f5fde<_0x144dbb&&(_0x15280f=!![]);}if(_0x15280f&&_0x24e70f['distanceDisplayNear']&&_0x27e567){_0x15280f=![];let _0x3c1338=getLevel(_0x24e70f['distanceDisplayNear']),_0x11aed6=_0x27e567['getView']()[_0x355eeb(0x123)](_0x3c1338);_0x2f5fde>_0x11aed6&&(_0x15280f=!![]);}}return _0x15280f;}export function getLevel(_0x188e56){const _0x424cf9=a74_0x4f72,_0x4a6d50=3252.745,_0x18cc4b=0.0009198301,_0x15379a=52977.61,_0x474ade=-3228.107;return _0x474ade+(_0x4a6d50-_0x474ade)/(0x1+Math[_0x424cf9(0x147)](_0x188e56/_0x15379a,_0x18cc4b));}function a74_0x16a6(){const _0x1b3e3b=['offsetX','getImage','6sTGqeh','textBaseline','12quQWYu','213842MgEZkl','bold','listenImageChange','pow','LOADED','alpha','6446880hIrsqF','borderLineWidth','borderLineOpacity','load','12833048ErJpIy','center','getImageState','color','#000000','12YByTtu','12152041HTlzty','haloColor','getResolutionForZoom','normal','haloOpacity','12wYVOEl','italic','11860450RIOfvF','textAlign','weight','ERROR','distanceDisplayFar','borderLineColor','family','1198660QQsGyn','haloWidth','backgroundColor','middle','9aCrxRf','size','backgroundOpacity','#2A2A2A','\x20normal\x20','2171596djUmle','markerColor','font','opacity','offsetY','image','target'];a74_0x16a6=function(){return _0x1b3e3b;};return a74_0x16a6();}function a74_0x4f72(_0x41e000,_0x4d19e1){const _0x16a6f0=a74_0x16a6();return a74_0x4f72=function(_0x4f72d4,_0x59d88f){_0x4f72d4=_0x4f72d4-0x116;let _0x524a1a=_0x16a6f0[_0x4f72d4];return _0x524a1a;},a74_0x4f72(_0x41e000,_0x4d19e1);}export function toRadians(_0x6d0cf0){if(_0x6d0cf0)return-(_0x6d0cf0*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x2fa378,_0x2b42c1,_0x1142d8,_0x40e126){const _0x18a3e3=a74_0x4f72;var _0x1c42fe,_0x210c16,_0x3aac22,_0x3c305c,_0x7661b1,_0x5bb097,_0xdd22da,_0xe28878;if(_0x2fa378){let _0x472e4b=isShowStyle(_0x2fa378,_0x1142d8,_0x40e126);if(_0x472e4b===![])return undefined;else{const _0x422dc9=_0x2fa378[_0x18a3e3(0x13a)],_0xef3e2a=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x127)])?'italic':'normal',_0x1b4d71=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x12a)])?_0x18a3e3(0x145):_0x18a3e3(0x124),_0x478c89=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x134)])||'25',_0x5396a5=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x12e)])||'楷体';let _0x3676da=_0xef3e2a+_0x18a3e3(0x137)+_0x1b4d71+'\x20'+_0x478c89+'px\x20'+_0x5396a5,_0x439cfb=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x13f)])||0x0,_0x81a323=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x13c)])||0x0,_0x2469c7=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x142)])||_0x18a3e3(0x132),_0x45d3a1=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x129)])||_0x18a3e3(0x11c);const _0x4a2804=_0x2fa378[_0x18a3e3(0x13b)]||0x1;let _0x21f2ce=undefined;return(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x122)])&&(_0x21f2ce=_getStroke(_0x422dc9[_0x18a3e3(0x122)],_0x422dc9[_0x18a3e3(0x125)],_0x422dc9[_0x18a3e3(0x130)])),new Text({'overflow':!![],'text':_0x2b42c1,'font':_0x3676da,'offsetX':_0x439cfb,'offsetY':_0x81a323,'textAlign':_0x45d3a1,'textBaseline':_0x2469c7,'fill':new Fill({'color':getColor(((_0x1c42fe=_0x2fa378[_0x18a3e3(0x13a)])===null||_0x1c42fe===void 0x0?void 0x0:_0x1c42fe[_0x18a3e3(0x11e)])||_0x18a3e3(0x11f),_0x4a2804)}),'stroke':_0x21f2ce,'backgroundFill':((_0x210c16=_0x2fa378['font'])===null||_0x210c16===void 0x0?void 0x0:_0x210c16[_0x18a3e3(0x131)])?new Fill({'color':getColor(((_0x3aac22=_0x2fa378[_0x18a3e3(0x13a)])===null||_0x3aac22===void 0x0?void 0x0:_0x3aac22[_0x18a3e3(0x131)])||_0x18a3e3(0x136),((_0x3c305c=_0x2fa378[_0x18a3e3(0x13a)])===null||_0x3c305c===void 0x0?void 0x0:_0x3c305c[_0x18a3e3(0x135)])||0x1)}):undefined,'backgroundStroke':((_0x7661b1=_0x2fa378['font'])===null||_0x7661b1===void 0x0?void 0x0:_0x7661b1[_0x18a3e3(0x12d)])?_getStroke((_0x5bb097=_0x2fa378['font'])===null||_0x5bb097===void 0x0?void 0x0:_0x5bb097[_0x18a3e3(0x12d)],((_0xdd22da=_0x2fa378[_0x18a3e3(0x13a)])===null||_0xdd22da===void 0x0?void 0x0:_0xdd22da[_0x18a3e3(0x119)])||0x1,((_0xe28878=_0x2fa378[_0x18a3e3(0x13a)])===null||_0xe28878===void 0x0?void 0x0:_0xe28878[_0x18a3e3(0x118)])||0x1):undefined});}}else return undefined;}export function getColor(_0x4064c3,_0x4ee0fd){const _0x4d0b6d=a74_0x4f72;return a74_0x2016c3(_0x4064c3)[_0x4d0b6d(0x116)](_0x4ee0fd!=undefined?_0x4ee0fd:0x1)['hexa']();}function _getStroke(_0x52234d,_0x24adb7,_0xd7435c){return new Stroke({'color':getColor(_0x52234d,_0x24adb7),'width':_0xd7435c==undefined?0x1:_0xd7435c});}export function preLoadImageRenderFunction(_0x2231fa,_0x3f8309,_0xca81b0,_0x1f2a66,_0x162b3e){const _0x5c672f=a74_0x4f72;let _0x403ae0;_0x2231fa[_0x5c672f(0x139)]?_0x403ae0=new a74_0x5a168f(_0x2231fa):_0x403ae0=new Icon({'src':_0x2231fa[_0x5c672f(0x13d)]});let _0x2ee24f=_0x403ae0[_0x5c672f(0x11d)]();_0x2ee24f===a74_0x173137[_0x5c672f(0x148)]||_0x2ee24f===a74_0x173137[_0x5c672f(0x12b)]?_0x162b3e(_0x2231fa,_0x3f8309,_0xca81b0,_0x1f2a66,_0x403ae0[_0x5c672f(0x140)](0x60)):(_0x2ee24f===a74_0x173137['IDLE']&&_0x403ae0[_0x5c672f(0x11a)](),_0x403ae0[_0x5c672f(0x146)](_0x1719c8=>{const _0x296af6=_0x5c672f;_0x2ee24f=_0x1719c8[_0x296af6(0x13e)][_0x296af6(0x11d)](),(_0x2ee24f===a74_0x173137[_0x296af6(0x148)]||_0x2ee24f===a74_0x173137[_0x296af6(0x12b)])&&_0x162b3e(_0x2231fa,_0x3f8309,_0xca81b0,_0x1f2a66,_0x403ae0[_0x296af6(0x140)](0x60));}));}
@@ -1 +1 @@
1
- function a79_0x3184(){const _0x3621a7=['2765608UKEFRX','144619auIpAl','4014692xiuDVo','keys','every','656104QeahYI','3ydAbQa','reduce','isArray','4118628nlcDOG','54nuWoJZ','4607379vBsrrW','3145065yMciJH','object','length'];a79_0x3184=function(){return _0x3621a7;};return a79_0x3184();}(function(_0x652465,_0x231c4f){const _0x3e9540=a79_0x2356,_0x4e0a6a=_0x652465();while(!![]){try{const _0x562107=-parseInt(_0x3e9540(0x148))/0x1+parseInt(_0x3e9540(0x14c))/0x2*(parseInt(_0x3e9540(0x14d))/0x3)+-parseInt(_0x3e9540(0x149))/0x4+-parseInt(_0x3e9540(0x153))/0x5+parseInt(_0x3e9540(0x150))/0x6+-parseInt(_0x3e9540(0x152))/0x7+-parseInt(_0x3e9540(0x147))/0x8*(-parseInt(_0x3e9540(0x151))/0x9);if(_0x562107===_0x231c4f)break;else _0x4e0a6a['push'](_0x4e0a6a['shift']());}catch(_0x224979){_0x4e0a6a['push'](_0x4e0a6a['shift']());}}}(a79_0x3184,0x9f78a));function a79_0x2356(_0xf86181,_0x53153e){const _0x318490=a79_0x3184();return a79_0x2356=function(_0x2356ba,_0x3647dd){_0x2356ba=_0x2356ba-0x147;let _0x553be8=_0x318490[_0x2356ba];return _0x553be8;},a79_0x2356(_0xf86181,_0x53153e);}export function getDeepth(_0x2f7950){function _0x2614da(_0x34d5c0,_0x5bd0c0){const _0x29d00f=a79_0x2356;return _0x34d5c0[_0x29d00f(0x14e)](function(_0x24928a,_0x152f1){const _0x24c2a1=_0x29d00f;var _0xfd7891;return Array[_0x24c2a1(0x14f)](_0x152f1)&&(_0xfd7891=_0x2614da(_0x152f1,_0x5bd0c0+0x1)),_0xfd7891>_0x24928a?_0xfd7891:_0x24928a;},_0x5bd0c0);}return _0x2614da(_0x2f7950,0x1);}export function compareArray(_0x60fc48,_0x5ba033){const _0x3489e1=a79_0x2356;if(_0x60fc48[_0x3489e1(0x155)]!==_0x5ba033['length'])return![];const _0x19b741=_0x60fc48[_0x3489e1(0x155)];for(let _0x4322a7=0x0;_0x4322a7<_0x19b741;_0x4322a7++){if(!compare(_0x60fc48[_0x4322a7],_0x5ba033[_0x4322a7]))return![];}return!![];}export function compare(_0x5dce7e,_0x2951cb){const _0x4d1f05=a79_0x2356;if(_0x5dce7e===_0x2951cb)return!![];if(typeof _0x5dce7e!==typeof _0x2951cb||_0x5dce7e===null||_0x2951cb===null)return![];if(Array['isArray'](_0x5dce7e)){if(!Array[_0x4d1f05(0x14f)](_0x2951cb))return![];return compareArray(_0x5dce7e,_0x2951cb);}if(typeof _0x5dce7e===_0x4d1f05(0x154))return compareObject(_0x5dce7e,_0x2951cb);return![];}export function compareObject(_0x432329,_0x485829){const _0x49562d=a79_0x2356,_0x5731e2=Object[_0x49562d(0x14a)](_0x432329),_0xd2bee7=Object[_0x49562d(0x14a)](_0x485829);if(_0x5731e2[_0x49562d(0x155)]!==_0xd2bee7[_0x49562d(0x155)])return![];return _0x5731e2[_0x49562d(0x14b)](_0xda10ff=>{if(!compare(_0x432329[_0xda10ff],_0x485829[_0xda10ff]))return![];return!![];});}
1
+ (function(_0x2b00ee,_0x1f51ec){const _0x41e304=a79_0x520e,_0x19ea5b=_0x2b00ee();while(!![]){try{const _0x398841=-parseInt(_0x41e304(0x16a))/0x1*(-parseInt(_0x41e304(0x170))/0x2)+parseInt(_0x41e304(0x16d))/0x3+parseInt(_0x41e304(0x167))/0x4+parseInt(_0x41e304(0x16b))/0x5*(parseInt(_0x41e304(0x165))/0x6)+parseInt(_0x41e304(0x16c))/0x7*(parseInt(_0x41e304(0x169))/0x8)+-parseInt(_0x41e304(0x168))/0x9+-parseInt(_0x41e304(0x171))/0xa;if(_0x398841===_0x1f51ec)break;else _0x19ea5b['push'](_0x19ea5b['shift']());}catch(_0x469118){_0x19ea5b['push'](_0x19ea5b['shift']());}}}(a79_0x536d,0xc1b9b));function a79_0x520e(_0x21c3b8,_0xd56e9b){const _0x536de9=a79_0x536d();return a79_0x520e=function(_0x520e5c,_0x99e302){_0x520e5c=_0x520e5c-0x164;let _0x3005ec=_0x536de9[_0x520e5c];return _0x3005ec;},a79_0x520e(_0x21c3b8,_0xd56e9b);}export function getDeepth(_0x150c44){function _0x111ea0(_0x56a174,_0x130909){return _0x56a174['reduce'](function(_0x28f7be,_0xe016e2){var _0x129b53;return Array['isArray'](_0xe016e2)&&(_0x129b53=_0x111ea0(_0xe016e2,_0x130909+0x1)),_0x129b53>_0x28f7be?_0x129b53:_0x28f7be;},_0x130909);}return _0x111ea0(_0x150c44,0x1);}export function compareArray(_0x5e42f8,_0x1db987){const _0x159a10=a79_0x520e;if(_0x5e42f8[_0x159a10(0x164)]!==_0x1db987[_0x159a10(0x164)])return![];const _0x39a3ff=_0x5e42f8['length'];for(let _0x48b5b9=0x0;_0x48b5b9<_0x39a3ff;_0x48b5b9++){if(!compare(_0x5e42f8[_0x48b5b9],_0x1db987[_0x48b5b9]))return![];}return!![];}function a79_0x536d(){const _0x2cd6ca=['keys','69686FBDtdL','16365760AkYtwo','length','55038KIrLAP','every','3967576GEYloE','9868815IAcSep','3093432CTaThT','17wYWUEx','535UGeUkd','7GWbQqQ','1722585vHZmNy','isArray'];a79_0x536d=function(){return _0x2cd6ca;};return a79_0x536d();}export function compare(_0x2818ee,_0x54589b){const _0x21d4b6=a79_0x520e;if(_0x2818ee===_0x54589b)return!![];if(typeof _0x2818ee!==typeof _0x54589b||_0x2818ee===null||_0x54589b===null)return![];if(Array[_0x21d4b6(0x16e)](_0x2818ee)){if(!Array['isArray'](_0x54589b))return![];return compareArray(_0x2818ee,_0x54589b);}if(typeof _0x2818ee==='object')return compareObject(_0x2818ee,_0x54589b);return![];}export function compareObject(_0x168865,_0x1c82d4){const _0x224c02=a79_0x520e,_0x409a96=Object[_0x224c02(0x16f)](_0x168865),_0x121420=Object['keys'](_0x1c82d4);if(_0x409a96[_0x224c02(0x164)]!==_0x121420['length'])return![];return _0x409a96[_0x224c02(0x166)](_0x24a15d=>{if(!compare(_0x168865[_0x24a15d],_0x1c82d4[_0x24a15d]))return![];return!![];});}
@@ -1 +1 @@
1
- const a80_0x41e75d=a80_0x35f5;(function(_0x169bfd,_0x203e33){const _0x4cb2f3=a80_0x35f5,_0x172d1d=_0x169bfd();while(!![]){try{const _0x1f043c=parseInt(_0x4cb2f3(0x135))/0x1+parseInt(_0x4cb2f3(0x13b))/0x2*(-parseInt(_0x4cb2f3(0x145))/0x3)+-parseInt(_0x4cb2f3(0x136))/0x4*(parseInt(_0x4cb2f3(0x134))/0x5)+-parseInt(_0x4cb2f3(0x138))/0x6+-parseInt(_0x4cb2f3(0x141))/0x7*(-parseInt(_0x4cb2f3(0x13f))/0x8)+-parseInt(_0x4cb2f3(0x139))/0x9*(parseInt(_0x4cb2f3(0x143))/0xa)+parseInt(_0x4cb2f3(0x13c))/0xb;if(_0x1f043c===_0x203e33)break;else _0x172d1d['push'](_0x172d1d['shift']());}catch(_0x6a1ba2){_0x172d1d['push'](_0x172d1d['shift']());}}}(a80_0x1a04,0xdd9fc));import a80_0x4233d6 from'axios';import a80_0x881981 from'jquery';const request=a80_0x4233d6[a80_0x41e75d(0x13a)]({'timeout':0xb4*0x3e8});function a80_0x1a04(){const _0x4a12e9=['ajax','append','1692655nbYTKG','250430FxHyVT','16aXdarE','get','4497288EbbOoq','28935mEvhpP','create','30202wukIEX','24848868uEFTQQ','stringify','forEach','1339864PfuQlH','jsonp','63tiNEyc','hasOwnProperty','3080gaHSCS','constructor','3NNFfMr'];a80_0x1a04=function(){return _0x4a12e9;};return a80_0x1a04();}function a80_0x35f5(_0x1edca7,_0x50a336){const _0x1a0447=a80_0x1a04();return a80_0x35f5=function(_0x35f51a,_0x5b76f0){_0x35f51a=_0x35f51a-0x134;let _0x272513=_0x1a0447[_0x35f51a];return _0x272513;},a80_0x35f5(_0x1edca7,_0x50a336);}export function jsonp(_0x3d9f6e){return new Promise((_0x567562,_0x42a48b)=>{const _0x167896=a80_0x35f5;a80_0x881981[_0x167896(0x146)]({'url':_0x3d9f6e,'type':_0x167896(0x137),'dataType':_0x167896(0x140),'success':_0x1daa6b=>{_0x567562(_0x1daa6b);},'error':_0x3a2248=>{_0x42a48b(_0x3a2248);}});});}export function stringify(_0xb51b59){const _0x43255d=a80_0x41e75d,_0x4b8e3d=new FormData();for(const _0x453b34 in _0xb51b59){if(_0xb51b59[_0x43255d(0x142)](_0x453b34)){if(_0xb51b59[_0x453b34]){if(_0xb51b59[_0x453b34][_0x43255d(0x144)]===Array)_0xb51b59[_0x453b34][0x0]?_0xb51b59[_0x453b34][0x0][_0x43255d(0x144)]===Object?_0x4b8e3d[_0x43255d(0x147)](_0x453b34,JSON[_0x43255d(0x13d)](_0xb51b59[_0x453b34])):_0xb51b59[_0x453b34][_0x43255d(0x13e)]((_0x2c03aa,_0x4d76c8)=>{const _0x52d39f=_0x43255d;_0x4b8e3d[_0x52d39f(0x147)](_0x453b34+('['+_0x4d76c8+']'),_0x2c03aa);}):_0x4b8e3d['append'](_0x453b34+'[]','');else _0xb51b59[_0x453b34][_0x43255d(0x144)]===Object?_0x4b8e3d[_0x43255d(0x147)](_0x453b34,JSON[_0x43255d(0x13d)](_0xb51b59[_0x453b34])):_0x4b8e3d['append'](_0x453b34,_0xb51b59[_0x453b34]);}else _0xb51b59[_0x453b34]===0x0?_0x4b8e3d['append'](_0x453b34,'0'):_0x4b8e3d[_0x43255d(0x147)](_0x453b34,'');}}return _0x4b8e3d;}export default request;
1
+ const a80_0x131d3b=a80_0x4d79;(function(_0x429854,_0x206687){const _0x1ec8de=a80_0x4d79,_0x109120=_0x429854();while(!![]){try{const _0x3693cb=-parseInt(_0x1ec8de(0x185))/0x1+-parseInt(_0x1ec8de(0x181))/0x2*(parseInt(_0x1ec8de(0x183))/0x3)+-parseInt(_0x1ec8de(0x18c))/0x4*(-parseInt(_0x1ec8de(0x186))/0x5)+parseInt(_0x1ec8de(0x18a))/0x6*(parseInt(_0x1ec8de(0x18e))/0x7)+-parseInt(_0x1ec8de(0x18b))/0x8+-parseInt(_0x1ec8de(0x184))/0x9+parseInt(_0x1ec8de(0x192))/0xa*(parseInt(_0x1ec8de(0x188))/0xb);if(_0x3693cb===_0x206687)break;else _0x109120['push'](_0x109120['shift']());}catch(_0x576935){_0x109120['push'](_0x109120['shift']());}}}(a80_0x5273,0x9fd56));import a80_0x136c24 from'axios';import a80_0x2fb78a from'jquery';const request=a80_0x136c24[a80_0x131d3b(0x189)]({'timeout':0xb4*0x3e8});function a80_0x4d79(_0xd0ffdb,_0x153d13){const _0x5273d9=a80_0x5273();return a80_0x4d79=function(_0x4d7936,_0x29f4b1){_0x4d7936=_0x4d7936-0x181;let _0x402fe6=_0x5273d9[_0x4d7936];return _0x402fe6;},a80_0x4d79(_0xd0ffdb,_0x153d13);}export function jsonp(_0xd426b9){return new Promise((_0x395054,_0x111e02)=>{const _0x3e1b60=a80_0x4d79;a80_0x2fb78a[_0x3e1b60(0x191)]({'url':_0xd426b9,'type':_0x3e1b60(0x18d),'dataType':_0x3e1b60(0x193),'success':_0x5f5770=>{_0x395054(_0x5f5770);},'error':_0x255569=>{_0x111e02(_0x255569);}});});}export function stringify(_0x468633){const _0x3576e2=a80_0x131d3b,_0x32e411=new FormData();for(const _0x4aba57 in _0x468633){if(_0x468633['hasOwnProperty'](_0x4aba57)){if(_0x468633[_0x4aba57]){if(_0x468633[_0x4aba57][_0x3576e2(0x182)]===Array)_0x468633[_0x4aba57][0x0]?_0x468633[_0x4aba57][0x0][_0x3576e2(0x182)]===Object?_0x32e411[_0x3576e2(0x190)](_0x4aba57,JSON[_0x3576e2(0x18f)](_0x468633[_0x4aba57])):_0x468633[_0x4aba57][_0x3576e2(0x187)]((_0x53f5b2,_0x22a83f)=>{const _0x5cabae=_0x3576e2;_0x32e411[_0x5cabae(0x190)](_0x4aba57+('['+_0x22a83f+']'),_0x53f5b2);}):_0x32e411[_0x3576e2(0x190)](_0x4aba57+'[]','');else _0x468633[_0x4aba57][_0x3576e2(0x182)]===Object?_0x32e411[_0x3576e2(0x190)](_0x4aba57,JSON[_0x3576e2(0x18f)](_0x468633[_0x4aba57])):_0x32e411[_0x3576e2(0x190)](_0x4aba57,_0x468633[_0x4aba57]);}else _0x468633[_0x4aba57]===0x0?_0x32e411[_0x3576e2(0x190)](_0x4aba57,'0'):_0x32e411[_0x3576e2(0x190)](_0x4aba57,'');}}return _0x32e411;}function a80_0x5273(){const _0x43f1c0=['674wXUtlF','constructor','9147IJxawT','7130079VZnwYm','655254lWnteR','13415gfYkEX','forEach','10842535hVTerC','create','5976726hmMgMo','711944eSRLbA','1844CuUnDt','get','7kBnnLe','stringify','append','ajax','10wPEwnE','jsonp'];a80_0x5273=function(){return _0x43f1c0;};return a80_0x5273();}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- function a81_0x44ca(){const _0x196398=['14KZMelI','indexOf','74FkObvD','1523487vEMOww','toUpperCase','10220pONNgn','6677pIHCSv','EPSG:','8380VwhhOC','1269876jQuKxq','900656pROHSE','1510sVdPMG','20016648mDIAtG','36NbZURe','11670aemkVN','replace'];a81_0x44ca=function(){return _0x196398;};return a81_0x44ca();}(function(_0xf319f6,_0x2e9e25){const _0x5c41cb=a81_0x3d21,_0x225e50=_0xf319f6();while(!![]){try{const _0x31136b=parseInt(_0x5c41cb(0x94))/0x1+parseInt(_0x5c41cb(0x93))/0x2*(-parseInt(_0x5c41cb(0x8f))/0x3)+-parseInt(_0x5c41cb(0x99))/0x4*(parseInt(_0x5c41cb(0x9c))/0x5)+-parseInt(_0x5c41cb(0x9a))/0x6*(parseInt(_0x5c41cb(0x91))/0x7)+-parseInt(_0x5c41cb(0x9b))/0x8*(parseInt(_0x5c41cb(0x8e))/0x9)+parseInt(_0x5c41cb(0x96))/0xa*(-parseInt(_0x5c41cb(0x97))/0xb)+parseInt(_0x5c41cb(0x9d))/0xc;if(_0x31136b===_0x2e9e25)break;else _0x225e50['push'](_0x225e50['shift']());}catch(_0x1e5876){_0x225e50['push'](_0x225e50['shift']());}}}(a81_0x44ca,0xe0d73));function a81_0x3d21(_0x50a7b1,_0x530823){const _0x44ca92=a81_0x44ca();return a81_0x3d21=function(_0x3d21d4,_0x48ec04){_0x3d21d4=_0x3d21d4-0x8e;let _0x1a1c1c=_0x44ca92[_0x3d21d4];return _0x1a1c1c;},a81_0x3d21(_0x50a7b1,_0x530823);}export function getEsriSpatialReference(_0x1003ed){const _0x51179e=a81_0x3d21;let _0x3765e3;if(_0x1003ed){let _0x3d1d13=_0x1003ed[_0x51179e(0x95)]();_0x3d1d13[_0x51179e(0x92)](_0x51179e(0x98))===0x0?_0x3765e3=_0x1003ed[_0x51179e(0x90)]('EPSG:',''):_0x3765e3=_0x1003ed;}return _0x3765e3;}
1
+ (function(_0x460100,_0x4ce157){const _0x26b78e=a81_0x5d1f,_0x30a0bc=_0x460100();while(!![]){try{const _0x2df6cb=-parseInt(_0x26b78e(0xd0))/0x1*(-parseInt(_0x26b78e(0xd2))/0x2)+parseInt(_0x26b78e(0xce))/0x3+-parseInt(_0x26b78e(0xcd))/0x4*(parseInt(_0x26b78e(0xd3))/0x5)+-parseInt(_0x26b78e(0xcb))/0x6+parseInt(_0x26b78e(0xd1))/0x7+parseInt(_0x26b78e(0xcf))/0x8*(-parseInt(_0x26b78e(0xcc))/0x9)+parseInt(_0x26b78e(0xc8))/0xa*(parseInt(_0x26b78e(0xd4))/0xb);if(_0x2df6cb===_0x4ce157)break;else _0x30a0bc['push'](_0x30a0bc['shift']());}catch(_0x47114b){_0x30a0bc['push'](_0x30a0bc['shift']());}}}(a81_0x2b25,0x83ff3));export function getEsriSpatialReference(_0x920070){const _0x1f0841=a81_0x5d1f;let _0x53f137;if(_0x920070){let _0x52f6ec=_0x920070[_0x1f0841(0xca)]();_0x52f6ec[_0x1f0841(0xc7)](_0x1f0841(0xc9))===0x0?_0x53f137=_0x920070[_0x1f0841(0xc6)](_0x1f0841(0xc9),''):_0x53f137=_0x920070;}return _0x53f137;}function a81_0x5d1f(_0x139182,_0x2c462c){const _0x2b2537=a81_0x2b25();return a81_0x5d1f=function(_0x5d1f03,_0x405d30){_0x5d1f03=_0x5d1f03-0xc6;let _0x45730b=_0x2b2537[_0x5d1f03];return _0x45730b;},a81_0x5d1f(_0x139182,_0x2c462c);}function a81_0x2b25(){const _0x34017c=['replace','indexOf','986390WMILgO','EPSG:','toUpperCase','1371414kYJoOC','5049711YMEdvw','376RDJrmh','1361406nxayhm','8oXBDzM','12924bVVTsE','3329004bzJKDP','96jWujiE','37905CsOFxl','55yIJoqb'];a81_0x2b25=function(){return _0x34017c;};return a81_0x2b25();}
@@ -1 +1 @@
1
- function a84_0x583c(_0x11241c,_0x3a3969){const _0x1681b1=a84_0x1681();return a84_0x583c=function(_0x583c65,_0x1dfbeb){_0x583c65=_0x583c65-0xcb;let _0x531cc8=_0x1681b1[_0x583c65];return _0x531cc8;},a84_0x583c(_0x11241c,_0x3a3969);}const a84_0x5e0516=a84_0x583c;(function(_0x4f1ec9,_0x46d262){const _0x1110b7=a84_0x583c,_0x5b7632=_0x4f1ec9();while(!![]){try{const _0xc9a7e5=parseInt(_0x1110b7(0x102))/0x1*(-parseInt(_0x1110b7(0xef))/0x2)+-parseInt(_0x1110b7(0x107))/0x3+-parseInt(_0x1110b7(0xfb))/0x4+-parseInt(_0x1110b7(0xe9))/0x5+parseInt(_0x1110b7(0xce))/0x6+parseInt(_0x1110b7(0xd1))/0x7+-parseInt(_0x1110b7(0xf7))/0x8*(-parseInt(_0x1110b7(0xed))/0x9);if(_0xc9a7e5===_0x46d262)break;else _0x5b7632['push'](_0x5b7632['shift']());}catch(_0x2c3b0b){_0x5b7632['push'](_0x5b7632['shift']());}}}(a84_0x1681,0x79b7b));import a84_0x4fb793 from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a84_0x23b2ea}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a84_0x7d341e,getArea as a84_0x4b7e77}from'ol/sphere';import a84_0x4b8535 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a84_0x18195a from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a84_0x209e4f from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a84_0x5ec2a6 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a84_0x47a952 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a84_0x14d695 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a84_0x26935e from'ol/format/GeoJSON';import a84_0x3a6005 from'jsts/org/locationtech/jts/geom/GeometryFactory';import a84_0x52a316 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_0x55510e from'ol/format/WKT';import a84_0x3a5738 from'ol/format/EsriJSON';const _parser=new a84_0x5ec2a6(undefined,undefined);_parser[a84_0x5e0516(0xde)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x12cbed,_0xd99a00,_0x3bf5da=![]){const _0x31c116=a84_0x5e0516;if(!_0x12cbed)return 0x0;if(typeof _0xd99a00=='string'){let _0x4270cb=registerProj(_0xd99a00);if(_0x4270cb==null)return console[_0x31c116(0xcd)](_0x31c116(0xea)),0x0;_0xd99a00=_0x4270cb;}const _0x42ed89=isSpheroid(_0xd99a00);if(_0x3bf5da)return a84_0x4b7e77(_0x12cbed,{'projection':_0xd99a00});else{if(_0x42ed89){const _0x1c766b=getGeoProjection(_0x12cbed,_0xd99a00);return _0x12cbed[_0x31c116(0xf2)]()[_0x31c116(0x101)](_0xd99a00,_0x1c766b)[_0x31c116(0xf8)]();}return _0x12cbed['getArea']();}}export function getLength(_0x58d698,_0x1a1103,_0x183a5b=![]){const _0x4b9c25=a84_0x5e0516;if(!_0x58d698)return 0x0;if(typeof _0x1a1103==_0x4b9c25(0xd6)){let _0x3d17b5=registerProj(_0x1a1103);if(_0x3d17b5==null)return console[_0x4b9c25(0xcd)]('未找到投影信息'),0x0;_0x1a1103=_0x3d17b5;}const _0x4842b2=isSpheroid(_0x1a1103);if(_0x183a5b)return a84_0x7d341e(_0x58d698,{'projection':_0x1a1103});else{let _0x20d06f=_0x58d698;if(_0x4842b2){const _0x258e5f=getGeoProjection(_0x58d698,_0x1a1103);_0x20d06f=_0x58d698[_0x4b9c25(0xf2)]()[_0x4b9c25(0x101)](_0x1a1103,_0x258e5f);}if(_0x20d06f instanceof LineString)return _0x20d06f[_0x4b9c25(0x106)]();else{let _0x50313f=0x0;for(let _0x117465=0x0;_0x117465<_0x20d06f['getLineStrings']()[_0x4b9c25(0x105)];_0x117465++){_0x50313f+=_0x20d06f['getLineStrings']()[_0x117465][_0x4b9c25(0x106)]();}return _0x50313f;}}}export function bufferOp(_0x183489,_0xf5f1d8){const _0xdc3a57=a84_0x5e0516,_0x22af38=_parser[_0xdc3a57(0xe1)](_0x183489),_0x42362c=a84_0x4b8535[_0xdc3a57(0xe7)](_0x22af38,_0xf5f1d8);return _parser[_0xdc3a57(0xe8)](_0x42362c);}export function bufferPixel(_0x849828,_0x104225,_0x232b01){const _0x590996=a84_0x5e0516,_0x1f21e5=_0x232b01['getPixelFromCoordinate'](_0x849828['getCoordinates']()),_0x3f8d5a=_0x232b01[_0x590996(0xf6)]([_0x1f21e5[0x0]+_0x104225,_0x1f21e5[0x1]]),_0x3f0516=a84_0x23b2ea(_0x849828[_0x590996(0xff)](),_0x3f8d5a),_0x48ec4e=bufferOp(_0x849828,_0x3f0516);return _0x48ec4e;}export function contains(_0x413bae,_0x21893b){const _0x4b28b3=a84_0x5e0516,_0xe8bdb3=_parser[_0x4b28b3(0xe1)](_0x413bae),_0x3ea415=_parser[_0x4b28b3(0xe1)](_0x21893b);return a84_0x18195a['contains'](_0xe8bdb3,_0x3ea415);}export function crosses(_0x4f0118,_0xbebf7b){const _0x59f462=a84_0x5e0516,_0x135b23=_parser[_0x59f462(0xe1)](_0x4f0118),_0x4a5250=_parser[_0x59f462(0xe1)](_0xbebf7b);return a84_0x18195a[_0x59f462(0xf3)](_0x135b23,_0x4a5250);}export function intersects(_0x40f9f9,_0x174aeb){const _0x5c221f=a84_0x5e0516,_0x5138f3=_parser[_0x5c221f(0xe1)](_0x40f9f9),_0x258b28=_parser[_0x5c221f(0xe1)](_0x174aeb);return a84_0x18195a[_0x5c221f(0xec)](_0x5138f3,_0x258b28);}export function intersection(_0xe49d1e,_0x492f8c){const _0x38b481=a84_0x5e0516,_0x59cc52=_parser[_0x38b481(0xe1)](_0xe49d1e),_0xd71206=_parser[_0x38b481(0xe1)](_0x492f8c);return _parser[_0x38b481(0xe8)](a84_0x209e4f[_0x38b481(0xf0)](_0x59cc52,_0xd71206));}export function union(_0x3934c4,_0x5695ca){const _0x52cfca=a84_0x5e0516,_0x19fc21=_parser[_0x52cfca(0xe1)](_0x3934c4),_0x4b8c7e=_parser[_0x52cfca(0xe1)](_0x5695ca);return _parser[_0x52cfca(0xe8)](a84_0x209e4f['union'](_0x19fc21,_0x4b8c7e));}export function unions(_0x49ae19){const _0xd7838d=a84_0x5e0516;if(!_0x49ae19||_0x49ae19[_0xd7838d(0x105)]===0x0)return;if(_0x49ae19[_0xd7838d(0x105)]===0x1)return _0x49ae19[0x0]['clone']();let _0x4d5665=_parser[_0xd7838d(0xe1)](_0x49ae19[0x0]);for(let _0x2d967e=0x1;_0x2d967e<_0x49ae19[_0xd7838d(0x105)];_0x2d967e++){const _0xcbd1af=_parser['read'](_0x49ae19[_0x2d967e]);_0x4d5665=a84_0x209e4f['union'](_0x4d5665,_0xcbd1af);}return _parser[_0xd7838d(0xe8)](_0x4d5665);}export function difference(_0x4a7cab,_0x2f2e46){const _0x1266f5=a84_0x5e0516,_0x5a75a3=_parser[_0x1266f5(0xe1)](_0x4a7cab),_0x54ca69=_parser['read'](_0x2f2e46);return _parser['write'](a84_0x209e4f[_0x1266f5(0xf1)](_0x5a75a3,_0x54ca69));}export function distance(_0x5c9ee9,_0x3386f1){const _0x406b9a=a84_0x5e0516,_0x17848e=_parser[_0x406b9a(0xe1)](_0x5c9ee9),_0x483c05=_parser['read'](_0x3386f1);return _parser[_0x406b9a(0xe8)](a84_0x14d695[_0x406b9a(0xda)](_0x17848e,_0x483c05));}export function jstlSplit(_0x6e9b58,_0x35f3af){const _0x502b5f=a84_0x5e0516,_0x4b336a=_parser[_0x502b5f(0xe1)](_0x6e9b58),_0x1fd837=_parser[_0x502b5f(0xe1)](_0x35f3af),_0x54ba60=_0x4b336a[_0x502b5f(0xf4)]();let _0x2f29a9=[];function _0x35a6e6(_0x4e4312,_0x423ada){const _0x71d8c0=_0x502b5f,_0x42d007=_0x4e4312['getExteriorRing'](),_0x46eeb8=_0x4e4312['getNumInteriorRing'](),_0x47bfe6=[];for(let _0x395781=0x0;_0x395781<_0x46eeb8;_0x395781++){_0x47bfe6['push'](_0x4e4312[_0x71d8c0(0xe4)](_0x395781));}const _0x4365d3=a84_0x209e4f[_0x71d8c0(0xd9)](_0x42d007,_0x423ada),_0x26ca24=new a84_0x47a952();_0x26ca24[_0x71d8c0(0x100)](_0x4365d3);const _0x665113=_0x26ca24[_0x71d8c0(0xdb)](),_0x18f049=new a84_0x3a6005();_0x665113[_0x71d8c0(0x108)]()>0x1?_0x665113[_0x71d8c0(0xd0)]()['forEach'](_0x8c1fee=>{const _0x43277f=_0x71d8c0;let _0x2906cc=_0x8c1fee;_0x47bfe6[_0x43277f(0xd8)](_0xf3cdb6=>{const _0x44508e=_0x43277f,_0x2f2968=_0x18f049[_0x44508e(0xe3)](_0xf3cdb6);try{_0x2906cc=a84_0x209e4f[_0x44508e(0xf1)](_0x2906cc,_0x2f2968);}catch(_0xb16a8e){console[_0x44508e(0xcf)](_0x44508e(0xee),_0xb16a8e);}}),_0x2906cc&&_0x2f29a9[_0x43277f(0x104)](_parser[_0x43277f(0xe8)](_0x2906cc));}):_0x2f29a9[_0x71d8c0(0x104)](_parser[_0x71d8c0(0xe8)](_0x4e4312));}if(_0x54ba60===_0x502b5f(0xd4))_0x35a6e6(_0x4b336a,_0x1fd837);else{if(_0x54ba60===_0x502b5f(0xd3)){const _0x40897d=_0x4b336a[_0x502b5f(0xcc)]();for(let _0x44d371=0x0;_0x44d371<_0x40897d;_0x44d371++){const _0x23e510=_0x4b336a['getGeometryN'](_0x44d371);_0x35a6e6(_0x23e510,_0x1fd837);}}else throw new Error(_0x502b5f(0xf9));}return _0x2f29a9;}export function splitLineByLine(_0x1b04df,_0x506472){const _0x3fdb40=a84_0x5e0516,_0x49ebb2=_parser[_0x3fdb40(0xe1)](_0x1b04df),_0x4e7fa2=_parser['read'](_0x506472),_0x4a5ff7=a84_0x209e4f[_0x3fdb40(0xf0)](_0x49ebb2,_0x4e7fa2);if(!_0x4a5ff7||_0x4a5ff7[_0x3fdb40(0xdd)]())return[_0x1b04df];const _0xbb6461=[];if(_0x4a5ff7[_0x3fdb40(0xf4)]()===_0x3fdb40(0xd2))_0xbb6461[_0x3fdb40(0x104)](_0x4a5ff7[_0x3fdb40(0xcb)]());else{if(_0x4a5ff7[_0x3fdb40(0xf4)]()===_0x3fdb40(0xe6))for(let _0x1ce821=0x0;_0x1ce821<_0x4a5ff7['getNumGeometries']();_0x1ce821++){_0xbb6461[_0x3fdb40(0x104)](_0x4a5ff7[_0x3fdb40(0xe5)](_0x1ce821)['getCoordinate']());}}const _0x3cb866=new a84_0x52a316(_0x49ebb2),_0x2cf105=_0xbb6461[_0x3fdb40(0xe0)](_0x2f534e=>_0x3cb866[_0x3fdb40(0xeb)](_0x2f534e))['sort']((_0x2ef087,_0x969c60)=>_0x2ef087-_0x969c60),_0x376e50=[],_0x5910bb=1e-9;for(let _0x56aae6=0x0;_0x56aae6<_0x2cf105['length'];_0x56aae6++){if(_0x56aae6===0x0||Math[_0x3fdb40(0xf5)](_0x2cf105[_0x56aae6]-_0x2cf105[_0x56aae6-0x1])>_0x5910bb)_0x376e50[_0x3fdb40(0x104)](_0x2cf105[_0x56aae6]);}const _0x2c56c6=[];let _0xe33814=_0x3cb866[_0x3fdb40(0x103)]?_0x3cb866['getStartIndex']():0x0;const _0x24c058=_0x3cb866['getEndIndex']&&_0x3cb866[_0x3fdb40(0xe2)]()||_0x49ebb2[_0x3fdb40(0x106)]();for(let _0x1e8df9=0x0;_0x1e8df9<_0x376e50[_0x3fdb40(0x105)];_0x1e8df9++){const _0x329935=_0x376e50[_0x1e8df9];if(_0x329935-_0xe33814>_0x5910bb){const _0x10db0f=_0x3cb866[_0x3fdb40(0xd5)](_0xe33814,_0x329935);_0x2c56c6['push'](_parser[_0x3fdb40(0xe8)](_0x10db0f));}_0xe33814=_0x329935;}if(_0x24c058-_0xe33814>_0x5910bb){const _0x476f66=_0x3cb866[_0x3fdb40(0xd5)](_0xe33814,_0x24c058);_0x2c56c6[_0x3fdb40(0x104)](_parser[_0x3fdb40(0xe8)](_0x476f66));}const _0x78af3a=_0x2c56c6[_0x3fdb40(0xfe)](_0x28ae20=>{const _0x57d726=_0x3fdb40,_0xdd4bef=_0x28ae20[_0x57d726(0xff)]();return _0xdd4bef&&_0xdd4bef[_0x57d726(0x105)]>=0x2&&!(_0xdd4bef['length']===0x2&&_0xdd4bef[0x0][0x0]===_0xdd4bef[0x1][0x0]&&_0xdd4bef[0x0][0x1]===_0xdd4bef[0x1][0x1]);});return _0x78af3a;}export function fromWKT(_0x5c6af9,_0x574237,_0x293139){const _0xa40fe5=a84_0x5e0516,_0x27c852=new a84_0x55510e();_0x574237&&registerProj(_0x574237);_0x293139&&registerProj(_0x293139);const _0x5976e2=_0x27c852[_0xa40fe5(0xfa)](_0x5c6af9);if(isGeometryEmpty(_0x5976e2))return null;return _0x574237&&_0x293139?_0x5976e2[_0xa40fe5(0x101)](new a84_0x4fb793({'code':_0x574237}),new a84_0x4fb793({'code':_0x293139})):_0x5976e2;}function a84_0x1681(){const _0x511572=['crosses','getGeometryType','abs','getCoordinateFromPixel','15481008oGLvoo','getArea','无法识别的数据类型','readGeometry','3796196vVIQrf','getExtent','getInteriorPoint','filter','getCoordinates','add','transform','1ruPiOj','getStartIndex','push','length','getLength','1689123bnQQUa','size','getCoordinate','getNumGeometries','error','4992258WKtOWA','warn','toArray','2179646zkAUYN','Point','MultiPolygon','Polygon','extractLine','string','some','forEach','union','distance','getPolygons','getLinearRings','isEmpty','inject','writeGeometry','map','read','getEndIndex','createPolygon','getInteriorRingN','getGeometryN','MultiPoint','bufferOp','write','4695745YWhWSN','未找到投影信息','indexOf','intersects','9vwtunS','孔洞操作失败:','257506iZmCZt','intersection','difference','clone'];a84_0x1681=function(){return _0x511572;};return a84_0x1681();}export function fromWKTs(_0x53da71,_0x408961,_0x45a455){const _0x4bf969=a84_0x5e0516,_0x5049d8=new a84_0x55510e();let _0x181a8a=[];_0x408961&&registerProj(_0x408961);_0x45a455&&registerProj(_0x45a455);let _0x1315d2,_0x2eab08;_0x408961&&_0x45a455&&(_0x1315d2=new a84_0x4fb793({'code':_0x408961}),_0x2eab08=new a84_0x4fb793({'code':_0x45a455}));for(let _0xc9b644=0x0;_0xc9b644<_0x53da71[_0x4bf969(0x105)];_0xc9b644++){const _0x1d496d=_0x5049d8[_0x4bf969(0xfa)](_0x53da71[_0xc9b644]);if(isGeometryEmpty(_0x1d496d))continue;_0x1315d2&&_0x2eab08?_0x181a8a[_0x4bf969(0x104)](_0x1d496d[_0x4bf969(0x101)](_0x1315d2,_0x2eab08)):_0x181a8a['push'](_0x1d496d);}return _0x181a8a;}export function toWKT(_0x155d4d){const _0x1239c4=a84_0x5e0516,_0xbd3819=new a84_0x55510e();if(isGeometryEmpty(_0x155d4d))return'';if(_0x155d4d instanceof Circle){const _0x58a4bd=fromCircle(_0x155d4d);return _0xbd3819['writeGeometry'](_0x58a4bd);}else return _0xbd3819[_0x1239c4(0xdf)](_0x155d4d);}export function toGeoJSON(_0x3a25c1){const _0x34a87c=a84_0x5e0516,_0x446bf0=new a84_0x26935e();return _0x446bf0[_0x34a87c(0xdf)](_0x3a25c1);}export function fromGeoJSON(_0x497ec3){const _0x49dd09=new a84_0x26935e();return _0x49dd09['readGeometry'](_0x497ec3);}export function toEsriJSON(_0x2e34e6){const _0xf70f69=new a84_0x3a5738();return _0xf70f69['writeGeometry'](_0x2e34e6);}export function fromEsriJSON(_0x271eac){const _0x510d8a=a84_0x5e0516,_0x423dff=new a84_0x3a5738();return _0x423dff[_0x510d8a(0xfa)](_0x271eac);}export function expandExtent(_0x50ba03,_0x27b7c8){const _0x9c3d60=_0x50ba03[0x0],_0x32200b=_0x50ba03[0x1],_0xc4e39=_0x50ba03[0x2],_0x32bbb7=_0x50ba03[0x3],_0x58a4b9=(_0x9c3d60+_0xc4e39)/0x2,_0xd7540e=(_0x32200b+_0x32bbb7)/0x2,_0x1712b6=_0xc4e39-_0x9c3d60,_0x526855=_0x32bbb7-_0x32200b,_0x4430e5=_0x1712b6*_0x27b7c8,_0x54b674=_0x526855*_0x27b7c8,_0x29d1ac=_0x58a4b9-_0x4430e5/0x2,_0x5dc014=_0x58a4b9+_0x4430e5/0x2,_0x51a7ae=_0xd7540e-_0x54b674/0x2,_0x934aac=_0xd7540e+_0x54b674/0x2;return[_0x29d1ac,_0x51a7ae,_0x5dc014,_0x934aac];}export function isGeometryEmpty(_0x982c18){const _0x45ed7e=a84_0x5e0516;if(!_0x982c18)return!![];if(_0x982c18 instanceof Point||_0x982c18 instanceof MultiPoint){const _0x530dbc=_0x982c18[_0x45ed7e(0xff)]();return!_0x530dbc||_0x530dbc[_0x45ed7e(0xd7)](_0x34d602=>isNaN(_0x34d602));}else{if(_0x982c18 instanceof LineString||_0x982c18 instanceof MultiLineString)return _0x982c18['getCoordinates']()[_0x45ed7e(0x105)]<0x2;else{if(_0x982c18 instanceof Polygon){const _0x2414b6=_0x982c18[_0x45ed7e(0xff)]();return!_0x2414b6||_0x2414b6[_0x45ed7e(0x105)]===0x0||_0x2414b6[0x0][_0x45ed7e(0x105)]<0x4;}else{if(_0x982c18 instanceof MultiPolygon){const _0x2187f6=_0x982c18[_0x45ed7e(0xff)]();return!_0x2187f6||_0x2187f6['length']===0x0||_0x2187f6[0x0][0x0]['length']<0x4;}}}}return![];}export function polygonToLines(_0x169204){const _0x2ced7d=a84_0x5e0516;if(!_0x169204)return[];const _0x5cba7b=_0x169204[_0x2ced7d(0xdc)]();return _0x5cba7b[_0x2ced7d(0xe0)](_0x3d757f=>new LineString(_0x3d757f['getCoordinates']()));}export function getGeometryCenter(_0x383f49){const _0xe3bce7=a84_0x5e0516;if(!_0x383f49)return undefined;const _0x270dbc=_0x383f49['getType']();if(_0x270dbc===_0xe3bce7(0xd2))return new Point(_0x383f49[_0xe3bce7(0xff)]());if(_0x270dbc===_0xe3bce7(0xd4)||_0x270dbc===_0xe3bce7(0xd3))return _0x383f49[_0xe3bce7(0xfd)]();const _0x1baaf0=getCenter(_0x383f49[_0xe3bce7(0xfc)]());return new Point(_0x1baaf0);}
1
+ const a84_0x11b740=a84_0xbec1;function a84_0xbec1(_0x94356b,_0x266a23){const _0x3036c7=a84_0x3036();return a84_0xbec1=function(_0xbec1d5,_0x423ada){_0xbec1d5=_0xbec1d5-0x1f3;let _0x3c4547=_0x3036c7[_0xbec1d5];return _0x3c4547;},a84_0xbec1(_0x94356b,_0x266a23);}(function(_0x1f5731,_0x385c52){const _0x492281=a84_0xbec1,_0xa0dae4=_0x1f5731();while(!![]){try{const _0x4b094d=-parseInt(_0x492281(0x20a))/0x1*(-parseInt(_0x492281(0x20c))/0x2)+-parseInt(_0x492281(0x209))/0x3*(parseInt(_0x492281(0x217))/0x4)+parseInt(_0x492281(0x207))/0x5+-parseInt(_0x492281(0x224))/0x6+-parseInt(_0x492281(0x226))/0x7+-parseInt(_0x492281(0x215))/0x8*(parseInt(_0x492281(0x222))/0x9)+parseInt(_0x492281(0x1fe))/0xa;if(_0x4b094d===_0x385c52)break;else _0xa0dae4['push'](_0xa0dae4['shift']());}catch(_0x14bd27){_0xa0dae4['push'](_0xa0dae4['shift']());}}}(a84_0x3036,0x888f8));import a84_0x51b78b from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a84_0x3efd61}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a84_0x30060f,getArea as a84_0x4ff8f5}from'ol/sphere';import a84_0x1ee33d from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a84_0x2b4d0b from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a84_0x770a3 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a84_0x92188b from'jsts/org/locationtech/jts/io/OL3Parser.js';import a84_0x306e37 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a84_0x56e0ad from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a84_0x3877c4 from'ol/format/GeoJSON';import a84_0x3f5392 from'jsts/org/locationtech/jts/geom/GeometryFactory';import a84_0x2395b6 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_0xd783bc from'ol/format/WKT';import a84_0x4497a8 from'ol/format/EsriJSON';const _parser=new a84_0x92188b(undefined,undefined);_parser[a84_0x11b740(0x202)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x24d954,_0x57ce5e,_0x24bd57=![]){const _0x9a7d43=a84_0x11b740;if(!_0x24d954)return 0x0;if(typeof _0x57ce5e==_0x9a7d43(0x21e)){let _0x2149b7=registerProj(_0x57ce5e);if(_0x2149b7==null)return console[_0x9a7d43(0x22a)]('未找到投影信息'),0x0;_0x57ce5e=_0x2149b7;}const _0x35def0=isSpheroid(_0x57ce5e);if(_0x24bd57)return a84_0x4ff8f5(_0x24d954,{'projection':_0x57ce5e});else{if(_0x35def0){const _0xdfee76=getGeoProjection(_0x24d954,_0x57ce5e);return _0x24d954['clone']()['transform'](_0x57ce5e,_0xdfee76)[_0x9a7d43(0x1ff)]();}return _0x24d954[_0x9a7d43(0x1ff)]();}}export function getLength(_0x18eb24,_0x1f0964,_0x1aa1bf=![]){const _0x49e5bc=a84_0x11b740;if(!_0x18eb24)return 0x0;if(typeof _0x1f0964==_0x49e5bc(0x21e)){let _0x1dbbc6=registerProj(_0x1f0964);if(_0x1dbbc6==null)return console['error'](_0x49e5bc(0x22d)),0x0;_0x1f0964=_0x1dbbc6;}const _0x18c5a0=isSpheroid(_0x1f0964);if(_0x1aa1bf)return a84_0x30060f(_0x18eb24,{'projection':_0x1f0964});else{let _0x3b7a46=_0x18eb24;if(_0x18c5a0){const _0x15ff5e=getGeoProjection(_0x18eb24,_0x1f0964);_0x3b7a46=_0x18eb24[_0x49e5bc(0x22e)]()[_0x49e5bc(0x225)](_0x1f0964,_0x15ff5e);}if(_0x3b7a46 instanceof LineString)return _0x3b7a46[_0x49e5bc(0x21c)]();else{let _0x4bef56=0x0;for(let _0x695e9e=0x0;_0x695e9e<_0x3b7a46[_0x49e5bc(0x210)]()[_0x49e5bc(0x21d)];_0x695e9e++){_0x4bef56+=_0x3b7a46[_0x49e5bc(0x210)]()[_0x695e9e][_0x49e5bc(0x21c)]();}return _0x4bef56;}}}export function bufferOp(_0x40b885,_0x5bb50d){const _0x36e8ca=a84_0x11b740,_0xcc6c62=_parser[_0x36e8ca(0x227)](_0x40b885),_0x1f406c=a84_0x1ee33d[_0x36e8ca(0x1f7)](_0xcc6c62,_0x5bb50d);return _parser[_0x36e8ca(0x1f4)](_0x1f406c);}export function bufferPixel(_0x5a6967,_0x4ebeba,_0x4cdc9c){const _0x3bd62a=a84_0x11b740,_0x5e9571=_0x4cdc9c[_0x3bd62a(0x231)](_0x5a6967['getCoordinates']()),_0x3e7538=_0x4cdc9c[_0x3bd62a(0x223)]([_0x5e9571[0x0]+_0x4ebeba,_0x5e9571[0x1]]),_0x57276c=a84_0x3efd61(_0x5a6967['getCoordinates'](),_0x3e7538),_0x40ba0e=bufferOp(_0x5a6967,_0x57276c);return _0x40ba0e;}export function contains(_0x44810c,_0x28f4cb){const _0x3d1e78=a84_0x11b740,_0xb8fe08=_parser[_0x3d1e78(0x227)](_0x44810c),_0x42e426=_parser['read'](_0x28f4cb);return a84_0x2b4d0b[_0x3d1e78(0x20d)](_0xb8fe08,_0x42e426);}export function crosses(_0x1389ad,_0x43e753){const _0x14a326=a84_0x11b740,_0x5d5c07=_parser[_0x14a326(0x227)](_0x1389ad),_0x27f4a1=_parser[_0x14a326(0x227)](_0x43e753);return a84_0x2b4d0b[_0x14a326(0x221)](_0x5d5c07,_0x27f4a1);}export function intersects(_0x277cbd,_0x3112bb){const _0x433700=a84_0x11b740,_0x224e34=_parser[_0x433700(0x227)](_0x277cbd),_0x3d90ef=_parser[_0x433700(0x227)](_0x3112bb);return a84_0x2b4d0b[_0x433700(0x21f)](_0x224e34,_0x3d90ef);}export function intersection(_0x2f08da,_0x4cad72){const _0x42b030=a84_0x11b740,_0x39c485=_parser[_0x42b030(0x227)](_0x2f08da),_0x27c703=_parser[_0x42b030(0x227)](_0x4cad72);return _parser[_0x42b030(0x1f4)](a84_0x770a3[_0x42b030(0x213)](_0x39c485,_0x27c703));}export function union(_0xb9277e,_0x4afe25){const _0x56db4f=a84_0x11b740,_0x47fed5=_parser['read'](_0xb9277e),_0x1ad3e7=_parser[_0x56db4f(0x227)](_0x4afe25);return _parser['write'](a84_0x770a3[_0x56db4f(0x1f6)](_0x47fed5,_0x1ad3e7));}export function unions(_0x268c5f){const _0x20e3df=a84_0x11b740;if(!_0x268c5f||_0x268c5f[_0x20e3df(0x21d)]===0x0)return;if(_0x268c5f[_0x20e3df(0x21d)]===0x1)return _0x268c5f[0x0][_0x20e3df(0x22e)]();let _0x3ea29d=_parser[_0x20e3df(0x227)](_0x268c5f[0x0]);for(let _0x475e20=0x1;_0x475e20<_0x268c5f['length'];_0x475e20++){const _0x567c03=_parser[_0x20e3df(0x227)](_0x268c5f[_0x475e20]);_0x3ea29d=a84_0x770a3['union'](_0x3ea29d,_0x567c03);}return _parser[_0x20e3df(0x1f4)](_0x3ea29d);}export function difference(_0x40d150,_0x4694ed){const _0x15fd3c=a84_0x11b740,_0x1c17ac=_parser[_0x15fd3c(0x227)](_0x40d150),_0x4c8a78=_parser[_0x15fd3c(0x227)](_0x4694ed);return _parser[_0x15fd3c(0x1f4)](a84_0x770a3[_0x15fd3c(0x1f3)](_0x1c17ac,_0x4c8a78));}export function distance(_0x394a77,_0x571caf){const _0x38e9f1=a84_0x11b740,_0x482d28=_parser[_0x38e9f1(0x227)](_0x394a77),_0x215ba6=_parser[_0x38e9f1(0x227)](_0x571caf);return _parser['write'](a84_0x56e0ad[_0x38e9f1(0x1fd)](_0x482d28,_0x215ba6));}export function jstlSplit(_0x3aa3af,_0x22dcf3){const _0x3c172b=a84_0x11b740,_0x27711d=_parser[_0x3c172b(0x227)](_0x3aa3af),_0x5792b1=_parser[_0x3c172b(0x227)](_0x22dcf3),_0x52f16b=_0x27711d[_0x3c172b(0x219)]();let _0x1fec44=[];function _0x200c6b(_0x4bb07b,_0x7bb9a4){const _0x22063d=_0x3c172b,_0x2407e5=_0x4bb07b[_0x22063d(0x1f8)](),_0x4068dc=_0x4bb07b[_0x22063d(0x201)](),_0x3319e2=[];for(let _0x4a0b78=0x0;_0x4a0b78<_0x4068dc;_0x4a0b78++){_0x3319e2[_0x22063d(0x21b)](_0x4bb07b[_0x22063d(0x206)](_0x4a0b78));}const _0x2a4aac=a84_0x770a3[_0x22063d(0x1f6)](_0x2407e5,_0x7bb9a4),_0x24e2d6=new a84_0x306e37();_0x24e2d6['add'](_0x2a4aac);const _0x583862=_0x24e2d6[_0x22063d(0x204)](),_0x153dc2=new a84_0x3f5392();_0x583862[_0x22063d(0x211)]()>0x1?_0x583862['toArray']()['forEach'](_0x572ef9=>{const _0x12396b=_0x22063d;let _0x341098=_0x572ef9;_0x3319e2[_0x12396b(0x212)](_0x49388d=>{const _0x221d9b=_0x12396b,_0x52f76b=_0x153dc2[_0x221d9b(0x218)](_0x49388d);try{_0x341098=a84_0x770a3['difference'](_0x341098,_0x52f76b);}catch(_0x44d723){console['warn'](_0x221d9b(0x200),_0x44d723);}}),_0x341098&&_0x1fec44['push'](_parser['write'](_0x341098));}):_0x1fec44[_0x22063d(0x21b)](_parser['write'](_0x4bb07b));}if(_0x52f16b===_0x3c172b(0x22b))_0x200c6b(_0x27711d,_0x5792b1);else{if(_0x52f16b===_0x3c172b(0x208)){const _0x2f4f1d=_0x27711d[_0x3c172b(0x20b)]();for(let _0x347f62=0x0;_0x347f62<_0x2f4f1d;_0x347f62++){const _0x1c14f2=_0x27711d[_0x3c172b(0x1f9)](_0x347f62);_0x200c6b(_0x1c14f2,_0x5792b1);}}else throw new Error('无法识别的数据类型');}return _0x1fec44;}export function splitLineByLine(_0x24ca05,_0x2a8255){const _0x5c564e=a84_0x11b740,_0x171d17=_parser[_0x5c564e(0x227)](_0x24ca05),_0x224bf9=_parser['read'](_0x2a8255),_0x13adae=a84_0x770a3[_0x5c564e(0x213)](_0x171d17,_0x224bf9);if(!_0x13adae||_0x13adae[_0x5c564e(0x1fa)]())return[_0x24ca05];const _0xcc3637=[];if(_0x13adae['getGeometryType']()===_0x5c564e(0x21a))_0xcc3637[_0x5c564e(0x21b)](_0x13adae[_0x5c564e(0x205)]());else{if(_0x13adae[_0x5c564e(0x219)]()===_0x5c564e(0x20e))for(let _0x736895=0x0;_0x736895<_0x13adae[_0x5c564e(0x20b)]();_0x736895++){_0xcc3637[_0x5c564e(0x21b)](_0x13adae[_0x5c564e(0x1f9)](_0x736895)[_0x5c564e(0x205)]());}}const _0x540557=new a84_0x2395b6(_0x171d17),_0x4b1d88=_0xcc3637[_0x5c564e(0x22c)](_0xe1bccb=>_0x540557[_0x5c564e(0x230)](_0xe1bccb))['sort']((_0x1ff6ab,_0x351afb)=>_0x1ff6ab-_0x351afb),_0xa3412a=[],_0x1cdb66=1e-9;for(let _0x180d2e=0x0;_0x180d2e<_0x4b1d88[_0x5c564e(0x21d)];_0x180d2e++){if(_0x180d2e===0x0||Math['abs'](_0x4b1d88[_0x180d2e]-_0x4b1d88[_0x180d2e-0x1])>_0x1cdb66)_0xa3412a['push'](_0x4b1d88[_0x180d2e]);}const _0x6ea1ac=[];let _0x5b7218=_0x540557[_0x5c564e(0x228)]?_0x540557[_0x5c564e(0x228)]():0x0;const _0x21ed75=_0x540557['getEndIndex']&&_0x540557[_0x5c564e(0x203)]()||_0x171d17['getLength']();for(let _0x476662=0x0;_0x476662<_0xa3412a[_0x5c564e(0x21d)];_0x476662++){const _0x4e6074=_0xa3412a[_0x476662];if(_0x4e6074-_0x5b7218>_0x1cdb66){const _0x3dc993=_0x540557[_0x5c564e(0x216)](_0x5b7218,_0x4e6074);_0x6ea1ac[_0x5c564e(0x21b)](_parser['write'](_0x3dc993));}_0x5b7218=_0x4e6074;}if(_0x21ed75-_0x5b7218>_0x1cdb66){const _0x272741=_0x540557[_0x5c564e(0x216)](_0x5b7218,_0x21ed75);_0x6ea1ac['push'](_parser['write'](_0x272741));}const _0xa434e3=_0x6ea1ac[_0x5c564e(0x1fb)](_0x7f878f=>{const _0x6bf128=_0x5c564e,_0x25846d=_0x7f878f[_0x6bf128(0x214)]();return _0x25846d&&_0x25846d[_0x6bf128(0x21d)]>=0x2&&!(_0x25846d['length']===0x2&&_0x25846d[0x0][0x0]===_0x25846d[0x1][0x0]&&_0x25846d[0x0][0x1]===_0x25846d[0x1][0x1]);});return _0xa434e3;}export function fromWKT(_0x31c647,_0x1a3e58,_0x3faec2){const _0x5e392c=new a84_0xd783bc();_0x1a3e58&&registerProj(_0x1a3e58);_0x3faec2&&registerProj(_0x3faec2);const _0xceab3c=_0x5e392c['readGeometry'](_0x31c647);if(isGeometryEmpty(_0xceab3c))return null;return _0x1a3e58&&_0x3faec2?_0xceab3c['transform'](new a84_0x51b78b({'code':_0x1a3e58}),new a84_0x51b78b({'code':_0x3faec2})):_0xceab3c;}export function fromWKTs(_0x3196cb,_0x1392fd,_0x3add81){const _0x55d55e=a84_0x11b740,_0x203c50=new a84_0xd783bc();let _0x4a290f=[];_0x1392fd&&registerProj(_0x1392fd);_0x3add81&&registerProj(_0x3add81);let _0x1991f9,_0x506cd4;_0x1392fd&&_0x3add81&&(_0x1991f9=new a84_0x51b78b({'code':_0x1392fd}),_0x506cd4=new a84_0x51b78b({'code':_0x3add81}));for(let _0x157778=0x0;_0x157778<_0x3196cb[_0x55d55e(0x21d)];_0x157778++){const _0x1340d8=_0x203c50[_0x55d55e(0x20f)](_0x3196cb[_0x157778]);if(isGeometryEmpty(_0x1340d8))continue;_0x1991f9&&_0x506cd4?_0x4a290f['push'](_0x1340d8[_0x55d55e(0x225)](_0x1991f9,_0x506cd4)):_0x4a290f['push'](_0x1340d8);}return _0x4a290f;}export function toWKT(_0x9d58f7){const _0x214c31=a84_0x11b740,_0x3e0dfc=new a84_0xd783bc();if(isGeometryEmpty(_0x9d58f7))return'';if(_0x9d58f7 instanceof Circle){const _0x1b152d=fromCircle(_0x9d58f7);return _0x3e0dfc['writeGeometry'](_0x1b152d);}else return _0x3e0dfc[_0x214c31(0x229)](_0x9d58f7);}export function toGeoJSON(_0x246fee){const _0x93d29=a84_0x11b740,_0x12b43e=new a84_0x3877c4();return _0x12b43e[_0x93d29(0x229)](_0x246fee);}export function fromGeoJSON(_0x3a1d0d){const _0x52abc7=a84_0x11b740,_0xe80bf4=new a84_0x3877c4();return _0xe80bf4[_0x52abc7(0x20f)](_0x3a1d0d);}export function toEsriJSON(_0x34ecac){const _0x43f4cb=a84_0x11b740,_0x415b2e=new a84_0x4497a8();return _0x415b2e[_0x43f4cb(0x229)](_0x34ecac);}export function fromEsriJSON(_0xd26c84){const _0x5023a6=a84_0x11b740,_0x47e7bb=new a84_0x4497a8();return _0x47e7bb[_0x5023a6(0x20f)](_0xd26c84);}export function expandExtent(_0x10ca2d,_0x5dd573){const _0x353558=_0x10ca2d[0x0],_0x3ec0de=_0x10ca2d[0x1],_0x3da9f5=_0x10ca2d[0x2],_0x2b983d=_0x10ca2d[0x3],_0xa73120=(_0x353558+_0x3da9f5)/0x2,_0x3729e2=(_0x3ec0de+_0x2b983d)/0x2,_0x5801d8=_0x3da9f5-_0x353558,_0x5103dd=_0x2b983d-_0x3ec0de,_0x5ee96c=_0x5801d8*_0x5dd573,_0x4c5407=_0x5103dd*_0x5dd573,_0x5167ef=_0xa73120-_0x5ee96c/0x2,_0x5df695=_0xa73120+_0x5ee96c/0x2,_0x45c5ee=_0x3729e2-_0x4c5407/0x2,_0x36b534=_0x3729e2+_0x4c5407/0x2;return[_0x5167ef,_0x45c5ee,_0x5df695,_0x36b534];}export function isGeometryEmpty(_0xae962a){const _0xfa064a=a84_0x11b740;if(!_0xae962a)return!![];if(_0xae962a instanceof Point||_0xae962a instanceof MultiPoint){const _0x4656cb=_0xae962a[_0xfa064a(0x214)]();return!_0x4656cb||_0x4656cb[_0xfa064a(0x1fc)](_0x1a570c=>isNaN(_0x1a570c));}else{if(_0xae962a instanceof LineString||_0xae962a instanceof MultiLineString)return _0xae962a[_0xfa064a(0x214)]()[_0xfa064a(0x21d)]<0x2;else{if(_0xae962a instanceof Polygon){const _0x535cdf=_0xae962a[_0xfa064a(0x214)]();return!_0x535cdf||_0x535cdf[_0xfa064a(0x21d)]===0x0||_0x535cdf[0x0][_0xfa064a(0x21d)]<0x4;}else{if(_0xae962a instanceof MultiPolygon){const _0x5a0816=_0xae962a[_0xfa064a(0x214)]();return!_0x5a0816||_0x5a0816[_0xfa064a(0x21d)]===0x0||_0x5a0816[0x0][0x0]['length']<0x4;}}}}return![];}function a84_0x3036(){const _0x102f21=['219piceKl','13633kFsHYc','getNumGeometries','46mRMDLW','contains','MultiPoint','readGeometry','getLineStrings','size','forEach','intersection','getCoordinates','711640cMjDia','extractLine','27688naIZCH','createPolygon','getGeometryType','Point','push','getLength','length','string','intersects','getType','crosses','18SSajmv','getCoordinateFromPixel','6384510QmOEOK','transform','5233977MyxrZK','read','getStartIndex','writeGeometry','error','Polygon','map','未找到投影信息','clone','getInteriorPoint','indexOf','getPixelFromCoordinate','difference','write','getExtent','union','bufferOp','getExteriorRing','getGeometryN','isEmpty','filter','some','distance','19201920RioLfe','getArea','孔洞操作失败:','getNumInteriorRing','inject','getEndIndex','getPolygons','getCoordinate','getInteriorRingN','4103065csOImb','MultiPolygon'];a84_0x3036=function(){return _0x102f21;};return a84_0x3036();}export function polygonToLines(_0xc7bbb2){const _0x5e21a4=a84_0x11b740;if(!_0xc7bbb2)return[];const _0x5432db=_0xc7bbb2['getLinearRings']();return _0x5432db[_0x5e21a4(0x22c)](_0x2f435c=>new LineString(_0x2f435c['getCoordinates']()));}export function getGeometryCenter(_0x37af7a){const _0x35f125=a84_0x11b740;if(!_0x37af7a)return undefined;const _0x48f96b=_0x37af7a[_0x35f125(0x220)]();if(_0x48f96b==='Point')return new Point(_0x37af7a[_0x35f125(0x214)]());if(_0x48f96b==='Polygon'||_0x48f96b===_0x35f125(0x208))return _0x37af7a[_0x35f125(0x22f)]();const _0x4a9f0e=getCenter(_0x37af7a[_0x35f125(0x1f5)]());return new Point(_0x4a9f0e);}
@@ -1 +1 @@
1
- (function(_0x31874f,_0x1c5ea2){const _0x2da571=a85_0x213f,_0xbda75c=_0x31874f();while(!![]){try{const _0x1c5885=-parseInt(_0x2da571(0xf3))/0x1+parseInt(_0x2da571(0xf4))/0x2*(-parseInt(_0x2da571(0xe6))/0x3)+parseInt(_0x2da571(0xf1))/0x4+parseInt(_0x2da571(0xdb))/0x5*(parseInt(_0x2da571(0xe5))/0x6)+parseInt(_0x2da571(0xf7))/0x7+-parseInt(_0x2da571(0xda))/0x8*(parseInt(_0x2da571(0xe8))/0x9)+parseInt(_0x2da571(0xfa))/0xa;if(_0x1c5885===_0x1c5ea2)break;else _0xbda75c['push'](_0xbda75c['shift']());}catch(_0x556f76){_0xbda75c['push'](_0xbda75c['shift']());}}}(a85_0x586f,0x49e62));import a85_0x3cefa4 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x3a3c81){const _0xa029e2=a85_0x213f;let _0x489bdd=[];return _0x3a3c81&&_0x3a3c81[_0xa029e2(0xee)]>0x0&&(_0x3a3c81['forEach'](_0x58aa35=>{const _0x4d454e=_0xa029e2;(!_0x58aa35['parentId']||_0x58aa35[_0x4d454e(0xdc)]=='')&&_0x489bdd['push'](Object['assign']({},_0x58aa35));}),_0x489bdd=_0x489bdd[_0xa029e2(0xe9)]((_0x39c4cd,_0x4854d8)=>{const _0x3edf89=_0xa029e2;return(_0x39c4cd[_0x3edf89(0xdd)]?_0x39c4cd[_0x3edf89(0xdd)]:0x0)-(_0x4854d8['showIndex']?_0x4854d8['showIndex']:0x0);}),_0x489bdd[_0xa029e2(0xef)](_0x37b936=>{const _0x1440ad=_0xa029e2;_0x37b936[_0x1440ad(0xe7)]=setChildren(_0x37b936['id'],_0x3a3c81);})),_0x489bdd;}function a85_0x586f(){const _0x3dfcd9=['640AdKfAJ','parentId','showIndex','assign','geoserver','data','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','indexOf','&format=application/json','replace','54XeIiPu','1257xhzWTR','children','9TzkfmH','sort','includes','Legend','&height=','url','length','forEach','sublayers','1241964uWLpAP','get','250976yFQUlg','2642pxlitX','wms','gwc/service/wmts','2999465WdMxmh','&format=image/png','&width=','3980560lYvoIU','layerType','push','248232oTvTeX'];a85_0x586f=function(){return _0x3dfcd9;};return a85_0x586f();}function a85_0x213f(_0x5d3c43,_0x4f8d4e){const _0x586f51=a85_0x586f();return a85_0x213f=function(_0x213ffb,_0x46c4d7){_0x213ffb=_0x213ffb-0xd9;let _0x274085=_0x586f51[_0x213ffb];return _0x274085;},a85_0x213f(_0x5d3c43,_0x4f8d4e);}function setChildren(_0x306f64,_0x5443c2){const _0x141898=a85_0x213f;let _0x167192=[];return _0x5443c2[_0x141898(0xef)](_0x3fe9ca=>{const _0x4813a5=_0x141898;_0x306f64===(_0x3fe9ca['parentId']==null?'':_0x3fe9ca['parentId'])&&_0x167192['push'](Object[_0x4813a5(0xde)]({},_0x3fe9ca));}),_0x167192=_0x167192['sort']((_0x4ad6bc,_0x3c3f77)=>{const _0x8fbebb=_0x141898;return(_0x4ad6bc[_0x8fbebb(0xdd)]?_0x4ad6bc[_0x8fbebb(0xdd)]:0x0)-(_0x3c3f77['showIndex']?_0x3c3f77[_0x8fbebb(0xdd)]:0x0);}),_0x167192['length']>0x0&&_0x167192[_0x141898(0xef)](_0x214881=>{const _0x34ee36=_0x141898;_0x214881[_0x34ee36(0xe7)]=setChildren(_0x214881['id'],_0x5443c2);}),_0x167192;}export async function getLayerLegend(_0x5330cd,_0x3a2590){const _0x57ffaa=a85_0x213f;if(!_0x5330cd||!_0x5330cd[_0x57ffaa(0xed)]||!_0x5330cd['sublayers']||_0x5330cd['sublayers']['length']==0x0||!_0x5330cd[_0x57ffaa(0xfb)])return;if(_0x5330cd[_0x57ffaa(0xfb)][_0x57ffaa(0xe2)](_0x57ffaa(0xdf))>-0x1)return await getGeoServerLayerLegend(_0x5330cd,_0x3a2590);return;}export async function getGeoServerLayerLegend(_0x19b29b,_0x335eb3){const _0x1aedd0=a85_0x213f;if(!_0x19b29b||!_0x19b29b[_0x1aedd0(0xed)]||!_0x19b29b[_0x1aedd0(0xf0)]||_0x19b29b[_0x1aedd0(0xf0)][_0x1aedd0(0xee)]==0x0)return;let _0x58d836=_0x19b29b[_0x1aedd0(0xed)];const _0x2db5f3=_0x19b29b[_0x1aedd0(0xf0)];_0x58d836=_0x58d836[_0x1aedd0(0xe4)](_0x1aedd0(0xf6),_0x1aedd0(0xf5));const _0x205efb=[];for(let _0x6403f1=0x0;_0x6403f1<_0x2db5f3['length'];_0x6403f1++){const _0x19295d=_0x2db5f3[_0x6403f1];let _0x1fe0ed=_0x1aedd0(0xe1)+_0x19295d+_0x1aedd0(0xe3);const _0x432292=_0x58d836['includes']('?')?_0x58d836+'&'+_0x1fe0ed:_0x58d836+'?'+_0x1fe0ed,_0x28708d=await a85_0x3cefa4[_0x1aedd0(0xf2)](_0x432292);if(_0x28708d['data']&&_0x28708d[_0x1aedd0(0xe0)][_0x1aedd0(0xeb)]&&_0x28708d[_0x1aedd0(0xe0)][_0x1aedd0(0xeb)]['length']>0x0)_0x205efb[_0x1aedd0(0xd9)](_0x28708d['data'][_0x1aedd0(0xeb)][0x0]);else{let _0x188906=_0x335eb3?_0x335eb3:0x10,_0x248794='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x19295d+_0x1aedd0(0xf9)+_0x188906+_0x1aedd0(0xec)+_0x188906+_0x1aedd0(0xf8);const _0x26be78=_0x58d836[_0x1aedd0(0xea)]('?')?_0x58d836+'&'+_0x248794:_0x58d836+'?'+_0x248794;_0x205efb[_0x1aedd0(0xd9)]({'title':_0x19b29b['title'],'url':_0x26be78});}}return _0x205efb;}
1
+ (function(_0x2c77c1,_0x26dfa3){const _0x241551=a85_0x5992,_0x29ee3f=_0x2c77c1();while(!![]){try{const _0xbf73f5=-parseInt(_0x241551(0x183))/0x1*(-parseInt(_0x241551(0x173))/0x2)+-parseInt(_0x241551(0x17f))/0x3*(parseInt(_0x241551(0x170))/0x4)+-parseInt(_0x241551(0x16d))/0x5+parseInt(_0x241551(0x17a))/0x6*(parseInt(_0x241551(0x171))/0x7)+parseInt(_0x241551(0x18c))/0x8+parseInt(_0x241551(0x18b))/0x9*(parseInt(_0x241551(0x17b))/0xa)+parseInt(_0x241551(0x179))/0xb*(parseInt(_0x241551(0x188))/0xc);if(_0xbf73f5===_0x26dfa3)break;else _0x29ee3f['push'](_0x29ee3f['shift']());}catch(_0x481bf3){_0x29ee3f['push'](_0x29ee3f['shift']());}}}(a85_0x54fd,0x3766a));import a85_0x4c5e9d from'../utils/AxiosUtil';function a85_0x54fd(){const _0x46b5af=['geoserver','16225OvSWPQ','504TKdZwT','1751980ulRFPG','sublayers','push','&height=','6WJyVei','url','title','includes','1609SNhDiD','Legend','children','layerType','assign','12ubVVdE','parentId','indexOf','18faZfII','1026016uhNRnO','sort','length','1861775uJQNxd','replace','wms','725920gkzLFv','30254SyNzFI','showIndex','148UIwQOn','&format=image/png','forEach','data','service=WMS&version=1.1.0&request=GetLegendGraphic&layer='];a85_0x54fd=function(){return _0x46b5af;};return a85_0x54fd();}function a85_0x5992(_0x4f1e0c,_0x4e0313){const _0x54fdca=a85_0x54fd();return a85_0x5992=function(_0x59925f,_0xc0fc44){_0x59925f=_0x59925f-0x16d;let _0x4d6ee2=_0x54fdca[_0x59925f];return _0x4d6ee2;},a85_0x5992(_0x4f1e0c,_0x4e0313);}export function mapServiceTreeTransform(_0x44cb1d){const _0x159d7a=a85_0x5992;let _0x2e3d9d=[];return _0x44cb1d&&_0x44cb1d[_0x159d7a(0x18e)]>0x0&&(_0x44cb1d[_0x159d7a(0x175)](_0x4a78d0=>{const _0x44219e=_0x159d7a;(!_0x4a78d0[_0x44219e(0x189)]||_0x4a78d0[_0x44219e(0x189)]=='')&&_0x2e3d9d[_0x44219e(0x17d)](Object['assign']({},_0x4a78d0));}),_0x2e3d9d=_0x2e3d9d[_0x159d7a(0x18d)]((_0x5bd974,_0x21c82e)=>{const _0x1b6cbc=_0x159d7a;return(_0x5bd974[_0x1b6cbc(0x172)]?_0x5bd974['showIndex']:0x0)-(_0x21c82e[_0x1b6cbc(0x172)]?_0x21c82e[_0x1b6cbc(0x172)]:0x0);}),_0x2e3d9d[_0x159d7a(0x175)](_0x1c61de=>{const _0x2f3cee=_0x159d7a;_0x1c61de[_0x2f3cee(0x185)]=setChildren(_0x1c61de['id'],_0x44cb1d);})),_0x2e3d9d;}function setChildren(_0x18c5dc,_0x478df2){const _0x2b8ddf=a85_0x5992;let _0x163f7f=[];return _0x478df2['forEach'](_0x50cdbd=>{const _0x1384d3=a85_0x5992;_0x18c5dc===(_0x50cdbd[_0x1384d3(0x189)]==null?'':_0x50cdbd['parentId'])&&_0x163f7f[_0x1384d3(0x17d)](Object[_0x1384d3(0x187)]({},_0x50cdbd));}),_0x163f7f=_0x163f7f[_0x2b8ddf(0x18d)]((_0x1aeaaf,_0x4c23ec)=>{const _0x34b19e=_0x2b8ddf;return(_0x1aeaaf['showIndex']?_0x1aeaaf[_0x34b19e(0x172)]:0x0)-(_0x4c23ec[_0x34b19e(0x172)]?_0x4c23ec[_0x34b19e(0x172)]:0x0);}),_0x163f7f[_0x2b8ddf(0x18e)]>0x0&&_0x163f7f[_0x2b8ddf(0x175)](_0x3a9189=>{_0x3a9189['children']=setChildren(_0x3a9189['id'],_0x478df2);}),_0x163f7f;}export async function getLayerLegend(_0x3e20a8,_0x5e04dc){const _0x209aa3=a85_0x5992;if(!_0x3e20a8||!_0x3e20a8[_0x209aa3(0x180)]||!_0x3e20a8[_0x209aa3(0x17c)]||_0x3e20a8[_0x209aa3(0x17c)][_0x209aa3(0x18e)]==0x0||!_0x3e20a8[_0x209aa3(0x186)])return;if(_0x3e20a8[_0x209aa3(0x186)][_0x209aa3(0x18a)](_0x209aa3(0x178))>-0x1)return await getGeoServerLayerLegend(_0x3e20a8,_0x5e04dc);return;}export async function getGeoServerLayerLegend(_0x19cecc,_0x30e3c6){const _0x5ae2ab=a85_0x5992;if(!_0x19cecc||!_0x19cecc[_0x5ae2ab(0x180)]||!_0x19cecc['sublayers']||_0x19cecc['sublayers']['length']==0x0)return;let _0x49985e=_0x19cecc['url'];const _0x28ed48=_0x19cecc['sublayers'];_0x49985e=_0x49985e[_0x5ae2ab(0x16e)]('gwc/service/wmts',_0x5ae2ab(0x16f));const _0x51f73b=[];for(let _0x280bd7=0x0;_0x280bd7<_0x28ed48['length'];_0x280bd7++){const _0x5468c2=_0x28ed48[_0x280bd7];let _0x1b1122='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x5468c2+'&format=application/json';const _0x9bccb7=_0x49985e['includes']('?')?_0x49985e+'&'+_0x1b1122:_0x49985e+'?'+_0x1b1122,_0x5734d1=await a85_0x4c5e9d['get'](_0x9bccb7);if(_0x5734d1['data']&&_0x5734d1[_0x5ae2ab(0x176)][_0x5ae2ab(0x184)]&&_0x5734d1[_0x5ae2ab(0x176)]['Legend'][_0x5ae2ab(0x18e)]>0x0)_0x51f73b['push'](_0x5734d1[_0x5ae2ab(0x176)]['Legend'][0x0]);else{let _0x17ab8=_0x30e3c6?_0x30e3c6:0x10,_0x10a5d1=_0x5ae2ab(0x177)+_0x5468c2+'&width='+_0x17ab8+_0x5ae2ab(0x17e)+_0x17ab8+_0x5ae2ab(0x174);const _0x4f273f=_0x49985e[_0x5ae2ab(0x182)]('?')?_0x49985e+'&'+_0x10a5d1:_0x49985e+'?'+_0x10a5d1;_0x51f73b[_0x5ae2ab(0x17d)]({'title':_0x19cecc[_0x5ae2ab(0x181)],'url':_0x4f273f});}}return _0x51f73b;}