ym-gis-2d 1.0.34 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/AreaMeasure.js +1 -1
  15. package/interaction/Difference.js +1 -1
  16. package/interaction/Draw.js +1 -1
  17. package/interaction/InteractionManager.js +1 -1
  18. package/interaction/Modify.d.ts +15 -0
  19. package/interaction/Modify.d.ts.map +1 -0
  20. package/interaction/Modify.js +1 -0
  21. package/interaction/Modify.js.map +1 -0
  22. package/interaction/Select.js +1 -1
  23. package/interaction/Split.js +1 -1
  24. package/layers/ArcgisDynamicLayer.js +1 -1
  25. package/layers/ArcgisFeatureLayer.js +1 -1
  26. package/layers/ArcgisTileLayer.js +1 -1
  27. package/layers/ArcgisWMSLayer.js +1 -1
  28. package/layers/ArcgisWMTSLayer.js +1 -1
  29. package/layers/GeoserverVectorTile.js +1 -1
  30. package/layers/GeoserverWFSLayer.js +1 -1
  31. package/layers/GeoserverWMSLayer.js +1 -1
  32. package/layers/GeoserverWMTSLayer.js +1 -1
  33. package/layers/LayerManager.js +1 -1
  34. package/layers/TDTLayer.js +1 -1
  35. package/mapView/Map.js +1 -1
  36. package/mapView/View.js +1 -1
  37. package/package.json +1 -1
  38. package/plot/Plot.js +1 -1
  39. package/plot/geometry/point/Point.js +1 -1
  40. package/plot/geometry/polygon/BasePolygon.js +1 -1
  41. package/plot/geometry/polygon/Circle.js +1 -1
  42. package/plot/geometry/polygon/Polygon.js +1 -1
  43. package/plot/geometry/polygon/RectAngle.js +1 -1
  44. package/plot/geometry/polyline/BaseLine.js +1 -1
  45. package/plot/geometry/polyline/Polyline.js +1 -1
  46. package/style/PointStyleFormat.js +1 -1
  47. package/style/PolygonStyleFormat.js +1 -1
  48. package/style/PolylineStyleFormat.js +1 -1
  49. package/style/StyleManager.js +1 -1
  50. package/style/common.js +1 -1
  51. package/utils/ArrayUtil.js +1 -1
  52. package/utils/AxiosUtil.js +1 -1
  53. package/utils/EsriUtil.js +1 -1
  54. package/utils/GeometryUtil.js +1 -1
  55. package/utils/LayerUtil.js +1 -1
  56. package/utils/RegisterProjUtil.js +1 -1
  57. package/utils/ResolutionUtil.js +1 -1
  58. package/utils/StringUtil.js +1 -1
  59. package/utils/StyleUtil.js +1 -1
  60. package/utils/UrlUtil.js +1 -1
  61. package/utils/XmlUtil.js +1 -1
  62. package/utils/format/CQL.js +1 -1
  63. package/utils/format/IsMatchCql.js +1 -1
  64. package/utils/plug/canvas/ImageCache.js +1 -1
  65. package/utils/plug/canvas/PinBuilder.js +1 -1
  66. package/utils/plug/canvas/PinIcon.js +1 -1
  67. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  68. package/utils/tasks/esri/Identify.js +1 -1
  69. package/utils/tasks/esri/Query.js +1 -1
  70. package/utils/tasks/esri/Task.js +1 -1
  71. package/utils/tasks/geoserver/QueryTask.js +1 -1
  72. package/utils/tasks/index.js +1 -1
  73. package/ym-gis-2d.es.js +1 -1
  74. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- function a71_0x5986(_0x2f03e6,_0x3f1945){var _0x2275f3=a71_0x2275();return a71_0x5986=function(_0x598642,_0x33d657){_0x598642=_0x598642-0x138;var _0x5a6b68=_0x2275f3[_0x598642];return _0x5a6b68;},a71_0x5986(_0x2f03e6,_0x3f1945);}var a71_0x4bed00=a71_0x5986;(function(_0x4eb2f1,_0x2cfdb1){var _0x1498e9=a71_0x5986,_0x42d652=_0x4eb2f1();while(!![]){try{var _0x5c6c8b=parseInt(_0x1498e9(0x13d))/0x1+parseInt(_0x1498e9(0x13c))/0x2*(parseInt(_0x1498e9(0x14d))/0x3)+parseInt(_0x1498e9(0x140))/0x4*(parseInt(_0x1498e9(0x147))/0x5)+-parseInt(_0x1498e9(0x144))/0x6*(-parseInt(_0x1498e9(0x14c))/0x7)+parseInt(_0x1498e9(0x13f))/0x8+parseInt(_0x1498e9(0x14e))/0x9*(parseInt(_0x1498e9(0x13a))/0xa)+-parseInt(_0x1498e9(0x146))/0xb*(parseInt(_0x1498e9(0x14b))/0xc);if(_0x5c6c8b===_0x2cfdb1)break;else _0x42d652['push'](_0x42d652['shift']());}catch(_0x35791d){_0x42d652['push'](_0x42d652['shift']());}}}(a71_0x2275,0xe5eb9));import a71_0x58d24d from'./BaseLine';class Polyline extends a71_0x58d24d{constructor(_0x4a61a0){var _0x1021fc=a71_0x5986;super(),this[_0x1021fc(0x139)]=_0x1021fc(0x14a),this['setCoordinates'](_0x4a61a0);}[a71_0x4bed00(0x141)](){var _0x112c2a=a71_0x4bed00;this['setCoordinates'](this[_0x112c2a(0x145)]);}[a71_0x4bed00(0x13e)](_0x36afa3,_0x2dc77f){var _0x484c1d=a71_0x4bed00;_0x2dc77f>=0x0&&_0x2dc77f<this[_0x484c1d(0x145)][_0x484c1d(0x138)]&&(this['points'][_0x2dc77f]=_0x36afa3,this['generate']());}[a71_0x4bed00(0x13b)](_0x35ef8d){var _0x2c7f31=a71_0x4bed00;this[_0x2c7f31(0x13e)](_0x35ef8d,this[_0x2c7f31(0x145)][_0x2c7f31(0x138)]-0x1);}[a71_0x4bed00(0x149)](){return![];}[a71_0x4bed00(0x143)](_0x3771a0){var _0x1c207f=a71_0x4bed00;this[_0x1c207f(0x142)]=JSON[_0x1c207f(0x14f)](JSON[_0x1c207f(0x148)](_0x3771a0));}}export default Polyline;function a71_0x2275(){var _0x136e00=['94FIKJYH','1007114pJEqVE','updatePoint','8466904rbDmat','236rJAkPO','generate','style','setStyle','600swKZXI','points','58155922UvPNCK','103915ZUHDxL','stringify','isPlot','LineString','12QhCGeo','40383hUjRIa','52041zPObiR','20844pgKzhD','parse','length','type','6670eWbrSz','updateLastPoint'];a71_0x2275=function(){return _0x136e00;};return a71_0x2275();}
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 +1 @@
1
- (function(_0x4b0c2a,_0x448ea3){const _0x26bd22=a74_0x3ed1,_0x32aa8d=_0x4b0c2a();while(!![]){try{const _0x186273=parseInt(_0x26bd22(0xc8))/0x1*(-parseInt(_0x26bd22(0xb2))/0x2)+parseInt(_0x26bd22(0xdd))/0x3*(-parseInt(_0x26bd22(0xe0))/0x4)+-parseInt(_0x26bd22(0xbf))/0x5+-parseInt(_0x26bd22(0xdb))/0x6+parseInt(_0x26bd22(0xaf))/0x7*(-parseInt(_0x26bd22(0xde))/0x8)+-parseInt(_0x26bd22(0xd6))/0x9*(parseInt(_0x26bd22(0xea))/0xa)+parseInt(_0x26bd22(0xf0))/0xb*(parseInt(_0x26bd22(0xbd))/0xc);if(_0x186273===_0x448ea3)break;else _0x32aa8d['push'](_0x32aa8d['shift']());}catch(_0x3a6055){_0x32aa8d['push'](_0x32aa8d['shift']());}}}(a74_0x84a2,0x49cb5));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a74_0x3f7055 from'ol/style/Style';import a74_0x534761 from'ol/style/Circle';function a74_0x3ed1(_0x5673df,_0x58bb8e){const _0x84a23c=a74_0x84a2();return a74_0x3ed1=function(_0x3ed1cb,_0x4e7a58){_0x3ed1cb=_0x3ed1cb-0xab;let _0x32a49c=_0x84a23c[_0x3ed1cb];return _0x32a49c;},a74_0x3ed1(_0x5673df,_0x58bb8e);}import a74_0x2ac1b2 from'ol/style/Fill';import a74_0x12df26 from'ol/style/Stroke';function getMainStyle(_0x4c0dca,_0x1f1dfb=0x0,_0x40d607){const _0x1a2e22=a74_0x3ed1;let _0x40815b;return _0x4c0dca[_0x1a2e22(0xd8)]||_0x4c0dca[_0x1a2e22(0xf5)]?_0x40815b=new a74_0x3f7055({'renderer':(_0x5eb49e,_0x12cee4)=>{preLoadImageRenderFunction(_0x4c0dca,_0x5eb49e,_0x12cee4,_0x40d607,_rendererFunction);},'zIndex':Number(_0x1f1dfb)}):_0x40815b=new a74_0x3f7055({'image':new a74_0x534761({'radius':_0x4c0dca[_0x1a2e22(0xe8)]?_0x4c0dca['radius']:_0x4c0dca[_0x1a2e22(0xf1)],'fill':new a74_0x2ac1b2({'color':getColor(_0x4c0dca['color'],_0x4c0dca[_0x1a2e22(0xe3)])}),'stroke':_0x4c0dca[_0x1a2e22(0xd2)]&&_0x4c0dca['outlineColor']?new a74_0x12df26({'color':getColor(_0x4c0dca[_0x1a2e22(0xe7)],_0x4c0dca[_0x1a2e22(0xdf)]),'width':_0x4c0dca['outlineWidth']}):undefined}),'zIndex':Number(_0x1f1dfb)}),_0x40815b;}function _rendererFunction(_0x4bd59a,_0x2db95d,_0x4c9228,_0x330f74,_0x11930b){const _0x4751fe=a74_0x3ed1;if(!_0x11930b||_0x11930b[_0x4751fe(0xac)]===0x0){let _0x5c9ec9=new Image();_0x5c9ec9['src']=_0x4bd59a['image'];}if(_0x4bd59a[_0x4751fe(0xc2)]&&_0x4bd59a[_0x4751fe(0xc7)]!==''){let _0x42e6a1=_0x4bd59a['scale']||0x1,_0xd41d2a=_0x4bd59a[_0x4751fe(0xac)]||_0x11930b[_0x4751fe(0xac)]*_0x42e6a1,_0x60023e=_0x4bd59a[_0x4751fe(0xe4)]||_0x11930b[_0x4751fe(0xe4)]*_0x42e6a1;_0xd41d2a=_0xd41d2a*_0x4c9228[_0x4751fe(0xb7)],_0x60023e=_0x60023e*_0x4c9228[_0x4751fe(0xb7)];const _0x41ec11=document['createElement'](_0x4751fe(0xb9));_0x41ec11[_0x4751fe(0xac)]=_0xd41d2a,_0x41ec11[_0x4751fe(0xe4)]=_0x60023e;const _0x28c63c=_0x41ec11['getContext']('2d');_0x28c63c===null||_0x28c63c===void 0x0?void 0x0:_0x28c63c[_0x4751fe(0xe5)](_0x11930b,0x0,0x0,_0xd41d2a,_0x60023e);let _0x3d3431=_0x28c63c===null||_0x28c63c===void 0x0?void 0x0:_0x28c63c[_0x4751fe(0xeb)](0x0,0x0,_0xd41d2a,_0x60023e),_0x2ac74c=_0x3d3431===null||_0x3d3431===void 0x0?void 0x0:_0x3d3431['data'];_0x11930b=_0x41ec11;let _0x41c887=HexToRgb(_0x4bd59a[_0x4751fe(0xc7)]);if(_0x2ac74c&&_0x41c887)for(var _0x43354e=0x0;_0x43354e<_0x2ac74c[_0x4751fe(0xc4)];_0x43354e+=0x4){_0x2ac74c[_0x43354e]=_0x41c887[0x0],_0x2ac74c[_0x43354e+0x1]=_0x41c887[0x1],_0x2ac74c[_0x43354e+0x2]=_0x41c887[0x2];}_0x3d3431&&(_0x28c63c===null||_0x28c63c===void 0x0?void 0x0:_0x28c63c[_0x4751fe(0xf4)](_0x3d3431,0x0,0x0));}let _0x5bfe40=_0x4c9228[_0x4751fe(0xc6)],_0xd83a3c=_0x4c9228[_0x4751fe(0xb7)],_0x163cf7=_0x5bfe40[_0x4751fe(0xc0)](),_0x327885=_0x5bfe40[_0x4751fe(0xe6)](),_0x18bccd=[];switch(_0x327885){case _0x4751fe(0xc9):_0x18bccd=_0x5bfe40[_0x4751fe(0xba)]();break;case _0x4751fe(0xf3):_0x18bccd=_0x5bfe40[_0x4751fe(0xbb)](),_0x163cf7=0x2;break;case'Polygon':_0x18bccd=_0x5bfe40[_0x4751fe(0xb8)](),_0x163cf7=0x3;break;case _0x4751fe(0xd3):{let _0x104a1e=_0x5bfe40[_0x4751fe(0xb5)]();_0x18bccd=[];for(let _0x1826e5=0x0,_0x2017b7=_0x104a1e['length'];_0x1826e5<_0x2017b7;_0x1826e5+=0x3){_0x18bccd['push'](_0x104a1e[_0x1826e5],_0x104a1e[_0x1826e5+0x1]);}if(_0x18bccd['length']===0x0)return;_0x163cf7=0x2;break;}}if(_0x18bccd[_0x4751fe(0xc4)]>0x0&&_0x330f74)for(let _0x8e1ee1=0x0,_0x59d9e4=_0x18bccd[_0x4751fe(0xc4)];_0x8e1ee1<_0x59d9e4;_0x8e1ee1+=_0x163cf7){let _0x5deef3=[_0x18bccd[_0x8e1ee1],_0x18bccd[_0x8e1ee1+0x1]],_0x533fa5=_0x330f74[_0x4751fe(0xd4)](_0x5deef3);_0x533fa5=[_0x533fa5[0x0]*_0xd83a3c,_0x533fa5[0x1]*_0xd83a3c],drawImage(_0x4bd59a,_0x533fa5,_0x4c9228,_0x11930b);}else{if(_0x327885==='MultiPoint')for(let _0x7c22e6 of _0x2db95d){drawImage(_0x4bd59a,_0x7c22e6,_0x4c9228,_0x11930b);}else drawImage(_0x4bd59a,_0x2db95d,_0x4c9228,_0x11930b);}}function HexToRgb(_0xe8a0f8){const _0x16572a=a74_0x3ed1;_0xe8a0f8=_0xe8a0f8[_0x16572a(0xcb)]('#','');let _0x13966d=_0xe8a0f8[_0x16572a(0xc1)](/../g);if(_0x13966d){for(let _0x2bdb49=0x0;_0x2bdb49<0x3;_0x2bdb49++)_0x13966d[_0x2bdb49]=parseInt(_0x13966d[_0x2bdb49],0x10);}return _0x13966d;}export function getImageOlStyle(_0x3e688c,_0x4e1082,_0x20da1b,_0x16ad4f){const _0x408f06=a74_0x3ed1;var _0xf0f7d2;if(_0x3e688c&&_0x3e688c[_0x408f06(0xce)]!==![]){_0x3e688c=JSON['parse'](JSON[_0x408f06(0xe1)](_0x3e688c)),_0x4e1082=(_0xf0f7d2=_0x3e688c[_0x408f06(0xae)])!==null&&_0xf0f7d2!==void 0x0?_0xf0f7d2:_0x4e1082;let _0x485869=isShowStyle(_0x3e688c,_0x20da1b,_0x16ad4f);if(_0x485869)return _0x3e688c['image']=parseImage(_0x3e688c[_0x408f06(0xd8)]),getMainStyle(_0x3e688c,_0x4e1082,_0x16ad4f);}}export function getPointStyle(_0x134295,_0x3155ee,_0x36f290,_0x1897e9){const _0x65db6f=a74_0x3ed1;var _0x5ec2be,_0x56179f;_0x134295=JSON[_0x65db6f(0xed)](JSON['stringify'](_0x134295));let _0x2d6b28=(_0x5ec2be=_0x134295[_0x65db6f(0xae)])!==null&&_0x5ec2be!==void 0x0?_0x5ec2be:0x0,_0x32a779=[],_0x1f2c28=getImageOlStyle(_0x134295,_0x2d6b28,_0x36f290,_0x1897e9);_0x1f2c28&&_0x32a779[_0x65db6f(0xd0)](_0x1f2c28);let _0x360d4e=getImageOlStyle(_0x134295[_0x65db6f(0xf6)],_0x2d6b28,_0x36f290,_0x1897e9);_0x360d4e&&_0x32a779[_0x65db6f(0xd0)](_0x360d4e);if(_0x134295[_0x65db6f(0xef)]&&_0x134295[_0x65db6f(0xef)][_0x65db6f(0xce)]!==![]){let _0x35c7bb=isShowStyle(_0x134295[_0x65db6f(0xef)],_0x36f290,_0x1897e9);if(_0x35c7bb){let _0x250dba=(_0x56179f=_0x134295['model']['zIndex'])!==null&&_0x56179f!==void 0x0?_0x56179f:_0x2d6b28,_0x17861b=_0x134295[_0x65db6f(0xef)][_0x65db6f(0xb0)]||_0x65db6f(0xd9)+_0x134295[_0x65db6f(0xef)][_0x65db6f(0xd1)]+_0x65db6f(0xd5);_0x134295[_0x65db6f(0xb4)]=0x1,_0x134295[_0x65db6f(0xac)]=0x30,_0x134295['height']=0x30,_0x134295[_0x65db6f(0xcc)]=_0x65db6f(0xca),_0x32a779[_0x65db6f(0xd0)](getMainStyle(_0x134295[_0x65db6f(0xef)],_0x250dba,_0x1897e9));}}if(_0x134295['label']&&_0x134295[_0x65db6f(0xbc)][_0x65db6f(0xce)]!==![]){let _0x2e18fa=new a74_0x3f7055({'text':createTextStyle(_0x134295[_0x65db6f(0xbc)],_0x3155ee,_0x36f290,_0x1897e9),'zIndex':Number(_0x2d6b28)+0x1});_0x32a779[_0x65db6f(0xd0)](_0x2e18fa);}return _0x32a779;}export function getPointSingleStyle(_0x38f3fe,_0x1de7f7,_0x3da7ef,_0x4f3028){const _0x1097c9=a74_0x3ed1;_0x1de7f7=JSON[_0x1097c9(0xed)](JSON[_0x1097c9(0xe1)](_0x1de7f7));let _0x503995=_0x1de7f7[_0x1097c9(0xbc)],_0x292922;_0x503995&&(_0x292922=_0x503995[_0x1097c9(0xe9)]?_0x503995[_0x1097c9(0xe9)]:'');if(_0x38f3fe===_0x1097c9(0xf6))return _0x1de7f7[_0x1097c9(0xd8)]=parseImage(_0x1de7f7[_0x1097c9(0xd8)]),getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);else{if(_0x38f3fe===_0x1097c9(0xef)){let _0x10a90c=_0x1de7f7[_0x1097c9(0xb0)]||_0x1097c9(0xd9)+_0x1de7f7[_0x1097c9(0xd1)]+_0x1097c9(0xd5);return _0x1de7f7['scale']=0x1,_0x1de7f7[_0x1097c9(0xac)]=0x30,_0x1de7f7[_0x1097c9(0xe4)]=0x30,_0x1de7f7[_0x1097c9(0xcc)]=_0x1097c9(0xca),getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);}else{if(_0x38f3fe==='cloud')return getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);else{if(_0x38f3fe===_0x1097c9(0xcd))return getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);else return _0x38f3fe==='label'?new a74_0x3f7055({'text':createTextStyle(_0x1de7f7,_0x1de7f7[_0x1097c9(0xe9)],_0x3da7ef,_0x4f3028),'zIndex':_0x1de7f7[_0x1097c9(0xae)]}):getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);}}}}function a74_0x84a2(){const _0x391548=['markerColor','billboard','BOTTOM','width','context','zIndex','161hKdloQ','imgUrl','horizontalOrigin','10RhFAbC','pixelOffset','scale','getFlatInteriorPoints','pixelOffsetY','pixelRatio','getFlatInteriorPoint','canvas','getFlatMidpoint','getFlatMidpoints','label','2292WFGcHx','pixelOffsetX','2466685YSxxRV','getStride','match','changeColor','globalAlpha','length','toUpperCase','geometry','color','20714gAfVWY','LineString','CENTER','replace','verticalOrigin','point','show','rotation','push','modelKind','outline','MultiPolygon','getPixelFromCoordinate','.png','683001sMviNN','restore','image','model/','save','412446OWVzgc','warn','45HHPwPQ','142624Pffiep','outlineOpacity','59012MoUvBf','stringify','TOP','opacity','height','drawImage','getType','outlineColor','radius','text','30SQnFNb','getImageData','LEFT','parse','translate','model','105215bgUIPx','pixelSize','rotate','MultiLineString','putImageData'];a74_0x84a2=function(){return _0x391548;};return a74_0x84a2();}function drawImage(_0x30138c,_0x1ebba6,_0x445dfa,_0x2158a8){const _0x1695ce=a74_0x3ed1;var _0x2b3fd1,_0x355104,_0x427556,_0x34441b;let _0x2a93a4=_0x445dfa[_0x1695ce(0xad)];try{_0x2a93a4[_0x1695ce(0xda)]();let _0x4d674c=Number(_0x30138c[_0x1695ce(0xbe)]||((_0x2b3fd1=_0x30138c[_0x1695ce(0xb3)])===null||_0x2b3fd1===void 0x0?void 0x0:_0x2b3fd1[0x0])||0x0),_0x4524e0=Number(_0x30138c[_0x1695ce(0xb6)]||((_0x355104=_0x30138c[_0x1695ce(0xb3)])===null||_0x355104===void 0x0?void 0x0:_0x355104[0x1])||0x0);_0x2a93a4[_0x1695ce(0xee)](_0x1ebba6[0x0]+_0x4d674c,_0x1ebba6[0x1]+_0x4524e0);if(_0x30138c[_0x1695ce(0xcf)])_0x2a93a4[_0x1695ce(0xf2)](toRadians(_0x30138c[_0x1695ce(0xcf)]));_0x2a93a4[_0x1695ce(0xc3)]=_0x30138c['opacity']!=null?_0x30138c[_0x1695ce(0xe3)]:0x1;if(_0x2158a8[_0x1695ce(0xac)]>0x0){let _0x380596=_0x30138c[_0x1695ce(0xb4)]||0x1,_0x1f47c0=_0x30138c[_0x1695ce(0xac)]||_0x2158a8[_0x1695ce(0xac)]*_0x380596,_0x2f2282=_0x30138c[_0x1695ce(0xe4)]||_0x2158a8[_0x1695ce(0xe4)]*_0x380596;_0x1f47c0=_0x1f47c0*_0x445dfa[_0x1695ce(0xb7)],_0x2f2282=_0x2f2282*_0x445dfa['pixelRatio'];_0x30138c[_0x1695ce(0xc2)]&&(_0x1f47c0=_0x2158a8[_0x1695ce(0xac)],_0x2f2282=_0x2158a8[_0x1695ce(0xe4)]);let _0x4194df;switch((_0x427556=_0x30138c[_0x1695ce(0xb1)])===null||_0x427556===void 0x0?void 0x0:_0x427556[_0x1695ce(0xc5)]()){default:case _0x1695ce(0xca):_0x4194df=-_0x1f47c0/0x2;break;case _0x1695ce(0xec):_0x4194df=0x0;break;case'RIGHT':_0x4194df=-_0x1f47c0;break;}let _0x4b0c1b;switch((_0x34441b=_0x30138c[_0x1695ce(0xcc)])===null||_0x34441b===void 0x0?void 0x0:_0x34441b[_0x1695ce(0xc5)]()){default:case _0x1695ce(0xab):_0x4b0c1b=-_0x2f2282;break;case _0x1695ce(0xca):_0x4b0c1b=-_0x2f2282/0x2;break;case _0x1695ce(0xe2):_0x4b0c1b=0x0;break;}_0x2a93a4[_0x1695ce(0xe5)](_0x2158a8,_0x4194df,_0x4b0c1b,_0x1f47c0,_0x2f2282);}else _0x2a93a4[_0x1695ce(0xe5)](_0x2158a8,0x0,0x0);_0x2a93a4['restore']();}catch(_0x374aaa){_0x2a93a4[_0x1695ce(0xd7)](),console[_0x1695ce(0xdc)](_0x374aaa);}}
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 +1 @@
1
- (function(_0x8f02a7,_0x369710){var _0x2324e0=a75_0x354f,_0x4bd6e8=_0x8f02a7();while(!![]){try{var _0x381944=-parseInt(_0x2324e0(0xee))/0x1+parseInt(_0x2324e0(0x10f))/0x2+parseInt(_0x2324e0(0xe7))/0x3*(-parseInt(_0x2324e0(0x10c))/0x4)+parseInt(_0x2324e0(0xff))/0x5+parseInt(_0x2324e0(0xf3))/0x6*(-parseInt(_0x2324e0(0xed))/0x7)+-parseInt(_0x2324e0(0xf8))/0x8*(parseInt(_0x2324e0(0xf7))/0x9)+-parseInt(_0x2324e0(0x112))/0xa*(-parseInt(_0x2324e0(0xdd))/0xb);if(_0x381944===_0x369710)break;else _0x4bd6e8['push'](_0x4bd6e8['shift']());}catch(_0x1e1992){_0x4bd6e8['push'](_0x4bd6e8['shift']());}}}(a75_0x24bb,0xea960));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';function a75_0x24bb(){var _0x56271d=['opacity','color','stripe','translate','setZIndex','rgba(0,0,0,0.01)','beginPath','restore','canvas','3660151FUkIOz','repeat','fillType','setStroke','length','stroke','drawImage','moveTo','setText','repeatX','3IyqIcX','createPattern','rgba(0,0,0,0.0)','width','rgba(0,0,0,0)','repeatY','8827FeWNFA','748882xrVMdU','zIndex','outlineColor','CENTER','max','5322fQvHGo','oddColor','fillStyle','setRenderer','9tmPBAt','8110528Vjhyhq','stripe_oddcolor','createElement','verticalOrigin','grid','fill','height','6716730haqaeX','outlineOpacity','outlineWidth','billboard','grid_lineThickness','setFill','outline','globalAlpha','stripe_repeat','checkerboard_repeat','image','grid_lineCount','closePath','3685172EkUNyN','getContext','lineWidth','1516176ygPXRs','lineTo','src','80YMvgdz','strokeStyle','checkerboard'];a75_0x24bb=function(){return _0x56271d;};return a75_0x24bb();}function a75_0x354f(_0x22c8a,_0x4dd8d0){var _0x24bb4f=a75_0x24bb();return a75_0x354f=function(_0x354f08,_0x14388f){_0x354f08=_0x354f08-0xd6;var _0x18f308=_0x24bb4f[_0x354f08];return _0x18f308;},a75_0x354f(_0x22c8a,_0x4dd8d0);}import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x126c55,_0x300d6e,_0x52b709,_0x2d4779){var _0x500a66=a75_0x354f,_0x3e1806;let _0xa3a726=(_0x3e1806=_0x126c55[_0x500a66(0xef)])!==null&&_0x3e1806!==void 0x0?_0x3e1806:0x0,_0x41ece1=new Style();_0x41ece1[_0x500a66(0xd8)](_0xa3a726),_0x41ece1[_0x500a66(0x104)](new Fill({'color':_0x500a66(0xeb)}));if(_0x126c55[_0x500a66(0xfd)]!==![]){if(!_0x126c55[_0x500a66(0xdf)]||_0x126c55[_0x500a66(0xdf)]==='color')_0x41ece1['setFill'](new Fill({'color':getColor(_0x126c55[_0x500a66(0x116)],_0x126c55[_0x500a66(0x115)])}));else{if(_0x126c55['fillType']===_0x500a66(0x109))_0x41ece1[_0x500a66(0xf6)]((_0x16f676,_0x4cacec)=>{preLoadImageRenderFunction(_0x126c55,_0x16f676,_0x4cacec,_0x2d4779,_rendererFunction);});else _0x126c55[_0x500a66(0xdf)]==='grid'||_0x126c55[_0x500a66(0xdf)]==='stripe'||_0x126c55[_0x500a66(0xdf)]==='checkerboard'?_0x41ece1[_0x500a66(0xf6)]((_0x570fb9,_0x54c4c4)=>{_rendererFunction(_0x126c55,_0x570fb9,_0x54c4c4,_0x2d4779,null);}):_0x41ece1[_0x500a66(0x104)](new Fill({'color':getColor(_0x126c55[_0x500a66(0x116)],_0x126c55['opacity'])}));}}_0x126c55[_0x500a66(0x105)]!==![]&&_0x41ece1[_0x500a66(0xe0)](new Stroke({'color':getColor(_0x126c55[_0x500a66(0xf0)],_0x126c55['outlineOpacity']),'width':_0x126c55['outlineWidth']}));let _0x103187=[_0x41ece1];_0x126c55['billboard']&&!_0x126c55[_0x500a66(0x102)][_0x500a66(0xfb)]&&(_0x126c55['billboard'][_0x500a66(0xfb)]=_0x500a66(0xf1));let _0x4af249=getImageOlStyle(_0x126c55['billboard'],_0xa3a726,_0x52b709,_0x2d4779);_0x4af249&&_0x103187['push'](_0x4af249);if(_0x300d6e){const _0x1872e7=createTextStyle(_0x126c55,_0x300d6e,_0x52b709,_0x2d4779);_0x1872e7&&(_0x41ece1[_0x500a66(0xe5)](_0x1872e7),_0x41ece1['setZIndex'](Number(_0xa3a726)+0x1));}return _0x103187;}function _rendererFunction(_0x2965c8,_0xef113a,_0x34af9f,_0x3db8cd,_0x41192c){var _0x391b55=a75_0x354f;try{var _0x33f6a4=_0x34af9f['context'];for(var _0x218c6d=0x0,_0x35f272=_0xef113a[_0x391b55(0xe1)];_0x218c6d<_0x35f272;_0x218c6d++){_0x33f6a4['save'](),_0x33f6a4[_0x391b55(0xda)]();var _0x2c1c69=_0xef113a[_0x218c6d];let _0x41c85c=boundingExtent(_0x2c1c69);_0x33f6a4[_0x391b55(0xd7)](_0x41c85c[0x0],_0x41c85c[0x1]);let _0x5c5665;switch(_0x2965c8[_0x391b55(0xdf)]){case _0x391b55(0x109):_0x5c5665=_getImagePattern(_0x33f6a4,_0x41c85c,_0x2965c8,_0x41192c);break;case _0x391b55(0xfc):_0x5c5665=_getGridPattern(_0x33f6a4,_0x41c85c,_0x2965c8);break;case _0x391b55(0xd6):_0x5c5665=_getStripePattern(_0x33f6a4,_0x41c85c,_0x2965c8);break;case _0x391b55(0x114):_0x5c5665=_getCheckerBoardPattern(_0x33f6a4,_0x41c85c,_0x2965c8);break;default:_0x5c5665=_0x391b55(0xd9);break;}for(var _0x2ff82a=0x0,_0x2a86ac=_0x2c1c69[_0x391b55(0xe1)];_0x2ff82a<_0x2a86ac;_0x2ff82a++){var _0xb94cd8=_0x2c1c69[_0x2ff82a];_0x2ff82a===0x0?_0x33f6a4[_0x391b55(0xe4)](_0xb94cd8[0x0]-_0x41c85c[0x0],_0xb94cd8[0x1]-_0x41c85c[0x1]):_0x33f6a4[_0x391b55(0x110)](_0xb94cd8[0x0]-_0x41c85c[0x0],_0xb94cd8[0x1]-_0x41c85c[0x1]);}_0x33f6a4[_0x391b55(0x10b)](),_0x33f6a4[_0x391b55(0xf5)]=_0x391b55(0xd9),_0x33f6a4[_0x391b55(0xfd)](),_0x33f6a4[_0x391b55(0xf5)]=_0x5c5665,_0x33f6a4[_0x391b55(0xfd)](),_0x2965c8[_0x391b55(0x105)]?(_0x33f6a4[_0x391b55(0x113)]=getColor(_0x2965c8['outlineColor'],_0x2965c8[_0x391b55(0x100)]),_0x33f6a4[_0x391b55(0x10e)]=_0x2965c8[_0x391b55(0x101)]):_0x33f6a4[_0x391b55(0x113)]=_0x391b55(0xe9),_0x33f6a4[_0x391b55(0xe2)](),_0x33f6a4[_0x391b55(0xdb)]();}}catch(_0x5e72eb){_0x33f6a4[_0x391b55(0xdb)](),console['warn'](_0x5e72eb);}}function _getImagePattern(_0x21076a,_0x132645,_0x4636a2,_0x5246f4){var _0x5a0632=a75_0x354f;if(!_0x5246f4||_0x5246f4['width']===0x0){let _0x125cc3=new Image();_0x125cc3[_0x5a0632(0x111)]=_0x4636a2[_0x5a0632(0x109)];}var _0xe32c72=getSize(_0x132645);const _0x2c3e63=document[_0x5a0632(0xfa)]('canvas'),_0x31a4cf=_0x2c3e63[_0x5a0632(0x10d)]('2d');return _0x2c3e63['width']=Math[_0x5a0632(0xf2)](_0xe32c72[0x0]/_0x4636a2[_0x5a0632(0xe6)],0x1),_0x2c3e63['height']=Math[_0x5a0632(0xf2)](_0xe32c72[0x1]/_0x4636a2[_0x5a0632(0xec)],0x1),_0x31a4cf&&(_0x31a4cf[_0x5a0632(0x106)]=_0x4636a2[_0x5a0632(0x115)],_0x31a4cf[_0x5a0632(0xe3)](_0x5246f4,0x0,0x0,_0x2c3e63['width'],_0x2c3e63['height'])),_0x21076a[_0x5a0632(0xe8)](_0x2c3e63,_0x5a0632(0xde));}function _getGridPattern(_0x3e617b,_0x2270dd,_0x525075){var _0x3519a9=a75_0x354f,_0x3aa763=getSize(_0x2270dd);const _0x14d19f=document[_0x3519a9(0xfa)]('canvas'),_0x336f15=_0x14d19f['getContext']('2d');return _0x14d19f['width']=Math[_0x3519a9(0xf2)](_0x3aa763[0x0]/_0x525075[_0x3519a9(0x10a)],0x1),_0x14d19f[_0x3519a9(0xfe)]=Math[_0x3519a9(0xf2)](_0x3aa763[0x1]/_0x525075[_0x3519a9(0x10a)],0x1),_0x336f15&&(_0x336f15[_0x3519a9(0x113)]=getColor(_0x525075[_0x3519a9(0x116)],_0x525075['opacity']),_0x336f15[_0x3519a9(0x10e)]=_0x525075[_0x3519a9(0x103)]*0x4,_0x336f15[_0x3519a9(0xda)](),_0x336f15[_0x3519a9(0xe4)](0x0,_0x14d19f[_0x3519a9(0xfe)]),_0x336f15[_0x3519a9(0x110)](_0x14d19f[_0x3519a9(0xea)],_0x14d19f['height']),_0x336f15[_0x3519a9(0xe4)](_0x14d19f['width'],0x0),_0x336f15[_0x3519a9(0x110)](_0x14d19f[_0x3519a9(0xea)],_0x14d19f[_0x3519a9(0xfe)]),_0x336f15['stroke']()),_0x3e617b['createPattern'](_0x14d19f,'repeat');}function _getStripePattern(_0x210592,_0x2c120c,_0x3df551){var _0x76b173=a75_0x354f,_0x17a7ac=getSize(_0x2c120c);const _0xf52e93=document['createElement']('canvas'),_0x231498=_0xf52e93[_0x76b173(0x10d)]('2d');let _0x24dbfa=Math['max'](_0x17a7ac[0x1]/_0x3df551[_0x76b173(0x107)],0x1);return _0xf52e93[_0x76b173(0xea)]=_0x17a7ac[0x0],_0xf52e93['height']=_0x24dbfa*0x2,_0x231498&&(_0x231498[_0x76b173(0xda)](),_0x231498[_0x76b173(0xe4)](0x0,0x0),_0x231498[_0x76b173(0x110)](_0xf52e93['width'],0x0),_0x231498[_0x76b173(0x110)](_0xf52e93[_0x76b173(0xea)],_0x24dbfa),_0x231498[_0x76b173(0x110)](0x0,_0x24dbfa),_0x231498['closePath'](),_0x231498[_0x76b173(0xf5)]=getColor(_0x3df551[_0x76b173(0xf9)],_0x3df551[_0x76b173(0x115)]),_0x231498[_0x76b173(0xfd)](),_0x231498[_0x76b173(0xda)](),_0x231498[_0x76b173(0xe4)](0x0,_0x24dbfa),_0x231498['lineTo'](_0xf52e93[_0x76b173(0xea)],_0x24dbfa),_0x231498[_0x76b173(0x110)](_0xf52e93[_0x76b173(0xea)],_0x24dbfa*0x2),_0x231498[_0x76b173(0x110)](0x0,_0x24dbfa*0x2),_0x231498['closePath'](),_0x231498[_0x76b173(0xf5)]=getColor(_0x3df551['color'],_0x3df551[_0x76b173(0x115)]),_0x231498['fill']()),_0x210592[_0x76b173(0xe8)](_0xf52e93,_0x76b173(0xde));}function _getCheckerBoardPattern(_0x495a7a,_0x806354,_0x413ad4){var _0x187afd=a75_0x354f,_0x10089a=getSize(_0x806354);const _0x149d50=document[_0x187afd(0xfa)](_0x187afd(0xdc)),_0xf0a58c=_0x149d50['getContext']('2d');let _0x13d86f=Math['max'](_0x10089a[0x0]/_0x413ad4[_0x187afd(0x108)],0x1),_0x4376ff=Math[_0x187afd(0xf2)](_0x10089a[0x1]/_0x413ad4[_0x187afd(0x108)],0x1);return _0x149d50['width']=_0x13d86f*0x2,_0x149d50[_0x187afd(0xfe)]=_0x4376ff*0x2,_0xf0a58c&&(_0xf0a58c[_0x187afd(0xda)](),_0xf0a58c[_0x187afd(0xe4)](0x0,0x0),_0xf0a58c['lineTo'](_0x13d86f,0x0),_0xf0a58c['lineTo'](_0x13d86f,_0x4376ff),_0xf0a58c[_0x187afd(0x110)](0x0,_0x4376ff),_0xf0a58c['closePath'](),_0xf0a58c[_0x187afd(0xf5)]=getColor(_0x413ad4[_0x187afd(0xf4)],_0x413ad4[_0x187afd(0x115)]),_0xf0a58c[_0x187afd(0xfd)](),_0xf0a58c[_0x187afd(0xda)](),_0xf0a58c['moveTo'](_0x13d86f,0x0),_0xf0a58c[_0x187afd(0x110)](_0x149d50[_0x187afd(0xea)],0x0),_0xf0a58c[_0x187afd(0x110)](_0x149d50['width'],_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x13d86f,_0x4376ff),_0xf0a58c[_0x187afd(0x10b)](),_0xf0a58c[_0x187afd(0xf5)]=getColor(_0x413ad4['color'],_0x413ad4['opacity']),_0xf0a58c[_0x187afd(0xfd)](),_0xf0a58c[_0x187afd(0xda)](),_0xf0a58c['moveTo'](0x0,_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x13d86f,_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x13d86f,_0x149d50['height']),_0xf0a58c[_0x187afd(0x110)](0x0,_0x149d50[_0x187afd(0xfe)]),_0xf0a58c[_0x187afd(0x10b)](),_0xf0a58c[_0x187afd(0xf5)]=getColor(_0x413ad4[_0x187afd(0x116)],_0x413ad4[_0x187afd(0x115)]),_0xf0a58c[_0x187afd(0xfd)](),_0xf0a58c[_0x187afd(0xda)](),_0xf0a58c[_0x187afd(0xe4)](_0x13d86f,_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x149d50[_0x187afd(0xea)],_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x149d50[_0x187afd(0xea)],_0x149d50['height']),_0xf0a58c[_0x187afd(0x110)](_0x13d86f,_0x149d50[_0x187afd(0xfe)]),_0xf0a58c[_0x187afd(0x10b)](),_0xf0a58c[_0x187afd(0xf5)]=getColor(_0x413ad4[_0x187afd(0xf4)],_0x413ad4['opacity']),_0xf0a58c[_0x187afd(0xfd)]()),_0x495a7a[_0x187afd(0xe8)](_0x149d50,'repeat');}
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 +1 @@
1
- (function(_0x5c0397,_0x5d716b){const _0x5b7aa9=a76_0x4589,_0x374954=_0x5c0397();while(!![]){try{const _0x4baa21=-parseInt(_0x5b7aa9(0xb1))/0x1*(parseInt(_0x5b7aa9(0x8c))/0x2)+parseInt(_0x5b7aa9(0x97))/0x3*(-parseInt(_0x5b7aa9(0xa6))/0x4)+parseInt(_0x5b7aa9(0x83))/0x5*(-parseInt(_0x5b7aa9(0x9b))/0x6)+-parseInt(_0x5b7aa9(0x86))/0x7+-parseInt(_0x5b7aa9(0x93))/0x8*(parseInt(_0x5b7aa9(0xb5))/0x9)+-parseInt(_0x5b7aa9(0xa5))/0xa+parseInt(_0x5b7aa9(0xb6))/0xb*(parseInt(_0x5b7aa9(0x8d))/0xc);if(_0x4baa21===_0x5d716b)break;else _0x374954['push'](_0x374954['shift']());}catch(_0x17a768){_0x374954['push'](_0x374954['shift']());}}}(a76_0xc21e,0x34db4));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';function a76_0x4589(_0x17a0ed,_0x1807c5){const _0xc21eb5=a76_0xc21e();return a76_0x4589=function(_0x458900,_0x15c6a8){_0x458900=_0x458900-0x82;let _0x3be46b=_0xc21eb5[_0x458900];return _0x3be46b;},a76_0x4589(_0x17a0ed,_0x1807c5);}function a76_0xc21e(){const _0x2531a4=['getCoordinates','color','opacity','toString','getGeometry','getFirstCoordinate','lineType','248804xsDaip','stroke','outline','moveTo','12537pmlzsa','11bxUDwW','lineTo','save','448520AKpBte','setRenderer','butt','435666lVeOcg','width','pow','dash','outlineOpacity','length','2XKQNMD','11784768Gbczsx','zIndex','beginPath','outlineColor','label','glowPower','112dnDLGb','lineWidth','atan2','sin','6iJjYEk','strokeStyle','setGeometry','restore','6JUqLOr','push','getFlatMidpoints','getType','sqrt','lineCap','arrow','context','LineString','white','2853040BEnesb','120024kCrWou','outlineWidth','cos','shadowBlur'];a76_0xc21e=function(){return _0x2531a4;};return a76_0xc21e();}import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x2ffd4f,_0x22aca5,_0x48440a,_0xcd230d){const _0x5bf69f=a76_0x4589;var _0x53c702,_0x554c78,_0x55bff9;let _0x3a37a9=(_0x53c702=_0x2ffd4f[_0x5bf69f(0x8e)])!==null&&_0x53c702!==void 0x0?_0x53c702:0x0;const _0x5a8a3e=_0x9dc042=>{var _0x227b39=_0x9dc042['getGeometry']();if(_0x227b39)return _getRealPolyline(_0x227b39,_0x2ffd4f);return _0x227b39;},_0x24fa83=_0x4b1381=>{const _0x19742d=_0x5bf69f;var _0x4da05f=_0x4b1381[_0x19742d(0xae)]();let _0x103293=_0x4da05f;_0x4da05f&&(_0x103293=_getRealPolyline(_0x4da05f,_0x2ffd4f));if(_0x103293&&_0x103293[_0x19742d(0x9e)]()===_0x19742d(0xa3))return new Point(_0x103293['getFlatMidpoint']());else{let _0x58067b=_0x103293[_0x19742d(0x9d)](),_0x5c0d5a=0x2,_0x496b9b=[];for(let _0x54590b=0x0,_0xcf16d8=_0x58067b['length'];_0x54590b<_0xcf16d8;_0x54590b+=_0x5c0d5a){let _0x112c86=[_0x58067b[_0x54590b],_0x58067b[_0x54590b+0x1]];_0x496b9b['push'](_0x112c86);}return new MultiPoint(_0x496b9b);}};let _0xca0ece=new Style({'geometry':_0x5a8a3e,'stroke':new Stroke({'color':getColor(_0x2ffd4f[_0x5bf69f(0x90)],_0x2ffd4f[_0x5bf69f(0x8a)]),'width':_0x2ffd4f[_0x5bf69f(0xa7)]}),'zIndex':_0x3a37a9}),_0x5db9c2=[_0xca0ece];if(_0x2ffd4f[_0x5bf69f(0xb0)]===_0x5bf69f(0x89)){let _0x333b64=_0x2ffd4f['outlineWidth']/0x2,_0x5ec24e=new Style({'geometry':_0x5a8a3e,'zIndex':_0x3a37a9,'stroke':new Stroke({'color':getColor(_0x2ffd4f['color'],_0x2ffd4f[_0x5bf69f(0xac)]),'width':_0x2ffd4f[_0x5bf69f(0x87)],'lineCap':'butt','lineDash':[_0x333b64,_0x333b64]})}),_0x57f119=new Style({'geometry':_0x5a8a3e,'zIndex':_0x3a37a9+0.5,'stroke':new Stroke({'color':getColor(_0x2ffd4f[_0x5bf69f(0x90)],Number((_0x55bff9=(_0x554c78=_0x2ffd4f[_0x5bf69f(0x8a)])!==null&&_0x554c78!==void 0x0?_0x554c78:_0x2ffd4f[_0x5bf69f(0xac)])!==null&&_0x55bff9!==void 0x0?_0x55bff9:0x1)),'width':_0x2ffd4f[_0x5bf69f(0x87)],'lineCap':_0x5bf69f(0x85),'lineDash':[_0x333b64,_0x333b64],'lineDashOffset':_0x333b64})});_0x5db9c2=[_0x5ec24e,_0x57f119];}_0x2ffd4f['lineType']===_0x5bf69f(0xa1)&&_0xca0ece[_0x5bf69f(0x84)]((_0x391e81,_0x5cf984)=>{const _0x16e18b=_0x5bf69f;let _0x21d19e=_0x5cf984[_0x16e18b(0xa2)],_0xf0a921=parseInt((_0x2ffd4f[_0x16e18b(0x87)]/0x4)[_0x16e18b(0xad)]()),_0x33976e=0xa,_0x45b220=Math[_0x16e18b(0x9f)](Math['pow'](_0x33976e,0x2)+Math[_0x16e18b(0x88)](_0x2ffd4f[_0x16e18b(0x87)]/0x2,0x2)),_0x44d5b8=0x2d,_0x14a13f=_0x391e81[_0x391e81[_0x16e18b(0x8b)]-0x2][0x0],_0x1df993=_0x391e81[_0x391e81[_0x16e18b(0x8b)]-0x2][0x1],_0x47c6fe=_0x391e81[_0x391e81['length']-0x1][0x0],_0xb5b605=_0x391e81[_0x391e81['length']-0x1][0x1],_0xe50bf4=Math[_0x16e18b(0x95)](_0x1df993-_0xb5b605,_0x14a13f-_0x47c6fe)*0xb4/Math['PI'],_0x4825c0=(_0xe50bf4+_0x44d5b8)*Math['PI']/0xb4,_0x300710=(_0xe50bf4-_0x44d5b8)*Math['PI']/0xb4,_0x244b4c=_0x45b220*Math[_0x16e18b(0xa8)](_0x4825c0),_0x18fa4e=_0x45b220*Math[_0x16e18b(0x96)](_0x4825c0),_0x1d7283=_0x45b220*Math['cos'](_0x300710),_0x86b34=_0x45b220*Math[_0x16e18b(0x96)](_0x300710);_0x21d19e[_0x16e18b(0x82)](),_0x21d19e[_0x16e18b(0x8f)]();let _0x4f50af,_0x205569;for(let _0x25e014=0x0;_0x25e014<_0x391e81[_0x16e18b(0x8b)];_0x25e014++){_0x25e014===0x0?_0x21d19e[_0x16e18b(0xb4)](_0x391e81[_0x25e014][0x0],_0x391e81[_0x25e014][0x1]):_0x21d19e['lineTo'](_0x391e81[_0x25e014][0x0],_0x391e81[_0x25e014][0x1]);}_0x21d19e[_0x16e18b(0x98)]=getColor(_0x2ffd4f[_0x16e18b(0xab)],_0x2ffd4f[_0x16e18b(0xac)]),_0x21d19e[_0x16e18b(0x94)]=_0xf0a921,_0x21d19e[_0x16e18b(0xa0)]=_0x16e18b(0x85),_0x21d19e[_0x16e18b(0xb2)](),_0x4f50af=_0x47c6fe+_0x244b4c,_0x205569=_0xb5b605+_0x18fa4e,_0x21d19e['moveTo'](_0x4f50af,_0x205569),_0x21d19e[_0x16e18b(0xb7)](_0x47c6fe,_0xb5b605),_0x4f50af=_0x47c6fe+_0x1d7283,_0x205569=_0xb5b605+_0x86b34,_0x21d19e[_0x16e18b(0xb7)](_0x4f50af,_0x205569),_0x21d19e[_0x16e18b(0xa0)]=_0x16e18b(0x85),_0x21d19e[_0x16e18b(0xb2)](),_0x21d19e[_0x16e18b(0x9a)]();});_0x2ffd4f[_0x5bf69f(0xb0)]==='glow'&&_0xca0ece[_0x5bf69f(0x84)]((_0x3f351f,_0x4db31b)=>{const _0x5c0e67=_0x5bf69f;let _0x22b1cc=_0x4db31b[_0x5c0e67(0xa2)];_0x22b1cc[_0x5c0e67(0x82)]();for(let _0x1825b2=0x0;_0x1825b2<0x4;_0x1825b2++){let _0x42d565=_0x2ffd4f['width']/0xa*(_0x2ffd4f[_0x5c0e67(0x92)]===0x0?0x1:_0x2ffd4f['glowPower']);_0x22b1cc['shadowColor']=getColor(_0x2ffd4f['color'],_0x2ffd4f['opacity']),_0x22b1cc[_0x5c0e67(0xa9)]=_0x2ffd4f[_0x5c0e67(0x87)]/0x5*0x2,_0x22b1cc['beginPath']();for(let _0xf5b00b=0x0;_0xf5b00b<_0x3f351f[_0x5c0e67(0x8b)];_0xf5b00b++){_0xf5b00b===0x0?_0x22b1cc[_0x5c0e67(0xb4)](_0x3f351f[_0xf5b00b][0x0],_0x3f351f[_0xf5b00b][0x1]):_0x22b1cc[_0x5c0e67(0xb7)](_0x3f351f[_0xf5b00b][0x0],_0x3f351f[_0xf5b00b][0x1]);}_0x22b1cc[_0x5c0e67(0xa0)]=_0x5c0e67(0x85),_0x22b1cc[_0x5c0e67(0x94)]=_0x42d565,_0x22b1cc['strokeStyle']=getColor(_0x5c0e67(0xa4),_0x2ffd4f[_0x5c0e67(0xac)]),_0x22b1cc[_0x5c0e67(0xb2)]();}_0x22b1cc[_0x5c0e67(0x9a)]();});_0x2ffd4f[_0x5bf69f(0xb0)]===_0x5bf69f(0xb3)&&_0xca0ece['setRenderer']((_0x55c66c,_0x1e8d6c)=>{const _0x1fe149=_0x5bf69f;let _0x3151c9=_0x1e8d6c['context'];_0x3151c9[_0x1fe149(0x82)](),_0x3151c9[_0x1fe149(0x8f)]();for(let _0x195029=0x0;_0x195029<_0x55c66c[_0x1fe149(0x8b)];_0x195029++){_0x195029===0x0?_0x3151c9[_0x1fe149(0xb4)](_0x55c66c[_0x195029][0x0],_0x55c66c[_0x195029][0x1]):_0x3151c9['lineTo'](_0x55c66c[_0x195029][0x0],_0x55c66c[_0x195029][0x1]);}_0x3151c9[_0x1fe149(0xa0)]=_0x1fe149(0x85),_0x3151c9['lineWidth']=_0x2ffd4f[_0x1fe149(0x87)],_0x3151c9['strokeStyle']=getColor(_0x2ffd4f['outlineColor'],_0x2ffd4f['opacity']),_0x3151c9[_0x1fe149(0xb2)](),_0x3151c9[_0x1fe149(0x8f)]();for(let _0x1d418a=0x0;_0x1d418a<_0x55c66c[_0x1fe149(0x8b)];_0x1d418a++){_0x1d418a===0x0?_0x3151c9[_0x1fe149(0xb4)](_0x55c66c[_0x1d418a][0x0],_0x55c66c[_0x1d418a][0x1]):_0x3151c9[_0x1fe149(0xb7)](_0x55c66c[_0x1d418a][0x0],_0x55c66c[_0x1d418a][0x1]);}_0x3151c9[_0x1fe149(0xa0)]=_0x1fe149(0x85),_0x2ffd4f[_0x1fe149(0xa7)]>=_0x2ffd4f[_0x1fe149(0x87)]&&(_0x2ffd4f['outlineWidth']=_0x2ffd4f[_0x1fe149(0x87)]-0x1),_0x3151c9['lineWidth']=_0x2ffd4f[_0x1fe149(0x87)]-_0x2ffd4f[_0x1fe149(0xa7)],_0x3151c9['strokeStyle']=getColor(_0x2ffd4f[_0x1fe149(0xab)],_0x2ffd4f['opacity']),_0x3151c9[_0x1fe149(0xb2)](),_0x3151c9[_0x1fe149(0x9a)]();});let _0x1d9407=getImageOlStyle(_0x2ffd4f['billboard'],_0x3a37a9,_0x48440a,_0xcd230d);_0x1d9407&&(_0x1d9407[_0x5bf69f(0x99)](_0x24fa83),_0x5db9c2['push'](_0x1d9407));if(_0x2ffd4f['label']&&_0x2ffd4f[_0x5bf69f(0x91)]['show']!==![]){let _0x4827b3=new Style({'geometry':_0x24fa83,'text':createTextStyle(_0x2ffd4f[_0x5bf69f(0x91)],_0x22aca5,_0x48440a,_0xcd230d),'zIndex':Number(_0x3a37a9)+0x1});_0x5db9c2[_0x5bf69f(0x9c)](_0x4827b3);}return _0x5db9c2;}function _getRealPolyline(_0x9075de,_0x323368){const _0x57cd7f=a76_0x4589;if(!(_0x323368===null||_0x323368===void 0x0?void 0x0:_0x323368['closed']))return _0x9075de;else{if(_0x9075de['getType']()==='MultiLineString'){let _0x2d4e2b=_0x9075de[_0x57cd7f(0xaa)]();for(let _0x656d61 in _0x2d4e2b){let _0x473b27=_0x2d4e2b[_0x656d61];_0x2d4e2b[_0x656d61]=_0x473b27['concat']([_0x473b27[0x0]]);}return new MultiLineString(_0x2d4e2b);}else return new LineString(_0x9075de[_0x57cd7f(0xaa)]()['concat']([_0x9075de[_0x57cd7f(0xaf)]()]));}}
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 +1 @@
1
- (function(_0x5892ea,_0x1e4027){const _0x3e29ad=a77_0x5b18,_0xb2b137=_0x5892ea();while(!![]){try{const _0x1ae80a=-parseInt(_0x3e29ad(0x1b9))/0x1*(-parseInt(_0x3e29ad(0x1c2))/0x2)+parseInt(_0x3e29ad(0x1c8))/0x3+parseInt(_0x3e29ad(0x1b5))/0x4+parseInt(_0x3e29ad(0x1be))/0x5+parseInt(_0x3e29ad(0x1cb))/0x6+parseInt(_0x3e29ad(0x1ce))/0x7*(parseInt(_0x3e29ad(0x1cd))/0x8)+parseInt(_0x3e29ad(0x1c3))/0x9*(-parseInt(_0x3e29ad(0x1ca))/0xa);if(_0x1ae80a===_0x1e4027)break;else _0xb2b137['push'](_0xb2b137['shift']());}catch(_0x11e27b){_0xb2b137['push'](_0xb2b137['shift']());}}}(a77_0x1bc4,0xe7487));import a77_0x5767a1 from'ol/style/Circle';import a77_0x3d94d5 from'ol/style/Fill';import a77_0x519045 from'ol/style/Stroke';import a77_0x5210ff from'ol/style/Style';function a77_0x5b18(_0x1e091b,_0x3a939d){const _0x1bc413=a77_0x1bc4();return a77_0x5b18=function(_0x5b1887,_0x5d862f){_0x5b1887=_0x5b1887-0x1b4;let _0x31c4dc=_0x1bc413[_0x5b1887];return _0x31c4dc;},a77_0x5b18(_0x1e091b,_0x3a939d);}import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x4c2ba5=a77_0x5b18;return new a77_0x5210ff({'image':new a77_0x5767a1({'radius':0x5,'fill':new a77_0x3d94d5({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a77_0x519045({'color':_0x4c2ba5(0x1c1),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x1eab4d=a77_0x5b18;return new a77_0x5210ff({'image':new a77_0x5767a1({'radius':0x5,'fill':new a77_0x3d94d5({'color':_0x1eab4d(0x1c5)}),'stroke':new a77_0x519045({'color':_0x1eab4d(0x1c1),'width':0x1})})});}export function getSelectLineStyle(){const _0x52b2f9=a77_0x5b18;return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x52b2f9(0x1c1),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x47b180=a77_0x5b18;return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x47b180(0x1c6),'width':0x2})});}export function getSelectPolygonStyle(){const _0x212447=a77_0x5b18;return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x212447(0x1c1),'width':0x2}),'fill':new a77_0x3d94d5({'color':_0x212447(0x1b7)})});}export function getSelectCancelPolygonStyle(){const _0x78c134=a77_0x5b18;return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x78c134(0x1c6),'width':0x2}),'fill':new a77_0x3d94d5({'color':_0x78c134(0x1c7)})});}export function getStyle(_0x13bdcb){const _0x495348=a77_0x5b18;if(_0x13bdcb){const _0x2d8d6b=new a77_0x5210ff();if(_0x13bdcb[_0x495348(0x1ba)]){const _0x133348=createTextStyle(_0x13bdcb,_0x13bdcb[_0x495348(0x1ba)]);_0x133348&&_0x2d8d6b[_0x495348(0x1cf)](_0x133348),_0x2d8d6b[_0x495348(0x1c9)](0x1);}return _0x13bdcb['outlineColor']&&_0x2d8d6b[_0x495348(0x1d0)](new a77_0x519045({'color':getColor(_0x13bdcb['outlineColor'],_0x13bdcb[_0x495348(0x1d2)]),'width':_0x13bdcb[_0x495348(0x1c0)]||0x1})),_0x13bdcb['color']&&_0x2d8d6b[_0x495348(0x1b4)](new a77_0x3d94d5({'color':getColor(_0x13bdcb['color'],_0x13bdcb[_0x495348(0x1c4)])})),_0x13bdcb[_0x495348(0x1d3)]=='circle'&&_0x2d8d6b[_0x495348(0x1bd)](new a77_0x5767a1({'radius':_0x13bdcb[_0x495348(0x1b8)]||0x5,'fill':new a77_0x3d94d5({'color':getColor(_0x13bdcb['color'],_0x13bdcb['opacity'])})})),(_0x13bdcb['pointType']=='icon'||_0x13bdcb['imgurl'])&&_0x2d8d6b[_0x495348(0x1bd)](new Icon({'src':_0x13bdcb['imgurl'],'anchor':_0x13bdcb[_0x495348(0x1bb)]||[0.5,0.5],'scale':_0x13bdcb[_0x495348(0x1bf)]||0x1,'rotation':_0x13bdcb[_0x495348(0x1b6)]||0x0})),_0x2d8d6b;}return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x495348(0x1c1),'width':0x2}),'fill':new a77_0x3d94d5({'color':_0x495348(0x1b7)})});}function a77_0x1bc4(){const _0x170530=['Polygon','MultiPoint','setFill','7103928pWwAUM','rotation','rgba(121,\x20243,\x20238,\x200.3)','radius','59618boWNcF','text','anchor','MultiPolygon','setImage','6031220yyOFqX','scale','outlineWidth','rgba(121,\x20243,\x20238,\x201)','6QEAwfH','55724616EhIBjZ','opacity','rgba(121,\x20243,\x20238,\x200)','rgba(0,\x20255,0,\x201)','rgba(0,\x20255,0,\x200)','2092104NbURJV','setZIndex','10YXJPrc','9354894oBhzAH','MultiLineString','8NhJVkt','12049534rIOZhz','setText','setStroke','LineString','outlineOpacity','pointType'];a77_0x1bc4=function(){return _0x170530;};return a77_0x1bc4();}export function getSelectStyle(_0x1264a9){const _0x25be43=a77_0x5b18;let _0x9fe15c=getSelectPolygonStyle();switch(_0x1264a9){case _0x25be43(0x1bc):case _0x25be43(0x1d4):_0x9fe15c=getSelectPolygonStyle();break;case _0x25be43(0x1cc):case _0x25be43(0x1d1):_0x9fe15c=getSelectLineStyle();break;case _0x25be43(0x1d5):case'Point':_0x9fe15c=getSelectPointStyle();break;default:break;}return _0x9fe15c;}
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();}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x136084,_0x559e75){const _0x1bf58a=a73_0x4895,_0x48eb04=_0x136084();while(!![]){try{const _0x451449=-parseInt(_0x1bf58a(0xc5))/0x1+parseInt(_0x1bf58a(0xba))/0x2*(-parseInt(_0x1bf58a(0xac))/0x3)+-parseInt(_0x1bf58a(0xb4))/0x4+-parseInt(_0x1bf58a(0xc4))/0x5+-parseInt(_0x1bf58a(0xc8))/0x6*(-parseInt(_0x1bf58a(0xa1))/0x7)+-parseInt(_0x1bf58a(0xb0))/0x8+parseInt(_0x1bf58a(0xa7))/0x9;if(_0x451449===_0x559e75)break;else _0x48eb04['push'](_0x48eb04['shift']());}catch(_0x2a4477){_0x48eb04['push'](_0x48eb04['shift']());}}}(a73_0x1d2d,0xe90ef));import a73_0x507239 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a73_0xbdce9f from'../utils/plug/canvas/PinIcon';import a73_0x4d69e4 from'ol/ImageState';export function isShowStyle(_0x2c4902,_0x3db9f8,_0x39abd7){const _0x2ec2fa=a73_0x4895;let _0x158ab9=!![];if(_0x3db9f8==undefined||_0x39abd7==undefined)return _0x158ab9;if(_0x2c4902&&typeof _0x2c4902['distanceDisplayFar']!=undefined&&typeof _0x2c4902[_0x2ec2fa(0xb9)]!=undefined){if(_0x2c4902[_0x2ec2fa(0xc3)]&&_0x39abd7){_0x158ab9=![];let _0x534d94=getLevel(_0x2c4902[_0x2ec2fa(0xc3)]),_0x1a2556=_0x39abd7[_0x2ec2fa(0xc6)]()[_0x2ec2fa(0xa9)](_0x534d94);_0x3db9f8<_0x1a2556&&(_0x158ab9=!![]);}if(_0x158ab9&&_0x2c4902[_0x2ec2fa(0xb9)]&&_0x39abd7){_0x158ab9=![];let _0x48ccbd=getLevel(_0x2c4902[_0x2ec2fa(0xb9)]),_0x252349=_0x39abd7[_0x2ec2fa(0xc6)]()[_0x2ec2fa(0xa9)](_0x48ccbd);_0x3db9f8>_0x252349&&(_0x158ab9=!![]);}}return _0x158ab9;}function a73_0x1d2d(){const _0x1f385d=['762078caVwSa','haloColor','#2A2A2A','IDLE','10489448AfOFMB','listenImageChange','bold','middle','2688900NEPoqS','font','normal','backgroundColor','borderLineColor','distanceDisplayNear','12iyFfob','LOADED','size','markerColor','load','offsetY','textBaseline','family','getImage','distanceDisplayFar','8888445UofMjU','1749237poFScw','getView','alpha','10182tIhPQJ','haloWidth','italic','borderLineWidth','ERROR','3829QfQjpu','offsetX','image','pow','center','#000000','63547524kuYlWt','textAlign','getResolutionForZoom','opacity','weight'];a73_0x1d2d=function(){return _0x1f385d;};return a73_0x1d2d();}export function getLevel(_0x5e5862){const _0x5ec754=a73_0x4895,_0x5dde16=3252.745,_0x4edbc3=0.0009198301,_0x2a9bd9=52977.61,_0x277d51=-3228.107;return _0x277d51+(_0x5dde16-_0x277d51)/(0x1+Math[_0x5ec754(0xa4)](_0x5e5862/_0x2a9bd9,_0x4edbc3));}export function toRadians(_0x39a3d2){if(_0x39a3d2)return-(_0x39a3d2*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x5e6337,_0x32fb8c,_0x27e7aa,_0x383ee6){const _0x845324=a73_0x4895;var _0x5b5340,_0x13f608,_0x40af12,_0x4d7467,_0x3d9bff,_0x269a13,_0x5a369e,_0x30c6b7;if(_0x5e6337){let _0x4e506c=isShowStyle(_0x5e6337,_0x27e7aa,_0x383ee6);if(_0x4e506c===![])return undefined;else{const _0x559fa2=_0x5e6337[_0x845324(0xb5)],_0x1ea9e4=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2['italic'])?_0x845324(0xca):_0x845324(0xb6),_0x1b9843=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xab)])?_0x845324(0xb2):_0x845324(0xb6),_0x2dabb3=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xbc)])||'25',_0x51c276=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xc1)])||'楷体';let _0x337516=_0x1ea9e4+'\x20normal\x20'+_0x1b9843+'\x20'+_0x2dabb3+'px\x20'+_0x51c276,_0x45421a=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xa2)])||0x0,_0x5a81f0=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xbf)])||0x0,_0x29f50e=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xc0)])||_0x845324(0xb3),_0x5c4545=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xa8)])||_0x845324(0xa5);const _0x24720e=_0x5e6337[_0x845324(0xaa)]||0x1;let _0x479634=undefined;return(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2['haloColor'])&&(_0x479634=_getStroke(_0x559fa2[_0x845324(0xad)],_0x559fa2['haloOpacity'],_0x559fa2[_0x845324(0xc9)])),new Text({'overflow':!![],'text':_0x32fb8c,'font':_0x337516,'offsetX':_0x45421a,'offsetY':_0x5a81f0,'textAlign':_0x5c4545,'textBaseline':_0x29f50e,'fill':new Fill({'color':getColor(((_0x5b5340=_0x5e6337['font'])===null||_0x5b5340===void 0x0?void 0x0:_0x5b5340['color'])||_0x845324(0xa6),_0x24720e)}),'stroke':_0x479634,'backgroundFill':((_0x13f608=_0x5e6337[_0x845324(0xb5)])===null||_0x13f608===void 0x0?void 0x0:_0x13f608[_0x845324(0xb7)])?new Fill({'color':getColor(((_0x40af12=_0x5e6337[_0x845324(0xb5)])===null||_0x40af12===void 0x0?void 0x0:_0x40af12['backgroundColor'])||_0x845324(0xae),((_0x4d7467=_0x5e6337[_0x845324(0xb5)])===null||_0x4d7467===void 0x0?void 0x0:_0x4d7467['backgroundOpacity'])||0x1)}):undefined,'backgroundStroke':((_0x3d9bff=_0x5e6337[_0x845324(0xb5)])===null||_0x3d9bff===void 0x0?void 0x0:_0x3d9bff[_0x845324(0xb8)])?_getStroke((_0x269a13=_0x5e6337[_0x845324(0xb5)])===null||_0x269a13===void 0x0?void 0x0:_0x269a13['borderLineColor'],((_0x5a369e=_0x5e6337[_0x845324(0xb5)])===null||_0x5a369e===void 0x0?void 0x0:_0x5a369e['borderLineOpacity'])||0x1,((_0x30c6b7=_0x5e6337[_0x845324(0xb5)])===null||_0x30c6b7===void 0x0?void 0x0:_0x30c6b7[_0x845324(0x9f)])||0x1):undefined});}}else return undefined;}export function getColor(_0x48c6f7,_0x512a59){const _0x4e4afc=a73_0x4895;return a73_0x507239(_0x48c6f7)[_0x4e4afc(0xc7)](_0x512a59!=undefined?_0x512a59:0x1)['hexa']();}function a73_0x4895(_0x34f441,_0x399516){const _0x1d2da0=a73_0x1d2d();return a73_0x4895=function(_0x4895f7,_0xba0c12){_0x4895f7=_0x4895f7-0x9f;let _0x1422c6=_0x1d2da0[_0x4895f7];return _0x1422c6;},a73_0x4895(_0x34f441,_0x399516);}function _getStroke(_0x4f6e35,_0x2f2b18,_0x59cadb){return new Stroke({'color':getColor(_0x4f6e35,_0x2f2b18),'width':_0x59cadb==undefined?0x1:_0x59cadb});}export function preLoadImageRenderFunction(_0x2457f5,_0x4e5300,_0x5495ec,_0x5f0fe8,_0x1ee3a2){const _0x4b9046=a73_0x4895;let _0x3e0d19;_0x2457f5[_0x4b9046(0xbd)]?_0x3e0d19=new a73_0xbdce9f(_0x2457f5):_0x3e0d19=new Icon({'src':_0x2457f5[_0x4b9046(0xa3)]});let _0x2bdd08=_0x3e0d19['getImageState']();_0x2bdd08===a73_0x4d69e4['LOADED']||_0x2bdd08===a73_0x4d69e4[_0x4b9046(0xa0)]?_0x1ee3a2(_0x2457f5,_0x4e5300,_0x5495ec,_0x5f0fe8,_0x3e0d19[_0x4b9046(0xc2)](0x60)):(_0x2bdd08===a73_0x4d69e4[_0x4b9046(0xaf)]&&_0x3e0d19[_0x4b9046(0xbe)](),_0x3e0d19[_0x4b9046(0xb1)](_0x3a9fe0=>{const _0x2d2c80=_0x4b9046;_0x2bdd08=_0x3a9fe0['target']['getImageState'](),(_0x2bdd08===a73_0x4d69e4[_0x2d2c80(0xbb)]||_0x2bdd08===a73_0x4d69e4[_0x2d2c80(0xa0)])&&_0x1ee3a2(_0x2457f5,_0x4e5300,_0x5495ec,_0x5f0fe8,_0x3e0d19[_0x2d2c80(0xc2)](0x60));}));}
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 +1 @@
1
- (function(_0x12c62a,_0x16b065){const _0x3c841c=a78_0x2765,_0x51cea1=_0x12c62a();while(!![]){try{const _0x2265de=-parseInt(_0x3c841c(0x1db))/0x1*(-parseInt(_0x3c841c(0x1dc))/0x2)+-parseInt(_0x3c841c(0x1d3))/0x3+-parseInt(_0x3c841c(0x1df))/0x4*(-parseInt(_0x3c841c(0x1d5))/0x5)+-parseInt(_0x3c841c(0x1d8))/0x6*(-parseInt(_0x3c841c(0x1da))/0x7)+-parseInt(_0x3c841c(0x1d9))/0x8+-parseInt(_0x3c841c(0x1d2))/0x9+-parseInt(_0x3c841c(0x1e1))/0xa*(parseInt(_0x3c841c(0x1e0))/0xb);if(_0x2265de===_0x16b065)break;else _0x51cea1['push'](_0x51cea1['shift']());}catch(_0x54eb61){_0x51cea1['push'](_0x51cea1['shift']());}}}(a78_0x1ad3,0x86f18));function a78_0x1ad3(){const _0x1d88e2=['1976704jIaxrA','11893QwMuCD','3CytKXN','416972vmOBrD','keys','object','4GxvyjB','77uRqxUe','1193380keRvhH','2045232jQpptl','298263ilmYKj','length','4575205SIormI','every','isArray','1488mKJwAb'];a78_0x1ad3=function(){return _0x1d88e2;};return a78_0x1ad3();}export function getDeepth(_0x4ff5a3){function _0x1cbd85(_0x3f3702,_0xfeec86){return _0x3f3702['reduce'](function(_0x58378b,_0x35485e){const _0x58273f=a78_0x2765;var _0x81f49e;return Array[_0x58273f(0x1d7)](_0x35485e)&&(_0x81f49e=_0x1cbd85(_0x35485e,_0xfeec86+0x1)),_0x81f49e>_0x58378b?_0x81f49e:_0x58378b;},_0xfeec86);}return _0x1cbd85(_0x4ff5a3,0x1);}export function compareArray(_0x1d0bc0,_0x5a3545){const _0x58ae27=a78_0x2765;if(_0x1d0bc0[_0x58ae27(0x1d4)]!==_0x5a3545[_0x58ae27(0x1d4)])return![];const _0x16a3e8=_0x1d0bc0['length'];for(let _0x4a1121=0x0;_0x4a1121<_0x16a3e8;_0x4a1121++){if(!compare(_0x1d0bc0[_0x4a1121],_0x5a3545[_0x4a1121]))return![];}return!![];}function a78_0x2765(_0x2bfefa,_0x412a8c){const _0x1ad3e0=a78_0x1ad3();return a78_0x2765=function(_0x2765f7,_0x2c3584){_0x2765f7=_0x2765f7-0x1d2;let _0xa10207=_0x1ad3e0[_0x2765f7];return _0xa10207;},a78_0x2765(_0x2bfefa,_0x412a8c);}export function compare(_0x4ad012,_0x235eca){const _0x2c03b4=a78_0x2765;if(_0x4ad012===_0x235eca)return!![];if(typeof _0x4ad012!==typeof _0x235eca||_0x4ad012===null||_0x235eca===null)return![];if(Array[_0x2c03b4(0x1d7)](_0x4ad012)){if(!Array[_0x2c03b4(0x1d7)](_0x235eca))return![];return compareArray(_0x4ad012,_0x235eca);}if(typeof _0x4ad012===_0x2c03b4(0x1de))return compareObject(_0x4ad012,_0x235eca);return![];}export function compareObject(_0xb3674e,_0x27842d){const _0xea3e98=a78_0x2765,_0xf9133=Object[_0xea3e98(0x1dd)](_0xb3674e),_0x4dfae4=Object['keys'](_0x27842d);if(_0xf9133['length']!==_0x4dfae4[_0xea3e98(0x1d4)])return![];return _0xf9133[_0xea3e98(0x1d6)](_0x32b852=>{if(!compare(_0xb3674e[_0x32b852],_0x27842d[_0x32b852]))return![];return!![];});}
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 +1 @@
1
- const a79_0x59417f=a79_0x36d3;(function(_0x4aedbc,_0x4a792e){const _0x54cb57=a79_0x36d3,_0x173fc9=_0x4aedbc();while(!![]){try{const _0x49e9e4=-parseInt(_0x54cb57(0x161))/0x1*(-parseInt(_0x54cb57(0x166))/0x2)+-parseInt(_0x54cb57(0x167))/0x3*(-parseInt(_0x54cb57(0x169))/0x4)+-parseInt(_0x54cb57(0x168))/0x5+-parseInt(_0x54cb57(0x164))/0x6*(-parseInt(_0x54cb57(0x15f))/0x7)+-parseInt(_0x54cb57(0x16a))/0x8*(parseInt(_0x54cb57(0x163))/0x9)+-parseInt(_0x54cb57(0x16c))/0xa+parseInt(_0x54cb57(0x15b))/0xb;if(_0x49e9e4===_0x4a792e)break;else _0x173fc9['push'](_0x173fc9['shift']());}catch(_0x34f8ee){_0x173fc9['push'](_0x173fc9['shift']());}}}(a79_0x4074,0x72f86));import a79_0x27d7b7 from'axios';function a79_0x36d3(_0x2b19e7,_0x287f2d){const _0x4074d3=a79_0x4074();return a79_0x36d3=function(_0x36d315,_0x496d4e){_0x36d315=_0x36d315-0x15b;let _0x7ab0e7=_0x4074d3[_0x36d315];return _0x7ab0e7;},a79_0x36d3(_0x2b19e7,_0x287f2d);}import a79_0x1a42ab from'jquery';function a79_0x4074(){const _0x1a1a48=['3094865ZkrVgG','9848IqYqtV','8CvsCkl','hasOwnProperty','3457870XjpnEA','6190360lpZKlN','create','forEach','ajax','397705WDCmFF','constructor','7cOuJvc','append','3427443gPxOQv','30kEqDyq','stringify','21704JZTqyA','1089VEdqBa'];a79_0x4074=function(){return _0x1a1a48;};return a79_0x4074();}const request=a79_0x27d7b7[a79_0x59417f(0x15c)]({'timeout':0xb4*0x3e8});export function jsonp(_0x36efa1){return new Promise((_0xb5626e,_0x56d9f9)=>{const _0x2f7259=a79_0x36d3;a79_0x1a42ab[_0x2f7259(0x15e)]({'url':_0x36efa1,'type':'get','dataType':'jsonp','success':_0x5f0fd8=>{_0xb5626e(_0x5f0fd8);},'error':_0x3d4eff=>{_0x56d9f9(_0x3d4eff);}});});}export function stringify(_0x2c4cd4){const _0x358a76=a79_0x59417f,_0x45d134=new FormData();for(const _0x3fdf70 in _0x2c4cd4){if(_0x2c4cd4[_0x358a76(0x16b)](_0x3fdf70)){if(_0x2c4cd4[_0x3fdf70]){if(_0x2c4cd4[_0x3fdf70][_0x358a76(0x160)]===Array)_0x2c4cd4[_0x3fdf70][0x0]?_0x2c4cd4[_0x3fdf70][0x0][_0x358a76(0x160)]===Object?_0x45d134[_0x358a76(0x162)](_0x3fdf70,JSON[_0x358a76(0x165)](_0x2c4cd4[_0x3fdf70])):_0x2c4cd4[_0x3fdf70][_0x358a76(0x15d)]((_0x381e75,_0x58ff99)=>{const _0x5a5a4c=_0x358a76;_0x45d134[_0x5a5a4c(0x162)](_0x3fdf70+('['+_0x58ff99+']'),_0x381e75);}):_0x45d134[_0x358a76(0x162)](_0x3fdf70+'[]','');else _0x2c4cd4[_0x3fdf70][_0x358a76(0x160)]===Object?_0x45d134[_0x358a76(0x162)](_0x3fdf70,JSON['stringify'](_0x2c4cd4[_0x3fdf70])):_0x45d134[_0x358a76(0x162)](_0x3fdf70,_0x2c4cd4[_0x3fdf70]);}else _0x2c4cd4[_0x3fdf70]===0x0?_0x45d134[_0x358a76(0x162)](_0x3fdf70,'0'):_0x45d134[_0x358a76(0x162)](_0x3fdf70,'');}}return _0x45d134;}export default request;
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;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- function a80_0x29b5(){const _0x2cd51e=['1758648ShIfDg','12aQfqXa','64580joCFVB','toUpperCase','1717392llwCaB','976880lFzvsb','16GMuFrk','549tOGpdu','1032934imkJVs','576385rSASZj','2TwgTiD','EPSG:','10wsqhsU','replace','15327213VaJMBE'];a80_0x29b5=function(){return _0x2cd51e;};return a80_0x29b5();}function a80_0x5f0a(_0x30d24d,_0x47a859){const _0x29b54b=a80_0x29b5();return a80_0x5f0a=function(_0x5f0a9f,_0x19ae7e){_0x5f0a9f=_0x5f0a9f-0x16e;let _0x5c46b3=_0x29b54b[_0x5f0a9f];return _0x5c46b3;},a80_0x5f0a(_0x30d24d,_0x47a859);}(function(_0x3fa098,_0x4b0408){const _0x332773=a80_0x5f0a,_0x552408=_0x3fa098();while(!![]){try{const _0x2cf8bb=parseInt(_0x332773(0x17a))/0x1*(-parseInt(_0x332773(0x17b))/0x2)+-parseInt(_0x332773(0x175))/0x3+parseInt(_0x332773(0x176))/0x4+parseInt(_0x332773(0x16e))/0x5*(parseInt(_0x332773(0x171))/0x6)+parseInt(_0x332773(0x179))/0x7*(-parseInt(_0x332773(0x177))/0x8)+-parseInt(_0x332773(0x178))/0x9*(parseInt(_0x332773(0x173))/0xa)+parseInt(_0x332773(0x170))/0xb*(parseInt(_0x332773(0x172))/0xc);if(_0x2cf8bb===_0x4b0408)break;else _0x552408['push'](_0x552408['shift']());}catch(_0x273aff){_0x552408['push'](_0x552408['shift']());}}}(a80_0x29b5,0x5e374));export function getEsriSpatialReference(_0x43fb50){const _0x5cbcd0=a80_0x5f0a;let _0x4d7603;if(_0x43fb50){let _0x4b4891=_0x43fb50[_0x5cbcd0(0x174)]();_0x4b4891['indexOf']('EPSG:')===0x0?_0x4d7603=_0x43fb50[_0x5cbcd0(0x16f)](_0x5cbcd0(0x17c),''):_0x4d7603=_0x43fb50;}return _0x4d7603;}
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 +1 @@
1
- const a83_0xdde8cd=a83_0x19e7;(function(_0x2912a7,_0x171a25){const _0x598a67=a83_0x19e7,_0x3462aa=_0x2912a7();while(!![]){try{const _0x25bd4b=-parseInt(_0x598a67(0x124))/0x1*(-parseInt(_0x598a67(0x136))/0x2)+parseInt(_0x598a67(0x13f))/0x3+parseInt(_0x598a67(0x138))/0x4*(-parseInt(_0x598a67(0x14f))/0x5)+-parseInt(_0x598a67(0x142))/0x6*(-parseInt(_0x598a67(0x15a))/0x7)+parseInt(_0x598a67(0x14c))/0x8*(-parseInt(_0x598a67(0x146))/0x9)+-parseInt(_0x598a67(0x129))/0xa+-parseInt(_0x598a67(0x13e))/0xb;if(_0x25bd4b===_0x171a25)break;else _0x3462aa['push'](_0x3462aa['shift']());}catch(_0x4b3457){_0x3462aa['push'](_0x3462aa['shift']());}}}(a83_0x111d,0x1f68e));import a83_0x15b5c1 from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a83_0x421b7f}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a83_0x1376cb,getArea as a83_0x3b8313}from'ol/sphere';import a83_0x3fdaa9 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';function a83_0x19e7(_0x37befd,_0x5396f8){const _0x111d03=a83_0x111d();return a83_0x19e7=function(_0x19e771,_0x52b1c9){_0x19e771=_0x19e771-0x11b;let _0x9a06d=_0x111d03[_0x19e771];return _0x9a06d;},a83_0x19e7(_0x37befd,_0x5396f8);}import a83_0x32f558 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';function a83_0x111d(){const _0x52cd5f=['24yWuRtj','无法识别的数据类型','readGeometry','250IsZBKC','length','getPixelFromCoordinate','intersects','intersection','getCoordinateFromPixel','extractLine','bufferOp','getCoordinate','difference','union','1479730eoAOyD','createPolygon','getLineStrings','read','getArea','distance','getNumInteriorRing','abs','MultiPoint','writeGeometry','transform','getLength','18CVmlCD','filter','contains','toArray','inject','1372300RMjzVJ','Point','map','孔洞操作失败:','error','Polygon','some','sort','getStartIndex','getPolygons','未找到投影信息','push','getCoordinates','18312NJhasp','forEach','2052VCeMZP','warn','getExtent','getInteriorRingN','getNumGeometries','MultiPolygon','357456ByxgpX','382155HPoRKq','getInteriorPoint','getType','6IYrxNi','getGeometryN','isEmpty','getGeometryType','538659HlYMtO','clone','string','write','getExteriorRing','add'];a83_0x111d=function(){return _0x52cd5f;};return a83_0x111d();}import a83_0x27213e from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a83_0x862d5c from'jsts/org/locationtech/jts/io/OL3Parser.js';import a83_0x59237f from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a83_0x52fedd from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a83_0x4d35c7 from'ol/format/GeoJSON';import a83_0x281659 from'jsts/org/locationtech/jts/geom/GeometryFactory';import a83_0x10fd2e 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 a83_0x190ed8 from'ol/format/WKT';import a83_0x5bc1cb from'ol/format/EsriJSON';const _parser=new a83_0x862d5c(undefined,undefined);_parser[a83_0xdde8cd(0x128)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x414429,_0x16652e,_0x12176b=![]){const _0x5e46de=a83_0xdde8cd;if(!_0x414429)return 0x0;if(typeof _0x16652e==_0x5e46de(0x148)){let _0x5a56f5=registerProj(_0x16652e);if(_0x5a56f5==null)return console[_0x5e46de(0x12d)](_0x5e46de(0x133)),0x0;_0x16652e=_0x5a56f5;}const _0x93b139=isSpheroid(_0x16652e);if(_0x12176b)return a83_0x3b8313(_0x414429,{'projection':_0x16652e});else{if(_0x93b139){const _0x7463d=getGeoProjection(_0x414429,_0x16652e);return _0x414429[_0x5e46de(0x147)]()['transform'](_0x16652e,_0x7463d)[_0x5e46de(0x11c)]();}return _0x414429[_0x5e46de(0x11c)]();}}export function getLength(_0x567900,_0xd8d98b,_0x1ea440=![]){const _0x3a2e89=a83_0xdde8cd;if(!_0x567900)return 0x0;if(typeof _0xd8d98b==_0x3a2e89(0x148)){let _0x559e42=registerProj(_0xd8d98b);if(_0x559e42==null)return console[_0x3a2e89(0x12d)](_0x3a2e89(0x133)),0x0;_0xd8d98b=_0x559e42;}const _0x1ed3d5=isSpheroid(_0xd8d98b);if(_0x1ea440)return a83_0x1376cb(_0x567900,{'projection':_0xd8d98b});else{let _0x35b86a=_0x567900;if(_0x1ed3d5){const _0x4b711c=getGeoProjection(_0x567900,_0xd8d98b);_0x35b86a=_0x567900[_0x3a2e89(0x147)]()['transform'](_0xd8d98b,_0x4b711c);}if(_0x35b86a instanceof LineString)return _0x35b86a[_0x3a2e89(0x123)]();else{let _0x538e22=0x0;for(let _0x1d99eb=0x0;_0x1d99eb<_0x35b86a[_0x3a2e89(0x15c)]()['length'];_0x1d99eb++){_0x538e22+=_0x35b86a['getLineStrings']()[_0x1d99eb][_0x3a2e89(0x123)]();}return _0x538e22;}}}export function bufferOp(_0x301fa9,_0x2824c9){const _0x16d25b=a83_0xdde8cd,_0x137d36=_parser[_0x16d25b(0x11b)](_0x301fa9),_0x589d64=a83_0x3fdaa9[_0x16d25b(0x156)](_0x137d36,_0x2824c9);return _parser['write'](_0x589d64);}export function bufferPixel(_0xaad7a4,_0xb1f53a,_0x51efe){const _0x69e0db=a83_0xdde8cd,_0x101fca=_0x51efe[_0x69e0db(0x151)](_0xaad7a4[_0x69e0db(0x135)]()),_0x597947=_0x51efe[_0x69e0db(0x154)]([_0x101fca[0x0]+_0xb1f53a,_0x101fca[0x1]]),_0x3fa76d=a83_0x421b7f(_0xaad7a4[_0x69e0db(0x135)](),_0x597947),_0x14f88a=bufferOp(_0xaad7a4,_0x3fa76d);return _0x14f88a;}export function contains(_0x2bb004,_0x525598){const _0x53c720=a83_0xdde8cd,_0x157b95=_parser[_0x53c720(0x11b)](_0x2bb004),_0xdcc246=_parser[_0x53c720(0x11b)](_0x525598);return a83_0x32f558[_0x53c720(0x126)](_0x157b95,_0xdcc246);}export function crosses(_0x38be11,_0x743c0c){const _0x4e3c8d=a83_0xdde8cd,_0x38c609=_parser[_0x4e3c8d(0x11b)](_0x38be11),_0xba7c0c=_parser[_0x4e3c8d(0x11b)](_0x743c0c);return a83_0x32f558['crosses'](_0x38c609,_0xba7c0c);}export function intersects(_0x4e102c,_0x25c060){const _0xb827d4=a83_0xdde8cd,_0x4a352f=_parser[_0xb827d4(0x11b)](_0x4e102c),_0x4eaf1c=_parser[_0xb827d4(0x11b)](_0x25c060);return a83_0x32f558[_0xb827d4(0x152)](_0x4a352f,_0x4eaf1c);}export function intersection(_0x1efe31,_0x4ab9f0){const _0x4d5f5e=a83_0xdde8cd,_0x5d4281=_parser[_0x4d5f5e(0x11b)](_0x1efe31),_0x2ff7b7=_parser['read'](_0x4ab9f0);return _parser[_0x4d5f5e(0x149)](a83_0x27213e[_0x4d5f5e(0x153)](_0x5d4281,_0x2ff7b7));}export function union(_0x21f538,_0x5d7b95){const _0x59faa3=a83_0xdde8cd,_0x2c905d=_parser['read'](_0x21f538),_0x9efe36=_parser['read'](_0x5d7b95);return _parser['write'](a83_0x27213e[_0x59faa3(0x159)](_0x2c905d,_0x9efe36));}export function unions(_0x3688b1){const _0x318217=a83_0xdde8cd;if(!_0x3688b1||_0x3688b1[_0x318217(0x150)]===0x0)return;if(_0x3688b1[_0x318217(0x150)]===0x1)return _0x3688b1[0x0][_0x318217(0x147)]();let _0x18915a=_parser['read'](_0x3688b1[0x0]);for(let _0x5ec49b=0x1;_0x5ec49b<_0x3688b1['length'];_0x5ec49b++){const _0x4cdf10=_parser[_0x318217(0x11b)](_0x3688b1[_0x5ec49b]);_0x18915a=a83_0x27213e['union'](_0x18915a,_0x4cdf10);}return _parser[_0x318217(0x149)](_0x18915a);}export function difference(_0x1a5199,_0x5373d0){const _0x58389a=a83_0xdde8cd,_0x2a63de=_parser[_0x58389a(0x11b)](_0x1a5199),_0x310b85=_parser['read'](_0x5373d0);return _parser[_0x58389a(0x149)](a83_0x27213e[_0x58389a(0x158)](_0x2a63de,_0x310b85));}export function distance(_0x3f979f,_0x10b498){const _0x46d375=a83_0xdde8cd,_0x47862f=_parser[_0x46d375(0x11b)](_0x3f979f),_0x7ff818=_parser[_0x46d375(0x11b)](_0x10b498);return _parser['write'](a83_0x52fedd[_0x46d375(0x11d)](_0x47862f,_0x7ff818));}export function jstlSplit(_0x3568bb,_0x1de9c4){const _0x2a5bc2=a83_0xdde8cd,_0x4183d5=_parser['read'](_0x3568bb),_0x516e7e=_parser['read'](_0x1de9c4),_0x4211bb=_0x4183d5[_0x2a5bc2(0x145)]();let _0x2591b3=[];function _0x178701(_0x53cf51,_0x5dc114){const _0x465145=_0x2a5bc2,_0x5157d5=_0x53cf51[_0x465145(0x14a)](),_0x2a1013=_0x53cf51[_0x465145(0x11e)](),_0x422209=[];for(let _0x33d856=0x0;_0x33d856<_0x2a1013;_0x33d856++){_0x422209[_0x465145(0x134)](_0x53cf51[_0x465145(0x13b)](_0x33d856));}const _0x52c78f=a83_0x27213e['union'](_0x5157d5,_0x5dc114),_0x580443=new a83_0x59237f();_0x580443[_0x465145(0x14b)](_0x52c78f);const _0x1e34d8=_0x580443[_0x465145(0x132)](),_0x1e89e2=new a83_0x281659();_0x1e34d8['size']()>0x1?_0x1e34d8[_0x465145(0x127)]()['forEach'](_0x59b05c=>{const _0x476f25=_0x465145;let _0x2bb119=_0x59b05c;_0x422209[_0x476f25(0x137)](_0x53e5a2=>{const _0x194b24=_0x476f25,_0x472c3b=_0x1e89e2[_0x194b24(0x15b)](_0x53e5a2);try{_0x2bb119=a83_0x27213e[_0x194b24(0x158)](_0x2bb119,_0x472c3b);}catch(_0x567b38){console[_0x194b24(0x139)](_0x194b24(0x12c),_0x567b38);}}),_0x2bb119&&_0x2591b3[_0x476f25(0x134)](_parser['write'](_0x2bb119));}):_0x2591b3[_0x465145(0x134)](_parser[_0x465145(0x149)](_0x53cf51));}if(_0x4211bb===_0x2a5bc2(0x12e))_0x178701(_0x4183d5,_0x516e7e);else{if(_0x4211bb===_0x2a5bc2(0x13d)){const _0x2cf0ba=_0x4183d5['getNumGeometries']();for(let _0x780da2=0x0;_0x780da2<_0x2cf0ba;_0x780da2++){const _0x3884a0=_0x4183d5[_0x2a5bc2(0x143)](_0x780da2);_0x178701(_0x3884a0,_0x516e7e);}}else throw new Error(_0x2a5bc2(0x14d));}return _0x2591b3;}export function splitLineByLine(_0x2aece5,_0x3de2ff){const _0xe0c81=a83_0xdde8cd,_0x4d2438=_parser[_0xe0c81(0x11b)](_0x2aece5),_0x10f3af=_parser[_0xe0c81(0x11b)](_0x3de2ff),_0x265a46=a83_0x27213e[_0xe0c81(0x153)](_0x4d2438,_0x10f3af);if(!_0x265a46||_0x265a46[_0xe0c81(0x144)]())return[_0x2aece5];const _0x4dc9c9=[];if(_0x265a46[_0xe0c81(0x145)]()===_0xe0c81(0x12a))_0x4dc9c9['push'](_0x265a46[_0xe0c81(0x157)]());else{if(_0x265a46[_0xe0c81(0x145)]()===_0xe0c81(0x120))for(let _0x22e561=0x0;_0x22e561<_0x265a46[_0xe0c81(0x13c)]();_0x22e561++){_0x4dc9c9['push'](_0x265a46[_0xe0c81(0x143)](_0x22e561)['getCoordinate']());}}const _0x357805=new a83_0x10fd2e(_0x4d2438),_0x4393b7=_0x4dc9c9[_0xe0c81(0x12b)](_0xc5a54=>_0x357805['indexOf'](_0xc5a54))[_0xe0c81(0x130)]((_0x3a9ef1,_0x48eeb5)=>_0x3a9ef1-_0x48eeb5),_0x542a14=[],_0x10244c=1e-9;for(let _0x49e1d1=0x0;_0x49e1d1<_0x4393b7[_0xe0c81(0x150)];_0x49e1d1++){if(_0x49e1d1===0x0||Math[_0xe0c81(0x11f)](_0x4393b7[_0x49e1d1]-_0x4393b7[_0x49e1d1-0x1])>_0x10244c)_0x542a14[_0xe0c81(0x134)](_0x4393b7[_0x49e1d1]);}const _0x292608=[];let _0x348347=_0x357805[_0xe0c81(0x131)]?_0x357805[_0xe0c81(0x131)]():0x0;const _0x28e268=_0x357805['getEndIndex']&&_0x357805['getEndIndex']()||_0x4d2438[_0xe0c81(0x123)]();for(let _0x5bd30a=0x0;_0x5bd30a<_0x542a14['length'];_0x5bd30a++){const _0xc292a6=_0x542a14[_0x5bd30a];if(_0xc292a6-_0x348347>_0x10244c){const _0x3eb492=_0x357805[_0xe0c81(0x155)](_0x348347,_0xc292a6);_0x292608[_0xe0c81(0x134)](_parser[_0xe0c81(0x149)](_0x3eb492));}_0x348347=_0xc292a6;}if(_0x28e268-_0x348347>_0x10244c){const _0x47eac2=_0x357805[_0xe0c81(0x155)](_0x348347,_0x28e268);_0x292608[_0xe0c81(0x134)](_parser[_0xe0c81(0x149)](_0x47eac2));}const _0x14efff=_0x292608[_0xe0c81(0x125)](_0x4b9864=>{const _0x14f72a=_0xe0c81,_0x56d80b=_0x4b9864[_0x14f72a(0x135)]();return _0x56d80b&&_0x56d80b[_0x14f72a(0x150)]>=0x2&&!(_0x56d80b[_0x14f72a(0x150)]===0x2&&_0x56d80b[0x0][0x0]===_0x56d80b[0x1][0x0]&&_0x56d80b[0x0][0x1]===_0x56d80b[0x1][0x1]);});return _0x14efff;}export function fromWKT(_0x27c23d,_0x560295,_0x1262b8){const _0x1d61f9=a83_0xdde8cd,_0x2c6907=new a83_0x190ed8();_0x560295&&registerProj(_0x560295);_0x1262b8&&registerProj(_0x1262b8);const _0x5c8768=_0x2c6907['readGeometry'](_0x27c23d);if(isGeometryEmpty(_0x5c8768))return null;return _0x560295&&_0x1262b8?_0x5c8768[_0x1d61f9(0x122)](new a83_0x15b5c1({'code':_0x560295}),new a83_0x15b5c1({'code':_0x1262b8})):_0x5c8768;}export function fromWKTs(_0x12983b,_0x176bbb,_0x4e6235){const _0x5d7d2a=a83_0xdde8cd,_0x12ed24=new a83_0x190ed8();let _0x506f46=[];_0x176bbb&&registerProj(_0x176bbb);_0x4e6235&&registerProj(_0x4e6235);let _0x2a4937,_0x3e077e;_0x176bbb&&_0x4e6235&&(_0x2a4937=new a83_0x15b5c1({'code':_0x176bbb}),_0x3e077e=new a83_0x15b5c1({'code':_0x4e6235}));for(let _0x2202ab=0x0;_0x2202ab<_0x12983b['length'];_0x2202ab++){const _0xca20f4=_0x12ed24['readGeometry'](_0x12983b[_0x2202ab]);if(isGeometryEmpty(_0xca20f4))continue;_0x2a4937&&_0x3e077e?_0x506f46['push'](_0xca20f4[_0x5d7d2a(0x122)](_0x2a4937,_0x3e077e)):_0x506f46['push'](_0xca20f4);}return _0x506f46;}export function toWKT(_0x591bb0){const _0x1142b3=a83_0xdde8cd,_0x344915=new a83_0x190ed8();if(isGeometryEmpty(_0x591bb0))return'';if(_0x591bb0 instanceof Circle){const _0x5b86b0=fromCircle(_0x591bb0);return _0x344915[_0x1142b3(0x121)](_0x5b86b0);}else return _0x344915[_0x1142b3(0x121)](_0x591bb0);}export function toGeoJSON(_0x372f63){const _0x235113=new a83_0x4d35c7();return _0x235113['writeGeometry'](_0x372f63);}export function fromGeoJSON(_0x11b76f){const _0x5cf46b=a83_0xdde8cd,_0x2cf993=new a83_0x4d35c7();return _0x2cf993[_0x5cf46b(0x14e)](_0x11b76f);}export function toEsriJSON(_0x30bf53){const _0xaa8b7c=new a83_0x5bc1cb();return _0xaa8b7c['writeGeometry'](_0x30bf53);}export function fromEsriJSON(_0x4daed6){const _0x10946a=a83_0xdde8cd,_0x4024a8=new a83_0x5bc1cb();return _0x4024a8[_0x10946a(0x14e)](_0x4daed6);}export function expandExtent(_0x5ff28,_0x2a4a4f){const _0x3765f0=_0x5ff28[0x0],_0x326bea=_0x5ff28[0x1],_0xcddeb8=_0x5ff28[0x2],_0x19c4e7=_0x5ff28[0x3],_0x20de71=(_0x3765f0+_0xcddeb8)/0x2,_0x2f32b2=(_0x326bea+_0x19c4e7)/0x2,_0x42ddb9=_0xcddeb8-_0x3765f0,_0x2c7be5=_0x19c4e7-_0x326bea,_0xe0a27b=_0x42ddb9*_0x2a4a4f,_0x22b389=_0x2c7be5*_0x2a4a4f,_0x40aabd=_0x20de71-_0xe0a27b/0x2,_0x1b32f4=_0x20de71+_0xe0a27b/0x2,_0x1ba3a4=_0x2f32b2-_0x22b389/0x2,_0x3be7f6=_0x2f32b2+_0x22b389/0x2;return[_0x40aabd,_0x1ba3a4,_0x1b32f4,_0x3be7f6];}export function isGeometryEmpty(_0x5c1dc5){const _0x1656a8=a83_0xdde8cd;if(!_0x5c1dc5)return!![];if(_0x5c1dc5 instanceof Point||_0x5c1dc5 instanceof MultiPoint){const _0x18c4a9=_0x5c1dc5[_0x1656a8(0x135)]();return!_0x18c4a9||_0x18c4a9[_0x1656a8(0x12f)](_0x4e06fa=>isNaN(_0x4e06fa));}else{if(_0x5c1dc5 instanceof LineString||_0x5c1dc5 instanceof MultiLineString)return _0x5c1dc5[_0x1656a8(0x135)]()[_0x1656a8(0x150)]<0x2;else{if(_0x5c1dc5 instanceof Polygon){const _0x28d3e3=_0x5c1dc5[_0x1656a8(0x135)]();return!_0x28d3e3||_0x28d3e3[_0x1656a8(0x150)]===0x0||_0x28d3e3[0x0][_0x1656a8(0x150)]<0x4;}else{if(_0x5c1dc5 instanceof MultiPolygon){const _0x38d859=_0x5c1dc5[_0x1656a8(0x135)]();return!_0x38d859||_0x38d859[_0x1656a8(0x150)]===0x0||_0x38d859[0x0][0x0][_0x1656a8(0x150)]<0x4;}}}}return![];}export function polygonToLines(_0x3322d6){const _0x29fb2a=a83_0xdde8cd;if(!_0x3322d6)return[];const _0x2df602=_0x3322d6['getLinearRings']();return _0x2df602[_0x29fb2a(0x12b)](_0x4963b8=>new LineString(_0x4963b8[_0x29fb2a(0x135)]()));}export function getGeometryCenter(_0x774ff){const _0xfd11b4=a83_0xdde8cd;if(!_0x774ff)return undefined;const _0xd57ab3=_0x774ff[_0xfd11b4(0x141)]();if(_0xd57ab3===_0xfd11b4(0x12a))return new Point(_0x774ff[_0xfd11b4(0x135)]());if(_0xd57ab3===_0xfd11b4(0x12e)||_0xd57ab3===_0xfd11b4(0x13d))return _0x774ff[_0xfd11b4(0x140)]();const _0x532f8f=getCenter(_0x774ff[_0xfd11b4(0x13a)]());return new Point(_0x532f8f);}
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 +1 @@
1
- (function(_0x1b80c1,_0x209863){const _0x5d136c=a84_0x1862,_0x362bc9=_0x1b80c1();while(!![]){try{const _0x1887b0=parseInt(_0x5d136c(0x208))/0x1*(parseInt(_0x5d136c(0x200))/0x2)+parseInt(_0x5d136c(0x203))/0x3*(parseInt(_0x5d136c(0x202))/0x4)+-parseInt(_0x5d136c(0x1f1))/0x5*(parseInt(_0x5d136c(0x1f7))/0x6)+-parseInt(_0x5d136c(0x1fa))/0x7*(-parseInt(_0x5d136c(0x207))/0x8)+parseInt(_0x5d136c(0x206))/0x9*(parseInt(_0x5d136c(0x209))/0xa)+-parseInt(_0x5d136c(0x1f2))/0xb+parseInt(_0x5d136c(0x1ed))/0xc*(-parseInt(_0x5d136c(0x1eb))/0xd);if(_0x1887b0===_0x209863)break;else _0x362bc9['push'](_0x362bc9['shift']());}catch(_0x140b64){_0x362bc9['push'](_0x362bc9['shift']());}}}(a84_0x3e55,0x6203d));import a84_0x404271 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x347d0e){const _0x1e45d8=a84_0x1862;let _0x450911=[];return _0x347d0e&&_0x347d0e[_0x1e45d8(0x1e8)]>0x0&&(_0x347d0e['forEach'](_0x505258=>{const _0x4c99d1=_0x1e45d8;(!_0x505258[_0x4c99d1(0x1ef)]||_0x505258[_0x4c99d1(0x1ef)]=='')&&_0x450911[_0x4c99d1(0x1f4)](Object[_0x4c99d1(0x1f0)]({},_0x505258));}),_0x450911=_0x450911[_0x1e45d8(0x20c)]((_0x4c3e6e,_0x387a8f)=>{const _0x1bbfc1=_0x1e45d8;return(_0x4c3e6e['showIndex']?_0x4c3e6e['showIndex']:0x0)-(_0x387a8f[_0x1bbfc1(0x204)]?_0x387a8f[_0x1bbfc1(0x204)]:0x0);}),_0x450911[_0x1e45d8(0x1fd)](_0x5a1ae4=>{const _0x1d4047=_0x1e45d8;_0x5a1ae4[_0x1d4047(0x1ff)]=setChildren(_0x5a1ae4['id'],_0x347d0e);})),_0x450911;}function setChildren(_0x19752c,_0x547396){const _0x4181fb=a84_0x1862;let _0x1afab1=[];return _0x547396['forEach'](_0x279857=>{const _0x1853dc=a84_0x1862;_0x19752c===(_0x279857[_0x1853dc(0x1ef)]==null?'':_0x279857[_0x1853dc(0x1ef)])&&_0x1afab1[_0x1853dc(0x1f4)](Object[_0x1853dc(0x1f0)]({},_0x279857));}),_0x1afab1=_0x1afab1[_0x4181fb(0x20c)]((_0x3a00a1,_0x12980f)=>{const _0x50d06c=_0x4181fb;return(_0x3a00a1[_0x50d06c(0x204)]?_0x3a00a1[_0x50d06c(0x204)]:0x0)-(_0x12980f[_0x50d06c(0x204)]?_0x12980f[_0x50d06c(0x204)]:0x0);}),_0x1afab1['length']>0x0&&_0x1afab1[_0x4181fb(0x1fd)](_0x4ff665=>{_0x4ff665['children']=setChildren(_0x4ff665['id'],_0x547396);}),_0x1afab1;}export async function getLayerLegend(_0x37796a,_0x182727){const _0x21d5ce=a84_0x1862;if(!_0x37796a||!_0x37796a[_0x21d5ce(0x1f6)]||!_0x37796a[_0x21d5ce(0x1ec)]||_0x37796a['sublayers'][_0x21d5ce(0x1e8)]==0x0||!_0x37796a[_0x21d5ce(0x201)])return;if(_0x37796a[_0x21d5ce(0x201)][_0x21d5ce(0x1ee)]('geoserver')>-0x1)return await getGeoServerLayerLegend(_0x37796a,_0x182727);return;}function a84_0x1862(_0x425d7d,_0x42faac){const _0x3e55f1=a84_0x3e55();return a84_0x1862=function(_0x1862df,_0x16a7b1){_0x1862df=_0x1862df-0x1e8;let _0x187cff=_0x3e55f1[_0x1862df];return _0x187cff;},a84_0x1862(_0x425d7d,_0x42faac);}function a84_0x3e55(){const _0x3b8ecb=['34tvEALN','layerType','1876HXLImo','879vpDQkG','showIndex','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','993204uthjLR','16uTonXf','33232dKUZHl','20Nlyzex','&width=','wms','sort','length','gwc/service/wmts','Legend','2536391hPBEsB','sublayers','12lkbqIQ','indexOf','parentId','assign','1371795uLQslZ','3729792COQsWI','&format=application/json','push','title','url','6gaLVfw','data','&format=image/png','1004269UgqXBb','get','replace','forEach','includes','children'];a84_0x3e55=function(){return _0x3b8ecb;};return a84_0x3e55();}export async function getGeoServerLayerLegend(_0xde59ce,_0x2e16d4){const _0x3d148c=a84_0x1862;if(!_0xde59ce||!_0xde59ce['url']||!_0xde59ce[_0x3d148c(0x1ec)]||_0xde59ce[_0x3d148c(0x1ec)][_0x3d148c(0x1e8)]==0x0)return;let _0x5e6aa0=_0xde59ce['url'];const _0x1aa3d0=_0xde59ce[_0x3d148c(0x1ec)];_0x5e6aa0=_0x5e6aa0[_0x3d148c(0x1fc)](_0x3d148c(0x1e9),_0x3d148c(0x20b));const _0x49bce3=[];for(let _0x3bb8ff=0x0;_0x3bb8ff<_0x1aa3d0['length'];_0x3bb8ff++){const _0x1730ba=_0x1aa3d0[_0x3bb8ff];let _0x42c7d8=_0x3d148c(0x205)+_0x1730ba+_0x3d148c(0x1f3);const _0x45f51d=_0x5e6aa0['includes']('?')?_0x5e6aa0+'&'+_0x42c7d8:_0x5e6aa0+'?'+_0x42c7d8,_0x24feae=await a84_0x404271[_0x3d148c(0x1fb)](_0x45f51d);if(_0x24feae[_0x3d148c(0x1f8)]&&_0x24feae[_0x3d148c(0x1f8)][_0x3d148c(0x1ea)]&&_0x24feae['data'][_0x3d148c(0x1ea)][_0x3d148c(0x1e8)]>0x0)_0x49bce3['push'](_0x24feae['data']['Legend'][0x0]);else{let _0x1efd81=_0x2e16d4?_0x2e16d4:0x10,_0x1a50a8=_0x3d148c(0x205)+_0x1730ba+_0x3d148c(0x20a)+_0x1efd81+'&height='+_0x1efd81+_0x3d148c(0x1f9);const _0x5ae866=_0x5e6aa0[_0x3d148c(0x1fe)]('?')?_0x5e6aa0+'&'+_0x1a50a8:_0x5e6aa0+'?'+_0x1a50a8;_0x49bce3[_0x3d148c(0x1f4)]({'title':_0xde59ce[_0x3d148c(0x1f5)],'url':_0x5ae866});}}return _0x49bce3;}
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;}