ym-gis-2d 1.0.32 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/AreaMeasure.js +1 -1
  15. package/interaction/Draw.js +1 -1
  16. package/interaction/InteractionManager.js +1 -1
  17. package/interaction/Select.js +1 -1
  18. package/interaction/Split.js +1 -1
  19. package/layers/ArcgisDynamicLayer.js +1 -1
  20. package/layers/ArcgisFeatureLayer.js +1 -1
  21. package/layers/ArcgisTileLayer.js +1 -1
  22. package/layers/ArcgisWMSLayer.js +1 -1
  23. package/layers/ArcgisWMTSLayer.js +1 -1
  24. package/layers/GeoserverVectorTile.js +1 -1
  25. package/layers/GeoserverWFSLayer.js +1 -1
  26. package/layers/GeoserverWMSLayer.js +1 -1
  27. package/layers/GeoserverWMTSLayer.js +1 -1
  28. package/layers/LayerManager.js +1 -1
  29. package/layers/TDTLayer.js +1 -1
  30. package/mapView/Map.d.ts +4 -0
  31. package/mapView/Map.d.ts.map +1 -1
  32. package/mapView/Map.js +1 -1
  33. package/mapView/Map.js.map +1 -1
  34. package/mapView/View.js +1 -1
  35. package/package.json +1 -1
  36. package/plot/Plot.js +1 -1
  37. package/plot/geometry/point/Point.js +1 -1
  38. package/plot/geometry/polygon/BasePolygon.js +1 -1
  39. package/plot/geometry/polygon/Circle.js +1 -1
  40. package/plot/geometry/polygon/Polygon.js +1 -1
  41. package/plot/geometry/polygon/RectAngle.js +1 -1
  42. package/plot/geometry/polyline/BaseLine.js +1 -1
  43. package/plot/geometry/polyline/Polyline.js +1 -1
  44. package/style/PointStyleFormat.js +1 -1
  45. package/style/PolygonStyleFormat.js +1 -1
  46. package/style/PolylineStyleFormat.js +1 -1
  47. package/style/StyleManager.js +1 -1
  48. package/style/common.js +1 -1
  49. package/utils/ArrayUtil.js +1 -1
  50. package/utils/AxiosUtil.js +1 -1
  51. package/utils/EsriUtil.js +1 -1
  52. package/utils/GeometryUtil.js +1 -1
  53. package/utils/LayerUtil.js +1 -1
  54. package/utils/RegisterProjUtil.js +1 -1
  55. package/utils/ResolutionUtil.js +1 -1
  56. package/utils/StringUtil.js +1 -1
  57. package/utils/StyleUtil.js +1 -1
  58. package/utils/UrlUtil.js +1 -1
  59. package/utils/XmlUtil.js +1 -1
  60. package/utils/format/CQL.js +1 -1
  61. package/utils/format/IsMatchCql.js +1 -1
  62. package/utils/plug/canvas/ImageCache.js +1 -1
  63. package/utils/plug/canvas/PinBuilder.js +1 -1
  64. package/utils/plug/canvas/PinIcon.js +1 -1
  65. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  66. package/utils/tasks/esri/Identify.js +1 -1
  67. package/utils/tasks/esri/Query.js +1 -1
  68. package/utils/tasks/esri/Task.js +1 -1
  69. package/utils/tasks/geoserver/QueryTask.js +1 -1
  70. package/utils/tasks/index.js +1 -1
  71. package/ym-gis-2d.es.js +1 -1
  72. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a68_0x224669=a68_0x3964;function a68_0x3964(_0x8d913d,_0xeb3634){const _0xed8f6c=a68_0xed8f();return a68_0x3964=function(_0x39640d,_0x1a9c41){_0x39640d=_0x39640d-0xd3;let _0x2e1d13=_0xed8f6c[_0x39640d];return _0x2e1d13;},a68_0x3964(_0x8d913d,_0xeb3634);}(function(_0x361776,_0x493257){const _0x4c890e=a68_0x3964,_0x270a63=_0x361776();while(!![]){try{const _0x4bfd93=parseInt(_0x4c890e(0xd3))/0x1+-parseInt(_0x4c890e(0xdb))/0x2*(parseInt(_0x4c890e(0xd8))/0x3)+parseInt(_0x4c890e(0xe3))/0x4+parseInt(_0x4c890e(0xde))/0x5*(parseInt(_0x4c890e(0xdf))/0x6)+-parseInt(_0x4c890e(0xe2))/0x7*(-parseInt(_0x4c890e(0xd5))/0x8)+parseInt(_0x4c890e(0xe0))/0x9+-parseInt(_0x4c890e(0xdc))/0xa;if(_0x4bfd93===_0x493257)break;else _0x270a63['push'](_0x270a63['shift']());}catch(_0x29b368){_0x270a63['push'](_0x270a63['shift']());}}}(a68_0xed8f,0x41ec4));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a68_0x5e6059 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a68_0xed8f(){const _0x4f5d17=['1219674DBxTXM','3914586tfAVll','points','7zBSVOf','207840BreghZ','168888QNPCrI','generate','2693320cuiYbI','updateLastPoint','updatePoint','1531308mQMwHb','length','setPoints','2IuXXme','4152900YgWoob','setCoordinates','5rpYpdx'];a68_0xed8f=function(){return _0x4f5d17;};return a68_0xed8f();}class RectAngle extends a68_0x5e6059{constructor(_0x20dd3f){const _0x35321f=a68_0x3964;super(),this['type']='Polygon',_0x20dd3f&&_0x20dd3f[_0x35321f(0xd9)]>0x0&&getDeepth(_0x20dd3f)==0x2?this[_0x35321f(0xda)](_0x20dd3f):this[_0x35321f(0xdd)](_0x20dd3f);}[a68_0x224669(0xd4)](){const _0x590820=a68_0x224669;if(this[_0x590820(0xe1)][_0x590820(0xd9)]===0x2){let _0x192779=[],_0x535212=boundingExtent(this[_0x590820(0xe1)]),_0x358e9b=fromExtent(_0x535212);_0x192779=_0x358e9b['getCoordinates'](),this[_0x590820(0xdd)](_0x192779);}}[a68_0x224669(0xd7)](_0x41cd55,_0x32d5c4){const _0x978226=a68_0x224669;_0x32d5c4>=0x0&&_0x32d5c4<this[_0x978226(0xe1)][_0x978226(0xd9)]&&(this[_0x978226(0xe1)][_0x32d5c4]=_0x41cd55,this['generate']());}[a68_0x224669(0xd6)](_0x38c939){const _0x16d581=a68_0x224669;this[_0x16d581(0xd7)](_0x38c939,this[_0x16d581(0xe1)][_0x16d581(0xd9)]-0x1);}}export default RectAngle;
