ym-gis-2d 1.0.19 → 1.0.20

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 (68) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.d.ts.map +1 -1
  4. package/controls/LegendControl.js +1 -1
  5. package/controls/LegendControl.js.map +1 -1
  6. package/controls/MousePositionControl.js +1 -1
  7. package/controls/SwipeLayerControl.js +1 -1
  8. package/conver/kml/geoJSONToKml.js +1 -1
  9. package/conver/kml/index.js +1 -1
  10. package/conver/kml/kmlToGeoJSON.js +1 -1
  11. package/entity/Feature.js +1 -1
  12. package/entity/GeometryType.js +1 -1
  13. package/feature/FeatureManager.js +1 -1
  14. package/index.js +1 -1
  15. package/interaction/Draw.js +1 -1
  16. package/interaction/InteractionManager.js +1 -1
  17. package/interaction/Select.js +1 -1
  18. package/layers/ArcgisDynamicLayer.js +1 -1
  19. package/layers/ArcgisFeatureLayer.js +1 -1
  20. package/layers/ArcgisTileLayer.js +1 -1
  21. package/layers/ArcgisWMSLayer.js +1 -1
  22. package/layers/ArcgisWMTSLayer.js +1 -1
  23. package/layers/GeoserverVectorTile.js +1 -1
  24. package/layers/GeoserverWFSLayer.js +1 -1
  25. package/layers/GeoserverWMSLayer.js +1 -1
  26. package/layers/GeoserverWMTSLayer.js +1 -1
  27. package/layers/LayerManager.js +1 -1
  28. package/layers/TDTLayer.js +1 -1
  29. package/mapView/Map.js +1 -1
  30. package/mapView/View.js +1 -1
  31. package/package.json +1 -1
  32. package/plot/Plot.js +1 -1
  33. package/plot/geometry/point/Point.js +1 -1
  34. package/plot/geometry/polygon/BasePolygon.js +1 -1
  35. package/plot/geometry/polygon/Circle.js +1 -1
  36. package/plot/geometry/polygon/Polygon.js +1 -1
  37. package/plot/geometry/polygon/RectAngle.js +1 -1
  38. package/plot/geometry/polyline/BaseLine.js +1 -1
  39. package/plot/geometry/polyline/Polyline.js +1 -1
  40. package/style/PointStyleFormat.js +1 -1
  41. package/style/PolygonStyleFormat.js +1 -1
  42. package/style/PolylineStyleFormat.js +1 -1
  43. package/style/StyleManager.js +1 -1
  44. package/style/common.js +1 -1
  45. package/utils/ArrayUtil.js +1 -1
  46. package/utils/AxiosUtil.js +1 -1
  47. package/utils/EsriUtil.js +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/LayerUtil.js +1 -1
  50. package/utils/RegisterProjUtil.js +1 -1
  51. package/utils/ResolutionUtil.js +1 -1
  52. package/utils/StringUtil.js +1 -1
  53. package/utils/StyleUtil.js +1 -1
  54. package/utils/UrlUtil.js +1 -1
  55. package/utils/XmlUtil.js +1 -1
  56. package/utils/format/CQL.js +1 -1
  57. package/utils/format/IsMatchCql.js +1 -1
  58. package/utils/plug/canvas/ImageCache.js +1 -1
  59. package/utils/plug/canvas/PinBuilder.js +1 -1
  60. package/utils/plug/canvas/PinIcon.js +1 -1
  61. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  62. package/utils/tasks/esri/Identify.js +1 -1
  63. package/utils/tasks/esri/Query.js +1 -1
  64. package/utils/tasks/esri/Task.js +1 -1
  65. package/utils/tasks/geoserver/QueryTask.js +1 -1
  66. package/utils/tasks/index.js +1 -1
  67. package/ym-gis-2d.es.js +1 -1
  68. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- (function(_0x5d9172,_0x5d2e0c){const _0x26ca34=a65_0x18e8,_0x159d16=_0x5d9172();while(!![]){try{const _0x18fc7f=parseInt(_0x26ca34(0x1c8))/0x1*(parseInt(_0x26ca34(0x1c1))/0x2)+-parseInt(_0x26ca34(0x1dc))/0x3+parseInt(_0x26ca34(0x1cb))/0x4+parseInt(_0x26ca34(0x1bf))/0x5+-parseInt(_0x26ca34(0x1d9))/0x6*(-parseInt(_0x26ca34(0x1d7))/0x7)+-parseInt(_0x26ca34(0x1bc))/0x8+parseInt(_0x26ca34(0x1be))/0x9*(parseInt(_0x26ca34(0x1b8))/0xa);if(_0x18fc7f===_0x5d2e0c)break;else _0x159d16['push'](_0x159d16['shift']());}catch(_0x1dda44){_0x159d16['push'](_0x159d16['shift']());}}}(a65_0x1571,0x5ecab));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';function a65_0x1571(){const _0x21e388=['pow','2841672csqPCH','getGeometry','lineTo','getCoordinates','concat','outlineColor','getFlatMidpoints','sqrt','glow','billboard','lineCap','butt','49ehqQhh','getFlatMidpoint','41136lbUiQF','sin','glowPower','2124123ydTbSX','show','save','strokeStyle','MultiLineString','white','lineWidth','dash','outlineWidth','label','length','push','shadowColor','closed','context','shadowBlur','color','stroke','setRenderer','10buhahL','atan2','getType','arrow','5239392UvyUHb','moveTo','3622149SqHuwP','66545ixrDAK','cos','74ZUUjoi','beginPath','opacity','LineString','restore','width','lineType','15596DwCavD','toString'];a65_0x1571=function(){return _0x21e388;};return a65_0x1571();}import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';function a65_0x18e8(_0x4d22f3,_0x494432){const _0x15714a=a65_0x1571();return a65_0x18e8=function(_0x18e800,_0x4c92f8){_0x18e800=_0x18e800-0x1ab;let _0x4679ba=_0x15714a[_0x18e800];return _0x4679ba;},a65_0x18e8(_0x4d22f3,_0x494432);}export function getPolylineStyle(_0x26b5f6,_0x35e17b,_0x31d79c,_0x2a2312){const _0x19ffb0=a65_0x18e8;var _0x17f0e3,_0x4ad807,_0x50ea7c;let _0x53e1e1=(_0x17f0e3=_0x26b5f6['zIndex'])!==null&&_0x17f0e3!==void 0x0?_0x17f0e3:0x0;const _0x20db50=_0x415ce2=>{var _0x101c59=_0x415ce2['getGeometry']();if(_0x101c59)return _getRealPolyline(_0x101c59,_0x26b5f6);return _0x101c59;},_0x343931=_0x3597de=>{const _0x258374=a65_0x18e8;var _0x3ca662=_0x3597de[_0x258374(0x1cc)]();let _0x16e955=_0x3ca662;_0x3ca662&&(_0x16e955=_getRealPolyline(_0x3ca662,_0x26b5f6));if(_0x16e955&&_0x16e955[_0x258374(0x1ba)]()===_0x258374(0x1c4))return new Point(_0x16e955[_0x258374(0x1d8)]());else{let _0x55f5e2=_0x16e955[_0x258374(0x1d1)](),_0x1204eb=0x2,_0x236dfb=[];for(let _0xdba8a3=0x0,_0x1890c4=_0x55f5e2[_0x258374(0x1af)];_0xdba8a3<_0x1890c4;_0xdba8a3+=_0x1204eb){let _0x4f09c7=[_0x55f5e2[_0xdba8a3],_0x55f5e2[_0xdba8a3+0x1]];_0x236dfb[_0x258374(0x1b0)](_0x4f09c7);}return new MultiPoint(_0x236dfb);}};let _0x364b68=new Style({'geometry':_0x20db50,'stroke':new Stroke({'color':getColor(_0x26b5f6[_0x19ffb0(0x1b5)],_0x26b5f6[_0x19ffb0(0x1c3)]),'width':_0x26b5f6['width']}),'zIndex':_0x53e1e1}),_0x471365=[_0x364b68];if(_0x26b5f6[_0x19ffb0(0x1c7)]===_0x19ffb0(0x1ac)){let _0x25f055=_0x26b5f6[_0x19ffb0(0x1ad)]/0x2,_0x1d36fa=new Style({'geometry':_0x20db50,'zIndex':_0x53e1e1,'stroke':new Stroke({'color':getColor(_0x26b5f6['color'],_0x26b5f6[_0x19ffb0(0x1c3)]),'width':_0x26b5f6[_0x19ffb0(0x1c6)],'lineCap':_0x19ffb0(0x1d6),'lineDash':[_0x25f055,_0x25f055]})}),_0x25a285=new Style({'geometry':_0x20db50,'zIndex':_0x53e1e1+0.5,'stroke':new Stroke({'color':getColor(_0x26b5f6['outlineColor'],Number((_0x50ea7c=(_0x4ad807=_0x26b5f6['outlineOpacity'])!==null&&_0x4ad807!==void 0x0?_0x4ad807:_0x26b5f6[_0x19ffb0(0x1c3)])!==null&&_0x50ea7c!==void 0x0?_0x50ea7c:0x1)),'width':_0x26b5f6['width'],'lineCap':'butt','lineDash':[_0x25f055,_0x25f055],'lineDashOffset':_0x25f055})});_0x471365=[_0x1d36fa,_0x25a285];}_0x26b5f6[_0x19ffb0(0x1c7)]===_0x19ffb0(0x1bb)&&_0x364b68[_0x19ffb0(0x1b7)]((_0xd08d7f,_0x4dfeed)=>{const _0x326b9e=_0x19ffb0;let _0x164626=_0x4dfeed[_0x326b9e(0x1b3)],_0x39bb33=parseInt((_0x26b5f6[_0x326b9e(0x1c6)]/0x4)[_0x326b9e(0x1c9)]()),_0x19a3d1=0xa,_0x40fac3=Math[_0x326b9e(0x1d2)](Math[_0x326b9e(0x1ca)](_0x19a3d1,0x2)+Math[_0x326b9e(0x1ca)](_0x26b5f6[_0x326b9e(0x1c6)]/0x2,0x2)),_0x49a05b=0x2d,_0x4dcc0e=_0xd08d7f[_0xd08d7f[_0x326b9e(0x1af)]-0x2][0x0],_0x99ab39=_0xd08d7f[_0xd08d7f[_0x326b9e(0x1af)]-0x2][0x1],_0x59e9b8=_0xd08d7f[_0xd08d7f[_0x326b9e(0x1af)]-0x1][0x0],_0x10c4b8=_0xd08d7f[_0xd08d7f[_0x326b9e(0x1af)]-0x1][0x1],_0x3d800a=Math[_0x326b9e(0x1b9)](_0x99ab39-_0x10c4b8,_0x4dcc0e-_0x59e9b8)*0xb4/Math['PI'],_0x7aca2b=(_0x3d800a+_0x49a05b)*Math['PI']/0xb4,_0x1faa99=(_0x3d800a-_0x49a05b)*Math['PI']/0xb4,_0x5b8e01=_0x40fac3*Math[_0x326b9e(0x1c0)](_0x7aca2b),_0x315345=_0x40fac3*Math[_0x326b9e(0x1da)](_0x7aca2b),_0x301ebb=_0x40fac3*Math[_0x326b9e(0x1c0)](_0x1faa99),_0x85281e=_0x40fac3*Math[_0x326b9e(0x1da)](_0x1faa99);_0x164626[_0x326b9e(0x1de)](),_0x164626['beginPath']();let _0x3ea505,_0x2c6e63;for(let _0x28b6fd=0x0;_0x28b6fd<_0xd08d7f[_0x326b9e(0x1af)];_0x28b6fd++){_0x28b6fd===0x0?_0x164626['moveTo'](_0xd08d7f[_0x28b6fd][0x0],_0xd08d7f[_0x28b6fd][0x1]):_0x164626[_0x326b9e(0x1cd)](_0xd08d7f[_0x28b6fd][0x0],_0xd08d7f[_0x28b6fd][0x1]);}_0x164626[_0x326b9e(0x1df)]=getColor(_0x26b5f6['color'],_0x26b5f6[_0x326b9e(0x1c3)]),_0x164626['lineWidth']=_0x39bb33,_0x164626['lineCap']=_0x326b9e(0x1d6),_0x164626['stroke'](),_0x3ea505=_0x59e9b8+_0x5b8e01,_0x2c6e63=_0x10c4b8+_0x315345,_0x164626[_0x326b9e(0x1bd)](_0x3ea505,_0x2c6e63),_0x164626['lineTo'](_0x59e9b8,_0x10c4b8),_0x3ea505=_0x59e9b8+_0x301ebb,_0x2c6e63=_0x10c4b8+_0x85281e,_0x164626[_0x326b9e(0x1cd)](_0x3ea505,_0x2c6e63),_0x164626[_0x326b9e(0x1d5)]=_0x326b9e(0x1d6),_0x164626[_0x326b9e(0x1b6)](),_0x164626[_0x326b9e(0x1c5)]();});_0x26b5f6[_0x19ffb0(0x1c7)]===_0x19ffb0(0x1d3)&&_0x364b68[_0x19ffb0(0x1b7)]((_0x3b7db6,_0x31ce22)=>{const _0x5d89fb=_0x19ffb0;let _0x30dd3e=_0x31ce22[_0x5d89fb(0x1b3)];_0x30dd3e[_0x5d89fb(0x1de)]();for(let _0x20019c=0x0;_0x20019c<0x4;_0x20019c++){let _0x4140fe=_0x26b5f6['width']/0xa*(_0x26b5f6[_0x5d89fb(0x1db)]===0x0?0x1:_0x26b5f6[_0x5d89fb(0x1db)]);_0x30dd3e[_0x5d89fb(0x1b1)]=getColor(_0x26b5f6[_0x5d89fb(0x1b5)],_0x26b5f6['opacity']),_0x30dd3e[_0x5d89fb(0x1b4)]=_0x26b5f6[_0x5d89fb(0x1c6)]/0x5*0x2,_0x30dd3e[_0x5d89fb(0x1c2)]();for(let _0x5715c3=0x0;_0x5715c3<_0x3b7db6[_0x5d89fb(0x1af)];_0x5715c3++){_0x5715c3===0x0?_0x30dd3e[_0x5d89fb(0x1bd)](_0x3b7db6[_0x5715c3][0x0],_0x3b7db6[_0x5715c3][0x1]):_0x30dd3e[_0x5d89fb(0x1cd)](_0x3b7db6[_0x5715c3][0x0],_0x3b7db6[_0x5715c3][0x1]);}_0x30dd3e[_0x5d89fb(0x1d5)]=_0x5d89fb(0x1d6),_0x30dd3e['lineWidth']=_0x4140fe,_0x30dd3e[_0x5d89fb(0x1df)]=getColor(_0x5d89fb(0x1e1),_0x26b5f6[_0x5d89fb(0x1c3)]),_0x30dd3e[_0x5d89fb(0x1b6)]();}_0x30dd3e['restore']();});_0x26b5f6[_0x19ffb0(0x1c7)]==='outline'&&_0x364b68[_0x19ffb0(0x1b7)]((_0x2a6a15,_0x447792)=>{const _0x582019=_0x19ffb0;let _0x29d9ca=_0x447792[_0x582019(0x1b3)];_0x29d9ca[_0x582019(0x1de)](),_0x29d9ca['beginPath']();for(let _0x6da27d=0x0;_0x6da27d<_0x2a6a15[_0x582019(0x1af)];_0x6da27d++){_0x6da27d===0x0?_0x29d9ca[_0x582019(0x1bd)](_0x2a6a15[_0x6da27d][0x0],_0x2a6a15[_0x6da27d][0x1]):_0x29d9ca[_0x582019(0x1cd)](_0x2a6a15[_0x6da27d][0x0],_0x2a6a15[_0x6da27d][0x1]);}_0x29d9ca[_0x582019(0x1d5)]=_0x582019(0x1d6),_0x29d9ca[_0x582019(0x1ab)]=_0x26b5f6[_0x582019(0x1c6)],_0x29d9ca[_0x582019(0x1df)]=getColor(_0x26b5f6[_0x582019(0x1d0)],_0x26b5f6['opacity']),_0x29d9ca[_0x582019(0x1b6)](),_0x29d9ca['beginPath']();for(let _0x228709=0x0;_0x228709<_0x2a6a15[_0x582019(0x1af)];_0x228709++){_0x228709===0x0?_0x29d9ca[_0x582019(0x1bd)](_0x2a6a15[_0x228709][0x0],_0x2a6a15[_0x228709][0x1]):_0x29d9ca[_0x582019(0x1cd)](_0x2a6a15[_0x228709][0x0],_0x2a6a15[_0x228709][0x1]);}_0x29d9ca[_0x582019(0x1d5)]=_0x582019(0x1d6),_0x26b5f6[_0x582019(0x1ad)]>=_0x26b5f6[_0x582019(0x1c6)]&&(_0x26b5f6[_0x582019(0x1ad)]=_0x26b5f6[_0x582019(0x1c6)]-0x1),_0x29d9ca[_0x582019(0x1ab)]=_0x26b5f6[_0x582019(0x1c6)]-_0x26b5f6[_0x582019(0x1ad)],_0x29d9ca[_0x582019(0x1df)]=getColor(_0x26b5f6[_0x582019(0x1b5)],_0x26b5f6['opacity']),_0x29d9ca[_0x582019(0x1b6)](),_0x29d9ca['restore']();});let _0x3ea4df=getImageOlStyle(_0x26b5f6[_0x19ffb0(0x1d4)],_0x53e1e1,_0x31d79c,_0x2a2312);_0x3ea4df&&(_0x3ea4df['setGeometry'](_0x343931),_0x471365['push'](_0x3ea4df));if(_0x26b5f6[_0x19ffb0(0x1ae)]&&_0x26b5f6[_0x19ffb0(0x1ae)][_0x19ffb0(0x1dd)]!==![]){let _0x38a558=new Style({'geometry':_0x343931,'text':createTextStyle(_0x26b5f6[_0x19ffb0(0x1ae)],_0x35e17b,_0x31d79c,_0x2a2312),'zIndex':Number(_0x53e1e1)+0x1});_0x471365[_0x19ffb0(0x1b0)](_0x38a558);}return _0x471365;}function _getRealPolyline(_0x56c82c,_0x1ba417){const _0x3506c8=a65_0x18e8;if(!(_0x1ba417===null||_0x1ba417===void 0x0?void 0x0:_0x1ba417[_0x3506c8(0x1b2)]))return _0x56c82c;else{if(_0x56c82c[_0x3506c8(0x1ba)]()===_0x3506c8(0x1e0)){let _0x224a19=_0x56c82c[_0x3506c8(0x1ce)]();for(let _0x101474 in _0x224a19){let _0x3b7c92=_0x224a19[_0x101474];_0x224a19[_0x101474]=_0x3b7c92[_0x3506c8(0x1cf)]([_0x3b7c92[0x0]]);}return new MultiLineString(_0x224a19);}else return new LineString(_0x56c82c[_0x3506c8(0x1ce)]()[_0x3506c8(0x1cf)]([_0x56c82c['getFirstCoordinate']()]));}}
