ym-gis-2d 1.0.31 → 1.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.d.ts.map +1 -1
  13. package/feature/FeatureManager.js +1 -1
  14. package/feature/FeatureManager.js.map +1 -1
  15. package/index.js +1 -1
  16. package/interaction/AreaMeasure.js +1 -1
  17. package/interaction/Draw.js +1 -1
  18. package/interaction/InteractionManager.js +1 -1
  19. package/interaction/Select.js +1 -1
  20. package/interaction/Split.d.ts +58 -0
  21. package/interaction/Split.d.ts.map +1 -0
  22. package/interaction/Split.js +1 -0
  23. package/interaction/Split.js.map +1 -0
  24. package/layers/ArcgisDynamicLayer.js +1 -1
  25. package/layers/ArcgisFeatureLayer.js +1 -1
  26. package/layers/ArcgisTileLayer.js +1 -1
  27. package/layers/ArcgisWMSLayer.js +1 -1
  28. package/layers/ArcgisWMTSLayer.js +1 -1
  29. package/layers/GeoserverVectorTile.js +1 -1
  30. package/layers/GeoserverWFSLayer.js +1 -1
  31. package/layers/GeoserverWMSLayer.js +1 -1
  32. package/layers/GeoserverWMTSLayer.js +1 -1
  33. package/layers/LayerManager.js +1 -1
  34. package/layers/TDTLayer.js +1 -1
  35. package/mapView/Map.js +1 -1
  36. package/mapView/View.js +1 -1
  37. package/package.json +1 -1
  38. package/plot/Plot.js +1 -1
  39. package/plot/geometry/point/Point.js +1 -1
  40. package/plot/geometry/polygon/BasePolygon.js +1 -1
  41. package/plot/geometry/polygon/Circle.js +1 -1
  42. package/plot/geometry/polygon/Polygon.js +1 -1
  43. package/plot/geometry/polygon/RectAngle.js +1 -1
  44. package/plot/geometry/polyline/BaseLine.js +1 -1
  45. package/plot/geometry/polyline/Polyline.js +1 -1
  46. package/style/PointStyleFormat.js +1 -1
  47. package/style/PolygonStyleFormat.js +1 -1
  48. package/style/PolylineStyleFormat.js +1 -1
  49. package/style/StyleManager.js +1 -1
  50. package/style/common.js +1 -1
  51. package/utils/ArrayUtil.js +1 -1
  52. package/utils/AxiosUtil.js +1 -1
  53. package/utils/EsriUtil.js +1 -1
  54. package/utils/GeometryUtil.js +1 -1
  55. package/utils/LayerUtil.js +1 -1
  56. package/utils/RegisterProjUtil.js +1 -1
  57. package/utils/ResolutionUtil.js +1 -1
  58. package/utils/StringUtil.js +1 -1
  59. package/utils/StyleUtil.js +1 -1
  60. package/utils/UrlUtil.js +1 -1
  61. package/utils/XmlUtil.js +1 -1
  62. package/utils/format/CQL.js +1 -1
  63. package/utils/format/IsMatchCql.js +1 -1
  64. package/utils/plug/canvas/ImageCache.js +1 -1
  65. package/utils/plug/canvas/PinBuilder.js +1 -1
  66. package/utils/plug/canvas/PinIcon.js +1 -1
  67. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  68. package/utils/tasks/esri/Identify.js +1 -1
  69. package/utils/tasks/esri/Query.js +1 -1
  70. package/utils/tasks/esri/Task.js +1 -1
  71. package/utils/tasks/geoserver/QueryTask.js +1 -1
  72. package/utils/tasks/index.js +1 -1
  73. package/ym-gis-2d.es.js +1 -1
  74. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- var a69_0x40a4c5=a69_0x3f50;(function(_0x52fbaf,_0x5eb3ad){var _0x42004e=a69_0x3f50,_0x315250=_0x52fbaf();while(!![]){try{var _0x4897ce=-parseInt(_0x42004e(0xdb))/0x1*(parseInt(_0x42004e(0xd3))/0x2)+parseInt(_0x42004e(0xe1))/0x3*(parseInt(_0x42004e(0xd8))/0x4)+parseInt(_0x42004e(0xe4))/0x5+parseInt(_0x42004e(0xdf))/0x6*(parseInt(_0x42004e(0xde))/0x7)+parseInt(_0x42004e(0xe3))/0x8+parseInt(_0x42004e(0xd4))/0x9+-parseInt(_0x42004e(0xd7))/0xa;if(_0x4897ce===_0x5eb3ad)break;else _0x315250['push'](_0x315250['shift']());}catch(_0x92b8){_0x315250['push'](_0x315250['shift']());}}}(a69_0x41c4,0x92aac));import a69_0x5c122b from'./BaseLine';function a69_0x3f50(_0x4fbf74,_0x2e10d3){var _0x41c451=a69_0x41c4();return a69_0x3f50=function(_0x3f506f,_0x2aaa9d){_0x3f506f=_0x3f506f-0xd2;var _0x58a90d=_0x41c451[_0x3f506f];return _0x58a90d;},a69_0x3f50(_0x4fbf74,_0x2e10d3);}class Polyline extends a69_0x5c122b{constructor(_0x3f38f9){var _0x1002bb=a69_0x3f50;super(),this[_0x1002bb(0xe0)]=_0x1002bb(0xda),this[_0x1002bb(0xe2)](_0x3f38f9);}[a69_0x40a4c5(0xd6)](){var _0x7be470=a69_0x40a4c5;this[_0x7be470(0xe2)](this[_0x7be470(0xdc)]);}[a69_0x40a4c5(0xd2)](_0x3a9cca,_0x5ca3b1){var _0x2d0fb5=a69_0x40a4c5;_0x5ca3b1>=0x0&&_0x5ca3b1<this[_0x2d0fb5(0xdc)][_0x2d0fb5(0xd9)]&&(this[_0x2d0fb5(0xdc)][_0x5ca3b1]=_0x3a9cca,this[_0x2d0fb5(0xd6)]());}['updateLastPoint'](_0x316cbf){var _0x2c0cfe=a69_0x40a4c5;this[_0x2c0cfe(0xd2)](_0x316cbf,this['points'][_0x2c0cfe(0xd9)]-0x1);}['isPlot'](){return![];}['setStyle'](_0x43d37b){var _0x5a1b26=a69_0x40a4c5;this[_0x5a1b26(0xd5)]=JSON[_0x5a1b26(0xdd)](JSON['stringify'](_0x43d37b));}}export default Polyline;function a69_0x41c4(){var _0x56c2cb=['27009550XQZNFm','2935748ewxZUW','length','LineString','37KgFqAu','points','parse','38276PBDRKS','504KFKREg','type','3bOYVfC','setCoordinates','4627368zVoHki','4553235VgVEWR','updatePoint','21656CLBvDt','9180198UbwhhS','style','generate'];a69_0x41c4=function(){return _0x56c2cb;};return a69_0x41c4();}
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 +1 @@
1
- function a72_0x26ba(){const _0x2a2783=['opacity','scale','warn','outlineOpacity','1298294ImjARN','pixelOffset','66093znhfpE','.png','CENTER','1PfVHer','rotate','radius','2123052uVbYrq','match','billboard','changeColor','4995192gRFvxb','image','globalAlpha','outlineWidth','pixelOffsetY','model','getFlatInteriorPoints','geometry','68QitWMG','show','push','LEFT','RIGHT','getStride','getType','MultiPoint','color','outline','cloud','10718720RuaUKJ','save','length','toUpperCase','getImageData','imgUrl','replace','1135827BjsWSM','getFlatMidpoint','verticalOrigin','drawImage','parse','pixelRatio','translate','outlineColor','10kPDMnf','getFlatInteriorPoint','zIndex','getPixelFromCoordinate','2004800azhqfk','horizontalOrigin','Polygon','pixelSize','label','TOP','modelKind','model/','restore','text','createElement','height','putImageData','width','stringify','MultiLineString'];a72_0x26ba=function(){return _0x2a2783;};return a72_0x26ba();}(function(_0xf3063f,_0x29d5a1){const _0x5d7757=a72_0x1a3a,_0x3e5a6f=_0xf3063f();while(!![]){try{const _0x3ad858=parseInt(_0x5d7757(0x9d))/0x1*(parseInt(_0x5d7757(0x98))/0x2)+parseInt(_0x5d7757(0x9a))/0x3*(-parseInt(_0x5d7757(0xac))/0x4)+-parseInt(_0x5d7757(0x80))/0x5*(parseInt(_0x5d7757(0xa0))/0x6)+parseInt(_0x5d7757(0x84))/0x7+-parseInt(_0x5d7757(0xa4))/0x8+parseInt(_0x5d7757(0xbe))/0x9+parseInt(_0x5d7757(0xb7))/0xa;if(_0x3ad858===_0x29d5a1)break;else _0x3e5a6f['push'](_0x3e5a6f['shift']());}catch(_0x5488ac){_0x3e5a6f['push'](_0x3e5a6f['shift']());}}}(a72_0x26ba,0x68404));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a72_0x549396 from'ol/style/Style';import a72_0x52e018 from'ol/style/Circle';import a72_0x49a316 from'ol/style/Fill';import a72_0x20374c from'ol/style/Stroke';function getMainStyle(_0x5863ad,_0x1ce86e=0x0,_0x3ece4a){const _0xe16049=a72_0x1a3a;let _0x5838f5;return _0x5863ad[_0xe16049(0xa5)]||_0x5863ad['markerColor']?_0x5838f5=new a72_0x549396({'renderer':(_0x43898b,_0x1fa4da)=>{preLoadImageRenderFunction(_0x5863ad,_0x43898b,_0x1fa4da,_0x3ece4a,_rendererFunction);},'zIndex':Number(_0x1ce86e)}):_0x5838f5=new a72_0x549396({'image':new a72_0x52e018({'radius':_0x5863ad[_0xe16049(0x9f)]?_0x5863ad[_0xe16049(0x9f)]:_0x5863ad[_0xe16049(0x87)],'fill':new a72_0x49a316({'color':getColor(_0x5863ad['color'],_0x5863ad[_0xe16049(0x94)])}),'stroke':_0x5863ad[_0xe16049(0xb5)]&&_0x5863ad['outlineColor']?new a72_0x20374c({'color':getColor(_0x5863ad[_0xe16049(0xc5)],_0x5863ad[_0xe16049(0x97)]),'width':_0x5863ad[_0xe16049(0xa7)]}):undefined}),'zIndex':Number(_0x1ce86e)}),_0x5838f5;}function _rendererFunction(_0x332844,_0x393285,_0x231bea,_0xc0d568,_0xc2f516){const _0x3c13ef=a72_0x1a3a;if(!_0xc2f516||_0xc2f516[_0x3c13ef(0x91)]===0x0){let _0x40e04c=new Image();_0x40e04c['src']=_0x332844[_0x3c13ef(0xa5)];}if(_0x332844[_0x3c13ef(0xa3)]&&_0x332844[_0x3c13ef(0xb4)]!==''){let _0x5dba0=_0x332844[_0x3c13ef(0x95)]||0x1,_0x5a70dd=_0x332844['width']||_0xc2f516[_0x3c13ef(0x91)]*_0x5dba0,_0x56e230=_0x332844['height']||_0xc2f516[_0x3c13ef(0x8f)]*_0x5dba0;_0x5a70dd=_0x5a70dd*_0x231bea[_0x3c13ef(0xc3)],_0x56e230=_0x56e230*_0x231bea[_0x3c13ef(0xc3)];const _0x5258f8=document[_0x3c13ef(0x8e)]('canvas');_0x5258f8[_0x3c13ef(0x91)]=_0x5a70dd,_0x5258f8[_0x3c13ef(0x8f)]=_0x56e230;const _0x4b1efe=_0x5258f8['getContext']('2d');_0x4b1efe===null||_0x4b1efe===void 0x0?void 0x0:_0x4b1efe['drawImage'](_0xc2f516,0x0,0x0,_0x5a70dd,_0x56e230);let _0x46bd0c=_0x4b1efe===null||_0x4b1efe===void 0x0?void 0x0:_0x4b1efe[_0x3c13ef(0xbb)](0x0,0x0,_0x5a70dd,_0x56e230),_0x29da8f=_0x46bd0c===null||_0x46bd0c===void 0x0?void 0x0:_0x46bd0c['data'];_0xc2f516=_0x5258f8;let _0xa67baa=HexToRgb(_0x332844[_0x3c13ef(0xb4)]);if(_0x29da8f&&_0xa67baa)for(var _0x2d79c1=0x0;_0x2d79c1<_0x29da8f[_0x3c13ef(0xb9)];_0x2d79c1+=0x4){_0x29da8f[_0x2d79c1]=_0xa67baa[0x0],_0x29da8f[_0x2d79c1+0x1]=_0xa67baa[0x1],_0x29da8f[_0x2d79c1+0x2]=_0xa67baa[0x2];}_0x46bd0c&&(_0x4b1efe===null||_0x4b1efe===void 0x0?void 0x0:_0x4b1efe[_0x3c13ef(0x90)](_0x46bd0c,0x0,0x0));}let _0x2f5724=_0x231bea[_0x3c13ef(0xab)],_0x473d5e=_0x231bea[_0x3c13ef(0xc3)],_0x539f86=_0x2f5724[_0x3c13ef(0xb1)](),_0x3605fb=_0x2f5724[_0x3c13ef(0xb2)](),_0x2c7fe4=[];switch(_0x3605fb){case'LineString':_0x2c7fe4=_0x2f5724[_0x3c13ef(0xbf)]();break;case _0x3c13ef(0x93):_0x2c7fe4=_0x2f5724['getFlatMidpoints'](),_0x539f86=0x2;break;case _0x3c13ef(0x86):_0x2c7fe4=_0x2f5724[_0x3c13ef(0x81)](),_0x539f86=0x3;break;case'MultiPolygon':{let _0x163c63=_0x2f5724[_0x3c13ef(0xaa)]();_0x2c7fe4=[];for(let _0x184cfa=0x0,_0x292b8d=_0x163c63['length'];_0x184cfa<_0x292b8d;_0x184cfa+=0x3){_0x2c7fe4[_0x3c13ef(0xae)](_0x163c63[_0x184cfa],_0x163c63[_0x184cfa+0x1]);}if(_0x2c7fe4[_0x3c13ef(0xb9)]===0x0)return;_0x539f86=0x2;break;}}if(_0x2c7fe4[_0x3c13ef(0xb9)]>0x0&&_0xc0d568)for(let _0x4f45cd=0x0,_0x3aa896=_0x2c7fe4[_0x3c13ef(0xb9)];_0x4f45cd<_0x3aa896;_0x4f45cd+=_0x539f86){let _0x5e3954=[_0x2c7fe4[_0x4f45cd],_0x2c7fe4[_0x4f45cd+0x1]],_0x1f9c82=_0xc0d568[_0x3c13ef(0x83)](_0x5e3954);_0x1f9c82=[_0x1f9c82[0x0]*_0x473d5e,_0x1f9c82[0x1]*_0x473d5e],drawImage(_0x332844,_0x1f9c82,_0x231bea,_0xc2f516);}else{if(_0x3605fb===_0x3c13ef(0xb3))for(let _0x2bb403 of _0x393285){drawImage(_0x332844,_0x2bb403,_0x231bea,_0xc2f516);}else drawImage(_0x332844,_0x393285,_0x231bea,_0xc2f516);}}function a72_0x1a3a(_0x36ec96,_0x526a72){const _0x26ba9a=a72_0x26ba();return a72_0x1a3a=function(_0x1a3a77,_0x2ae5c6){_0x1a3a77=_0x1a3a77-0x80;let _0x2e787a=_0x26ba9a[_0x1a3a77];return _0x2e787a;},a72_0x1a3a(_0x36ec96,_0x526a72);}function HexToRgb(_0x534aba){const _0x167ad9=a72_0x1a3a;_0x534aba=_0x534aba[_0x167ad9(0xbd)]('#','');let _0x3afa5c=_0x534aba[_0x167ad9(0xa1)](/../g);if(_0x3afa5c){for(let _0x128f55=0x0;_0x128f55<0x3;_0x128f55++)_0x3afa5c[_0x128f55]=parseInt(_0x3afa5c[_0x128f55],0x10);}return _0x3afa5c;}export function getImageOlStyle(_0x5cf8c7,_0x221137,_0x57b7bc,_0x3e5421){const _0x2159cf=a72_0x1a3a;var _0x2841d0;if(_0x5cf8c7&&_0x5cf8c7['show']!==![]){_0x5cf8c7=JSON[_0x2159cf(0xc2)](JSON[_0x2159cf(0x92)](_0x5cf8c7)),_0x221137=(_0x2841d0=_0x5cf8c7['zIndex'])!==null&&_0x2841d0!==void 0x0?_0x2841d0:_0x221137;let _0x32c113=isShowStyle(_0x5cf8c7,_0x57b7bc,_0x3e5421);if(_0x32c113)return _0x5cf8c7[_0x2159cf(0xa5)]=parseImage(_0x5cf8c7[_0x2159cf(0xa5)]),getMainStyle(_0x5cf8c7,_0x221137,_0x3e5421);}}export function getPointStyle(_0x258ef5,_0xd730de,_0x129777,_0x2a2481){const _0x1c0318=a72_0x1a3a;var _0x53b4db,_0x20e0a9;_0x258ef5=JSON[_0x1c0318(0xc2)](JSON[_0x1c0318(0x92)](_0x258ef5));let _0x424c09=(_0x53b4db=_0x258ef5[_0x1c0318(0x82)])!==null&&_0x53b4db!==void 0x0?_0x53b4db:0x0,_0xfadd72=[],_0x5baa72=getImageOlStyle(_0x258ef5,_0x424c09,_0x129777,_0x2a2481);_0x5baa72&&_0xfadd72[_0x1c0318(0xae)](_0x5baa72);let _0x2ec912=getImageOlStyle(_0x258ef5[_0x1c0318(0xa2)],_0x424c09,_0x129777,_0x2a2481);_0x2ec912&&_0xfadd72['push'](_0x2ec912);if(_0x258ef5[_0x1c0318(0xa9)]&&_0x258ef5[_0x1c0318(0xa9)][_0x1c0318(0xad)]!==![]){let _0x564232=isShowStyle(_0x258ef5[_0x1c0318(0xa9)],_0x129777,_0x2a2481);if(_0x564232){let _0x4b8d01=(_0x20e0a9=_0x258ef5[_0x1c0318(0xa9)]['zIndex'])!==null&&_0x20e0a9!==void 0x0?_0x20e0a9:_0x424c09,_0x56f867=_0x258ef5[_0x1c0318(0xa9)][_0x1c0318(0xbc)]||_0x1c0318(0x8b)+_0x258ef5[_0x1c0318(0xa9)][_0x1c0318(0x8a)]+_0x1c0318(0x9b);_0x258ef5[_0x1c0318(0x95)]=0x1,_0x258ef5[_0x1c0318(0x91)]=0x30,_0x258ef5[_0x1c0318(0x8f)]=0x30,_0x258ef5[_0x1c0318(0xc0)]=_0x1c0318(0x9c),_0xfadd72[_0x1c0318(0xae)](getMainStyle(_0x258ef5[_0x1c0318(0xa9)],_0x4b8d01,_0x2a2481));}}if(_0x258ef5[_0x1c0318(0x88)]&&_0x258ef5[_0x1c0318(0x88)][_0x1c0318(0xad)]!==![]){let _0x7948e6=new a72_0x549396({'text':createTextStyle(_0x258ef5[_0x1c0318(0x88)],_0xd730de,_0x129777,_0x2a2481),'zIndex':Number(_0x424c09)+0x1});_0xfadd72[_0x1c0318(0xae)](_0x7948e6);}return _0xfadd72;}export function getPointSingleStyle(_0x2a0060,_0x5ee066,_0x4530ea,_0x3bdecd){const _0x46f047=a72_0x1a3a;_0x5ee066=JSON[_0x46f047(0xc2)](JSON[_0x46f047(0x92)](_0x5ee066));let _0x4d5ec0=_0x5ee066[_0x46f047(0x88)],_0x3a3583;_0x4d5ec0&&(_0x3a3583=_0x4d5ec0[_0x46f047(0x8d)]?_0x4d5ec0[_0x46f047(0x8d)]:'');if(_0x2a0060==='billboard')return _0x5ee066['image']=parseImage(_0x5ee066[_0x46f047(0xa5)]),getPointStyle(_0x5ee066,_0x3a3583,_0x4530ea,_0x3bdecd);else{if(_0x2a0060===_0x46f047(0xa9)){let _0x18ce22=_0x5ee066[_0x46f047(0xbc)]||_0x46f047(0x8b)+_0x5ee066[_0x46f047(0x8a)]+'.png';return _0x5ee066[_0x46f047(0x95)]=0x1,_0x5ee066['width']=0x30,_0x5ee066[_0x46f047(0x8f)]=0x30,_0x5ee066[_0x46f047(0xc0)]=_0x46f047(0x9c),getPointStyle(_0x5ee066,_0x3a3583,_0x4530ea,_0x3bdecd);}else{if(_0x2a0060===_0x46f047(0xb6))return getPointStyle(_0x5ee066,_0x3a3583,_0x4530ea,_0x3bdecd);else{if(_0x2a0060==='point')return getPointStyle(_0x5ee066,_0x3a3583,_0x4530ea,_0x3bdecd);else return _0x2a0060===_0x46f047(0x88)?new a72_0x549396({'text':createTextStyle(_0x5ee066,_0x5ee066[_0x46f047(0x8d)],_0x4530ea,_0x3bdecd),'zIndex':_0x5ee066['zIndex']}):getPointStyle(_0x5ee066,_0x3a3583,_0x4530ea,_0x3bdecd);}}}}function drawImage(_0x1ec093,_0x333a84,_0x110cad,_0x588651){const _0xa1a301=a72_0x1a3a;var _0x11f941,_0x34a3cc,_0x4eb448,_0x4e67e7;let _0x1bc91a=_0x110cad['context'];try{_0x1bc91a[_0xa1a301(0xb8)]();let _0x3ea003=Number(_0x1ec093['pixelOffsetX']||((_0x11f941=_0x1ec093['pixelOffset'])===null||_0x11f941===void 0x0?void 0x0:_0x11f941[0x0])||0x0),_0x4f91f4=Number(_0x1ec093[_0xa1a301(0xa8)]||((_0x34a3cc=_0x1ec093[_0xa1a301(0x99)])===null||_0x34a3cc===void 0x0?void 0x0:_0x34a3cc[0x1])||0x0);_0x1bc91a[_0xa1a301(0xc4)](_0x333a84[0x0]+_0x3ea003,_0x333a84[0x1]+_0x4f91f4);if(_0x1ec093['rotation'])_0x1bc91a[_0xa1a301(0x9e)](toRadians(_0x1ec093['rotation']));_0x1bc91a[_0xa1a301(0xa6)]=_0x1ec093['opacity']!=null?_0x1ec093[_0xa1a301(0x94)]:0x1;if(_0x588651[_0xa1a301(0x91)]>0x0){let _0x443565=_0x1ec093[_0xa1a301(0x95)]||0x1,_0x5e8b4c=_0x1ec093[_0xa1a301(0x91)]||_0x588651[_0xa1a301(0x91)]*_0x443565,_0x519c52=_0x1ec093[_0xa1a301(0x8f)]||_0x588651[_0xa1a301(0x8f)]*_0x443565;_0x5e8b4c=_0x5e8b4c*_0x110cad['pixelRatio'],_0x519c52=_0x519c52*_0x110cad[_0xa1a301(0xc3)];_0x1ec093[_0xa1a301(0xa3)]&&(_0x5e8b4c=_0x588651[_0xa1a301(0x91)],_0x519c52=_0x588651[_0xa1a301(0x8f)]);let _0x4880fc;switch((_0x4eb448=_0x1ec093[_0xa1a301(0x85)])===null||_0x4eb448===void 0x0?void 0x0:_0x4eb448[_0xa1a301(0xba)]()){default:case _0xa1a301(0x9c):_0x4880fc=-_0x5e8b4c/0x2;break;case _0xa1a301(0xaf):_0x4880fc=0x0;break;case _0xa1a301(0xb0):_0x4880fc=-_0x5e8b4c;break;}let _0x52d86e;switch((_0x4e67e7=_0x1ec093[_0xa1a301(0xc0)])===null||_0x4e67e7===void 0x0?void 0x0:_0x4e67e7[_0xa1a301(0xba)]()){default:case'BOTTOM':_0x52d86e=-_0x519c52;break;case _0xa1a301(0x9c):_0x52d86e=-_0x519c52/0x2;break;case _0xa1a301(0x89):_0x52d86e=0x0;break;}_0x1bc91a[_0xa1a301(0xc1)](_0x588651,_0x4880fc,_0x52d86e,_0x5e8b4c,_0x519c52);}else _0x1bc91a[_0xa1a301(0xc1)](_0x588651,0x0,0x0);_0x1bc91a[_0xa1a301(0x8c)]();}catch(_0x4563ee){_0x1bc91a['restore'](),console[_0xa1a301(0x96)](_0x4563ee);}}
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 +1 @@
1
- function a73_0x19fc(_0x382ffa,_0x473d8d){var _0x33d009=a73_0x33d0();return a73_0x19fc=function(_0x19fcfd,_0x3c888a){_0x19fcfd=_0x19fcfd-0x149;var _0x3b89ab=_0x33d009[_0x19fcfd];return _0x3b89ab;},a73_0x19fc(_0x382ffa,_0x473d8d);}(function(_0x582c0a,_0x189a66){var _0xd8f015=a73_0x19fc,_0x99bca4=_0x582c0a();while(!![]){try{var _0x2e8fc5=parseInt(_0xd8f015(0x168))/0x1+-parseInt(_0xd8f015(0x16f))/0x2*(-parseInt(_0xd8f015(0x166))/0x3)+parseInt(_0xd8f015(0x183))/0x4*(-parseInt(_0xd8f015(0x149))/0x5)+-parseInt(_0xd8f015(0x181))/0x6+-parseInt(_0xd8f015(0x154))/0x7+parseInt(_0xd8f015(0x164))/0x8*(parseInt(_0xd8f015(0x171))/0x9)+parseInt(_0xd8f015(0x16e))/0xa;if(_0x2e8fc5===_0x189a66)break;else _0x99bca4['push'](_0x99bca4['shift']());}catch(_0x1e2e9c){_0x99bca4['push'](_0x99bca4['shift']());}}}(a73_0x33d0,0xb7c46));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(_0x3845cf,_0x30862b,_0xd963fc,_0x57e7a2){var _0x6dd56f=a73_0x19fc,_0x2686ba;let _0x29ae68=(_0x2686ba=_0x3845cf[_0x6dd56f(0x16b)])!==null&&_0x2686ba!==void 0x0?_0x2686ba:0x0,_0x5d2573=new Style();_0x5d2573['setZIndex'](_0x29ae68),_0x5d2573[_0x6dd56f(0x159)](new Fill({'color':_0x6dd56f(0x14c)}));if(_0x3845cf[_0x6dd56f(0x178)]!==![]){if(!_0x3845cf['fillType']||_0x3845cf[_0x6dd56f(0x151)]===_0x6dd56f(0x170))_0x5d2573[_0x6dd56f(0x159)](new Fill({'color':getColor(_0x3845cf[_0x6dd56f(0x170)],_0x3845cf['opacity'])}));else{if(_0x3845cf['fillType']===_0x6dd56f(0x14b))_0x5d2573[_0x6dd56f(0x174)]((_0x2d0140,_0x3f8628)=>{preLoadImageRenderFunction(_0x3845cf,_0x2d0140,_0x3f8628,_0x57e7a2,_rendererFunction);});else _0x3845cf['fillType']==='grid'||_0x3845cf['fillType']===_0x6dd56f(0x15e)||_0x3845cf[_0x6dd56f(0x151)]===_0x6dd56f(0x16c)?_0x5d2573[_0x6dd56f(0x174)]((_0x501016,_0x3087d3)=>{_rendererFunction(_0x3845cf,_0x501016,_0x3087d3,_0x57e7a2,null);}):_0x5d2573[_0x6dd56f(0x159)](new Fill({'color':getColor(_0x3845cf[_0x6dd56f(0x170)],_0x3845cf[_0x6dd56f(0x14a)])}));}}_0x3845cf[_0x6dd56f(0x15b)]!==![]&&_0x5d2573[_0x6dd56f(0x152)](new Stroke({'color':getColor(_0x3845cf[_0x6dd56f(0x176)],_0x3845cf['outlineOpacity']),'width':_0x3845cf['outlineWidth']}));let _0x54ac0f=[_0x5d2573];_0x3845cf[_0x6dd56f(0x150)]&&!_0x3845cf['billboard']['verticalOrigin']&&(_0x3845cf[_0x6dd56f(0x150)][_0x6dd56f(0x16d)]=_0x6dd56f(0x160));let _0x1872a2=getImageOlStyle(_0x3845cf[_0x6dd56f(0x150)],_0x29ae68,_0xd963fc,_0x57e7a2);_0x1872a2&&_0x54ac0f[_0x6dd56f(0x179)](_0x1872a2);if(_0x30862b){const _0x2c0d0d=createTextStyle(_0x3845cf,_0x30862b,_0xd963fc,_0x57e7a2);_0x2c0d0d&&(_0x5d2573[_0x6dd56f(0x158)](_0x2c0d0d),_0x5d2573['setZIndex'](Number(_0x29ae68)+0x1));}return _0x54ac0f;}function a73_0x33d0(){var _0x134309=['lineWidth','setRenderer','beginPath','outlineColor','strokeStyle','fill','push','width','warn','rgba(0,0,0,0.01)','height','lineTo','drawImage','getContext','3732150uXMCCv','closePath','4807184zkvuCd','moveTo','5xgVONl','opacity','image','rgba(0,0,0,0)','restore','stripe_oddcolor','length','billboard','fillType','setStroke','stripe_repeat','2588747YQtWXE','createElement','createPattern','src','setText','setFill','canvas','outline','repeat','oddColor','stripe','checkerboard_repeat','CENTER','grid_lineCount','save','fillStyle','10704SQzLgA','outlineOpacity','1178808glzphz','stroke','121985rRfeED','grid_lineThickness','max','zIndex','checkerboard','verticalOrigin','9426730Fguirf','4jxotAY','color','7371VLcaIJ','rgba(0,0,0,0.0)'];a73_0x33d0=function(){return _0x134309;};return a73_0x33d0();}function _rendererFunction(_0x361a3b,_0x1c469a,_0x17ee4b,_0xe47aca,_0x362672){var _0x84e02e=a73_0x19fc;try{var _0xd72290=_0x17ee4b['context'];for(var _0x39ee7b=0x0,_0x4cfce8=_0x1c469a[_0x84e02e(0x14f)];_0x39ee7b<_0x4cfce8;_0x39ee7b++){_0xd72290[_0x84e02e(0x162)](),_0xd72290[_0x84e02e(0x175)]();var _0x21beed=_0x1c469a[_0x39ee7b];let _0x6b4fe1=boundingExtent(_0x21beed);_0xd72290['translate'](_0x6b4fe1[0x0],_0x6b4fe1[0x1]);let _0x4f189f;switch(_0x361a3b[_0x84e02e(0x151)]){case _0x84e02e(0x14b):_0x4f189f=_getImagePattern(_0xd72290,_0x6b4fe1,_0x361a3b,_0x362672);break;case'grid':_0x4f189f=_getGridPattern(_0xd72290,_0x6b4fe1,_0x361a3b);break;case _0x84e02e(0x15e):_0x4f189f=_getStripePattern(_0xd72290,_0x6b4fe1,_0x361a3b);break;case'checkerboard':_0x4f189f=_getCheckerBoardPattern(_0xd72290,_0x6b4fe1,_0x361a3b);break;default:_0x4f189f=_0x84e02e(0x17c);break;}for(var _0x3c0dce=0x0,_0x6e7355=_0x21beed['length'];_0x3c0dce<_0x6e7355;_0x3c0dce++){var _0x2513e5=_0x21beed[_0x3c0dce];_0x3c0dce===0x0?_0xd72290['moveTo'](_0x2513e5[0x0]-_0x6b4fe1[0x0],_0x2513e5[0x1]-_0x6b4fe1[0x1]):_0xd72290[_0x84e02e(0x17e)](_0x2513e5[0x0]-_0x6b4fe1[0x0],_0x2513e5[0x1]-_0x6b4fe1[0x1]);}_0xd72290['closePath'](),_0xd72290[_0x84e02e(0x163)]=_0x84e02e(0x17c),_0xd72290['fill'](),_0xd72290['fillStyle']=_0x4f189f,_0xd72290['fill'](),_0x361a3b[_0x84e02e(0x15b)]?(_0xd72290[_0x84e02e(0x177)]=getColor(_0x361a3b[_0x84e02e(0x176)],_0x361a3b[_0x84e02e(0x165)]),_0xd72290[_0x84e02e(0x173)]=_0x361a3b['outlineWidth']):_0xd72290['strokeStyle']=_0x84e02e(0x172),_0xd72290[_0x84e02e(0x167)](),_0xd72290[_0x84e02e(0x14d)]();}}catch(_0x35f9ea){_0xd72290['restore'](),console[_0x84e02e(0x17b)](_0x35f9ea);}}function _getImagePattern(_0x33eedd,_0x49bfd2,_0x2c4952,_0x25e3ad){var _0x31aa66=a73_0x19fc;if(!_0x25e3ad||_0x25e3ad['width']===0x0){let _0x55654b=new Image();_0x55654b[_0x31aa66(0x157)]=_0x2c4952[_0x31aa66(0x14b)];}var _0x3f5cf2=getSize(_0x49bfd2);const _0xa86400=document['createElement']('canvas'),_0x1969a0=_0xa86400[_0x31aa66(0x180)]('2d');return _0xa86400[_0x31aa66(0x17a)]=Math[_0x31aa66(0x16a)](_0x3f5cf2[0x0]/_0x2c4952['repeatX'],0x1),_0xa86400['height']=Math[_0x31aa66(0x16a)](_0x3f5cf2[0x1]/_0x2c4952['repeatY'],0x1),_0x1969a0&&(_0x1969a0['globalAlpha']=_0x2c4952[_0x31aa66(0x14a)],_0x1969a0[_0x31aa66(0x17f)](_0x25e3ad,0x0,0x0,_0xa86400[_0x31aa66(0x17a)],_0xa86400[_0x31aa66(0x17d)])),_0x33eedd[_0x31aa66(0x156)](_0xa86400,'repeat');}function _getGridPattern(_0x2582a9,_0x1845c6,_0x5e427c){var _0x2ca9f9=a73_0x19fc,_0x1bcea3=getSize(_0x1845c6);const _0x5cf46b=document['createElement'](_0x2ca9f9(0x15a)),_0x3519d6=_0x5cf46b[_0x2ca9f9(0x180)]('2d');return _0x5cf46b[_0x2ca9f9(0x17a)]=Math['max'](_0x1bcea3[0x0]/_0x5e427c[_0x2ca9f9(0x161)],0x1),_0x5cf46b[_0x2ca9f9(0x17d)]=Math[_0x2ca9f9(0x16a)](_0x1bcea3[0x1]/_0x5e427c[_0x2ca9f9(0x161)],0x1),_0x3519d6&&(_0x3519d6[_0x2ca9f9(0x177)]=getColor(_0x5e427c[_0x2ca9f9(0x170)],_0x5e427c[_0x2ca9f9(0x14a)]),_0x3519d6[_0x2ca9f9(0x173)]=_0x5e427c[_0x2ca9f9(0x169)]*0x4,_0x3519d6[_0x2ca9f9(0x175)](),_0x3519d6[_0x2ca9f9(0x184)](0x0,_0x5cf46b['height']),_0x3519d6[_0x2ca9f9(0x17e)](_0x5cf46b[_0x2ca9f9(0x17a)],_0x5cf46b[_0x2ca9f9(0x17d)]),_0x3519d6[_0x2ca9f9(0x184)](_0x5cf46b['width'],0x0),_0x3519d6[_0x2ca9f9(0x17e)](_0x5cf46b[_0x2ca9f9(0x17a)],_0x5cf46b[_0x2ca9f9(0x17d)]),_0x3519d6['stroke']()),_0x2582a9[_0x2ca9f9(0x156)](_0x5cf46b,_0x2ca9f9(0x15c));}function _getStripePattern(_0x421245,_0x4240c7,_0x3be431){var _0x3dc89f=a73_0x19fc,_0x3cf978=getSize(_0x4240c7);const _0x36ea4c=document[_0x3dc89f(0x155)](_0x3dc89f(0x15a)),_0x83b26f=_0x36ea4c[_0x3dc89f(0x180)]('2d');let _0x31ed47=Math['max'](_0x3cf978[0x1]/_0x3be431[_0x3dc89f(0x153)],0x1);return _0x36ea4c[_0x3dc89f(0x17a)]=_0x3cf978[0x0],_0x36ea4c[_0x3dc89f(0x17d)]=_0x31ed47*0x2,_0x83b26f&&(_0x83b26f[_0x3dc89f(0x175)](),_0x83b26f[_0x3dc89f(0x184)](0x0,0x0),_0x83b26f[_0x3dc89f(0x17e)](_0x36ea4c[_0x3dc89f(0x17a)],0x0),_0x83b26f[_0x3dc89f(0x17e)](_0x36ea4c['width'],_0x31ed47),_0x83b26f[_0x3dc89f(0x17e)](0x0,_0x31ed47),_0x83b26f[_0x3dc89f(0x182)](),_0x83b26f[_0x3dc89f(0x163)]=getColor(_0x3be431[_0x3dc89f(0x14e)],_0x3be431[_0x3dc89f(0x14a)]),_0x83b26f['fill'](),_0x83b26f[_0x3dc89f(0x175)](),_0x83b26f[_0x3dc89f(0x184)](0x0,_0x31ed47),_0x83b26f[_0x3dc89f(0x17e)](_0x36ea4c[_0x3dc89f(0x17a)],_0x31ed47),_0x83b26f[_0x3dc89f(0x17e)](_0x36ea4c['width'],_0x31ed47*0x2),_0x83b26f[_0x3dc89f(0x17e)](0x0,_0x31ed47*0x2),_0x83b26f[_0x3dc89f(0x182)](),_0x83b26f['fillStyle']=getColor(_0x3be431[_0x3dc89f(0x170)],_0x3be431[_0x3dc89f(0x14a)]),_0x83b26f[_0x3dc89f(0x178)]()),_0x421245['createPattern'](_0x36ea4c,'repeat');}function _getCheckerBoardPattern(_0x336d7c,_0x127a67,_0x50d288){var _0x576f25=a73_0x19fc,_0x1dfeb3=getSize(_0x127a67);const _0x3c358c=document[_0x576f25(0x155)](_0x576f25(0x15a)),_0x59bd87=_0x3c358c[_0x576f25(0x180)]('2d');let _0x3d94aa=Math['max'](_0x1dfeb3[0x0]/_0x50d288[_0x576f25(0x15f)],0x1),_0x8ed4db=Math[_0x576f25(0x16a)](_0x1dfeb3[0x1]/_0x50d288[_0x576f25(0x15f)],0x1);return _0x3c358c['width']=_0x3d94aa*0x2,_0x3c358c[_0x576f25(0x17d)]=_0x8ed4db*0x2,_0x59bd87&&(_0x59bd87['beginPath'](),_0x59bd87[_0x576f25(0x184)](0x0,0x0),_0x59bd87[_0x576f25(0x17e)](_0x3d94aa,0x0),_0x59bd87[_0x576f25(0x17e)](_0x3d94aa,_0x8ed4db),_0x59bd87[_0x576f25(0x17e)](0x0,_0x8ed4db),_0x59bd87[_0x576f25(0x182)](),_0x59bd87[_0x576f25(0x163)]=getColor(_0x50d288['oddColor'],_0x50d288[_0x576f25(0x14a)]),_0x59bd87[_0x576f25(0x178)](),_0x59bd87[_0x576f25(0x175)](),_0x59bd87[_0x576f25(0x184)](_0x3d94aa,0x0),_0x59bd87[_0x576f25(0x17e)](_0x3c358c[_0x576f25(0x17a)],0x0),_0x59bd87['lineTo'](_0x3c358c['width'],_0x8ed4db),_0x59bd87[_0x576f25(0x17e)](_0x3d94aa,_0x8ed4db),_0x59bd87[_0x576f25(0x182)](),_0x59bd87[_0x576f25(0x163)]=getColor(_0x50d288[_0x576f25(0x170)],_0x50d288['opacity']),_0x59bd87[_0x576f25(0x178)](),_0x59bd87['beginPath'](),_0x59bd87[_0x576f25(0x184)](0x0,_0x8ed4db),_0x59bd87[_0x576f25(0x17e)](_0x3d94aa,_0x8ed4db),_0x59bd87[_0x576f25(0x17e)](_0x3d94aa,_0x3c358c[_0x576f25(0x17d)]),_0x59bd87[_0x576f25(0x17e)](0x0,_0x3c358c[_0x576f25(0x17d)]),_0x59bd87[_0x576f25(0x182)](),_0x59bd87[_0x576f25(0x163)]=getColor(_0x50d288['color'],_0x50d288[_0x576f25(0x14a)]),_0x59bd87[_0x576f25(0x178)](),_0x59bd87['beginPath'](),_0x59bd87[_0x576f25(0x184)](_0x3d94aa,_0x8ed4db),_0x59bd87[_0x576f25(0x17e)](_0x3c358c[_0x576f25(0x17a)],_0x8ed4db),_0x59bd87[_0x576f25(0x17e)](_0x3c358c[_0x576f25(0x17a)],_0x3c358c['height']),_0x59bd87[_0x576f25(0x17e)](_0x3d94aa,_0x3c358c[_0x576f25(0x17d)]),_0x59bd87[_0x576f25(0x182)](),_0x59bd87[_0x576f25(0x163)]=getColor(_0x50d288[_0x576f25(0x15d)],_0x50d288[_0x576f25(0x14a)]),_0x59bd87[_0x576f25(0x178)]()),_0x336d7c['createPattern'](_0x3c358c,'repeat');}
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 +1 @@
1
- (function(_0x549f5c,_0x2631db){const _0x474d63=a74_0x519b,_0x24bc31=_0x549f5c();while(!![]){try{const _0x447fad=parseInt(_0x474d63(0x19f))/0x1*(parseInt(_0x474d63(0x1aa))/0x2)+-parseInt(_0x474d63(0x182))/0x3*(-parseInt(_0x474d63(0x1a0))/0x4)+-parseInt(_0x474d63(0x18a))/0x5*(-parseInt(_0x474d63(0x1a4))/0x6)+parseInt(_0x474d63(0x17d))/0x7*(-parseInt(_0x474d63(0x177))/0x8)+-parseInt(_0x474d63(0x18f))/0x9+parseInt(_0x474d63(0x17c))/0xa+parseInt(_0x474d63(0x18b))/0xb*(parseInt(_0x474d63(0x191))/0xc);if(_0x447fad===_0x2631db)break;else _0x24bc31['push'](_0x24bc31['shift']());}catch(_0x4f7b7b){_0x24bc31['push'](_0x24bc31['shift']());}}}(a74_0x37da,0x41f4c));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';function a74_0x519b(_0x44fefe,_0x1373fc){const _0x37da4a=a74_0x37da();return a74_0x519b=function(_0x519bde,_0x2a414f){_0x519bde=_0x519bde-0x175;let _0x410e56=_0x37da4a[_0x519bde];return _0x410e56;},a74_0x519b(_0x44fefe,_0x1373fc);}export function getPolylineStyle(_0x453516,_0x52e743,_0x1db1e3,_0xf34d27){const _0x527257=a74_0x519b;var _0x275a8a,_0x12002b,_0x3f6d68;let _0x301342=(_0x275a8a=_0x453516[_0x527257(0x194)])!==null&&_0x275a8a!==void 0x0?_0x275a8a:0x0;const _0x2a5633=_0x191e30=>{const _0x52cfbb=_0x527257;var _0x5e0c3b=_0x191e30[_0x52cfbb(0x192)]();if(_0x5e0c3b)return _getRealPolyline(_0x5e0c3b,_0x453516);return _0x5e0c3b;},_0x5c5e00=_0x40b35e=>{const _0x55915d=_0x527257;var _0x3172a0=_0x40b35e[_0x55915d(0x192)]();let _0x408fb1=_0x3172a0;_0x3172a0&&(_0x408fb1=_getRealPolyline(_0x3172a0,_0x453516));if(_0x408fb1&&_0x408fb1[_0x55915d(0x19b)]()===_0x55915d(0x179))return new Point(_0x408fb1['getFlatMidpoint']());else{let _0x2b4332=_0x408fb1['getFlatMidpoints'](),_0x105b83=0x2,_0x50933a=[];for(let _0x5a7993=0x0,_0x3fb864=_0x2b4332[_0x55915d(0x1a2)];_0x5a7993<_0x3fb864;_0x5a7993+=_0x105b83){let _0x54e8dc=[_0x2b4332[_0x5a7993],_0x2b4332[_0x5a7993+0x1]];_0x50933a[_0x55915d(0x1a9)](_0x54e8dc);}return new MultiPoint(_0x50933a);}};let _0x4896a6=new Style({'geometry':_0x2a5633,'stroke':new Stroke({'color':getColor(_0x453516[_0x527257(0x176)],_0x453516['opacity']),'width':_0x453516['width']}),'zIndex':_0x301342}),_0x5996fc=[_0x4896a6];if(_0x453516[_0x527257(0x19a)]===_0x527257(0x180)){let _0x1f6780=_0x453516[_0x527257(0x18c)]/0x2,_0x89896d=new Style({'geometry':_0x2a5633,'zIndex':_0x301342,'stroke':new Stroke({'color':getColor(_0x453516['color'],_0x453516[_0x527257(0x1a1)]),'width':_0x453516['width'],'lineCap':_0x527257(0x18e),'lineDash':[_0x1f6780,_0x1f6780]})}),_0x32b6b3=new Style({'geometry':_0x2a5633,'zIndex':_0x301342+0.5,'stroke':new Stroke({'color':getColor(_0x453516[_0x527257(0x1a6)],Number((_0x3f6d68=(_0x12002b=_0x453516[_0x527257(0x183)])!==null&&_0x12002b!==void 0x0?_0x12002b:_0x453516[_0x527257(0x1a1)])!==null&&_0x3f6d68!==void 0x0?_0x3f6d68:0x1)),'width':_0x453516[_0x527257(0x19e)],'lineCap':_0x527257(0x18e),'lineDash':[_0x1f6780,_0x1f6780],'lineDashOffset':_0x1f6780})});_0x5996fc=[_0x89896d,_0x32b6b3];}_0x453516[_0x527257(0x19a)]===_0x527257(0x199)&&_0x4896a6[_0x527257(0x18d)]((_0x99b227,_0x49ebdf)=>{const _0x426bfe=_0x527257;let _0x14e3da=_0x49ebdf['context'],_0x5de021=parseInt((_0x453516['width']/0x4)[_0x426bfe(0x1ab)]()),_0x38ea2d=0xa,_0x37cef0=Math[_0x426bfe(0x197)](Math['pow'](_0x38ea2d,0x2)+Math['pow'](_0x453516['width']/0x2,0x2)),_0x3624c3=0x2d,_0x4b241c=_0x99b227[_0x99b227[_0x426bfe(0x1a2)]-0x2][0x0],_0x4f83e2=_0x99b227[_0x99b227[_0x426bfe(0x1a2)]-0x2][0x1],_0x525cfc=_0x99b227[_0x99b227[_0x426bfe(0x1a2)]-0x1][0x0],_0x34c483=_0x99b227[_0x99b227[_0x426bfe(0x1a2)]-0x1][0x1],_0x245399=Math[_0x426bfe(0x193)](_0x4f83e2-_0x34c483,_0x4b241c-_0x525cfc)*0xb4/Math['PI'],_0x3f9297=(_0x245399+_0x3624c3)*Math['PI']/0xb4,_0x11bfe6=(_0x245399-_0x3624c3)*Math['PI']/0xb4,_0xcc1b76=_0x37cef0*Math[_0x426bfe(0x190)](_0x3f9297),_0x5e3bfc=_0x37cef0*Math[_0x426bfe(0x1a3)](_0x3f9297),_0x5da211=_0x37cef0*Math[_0x426bfe(0x190)](_0x11bfe6),_0x5a9c90=_0x37cef0*Math[_0x426bfe(0x1a3)](_0x11bfe6);_0x14e3da[_0x426bfe(0x175)](),_0x14e3da[_0x426bfe(0x178)]();let _0x3b3451,_0x19fb81;for(let _0x189e65=0x0;_0x189e65<_0x99b227[_0x426bfe(0x1a2)];_0x189e65++){_0x189e65===0x0?_0x14e3da[_0x426bfe(0x184)](_0x99b227[_0x189e65][0x0],_0x99b227[_0x189e65][0x1]):_0x14e3da['lineTo'](_0x99b227[_0x189e65][0x0],_0x99b227[_0x189e65][0x1]);}_0x14e3da['strokeStyle']=getColor(_0x453516[_0x426bfe(0x176)],_0x453516[_0x426bfe(0x1a1)]),_0x14e3da[_0x426bfe(0x196)]=_0x5de021,_0x14e3da[_0x426bfe(0x181)]='butt',_0x14e3da[_0x426bfe(0x17a)](),_0x3b3451=_0x525cfc+_0xcc1b76,_0x19fb81=_0x34c483+_0x5e3bfc,_0x14e3da[_0x426bfe(0x184)](_0x3b3451,_0x19fb81),_0x14e3da[_0x426bfe(0x185)](_0x525cfc,_0x34c483),_0x3b3451=_0x525cfc+_0x5da211,_0x19fb81=_0x34c483+_0x5a9c90,_0x14e3da[_0x426bfe(0x185)](_0x3b3451,_0x19fb81),_0x14e3da[_0x426bfe(0x181)]=_0x426bfe(0x18e),_0x14e3da[_0x426bfe(0x17a)](),_0x14e3da[_0x426bfe(0x17f)]();});_0x453516[_0x527257(0x19a)]==='glow'&&_0x4896a6[_0x527257(0x18d)]((_0xd8ec5b,_0x492035)=>{const _0x3d1693=_0x527257;let _0x2fbe52=_0x492035[_0x3d1693(0x17b)];_0x2fbe52[_0x3d1693(0x175)]();for(let _0x1c3af6=0x0;_0x1c3af6<0x4;_0x1c3af6++){let _0x52b626=_0x453516[_0x3d1693(0x19e)]/0xa*(_0x453516['glowPower']===0x0?0x1:_0x453516[_0x3d1693(0x1ac)]);_0x2fbe52[_0x3d1693(0x19d)]=getColor(_0x453516[_0x3d1693(0x176)],_0x453516[_0x3d1693(0x1a1)]),_0x2fbe52[_0x3d1693(0x187)]=_0x453516[_0x3d1693(0x19e)]/0x5*0x2,_0x2fbe52['beginPath']();for(let _0x25ac46=0x0;_0x25ac46<_0xd8ec5b[_0x3d1693(0x1a2)];_0x25ac46++){_0x25ac46===0x0?_0x2fbe52[_0x3d1693(0x184)](_0xd8ec5b[_0x25ac46][0x0],_0xd8ec5b[_0x25ac46][0x1]):_0x2fbe52[_0x3d1693(0x185)](_0xd8ec5b[_0x25ac46][0x0],_0xd8ec5b[_0x25ac46][0x1]);}_0x2fbe52['lineCap']=_0x3d1693(0x18e),_0x2fbe52[_0x3d1693(0x196)]=_0x52b626,_0x2fbe52[_0x3d1693(0x195)]=getColor(_0x3d1693(0x1a5),_0x453516[_0x3d1693(0x1a1)]),_0x2fbe52[_0x3d1693(0x17a)]();}_0x2fbe52[_0x3d1693(0x17f)]();});_0x453516[_0x527257(0x19a)]===_0x527257(0x1a7)&&_0x4896a6['setRenderer']((_0x4ca551,_0x3ef286)=>{const _0x1e4889=_0x527257;let _0x584b60=_0x3ef286[_0x1e4889(0x17b)];_0x584b60[_0x1e4889(0x175)](),_0x584b60[_0x1e4889(0x178)]();for(let _0x3e45a4=0x0;_0x3e45a4<_0x4ca551[_0x1e4889(0x1a2)];_0x3e45a4++){_0x3e45a4===0x0?_0x584b60[_0x1e4889(0x184)](_0x4ca551[_0x3e45a4][0x0],_0x4ca551[_0x3e45a4][0x1]):_0x584b60[_0x1e4889(0x185)](_0x4ca551[_0x3e45a4][0x0],_0x4ca551[_0x3e45a4][0x1]);}_0x584b60['lineCap']=_0x1e4889(0x18e),_0x584b60[_0x1e4889(0x196)]=_0x453516['width'],_0x584b60['strokeStyle']=getColor(_0x453516[_0x1e4889(0x1a6)],_0x453516[_0x1e4889(0x1a1)]),_0x584b60[_0x1e4889(0x17a)](),_0x584b60[_0x1e4889(0x178)]();for(let _0x313ca5=0x0;_0x313ca5<_0x4ca551[_0x1e4889(0x1a2)];_0x313ca5++){_0x313ca5===0x0?_0x584b60[_0x1e4889(0x184)](_0x4ca551[_0x313ca5][0x0],_0x4ca551[_0x313ca5][0x1]):_0x584b60[_0x1e4889(0x185)](_0x4ca551[_0x313ca5][0x0],_0x4ca551[_0x313ca5][0x1]);}_0x584b60[_0x1e4889(0x181)]=_0x1e4889(0x18e),_0x453516[_0x1e4889(0x18c)]>=_0x453516[_0x1e4889(0x19e)]&&(_0x453516['outlineWidth']=_0x453516[_0x1e4889(0x19e)]-0x1),_0x584b60['lineWidth']=_0x453516['width']-_0x453516[_0x1e4889(0x18c)],_0x584b60[_0x1e4889(0x195)]=getColor(_0x453516[_0x1e4889(0x176)],_0x453516['opacity']),_0x584b60['stroke'](),_0x584b60['restore']();});let _0x5cdb96=getImageOlStyle(_0x453516[_0x527257(0x19c)],_0x301342,_0x1db1e3,_0xf34d27);_0x5cdb96&&(_0x5cdb96[_0x527257(0x1ad)](_0x5c5e00),_0x5996fc[_0x527257(0x1a9)](_0x5cdb96));if(_0x453516['label']&&_0x453516[_0x527257(0x17e)][_0x527257(0x189)]!==![]){let _0x1403d8=new Style({'geometry':_0x5c5e00,'text':createTextStyle(_0x453516['label'],_0x52e743,_0x1db1e3,_0xf34d27),'zIndex':Number(_0x301342)+0x1});_0x5996fc[_0x527257(0x1a9)](_0x1403d8);}return _0x5996fc;}function _getRealPolyline(_0x26cef0,_0x340200){const _0x17d255=a74_0x519b;if(!(_0x340200===null||_0x340200===void 0x0?void 0x0:_0x340200['closed']))return _0x26cef0;else{if(_0x26cef0[_0x17d255(0x19b)]()===_0x17d255(0x186)){let _0x288236=_0x26cef0[_0x17d255(0x198)]();for(let _0x54cc08 in _0x288236){let _0x52f884=_0x288236[_0x54cc08];_0x288236[_0x54cc08]=_0x52f884[_0x17d255(0x188)]([_0x52f884[0x0]]);}return new MultiLineString(_0x288236);}else return new LineString(_0x26cef0[_0x17d255(0x198)]()[_0x17d255(0x188)]([_0x26cef0[_0x17d255(0x1a8)]()]));}}function a74_0x37da(){const _0x424072=['lineCap','6663SMuRmI','outlineOpacity','moveTo','lineTo','MultiLineString','shadowBlur','concat','show','495fQiyFL','12914tspnhU','outlineWidth','setRenderer','butt','4210596LNniqL','cos','804rYMJvl','getGeometry','atan2','zIndex','strokeStyle','lineWidth','sqrt','getCoordinates','arrow','lineType','getType','billboard','shadowColor','width','37028Hruxxd','272peXIfT','opacity','length','sin','16860GkiGAg','white','outlineColor','outline','getFirstCoordinate','push','26Dabmcv','toString','glowPower','setGeometry','save','color','11912VmOMIK','beginPath','LineString','stroke','context','2505530FpWDWL','2359UGnXFi','label','restore','dash'];a74_0x37da=function(){return _0x424072;};return a74_0x37da();}
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 +1 @@
1
- (function(_0x53b8d4,_0x44fc6b){const _0x2ced06=a75_0x4631,_0x1364f0=_0x53b8d4();while(!![]){try{const _0x14b2ad=-parseInt(_0x2ced06(0xcf))/0x1*(parseInt(_0x2ced06(0xc3))/0x2)+-parseInt(_0x2ced06(0xd3))/0x3*(parseInt(_0x2ced06(0xbe))/0x4)+parseInt(_0x2ced06(0xd2))/0x5+parseInt(_0x2ced06(0xca))/0x6*(parseInt(_0x2ced06(0xbc))/0x7)+parseInt(_0x2ced06(0xc6))/0x8+-parseInt(_0x2ced06(0xb4))/0x9*(parseInt(_0x2ced06(0xd4))/0xa)+parseInt(_0x2ced06(0xc9))/0xb*(parseInt(_0x2ced06(0xd6))/0xc);if(_0x14b2ad===_0x44fc6b)break;else _0x1364f0['push'](_0x1364f0['shift']());}catch(_0x38dda5){_0x1364f0['push'](_0x1364f0['shift']());}}}(a75_0xdc27,0xbcd60));import a75_0x2f64be from'ol/style/Circle';function a75_0x4631(_0x509832,_0x254036){const _0xdc27e=a75_0xdc27();return a75_0x4631=function(_0x4631bf,_0x21001a){_0x4631bf=_0x4631bf-0xb3;let _0x257afb=_0xdc27e[_0x4631bf];return _0x257afb;},a75_0x4631(_0x509832,_0x254036);}function a75_0xdc27(){const _0xd34da9=['5475792KimFBl','setText','Point','333542hgXHTa','2454eOLURG','rgba(121,\x20243,\x20238,\x200.3)','Polygon','setStroke','color','604172KyOmjY','rgba(121,\x20243,\x20238,\x200)','rgba(121,\x20243,\x20238,\x201)','1751430sSiECm','229377yiuDMD','820KPvUVV','text','240yiXVtU','MultiPolygon','scale','151839ciVjEj','outlineWidth','outlineColor','setImage','outlineOpacity','imgurl','MultiLineString','rgba(0,\x20255,0,\x201)','20475ePLWKx','rotation','4QLppQZ','opacity','pointType','MultiPoint','icon','2wjGFTr','LineString','setFill'];a75_0xdc27=function(){return _0xd34da9;};return a75_0xdc27();}import a75_0x1ebf9c from'ol/style/Fill';import a75_0x5d32de from'ol/style/Stroke';import a75_0x52b2f3 from'ol/style/Style';import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x1fb684=a75_0x4631;return new a75_0x52b2f3({'image':new a75_0x2f64be({'radius':0x5,'fill':new a75_0x1ebf9c({'color':_0x1fb684(0xd1)}),'stroke':new a75_0x5d32de({'color':_0x1fb684(0xd1),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x4bdac3=a75_0x4631;return new a75_0x52b2f3({'image':new a75_0x2f64be({'radius':0x5,'fill':new a75_0x1ebf9c({'color':_0x4bdac3(0xd0)}),'stroke':new a75_0x5d32de({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectLineStyle(){const _0xcb8576=a75_0x4631;return new a75_0x52b2f3({'stroke':new a75_0x5d32de({'color':_0xcb8576(0xd1),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x12be60=a75_0x4631;return new a75_0x52b2f3({'stroke':new a75_0x5d32de({'color':_0x12be60(0xbb),'width':0x2})});}export function getSelectPolygonStyle(){const _0xbebcf9=a75_0x4631;return new a75_0x52b2f3({'stroke':new a75_0x5d32de({'color':_0xbebcf9(0xd1),'width':0x2}),'fill':new a75_0x1ebf9c({'color':_0xbebcf9(0xcb)})});}export function getSelectCancelPolygonStyle(){const _0x10d949=a75_0x4631;return new a75_0x52b2f3({'stroke':new a75_0x5d32de({'color':_0x10d949(0xbb),'width':0x2}),'fill':new a75_0x1ebf9c({'color':'rgba(0,\x20255,0,\x200)'})});}export function getStyle(_0x39382a){const _0x4e7041=a75_0x4631;if(_0x39382a){const _0x1e3130=new a75_0x52b2f3();if(_0x39382a[_0x4e7041(0xd5)]){const _0x2e54ef=createTextStyle(_0x39382a,_0x39382a[_0x4e7041(0xd5)]);_0x2e54ef&&_0x1e3130[_0x4e7041(0xc7)](_0x2e54ef),_0x1e3130['setZIndex'](0x1);}return _0x39382a[_0x4e7041(0xb6)]&&_0x1e3130[_0x4e7041(0xcd)](new a75_0x5d32de({'color':getColor(_0x39382a[_0x4e7041(0xb6)],_0x39382a[_0x4e7041(0xb8)]),'width':_0x39382a[_0x4e7041(0xb5)]||0x1})),_0x39382a[_0x4e7041(0xce)]&&_0x1e3130[_0x4e7041(0xc5)](new a75_0x1ebf9c({'color':getColor(_0x39382a[_0x4e7041(0xce)],_0x39382a[_0x4e7041(0xbf)])})),_0x39382a[_0x4e7041(0xc0)]=='circle'&&_0x1e3130[_0x4e7041(0xb7)](new a75_0x2f64be({'radius':_0x39382a['radius']||0x5,'fill':new a75_0x1ebf9c({'color':getColor(_0x39382a[_0x4e7041(0xce)],_0x39382a[_0x4e7041(0xbf)])})})),(_0x39382a[_0x4e7041(0xc0)]==_0x4e7041(0xc2)||_0x39382a[_0x4e7041(0xb9)])&&_0x1e3130['setImage'](new Icon({'src':_0x39382a[_0x4e7041(0xb9)],'anchor':_0x39382a['anchor']||[0.5,0.5],'scale':_0x39382a[_0x4e7041(0xb3)]||0x1,'rotation':_0x39382a[_0x4e7041(0xbd)]||0x0})),_0x1e3130;}return new a75_0x52b2f3({'stroke':new a75_0x5d32de({'color':_0x4e7041(0xd1),'width':0x2}),'fill':new a75_0x1ebf9c({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectStyle(_0x4df855){const _0x42799b=a75_0x4631;let _0x156105=getSelectPolygonStyle();switch(_0x4df855){case _0x42799b(0xd7):case _0x42799b(0xcc):_0x156105=getSelectPolygonStyle();break;case _0x42799b(0xba):case _0x42799b(0xc4):_0x156105=getSelectLineStyle();break;case _0x42799b(0xc1):case _0x42799b(0xc8):_0x156105=getSelectPointStyle();break;default:break;}return _0x156105;}
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();}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0xfb2ab0,_0x13df5a){const _0x27b65c=a71_0x3cea,_0x3d69d6=_0xfb2ab0();while(!![]){try{const _0x11f423=parseInt(_0x27b65c(0x192))/0x1*(parseInt(_0x27b65c(0x193))/0x2)+-parseInt(_0x27b65c(0x1aa))/0x3*(parseInt(_0x27b65c(0x18b))/0x4)+parseInt(_0x27b65c(0x198))/0x5+-parseInt(_0x27b65c(0x19d))/0x6+-parseInt(_0x27b65c(0x196))/0x7+-parseInt(_0x27b65c(0x1a9))/0x8+-parseInt(_0x27b65c(0x19c))/0x9;if(_0x11f423===_0x13df5a)break;else _0x3d69d6['push'](_0x3d69d6['shift']());}catch(_0x4d461b){_0x3d69d6['push'](_0x3d69d6['shift']());}}}(a71_0x4aa5,0xe1d73));import a71_0x3475fb from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a71_0x15dcbc from'../utils/plug/canvas/PinIcon';import a71_0x4bd9bf from'ol/ImageState';export function isShowStyle(_0x3447ea,_0x116351,_0xb46293){const _0x123e4d=a71_0x3cea;let _0x4a678c=!![];if(_0x116351==undefined||_0xb46293==undefined)return _0x4a678c;if(_0x3447ea&&typeof _0x3447ea['distanceDisplayFar']!=undefined&&typeof _0x3447ea[_0x123e4d(0x199)]!=undefined){if(_0x3447ea[_0x123e4d(0x182)]&&_0xb46293){_0x4a678c=![];let _0x32e3c7=getLevel(_0x3447ea[_0x123e4d(0x182)]),_0x41f796=_0xb46293[_0x123e4d(0x194)]()['getResolutionForZoom'](_0x32e3c7);_0x116351<_0x41f796&&(_0x4a678c=!![]);}if(_0x4a678c&&_0x3447ea[_0x123e4d(0x199)]&&_0xb46293){_0x4a678c=![];let _0x24b30e=getLevel(_0x3447ea[_0x123e4d(0x199)]),_0xbf335c=_0xb46293[_0x123e4d(0x194)]()[_0x123e4d(0x1ab)](_0x24b30e);_0x116351>_0xbf335c&&(_0x4a678c=!![]);}}return _0x4a678c;}function a71_0x4aa5(){const _0x1caf31=['pow','1247182TiguTh','2ysTSHv','getView','getImage','770924qaqpVc','ERROR','8686345wbnLpv','distanceDisplayNear','px\x20','offsetY','3344607dsrPIm','1079310OgDQpa','borderLineOpacity','opacity','\x20normal\x20','getImageState','load','LOADED','weight','backgroundOpacity','IDLE','haloColor','#2A2A2A','413536lwdIqm','15012xHhjrx','getResolutionForZoom','haloWidth','distanceDisplayFar','borderLineColor','italic','backgroundColor','haloOpacity','center','normal','size','target','1076fPLWdu','hexa','family','font','offsetX','image'];a71_0x4aa5=function(){return _0x1caf31;};return a71_0x4aa5();}export function getLevel(_0x3e09e7){const _0x1da631=a71_0x3cea,_0x917d95=3252.745,_0x3974fb=0.0009198301,_0xee211c=52977.61,_0x400d66=-3228.107;return _0x400d66+(_0x917d95-_0x400d66)/(0x1+Math[_0x1da631(0x191)](_0x3e09e7/_0xee211c,_0x3974fb));}export function toRadians(_0x29d036){if(_0x29d036)return-(_0x29d036*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x262bd6,_0x11fef1,_0x487a3c,_0x26eea6){const _0x381733=a71_0x3cea;var _0x323ccf,_0x1872b7,_0x27d2c3,_0x5d3dc7,_0x1edb8b,_0x47cdb3,_0x349247,_0x3a29e3;if(_0x262bd6){let _0x28dd73=isShowStyle(_0x262bd6,_0x487a3c,_0x26eea6);if(_0x28dd73===![])return undefined;else{const _0x5cd2be=_0x262bd6[_0x381733(0x18e)],_0x52cec9=(_0x5cd2be===null||_0x5cd2be===void 0x0?void 0x0:_0x5cd2be[_0x381733(0x184)])?'italic':'normal',_0x526d2f=(_0x5cd2be===null||_0x5cd2be===void 0x0?void 0x0:_0x5cd2be[_0x381733(0x1a4)])?'bold':_0x381733(0x188),_0xe3516a=(_0x5cd2be===null||_0x5cd2be===void 0x0?void 0x0:_0x5cd2be[_0x381733(0x189)])||'25',_0x305da6=(_0x5cd2be===null||_0x5cd2be===void 0x0?void 0x0:_0x5cd2be[_0x381733(0x18d)])||'楷体';let _0x273bac=_0x52cec9+_0x381733(0x1a0)+_0x526d2f+'\x20'+_0xe3516a+_0x381733(0x19a)+_0x305da6,_0x42e594=(_0x5cd2be===null||_0x5cd2be===void 0x0?void 0x0:_0x5cd2be[_0x381733(0x18f)])||0x0,_0xc9a7ca=(_0x5cd2be===null||_0x5cd2be===void 0x0?void 0x0:_0x5cd2be[_0x381733(0x19b)])||0x0,_0x43bd3b=(_0x5cd2be===null||_0x5cd2be===void 0x0?void 0x0:_0x5cd2be['textBaseline'])||'middle',_0x114904=(_0x5cd2be===null||_0x5cd2be===void 0x0?void 0x0:_0x5cd2be['textAlign'])||_0x381733(0x187);const _0x1e67b6=_0x262bd6[_0x381733(0x19f)]||0x1;let _0x3ffa8a=undefined;return(_0x5cd2be===null||_0x5cd2be===void 0x0?void 0x0:_0x5cd2be['haloColor'])&&(_0x3ffa8a=_getStroke(_0x5cd2be[_0x381733(0x1a7)],_0x5cd2be[_0x381733(0x186)],_0x5cd2be[_0x381733(0x181)])),new Text({'overflow':!![],'text':_0x11fef1,'font':_0x273bac,'offsetX':_0x42e594,'offsetY':_0xc9a7ca,'textAlign':_0x114904,'textBaseline':_0x43bd3b,'fill':new Fill({'color':getColor(((_0x323ccf=_0x262bd6['font'])===null||_0x323ccf===void 0x0?void 0x0:_0x323ccf['color'])||'#000000',_0x1e67b6)}),'stroke':_0x3ffa8a,'backgroundFill':((_0x1872b7=_0x262bd6[_0x381733(0x18e)])===null||_0x1872b7===void 0x0?void 0x0:_0x1872b7[_0x381733(0x185)])?new Fill({'color':getColor(((_0x27d2c3=_0x262bd6[_0x381733(0x18e)])===null||_0x27d2c3===void 0x0?void 0x0:_0x27d2c3['backgroundColor'])||_0x381733(0x1a8),((_0x5d3dc7=_0x262bd6['font'])===null||_0x5d3dc7===void 0x0?void 0x0:_0x5d3dc7[_0x381733(0x1a5)])||0x1)}):undefined,'backgroundStroke':((_0x1edb8b=_0x262bd6['font'])===null||_0x1edb8b===void 0x0?void 0x0:_0x1edb8b['borderLineColor'])?_getStroke((_0x47cdb3=_0x262bd6[_0x381733(0x18e)])===null||_0x47cdb3===void 0x0?void 0x0:_0x47cdb3[_0x381733(0x183)],((_0x349247=_0x262bd6[_0x381733(0x18e)])===null||_0x349247===void 0x0?void 0x0:_0x349247[_0x381733(0x19e)])||0x1,((_0x3a29e3=_0x262bd6[_0x381733(0x18e)])===null||_0x3a29e3===void 0x0?void 0x0:_0x3a29e3['borderLineWidth'])||0x1):undefined});}}else return undefined;}export function getColor(_0x147f56,_0x2201e3){const _0x29e7c5=a71_0x3cea;return a71_0x3475fb(_0x147f56)['alpha'](_0x2201e3!=undefined?_0x2201e3:0x1)[_0x29e7c5(0x18c)]();}function a71_0x3cea(_0x35e7cd,_0x268e08){const _0x4aa5de=a71_0x4aa5();return a71_0x3cea=function(_0x3cea6e,_0x1cd707){_0x3cea6e=_0x3cea6e-0x181;let _0x3e40cb=_0x4aa5de[_0x3cea6e];return _0x3e40cb;},a71_0x3cea(_0x35e7cd,_0x268e08);}function _getStroke(_0x17b995,_0x3e402d,_0x421413){return new Stroke({'color':getColor(_0x17b995,_0x3e402d),'width':_0x421413==undefined?0x1:_0x421413});}export function preLoadImageRenderFunction(_0x20a2fa,_0x277d1,_0x531c84,_0x3903cd,_0x101df1){const _0x2077ba=a71_0x3cea;let _0x4d3f2e;_0x20a2fa['markerColor']?_0x4d3f2e=new a71_0x15dcbc(_0x20a2fa):_0x4d3f2e=new Icon({'src':_0x20a2fa[_0x2077ba(0x190)]});let _0x14d372=_0x4d3f2e[_0x2077ba(0x1a1)]();_0x14d372===a71_0x4bd9bf[_0x2077ba(0x1a3)]||_0x14d372===a71_0x4bd9bf[_0x2077ba(0x197)]?_0x101df1(_0x20a2fa,_0x277d1,_0x531c84,_0x3903cd,_0x4d3f2e[_0x2077ba(0x195)](0x60)):(_0x14d372===a71_0x4bd9bf[_0x2077ba(0x1a6)]&&_0x4d3f2e[_0x2077ba(0x1a2)](),_0x4d3f2e['listenImageChange'](_0x3489d5=>{const _0x2e9846=_0x2077ba;_0x14d372=_0x3489d5[_0x2e9846(0x18a)][_0x2e9846(0x1a1)](),(_0x14d372===a71_0x4bd9bf['LOADED']||_0x14d372===a71_0x4bd9bf['ERROR'])&&_0x101df1(_0x20a2fa,_0x277d1,_0x531c84,_0x3903cd,_0x4d3f2e[_0x2e9846(0x195)](0x60));}));}
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 +1 @@
1
- (function(_0x4b4f1e,_0x36df8a){const _0x218951=a76_0x3d75,_0x1c0074=_0x4b4f1e();while(!![]){try{const _0x5c12c3=-parseInt(_0x218951(0xc1))/0x1+parseInt(_0x218951(0xb6))/0x2*(-parseInt(_0x218951(0xba))/0x3)+parseInt(_0x218951(0xc0))/0x4+-parseInt(_0x218951(0xbf))/0x5*(parseInt(_0x218951(0xbd))/0x6)+parseInt(_0x218951(0xb8))/0x7+parseInt(_0x218951(0xbb))/0x8+parseInt(_0x218951(0xc2))/0x9;if(_0x5c12c3===_0x36df8a)break;else _0x1c0074['push'](_0x1c0074['shift']());}catch(_0x1a7155){_0x1c0074['push'](_0x1c0074['shift']());}}}(a76_0x56f5,0x483d2));export function getDeepth(_0x55761a){function _0x22a3e1(_0x57e321,_0x160700){const _0x1e4153=a76_0x3d75;return _0x57e321[_0x1e4153(0xb9)](function(_0x46d05a,_0x2b1447){const _0xebae57=_0x1e4153;var _0x231e46;return Array[_0xebae57(0xb5)](_0x2b1447)&&(_0x231e46=_0x22a3e1(_0x2b1447,_0x160700+0x1)),_0x231e46>_0x46d05a?_0x231e46:_0x46d05a;},_0x160700);}return _0x22a3e1(_0x55761a,0x1);}function a76_0x56f5(){const _0x429f07=['6097410BFHRgT','every','isArray','3734gbOBAA','length','2455383dYHEvT','reduce','375xBjXoq','609472FuHiud','keys','98052nLAQKV','object','50NBdwhD','508204FgXtSN','538809MmJHcX'];a76_0x56f5=function(){return _0x429f07;};return a76_0x56f5();}export function compareArray(_0x39979d,_0x325fab){const _0x44c610=a76_0x3d75;if(_0x39979d[_0x44c610(0xb7)]!==_0x325fab[_0x44c610(0xb7)])return![];const _0xb3ce84=_0x39979d[_0x44c610(0xb7)];for(let _0x575f6e=0x0;_0x575f6e<_0xb3ce84;_0x575f6e++){if(!compare(_0x39979d[_0x575f6e],_0x325fab[_0x575f6e]))return![];}return!![];}function a76_0x3d75(_0x3c63fb,_0x4933b0){const _0x56f5d7=a76_0x56f5();return a76_0x3d75=function(_0x3d7542,_0x2fa083){_0x3d7542=_0x3d7542-0xb4;let _0x16b9b5=_0x56f5d7[_0x3d7542];return _0x16b9b5;},a76_0x3d75(_0x3c63fb,_0x4933b0);}export function compare(_0x4e09fd,_0x254a02){const _0x328cdc=a76_0x3d75;if(_0x4e09fd===_0x254a02)return!![];if(typeof _0x4e09fd!==typeof _0x254a02||_0x4e09fd===null||_0x254a02===null)return![];if(Array[_0x328cdc(0xb5)](_0x4e09fd)){if(!Array['isArray'](_0x254a02))return![];return compareArray(_0x4e09fd,_0x254a02);}if(typeof _0x4e09fd===_0x328cdc(0xbe))return compareObject(_0x4e09fd,_0x254a02);return![];}export function compareObject(_0x55077f,_0x2a56f1){const _0x3e7173=a76_0x3d75,_0x52eff8=Object['keys'](_0x55077f),_0x20d669=Object[_0x3e7173(0xbc)](_0x2a56f1);if(_0x52eff8[_0x3e7173(0xb7)]!==_0x20d669[_0x3e7173(0xb7)])return![];return _0x52eff8[_0x3e7173(0xb4)](_0x973b9c=>{if(!compare(_0x55077f[_0x973b9c],_0x2a56f1[_0x973b9c]))return![];return!![];});}
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 +1 @@
1
- function a77_0x33f4(){const _0x12aa3c=['42uXWreg','append','constructor','14FaCwKl','ajax','stringify','539470yBVtiH','create','1124984SAbjvM','211539UhdprS','495968DklboE','307890mAQxfw','get','jsonp','52840KNnKlU','425508xPloBR','3hPZtjN'];a77_0x33f4=function(){return _0x12aa3c;};return a77_0x33f4();}const a77_0x59d9e4=a77_0x1613;(function(_0x49d511,_0x3d9d02){const _0x300b14=a77_0x1613,_0x5f3ebf=_0x49d511();while(!![]){try{const _0x27f26e=parseInt(_0x300b14(0x14c))/0x1+-parseInt(_0x300b14(0x14d))/0x2+-parseInt(_0x300b14(0x142))/0x3*(-parseInt(_0x300b14(0x141))/0x4)+parseInt(_0x300b14(0x140))/0x5*(-parseInt(_0x300b14(0x143))/0x6)+-parseInt(_0x300b14(0x146))/0x7*(-parseInt(_0x300b14(0x14b))/0x8)+-parseInt(_0x300b14(0x14e))/0x9+parseInt(_0x300b14(0x149))/0xa;if(_0x27f26e===_0x3d9d02)break;else _0x5f3ebf['push'](_0x5f3ebf['shift']());}catch(_0x4bfe7d){_0x5f3ebf['push'](_0x5f3ebf['shift']());}}}(a77_0x33f4,0x487eb));import a77_0xeadc99 from'axios';import a77_0x4cad9b from'jquery';const request=a77_0xeadc99[a77_0x59d9e4(0x14a)]({'timeout':0xb4*0x3e8});function a77_0x1613(_0x13dea6,_0x1007a8){const _0x33f4ff=a77_0x33f4();return a77_0x1613=function(_0x1613d9,_0x1824b9){_0x1613d9=_0x1613d9-0x13e;let _0x2fbc1b=_0x33f4ff[_0x1613d9];return _0x2fbc1b;},a77_0x1613(_0x13dea6,_0x1007a8);}export function jsonp(_0x4f3d44){return new Promise((_0x335a81,_0x43f47b)=>{const _0x871f6c=a77_0x1613;a77_0x4cad9b[_0x871f6c(0x147)]({'url':_0x4f3d44,'type':_0x871f6c(0x13e),'dataType':_0x871f6c(0x13f),'success':_0x1d8cc6=>{_0x335a81(_0x1d8cc6);},'error':_0xe92cab=>{_0x43f47b(_0xe92cab);}});});}export function stringify(_0x515193){const _0x7f2c87=a77_0x59d9e4,_0x5af85f=new FormData();for(const _0x5c2b51 in _0x515193){if(_0x515193['hasOwnProperty'](_0x5c2b51)){if(_0x515193[_0x5c2b51]){if(_0x515193[_0x5c2b51][_0x7f2c87(0x145)]===Array)_0x515193[_0x5c2b51][0x0]?_0x515193[_0x5c2b51][0x0][_0x7f2c87(0x145)]===Object?_0x5af85f[_0x7f2c87(0x144)](_0x5c2b51,JSON[_0x7f2c87(0x148)](_0x515193[_0x5c2b51])):_0x515193[_0x5c2b51]['forEach']((_0x268464,_0x2c0a69)=>{const _0x2713e1=_0x7f2c87;_0x5af85f[_0x2713e1(0x144)](_0x5c2b51+('['+_0x2c0a69+']'),_0x268464);}):_0x5af85f[_0x7f2c87(0x144)](_0x5c2b51+'[]','');else _0x515193[_0x5c2b51]['constructor']===Object?_0x5af85f[_0x7f2c87(0x144)](_0x5c2b51,JSON[_0x7f2c87(0x148)](_0x515193[_0x5c2b51])):_0x5af85f[_0x7f2c87(0x144)](_0x5c2b51,_0x515193[_0x5c2b51]);}else _0x515193[_0x5c2b51]===0x0?_0x5af85f[_0x7f2c87(0x144)](_0x5c2b51,'0'):_0x5af85f[_0x7f2c87(0x144)](_0x5c2b51,'');}}return _0x5af85f;}export default request;
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;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- function a78_0x22ca(_0x847285,_0x2a6996){const _0x52fd02=a78_0x52fd();return a78_0x22ca=function(_0x22ca39,_0x3c54c4){_0x22ca39=_0x22ca39-0x117;let _0xd7597c=_0x52fd02[_0x22ca39];return _0xd7597c;},a78_0x22ca(_0x847285,_0x2a6996);}(function(_0x48bbe2,_0x14f7ce){const _0x2d797a=a78_0x22ca,_0x5abfa9=_0x48bbe2();while(!![]){try{const _0x2da51d=-parseInt(_0x2d797a(0x11f))/0x1*(parseInt(_0x2d797a(0x125))/0x2)+parseInt(_0x2d797a(0x123))/0x3*(parseInt(_0x2d797a(0x11e))/0x4)+-parseInt(_0x2d797a(0x11d))/0x5*(-parseInt(_0x2d797a(0x117))/0x6)+-parseInt(_0x2d797a(0x124))/0x7*(parseInt(_0x2d797a(0x11a))/0x8)+-parseInt(_0x2d797a(0x122))/0x9*(parseInt(_0x2d797a(0x120))/0xa)+parseInt(_0x2d797a(0x11b))/0xb*(-parseInt(_0x2d797a(0x119))/0xc)+parseInt(_0x2d797a(0x127))/0xd*(parseInt(_0x2d797a(0x118))/0xe);if(_0x2da51d===_0x14f7ce)break;else _0x5abfa9['push'](_0x5abfa9['shift']());}catch(_0x38cd5b){_0x5abfa9['push'](_0x5abfa9['shift']());}}}(a78_0x52fd,0xc5665));export function getEsriSpatialReference(_0x45e291){const _0x21b378=a78_0x22ca;let _0x40ffd0;if(_0x45e291){let _0x215094=_0x45e291['toUpperCase']();_0x215094[_0x21b378(0x121)](_0x21b378(0x11c))===0x0?_0x40ffd0=_0x45e291[_0x21b378(0x126)]('EPSG:',''):_0x40ffd0=_0x45e291;}return _0x40ffd0;}function a78_0x52fd(){const _0x3a6095=['1100seFHOQ','indexOf','68841PSvCpC','219ImPTKS','7411173mEzyFL','624364sNSKGS','replace','13ElUxcO','243234vUiFeI','41564222lRUrUW','617748nzYqNn','8pItmNT','308bezOUq','EPSG:','160cKFrfg','10748zGcZzb','1GeMhxe'];a78_0x52fd=function(){return _0x3a6095;};return a78_0x52fd();}
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 +1 @@
1
- const a81_0xe3cc3f=a81_0x4130;(function(_0x4d9b2d,_0x14ee5a){const _0x13d62b=a81_0x4130,_0x336604=_0x4d9b2d();while(!![]){try{const _0x1a83a2=-parseInt(_0x13d62b(0xad))/0x1*(-parseInt(_0x13d62b(0xae))/0x2)+parseInt(_0x13d62b(0xa1))/0x3+-parseInt(_0x13d62b(0xa0))/0x4+parseInt(_0x13d62b(0xbf))/0x5+parseInt(_0x13d62b(0x9e))/0x6+parseInt(_0x13d62b(0x9a))/0x7*(-parseInt(_0x13d62b(0xa6))/0x8)+-parseInt(_0x13d62b(0x99))/0x9;if(_0x1a83a2===_0x14ee5a)break;else _0x336604['push'](_0x336604['shift']());}catch(_0x5d4a90){_0x336604['push'](_0x336604['shift']());}}}(a81_0x333d,0xb899a));import a81_0x11b065 from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a81_0x433b42}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a81_0x4d0f83,getArea as a81_0x5879ea}from'ol/sphere';function a81_0x4130(_0x298108,_0x2adc17){const _0x333d15=a81_0x333d();return a81_0x4130=function(_0x41304e,_0x2cdfa7){_0x41304e=_0x41304e-0x96;let _0x2e564f=_0x333d15[_0x41304e];return _0x2e564f;},a81_0x4130(_0x298108,_0x2adc17);}import a81_0x39ff50 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a81_0x477d1e from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a81_0x54fe31 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a81_0x521221 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a81_0x2425fd from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a81_0x3d8c2e from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a81_0x302fd1 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 a81_0x344f9f from'ol/format/WKT';import a81_0x2ff6f0 from'ol/format/EsriJSON';const _parser=new a81_0x521221(undefined,undefined);_parser[a81_0xe3cc3f(0xa5)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x5905fa,_0x25ae5c,_0x1e6935=![]){const _0x2ef183=a81_0xe3cc3f;if(!_0x5905fa)return 0x0;if(typeof _0x25ae5c==_0x2ef183(0x9b)){let _0x5dfebe=registerProj(_0x25ae5c);if(_0x5dfebe==null)return console[_0x2ef183(0xba)](_0x2ef183(0xb2)),0x0;_0x25ae5c=_0x5dfebe;}const _0x2db73a=isSpheroid(_0x25ae5c);if(_0x1e6935)return a81_0x5879ea(_0x5905fa,{'projection':_0x25ae5c});else{if(_0x2db73a){const _0x43470c=getGeoProjection(_0x5905fa,_0x25ae5c);return _0x5905fa[_0x2ef183(0xa2)]()[_0x2ef183(0xab)](_0x25ae5c,_0x43470c)['getArea']();}return _0x5905fa['getArea']();}}export function getLength(_0x20d365,_0x4c9223,_0x50023f=![]){const _0x51037e=a81_0xe3cc3f;if(!_0x20d365)return 0x0;if(typeof _0x4c9223=='string'){let _0x3d64a6=registerProj(_0x4c9223);if(_0x3d64a6==null)return console[_0x51037e(0xba)]('未找到投影信息'),0x0;_0x4c9223=_0x3d64a6;}const _0x24f2fd=isSpheroid(_0x4c9223);if(_0x50023f)return a81_0x4d0f83(_0x20d365,{'projection':_0x4c9223});else{let _0x3ba6ca=_0x20d365;if(_0x24f2fd){const _0x13b7e4=getGeoProjection(_0x20d365,_0x4c9223);_0x3ba6ca=_0x20d365[_0x51037e(0xa2)]()[_0x51037e(0xab)](_0x4c9223,_0x13b7e4);}if(_0x3ba6ca instanceof LineString)return _0x3ba6ca[_0x51037e(0xbe)]();else{let _0x34fcfa=0x0;for(let _0x3a4077=0x0;_0x3a4077<_0x3ba6ca[_0x51037e(0xb0)]()[_0x51037e(0x9c)];_0x3a4077++){_0x34fcfa+=_0x3ba6ca['getLineStrings']()[_0x3a4077][_0x51037e(0xbe)]();}return _0x34fcfa;}}}export function bufferOp(_0x59e76c,_0x3d1ff5){const _0x542ec0=a81_0xe3cc3f,_0x474fc4=_parser[_0x542ec0(0xc1)](_0x59e76c),_0x469518=a81_0x39ff50['bufferOp'](_0x474fc4,_0x3d1ff5);return _parser[_0x542ec0(0xc4)](_0x469518);}export function bufferPixel(_0x95e7cb,_0x1d45ab,_0x4c55b2){const _0x32597a=a81_0xe3cc3f,_0x30754b=_0x4c55b2['getPixelFromCoordinate'](_0x95e7cb['getCoordinates']()),_0x5e7524=_0x4c55b2[_0x32597a(0xac)]([_0x30754b[0x0]+_0x1d45ab,_0x30754b[0x1]]),_0x1ffe19=a81_0x433b42(_0x95e7cb[_0x32597a(0xbb)](),_0x5e7524),_0x4548cb=bufferOp(_0x95e7cb,_0x1ffe19);return _0x4548cb;}export function contains(_0x293735,_0x46f35b){const _0x5acfeb=a81_0xe3cc3f,_0x1b8f7e=_parser[_0x5acfeb(0xc1)](_0x293735),_0x3e497c=_parser[_0x5acfeb(0xc1)](_0x46f35b);return a81_0x477d1e[_0x5acfeb(0x96)](_0x1b8f7e,_0x3e497c);}export function crosses(_0x57384a,_0x2f6591){const _0x33f00d=a81_0xe3cc3f,_0x34e8b7=_parser['read'](_0x57384a),_0x398656=_parser[_0x33f00d(0xc1)](_0x2f6591);return a81_0x477d1e[_0x33f00d(0xbd)](_0x34e8b7,_0x398656);}export function intersects(_0x3f8842,_0x50b7d0){const _0x13be98=a81_0xe3cc3f,_0x5c0889=_parser[_0x13be98(0xc1)](_0x3f8842),_0x3fbfd4=_parser[_0x13be98(0xc1)](_0x50b7d0);return a81_0x477d1e[_0x13be98(0x98)](_0x5c0889,_0x3fbfd4);}export function intersection(_0x27c686,_0x357ac9){const _0x17ffbb=a81_0xe3cc3f,_0x1936b9=_parser['read'](_0x27c686),_0x57f0d9=_parser['read'](_0x357ac9);return _parser[_0x17ffbb(0xc4)](a81_0x54fe31[_0x17ffbb(0xc3)](_0x1936b9,_0x57f0d9));}export function union(_0x4b887a,_0x11693d){const _0xdfda71=a81_0xe3cc3f,_0x231bcb=_parser[_0xdfda71(0xc1)](_0x4b887a),_0x46cf66=_parser[_0xdfda71(0xc1)](_0x11693d);return _parser[_0xdfda71(0xc4)](a81_0x54fe31[_0xdfda71(0xa7)](_0x231bcb,_0x46cf66));}export function difference(_0x490a4c,_0xa0eb4){const _0x2c635c=a81_0xe3cc3f,_0x339a7d=_parser[_0x2c635c(0xc1)](_0x490a4c),_0x4697ba=_parser[_0x2c635c(0xc1)](_0xa0eb4);return _parser[_0x2c635c(0xc4)](a81_0x54fe31[_0x2c635c(0xa9)](_0x339a7d,_0x4697ba));}export function distance(_0x34763b,_0x2f0450){const _0x7d1fd2=a81_0xe3cc3f,_0x7ea37d=_parser[_0x7d1fd2(0xc1)](_0x34763b),_0x582f14=_parser[_0x7d1fd2(0xc1)](_0x2f0450);return _parser[_0x7d1fd2(0xc4)](a81_0x3d8c2e[_0x7d1fd2(0xb5)](_0x7ea37d,_0x582f14));}export function jstlSplit(_0x1c7b3a,_0x5e855f){const _0x3062ac=a81_0xe3cc3f,_0x3770d1=_parser[_0x3062ac(0xc1)](_0x1c7b3a),_0x14657a=_parser[_0x3062ac(0xc1)](_0x5e855f),_0x10df50=_0x3770d1['getGeometryType']();let _0x1dd9a0=[];function _0x5a0d04(_0xb4767a,_0x20bc80){const _0x407420=_0x3062ac;let _0x4c945f=_0xb4767a[_0x407420(0xc2)],_0x291974=_0xb4767a[_0x407420(0xaf)]()[_0x407420(0xa7)](_0x20bc80),_0x390fa9=new a81_0x2425fd();_0x390fa9['add'](_0x291974);let _0x5cf13b=_0x390fa9[_0x407420(0xb4)]();_0x5cf13b[_0x407420(0xa4)]['length']==0x2&&_0x5cf13b['array'][_0x407420(0xb1)](_0x40c485=>{const _0x3bc72b=_0x407420;_0x4c945f[_0x3bc72b(0xb1)](_0x470d5f=>{const _0x5e16ec=_0x3bc72b;let _0x3f206f=[];for(let _0x6276fc in _0x470d5f['getCoordinates']()){_0x3f206f['push']([_0x470d5f['getCoordinates']()[_0x6276fc]['x'],_0x470d5f[_0x5e16ec(0xbb)]()[_0x6276fc]['y']]);}_0x470d5f=_parser[_0x5e16ec(0xc1)]({'coordinates':[_0x3f206f],'type':_0x5e16ec(0x9f)}),_0x40c485=_0x40c485[_0x5e16ec(0xa9)](_0x470d5f);}),_0x1dd9a0['push'](_parser[_0x3bc72b(0xc4)](_0x40c485));});}if(_0x10df50===_0x3062ac(0x9f))_0x5a0d04(_0x3770d1,_0x14657a);else{if(_0x10df50==='MultiPolygon')_0x3770d1[_0x3062ac(0xb6)][_0x3062ac(0xb1)]((_0x24f5eb,_0x4ed80a)=>{_0x5a0d04(_0x24f5eb,_0x14657a);});else throw new Error(_0x3062ac(0x97));}return _0x1dd9a0;}export function fromWKT(_0x5a8798,_0x308e6f,_0x1fc570){const _0x3060ad=a81_0xe3cc3f,_0x5e958a=new a81_0x344f9f();_0x308e6f&&registerProj(_0x308e6f);_0x1fc570&&registerProj(_0x1fc570);const _0x1da0f8=_0x5e958a[_0x3060ad(0xa8)](_0x5a8798);if(isGeometryEmpty(_0x1da0f8))return null;return _0x308e6f&&_0x1fc570?_0x1da0f8[_0x3060ad(0xab)](new a81_0x11b065({'code':_0x308e6f}),new a81_0x11b065({'code':_0x1fc570})):_0x1da0f8;}export function fromWKTs(_0xfed11,_0x92ce00,_0x2845e7){const _0x6eebb0=a81_0xe3cc3f,_0x3ed404=new a81_0x344f9f();let _0x2c9f64=[];_0x92ce00&&registerProj(_0x92ce00);_0x2845e7&&registerProj(_0x2845e7);let _0x5d9c79,_0x3570eb;_0x92ce00&&_0x2845e7&&(_0x5d9c79=new a81_0x11b065({'code':_0x92ce00}),_0x3570eb=new a81_0x11b065({'code':_0x2845e7}));for(let _0x25572b=0x0;_0x25572b<_0xfed11[_0x6eebb0(0x9c)];_0x25572b++){const _0x52a693=_0x3ed404[_0x6eebb0(0xa8)](_0xfed11[_0x25572b]);if(isGeometryEmpty(_0x52a693))continue;_0x5d9c79&&_0x3570eb?_0x2c9f64[_0x6eebb0(0xbc)](_0x52a693[_0x6eebb0(0xab)](_0x5d9c79,_0x3570eb)):_0x2c9f64['push'](_0x52a693);}return _0x2c9f64;}export function toWKT(_0x5b1637){const _0xb9c7ac=a81_0xe3cc3f,_0x391453=new a81_0x344f9f();if(isGeometryEmpty(_0x5b1637))return'';if(_0x5b1637 instanceof Circle){const _0x3e8cf0=fromCircle(_0x5b1637);return _0x391453[_0xb9c7ac(0xaa)](_0x3e8cf0);}else return _0x391453[_0xb9c7ac(0xaa)](_0x5b1637);}export function toGeoJSON(_0x31057b){const _0x28450e=a81_0xe3cc3f,_0x555ed2=new a81_0x302fd1();return _0x555ed2[_0x28450e(0xaa)](_0x31057b);}export function fromGeoJSON(_0x31f8a0){const _0x13738c=new a81_0x302fd1();return _0x13738c['readGeometry'](_0x31f8a0);}export function toEsriJSON(_0x33a8cd){const _0x31cd57=a81_0xe3cc3f,_0x22f2b3=new a81_0x2ff6f0();return _0x22f2b3[_0x31cd57(0xaa)](_0x33a8cd);}export function fromEsriJSON(_0xaa085c){const _0xbc0fd7=a81_0xe3cc3f,_0x1c7744=new a81_0x2ff6f0();return _0x1c7744[_0xbc0fd7(0xa8)](_0xaa085c);}export function expandExtent(_0x5848fb,_0x171e59){const _0x4da161=_0x5848fb[0x0],_0x2c8a5d=_0x5848fb[0x1],_0x483ae=_0x5848fb[0x2],_0x23ba0f=_0x5848fb[0x3],_0x2aac69=(_0x4da161+_0x483ae)/0x2,_0x36455a=(_0x2c8a5d+_0x23ba0f)/0x2,_0x5c10ed=_0x483ae-_0x4da161,_0x5c1ee0=_0x23ba0f-_0x2c8a5d,_0x246d12=_0x5c10ed*_0x171e59,_0x171540=_0x5c1ee0*_0x171e59,_0x12a7e6=_0x2aac69-_0x246d12/0x2,_0x29fa82=_0x2aac69+_0x246d12/0x2,_0x3e7f39=_0x36455a-_0x171540/0x2,_0x512f3b=_0x36455a+_0x171540/0x2;return[_0x12a7e6,_0x3e7f39,_0x29fa82,_0x512f3b];}function a81_0x333d(){const _0x53b26e=['inject','488GjSNMB','union','readGeometry','difference','writeGeometry','transform','getCoordinateFromPixel','13YLpddN','151366iArApl','getExteriorRing','getLineStrings','forEach','未找到投影信息','MultiPolygon','getPolygons','distance','_geometries','Point','getExtent','some','error','getCoordinates','push','crosses','getLength','1426510Vohggi','getInteriorPoint','read','_holes','intersection','write','contains','无法识别的数据类型','intersects','12355263Ojpgcg','15624pXjuyq','string','length','getType','7612794rREdDu','Polygon','5024728bILADj','2949849FKGVpi','clone','map','array'];a81_0x333d=function(){return _0x53b26e;};return a81_0x333d();}export function isGeometryEmpty(_0x1a27f7){const _0x8c3162=a81_0xe3cc3f;if(!_0x1a27f7)return!![];if(_0x1a27f7 instanceof Point||_0x1a27f7 instanceof MultiPoint){const _0x3a62bc=_0x1a27f7[_0x8c3162(0xbb)]();return!_0x3a62bc||_0x3a62bc[_0x8c3162(0xb9)](_0xf46e07=>isNaN(_0xf46e07));}else{if(_0x1a27f7 instanceof LineString||_0x1a27f7 instanceof MultiLineString)return _0x1a27f7['getCoordinates']()[_0x8c3162(0x9c)]<0x2;else{if(_0x1a27f7 instanceof Polygon){const _0xaeed43=_0x1a27f7[_0x8c3162(0xbb)]();return!_0xaeed43||_0xaeed43[_0x8c3162(0x9c)]===0x0||_0xaeed43[0x0]['length']<0x4;}else{if(_0x1a27f7 instanceof MultiPolygon){const _0x249e1b=_0x1a27f7['getCoordinates']();return!_0x249e1b||_0x249e1b[_0x8c3162(0x9c)]===0x0||_0x249e1b[0x0][0x0][_0x8c3162(0x9c)]<0x4;}}}}return![];}export function polygonToLines(_0x15855c){const _0x1c8469=a81_0xe3cc3f;if(!_0x15855c)return[];const _0x18f609=_0x15855c['getLinearRings']();return _0x18f609[_0x1c8469(0xa3)](_0xd3c0b3=>new LineString(_0xd3c0b3[_0x1c8469(0xbb)]()));}export function getGeometryCenter(_0x1b330e){const _0x181a2c=a81_0xe3cc3f;if(!_0x1b330e)return undefined;const _0x3b704f=_0x1b330e[_0x181a2c(0x9d)]();if(_0x3b704f===_0x181a2c(0xb7))return new Point(_0x1b330e[_0x181a2c(0xbb)]());if(_0x3b704f==='Polygon'||_0x3b704f===_0x181a2c(0xb3))return _0x1b330e[_0x181a2c(0xc0)]();const _0x1f3f90=getCenter(_0x1b330e[_0x181a2c(0xb8)]());return new Point(_0x1f3f90);}
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 +1 @@
1
- function a82_0x2c7f(){const _0x16cf29=['4woEPfL','sublayers','Legend','parentId','sort','538120oNShRb','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','6zllITU','10YjYcNx','694938WFnqZA','get','url','push','&format=application/json','&format=image/png','data','forEach','assign','769995rFmoZN','wms','children','3656195LsUsTW','showIndex','&width=','861872SKkJJP','length','1137060CrMwPC','indexOf','4297727yAmWKO','replace','layerType','includes','&height='];a82_0x2c7f=function(){return _0x16cf29;};return a82_0x2c7f();}(function(_0x5b782e,_0x513ac9){const _0x15b629=a82_0x2481,_0x1487d0=_0x5b782e();while(!![]){try{const _0x5c24c6=parseInt(_0x15b629(0x1d1))/0x1+-parseInt(_0x15b629(0x1b4))/0x2+parseInt(_0x15b629(0x1bd))/0x3+parseInt(_0x15b629(0x1cc))/0x4*(parseInt(_0x15b629(0x1c0))/0x5)+parseInt(_0x15b629(0x1b2))/0x6*(-parseInt(_0x15b629(0x1c7))/0x7)+-parseInt(_0x15b629(0x1c3))/0x8+-parseInt(_0x15b629(0x1c5))/0x9*(-parseInt(_0x15b629(0x1b3))/0xa);if(_0x5c24c6===_0x513ac9)break;else _0x1487d0['push'](_0x1487d0['shift']());}catch(_0x10c8c9){_0x1487d0['push'](_0x1487d0['shift']());}}}(a82_0x2c7f,0x8e620));function a82_0x2481(_0x297c7e,_0xade271){const _0x2c7f69=a82_0x2c7f();return a82_0x2481=function(_0x248121,_0x52e860){_0x248121=_0x248121-0x1b1;let _0x5aed78=_0x2c7f69[_0x248121];return _0x5aed78;},a82_0x2481(_0x297c7e,_0xade271);}import a82_0x11867c from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x139911){const _0x348ddc=a82_0x2481;let _0x466e39=[];return _0x139911&&_0x139911[_0x348ddc(0x1c4)]>0x0&&(_0x139911[_0x348ddc(0x1bb)](_0x2bff25=>{const _0x359933=_0x348ddc;(!_0x2bff25['parentId']||_0x2bff25[_0x359933(0x1cf)]=='')&&_0x466e39[_0x359933(0x1b7)](Object[_0x359933(0x1bc)]({},_0x2bff25));}),_0x466e39=_0x466e39[_0x348ddc(0x1d0)]((_0x44b58e,_0x1f61fe)=>{const _0x38a508=_0x348ddc;return(_0x44b58e['showIndex']?_0x44b58e[_0x38a508(0x1c1)]:0x0)-(_0x1f61fe[_0x38a508(0x1c1)]?_0x1f61fe[_0x38a508(0x1c1)]:0x0);}),_0x466e39[_0x348ddc(0x1bb)](_0x3671bd=>{const _0xe5daac=_0x348ddc;_0x3671bd[_0xe5daac(0x1bf)]=setChildren(_0x3671bd['id'],_0x139911);})),_0x466e39;}function setChildren(_0x3159a2,_0x595a54){const _0x44424f=a82_0x2481;let _0x3b0b19=[];return _0x595a54['forEach'](_0x1cf526=>{const _0x375508=a82_0x2481;_0x3159a2===(_0x1cf526['parentId']==null?'':_0x1cf526[_0x375508(0x1cf)])&&_0x3b0b19[_0x375508(0x1b7)](Object[_0x375508(0x1bc)]({},_0x1cf526));}),_0x3b0b19=_0x3b0b19[_0x44424f(0x1d0)]((_0x889616,_0x1fb09a)=>{const _0x1c7287=_0x44424f;return(_0x889616['showIndex']?_0x889616['showIndex']:0x0)-(_0x1fb09a[_0x1c7287(0x1c1)]?_0x1fb09a[_0x1c7287(0x1c1)]:0x0);}),_0x3b0b19[_0x44424f(0x1c4)]>0x0&&_0x3b0b19[_0x44424f(0x1bb)](_0x31c67e=>{_0x31c67e['children']=setChildren(_0x31c67e['id'],_0x595a54);}),_0x3b0b19;}export async function getLayerLegend(_0x512ca,_0x56fdae){const _0x5ae8a4=a82_0x2481;if(!_0x512ca||!_0x512ca[_0x5ae8a4(0x1b6)]||!_0x512ca[_0x5ae8a4(0x1cd)]||_0x512ca['sublayers'][_0x5ae8a4(0x1c4)]==0x0||!_0x512ca[_0x5ae8a4(0x1c9)])return;if(_0x512ca[_0x5ae8a4(0x1c9)][_0x5ae8a4(0x1c6)]('geoserver')>-0x1)return await getGeoServerLayerLegend(_0x512ca,_0x56fdae);return;}export async function getGeoServerLayerLegend(_0xb58725,_0x391f38){const _0x2f6779=a82_0x2481;if(!_0xb58725||!_0xb58725['url']||!_0xb58725[_0x2f6779(0x1cd)]||_0xb58725['sublayers'][_0x2f6779(0x1c4)]==0x0)return;let _0x1887ec=_0xb58725['url'];const _0x2184ff=_0xb58725['sublayers'];_0x1887ec=_0x1887ec[_0x2f6779(0x1c8)]('gwc/service/wmts',_0x2f6779(0x1be));const _0x5991cf=[];for(let _0x4fc471=0x0;_0x4fc471<_0x2184ff[_0x2f6779(0x1c4)];_0x4fc471++){const _0x587c68=_0x2184ff[_0x4fc471];let _0xcaa47='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x587c68+_0x2f6779(0x1b8);const _0xb7a618=_0x1887ec['includes']('?')?_0x1887ec+'&'+_0xcaa47:_0x1887ec+'?'+_0xcaa47,_0x5e9b38=await a82_0x11867c[_0x2f6779(0x1b5)](_0xb7a618);if(_0x5e9b38[_0x2f6779(0x1ba)]&&_0x5e9b38['data'][_0x2f6779(0x1ce)]&&_0x5e9b38[_0x2f6779(0x1ba)][_0x2f6779(0x1ce)][_0x2f6779(0x1c4)]>0x0)_0x5991cf[_0x2f6779(0x1b7)](_0x5e9b38[_0x2f6779(0x1ba)][_0x2f6779(0x1ce)][0x0]);else{let _0x1a726c=_0x391f38?_0x391f38:0x10,_0x52b793=_0x2f6779(0x1b1)+_0x587c68+_0x2f6779(0x1c2)+_0x1a726c+_0x2f6779(0x1cb)+_0x1a726c+_0x2f6779(0x1b9);const _0x252f9e=_0x1887ec[_0x2f6779(0x1ca)]('?')?_0x1887ec+'&'+_0x52b793:_0x1887ec+'?'+_0x52b793;_0x5991cf[_0x2f6779(0x1b7)]({'title':_0xb58725['title'],'url':_0x252f9e});}}return _0x5991cf;}
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();}