1
+ const a68_0x4f104f=a68_0x448a;function a68_0x448a(_0x48b863,_0x28ab71){const _0x525026=a68_0x5250();return a68_0x448a=function(_0x448a4c,_0x3f52a0){_0x448a4c=_0x448a4c-0x1e3;let _0x2310fc=_0x525026[_0x448a4c];return _0x2310fc;},a68_0x448a(_0x48b863,_0x28ab71);}function a68_0x5250(){const _0x1a5864=['14xxuKLX','21100725zCaeaL','15xkmBia','setCoordinates','10045yhKjDn','4471768krqgQh','5055852ncSHFW','points','495332lHCjgJ','length','getCoordinates','updatePoint','404848FvfbiW','Polygon','1301794CpuNZC'];a68_0x5250=function(){return _0x1a5864;};return a68_0x5250();}(function(_0x1198c0,_0x4addba){const _0x29c9e6=a68_0x448a,_0x106b56=_0x1198c0();while(!![]){try{const _0x174f38=parseInt(_0x29c9e6(0x1e4))/0x1+parseInt(_0x29c9e6(0x1ed))/0x2+-parseInt(_0x29c9e6(0x1e7))/0x3*(parseInt(_0x29c9e6(0x1f1))/0x4)+-parseInt(_0x29c9e6(0x1e9))/0x5+parseInt(_0x29c9e6(0x1eb))/0x6+parseInt(_0x29c9e6(0x1e5))/0x7*(parseInt(_0x29c9e6(0x1ea))/0x8)+-parseInt(_0x29c9e6(0x1e6))/0x9;if(_0x174f38===_0x4addba)break;else _0x106b56['push'](_0x106b56['shift']());}catch(_0xe653f7){_0x106b56['push'](_0x106b56['shift']());}}}(a68_0x5250,0xa082a));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a68_0x49c2e9 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a68_0x49c2e9{constructor(_0x37c710){const _0xcdd9e6=a68_0x448a;super(),this['type']=_0xcdd9e6(0x1e3),_0x37c710&&_0x37c710['length']>0x0&&getDeepth(_0x37c710)==0x2?this['setPoints'](_0x37c710):this[_0xcdd9e6(0x1e8)](_0x37c710);}['generate'](){const _0x5b239c=a68_0x448a;if(this['points']['length']===0x2){let _0x47d3d8=[],_0x24b486=boundingExtent(this[_0x5b239c(0x1ec)]),_0x147458=fromExtent(_0x24b486);_0x47d3d8=_0x147458[_0x5b239c(0x1ef)](),this[_0x5b239c(0x1e8)](_0x47d3d8);}}[a68_0x4f104f(0x1f0)](_0xc114a4,_0x500b12){const _0xb850a6=a68_0x4f104f;_0x500b12>=0x0&&_0x500b12<this[_0xb850a6(0x1ec)][_0xb850a6(0x1ee)]&&(this[_0xb850a6(0x1ec)][_0x500b12]=_0xc114a4,this['generate']());}['updateLastPoint'](_0x306287){const _0x8fb8e=a68_0x4f104f;this[_0x8fb8e(0x1f0)](_0x306287,this[_0x8fb8e(0x1ec)]['length']-0x1);}}export default RectAngle;
@@ -1 +1 @@
1
- var a69_0x124a2e=a69_0x3800;(function(_0x4c26a3,_0x2af2e8){var _0x2c51b2=a69_0x3800,_0x1eda0e=_0x4c26a3();while(!![]){try{var _0xf561c8=-parseInt(_0x2c51b2(0x12d))/0x1+-parseInt(_0x2c51b2(0x124))/0x2*(parseInt(_0x2c51b2(0x136))/0x3)+-parseInt(_0x2c51b2(0x132))/0x4*(-parseInt(_0x2c51b2(0x138))/0x5)+parseInt(_0x2c51b2(0x11f))/0x6+-parseInt(_0x2c51b2(0x137))/0x7+parseInt(_0x2c51b2(0x129))/0x8+parseInt(_0x2c51b2(0x128))/0x9;if(_0xf561c8===_0x2af2e8)break;else _0x1eda0e['push'](_0x1eda0e['shift']());}catch(_0x237bc7){_0x1eda0e['push'](_0x1eda0e['shift']());}}}(a69_0x1f0c,0x84d14));import{LineString}from'ol/geom';function a69_0x3800(_0x371aaf,_0x19ef76){var _0x1f0cb6=a69_0x1f0c();return a69_0x3800=function(_0x380040,_0x4c2122){_0x380040=_0x380040-0x11e;var _0x4a890a=_0x1f0cb6[_0x380040];return _0x4a890a;},a69_0x3800(_0x371aaf,_0x19ef76);}import a69_0x459e19 from'ol/format/GeoJSON';import a69_0x34232 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x3b5649=a69_0x3800;super([]),this[_0x3b5649(0x130)]=[];}[a69_0x124a2e(0x11e)](){var _0x118a7f=a69_0x124a2e;return this[_0x118a7f(0x135)];}[a69_0x124a2e(0x125)](){var _0x30acd7=a69_0x124a2e;return new a69_0x459e19()[_0x30acd7(0x133)](this);}[a69_0x124a2e(0x12c)](_0x19e6c6){var _0x365da1=a69_0x124a2e;this[_0x365da1(0x121)]=JSON[_0x365da1(0x123)](JSON[_0x365da1(0x12b)](_0x19e6c6));}['setMap'](_0x1d747c){var _0x207e21=a69_0x124a2e;if(_0x1d747c&&_0x1d747c instanceof a69_0x34232)this['map']=_0x1d747c;else throw new Error(_0x207e21(0x122));}[a69_0x124a2e(0x134)](){var _0x1b890e=a69_0x124a2e;return this[_0x1b890e(0x12e)];}[a69_0x124a2e(0x120)](){return!![];}[a69_0x124a2e(0x127)](_0x31dce9){var _0x4e28ad=a69_0x124a2e;this[_0x4e28ad(0x130)]=!_0x31dce9?[]:_0x31dce9,this[_0x4e28ad(0x130)][_0x4e28ad(0x126)]>=0x1&&(this[_0x4e28ad(0x12a)]&&this[_0x4e28ad(0x12a)]());}[a69_0x124a2e(0x12a)](){}['getPoints'](){return this['points']['slice'](0x0);}[a69_0x124a2e(0x12f)](){var _0x55a2dd=a69_0x124a2e;return this['points'][_0x55a2dd(0x126)];}[a69_0x124a2e(0x131)](){}}export default Plot;function a69_0x1f0c(){var _0x472588=['2184128sJrzRR','generate','stringify','setStyle','818538kkvuAL','map','getPointCount','points','finishDrawing','105956SYMUGo','writeGeometryObject','getMap','type','973551RlzmkX','5496183GNrtlR','75TsLWlg','getPlotType','605508wEdyDW','isPlot','style','传入的不是地图对象!','parse','2YxQFda','getGeoJson','length','setPoints','15308775LanMlA'];a69_0x1f0c=function(){return _0x472588;};return a69_0x1f0c();}
1
+ var a69_0x48c4a7=a69_0x163e;(function(_0x2892d5,_0x2b63c9){var _0x38dab1=a69_0x163e,_0x3dc1af=_0x2892d5();while(!![]){try{var _0x48d27b=parseInt(_0x38dab1(0xbd))/0x1*(-parseInt(_0x38dab1(0xac))/0x2)+-parseInt(_0x38dab1(0xb3))/0x3*(parseInt(_0x38dab1(0xb6))/0x4)+-parseInt(_0x38dab1(0xb1))/0x5*(-parseInt(_0x38dab1(0xa9))/0x6)+parseInt(_0x38dab1(0xb2))/0x7+parseInt(_0x38dab1(0xad))/0x8+-parseInt(_0x38dab1(0xab))/0x9+parseInt(_0x38dab1(0xaf))/0xa;if(_0x48d27b===_0x2b63c9)break;else _0x3dc1af['push'](_0x3dc1af['shift']());}catch(_0x8defbd){_0x3dc1af['push'](_0x3dc1af['shift']());}}}(a69_0x2a17,0x900a2));function a69_0x163e(_0x1388d3,_0x417a6a){var _0x2a179c=a69_0x2a17();return a69_0x163e=function(_0x163ecd,_0xf0773e){_0x163ecd=_0x163ecd-0xa3;var _0x2908d3=_0x2a179c[_0x163ecd];return _0x2908d3;},a69_0x163e(_0x1388d3,_0x417a6a);}import{LineString}from'ol/geom';import a69_0x3a7723 from'ol/format/GeoJSON';import a69_0x3315f0 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x50c2b4=a69_0x163e;super([]),this[_0x50c2b4(0xb7)]=[];}[a69_0x48c4a7(0xb0)](){var _0x1e7041=a69_0x48c4a7;return this[_0x1e7041(0xa8)];}[a69_0x48c4a7(0xa5)](){return new a69_0x3a7723()['writeGeometryObject'](this);}[a69_0x48c4a7(0xb9)](_0x1bb1da){var _0x223546=a69_0x48c4a7;this[_0x223546(0xae)]=JSON['parse'](JSON['stringify'](_0x1bb1da));}[a69_0x48c4a7(0xb8)](_0x2d956b){var _0x5aec01=a69_0x48c4a7;if(_0x2d956b&&_0x2d956b instanceof a69_0x3315f0)this[_0x5aec01(0xbb)]=_0x2d956b;else throw new Error(_0x5aec01(0xba));}['getMap'](){var _0x3d8cdc=a69_0x48c4a7;return this[_0x3d8cdc(0xbb)];}[a69_0x48c4a7(0xa4)](){return!![];}[a69_0x48c4a7(0xb4)](_0x32cd5f){var _0x5b8966=a69_0x48c4a7;this[_0x5b8966(0xb7)]=!_0x32cd5f?[]:_0x32cd5f,this[_0x5b8966(0xb7)][_0x5b8966(0xa3)]>=0x1&&(this[_0x5b8966(0xbc)]&&this[_0x5b8966(0xbc)]());}[a69_0x48c4a7(0xbc)](){}[a69_0x48c4a7(0xb5)](){var _0x5e23cf=a69_0x48c4a7;return this[_0x5e23cf(0xb7)][_0x5e23cf(0xaa)](0x0);}[a69_0x48c4a7(0xa7)](){return this['points']['length'];}[a69_0x48c4a7(0xa6)](){}}function a69_0x2a17(){var _0x55c97b=['style','14327250bGaIGZ','getPlotType','571985gYqxvM','1222627KVJVQY','45nOWCbp','setPoints','getPoints','279100kotWiV','points','setMap','setStyle','传入的不是地图对象!','map','generate','567746ZLgbYj','length','isPlot','getGeoJson','finishDrawing','getPointCount','type','6ZDwrzw','slice','4298913AzrEYa','2WQctRl','7681848OsWlwY'];a69_0x2a17=function(){return _0x55c97b;};return a69_0x2a17();}export default Plot;
@@ -1 +1 @@
1
- function a70_0x3a8a(_0x50da75,_0x79c8c0){var _0x403ecb=a70_0x403e();return a70_0x3a8a=function(_0x3a8a4d,_0x3575ea){_0x3a8a4d=_0x3a8a4d-0xd9;var _0x542c41=_0x403ecb[_0x3a8a4d];return _0x542c41;},a70_0x3a8a(_0x50da75,_0x79c8c0);}var a70_0xcecc71=a70_0x3a8a;(function(_0xcdcd05,_0x5f4dda){var _0x593160=a70_0x3a8a,_0x2af8a3=_0xcdcd05();while(!![]){try{var _0xd76dd2=parseInt(_0x593160(0xdc))/0x1+-parseInt(_0x593160(0xe0))/0x2*(parseInt(_0x593160(0xdf))/0x3)+parseInt(_0x593160(0xea))/0x4*(parseInt(_0x593160(0xdd))/0x5)+-parseInt(_0x593160(0xe2))/0x6+-parseInt(_0x593160(0xde))/0x7+parseInt(_0x593160(0xd9))/0x8*(-parseInt(_0x593160(0xdb))/0x9)+-parseInt(_0x593160(0xda))/0xa*(-parseInt(_0x593160(0xec))/0xb);if(_0xd76dd2===_0x5f4dda)break;else _0x2af8a3['push'](_0x2af8a3['shift']());}catch(_0x230794){_0x2af8a3['push'](_0x2af8a3['shift']());}}}(a70_0x403e,0x4c0d4));function a70_0x403e(){var _0x316da5=['type','length','setStyle','points','116ZMOlns','generate','66fhnJaM','896HolQVx','192650LYGylC','10818kUTblp','6937HXwWmC','105775YtuXSv','410613jEkTpp','76389xmrNFC','16yxAplc','updatePoint','165162ESGbMy','setCoordinates','isPlot','LineString'];a70_0x403e=function(){return _0x316da5;};return a70_0x403e();}import a70_0x3f34e3 from'./BaseLine';class Polyline extends a70_0x3f34e3{constructor(_0xf31c47){var _0x1ba42c=a70_0x3a8a;super(),this[_0x1ba42c(0xe6)]=_0x1ba42c(0xe5),this[_0x1ba42c(0xe3)](_0xf31c47);}[a70_0xcecc71(0xeb)](){var _0x384479=a70_0xcecc71;this[_0x384479(0xe3)](this['points']);}[a70_0xcecc71(0xe1)](_0x381b43,_0xb28bf7){var _0x3cfca6=a70_0xcecc71;_0xb28bf7>=0x0&&_0xb28bf7<this['points'][_0x3cfca6(0xe7)]&&(this[_0x3cfca6(0xe9)][_0xb28bf7]=_0x381b43,this['generate']());}['updateLastPoint'](_0x5a9eec){var _0x241222=a70_0xcecc71;this[_0x241222(0xe1)](_0x5a9eec,this[_0x241222(0xe9)]['length']-0x1);}[a70_0xcecc71(0xe4)](){return![];}[a70_0xcecc71(0xe8)](_0x3d0316){this['style']=JSON['parse'](JSON['stringify'](_0x3d0316));}}export default Polyline;
1
+ function a70_0x1040(_0x2a5758,_0x386ac3){var _0xbdd50d=a70_0xbdd5();return a70_0x1040=function(_0x104047,_0x5d6073){_0x104047=_0x104047-0x1a3;var _0x5d52fd=_0xbdd50d[_0x104047];return _0x5d52fd;},a70_0x1040(_0x2a5758,_0x386ac3);}function a70_0xbdd5(){var _0x5420fa=['1080440SXDTVD','updateLastPoint','length','type','stringify','generate','627SfIIoF','1724095fElVZC','updatePoint','setStyle','109570pBJSJp','765882AKlpXn','LineString','4eUJGJC','isPlot','parse','5972733rqYyvK','171mAphQD','12PXzELa','6958vRlEos','111160ehepmQ','setCoordinates','points'];a70_0xbdd5=function(){return _0x5420fa;};return a70_0xbdd5();}var a70_0x536024=a70_0x1040;(function(_0x1e41c1,_0x4bb139){var _0x272761=a70_0x1040,_0x32e2d2=_0x1e41c1();while(!![]){try{var _0x273c3b=parseInt(_0x272761(0x1b8))/0x1+-parseInt(_0x272761(0x1a9))/0x2*(-parseInt(_0x272761(0x1a7))/0x3)+-parseInt(_0x272761(0x1a3))/0x4*(parseInt(_0x272761(0x1b4))/0x5)+parseInt(_0x272761(0x1a8))/0x6*(parseInt(_0x272761(0x1aa))/0x7)+-parseInt(_0x272761(0x1ad))/0x8+parseInt(_0x272761(0x1a6))/0x9+parseInt(_0x272761(0x1b7))/0xa*(-parseInt(_0x272761(0x1b3))/0xb);if(_0x273c3b===_0x4bb139)break;else _0x32e2d2['push'](_0x32e2d2['shift']());}catch(_0x112b16){_0x32e2d2['push'](_0x32e2d2['shift']());}}}(a70_0xbdd5,0x87897));import a70_0x2e00ff from'./BaseLine';class Polyline extends a70_0x2e00ff{constructor(_0x40a805){var _0x428584=a70_0x1040;super(),this[_0x428584(0x1b0)]=_0x428584(0x1b9),this[_0x428584(0x1ab)](_0x40a805);}['generate'](){var _0xcb1e0a=a70_0x1040;this[_0xcb1e0a(0x1ab)](this[_0xcb1e0a(0x1ac)]);}[a70_0x536024(0x1b5)](_0x5046af,_0x43486e){var _0x3fdc09=a70_0x536024;_0x43486e>=0x0&&_0x43486e<this[_0x3fdc09(0x1ac)]['length']&&(this[_0x3fdc09(0x1ac)][_0x43486e]=_0x5046af,this[_0x3fdc09(0x1b2)]());}[a70_0x536024(0x1ae)](_0x6067c0){var _0x17c6cb=a70_0x536024;this[_0x17c6cb(0x1b5)](_0x6067c0,this[_0x17c6cb(0x1ac)][_0x17c6cb(0x1af)]-0x1);}[a70_0x536024(0x1a4)](){return![];}[a70_0x536024(0x1b6)](_0xb5583c){var _0x26cb85=a70_0x536024;this['style']=JSON[_0x26cb85(0x1a5)](JSON[_0x26cb85(0x1b1)](_0xb5583c));}}export default Polyline;
@@ -1 +1 @@
1
- (function(_0x29d60e,_0x274b74){const _0x4106d1=a73_0x1791,_0xfcb4b3=_0x29d60e();while(!![]){try{const _0x285687=parseInt(_0x4106d1(0xe7))/0x1+parseInt(_0x4106d1(0xa5))/0x2+-parseInt(_0x4106d1(0xe9))/0x3+-parseInt(_0x4106d1(0xd7))/0x4*(parseInt(_0x4106d1(0xb8))/0x5)+parseInt(_0x4106d1(0xcb))/0x6+-parseInt(_0x4106d1(0xb5))/0x7*(parseInt(_0x4106d1(0xd8))/0x8)+parseInt(_0x4106d1(0xa6))/0x9;if(_0x285687===_0x274b74)break;else _0xfcb4b3['push'](_0xfcb4b3['shift']());}catch(_0xfc422d){_0xfcb4b3['push'](_0xfcb4b3['shift']());}}}(a73_0x2a1e,0x485fe));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a73_0x22dd8c from'ol/style/Style';import a73_0x1618d6 from'ol/style/Circle';import a73_0x2eaac0 from'ol/style/Fill';import a73_0x4e105d from'ol/style/Stroke';function getMainStyle(_0x36970c,_0x2a5b3b=0x0,_0x2c132c){const _0x2f79df=a73_0x1791;let _0x4fdabb;return _0x36970c[_0x2f79df(0xd2)]||_0x36970c['markerColor']?_0x4fdabb=new a73_0x22dd8c({'renderer':(_0x11541d,_0x15aab8)=>{preLoadImageRenderFunction(_0x36970c,_0x11541d,_0x15aab8,_0x2c132c,_rendererFunction);},'zIndex':Number(_0x2a5b3b)}):_0x4fdabb=new a73_0x22dd8c({'image':new a73_0x1618d6({'radius':_0x36970c[_0x2f79df(0xd0)]?_0x36970c['radius']:_0x36970c[_0x2f79df(0xcf)],'fill':new a73_0x2eaac0({'color':getColor(_0x36970c['color'],_0x36970c[_0x2f79df(0xb9)])}),'stroke':_0x36970c[_0x2f79df(0xac)]&&_0x36970c['outlineColor']?new a73_0x4e105d({'color':getColor(_0x36970c[_0x2f79df(0xc6)],_0x36970c[_0x2f79df(0xdc)]),'width':_0x36970c[_0x2f79df(0xaa)]}):undefined}),'zIndex':Number(_0x2a5b3b)}),_0x4fdabb;}function a73_0x2a1e(){const _0x517ccd=['label','589932CsHQpZ','horizontalOrigin','restore','model/','pixelSize','radius','cloud','image','text','pixelRatio','getFlatMidpoint','MultiLineString','412NqrhSz','8088mjtXuT','getImageData','BOTTOM','getStride','outlineOpacity','globalAlpha','pixelOffsetY','toUpperCase','zIndex','push','billboard','TOP','translate','model','geometry','241945ShUYDr','match','764607KamlGM','color','verticalOrigin','1016044aedKIq','5022054ELIcrf','width','drawImage','replace','outlineWidth','CENTER','outline','scale','height','createElement','.png','rotation','getContext','show','modelKind','3955vmLmAu','getFlatInteriorPoints','MultiPoint','13775PDKAKO','opacity','pixelOffset','changeColor','src','getType','canvas','getPixelFromCoordinate','RIGHT','MultiPolygon','length','save','stringify','imgUrl','outlineColor','getFlatInteriorPoint','parse','warn'];a73_0x2a1e=function(){return _0x517ccd;};return a73_0x2a1e();}function _rendererFunction(_0x51c0b9,_0xb3b4f4,_0x5758ee,_0x165f79,_0xe7bcd4){const _0x2e5f95=a73_0x1791;if(!_0xe7bcd4||_0xe7bcd4['width']===0x0){let _0x518628=new Image();_0x518628[_0x2e5f95(0xbc)]=_0x51c0b9['image'];}if(_0x51c0b9['changeColor']&&_0x51c0b9['color']!==''){let _0xe9638=_0x51c0b9[_0x2e5f95(0xad)]||0x1,_0x4bcf0f=_0x51c0b9[_0x2e5f95(0xa7)]||_0xe7bcd4['width']*_0xe9638,_0x3e187b=_0x51c0b9[_0x2e5f95(0xae)]||_0xe7bcd4[_0x2e5f95(0xae)]*_0xe9638;_0x4bcf0f=_0x4bcf0f*_0x5758ee[_0x2e5f95(0xd4)],_0x3e187b=_0x3e187b*_0x5758ee[_0x2e5f95(0xd4)];const _0x4c544a=document[_0x2e5f95(0xaf)](_0x2e5f95(0xbe));_0x4c544a[_0x2e5f95(0xa7)]=_0x4bcf0f,_0x4c544a[_0x2e5f95(0xae)]=_0x3e187b;const _0x43f4a3=_0x4c544a[_0x2e5f95(0xb2)]('2d');_0x43f4a3===null||_0x43f4a3===void 0x0?void 0x0:_0x43f4a3[_0x2e5f95(0xa8)](_0xe7bcd4,0x0,0x0,_0x4bcf0f,_0x3e187b);let _0x4b0f40=_0x43f4a3===null||_0x43f4a3===void 0x0?void 0x0:_0x43f4a3[_0x2e5f95(0xd9)](0x0,0x0,_0x4bcf0f,_0x3e187b),_0x73635f=_0x4b0f40===null||_0x4b0f40===void 0x0?void 0x0:_0x4b0f40['data'];_0xe7bcd4=_0x4c544a;let _0x3d98f8=HexToRgb(_0x51c0b9[_0x2e5f95(0xea)]);if(_0x73635f&&_0x3d98f8)for(var _0x4c45a5=0x0;_0x4c45a5<_0x73635f[_0x2e5f95(0xc2)];_0x4c45a5+=0x4){_0x73635f[_0x4c45a5]=_0x3d98f8[0x0],_0x73635f[_0x4c45a5+0x1]=_0x3d98f8[0x1],_0x73635f[_0x4c45a5+0x2]=_0x3d98f8[0x2];}_0x4b0f40&&(_0x43f4a3===null||_0x43f4a3===void 0x0?void 0x0:_0x43f4a3['putImageData'](_0x4b0f40,0x0,0x0));}let _0x5271b3=_0x5758ee[_0x2e5f95(0xe6)],_0x41db2a=_0x5758ee['pixelRatio'],_0x41d5e1=_0x5271b3[_0x2e5f95(0xdb)](),_0x573a45=_0x5271b3[_0x2e5f95(0xbd)](),_0x2bff29=[];switch(_0x573a45){case'LineString':_0x2bff29=_0x5271b3[_0x2e5f95(0xd5)]();break;case _0x2e5f95(0xd6):_0x2bff29=_0x5271b3['getFlatMidpoints'](),_0x41d5e1=0x2;break;case'Polygon':_0x2bff29=_0x5271b3[_0x2e5f95(0xc7)](),_0x41d5e1=0x3;break;case _0x2e5f95(0xc1):{let _0x34f678=_0x5271b3[_0x2e5f95(0xb6)]();_0x2bff29=[];for(let _0x4bc6da=0x0,_0x5319bf=_0x34f678[_0x2e5f95(0xc2)];_0x4bc6da<_0x5319bf;_0x4bc6da+=0x3){_0x2bff29[_0x2e5f95(0xe1)](_0x34f678[_0x4bc6da],_0x34f678[_0x4bc6da+0x1]);}if(_0x2bff29[_0x2e5f95(0xc2)]===0x0)return;_0x41d5e1=0x2;break;}}if(_0x2bff29[_0x2e5f95(0xc2)]>0x0&&_0x165f79)for(let _0x3a2105=0x0,_0x430881=_0x2bff29[_0x2e5f95(0xc2)];_0x3a2105<_0x430881;_0x3a2105+=_0x41d5e1){let _0xc34ff8=[_0x2bff29[_0x3a2105],_0x2bff29[_0x3a2105+0x1]],_0x5100ff=_0x165f79[_0x2e5f95(0xbf)](_0xc34ff8);_0x5100ff=[_0x5100ff[0x0]*_0x41db2a,_0x5100ff[0x1]*_0x41db2a],drawImage(_0x51c0b9,_0x5100ff,_0x5758ee,_0xe7bcd4);}else{if(_0x573a45===_0x2e5f95(0xb7))for(let _0x1ae164 of _0xb3b4f4){drawImage(_0x51c0b9,_0x1ae164,_0x5758ee,_0xe7bcd4);}else drawImage(_0x51c0b9,_0xb3b4f4,_0x5758ee,_0xe7bcd4);}}function HexToRgb(_0x43da6c){const _0x1505bf=a73_0x1791;_0x43da6c=_0x43da6c[_0x1505bf(0xa9)]('#','');let _0x4d1d81=_0x43da6c[_0x1505bf(0xe8)](/../g);if(_0x4d1d81){for(let _0x5b69a3=0x0;_0x5b69a3<0x3;_0x5b69a3++)_0x4d1d81[_0x5b69a3]=parseInt(_0x4d1d81[_0x5b69a3],0x10);}return _0x4d1d81;}export function getImageOlStyle(_0x397085,_0x2b30dd,_0x10fbe8,_0x316616){const _0x308c68=a73_0x1791;var _0x394ae4;if(_0x397085&&_0x397085[_0x308c68(0xb3)]!==![]){_0x397085=JSON[_0x308c68(0xc8)](JSON[_0x308c68(0xc4)](_0x397085)),_0x2b30dd=(_0x394ae4=_0x397085[_0x308c68(0xe0)])!==null&&_0x394ae4!==void 0x0?_0x394ae4:_0x2b30dd;let _0x22b1a9=isShowStyle(_0x397085,_0x10fbe8,_0x316616);if(_0x22b1a9)return _0x397085[_0x308c68(0xd2)]=parseImage(_0x397085['image']),getMainStyle(_0x397085,_0x2b30dd,_0x316616);}}function a73_0x1791(_0x447e16,_0x11a46d){const _0x2a1e1b=a73_0x2a1e();return a73_0x1791=function(_0x179187,_0xc8927c){_0x179187=_0x179187-0xa4;let _0x5a2b74=_0x2a1e1b[_0x179187];return _0x5a2b74;},a73_0x1791(_0x447e16,_0x11a46d);}export function getPointStyle(_0x1af93c,_0x27bddd,_0x48e94d,_0x12cb6e){const _0x217eef=a73_0x1791;var _0x3548d0,_0x1664c5;_0x1af93c=JSON[_0x217eef(0xc8)](JSON['stringify'](_0x1af93c));let _0x1182fa=(_0x3548d0=_0x1af93c[_0x217eef(0xe0)])!==null&&_0x3548d0!==void 0x0?_0x3548d0:0x0,_0x314d52=[],_0x8d8b9d=getImageOlStyle(_0x1af93c,_0x1182fa,_0x48e94d,_0x12cb6e);_0x8d8b9d&&_0x314d52[_0x217eef(0xe1)](_0x8d8b9d);let _0x2f7576=getImageOlStyle(_0x1af93c['billboard'],_0x1182fa,_0x48e94d,_0x12cb6e);_0x2f7576&&_0x314d52[_0x217eef(0xe1)](_0x2f7576);if(_0x1af93c[_0x217eef(0xe5)]&&_0x1af93c[_0x217eef(0xe5)][_0x217eef(0xb3)]!==![]){let _0x3dbdd8=isShowStyle(_0x1af93c[_0x217eef(0xe5)],_0x48e94d,_0x12cb6e);if(_0x3dbdd8){let _0x325139=(_0x1664c5=_0x1af93c[_0x217eef(0xe5)][_0x217eef(0xe0)])!==null&&_0x1664c5!==void 0x0?_0x1664c5:_0x1182fa,_0x5de2b=_0x1af93c[_0x217eef(0xe5)][_0x217eef(0xc5)]||_0x217eef(0xce)+_0x1af93c[_0x217eef(0xe5)]['modelKind']+_0x217eef(0xb0);_0x1af93c[_0x217eef(0xad)]=0x1,_0x1af93c['width']=0x30,_0x1af93c[_0x217eef(0xae)]=0x30,_0x1af93c['verticalOrigin']=_0x217eef(0xab),_0x314d52['push'](getMainStyle(_0x1af93c[_0x217eef(0xe5)],_0x325139,_0x12cb6e));}}if(_0x1af93c[_0x217eef(0xca)]&&_0x1af93c[_0x217eef(0xca)][_0x217eef(0xb3)]!==![]){let _0x1936b4=new a73_0x22dd8c({'text':createTextStyle(_0x1af93c[_0x217eef(0xca)],_0x27bddd,_0x48e94d,_0x12cb6e),'zIndex':Number(_0x1182fa)+0x1});_0x314d52['push'](_0x1936b4);}return _0x314d52;}export function getPointSingleStyle(_0x44c5f8,_0xd04d29,_0x38cee4,_0x119ff8){const _0x314e8b=a73_0x1791;_0xd04d29=JSON[_0x314e8b(0xc8)](JSON[_0x314e8b(0xc4)](_0xd04d29));let _0x1846d2=_0xd04d29[_0x314e8b(0xca)],_0x4b7f17;_0x1846d2&&(_0x4b7f17=_0x1846d2[_0x314e8b(0xd3)]?_0x1846d2[_0x314e8b(0xd3)]:'');if(_0x44c5f8===_0x314e8b(0xe2))return _0xd04d29[_0x314e8b(0xd2)]=parseImage(_0xd04d29[_0x314e8b(0xd2)]),getPointStyle(_0xd04d29,_0x4b7f17,_0x38cee4,_0x119ff8);else{if(_0x44c5f8===_0x314e8b(0xe5)){let _0x320eda=_0xd04d29['imgUrl']||_0x314e8b(0xce)+_0xd04d29[_0x314e8b(0xb4)]+_0x314e8b(0xb0);return _0xd04d29[_0x314e8b(0xad)]=0x1,_0xd04d29[_0x314e8b(0xa7)]=0x30,_0xd04d29[_0x314e8b(0xae)]=0x30,_0xd04d29['verticalOrigin']=_0x314e8b(0xab),getPointStyle(_0xd04d29,_0x4b7f17,_0x38cee4,_0x119ff8);}else{if(_0x44c5f8===_0x314e8b(0xd1))return getPointStyle(_0xd04d29,_0x4b7f17,_0x38cee4,_0x119ff8);else{if(_0x44c5f8==='point')return getPointStyle(_0xd04d29,_0x4b7f17,_0x38cee4,_0x119ff8);else return _0x44c5f8==='label'?new a73_0x22dd8c({'text':createTextStyle(_0xd04d29,_0xd04d29[_0x314e8b(0xd3)],_0x38cee4,_0x119ff8),'zIndex':_0xd04d29[_0x314e8b(0xe0)]}):getPointStyle(_0xd04d29,_0x4b7f17,_0x38cee4,_0x119ff8);}}}}function drawImage(_0x21f0b0,_0xdddae5,_0x5b95a2,_0x573310){const _0x595f8c=a73_0x1791;var _0x5f674f,_0x6f5ae2,_0x111b24,_0x3ea0e0;let _0x135f14=_0x5b95a2['context'];try{_0x135f14[_0x595f8c(0xc3)]();let _0x4695b3=Number(_0x21f0b0['pixelOffsetX']||((_0x5f674f=_0x21f0b0['pixelOffset'])===null||_0x5f674f===void 0x0?void 0x0:_0x5f674f[0x0])||0x0),_0x1e76d3=Number(_0x21f0b0[_0x595f8c(0xde)]||((_0x6f5ae2=_0x21f0b0[_0x595f8c(0xba)])===null||_0x6f5ae2===void 0x0?void 0x0:_0x6f5ae2[0x1])||0x0);_0x135f14[_0x595f8c(0xe4)](_0xdddae5[0x0]+_0x4695b3,_0xdddae5[0x1]+_0x1e76d3);if(_0x21f0b0[_0x595f8c(0xb1)])_0x135f14['rotate'](toRadians(_0x21f0b0[_0x595f8c(0xb1)]));_0x135f14[_0x595f8c(0xdd)]=_0x21f0b0[_0x595f8c(0xb9)]!=null?_0x21f0b0['opacity']:0x1;if(_0x573310[_0x595f8c(0xa7)]>0x0){let _0x157d3e=_0x21f0b0['scale']||0x1,_0x4f0f0e=_0x21f0b0['width']||_0x573310['width']*_0x157d3e,_0x29f9e3=_0x21f0b0[_0x595f8c(0xae)]||_0x573310[_0x595f8c(0xae)]*_0x157d3e;_0x4f0f0e=_0x4f0f0e*_0x5b95a2['pixelRatio'],_0x29f9e3=_0x29f9e3*_0x5b95a2[_0x595f8c(0xd4)];_0x21f0b0[_0x595f8c(0xbb)]&&(_0x4f0f0e=_0x573310[_0x595f8c(0xa7)],_0x29f9e3=_0x573310[_0x595f8c(0xae)]);let _0x87b166;switch((_0x111b24=_0x21f0b0[_0x595f8c(0xcc)])===null||_0x111b24===void 0x0?void 0x0:_0x111b24[_0x595f8c(0xdf)]()){default:case'CENTER':_0x87b166=-_0x4f0f0e/0x2;break;case'LEFT':_0x87b166=0x0;break;case _0x595f8c(0xc0):_0x87b166=-_0x4f0f0e;break;}let _0x5e9ccd;switch((_0x3ea0e0=_0x21f0b0[_0x595f8c(0xa4)])===null||_0x3ea0e0===void 0x0?void 0x0:_0x3ea0e0['toUpperCase']()){default:case _0x595f8c(0xda):_0x5e9ccd=-_0x29f9e3;break;case'CENTER':_0x5e9ccd=-_0x29f9e3/0x2;break;case _0x595f8c(0xe3):_0x5e9ccd=0x0;break;}_0x135f14[_0x595f8c(0xa8)](_0x573310,_0x87b166,_0x5e9ccd,_0x4f0f0e,_0x29f9e3);}else _0x135f14[_0x595f8c(0xa8)](_0x573310,0x0,0x0);_0x135f14[_0x595f8c(0xcd)]();}catch(_0x239b48){_0x135f14[_0x595f8c(0xcd)](),console[_0x595f8c(0xc9)](_0x239b48);}}
1
+ (function(_0x5958e8,_0x25fd07){const _0x9c116d=a73_0x13a4,_0x2002c3=_0x5958e8();while(!![]){try{const _0x53d43d=-parseInt(_0x9c116d(0xde))/0x1+-parseInt(_0x9c116d(0xe3))/0x2+parseInt(_0x9c116d(0xf0))/0x3+-parseInt(_0x9c116d(0xf3))/0x4*(-parseInt(_0x9c116d(0xc7))/0x5)+-parseInt(_0x9c116d(0xca))/0x6+parseInt(_0x9c116d(0xff))/0x7*(parseInt(_0x9c116d(0xf6))/0x8)+parseInt(_0x9c116d(0x102))/0x9;if(_0x53d43d===_0x25fd07)break;else _0x2002c3['push'](_0x2002c3['shift']());}catch(_0x4dcd31){_0x2002c3['push'](_0x2002c3['shift']());}}}(a73_0x22b9,0xe71b2));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a73_0x55b4f1 from'ol/style/Style';import a73_0xdc2067 from'ol/style/Circle';function a73_0x22b9(){const _0x114cee=['warn','1259499mzpOwI','data','getFlatMidpoints','horizontalOrigin','color','2987786ncSLVX','MultiPoint','translate','point','toUpperCase','parse','changeColor','LEFT','MultiPolygon','model','label','getFlatMidpoint','cloud','4197546MvmeaT','length','RIGHT','46796PlUheb','globalAlpha','model/','4001928Kqurni','zIndex','pixelRatio','stringify','text','height','MultiLineString','Polygon','BOTTOM','7rxTyyJ','modelKind','TOP','20618766FpRhod','drawImage','LineString','image','width','billboard','outlineColor','rotate','save','scale','show','40kaAwud','imgUrl','pixelOffset','3503922LuvjRr','push','getType','match','context','opacity','radius','pixelSize','pixelOffsetY','verticalOrigin','restore','getImageData','getFlatInteriorPoint','getStride','getFlatInteriorPoints','.png','getContext','rotation','CENTER'];a73_0x22b9=function(){return _0x114cee;};return a73_0x22b9();}import a73_0x1728cb from'ol/style/Fill';import a73_0x387299 from'ol/style/Stroke';function getMainStyle(_0x2ceb75,_0xe3943e=0x0,_0x3a63aa){const _0x49519f=a73_0x13a4;let _0x1d5846;return _0x2ceb75[_0x49519f(0x105)]||_0x2ceb75['markerColor']?_0x1d5846=new a73_0x55b4f1({'renderer':(_0x7aba84,_0x856d5f)=>{preLoadImageRenderFunction(_0x2ceb75,_0x7aba84,_0x856d5f,_0x3a63aa,_rendererFunction);},'zIndex':Number(_0xe3943e)}):_0x1d5846=new a73_0x55b4f1({'image':new a73_0xdc2067({'radius':_0x2ceb75[_0x49519f(0xd0)]?_0x2ceb75[_0x49519f(0xd0)]:_0x2ceb75[_0x49519f(0xd1)],'fill':new a73_0x1728cb({'color':getColor(_0x2ceb75[_0x49519f(0xe2)],_0x2ceb75[_0x49519f(0xcf)])}),'stroke':_0x2ceb75['outline']&&_0x2ceb75[_0x49519f(0x108)]?new a73_0x387299({'color':getColor(_0x2ceb75['outlineColor'],_0x2ceb75['outlineOpacity']),'width':_0x2ceb75['outlineWidth']}):undefined}),'zIndex':Number(_0xe3943e)}),_0x1d5846;}function _rendererFunction(_0x31049f,_0x5c54c8,_0x1d200c,_0x4577e1,_0x126a9d){const _0x7aa707=a73_0x13a4;if(!_0x126a9d||_0x126a9d['width']===0x0){let _0x41f1a0=new Image();_0x41f1a0['src']=_0x31049f[_0x7aa707(0x105)];}if(_0x31049f[_0x7aa707(0xe9)]&&_0x31049f['color']!==''){let _0x27a37a=_0x31049f[_0x7aa707(0xc5)]||0x1,_0x3bcefc=_0x31049f[_0x7aa707(0x106)]||_0x126a9d[_0x7aa707(0x106)]*_0x27a37a,_0x3ecf9a=_0x31049f[_0x7aa707(0xfb)]||_0x126a9d['height']*_0x27a37a;_0x3bcefc=_0x3bcefc*_0x1d200c[_0x7aa707(0xf8)],_0x3ecf9a=_0x3ecf9a*_0x1d200c[_0x7aa707(0xf8)];const _0x2ae5d8=document['createElement']('canvas');_0x2ae5d8[_0x7aa707(0x106)]=_0x3bcefc,_0x2ae5d8['height']=_0x3ecf9a;const _0xa7347d=_0x2ae5d8[_0x7aa707(0xda)]('2d');_0xa7347d===null||_0xa7347d===void 0x0?void 0x0:_0xa7347d[_0x7aa707(0x103)](_0x126a9d,0x0,0x0,_0x3bcefc,_0x3ecf9a);let _0x21827b=_0xa7347d===null||_0xa7347d===void 0x0?void 0x0:_0xa7347d[_0x7aa707(0xd5)](0x0,0x0,_0x3bcefc,_0x3ecf9a),_0x75c627=_0x21827b===null||_0x21827b===void 0x0?void 0x0:_0x21827b[_0x7aa707(0xdf)];_0x126a9d=_0x2ae5d8;let _0x4c2580=HexToRgb(_0x31049f[_0x7aa707(0xe2)]);if(_0x75c627&&_0x4c2580)for(var _0x4e28a4=0x0;_0x4e28a4<_0x75c627[_0x7aa707(0xf1)];_0x4e28a4+=0x4){_0x75c627[_0x4e28a4]=_0x4c2580[0x0],_0x75c627[_0x4e28a4+0x1]=_0x4c2580[0x1],_0x75c627[_0x4e28a4+0x2]=_0x4c2580[0x2];}_0x21827b&&(_0xa7347d===null||_0xa7347d===void 0x0?void 0x0:_0xa7347d['putImageData'](_0x21827b,0x0,0x0));}let _0x1eada0=_0x1d200c['geometry'],_0x5f107e=_0x1d200c[_0x7aa707(0xf8)],_0x95bc57=_0x1eada0[_0x7aa707(0xd7)](),_0x24918e=_0x1eada0[_0x7aa707(0xcc)](),_0x6d499d=[];switch(_0x24918e){case _0x7aa707(0x104):_0x6d499d=_0x1eada0[_0x7aa707(0xee)]();break;case _0x7aa707(0xfc):_0x6d499d=_0x1eada0[_0x7aa707(0xe0)](),_0x95bc57=0x2;break;case _0x7aa707(0xfd):_0x6d499d=_0x1eada0[_0x7aa707(0xd6)](),_0x95bc57=0x3;break;case _0x7aa707(0xeb):{let _0x5a870b=_0x1eada0[_0x7aa707(0xd8)]();_0x6d499d=[];for(let _0x5ae489=0x0,_0x3cc557=_0x5a870b[_0x7aa707(0xf1)];_0x5ae489<_0x3cc557;_0x5ae489+=0x3){_0x6d499d[_0x7aa707(0xcb)](_0x5a870b[_0x5ae489],_0x5a870b[_0x5ae489+0x1]);}if(_0x6d499d[_0x7aa707(0xf1)]===0x0)return;_0x95bc57=0x2;break;}}if(_0x6d499d[_0x7aa707(0xf1)]>0x0&&_0x4577e1)for(let _0x2716bb=0x0,_0x37227e=_0x6d499d[_0x7aa707(0xf1)];_0x2716bb<_0x37227e;_0x2716bb+=_0x95bc57){let _0x11ca6f=[_0x6d499d[_0x2716bb],_0x6d499d[_0x2716bb+0x1]],_0x540494=_0x4577e1['getPixelFromCoordinate'](_0x11ca6f);_0x540494=[_0x540494[0x0]*_0x5f107e,_0x540494[0x1]*_0x5f107e],drawImage(_0x31049f,_0x540494,_0x1d200c,_0x126a9d);}else{if(_0x24918e===_0x7aa707(0xe4))for(let _0x2a4819 of _0x5c54c8){drawImage(_0x31049f,_0x2a4819,_0x1d200c,_0x126a9d);}else drawImage(_0x31049f,_0x5c54c8,_0x1d200c,_0x126a9d);}}function HexToRgb(_0x12fc10){const _0x12eba6=a73_0x13a4;_0x12fc10=_0x12fc10['replace']('#','');let _0x5264e7=_0x12fc10[_0x12eba6(0xcd)](/../g);if(_0x5264e7){for(let _0x2dd49e=0x0;_0x2dd49e<0x3;_0x2dd49e++)_0x5264e7[_0x2dd49e]=parseInt(_0x5264e7[_0x2dd49e],0x10);}return _0x5264e7;}function a73_0x13a4(_0x20e94d,_0x884dd3){const _0x22b9a8=a73_0x22b9();return a73_0x13a4=function(_0x13a4a2,_0x37c354){_0x13a4a2=_0x13a4a2-0xc3;let _0x205826=_0x22b9a8[_0x13a4a2];return _0x205826;},a73_0x13a4(_0x20e94d,_0x884dd3);}export function getImageOlStyle(_0x4fe7b2,_0x104a50,_0x75e956,_0x551026){const _0x3f1850=a73_0x13a4;var _0x773c33;if(_0x4fe7b2&&_0x4fe7b2[_0x3f1850(0xc6)]!==![]){_0x4fe7b2=JSON[_0x3f1850(0xe8)](JSON[_0x3f1850(0xf9)](_0x4fe7b2)),_0x104a50=(_0x773c33=_0x4fe7b2[_0x3f1850(0xf7)])!==null&&_0x773c33!==void 0x0?_0x773c33:_0x104a50;let _0x4918a7=isShowStyle(_0x4fe7b2,_0x75e956,_0x551026);if(_0x4918a7)return _0x4fe7b2[_0x3f1850(0x105)]=parseImage(_0x4fe7b2[_0x3f1850(0x105)]),getMainStyle(_0x4fe7b2,_0x104a50,_0x551026);}}export function getPointStyle(_0x114d89,_0x1e94e1,_0x215f67,_0x470e08){const _0x46a51f=a73_0x13a4;var _0x4bc588,_0x2de79d;_0x114d89=JSON[_0x46a51f(0xe8)](JSON[_0x46a51f(0xf9)](_0x114d89));let _0x431dc2=(_0x4bc588=_0x114d89[_0x46a51f(0xf7)])!==null&&_0x4bc588!==void 0x0?_0x4bc588:0x0,_0x12f512=[],_0x1bd922=getImageOlStyle(_0x114d89,_0x431dc2,_0x215f67,_0x470e08);_0x1bd922&&_0x12f512[_0x46a51f(0xcb)](_0x1bd922);let _0xfe2c4d=getImageOlStyle(_0x114d89[_0x46a51f(0x107)],_0x431dc2,_0x215f67,_0x470e08);_0xfe2c4d&&_0x12f512[_0x46a51f(0xcb)](_0xfe2c4d);if(_0x114d89[_0x46a51f(0xec)]&&_0x114d89['model'][_0x46a51f(0xc6)]!==![]){let _0x4d906e=isShowStyle(_0x114d89[_0x46a51f(0xec)],_0x215f67,_0x470e08);if(_0x4d906e){let _0xc510f=(_0x2de79d=_0x114d89[_0x46a51f(0xec)][_0x46a51f(0xf7)])!==null&&_0x2de79d!==void 0x0?_0x2de79d:_0x431dc2,_0x1099cb=_0x114d89[_0x46a51f(0xec)]['imgUrl']||'model/'+_0x114d89[_0x46a51f(0xec)][_0x46a51f(0x100)]+_0x46a51f(0xd9);_0x114d89['scale']=0x1,_0x114d89['width']=0x30,_0x114d89[_0x46a51f(0xfb)]=0x30,_0x114d89['verticalOrigin']=_0x46a51f(0xdc),_0x12f512[_0x46a51f(0xcb)](getMainStyle(_0x114d89['model'],_0xc510f,_0x470e08));}}if(_0x114d89[_0x46a51f(0xed)]&&_0x114d89[_0x46a51f(0xed)][_0x46a51f(0xc6)]!==![]){let _0x33ce33=new a73_0x55b4f1({'text':createTextStyle(_0x114d89['label'],_0x1e94e1,_0x215f67,_0x470e08),'zIndex':Number(_0x431dc2)+0x1});_0x12f512[_0x46a51f(0xcb)](_0x33ce33);}return _0x12f512;}export function getPointSingleStyle(_0x3bb3d4,_0x3d26f2,_0x161819,_0x3d9f2b){const _0x9af819=a73_0x13a4;_0x3d26f2=JSON[_0x9af819(0xe8)](JSON['stringify'](_0x3d26f2));let _0x176e97=_0x3d26f2[_0x9af819(0xed)],_0xd5094d;_0x176e97&&(_0xd5094d=_0x176e97[_0x9af819(0xfa)]?_0x176e97['text']:'');if(_0x3bb3d4===_0x9af819(0x107))return _0x3d26f2[_0x9af819(0x105)]=parseImage(_0x3d26f2[_0x9af819(0x105)]),getPointStyle(_0x3d26f2,_0xd5094d,_0x161819,_0x3d9f2b);else{if(_0x3bb3d4===_0x9af819(0xec)){let _0xcfd46f=_0x3d26f2[_0x9af819(0xc8)]||_0x9af819(0xf5)+_0x3d26f2['modelKind']+_0x9af819(0xd9);return _0x3d26f2[_0x9af819(0xc5)]=0x1,_0x3d26f2[_0x9af819(0x106)]=0x30,_0x3d26f2[_0x9af819(0xfb)]=0x30,_0x3d26f2[_0x9af819(0xd3)]='CENTER',getPointStyle(_0x3d26f2,_0xd5094d,_0x161819,_0x3d9f2b);}else{if(_0x3bb3d4===_0x9af819(0xef))return getPointStyle(_0x3d26f2,_0xd5094d,_0x161819,_0x3d9f2b);else{if(_0x3bb3d4===_0x9af819(0xe6))return getPointStyle(_0x3d26f2,_0xd5094d,_0x161819,_0x3d9f2b);else return _0x3bb3d4===_0x9af819(0xed)?new a73_0x55b4f1({'text':createTextStyle(_0x3d26f2,_0x3d26f2[_0x9af819(0xfa)],_0x161819,_0x3d9f2b),'zIndex':_0x3d26f2[_0x9af819(0xf7)]}):getPointStyle(_0x3d26f2,_0xd5094d,_0x161819,_0x3d9f2b);}}}}function drawImage(_0x39eced,_0xe43f0,_0x112781,_0x2b4cb9){const _0xa210eb=a73_0x13a4;var _0x2b7697,_0x2b33aa,_0x405a46,_0xbf987a;let _0x2d4355=_0x112781[_0xa210eb(0xce)];try{_0x2d4355[_0xa210eb(0xc4)]();let _0x1d457d=Number(_0x39eced['pixelOffsetX']||((_0x2b7697=_0x39eced[_0xa210eb(0xc9)])===null||_0x2b7697===void 0x0?void 0x0:_0x2b7697[0x0])||0x0),_0x1c0b91=Number(_0x39eced[_0xa210eb(0xd2)]||((_0x2b33aa=_0x39eced[_0xa210eb(0xc9)])===null||_0x2b33aa===void 0x0?void 0x0:_0x2b33aa[0x1])||0x0);_0x2d4355[_0xa210eb(0xe5)](_0xe43f0[0x0]+_0x1d457d,_0xe43f0[0x1]+_0x1c0b91);if(_0x39eced[_0xa210eb(0xdb)])_0x2d4355[_0xa210eb(0xc3)](toRadians(_0x39eced['rotation']));_0x2d4355[_0xa210eb(0xf4)]=_0x39eced[_0xa210eb(0xcf)]!=null?_0x39eced['opacity']:0x1;if(_0x2b4cb9[_0xa210eb(0x106)]>0x0){let _0x5a069f=_0x39eced[_0xa210eb(0xc5)]||0x1,_0x28dc51=_0x39eced[_0xa210eb(0x106)]||_0x2b4cb9[_0xa210eb(0x106)]*_0x5a069f,_0x249b07=_0x39eced[_0xa210eb(0xfb)]||_0x2b4cb9[_0xa210eb(0xfb)]*_0x5a069f;_0x28dc51=_0x28dc51*_0x112781[_0xa210eb(0xf8)],_0x249b07=_0x249b07*_0x112781[_0xa210eb(0xf8)];_0x39eced['changeColor']&&(_0x28dc51=_0x2b4cb9[_0xa210eb(0x106)],_0x249b07=_0x2b4cb9[_0xa210eb(0xfb)]);let _0x456611;switch((_0x405a46=_0x39eced[_0xa210eb(0xe1)])===null||_0x405a46===void 0x0?void 0x0:_0x405a46[_0xa210eb(0xe7)]()){default:case _0xa210eb(0xdc):_0x456611=-_0x28dc51/0x2;break;case _0xa210eb(0xea):_0x456611=0x0;break;case _0xa210eb(0xf2):_0x456611=-_0x28dc51;break;}let _0x3ea8b5;switch((_0xbf987a=_0x39eced[_0xa210eb(0xd3)])===null||_0xbf987a===void 0x0?void 0x0:_0xbf987a[_0xa210eb(0xe7)]()){default:case _0xa210eb(0xfe):_0x3ea8b5=-_0x249b07;break;case _0xa210eb(0xdc):_0x3ea8b5=-_0x249b07/0x2;break;case _0xa210eb(0x101):_0x3ea8b5=0x0;break;}_0x2d4355[_0xa210eb(0x103)](_0x2b4cb9,_0x456611,_0x3ea8b5,_0x28dc51,_0x249b07);}else _0x2d4355[_0xa210eb(0x103)](_0x2b4cb9,0x0,0x0);_0x2d4355[_0xa210eb(0xd4)]();}catch(_0x511c04){_0x2d4355[_0xa210eb(0xd4)](),console[_0xa210eb(0xdd)](_0x511c04);}}
@@ -1 +1 @@
1
- function a74_0x5439(){var _0xc5551a=['getContext','outlineOpacity','push','2108958uhgKPz','zIndex','moveTo','lineWidth','closePath','billboard','verticalOrigin','fillStyle','9geTdLb','max','fillType','outline','720601lQCPlY','opacity','length','16221410kiyNyu','grid_lineThickness','save','restore','repeatX','oddColor','888776lQaLBs','globalAlpha','718530hQJBsf','setFill','lineTo','canvas','height','strokeStyle','color','3168796JPVNCi','grid_lineCount','image','grid','outlineWidth','fill','865690BzajQf','drawImage','repeatY','beginPath','setStroke','stripe_repeat','rgba(0,0,0,0)','width','repeat','createElement','outlineColor','setText','40CHrRsv','setRenderer','stroke','createPattern','src','checkerboard','12EKGzsj'];a74_0x5439=function(){return _0xc5551a;};return a74_0x5439();}(function(_0x7caaf3,_0x405d6b){var _0x256c61=a74_0x4632,_0x5d6a18=_0x7caaf3();while(!![]){try{var _0x26a51c=-parseInt(_0x256c61(0x1be))/0x1+-parseInt(_0x256c61(0x1bc))/0x2+parseInt(_0x256c61(0x1a7))/0x3+-parseInt(_0x256c61(0x1c5))/0x4+-parseInt(_0x256c61(0x1cb))/0x5*(parseInt(_0x256c61(0x1dd))/0x6)+parseInt(_0x256c61(0x1b3))/0x7*(parseInt(_0x256c61(0x1d7))/0x8)+-parseInt(_0x256c61(0x1af))/0x9*(-parseInt(_0x256c61(0x1b6))/0xa);if(_0x26a51c===_0x405d6b)break;else _0x5d6a18['push'](_0x5d6a18['shift']());}catch(_0x33f312){_0x5d6a18['push'](_0x5d6a18['shift']());}}}(a74_0x5439,0x83751));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';function a74_0x4632(_0x4b0ccb,_0x57cdde){var _0x54394f=a74_0x5439();return a74_0x4632=function(_0x4632c4,_0x2a7e1b){_0x4632c4=_0x4632c4-0x1a5;var _0x45a879=_0x54394f[_0x4632c4];return _0x45a879;},a74_0x4632(_0x4b0ccb,_0x57cdde);}import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x4f3b2d,_0x3ab31f,_0x4bd4ca,_0x340232){var _0x2d81db=a74_0x4632,_0x65c6c3;let _0x2a9476=(_0x65c6c3=_0x4f3b2d[_0x2d81db(0x1a8)])!==null&&_0x65c6c3!==void 0x0?_0x65c6c3:0x0,_0x306c29=new Style();_0x306c29['setZIndex'](_0x2a9476),_0x306c29[_0x2d81db(0x1bf)](new Fill({'color':_0x2d81db(0x1d1)}));if(_0x4f3b2d['fill']!==![]){if(!_0x4f3b2d[_0x2d81db(0x1b1)]||_0x4f3b2d[_0x2d81db(0x1b1)]===_0x2d81db(0x1c4))_0x306c29[_0x2d81db(0x1bf)](new Fill({'color':getColor(_0x4f3b2d[_0x2d81db(0x1c4)],_0x4f3b2d[_0x2d81db(0x1b4)])}));else{if(_0x4f3b2d[_0x2d81db(0x1b1)]===_0x2d81db(0x1c7))_0x306c29[_0x2d81db(0x1d8)]((_0x2af01e,_0x669413)=>{preLoadImageRenderFunction(_0x4f3b2d,_0x2af01e,_0x669413,_0x340232,_rendererFunction);});else _0x4f3b2d['fillType']===_0x2d81db(0x1c8)||_0x4f3b2d[_0x2d81db(0x1b1)]==='stripe'||_0x4f3b2d['fillType']===_0x2d81db(0x1dc)?_0x306c29[_0x2d81db(0x1d8)]((_0x1267d6,_0xcfb6cf)=>{_rendererFunction(_0x4f3b2d,_0x1267d6,_0xcfb6cf,_0x340232,null);}):_0x306c29['setFill'](new Fill({'color':getColor(_0x4f3b2d[_0x2d81db(0x1c4)],_0x4f3b2d[_0x2d81db(0x1b4)])}));}}_0x4f3b2d[_0x2d81db(0x1b2)]!==![]&&_0x306c29[_0x2d81db(0x1cf)](new Stroke({'color':getColor(_0x4f3b2d[_0x2d81db(0x1d5)],_0x4f3b2d[_0x2d81db(0x1a5)]),'width':_0x4f3b2d[_0x2d81db(0x1c9)]}));let _0x5347b0=[_0x306c29];_0x4f3b2d[_0x2d81db(0x1ac)]&&!_0x4f3b2d[_0x2d81db(0x1ac)]['verticalOrigin']&&(_0x4f3b2d[_0x2d81db(0x1ac)][_0x2d81db(0x1ad)]='CENTER');let _0x189562=getImageOlStyle(_0x4f3b2d[_0x2d81db(0x1ac)],_0x2a9476,_0x4bd4ca,_0x340232);_0x189562&&_0x5347b0[_0x2d81db(0x1a6)](_0x189562);if(_0x3ab31f){const _0xceafec=createTextStyle(_0x4f3b2d,_0x3ab31f,_0x4bd4ca,_0x340232);_0xceafec&&(_0x306c29[_0x2d81db(0x1d6)](_0xceafec),_0x306c29['setZIndex'](Number(_0x2a9476)+0x1));}return _0x5347b0;}function _rendererFunction(_0x340c93,_0x569f7d,_0x329f10,_0x4ade91,_0x3dbbd8){var _0x46afa1=a74_0x4632;try{var _0x3ce4ab=_0x329f10['context'];for(var _0x55d25e=0x0,_0x202f5e=_0x569f7d[_0x46afa1(0x1b5)];_0x55d25e<_0x202f5e;_0x55d25e++){_0x3ce4ab[_0x46afa1(0x1b8)](),_0x3ce4ab[_0x46afa1(0x1ce)]();var _0x143757=_0x569f7d[_0x55d25e];let _0x7896a0=boundingExtent(_0x143757);_0x3ce4ab['translate'](_0x7896a0[0x0],_0x7896a0[0x1]);let _0x550c11;switch(_0x340c93['fillType']){case _0x46afa1(0x1c7):_0x550c11=_getImagePattern(_0x3ce4ab,_0x7896a0,_0x340c93,_0x3dbbd8);break;case _0x46afa1(0x1c8):_0x550c11=_getGridPattern(_0x3ce4ab,_0x7896a0,_0x340c93);break;case'stripe':_0x550c11=_getStripePattern(_0x3ce4ab,_0x7896a0,_0x340c93);break;case _0x46afa1(0x1dc):_0x550c11=_getCheckerBoardPattern(_0x3ce4ab,_0x7896a0,_0x340c93);break;default:_0x550c11='rgba(0,0,0,0.01)';break;}for(var _0x241c5f=0x0,_0x3cea95=_0x143757['length'];_0x241c5f<_0x3cea95;_0x241c5f++){var _0x51a9d2=_0x143757[_0x241c5f];_0x241c5f===0x0?_0x3ce4ab['moveTo'](_0x51a9d2[0x0]-_0x7896a0[0x0],_0x51a9d2[0x1]-_0x7896a0[0x1]):_0x3ce4ab[_0x46afa1(0x1c0)](_0x51a9d2[0x0]-_0x7896a0[0x0],_0x51a9d2[0x1]-_0x7896a0[0x1]);}_0x3ce4ab[_0x46afa1(0x1ab)](),_0x3ce4ab['fillStyle']='rgba(0,0,0,0.01)',_0x3ce4ab['fill'](),_0x3ce4ab[_0x46afa1(0x1ae)]=_0x550c11,_0x3ce4ab[_0x46afa1(0x1ca)](),_0x340c93[_0x46afa1(0x1b2)]?(_0x3ce4ab[_0x46afa1(0x1c3)]=getColor(_0x340c93[_0x46afa1(0x1d5)],_0x340c93[_0x46afa1(0x1a5)]),_0x3ce4ab[_0x46afa1(0x1aa)]=_0x340c93[_0x46afa1(0x1c9)]):_0x3ce4ab[_0x46afa1(0x1c3)]='rgba(0,0,0,0.0)',_0x3ce4ab[_0x46afa1(0x1d9)](),_0x3ce4ab[_0x46afa1(0x1b9)]();}}catch(_0x489617){_0x3ce4ab[_0x46afa1(0x1b9)](),console['warn'](_0x489617);}}function _getImagePattern(_0x4796e1,_0x31f043,_0x45b6fd,_0x4dfd84){var _0x2e1e11=a74_0x4632;if(!_0x4dfd84||_0x4dfd84['width']===0x0){let _0x652a8f=new Image();_0x652a8f[_0x2e1e11(0x1db)]=_0x45b6fd[_0x2e1e11(0x1c7)];}var _0x31ab63=getSize(_0x31f043);const _0x2fc11b=document[_0x2e1e11(0x1d4)](_0x2e1e11(0x1c1)),_0xc48c16=_0x2fc11b[_0x2e1e11(0x1de)]('2d');return _0x2fc11b[_0x2e1e11(0x1d2)]=Math[_0x2e1e11(0x1b0)](_0x31ab63[0x0]/_0x45b6fd[_0x2e1e11(0x1ba)],0x1),_0x2fc11b[_0x2e1e11(0x1c2)]=Math[_0x2e1e11(0x1b0)](_0x31ab63[0x1]/_0x45b6fd[_0x2e1e11(0x1cd)],0x1),_0xc48c16&&(_0xc48c16[_0x2e1e11(0x1bd)]=_0x45b6fd[_0x2e1e11(0x1b4)],_0xc48c16[_0x2e1e11(0x1cc)](_0x4dfd84,0x0,0x0,_0x2fc11b[_0x2e1e11(0x1d2)],_0x2fc11b[_0x2e1e11(0x1c2)])),_0x4796e1[_0x2e1e11(0x1da)](_0x2fc11b,_0x2e1e11(0x1d3));}function _getGridPattern(_0x1adbac,_0x2a0a35,_0xce468e){var _0x53b8f2=a74_0x4632,_0x13fc59=getSize(_0x2a0a35);const _0x660f28=document[_0x53b8f2(0x1d4)](_0x53b8f2(0x1c1)),_0x4cdd21=_0x660f28[_0x53b8f2(0x1de)]('2d');return _0x660f28[_0x53b8f2(0x1d2)]=Math[_0x53b8f2(0x1b0)](_0x13fc59[0x0]/_0xce468e['grid_lineCount'],0x1),_0x660f28[_0x53b8f2(0x1c2)]=Math[_0x53b8f2(0x1b0)](_0x13fc59[0x1]/_0xce468e[_0x53b8f2(0x1c6)],0x1),_0x4cdd21&&(_0x4cdd21[_0x53b8f2(0x1c3)]=getColor(_0xce468e['color'],_0xce468e['opacity']),_0x4cdd21['lineWidth']=_0xce468e[_0x53b8f2(0x1b7)]*0x4,_0x4cdd21[_0x53b8f2(0x1ce)](),_0x4cdd21[_0x53b8f2(0x1a9)](0x0,_0x660f28[_0x53b8f2(0x1c2)]),_0x4cdd21[_0x53b8f2(0x1c0)](_0x660f28[_0x53b8f2(0x1d2)],_0x660f28[_0x53b8f2(0x1c2)]),_0x4cdd21['moveTo'](_0x660f28[_0x53b8f2(0x1d2)],0x0),_0x4cdd21[_0x53b8f2(0x1c0)](_0x660f28['width'],_0x660f28[_0x53b8f2(0x1c2)]),_0x4cdd21[_0x53b8f2(0x1d9)]()),_0x1adbac[_0x53b8f2(0x1da)](_0x660f28,_0x53b8f2(0x1d3));}function _getStripePattern(_0x45e903,_0x41ef6d,_0x24d1d4){var _0x378b8d=a74_0x4632,_0x2cad2c=getSize(_0x41ef6d);const _0x277602=document[_0x378b8d(0x1d4)](_0x378b8d(0x1c1)),_0x1847c9=_0x277602[_0x378b8d(0x1de)]('2d');let _0x57f8de=Math[_0x378b8d(0x1b0)](_0x2cad2c[0x1]/_0x24d1d4[_0x378b8d(0x1d0)],0x1);return _0x277602[_0x378b8d(0x1d2)]=_0x2cad2c[0x0],_0x277602[_0x378b8d(0x1c2)]=_0x57f8de*0x2,_0x1847c9&&(_0x1847c9[_0x378b8d(0x1ce)](),_0x1847c9['moveTo'](0x0,0x0),_0x1847c9['lineTo'](_0x277602[_0x378b8d(0x1d2)],0x0),_0x1847c9[_0x378b8d(0x1c0)](_0x277602[_0x378b8d(0x1d2)],_0x57f8de),_0x1847c9[_0x378b8d(0x1c0)](0x0,_0x57f8de),_0x1847c9['closePath'](),_0x1847c9[_0x378b8d(0x1ae)]=getColor(_0x24d1d4['stripe_oddcolor'],_0x24d1d4[_0x378b8d(0x1b4)]),_0x1847c9[_0x378b8d(0x1ca)](),_0x1847c9[_0x378b8d(0x1ce)](),_0x1847c9['moveTo'](0x0,_0x57f8de),_0x1847c9['lineTo'](_0x277602[_0x378b8d(0x1d2)],_0x57f8de),_0x1847c9[_0x378b8d(0x1c0)](_0x277602[_0x378b8d(0x1d2)],_0x57f8de*0x2),_0x1847c9[_0x378b8d(0x1c0)](0x0,_0x57f8de*0x2),_0x1847c9['closePath'](),_0x1847c9[_0x378b8d(0x1ae)]=getColor(_0x24d1d4[_0x378b8d(0x1c4)],_0x24d1d4[_0x378b8d(0x1b4)]),_0x1847c9[_0x378b8d(0x1ca)]()),_0x45e903['createPattern'](_0x277602,_0x378b8d(0x1d3));}function _getCheckerBoardPattern(_0x5379b0,_0x41ad52,_0x1ea1a1){var _0x454cb7=a74_0x4632,_0x49fa07=getSize(_0x41ad52);const _0x3d2ace=document['createElement'](_0x454cb7(0x1c1)),_0x2b071a=_0x3d2ace[_0x454cb7(0x1de)]('2d');let _0x54e25a=Math[_0x454cb7(0x1b0)](_0x49fa07[0x0]/_0x1ea1a1['checkerboard_repeat'],0x1),_0x292698=Math[_0x454cb7(0x1b0)](_0x49fa07[0x1]/_0x1ea1a1['checkerboard_repeat'],0x1);return _0x3d2ace[_0x454cb7(0x1d2)]=_0x54e25a*0x2,_0x3d2ace[_0x454cb7(0x1c2)]=_0x292698*0x2,_0x2b071a&&(_0x2b071a[_0x454cb7(0x1ce)](),_0x2b071a['moveTo'](0x0,0x0),_0x2b071a[_0x454cb7(0x1c0)](_0x54e25a,0x0),_0x2b071a[_0x454cb7(0x1c0)](_0x54e25a,_0x292698),_0x2b071a[_0x454cb7(0x1c0)](0x0,_0x292698),_0x2b071a[_0x454cb7(0x1ab)](),_0x2b071a[_0x454cb7(0x1ae)]=getColor(_0x1ea1a1[_0x454cb7(0x1bb)],_0x1ea1a1['opacity']),_0x2b071a[_0x454cb7(0x1ca)](),_0x2b071a[_0x454cb7(0x1ce)](),_0x2b071a[_0x454cb7(0x1a9)](_0x54e25a,0x0),_0x2b071a[_0x454cb7(0x1c0)](_0x3d2ace[_0x454cb7(0x1d2)],0x0),_0x2b071a[_0x454cb7(0x1c0)](_0x3d2ace['width'],_0x292698),_0x2b071a[_0x454cb7(0x1c0)](_0x54e25a,_0x292698),_0x2b071a[_0x454cb7(0x1ab)](),_0x2b071a[_0x454cb7(0x1ae)]=getColor(_0x1ea1a1[_0x454cb7(0x1c4)],_0x1ea1a1[_0x454cb7(0x1b4)]),_0x2b071a[_0x454cb7(0x1ca)](),_0x2b071a[_0x454cb7(0x1ce)](),_0x2b071a[_0x454cb7(0x1a9)](0x0,_0x292698),_0x2b071a['lineTo'](_0x54e25a,_0x292698),_0x2b071a[_0x454cb7(0x1c0)](_0x54e25a,_0x3d2ace[_0x454cb7(0x1c2)]),_0x2b071a[_0x454cb7(0x1c0)](0x0,_0x3d2ace[_0x454cb7(0x1c2)]),_0x2b071a['closePath'](),_0x2b071a[_0x454cb7(0x1ae)]=getColor(_0x1ea1a1['color'],_0x1ea1a1['opacity']),_0x2b071a[_0x454cb7(0x1ca)](),_0x2b071a[_0x454cb7(0x1ce)](),_0x2b071a[_0x454cb7(0x1a9)](_0x54e25a,_0x292698),_0x2b071a['lineTo'](_0x3d2ace[_0x454cb7(0x1d2)],_0x292698),_0x2b071a['lineTo'](_0x3d2ace[_0x454cb7(0x1d2)],_0x3d2ace[_0x454cb7(0x1c2)]),_0x2b071a['lineTo'](_0x54e25a,_0x3d2ace[_0x454cb7(0x1c2)]),_0x2b071a[_0x454cb7(0x1ab)](),_0x2b071a['fillStyle']=getColor(_0x1ea1a1[_0x454cb7(0x1bb)],_0x1ea1a1[_0x454cb7(0x1b4)]),_0x2b071a[_0x454cb7(0x1ca)]()),_0x5379b0[_0x454cb7(0x1da)](_0x3d2ace,_0x454cb7(0x1d3));}
1
+ function a74_0x4cf9(_0x6382d2,_0x437aaf){var _0x1ea6e7=a74_0x1ea6();return a74_0x4cf9=function(_0x4cf945,_0x28b6cd){_0x4cf945=_0x4cf945-0x199;var _0xf5b94b=_0x1ea6e7[_0x4cf945];return _0xf5b94b;},a74_0x4cf9(_0x6382d2,_0x437aaf);}(function(_0x330705,_0x3ae340){var _0x36c00f=a74_0x4cf9,_0x5d0422=_0x330705();while(!![]){try{var _0x19d17d=-parseInt(_0x36c00f(0x19c))/0x1+parseInt(_0x36c00f(0x1c3))/0x2*(parseInt(_0x36c00f(0x1ce))/0x3)+parseInt(_0x36c00f(0x1ad))/0x4+-parseInt(_0x36c00f(0x1b4))/0x5*(-parseInt(_0x36c00f(0x19b))/0x6)+parseInt(_0x36c00f(0x1c1))/0x7+parseInt(_0x36c00f(0x1ca))/0x8*(-parseInt(_0x36c00f(0x1bf))/0x9)+-parseInt(_0x36c00f(0x1b1))/0xa;if(_0x19d17d===_0x3ae340)break;else _0x5d0422['push'](_0x5d0422['shift']());}catch(_0x3fd54f){_0x5d0422['push'](_0x5d0422['shift']());}}}(a74_0x1ea6,0x1e1b3));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x2fc0a3,_0x4da859,_0x118206,_0x13c853){var _0x295427=a74_0x4cf9,_0xf46209;let _0x3a6cb1=(_0xf46209=_0x2fc0a3[_0x295427(0x1a0)])!==null&&_0xf46209!==void 0x0?_0xf46209:0x0,_0x586212=new Style();_0x586212[_0x295427(0x1a7)](_0x3a6cb1),_0x586212[_0x295427(0x1d4)](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x2fc0a3[_0x295427(0x1c6)]!==![]){if(!_0x2fc0a3[_0x295427(0x199)]||_0x2fc0a3[_0x295427(0x199)]==='color')_0x586212[_0x295427(0x1d4)](new Fill({'color':getColor(_0x2fc0a3[_0x295427(0x1a5)],_0x2fc0a3['opacity'])}));else{if(_0x2fc0a3[_0x295427(0x199)]==='image')_0x586212[_0x295427(0x1cd)]((_0x3f990a,_0x4e62c5)=>{preLoadImageRenderFunction(_0x2fc0a3,_0x3f990a,_0x4e62c5,_0x13c853,_rendererFunction);});else _0x2fc0a3[_0x295427(0x199)]===_0x295427(0x1b3)||_0x2fc0a3[_0x295427(0x199)]===_0x295427(0x1c5)||_0x2fc0a3[_0x295427(0x199)]==='checkerboard'?_0x586212[_0x295427(0x1cd)]((_0x5ab58e,_0x3da512)=>{_rendererFunction(_0x2fc0a3,_0x5ab58e,_0x3da512,_0x13c853,null);}):_0x586212['setFill'](new Fill({'color':getColor(_0x2fc0a3[_0x295427(0x1a5)],_0x2fc0a3[_0x295427(0x1c4)])}));}}_0x2fc0a3[_0x295427(0x1a4)]!==![]&&_0x586212['setStroke'](new Stroke({'color':getColor(_0x2fc0a3[_0x295427(0x1b9)],_0x2fc0a3[_0x295427(0x1a2)]),'width':_0x2fc0a3[_0x295427(0x1a3)]}));let _0x2eabc0=[_0x586212];_0x2fc0a3[_0x295427(0x1a6)]&&!_0x2fc0a3['billboard'][_0x295427(0x1d2)]&&(_0x2fc0a3[_0x295427(0x1a6)][_0x295427(0x1d2)]='CENTER');let _0x1a9d0e=getImageOlStyle(_0x2fc0a3[_0x295427(0x1a6)],_0x3a6cb1,_0x118206,_0x13c853);_0x1a9d0e&&_0x2eabc0[_0x295427(0x1b2)](_0x1a9d0e);if(_0x4da859){const _0x43698f=createTextStyle(_0x2fc0a3,_0x4da859,_0x118206,_0x13c853);_0x43698f&&(_0x586212[_0x295427(0x1cb)](_0x43698f),_0x586212[_0x295427(0x1a7)](Number(_0x3a6cb1)+0x1));}return _0x2eabc0;}function _rendererFunction(_0x289def,_0x77ec8f,_0x3842ee,_0x18286e,_0x5f5dc0){var _0x26a380=a74_0x4cf9;try{var _0x44abc3=_0x3842ee[_0x26a380(0x1ab)];for(var _0x2d47cd=0x0,_0xdddc9a=_0x77ec8f['length'];_0x2d47cd<_0xdddc9a;_0x2d47cd++){_0x44abc3[_0x26a380(0x1bc)](),_0x44abc3[_0x26a380(0x1a1)]();var _0x9a374c=_0x77ec8f[_0x2d47cd];let _0x3d37c6=boundingExtent(_0x9a374c);_0x44abc3[_0x26a380(0x1c9)](_0x3d37c6[0x0],_0x3d37c6[0x1]);let _0x2b912a;switch(_0x289def[_0x26a380(0x199)]){case _0x26a380(0x1b6):_0x2b912a=_getImagePattern(_0x44abc3,_0x3d37c6,_0x289def,_0x5f5dc0);break;case _0x26a380(0x1b3):_0x2b912a=_getGridPattern(_0x44abc3,_0x3d37c6,_0x289def);break;case _0x26a380(0x1c5):_0x2b912a=_getStripePattern(_0x44abc3,_0x3d37c6,_0x289def);break;case _0x26a380(0x1c2):_0x2b912a=_getCheckerBoardPattern(_0x44abc3,_0x3d37c6,_0x289def);break;default:_0x2b912a=_0x26a380(0x1aa);break;}for(var _0x33025a=0x0,_0x31ece2=_0x9a374c[_0x26a380(0x1c0)];_0x33025a<_0x31ece2;_0x33025a++){var _0x16f05e=_0x9a374c[_0x33025a];_0x33025a===0x0?_0x44abc3[_0x26a380(0x1a9)](_0x16f05e[0x0]-_0x3d37c6[0x0],_0x16f05e[0x1]-_0x3d37c6[0x1]):_0x44abc3[_0x26a380(0x1b7)](_0x16f05e[0x0]-_0x3d37c6[0x0],_0x16f05e[0x1]-_0x3d37c6[0x1]);}_0x44abc3[_0x26a380(0x1b8)](),_0x44abc3[_0x26a380(0x1ba)]='rgba(0,0,0,0.01)',_0x44abc3[_0x26a380(0x1c6)](),_0x44abc3[_0x26a380(0x1ba)]=_0x2b912a,_0x44abc3[_0x26a380(0x1c6)](),_0x289def[_0x26a380(0x1a4)]?(_0x44abc3[_0x26a380(0x1bb)]=getColor(_0x289def['outlineColor'],_0x289def[_0x26a380(0x1a2)]),_0x44abc3[_0x26a380(0x1d1)]=_0x289def[_0x26a380(0x1a3)]):_0x44abc3[_0x26a380(0x1bb)]=_0x26a380(0x1c7),_0x44abc3['stroke'](),_0x44abc3[_0x26a380(0x1d0)]();}}catch(_0x179c7f){_0x44abc3['restore'](),console[_0x26a380(0x1cf)](_0x179c7f);}}function _getImagePattern(_0x12db20,_0x28cab3,_0x1ca6a7,_0x3b5265){var _0x3fb19d=a74_0x4cf9;if(!_0x3b5265||_0x3b5265[_0x3fb19d(0x1ae)]===0x0){let _0x113e3e=new Image();_0x113e3e[_0x3fb19d(0x19e)]=_0x1ca6a7[_0x3fb19d(0x1b6)];}var _0x4453e7=getSize(_0x28cab3);const _0x5413d2=document['createElement'](_0x3fb19d(0x1c8)),_0x2592d7=_0x5413d2['getContext']('2d');return _0x5413d2[_0x3fb19d(0x1ae)]=Math['max'](_0x4453e7[0x0]/_0x1ca6a7[_0x3fb19d(0x1d5)],0x1),_0x5413d2[_0x3fb19d(0x1bd)]=Math[_0x3fb19d(0x19a)](_0x4453e7[0x1]/_0x1ca6a7[_0x3fb19d(0x1be)],0x1),_0x2592d7&&(_0x2592d7[_0x3fb19d(0x1cc)]=_0x1ca6a7[_0x3fb19d(0x1c4)],_0x2592d7['drawImage'](_0x3b5265,0x0,0x0,_0x5413d2['width'],_0x5413d2[_0x3fb19d(0x1bd)])),_0x12db20[_0x3fb19d(0x19f)](_0x5413d2,_0x3fb19d(0x1ac));}function a74_0x1ea6(){var _0x2a42e4=['moveTo','rgba(0,0,0,0.01)','context','repeat','769728pHXeCa','width','oddColor','createElement','3665640sKcqax','push','grid','525TRRUWt','grid_lineThickness','image','lineTo','closePath','outlineColor','fillStyle','strokeStyle','save','height','repeatY','122589FeMexn','length','995869dkxBjF','checkerboard','353950KuviPA','opacity','stripe','fill','rgba(0,0,0,0.0)','canvas','translate','112aSmzpY','setText','globalAlpha','setRenderer','3CmMWCv','warn','restore','lineWidth','verticalOrigin','getContext','setFill','repeatX','fillType','max','10242YOgTzO','10336ShaPAt','grid_lineCount','src','createPattern','zIndex','beginPath','outlineOpacity','outlineWidth','outline','color','billboard','setZIndex','checkerboard_repeat'];a74_0x1ea6=function(){return _0x2a42e4;};return a74_0x1ea6();}function _getGridPattern(_0x2c12a2,_0x1d8944,_0x2c1967){var _0x3d0aa8=a74_0x4cf9,_0x2822d4=getSize(_0x1d8944);const _0x1344c9=document[_0x3d0aa8(0x1b0)](_0x3d0aa8(0x1c8)),_0x2f1700=_0x1344c9[_0x3d0aa8(0x1d3)]('2d');return _0x1344c9[_0x3d0aa8(0x1ae)]=Math[_0x3d0aa8(0x19a)](_0x2822d4[0x0]/_0x2c1967[_0x3d0aa8(0x19d)],0x1),_0x1344c9['height']=Math[_0x3d0aa8(0x19a)](_0x2822d4[0x1]/_0x2c1967[_0x3d0aa8(0x19d)],0x1),_0x2f1700&&(_0x2f1700[_0x3d0aa8(0x1bb)]=getColor(_0x2c1967[_0x3d0aa8(0x1a5)],_0x2c1967['opacity']),_0x2f1700[_0x3d0aa8(0x1d1)]=_0x2c1967[_0x3d0aa8(0x1b5)]*0x4,_0x2f1700[_0x3d0aa8(0x1a1)](),_0x2f1700[_0x3d0aa8(0x1a9)](0x0,_0x1344c9[_0x3d0aa8(0x1bd)]),_0x2f1700[_0x3d0aa8(0x1b7)](_0x1344c9[_0x3d0aa8(0x1ae)],_0x1344c9[_0x3d0aa8(0x1bd)]),_0x2f1700[_0x3d0aa8(0x1a9)](_0x1344c9['width'],0x0),_0x2f1700[_0x3d0aa8(0x1b7)](_0x1344c9['width'],_0x1344c9[_0x3d0aa8(0x1bd)]),_0x2f1700['stroke']()),_0x2c12a2['createPattern'](_0x1344c9,'repeat');}function _getStripePattern(_0x5a67eb,_0x18e193,_0x1caa61){var _0x52e11b=a74_0x4cf9,_0x1e220f=getSize(_0x18e193);const _0x11c4e2=document[_0x52e11b(0x1b0)]('canvas'),_0x2921e6=_0x11c4e2[_0x52e11b(0x1d3)]('2d');let _0x4cd0f0=Math[_0x52e11b(0x19a)](_0x1e220f[0x1]/_0x1caa61['stripe_repeat'],0x1);return _0x11c4e2[_0x52e11b(0x1ae)]=_0x1e220f[0x0],_0x11c4e2[_0x52e11b(0x1bd)]=_0x4cd0f0*0x2,_0x2921e6&&(_0x2921e6['beginPath'](),_0x2921e6['moveTo'](0x0,0x0),_0x2921e6[_0x52e11b(0x1b7)](_0x11c4e2[_0x52e11b(0x1ae)],0x0),_0x2921e6['lineTo'](_0x11c4e2[_0x52e11b(0x1ae)],_0x4cd0f0),_0x2921e6['lineTo'](0x0,_0x4cd0f0),_0x2921e6[_0x52e11b(0x1b8)](),_0x2921e6[_0x52e11b(0x1ba)]=getColor(_0x1caa61['stripe_oddcolor'],_0x1caa61[_0x52e11b(0x1c4)]),_0x2921e6[_0x52e11b(0x1c6)](),_0x2921e6[_0x52e11b(0x1a1)](),_0x2921e6[_0x52e11b(0x1a9)](0x0,_0x4cd0f0),_0x2921e6['lineTo'](_0x11c4e2['width'],_0x4cd0f0),_0x2921e6[_0x52e11b(0x1b7)](_0x11c4e2[_0x52e11b(0x1ae)],_0x4cd0f0*0x2),_0x2921e6['lineTo'](0x0,_0x4cd0f0*0x2),_0x2921e6[_0x52e11b(0x1b8)](),_0x2921e6[_0x52e11b(0x1ba)]=getColor(_0x1caa61[_0x52e11b(0x1a5)],_0x1caa61[_0x52e11b(0x1c4)]),_0x2921e6['fill']()),_0x5a67eb['createPattern'](_0x11c4e2,_0x52e11b(0x1ac));}function _getCheckerBoardPattern(_0x4f84a2,_0x119115,_0x4b82fd){var _0x23fc9d=a74_0x4cf9,_0x4a0deb=getSize(_0x119115);const _0x53adac=document['createElement'](_0x23fc9d(0x1c8)),_0x39714c=_0x53adac[_0x23fc9d(0x1d3)]('2d');let _0x12c1c0=Math[_0x23fc9d(0x19a)](_0x4a0deb[0x0]/_0x4b82fd[_0x23fc9d(0x1a8)],0x1),_0x281735=Math[_0x23fc9d(0x19a)](_0x4a0deb[0x1]/_0x4b82fd[_0x23fc9d(0x1a8)],0x1);return _0x53adac[_0x23fc9d(0x1ae)]=_0x12c1c0*0x2,_0x53adac[_0x23fc9d(0x1bd)]=_0x281735*0x2,_0x39714c&&(_0x39714c[_0x23fc9d(0x1a1)](),_0x39714c[_0x23fc9d(0x1a9)](0x0,0x0),_0x39714c['lineTo'](_0x12c1c0,0x0),_0x39714c[_0x23fc9d(0x1b7)](_0x12c1c0,_0x281735),_0x39714c[_0x23fc9d(0x1b7)](0x0,_0x281735),_0x39714c[_0x23fc9d(0x1b8)](),_0x39714c[_0x23fc9d(0x1ba)]=getColor(_0x4b82fd[_0x23fc9d(0x1af)],_0x4b82fd[_0x23fc9d(0x1c4)]),_0x39714c[_0x23fc9d(0x1c6)](),_0x39714c['beginPath'](),_0x39714c[_0x23fc9d(0x1a9)](_0x12c1c0,0x0),_0x39714c[_0x23fc9d(0x1b7)](_0x53adac[_0x23fc9d(0x1ae)],0x0),_0x39714c['lineTo'](_0x53adac[_0x23fc9d(0x1ae)],_0x281735),_0x39714c['lineTo'](_0x12c1c0,_0x281735),_0x39714c[_0x23fc9d(0x1b8)](),_0x39714c[_0x23fc9d(0x1ba)]=getColor(_0x4b82fd[_0x23fc9d(0x1a5)],_0x4b82fd['opacity']),_0x39714c['fill'](),_0x39714c[_0x23fc9d(0x1a1)](),_0x39714c[_0x23fc9d(0x1a9)](0x0,_0x281735),_0x39714c[_0x23fc9d(0x1b7)](_0x12c1c0,_0x281735),_0x39714c['lineTo'](_0x12c1c0,_0x53adac[_0x23fc9d(0x1bd)]),_0x39714c[_0x23fc9d(0x1b7)](0x0,_0x53adac['height']),_0x39714c[_0x23fc9d(0x1b8)](),_0x39714c[_0x23fc9d(0x1ba)]=getColor(_0x4b82fd['color'],_0x4b82fd[_0x23fc9d(0x1c4)]),_0x39714c[_0x23fc9d(0x1c6)](),_0x39714c['beginPath'](),_0x39714c['moveTo'](_0x12c1c0,_0x281735),_0x39714c[_0x23fc9d(0x1b7)](_0x53adac[_0x23fc9d(0x1ae)],_0x281735),_0x39714c['lineTo'](_0x53adac[_0x23fc9d(0x1ae)],_0x53adac[_0x23fc9d(0x1bd)]),_0x39714c[_0x23fc9d(0x1b7)](_0x12c1c0,_0x53adac[_0x23fc9d(0x1bd)]),_0x39714c[_0x23fc9d(0x1b8)](),_0x39714c[_0x23fc9d(0x1ba)]=getColor(_0x4b82fd[_0x23fc9d(0x1af)],_0x4b82fd[_0x23fc9d(0x1c4)]),_0x39714c['fill']()),_0x4f84a2['createPattern'](_0x53adac,_0x23fc9d(0x1ac));}
@@ -1 +1 @@
1
- function a75_0x29f8(_0x144aa6,_0x1ebfd5){const _0x3710e3=a75_0x3710();return a75_0x29f8=function(_0x29f8c4,_0x143311){_0x29f8c4=_0x29f8c4-0x1a2;let _0x35176f=_0x3710e3[_0x29f8c4];return _0x35176f;},a75_0x29f8(_0x144aa6,_0x1ebfd5);}function a75_0x3710(){const _0x2e2391=['outlineWidth','glowPower','lineWidth','butt','outlineColor','getGeometry','setRenderer','stroke','atan2','LineString','cos','getCoordinates','lineCap','536952BalxZf','beginPath','toString','getType','MultiLineString','concat','760ZBQHMc','1349342pIgSKT','pow','sin','outlineOpacity','billboard','width','length','opacity','dash','90642HbcnqB','restore','color','push','getFlatMidpoints','arrow','strokeStyle','shadowColor','show','30079dYwVrM','zIndex','save','moveTo','glow','lineType','589226IYdfpA','context','169542VjrMon','getFirstCoordinate','setGeometry','lineTo','100XRcPjo','2667872uGNAid','outline','label'];a75_0x3710=function(){return _0x2e2391;};return a75_0x3710();}(function(_0x3e426a,_0x797223){const _0x1a1a21=a75_0x29f8,_0x5e7de7=_0x3e426a();while(!![]){try{const _0x58e2de=-parseInt(_0x1a1a21(0x1a8))/0x1+-parseInt(_0x1a1a21(0x1c6))/0x2+parseInt(_0x1a1a21(0x1bf))/0x3+-parseInt(_0x1a1a21(0x1af))/0x4+parseInt(_0x1a1a21(0x1ae))/0x5*(parseInt(_0x1a1a21(0x1cf))/0x6)+parseInt(_0x1a1a21(0x1a2))/0x7+parseInt(_0x1a1a21(0x1c5))/0x8*(parseInt(_0x1a1a21(0x1aa))/0x9);if(_0x58e2de===_0x797223)break;else _0x5e7de7['push'](_0x5e7de7['shift']());}catch(_0x3e11ca){_0x5e7de7['push'](_0x5e7de7['shift']());}}}(a75_0x3710,0x54066));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x4fc609,_0x1d9feb,_0x917b12,_0x4b3473){const _0x1d2ac8=a75_0x29f8;var _0x1872ad,_0x4d9dde,_0x5cce22;let _0x56b6c7=(_0x1872ad=_0x4fc609[_0x1d2ac8(0x1a3)])!==null&&_0x1872ad!==void 0x0?_0x1872ad:0x0;const _0x5861f4=_0x2d58be=>{var _0x596890=_0x2d58be['getGeometry']();if(_0x596890)return _getRealPolyline(_0x596890,_0x4fc609);return _0x596890;},_0x123de7=_0x3b88c4=>{const _0x1bcbae=_0x1d2ac8;var _0x1de9c8=_0x3b88c4[_0x1bcbae(0x1b7)]();let _0x4e12b1=_0x1de9c8;_0x1de9c8&&(_0x4e12b1=_getRealPolyline(_0x1de9c8,_0x4fc609));if(_0x4e12b1&&_0x4e12b1[_0x1bcbae(0x1c2)]()===_0x1bcbae(0x1bb))return new Point(_0x4e12b1['getFlatMidpoint']());else{let _0x4a80a1=_0x4e12b1[_0x1bcbae(0x1d3)](),_0x5eb513=0x2,_0x4aea92=[];for(let _0x3db651=0x0,_0x46e9ee=_0x4a80a1[_0x1bcbae(0x1cc)];_0x3db651<_0x46e9ee;_0x3db651+=_0x5eb513){let _0x44d6c4=[_0x4a80a1[_0x3db651],_0x4a80a1[_0x3db651+0x1]];_0x4aea92[_0x1bcbae(0x1d2)](_0x44d6c4);}return new MultiPoint(_0x4aea92);}};let _0x5da325=new Style({'geometry':_0x5861f4,'stroke':new Stroke({'color':getColor(_0x4fc609['color'],_0x4fc609[_0x1d2ac8(0x1cd)]),'width':_0x4fc609[_0x1d2ac8(0x1cb)]}),'zIndex':_0x56b6c7}),_0x5fbffb=[_0x5da325];if(_0x4fc609[_0x1d2ac8(0x1a7)]===_0x1d2ac8(0x1ce)){let _0x48c54=_0x4fc609[_0x1d2ac8(0x1b2)]/0x2,_0x246162=new Style({'geometry':_0x5861f4,'zIndex':_0x56b6c7,'stroke':new Stroke({'color':getColor(_0x4fc609[_0x1d2ac8(0x1d1)],_0x4fc609[_0x1d2ac8(0x1cd)]),'width':_0x4fc609['width'],'lineCap':_0x1d2ac8(0x1b5),'lineDash':[_0x48c54,_0x48c54]})}),_0x3fe2f4=new Style({'geometry':_0x5861f4,'zIndex':_0x56b6c7+0.5,'stroke':new Stroke({'color':getColor(_0x4fc609['outlineColor'],Number((_0x5cce22=(_0x4d9dde=_0x4fc609[_0x1d2ac8(0x1c9)])!==null&&_0x4d9dde!==void 0x0?_0x4d9dde:_0x4fc609[_0x1d2ac8(0x1cd)])!==null&&_0x5cce22!==void 0x0?_0x5cce22:0x1)),'width':_0x4fc609[_0x1d2ac8(0x1cb)],'lineCap':'butt','lineDash':[_0x48c54,_0x48c54],'lineDashOffset':_0x48c54})});_0x5fbffb=[_0x246162,_0x3fe2f4];}_0x4fc609[_0x1d2ac8(0x1a7)]===_0x1d2ac8(0x1d4)&&_0x5da325[_0x1d2ac8(0x1b8)]((_0x2dc509,_0x25ed8d)=>{const _0x3568a7=_0x1d2ac8;let _0x1865e7=_0x25ed8d[_0x3568a7(0x1a9)],_0x1157c3=parseInt((_0x4fc609['width']/0x4)[_0x3568a7(0x1c1)]()),_0x3205d4=0xa,_0x46292c=Math['sqrt'](Math[_0x3568a7(0x1c7)](_0x3205d4,0x2)+Math[_0x3568a7(0x1c7)](_0x4fc609[_0x3568a7(0x1cb)]/0x2,0x2)),_0x31a50b=0x2d,_0x34927b=_0x2dc509[_0x2dc509[_0x3568a7(0x1cc)]-0x2][0x0],_0x4e94b8=_0x2dc509[_0x2dc509['length']-0x2][0x1],_0x7ff8b0=_0x2dc509[_0x2dc509[_0x3568a7(0x1cc)]-0x1][0x0],_0x12f408=_0x2dc509[_0x2dc509[_0x3568a7(0x1cc)]-0x1][0x1],_0x52a700=Math[_0x3568a7(0x1ba)](_0x4e94b8-_0x12f408,_0x34927b-_0x7ff8b0)*0xb4/Math['PI'],_0x18ed73=(_0x52a700+_0x31a50b)*Math['PI']/0xb4,_0x3ea3b7=(_0x52a700-_0x31a50b)*Math['PI']/0xb4,_0xe8e79=_0x46292c*Math[_0x3568a7(0x1bc)](_0x18ed73),_0x5e8c16=_0x46292c*Math['sin'](_0x18ed73),_0x561a00=_0x46292c*Math[_0x3568a7(0x1bc)](_0x3ea3b7),_0x50cdbf=_0x46292c*Math[_0x3568a7(0x1c8)](_0x3ea3b7);_0x1865e7[_0x3568a7(0x1a4)](),_0x1865e7['beginPath']();let _0x4924cb,_0x32e91d;for(let _0xace9b5=0x0;_0xace9b5<_0x2dc509[_0x3568a7(0x1cc)];_0xace9b5++){_0xace9b5===0x0?_0x1865e7[_0x3568a7(0x1a5)](_0x2dc509[_0xace9b5][0x0],_0x2dc509[_0xace9b5][0x1]):_0x1865e7[_0x3568a7(0x1ad)](_0x2dc509[_0xace9b5][0x0],_0x2dc509[_0xace9b5][0x1]);}_0x1865e7[_0x3568a7(0x1d5)]=getColor(_0x4fc609[_0x3568a7(0x1d1)],_0x4fc609[_0x3568a7(0x1cd)]),_0x1865e7[_0x3568a7(0x1b4)]=_0x1157c3,_0x1865e7[_0x3568a7(0x1be)]=_0x3568a7(0x1b5),_0x1865e7['stroke'](),_0x4924cb=_0x7ff8b0+_0xe8e79,_0x32e91d=_0x12f408+_0x5e8c16,_0x1865e7[_0x3568a7(0x1a5)](_0x4924cb,_0x32e91d),_0x1865e7[_0x3568a7(0x1ad)](_0x7ff8b0,_0x12f408),_0x4924cb=_0x7ff8b0+_0x561a00,_0x32e91d=_0x12f408+_0x50cdbf,_0x1865e7[_0x3568a7(0x1ad)](_0x4924cb,_0x32e91d),_0x1865e7[_0x3568a7(0x1be)]='butt',_0x1865e7[_0x3568a7(0x1b9)](),_0x1865e7[_0x3568a7(0x1d0)]();});_0x4fc609[_0x1d2ac8(0x1a7)]===_0x1d2ac8(0x1a6)&&_0x5da325['setRenderer']((_0x509240,_0x351ff1)=>{const _0x4972c7=_0x1d2ac8;let _0x1d5d5d=_0x351ff1[_0x4972c7(0x1a9)];_0x1d5d5d['save']();for(let _0x19fb3a=0x0;_0x19fb3a<0x4;_0x19fb3a++){let _0x36903a=_0x4fc609[_0x4972c7(0x1cb)]/0xa*(_0x4fc609[_0x4972c7(0x1b3)]===0x0?0x1:_0x4fc609[_0x4972c7(0x1b3)]);_0x1d5d5d[_0x4972c7(0x1d6)]=getColor(_0x4fc609['color'],_0x4fc609['opacity']),_0x1d5d5d['shadowBlur']=_0x4fc609[_0x4972c7(0x1cb)]/0x5*0x2,_0x1d5d5d['beginPath']();for(let _0x25d0d8=0x0;_0x25d0d8<_0x509240[_0x4972c7(0x1cc)];_0x25d0d8++){_0x25d0d8===0x0?_0x1d5d5d[_0x4972c7(0x1a5)](_0x509240[_0x25d0d8][0x0],_0x509240[_0x25d0d8][0x1]):_0x1d5d5d['lineTo'](_0x509240[_0x25d0d8][0x0],_0x509240[_0x25d0d8][0x1]);}_0x1d5d5d[_0x4972c7(0x1be)]='butt',_0x1d5d5d['lineWidth']=_0x36903a,_0x1d5d5d['strokeStyle']=getColor('white',_0x4fc609[_0x4972c7(0x1cd)]),_0x1d5d5d[_0x4972c7(0x1b9)]();}_0x1d5d5d['restore']();});_0x4fc609[_0x1d2ac8(0x1a7)]===_0x1d2ac8(0x1b0)&&_0x5da325[_0x1d2ac8(0x1b8)]((_0x505acb,_0x52faa9)=>{const _0x4a503c=_0x1d2ac8;let _0x282d03=_0x52faa9[_0x4a503c(0x1a9)];_0x282d03[_0x4a503c(0x1a4)](),_0x282d03[_0x4a503c(0x1c0)]();for(let _0x3a1ada=0x0;_0x3a1ada<_0x505acb['length'];_0x3a1ada++){_0x3a1ada===0x0?_0x282d03['moveTo'](_0x505acb[_0x3a1ada][0x0],_0x505acb[_0x3a1ada][0x1]):_0x282d03[_0x4a503c(0x1ad)](_0x505acb[_0x3a1ada][0x0],_0x505acb[_0x3a1ada][0x1]);}_0x282d03[_0x4a503c(0x1be)]='butt',_0x282d03[_0x4a503c(0x1b4)]=_0x4fc609[_0x4a503c(0x1cb)],_0x282d03['strokeStyle']=getColor(_0x4fc609[_0x4a503c(0x1b6)],_0x4fc609[_0x4a503c(0x1cd)]),_0x282d03[_0x4a503c(0x1b9)](),_0x282d03['beginPath']();for(let _0x44ea2d=0x0;_0x44ea2d<_0x505acb[_0x4a503c(0x1cc)];_0x44ea2d++){_0x44ea2d===0x0?_0x282d03[_0x4a503c(0x1a5)](_0x505acb[_0x44ea2d][0x0],_0x505acb[_0x44ea2d][0x1]):_0x282d03[_0x4a503c(0x1ad)](_0x505acb[_0x44ea2d][0x0],_0x505acb[_0x44ea2d][0x1]);}_0x282d03['lineCap']=_0x4a503c(0x1b5),_0x4fc609['outlineWidth']>=_0x4fc609['width']&&(_0x4fc609[_0x4a503c(0x1b2)]=_0x4fc609[_0x4a503c(0x1cb)]-0x1),_0x282d03['lineWidth']=_0x4fc609[_0x4a503c(0x1cb)]-_0x4fc609[_0x4a503c(0x1b2)],_0x282d03[_0x4a503c(0x1d5)]=getColor(_0x4fc609[_0x4a503c(0x1d1)],_0x4fc609[_0x4a503c(0x1cd)]),_0x282d03['stroke'](),_0x282d03[_0x4a503c(0x1d0)]();});let _0x3d0cd5=getImageOlStyle(_0x4fc609[_0x1d2ac8(0x1ca)],_0x56b6c7,_0x917b12,_0x4b3473);_0x3d0cd5&&(_0x3d0cd5[_0x1d2ac8(0x1ac)](_0x123de7),_0x5fbffb['push'](_0x3d0cd5));if(_0x4fc609[_0x1d2ac8(0x1b1)]&&_0x4fc609['label'][_0x1d2ac8(0x1d7)]!==![]){let _0x595abf=new Style({'geometry':_0x123de7,'text':createTextStyle(_0x4fc609[_0x1d2ac8(0x1b1)],_0x1d9feb,_0x917b12,_0x4b3473),'zIndex':Number(_0x56b6c7)+0x1});_0x5fbffb['push'](_0x595abf);}return _0x5fbffb;}function _getRealPolyline(_0x2444d6,_0x4f0a6d){const _0x59d0fd=a75_0x29f8;if(!(_0x4f0a6d===null||_0x4f0a6d===void 0x0?void 0x0:_0x4f0a6d['closed']))return _0x2444d6;else{if(_0x2444d6[_0x59d0fd(0x1c2)]()===_0x59d0fd(0x1c3)){let _0x57150f=_0x2444d6['getCoordinates']();for(let _0x1fe4a8 in _0x57150f){let _0xc7ca7f=_0x57150f[_0x1fe4a8];_0x57150f[_0x1fe4a8]=_0xc7ca7f['concat']([_0xc7ca7f[0x0]]);}return new MultiLineString(_0x57150f);}else return new LineString(_0x2444d6[_0x59d0fd(0x1bd)]()[_0x59d0fd(0x1c4)]([_0x2444d6[_0x59d0fd(0x1ab)]()]));}}
1
+ function a75_0x3633(){const _0x442940=['1001zagqRE','billboard','width','color','outlineColor','lineWidth','beginPath','save','MultiLineString','outlineWidth','36dVClaL','glowPower','dash','zIndex','lineTo','getGeometry','1610825AThhNj','pow','6aRFQcI','114996cQdvmN','cos','204488eTufNf','strokeStyle','butt','3wftqZl','atan2','672820ysLuPK','restore','lineCap','setRenderer','getFlatMidpoints','1UNjtXQ','length','lineType','stroke','outlineOpacity','arrow','shadowBlur','getType','getFlatMidpoint','white','190848DCTniG','context','setGeometry','119osSXQD','1566940SMxAjJ','toString','getCoordinates','push','concat','2545290tgUpSb','sin','moveTo','closed','opacity','glow'];a75_0x3633=function(){return _0x442940;};return a75_0x3633();}(function(_0x270a88,_0x42794c){const _0x88e502=a75_0x38f6,_0x160b45=_0x270a88();while(!![]){try{const _0x5e491e=-parseInt(_0x88e502(0x1b0))/0x1*(-parseInt(_0x88e502(0x1ba))/0x2)+parseInt(_0x88e502(0x1a9))/0x3*(-parseInt(_0x88e502(0x1be))/0x4)+-parseInt(_0x88e502(0x1a1))/0x5*(-parseInt(_0x88e502(0x1a3))/0x6)+parseInt(_0x88e502(0x1bd))/0x7*(parseInt(_0x88e502(0x1a6))/0x8)+-parseInt(_0x88e502(0x1d3))/0x9*(-parseInt(_0x88e502(0x1ab))/0xa)+parseInt(_0x88e502(0x1c3))/0xb+-parseInt(_0x88e502(0x1a4))/0xc*(parseInt(_0x88e502(0x1c9))/0xd);if(_0x5e491e===_0x42794c)break;else _0x160b45['push'](_0x160b45['shift']());}catch(_0x3f5cb9){_0x160b45['push'](_0x160b45['shift']());}}}(a75_0x3633,0x3672a));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';function a75_0x38f6(_0x5052c8,_0x1d332d){const _0x363306=a75_0x3633();return a75_0x38f6=function(_0x38f645,_0x3d6f82){_0x38f645=_0x38f645-0x19e;let _0x505c40=_0x363306[_0x38f645];return _0x505c40;},a75_0x38f6(_0x5052c8,_0x1d332d);}import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x10f1ee,_0x21f171,_0x2f73a1,_0x1940e1){const _0x59690d=a75_0x38f6;var _0x4e9e66,_0x24cf32,_0xc75dbc;let _0x343fd6=(_0x4e9e66=_0x10f1ee[_0x59690d(0x19e)])!==null&&_0x4e9e66!==void 0x0?_0x4e9e66:0x0;const _0x40041e=_0x87dca1=>{var _0x7ad57e=_0x87dca1['getGeometry']();if(_0x7ad57e)return _getRealPolyline(_0x7ad57e,_0x10f1ee);return _0x7ad57e;},_0x51f0b5=_0x37f21d=>{const _0x446982=_0x59690d;var _0x1c3020=_0x37f21d[_0x446982(0x1a0)]();let _0x26a807=_0x1c3020;_0x1c3020&&(_0x26a807=_getRealPolyline(_0x1c3020,_0x10f1ee));if(_0x26a807&&_0x26a807[_0x446982(0x1b7)]()==='LineString')return new Point(_0x26a807[_0x446982(0x1b8)]());else{let _0x4509ca=_0x26a807[_0x446982(0x1af)](),_0x1e8c90=0x2,_0x421eb4=[];for(let _0x49823c=0x0,_0x2da412=_0x4509ca['length'];_0x49823c<_0x2da412;_0x49823c+=_0x1e8c90){let _0xb41236=[_0x4509ca[_0x49823c],_0x4509ca[_0x49823c+0x1]];_0x421eb4[_0x446982(0x1c1)](_0xb41236);}return new MultiPoint(_0x421eb4);}};let _0xaa82ae=new Style({'geometry':_0x40041e,'stroke':new Stroke({'color':getColor(_0x10f1ee[_0x59690d(0x1cc)],_0x10f1ee[_0x59690d(0x1c7)]),'width':_0x10f1ee[_0x59690d(0x1cb)]}),'zIndex':_0x343fd6}),_0x7b00f2=[_0xaa82ae];if(_0x10f1ee[_0x59690d(0x1b2)]===_0x59690d(0x1d5)){let _0x1579d8=_0x10f1ee['outlineWidth']/0x2,_0x238f65=new Style({'geometry':_0x40041e,'zIndex':_0x343fd6,'stroke':new Stroke({'color':getColor(_0x10f1ee[_0x59690d(0x1cc)],_0x10f1ee[_0x59690d(0x1c7)]),'width':_0x10f1ee['width'],'lineCap':_0x59690d(0x1a8),'lineDash':[_0x1579d8,_0x1579d8]})}),_0x509ec0=new Style({'geometry':_0x40041e,'zIndex':_0x343fd6+0.5,'stroke':new Stroke({'color':getColor(_0x10f1ee[_0x59690d(0x1cd)],Number((_0xc75dbc=(_0x24cf32=_0x10f1ee[_0x59690d(0x1b4)])!==null&&_0x24cf32!==void 0x0?_0x24cf32:_0x10f1ee[_0x59690d(0x1c7)])!==null&&_0xc75dbc!==void 0x0?_0xc75dbc:0x1)),'width':_0x10f1ee[_0x59690d(0x1cb)],'lineCap':'butt','lineDash':[_0x1579d8,_0x1579d8],'lineDashOffset':_0x1579d8})});_0x7b00f2=[_0x238f65,_0x509ec0];}_0x10f1ee[_0x59690d(0x1b2)]===_0x59690d(0x1b5)&&_0xaa82ae['setRenderer']((_0x327037,_0x4d333e)=>{const _0x44d272=_0x59690d;let _0x1a0317=_0x4d333e[_0x44d272(0x1bb)],_0x25d1fa=parseInt((_0x10f1ee[_0x44d272(0x1cb)]/0x4)[_0x44d272(0x1bf)]()),_0x3a80b2=0xa,_0x576929=Math['sqrt'](Math[_0x44d272(0x1a2)](_0x3a80b2,0x2)+Math[_0x44d272(0x1a2)](_0x10f1ee[_0x44d272(0x1cb)]/0x2,0x2)),_0x6cc152=0x2d,_0x2a4f29=_0x327037[_0x327037['length']-0x2][0x0],_0x56f181=_0x327037[_0x327037[_0x44d272(0x1b1)]-0x2][0x1],_0xb1ccb8=_0x327037[_0x327037[_0x44d272(0x1b1)]-0x1][0x0],_0x3238b7=_0x327037[_0x327037[_0x44d272(0x1b1)]-0x1][0x1],_0x43c3f6=Math[_0x44d272(0x1aa)](_0x56f181-_0x3238b7,_0x2a4f29-_0xb1ccb8)*0xb4/Math['PI'],_0x340679=(_0x43c3f6+_0x6cc152)*Math['PI']/0xb4,_0x51d211=(_0x43c3f6-_0x6cc152)*Math['PI']/0xb4,_0x152019=_0x576929*Math[_0x44d272(0x1a5)](_0x340679),_0x4c20b2=_0x576929*Math[_0x44d272(0x1c4)](_0x340679),_0x55dc51=_0x576929*Math['cos'](_0x51d211),_0x137588=_0x576929*Math[_0x44d272(0x1c4)](_0x51d211);_0x1a0317['save'](),_0x1a0317['beginPath']();let _0x37eb7d,_0x2ce4a8;for(let _0x1cc1d9=0x0;_0x1cc1d9<_0x327037[_0x44d272(0x1b1)];_0x1cc1d9++){_0x1cc1d9===0x0?_0x1a0317[_0x44d272(0x1c5)](_0x327037[_0x1cc1d9][0x0],_0x327037[_0x1cc1d9][0x1]):_0x1a0317[_0x44d272(0x19f)](_0x327037[_0x1cc1d9][0x0],_0x327037[_0x1cc1d9][0x1]);}_0x1a0317['strokeStyle']=getColor(_0x10f1ee['color'],_0x10f1ee[_0x44d272(0x1c7)]),_0x1a0317[_0x44d272(0x1ce)]=_0x25d1fa,_0x1a0317[_0x44d272(0x1ad)]=_0x44d272(0x1a8),_0x1a0317[_0x44d272(0x1b3)](),_0x37eb7d=_0xb1ccb8+_0x152019,_0x2ce4a8=_0x3238b7+_0x4c20b2,_0x1a0317[_0x44d272(0x1c5)](_0x37eb7d,_0x2ce4a8),_0x1a0317[_0x44d272(0x19f)](_0xb1ccb8,_0x3238b7),_0x37eb7d=_0xb1ccb8+_0x55dc51,_0x2ce4a8=_0x3238b7+_0x137588,_0x1a0317['lineTo'](_0x37eb7d,_0x2ce4a8),_0x1a0317[_0x44d272(0x1ad)]=_0x44d272(0x1a8),_0x1a0317[_0x44d272(0x1b3)](),_0x1a0317[_0x44d272(0x1ac)]();});_0x10f1ee[_0x59690d(0x1b2)]===_0x59690d(0x1c8)&&_0xaa82ae['setRenderer']((_0x1ff549,_0x3ce1aa)=>{const _0x318a0e=_0x59690d;let _0x2fe208=_0x3ce1aa[_0x318a0e(0x1bb)];_0x2fe208[_0x318a0e(0x1d0)]();for(let _0x1b3909=0x0;_0x1b3909<0x4;_0x1b3909++){let _0x2eaac9=_0x10f1ee['width']/0xa*(_0x10f1ee[_0x318a0e(0x1d4)]===0x0?0x1:_0x10f1ee[_0x318a0e(0x1d4)]);_0x2fe208['shadowColor']=getColor(_0x10f1ee[_0x318a0e(0x1cc)],_0x10f1ee[_0x318a0e(0x1c7)]),_0x2fe208[_0x318a0e(0x1b6)]=_0x10f1ee[_0x318a0e(0x1cb)]/0x5*0x2,_0x2fe208['beginPath']();for(let _0xfc4276=0x0;_0xfc4276<_0x1ff549[_0x318a0e(0x1b1)];_0xfc4276++){_0xfc4276===0x0?_0x2fe208['moveTo'](_0x1ff549[_0xfc4276][0x0],_0x1ff549[_0xfc4276][0x1]):_0x2fe208[_0x318a0e(0x19f)](_0x1ff549[_0xfc4276][0x0],_0x1ff549[_0xfc4276][0x1]);}_0x2fe208[_0x318a0e(0x1ad)]=_0x318a0e(0x1a8),_0x2fe208[_0x318a0e(0x1ce)]=_0x2eaac9,_0x2fe208[_0x318a0e(0x1a7)]=getColor(_0x318a0e(0x1b9),_0x10f1ee[_0x318a0e(0x1c7)]),_0x2fe208[_0x318a0e(0x1b3)]();}_0x2fe208[_0x318a0e(0x1ac)]();});_0x10f1ee[_0x59690d(0x1b2)]==='outline'&&_0xaa82ae[_0x59690d(0x1ae)]((_0x1bbe58,_0xe52d9e)=>{const _0x2f1edf=_0x59690d;let _0x21ede6=_0xe52d9e[_0x2f1edf(0x1bb)];_0x21ede6['save'](),_0x21ede6[_0x2f1edf(0x1cf)]();for(let _0x4790e1=0x0;_0x4790e1<_0x1bbe58[_0x2f1edf(0x1b1)];_0x4790e1++){_0x4790e1===0x0?_0x21ede6[_0x2f1edf(0x1c5)](_0x1bbe58[_0x4790e1][0x0],_0x1bbe58[_0x4790e1][0x1]):_0x21ede6[_0x2f1edf(0x19f)](_0x1bbe58[_0x4790e1][0x0],_0x1bbe58[_0x4790e1][0x1]);}_0x21ede6[_0x2f1edf(0x1ad)]=_0x2f1edf(0x1a8),_0x21ede6[_0x2f1edf(0x1ce)]=_0x10f1ee[_0x2f1edf(0x1cb)],_0x21ede6['strokeStyle']=getColor(_0x10f1ee[_0x2f1edf(0x1cd)],_0x10f1ee[_0x2f1edf(0x1c7)]),_0x21ede6['stroke'](),_0x21ede6['beginPath']();for(let _0x339a94=0x0;_0x339a94<_0x1bbe58[_0x2f1edf(0x1b1)];_0x339a94++){_0x339a94===0x0?_0x21ede6['moveTo'](_0x1bbe58[_0x339a94][0x0],_0x1bbe58[_0x339a94][0x1]):_0x21ede6[_0x2f1edf(0x19f)](_0x1bbe58[_0x339a94][0x0],_0x1bbe58[_0x339a94][0x1]);}_0x21ede6[_0x2f1edf(0x1ad)]=_0x2f1edf(0x1a8),_0x10f1ee[_0x2f1edf(0x1d2)]>=_0x10f1ee[_0x2f1edf(0x1cb)]&&(_0x10f1ee['outlineWidth']=_0x10f1ee[_0x2f1edf(0x1cb)]-0x1),_0x21ede6['lineWidth']=_0x10f1ee['width']-_0x10f1ee[_0x2f1edf(0x1d2)],_0x21ede6[_0x2f1edf(0x1a7)]=getColor(_0x10f1ee[_0x2f1edf(0x1cc)],_0x10f1ee[_0x2f1edf(0x1c7)]),_0x21ede6['stroke'](),_0x21ede6[_0x2f1edf(0x1ac)]();});let _0x4a220d=getImageOlStyle(_0x10f1ee[_0x59690d(0x1ca)],_0x343fd6,_0x2f73a1,_0x1940e1);_0x4a220d&&(_0x4a220d[_0x59690d(0x1bc)](_0x51f0b5),_0x7b00f2[_0x59690d(0x1c1)](_0x4a220d));if(_0x10f1ee['label']&&_0x10f1ee['label']['show']!==![]){let _0x3860da=new Style({'geometry':_0x51f0b5,'text':createTextStyle(_0x10f1ee['label'],_0x21f171,_0x2f73a1,_0x1940e1),'zIndex':Number(_0x343fd6)+0x1});_0x7b00f2[_0x59690d(0x1c1)](_0x3860da);}return _0x7b00f2;}function _getRealPolyline(_0x43f413,_0x54b486){const _0x293f0a=a75_0x38f6;if(!(_0x54b486===null||_0x54b486===void 0x0?void 0x0:_0x54b486[_0x293f0a(0x1c6)]))return _0x43f413;else{if(_0x43f413[_0x293f0a(0x1b7)]()===_0x293f0a(0x1d1)){let _0x59fc85=_0x43f413[_0x293f0a(0x1c0)]();for(let _0x1fd7ec in _0x59fc85){let _0x35502b=_0x59fc85[_0x1fd7ec];_0x59fc85[_0x1fd7ec]=_0x35502b[_0x293f0a(0x1c2)]([_0x35502b[0x0]]);}return new MultiLineString(_0x59fc85);}else return new LineString(_0x43f413[_0x293f0a(0x1c0)]()[_0x293f0a(0x1c2)]([_0x43f413['getFirstCoordinate']()]));}}
@@ -1 +1 @@
1
- (function(_0x417594,_0xbf4724){const _0x2d34ef=a76_0x4246,_0x5aa906=_0x417594();while(!![]){try{const _0x540974=parseInt(_0x2d34ef(0xbe))/0x1+parseInt(_0x2d34ef(0xb6))/0x2+parseInt(_0x2d34ef(0xb5))/0x3*(-parseInt(_0x2d34ef(0xb4))/0x4)+parseInt(_0x2d34ef(0xb3))/0x5+parseInt(_0x2d34ef(0xbc))/0x6*(parseInt(_0x2d34ef(0xc6))/0x7)+parseInt(_0x2d34ef(0xbf))/0x8+-parseInt(_0x2d34ef(0xcb))/0x9;if(_0x540974===_0xbf4724)break;else _0x5aa906['push'](_0x5aa906['shift']());}catch(_0x43df8e){_0x5aa906['push'](_0x5aa906['shift']());}}}(a76_0x42dd,0x5041c));import a76_0x2d0fcf from'ol/style/Circle';function a76_0x4246(_0xdac96d,_0x1f378c){const _0x42dda0=a76_0x42dd();return a76_0x4246=function(_0x424681,_0x448ad9){_0x424681=_0x424681-0xb0;let _0x1465f1=_0x42dda0[_0x424681];return _0x1465f1;},a76_0x4246(_0xdac96d,_0x1f378c);}import a76_0x2f59f3 from'ol/style/Fill';import a76_0x1989b6 from'ol/style/Stroke';import a76_0x6fe9f1 from'ol/style/Style';import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x14a964=a76_0x4246;return new a76_0x6fe9f1({'image':new a76_0x2d0fcf({'radius':0x5,'fill':new a76_0x2f59f3({'color':_0x14a964(0xb2)}),'stroke':new a76_0x1989b6({'color':_0x14a964(0xb2),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x127b43=a76_0x4246;return new a76_0x6fe9f1({'image':new a76_0x2d0fcf({'radius':0x5,'fill':new a76_0x2f59f3({'color':_0x127b43(0xba)}),'stroke':new a76_0x1989b6({'color':_0x127b43(0xb2),'width':0x1})})});}export function getSelectLineStyle(){const _0x3e60a1=a76_0x4246;return new a76_0x6fe9f1({'stroke':new a76_0x1989b6({'color':_0x3e60a1(0xb2),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x54e455=a76_0x4246;return new a76_0x6fe9f1({'stroke':new a76_0x1989b6({'color':_0x54e455(0xbd),'width':0x2})});}export function getSelectPolygonStyle(){const _0x710b99=a76_0x4246;return new a76_0x6fe9f1({'stroke':new a76_0x1989b6({'color':_0x710b99(0xb2),'width':0x2}),'fill':new a76_0x2f59f3({'color':_0x710b99(0xc1)})});}export function getSelectCancelPolygonStyle(){const _0x3a2012=a76_0x4246;return new a76_0x6fe9f1({'stroke':new a76_0x1989b6({'color':_0x3a2012(0xbd),'width':0x2}),'fill':new a76_0x2f59f3({'color':'rgba(0,\x20255,0,\x200)'})});}export function getStyle(_0x21e23f){const _0x4fcbc8=a76_0x4246;if(_0x21e23f){const _0x5e37bb=new a76_0x6fe9f1();if(_0x21e23f[_0x4fcbc8(0xc5)]){const _0xd348df=createTextStyle(_0x21e23f,_0x21e23f['text']);_0xd348df&&_0x5e37bb[_0x4fcbc8(0xb9)](_0xd348df),_0x5e37bb['setZIndex'](0x1);}return _0x21e23f[_0x4fcbc8(0xc4)]&&_0x5e37bb[_0x4fcbc8(0xc2)](new a76_0x1989b6({'color':getColor(_0x21e23f[_0x4fcbc8(0xc4)],_0x21e23f[_0x4fcbc8(0xc8)]),'width':_0x21e23f['outlineWidth']||0x1})),_0x21e23f[_0x4fcbc8(0xc0)]&&_0x5e37bb['setFill'](new a76_0x2f59f3({'color':getColor(_0x21e23f[_0x4fcbc8(0xc0)],_0x21e23f['opacity'])})),_0x21e23f['pointType']=='circle'&&_0x5e37bb[_0x4fcbc8(0xb8)](new a76_0x2d0fcf({'radius':_0x21e23f['radius']||0x5,'fill':new a76_0x2f59f3({'color':getColor(_0x21e23f[_0x4fcbc8(0xc0)],_0x21e23f[_0x4fcbc8(0xc3)])})})),(_0x21e23f['pointType']==_0x4fcbc8(0xb1)||_0x21e23f[_0x4fcbc8(0xc9)])&&_0x5e37bb[_0x4fcbc8(0xb8)](new Icon({'src':_0x21e23f[_0x4fcbc8(0xc9)],'anchor':_0x21e23f[_0x4fcbc8(0xca)]||[0.5,0.5],'scale':_0x21e23f['scale']||0x1,'rotation':_0x21e23f['rotation']||0x0})),_0x5e37bb;}return new a76_0x6fe9f1({'stroke':new a76_0x1989b6({'color':_0x4fcbc8(0xb2),'width':0x2}),'fill':new a76_0x2f59f3({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectStyle(_0x180d9a){const _0x295b99=a76_0x4246;let _0x468ba6=getSelectPolygonStyle();switch(_0x180d9a){case'MultiPolygon':case _0x295b99(0xbb):_0x468ba6=getSelectPolygonStyle();break;case _0x295b99(0xb0):case _0x295b99(0xb7):_0x468ba6=getSelectLineStyle();break;case _0x295b99(0xc7):case'Point':_0x468ba6=getSelectPointStyle();break;default:break;}return _0x468ba6;}function a76_0x42dd(){const _0x4946b7=['text','91QjDTkt','MultiPoint','outlineOpacity','imgurl','anchor','6949287tixFSM','MultiLineString','icon','rgba(121,\x20243,\x20238,\x201)','124620QTuohg','49836sIpTzi','51MxAYgb','521746sLjRId','LineString','setImage','setText','rgba(121,\x20243,\x20238,\x200)','Polygon','197178ljOPZO','rgba(0,\x20255,0,\x201)','516780XYYbEz','663056feaBzJ','color','rgba(121,\x20243,\x20238,\x200.3)','setStroke','opacity','outlineColor'];a76_0x42dd=function(){return _0x4946b7;};return a76_0x42dd();}
1
+ function a76_0x286b(_0x5a46da,_0x210217){const _0x12095d=a76_0x1209();return a76_0x286b=function(_0x286b28,_0x1b9cc1){_0x286b28=_0x286b28-0x1f4;let _0x25554a=_0x12095d[_0x286b28];return _0x25554a;},a76_0x286b(_0x5a46da,_0x210217);}(function(_0x1d2f7f,_0x2afa01){const _0x4a810e=a76_0x286b,_0x48917d=_0x1d2f7f();while(!![]){try{const _0x4afcad=parseInt(_0x4a810e(0x214))/0x1*(-parseInt(_0x4a810e(0x1f9))/0x2)+parseInt(_0x4a810e(0x209))/0x3*(-parseInt(_0x4a810e(0x211))/0x4)+parseInt(_0x4a810e(0x206))/0x5*(-parseInt(_0x4a810e(0x1f5))/0x6)+-parseInt(_0x4a810e(0x207))/0x7*(-parseInt(_0x4a810e(0x1f8))/0x8)+-parseInt(_0x4a810e(0x216))/0x9+parseInt(_0x4a810e(0x1fb))/0xa*(parseInt(_0x4a810e(0x20b))/0xb)+parseInt(_0x4a810e(0x213))/0xc;if(_0x4afcad===_0x2afa01)break;else _0x48917d['push'](_0x48917d['shift']());}catch(_0x910ad0){_0x48917d['push'](_0x48917d['shift']());}}}(a76_0x1209,0x64bca));import a76_0x2f96e7 from'ol/style/Circle';import a76_0x5080b2 from'ol/style/Fill';import a76_0x3e8e3f from'ol/style/Stroke';import a76_0x54f41b from'ol/style/Style';import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x2ef468=a76_0x286b;return new a76_0x54f41b({'image':new a76_0x2f96e7({'radius':0x5,'fill':new a76_0x5080b2({'color':_0x2ef468(0x201)}),'stroke':new a76_0x3e8e3f({'color':_0x2ef468(0x201),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x5d1bf1=a76_0x286b;return new a76_0x54f41b({'image':new a76_0x2f96e7({'radius':0x5,'fill':new a76_0x5080b2({'color':'rgba(121,\x20243,\x20238,\x200)'}),'stroke':new a76_0x3e8e3f({'color':_0x5d1bf1(0x201),'width':0x1})})});}export function getSelectLineStyle(){const _0x172bf8=a76_0x286b;return new a76_0x54f41b({'stroke':new a76_0x3e8e3f({'color':_0x172bf8(0x201),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x210aaa=a76_0x286b;return new a76_0x54f41b({'stroke':new a76_0x3e8e3f({'color':_0x210aaa(0x1fc),'width':0x2})});}export function getSelectPolygonStyle(){const _0x3e48db=a76_0x286b;return new a76_0x54f41b({'stroke':new a76_0x3e8e3f({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a76_0x5080b2({'color':_0x3e48db(0x205)})});}export function getSelectCancelPolygonStyle(){const _0x417eb5=a76_0x286b;return new a76_0x54f41b({'stroke':new a76_0x3e8e3f({'color':_0x417eb5(0x1fc),'width':0x2}),'fill':new a76_0x5080b2({'color':_0x417eb5(0x1f4)})});}function a76_0x1209(){const _0x5dd53a=['14453340IjCqEE','1065AnZdtX','Polygon','1962918iBNGHk','rotation','rgba(0,\x20255,0,\x200)','732qNHbNz','setZIndex','imgurl','25136xtwcFn','1328IfjiGa','color','8044970ukuOLW','rgba(0,\x20255,0,\x201)','outlineColor','outlineWidth','pointType','circle','rgba(121,\x20243,\x20238,\x201)','setText','MultiPoint','Point','rgba(121,\x20243,\x20238,\x200.3)','17770gSqsEr','1022iGpSzR','icon','42fTsICB','LineString','11dYNZkP','opacity','setStroke','text','outlineOpacity','anchor','198916cBuefk','scale'];a76_0x1209=function(){return _0x5dd53a;};return a76_0x1209();}export function getStyle(_0x2e2227){const _0x32ccf5=a76_0x286b;if(_0x2e2227){const _0x2ae9ef=new a76_0x54f41b();if(_0x2e2227[_0x32ccf5(0x20e)]){const _0x27d498=createTextStyle(_0x2e2227,_0x2e2227['text']);_0x27d498&&_0x2ae9ef[_0x32ccf5(0x202)](_0x27d498),_0x2ae9ef[_0x32ccf5(0x1f6)](0x1);}return _0x2e2227[_0x32ccf5(0x1fd)]&&_0x2ae9ef[_0x32ccf5(0x20d)](new a76_0x3e8e3f({'color':getColor(_0x2e2227[_0x32ccf5(0x1fd)],_0x2e2227[_0x32ccf5(0x20f)]),'width':_0x2e2227[_0x32ccf5(0x1fe)]||0x1})),_0x2e2227[_0x32ccf5(0x1fa)]&&_0x2ae9ef['setFill'](new a76_0x5080b2({'color':getColor(_0x2e2227[_0x32ccf5(0x1fa)],_0x2e2227[_0x32ccf5(0x20c)])})),_0x2e2227[_0x32ccf5(0x1ff)]==_0x32ccf5(0x200)&&_0x2ae9ef['setImage'](new a76_0x2f96e7({'radius':_0x2e2227['radius']||0x5,'fill':new a76_0x5080b2({'color':getColor(_0x2e2227[_0x32ccf5(0x1fa)],_0x2e2227[_0x32ccf5(0x20c)])})})),(_0x2e2227['pointType']==_0x32ccf5(0x208)||_0x2e2227[_0x32ccf5(0x1f7)])&&_0x2ae9ef['setImage'](new Icon({'src':_0x2e2227[_0x32ccf5(0x1f7)],'anchor':_0x2e2227[_0x32ccf5(0x210)]||[0.5,0.5],'scale':_0x2e2227[_0x32ccf5(0x212)]||0x1,'rotation':_0x2e2227[_0x32ccf5(0x217)]||0x0})),_0x2ae9ef;}return new a76_0x54f41b({'stroke':new a76_0x3e8e3f({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a76_0x5080b2({'color':_0x32ccf5(0x205)})});}export function getSelectStyle(_0x58b565){const _0xea2105=a76_0x286b;let _0x270364=getSelectPolygonStyle();switch(_0x58b565){case'MultiPolygon':case _0xea2105(0x215):_0x270364=getSelectPolygonStyle();break;case'MultiLineString':case _0xea2105(0x20a):_0x270364=getSelectLineStyle();break;case _0xea2105(0x203):case _0xea2105(0x204):_0x270364=getSelectPointStyle();break;default:break;}return _0x270364;}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- function a72_0x2f8d(_0x3ef9d4,_0x2e3c2f){const _0x5861f1=a72_0x5861();return a72_0x2f8d=function(_0x2f8d63,_0x5dcdb1){_0x2f8d63=_0x2f8d63-0x17e;let _0x323c4b=_0x5861f1[_0x2f8d63];return _0x323c4b;},a72_0x2f8d(_0x3ef9d4,_0x2e3c2f);}(function(_0x478951,_0x58da16){const _0x3258f4=a72_0x2f8d,_0x35f08f=_0x478951();while(!![]){try{const _0x3969ab=-parseInt(_0x3258f4(0x1a0))/0x1*(parseInt(_0x3258f4(0x191))/0x2)+-parseInt(_0x3258f4(0x180))/0x3+parseInt(_0x3258f4(0x195))/0x4*(-parseInt(_0x3258f4(0x186))/0x5)+parseInt(_0x3258f4(0x18b))/0x6*(parseInt(_0x3258f4(0x193))/0x7)+parseInt(_0x3258f4(0x19f))/0x8*(parseInt(_0x3258f4(0x18e))/0x9)+parseInt(_0x3258f4(0x1a4))/0xa+-parseInt(_0x3258f4(0x18f))/0xb;if(_0x3969ab===_0x58da16)break;else _0x35f08f['push'](_0x35f08f['shift']());}catch(_0x4b1d86){_0x35f08f['push'](_0x35f08f['shift']());}}}(a72_0x5861,0xc527b));function a72_0x5861(){const _0x2cc729=['textBaseline','873352lXmkQU','font','bold','ERROR','normal','distanceDisplayNear','backgroundColor','px\x20','borderLineOpacity','alpha','405032DZTLeH','843361SMoKjl','offsetX','getImageState','LOADED','4353540lZQQbs','haloOpacity','image','IDLE','haloColor','2357175QCtmBJ','haloWidth','italic','borderLineWidth','weight','#000000','5FjdBCY','getResolutionForZoom','color','getView','distanceDisplayFar','6VvWvxH','borderLineColor','load','225aIcjQq','2943369GtkPNL','target','2ZVnqBa','middle','8550297UAknAn'];a72_0x5861=function(){return _0x2cc729;};return a72_0x5861();}import a72_0x285301 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a72_0x8b6ada from'../utils/plug/canvas/PinIcon';import a72_0x57825e from'ol/ImageState';export function isShowStyle(_0x4a0c90,_0x390af9,_0x4c2838){const _0x1d7609=a72_0x2f8d;let _0x6cd688=!![];if(_0x390af9==undefined||_0x4c2838==undefined)return _0x6cd688;if(_0x4a0c90&&typeof _0x4a0c90[_0x1d7609(0x18a)]!=undefined&&typeof _0x4a0c90['distanceDisplayNear']!=undefined){if(_0x4a0c90[_0x1d7609(0x18a)]&&_0x4c2838){_0x6cd688=![];let _0x2f7c03=getLevel(_0x4a0c90[_0x1d7609(0x18a)]),_0x5ac1fa=_0x4c2838[_0x1d7609(0x189)]()[_0x1d7609(0x187)](_0x2f7c03);_0x390af9<_0x5ac1fa&&(_0x6cd688=!![]);}if(_0x6cd688&&_0x4a0c90[_0x1d7609(0x19a)]&&_0x4c2838){_0x6cd688=![];let _0x1bf028=getLevel(_0x4a0c90[_0x1d7609(0x19a)]),_0x30b907=_0x4c2838[_0x1d7609(0x189)]()[_0x1d7609(0x187)](_0x1bf028);_0x390af9>_0x30b907&&(_0x6cd688=!![]);}}return _0x6cd688;}export function getLevel(_0x1078a2){const _0x3381d=3252.745,_0x6b179f=0.0009198301,_0x4a046d=52977.61,_0x685d8a=-3228.107;return _0x685d8a+(_0x3381d-_0x685d8a)/(0x1+Math['pow'](_0x1078a2/_0x4a046d,_0x6b179f));}export function toRadians(_0x1c8ba0){if(_0x1c8ba0)return-(_0x1c8ba0*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x4ccaa3,_0x23724f,_0x80ae57,_0x567584){const _0x14a613=a72_0x2f8d;var _0x396230,_0x13227b,_0x278dc5,_0x20b697,_0x311b1f,_0x13f1df,_0x1fe0ea,_0x6c02b4;if(_0x4ccaa3){let _0xf7d7c7=isShowStyle(_0x4ccaa3,_0x80ae57,_0x567584);if(_0xf7d7c7===![])return undefined;else{const _0x251371=_0x4ccaa3[_0x14a613(0x196)],_0x5845ac=(_0x251371===null||_0x251371===void 0x0?void 0x0:_0x251371[_0x14a613(0x182)])?_0x14a613(0x182):_0x14a613(0x199),_0x5c8421=(_0x251371===null||_0x251371===void 0x0?void 0x0:_0x251371[_0x14a613(0x184)])?_0x14a613(0x197):_0x14a613(0x199),_0x193efe=(_0x251371===null||_0x251371===void 0x0?void 0x0:_0x251371['size'])||'25',_0xd7dc89=(_0x251371===null||_0x251371===void 0x0?void 0x0:_0x251371['family'])||'楷体';let _0x34a97c=_0x5845ac+'\x20normal\x20'+_0x5c8421+'\x20'+_0x193efe+_0x14a613(0x19c)+_0xd7dc89,_0x53a345=(_0x251371===null||_0x251371===void 0x0?void 0x0:_0x251371[_0x14a613(0x1a1)])||0x0,_0x81d3e0=(_0x251371===null||_0x251371===void 0x0?void 0x0:_0x251371['offsetY'])||0x0,_0x32e1c3=(_0x251371===null||_0x251371===void 0x0?void 0x0:_0x251371[_0x14a613(0x194)])||_0x14a613(0x192),_0x57f8b8=(_0x251371===null||_0x251371===void 0x0?void 0x0:_0x251371['textAlign'])||'center';const _0x5b7923=_0x4ccaa3['opacity']||0x1;let _0x3bb3c6=undefined;return(_0x251371===null||_0x251371===void 0x0?void 0x0:_0x251371[_0x14a613(0x17f)])&&(_0x3bb3c6=_getStroke(_0x251371[_0x14a613(0x17f)],_0x251371[_0x14a613(0x1a5)],_0x251371[_0x14a613(0x181)])),new Text({'overflow':!![],'text':_0x23724f,'font':_0x34a97c,'offsetX':_0x53a345,'offsetY':_0x81d3e0,'textAlign':_0x57f8b8,'textBaseline':_0x32e1c3,'fill':new Fill({'color':getColor(((_0x396230=_0x4ccaa3[_0x14a613(0x196)])===null||_0x396230===void 0x0?void 0x0:_0x396230[_0x14a613(0x188)])||_0x14a613(0x185),_0x5b7923)}),'stroke':_0x3bb3c6,'backgroundFill':((_0x13227b=_0x4ccaa3[_0x14a613(0x196)])===null||_0x13227b===void 0x0?void 0x0:_0x13227b[_0x14a613(0x19b)])?new Fill({'color':getColor(((_0x278dc5=_0x4ccaa3[_0x14a613(0x196)])===null||_0x278dc5===void 0x0?void 0x0:_0x278dc5[_0x14a613(0x19b)])||'#2A2A2A',((_0x20b697=_0x4ccaa3[_0x14a613(0x196)])===null||_0x20b697===void 0x0?void 0x0:_0x20b697['backgroundOpacity'])||0x1)}):undefined,'backgroundStroke':((_0x311b1f=_0x4ccaa3['font'])===null||_0x311b1f===void 0x0?void 0x0:_0x311b1f[_0x14a613(0x18c)])?_getStroke((_0x13f1df=_0x4ccaa3['font'])===null||_0x13f1df===void 0x0?void 0x0:_0x13f1df[_0x14a613(0x18c)],((_0x1fe0ea=_0x4ccaa3[_0x14a613(0x196)])===null||_0x1fe0ea===void 0x0?void 0x0:_0x1fe0ea[_0x14a613(0x19d)])||0x1,((_0x6c02b4=_0x4ccaa3[_0x14a613(0x196)])===null||_0x6c02b4===void 0x0?void 0x0:_0x6c02b4[_0x14a613(0x183)])||0x1):undefined});}}else return undefined;}export function getColor(_0x3f2e45,_0x51b3b6){const _0xcce035=a72_0x2f8d;return a72_0x285301(_0x3f2e45)[_0xcce035(0x19e)](_0x51b3b6!=undefined?_0x51b3b6:0x1)['hexa']();}function _getStroke(_0x45aa3d,_0x4e15f6,_0x494689){return new Stroke({'color':getColor(_0x45aa3d,_0x4e15f6),'width':_0x494689==undefined?0x1:_0x494689});}export function preLoadImageRenderFunction(_0x8674d3,_0x287ea9,_0x4d6be0,_0x1996f5,_0x4c8e24){const _0x35ecb5=a72_0x2f8d;let _0x15320f;_0x8674d3['markerColor']?_0x15320f=new a72_0x8b6ada(_0x8674d3):_0x15320f=new Icon({'src':_0x8674d3[_0x35ecb5(0x1a6)]});let _0x2d0b13=_0x15320f[_0x35ecb5(0x1a2)]();_0x2d0b13===a72_0x57825e['LOADED']||_0x2d0b13===a72_0x57825e[_0x35ecb5(0x198)]?_0x4c8e24(_0x8674d3,_0x287ea9,_0x4d6be0,_0x1996f5,_0x15320f['getImage'](0x60)):(_0x2d0b13===a72_0x57825e[_0x35ecb5(0x17e)]&&_0x15320f[_0x35ecb5(0x18d)](),_0x15320f['listenImageChange'](_0x37b9c4=>{const _0x597ade=_0x35ecb5;_0x2d0b13=_0x37b9c4[_0x597ade(0x190)][_0x597ade(0x1a2)](),(_0x2d0b13===a72_0x57825e[_0x597ade(0x1a3)]||_0x2d0b13===a72_0x57825e[_0x597ade(0x198)])&&_0x4c8e24(_0x8674d3,_0x287ea9,_0x4d6be0,_0x1996f5,_0x15320f['getImage'](0x60));}));}
1
+ (function(_0x4d5c09,_0x317643){const _0x5c2a2f=a72_0xbbac,_0x229566=_0x4d5c09();while(!![]){try{const _0x51f7e3=parseInt(_0x5c2a2f(0x139))/0x1+-parseInt(_0x5c2a2f(0x129))/0x2*(parseInt(_0x5c2a2f(0x120))/0x3)+parseInt(_0x5c2a2f(0x122))/0x4+-parseInt(_0x5c2a2f(0x13d))/0x5+parseInt(_0x5c2a2f(0x130))/0x6+parseInt(_0x5c2a2f(0x12e))/0x7*(parseInt(_0x5c2a2f(0x138))/0x8)+parseInt(_0x5c2a2f(0x114))/0x9*(-parseInt(_0x5c2a2f(0x11f))/0xa);if(_0x51f7e3===_0x317643)break;else _0x229566['push'](_0x229566['shift']());}catch(_0x6e7a17){_0x229566['push'](_0x229566['shift']());}}}(a72_0x574e,0xbe43e));import a72_0x3fc712 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';function a72_0x574e(){const _0xdfdb2a=['weight','normal','borderLineOpacity','getImageState','family','markerColor','alpha','getResolutionForZoom','10BfQakO','3gBCgHQ','haloColor','3745848wbscJS','center','bold','textAlign','target','borderLineColor','load','1009418zLAOOr','IDLE','backgroundColor','hexa','ERROR','491596RVEjlS','color','4536966ICBGoV','offsetY','font','italic','size','haloWidth','#000000','\x20normal\x20','120LrwJnI','237907WjPIsD','distanceDisplayNear','middle','#2A2A2A','6844360JVMqux','px\x20','backgroundOpacity','getImage','distanceDisplayFar','2979387DKwRRD','pow','getView'];a72_0x574e=function(){return _0xdfdb2a;};return a72_0x574e();}import a72_0x5c1b15 from'../utils/plug/canvas/PinIcon';function a72_0xbbac(_0x80035c,_0x5f433d){const _0x574ed4=a72_0x574e();return a72_0xbbac=function(_0xbbac74,_0x4b146b){_0xbbac74=_0xbbac74-0x112;let _0x5c0732=_0x574ed4[_0xbbac74];return _0x5c0732;},a72_0xbbac(_0x80035c,_0x5f433d);}import a72_0x2b9d80 from'ol/ImageState';export function isShowStyle(_0x46cc57,_0xa0a62e,_0x2d9e3a){const _0x594851=a72_0xbbac;let _0x574733=!![];if(_0xa0a62e==undefined||_0x2d9e3a==undefined)return _0x574733;if(_0x46cc57&&typeof _0x46cc57[_0x594851(0x113)]!=undefined&&typeof _0x46cc57['distanceDisplayNear']!=undefined){if(_0x46cc57[_0x594851(0x113)]&&_0x2d9e3a){_0x574733=![];let _0x488977=getLevel(_0x46cc57[_0x594851(0x113)]),_0x552cb3=_0x2d9e3a['getView']()['getResolutionForZoom'](_0x488977);_0xa0a62e<_0x552cb3&&(_0x574733=!![]);}if(_0x574733&&_0x46cc57['distanceDisplayNear']&&_0x2d9e3a){_0x574733=![];let _0x2ebcde=getLevel(_0x46cc57[_0x594851(0x13a)]),_0x1b89c6=_0x2d9e3a[_0x594851(0x116)]()[_0x594851(0x11e)](_0x2ebcde);_0xa0a62e>_0x1b89c6&&(_0x574733=!![]);}}return _0x574733;}export function getLevel(_0x101bbe){const _0x38f9ec=a72_0xbbac,_0x2c8593=3252.745,_0x518c2b=0.0009198301,_0x5e5dc8=52977.61,_0x1b73b8=-3228.107;return _0x1b73b8+(_0x2c8593-_0x1b73b8)/(0x1+Math[_0x38f9ec(0x115)](_0x101bbe/_0x5e5dc8,_0x518c2b));}export function toRadians(_0x596cec){if(_0x596cec)return-(_0x596cec*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x1d38ca,_0x228f5a,_0x558fbe,_0x255b31){const _0x442616=a72_0xbbac;var _0x5d75ab,_0x2a1ac2,_0x3a1eb4,_0x1e9686,_0x42ba86,_0x13ade5,_0x56bf67,_0x2aa8f0;if(_0x1d38ca){let _0x2f6b38=isShowStyle(_0x1d38ca,_0x558fbe,_0x255b31);if(_0x2f6b38===![])return undefined;else{const _0x27f65=_0x1d38ca[_0x442616(0x132)],_0x4938f2=(_0x27f65===null||_0x27f65===void 0x0?void 0x0:_0x27f65[_0x442616(0x133)])?_0x442616(0x133):_0x442616(0x118),_0x3acca8=(_0x27f65===null||_0x27f65===void 0x0?void 0x0:_0x27f65[_0x442616(0x117)])?_0x442616(0x124):_0x442616(0x118),_0x55c7fa=(_0x27f65===null||_0x27f65===void 0x0?void 0x0:_0x27f65[_0x442616(0x134)])||'25',_0x535578=(_0x27f65===null||_0x27f65===void 0x0?void 0x0:_0x27f65[_0x442616(0x11b)])||'楷体';let _0xe9f90d=_0x4938f2+_0x442616(0x137)+_0x3acca8+'\x20'+_0x55c7fa+_0x442616(0x13e)+_0x535578,_0x349be1=(_0x27f65===null||_0x27f65===void 0x0?void 0x0:_0x27f65['offsetX'])||0x0,_0x5c1ac6=(_0x27f65===null||_0x27f65===void 0x0?void 0x0:_0x27f65[_0x442616(0x131)])||0x0,_0xf951d=(_0x27f65===null||_0x27f65===void 0x0?void 0x0:_0x27f65['textBaseline'])||_0x442616(0x13b),_0x206766=(_0x27f65===null||_0x27f65===void 0x0?void 0x0:_0x27f65[_0x442616(0x125)])||_0x442616(0x123);const _0x58b93d=_0x1d38ca['opacity']||0x1;let _0x2a2580=undefined;return(_0x27f65===null||_0x27f65===void 0x0?void 0x0:_0x27f65['haloColor'])&&(_0x2a2580=_getStroke(_0x27f65[_0x442616(0x121)],_0x27f65['haloOpacity'],_0x27f65[_0x442616(0x135)])),new Text({'overflow':!![],'text':_0x228f5a,'font':_0xe9f90d,'offsetX':_0x349be1,'offsetY':_0x5c1ac6,'textAlign':_0x206766,'textBaseline':_0xf951d,'fill':new Fill({'color':getColor(((_0x5d75ab=_0x1d38ca['font'])===null||_0x5d75ab===void 0x0?void 0x0:_0x5d75ab[_0x442616(0x12f)])||_0x442616(0x136),_0x58b93d)}),'stroke':_0x2a2580,'backgroundFill':((_0x2a1ac2=_0x1d38ca['font'])===null||_0x2a1ac2===void 0x0?void 0x0:_0x2a1ac2[_0x442616(0x12b)])?new Fill({'color':getColor(((_0x3a1eb4=_0x1d38ca[_0x442616(0x132)])===null||_0x3a1eb4===void 0x0?void 0x0:_0x3a1eb4[_0x442616(0x12b)])||_0x442616(0x13c),((_0x1e9686=_0x1d38ca[_0x442616(0x132)])===null||_0x1e9686===void 0x0?void 0x0:_0x1e9686[_0x442616(0x13f)])||0x1)}):undefined,'backgroundStroke':((_0x42ba86=_0x1d38ca[_0x442616(0x132)])===null||_0x42ba86===void 0x0?void 0x0:_0x42ba86[_0x442616(0x127)])?_getStroke((_0x13ade5=_0x1d38ca[_0x442616(0x132)])===null||_0x13ade5===void 0x0?void 0x0:_0x13ade5['borderLineColor'],((_0x56bf67=_0x1d38ca[_0x442616(0x132)])===null||_0x56bf67===void 0x0?void 0x0:_0x56bf67[_0x442616(0x119)])||0x1,((_0x2aa8f0=_0x1d38ca['font'])===null||_0x2aa8f0===void 0x0?void 0x0:_0x2aa8f0['borderLineWidth'])||0x1):undefined});}}else return undefined;}export function getColor(_0xca4c76,_0x55100c){const _0xdd1af0=a72_0xbbac;return a72_0x3fc712(_0xca4c76)[_0xdd1af0(0x11d)](_0x55100c!=undefined?_0x55100c:0x1)[_0xdd1af0(0x12c)]();}function _getStroke(_0x192143,_0x422572,_0x5090d7){return new Stroke({'color':getColor(_0x192143,_0x422572),'width':_0x5090d7==undefined?0x1:_0x5090d7});}export function preLoadImageRenderFunction(_0x3a5b6e,_0x3c26be,_0x1667bc,_0x39b560,_0x5c3637){const _0x164b3f=a72_0xbbac;let _0x463ed7;_0x3a5b6e[_0x164b3f(0x11c)]?_0x463ed7=new a72_0x5c1b15(_0x3a5b6e):_0x463ed7=new Icon({'src':_0x3a5b6e['image']});let _0x13bade=_0x463ed7[_0x164b3f(0x11a)]();_0x13bade===a72_0x2b9d80['LOADED']||_0x13bade===a72_0x2b9d80['ERROR']?_0x5c3637(_0x3a5b6e,_0x3c26be,_0x1667bc,_0x39b560,_0x463ed7[_0x164b3f(0x112)](0x60)):(_0x13bade===a72_0x2b9d80[_0x164b3f(0x12a)]&&_0x463ed7[_0x164b3f(0x128)](),_0x463ed7['listenImageChange'](_0x2bce70=>{const _0x1369ff=_0x164b3f;_0x13bade=_0x2bce70[_0x1369ff(0x126)][_0x1369ff(0x11a)](),(_0x13bade===a72_0x2b9d80['LOADED']||_0x13bade===a72_0x2b9d80[_0x1369ff(0x12d)])&&_0x5c3637(_0x3a5b6e,_0x3c26be,_0x1667bc,_0x39b560,_0x463ed7[_0x1369ff(0x112)](0x60));}));}
@@ -1 +1 @@
1
- (function(_0x202973,_0x59f27b){const _0x25f33c=a77_0x9d45,_0x41cc8f=_0x202973();while(!![]){try{const _0x4b59fb=parseInt(_0x25f33c(0x108))/0x1*(parseInt(_0x25f33c(0x105))/0x2)+-parseInt(_0x25f33c(0x110))/0x3*(-parseInt(_0x25f33c(0x10b))/0x4)+parseInt(_0x25f33c(0x102))/0x5*(-parseInt(_0x25f33c(0x10e))/0x6)+parseInt(_0x25f33c(0x10a))/0x7*(-parseInt(_0x25f33c(0x109))/0x8)+parseInt(_0x25f33c(0x104))/0x9*(-parseInt(_0x25f33c(0x106))/0xa)+-parseInt(_0x25f33c(0x107))/0xb*(parseInt(_0x25f33c(0x100))/0xc)+parseInt(_0x25f33c(0x10d))/0xd;if(_0x4b59fb===_0x59f27b)break;else _0x41cc8f['push'](_0x41cc8f['shift']());}catch(_0x16b424){_0x41cc8f['push'](_0x41cc8f['shift']());}}}(a77_0x3f82,0x3a39b));function a77_0x3f82(){const _0x2bac0f=['isArray','312QVdrnm','length','549015udhffD','object','329031IvGXPc','147282CScaJT','10IpqtrG','173723WVupBx','4uOXzRA','8YfsewK','540617LulpbZ','4yuoyCd','keys','6632535YAwdME','24tQkNQN','every','1192056vYhtPV'];a77_0x3f82=function(){return _0x2bac0f;};return a77_0x3f82();}export function getDeepth(_0x40452e){function _0x40d138(_0x3a2303,_0x280b20){return _0x3a2303['reduce'](function(_0x4a15c8,_0x2e7d7e){const _0x2f84b6=a77_0x9d45;var _0x347561;return Array[_0x2f84b6(0x111)](_0x2e7d7e)&&(_0x347561=_0x40d138(_0x2e7d7e,_0x280b20+0x1)),_0x347561>_0x4a15c8?_0x347561:_0x4a15c8;},_0x280b20);}return _0x40d138(_0x40452e,0x1);}export function compareArray(_0x309771,_0x529b75){const _0x200721=a77_0x9d45;if(_0x309771[_0x200721(0x101)]!==_0x529b75[_0x200721(0x101)])return![];const _0x668428=_0x309771[_0x200721(0x101)];for(let _0x4f74e4=0x0;_0x4f74e4<_0x668428;_0x4f74e4++){if(!compare(_0x309771[_0x4f74e4],_0x529b75[_0x4f74e4]))return![];}return!![];}export function compare(_0x9e2049,_0x16e274){const _0x3fb122=a77_0x9d45;if(_0x9e2049===_0x16e274)return!![];if(typeof _0x9e2049!==typeof _0x16e274||_0x9e2049===null||_0x16e274===null)return![];if(Array['isArray'](_0x9e2049)){if(!Array['isArray'](_0x16e274))return![];return compareArray(_0x9e2049,_0x16e274);}if(typeof _0x9e2049===_0x3fb122(0x103))return compareObject(_0x9e2049,_0x16e274);return![];}function a77_0x9d45(_0x2bb0a3,_0x3b1767){const _0x3f8241=a77_0x3f82();return a77_0x9d45=function(_0x9d45d1,_0x5c2ebd){_0x9d45d1=_0x9d45d1-0x100;let _0x43d861=_0x3f8241[_0x9d45d1];return _0x43d861;},a77_0x9d45(_0x2bb0a3,_0x3b1767);}export function compareObject(_0x13e61e,_0xbf2ea8){const _0x39ebf2=a77_0x9d45,_0x3b37eb=Object[_0x39ebf2(0x10c)](_0x13e61e),_0x174350=Object[_0x39ebf2(0x10c)](_0xbf2ea8);if(_0x3b37eb[_0x39ebf2(0x101)]!==_0x174350[_0x39ebf2(0x101)])return![];return _0x3b37eb[_0x39ebf2(0x10f)](_0x115d98=>{if(!compare(_0x13e61e[_0x115d98],_0xbf2ea8[_0x115d98]))return![];return!![];});}
1
+ (function(_0x282442,_0x1f4b6d){const _0x2ebd24=a77_0x179a,_0x2b499c=_0x282442();while(!![]){try{const _0x21d260=-parseInt(_0x2ebd24(0xcb))/0x1*(parseInt(_0x2ebd24(0xd5))/0x2)+parseInt(_0x2ebd24(0xd4))/0x3*(parseInt(_0x2ebd24(0xcd))/0x4)+-parseInt(_0x2ebd24(0xcc))/0x5*(-parseInt(_0x2ebd24(0xcf))/0x6)+parseInt(_0x2ebd24(0xc8))/0x7+parseInt(_0x2ebd24(0xd0))/0x8*(-parseInt(_0x2ebd24(0xc6))/0x9)+-parseInt(_0x2ebd24(0xc9))/0xa+-parseInt(_0x2ebd24(0xca))/0xb*(-parseInt(_0x2ebd24(0xc7))/0xc);if(_0x21d260===_0x1f4b6d)break;else _0x2b499c['push'](_0x2b499c['shift']());}catch(_0x24e572){_0x2b499c['push'](_0x2b499c['shift']());}}}(a77_0x1b97,0xe0237));function a77_0x1b97(){const _0x80450a=['every','153hhVFsz','1203132inPQqB','12372675zKLDWZ','16937870CMKKpo','22xCpkOW','7QxugqB','875RBMrTt','62404Hcoibk','object','56058cjkYDe','177224RUaemo','isArray','length','keys','156YYNIYv','407390uSKAIu'];a77_0x1b97=function(){return _0x80450a;};return a77_0x1b97();}export function getDeepth(_0x160bb4){function _0x491ca5(_0x602421,_0x212928){return _0x602421['reduce'](function(_0x24186b,_0x3c1b1d){const _0x17b853=a77_0x179a;var _0x3dedc5;return Array[_0x17b853(0xd1)](_0x3c1b1d)&&(_0x3dedc5=_0x491ca5(_0x3c1b1d,_0x212928+0x1)),_0x3dedc5>_0x24186b?_0x3dedc5:_0x24186b;},_0x212928);}return _0x491ca5(_0x160bb4,0x1);}export function compareArray(_0x53ca52,_0x573673){const _0x38e315=a77_0x179a;if(_0x53ca52[_0x38e315(0xd2)]!==_0x573673[_0x38e315(0xd2)])return![];const _0x26eba5=_0x53ca52[_0x38e315(0xd2)];for(let _0x46d422=0x0;_0x46d422<_0x26eba5;_0x46d422++){if(!compare(_0x53ca52[_0x46d422],_0x573673[_0x46d422]))return![];}return!![];}function a77_0x179a(_0x3015d6,_0xe7a21a){const _0x1b9735=a77_0x1b97();return a77_0x179a=function(_0x179a1f,_0x15f320){_0x179a1f=_0x179a1f-0xc6;let _0x2da1b5=_0x1b9735[_0x179a1f];return _0x2da1b5;},a77_0x179a(_0x3015d6,_0xe7a21a);}export function compare(_0x3292e9,_0x2abd6c){const _0x44e942=a77_0x179a;if(_0x3292e9===_0x2abd6c)return!![];if(typeof _0x3292e9!==typeof _0x2abd6c||_0x3292e9===null||_0x2abd6c===null)return![];if(Array['isArray'](_0x3292e9)){if(!Array[_0x44e942(0xd1)](_0x2abd6c))return![];return compareArray(_0x3292e9,_0x2abd6c);}if(typeof _0x3292e9===_0x44e942(0xce))return compareObject(_0x3292e9,_0x2abd6c);return![];}export function compareObject(_0xb9529b,_0x29e7e2){const _0x543c0e=a77_0x179a,_0x33d23c=Object[_0x543c0e(0xd3)](_0xb9529b),_0x49a126=Object[_0x543c0e(0xd3)](_0x29e7e2);if(_0x33d23c['length']!==_0x49a126[_0x543c0e(0xd2)])return![];return _0x33d23c[_0x543c0e(0xd6)](_0x23d0ed=>{if(!compare(_0xb9529b[_0x23d0ed],_0x29e7e2[_0x23d0ed]))return![];return!![];});}
@@ -1 +1 @@
1
- const a78_0x5b327c=a78_0x30b2;(function(_0x4a5540,_0x5b28ab){const _0x26e0fe=a78_0x30b2,_0x2873e1=_0x4a5540();while(!![]){try{const _0x3d0dd2=-parseInt(_0x26e0fe(0x89))/0x1+-parseInt(_0x26e0fe(0x82))/0x2+-parseInt(_0x26e0fe(0x8b))/0x3*(-parseInt(_0x26e0fe(0x7f))/0x4)+parseInt(_0x26e0fe(0x8c))/0x5+parseInt(_0x26e0fe(0x84))/0x6+parseInt(_0x26e0fe(0x8a))/0x7+parseInt(_0x26e0fe(0x88))/0x8*(-parseInt(_0x26e0fe(0x86))/0x9);if(_0x3d0dd2===_0x5b28ab)break;else _0x2873e1['push'](_0x2873e1['shift']());}catch(_0x3cefdd){_0x2873e1['push'](_0x2873e1['shift']());}}}(a78_0x533f,0xa8aa9));import a78_0x4a355a from'axios';function a78_0x533f(){const _0x46e2dc=['1475944VTEZWT','1322525XfuqBP','7282499XQJPGe','110211znizrC','3468645WQxgtU','create','48LxoJNd','jsonp','append','1277378dAUcFE','ajax','5076762OQZDxx','forEach','18kUGzXz','constructor'];a78_0x533f=function(){return _0x46e2dc;};return a78_0x533f();}import a78_0x16dd80 from'jquery';function a78_0x30b2(_0x183faa,_0x34c008){const _0x533fe1=a78_0x533f();return a78_0x30b2=function(_0x30b25f,_0x4bca5c){_0x30b25f=_0x30b25f-0x7e;let _0x14b6b9=_0x533fe1[_0x30b25f];return _0x14b6b9;},a78_0x30b2(_0x183faa,_0x34c008);}const request=a78_0x4a355a[a78_0x5b327c(0x7e)]({'timeout':0xb4*0x3e8});export function jsonp(_0x1788fa){return new Promise((_0x4edc3d,_0x56e963)=>{const _0x41296d=a78_0x30b2;a78_0x16dd80[_0x41296d(0x83)]({'url':_0x1788fa,'type':'get','dataType':_0x41296d(0x80),'success':_0x2dc850=>{_0x4edc3d(_0x2dc850);},'error':_0x3369d5=>{_0x56e963(_0x3369d5);}});});}export function stringify(_0x2ad0d7){const _0x2d9f6c=a78_0x5b327c,_0x3eae02=new FormData();for(const _0x581e9d in _0x2ad0d7){if(_0x2ad0d7['hasOwnProperty'](_0x581e9d)){if(_0x2ad0d7[_0x581e9d]){if(_0x2ad0d7[_0x581e9d][_0x2d9f6c(0x87)]===Array)_0x2ad0d7[_0x581e9d][0x0]?_0x2ad0d7[_0x581e9d][0x0][_0x2d9f6c(0x87)]===Object?_0x3eae02[_0x2d9f6c(0x81)](_0x581e9d,JSON['stringify'](_0x2ad0d7[_0x581e9d])):_0x2ad0d7[_0x581e9d][_0x2d9f6c(0x85)]((_0x21e1ae,_0x1c7423)=>{const _0xa96e8d=_0x2d9f6c;_0x3eae02[_0xa96e8d(0x81)](_0x581e9d+('['+_0x1c7423+']'),_0x21e1ae);}):_0x3eae02[_0x2d9f6c(0x81)](_0x581e9d+'[]','');else _0x2ad0d7[_0x581e9d][_0x2d9f6c(0x87)]===Object?_0x3eae02[_0x2d9f6c(0x81)](_0x581e9d,JSON['stringify'](_0x2ad0d7[_0x581e9d])):_0x3eae02[_0x2d9f6c(0x81)](_0x581e9d,_0x2ad0d7[_0x581e9d]);}else _0x2ad0d7[_0x581e9d]===0x0?_0x3eae02[_0x2d9f6c(0x81)](_0x581e9d,'0'):_0x3eae02['append'](_0x581e9d,'');}}return _0x3eae02;}export default request;
1
+ const a78_0x20eb89=a78_0x3f8b;(function(_0x3313a5,_0x264b9d){const _0x3c2125=a78_0x3f8b,_0x1c74c4=_0x3313a5();while(!![]){try{const _0x55f1c5=parseInt(_0x3c2125(0x1ad))/0x1*(parseInt(_0x3c2125(0x1b7))/0x2)+-parseInt(_0x3c2125(0x1b3))/0x3+parseInt(_0x3c2125(0x1af))/0x4+-parseInt(_0x3c2125(0x1bb))/0x5*(parseInt(_0x3c2125(0x1bd))/0x6)+parseInt(_0x3c2125(0x1bf))/0x7*(parseInt(_0x3c2125(0x1be))/0x8)+-parseInt(_0x3c2125(0x1b8))/0x9*(-parseInt(_0x3c2125(0x1b6))/0xa)+-parseInt(_0x3c2125(0x1b2))/0xb;if(_0x55f1c5===_0x264b9d)break;else _0x1c74c4['push'](_0x1c74c4['shift']());}catch(_0x16d627){_0x1c74c4['push'](_0x1c74c4['shift']());}}}(a78_0x4dac,0x6ef02));import a78_0x479773 from'axios';import a78_0x379d8c from'jquery';const request=a78_0x479773[a78_0x20eb89(0x1ae)]({'timeout':0xb4*0x3e8});function a78_0x3f8b(_0x11f02e,_0x4371b3){const _0x4dac9b=a78_0x4dac();return a78_0x3f8b=function(_0x3f8b7c,_0x1be596){_0x3f8b7c=_0x3f8b7c-0x1ad;let _0x3da2b6=_0x4dac9b[_0x3f8b7c];return _0x3da2b6;},a78_0x3f8b(_0x11f02e,_0x4371b3);}function a78_0x4dac(){const _0x12e5b9=['4WRiCEV','1656aiHkxm','forEach','ajax','285JSGIcD','jsonp','77928jUjyVN','305896COmuwg','63vpFnVH','get','251941mcJPpK','create','1897972cYpacY','hasOwnProperty','append','5168713OWpMZy','1404177mIFNzL','stringify','constructor','44030LQKmJo'];a78_0x4dac=function(){return _0x12e5b9;};return a78_0x4dac();}export function jsonp(_0x2c842a){return new Promise((_0x3b101c,_0x254907)=>{const _0x2f7956=a78_0x3f8b;a78_0x379d8c[_0x2f7956(0x1ba)]({'url':_0x2c842a,'type':_0x2f7956(0x1c0),'dataType':_0x2f7956(0x1bc),'success':_0x37ab6c=>{_0x3b101c(_0x37ab6c);},'error':_0x5d06a9=>{_0x254907(_0x5d06a9);}});});}export function stringify(_0x540b30){const _0x2eaeee=a78_0x20eb89,_0x5776d3=new FormData();for(const _0x21a4d8 in _0x540b30){if(_0x540b30[_0x2eaeee(0x1b0)](_0x21a4d8)){if(_0x540b30[_0x21a4d8]){if(_0x540b30[_0x21a4d8][_0x2eaeee(0x1b5)]===Array)_0x540b30[_0x21a4d8][0x0]?_0x540b30[_0x21a4d8][0x0][_0x2eaeee(0x1b5)]===Object?_0x5776d3['append'](_0x21a4d8,JSON[_0x2eaeee(0x1b4)](_0x540b30[_0x21a4d8])):_0x540b30[_0x21a4d8][_0x2eaeee(0x1b9)]((_0x8632c5,_0x55777c)=>{const _0x2113ca=_0x2eaeee;_0x5776d3[_0x2113ca(0x1b1)](_0x21a4d8+('['+_0x55777c+']'),_0x8632c5);}):_0x5776d3[_0x2eaeee(0x1b1)](_0x21a4d8+'[]','');else _0x540b30[_0x21a4d8]['constructor']===Object?_0x5776d3[_0x2eaeee(0x1b1)](_0x21a4d8,JSON[_0x2eaeee(0x1b4)](_0x540b30[_0x21a4d8])):_0x5776d3[_0x2eaeee(0x1b1)](_0x21a4d8,_0x540b30[_0x21a4d8]);}else _0x540b30[_0x21a4d8]===0x0?_0x5776d3['append'](_0x21a4d8,'0'):_0x5776d3[_0x2eaeee(0x1b1)](_0x21a4d8,'');}}return _0x5776d3;}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- (function(_0x53d879,_0x2f71c0){const _0x5fad9=a79_0x2ec5,_0x121bb9=_0x53d879();while(!![]){try{const _0x24b356=-parseInt(_0x5fad9(0x148))/0x1*(-parseInt(_0x5fad9(0x142))/0x2)+-parseInt(_0x5fad9(0x143))/0x3*(parseInt(_0x5fad9(0x149))/0x4)+-parseInt(_0x5fad9(0x145))/0x5+-parseInt(_0x5fad9(0x147))/0x6+parseInt(_0x5fad9(0x14a))/0x7*(-parseInt(_0x5fad9(0x146))/0x8)+parseInt(_0x5fad9(0x141))/0x9*(parseInt(_0x5fad9(0x14d))/0xa)+parseInt(_0x5fad9(0x14b))/0xb*(parseInt(_0x5fad9(0x14c))/0xc);if(_0x24b356===_0x2f71c0)break;else _0x121bb9['push'](_0x121bb9['shift']());}catch(_0x444dc9){_0x121bb9['push'](_0x121bb9['shift']());}}}(a79_0x13a7,0x4500f));export function getEsriSpatialReference(_0x1d3f1e){const _0x506fa6=a79_0x2ec5;let _0x2f279a;if(_0x1d3f1e){let _0x3a5d69=_0x1d3f1e[_0x506fa6(0x13f)]();_0x3a5d69[_0x506fa6(0x14e)](_0x506fa6(0x140))===0x0?_0x2f279a=_0x1d3f1e[_0x506fa6(0x144)]('EPSG:',''):_0x2f279a=_0x1d3f1e;}return _0x2f279a;}function a79_0x2ec5(_0x18061d,_0x3034db){const _0x13a767=a79_0x13a7();return a79_0x2ec5=function(_0x2ec59e,_0x39c0dc){_0x2ec59e=_0x2ec59e-0x13f;let _0x349657=_0x13a767[_0x2ec59e];return _0x349657;},a79_0x2ec5(_0x18061d,_0x3034db);}function a79_0x13a7(){const _0x3b251d=['233460TZmLQF','8RfTNBV','1876854ItMKvq','1jxKKWV','4dkafBu','1981413fIssdr','451QNBlst','286164oGSvOq','269060ddWFlV','indexOf','toUpperCase','EPSG:','18bgLUig','418762KbyLnT','947163OgMjVO','replace'];a79_0x13a7=function(){return _0x3b251d;};return a79_0x13a7();}
1
+ function a79_0x4d6c(_0x51d7e8,_0x40e2aa){const _0x272e4c=a79_0x272e();return a79_0x4d6c=function(_0x4d6cb3,_0x4edaf0){_0x4d6cb3=_0x4d6cb3-0x1c7;let _0x40158f=_0x272e4c[_0x4d6cb3];return _0x40158f;},a79_0x4d6c(_0x51d7e8,_0x40e2aa);}(function(_0x20cb01,_0x6de436){const _0x20d21a=a79_0x4d6c,_0x10063c=_0x20cb01();while(!![]){try{const _0x4db31f=parseInt(_0x20d21a(0x1d0))/0x1*(-parseInt(_0x20d21a(0x1cc))/0x2)+-parseInt(_0x20d21a(0x1c8))/0x3*(parseInt(_0x20d21a(0x1ce))/0x4)+parseInt(_0x20d21a(0x1d3))/0x5*(parseInt(_0x20d21a(0x1c9))/0x6)+-parseInt(_0x20d21a(0x1ca))/0x7+-parseInt(_0x20d21a(0x1c7))/0x8+parseInt(_0x20d21a(0x1d2))/0x9+-parseInt(_0x20d21a(0x1cf))/0xa*(-parseInt(_0x20d21a(0x1d4))/0xb);if(_0x4db31f===_0x6de436)break;else _0x10063c['push'](_0x10063c['shift']());}catch(_0x436cb3){_0x10063c['push'](_0x10063c['shift']());}}}(a79_0x272e,0xcb423));export function getEsriSpatialReference(_0x1912cb){const _0x2dbe5a=a79_0x4d6c;let _0x50a9e;if(_0x1912cb){let _0x3d6f16=_0x1912cb[_0x2dbe5a(0x1cb)]();_0x3d6f16[_0x2dbe5a(0x1d5)](_0x2dbe5a(0x1d1))===0x0?_0x50a9e=_0x1912cb[_0x2dbe5a(0x1cd)](_0x2dbe5a(0x1d1),''):_0x50a9e=_0x1912cb;}return _0x50a9e;}function a79_0x272e(){const _0x48b286=['toUpperCase','810sWCqQf','replace','4QYIumB','4259870NRqelw','1425ZnrxdX','EPSG:','9765504PFlwhX','6795190murEau','22AvEUNY','indexOf','10639696nrJCJK','1584165enNirx','6EXKzcn','198653pcooMA'];a79_0x272e=function(){return _0x48b286;};return a79_0x272e();}
@@ -1 +1 @@
1
- const a82_0xafb8ea=a82_0x2dc9;(function(_0x1aad40,_0x531402){const _0x1679f2=a82_0x2dc9,_0x1583a2=_0x1aad40();while(!![]){try{const _0x522a89=parseInt(_0x1679f2(0xbe))/0x1+parseInt(_0x1679f2(0xbb))/0x2*(-parseInt(_0x1679f2(0xdf))/0x3)+-parseInt(_0x1679f2(0xc6))/0x4+parseInt(_0x1679f2(0xce))/0x5+-parseInt(_0x1679f2(0xda))/0x6+-parseInt(_0x1679f2(0xe6))/0x7*(parseInt(_0x1679f2(0xc4))/0x8)+parseInt(_0x1679f2(0xc7))/0x9;if(_0x522a89===_0x531402)break;else _0x1583a2['push'](_0x1583a2['shift']());}catch(_0x23b474){_0x1583a2['push'](_0x1583a2['shift']());}}}(a82_0x37f9,0xe736e));import a82_0xe9f494 from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a82_0x47a3a4}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a82_0x23a7e6,getArea as a82_0x12460f}from'ol/sphere';import a82_0x113a6b from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a82_0x4a7d69 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a82_0xeeb36 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a82_0x28dd97 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a82_0x5e306c from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a82_0x5d03b0 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a82_0x285323 from'ol/format/GeoJSON';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a82_0x190941 from'ol/format/WKT';import a82_0x1052ca from'ol/format/EsriJSON';const _parser=new a82_0x28dd97(undefined,undefined);_parser[a82_0xafb8ea(0xc1)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x266f19,_0x4762a9,_0x178f1d=![]){const _0x1d8edc=a82_0xafb8ea;if(!_0x266f19)return 0x0;if(typeof _0x4762a9=='string'){let _0x57c90c=registerProj(_0x4762a9);if(_0x57c90c==null)return console[_0x1d8edc(0xca)](_0x1d8edc(0xbc)),0x0;_0x4762a9=_0x57c90c;}const _0xb5c6f1=isSpheroid(_0x4762a9);if(_0x178f1d)return a82_0x12460f(_0x266f19,{'projection':_0x4762a9});else{if(_0xb5c6f1){const _0x1605f3=getGeoProjection(_0x266f19,_0x4762a9);return _0x266f19[_0x1d8edc(0xd7)]()['transform'](_0x4762a9,_0x1605f3)[_0x1d8edc(0xc5)]();}return _0x266f19[_0x1d8edc(0xc5)]();}}export function getLength(_0xc15399,_0x524c6f,_0x21f563=![]){const _0x465760=a82_0xafb8ea;if(!_0xc15399)return 0x0;if(typeof _0x524c6f==_0x465760(0xc9)){let _0x4e712d=registerProj(_0x524c6f);if(_0x4e712d==null)return console[_0x465760(0xca)](_0x465760(0xbc)),0x0;_0x524c6f=_0x4e712d;}const _0xdd7a7b=isSpheroid(_0x524c6f);if(_0x21f563)return a82_0x23a7e6(_0xc15399,{'projection':_0x524c6f});else{let _0x1f20e2=_0xc15399;if(_0xdd7a7b){const _0x4dc1aa=getGeoProjection(_0xc15399,_0x524c6f);_0x1f20e2=_0xc15399[_0x465760(0xd7)]()[_0x465760(0xd2)](_0x524c6f,_0x4dc1aa);}if(_0x1f20e2 instanceof LineString)return _0x1f20e2['getLength']();else{let _0x4ef886=0x0;for(let _0x198cb8=0x0;_0x198cb8<_0x1f20e2[_0x465760(0xc2)]()[_0x465760(0xdd)];_0x198cb8++){_0x4ef886+=_0x1f20e2[_0x465760(0xc2)]()[_0x198cb8][_0x465760(0xb9)]();}return _0x4ef886;}}}export function bufferOp(_0x1463ee,_0x25ad9f){const _0x483a84=a82_0xafb8ea,_0x3b604e=_parser['read'](_0x1463ee),_0x5f5afc=a82_0x113a6b[_0x483a84(0xd6)](_0x3b604e,_0x25ad9f);return _parser['write'](_0x5f5afc);}export function bufferPixel(_0x123639,_0x4d36eb,_0x1da3c6){const _0x574bcf=a82_0xafb8ea,_0x215b3d=_0x1da3c6[_0x574bcf(0xd5)](_0x123639[_0x574bcf(0xd0)]()),_0x2e4e21=_0x1da3c6['getCoordinateFromPixel']([_0x215b3d[0x0]+_0x4d36eb,_0x215b3d[0x1]]),_0x88c99d=a82_0x47a3a4(_0x123639[_0x574bcf(0xd0)](),_0x2e4e21),_0x59e972=bufferOp(_0x123639,_0x88c99d);return _0x59e972;}export function contains(_0xb5d370,_0x5724b9){const _0x27c4e9=a82_0xafb8ea,_0x24213c=_parser[_0x27c4e9(0xe4)](_0xb5d370),_0x35bc90=_parser[_0x27c4e9(0xe4)](_0x5724b9);return a82_0x4a7d69[_0x27c4e9(0xe5)](_0x24213c,_0x35bc90);}export function crosses(_0x3e5b6b,_0x34497d){const _0x56f3b8=a82_0xafb8ea,_0x338970=_parser[_0x56f3b8(0xe4)](_0x3e5b6b),_0x9dc7e5=_parser[_0x56f3b8(0xe4)](_0x34497d);return a82_0x4a7d69['crosses'](_0x338970,_0x9dc7e5);}export function intersects(_0x37acd2,_0x1be119){const _0x3e1791=a82_0xafb8ea,_0x1ed73d=_parser['read'](_0x37acd2),_0x2c7200=_parser[_0x3e1791(0xe4)](_0x1be119);return a82_0x4a7d69[_0x3e1791(0xba)](_0x1ed73d,_0x2c7200);}export function intersection(_0x493233,_0x2fcea2){const _0x4c1127=a82_0xafb8ea,_0x33969b=_parser[_0x4c1127(0xe4)](_0x493233),_0x598f50=_parser[_0x4c1127(0xe4)](_0x2fcea2);return _parser[_0x4c1127(0xc8)](a82_0xeeb36[_0x4c1127(0xcf)](_0x33969b,_0x598f50));}export function union(_0x40aff2,_0x6f3033){const _0x1da682=a82_0xafb8ea,_0x2cda4a=_parser[_0x1da682(0xe4)](_0x40aff2),_0x525c50=_parser[_0x1da682(0xe4)](_0x6f3033);return _parser[_0x1da682(0xc8)](a82_0xeeb36[_0x1da682(0xb8)](_0x2cda4a,_0x525c50));}export function difference(_0x3418ed,_0x3d94f4){const _0x17931f=a82_0xafb8ea,_0x26240c=_parser[_0x17931f(0xe4)](_0x3418ed),_0x20d5f4=_parser['read'](_0x3d94f4);return _parser[_0x17931f(0xc8)](a82_0xeeb36[_0x17931f(0xd9)](_0x26240c,_0x20d5f4));}export function distance(_0x5b7fd1,_0x4c9443){const _0x7ae235=a82_0xafb8ea,_0x32b585=_parser[_0x7ae235(0xe4)](_0x5b7fd1),_0x349070=_parser[_0x7ae235(0xe4)](_0x4c9443);return _parser[_0x7ae235(0xc8)](a82_0x5d03b0[_0x7ae235(0xd1)](_0x32b585,_0x349070));}export function jstlSplit(_0x3649d9,_0x372246){const _0x448df1=a82_0xafb8ea,_0x120af9=_parser['read'](_0x3649d9),_0x49b972=_parser[_0x448df1(0xe4)](_0x372246),_0x227df9=_0x120af9[_0x448df1(0xc0)]();let _0x4c0025=[];function _0xb2f455(_0x578d6f,_0x431456){const _0x46abfd=_0x448df1;let _0xb64d77=_0x578d6f[_0x46abfd(0xde)],_0x2a73d8=_0x578d6f[_0x46abfd(0xcb)]()[_0x46abfd(0xb8)](_0x431456),_0x4b2e1a=new a82_0x5e306c();_0x4b2e1a['add'](_0x2a73d8);let _0x59516b=_0x4b2e1a['getPolygons']();_0x59516b[_0x46abfd(0xcd)]['length']==0x2&&_0x59516b[_0x46abfd(0xcd)][_0x46abfd(0xe3)](_0xcdc838=>{const _0x102c7b=_0x46abfd;_0xb64d77[_0x102c7b(0xe3)](_0x1da59c=>{const _0x153076=_0x102c7b;let _0x4e28ec=[];for(let _0x5e24aa in _0x1da59c['getCoordinates']()){_0x4e28ec[_0x153076(0xcc)]([_0x1da59c[_0x153076(0xd0)]()[_0x5e24aa]['x'],_0x1da59c[_0x153076(0xd0)]()[_0x5e24aa]['y']]);}_0x1da59c=_parser[_0x153076(0xe4)]({'coordinates':[_0x4e28ec],'type':'Polygon'}),_0xcdc838=_0xcdc838['difference'](_0x1da59c);}),_0x4c0025[_0x102c7b(0xcc)](_parser[_0x102c7b(0xc8)](_0xcdc838));});}if(_0x227df9===_0x448df1(0xe1))_0xb2f455(_0x120af9,_0x49b972);else{if(_0x227df9===_0x448df1(0xdc))_0x120af9[_0x448df1(0xd4)][_0x448df1(0xe3)]((_0x4361ac,_0x3b6018)=>{_0xb2f455(_0x4361ac,_0x49b972);});else throw new Error(_0x448df1(0xdb));}return _0x4c0025;}export function fromWKT(_0x4a3d4f,_0x4850de,_0x44e91b){const _0x20ac0e=new a82_0x190941();_0x4850de&&registerProj(_0x4850de);_0x44e91b&&registerProj(_0x44e91b);const _0x561130=_0x20ac0e['readGeometry'](_0x4a3d4f);if(isGeometryEmpty(_0x561130))return null;return _0x4850de&&_0x44e91b?_0x561130['transform'](new a82_0xe9f494({'code':_0x4850de}),new a82_0xe9f494({'code':_0x44e91b})):_0x561130;}function a82_0x2dc9(_0x314e22,_0x3f4397){const _0x37f918=a82_0x37f9();return a82_0x2dc9=function(_0x2dc9ed,_0x2a53d3){_0x2dc9ed=_0x2dc9ed-0xb8;let _0x37e295=_0x37f918[_0x2dc9ed];return _0x37e295;},a82_0x2dc9(_0x314e22,_0x3f4397);}export function fromWKTs(_0x2f9ff0,_0x73c0d1,_0x29b806){const _0x54fcf9=a82_0xafb8ea,_0x34c606=new a82_0x190941();let _0x42f1dd=[];_0x73c0d1&&registerProj(_0x73c0d1);_0x29b806&&registerProj(_0x29b806);let _0x3cac95,_0x4ddf29;_0x73c0d1&&_0x29b806&&(_0x3cac95=new a82_0xe9f494({'code':_0x73c0d1}),_0x4ddf29=new a82_0xe9f494({'code':_0x29b806}));for(let _0xa7332=0x0;_0xa7332<_0x2f9ff0['length'];_0xa7332++){const _0x43805a=_0x34c606[_0x54fcf9(0xbd)](_0x2f9ff0[_0xa7332]);if(isGeometryEmpty(_0x43805a))continue;_0x3cac95&&_0x4ddf29?_0x42f1dd[_0x54fcf9(0xcc)](_0x43805a['transform'](_0x3cac95,_0x4ddf29)):_0x42f1dd[_0x54fcf9(0xcc)](_0x43805a);}return _0x42f1dd;}export function toWKT(_0x1daec6){const _0xecc4cf=a82_0xafb8ea,_0x5d8214=new a82_0x190941();if(isGeometryEmpty(_0x1daec6))return'';if(_0x1daec6 instanceof Circle){const _0x1809f4=fromCircle(_0x1daec6);return _0x5d8214[_0xecc4cf(0xe2)](_0x1809f4);}else return _0x5d8214[_0xecc4cf(0xe2)](_0x1daec6);}function a82_0x37f9(){const _0x2cdec6=['3764070GLzEKI','intersection','getCoordinates','distance','transform','Point','_geometries','getPixelFromCoordinate','bufferOp','clone','map','difference','1313586EGhyVK','无法识别的数据类型','MultiPolygon','length','_holes','3318033XhyMSA','getType','Polygon','writeGeometry','forEach','read','contains','2954huDzzH','union','getLength','intersects','2gUewqL','未找到投影信息','readGeometry','1818492rSQxIC','some','getGeometryType','inject','getLineStrings','getExtent','9056HxztPP','getArea','6374452StbGXk','15948063lyCprc','write','string','error','getExteriorRing','push','array'];a82_0x37f9=function(){return _0x2cdec6;};return a82_0x37f9();}export function toGeoJSON(_0x3dfa76){const _0x23f7b8=new a82_0x285323();return _0x23f7b8['writeGeometry'](_0x3dfa76);}export function fromGeoJSON(_0x39d2b3){const _0x26a436=a82_0xafb8ea,_0x51f4a2=new a82_0x285323();return _0x51f4a2[_0x26a436(0xbd)](_0x39d2b3);}export function toEsriJSON(_0x11a9e5){const _0x4fc5f4=a82_0xafb8ea,_0x38feab=new a82_0x1052ca();return _0x38feab[_0x4fc5f4(0xe2)](_0x11a9e5);}export function fromEsriJSON(_0x56832d){const _0x49cb6a=new a82_0x1052ca();return _0x49cb6a['readGeometry'](_0x56832d);}export function expandExtent(_0x120e92,_0x563e03){const _0x420da4=_0x120e92[0x0],_0x51dfe8=_0x120e92[0x1],_0x1b2761=_0x120e92[0x2],_0x2fd7d7=_0x120e92[0x3],_0x492c0d=(_0x420da4+_0x1b2761)/0x2,_0x1e068e=(_0x51dfe8+_0x2fd7d7)/0x2,_0x21e099=_0x1b2761-_0x420da4,_0x3f9bd0=_0x2fd7d7-_0x51dfe8,_0x1d86b2=_0x21e099*_0x563e03,_0x2ff285=_0x3f9bd0*_0x563e03,_0x4dcdb1=_0x492c0d-_0x1d86b2/0x2,_0x1a0041=_0x492c0d+_0x1d86b2/0x2,_0x40d9a7=_0x1e068e-_0x2ff285/0x2,_0x29c236=_0x1e068e+_0x2ff285/0x2;return[_0x4dcdb1,_0x40d9a7,_0x1a0041,_0x29c236];}export function isGeometryEmpty(_0xccac9a){const _0x243f1b=a82_0xafb8ea;if(!_0xccac9a)return!![];if(_0xccac9a instanceof Point||_0xccac9a instanceof MultiPoint){const _0x352bb6=_0xccac9a['getCoordinates']();return!_0x352bb6||_0x352bb6[_0x243f1b(0xbf)](_0x2d9de1=>isNaN(_0x2d9de1));}else{if(_0xccac9a instanceof LineString||_0xccac9a instanceof MultiLineString)return _0xccac9a[_0x243f1b(0xd0)]()[_0x243f1b(0xdd)]<0x2;else{if(_0xccac9a instanceof Polygon){const _0x4743a3=_0xccac9a[_0x243f1b(0xd0)]();return!_0x4743a3||_0x4743a3[_0x243f1b(0xdd)]===0x0||_0x4743a3[0x0]['length']<0x4;}else{if(_0xccac9a instanceof MultiPolygon){const _0x4b6a8f=_0xccac9a['getCoordinates']();return!_0x4b6a8f||_0x4b6a8f['length']===0x0||_0x4b6a8f[0x0][0x0][_0x243f1b(0xdd)]<0x4;}}}}return![];}export function polygonToLines(_0x43f3a6){const _0x4715b8=a82_0xafb8ea;if(!_0x43f3a6)return[];const _0x6c47be=_0x43f3a6['getLinearRings']();return _0x6c47be[_0x4715b8(0xd8)](_0x597529=>new LineString(_0x597529[_0x4715b8(0xd0)]()));}export function getGeometryCenter(_0x4f6c74){const _0x5e084b=a82_0xafb8ea;if(!_0x4f6c74)return undefined;const _0x308c37=_0x4f6c74[_0x5e084b(0xe0)]();if(_0x308c37===_0x5e084b(0xd3))return new Point(_0x4f6c74[_0x5e084b(0xd0)]());if(_0x308c37===_0x5e084b(0xe1)||_0x308c37===_0x5e084b(0xdc))return _0x4f6c74['getInteriorPoint']();const _0x1a5727=getCenter(_0x4f6c74[_0x5e084b(0xc3)]());return new Point(_0x1a5727);}
1
+ (function(_0x97f2f0,_0x5650db){const _0x48ef8b=a82_0x3234,_0x317468=_0x97f2f0();while(!![]){try{const _0x508d91=parseInt(_0x48ef8b(0x16e))/0x1+parseInt(_0x48ef8b(0x177))/0x2*(parseInt(_0x48ef8b(0x16a))/0x3)+parseInt(_0x48ef8b(0x158))/0x4*(-parseInt(_0x48ef8b(0x151))/0x5)+parseInt(_0x48ef8b(0x170))/0x6+parseInt(_0x48ef8b(0x159))/0x7*(-parseInt(_0x48ef8b(0x157))/0x8)+-parseInt(_0x48ef8b(0x156))/0x9+parseInt(_0x48ef8b(0x15d))/0xa;if(_0x508d91===_0x5650db)break;else _0x317468['push'](_0x317468['shift']());}catch(_0x3c30ac){_0x317468['push'](_0x317468['shift']());}}}(a82_0xee3b,0x46eb2));import a82_0x1a003d from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a82_0x1ee586}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a82_0x5da585,getArea as a82_0x2e1ac9}from'ol/sphere';import a82_0x4f8cd8 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';function a82_0xee3b(){const _0x4b073a=['getCoordinateFromPixel','591546QLaWuJ','getArea','getGeometryType','read','writeGeometry','clone','length','382918XUOmDa','some','Point','error','forEach','bufferOp','string','getType','未找到投影信息','5IgMECI','difference','getLinearRings','MultiPolygon','Polygon','3876282GXlDTA','472AVDmwx','2233016RYFScl','68173ribgOV','union','getLength','crosses','15483500dBUIVf','write','getLineStrings','contains','array','getCoordinates','无法识别的数据类型','add','_geometries','_holes','getPolygons','push','getPixelFromCoordinate','3sTtFee','map','transform','readGeometry','15635etbTsu'];a82_0xee3b=function(){return _0x4b073a;};return a82_0xee3b();}import a82_0x54ad14 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a82_0x5f33ff from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a82_0x23ccfb from'jsts/org/locationtech/jts/io/OL3Parser.js';import a82_0x4f1227 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a82_0x5270c1 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a82_0x5262ae from'ol/format/GeoJSON';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a82_0x3738dd from'ol/format/WKT';import a82_0x2395d7 from'ol/format/EsriJSON';const _parser=new a82_0x23ccfb(undefined,undefined);_parser['inject'](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x1aea6a,_0x145a04,_0xed7972=![]){const _0x3fbc3a=a82_0x3234;if(!_0x1aea6a)return 0x0;if(typeof _0x145a04=='string'){let _0x5f0a40=registerProj(_0x145a04);if(_0x5f0a40==null)return console[_0x3fbc3a(0x17a)](_0x3fbc3a(0x150)),0x0;_0x145a04=_0x5f0a40;}const _0x2c32b2=isSpheroid(_0x145a04);if(_0xed7972)return a82_0x2e1ac9(_0x1aea6a,{'projection':_0x145a04});else{if(_0x2c32b2){const _0x387946=getGeoProjection(_0x1aea6a,_0x145a04);return _0x1aea6a[_0x3fbc3a(0x175)]()[_0x3fbc3a(0x16c)](_0x145a04,_0x387946)[_0x3fbc3a(0x171)]();}return _0x1aea6a[_0x3fbc3a(0x171)]();}}export function getLength(_0xa20cab,_0x1a8330,_0x1fbf26=![]){const _0x265f95=a82_0x3234;if(!_0xa20cab)return 0x0;if(typeof _0x1a8330==_0x265f95(0x14e)){let _0x400e3d=registerProj(_0x1a8330);if(_0x400e3d==null)return console[_0x265f95(0x17a)](_0x265f95(0x150)),0x0;_0x1a8330=_0x400e3d;}const _0x54d624=isSpheroid(_0x1a8330);if(_0x1fbf26)return a82_0x5da585(_0xa20cab,{'projection':_0x1a8330});else{let _0x515a1e=_0xa20cab;if(_0x54d624){const _0x4fea2d=getGeoProjection(_0xa20cab,_0x1a8330);_0x515a1e=_0xa20cab[_0x265f95(0x175)]()[_0x265f95(0x16c)](_0x1a8330,_0x4fea2d);}if(_0x515a1e instanceof LineString)return _0x515a1e[_0x265f95(0x15b)]();else{let _0x36ec19=0x0;for(let _0x2d52d9=0x0;_0x2d52d9<_0x515a1e['getLineStrings']()[_0x265f95(0x176)];_0x2d52d9++){_0x36ec19+=_0x515a1e[_0x265f95(0x15f)]()[_0x2d52d9][_0x265f95(0x15b)]();}return _0x36ec19;}}}export function bufferOp(_0x27a6f7,_0x4ee853){const _0x4686b4=a82_0x3234,_0x51df74=_parser[_0x4686b4(0x173)](_0x27a6f7),_0x19d841=a82_0x4f8cd8[_0x4686b4(0x17c)](_0x51df74,_0x4ee853);return _parser[_0x4686b4(0x15e)](_0x19d841);}export function bufferPixel(_0x5da22d,_0x2869ca,_0x29ecfd){const _0x52a139=a82_0x3234,_0x50d848=_0x29ecfd[_0x52a139(0x169)](_0x5da22d[_0x52a139(0x162)]()),_0x350a99=_0x29ecfd[_0x52a139(0x16f)]([_0x50d848[0x0]+_0x2869ca,_0x50d848[0x1]]),_0x5f4c3c=a82_0x1ee586(_0x5da22d[_0x52a139(0x162)](),_0x350a99),_0x1f98ee=bufferOp(_0x5da22d,_0x5f4c3c);return _0x1f98ee;}export function contains(_0xe14ac,_0xe4531b){const _0x22a4ed=a82_0x3234,_0x5806d7=_parser[_0x22a4ed(0x173)](_0xe14ac),_0x1a7f37=_parser['read'](_0xe4531b);return a82_0x54ad14[_0x22a4ed(0x160)](_0x5806d7,_0x1a7f37);}export function crosses(_0x4cfac3,_0x5b37c6){const _0x5968c3=a82_0x3234,_0x314fd5=_parser['read'](_0x4cfac3),_0x3a3c51=_parser[_0x5968c3(0x173)](_0x5b37c6);return a82_0x54ad14[_0x5968c3(0x15c)](_0x314fd5,_0x3a3c51);}export function intersects(_0x26e8fc,_0xe5b836){const _0x2eef5=a82_0x3234,_0x3bf42c=_parser[_0x2eef5(0x173)](_0x26e8fc),_0x2f27b5=_parser[_0x2eef5(0x173)](_0xe5b836);return a82_0x54ad14['intersects'](_0x3bf42c,_0x2f27b5);}export function intersection(_0x2e93d9,_0x16f685){const _0x4885f0=a82_0x3234,_0x4a2cf1=_parser[_0x4885f0(0x173)](_0x2e93d9),_0x174e11=_parser[_0x4885f0(0x173)](_0x16f685);return _parser[_0x4885f0(0x15e)](a82_0x5f33ff['intersection'](_0x4a2cf1,_0x174e11));}export function union(_0x5aa9c7,_0x153fe4){const _0x1d681f=a82_0x3234,_0x44d6ae=_parser[_0x1d681f(0x173)](_0x5aa9c7),_0x4de407=_parser[_0x1d681f(0x173)](_0x153fe4);return _parser[_0x1d681f(0x15e)](a82_0x5f33ff[_0x1d681f(0x15a)](_0x44d6ae,_0x4de407));}export function difference(_0x1af9aa,_0x502623){const _0x807b0f=a82_0x3234,_0x298152=_parser[_0x807b0f(0x173)](_0x1af9aa),_0x867352=_parser[_0x807b0f(0x173)](_0x502623);return _parser[_0x807b0f(0x15e)](a82_0x5f33ff[_0x807b0f(0x152)](_0x298152,_0x867352));}export function distance(_0x12732a,_0x942a9c){const _0x207146=a82_0x3234,_0x4ffa1f=_parser['read'](_0x12732a),_0x286032=_parser[_0x207146(0x173)](_0x942a9c);return _parser['write'](a82_0x5270c1['distance'](_0x4ffa1f,_0x286032));}export function jstlSplit(_0x58e53d,_0x4ee6c4){const _0x4e8750=a82_0x3234,_0x7f3275=_parser[_0x4e8750(0x173)](_0x58e53d),_0x535dec=_parser[_0x4e8750(0x173)](_0x4ee6c4),_0x28d708=_0x7f3275[_0x4e8750(0x172)]();let _0x70b781=[];function _0x2c6e05(_0x348ab0,_0x2fc1f6){const _0x271c0d=_0x4e8750;let _0x3df28a=_0x348ab0[_0x271c0d(0x166)],_0x3209ce=_0x348ab0['getExteriorRing']()[_0x271c0d(0x15a)](_0x2fc1f6),_0x282752=new a82_0x4f1227();_0x282752[_0x271c0d(0x164)](_0x3209ce);let _0x1af42e=_0x282752[_0x271c0d(0x167)]();_0x1af42e[_0x271c0d(0x161)]['length']==0x2&&_0x1af42e[_0x271c0d(0x161)]['forEach'](_0x1f65f0=>{const _0x3ee6a6=_0x271c0d;_0x3df28a[_0x3ee6a6(0x17b)](_0x21f947=>{const _0xa14202=_0x3ee6a6;let _0x40191b=[];for(let _0x197b21 in _0x21f947[_0xa14202(0x162)]()){_0x40191b[_0xa14202(0x168)]([_0x21f947[_0xa14202(0x162)]()[_0x197b21]['x'],_0x21f947['getCoordinates']()[_0x197b21]['y']]);}_0x21f947=_parser[_0xa14202(0x173)]({'coordinates':[_0x40191b],'type':_0xa14202(0x155)}),_0x1f65f0=_0x1f65f0[_0xa14202(0x152)](_0x21f947);}),_0x70b781['push'](_parser[_0x3ee6a6(0x15e)](_0x1f65f0));});}if(_0x28d708==='Polygon')_0x2c6e05(_0x7f3275,_0x535dec);else{if(_0x28d708===_0x4e8750(0x154))_0x7f3275[_0x4e8750(0x165)][_0x4e8750(0x17b)]((_0xdbd709,_0x293a0b)=>{_0x2c6e05(_0xdbd709,_0x535dec);});else throw new Error(_0x4e8750(0x163));}return _0x70b781;}export function fromWKT(_0x4bf322,_0x5954aa,_0x3ee5cb){const _0x246e84=a82_0x3234,_0x444d73=new a82_0x3738dd();_0x5954aa&&registerProj(_0x5954aa);_0x3ee5cb&&registerProj(_0x3ee5cb);const _0x3b8b27=_0x444d73[_0x246e84(0x16d)](_0x4bf322);if(isGeometryEmpty(_0x3b8b27))return null;return _0x5954aa&&_0x3ee5cb?_0x3b8b27[_0x246e84(0x16c)](new a82_0x1a003d({'code':_0x5954aa}),new a82_0x1a003d({'code':_0x3ee5cb})):_0x3b8b27;}function a82_0x3234(_0x35ca40,_0x36e340){const _0xee3bb=a82_0xee3b();return a82_0x3234=function(_0x3234ab,_0x2568dd){_0x3234ab=_0x3234ab-0x14e;let _0x4c03ee=_0xee3bb[_0x3234ab];return _0x4c03ee;},a82_0x3234(_0x35ca40,_0x36e340);}export function fromWKTs(_0xec141f,_0x34d224,_0x4fe3b3){const _0x7fa6ed=a82_0x3234,_0x40b53a=new a82_0x3738dd();let _0x5e1744=[];_0x34d224&&registerProj(_0x34d224);_0x4fe3b3&&registerProj(_0x4fe3b3);let _0x1ae81e,_0x219fa7;_0x34d224&&_0x4fe3b3&&(_0x1ae81e=new a82_0x1a003d({'code':_0x34d224}),_0x219fa7=new a82_0x1a003d({'code':_0x4fe3b3}));for(let _0xb0723b=0x0;_0xb0723b<_0xec141f[_0x7fa6ed(0x176)];_0xb0723b++){const _0xf3b062=_0x40b53a[_0x7fa6ed(0x16d)](_0xec141f[_0xb0723b]);if(isGeometryEmpty(_0xf3b062))continue;_0x1ae81e&&_0x219fa7?_0x5e1744[_0x7fa6ed(0x168)](_0xf3b062[_0x7fa6ed(0x16c)](_0x1ae81e,_0x219fa7)):_0x5e1744[_0x7fa6ed(0x168)](_0xf3b062);}return _0x5e1744;}export function toWKT(_0x5d87a2){const _0x5e081b=a82_0x3234,_0x58ca42=new a82_0x3738dd();if(isGeometryEmpty(_0x5d87a2))return'';if(_0x5d87a2 instanceof Circle){const _0x211493=fromCircle(_0x5d87a2);return _0x58ca42['writeGeometry'](_0x211493);}else return _0x58ca42[_0x5e081b(0x174)](_0x5d87a2);}export function toGeoJSON(_0xb4642e){const _0x29df31=a82_0x3234,_0x55bc99=new a82_0x5262ae();return _0x55bc99[_0x29df31(0x174)](_0xb4642e);}export function fromGeoJSON(_0x371e0a){const _0x425294=a82_0x3234,_0x4008da=new a82_0x5262ae();return _0x4008da[_0x425294(0x16d)](_0x371e0a);}export function toEsriJSON(_0x51e6a4){const _0x52d3c7=a82_0x3234,_0x540887=new a82_0x2395d7();return _0x540887[_0x52d3c7(0x174)](_0x51e6a4);}export function fromEsriJSON(_0x3e4174){const _0x9d7452=a82_0x3234,_0x38043f=new a82_0x2395d7();return _0x38043f[_0x9d7452(0x16d)](_0x3e4174);}export function expandExtent(_0x4bb504,_0x3e180c){const _0x54f560=_0x4bb504[0x0],_0x5ee54b=_0x4bb504[0x1],_0x2f347e=_0x4bb504[0x2],_0x3f0a7e=_0x4bb504[0x3],_0x156556=(_0x54f560+_0x2f347e)/0x2,_0x4629c9=(_0x5ee54b+_0x3f0a7e)/0x2,_0xca0e06=_0x2f347e-_0x54f560,_0x2c14f4=_0x3f0a7e-_0x5ee54b,_0x1b661c=_0xca0e06*_0x3e180c,_0x2208d5=_0x2c14f4*_0x3e180c,_0x52f0f5=_0x156556-_0x1b661c/0x2,_0x18f5a1=_0x156556+_0x1b661c/0x2,_0x28be6d=_0x4629c9-_0x2208d5/0x2,_0x5bf0b8=_0x4629c9+_0x2208d5/0x2;return[_0x52f0f5,_0x28be6d,_0x18f5a1,_0x5bf0b8];}export function isGeometryEmpty(_0x3445cc){const _0x397f78=a82_0x3234;if(!_0x3445cc)return!![];if(_0x3445cc instanceof Point||_0x3445cc instanceof MultiPoint){const _0x168940=_0x3445cc[_0x397f78(0x162)]();return!_0x168940||_0x168940[_0x397f78(0x178)](_0x480f12=>isNaN(_0x480f12));}else{if(_0x3445cc instanceof LineString||_0x3445cc instanceof MultiLineString)return _0x3445cc[_0x397f78(0x162)]()['length']<0x2;else{if(_0x3445cc instanceof Polygon){const _0x3a58bc=_0x3445cc[_0x397f78(0x162)]();return!_0x3a58bc||_0x3a58bc[_0x397f78(0x176)]===0x0||_0x3a58bc[0x0][_0x397f78(0x176)]<0x4;}else{if(_0x3445cc instanceof MultiPolygon){const _0x555ae5=_0x3445cc[_0x397f78(0x162)]();return!_0x555ae5||_0x555ae5[_0x397f78(0x176)]===0x0||_0x555ae5[0x0][0x0]['length']<0x4;}}}}return![];}export function polygonToLines(_0x52d27a){const _0x531f92=a82_0x3234;if(!_0x52d27a)return[];const _0x4adb5e=_0x52d27a[_0x531f92(0x153)]();return _0x4adb5e[_0x531f92(0x16b)](_0x1c921b=>new LineString(_0x1c921b[_0x531f92(0x162)]()));}export function getGeometryCenter(_0xa90c5f){const _0x30c04b=a82_0x3234;if(!_0xa90c5f)return undefined;const _0x3429e9=_0xa90c5f[_0x30c04b(0x14f)]();if(_0x3429e9===_0x30c04b(0x179))return new Point(_0xa90c5f[_0x30c04b(0x162)]());if(_0x3429e9===_0x30c04b(0x155)||_0x3429e9===_0x30c04b(0x154))return _0xa90c5f['getInteriorPoint']();const _0x3ccf8d=getCenter(_0xa90c5f['getExtent']());return new Point(_0x3ccf8d);}
@@ -1 +1 @@
1
- function a83_0x4cc9(_0x9b670f,_0x3d96d0){const _0x453747=a83_0x4537();return a83_0x4cc9=function(_0x4cc9e7,_0x4ac6f7){_0x4cc9e7=_0x4cc9e7-0x192;let _0x575536=_0x453747[_0x4cc9e7];return _0x575536;},a83_0x4cc9(_0x9b670f,_0x3d96d0);}(function(_0x3b4a7a,_0x2ad0d5){const _0x5cc8dd=a83_0x4cc9,_0x5aead1=_0x3b4a7a();while(!![]){try{const _0x2036d2=parseInt(_0x5cc8dd(0x194))/0x1*(-parseInt(_0x5cc8dd(0x1a0))/0x2)+-parseInt(_0x5cc8dd(0x192))/0x3+parseInt(_0x5cc8dd(0x1ad))/0x4+-parseInt(_0x5cc8dd(0x1a5))/0x5+parseInt(_0x5cc8dd(0x1a7))/0x6+-parseInt(_0x5cc8dd(0x1ac))/0x7+-parseInt(_0x5cc8dd(0x196))/0x8*(-parseInt(_0x5cc8dd(0x1a1))/0x9);if(_0x2036d2===_0x2ad0d5)break;else _0x5aead1['push'](_0x5aead1['shift']());}catch(_0x17b1ee){_0x5aead1['push'](_0x5aead1['shift']());}}}(a83_0x4537,0x2d5c9));import a83_0x1db407 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x35b37a){const _0x20af16=a83_0x4cc9;let _0x3cc3a4=[];return _0x35b37a&&_0x35b37a[_0x20af16(0x1ab)]>0x0&&(_0x35b37a[_0x20af16(0x1a3)](_0x42f4ae=>{const _0x1fe3d7=_0x20af16;(!_0x42f4ae['parentId']||_0x42f4ae[_0x1fe3d7(0x193)]=='')&&_0x3cc3a4[_0x1fe3d7(0x1aa)](Object['assign']({},_0x42f4ae));}),_0x3cc3a4=_0x3cc3a4[_0x20af16(0x1b2)]((_0x24a56b,_0x29630a)=>{const _0x582cb5=_0x20af16;return(_0x24a56b[_0x582cb5(0x1af)]?_0x24a56b[_0x582cb5(0x1af)]:0x0)-(_0x29630a[_0x582cb5(0x1af)]?_0x29630a[_0x582cb5(0x1af)]:0x0);}),_0x3cc3a4[_0x20af16(0x1a3)](_0x387bd0=>{const _0x18598f=_0x20af16;_0x387bd0[_0x18598f(0x1b0)]=setChildren(_0x387bd0['id'],_0x35b37a);})),_0x3cc3a4;}function setChildren(_0x19136c,_0x64490a){const _0x5ceb69=a83_0x4cc9;let _0x5b03dd=[];return _0x64490a[_0x5ceb69(0x1a3)](_0x2e9426=>{const _0x1c3bf9=_0x5ceb69;_0x19136c===(_0x2e9426[_0x1c3bf9(0x193)]==null?'':_0x2e9426[_0x1c3bf9(0x193)])&&_0x5b03dd[_0x1c3bf9(0x1aa)](Object[_0x1c3bf9(0x1a2)]({},_0x2e9426));}),_0x5b03dd=_0x5b03dd['sort']((_0x542977,_0x5eacac)=>{const _0x511578=_0x5ceb69;return(_0x542977[_0x511578(0x1af)]?_0x542977[_0x511578(0x1af)]:0x0)-(_0x5eacac[_0x511578(0x1af)]?_0x5eacac[_0x511578(0x1af)]:0x0);}),_0x5b03dd[_0x5ceb69(0x1ab)]>0x0&&_0x5b03dd['forEach'](_0xa93f89=>{const _0x4c820b=_0x5ceb69;_0xa93f89[_0x4c820b(0x1b0)]=setChildren(_0xa93f89['id'],_0x64490a);}),_0x5b03dd;}export async function getLayerLegend(_0x1464c2,_0xa235bf){const _0x4c9faa=a83_0x4cc9;if(!_0x1464c2||!_0x1464c2[_0x4c9faa(0x19e)]||!_0x1464c2[_0x4c9faa(0x19b)]||_0x1464c2[_0x4c9faa(0x19b)][_0x4c9faa(0x1ab)]==0x0||!_0x1464c2['layerType'])return;if(_0x1464c2['layerType'][_0x4c9faa(0x197)](_0x4c9faa(0x1a6))>-0x1)return await getGeoServerLayerLegend(_0x1464c2,_0xa235bf);return;}export async function getGeoServerLayerLegend(_0x5ce8cb,_0x35a775){const _0x18aebe=a83_0x4cc9;if(!_0x5ce8cb||!_0x5ce8cb[_0x18aebe(0x19e)]||!_0x5ce8cb[_0x18aebe(0x19b)]||_0x5ce8cb['sublayers']['length']==0x0)return;let _0x230409=_0x5ce8cb[_0x18aebe(0x19e)];const _0x3bd832=_0x5ce8cb[_0x18aebe(0x19b)];_0x230409=_0x230409[_0x18aebe(0x195)](_0x18aebe(0x1ae),'wms');const _0x2adf31=[];for(let _0x214225=0x0;_0x214225<_0x3bd832[_0x18aebe(0x1ab)];_0x214225++){const _0x101170=_0x3bd832[_0x214225];let _0x2843f0=_0x18aebe(0x1a8)+_0x101170+_0x18aebe(0x1a4);const _0x53c99b=_0x230409[_0x18aebe(0x19c)]('?')?_0x230409+'&'+_0x2843f0:_0x230409+'?'+_0x2843f0,_0x1d92b8=await a83_0x1db407[_0x18aebe(0x1a9)](_0x53c99b);if(_0x1d92b8['data']&&_0x1d92b8[_0x18aebe(0x19a)][_0x18aebe(0x1b1)]&&_0x1d92b8[_0x18aebe(0x19a)][_0x18aebe(0x1b1)][_0x18aebe(0x1ab)]>0x0)_0x2adf31['push'](_0x1d92b8[_0x18aebe(0x19a)][_0x18aebe(0x1b1)][0x0]);else{let _0x375613=_0x35a775?_0x35a775:0x10,_0x15fda5=_0x18aebe(0x1a8)+_0x101170+_0x18aebe(0x19d)+_0x375613+_0x18aebe(0x198)+_0x375613+_0x18aebe(0x199);const _0x1332bc=_0x230409[_0x18aebe(0x19c)]('?')?_0x230409+'&'+_0x15fda5:_0x230409+'?'+_0x15fda5;_0x2adf31[_0x18aebe(0x1aa)]({'title':_0x5ce8cb[_0x18aebe(0x19f)],'url':_0x1332bc});}}return _0x2adf31;}function a83_0x4537(){const _0x22fd97=['16GgFosN','indexOf','&height=','&format=image/png','data','sublayers','includes','&width=','url','title','12Ljapoe','2882826TzonXu','assign','forEach','&format=application/json','772830YNJZWs','geoserver','427194LQcHYu','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','get','push','length','2430610lXpnnK','1042288VxtJnh','gwc/service/wmts','showIndex','children','Legend','sort','418896ALiLhs','parentId','24195zdLytA','replace'];a83_0x4537=function(){return _0x22fd97;};return a83_0x4537();}
1
+ function a83_0x4de9(){const _0x28f29b=['sort','5525952KejAqa','url','gwc/service/wmts','forEach','28NBbaWX','429669hmQvMa','geoserver','2994LoSFgK','&height=','&format=image/png','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','wms','children','data','11DEvFyT','showIndex','1VuKVjV','layerType','&width=','1264VMZcpn','7657699gxkkju','title','3848130ryqfYp','sublayers','519394fLQWGM','push','2538WeKbBi','parentId','Legend','length','includes','assign','12175VhusQn'];a83_0x4de9=function(){return _0x28f29b;};return a83_0x4de9();}(function(_0x15fbf5,_0x80fbec){const _0x351d8b=a83_0x2bd8,_0x21aed3=_0x15fbf5();while(!![]){try{const _0x29f79c=-parseInt(_0x351d8b(0x13c))/0x1*(parseInt(_0x351d8b(0x144))/0x2)+-parseInt(_0x351d8b(0x131))/0x3*(parseInt(_0x351d8b(0x152))/0x4)+-parseInt(_0x351d8b(0x14c))/0x5*(-parseInt(_0x351d8b(0x133))/0x6)+parseInt(_0x351d8b(0x140))/0x7+-parseInt(_0x351d8b(0x13f))/0x8*(parseInt(_0x351d8b(0x146))/0x9)+parseInt(_0x351d8b(0x142))/0xa+parseInt(_0x351d8b(0x13a))/0xb*(-parseInt(_0x351d8b(0x14e))/0xc);if(_0x29f79c===_0x80fbec)break;else _0x21aed3['push'](_0x21aed3['shift']());}catch(_0x28eb3e){_0x21aed3['push'](_0x21aed3['shift']());}}}(a83_0x4de9,0xe233d));function a83_0x2bd8(_0x32fda2,_0x432173){const _0x4de989=a83_0x4de9();return a83_0x2bd8=function(_0x2bd889,_0x33b927){_0x2bd889=_0x2bd889-0x131;let _0x49c347=_0x4de989[_0x2bd889];return _0x49c347;},a83_0x2bd8(_0x32fda2,_0x432173);}import a83_0x253d14 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x358b7b){const _0xbe0b19=a83_0x2bd8;let _0x576dba=[];return _0x358b7b&&_0x358b7b[_0xbe0b19(0x149)]>0x0&&(_0x358b7b['forEach'](_0xbe2fc0=>{const _0x301d53=_0xbe0b19;(!_0xbe2fc0['parentId']||_0xbe2fc0['parentId']=='')&&_0x576dba[_0x301d53(0x145)](Object[_0x301d53(0x14b)]({},_0xbe2fc0));}),_0x576dba=_0x576dba[_0xbe0b19(0x14d)]((_0x32da17,_0x2d74ee)=>{const _0x396ca6=_0xbe0b19;return(_0x32da17[_0x396ca6(0x13b)]?_0x32da17[_0x396ca6(0x13b)]:0x0)-(_0x2d74ee[_0x396ca6(0x13b)]?_0x2d74ee[_0x396ca6(0x13b)]:0x0);}),_0x576dba['forEach'](_0x125c57=>{_0x125c57['children']=setChildren(_0x125c57['id'],_0x358b7b);})),_0x576dba;}function setChildren(_0x3936ce,_0x1ec483){const _0x4b09df=a83_0x2bd8;let _0x147a9c=[];return _0x1ec483[_0x4b09df(0x151)](_0x48abd2=>{const _0x5bc899=_0x4b09df;_0x3936ce===(_0x48abd2[_0x5bc899(0x147)]==null?'':_0x48abd2[_0x5bc899(0x147)])&&_0x147a9c['push'](Object[_0x5bc899(0x14b)]({},_0x48abd2));}),_0x147a9c=_0x147a9c[_0x4b09df(0x14d)]((_0x1272d5,_0x4d05b8)=>{const _0x4e4df8=_0x4b09df;return(_0x1272d5[_0x4e4df8(0x13b)]?_0x1272d5[_0x4e4df8(0x13b)]:0x0)-(_0x4d05b8['showIndex']?_0x4d05b8[_0x4e4df8(0x13b)]:0x0);}),_0x147a9c[_0x4b09df(0x149)]>0x0&&_0x147a9c[_0x4b09df(0x151)](_0x4e881c=>{const _0x18f1a3=_0x4b09df;_0x4e881c[_0x18f1a3(0x138)]=setChildren(_0x4e881c['id'],_0x1ec483);}),_0x147a9c;}export async function getLayerLegend(_0x4d2021,_0x8af0b5){const _0x56ac2f=a83_0x2bd8;if(!_0x4d2021||!_0x4d2021[_0x56ac2f(0x14f)]||!_0x4d2021[_0x56ac2f(0x143)]||_0x4d2021[_0x56ac2f(0x143)]['length']==0x0||!_0x4d2021[_0x56ac2f(0x13d)])return;if(_0x4d2021[_0x56ac2f(0x13d)]['indexOf'](_0x56ac2f(0x132))>-0x1)return await getGeoServerLayerLegend(_0x4d2021,_0x8af0b5);return;}export async function getGeoServerLayerLegend(_0x1d0358,_0x45893f){const _0x30684a=a83_0x2bd8;if(!_0x1d0358||!_0x1d0358[_0x30684a(0x14f)]||!_0x1d0358[_0x30684a(0x143)]||_0x1d0358[_0x30684a(0x143)][_0x30684a(0x149)]==0x0)return;let _0xb30c33=_0x1d0358['url'];const _0x5ed8c7=_0x1d0358['sublayers'];_0xb30c33=_0xb30c33['replace'](_0x30684a(0x150),_0x30684a(0x137));const _0x27a773=[];for(let _0x57b416=0x0;_0x57b416<_0x5ed8c7[_0x30684a(0x149)];_0x57b416++){const _0x372931=_0x5ed8c7[_0x57b416];let _0x3a7d36=_0x30684a(0x136)+_0x372931+'&format=application/json';const _0x58e355=_0xb30c33[_0x30684a(0x14a)]('?')?_0xb30c33+'&'+_0x3a7d36:_0xb30c33+'?'+_0x3a7d36,_0x1c34d9=await a83_0x253d14['get'](_0x58e355);if(_0x1c34d9['data']&&_0x1c34d9['data'][_0x30684a(0x148)]&&_0x1c34d9[_0x30684a(0x139)][_0x30684a(0x148)][_0x30684a(0x149)]>0x0)_0x27a773['push'](_0x1c34d9[_0x30684a(0x139)][_0x30684a(0x148)][0x0]);else{let _0x221692=_0x45893f?_0x45893f:0x10,_0x1a6308=_0x30684a(0x136)+_0x372931+_0x30684a(0x13e)+_0x221692+_0x30684a(0x134)+_0x221692+_0x30684a(0x135);const _0x54853d=_0xb30c33[_0x30684a(0x14a)]('?')?_0xb30c33+'&'+_0x1a6308:_0xb30c33+'?'+_0x1a6308;_0x27a773[_0x30684a(0x145)]({'title':_0x1d0358[_0x30684a(0x141)],'url':_0x54853d});}}return _0x27a773;}