1
+ (function(_0x426c4d,_0x2d4cf7){const _0x341347=a65_0x2e97,_0x34a0db=_0x426c4d();while(!![]){try{const _0x538332=parseInt(_0x341347(0x107))/0x1*(parseInt(_0x341347(0xdc))/0x2)+parseInt(_0x341347(0x101))/0x3*(parseInt(_0x341347(0xe9))/0x4)+parseInt(_0x341347(0x10e))/0x5*(-parseInt(_0x341347(0xf8))/0x6)+parseInt(_0x341347(0xec))/0x7+-parseInt(_0x341347(0x100))/0x8*(parseInt(_0x341347(0xff))/0x9)+-parseInt(_0x341347(0xf4))/0xa+parseInt(_0x341347(0xe4))/0xb*(parseInt(_0x341347(0x105))/0xc);if(_0x538332===_0x2d4cf7)break;else _0x34a0db['push'](_0x34a0db['shift']());}catch(_0x2db121){_0x34a0db['push'](_0x34a0db['shift']());}}}(a65_0x268c,0xf268e));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';function a65_0x268c(){const _0x57167a=['closed','billboard','color','getFirstCoordinate','lineWidth','1092015OhrGwD','outlineWidth','stroke','width','outlineColor','lineType','sin','restore','42yYiQXL','opacity','shadowColor','arrow','white','getType','getFlatMidpoints','label','1687323PVfnSs','length','getGeometry','moveTo','lineTo','7360652jrvGyB','LineString','push','6550390QiqOFe','sqrt','getCoordinates','setRenderer','lineCap','outlineOpacity','strokeStyle','context','16825470CatXDp','MultiLineString','setGeometry','butt','54motear','concat','dash','shadowBlur','outline','pow','glowPower','738351ZzWtFE','24PtiZVF','3nednZg','beginPath','getFlatMidpoint','atan2','156gjmFeR','cos','5579lCtvSC','save'];a65_0x268c=function(){return _0x57167a;};return a65_0x268c();}import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x201972,_0x27e712,_0x53864d,_0x39647e){const _0x25cfff=a65_0x2e97;var _0x5744b3,_0x4ec6d9,_0x137dc3;let _0x86def8=(_0x5744b3=_0x201972['zIndex'])!==null&&_0x5744b3!==void 0x0?_0x5744b3:0x0;const _0x2bdff6=_0x3b9704=>{const _0x1fe799=a65_0x2e97;var _0x2cc030=_0x3b9704[_0x1fe799(0xe6)]();if(_0x2cc030)return _getRealPolyline(_0x2cc030,_0x201972);return _0x2cc030;},_0x400ada=_0x4831cb=>{const _0x430b92=a65_0x2e97;var _0x36d385=_0x4831cb[_0x430b92(0xe6)]();let _0x4db41f=_0x36d385;_0x36d385&&(_0x4db41f=_getRealPolyline(_0x36d385,_0x201972));if(_0x4db41f&&_0x4db41f[_0x430b92(0xe1)]()===_0x430b92(0xea))return new Point(_0x4db41f[_0x430b92(0x103)]());else{let _0xab10dd=_0x4db41f[_0x430b92(0xe2)](),_0x30ebea=0x2,_0xc0b5ec=[];for(let _0x2210ac=0x0,_0x37a3f5=_0xab10dd[_0x430b92(0xe5)];_0x2210ac<_0x37a3f5;_0x2210ac+=_0x30ebea){let _0x21ecf5=[_0xab10dd[_0x2210ac],_0xab10dd[_0x2210ac+0x1]];_0xc0b5ec[_0x430b92(0xeb)](_0x21ecf5);}return new MultiPoint(_0xc0b5ec);}};let _0x54c3ee=new Style({'geometry':_0x2bdff6,'stroke':new Stroke({'color':getColor(_0x201972[_0x25cfff(0x10b)],_0x201972[_0x25cfff(0xdd)]),'width':_0x201972[_0x25cfff(0x111)]}),'zIndex':_0x86def8}),_0x4b5d98=[_0x54c3ee];if(_0x201972[_0x25cfff(0x113)]===_0x25cfff(0xfa)){let _0xab3de8=_0x201972[_0x25cfff(0x10f)]/0x2,_0x37bb36=new Style({'geometry':_0x2bdff6,'zIndex':_0x86def8,'stroke':new Stroke({'color':getColor(_0x201972[_0x25cfff(0x10b)],_0x201972['opacity']),'width':_0x201972[_0x25cfff(0x111)],'lineCap':_0x25cfff(0xf7),'lineDash':[_0xab3de8,_0xab3de8]})}),_0x2bbd7e=new Style({'geometry':_0x2bdff6,'zIndex':_0x86def8+0.5,'stroke':new Stroke({'color':getColor(_0x201972[_0x25cfff(0x112)],Number((_0x137dc3=(_0x4ec6d9=_0x201972[_0x25cfff(0xf1)])!==null&&_0x4ec6d9!==void 0x0?_0x4ec6d9:_0x201972[_0x25cfff(0xdd)])!==null&&_0x137dc3!==void 0x0?_0x137dc3:0x1)),'width':_0x201972[_0x25cfff(0x111)],'lineCap':_0x25cfff(0xf7),'lineDash':[_0xab3de8,_0xab3de8],'lineDashOffset':_0xab3de8})});_0x4b5d98=[_0x37bb36,_0x2bbd7e];}_0x201972[_0x25cfff(0x113)]===_0x25cfff(0xdf)&&_0x54c3ee['setRenderer']((_0xdfe4c4,_0x53bb5e)=>{const _0x1815a6=_0x25cfff;let _0x321359=_0x53bb5e[_0x1815a6(0xf3)],_0x331cf9=parseInt((_0x201972[_0x1815a6(0x111)]/0x4)['toString']()),_0x55ea19=0xa,_0x4c75b7=Math[_0x1815a6(0xed)](Math[_0x1815a6(0xfd)](_0x55ea19,0x2)+Math[_0x1815a6(0xfd)](_0x201972[_0x1815a6(0x111)]/0x2,0x2)),_0x334723=0x2d,_0x19707c=_0xdfe4c4[_0xdfe4c4['length']-0x2][0x0],_0x1ae85e=_0xdfe4c4[_0xdfe4c4['length']-0x2][0x1],_0x2f321b=_0xdfe4c4[_0xdfe4c4['length']-0x1][0x0],_0x2d36d0=_0xdfe4c4[_0xdfe4c4[_0x1815a6(0xe5)]-0x1][0x1],_0x2d1b2f=Math[_0x1815a6(0x104)](_0x1ae85e-_0x2d36d0,_0x19707c-_0x2f321b)*0xb4/Math['PI'],_0x6aa34c=(_0x2d1b2f+_0x334723)*Math['PI']/0xb4,_0x43c8cb=(_0x2d1b2f-_0x334723)*Math['PI']/0xb4,_0x5ac80b=_0x4c75b7*Math[_0x1815a6(0x106)](_0x6aa34c),_0x559b76=_0x4c75b7*Math[_0x1815a6(0x114)](_0x6aa34c),_0x2f552b=_0x4c75b7*Math[_0x1815a6(0x106)](_0x43c8cb),_0xe5bf21=_0x4c75b7*Math[_0x1815a6(0x114)](_0x43c8cb);_0x321359[_0x1815a6(0x108)](),_0x321359[_0x1815a6(0x102)]();let _0x105c35,_0x1ff405;for(let _0x1fe10d=0x0;_0x1fe10d<_0xdfe4c4['length'];_0x1fe10d++){_0x1fe10d===0x0?_0x321359[_0x1815a6(0xe7)](_0xdfe4c4[_0x1fe10d][0x0],_0xdfe4c4[_0x1fe10d][0x1]):_0x321359[_0x1815a6(0xe8)](_0xdfe4c4[_0x1fe10d][0x0],_0xdfe4c4[_0x1fe10d][0x1]);}_0x321359[_0x1815a6(0xf2)]=getColor(_0x201972['color'],_0x201972[_0x1815a6(0xdd)]),_0x321359['lineWidth']=_0x331cf9,_0x321359[_0x1815a6(0xf0)]=_0x1815a6(0xf7),_0x321359[_0x1815a6(0x110)](),_0x105c35=_0x2f321b+_0x5ac80b,_0x1ff405=_0x2d36d0+_0x559b76,_0x321359[_0x1815a6(0xe7)](_0x105c35,_0x1ff405),_0x321359[_0x1815a6(0xe8)](_0x2f321b,_0x2d36d0),_0x105c35=_0x2f321b+_0x2f552b,_0x1ff405=_0x2d36d0+_0xe5bf21,_0x321359[_0x1815a6(0xe8)](_0x105c35,_0x1ff405),_0x321359['lineCap']='butt',_0x321359[_0x1815a6(0x110)](),_0x321359[_0x1815a6(0x115)]();});_0x201972[_0x25cfff(0x113)]==='glow'&&_0x54c3ee[_0x25cfff(0xef)]((_0x21a39d,_0x1648ee)=>{const _0x12ed72=_0x25cfff;let _0x29c784=_0x1648ee['context'];_0x29c784[_0x12ed72(0x108)]();for(let _0x27e062=0x0;_0x27e062<0x4;_0x27e062++){let _0x597085=_0x201972[_0x12ed72(0x111)]/0xa*(_0x201972[_0x12ed72(0xfe)]===0x0?0x1:_0x201972['glowPower']);_0x29c784[_0x12ed72(0xde)]=getColor(_0x201972['color'],_0x201972['opacity']),_0x29c784[_0x12ed72(0xfb)]=_0x201972[_0x12ed72(0x111)]/0x5*0x2,_0x29c784[_0x12ed72(0x102)]();for(let _0x6f8f45=0x0;_0x6f8f45<_0x21a39d['length'];_0x6f8f45++){_0x6f8f45===0x0?_0x29c784[_0x12ed72(0xe7)](_0x21a39d[_0x6f8f45][0x0],_0x21a39d[_0x6f8f45][0x1]):_0x29c784[_0x12ed72(0xe8)](_0x21a39d[_0x6f8f45][0x0],_0x21a39d[_0x6f8f45][0x1]);}_0x29c784[_0x12ed72(0xf0)]=_0x12ed72(0xf7),_0x29c784[_0x12ed72(0x10d)]=_0x597085,_0x29c784[_0x12ed72(0xf2)]=getColor(_0x12ed72(0xe0),_0x201972['opacity']),_0x29c784[_0x12ed72(0x110)]();}_0x29c784['restore']();});_0x201972['lineType']===_0x25cfff(0xfc)&&_0x54c3ee[_0x25cfff(0xef)]((_0x5cb41d,_0x579d34)=>{const _0x20ee05=_0x25cfff;let _0x257b45=_0x579d34['context'];_0x257b45[_0x20ee05(0x108)](),_0x257b45[_0x20ee05(0x102)]();for(let _0x4f2b10=0x0;_0x4f2b10<_0x5cb41d[_0x20ee05(0xe5)];_0x4f2b10++){_0x4f2b10===0x0?_0x257b45[_0x20ee05(0xe7)](_0x5cb41d[_0x4f2b10][0x0],_0x5cb41d[_0x4f2b10][0x1]):_0x257b45[_0x20ee05(0xe8)](_0x5cb41d[_0x4f2b10][0x0],_0x5cb41d[_0x4f2b10][0x1]);}_0x257b45['lineCap']=_0x20ee05(0xf7),_0x257b45[_0x20ee05(0x10d)]=_0x201972['width'],_0x257b45[_0x20ee05(0xf2)]=getColor(_0x201972[_0x20ee05(0x112)],_0x201972[_0x20ee05(0xdd)]),_0x257b45[_0x20ee05(0x110)](),_0x257b45[_0x20ee05(0x102)]();for(let _0x1fa1a4=0x0;_0x1fa1a4<_0x5cb41d[_0x20ee05(0xe5)];_0x1fa1a4++){_0x1fa1a4===0x0?_0x257b45['moveTo'](_0x5cb41d[_0x1fa1a4][0x0],_0x5cb41d[_0x1fa1a4][0x1]):_0x257b45['lineTo'](_0x5cb41d[_0x1fa1a4][0x0],_0x5cb41d[_0x1fa1a4][0x1]);}_0x257b45[_0x20ee05(0xf0)]=_0x20ee05(0xf7),_0x201972[_0x20ee05(0x10f)]>=_0x201972[_0x20ee05(0x111)]&&(_0x201972[_0x20ee05(0x10f)]=_0x201972[_0x20ee05(0x111)]-0x1),_0x257b45[_0x20ee05(0x10d)]=_0x201972[_0x20ee05(0x111)]-_0x201972[_0x20ee05(0x10f)],_0x257b45[_0x20ee05(0xf2)]=getColor(_0x201972[_0x20ee05(0x10b)],_0x201972[_0x20ee05(0xdd)]),_0x257b45[_0x20ee05(0x110)](),_0x257b45['restore']();});let _0x515d74=getImageOlStyle(_0x201972[_0x25cfff(0x10a)],_0x86def8,_0x53864d,_0x39647e);_0x515d74&&(_0x515d74[_0x25cfff(0xf6)](_0x400ada),_0x4b5d98[_0x25cfff(0xeb)](_0x515d74));if(_0x201972[_0x25cfff(0xe3)]&&_0x201972[_0x25cfff(0xe3)]['show']!==![]){let _0x1e4534=new Style({'geometry':_0x400ada,'text':createTextStyle(_0x201972['label'],_0x27e712,_0x53864d,_0x39647e),'zIndex':Number(_0x86def8)+0x1});_0x4b5d98['push'](_0x1e4534);}return _0x4b5d98;}function a65_0x2e97(_0x590cde,_0x3343ca){const _0x268c79=a65_0x268c();return a65_0x2e97=function(_0x2e9798,_0x646441){_0x2e9798=_0x2e9798-0xdc;let _0x5abadd=_0x268c79[_0x2e9798];return _0x5abadd;},a65_0x2e97(_0x590cde,_0x3343ca);}function _getRealPolyline(_0x10b83e,_0x1ebb11){const _0x25ddf2=a65_0x2e97;if(!(_0x1ebb11===null||_0x1ebb11===void 0x0?void 0x0:_0x1ebb11[_0x25ddf2(0x109)]))return _0x10b83e;else{if(_0x10b83e[_0x25ddf2(0xe1)]()===_0x25ddf2(0xf5)){let _0x338963=_0x10b83e[_0x25ddf2(0xee)]();for(let _0x3869d6 in _0x338963){let _0x26184b=_0x338963[_0x3869d6];_0x338963[_0x3869d6]=_0x26184b[_0x25ddf2(0xf9)]([_0x26184b[0x0]]);}return new MultiLineString(_0x338963);}else return new LineString(_0x10b83e[_0x25ddf2(0xee)]()[_0x25ddf2(0xf9)]([_0x10b83e[_0x25ddf2(0x10c)]()]));}}
@@ -1 +1 @@
1
- function a66_0x2e94(){const _0x5a6ffa=['rgba(0,\x20255,0,\x201)','color','rgba(121,\x20243,\x20238,\x200)','1133570MaigSt','rgba(121,\x20243,\x20238,\x200.3)','1237890tlvzNZ','282555hhTTNC','rgba(0,\x20255,0,\x200)','LineString','95620BUIpZT','Point','rgba(121,\x20243,\x20238,\x201)','Polygon','547544YiAENZ','3703832Mugapm','75gNlotG','text','setFill','7oLFqnd','222643RizxuK','setStroke','outlineColor','outlineOpacity','MultiLineString','outlineWidth','MultiPolygon'];a66_0x2e94=function(){return _0x5a6ffa;};return a66_0x2e94();}(function(_0x5e9bfb,_0x518c56){const _0x343bf0=a66_0x1647,_0x46ca8e=_0x5e9bfb();while(!![]){try{const _0x3e2b8f=parseInt(_0x343bf0(0x168))/0x1+parseInt(_0x343bf0(0x17c))/0x2+-parseInt(_0x343bf0(0x17e))/0x3*(parseInt(_0x343bf0(0x178))/0x4)+-parseInt(_0x343bf0(0x172))/0x5+parseInt(_0x343bf0(0x174))/0x6*(parseInt(_0x343bf0(0x167))/0x7)+parseInt(_0x343bf0(0x17d))/0x8+-parseInt(_0x343bf0(0x175))/0x9;if(_0x3e2b8f===_0x518c56)break;else _0x46ca8e['push'](_0x46ca8e['shift']());}catch(_0x52c54d){_0x46ca8e['push'](_0x46ca8e['shift']());}}}(a66_0x2e94,0x4bad7));import a66_0x2c3512 from'ol/style/Circle';import a66_0x400041 from'ol/style/Fill';import a66_0x2e7190 from'ol/style/Stroke';import a66_0x1e999d from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x799730=a66_0x1647;return new a66_0x1e999d({'image':new a66_0x2c3512({'radius':0x5,'fill':new a66_0x400041({'color':_0x799730(0x17a)}),'stroke':new a66_0x2e7190({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0x2c5ba6=a66_0x1647;return new a66_0x1e999d({'image':new a66_0x2c3512({'radius':0x5,'fill':new a66_0x400041({'color':_0x2c5ba6(0x171)}),'stroke':new a66_0x2e7190({'color':_0x2c5ba6(0x17a),'width':0x1})})});}function a66_0x1647(_0x3ccf99,_0x2fbefe){const _0x2e94c2=a66_0x2e94();return a66_0x1647=function(_0x16472f,_0x1e958a){_0x16472f=_0x16472f-0x166;let _0x3d06b7=_0x2e94c2[_0x16472f];return _0x3d06b7;},a66_0x1647(_0x3ccf99,_0x2fbefe);}export function getSelectLineStyle(){return new a66_0x1e999d({'stroke':new a66_0x2e7190({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2})});}export function getSelectCancelLineStyle(){const _0x5ffb31=a66_0x1647;return new a66_0x1e999d({'stroke':new a66_0x2e7190({'color':_0x5ffb31(0x16f),'width':0x2})});}export function getSelectPolygonStyle(){const _0x347528=a66_0x1647;return new a66_0x1e999d({'stroke':new a66_0x2e7190({'color':_0x347528(0x17a),'width':0x2}),'fill':new a66_0x400041({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectCancelPolygonStyle(){const _0x235f54=a66_0x1647;return new a66_0x1e999d({'stroke':new a66_0x2e7190({'color':_0x235f54(0x16f),'width':0x2}),'fill':new a66_0x400041({'color':_0x235f54(0x176)})});}export function getStyle(_0x439741){const _0x5f2324=a66_0x1647;if(_0x439741){if(_0x439741['text'])return new a66_0x1e999d({'text':createTextStyle(_0x439741,_0x439741[_0x5f2324(0x17f)]),'zIndex':0x1});else{const _0x252497=new a66_0x1e999d();return _0x439741[_0x5f2324(0x16a)]&&_0x252497[_0x5f2324(0x169)](new a66_0x2e7190({'color':getColor(_0x439741[_0x5f2324(0x16a)],_0x439741[_0x5f2324(0x16b)]),'width':_0x439741[_0x5f2324(0x16d)]||0x1})),_0x439741[_0x5f2324(0x170)]&&_0x252497[_0x5f2324(0x166)](new a66_0x400041({'color':getColor(_0x439741['fill'],_0x439741['opacity'])})),_0x252497;}}return new a66_0x1e999d({'stroke':new a66_0x2e7190({'color':_0x5f2324(0x17a),'width':0x2}),'fill':new a66_0x400041({'color':_0x5f2324(0x173)})});}export function getSelectStyle(_0x54fc89){const _0x14f523=a66_0x1647;let _0x4e1232=getSelectPolygonStyle();switch(_0x54fc89){case _0x14f523(0x16e):case _0x14f523(0x17b):_0x4e1232=getSelectPolygonStyle();break;case _0x14f523(0x16c):case _0x14f523(0x177):_0x4e1232=getSelectLineStyle();break;case'MultiPoint':case _0x14f523(0x179):_0x4e1232=getSelectPointStyle();break;default:break;}return _0x4e1232;}
1
+ (function(_0x30b7fb,_0x62270e){const _0x2b6493=a66_0x5675,_0x2aa046=_0x30b7fb();while(!![]){try{const _0x4020d4=parseInt(_0x2b6493(0x98))/0x1+-parseInt(_0x2b6493(0x9a))/0x2+parseInt(_0x2b6493(0x87))/0x3+-parseInt(_0x2b6493(0x91))/0x4+parseInt(_0x2b6493(0x88))/0x5*(-parseInt(_0x2b6493(0x93))/0x6)+-parseInt(_0x2b6493(0x8c))/0x7+parseInt(_0x2b6493(0x8f))/0x8*(parseInt(_0x2b6493(0x97))/0x9);if(_0x4020d4===_0x62270e)break;else _0x2aa046['push'](_0x2aa046['shift']());}catch(_0x4fb598){_0x2aa046['push'](_0x2aa046['shift']());}}}(a66_0x1131,0xb1f46));function a66_0x5675(_0x34c1a6,_0x6ed97a){const _0x1131ce=a66_0x1131();return a66_0x5675=function(_0x567535,_0x5c4509){_0x567535=_0x567535-0x85;let _0x976d36=_0x1131ce[_0x567535];return _0x976d36;},a66_0x5675(_0x34c1a6,_0x6ed97a);}import a66_0x2395df from'ol/style/Circle';function a66_0x1131(){const _0x2689f7=['10foRHPE','rgba(121,\x20243,\x20238,\x200.3)','setFill','Polygon','1053045OLuAir','rgba(121,\x20243,\x20238,\x200)','rgba(0,\x20255,0,\x201)','3239576qNEBQb','rgba(0,\x20255,0,\x200)','5441744qWbAbS','fill','3960510eTOiiE','rgba(121,\x20243,\x20238,\x201)','outlineColor','text','45gCYmxw','1298610kPpwjp','color','1646868viDEtV','LineString','outlineWidth','MultiLineString','3180096orVyWp'];a66_0x1131=function(){return _0x2689f7;};return a66_0x1131();}import a66_0x367540 from'ol/style/Fill';import a66_0x55ad15 from'ol/style/Stroke';import a66_0xf697c0 from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x115c61=a66_0x5675;return new a66_0xf697c0({'image':new a66_0x2395df({'radius':0x5,'fill':new a66_0x367540({'color':_0x115c61(0x94)}),'stroke':new a66_0x55ad15({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0x5ce253=a66_0x5675;return new a66_0xf697c0({'image':new a66_0x2395df({'radius':0x5,'fill':new a66_0x367540({'color':_0x5ce253(0x8d)}),'stroke':new a66_0x55ad15({'color':_0x5ce253(0x94),'width':0x1})})});}export function getSelectLineStyle(){const _0x1c8930=a66_0x5675;return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':_0x1c8930(0x94),'width':0x2})});}export function getSelectCancelLineStyle(){return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':'rgba(0,\x20255,0,\x201)','width':0x2})});}export function getSelectPolygonStyle(){const _0x4d597a=a66_0x5675;return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':_0x4d597a(0x94),'width':0x2}),'fill':new a66_0x367540({'color':_0x4d597a(0x89)})});}export function getSelectCancelPolygonStyle(){const _0x206ff9=a66_0x5675;return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':_0x206ff9(0x8e),'width':0x2}),'fill':new a66_0x367540({'color':_0x206ff9(0x90)})});}export function getStyle(_0x3fc26d){const _0x865322=a66_0x5675;if(_0x3fc26d){if(_0x3fc26d[_0x865322(0x96)])return new a66_0xf697c0({'text':createTextStyle(_0x3fc26d,_0x3fc26d[_0x865322(0x96)]),'zIndex':0x1});else{const _0x34d2df=new a66_0xf697c0();return _0x3fc26d[_0x865322(0x95)]&&_0x34d2df['setStroke'](new a66_0x55ad15({'color':getColor(_0x3fc26d[_0x865322(0x95)],_0x3fc26d['outlineOpacity']),'width':_0x3fc26d[_0x865322(0x85)]||0x1})),_0x3fc26d[_0x865322(0x99)]&&_0x34d2df[_0x865322(0x8a)](new a66_0x367540({'color':getColor(_0x3fc26d[_0x865322(0x92)],_0x3fc26d['opacity'])})),_0x34d2df;}}return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':_0x865322(0x94),'width':0x2}),'fill':new a66_0x367540({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectStyle(_0x3fd41c){const _0x53be45=a66_0x5675;let _0x5153ab=getSelectPolygonStyle();switch(_0x3fd41c){case'MultiPolygon':case _0x53be45(0x8b):_0x5153ab=getSelectPolygonStyle();break;case _0x53be45(0x86):case _0x53be45(0x9b):_0x5153ab=getSelectLineStyle();break;case'MultiPoint':case'Point':_0x5153ab=getSelectPointStyle();break;default:break;}return _0x5153ab;}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x4ad93d,_0x2b61d4){const _0x2f4576=a62_0x9be0,_0x1a2715=_0x4ad93d();while(!![]){try{const _0x253170=parseInt(_0x2f4576(0x81))/0x1*(parseInt(_0x2f4576(0x8e))/0x2)+parseInt(_0x2f4576(0x68))/0x3*(parseInt(_0x2f4576(0x87))/0x4)+-parseInt(_0x2f4576(0x7f))/0x5*(parseInt(_0x2f4576(0x74))/0x6)+-parseInt(_0x2f4576(0x8a))/0x7*(parseInt(_0x2f4576(0x6b))/0x8)+-parseInt(_0x2f4576(0x8c))/0x9*(parseInt(_0x2f4576(0x8f))/0xa)+parseInt(_0x2f4576(0x6e))/0xb+parseInt(_0x2f4576(0x7e))/0xc;if(_0x253170===_0x2b61d4)break;else _0x1a2715['push'](_0x1a2715['shift']());}catch(_0x2e03be){_0x1a2715['push'](_0x1a2715['shift']());}}}(a62_0x4807,0x31241));import a62_0x573619 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0x148d71 from'../utils/plug/canvas/PinIcon';import a62_0x55603b from'ol/ImageState';export function isShowStyle(_0x1b2c3d,_0x5afc0a,_0x3889dd){const _0xe3841c=a62_0x9be0;let _0x22f553=!![];if(_0x5afc0a==undefined||_0x3889dd==undefined)return _0x22f553;if(_0x1b2c3d&&typeof _0x1b2c3d[_0xe3841c(0x86)]!=undefined&&typeof _0x1b2c3d[_0xe3841c(0x90)]!=undefined){if(_0x1b2c3d[_0xe3841c(0x86)]&&_0x3889dd){_0x22f553=![];let _0x43d7d6=getLevel(_0x1b2c3d[_0xe3841c(0x86)]),_0x54504c=_0x3889dd[_0xe3841c(0x7a)]()[_0xe3841c(0x92)](_0x43d7d6);_0x5afc0a<_0x54504c&&(_0x22f553=!![]);}if(_0x22f553&&_0x1b2c3d[_0xe3841c(0x90)]&&_0x3889dd){_0x22f553=![];let _0x3dbe1b=getLevel(_0x1b2c3d[_0xe3841c(0x90)]),_0x20d0d6=_0x3889dd[_0xe3841c(0x7a)]()[_0xe3841c(0x92)](_0x3dbe1b);_0x5afc0a>_0x20d0d6&&(_0x22f553=!![]);}}return _0x22f553;}function a62_0x9be0(_0x46e836,_0x34f239){const _0x48074c=a62_0x4807();return a62_0x9be0=function(_0x9be060,_0x24a30b){_0x9be060=_0x9be060-0x67;let _0x2789c2=_0x48074c[_0x9be060];return _0x2789c2;},a62_0x9be0(_0x46e836,_0x34f239);}export function getLevel(_0x124d02){const _0x286107=a62_0x9be0,_0x5dda88=3252.745,_0x1bf327=0.0009198301,_0x257585=52977.61,_0xc6e350=-3228.107;return _0xc6e350+(_0x5dda88-_0xc6e350)/(0x1+Math[_0x286107(0x73)](_0x124d02/_0x257585,_0x1bf327));}function a62_0x4807(){const _0x1b04fb=['3550596JRyeCp','50335BDRNmj','outline','283GLLjFA','border_color','alpha','bold','image','distanceDisplayFar','32zOHHko','#2A2A2A','LOADED','119HzuICd','fill','11151IryDIJ','textAlign','1490SWqPyu','1130TXnGdD','distanceDisplayNear','center','getResolutionForZoom','offsetY','59025uyCIBz','outlineWidth','offsetX','77384GUKZoB','weight','ERROR','140250ObHxte','border','listenImageChange','middle','getImageState','pow','102FDkRhY','normal','size','textBaseline','target','color','getView','font','italic','\x20normal\x20'];a62_0x4807=function(){return _0x1b04fb;};return a62_0x4807();}export function toRadians(_0x59c7d8){if(_0x59c7d8)return-(_0x59c7d8*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x482b04,_0x5d9871,_0x369cb3,_0x2292a8){const _0xe1288c=a62_0x9be0;if(_0x482b04){let _0x1efdde=isShowStyle(_0x482b04,_0x369cb3,_0x2292a8);if(_0x1efdde===![])return undefined;else{const _0x4f4f08=_0x482b04[_0xe1288c(0x7b)],_0x3287db=(_0x4f4f08===null||_0x4f4f08===void 0x0?void 0x0:_0x4f4f08[_0xe1288c(0x7c)])?_0xe1288c(0x7c):_0xe1288c(0x75),_0xb701f4=(_0x4f4f08===null||_0x4f4f08===void 0x0?void 0x0:_0x4f4f08[_0xe1288c(0x6c)])?_0xe1288c(0x84):_0xe1288c(0x75),_0x204537=(_0x4f4f08===null||_0x4f4f08===void 0x0?void 0x0:_0x4f4f08[_0xe1288c(0x76)])||'25',_0x196a42=(_0x4f4f08===null||_0x4f4f08===void 0x0?void 0x0:_0x4f4f08['family'])||'楷体';let _0x4cb429=_0x3287db+_0xe1288c(0x7d)+_0xb701f4+'\x20'+_0x204537+'px\x20'+_0x196a42,_0xf7ccbe=(_0x4f4f08===null||_0x4f4f08===void 0x0?void 0x0:_0x4f4f08[_0xe1288c(0x6a)])||0x0,_0x5155dc=(_0x4f4f08===null||_0x4f4f08===void 0x0?void 0x0:_0x4f4f08[_0xe1288c(0x67)])||0x0,_0x36accc=(_0x4f4f08===null||_0x4f4f08===void 0x0?void 0x0:_0x4f4f08[_0xe1288c(0x77)])||_0xe1288c(0x71),_0x66605a=(_0x4f4f08===null||_0x4f4f08===void 0x0?void 0x0:_0x4f4f08[_0xe1288c(0x8d)])||_0xe1288c(0x91);const _0x5062b9=_0x482b04['opacity']||0x1;return new Text({'text':_0x5d9871,'font':_0x4cb429,'offsetX':_0xf7ccbe,'offsetY':_0x5155dc,'textAlign':_0x66605a,'textBaseline':_0x36accc,'fill':new Fill({'color':getColor(_0x482b04[_0xe1288c(0x79)],_0x5062b9)}),'stroke':_getLabelStroke(_0x482b04),'backgroundFill':_0x482b04[_0xe1288c(0x8b)]?new Fill({'color':getColor(_0x482b04[_0xe1288c(0x8b)]||_0xe1288c(0x88),_0x5062b9)}):undefined});}}else return undefined;}export function getColor(_0x3d4d96,_0x2584da){const _0x1bd721=a62_0x9be0;return a62_0x573619(_0x3d4d96)[_0x1bd721(0x83)](_0x2584da!=undefined?_0x2584da:0x1)['hexa']();}function _getLabelStroke(_0xa1cef9){const _0x2d2f74=a62_0x9be0;if(_0xa1cef9[_0x2d2f74(0x6f)])return new Stroke({'color':getColor(_0xa1cef9[_0x2d2f74(0x82)],_0xa1cef9['opacity']),'width':_0xa1cef9['border_width']});if(_0xa1cef9[_0x2d2f74(0x80)])return new Stroke({'color':getColor(_0xa1cef9['outlineColor'],_0xa1cef9['opacity']),'width':_0xa1cef9[_0x2d2f74(0x69)]});}export function preLoadImageRenderFunction(_0x471b32,_0x1442c4,_0x51f47e,_0x5884b0,_0x4c4aa8){const _0x3d3031=a62_0x9be0;let _0x287b10;_0x471b32['markerColor']?_0x287b10=new a62_0x148d71(_0x471b32):_0x287b10=new Icon({'src':_0x471b32[_0x3d3031(0x85)]});let _0x3bc3ab=_0x287b10[_0x3d3031(0x72)]();_0x3bc3ab===a62_0x55603b[_0x3d3031(0x89)]||_0x3bc3ab===a62_0x55603b['ERROR']?_0x4c4aa8(_0x471b32,_0x1442c4,_0x51f47e,_0x5884b0,_0x287b10['getImage'](0x60)):(_0x3bc3ab===a62_0x55603b['IDLE']&&_0x287b10['load'](),_0x287b10[_0x3d3031(0x70)](_0x79e6b=>{const _0x55f556=_0x3d3031;_0x3bc3ab=_0x79e6b[_0x55f556(0x78)][_0x55f556(0x72)](),(_0x3bc3ab===a62_0x55603b[_0x55f556(0x89)]||_0x3bc3ab===a62_0x55603b[_0x55f556(0x6d)])&&_0x4c4aa8(_0x471b32,_0x1442c4,_0x51f47e,_0x5884b0,_0x287b10['getImage'](0x60));}));}
1
+ (function(_0x26fee3,_0x43682a){const _0xf60fc=a62_0x4ede,_0xd43672=_0x26fee3();while(!![]){try{const _0x183086=parseInt(_0xf60fc(0x204))/0x1+-parseInt(_0xf60fc(0x1ff))/0x2*(parseInt(_0xf60fc(0x208))/0x3)+parseInt(_0xf60fc(0x1ee))/0x4*(-parseInt(_0xf60fc(0x1f9))/0x5)+parseInt(_0xf60fc(0x209))/0x6+parseInt(_0xf60fc(0x1fb))/0x7+-parseInt(_0xf60fc(0x207))/0x8+parseInt(_0xf60fc(0x1fd))/0x9*(parseInt(_0xf60fc(0x219))/0xa);if(_0x183086===_0x43682a)break;else _0xd43672['push'](_0xd43672['shift']());}catch(_0x57beeb){_0xd43672['push'](_0xd43672['shift']());}}}(a62_0x4430,0x7c4dd));import a62_0x49534d from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0x3ba2bf from'../utils/plug/canvas/PinIcon';import a62_0xcf97bc from'ol/ImageState';export function isShowStyle(_0x57337e,_0x598dda,_0x5c8e95){const _0x5dcccc=a62_0x4ede;let _0x33d240=!![];if(_0x598dda==undefined||_0x5c8e95==undefined)return _0x33d240;if(_0x57337e&&typeof _0x57337e[_0x5dcccc(0x214)]!=undefined&&typeof _0x57337e[_0x5dcccc(0x201)]!=undefined){if(_0x57337e['distanceDisplayFar']&&_0x5c8e95){_0x33d240=![];let _0x4681b8=getLevel(_0x57337e[_0x5dcccc(0x214)]),_0x5d1ed8=_0x5c8e95[_0x5dcccc(0x213)]()[_0x5dcccc(0x1fa)](_0x4681b8);_0x598dda<_0x5d1ed8&&(_0x33d240=!![]);}if(_0x33d240&&_0x57337e[_0x5dcccc(0x201)]&&_0x5c8e95){_0x33d240=![];let _0x369c6f=getLevel(_0x57337e[_0x5dcccc(0x201)]),_0x241b16=_0x5c8e95[_0x5dcccc(0x213)]()[_0x5dcccc(0x1fa)](_0x369c6f);_0x598dda>_0x241b16&&(_0x33d240=!![]);}}return _0x33d240;}export function getLevel(_0x50bfce){const _0xa0e510=a62_0x4ede,_0xf0ac09=3252.745,_0x11c872=0.0009198301,_0x49abbb=52977.61,_0x26634e=-3228.107;return _0x26634e+(_0xf0ac09-_0x26634e)/(0x1+Math[_0xa0e510(0x200)](_0x50bfce/_0x49abbb,_0x11c872));}export function toRadians(_0x14ef0a){if(_0x14ef0a)return-(_0x14ef0a*Math['PI'])/0xb4;return 0x0;}function a62_0x4430(){const _0x3d5f18=['border','offsetX','316naVrcF','size','target','ERROR','color','textBaseline','family','border_width','#2A2A2A','bold','opacity','11485GwNrzZ','getResolutionForZoom','573692wKOaSF','italic','2587050PVIDom','normal','37274uBKyvE','pow','distanceDisplayNear','LOADED','load','240899OVUOHY','getImage','middle','5973280jiLwkQ','153iyUytf','3765924jbWMeb','outlineColor','alpha','image','markerColor','outline','outlineWidth','\x20normal\x20','listenImageChange','hexa','getView','distanceDisplayFar','offsetY','fill','font','center','50nWDYEq','IDLE'];a62_0x4430=function(){return _0x3d5f18;};return a62_0x4430();}export function createTextStyle(_0x237b12,_0x2af068,_0x10d8cc,_0x29ccfb){const _0x29b6fe=a62_0x4ede;if(_0x237b12){let _0x5d4279=isShowStyle(_0x237b12,_0x10d8cc,_0x29ccfb);if(_0x5d4279===![])return undefined;else{const _0x52e492=_0x237b12[_0x29b6fe(0x217)],_0x308841=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1fc)])?_0x29b6fe(0x1fc):_0x29b6fe(0x1fe),_0x14883b=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492['weight'])?_0x29b6fe(0x1f7):_0x29b6fe(0x1fe),_0x21651f=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1ef)])||'25',_0x5bbe6f=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1f4)])||'楷体';let _0x40c25e=_0x308841+_0x29b6fe(0x210)+_0x14883b+'\x20'+_0x21651f+'px\x20'+_0x5bbe6f,_0x4bacb4=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1ed)])||0x0,_0x40d019=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x215)])||0x0,_0x942bae=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1f3)])||_0x29b6fe(0x206),_0x111c08=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492['textAlign'])||_0x29b6fe(0x218);const _0x6c694=_0x237b12[_0x29b6fe(0x1f8)]||0x1;return new Text({'text':_0x2af068,'font':_0x40c25e,'offsetX':_0x4bacb4,'offsetY':_0x40d019,'textAlign':_0x111c08,'textBaseline':_0x942bae,'fill':new Fill({'color':getColor(_0x237b12[_0x29b6fe(0x1f2)],_0x6c694)}),'stroke':_getLabelStroke(_0x237b12),'backgroundFill':_0x237b12[_0x29b6fe(0x216)]?new Fill({'color':getColor(_0x237b12[_0x29b6fe(0x216)]||_0x29b6fe(0x1f6),_0x6c694)}):undefined});}}else return undefined;}export function getColor(_0x3e598f,_0x3d31f3){const _0x1ce136=a62_0x4ede;return a62_0x49534d(_0x3e598f)[_0x1ce136(0x20b)](_0x3d31f3!=undefined?_0x3d31f3:0x1)[_0x1ce136(0x212)]();}function _getLabelStroke(_0x14196c){const _0x3157f5=a62_0x4ede;if(_0x14196c[_0x3157f5(0x21b)])return new Stroke({'color':getColor(_0x14196c['border_color'],_0x14196c[_0x3157f5(0x1f8)]),'width':_0x14196c[_0x3157f5(0x1f5)]});if(_0x14196c[_0x3157f5(0x20e)])return new Stroke({'color':getColor(_0x14196c[_0x3157f5(0x20a)],_0x14196c[_0x3157f5(0x1f8)]),'width':_0x14196c[_0x3157f5(0x20f)]});}function a62_0x4ede(_0x25a050,_0x437723){const _0x443097=a62_0x4430();return a62_0x4ede=function(_0x4eded6,_0x4c6b6a){_0x4eded6=_0x4eded6-0x1ed;let _0x453a71=_0x443097[_0x4eded6];return _0x453a71;},a62_0x4ede(_0x25a050,_0x437723);}export function preLoadImageRenderFunction(_0x4d2459,_0x12f198,_0x8bd25b,_0xfc51ce,_0x62490b){const _0x3b109f=a62_0x4ede;let _0x2a400d;_0x4d2459[_0x3b109f(0x20d)]?_0x2a400d=new a62_0x3ba2bf(_0x4d2459):_0x2a400d=new Icon({'src':_0x4d2459[_0x3b109f(0x20c)]});let _0x1bff4f=_0x2a400d['getImageState']();_0x1bff4f===a62_0xcf97bc[_0x3b109f(0x202)]||_0x1bff4f===a62_0xcf97bc['ERROR']?_0x62490b(_0x4d2459,_0x12f198,_0x8bd25b,_0xfc51ce,_0x2a400d[_0x3b109f(0x205)](0x60)):(_0x1bff4f===a62_0xcf97bc[_0x3b109f(0x21a)]&&_0x2a400d[_0x3b109f(0x203)](),_0x2a400d[_0x3b109f(0x211)](_0x151a4e=>{const _0x4e1260=_0x3b109f;_0x1bff4f=_0x151a4e[_0x4e1260(0x1f0)]['getImageState'](),(_0x1bff4f===a62_0xcf97bc['LOADED']||_0x1bff4f===a62_0xcf97bc[_0x4e1260(0x1f1)])&&_0x62490b(_0x4d2459,_0x12f198,_0x8bd25b,_0xfc51ce,_0x2a400d[_0x4e1260(0x205)](0x60));}));}
@@ -1 +1 @@
1
- (function(_0x4ce082,_0x8a3b2d){const _0x8250b4=a67_0x4065,_0x1e5ce3=_0x4ce082();while(!![]){try{const _0x1550fd=-parseInt(_0x8250b4(0x18f))/0x1*(parseInt(_0x8250b4(0x186))/0x2)+-parseInt(_0x8250b4(0x187))/0x3*(-parseInt(_0x8250b4(0x193))/0x4)+parseInt(_0x8250b4(0x18c))/0x5+parseInt(_0x8250b4(0x18e))/0x6*(-parseInt(_0x8250b4(0x185))/0x7)+-parseInt(_0x8250b4(0x18a))/0x8+-parseInt(_0x8250b4(0x18d))/0x9*(-parseInt(_0x8250b4(0x191))/0xa)+-parseInt(_0x8250b4(0x184))/0xb*(-parseInt(_0x8250b4(0x194))/0xc);if(_0x1550fd===_0x8a3b2d)break;else _0x1e5ce3['push'](_0x1e5ce3['shift']());}catch(_0x14f775){_0x1e5ce3['push'](_0x1e5ce3['shift']());}}}(a67_0x719d,0x583ac));export function getDeepth(_0x30d60d){function _0x263e10(_0xb7e851,_0x351e77){const _0x30c896=a67_0x4065;return _0xb7e851[_0x30c896(0x188)](function(_0xfe34ed,_0x2c1879){var _0x27c4d0;return Array['isArray'](_0x2c1879)&&(_0x27c4d0=_0x263e10(_0x2c1879,_0x351e77+0x1)),_0x27c4d0>_0xfe34ed?_0x27c4d0:_0xfe34ed;},_0x351e77);}return _0x263e10(_0x30d60d,0x1);}function a67_0x719d(){const _0x2765fa=['4645992MOCJMX','every','192615EBJpVI','135hMqEvG','12nqMzQC','1gMZZyu','length','285460KiCIcN','keys','164tZGXuy','72uLibbJ','2577333eJCuqo','1759261EveGDx','1386446QzHGwv','19425OHmamn','reduce','object'];a67_0x719d=function(){return _0x2765fa;};return a67_0x719d();}function a67_0x4065(_0x44232f,_0x3588f0){const _0x719da2=a67_0x719d();return a67_0x4065=function(_0x406544,_0x4198d2){_0x406544=_0x406544-0x184;let _0x45f791=_0x719da2[_0x406544];return _0x45f791;},a67_0x4065(_0x44232f,_0x3588f0);}export function compareArray(_0x1fda6e,_0x331d53){const _0x3c96a3=a67_0x4065;if(_0x1fda6e[_0x3c96a3(0x190)]!==_0x331d53[_0x3c96a3(0x190)])return![];const _0x14a5a3=_0x1fda6e[_0x3c96a3(0x190)];for(let _0x510bc6=0x0;_0x510bc6<_0x14a5a3;_0x510bc6++){if(!compare(_0x1fda6e[_0x510bc6],_0x331d53[_0x510bc6]))return![];}return!![];}export function compare(_0x2cff4e,_0x391b52){const _0x36a8f7=a67_0x4065;if(_0x2cff4e===_0x391b52)return!![];if(typeof _0x2cff4e!==typeof _0x391b52||_0x2cff4e===null||_0x391b52===null)return![];if(Array['isArray'](_0x2cff4e)){if(!Array['isArray'](_0x391b52))return![];return compareArray(_0x2cff4e,_0x391b52);}if(typeof _0x2cff4e===_0x36a8f7(0x189))return compareObject(_0x2cff4e,_0x391b52);return![];}export function compareObject(_0x35a855,_0x68826e){const _0x10778a=a67_0x4065,_0x278901=Object['keys'](_0x35a855),_0x49489a=Object[_0x10778a(0x192)](_0x68826e);if(_0x278901[_0x10778a(0x190)]!==_0x49489a['length'])return![];return _0x278901[_0x10778a(0x18b)](_0x258712=>{if(!compare(_0x35a855[_0x258712],_0x68826e[_0x258712]))return![];return!![];});}
1
+ function a67_0x2689(){const _0x6b9900=['reduce','1031658GKZecU','1723050OtvbWp','length','28161870QZJnoz','304956BEydtj','keys','3lBXXEx','143576pAsPbB','7GlMSlP','every','170ORRSdg','2749628RQTLqF','4217568VWCGdP','isArray','2kZVZLm'];a67_0x2689=function(){return _0x6b9900;};return a67_0x2689();}(function(_0x25da83,_0x3af9c5){const _0x51bde2=a67_0x4ff7,_0x4c5d97=_0x25da83();while(!![]){try{const _0x53d1b9=-parseInt(_0x51bde2(0x1ad))/0x1*(-parseInt(_0x51bde2(0x1a6))/0x2)+parseInt(_0x51bde2(0x1b5))/0x3*(-parseInt(_0x51bde2(0x1aa))/0x4)+-parseInt(_0x51bde2(0x1b0))/0x5+-parseInt(_0x51bde2(0x1af))/0x6*(parseInt(_0x51bde2(0x1a7))/0x7)+-parseInt(_0x51bde2(0x1ab))/0x8+-parseInt(_0x51bde2(0x1b3))/0x9*(parseInt(_0x51bde2(0x1a9))/0xa)+parseInt(_0x51bde2(0x1b2))/0xb;if(_0x53d1b9===_0x3af9c5)break;else _0x4c5d97['push'](_0x4c5d97['shift']());}catch(_0x1659d3){_0x4c5d97['push'](_0x4c5d97['shift']());}}}(a67_0x2689,0x60d12));export function getDeepth(_0x34fa68){function _0x700d2(_0x5979f8,_0x36b5d3){const _0x46b447=a67_0x4ff7;return _0x5979f8[_0x46b447(0x1ae)](function(_0xd68977,_0x341b94){const _0x10f9b9=_0x46b447;var _0x5dafa6;return Array[_0x10f9b9(0x1ac)](_0x341b94)&&(_0x5dafa6=_0x700d2(_0x341b94,_0x36b5d3+0x1)),_0x5dafa6>_0xd68977?_0x5dafa6:_0xd68977;},_0x36b5d3);}return _0x700d2(_0x34fa68,0x1);}function a67_0x4ff7(_0x4d7f1e,_0x7817c6){const _0x2689d3=a67_0x2689();return a67_0x4ff7=function(_0x4ff7d8,_0xf58c62){_0x4ff7d8=_0x4ff7d8-0x1a6;let _0x14aa72=_0x2689d3[_0x4ff7d8];return _0x14aa72;},a67_0x4ff7(_0x4d7f1e,_0x7817c6);}export function compareArray(_0x51f2eb,_0x44e0d5){const _0x3ace7a=a67_0x4ff7;if(_0x51f2eb[_0x3ace7a(0x1b1)]!==_0x44e0d5[_0x3ace7a(0x1b1)])return![];const _0x361c03=_0x51f2eb[_0x3ace7a(0x1b1)];for(let _0x588979=0x0;_0x588979<_0x361c03;_0x588979++){if(!compare(_0x51f2eb[_0x588979],_0x44e0d5[_0x588979]))return![];}return!![];}export function compare(_0x293b64,_0x29929e){const _0x6478e5=a67_0x4ff7;if(_0x293b64===_0x29929e)return!![];if(typeof _0x293b64!==typeof _0x29929e||_0x293b64===null||_0x29929e===null)return![];if(Array[_0x6478e5(0x1ac)](_0x293b64)){if(!Array[_0x6478e5(0x1ac)](_0x29929e))return![];return compareArray(_0x293b64,_0x29929e);}if(typeof _0x293b64==='object')return compareObject(_0x293b64,_0x29929e);return![];}export function compareObject(_0x3c0198,_0x4edaa2){const _0x42d5cd=a67_0x4ff7,_0x17dfc2=Object[_0x42d5cd(0x1b4)](_0x3c0198),_0x275ace=Object['keys'](_0x4edaa2);if(_0x17dfc2[_0x42d5cd(0x1b1)]!==_0x275ace[_0x42d5cd(0x1b1)])return![];return _0x17dfc2[_0x42d5cd(0x1a8)](_0x2502fc=>{if(!compare(_0x3c0198[_0x2502fc],_0x4edaa2[_0x2502fc]))return![];return!![];});}
@@ -1 +1 @@
1
- const a68_0x20726a=a68_0x3b48;(function(_0x543ae0,_0x1cc159){const _0x2ff5b2=a68_0x3b48,_0x695992=_0x543ae0();while(!![]){try{const _0x266a48=-parseInt(_0x2ff5b2(0xbe))/0x1*(parseInt(_0x2ff5b2(0xca))/0x2)+parseInt(_0x2ff5b2(0xc2))/0x3+-parseInt(_0x2ff5b2(0xc3))/0x4+parseInt(_0x2ff5b2(0xcc))/0x5*(parseInt(_0x2ff5b2(0xc6))/0x6)+parseInt(_0x2ff5b2(0xc8))/0x7+-parseInt(_0x2ff5b2(0xcb))/0x8+-parseInt(_0x2ff5b2(0xc4))/0x9*(-parseInt(_0x2ff5b2(0xbb))/0xa);if(_0x266a48===_0x1cc159)break;else _0x695992['push'](_0x695992['shift']());}catch(_0x115fbb){_0x695992['push'](_0x695992['shift']());}}}(a68_0x13ca,0x9e995));function a68_0x13ca(){const _0x40709a=['get','create','constructor','2493795sakpXK','1351320VJeMZK','32733hHoDeE','stringify','5364jQzNmz','hasOwnProperty','7954044qKknwE','append','4534EmVCbB','10290944WjVcVY','160WjBEmP','2490LOwhvv','ajax','forEach','277cudfWa'];a68_0x13ca=function(){return _0x40709a;};return a68_0x13ca();}import a68_0x48cbe6 from'axios';import a68_0x32839a from'jquery';function a68_0x3b48(_0x2d672a,_0x425e2a){const _0x13cabb=a68_0x13ca();return a68_0x3b48=function(_0x3b4846,_0x46aec2){_0x3b4846=_0x3b4846-0xbb;let _0x3bd07c=_0x13cabb[_0x3b4846];return _0x3bd07c;},a68_0x3b48(_0x2d672a,_0x425e2a);}const request=a68_0x48cbe6[a68_0x20726a(0xc0)]({'timeout':0xb4*0x3e8});export function jsonp(_0x44db77){return new Promise((_0x2ad285,_0x42b3f3)=>{const _0x2b801c=a68_0x3b48;a68_0x32839a[_0x2b801c(0xbc)]({'url':_0x44db77,'type':_0x2b801c(0xbf),'dataType':'jsonp','success':_0x4b466d=>{_0x2ad285(_0x4b466d);},'error':_0x1d1f74=>{_0x42b3f3(_0x1d1f74);}});});}export function stringify(_0x21c8c5){const _0x147f17=a68_0x20726a,_0x4d719a=new FormData();for(const _0x4d7a3a in _0x21c8c5){if(_0x21c8c5[_0x147f17(0xc7)](_0x4d7a3a)){if(_0x21c8c5[_0x4d7a3a]){if(_0x21c8c5[_0x4d7a3a][_0x147f17(0xc1)]===Array)_0x21c8c5[_0x4d7a3a][0x0]?_0x21c8c5[_0x4d7a3a][0x0][_0x147f17(0xc1)]===Object?_0x4d719a[_0x147f17(0xc9)](_0x4d7a3a,JSON[_0x147f17(0xc5)](_0x21c8c5[_0x4d7a3a])):_0x21c8c5[_0x4d7a3a][_0x147f17(0xbd)]((_0x4c2a52,_0x214362)=>{const _0x7abcff=_0x147f17;_0x4d719a[_0x7abcff(0xc9)](_0x4d7a3a+('['+_0x214362+']'),_0x4c2a52);}):_0x4d719a['append'](_0x4d7a3a+'[]','');else _0x21c8c5[_0x4d7a3a][_0x147f17(0xc1)]===Object?_0x4d719a[_0x147f17(0xc9)](_0x4d7a3a,JSON[_0x147f17(0xc5)](_0x21c8c5[_0x4d7a3a])):_0x4d719a['append'](_0x4d7a3a,_0x21c8c5[_0x4d7a3a]);}else _0x21c8c5[_0x4d7a3a]===0x0?_0x4d719a[_0x147f17(0xc9)](_0x4d7a3a,'0'):_0x4d719a[_0x147f17(0xc9)](_0x4d7a3a,'');}}return _0x4d719a;}export default request;
1
+ function a68_0x5e1f(){const _0x14ff95=['10866560iimcvz','368316ORjcKA','1048050znboeq','363682CVjJTT','append','110uPlIzC','stringify','56nnEQbK','356KKovPL','constructor','2zjqxBV','get','614044AYsEuE','79185Zdomzj','4266465AshtVR','ajax'];a68_0x5e1f=function(){return _0x14ff95;};return a68_0x5e1f();}(function(_0x4cba11,_0x448267){const _0x18592a=a68_0xcb80,_0x12ec60=_0x4cba11();while(!![]){try{const _0x5a9f65=-parseInt(_0x18592a(0x18d))/0x1*(parseInt(_0x18592a(0x18b))/0x2)+-parseInt(_0x18592a(0x18f))/0x3+parseInt(_0x18592a(0x189))/0x4*(parseInt(_0x18592a(0x18e))/0x5)+parseInt(_0x18592a(0x192))/0x6*(parseInt(_0x18592a(0x188))/0x7)+parseInt(_0x18592a(0x191))/0x8+-parseInt(_0x18592a(0x193))/0x9+parseInt(_0x18592a(0x186))/0xa*(-parseInt(_0x18592a(0x194))/0xb);if(_0x5a9f65===_0x448267)break;else _0x12ec60['push'](_0x12ec60['shift']());}catch(_0x3f6180){_0x12ec60['push'](_0x12ec60['shift']());}}}(a68_0x5e1f,0xb54aa));import a68_0x1e64a1 from'axios';import a68_0x2c8453 from'jquery';const request=a68_0x1e64a1['create']({'timeout':0xb4*0x3e8});export function jsonp(_0x40fe11){return new Promise((_0x375d5f,_0x178bca)=>{const _0x405443=a68_0xcb80;a68_0x2c8453[_0x405443(0x190)]({'url':_0x40fe11,'type':_0x405443(0x18c),'dataType':'jsonp','success':_0x5144c0=>{_0x375d5f(_0x5144c0);},'error':_0xc5b48a=>{_0x178bca(_0xc5b48a);}});});}function a68_0xcb80(_0x4c57d1,_0x15a5ce){const _0x5e1ffb=a68_0x5e1f();return a68_0xcb80=function(_0xcb80b1,_0x27bef4){_0xcb80b1=_0xcb80b1-0x186;let _0x58fb24=_0x5e1ffb[_0xcb80b1];return _0x58fb24;},a68_0xcb80(_0x4c57d1,_0x15a5ce);}export function stringify(_0x5b8129){const _0x399cd5=a68_0xcb80,_0x5f1f55=new FormData();for(const _0x3205e0 in _0x5b8129){if(_0x5b8129['hasOwnProperty'](_0x3205e0)){if(_0x5b8129[_0x3205e0]){if(_0x5b8129[_0x3205e0][_0x399cd5(0x18a)]===Array)_0x5b8129[_0x3205e0][0x0]?_0x5b8129[_0x3205e0][0x0][_0x399cd5(0x18a)]===Object?_0x5f1f55[_0x399cd5(0x195)](_0x3205e0,JSON[_0x399cd5(0x187)](_0x5b8129[_0x3205e0])):_0x5b8129[_0x3205e0]['forEach']((_0x6509e3,_0x4bc0b4)=>{const _0x4c01d5=_0x399cd5;_0x5f1f55[_0x4c01d5(0x195)](_0x3205e0+('['+_0x4bc0b4+']'),_0x6509e3);}):_0x5f1f55[_0x399cd5(0x195)](_0x3205e0+'[]','');else _0x5b8129[_0x3205e0]['constructor']===Object?_0x5f1f55['append'](_0x3205e0,JSON[_0x399cd5(0x187)](_0x5b8129[_0x3205e0])):_0x5f1f55[_0x399cd5(0x195)](_0x3205e0,_0x5b8129[_0x3205e0]);}else _0x5b8129[_0x3205e0]===0x0?_0x5f1f55['append'](_0x3205e0,'0'):_0x5f1f55[_0x399cd5(0x195)](_0x3205e0,'');}}return _0x5f1f55;}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- function a69_0x305c(_0x39a8ca,_0x3070bb){const _0x2c9baa=a69_0x2c9b();return a69_0x305c=function(_0x305c0a,_0x2904ab){_0x305c0a=_0x305c0a-0x161;let _0x52a530=_0x2c9baa[_0x305c0a];return _0x52a530;},a69_0x305c(_0x39a8ca,_0x3070bb);}(function(_0x11c060,_0x350ca3){const _0x4f06c2=a69_0x305c,_0x8265eb=_0x11c060();while(!![]){try{const _0x223969=-parseInt(_0x4f06c2(0x169))/0x1*(parseInt(_0x4f06c2(0x165))/0x2)+-parseInt(_0x4f06c2(0x162))/0x3+parseInt(_0x4f06c2(0x16a))/0x4*(parseInt(_0x4f06c2(0x161))/0x5)+parseInt(_0x4f06c2(0x16e))/0x6*(parseInt(_0x4f06c2(0x164))/0x7)+parseInt(_0x4f06c2(0x163))/0x8*(-parseInt(_0x4f06c2(0x168))/0x9)+parseInt(_0x4f06c2(0x167))/0xa*(parseInt(_0x4f06c2(0x16b))/0xb)+parseInt(_0x4f06c2(0x166))/0xc;if(_0x223969===_0x350ca3)break;else _0x8265eb['push'](_0x8265eb['shift']());}catch(_0x1d2ee7){_0x8265eb['push'](_0x8265eb['shift']());}}}(a69_0x2c9b,0x8c24d));export function getEsriSpatialReference(_0x1d9740){const _0x1ba976=a69_0x305c;let _0x59dbc0;if(_0x1d9740){let _0x848d4e=_0x1d9740[_0x1ba976(0x16d)]();_0x848d4e[_0x1ba976(0x16c)]('EPSG:')===0x0?_0x59dbc0=_0x1d9740['replace']('EPSG:',''):_0x59dbc0=_0x1d9740;}return _0x59dbc0;}function a69_0x2c9b(){const _0x354648=['27juTPDH','535372iPUFmQ','1848472YhqRuz','22aJJIVj','indexOf','toUpperCase','348ocvoFG','5ocNSOC','1383798HJVnOE','984936siNHHU','19383DLfnEM','2oDWMmu','3114240airZer','5288890xljhVt'];a69_0x2c9b=function(){return _0x354648;};return a69_0x2c9b();}
1
+ function a69_0x2dfa(_0xc0fb13,_0x2eb612){const _0x5c283e=a69_0x5c28();return a69_0x2dfa=function(_0x2dfa60,_0x30bc11){_0x2dfa60=_0x2dfa60-0x94;let _0x53c810=_0x5c283e[_0x2dfa60];return _0x53c810;},a69_0x2dfa(_0xc0fb13,_0x2eb612);}function a69_0x5c28(){const _0x4c1f41=['933975iFZocK','40952gCdAoz','5MKIxVM','1232416SjAyDx','replace','14CvNjlJ','89622PIbmlw','indexOf','65102UTfbLo','511068fwTjJz','779032CIXkfF','EPSG:'];a69_0x5c28=function(){return _0x4c1f41;};return a69_0x5c28();}(function(_0x4d9df4,_0x21867d){const _0xe2cfa4=a69_0x2dfa,_0x1c255a=_0x4d9df4();while(!![]){try{const _0x663821=parseInt(_0xe2cfa4(0x98))/0x1+-parseInt(_0xe2cfa4(0x9d))/0x2+parseInt(_0xe2cfa4(0x9c))/0x3+-parseInt(_0xe2cfa4(0x9f))/0x4+parseInt(_0xe2cfa4(0x9e))/0x5*(-parseInt(_0xe2cfa4(0x99))/0x6)+-parseInt(_0xe2cfa4(0x95))/0x7*(-parseInt(_0xe2cfa4(0x9a))/0x8)+parseInt(_0xe2cfa4(0x96))/0x9;if(_0x663821===_0x21867d)break;else _0x1c255a['push'](_0x1c255a['shift']());}catch(_0x471ab0){_0x1c255a['push'](_0x1c255a['shift']());}}}(a69_0x5c28,0x28dd9));export function getEsriSpatialReference(_0x32a71b){const _0x33d539=a69_0x2dfa;let _0x31b4ca;if(_0x32a71b){let _0x397230=_0x32a71b['toUpperCase']();_0x397230[_0x33d539(0x97)](_0x33d539(0x9b))===0x0?_0x31b4ca=_0x32a71b[_0x33d539(0x94)](_0x33d539(0x9b),''):_0x31b4ca=_0x32a71b;}return _0x31b4ca;}
@@ -1 +1 @@
1
- function a72_0x246e(){const _0x1df2fc=['5848668bYdXDK','write','Polygon','transform','getArea','343HzhlYy','getCoordinateFromPixel','length','getGeometryType','contains','add','MultiPolygon','737RVDToB','bufferOp','2385040VHvSHe','4008710zlAsAP','_holes','getCoordinates','1644blQOSk','intersection','6nwXyGy','1426545bGyjVE','readGeometry','read','inject','getExteriorRing','256330drJQZU','_geometries','12nSCEPX','forEach','129964ynxQFU','push','getPixelFromCoordinate','crosses','difference','array','distance','union','writeGeometry'];a72_0x246e=function(){return _0x1df2fc;};return a72_0x246e();}const a72_0x178b40=a72_0xd6b3;(function(_0x546060,_0x2b7e4e){const _0x272e76=a72_0xd6b3,_0x27ed7c=_0x546060();while(!![]){try{const _0x569bcf=-parseInt(_0x272e76(0x1f7))/0x1*(-parseInt(_0x272e76(0x1dd))/0x2)+parseInt(_0x272e76(0x1e7))/0x3*(parseInt(_0x272e76(0x1e9))/0x4)+-parseInt(_0x272e76(0x1da))/0x5*(-parseInt(_0x272e76(0x1df))/0x6)+parseInt(_0x272e76(0x1f2))/0x7+parseInt(_0x272e76(0x1d9))/0x8+-parseInt(_0x272e76(0x1e0))/0x9+-parseInt(_0x272e76(0x1e5))/0xa*(parseInt(_0x272e76(0x1d7))/0xb);if(_0x569bcf===_0x2b7e4e)break;else _0x27ed7c['push'](_0x27ed7c['shift']());}catch(_0x39a7ef){_0x27ed7c['push'](_0x27ed7c['shift']());}}}(a72_0x246e,0x7315e));import a72_0x43f6c1 from'ol/proj/Projection';import{distance as a72_0xf2eddd}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getArea as a72_0x4e0a7a}from'ol/sphere';import a72_0xaa6642 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x44fcf3 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a72_0x476004 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x36603c from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x572ecf from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';function a72_0xd6b3(_0xba4586,_0x40d0ce){const _0x246e4=a72_0x246e();return a72_0xd6b3=function(_0xd6b35d,_0x3fde3c){_0xd6b35d=_0xd6b35d-0x1d5;let _0x257a26=_0x246e4[_0xd6b35d];return _0x257a26;},a72_0xd6b3(_0xba4586,_0x40d0ce);}import a72_0x299ab8 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0x42c6a4 from'ol/format/GeoJSON';import{LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import a72_0x3df549 from'ol/format/WKT';import a72_0x19126c from'ol/format/EsriJSON';const _parser=new a72_0x36603c(undefined,undefined);_parser[a72_0x178b40(0x1e3)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x42e02b,_0x2bbd91,_0x326ee5=![]){const _0x39ffbd=a72_0x178b40;if(!_0x42e02b)return 0x0;const _0x243ec7=isSpheroid(_0x2bbd91);if(_0x326ee5)return a72_0x4e0a7a(_0x42e02b,{'projection':_0x2bbd91});else{if(_0x243ec7){const _0x45d462=getGeoProjection(_0x42e02b,_0x2bbd91);return _0x42e02b['clone']()[_0x39ffbd(0x1f5)](_0x2bbd91,_0x45d462)['getArea']();}return _0x42e02b[_0x39ffbd(0x1f6)]();}}export function bufferOp(_0x4b434c,_0x1bead9){const _0x47ec3b=a72_0x178b40,_0x60393a=_parser[_0x47ec3b(0x1e2)](_0x4b434c),_0x3240cf=a72_0xaa6642[_0x47ec3b(0x1d8)](_0x60393a,_0x1bead9);return _parser['write'](_0x3240cf);}export function bufferPixel(_0x20cd53,_0x1a449c,_0x40f9ce){const _0x2b42c5=a72_0x178b40,_0x1c2984=_0x40f9ce[_0x2b42c5(0x1eb)](_0x20cd53[_0x2b42c5(0x1dc)]()),_0x3695be=_0x40f9ce[_0x2b42c5(0x1f8)]([_0x1c2984[0x0]+_0x1a449c,_0x1c2984[0x1]]),_0x124585=a72_0xf2eddd(_0x20cd53['getCoordinates'](),_0x3695be),_0x56f187=bufferOp(_0x20cd53,_0x124585);return _0x56f187;}export function contains(_0x231ddc,_0x372295){const _0x11bec6=a72_0x178b40,_0x25ef53=_parser[_0x11bec6(0x1e2)](_0x231ddc),_0x19e593=_parser[_0x11bec6(0x1e2)](_0x372295);return a72_0x44fcf3[_0x11bec6(0x1fb)](_0x25ef53,_0x19e593);}export function crosses(_0x5f1e32,_0x30d367){const _0x36d153=a72_0x178b40,_0x1de669=_parser['read'](_0x5f1e32),_0x3d5301=_parser[_0x36d153(0x1e2)](_0x30d367);return a72_0x44fcf3[_0x36d153(0x1ec)](_0x1de669,_0x3d5301);}export function intersects(_0x27d186,_0x104542){const _0x1b84f0=a72_0x178b40,_0x2ef5be=_parser['read'](_0x27d186),_0x384cd7=_parser[_0x1b84f0(0x1e2)](_0x104542);return a72_0x44fcf3['intersects'](_0x2ef5be,_0x384cd7);}export function intersection(_0xc4f92d,_0x37dcf7){const _0x28f7e8=a72_0x178b40,_0x43d52a=_parser['read'](_0xc4f92d),_0x4b9421=_parser[_0x28f7e8(0x1e2)](_0x37dcf7);return _parser[_0x28f7e8(0x1f3)](a72_0x476004[_0x28f7e8(0x1de)](_0x43d52a,_0x4b9421));}export function union(_0x2e5d94,_0x4d5d43){const _0x1b92df=a72_0x178b40,_0xf4f1c6=_parser['read'](_0x2e5d94),_0xbc18e8=_parser[_0x1b92df(0x1e2)](_0x4d5d43);return _parser[_0x1b92df(0x1f3)](a72_0x476004[_0x1b92df(0x1f0)](_0xf4f1c6,_0xbc18e8));}export function difference(_0x451e3f,_0x386271){const _0x35ca32=a72_0x178b40,_0x4814b4=_parser[_0x35ca32(0x1e2)](_0x451e3f),_0x240246=_parser[_0x35ca32(0x1e2)](_0x386271);return _parser[_0x35ca32(0x1f3)](a72_0x476004[_0x35ca32(0x1ed)](_0x4814b4,_0x240246));}export function distance(_0x3c8de0,_0x4245d3){const _0x249d7a=a72_0x178b40,_0x4bfd54=_parser[_0x249d7a(0x1e2)](_0x3c8de0),_0x369cdf=_parser['read'](_0x4245d3);return _parser[_0x249d7a(0x1f3)](a72_0x299ab8[_0x249d7a(0x1ef)](_0x4bfd54,_0x369cdf));}export function jstlSplit(_0x2c1a39,_0x2e1f42){const _0x518630=a72_0x178b40,_0x335701=_parser['read'](_0x2c1a39),_0x3c3e8e=_parser[_0x518630(0x1e2)](_0x2e1f42),_0x25039f=_0x335701[_0x518630(0x1fa)]();let _0x5a3d43=[];function _0x52e912(_0x1e7366,_0x4941c3){const _0x277147=_0x518630;let _0x5a20b1=_0x1e7366[_0x277147(0x1db)],_0x3ee0f5=_0x1e7366[_0x277147(0x1e4)]()['union'](_0x4941c3),_0x831ba2=new a72_0x572ecf();_0x831ba2[_0x277147(0x1d5)](_0x3ee0f5);let _0xaf3c5b=_0x831ba2['getPolygons']();_0xaf3c5b[_0x277147(0x1ee)][_0x277147(0x1f9)]==0x2&&_0xaf3c5b[_0x277147(0x1ee)][_0x277147(0x1e8)](_0x2a4586=>{const _0xafd15=_0x277147;_0x5a20b1[_0xafd15(0x1e8)](_0x4a1f2b=>{const _0x500e52=_0xafd15;let _0x5af893=[];for(let _0x258036 in _0x4a1f2b[_0x500e52(0x1dc)]()){_0x5af893[_0x500e52(0x1ea)]([_0x4a1f2b[_0x500e52(0x1dc)]()[_0x258036]['x'],_0x4a1f2b['getCoordinates']()[_0x258036]['y']]);}_0x4a1f2b=_parser[_0x500e52(0x1e2)]({'coordinates':[_0x5af893],'type':_0x500e52(0x1f4)}),_0x2a4586=_0x2a4586[_0x500e52(0x1ed)](_0x4a1f2b);}),_0x5a3d43[_0xafd15(0x1ea)](_parser[_0xafd15(0x1f3)](_0x2a4586));});}if(_0x25039f===_0x518630(0x1f4))_0x52e912(_0x335701,_0x3c3e8e);else{if(_0x25039f===_0x518630(0x1d6))_0x335701[_0x518630(0x1e6)][_0x518630(0x1e8)]((_0x4145ba,_0x516dd5)=>{_0x52e912(_0x4145ba,_0x3c3e8e);});else throw new Error('无法识别的数据类型');}return _0x5a3d43;}export function fromWKT(_0x44cc98,_0x550f0f,_0x2fcfa9){const _0x232345=a72_0x178b40,_0x334473=new a72_0x3df549();_0x550f0f&&registerProj(_0x550f0f);_0x2fcfa9&&registerProj(_0x2fcfa9);const _0x21fcd1=_0x334473[_0x232345(0x1e1)](_0x44cc98);if(isGeometryEmpty(_0x21fcd1))return null;return _0x550f0f&&_0x2fcfa9?_0x21fcd1[_0x232345(0x1f5)](new a72_0x43f6c1({'code':_0x550f0f}),new a72_0x43f6c1({'code':_0x2fcfa9})):_0x21fcd1;}export function fromWKTs(_0x2bf596,_0x348018,_0x8dd883){const _0x5371ea=a72_0x178b40,_0x1ce897=new a72_0x3df549();let _0x26d4f2=[];_0x348018&&registerProj(_0x348018);_0x8dd883&&registerProj(_0x8dd883);let _0x12a199,_0x4b262d;_0x348018&&_0x8dd883&&(_0x12a199=new a72_0x43f6c1({'code':_0x348018}),_0x4b262d=new a72_0x43f6c1({'code':_0x8dd883}));for(let _0x14b8b8=0x0;_0x14b8b8<_0x2bf596[_0x5371ea(0x1f9)];_0x14b8b8++){const _0x35582b=_0x1ce897['readGeometry'](_0x2bf596[_0x14b8b8]);if(isGeometryEmpty(_0x35582b))continue;_0x12a199&&_0x4b262d?_0x26d4f2[_0x5371ea(0x1ea)](_0x35582b[_0x5371ea(0x1f5)](_0x12a199,_0x4b262d)):_0x26d4f2[_0x5371ea(0x1ea)](_0x35582b);}return _0x26d4f2;}export function toWKT(_0x1fcb10){const _0xb6fd4c=a72_0x178b40,_0x1efe5f=new a72_0x3df549();return _0x1efe5f[_0xb6fd4c(0x1f1)](_0x1fcb10);}export function toGeoJSON(_0x2a63f7){const _0x3c1276=a72_0x178b40,_0x107749=new a72_0x42c6a4();return _0x107749[_0x3c1276(0x1f1)](_0x2a63f7);}export function fromGeoJSON(_0x33f232){const _0x195bdb=new a72_0x42c6a4();return _0x195bdb['readGeometry'](_0x33f232);}export function toEsriJSON(_0x107df8){const _0x20b1ed=a72_0x178b40,_0x244d6e=new a72_0x19126c();return _0x244d6e[_0x20b1ed(0x1f1)](_0x107df8);}export function fromEsriJSON(_0xc8aa56){const _0x1a453b=a72_0x178b40,_0x1349c5=new a72_0x19126c();return _0x1349c5[_0x1a453b(0x1e1)](_0xc8aa56);}export function expandExtent(_0x4c9372,_0x3daa1d){const _0x34516a=_0x4c9372[0x0],_0x3d3541=_0x4c9372[0x1],_0x2288da=_0x4c9372[0x2],_0xa2473b=_0x4c9372[0x3],_0x299b64=(_0x34516a+_0x2288da)/0x2,_0x5613e1=(_0x3d3541+_0xa2473b)/0x2,_0x5bf39a=_0x2288da-_0x34516a,_0x5e9082=_0xa2473b-_0x3d3541,_0x70d87d=_0x5bf39a*_0x3daa1d,_0x96e2c5=_0x5e9082*_0x3daa1d,_0x221a50=_0x299b64-_0x70d87d/0x2,_0x9b43d1=_0x299b64+_0x70d87d/0x2,_0x18b538=_0x5613e1-_0x96e2c5/0x2,_0x1a437a=_0x5613e1+_0x96e2c5/0x2;return[_0x221a50,_0x18b538,_0x9b43d1,_0x1a437a];}export function isGeometryEmpty(_0x36d290){const _0x51ff8d=a72_0x178b40;if(!_0x36d290)return!![];if(_0x36d290 instanceof Point||_0x36d290 instanceof MultiPoint){const _0x1d538c=_0x36d290[_0x51ff8d(0x1dc)]();return!_0x1d538c||_0x1d538c['some'](_0x48ce60=>isNaN(_0x48ce60));}else{if(_0x36d290 instanceof LineString||_0x36d290 instanceof MultiLineString)return _0x36d290['getCoordinates']()[_0x51ff8d(0x1f9)]<0x2;else{if(_0x36d290 instanceof Polygon){const _0x4e7a37=_0x36d290[_0x51ff8d(0x1dc)]();return!_0x4e7a37||_0x4e7a37['length']===0x0||_0x4e7a37[0x0][_0x51ff8d(0x1f9)]<0x4;}else{if(_0x36d290 instanceof MultiPolygon){const _0x30eea5=_0x36d290['getCoordinates']();return!_0x30eea5||_0x30eea5['length']===0x0||_0x30eea5[0x0][0x0][_0x51ff8d(0x1f9)]<0x4;}}}}return![];}
1
+ const a72_0x12d5fa=a72_0x36cb;(function(_0x1b91b5,_0x51d4fe){const _0x190ebc=a72_0x36cb,_0x76f09f=_0x1b91b5();while(!![]){try{const _0x36681d=-parseInt(_0x190ebc(0x1da))/0x1*(-parseInt(_0x190ebc(0x1df))/0x2)+-parseInt(_0x190ebc(0x1bd))/0x3+-parseInt(_0x190ebc(0x1c1))/0x4*(-parseInt(_0x190ebc(0x1bf))/0x5)+parseInt(_0x190ebc(0x1d4))/0x6*(parseInt(_0x190ebc(0x1c8))/0x7)+-parseInt(_0x190ebc(0x1c5))/0x8*(-parseInt(_0x190ebc(0x1cb))/0x9)+-parseInt(_0x190ebc(0x1d7))/0xa+parseInt(_0x190ebc(0x1e3))/0xb;if(_0x36681d===_0x51d4fe)break;else _0x76f09f['push'](_0x76f09f['shift']());}catch(_0x3eec84){_0x76f09f['push'](_0x76f09f['shift']());}}}(a72_0x41b3,0xc5d87));import a72_0x43700d from'ol/proj/Projection';import{distance as a72_0xcac11}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getArea as a72_0x10d7c5}from'ol/sphere';import a72_0x37cc1a from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x628181 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a72_0xf2a405 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x51616b from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x3b0fb4 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';function a72_0x36cb(_0x1065ce,_0x59aeb6){const _0x41b385=a72_0x41b3();return a72_0x36cb=function(_0x36cbe3,_0x540db0){_0x36cbe3=_0x36cbe3-0x1bc;let _0x47bc95=_0x41b385[_0x36cbe3];return _0x47bc95;},a72_0x36cb(_0x1065ce,_0x59aeb6);}import a72_0xad69c6 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0x4d3d51 from'ol/format/GeoJSON';import{LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import a72_0x492008 from'ol/format/WKT';import a72_0x471c5c from'ol/format/EsriJSON';const _parser=new a72_0x51616b(undefined,undefined);_parser[a72_0x12d5fa(0x1be)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x6c5b13,_0x5e2114,_0x4ad1ec=![]){const _0x38646d=a72_0x12d5fa;if(!_0x6c5b13)return 0x0;const _0x417c07=isSpheroid(_0x5e2114);if(_0x4ad1ec)return a72_0x10d7c5(_0x6c5b13,{'projection':_0x5e2114});else{if(_0x417c07){const _0x5dc7df=getGeoProjection(_0x6c5b13,_0x5e2114);return _0x6c5b13[_0x38646d(0x1cd)]()['transform'](_0x5e2114,_0x5dc7df)['getArea']();}return _0x6c5b13[_0x38646d(0x1d0)]();}}export function bufferOp(_0x1d66d2,_0x5d91b4){const _0xfabd17=a72_0x12d5fa,_0x4d55a5=_parser['read'](_0x1d66d2),_0x5bd2dd=a72_0x37cc1a[_0xfabd17(0x1d9)](_0x4d55a5,_0x5d91b4);return _parser['write'](_0x5bd2dd);}export function bufferPixel(_0x1fb0df,_0x185e2f,_0x5113a6){const _0x3b2c07=a72_0x12d5fa,_0x5e849f=_0x5113a6[_0x3b2c07(0x1bc)](_0x1fb0df[_0x3b2c07(0x1e0)]()),_0x4eabe6=_0x5113a6[_0x3b2c07(0x1db)]([_0x5e849f[0x0]+_0x185e2f,_0x5e849f[0x1]]),_0x182501=a72_0xcac11(_0x1fb0df[_0x3b2c07(0x1e0)](),_0x4eabe6),_0x40ce29=bufferOp(_0x1fb0df,_0x182501);return _0x40ce29;}export function contains(_0x4e1623,_0x479d8c){const _0x14067f=a72_0x12d5fa,_0x5227db=_parser[_0x14067f(0x1c6)](_0x4e1623),_0xf0d8d5=_parser['read'](_0x479d8c);return a72_0x628181[_0x14067f(0x1dc)](_0x5227db,_0xf0d8d5);}export function crosses(_0x5b57c9,_0x2a6959){const _0x5ff136=a72_0x12d5fa,_0xc0ddb7=_parser['read'](_0x5b57c9),_0x26d455=_parser['read'](_0x2a6959);return a72_0x628181[_0x5ff136(0x1c4)](_0xc0ddb7,_0x26d455);}export function intersects(_0x27168f,_0x55e5e8){const _0x54bcf8=a72_0x12d5fa,_0x11c84b=_parser['read'](_0x27168f),_0x550be9=_parser[_0x54bcf8(0x1c6)](_0x55e5e8);return a72_0x628181[_0x54bcf8(0x1d3)](_0x11c84b,_0x550be9);}export function intersection(_0x33e2fd,_0x37677b){const _0x8f2bf5=a72_0x12d5fa,_0xee6d6d=_parser[_0x8f2bf5(0x1c6)](_0x33e2fd),_0x7184db=_parser[_0x8f2bf5(0x1c6)](_0x37677b);return _parser[_0x8f2bf5(0x1d2)](a72_0xf2a405[_0x8f2bf5(0x1ca)](_0xee6d6d,_0x7184db));}export function union(_0x5acb62,_0x1906be){const _0x1de8b4=a72_0x12d5fa,_0xc0109c=_parser[_0x1de8b4(0x1c6)](_0x5acb62),_0x189df9=_parser[_0x1de8b4(0x1c6)](_0x1906be);return _parser[_0x1de8b4(0x1d2)](a72_0xf2a405[_0x1de8b4(0x1c9)](_0xc0109c,_0x189df9));}export function difference(_0x103af9,_0x427936){const _0x364b15=a72_0x12d5fa,_0x419891=_parser[_0x364b15(0x1c6)](_0x103af9),_0x57aa9c=_parser[_0x364b15(0x1c6)](_0x427936);return _parser[_0x364b15(0x1d2)](a72_0xf2a405['difference'](_0x419891,_0x57aa9c));}export function distance(_0x171e49,_0x45a815){const _0x5f638a=a72_0x12d5fa,_0x4a77a4=_parser['read'](_0x171e49),_0xfbcd8c=_parser[_0x5f638a(0x1c6)](_0x45a815);return _parser[_0x5f638a(0x1d2)](a72_0xad69c6[_0x5f638a(0x1cf)](_0x4a77a4,_0xfbcd8c));}export function jstlSplit(_0x4c30ba,_0xa91764){const _0x27a81f=a72_0x12d5fa,_0x4c3780=_parser['read'](_0x4c30ba),_0x5a1cfc=_parser[_0x27a81f(0x1c6)](_0xa91764),_0x20f097=_0x4c3780[_0x27a81f(0x1cc)]();let _0x5dbe32=[];function _0x211663(_0x1da56c,_0x1a1311){const _0xd79d8e=_0x27a81f;let _0x2d5d9e=_0x1da56c[_0xd79d8e(0x1de)],_0x498c39=_0x1da56c['getExteriorRing']()['union'](_0x1a1311),_0x3a0532=new a72_0x3b0fb4();_0x3a0532[_0xd79d8e(0x1c2)](_0x498c39);let _0x25243d=_0x3a0532[_0xd79d8e(0x1d8)]();_0x25243d[_0xd79d8e(0x1c7)][_0xd79d8e(0x1ce)]==0x2&&_0x25243d[_0xd79d8e(0x1c7)][_0xd79d8e(0x1e1)](_0x18cc44=>{const _0x1890dc=_0xd79d8e;_0x2d5d9e[_0x1890dc(0x1e1)](_0x16dc8d=>{const _0x41aae2=_0x1890dc;let _0x3d8483=[];for(let _0x1dd4b8 in _0x16dc8d['getCoordinates']()){_0x3d8483['push']([_0x16dc8d['getCoordinates']()[_0x1dd4b8]['x'],_0x16dc8d[_0x41aae2(0x1e0)]()[_0x1dd4b8]['y']]);}_0x16dc8d=_parser[_0x41aae2(0x1c6)]({'coordinates':[_0x3d8483],'type':'Polygon'}),_0x18cc44=_0x18cc44[_0x41aae2(0x1c3)](_0x16dc8d);}),_0x5dbe32[_0x1890dc(0x1d1)](_parser[_0x1890dc(0x1d2)](_0x18cc44));});}if(_0x20f097===_0x27a81f(0x1e4))_0x211663(_0x4c3780,_0x5a1cfc);else{if(_0x20f097===_0x27a81f(0x1dd))_0x4c3780['_geometries'][_0x27a81f(0x1e1)]((_0x1ca81f,_0xb18692)=>{_0x211663(_0x1ca81f,_0x5a1cfc);});else throw new Error(_0x27a81f(0x1d6));}return _0x5dbe32;}export function fromWKT(_0x55a48f,_0x439d41,_0x4c83e9){const _0x5c7293=a72_0x12d5fa,_0x3ca153=new a72_0x492008();_0x439d41&&registerProj(_0x439d41);_0x4c83e9&&registerProj(_0x4c83e9);const _0x56f0e6=_0x3ca153['readGeometry'](_0x55a48f);if(isGeometryEmpty(_0x56f0e6))return null;return _0x439d41&&_0x4c83e9?_0x56f0e6[_0x5c7293(0x1e2)](new a72_0x43700d({'code':_0x439d41}),new a72_0x43700d({'code':_0x4c83e9})):_0x56f0e6;}export function fromWKTs(_0x4e9bfc,_0x478a8d,_0xfa33a9){const _0x4a4c57=a72_0x12d5fa,_0x45ac5f=new a72_0x492008();let _0x136a96=[];_0x478a8d&&registerProj(_0x478a8d);_0xfa33a9&&registerProj(_0xfa33a9);let _0x2d0c64,_0x2e0b05;_0x478a8d&&_0xfa33a9&&(_0x2d0c64=new a72_0x43700d({'code':_0x478a8d}),_0x2e0b05=new a72_0x43700d({'code':_0xfa33a9}));for(let _0x59a94e=0x0;_0x59a94e<_0x4e9bfc[_0x4a4c57(0x1ce)];_0x59a94e++){const _0x52500b=_0x45ac5f[_0x4a4c57(0x1c0)](_0x4e9bfc[_0x59a94e]);if(isGeometryEmpty(_0x52500b))continue;_0x2d0c64&&_0x2e0b05?_0x136a96['push'](_0x52500b[_0x4a4c57(0x1e2)](_0x2d0c64,_0x2e0b05)):_0x136a96[_0x4a4c57(0x1d1)](_0x52500b);}return _0x136a96;}function a72_0x41b3(){const _0x547dbd=['_holes','2041790zHgRIN','getCoordinates','forEach','transform','8383595CQIzEv','Polygon','getPixelFromCoordinate','3246393KzeYou','inject','23255ylwofO','readGeometry','628NFyUvn','add','difference','crosses','1195288VGyfHv','read','array','53242vdyBtA','union','intersection','27vzhyTM','getGeometryType','clone','length','distance','getArea','push','write','intersects','228pPBpoY','writeGeometry','无法识别的数据类型','13580020WNVMvy','getPolygons','bufferOp','1ASfOAW','getCoordinateFromPixel','contains','MultiPolygon'];a72_0x41b3=function(){return _0x547dbd;};return a72_0x41b3();}export function toWKT(_0x3e7fe5){const _0x2ec23d=a72_0x12d5fa,_0x491778=new a72_0x492008();return _0x491778[_0x2ec23d(0x1d5)](_0x3e7fe5);}export function toGeoJSON(_0x31010c){const _0x3d4aa4=a72_0x12d5fa,_0x27f0d9=new a72_0x4d3d51();return _0x27f0d9[_0x3d4aa4(0x1d5)](_0x31010c);}export function fromGeoJSON(_0x187f94){const _0x85ec53=a72_0x12d5fa,_0x1fb98a=new a72_0x4d3d51();return _0x1fb98a[_0x85ec53(0x1c0)](_0x187f94);}export function toEsriJSON(_0xa9df89){const _0x15a76c=new a72_0x471c5c();return _0x15a76c['writeGeometry'](_0xa9df89);}export function fromEsriJSON(_0x32e699){const _0x156870=a72_0x12d5fa,_0x858ba6=new a72_0x471c5c();return _0x858ba6[_0x156870(0x1c0)](_0x32e699);}export function expandExtent(_0x4396c9,_0x12e175){const _0x2e1a0a=_0x4396c9[0x0],_0x3b9e00=_0x4396c9[0x1],_0x4f9dcc=_0x4396c9[0x2],_0x2653f2=_0x4396c9[0x3],_0x37b78a=(_0x2e1a0a+_0x4f9dcc)/0x2,_0x5aaa9e=(_0x3b9e00+_0x2653f2)/0x2,_0x8da911=_0x4f9dcc-_0x2e1a0a,_0x2984d2=_0x2653f2-_0x3b9e00,_0x459987=_0x8da911*_0x12e175,_0x1844cb=_0x2984d2*_0x12e175,_0x3dff2c=_0x37b78a-_0x459987/0x2,_0x1deaff=_0x37b78a+_0x459987/0x2,_0x1cb9d6=_0x5aaa9e-_0x1844cb/0x2,_0x4a81c6=_0x5aaa9e+_0x1844cb/0x2;return[_0x3dff2c,_0x1cb9d6,_0x1deaff,_0x4a81c6];}export function isGeometryEmpty(_0x2d18e0){const _0x456d2f=a72_0x12d5fa;if(!_0x2d18e0)return!![];if(_0x2d18e0 instanceof Point||_0x2d18e0 instanceof MultiPoint){const _0x3fe17a=_0x2d18e0[_0x456d2f(0x1e0)]();return!_0x3fe17a||_0x3fe17a['some'](_0x5ed10d=>isNaN(_0x5ed10d));}else{if(_0x2d18e0 instanceof LineString||_0x2d18e0 instanceof MultiLineString)return _0x2d18e0['getCoordinates']()[_0x456d2f(0x1ce)]<0x2;else{if(_0x2d18e0 instanceof Polygon){const _0x5d3d87=_0x2d18e0[_0x456d2f(0x1e0)]();return!_0x5d3d87||_0x5d3d87[_0x456d2f(0x1ce)]===0x0||_0x5d3d87[0x0][_0x456d2f(0x1ce)]<0x4;}else{if(_0x2d18e0 instanceof MultiPolygon){const _0x306eaa=_0x2d18e0['getCoordinates']();return!_0x306eaa||_0x306eaa[_0x456d2f(0x1ce)]===0x0||_0x306eaa[0x0][0x0][_0x456d2f(0x1ce)]<0x4;}}}}return![];}
@@ -1 +1 @@
1
- function a73_0x4b07(_0x5f3bc4,_0x2d33f4){const _0x4b18e3=a73_0x4b18();return a73_0x4b07=function(_0x4b07d6,_0x39d499){_0x4b07d6=_0x4b07d6-0x1ea;let _0x548f1e=_0x4b18e3[_0x4b07d6];return _0x548f1e;},a73_0x4b07(_0x5f3bc4,_0x2d33f4);}(function(_0x46b469,_0x1b6022){const _0x58b87b=a73_0x4b07,_0x38c76d=_0x46b469();while(!![]){try{const _0x112975=-parseInt(_0x58b87b(0x1f1))/0x1+parseInt(_0x58b87b(0x1ee))/0x2+-parseInt(_0x58b87b(0x20b))/0x3+parseInt(_0x58b87b(0x1f9))/0x4*(-parseInt(_0x58b87b(0x1f6))/0x5)+parseInt(_0x58b87b(0x1f4))/0x6*(-parseInt(_0x58b87b(0x205))/0x7)+parseInt(_0x58b87b(0x1fd))/0x8*(-parseInt(_0x58b87b(0x203))/0x9)+-parseInt(_0x58b87b(0x1fb))/0xa*(-parseInt(_0x58b87b(0x1ea))/0xb);if(_0x112975===_0x1b6022)break;else _0x38c76d['push'](_0x38c76d['shift']());}catch(_0x2b1108){_0x38c76d['push'](_0x38c76d['shift']());}}}(a73_0x4b18,0xd9391));import a73_0x306bfd from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x1e1a60){const _0x500431=a73_0x4b07;let _0x1736ba=[];return _0x1e1a60&&_0x1e1a60['length']>0x0&&(_0x1e1a60[_0x500431(0x208)](_0x47229d=>{const _0x47500e=_0x500431;(!_0x47229d[_0x47500e(0x1f3)]||_0x47229d[_0x47500e(0x1f3)]=='')&&_0x1736ba[_0x47500e(0x1fc)](Object[_0x47500e(0x1fe)]({},_0x47229d));}),_0x1736ba=_0x1736ba[_0x500431(0x1f7)]((_0x21af98,_0x2b0ee2)=>{const _0x2b16cc=_0x500431;return(_0x21af98['showIndex']?_0x21af98[_0x2b16cc(0x209)]:0x0)-(_0x2b0ee2[_0x2b16cc(0x209)]?_0x2b0ee2['showIndex']:0x0);}),_0x1736ba[_0x500431(0x208)](_0x115396=>{const _0x4f101a=_0x500431;_0x115396[_0x4f101a(0x1ef)]=setChildren(_0x115396['id'],_0x1e1a60);})),_0x1736ba;}function a73_0x4b18(){const _0x2e0296=['Legend','396iVzmLe','&format=image/png','11626013DjzFfn','length','&height=','forEach','showIndex','replace','1262853beaTfH','11GNCsZI','layerType','get','sublayers','1207420xWycbU','children','&format=application/json','1246758xsHFOt','geoserver','parentId','6zlILuo','data','394815vVEbcV','sort','gwc/service/wmts','64sGEIhU','includes','60863830xSeAcI','push','219704qliYwm','assign','url','&width=','service=WMS&version=1.1.0&request=GetLegendGraphic&layer='];a73_0x4b18=function(){return _0x2e0296;};return a73_0x4b18();}function setChildren(_0x3ac65b,_0x4ef10c){const _0x474776=a73_0x4b07;let _0x40eb27=[];return _0x4ef10c[_0x474776(0x208)](_0x20fa4b=>{const _0x5a4956=_0x474776;_0x3ac65b===(_0x20fa4b[_0x5a4956(0x1f3)]==null?'':_0x20fa4b[_0x5a4956(0x1f3)])&&_0x40eb27[_0x5a4956(0x1fc)](Object[_0x5a4956(0x1fe)]({},_0x20fa4b));}),_0x40eb27=_0x40eb27[_0x474776(0x1f7)]((_0x213267,_0x5e5ff4)=>{const _0x5ceb17=_0x474776;return(_0x213267[_0x5ceb17(0x209)]?_0x213267['showIndex']:0x0)-(_0x5e5ff4[_0x5ceb17(0x209)]?_0x5e5ff4[_0x5ceb17(0x209)]:0x0);}),_0x40eb27['length']>0x0&&_0x40eb27[_0x474776(0x208)](_0x70139e=>{const _0x5eabaa=_0x474776;_0x70139e[_0x5eabaa(0x1ef)]=setChildren(_0x70139e['id'],_0x4ef10c);}),_0x40eb27;}export async function getLayerLegend(_0x1bfde3,_0x53f024){const _0xc54b01=a73_0x4b07;if(!_0x1bfde3||!_0x1bfde3['url']||!_0x1bfde3[_0xc54b01(0x1ed)]||_0x1bfde3[_0xc54b01(0x1ed)][_0xc54b01(0x206)]==0x0||!_0x1bfde3['layerType'])return;if(_0x1bfde3[_0xc54b01(0x1eb)]['indexOf'](_0xc54b01(0x1f2))>-0x1)return await getGeoServerLayerLegend(_0x1bfde3,_0x53f024);return;}export async function getGeoServerLayerLegend(_0x198de2,_0x1d567f){const _0x3bf1b8=a73_0x4b07;if(!_0x198de2||!_0x198de2['url']||!_0x198de2[_0x3bf1b8(0x1ed)]||_0x198de2[_0x3bf1b8(0x1ed)][_0x3bf1b8(0x206)]==0x0)return;let _0x99a0bf=_0x198de2[_0x3bf1b8(0x1ff)];const _0x4e03b0=_0x198de2['sublayers'];_0x99a0bf=_0x99a0bf[_0x3bf1b8(0x20a)](_0x3bf1b8(0x1f8),'wms');const _0xe45d16=[];for(let _0x124015=0x0;_0x124015<_0x4e03b0[_0x3bf1b8(0x206)];_0x124015++){const _0x27ff2e=_0x4e03b0[_0x124015];let _0x1e973e=_0x3bf1b8(0x201)+_0x27ff2e+_0x3bf1b8(0x1f0);const _0x408e93=_0x99a0bf[_0x3bf1b8(0x1fa)]('?')?_0x99a0bf+'&'+_0x1e973e:_0x99a0bf+'?'+_0x1e973e,_0x430350=await a73_0x306bfd[_0x3bf1b8(0x1ec)](_0x408e93);if(_0x430350['data']&&_0x430350[_0x3bf1b8(0x1f5)][_0x3bf1b8(0x202)]&&_0x430350[_0x3bf1b8(0x1f5)]['Legend'][_0x3bf1b8(0x206)]>0x0)_0xe45d16[_0x3bf1b8(0x1fc)](_0x430350[_0x3bf1b8(0x1f5)][_0x3bf1b8(0x202)][0x0]);else{let _0x37e1f6=_0x1d567f?_0x1d567f:0x10,_0x4cd7bf=_0x3bf1b8(0x201)+_0x27ff2e+_0x3bf1b8(0x200)+_0x37e1f6+_0x3bf1b8(0x207)+_0x37e1f6+_0x3bf1b8(0x204);const _0x34fa4d=_0x99a0bf['includes']('?')?_0x99a0bf+'&'+_0x4cd7bf:_0x99a0bf+'?'+_0x4cd7bf;_0xe45d16[_0x3bf1b8(0x1fc)]({'title':_0x198de2['title'],'url':_0x34fa4d});}}return _0xe45d16;}
1
+ (function(_0x51f560,_0x19ee4b){const _0x17253a=a73_0x3492,_0x353a33=_0x51f560();while(!![]){try{const _0x56f4c3=-parseInt(_0x17253a(0xf1))/0x1+parseInt(_0x17253a(0xf8))/0x2+parseInt(_0x17253a(0xe9))/0x3*(parseInt(_0x17253a(0x101))/0x4)+-parseInt(_0x17253a(0xf2))/0x5+-parseInt(_0x17253a(0x103))/0x6+parseInt(_0x17253a(0xef))/0x7+parseInt(_0x17253a(0x107))/0x8;if(_0x56f4c3===_0x19ee4b)break;else _0x353a33['push'](_0x353a33['shift']());}catch(_0x442c54){_0x353a33['push'](_0x353a33['shift']());}}}(a73_0x4041,0xa4de5));import a73_0x593744 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x58492a){const _0x2b002b=a73_0x3492;let _0x2bc0fb=[];return _0x58492a&&_0x58492a[_0x2b002b(0xfa)]>0x0&&(_0x58492a[_0x2b002b(0xeb)](_0x2ac200=>{const _0x59bd04=_0x2b002b;(!_0x2ac200[_0x59bd04(0xf0)]||_0x2ac200['parentId']=='')&&_0x2bc0fb[_0x59bd04(0xf5)](Object[_0x59bd04(0xf7)]({},_0x2ac200));}),_0x2bc0fb=_0x2bc0fb[_0x2b002b(0xff)]((_0x4d42c6,_0x256653)=>{const _0x2773f8=_0x2b002b;return(_0x4d42c6[_0x2773f8(0x108)]?_0x4d42c6[_0x2773f8(0x108)]:0x0)-(_0x256653[_0x2773f8(0x108)]?_0x256653[_0x2773f8(0x108)]:0x0);}),_0x2bc0fb['forEach'](_0x4a99be=>{const _0x35a850=_0x2b002b;_0x4a99be[_0x35a850(0xf3)]=setChildren(_0x4a99be['id'],_0x58492a);})),_0x2bc0fb;}function a73_0x3492(_0x3660dc,_0x6010eb){const _0x404156=a73_0x4041();return a73_0x3492=function(_0x349244,_0x4af40b){_0x349244=_0x349244-0xe9;let _0x5eee8b=_0x404156[_0x349244];return _0x5eee8b;},a73_0x3492(_0x3660dc,_0x6010eb);}function setChildren(_0x3d0e72,_0x4c060c){const _0x1e0cd2=a73_0x3492;let _0x360691=[];return _0x4c060c['forEach'](_0x40bae7=>{const _0x578bc1=a73_0x3492;_0x3d0e72===(_0x40bae7[_0x578bc1(0xf0)]==null?'':_0x40bae7[_0x578bc1(0xf0)])&&_0x360691[_0x578bc1(0xf5)](Object['assign']({},_0x40bae7));}),_0x360691=_0x360691[_0x1e0cd2(0xff)]((_0x5bb314,_0x4da466)=>{const _0x26d2a6=_0x1e0cd2;return(_0x5bb314[_0x26d2a6(0x108)]?_0x5bb314[_0x26d2a6(0x108)]:0x0)-(_0x4da466[_0x26d2a6(0x108)]?_0x4da466[_0x26d2a6(0x108)]:0x0);}),_0x360691[_0x1e0cd2(0xfa)]>0x0&&_0x360691[_0x1e0cd2(0xeb)](_0x47acff=>{const _0x303e12=_0x1e0cd2;_0x47acff[_0x303e12(0xf3)]=setChildren(_0x47acff['id'],_0x4c060c);}),_0x360691;}export async function getLayerLegend(_0x127f5c,_0x41c493){const _0x2f02d4=a73_0x3492;if(!_0x127f5c||!_0x127f5c[_0x2f02d4(0x102)]||!_0x127f5c[_0x2f02d4(0xfc)]||_0x127f5c[_0x2f02d4(0xfc)][_0x2f02d4(0xfa)]==0x0||!_0x127f5c['layerType'])return;if(_0x127f5c[_0x2f02d4(0xee)][_0x2f02d4(0xed)](_0x2f02d4(0xfd))>-0x1)return await getGeoServerLayerLegend(_0x127f5c,_0x41c493);return;}function a73_0x4041(){const _0x4ac8bf=['length','includes','sublayers','geoserver','wms','sort','title','289396TXIZNL','url','1397016ynpfoJ','&width=','Legend','gwc/service/wmts','4842864bElYYB','showIndex','39XIfSgm','get','forEach','data','indexOf','layerType','417564vCTBhT','parentId','865338MVIZsH','760315TteKnB','children','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','push','&format=image/png','assign','639982tmtMxH','&height='];a73_0x4041=function(){return _0x4ac8bf;};return a73_0x4041();}export async function getGeoServerLayerLegend(_0x29e353,_0x2cb458){const _0x126ab1=a73_0x3492;if(!_0x29e353||!_0x29e353[_0x126ab1(0x102)]||!_0x29e353['sublayers']||_0x29e353[_0x126ab1(0xfc)][_0x126ab1(0xfa)]==0x0)return;let _0x129b94=_0x29e353[_0x126ab1(0x102)];const _0x139ce2=_0x29e353[_0x126ab1(0xfc)];_0x129b94=_0x129b94['replace'](_0x126ab1(0x106),_0x126ab1(0xfe));const _0x4c6dc1=[];for(let _0x465636=0x0;_0x465636<_0x139ce2[_0x126ab1(0xfa)];_0x465636++){const _0x526ab7=_0x139ce2[_0x465636];let _0x2f03aa='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x526ab7+'&format=application/json';const _0x23b814=_0x129b94['includes']('?')?_0x129b94+'&'+_0x2f03aa:_0x129b94+'?'+_0x2f03aa,_0x1b61d1=await a73_0x593744[_0x126ab1(0xea)](_0x23b814);if(_0x1b61d1['data']&&_0x1b61d1['data'][_0x126ab1(0x105)]&&_0x1b61d1[_0x126ab1(0xec)][_0x126ab1(0x105)]['length']>0x0)_0x4c6dc1[_0x126ab1(0xf5)](_0x1b61d1[_0x126ab1(0xec)][_0x126ab1(0x105)][0x0]);else{let _0x253d42=_0x2cb458?_0x2cb458:0x10,_0x460dbb=_0x126ab1(0xf4)+_0x526ab7+_0x126ab1(0x104)+_0x253d42+_0x126ab1(0xf9)+_0x253d42+_0x126ab1(0xf6);const _0xe8c1f7=_0x129b94[_0x126ab1(0xfb)]('?')?_0x129b94+'&'+_0x460dbb:_0x129b94+'?'+_0x460dbb;_0x4c6dc1[_0x126ab1(0xf5)]({'title':_0x29e353[_0x126ab1(0x100)],'url':_0xe8c1f7});}}return _0x4c6dc1;}