ym-gis-2d 1.0.13 → 1.0.14

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/feature/FeatureManager.js +1 -1
  12. package/index.js +1 -1
  13. package/interaction/Draw.js +1 -1
  14. package/interaction/InteractionManager.js +1 -1
  15. package/interaction/Select.js +1 -1
  16. package/layers/ArcgisDynamicLayer.js +1 -1
  17. package/layers/ArcgisFeatureLayer.js +1 -1
  18. package/layers/ArcgisTileLayer.js +1 -1
  19. package/layers/ArcgisWMSLayer.js +1 -1
  20. package/layers/ArcgisWMTSLayer.js +1 -1
  21. package/layers/GeoserverVectorTile.js +1 -1
  22. package/layers/GeoserverWFSLayer.js +1 -1
  23. package/layers/GeoserverWMSLayer.js +1 -1
  24. package/layers/GeoserverWMTSLayer.js +1 -1
  25. package/layers/LayerManager.js +1 -1
  26. package/layers/TDTLayer.js +1 -1
  27. package/mapView/Map.d.ts +4 -4
  28. package/mapView/Map.d.ts.map +1 -1
  29. package/mapView/Map.js +1 -1
  30. package/mapView/Map.js.map +1 -1
  31. package/mapView/View.d.ts.map +1 -1
  32. package/mapView/View.js +1 -1
  33. package/mapView/View.js.map +1 -1
  34. package/package.json +1 -1
  35. package/plot/Plot.js +1 -1
  36. package/plot/geometry/point/Point.js +1 -1
  37. package/plot/geometry/polygon/BasePolygon.js +1 -1
  38. package/plot/geometry/polygon/Circle.js +1 -1
  39. package/plot/geometry/polygon/Polygon.js +1 -1
  40. package/plot/geometry/polygon/RectAngle.js +1 -1
  41. package/plot/geometry/polyline/BaseLine.js +1 -1
  42. package/plot/geometry/polyline/Polyline.js +1 -1
  43. package/style/PointStyleFormat.js +1 -1
  44. package/style/PolygonStyleFormat.js +1 -1
  45. package/style/PolylineStyleFormat.js +1 -1
  46. package/style/StyleManager.js +1 -1
  47. package/style/common.js +1 -1
  48. package/utils/ArrayUtil.js +1 -1
  49. package/utils/AxiosUtil.js +1 -1
  50. package/utils/EsriUtil.js +1 -1
  51. package/utils/GeometryUtil.d.ts +7 -1
  52. package/utils/GeometryUtil.d.ts.map +1 -1
  53. package/utils/GeometryUtil.js +1 -1
  54. package/utils/GeometryUtil.js.map +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
- const a37_0x1debf1=a37_0x1ca1;(function(_0x36936a,_0x21f4bf){const _0x19f313=a37_0x1ca1,_0x5b5b1a=_0x36936a();while(!![]){try{const _0x11a423=-parseInt(_0x19f313(0x15a))/0x1*(parseInt(_0x19f313(0x148))/0x2)+parseInt(_0x19f313(0x164))/0x3+-parseInt(_0x19f313(0x142))/0x4*(-parseInt(_0x19f313(0x149))/0x5)+parseInt(_0x19f313(0x12a))/0x6+-parseInt(_0x19f313(0x151))/0x7*(parseInt(_0x19f313(0x182))/0x8)+parseInt(_0x19f313(0x123))/0x9*(-parseInt(_0x19f313(0x125))/0xa)+-parseInt(_0x19f313(0x184))/0xb*(parseInt(_0x19f313(0x162))/0xc);if(_0x11a423===_0x21f4bf)break;else _0x5b5b1a['push'](_0x5b5b1a['shift']());}catch(_0x353bdd){_0x5b5b1a['push'](_0x5b5b1a['shift']());}}}(a37_0x1f38,0xbcf45));import a37_0x44e63b from'ol/events/Event';import a37_0x2622e0 from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';function a37_0x1ca1(_0xf5b885,_0x574b99){const _0x1f3895=a37_0x1f38();return a37_0x1ca1=function(_0x1ca18b,_0x44818d){_0x1ca18b=_0x1ca18b-0x122;let _0x53ef9f=_0x1f3895[_0x1ca18b];return _0x53ef9f;},a37_0x1ca1(_0xf5b885,_0x574b99);}function a37_0x1f38(){const _0x3bbc57=['addPoint','buildDrawingFeature','finishDrawing','createMultiPointFeature','stopDown','drawstart','getView','DRAWEND','onceInternal','DRAWMOVING','wrapX','getActive','Ellipse','button','showTip','unInternal','_tipOverlay','pointermove','12px\x20Calibre,sans-serif','DRAWSTART','left','242248jJtbVn','tipText','11CTAKEH','getGeometry','drawaddpoint','handleMoveEvent','getCode','projection','单击开始绘制','type','_overlay','_isStayDraw','369VZGYbX','clear','51490TbCwGg','updateSketchFeatures_','drawend','dispatchEvent','preventDefault','623658CtGseu','source','coordinates','startDrawing_','_sketchFeature','setStyle','MAX_VALUE','rectangle','setText','minPoint','point','_type','atFinish_','getSource','updateState_','drawmoving','fixPoint','abortDrawing','_drawingCoordinates','feature','_tipFeature','_style','getMap','revert','6154788CNHpdu','Circle','slice','_tipStyle','单击增加点,右击删除点','abortDrawing_','2634EHAoLM','5AwBKnC','setMap','getType','pixel','getProjection','length','_minPoints','_features','84JERHkI','单击增加点,右击删除点双击完成绘制','push','originalEvent','handleDownEvent','onInternal','getOverlay','setGeometry','features','487utugGw','handleUpEvent','_fixPoint','DRAWADDPOINT','_snapTolerance','_source','snapTolerance','Rectangle','11468316SvpjeL','once','3908610DyRfeX','pop','_showTip','style','getPixelFromCoordinate','coordinate','addChangeListener','addFeature','handleDragEvent'];a37_0x1f38=function(){return _0x3bbc57;};return a37_0x1f38();}import a37_0x2d60f0 from'ol/Feature';import a37_0x57594b,{createEditingStyle}from'ol/style/Style';import a37_0xbe4826 from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a37_0x2664e8 from'ol/style/Text';import a37_0x152c02 from'ol/style/Fill';import a37_0x718a57 from'ol/interaction/Property';import a37_0x420e6a from'ol/layer/Vector';import a37_0x3077e7 from'../entity/GeometryType';const DrawEventType={'DRAWSTART':a37_0x1debf1(0x172),'DRAWEND':a37_0x1debf1(0x127),'DRAWABORT':'drawabort','DRAWADDPOINT':a37_0x1debf1(0x186),'DRAWMOVING':a37_0x1debf1(0x139)};export class DrawEvent extends a37_0x44e63b{constructor(_0x4714be,_0x95b23e,_0x5bdfd0){const _0x1ba0a1=a37_0x1debf1;super(_0x4714be),this[_0x1ba0a1(0x13d)]=_0x95b23e,this[_0x1ba0a1(0x12c)]=_0x5bdfd0;}}export class ShEvent extends a37_0x44e63b{constructor(_0x57a382,_0x51a3be,_0x478d2a,_0x56028c,_0x5cb97a){const _0x25fdc6=a37_0x1debf1;super(_0x57a382),this[_0x25fdc6(0x189)]=_0x5cb97a,this[_0x25fdc6(0x18b)]=_0x51a3be,this[_0x25fdc6(0x169)]=_0x478d2a,this['coordinates']=_0x56028c;}}export default class Draw extends a37_0x2622e0{constructor(_0x2d34f9,_0x2cc1e0){const _0x3916ed=a37_0x1debf1,_0x267692=_0x2cc1e0?_0x2cc1e0:{};!_0x267692[_0x3916ed(0x171)]&&(_0x267692[_0x3916ed(0x171)]=![]);super(_0x2cc1e0),this['on']=this[_0x3916ed(0x156)],this[_0x3916ed(0x163)]=this[_0x3916ed(0x175)],this['un']=this[_0x3916ed(0x17c)],this[_0x3916ed(0x122)]=![],this[_0x3916ed(0x135)]=_0x2d34f9,this[_0x3916ed(0x13f)]=_0x2cc1e0===null||_0x2cc1e0===void 0x0?void 0x0:_0x2cc1e0[_0x3916ed(0x167)],this[_0x3916ed(0x15f)]=_0x2cc1e0===null||_0x2cc1e0===void 0x0?void 0x0:_0x2cc1e0[_0x3916ed(0x12b)],this[_0x3916ed(0x150)]=_0x2cc1e0===null||_0x2cc1e0===void 0x0?void 0x0:_0x2cc1e0[_0x3916ed(0x159)];const _0x4cebfc=getPlotCount(this[_0x3916ed(0x135)]);this[_0x3916ed(0x14f)]=_0x4cebfc[_0x3916ed(0x133)],this[_0x3916ed(0x15c)]=_0x4cebfc[_0x3916ed(0x13a)],this[_0x3916ed(0x183)]=_0x2cc1e0===null||_0x2cc1e0===void 0x0?void 0x0:_0x2cc1e0[_0x3916ed(0x183)],this[_0x3916ed(0x166)]=(_0x2cc1e0===null||_0x2cc1e0===void 0x0?void 0x0:_0x2cc1e0[_0x3916ed(0x17b)])==![]?![]:!![],this[_0x3916ed(0x15e)]=_0x267692[_0x3916ed(0x160)]?_0x267692[_0x3916ed(0x160)]:0x6,this[_0x3916ed(0x13e)]=new a37_0x2d60f0(),this[_0x3916ed(0x145)]=new a37_0x57594b({'text':new a37_0x2664e8({'font':_0x3916ed(0x17f),'fill':new a37_0x152c02({'color':'rgba(255,\x20255,\x20255,\x201)'}),'backgroundFill':new a37_0x152c02({'color':'rgba(0,\x200,\x200,\x200.4)'}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x3916ed(0x181),'offsetX':0xf})}),this['_drawingCoordinates']=[],this[_0x3916ed(0x17d)]=new a37_0x420e6a({'source':new a37_0xbe4826({'useSpatialIndex':![],'wrapX':(_0x2cc1e0===null||_0x2cc1e0===void 0x0?void 0x0:_0x2cc1e0[_0x3916ed(0x177)])?_0x2cc1e0[_0x3916ed(0x177)]:![]})}),this[_0x3916ed(0x18c)]=new a37_0x420e6a({'source':new a37_0xbe4826({'useSpatialIndex':![],'wrapX':(_0x2cc1e0===null||_0x2cc1e0===void 0x0?void 0x0:_0x2cc1e0[_0x3916ed(0x177)])?_0x2cc1e0[_0x3916ed(0x177)]:![]}),'updateWhileInteracting':!![]}),this[_0x3916ed(0x16a)](a37_0x718a57['ACTIVE'],this[_0x3916ed(0x138)]);}[a37_0x1debf1(0x138)](){const _0x484f45=a37_0x1debf1,_0x63983d=this[_0x484f45(0x140)](),_0x164740=this[_0x484f45(0x178)]();(!_0x63983d||!_0x164740)&&this[_0x484f45(0x13b)](),this[_0x484f45(0x18c)][_0x484f45(0x14a)](_0x164740?_0x63983d:null),this['_tipOverlay'][_0x484f45(0x14a)](_0x164740?_0x63983d:null);}[a37_0x1debf1(0x14a)](_0x2e796e){const _0x1c0180=a37_0x1debf1;super['setMap'](_0x2e796e),this[_0x1c0180(0x138)]();}['setStyle'](_0x4cfc03){this['_style']=_0x4cfc03?_0x4cfc03:{};}[a37_0x1debf1(0x157)](){const _0x763176=a37_0x1debf1;return this[_0x763176(0x18c)];}[a37_0x1debf1(0x155)](_0xd049c9){const _0x179dfe=a37_0x1debf1;if(_0xd049c9[_0x179dfe(0x154)][_0x179dfe(0x17a)]===0x2)return _0xd049c9[_0x179dfe(0x154)][_0x179dfe(0x129)](),this[_0x179dfe(0x141)](),this['handleMoveEvent'](_0xd049c9),![];return!![];}[a37_0x1debf1(0x15b)](_0xa36279){const _0x267cbd=a37_0x1debf1;var _0x45a501,_0x18c70a;if(this[_0x267cbd(0x135)]==_0x267cbd(0x131)&&this[_0x267cbd(0x13c)][_0x267cbd(0x14e)]<0x1)return this['dispatchEvent'](new DrawEvent(DrawEventType[_0x267cbd(0x174)],undefined,[_0xa36279[_0x267cbd(0x169)]])),![];if(!this[_0x267cbd(0x122)])this[_0x267cbd(0x12d)](_0xa36279[_0x267cbd(0x169)]),this[_0x267cbd(0x128)](new ShEvent(DrawEventType[_0x267cbd(0x15d)],this[_0x267cbd(0x135)],_0xa36279[_0x267cbd(0x169)],this[_0x267cbd(0x13c)],(_0x45a501=this[_0x267cbd(0x140)]())===null||_0x45a501===void 0x0?void 0x0:_0x45a501[_0x267cbd(0x173)]()[_0x267cbd(0x14d)]()[_0x267cbd(0x188)]())),this['_type']==_0x267cbd(0x134)&&this['finishDrawing']();else{if(this[_0x267cbd(0x13c)]&&this[_0x267cbd(0x13c)]['length']>0x0){if(this[_0x267cbd(0x136)](_0xa36279[_0x267cbd(0x14c)]))return this[_0x267cbd(0x16f)](),_0xa36279[_0x267cbd(0x129)](),![];let _0x7345f3=this[_0x267cbd(0x13c)]['length']+0x1;_0x7345f3<=this[_0x267cbd(0x15c)]&&this['addPoint'](_0xa36279[_0x267cbd(0x169)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0x267cbd(0x15d)],this[_0x267cbd(0x135)],_0xa36279[_0x267cbd(0x169)],this['_drawingCoordinates'],(_0x18c70a=this['getMap']())===null||_0x18c70a===void 0x0?void 0x0:_0x18c70a[_0x267cbd(0x173)]()[_0x267cbd(0x14d)]()[_0x267cbd(0x188)]())),_0x7345f3>=this['_minPoints']&&this[_0x267cbd(0x16e)](this[_0x267cbd(0x13c)]),_0x7345f3===this['_fixPoint']&&this[_0x267cbd(0x16f)]();}}return _0xa36279[_0x267cbd(0x129)](),![];}[a37_0x1debf1(0x16c)](_0x29378f){const _0x584322=a37_0x1debf1;var _0x437ac6;if(this[_0x584322(0x135)]=='rectangle'&&_0x29378f[_0x584322(0x154)][_0x584322(0x18b)]==_0x584322(0x17e)){if(!this['_isStayDraw']){this[_0x584322(0x12d)](_0x29378f['coordinate']),this['dispatchEvent'](new ShEvent(DrawEventType[_0x584322(0x15d)],this[_0x584322(0x135)],_0x29378f[_0x584322(0x169)],this['_drawingCoordinates'],(_0x437ac6=this[_0x584322(0x140)]())===null||_0x437ac6===void 0x0?void 0x0:_0x437ac6['getView']()[_0x584322(0x14d)]()[_0x584322(0x188)]()));return;}let _0x279f1d=[...this['_drawingCoordinates'],_0x29378f[_0x584322(0x169)]];this[_0x584322(0x16e)](_0x279f1d),this['dispatchEvent'](new DrawEvent(DrawEventType[_0x584322(0x176)],this[_0x584322(0x12e)],this[_0x584322(0x13c)]));}}[a37_0x1debf1(0x187)](_0x582004){const _0x397389=a37_0x1debf1;var _0x280320,_0x3091ba,_0x46b658;let _0x4a7ddd='';this[_0x397389(0x135)]=='pointermove'&&(this['startDrawing_'](_0x582004[_0x397389(0x169)]),this[_0x397389(0x128)](new ShEvent(DrawEventType['DRAWADDPOINT'],this[_0x397389(0x135)],_0x582004[_0x397389(0x169)],this[_0x397389(0x13c)],(_0x280320=this[_0x397389(0x140)]())===null||_0x280320===void 0x0?void 0x0:_0x280320[_0x397389(0x173)]()[_0x397389(0x14d)]()[_0x397389(0x188)]())),this['finishDrawing']());!this[_0x397389(0x122)]?_0x4a7ddd=this[_0x397389(0x135)]=='rectangle'?'单击拖动绘制':_0x397389(0x18a):(_0x4a7ddd=_0x397389(0x146),((_0x3091ba=this[_0x397389(0x13c)])===null||_0x3091ba===void 0x0?void 0x0:_0x3091ba[_0x397389(0x14e)])===this[_0x397389(0x15c)]-0x1&&(_0x4a7ddd='单击结束绘制,右击删除点'),((_0x46b658=this[_0x397389(0x13c)])===null||_0x46b658===void 0x0?void 0x0:_0x46b658[_0x397389(0x14e)])>=this['_minPoints']&&this['_fixPoint']===Number['MAX_VALUE']&&(_0x4a7ddd=_0x397389(0x152)));this[_0x397389(0x183)]!=undefined&&(_0x4a7ddd=this[_0x397389(0x183)]);this['updateTip_'](_0x582004[_0x397389(0x169)],_0x4a7ddd);if(this[_0x397389(0x122)]&&this[_0x397389(0x135)]!=_0x397389(0x131)){let _0xe2632f=[...this[_0x397389(0x13c)],_0x582004[_0x397389(0x169)]];this[_0x397389(0x16e)](_0xe2632f),this[_0x397389(0x128)](new DrawEvent(DrawEventType[_0x397389(0x176)],this[_0x397389(0x12e)],this[_0x397389(0x13c)]));}}['atFinish_'](_0x2c6b1b){const _0x5bf2a1=a37_0x1debf1;var _0x4101a9;let _0xa673bb=![],_0x4dcabe=this[_0x5bf2a1(0x13c)][_0x5bf2a1(0x14e)];if(_0x4dcabe>this['_minPoints']&&this[_0x5bf2a1(0x15c)]===Number[_0x5bf2a1(0x130)]){const _0x4cf819=this[_0x5bf2a1(0x13c)][this[_0x5bf2a1(0x13c)][_0x5bf2a1(0x14e)]-0x1],_0x4a6301=(_0x4101a9=this['getMap']())===null||_0x4101a9===void 0x0?void 0x0:_0x4101a9[_0x5bf2a1(0x168)](_0x4cf819),_0x117451=_0x2c6b1b[0x0]-(_0x4a6301?_0x4a6301[0x0]:0x0),_0x2dbeb6=_0x2c6b1b[0x1]-(_0x4a6301?_0x4a6301[0x1]:0x0);_0xa673bb=Math['sqrt'](_0x117451*_0x117451+_0x2dbeb6*_0x2dbeb6)<=this['_snapTolerance'];}return _0xa673bb;}['startDrawing_'](_0x4914d3){const _0x33fbb7=a37_0x1debf1;this[_0x33fbb7(0x122)]=!![],this['_drawingCoordinates']=[_0x4914d3[_0x33fbb7(0x144)]()],this[_0x33fbb7(0x12e)]=this[_0x33fbb7(0x170)](),this[_0x33fbb7(0x126)](),this[_0x33fbb7(0x128)](new DrawEvent(DrawEventType[_0x33fbb7(0x180)],this['_sketchFeature'],this[_0x33fbb7(0x13c)]));}[a37_0x1debf1(0x16f)](){const _0x1ed91c=a37_0x1debf1;if(this[_0x1ed91c(0x13c)][_0x1ed91c(0x14e)]>this['_minPoints']){this[_0x1ed91c(0x16e)](this[_0x1ed91c(0x13c)]);let _0x384b36=this[_0x1ed91c(0x13c)];const _0x18e88d=this[_0x1ed91c(0x147)]();if(!_0x18e88d)return;this[_0x1ed91c(0x128)](new DrawEvent(DrawEventType['DRAWEND'],_0x18e88d,_0x384b36)),this['_features']&&this[_0x1ed91c(0x150)][_0x1ed91c(0x153)](_0x18e88d),this[_0x1ed91c(0x15f)]&&this['_source'][_0x1ed91c(0x16b)](_0x18e88d);}}[a37_0x1debf1(0x16d)](_0x57231d){const _0x4093cd=a37_0x1debf1;this[_0x4093cd(0x13c)][_0x4093cd(0x153)](_0x57231d),this[_0x4093cd(0x12e)]=this[_0x4093cd(0x170)](),this[_0x4093cd(0x126)]();}[a37_0x1debf1(0x170)](){const _0x2013d4=a37_0x1debf1,_0xbf3cae=new MultiPoint(this[_0x2013d4(0x13c)]);let _0x144a66=new a37_0x2d60f0();return _0x144a66[_0x2013d4(0x158)](_0xbf3cae),_0x144a66;}[a37_0x1debf1(0x147)](){const _0x261b77=a37_0x1debf1;var _0x6b079c,_0x534b52;this['_isStayDraw']=![];const _0x550cae=this['_sketchFeature'];return this[_0x261b77(0x12e)]=undefined,this['_drawingCoordinates']=[],(_0x6b079c=this[_0x261b77(0x18c)][_0x261b77(0x137)]())===null||_0x6b079c===void 0x0?void 0x0:_0x6b079c[_0x261b77(0x124)](!![]),(_0x534b52=this[_0x261b77(0x17d)][_0x261b77(0x137)]())===null||_0x534b52===void 0x0?void 0x0:_0x534b52[_0x261b77(0x124)](!![]),_0x550cae;}[a37_0x1debf1(0x13b)](){const _0x2ee13c=a37_0x1debf1,_0x2b2b7c=this[_0x2ee13c(0x147)]();_0x2b2b7c&&this[_0x2ee13c(0x128)](new DrawEvent(DrawEventType['DRAWABORT'],_0x2b2b7c,this['_drawingCoordinates']));}['buildDrawingFeature'](_0x33dddc){const _0x580192=a37_0x1debf1;this[_0x580192(0x12e)]=new a37_0x2d60f0();let _0x47725e=createPlot(this['_type'],_0x33dddc);if(!_0x47725e)return;this[_0x580192(0x12e)][_0x580192(0x158)](_0x47725e);let _0xf303aa=[a37_0x3077e7[_0x580192(0x143)],a37_0x3077e7['Ellipsoid'],a37_0x3077e7[_0x580192(0x179)]];if(_0xf303aa['indexOf'](this[_0x580192(0x135)])>-0x1&&this['_style']){}const _0x1943b4=this[_0x580192(0x140)]();this[_0x580192(0x12e)][_0x580192(0x12f)](getStyle(this[_0x580192(0x135)],this['_style'],this[_0x580192(0x140)]())),this[_0x580192(0x126)]();}[a37_0x1debf1(0x126)](){const _0x2a69d1=a37_0x1debf1,_0x5a8087=this['_overlay']['getSource']();_0x5a8087&&this[_0x2a69d1(0x12e)]&&(_0x5a8087[_0x2a69d1(0x124)](!![]),_0x5a8087[_0x2a69d1(0x16b)](this[_0x2a69d1(0x12e)]));}['revert'](){const _0x296764=a37_0x1debf1;if(this[_0x296764(0x122)]){if(this[_0x296764(0x13c)]&&this[_0x296764(0x13c)][_0x296764(0x14e)]>0x0){const _0x47b6d9=this[_0x296764(0x18c)][_0x296764(0x137)]();_0x47b6d9===null||_0x47b6d9===void 0x0?void 0x0:_0x47b6d9[_0x296764(0x124)](!![]),this['_drawingCoordinates'][_0x296764(0x165)](),this[_0x296764(0x13c)]['length']>=this[_0x296764(0x14f)]&&this['buildDrawingFeature'](this['_drawingCoordinates']),this[_0x296764(0x13c)]['length']===0x0&&(this[_0x296764(0x122)]=![]);}}}['updateTip_'](_0x5c054f,_0x459f00){const _0x10459d=a37_0x1debf1;var _0x20ede2,_0xfd13b7,_0x3d819b,_0x182904;if(!this[_0x10459d(0x166)])return;const _0x58bbbe=this[_0x10459d(0x17d)][_0x10459d(0x137)]();_0x58bbbe===null||_0x58bbbe===void 0x0?void 0x0:_0x58bbbe[_0x10459d(0x124)](!![]),(_0x20ede2=this[_0x10459d(0x13e)])===null||_0x20ede2===void 0x0?void 0x0:_0x20ede2['setGeometry'](new Point(_0x5c054f)),(_0x3d819b=(_0xfd13b7=this[_0x10459d(0x145)])===null||_0xfd13b7===void 0x0?void 0x0:_0xfd13b7['getText']())===null||_0x3d819b===void 0x0?void 0x0:_0x3d819b[_0x10459d(0x132)](_0x459f00),(_0x182904=this[_0x10459d(0x13e)])===null||_0x182904===void 0x0?void 0x0:_0x182904[_0x10459d(0x12f)](this[_0x10459d(0x145)]),this[_0x10459d(0x13e)]&&(_0x58bbbe===null||_0x58bbbe===void 0x0?void 0x0:_0x58bbbe[_0x10459d(0x16b)](this[_0x10459d(0x13e)]));}}function getDefaultStyleFunction(){const _0x4f700c=createEditingStyle();return function(_0xb7fb7e,_0x5424cc){const _0x2afcc0=a37_0x1ca1,_0x27fe9b=_0x4f700c[_0xb7fb7e[_0x2afcc0(0x185)]()['getType']()];if(_0x27fe9b&&_0x2afcc0(0x161)==_0xb7fb7e[_0x2afcc0(0x185)]()[_0x2afcc0(0x14b)]()){}};}
1
+ const a37_0x4fb69d=a37_0xac02;(function(_0x47e719,_0xc831a1){const _0x16511f=a37_0xac02,_0x56be5a=_0x47e719();while(!![]){try{const _0x436f3e=parseInt(_0x16511f(0x164))/0x1*(-parseInt(_0x16511f(0x152))/0x2)+-parseInt(_0x16511f(0x129))/0x3*(-parseInt(_0x16511f(0x166))/0x4)+-parseInt(_0x16511f(0x120))/0x5+-parseInt(_0x16511f(0x163))/0x6*(parseInt(_0x16511f(0x10d))/0x7)+parseInt(_0x16511f(0x151))/0x8+-parseInt(_0x16511f(0x16b))/0x9+parseInt(_0x16511f(0x134))/0xa*(parseInt(_0x16511f(0x137))/0xb);if(_0x436f3e===_0xc831a1)break;else _0x56be5a['push'](_0x56be5a['shift']());}catch(_0x3b9c68){_0x56be5a['push'](_0x56be5a['shift']());}}}(a37_0x1a9f,0x8c7d8));import a37_0x1647b4 from'ol/events/Event';import a37_0x48453a from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';import a37_0x3a1ea9 from'ol/Feature';import a37_0x27c0d8,{createEditingStyle}from'ol/style/Style';import a37_0x1eeecb from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a37_0x51146e from'ol/style/Text';import a37_0x4d6091 from'ol/style/Fill';import a37_0x4aab68 from'ol/interaction/Property';function a37_0xac02(_0x114e97,_0x360ffc){const _0x1a9fe6=a37_0x1a9f();return a37_0xac02=function(_0xac0206,_0x3f006d){_0xac0206=_0xac0206-0x106;let _0x3e416b=_0x1a9fe6[_0xac0206];return _0x3e416b;},a37_0xac02(_0x114e97,_0x360ffc);}import a37_0x193eaf from'ol/layer/Vector';import a37_0xd0f4eb from'../entity/GeometryType';const DrawEventType={'DRAWSTART':'drawstart','DRAWEND':'drawend','DRAWABORT':a37_0x4fb69d(0x15a),'DRAWADDPOINT':a37_0x4fb69d(0x16a),'DRAWMOVING':a37_0x4fb69d(0x144)};export class DrawEvent extends a37_0x1647b4{constructor(_0x457a96,_0x12c13d,_0x224f68){const _0x4acb14=a37_0x4fb69d;super(_0x457a96),this[_0x4acb14(0x150)]=_0x12c13d,this['coordinates']=_0x224f68;}}export class ShEvent extends a37_0x1647b4{constructor(_0xdb7023,_0x38364c,_0x41452f,_0x205218,_0x213327){const _0x3d469e=a37_0x4fb69d;super(_0xdb7023),this[_0x3d469e(0x131)]=_0x213327,this[_0x3d469e(0x155)]=_0x38364c,this[_0x3d469e(0x12d)]=_0x41452f,this[_0x3d469e(0x116)]=_0x205218;}}function a37_0x1a9f(){const _0x5aea48=['type','push','dispatchEvent','sqrt','getText','drawabort','createMultiPointFeature','showTip','pop','getCode','addFeature','setStyle','handleUpEvent','wrapX','2208dLDeBw','826599bzWykR','getSource','603956lHgscU','getPixelFromCoordinate','getGeometry','_fixPoint','drawaddpoint','9708471Xswvrh','DRAWMOVING','setText','indexOf','单击结束绘制,右击删除点','_showTip','DRAWABORT','stopDown','rectangle','setGeometry','_minPoints','16177aYOLnR','_tipStyle','_tipOverlay','handleDragEvent','clear','单击增加点,右击删除点双击完成绘制','addChangeListener','_style','ACTIVE','coordinates','unInternal','revert','updateSketchFeatures_','_drawingCoordinates','DRAWEND','_overlay','pointermove','_features','updateTip_','3338380RGfVIB','Rectangle','MAX_VALUE','Ellipse','12px\x20Calibre,sans-serif','atFinish_','_snapTolerance','_tipFeature','onceInternal','3rCRObd','_sketchFeature','getProjection','features','coordinate','finishDrawing','startDrawing_','source','projection','originalEvent','Ellipsoid','30380010YtfWhf','getMap','DRAWADDPOINT','11mrdJqp','buildDrawingFeature','setMap','Circle','preventDefault','abortDrawing_','单击拖动绘制','left','onInternal','_isStayDraw','getView','getType','updateState_','drawmoving','minPoint','handleMoveEvent','snapTolerance','单击增加点,右击删除点','_type','单击开始绘制','addPoint','fixPoint','button','length','tipText','feature','6479200cRkUkc','2zFxiPH','_source','abortDrawing'];a37_0x1a9f=function(){return _0x5aea48;};return a37_0x1a9f();}export default class Draw extends a37_0x48453a{constructor(_0x3a036c,_0x58caff){const _0x57a9eb=a37_0x4fb69d,_0x2e8d1b=_0x58caff?_0x58caff:{};!_0x2e8d1b[_0x57a9eb(0x109)]&&(_0x2e8d1b[_0x57a9eb(0x109)]=![]);super(_0x58caff),this['on']=this[_0x57a9eb(0x13f)],this['once']=this[_0x57a9eb(0x128)],this['un']=this[_0x57a9eb(0x117)],this[_0x57a9eb(0x140)]=![],this[_0x57a9eb(0x149)]=_0x3a036c,this[_0x57a9eb(0x114)]=_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff['style'],this[_0x57a9eb(0x153)]=_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x130)],this['_features']=_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x12c)];const _0x5d4316=getPlotCount(this[_0x57a9eb(0x149)]);this['_minPoints']=_0x5d4316[_0x57a9eb(0x145)],this[_0x57a9eb(0x169)]=_0x5d4316[_0x57a9eb(0x14c)],this[_0x57a9eb(0x14f)]=_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x14f)],this[_0x57a9eb(0x107)]=(_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x15c)])==![]?![]:!![],this[_0x57a9eb(0x126)]=_0x2e8d1b[_0x57a9eb(0x147)]?_0x2e8d1b[_0x57a9eb(0x147)]:0x6,this['_tipFeature']=new a37_0x3a1ea9(),this[_0x57a9eb(0x10e)]=new a37_0x27c0d8({'text':new a37_0x51146e({'font':_0x57a9eb(0x124),'fill':new a37_0x4d6091({'color':'rgba(255,\x20255,\x20255,\x201)'}),'backgroundFill':new a37_0x4d6091({'color':'rgba(0,\x200,\x200,\x200.4)'}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x57a9eb(0x13e),'offsetX':0xf})}),this[_0x57a9eb(0x11a)]=[],this['_tipOverlay']=new a37_0x193eaf({'source':new a37_0x1eeecb({'useSpatialIndex':![],'wrapX':(_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x162)])?_0x58caff[_0x57a9eb(0x162)]:![]})}),this[_0x57a9eb(0x11c)]=new a37_0x193eaf({'source':new a37_0x1eeecb({'useSpatialIndex':![],'wrapX':(_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x162)])?_0x58caff[_0x57a9eb(0x162)]:![]}),'updateWhileInteracting':!![]}),this[_0x57a9eb(0x113)](a37_0x4aab68[_0x57a9eb(0x115)],this[_0x57a9eb(0x143)]);}[a37_0x4fb69d(0x143)](){const _0x122388=a37_0x4fb69d,_0x258009=this[_0x122388(0x135)](),_0x59105a=this['getActive']();(!_0x258009||!_0x59105a)&&this[_0x122388(0x154)](),this[_0x122388(0x11c)]['setMap'](_0x59105a?_0x258009:null),this[_0x122388(0x10f)][_0x122388(0x139)](_0x59105a?_0x258009:null);}[a37_0x4fb69d(0x139)](_0x5a43e7){const _0x4f6b6b=a37_0x4fb69d;super[_0x4f6b6b(0x139)](_0x5a43e7),this[_0x4f6b6b(0x143)]();}['setStyle'](_0x31a2f4){this['_style']=_0x31a2f4?_0x31a2f4:{};}['getOverlay'](){const _0x16eba9=a37_0x4fb69d;return this[_0x16eba9(0x11c)];}['handleDownEvent'](_0x1cb876){const _0x49f1ff=a37_0x4fb69d;if(_0x1cb876['originalEvent'][_0x49f1ff(0x14d)]===0x2)return _0x1cb876[_0x49f1ff(0x132)][_0x49f1ff(0x13b)](),this[_0x49f1ff(0x118)](),this[_0x49f1ff(0x146)](_0x1cb876),![];return!![];}[a37_0x4fb69d(0x161)](_0x2c6375){const _0x5d9193=a37_0x4fb69d;var _0x17a046,_0x411e48;if(this['_type']=='rectangle'&&this[_0x5d9193(0x11a)]['length']<0x1)return this['dispatchEvent'](new DrawEvent(DrawEventType[_0x5d9193(0x11b)],undefined,[_0x2c6375[_0x5d9193(0x12d)]])),![];if(!this[_0x5d9193(0x140)])this[_0x5d9193(0x12f)](_0x2c6375[_0x5d9193(0x12d)]),this[_0x5d9193(0x157)](new ShEvent(DrawEventType['DRAWADDPOINT'],this[_0x5d9193(0x149)],_0x2c6375[_0x5d9193(0x12d)],this[_0x5d9193(0x11a)],(_0x17a046=this['getMap']())===null||_0x17a046===void 0x0?void 0x0:_0x17a046[_0x5d9193(0x141)]()[_0x5d9193(0x12b)]()['getCode']())),this[_0x5d9193(0x149)]=='point'&&this[_0x5d9193(0x12e)]();else{if(this[_0x5d9193(0x11a)]&&this[_0x5d9193(0x11a)][_0x5d9193(0x14e)]>0x0){if(this[_0x5d9193(0x125)](_0x2c6375['pixel']))return this[_0x5d9193(0x12e)](),_0x2c6375[_0x5d9193(0x13b)](),![];let _0x2e37e8=this[_0x5d9193(0x11a)][_0x5d9193(0x14e)]+0x1;_0x2e37e8<=this['_fixPoint']&&this[_0x5d9193(0x14b)](_0x2c6375[_0x5d9193(0x12d)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0x5d9193(0x136)],this['_type'],_0x2c6375[_0x5d9193(0x12d)],this[_0x5d9193(0x11a)],(_0x411e48=this['getMap']())===null||_0x411e48===void 0x0?void 0x0:_0x411e48[_0x5d9193(0x141)]()[_0x5d9193(0x12b)]()[_0x5d9193(0x15e)]())),_0x2e37e8>=this[_0x5d9193(0x10c)]&&this[_0x5d9193(0x138)](this['_drawingCoordinates']),_0x2e37e8===this['_fixPoint']&&this['finishDrawing']();}}return _0x2c6375[_0x5d9193(0x13b)](),![];}[a37_0x4fb69d(0x110)](_0x26aea7){const _0x21c16e=a37_0x4fb69d;var _0x2dca05;if(this[_0x21c16e(0x149)]==_0x21c16e(0x10a)&&_0x26aea7[_0x21c16e(0x132)][_0x21c16e(0x155)]=='pointermove'){if(!this[_0x21c16e(0x140)]){this[_0x21c16e(0x12f)](_0x26aea7['coordinate']),this[_0x21c16e(0x157)](new ShEvent(DrawEventType[_0x21c16e(0x136)],this[_0x21c16e(0x149)],_0x26aea7[_0x21c16e(0x12d)],this[_0x21c16e(0x11a)],(_0x2dca05=this[_0x21c16e(0x135)]())===null||_0x2dca05===void 0x0?void 0x0:_0x2dca05[_0x21c16e(0x141)]()[_0x21c16e(0x12b)]()[_0x21c16e(0x15e)]()));return;}let _0x54ee44=[...this[_0x21c16e(0x11a)],_0x26aea7[_0x21c16e(0x12d)]];this['buildDrawingFeature'](_0x54ee44),this[_0x21c16e(0x157)](new DrawEvent(DrawEventType['DRAWMOVING'],this[_0x21c16e(0x12a)],this['_drawingCoordinates']));}}[a37_0x4fb69d(0x146)](_0x4d294f){const _0x3c3120=a37_0x4fb69d;var _0x5268a5,_0x3797e9,_0x172032;let _0x39c8df='';this['_type']==_0x3c3120(0x11d)&&(this[_0x3c3120(0x12f)](_0x4d294f[_0x3c3120(0x12d)]),this[_0x3c3120(0x157)](new ShEvent(DrawEventType['DRAWADDPOINT'],this[_0x3c3120(0x149)],_0x4d294f[_0x3c3120(0x12d)],this[_0x3c3120(0x11a)],(_0x5268a5=this[_0x3c3120(0x135)]())===null||_0x5268a5===void 0x0?void 0x0:_0x5268a5[_0x3c3120(0x141)]()[_0x3c3120(0x12b)]()[_0x3c3120(0x15e)]())),this[_0x3c3120(0x12e)]());!this['_isStayDraw']?_0x39c8df=this[_0x3c3120(0x149)]==_0x3c3120(0x10a)?_0x3c3120(0x13d):_0x3c3120(0x14a):(_0x39c8df=_0x3c3120(0x148),((_0x3797e9=this[_0x3c3120(0x11a)])===null||_0x3797e9===void 0x0?void 0x0:_0x3797e9[_0x3c3120(0x14e)])===this[_0x3c3120(0x169)]-0x1&&(_0x39c8df=_0x3c3120(0x106)),((_0x172032=this[_0x3c3120(0x11a)])===null||_0x172032===void 0x0?void 0x0:_0x172032[_0x3c3120(0x14e)])>=this[_0x3c3120(0x10c)]&&this[_0x3c3120(0x169)]===Number['MAX_VALUE']&&(_0x39c8df=_0x3c3120(0x112)));this[_0x3c3120(0x14f)]!=undefined&&(_0x39c8df=this['tipText']);this[_0x3c3120(0x11f)](_0x4d294f[_0x3c3120(0x12d)],_0x39c8df);if(this['_isStayDraw']&&this[_0x3c3120(0x149)]!='rectangle'){let _0x496c67=[...this[_0x3c3120(0x11a)],_0x4d294f[_0x3c3120(0x12d)]];this[_0x3c3120(0x138)](_0x496c67),this[_0x3c3120(0x157)](new DrawEvent(DrawEventType[_0x3c3120(0x16c)],this[_0x3c3120(0x12a)],this[_0x3c3120(0x11a)]));}}[a37_0x4fb69d(0x125)](_0x16a227){const _0x1f8623=a37_0x4fb69d;var _0x3510f4;let _0x12c090=![],_0x393dcb=this[_0x1f8623(0x11a)][_0x1f8623(0x14e)];if(_0x393dcb>this[_0x1f8623(0x10c)]&&this[_0x1f8623(0x169)]===Number[_0x1f8623(0x122)]){const _0x5c889c=this[_0x1f8623(0x11a)][this[_0x1f8623(0x11a)][_0x1f8623(0x14e)]-0x1],_0x51e55c=(_0x3510f4=this['getMap']())===null||_0x3510f4===void 0x0?void 0x0:_0x3510f4[_0x1f8623(0x167)](_0x5c889c),_0x2404b5=_0x16a227[0x0]-(_0x51e55c?_0x51e55c[0x0]:0x0),_0x12e369=_0x16a227[0x1]-(_0x51e55c?_0x51e55c[0x1]:0x0);_0x12c090=Math[_0x1f8623(0x158)](_0x2404b5*_0x2404b5+_0x12e369*_0x12e369)<=this['_snapTolerance'];}return _0x12c090;}['startDrawing_'](_0x5096b2){const _0x27ff72=a37_0x4fb69d;this[_0x27ff72(0x140)]=!![],this[_0x27ff72(0x11a)]=[_0x5096b2['slice']()],this['_sketchFeature']=this[_0x27ff72(0x15b)](),this[_0x27ff72(0x119)](),this['dispatchEvent'](new DrawEvent(DrawEventType['DRAWSTART'],this['_sketchFeature'],this[_0x27ff72(0x11a)]));}['finishDrawing'](){const _0x11e462=a37_0x4fb69d;if(this[_0x11e462(0x11a)][_0x11e462(0x14e)]>this[_0x11e462(0x10c)]){this[_0x11e462(0x138)](this[_0x11e462(0x11a)]);let _0x52a7bf=this['_drawingCoordinates'];const _0x10bb76=this[_0x11e462(0x13c)]();if(!_0x10bb76)return;this[_0x11e462(0x157)](new DrawEvent(DrawEventType[_0x11e462(0x11b)],_0x10bb76,_0x52a7bf)),this[_0x11e462(0x11e)]&&this['_features'][_0x11e462(0x156)](_0x10bb76),this[_0x11e462(0x153)]&&this['_source']['addFeature'](_0x10bb76);}}[a37_0x4fb69d(0x14b)](_0x5a3a03){const _0xc92155=a37_0x4fb69d;this[_0xc92155(0x11a)][_0xc92155(0x156)](_0x5a3a03),this[_0xc92155(0x12a)]=this[_0xc92155(0x15b)](),this[_0xc92155(0x119)]();}['createMultiPointFeature'](){const _0x153c77=a37_0x4fb69d,_0xa38959=new MultiPoint(this['_drawingCoordinates']);let _0x195a1c=new a37_0x3a1ea9();return _0x195a1c[_0x153c77(0x10b)](_0xa38959),_0x195a1c;}['abortDrawing_'](){const _0xdd1aa7=a37_0x4fb69d;var _0x27d902,_0xb102a5;this[_0xdd1aa7(0x140)]=![];const _0x273da1=this[_0xdd1aa7(0x12a)];return this[_0xdd1aa7(0x12a)]=undefined,this[_0xdd1aa7(0x11a)]=[],(_0x27d902=this[_0xdd1aa7(0x11c)][_0xdd1aa7(0x165)]())===null||_0x27d902===void 0x0?void 0x0:_0x27d902['clear'](!![]),(_0xb102a5=this['_tipOverlay']['getSource']())===null||_0xb102a5===void 0x0?void 0x0:_0xb102a5[_0xdd1aa7(0x111)](!![]),_0x273da1;}['abortDrawing'](){const _0x2b1c7f=a37_0x4fb69d,_0xe86e15=this[_0x2b1c7f(0x13c)]();_0xe86e15&&this[_0x2b1c7f(0x157)](new DrawEvent(DrawEventType[_0x2b1c7f(0x108)],_0xe86e15,this['_drawingCoordinates']));}['buildDrawingFeature'](_0x16682e){const _0x43c702=a37_0x4fb69d;this['_sketchFeature']=new a37_0x3a1ea9();let _0x194b44=createPlot(this[_0x43c702(0x149)],_0x16682e);if(!_0x194b44)return;this[_0x43c702(0x12a)]['setGeometry'](_0x194b44);let _0x21c786=[a37_0xd0f4eb[_0x43c702(0x13a)],a37_0xd0f4eb[_0x43c702(0x133)],a37_0xd0f4eb[_0x43c702(0x123)]];if(_0x21c786[_0x43c702(0x16e)](this[_0x43c702(0x149)])>-0x1&&this[_0x43c702(0x114)]){}const _0x27bd55=this[_0x43c702(0x135)]();this[_0x43c702(0x12a)][_0x43c702(0x160)](getStyle(this['_type'],this['_style'],this['getMap']())),this['updateSketchFeatures_']();}[a37_0x4fb69d(0x119)](){const _0x4caccc=a37_0x4fb69d,_0x22d0b0=this[_0x4caccc(0x11c)][_0x4caccc(0x165)]();_0x22d0b0&&this['_sketchFeature']&&(_0x22d0b0[_0x4caccc(0x111)](!![]),_0x22d0b0[_0x4caccc(0x15f)](this[_0x4caccc(0x12a)]));}['revert'](){const _0x3d6482=a37_0x4fb69d;if(this['_isStayDraw']){if(this[_0x3d6482(0x11a)]&&this[_0x3d6482(0x11a)][_0x3d6482(0x14e)]>0x0){const _0x540244=this[_0x3d6482(0x11c)][_0x3d6482(0x165)]();_0x540244===null||_0x540244===void 0x0?void 0x0:_0x540244[_0x3d6482(0x111)](!![]),this[_0x3d6482(0x11a)][_0x3d6482(0x15d)](),this[_0x3d6482(0x11a)][_0x3d6482(0x14e)]>=this[_0x3d6482(0x10c)]&&this[_0x3d6482(0x138)](this[_0x3d6482(0x11a)]),this[_0x3d6482(0x11a)][_0x3d6482(0x14e)]===0x0&&(this[_0x3d6482(0x140)]=![]);}}}[a37_0x4fb69d(0x11f)](_0x3019bf,_0xefc510){const _0x2ab6db=a37_0x4fb69d;var _0x5c5712,_0x13b843,_0x3f1429,_0x37b9f5;if(!this['_showTip'])return;const _0x377dc8=this[_0x2ab6db(0x10f)][_0x2ab6db(0x165)]();_0x377dc8===null||_0x377dc8===void 0x0?void 0x0:_0x377dc8[_0x2ab6db(0x111)](!![]),(_0x5c5712=this[_0x2ab6db(0x127)])===null||_0x5c5712===void 0x0?void 0x0:_0x5c5712[_0x2ab6db(0x10b)](new Point(_0x3019bf)),(_0x3f1429=(_0x13b843=this[_0x2ab6db(0x10e)])===null||_0x13b843===void 0x0?void 0x0:_0x13b843[_0x2ab6db(0x159)]())===null||_0x3f1429===void 0x0?void 0x0:_0x3f1429[_0x2ab6db(0x16d)](_0xefc510),(_0x37b9f5=this[_0x2ab6db(0x127)])===null||_0x37b9f5===void 0x0?void 0x0:_0x37b9f5[_0x2ab6db(0x160)](this[_0x2ab6db(0x10e)]),this[_0x2ab6db(0x127)]&&(_0x377dc8===null||_0x377dc8===void 0x0?void 0x0:_0x377dc8['addFeature'](this['_tipFeature']));}}function getDefaultStyleFunction(){const _0x26fdf0=createEditingStyle();return function(_0x18db33,_0xd4395f){const _0xc02d51=a37_0xac02,_0x6a1b39=_0x26fdf0[_0x18db33[_0xc02d51(0x168)]()['getType']()];if(_0x6a1b39&&_0xc02d51(0x121)==_0x18db33['getGeometry']()[_0xc02d51(0x142)]()){}};}
@@ -1 +1 @@
1
- const a38_0x3dfc62=a38_0x5714;function a38_0x3bf3(){const _0x41bea2=['removeAllInteractions','getInteraction','225RtXOER','62193SOZLAK','clear','282qIrOwS','addInteraction','2680840fDpPqQ','1497200SiZpmp','1527113zNdoAb','set','get','name','has','813066tPBvHk','forEach','removeInteraction','18iRjNgs','interactions','delete','9655fVryRz','map','487030EUjqJl'];a38_0x3bf3=function(){return _0x41bea2;};return a38_0x3bf3();}function a38_0x5714(_0x174a67,_0x58aa0e){const _0x3bf397=a38_0x3bf3();return a38_0x5714=function(_0x571462,_0x39cffe){_0x571462=_0x571462-0x192;let _0x3fa9c0=_0x3bf397[_0x571462];return _0x3fa9c0;},a38_0x5714(_0x174a67,_0x58aa0e);}(function(_0x414530,_0x5abef3){const _0x55dc38=a38_0x5714,_0xbd37c4=_0x414530();while(!![]){try{const _0x58f1ad=parseInt(_0x55dc38(0x1a6))/0x1+parseInt(_0x55dc38(0x192))/0x2*(-parseInt(_0x55dc38(0x19b))/0x3)+parseInt(_0x55dc38(0x1a0))/0x4+parseInt(_0x55dc38(0x195))/0x5*(parseInt(_0x55dc38(0x19d))/0x6)+parseInt(_0x55dc38(0x1a1))/0x7+parseInt(_0x55dc38(0x19f))/0x8+-parseInt(_0x55dc38(0x19a))/0x9*(parseInt(_0x55dc38(0x197))/0xa);if(_0x58f1ad===_0x5abef3)break;else _0xbd37c4['push'](_0xbd37c4['shift']());}catch(_0x57b723){_0xbd37c4['push'](_0xbd37c4['shift']());}}}(a38_0x3bf3,0x684e1));export default class InteractionManager{constructor(_0x19dfdb){const _0x571840=a38_0x5714;this[_0x571840(0x196)]=_0x19dfdb,this[_0x571840(0x193)]=new Map();}[a38_0x3dfc62(0x19e)](_0x159b91,_0x91319){const _0x1190cb=a38_0x3dfc62;this[_0x1190cb(0x193)][_0x1190cb(0x1a5)](_0x159b91)&&this[_0x1190cb(0x1a8)](_0x159b91),_0x91319[_0x1190cb(0x1a2)](_0x1190cb(0x1a4),_0x159b91),this[_0x1190cb(0x193)][_0x1190cb(0x1a2)](_0x159b91,_0x91319),this['map'][_0x1190cb(0x19e)](_0x91319);}['removeInteraction'](_0x494e6d){const _0x5f25e4=a38_0x3dfc62,_0x5ce27f=this['interactions'][_0x5f25e4(0x1a3)](_0x494e6d);_0x5ce27f&&(this[_0x5f25e4(0x196)][_0x5f25e4(0x1a8)](_0x5ce27f),this[_0x5f25e4(0x193)][_0x5f25e4(0x194)](_0x494e6d));}[a38_0x3dfc62(0x198)](){const _0x4e8010=a38_0x3dfc62;this[_0x4e8010(0x193)][_0x4e8010(0x1a7)](_0x410584=>{const _0x5738c7=_0x4e8010;this[_0x5738c7(0x196)]['removeInteraction'](_0x410584);}),this[_0x4e8010(0x193)][_0x4e8010(0x19c)]();}[a38_0x3dfc62(0x199)](_0x1b7940){const _0x763a23=a38_0x3dfc62;return this[_0x763a23(0x193)][_0x763a23(0x1a3)](_0x1b7940);}}
1
+ const a38_0x1eafbd=a38_0x4eb0;function a38_0xaba6(){const _0x2e0f8a=['6969150oelkbA','464SDLCwE','31052781OPlVCe','getInteraction','423204EWdAZM','91966TvmDRd','set','get','forEach','3092344DhMhov','2XhoGfq','interactions','has','map','removeInteraction','505427SSMjBy','addInteraction','delete','5170755oEibLx'];a38_0xaba6=function(){return _0x2e0f8a;};return a38_0xaba6();}function a38_0x4eb0(_0x494ff1,_0x280270){const _0xaba62f=a38_0xaba6();return a38_0x4eb0=function(_0x4eb0e6,_0xd1a420){_0x4eb0e6=_0x4eb0e6-0xa8;let _0x2d2083=_0xaba62f[_0x4eb0e6];return _0x2d2083;},a38_0x4eb0(_0x494ff1,_0x280270);}(function(_0x583c47,_0x48f1c2){const _0x20f1be=a38_0x4eb0,_0x51ef25=_0x583c47();while(!![]){try{const _0x316f92=-parseInt(_0x20f1be(0xb6))/0x1*(-parseInt(_0x20f1be(0xb1))/0x2)+-parseInt(_0x20f1be(0xab))/0x3+parseInt(_0x20f1be(0xb0))/0x4+parseInt(_0x20f1be(0xb9))/0x5+parseInt(_0x20f1be(0xba))/0x6+parseInt(_0x20f1be(0xac))/0x7*(parseInt(_0x20f1be(0xa8))/0x8)+-parseInt(_0x20f1be(0xa9))/0x9;if(_0x316f92===_0x48f1c2)break;else _0x51ef25['push'](_0x51ef25['shift']());}catch(_0x3f85b8){_0x51ef25['push'](_0x51ef25['shift']());}}}(a38_0xaba6,0x9d6d0));export default class InteractionManager{constructor(_0x21093a){const _0x49c8e1=a38_0x4eb0;this[_0x49c8e1(0xb4)]=_0x21093a,this['interactions']=new Map();}['addInteraction'](_0xfc7c11,_0x15c8f5){const _0x4cc8b5=a38_0x4eb0;this[_0x4cc8b5(0xb2)][_0x4cc8b5(0xb3)](_0xfc7c11)&&this[_0x4cc8b5(0xb5)](_0xfc7c11),_0x15c8f5[_0x4cc8b5(0xad)]('name',_0xfc7c11),this[_0x4cc8b5(0xb2)]['set'](_0xfc7c11,_0x15c8f5),this[_0x4cc8b5(0xb4)][_0x4cc8b5(0xb7)](_0x15c8f5);}[a38_0x1eafbd(0xb5)](_0x816e7b){const _0x214175=a38_0x1eafbd,_0x25cceb=this['interactions']['get'](_0x816e7b);_0x25cceb&&(this[_0x214175(0xb4)][_0x214175(0xb5)](_0x25cceb),this[_0x214175(0xb2)][_0x214175(0xb8)](_0x816e7b));}['removeAllInteractions'](){const _0x452529=a38_0x1eafbd;this[_0x452529(0xb2)][_0x452529(0xaf)](_0xe37b0f=>{const _0xa53ba0=_0x452529;this['map'][_0xa53ba0(0xb5)](_0xe37b0f);}),this[_0x452529(0xb2)]['clear']();}[a38_0x1eafbd(0xaa)](_0x1d6a38){const _0x5e3c1f=a38_0x1eafbd;return this[_0x5e3c1f(0xb2)][_0x5e3c1f(0xae)](_0x1d6a38);}}
@@ -1 +1 @@
1
- function a39_0x13f6(){const _0xdda56a=['layerInfo','import','selectedPointFeatures','dispatchEvent','4064004UtEjYi','Polygon','getCode','union','8110VniHYc','drawend','cancePointStyle','selectTempLayer','fromType','feature','seletctEditeFeature','selectLayer','SELECTSTART','setStyle','polygonStyle','tipText','2063724UGYHCL','map','cancePolygonStyle','getLayers','1296162GKdTSs','layerId','SELECTED','drawaddpoint','MultiPolygon','onInternal','loadFilter','pointFeatures','selectedLineFeatures','addEventListener','selectstart','holdCtrl','3ppsgFI','keyup','selectGeom','drawstart','未获取到几何','selectedPolygonFeatures','polygonFeatures','ctrlKey','getPolygonTempLayer','getView','Point','12258UyVGdL','getArray','lineStyle','allSelectedFeatures','607456edjWeS','push','MultiPoint','currentLayers','canceLineStyle','coordinates','addFeatures','layerType','selectLayers','MultiLineString','1022208GItnpg','drawabort','15eKhmzI','selected','selectIndex','getMap','draw','pixelDistance','getType','url','forEach','getGeometry','4129864tPqbFe','getSource','length','error','pointStyle','addTempLayer'];a39_0x13f6=function(){return _0xdda56a;};return a39_0x13f6();}const a39_0x595a94=a39_0xb8f4;(function(_0x57153a,_0x4b1045){const _0x3cb1db=a39_0xb8f4,_0x432a48=_0x57153a();while(!![]){try{const _0x376403=parseInt(_0x3cb1db(0x1e8))/0x1+parseInt(_0x3cb1db(0x1bf))/0x2+parseInt(_0x3cb1db(0x1cf))/0x3*(parseInt(_0x3cb1db(0x1de))/0x4)+-parseInt(_0x3cb1db(0x1ea))/0x5*(parseInt(_0x3cb1db(0x1c3))/0x6)+parseInt(_0x3cb1db(0x1fe))/0x7+-parseInt(_0x3cb1db(0x1f4))/0x8+-parseInt(_0x3cb1db(0x1da))/0x9*(parseInt(_0x3cb1db(0x202))/0xa);if(_0x376403===_0x4b1045)break;else _0x432a48['push'](_0x432a48['shift']());}catch(_0x18e536){_0x432a48['push'](_0x432a48['shift']());}}}(a39_0x13f6,0x7e5ea));import a39_0x32f6c8 from'./Draw';import a39_0x4d9bac from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';import{Point}from'ol/geom';import a39_0x24ebba from'../feature/FeatureManager';function a39_0xb8f4(_0x19fbc2,_0x1c22d5){const _0x13f621=a39_0x13f6();return a39_0xb8f4=function(_0xb8f43e,_0x2c8163){_0xb8f43e=_0xb8f43e-0x1b6;let _0x2a0ec6=_0x13f621[_0xb8f43e];return _0x2a0ec6;},a39_0xb8f4(_0x19fbc2,_0x1c22d5);}import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'DRAWSTART':a39_0x595a94(0x1d2),'DRAWEND':a39_0x595a94(0x203),'DRAWABORT':a39_0x595a94(0x1e9),'DRAWADDPOINT':a39_0x595a94(0x1c6),'DRAWMOVING':'drawmoving','SELECTSTART':a39_0x595a94(0x1cd),'SELECTED':a39_0x595a94(0x1eb)};export class SelectEvent extends a39_0x4d9bac{constructor(_0x4b6dab,_0x308ee2,_0x486ec2,_0x531a92,_0x3dc4ec,_0x274cdb,_0x183fb0,_0x5bb477,_0x579c26){const _0x5b6796=a39_0x595a94;super(_0x4b6dab),this[_0x5b6796(0x1d1)]=_0x486ec2,this[_0x5b6796(0x1e3)]=_0x531a92,this[_0x5b6796(0x1ca)]=_0x3dc4ec,this['lineFeatures']=_0x274cdb,this[_0x5b6796(0x1d5)]=_0x183fb0,this['allFeatures']=_0x5bb477,this[_0x5b6796(0x1f7)]=_0x579c26,this['holdCtrl']=_0x308ee2;}}export default class Select extends a39_0x32f6c8{constructor(_0x291e1e,_0xfba2cf){const _0x3ebb79=a39_0x595a94;super(_0x291e1e,{'tipText':_0xfba2cf===null||_0xfba2cf===void 0x0?void 0x0:_0xfba2cf[_0x3ebb79(0x1be)]}),this[_0x3ebb79(0x1fc)]=[],this[_0x3ebb79(0x1cb)]=[],this[_0x3ebb79(0x1d4)]=[],this[_0x3ebb79(0x1dd)]=[];const _0x222de8=_0xfba2cf||{};this[_0x3ebb79(0x1f9)]=_0x222de8[_0x3ebb79(0x1f9)]||![],this[_0x3ebb79(0x1e1)]=_0x222de8[_0x3ebb79(0x1e6)],this['selectTempLayer']=_0x222de8['selectTempLayer']===undefined?!![]:_0x222de8['selectTempLayer'],this[_0x3ebb79(0x1ef)]=_0x222de8[_0x3ebb79(0x1ef)]===undefined?0x5:_0x222de8[_0x3ebb79(0x1ef)],this[_0x3ebb79(0x1f8)]=_0x222de8[_0x3ebb79(0x1f8)]?getStyle(_0x222de8[_0x3ebb79(0x1f8)]):getSelectPointStyle(),this[_0x3ebb79(0x204)]=_0x222de8['cancePointStyle']?getStyle(_0x222de8['cancePointStyle']):getSelectCancePointStyle(),this[_0x3ebb79(0x1dc)]=_0x222de8[_0x3ebb79(0x1dc)]?getStyle(_0x222de8[_0x3ebb79(0x1dc)]):getSelectLineStyle(),this[_0x3ebb79(0x1e2)]=_0x222de8[_0x3ebb79(0x1e2)]?getStyle(_0x222de8['canceLineStyle']):getSelectCancelLineStyle(),this['polygonStyle']=_0x222de8[_0x3ebb79(0x1bd)]?getStyle(_0x222de8[_0x3ebb79(0x1bd)]):getSelectPolygonStyle(),this[_0x3ebb79(0x1c1)]=_0x222de8[_0x3ebb79(0x1c1)]?getStyle(_0x222de8[_0x3ebb79(0x1c1)]):getSelectCancelPolygonStyle(),this[_0x3ebb79(0x1ce)]=![];let _0x4be27d;this['on']=this[_0x3ebb79(0x1c8)],this['on'](_0x3ebb79(0x203),async _0xa8998c=>{const _0x408835=_0x3ebb79,_0x2c9355=this[_0x408835(0x1ce)],_0x398389=this[_0x408835(0x1ed)]();if(!_0x398389)return;try{let _0xb5a5c5=undefined;if(!_0xa8998c[_0x408835(0x1b8)]&&_0xa8998c[_0x408835(0x1e3)]&&_0xa8998c[_0x408835(0x1e3)][_0x408835(0x1f6)]==0x1)_0xb5a5c5=bufferPixel(new Point(_0xa8998c['coordinates'][0x0]),this['pixelDistance'],_0x398389);else _0xa8998c[_0x408835(0x1b8)]&&(_0xb5a5c5=_0xa8998c[_0x408835(0x1b8)][_0x408835(0x1f3)]());if(!_0xb5a5c5)throw new Error(_0x408835(0x1d3));this[_0x408835(0x1fd)](new SelectEvent(SelectEventType[_0x408835(0x1bb)],_0x2c9355,_0xb5a5c5)),this['selectedPointFeatures']=[],this[_0x408835(0x1cb)]=[],this['selectedPolygonFeatures']=[],this[_0x408835(0x1dd)]=[],this[_0x408835(0x1b6)]&&this[_0x408835(0x1b9)](_0xb5a5c5),_0x4be27d&&clearTimeout(_0x4be27d),_0x4be27d=setTimeout(async()=>{const _0x184190=_0x408835;await this[_0x184190(0x1ba)](_0xb5a5c5),this[_0x184190(0x1fd)](new SelectEvent(SelectEventType[_0x184190(0x1c5)],_0x2c9355,_0xb5a5c5,_0xa8998c[_0x184190(0x1e3)],this[_0x184190(0x1fc)],this[_0x184190(0x1cb)],this['selectedPolygonFeatures'],this[_0x184190(0x1dd)]));},0x46);}catch(_0x138e3b){this[_0x408835(0x1fd)](new SelectEvent(SelectEventType['SELECTED'],_0x2c9355,undefined,_0xa8998c['coordinates'],this[_0x408835(0x1fc)],this[_0x408835(0x1cb)],this[_0x408835(0x1d4)],this[_0x408835(0x1dd)],_0x138e3b['message']));}}),window[_0x3ebb79(0x1cc)]('keydown',_0x4c1d12=>{const _0x34dff4=_0x3ebb79;_0x4c1d12[_0x34dff4(0x1d6)]&&(this[_0x34dff4(0x1ce)]=!![]);}),window['addEventListener'](_0x3ebb79(0x1d0),_0x2d8bd4=>{const _0x58a814=_0x3ebb79;this[_0x58a814(0x1ce)]=![];});}['setSelectLayers'](_0x6d3768){const _0x6637a5=a39_0x595a94;this[_0x6637a5(0x1e1)]=_0x6d3768;}async[a39_0x595a94(0x1ba)](_0x2378e0){const _0x2bddf2=a39_0x595a94;var _0xbf8c54;const _0x400fa9=this[_0x2bddf2(0x1ed)]();let _0x4fb771=[];if(this['currentLayers']&&this[_0x2bddf2(0x1e1)][_0x2bddf2(0x1f6)]>0x0)_0x4fb771=this[_0x2bddf2(0x1e1)];else{let _0xc93dfe=_0x400fa9[_0x2bddf2(0x1c2)]()[_0x2bddf2(0x1db)]();_0xc93dfe=_0xc93dfe['filter'](_0x5c6431=>{const _0x1ae763=_0x2bddf2,_0x5f3ee5=_0x5c6431['layerInfo'];if(!_0x5f3ee5)return![];return _0x5c6431['getVisible']()==!![]&&_0x5f3ee5[_0x1ae763(0x1ec)]!=undefined&&_0x5f3ee5[_0x1ae763(0x1ec)]!='';}),_0x4fb771=_0xc93dfe[_0x2bddf2(0x1c0)](_0x59b81c=>{const _0xe217e4=_0x2bddf2;return _0x59b81c[_0xe217e4(0x1fa)];});}if(!_0x4fb771||_0x4fb771[_0x2bddf2(0x1f6)]==0x0)return;const _0x42dcc4=_0x400fa9[_0x2bddf2(0x1d8)]()['getProjection']()[_0x2bddf2(0x200)]();for(let _0xa2f340=0x0,_0x3e8110=_0x4fb771[_0x2bddf2(0x1f6)];_0xa2f340<_0x3e8110;_0xa2f340++){const _0x4982d4=_0x4fb771[_0xa2f340];if(!_0x4982d4||!_0x4982d4[_0x2bddf2(0x1f1)]||!_0x4982d4['selectIndex'])continue;let _0x1ac10d=await selectFeaturesByGeo(_0x2378e0,_0x42dcc4,_0x4982d4[_0x2bddf2(0x1f1)],_0x4982d4[_0x2bddf2(0x1ec)],_0x4982d4[_0x2bddf2(0x1e5)],_0x4982d4[_0x2bddf2(0x1c9)]);if(_0x1ac10d[_0x2bddf2(0x1f6)]>0x0){this['allSelectedFeatures'][_0x2bddf2(0x1df)](..._0x1ac10d);let _0x269dfa=_0x400fa9[_0x2bddf2(0x1d7)](),_0x23a3e1=this[_0x2bddf2(0x1bd)];switch((_0xbf8c54=_0x1ac10d[0x0][_0x2bddf2(0x1f3)]())===null||_0xbf8c54===void 0x0?void 0x0:_0xbf8c54[_0x2bddf2(0x1f0)]()){case _0x2bddf2(0x1d9):case _0x2bddf2(0x1e0):this[_0x2bddf2(0x1fc)]['push'](..._0x1ac10d),_0x269dfa=_0x400fa9['getPointTempLayer'](),_0x23a3e1=this['pointStyle'];break;case'LineString':case'MultiLineString':this['selectedLineFeatures'][_0x2bddf2(0x1df)](..._0x1ac10d),_0x269dfa=_0x400fa9['getLineTempLayer'](),_0x23a3e1=this[_0x2bddf2(0x1dc)];break;case _0x2bddf2(0x1ff):case _0x2bddf2(0x1c7):this[_0x2bddf2(0x1d4)]['push'](..._0x1ac10d),_0x269dfa=_0x400fa9[_0x2bddf2(0x1d7)](),_0x23a3e1=this['polygonStyle'];break;default:break;}const _0x262338=_0x269dfa[_0x2bddf2(0x1f5)]();_0x262338&&(_0x1ac10d[_0x2bddf2(0x1f2)](_0x2d4543=>{const _0x39d4a0=_0x2bddf2;_0x2d4543[_0x39d4a0(0x1c4)]=_0x4982d4['id'],_0x2d4543['tempLayer']=_0x269dfa,_0x2d4543[_0x39d4a0(0x1bc)](_0x23a3e1);}),this[_0x2bddf2(0x1f9)]&&_0x262338[_0x2bddf2(0x1e4)](_0x1ac10d));}}}[a39_0x595a94(0x1b9)](_0x53f1e2){const _0x559573=a39_0x595a94,_0x5d2f01=new a39_0x24ebba(this['getMap']()),_0x290771=_0x5d2f01['getSelectedFeatures']();if(!_0x290771||_0x290771['length']===0x0)return[];const _0x2df702=['copy','cut',_0x559573(0x1ee),_0x559573(0x1fb),_0x559573(0x201)],_0x48d1cc=[];for(const _0x2fd621 of _0x290771){if(!_0x2fd621||!_0x2fd621[_0x559573(0x1b7)]||!_0x2df702['includes'](_0x2fd621[_0x559573(0x1b7)]))continue;const _0x42757a=_0x2fd621[_0x559573(0x1f3)]();if(!_0x42757a)continue;if(!intersects(_0x42757a,_0x53f1e2))continue;let _0x1af443=this['polygonStyle'];this[_0x559573(0x1dd)][_0x559573(0x1df)](_0x2fd621);switch(_0x42757a[_0x559573(0x1f0)]()){case _0x559573(0x1d9):case _0x559573(0x1e0):this['selectedPointFeatures'][_0x559573(0x1df)](_0x2fd621),_0x1af443=this[_0x559573(0x1f8)];break;case'LineString':case _0x559573(0x1e7):this[_0x559573(0x1cb)][_0x559573(0x1df)](_0x2fd621),_0x1af443=this[_0x559573(0x1dc)];break;case _0x559573(0x1ff):case _0x559573(0x1c7):this[_0x559573(0x1d4)][_0x559573(0x1df)](_0x2fd621),_0x1af443=this['polygonStyle'];break;default:break;}_0x2fd621[_0x559573(0x1bc)](_0x1af443);}return _0x48d1cc;}}
1
+ const a39_0x12ebb1=a39_0x5995;(function(_0x54f4f9,_0x28506b){const _0x3a9e38=a39_0x5995,_0x118110=_0x54f4f9();while(!![]){try{const _0x21e00b=-parseInt(_0x3a9e38(0x215))/0x1*(parseInt(_0x3a9e38(0x219))/0x2)+-parseInt(_0x3a9e38(0x1f5))/0x3*(parseInt(_0x3a9e38(0x242))/0x4)+-parseInt(_0x3a9e38(0x201))/0x5*(parseInt(_0x3a9e38(0x20a))/0x6)+parseInt(_0x3a9e38(0x227))/0x7+parseInt(_0x3a9e38(0x23c))/0x8+-parseInt(_0x3a9e38(0x220))/0x9*(parseInt(_0x3a9e38(0x234))/0xa)+parseInt(_0x3a9e38(0x1fd))/0xb;if(_0x21e00b===_0x28506b)break;else _0x118110['push'](_0x118110['shift']());}catch(_0x1f9074){_0x118110['push'](_0x118110['shift']());}}}(a39_0xa3c9,0xb9516));import a39_0x547bac from'./Draw';import a39_0x59a18e from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';function a39_0x5995(_0x26e244,_0x1745f2){const _0xa3c910=a39_0xa3c9();return a39_0x5995=function(_0x5995d0,_0x437d8c){_0x5995d0=_0x5995d0-0x1f4;let _0x25d2b7=_0xa3c910[_0x5995d0];return _0x25d2b7;},a39_0x5995(_0x26e244,_0x1745f2);}import{Point}from'ol/geom';function a39_0xa3c9(){const _0x22c322=['cut','getSelectedFeatures','getView','currentLayers','722392bNBXaT','draw','cancePolygonStyle','holdCtrl','getCode','lineFeatures','4sknfDk','polygonFeatures','polygonStyle','push','selectLayers','Point','3303141BkYPnl','tipText','ctrlKey','selectGeom','layerId','selectstart','layerInfo','message','35986500ugcLkM','selectedPolygonFeatures','selectedLineFeatures','canceLineStyle','15nQNfBs','drawstart','MultiPolygon','layerType','pixelDistance','map','selectTempLayer','coordinates','copy','795510kmmfMJ','getGeometry','length','import','addEventListener','seletctEditeFeature','keyup','keydown','drawend','selectedPointFeatures','SELECTED','269CwSZpF','getMap','onInternal','setSelectLayers','4302MEfNix','selectLayer','pointFeatures','allFeatures','dispatchEvent','getLayers','lineStyle','196812fSeNRN','getPointTempLayer','SELECTSTART','loadFilter','MultiPoint','selectIndex','cancePointStyle','2905056sIKIUS','LineString','MultiLineString','feature','getType','getPolygonTempLayer','getLineTempLayer','pointStyle','Polygon','error','allSelectedFeatures','addTempLayer','forEach','430xEXPlH','getVisible','fromType','drawmoving'];a39_0xa3c9=function(){return _0x22c322;};return a39_0xa3c9();}import a39_0x5a7dc5 from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'DRAWSTART':a39_0x12ebb1(0x202),'DRAWEND':a39_0x12ebb1(0x212),'DRAWABORT':'drawabort','DRAWADDPOINT':'drawaddpoint','DRAWMOVING':a39_0x12ebb1(0x237),'SELECTSTART':a39_0x12ebb1(0x1fa),'SELECTED':'selected'};export class SelectEvent extends a39_0x59a18e{constructor(_0x411ca3,_0x1e12fb,_0x44bbd0,_0x5343d8,_0x153274,_0x38868b,_0x98b966,_0x84d67a,_0x1d915f){const _0x4a14b8=a39_0x12ebb1;super(_0x411ca3),this[_0x4a14b8(0x1f8)]=_0x44bbd0,this[_0x4a14b8(0x208)]=_0x5343d8,this[_0x4a14b8(0x21b)]=_0x153274,this[_0x4a14b8(0x241)]=_0x38868b,this[_0x4a14b8(0x243)]=_0x98b966,this[_0x4a14b8(0x21c)]=_0x84d67a,this[_0x4a14b8(0x230)]=_0x1d915f,this['holdCtrl']=_0x1e12fb;}}export default class Select extends a39_0x547bac{constructor(_0x5b1a82,_0x5b427f){const _0xbe02f1=a39_0x12ebb1;super(_0x5b1a82,{'tipText':_0x5b427f===null||_0x5b427f===void 0x0?void 0x0:_0x5b427f[_0xbe02f1(0x1f6)]}),this[_0xbe02f1(0x213)]=[],this[_0xbe02f1(0x1ff)]=[],this[_0xbe02f1(0x1fe)]=[],this['allSelectedFeatures']=[];const _0x1f2d0e=_0x5b427f||{};this[_0xbe02f1(0x232)]=_0x1f2d0e[_0xbe02f1(0x232)]||![],this[_0xbe02f1(0x23b)]=_0x1f2d0e[_0xbe02f1(0x246)],this[_0xbe02f1(0x207)]=_0x1f2d0e[_0xbe02f1(0x207)]===undefined?!![]:_0x1f2d0e[_0xbe02f1(0x207)],this[_0xbe02f1(0x205)]=_0x1f2d0e[_0xbe02f1(0x205)]===undefined?0x5:_0x1f2d0e[_0xbe02f1(0x205)],this[_0xbe02f1(0x22e)]=_0x1f2d0e['pointStyle']?getStyle(_0x1f2d0e[_0xbe02f1(0x22e)]):getSelectPointStyle(),this[_0xbe02f1(0x226)]=_0x1f2d0e[_0xbe02f1(0x226)]?getStyle(_0x1f2d0e[_0xbe02f1(0x226)]):getSelectCancePointStyle(),this[_0xbe02f1(0x21f)]=_0x1f2d0e[_0xbe02f1(0x21f)]?getStyle(_0x1f2d0e['lineStyle']):getSelectLineStyle(),this['canceLineStyle']=_0x1f2d0e[_0xbe02f1(0x200)]?getStyle(_0x1f2d0e['canceLineStyle']):getSelectCancelLineStyle(),this[_0xbe02f1(0x244)]=_0x1f2d0e[_0xbe02f1(0x244)]?getStyle(_0x1f2d0e['polygonStyle']):getSelectPolygonStyle(),this['cancePolygonStyle']=_0x1f2d0e[_0xbe02f1(0x23e)]?getStyle(_0x1f2d0e[_0xbe02f1(0x23e)]):getSelectCancelPolygonStyle(),this[_0xbe02f1(0x23f)]=![];let _0x325cb5;this['on']=this[_0xbe02f1(0x217)],this['on'](_0xbe02f1(0x212),async _0x453c4a=>{const _0x1311e8=_0xbe02f1,_0x7b65b1=this[_0x1311e8(0x23f)],_0x29faf0=this[_0x1311e8(0x216)]();if(!_0x29faf0)return;try{let _0x3688d7=undefined;if(!_0x453c4a[_0x1311e8(0x22a)]&&_0x453c4a[_0x1311e8(0x208)]&&_0x453c4a[_0x1311e8(0x208)][_0x1311e8(0x20c)]==0x1)_0x3688d7=bufferPixel(new Point(_0x453c4a['coordinates'][0x0]),this[_0x1311e8(0x205)],_0x29faf0);else _0x453c4a[_0x1311e8(0x22a)]&&(_0x3688d7=_0x453c4a[_0x1311e8(0x22a)][_0x1311e8(0x20b)]());if(!_0x3688d7)throw new Error('未获取到几何');this[_0x1311e8(0x21d)](new SelectEvent(SelectEventType[_0x1311e8(0x222)],_0x7b65b1,_0x3688d7)),this['selectedPointFeatures']=[],this[_0x1311e8(0x1ff)]=[],this[_0x1311e8(0x1fe)]=[],this[_0x1311e8(0x231)]=[],this[_0x1311e8(0x207)]&&this[_0x1311e8(0x20f)](_0x3688d7),_0x325cb5&&clearTimeout(_0x325cb5),_0x325cb5=setTimeout(async()=>{const _0x2259f3=_0x1311e8;await this[_0x2259f3(0x21a)](_0x3688d7),this[_0x2259f3(0x21d)](new SelectEvent(SelectEventType[_0x2259f3(0x214)],_0x7b65b1,_0x3688d7,_0x453c4a[_0x2259f3(0x208)],this['selectedPointFeatures'],this[_0x2259f3(0x1ff)],this[_0x2259f3(0x1fe)],this[_0x2259f3(0x231)]));},0x46);}catch(_0x1002a2){this[_0x1311e8(0x21d)](new SelectEvent(SelectEventType[_0x1311e8(0x214)],_0x7b65b1,undefined,_0x453c4a['coordinates'],this[_0x1311e8(0x213)],this[_0x1311e8(0x1ff)],this[_0x1311e8(0x1fe)],this[_0x1311e8(0x231)],_0x1002a2[_0x1311e8(0x1fc)]));}}),window[_0xbe02f1(0x20e)](_0xbe02f1(0x211),_0xa30026=>{const _0x1b264a=_0xbe02f1;_0xa30026[_0x1b264a(0x1f7)]&&(this[_0x1b264a(0x23f)]=!![]);}),window['addEventListener'](_0xbe02f1(0x210),_0x2196d7=>{const _0x273be4=_0xbe02f1;this[_0x273be4(0x23f)]=![];});}[a39_0x12ebb1(0x218)](_0x1ca300){const _0x3caf47=a39_0x12ebb1;this[_0x3caf47(0x23b)]=_0x1ca300;}async['selectLayer'](_0x46f71b){const _0x20750c=a39_0x12ebb1;var _0x59c904;const _0x47545f=this[_0x20750c(0x216)]();let _0xd820d2=[];if(this[_0x20750c(0x23b)]&&this['currentLayers'][_0x20750c(0x20c)]>0x0)_0xd820d2=this[_0x20750c(0x23b)];else{let _0x1809ba=_0x47545f[_0x20750c(0x21e)]()['getArray']();_0x1809ba=_0x1809ba['filter'](_0x3871a6=>{const _0x2e0fea=_0x20750c,_0x157ef4=_0x3871a6[_0x2e0fea(0x1fb)];if(!_0x157ef4)return![];return _0x3871a6[_0x2e0fea(0x235)]()==!![]&&_0x157ef4['selectIndex']!=undefined&&_0x157ef4[_0x2e0fea(0x225)]!='';}),_0xd820d2=_0x1809ba[_0x20750c(0x206)](_0x4a29bc=>{const _0x5db2b3=_0x20750c;return _0x4a29bc[_0x5db2b3(0x1fb)];});}if(!_0xd820d2||_0xd820d2[_0x20750c(0x20c)]==0x0)return;const _0x5abdc1=_0x47545f[_0x20750c(0x23a)]()['getProjection']()[_0x20750c(0x240)]();for(let _0x1420a6=0x0,_0x205315=_0xd820d2[_0x20750c(0x20c)];_0x1420a6<_0x205315;_0x1420a6++){const _0x478279=_0xd820d2[_0x1420a6];if(!_0x478279||!_0x478279['url']||!_0x478279[_0x20750c(0x225)])continue;let _0x4982b3=await selectFeaturesByGeo(_0x46f71b,_0x5abdc1,_0x478279['url'],_0x478279[_0x20750c(0x225)],_0x478279[_0x20750c(0x204)],_0x478279[_0x20750c(0x223)]);if(_0x4982b3[_0x20750c(0x20c)]>0x0){this[_0x20750c(0x231)][_0x20750c(0x245)](..._0x4982b3);let _0x6de623=_0x47545f[_0x20750c(0x22c)](),_0x2941c7=this[_0x20750c(0x244)];switch((_0x59c904=_0x4982b3[0x0][_0x20750c(0x20b)]())===null||_0x59c904===void 0x0?void 0x0:_0x59c904[_0x20750c(0x22b)]()){case'Point':case'MultiPoint':this[_0x20750c(0x213)][_0x20750c(0x245)](..._0x4982b3),_0x6de623=_0x47545f[_0x20750c(0x221)](),_0x2941c7=this[_0x20750c(0x22e)];break;case _0x20750c(0x228):case'MultiLineString':this[_0x20750c(0x1ff)][_0x20750c(0x245)](..._0x4982b3),_0x6de623=_0x47545f[_0x20750c(0x22d)](),_0x2941c7=this['lineStyle'];break;case _0x20750c(0x22f):case _0x20750c(0x203):this[_0x20750c(0x1fe)]['push'](..._0x4982b3),_0x6de623=_0x47545f[_0x20750c(0x22c)](),_0x2941c7=this[_0x20750c(0x244)];break;default:break;}const _0x1960d8=_0x6de623['getSource']();_0x1960d8&&(_0x4982b3[_0x20750c(0x233)](_0x3830d6=>{const _0x2bafba=_0x20750c;_0x3830d6[_0x2bafba(0x1f9)]=_0x478279['id'],_0x3830d6['tempLayer']=_0x6de623,_0x3830d6['setStyle'](_0x2941c7);}),this[_0x20750c(0x232)]&&_0x1960d8['addFeatures'](_0x4982b3));}}}[a39_0x12ebb1(0x20f)](_0x259e1b){const _0x5b4add=a39_0x12ebb1,_0x34efac=new a39_0x5a7dc5(this[_0x5b4add(0x216)]()),_0x23655d=_0x34efac[_0x5b4add(0x239)]();if(!_0x23655d||_0x23655d['length']===0x0)return[];const _0x9c56c4=[_0x5b4add(0x209),_0x5b4add(0x238),_0x5b4add(0x23d),_0x5b4add(0x20d),'union'],_0x509225=[];for(const _0x6e7f8f of _0x23655d){if(!_0x6e7f8f||!_0x6e7f8f[_0x5b4add(0x236)]||!_0x9c56c4['includes'](_0x6e7f8f[_0x5b4add(0x236)]))continue;const _0x64288=_0x6e7f8f[_0x5b4add(0x20b)]();if(!_0x64288)continue;if(!intersects(_0x64288,_0x259e1b))continue;let _0x31f428=this['polygonStyle'];this[_0x5b4add(0x231)]['push'](_0x6e7f8f);switch(_0x64288[_0x5b4add(0x22b)]()){case _0x5b4add(0x1f4):case _0x5b4add(0x224):this['selectedPointFeatures'][_0x5b4add(0x245)](_0x6e7f8f),_0x31f428=this['pointStyle'];break;case _0x5b4add(0x228):case _0x5b4add(0x229):this[_0x5b4add(0x1ff)][_0x5b4add(0x245)](_0x6e7f8f),_0x31f428=this[_0x5b4add(0x21f)];break;case _0x5b4add(0x22f):case _0x5b4add(0x203):this[_0x5b4add(0x1fe)]['push'](_0x6e7f8f),_0x31f428=this[_0x5b4add(0x244)];break;default:break;}_0x6e7f8f['setStyle'](_0x31f428);}return _0x509225;}}
@@ -1 +1 @@
1
- const a40_0x3ec134=a40_0x5cdc;function a40_0x5cdc(_0x2bbf74,_0x7be0c3){const _0x965272=a40_0x9652();return a40_0x5cdc=function(_0x5cdccf,_0xe8fa26){_0x5cdccf=_0x5cdccf-0x185;let _0x1af520=_0x965272[_0x5cdccf];return _0x1af520;},a40_0x5cdc(_0x2bbf74,_0x7be0c3);}(function(_0x504648,_0xad2650){const _0x13e74b=a40_0x5cdc,_0x4c2575=_0x504648();while(!![]){try{const _0xfab9ca=-parseInt(_0x13e74b(0x195))/0x1*(parseInt(_0x13e74b(0x19d))/0x2)+-parseInt(_0x13e74b(0x192))/0x3*(-parseInt(_0x13e74b(0x194))/0x4)+parseInt(_0x13e74b(0x19e))/0x5*(parseInt(_0x13e74b(0x18e))/0x6)+parseInt(_0x13e74b(0x18a))/0x7*(parseInt(_0x13e74b(0x185))/0x8)+-parseInt(_0x13e74b(0x189))/0x9*(parseInt(_0x13e74b(0x1a2))/0xa)+-parseInt(_0x13e74b(0x1a0))/0xb+-parseInt(_0x13e74b(0x1a5))/0xc*(-parseInt(_0x13e74b(0x18f))/0xd);if(_0xfab9ca===_0xad2650)break;else _0x4c2575['push'](_0x4c2575['shift']());}catch(_0x4126f2){_0x4c2575['push'](_0x4c2575['shift']());}}}(a40_0x9652,0x45831));function a40_0x9652(){const _0x231cf2=['show:','165566lMxosA','1157395uqBtLC','wkid','3007048xvrWPO','projection','110dHTJnM','url','join','2244NuemWL','updateParams','3703480xcUhYc','setFilter','xmax','mapIndex','325926NvryLO','7szaPdT','wkt','spatialReference','opacity','6wGuUMh','9997ajqvcB','EPSG:','anonymous','212844YRsLKB','ymin','16cpuzIn','2RkBSaL','fullExtent','loadFilter','layerInfo','initialExtent','stringify','layerDefs'];a40_0x9652=function(){return _0x231cf2;};return a40_0x9652();}import a40_0x18668e from'ol/source/ImageArcGISRest';import{Image as a40_0x4f9b2c}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a40_0x4f9b2c{constructor(_0x5421a0,_0x2c4de5){const _0x3715da=a40_0x5cdc;var _0x3fe5fc;let _0x25bc06={'LAYERS':_0x3715da(0x19c)+((_0x3fe5fc=_0x5421a0['sublayers'])===null||_0x3fe5fc===void 0x0?void 0x0:_0x3fe5fc[_0x3715da(0x1a4)](','))};if(_0x5421a0['loadFilter']&&_0x5421a0['selectIndex']){const _0x1ce062={};_0x1ce062[_0x5421a0['selectIndex']]=_0x5421a0[_0x3715da(0x197)],_0x25bc06[_0x3715da(0x19b)]=JSON[_0x3715da(0x19a)](_0x1ce062);}const _0x40a179=[_0x2c4de5[_0x3715da(0x199)]['xmin'],_0x2c4de5[_0x3715da(0x199)][_0x3715da(0x193)],_0x2c4de5['initialExtent'][_0x3715da(0x187)],_0x2c4de5[_0x3715da(0x199)]['ymax']],_0x1b6196=[_0x2c4de5['fullExtent']['xmin'],_0x2c4de5['fullExtent'][_0x3715da(0x193)],_0x2c4de5[_0x3715da(0x196)][_0x3715da(0x187)],_0x2c4de5['fullExtent']['ymax']];let _0x1120aa;_0x2c4de5['spatialReference'][_0x3715da(0x19f)]?_0x1120aa=registerProj(_0x3715da(0x190)+_0x2c4de5[_0x3715da(0x18c)][_0x3715da(0x19f)],_0x1b6196):_0x1120aa=registerProj(_0x2c4de5[_0x3715da(0x18c)][_0x3715da(0x18b)],_0x1b6196),super({'opacity':_0x5421a0[_0x3715da(0x18d)],'zIndex':_0x5421a0[_0x3715da(0x188)],'source':new a40_0x18668e({'crossOrigin':_0x3715da(0x191),'projection':_0x1120aa,'ratio':0x1,'url':_0x5421a0[_0x3715da(0x1a3)],'params':_0x25bc06})}),this['id']=_0x5421a0['id'],this['initialExtent']=_0x40a179,this[_0x3715da(0x1a1)]=_0x1120aa,this['layerInfo']=_0x5421a0;}[a40_0x3ec134(0x186)](_0xfd33f4){const _0x3cc80f=a40_0x3ec134;var _0x23c79a;const _0x5dc44b={};this[_0x3cc80f(0x198)]['selectIndex']&&(_0x5dc44b[this['layerInfo']['selectIndex']]=_0xfd33f4),(_0x23c79a=this['getSource']())===null||_0x23c79a===void 0x0?void 0x0:_0x23c79a[_0x3cc80f(0x1a6)]({'layerDefs':JSON[_0x3cc80f(0x19a)](_0xfd33f4)});}}
1
+ const a40_0x3d2824=a40_0x4042;(function(_0x5866ce,_0x5cc033){const _0x30313e=a40_0x4042,_0x117f4a=_0x5866ce();while(!![]){try{const _0x9e617b=-parseInt(_0x30313e(0x18b))/0x1+-parseInt(_0x30313e(0x1a0))/0x2+-parseInt(_0x30313e(0x19c))/0x3+-parseInt(_0x30313e(0x18e))/0x4*(-parseInt(_0x30313e(0x194))/0x5)+parseInt(_0x30313e(0x184))/0x6*(-parseInt(_0x30313e(0x195))/0x7)+parseInt(_0x30313e(0x186))/0x8*(-parseInt(_0x30313e(0x188))/0x9)+-parseInt(_0x30313e(0x19f))/0xa*(-parseInt(_0x30313e(0x193))/0xb);if(_0x9e617b===_0x5cc033)break;else _0x117f4a['push'](_0x117f4a['shift']());}catch(_0x4fe8d1){_0x117f4a['push'](_0x117f4a['shift']());}}}(a40_0x59e5,0xdfcbb));import a40_0x30a693 from'ol/source/ImageArcGISRest';function a40_0x59e5(){const _0x4ac283=['EPSG:','wkid','stringify','projection','43856747RtEZdn','320OwMiFo','595VdsmXK','setFilter','xmin','ymax','show:','anonymous','wkt','2012148TLnGkd','sublayers','fullExtent','10JlWizc','2069934CGmIGs','initialExtent','selectIndex','getSource','73848gEuPzV','ymin','380552JphJxT','layerInfo','234yWoIHE','xmax','url','494709rkoMKv','loadFilter','spatialReference','88316BWawCr'];a40_0x59e5=function(){return _0x4ac283;};return a40_0x59e5();}import{Image as a40_0x3547b8}from'ol/layer';function a40_0x4042(_0x58ad2c,_0x15a911){const _0x59e516=a40_0x59e5();return a40_0x4042=function(_0x4042ea,_0x4c16fa){_0x4042ea=_0x4042ea-0x184;let _0x27be4c=_0x59e516[_0x4042ea];return _0x27be4c;},a40_0x4042(_0x58ad2c,_0x15a911);}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a40_0x3547b8{constructor(_0x24fb93,_0x357e69){const _0x50fda0=a40_0x4042;var _0x360e0c;let _0x4bf42a={'LAYERS':_0x50fda0(0x199)+((_0x360e0c=_0x24fb93[_0x50fda0(0x19d)])===null||_0x360e0c===void 0x0?void 0x0:_0x360e0c['join'](','))};if(_0x24fb93['loadFilter']&&_0x24fb93[_0x50fda0(0x1a2)]){const _0x44dc8d={};_0x44dc8d[_0x24fb93[_0x50fda0(0x1a2)]]=_0x24fb93[_0x50fda0(0x18c)],_0x4bf42a['layerDefs']=JSON[_0x50fda0(0x191)](_0x44dc8d);}const _0x41de98=[_0x357e69[_0x50fda0(0x1a1)]['xmin'],_0x357e69['initialExtent'][_0x50fda0(0x185)],_0x357e69[_0x50fda0(0x1a1)][_0x50fda0(0x189)],_0x357e69[_0x50fda0(0x1a1)]['ymax']],_0x2127f6=[_0x357e69[_0x50fda0(0x19e)][_0x50fda0(0x197)],_0x357e69[_0x50fda0(0x19e)]['ymin'],_0x357e69['fullExtent']['xmax'],_0x357e69[_0x50fda0(0x19e)][_0x50fda0(0x198)]];let _0x45b969;_0x357e69[_0x50fda0(0x18d)]['wkid']?_0x45b969=registerProj(_0x50fda0(0x18f)+_0x357e69[_0x50fda0(0x18d)][_0x50fda0(0x190)],_0x2127f6):_0x45b969=registerProj(_0x357e69['spatialReference'][_0x50fda0(0x19b)],_0x2127f6),super({'opacity':_0x24fb93['opacity'],'zIndex':_0x24fb93['mapIndex'],'source':new a40_0x30a693({'crossOrigin':_0x50fda0(0x19a),'projection':_0x45b969,'ratio':0x1,'url':_0x24fb93[_0x50fda0(0x18a)],'params':_0x4bf42a})}),this['id']=_0x24fb93['id'],this['initialExtent']=_0x41de98,this[_0x50fda0(0x192)]=_0x45b969,this[_0x50fda0(0x187)]=_0x24fb93;}[a40_0x3d2824(0x196)](_0x32e397){const _0x1a6397=a40_0x3d2824;var _0x503758;const _0x571617={};this['layerInfo'][_0x1a6397(0x1a2)]&&(_0x571617[this[_0x1a6397(0x187)][_0x1a6397(0x1a2)]]=_0x32e397),(_0x503758=this[_0x1a6397(0x1a3)]())===null||_0x503758===void 0x0?void 0x0:_0x503758['updateParams']({'layerDefs':JSON[_0x1a6397(0x191)](_0x32e397)});}}
@@ -1 +1 @@
1
- const a41_0x436a50=a41_0x1a8a;(function(_0x54d0af,_0x57c79b){const _0x26ae07=a41_0x1a8a,_0x1fef51=_0x54d0af();while(!![]){try{const _0x3def2c=-parseInt(_0x26ae07(0x9b))/0x1*(-parseInt(_0x26ae07(0x9d))/0x2)+-parseInt(_0x26ae07(0xad))/0x3*(parseInt(_0x26ae07(0x9e))/0x4)+-parseInt(_0x26ae07(0x90))/0x5+parseInt(_0x26ae07(0x8b))/0x6*(parseInt(_0x26ae07(0xa5))/0x7)+parseInt(_0x26ae07(0xab))/0x8*(parseInt(_0x26ae07(0x99))/0x9)+parseInt(_0x26ae07(0x93))/0xa+parseInt(_0x26ae07(0xac))/0xb;if(_0x3def2c===_0x57c79b)break;else _0x1fef51['push'](_0x1fef51['shift']());}catch(_0x5b73fc){_0x1fef51['push'](_0x1fef51['shift']());}}}(a41_0x29da,0xdd070));import a41_0x5ca0f1 from'ol/format/EsriJSON';function a41_0x1a8a(_0x318e33,_0xdd108e){const _0x29dace=a41_0x29da();return a41_0x1a8a=function(_0x1a8a1d,_0x52e5a3){_0x1a8a1d=_0x1a8a1d-0x81;let _0x15e31a=_0x29dace[_0x1a8a1d];return _0x15e31a;},a41_0x1a8a(_0x318e33,_0xdd108e);}import a41_0x2e2943 from'ol/source/Vector';import{Vector as a41_0x2c3e65}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a41_0x1372ff}from'ol/loadingstrategy';import a41_0x15a509 from'ol/layer/Group';function a41_0x29da(){const _0x52995f=['setStyle','defaultSymbol','fullExtent','xmax','drawingInfo','xmin','createArcGISFeatureLayer','showIndex','initialExtent',',\x22ymax\x22:','layerInfo',',\x22spatialReference\x22:{\x22wkid\x22:','value','where=','&outFields=*','addFeatures','symbol','uniqueValueInfos','ymin','2211186uSYAwr','spatialReference','wkid','setFilter','string','8408250yujuQS','mapIndex','split','7263260BOPCDF','simple','log','ymax','/query','wkt','10467585ViWDoz','getCode','58063MNNuJR','get','6hQoTyG','779412kJbpoB','error','EPSG:','stringify','readFeatures','&outSR=','projection','7WPGDyL','renderer','then','loadFilter','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','url','8AEAIiv','12420452CQacMc','15zJMWrm'];a41_0x29da=function(){return _0x52995f;};return a41_0x29da();}import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a41_0x385450 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a41_0x15a509{constructor(_0x44d688,_0x4d2261,_0x3bfef3){const _0x5dbc0b=a41_0x1a8a,_0x38e841=[_0x4d2261[_0x5dbc0b(0xb6)][_0x5dbc0b(0xb3)],_0x4d2261[_0x5dbc0b(0xb6)]['ymin'],_0x4d2261[_0x5dbc0b(0xb6)][_0x5dbc0b(0xb1)],_0x4d2261['initialExtent'][_0x5dbc0b(0x96)]],_0x4072aa=[_0x4d2261['fullExtent'][_0x5dbc0b(0xb3)],_0x4d2261[_0x5dbc0b(0xb0)][_0x5dbc0b(0x8a)],_0x4d2261[_0x5dbc0b(0xb0)][_0x5dbc0b(0xb1)],_0x4d2261[_0x5dbc0b(0xb0)]['ymax']];let _0x489e6b;_0x4d2261['spatialReference'][_0x5dbc0b(0x8d)]?_0x489e6b=registerProj(_0x5dbc0b(0xa0)+_0x4d2261[_0x5dbc0b(0x8c)][_0x5dbc0b(0x8d)],_0x4072aa):_0x489e6b=registerProj(_0x4d2261[_0x5dbc0b(0x8c)][_0x5dbc0b(0x98)],_0x4072aa);let _0x34fc2f=[];super({'zIndex':_0x44d688[_0x5dbc0b(0x91)]});for(let _0x5a363a of _0x3bfef3){let _0x1644f0=this['createArcGISFeatureLayer'](_0x44d688,_0x5a363a);_0x34fc2f['push'](_0x1644f0);}this['setLayers'](new a41_0x385450(_0x34fc2f)),this['id']=_0x44d688['id'],this['initialExtent']=_0x38e841,this[_0x5dbc0b(0xa4)]=_0x489e6b,this[_0x5dbc0b(0x82)]=_0x44d688;}[a41_0x436a50(0xb4)](_0x413cda,_0x26bc0e){const _0x39639e=a41_0x436a50;var _0x2c2fe4=new a41_0x5ca0f1();let _0x2da0cc=new a41_0x2e2943({'loader':function(_0x18840b,_0x23a8e7,_0x442b7d){const _0x339b1a=a41_0x1a8a;let _0x311baa='1=1';_0x413cda['loadFilter']&&(_0x311baa=typeof _0x413cda[_0x339b1a(0xa8)]===_0x339b1a(0x8f)?_0x413cda[_0x339b1a(0xa8)]:JSON[_0x339b1a(0xa1)](_0x413cda[_0x339b1a(0xa8)]));let _0x3b7c07=_0x442b7d[_0x339b1a(0x9a)](),_0x450117=_0x3b7c07[_0x339b1a(0x92)](':')[0x1];var _0x274619=appendPath(_0x26bc0e[_0x339b1a(0xaa)],_0x339b1a(0x97));_0x274619=appendParam(_0x274619,'f\x20=\x20json\x20&\x20'+_0x339b1a(0x85)+encodeURIComponent(_0x311baa)+_0x339b1a(0xa9)+encodeURIComponent('{\x22xmin\x22:'+_0x18840b[0x0]+',\x22ymin\x22:'+_0x18840b[0x1]+',\x22xmax\x22:'+_0x18840b[0x2]+_0x339b1a(0x81)+_0x18840b[0x3]+_0x339b1a(0x83)+_0x450117+'}}')+'&geometryType=esriGeometryEnvelope&inSR='+_0x450117+_0x339b1a(0x86)+_0x339b1a(0xa3)+_0x450117),jsonp(_0x274619)[_0x339b1a(0xa7)](_0x787524=>{const _0x4fc6bb=_0x339b1a;if(_0x787524[_0x4fc6bb(0x9f)])console[_0x4fc6bb(0x95)](_0x787524);else{var _0xe9c478=_0x2c2fe4[_0x4fc6bb(0xa2)](_0x787524,{'featureProjection':_0x442b7d});_0xe9c478['length']>0x0&&(_0x26bc0e[_0x4fc6bb(0xb2)][_0x4fc6bb(0xa6)]['type']=='uniqueValue'&&_0xe9c478['forEach'](function(_0x4f0d65){const _0x20d107=_0x4fc6bb;var _0x175ee2=_0x4f0d65[_0x20d107(0x9c)](_0x26bc0e[_0x20d107(0xb2)][_0x20d107(0xa6)]['field1']);const _0x409e0c=_0x26bc0e[_0x20d107(0xb2)]['renderer'][_0x20d107(0x89)]['find'](_0x42fc2e=>_0x42fc2e[_0x20d107(0x84)]==_0x175ee2);let _0xc5a56b;_0x409e0c?_0xc5a56b=transformedEsriStyle(_0x409e0c[_0x20d107(0x88)]):_0xc5a56b=transformedEsriStyle(_0x26bc0e[_0x20d107(0xb2)][_0x20d107(0xa6)][_0x20d107(0xaf)]),_0x4f0d65[_0x20d107(0xae)](_0xc5a56b);}),_0x2da0cc[_0x4fc6bb(0x87)](_0xe9c478));}});},'strategy':a41_0x1372ff(createXYZ({'tileSize':0x200}))}),_0x590f44=new a41_0x2c3e65({'source':_0x2da0cc,'zIndex':_0x413cda[_0x39639e(0xb5)]});if(_0x26bc0e[_0x39639e(0xb2)][_0x39639e(0xa6)]['type']==_0x39639e(0x94)&&_0x26bc0e[_0x39639e(0xb2)][_0x39639e(0xa6)][_0x39639e(0x88)]){let _0x1e3a00=transformedEsriStyle(_0x26bc0e[_0x39639e(0xb2)][_0x39639e(0xa6)][_0x39639e(0x88)]);_0x590f44[_0x39639e(0xae)](_0x1e3a00);}return _0x590f44;}[a41_0x436a50(0x8e)](_0xf6af85){const _0x1bd083=a41_0x436a50;this[_0x1bd083(0x82)][_0x1bd083(0xa8)]=_0xf6af85;}}
1
+ const a41_0x334dfb=a41_0x5e7b;(function(_0x56a63d,_0x394fd5){const _0x280d85=a41_0x5e7b,_0x48e81d=_0x56a63d();while(!![]){try{const _0x353cdd=-parseInt(_0x280d85(0x108))/0x1+-parseInt(_0x280d85(0x104))/0x2+-parseInt(_0x280d85(0x116))/0x3+parseInt(_0x280d85(0x118))/0x4*(-parseInt(_0x280d85(0xfb))/0x5)+-parseInt(_0x280d85(0xfd))/0x6+parseInt(_0x280d85(0x115))/0x7*(-parseInt(_0x280d85(0x107))/0x8)+parseInt(_0x280d85(0x10d))/0x9;if(_0x353cdd===_0x394fd5)break;else _0x48e81d['push'](_0x48e81d['shift']());}catch(_0x2164b2){_0x48e81d['push'](_0x48e81d['shift']());}}}(a41_0x97d8,0x66b8c));function a41_0x5e7b(_0x11ee05,_0x592658){const _0x97d83e=a41_0x97d8();return a41_0x5e7b=function(_0x5e7b9c,_0x776094){_0x5e7b9c=_0x5e7b9c-0xe7;let _0x559cfd=_0x97d83e[_0x5e7b9c];return _0x559cfd;},a41_0x5e7b(_0x11ee05,_0x592658);}import a41_0xfe9f3e from'ol/format/EsriJSON';import a41_0x465440 from'ol/source/Vector';import{Vector as a41_0x4edd93}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a41_0x500abd}from'ol/loadingstrategy';import a41_0x115ab9 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a41_0xfcb1bf from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a41_0x115ab9{constructor(_0x540e9d,_0x11ed56,_0x4f7c3a){const _0x3e012b=a41_0x5e7b,_0x3a088d=[_0x11ed56[_0x3e012b(0x100)][_0x3e012b(0xec)],_0x11ed56['initialExtent'][_0x3e012b(0xfa)],_0x11ed56[_0x3e012b(0x100)][_0x3e012b(0x111)],_0x11ed56[_0x3e012b(0x100)]['ymax']],_0xd88668=[_0x11ed56[_0x3e012b(0x103)][_0x3e012b(0xec)],_0x11ed56[_0x3e012b(0x103)][_0x3e012b(0xfa)],_0x11ed56[_0x3e012b(0x103)][_0x3e012b(0x111)],_0x11ed56[_0x3e012b(0x103)][_0x3e012b(0x10c)]];let _0x4d2497;_0x11ed56[_0x3e012b(0xf6)][_0x3e012b(0x119)]?_0x4d2497=registerProj(_0x3e012b(0x10f)+_0x11ed56[_0x3e012b(0xf6)]['wkid'],_0xd88668):_0x4d2497=registerProj(_0x11ed56[_0x3e012b(0xf6)][_0x3e012b(0x113)],_0xd88668);let _0x9a98ed=[];super({'zIndex':_0x540e9d[_0x3e012b(0xf3)]});for(let _0x1eb902 of _0x4f7c3a){let _0x4b3955=this[_0x3e012b(0xeb)](_0x540e9d,_0x1eb902);_0x9a98ed[_0x3e012b(0xf5)](_0x4b3955);}this['setLayers'](new a41_0xfcb1bf(_0x9a98ed)),this['id']=_0x540e9d['id'],this['initialExtent']=_0x3a088d,this['projection']=_0x4d2497,this[_0x3e012b(0xf4)]=_0x540e9d;}[a41_0x334dfb(0xeb)](_0xd60982,_0xd41555){const _0x4472ae=a41_0x334dfb;var _0x3b968a=new a41_0xfe9f3e();let _0x960102=new a41_0x465440({'loader':function(_0x179a9e,_0xd76652,_0xad1dd2){const _0x2b6235=a41_0x5e7b;let _0x3a4ea9='1=1';_0xd60982[_0x2b6235(0x101)]&&(_0x3a4ea9=typeof _0xd60982[_0x2b6235(0x101)]===_0x2b6235(0xe7)?_0xd60982[_0x2b6235(0x101)]:JSON['stringify'](_0xd60982[_0x2b6235(0x101)]));let _0x1b0e24=_0xad1dd2['getCode'](),_0x5c8733=_0x1b0e24[_0x2b6235(0x11a)](':')[0x1];var _0x5ee2d9=appendPath(_0xd41555[_0x2b6235(0xfc)],_0x2b6235(0x11b));_0x5ee2d9=appendParam(_0x5ee2d9,_0x2b6235(0x106)+_0x2b6235(0xf1)+encodeURIComponent(_0x3a4ea9)+_0x2b6235(0xfe)+encodeURIComponent(_0x2b6235(0x10e)+_0x179a9e[0x0]+_0x2b6235(0xe9)+_0x179a9e[0x1]+',\x22xmax\x22:'+_0x179a9e[0x2]+_0x2b6235(0xf7)+_0x179a9e[0x3]+_0x2b6235(0x105)+_0x5c8733+'}}')+'&geometryType=esriGeometryEnvelope&inSR='+_0x5c8733+'&outFields=*'+'&outSR='+_0x5c8733),jsonp(_0x5ee2d9)['then'](_0x1f7c14=>{const _0x106008=_0x2b6235;if(_0x1f7c14[_0x106008(0x10a)])console[_0x106008(0x114)](_0x1f7c14);else{var _0x1d81fd=_0x3b968a[_0x106008(0xf8)](_0x1f7c14,{'featureProjection':_0xad1dd2});_0x1d81fd['length']>0x0&&(_0xd41555['drawingInfo'][_0x106008(0xf0)][_0x106008(0xff)]=='uniqueValue'&&_0x1d81fd[_0x106008(0xea)](function(_0x239b47){const _0x15b648=_0x106008;var _0x319f90=_0x239b47[_0x15b648(0x110)](_0xd41555['drawingInfo'][_0x15b648(0xf0)][_0x15b648(0xf9)]);const _0x2596e0=_0xd41555[_0x15b648(0xed)]['renderer']['uniqueValueInfos'][_0x15b648(0x10b)](_0x99d8f5=>_0x99d8f5[_0x15b648(0x109)]==_0x319f90);let _0x2ee430;_0x2596e0?_0x2ee430=transformedEsriStyle(_0x2596e0[_0x15b648(0xe8)]):_0x2ee430=transformedEsriStyle(_0xd41555['drawingInfo'][_0x15b648(0xf0)][_0x15b648(0xee)]),_0x239b47[_0x15b648(0x112)](_0x2ee430);}),_0x960102[_0x106008(0xef)](_0x1d81fd));}});},'strategy':a41_0x500abd(createXYZ({'tileSize':0x200}))}),_0x2d28ad=new a41_0x4edd93({'source':_0x960102,'zIndex':_0xd60982[_0x4472ae(0xf2)]});if(_0xd41555[_0x4472ae(0xed)][_0x4472ae(0xf0)][_0x4472ae(0xff)]==_0x4472ae(0x117)&&_0xd41555['drawingInfo'][_0x4472ae(0xf0)][_0x4472ae(0xe8)]){let _0x246a46=transformedEsriStyle(_0xd41555[_0x4472ae(0xed)][_0x4472ae(0xf0)][_0x4472ae(0xe8)]);_0x2d28ad['setStyle'](_0x246a46);}return _0x2d28ad;}[a41_0x334dfb(0x102)](_0x529dd8){const _0x4650d2=a41_0x334dfb;this[_0x4650d2(0xf4)]['loadFilter']=_0x529dd8;}}function a41_0x97d8(){const _0x214a3e=['drawingInfo','defaultSymbol','addFeatures','renderer','where=','showIndex','mapIndex','layerInfo','push','spatialReference',',\x22ymax\x22:','readFeatures','field1','ymin','3962140JSdgez','url','4150092bnrjyS','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','type','initialExtent','loadFilter','setFilter','fullExtent','380786YregRF',',\x22spatialReference\x22:{\x22wkid\x22:','f\x20=\x20json\x20&\x20','32tdXcMk','760248kVmUJr','value','error','find','ymax','37998009tRstmd','{\x22xmin\x22:','EPSG:','get','xmax','setStyle','wkt','log','1417969FsYKae','1668702aWvPyT','simple','4DQjiEt','wkid','split','/query','string','symbol',',\x22ymin\x22:','forEach','createArcGISFeatureLayer','xmin'];a41_0x97d8=function(){return _0x214a3e;};return a41_0x97d8();}
@@ -1 +1 @@
1
- (function(_0x4ebb18,_0x5a18b7){const _0xbac74a=a42_0x10e9,_0x1debb4=_0x4ebb18();while(!![]){try{const _0x2cecc1=-parseInt(_0xbac74a(0x74))/0x1+parseInt(_0xbac74a(0x77))/0x2+-parseInt(_0xbac74a(0x6f))/0x3*(parseInt(_0xbac74a(0x65))/0x4)+-parseInt(_0xbac74a(0x71))/0x5*(parseInt(_0xbac74a(0x7a))/0x6)+-parseInt(_0xbac74a(0x72))/0x7+-parseInt(_0xbac74a(0x82))/0x8+parseInt(_0xbac74a(0x6d))/0x9;if(_0x2cecc1===_0x5a18b7)break;else _0x1debb4['push'](_0x1debb4['shift']());}catch(_0x2a4db5){_0x1debb4['push'](_0x1debb4['shift']());}}}(a42_0x109a,0x272f3));import a42_0x1ddd0c from'ol/layer/Tile';import a42_0x28e939 from'ol/source/XYZ';function a42_0x10e9(_0x2a3970,_0x4a670a){const _0x109ab1=a42_0x109a();return a42_0x10e9=function(_0x10e9f2,_0x1c4412){_0x10e9f2=_0x10e9f2-0x65;let _0x34340b=_0x109ab1[_0x10e9f2];return _0x34340b;},a42_0x10e9(_0x2a3970,_0x4a670a);}import a42_0x1193ed from'ol/tilegrid/TileGrid';function a42_0x109a(){const _0x341844=['length','tileInfo','wkid','initialExtent','url','opacity','spatialReference','4738365kdGDLl','wkt','423qDCZIh','origin','245ikVylJ','1224916EurYNn','ymin','123236CesgTn','cols','layerInfo','557402hwqpCW','EPSG:','projection','26466NmFwOc','lods','mapIndex','xmax','push','resolution','rows','fullExtent','539504KYMrxK','xmin','/tile/{z}/{y}/{x}','1784PifSus'];a42_0x109a=function(){return _0x341844;};return a42_0x109a();}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a42_0x1ddd0c{constructor(_0x1c54a1,_0x4a4ee9){const _0x50e62f=a42_0x10e9,_0x12385e=_0x1c54a1[_0x50e62f(0x6a)]?_0x1c54a1['url']:'',_0x32dc00=appendPath(_0x12385e,_0x50e62f(0x84)),_0x261876=[_0x4a4ee9[_0x50e62f(0x69)][_0x50e62f(0x83)],_0x4a4ee9['initialExtent'][_0x50e62f(0x73)],_0x4a4ee9[_0x50e62f(0x69)][_0x50e62f(0x7d)],_0x4a4ee9[_0x50e62f(0x69)]['ymax']],_0xa18f4b=[_0x4a4ee9[_0x50e62f(0x81)][_0x50e62f(0x83)],_0x4a4ee9[_0x50e62f(0x81)]['ymin'],_0x4a4ee9['fullExtent'][_0x50e62f(0x7d)],_0x4a4ee9[_0x50e62f(0x81)]['ymax']];let _0xf3df8e;_0x4a4ee9[_0x50e62f(0x6c)][_0x50e62f(0x68)]?_0xf3df8e=registerProj(_0x50e62f(0x78)+_0x4a4ee9[_0x50e62f(0x6c)]['wkid'],_0xa18f4b):_0xf3df8e=registerProj(_0x4a4ee9[_0x50e62f(0x6c)][_0x50e62f(0x6e)],_0xa18f4b);let _0x3846bd=[];for(let _0x5c424b=0x0,_0x4de1d3=_0x4a4ee9[_0x50e62f(0x67)][_0x50e62f(0x7b)][_0x50e62f(0x66)];_0x5c424b<_0x4de1d3;_0x5c424b++){_0x3846bd[_0x50e62f(0x7e)](_0x4a4ee9[_0x50e62f(0x67)][_0x50e62f(0x7b)][_0x5c424b][_0x50e62f(0x7f)]);}super({'opacity':_0x1c54a1[_0x50e62f(0x6b)],'zIndex':_0x1c54a1[_0x50e62f(0x7c)],'maxResolution':_0x3846bd[0x0]*0x2,'source':new a42_0x28e939({'url':_0x32dc00,'projection':_0xf3df8e,'crossOrigin':'anonymous','tileGrid':new a42_0x1193ed({'extent':_0xa18f4b,'origin':[_0x4a4ee9[_0x50e62f(0x67)][_0x50e62f(0x70)]['x'],_0x4a4ee9['tileInfo'][_0x50e62f(0x70)]['y']],'resolutions':_0x3846bd,'tileSize':[_0x4a4ee9['tileInfo'][_0x50e62f(0x80)],_0x4a4ee9[_0x50e62f(0x67)][_0x50e62f(0x75)]]})})}),this['id']=_0x1c54a1['id'],this[_0x50e62f(0x69)]=_0x261876,this[_0x50e62f(0x79)]=_0xf3df8e,this[_0x50e62f(0x76)]=_0x1c54a1;}}
1
+ function a42_0x1c6e(_0x5df0cb,_0x34d873){const _0x240fa5=a42_0x240f();return a42_0x1c6e=function(_0x1c6ed5,_0x45f821){_0x1c6ed5=_0x1c6ed5-0x192;let _0x55a3d2=_0x240fa5[_0x1c6ed5];return _0x55a3d2;},a42_0x1c6e(_0x5df0cb,_0x34d873);}(function(_0xf21687,_0x2ae0e6){const _0x2ba46e=a42_0x1c6e,_0x3cbda4=_0xf21687();while(!![]){try{const _0x3ac44c=-parseInt(_0x2ba46e(0x1ab))/0x1+-parseInt(_0x2ba46e(0x1a9))/0x2*(parseInt(_0x2ba46e(0x1a1))/0x3)+parseInt(_0x2ba46e(0x1a7))/0x4+parseInt(_0x2ba46e(0x1a3))/0x5*(parseInt(_0x2ba46e(0x194))/0x6)+parseInt(_0x2ba46e(0x1a4))/0x7+parseInt(_0x2ba46e(0x197))/0x8*(-parseInt(_0x2ba46e(0x1a0))/0x9)+parseInt(_0x2ba46e(0x1ae))/0xa;if(_0x3ac44c===_0x2ae0e6)break;else _0x3cbda4['push'](_0x3cbda4['shift']());}catch(_0x588c42){_0x3cbda4['push'](_0x3cbda4['shift']());}}}(a42_0x240f,0xc1ebc));import a42_0x8824da from'ol/layer/Tile';import a42_0x29e333 from'ol/source/XYZ';import a42_0x1aa427 from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';function a42_0x240f(){const _0x4f7913=['wkt','resolution','24662840sxSrFa','origin','layerInfo','cols','3794394UXnKKU','url','initialExtent','8exnyaz','xmax','length','wkid','ymin','/tile/{z}/{y}/{x}','mapIndex','anonymous','tileInfo','13901697dpKFxw','93cgrfQH','xmin','5Qhoirm','1296687mSOWZt','ymax','fullExtent','724768DFKRSq','EPSG:','31706oYNIYe','spatialReference','634740VMVUIM'];a42_0x240f=function(){return _0x4f7913;};return a42_0x240f();}export default class ArcgisTileLayer extends a42_0x8824da{constructor(_0x23fc8b,_0x253049){const _0x4acb83=a42_0x1c6e,_0x350b5d=_0x23fc8b[_0x4acb83(0x195)]?_0x23fc8b[_0x4acb83(0x195)]:'',_0x31bd73=appendPath(_0x350b5d,_0x4acb83(0x19c)),_0x30c14c=[_0x253049[_0x4acb83(0x196)][_0x4acb83(0x1a2)],_0x253049[_0x4acb83(0x196)][_0x4acb83(0x19b)],_0x253049[_0x4acb83(0x196)][_0x4acb83(0x198)],_0x253049[_0x4acb83(0x196)]['ymax']],_0x2baea2=[_0x253049[_0x4acb83(0x1a6)][_0x4acb83(0x1a2)],_0x253049[_0x4acb83(0x1a6)]['ymin'],_0x253049[_0x4acb83(0x1a6)]['xmax'],_0x253049[_0x4acb83(0x1a6)][_0x4acb83(0x1a5)]];let _0x36b0e2;_0x253049[_0x4acb83(0x1aa)]['wkid']?_0x36b0e2=registerProj(_0x4acb83(0x1a8)+_0x253049[_0x4acb83(0x1aa)][_0x4acb83(0x19a)],_0x2baea2):_0x36b0e2=registerProj(_0x253049['spatialReference'][_0x4acb83(0x1ac)],_0x2baea2);let _0x31141f=[];for(let _0x32ff74=0x0,_0x41386c=_0x253049[_0x4acb83(0x19f)]['lods'][_0x4acb83(0x199)];_0x32ff74<_0x41386c;_0x32ff74++){_0x31141f['push'](_0x253049[_0x4acb83(0x19f)]['lods'][_0x32ff74][_0x4acb83(0x1ad)]);}super({'opacity':_0x23fc8b['opacity'],'zIndex':_0x23fc8b[_0x4acb83(0x19d)],'maxResolution':_0x31141f[0x0]*0x2,'source':new a42_0x29e333({'url':_0x31bd73,'projection':_0x36b0e2,'crossOrigin':_0x4acb83(0x19e),'tileGrid':new a42_0x1aa427({'extent':_0x2baea2,'origin':[_0x253049[_0x4acb83(0x19f)][_0x4acb83(0x1af)]['x'],_0x253049[_0x4acb83(0x19f)][_0x4acb83(0x1af)]['y']],'resolutions':_0x31141f,'tileSize':[_0x253049['tileInfo']['rows'],_0x253049[_0x4acb83(0x19f)][_0x4acb83(0x193)]]})})}),this['id']=_0x23fc8b['id'],this[_0x4acb83(0x196)]=_0x30c14c,this['projection']=_0x36b0e2,this[_0x4acb83(0x192)]=_0x23fc8b;}}
@@ -1 +1 @@
1
- const a43_0x55eee1=a43_0x2ce4;(function(_0x616581,_0x3b2b82){const _0x1292ca=a43_0x2ce4,_0x5dcb0a=_0x616581();while(!![]){try{const _0x241007=-parseInt(_0x1292ca(0xa5))/0x1*(parseInt(_0x1292ca(0xa9))/0x2)+parseInt(_0x1292ca(0xa1))/0x3+parseInt(_0x1292ca(0xb5))/0x4*(-parseInt(_0x1292ca(0xad))/0x5)+-parseInt(_0x1292ca(0xaa))/0x6+parseInt(_0x1292ca(0xa8))/0x7*(parseInt(_0x1292ca(0x9e))/0x8)+parseInt(_0x1292ca(0xab))/0x9*(-parseInt(_0x1292ca(0xae))/0xa)+parseInt(_0x1292ca(0xb3))/0xb;if(_0x241007===_0x3b2b82)break;else _0x5dcb0a['push'](_0x5dcb0a['shift']());}catch(_0x12281e){_0x5dcb0a['push'](_0x5dcb0a['shift']());}}}(a43_0x338a,0x6b24b));import{ImageWMS as a43_0x11c516}from'ol/source';import{Image as a43_0x290b3e}from'ol/layer';function a43_0x338a(){const _0x1712d7=['getSource','5CGpBUZ','718470TpXJeN','CQL_FILTER','loadFilter','layerInfo','initExtent','12846823SzmMXj','sublayers','3253676GCMfrE','setFilter','8OLuAyA','EPSG:','opacity','2116290yCDDnN','join','url','refresh','1rsWzXl','updateParams','initialExtent','4133969NFqKSW','1384028JRGlNs','2686506yCqYwz','9rbRKpm'];a43_0x338a=function(){return _0x1712d7;};return a43_0x338a();}import{registerProj}from'../utils/RegisterProjUtil';function a43_0x2ce4(_0x3abd48,_0x39bbed){const _0x338a81=a43_0x338a();return a43_0x2ce4=function(_0x2ce4d6,_0x40bc58){_0x2ce4d6=_0x2ce4d6-0x9d;let _0x57306a=_0x338a81[_0x2ce4d6];return _0x57306a;},a43_0x2ce4(_0x3abd48,_0x39bbed);}export default class ArcgisWMSLayer extends a43_0x290b3e{constructor(_0x3912b6,_0x529eb2){const _0x1a220a=a43_0x2ce4;var _0x2e3a3c;let _0x4cbf3a=registerProj(_0x1a220a(0x9f)+_0x529eb2['wkid'],undefined),_0x2100ed={'LAYERS':(_0x2e3a3c=_0x3912b6[_0x1a220a(0xb4)])===null||_0x2e3a3c===void 0x0?void 0x0:_0x2e3a3c[_0x1a220a(0xa2)](','),'VERSION':'1.1.0'};_0x3912b6[_0x1a220a(0xb0)]&&(_0x2100ed[_0x1a220a(0xaf)]=_0x3912b6[_0x1a220a(0xb0)]),super({'opacity':_0x3912b6[_0x1a220a(0xa0)],'zIndex':_0x3912b6['mapIndex'],'source':new a43_0x11c516({'crossOrigin':'anonymous','url':_0x3912b6[_0x1a220a(0xa3)],'params':_0x2100ed})}),this['id']=_0x3912b6['id'],this[_0x1a220a(0xa7)]=_0x529eb2[_0x1a220a(0xb2)],this['projection']=_0x4cbf3a,this[_0x1a220a(0xb1)]=_0x3912b6;}[a43_0x55eee1(0xa4)](){}[a43_0x55eee1(0x9d)](_0x3a5d19){const _0x46d186=a43_0x55eee1;var _0x4597cd;(_0x4597cd=this[_0x46d186(0xac)]())===null||_0x4597cd===void 0x0?void 0x0:_0x4597cd[_0x46d186(0xa6)]({'CQL_FILTER':_0x3a5d19});}}
1
+ const a43_0x4810da=a43_0x3914;(function(_0x554de6,_0x25c19b){const _0x36d890=a43_0x3914,_0x54cb64=_0x554de6();while(!![]){try{const _0x3e50b2=-parseInt(_0x36d890(0x185))/0x1*(-parseInt(_0x36d890(0x184))/0x2)+parseInt(_0x36d890(0x192))/0x3+parseInt(_0x36d890(0x19b))/0x4*(-parseInt(_0x36d890(0x18f))/0x5)+parseInt(_0x36d890(0x18e))/0x6+-parseInt(_0x36d890(0x186))/0x7+parseInt(_0x36d890(0x187))/0x8*(-parseInt(_0x36d890(0x18c))/0x9)+parseInt(_0x36d890(0x183))/0xa*(-parseInt(_0x36d890(0x193))/0xb);if(_0x3e50b2===_0x25c19b)break;else _0x54cb64['push'](_0x54cb64['shift']());}catch(_0x20d0c4){_0x54cb64['push'](_0x54cb64['shift']());}}}(a43_0x1daf,0xc360a));import{ImageWMS as a43_0x2cfb4e}from'ol/source';import{Image as a43_0x2932cc}from'ol/layer';function a43_0x3914(_0xc4e329,_0x59ece3){const _0x1daff9=a43_0x1daf();return a43_0x3914=function(_0x3914d7,_0x4939e7){_0x3914d7=_0x3914d7-0x183;let _0x2c4a5a=_0x1daff9[_0x3914d7];return _0x2c4a5a;},a43_0x3914(_0xc4e329,_0x59ece3);}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a43_0x2932cc{constructor(_0x5a4f97,_0x43566e){const _0x17ef8f=a43_0x3914;var _0xe7239c;let _0x17c460=registerProj(_0x17ef8f(0x194)+_0x43566e['wkid'],undefined),_0x369048={'LAYERS':(_0xe7239c=_0x5a4f97[_0x17ef8f(0x189)])===null||_0xe7239c===void 0x0?void 0x0:_0xe7239c[_0x17ef8f(0x195)](','),'VERSION':_0x17ef8f(0x18a)};_0x5a4f97['loadFilter']&&(_0x369048[_0x17ef8f(0x199)]=_0x5a4f97[_0x17ef8f(0x18b)]),super({'opacity':_0x5a4f97[_0x17ef8f(0x198)],'zIndex':_0x5a4f97[_0x17ef8f(0x188)],'source':new a43_0x2cfb4e({'crossOrigin':_0x17ef8f(0x196),'url':_0x5a4f97['url'],'params':_0x369048})}),this['id']=_0x5a4f97['id'],this[_0x17ef8f(0x191)]=_0x43566e['initExtent'],this['projection']=_0x17c460,this[_0x17ef8f(0x19a)]=_0x5a4f97;}[a43_0x4810da(0x190)](){}[a43_0x4810da(0x18d)](_0x2b4c3c){const _0x13732f=a43_0x4810da;var _0x4816ea;(_0x4816ea=this['getSource']())===null||_0x4816ea===void 0x0?void 0x0:_0x4816ea[_0x13732f(0x197)]({'CQL_FILTER':_0x2b4c3c});}}function a43_0x1daf(){const _0x31f9c9=['refresh','initialExtent','3542838mAHevy','4794449mTryJY','EPSG:','join','anonymous','updateParams','opacity','CQL_FILTER','layerInfo','276424vWwEMs','20qtqjbp','6tMRmFH','287789NkRbRG','3836945hYXXSU','167392ksaaxS','mapIndex','sublayers','1.1.0','loadFilter','144LfucFK','setFilter','4722084CEJhvO','20RaLTaW'];a43_0x1daf=function(){return _0x31f9c9;};return a43_0x1daf();}
@@ -1 +1 @@
1
- (function(_0x218146,_0xbea5ff){const _0x5b015b=a44_0xbf49,_0x4693ab=_0x218146();while(!![]){try{const _0x490155=-parseInt(_0x5b015b(0x136))/0x1+-parseInt(_0x5b015b(0x145))/0x2+parseInt(_0x5b015b(0x146))/0x3+parseInt(_0x5b015b(0x137))/0x4*(parseInt(_0x5b015b(0x13a))/0x5)+parseInt(_0x5b015b(0x143))/0x6+-parseInt(_0x5b015b(0x14f))/0x7+-parseInt(_0x5b015b(0x149))/0x8;if(_0x490155===_0xbea5ff)break;else _0x4693ab['push'](_0x4693ab['shift']());}catch(_0x2f34fa){_0x4693ab['push'](_0x4693ab['shift']());}}}(a44_0x4356,0x879a3));import a44_0x1d8a74 from'ol/layer/Tile';import a44_0x1807ee,{optionsFromCapabilities}from'ol/source/WMTS.js';function a44_0x4356(){const _0x3c0945=['4787718jYVVOr','length','1504138mAQCDT','2597922eMmmpF','tileGrid','name','7760000WCwcHT','sublayers','layerInfo','matrixSet','src','tileMatrixSet','49518VvxPjX','token','join','origins_','replace','getMatrixIds','sourceXml','70410qxaPDM','172teZMoB','urls','indexOf','80355ObiTBl','style','image/png','opacity','projection','boundingBoxExtent','layer','url','getImage'];a44_0x4356=function(){return _0x3c0945;};return a44_0x4356();}function a44_0xbf49(_0x460c8a,_0x1e200e){const _0x435627=a44_0x4356();return a44_0xbf49=function(_0xbf4969,_0x2de1bd){_0xbf4969=_0xbf4969-0x135;let _0x14551a=_0x435627[_0xbf4969];return _0x14551a;},a44_0xbf49(_0x460c8a,_0x1e200e);}import a44_0x193dee from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a44_0x1d8a74{constructor(_0x1b4a7b,_0x46239b){const _0x3402d8=a44_0xbf49;var _0x29e1a6;let _0x154c02='';_0x1b4a7b[_0x3402d8(0x14a)]&&_0x1b4a7b[_0x3402d8(0x14a)][_0x3402d8(0x144)]>0x0&&(_0x154c02=_0x1b4a7b[_0x3402d8(0x14a)][_0x3402d8(0x151)](','));const _0x3b9349='EPSG:'+_0x46239b['wkid'];let _0x5dee26=registerProj(_0x3b9349);const _0x52e286=optionsFromCapabilities(_0x46239b[_0x3402d8(0x135)],{'layer':(_0x29e1a6=_0x1b4a7b[_0x3402d8(0x14a)])===null||_0x29e1a6===void 0x0?void 0x0:_0x29e1a6[0x0],'matrixSet':_0x46239b[_0x3402d8(0x14e)],'format':_0x3402d8(0x13c)});let _0x2228dd=_0x52e286[_0x3402d8(0x147)][_0x3402d8(0x152)][0x0];_0x2228dd[0x0]===0x5a&&_0x2228dd[0x1]===-0xb4&&(_0x2228dd=[_0x2228dd[0x1],_0x2228dd[0x0]]),super({'opacity':_0x1b4a7b[_0x3402d8(0x13d)],'zIndex':_0x1b4a7b['mapIndex'],'source':new a44_0x1807ee({'urls':_0x52e286[_0x3402d8(0x138)],'requestEncoding':_0x52e286['requestEncoding'],'layer':_0x52e286[_0x3402d8(0x140)],'tileLoadFunction':function(_0x1ddc88,_0xc638b9){const _0x1aa1ff=_0x3402d8,_0x3648d6=_0x1b4a7b[_0x1aa1ff(0x141)]?_0x1b4a7b['url']:'';let _0x3ef426=getUrlParams(_0x3648d6);if((_0x3ef426===null||_0x3ef426===void 0x0?void 0x0:_0x3ef426[_0x1aa1ff(0x144)])>0x0)for(let _0x3077e9 of _0x3ef426){_0xc638b9=addArgument(_0xc638b9,_0x3077e9[_0x1aa1ff(0x148)],_0x3077e9['value']);}let _0x306534=_0xc638b9[_0x1aa1ff(0x139)]('?http');_0x306534!==-0x1?_0xc638b9['indexOf'](_0x1aa1ff(0x150))===-0x1&&_0xc638b9[_0x1aa1ff(0x139)]('tk')===-0x1?_0x1ddc88[_0x1aa1ff(0x142)]()[_0x1aa1ff(0x14d)]=_0xc638b9[_0x1aa1ff(0x153)]('&','?'):_0x1ddc88[_0x1aa1ff(0x142)]()[_0x1aa1ff(0x14d)]=_0xc638b9:_0x1ddc88['getImage']()[_0x1aa1ff(0x14d)]=_0xc638b9;},'matrixSet':_0x52e286[_0x3402d8(0x14c)],'format':_0x52e286['format'],'projection':_0x52e286[_0x3402d8(0x13e)],'tileGrid':new a44_0x193dee({'origin':_0x2228dd,'resolutions':_0x52e286['tileGrid']['getResolutions'](),'matrixIds':_0x52e286[_0x3402d8(0x147)][_0x3402d8(0x154)](),'extent':_0x46239b[_0x3402d8(0x13f)]}),'style':_0x46239b[_0x3402d8(0x13b)],'wrapX':!![]})}),this['id']=_0x1b4a7b['id'],this['initialExtent']=_0x46239b[_0x3402d8(0x13f)],this[_0x3402d8(0x13e)]=_0x5dee26,this[_0x3402d8(0x14b)]=_0x1b4a7b;}}
1
+ (function(_0x2179c8,_0x3a4b5c){const _0x2094eb=a44_0x12b3,_0xf3044b=_0x2179c8();while(!![]){try{const _0x1f965d=-parseInt(_0x2094eb(0xe2))/0x1*(parseInt(_0x2094eb(0xda))/0x2)+-parseInt(_0x2094eb(0xdf))/0x3*(-parseInt(_0x2094eb(0xf5))/0x4)+-parseInt(_0x2094eb(0xf6))/0x5+-parseInt(_0x2094eb(0xd4))/0x6+parseInt(_0x2094eb(0xe3))/0x7*(parseInt(_0x2094eb(0xd9))/0x8)+parseInt(_0x2094eb(0xee))/0x9*(parseInt(_0x2094eb(0xd5))/0xa)+parseInt(_0x2094eb(0xd7))/0xb*(parseInt(_0x2094eb(0xf7))/0xc);if(_0x1f965d===_0x3a4b5c)break;else _0xf3044b['push'](_0xf3044b['shift']());}catch(_0xf02c0){_0xf3044b['push'](_0xf3044b['shift']());}}}(a44_0x2bd4,0x8e2f6));import a44_0x4b3ceb from'ol/layer/Tile';import a44_0x2dc4f7,{optionsFromCapabilities}from'ol/source/WMTS.js';import a44_0x4632eb from'ol/tilegrid/WMTS';function a44_0x2bd4(){const _0x1d9175=['sublayers','boundingBoxExtent','4168UJIaiV','1175625lqsNOz','139764nLtYoj','matrixSet','value','src','4823058qPRMAa','8904190wdAaRa','format','242hxbCHB','wkid','3016txxYXG','2FMGTLq','image/png','layer','getResolutions','name','222eVPwTR','length','url','587881uKnnDw','18298aNHwHn','initialExtent','replace','projection','EPSG:','tileMatrixSet','origins_','sourceXml','indexOf','getImage','?http','9YWjSZw','requestEncoding','tileGrid','token','join'];a44_0x2bd4=function(){return _0x1d9175;};return a44_0x2bd4();}function a44_0x12b3(_0x37510f,_0x20803a){const _0x2bd4fd=a44_0x2bd4();return a44_0x12b3=function(_0x12b32e,_0x9b8a0e){_0x12b32e=_0x12b32e-0xd4;let _0x2b53d8=_0x2bd4fd[_0x12b32e];return _0x2b53d8;},a44_0x12b3(_0x37510f,_0x20803a);}import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a44_0x4b3ceb{constructor(_0x24355a,_0x1fae76){const _0x5729a0=a44_0x12b3;var _0x500db8;let _0x58917d='';_0x24355a[_0x5729a0(0xf3)]&&_0x24355a[_0x5729a0(0xf3)][_0x5729a0(0xe0)]>0x0&&(_0x58917d=_0x24355a['sublayers'][_0x5729a0(0xf2)](','));const _0x358536=_0x5729a0(0xe7)+_0x1fae76[_0x5729a0(0xd8)];let _0x226b85=registerProj(_0x358536);const _0x454f09=optionsFromCapabilities(_0x1fae76[_0x5729a0(0xea)],{'layer':(_0x500db8=_0x24355a[_0x5729a0(0xf3)])===null||_0x500db8===void 0x0?void 0x0:_0x500db8[0x0],'matrixSet':_0x1fae76[_0x5729a0(0xe8)],'format':_0x5729a0(0xdb)});let _0x37ceee=_0x454f09[_0x5729a0(0xf0)][_0x5729a0(0xe9)][0x0];_0x37ceee[0x0]===0x5a&&_0x37ceee[0x1]===-0xb4&&(_0x37ceee=[_0x37ceee[0x1],_0x37ceee[0x0]]),super({'opacity':_0x24355a['opacity'],'zIndex':_0x24355a['mapIndex'],'source':new a44_0x2dc4f7({'urls':_0x454f09['urls'],'requestEncoding':_0x454f09[_0x5729a0(0xef)],'layer':_0x454f09[_0x5729a0(0xdc)],'tileLoadFunction':function(_0x970120,_0x4dbe59){const _0x3ed3c9=_0x5729a0,_0x56cdee=_0x24355a[_0x3ed3c9(0xe1)]?_0x24355a[_0x3ed3c9(0xe1)]:'';let _0xa38d9a=getUrlParams(_0x56cdee);if((_0xa38d9a===null||_0xa38d9a===void 0x0?void 0x0:_0xa38d9a['length'])>0x0)for(let _0x3c25cb of _0xa38d9a){_0x4dbe59=addArgument(_0x4dbe59,_0x3c25cb[_0x3ed3c9(0xde)],_0x3c25cb[_0x3ed3c9(0xf9)]);}let _0x1927a1=_0x4dbe59[_0x3ed3c9(0xeb)](_0x3ed3c9(0xed));_0x1927a1!==-0x1?_0x4dbe59[_0x3ed3c9(0xeb)](_0x3ed3c9(0xf1))===-0x1&&_0x4dbe59['indexOf']('tk')===-0x1?_0x970120[_0x3ed3c9(0xec)]()[_0x3ed3c9(0xfa)]=_0x4dbe59[_0x3ed3c9(0xe5)]('&','?'):_0x970120['getImage']()[_0x3ed3c9(0xfa)]=_0x4dbe59:_0x970120[_0x3ed3c9(0xec)]()[_0x3ed3c9(0xfa)]=_0x4dbe59;},'matrixSet':_0x454f09[_0x5729a0(0xf8)],'format':_0x454f09[_0x5729a0(0xd6)],'projection':_0x454f09['projection'],'tileGrid':new a44_0x4632eb({'origin':_0x37ceee,'resolutions':_0x454f09[_0x5729a0(0xf0)][_0x5729a0(0xdd)](),'matrixIds':_0x454f09[_0x5729a0(0xf0)]['getMatrixIds'](),'extent':_0x1fae76[_0x5729a0(0xf4)]}),'style':_0x1fae76['style'],'wrapX':!![]})}),this['id']=_0x24355a['id'],this[_0x5729a0(0xe4)]=_0x1fae76['boundingBoxExtent'],this[_0x5729a0(0xe6)]=_0x226b85,this['layerInfo']=_0x24355a;}}
@@ -1 +1 @@
1
- (function(_0x1a4059,_0xec5e5d){const _0x334dcd=a45_0x5ca0,_0x2fa00e=_0x1a4059();while(!![]){try{const _0x2fd375=parseInt(_0x334dcd(0xae))/0x1+parseInt(_0x334dcd(0xa7))/0x2*(parseInt(_0x334dcd(0xaf))/0x3)+parseInt(_0x334dcd(0xb9))/0x4+parseInt(_0x334dcd(0xa8))/0x5+-parseInt(_0x334dcd(0xbc))/0x6+-parseInt(_0x334dcd(0xa6))/0x7*(-parseInt(_0x334dcd(0xb2))/0x8)+-parseInt(_0x334dcd(0xb3))/0x9;if(_0x2fd375===_0xec5e5d)break;else _0x2fa00e['push'](_0x2fa00e['shift']());}catch(_0x18fa71){_0x2fa00e['push'](_0x2fa00e['shift']());}}}(a45_0x10e5,0x75702));import a45_0x2961fb from'ol/layer/VectorTile';function a45_0x10e5(){const _0x1c433e=['795OoPaPc','origins_','tileMatrixSet','11416VoRBxP','8158878BwEWVb','wkid','tileGrid','{y}','GetTile','mapIndex','873236cFPJWE','1.0.0','getMatrixIds','1597296HgQMoS','length','application/vnd.mapbox-vector-tile','sublayers','tileSizes_','{x}','boundingBoxExtent','url','7TctJEp','2886EtaUvP','3337460WUVoPS','EPSG:',':{z}','toString','projection','opacity','384161UIClmb'];a45_0x10e5=function(){return _0x1c433e;};return a45_0x10e5();}import a45_0x11bc11 from'ol/source/VectorTile';import a45_0x14c192 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a45_0x44b9f1 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';function a45_0x5ca0(_0x141b28,_0x133f43){const _0x10e52d=a45_0x10e5();return a45_0x5ca0=function(_0x5ca034,_0x2b8bda){_0x5ca034=_0x5ca034-0xa6;let _0x584b1a=_0x10e52d[_0x5ca034];return _0x584b1a;},a45_0x5ca0(_0x141b28,_0x133f43);}import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a45_0x2961fb{constructor(_0x26bb87,_0xed9952){const _0x4a7934=a45_0x5ca0;var _0x34d7ae;let _0x10eaad=registerProj(_0x4a7934(0xa9)+_0xed9952[_0x4a7934(0xb4)]);const _0x5dce04=optionsFromCapabilities(_0xed9952['sourceXml'],{'layer':(_0x34d7ae=_0x26bb87[_0x4a7934(0xbf)])===null||_0x34d7ae===void 0x0?void 0x0:_0x34d7ae[0x0],'matrixSet':_0xed9952[_0x4a7934(0xb1)],'format':'image/png'});let _0x42c81a=_0x26bb87[_0x4a7934(0xbf)]&&_0x26bb87[_0x4a7934(0xbf)][_0x4a7934(0xbd)]>0x0?_0x26bb87[_0x4a7934(0xbf)][0x0]:'';const _0x11b82d={'REQUEST':_0x4a7934(0xb7),'SERVICE':'WMTS','VERSION':_0x4a7934(0xba),'LAYER':_0x42c81a,'STYLE':_0xed9952['style'][_0x4a7934(0xab)](),'TILEMATRIX':_0xed9952['tileMatrixSet']+_0x4a7934(0xaa),'TILEMATRIXSET':_0xed9952[_0x4a7934(0xb1)][_0x4a7934(0xab)](),'FORMAT':_0x4a7934(0xbe),'TILECOL':_0x4a7934(0xc1),'TILEROW':_0x4a7934(0xb6)};let _0x353dfe=_0x26bb87[_0x4a7934(0xc3)]?_0x26bb87[_0x4a7934(0xc3)]:'';for(const _0x3763bf in _0x11b82d){_0x353dfe=addArgument(_0x353dfe,_0x3763bf,_0x11b82d[_0x3763bf]);}super({'opacity':_0x26bb87[_0x4a7934(0xad)],'zIndex':_0x26bb87[_0x4a7934(0xb8)],'declutter':!![],'source':new a45_0x11bc11({'projection':'EPSG:'+_0xed9952['wkid'],'format':new a45_0x14c192(),'wrapX':!![],'extent':_0xed9952['boundingBoxExtent'],'tileGrid':new a45_0x44b9f1({'tileSize':_0x5dce04['tileGrid'][_0x4a7934(0xc0)][0x0],'origin':_0x5dce04['tileGrid'][_0x4a7934(0xb0)][0x0],'resolutions':_0x5dce04['tileGrid']['getResolutions'](),'matrixIds':_0x5dce04[_0x4a7934(0xb5)][_0x4a7934(0xbb)]()}),'url':_0x353dfe})}),this['id']=_0x26bb87['id'],this['initialExtent']=_0xed9952[_0x4a7934(0xc2)],this[_0x4a7934(0xac)]=_0x10eaad,this['layerInfo']=_0x26bb87;}}
1
+ (function(_0x30fccb,_0x22acb4){const _0xb4fc12=a45_0x1d88,_0x50327e=_0x30fccb();while(!![]){try{const _0x153752=-parseInt(_0xb4fc12(0x147))/0x1*(parseInt(_0xb4fc12(0x12e))/0x2)+parseInt(_0xb4fc12(0x131))/0x3*(-parseInt(_0xb4fc12(0x138))/0x4)+-parseInt(_0xb4fc12(0x135))/0x5+parseInt(_0xb4fc12(0x133))/0x6+-parseInt(_0xb4fc12(0x142))/0x7+parseInt(_0xb4fc12(0x146))/0x8*(-parseInt(_0xb4fc12(0x13c))/0x9)+parseInt(_0xb4fc12(0x129))/0xa;if(_0x153752===_0x22acb4)break;else _0x50327e['push'](_0x50327e['shift']());}catch(_0xd2929b){_0x50327e['push'](_0x50327e['shift']());}}}(a45_0x1fa6,0xea58c));import a45_0x20477c from'ol/layer/VectorTile';import a45_0x1fcc18 from'ol/source/VectorTile';import a45_0x1e7f0e from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';function a45_0x1d88(_0x14c091,_0x372842){const _0x1fa6b2=a45_0x1fa6();return a45_0x1d88=function(_0x1d88cb,_0x1aa512){_0x1d88cb=_0x1d88cb-0x128;let _0x590ed3=_0x1fa6b2[_0x1d88cb];return _0x590ed3;},a45_0x1d88(_0x14c091,_0x372842);}import a45_0x1c5e14 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';function a45_0x1fa6(){const _0x4fdc8f=['origins_','getResolutions','application/vnd.mapbox-vector-tile','sourceXml','2QOrbIR','wkid','{y}','84GbtOXH','getMatrixIds','9760446qXqwku','tileSizes_','4811525Umbido','layerInfo','length','48352pCOXJm','toString','style','1.0.0','9TScrBA','initialExtent','boundingBoxExtent','opacity','GetTile','tileGrid','4273143RockDL',':{z}','projection','EPSG:','2403096HeVtCf','483661RIxJNQ','tileMatrixSet','sublayers','url','20284090eWDBoZ'];a45_0x1fa6=function(){return _0x4fdc8f;};return a45_0x1fa6();}export default class GeoserverVectorTileLayer extends a45_0x20477c{constructor(_0x46a1f7,_0x4ab163){const _0x1b3afe=a45_0x1d88;var _0x4619ba;let _0x2eef41=registerProj(_0x1b3afe(0x145)+_0x4ab163['wkid']);const _0x5d21f8=optionsFromCapabilities(_0x4ab163[_0x1b3afe(0x12d)],{'layer':(_0x4619ba=_0x46a1f7[_0x1b3afe(0x149)])===null||_0x4619ba===void 0x0?void 0x0:_0x4619ba[0x0],'matrixSet':_0x4ab163['tileMatrixSet'],'format':'image/png'});let _0x40f3a5=_0x46a1f7['sublayers']&&_0x46a1f7['sublayers'][_0x1b3afe(0x137)]>0x0?_0x46a1f7['sublayers'][0x0]:'';const _0x583847={'REQUEST':_0x1b3afe(0x140),'SERVICE':'WMTS','VERSION':_0x1b3afe(0x13b),'LAYER':_0x40f3a5,'STYLE':_0x4ab163[_0x1b3afe(0x13a)][_0x1b3afe(0x139)](),'TILEMATRIX':_0x4ab163['tileMatrixSet']+_0x1b3afe(0x143),'TILEMATRIXSET':_0x4ab163[_0x1b3afe(0x148)][_0x1b3afe(0x139)](),'FORMAT':_0x1b3afe(0x12c),'TILECOL':'{x}','TILEROW':_0x1b3afe(0x130)};let _0x4f4f47=_0x46a1f7[_0x1b3afe(0x128)]?_0x46a1f7[_0x1b3afe(0x128)]:'';for(const _0x30e46c in _0x583847){_0x4f4f47=addArgument(_0x4f4f47,_0x30e46c,_0x583847[_0x30e46c]);}super({'opacity':_0x46a1f7[_0x1b3afe(0x13f)],'zIndex':_0x46a1f7['mapIndex'],'declutter':!![],'source':new a45_0x1fcc18({'projection':_0x1b3afe(0x145)+_0x4ab163[_0x1b3afe(0x12f)],'format':new a45_0x1e7f0e(),'wrapX':!![],'extent':_0x4ab163[_0x1b3afe(0x13e)],'tileGrid':new a45_0x1c5e14({'tileSize':_0x5d21f8[_0x1b3afe(0x141)][_0x1b3afe(0x134)][0x0],'origin':_0x5d21f8['tileGrid'][_0x1b3afe(0x12a)][0x0],'resolutions':_0x5d21f8['tileGrid'][_0x1b3afe(0x12b)](),'matrixIds':_0x5d21f8[_0x1b3afe(0x141)][_0x1b3afe(0x132)]()}),'url':_0x4f4f47})}),this['id']=_0x46a1f7['id'],this[_0x1b3afe(0x13d)]=_0x4ab163[_0x1b3afe(0x13e)],this[_0x1b3afe(0x144)]=_0x2eef41,this[_0x1b3afe(0x136)]=_0x46a1f7;}}
@@ -1 +1 @@
1
- const a46_0x120738=a46_0x2854;(function(_0x4cbeab,_0x476b13){const _0x3fd1a6=a46_0x2854,_0x36fa51=_0x4cbeab();while(!![]){try{const _0x3b815d=parseInt(_0x3fd1a6(0xd5))/0x1+parseInt(_0x3fd1a6(0xbc))/0x2+-parseInt(_0x3fd1a6(0xe1))/0x3*(parseInt(_0x3fd1a6(0xcf))/0x4)+parseInt(_0x3fd1a6(0xdd))/0x5+-parseInt(_0x3fd1a6(0xdc))/0x6+-parseInt(_0x3fd1a6(0xc0))/0x7*(parseInt(_0x3fd1a6(0xcd))/0x8)+parseInt(_0x3fd1a6(0xcb))/0x9;if(_0x3b815d===_0x476b13)break;else _0x36fa51['push'](_0x36fa51['shift']());}catch(_0x3c9fbe){_0x36fa51['push'](_0x36fa51['shift']());}}}(a46_0xe829,0x466d0));import a46_0x3f6878 from'ol/source/Vector';import a46_0x5617be from'ol/format/GeoJSON';import{Vector as a46_0x3112c9}from'ol/layer';import a46_0x57c964 from'ol/format/WFS';function a46_0xe829(){const _0x21abc6=['filter','serializeToString','name','parseFilter','apply','json','3447438eTgWWb','1589260fLIcJE','between','lessThan','url','9ZvIHDV','push','warn','getSource','and','getCode','wkid','param','projection','string','readFeatures','231522pCeQsD','addFeatures','lessThanOrEqualTo','greaterThan','80549wgdWwK','then','type字段不存在','notEqualTo','removeLoadedExtent','length','toLowerCase','type','layerFields','not','writeGetFeature','1268163qkXquB','greaterThanOrEqualTo','88rEaIAe','initExtent','73460fyEMsU','equalTo','layerInfo','!==','EPSG:','initialExtent','470189mtPrif'];a46_0xe829=function(){return _0x21abc6;};return a46_0xe829();}import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';function a46_0x2854(_0x5deae9,_0x16ce43){const _0xe82972=a46_0xe829();return a46_0x2854=function(_0x28546f,_0x1a0678){_0x28546f=_0x28546f-0xb2;let _0x38452a=_0xe82972[_0x28546f];return _0x38452a;},a46_0x2854(_0x5deae9,_0x16ce43);}import a46_0x5a33ba from'../utils/format/CQL';import*as a46_0x1e2e33 from'ol/format/filter';export default class GeoserverWFSLayer extends a46_0x3112c9{constructor(_0x26a7fa,_0x2a9361){const _0x5e782a=a46_0x2854;let _0x10c6f7=registerProj(_0x5e782a(0xd3)+_0x2a9361[_0x5e782a(0xb7)]);const _0x5b35cc=_0x2a9361[_0x5e782a(0xc8)]['find'](_0x14af8c=>_0x14af8c['fieldType']==0x6);super({'zIndex':_0x26a7fa['mapIndex'],'source':new a46_0x3f6878({'format':new a46_0x5617be(),'loader':(_0x31f15e,_0x1024e8,_0x1b4dfc,_0x33ad7c,_0x3fd8b4)=>{const _0x5f278e=_0x5e782a;let _0x26d8d9=_0x26a7fa['loadFilter'],_0x466f43={'srsName':_0x1b4dfc[_0x5f278e(0xb6)](),'featureTypes':_0x26a7fa['sublayers'],'bbox':_0x31f15e,'geometryName':_0x5b35cc?_0x5b35cc[_0x5f278e(0xd8)]:'','outputFormat':'application/json'};_0x26d8d9&&(typeof _0x26d8d9===_0x5f278e(0xba)?_0x466f43[_0x5f278e(0xd6)]=new a46_0x5a33ba()['read'](_0x26d8d9):_0x466f43['filter']=this['parseFilter'](_0x26d8d9));var _0x248c35=new a46_0x57c964()[_0x5f278e(0xca)](_0x466f43);let _0xafc838=_0x26a7fa['url']?_0x26a7fa[_0x5f278e(0xe0)]:'';fetch(_0xafc838,{'method':'POST','body':new XMLSerializer()[_0x5f278e(0xd7)](_0x248c35)})['then'](_0x422ec0=>{const _0xa3255d=_0x5f278e;return _0x422ec0[_0xa3255d(0xdb)]();})[_0x5f278e(0xc1)](_0x477683=>{const _0x5295c0=_0x5f278e,_0x12fdf2=new a46_0x5617be()[_0x5295c0(0xbb)](_0x477683);let _0x37c85d=this[_0x5295c0(0xb4)]();_0x37c85d&&_0x37c85d[_0x5295c0(0xbd)](_0x12fdf2);if(_0x33ad7c)_0x33ad7c(_0x12fdf2);})['catch'](()=>{const _0x21752c=_0x5f278e;let _0x1a361e=this[_0x21752c(0xb4)]();_0x1a361e&&_0x1a361e[_0x21752c(0xc4)](_0x31f15e);if(_0x3fd8b4)_0x3fd8b4();});},'strategy':bbox})}),this['id']=_0x26a7fa['id'],this[_0x5e782a(0xd4)]=_0x2a9361[_0x5e782a(0xce)],this[_0x5e782a(0xb9)]=_0x10c6f7,this[_0x5e782a(0xd1)]=_0x26a7fa;}[a46_0x120738(0xd9)](_0x594612){const _0x32b010=a46_0x120738;if(!_0x594612[_0x32b010(0xc7)]){console[_0x32b010(0xb3)](_0x32b010(0xc2));return;}if(!_0x594612[_0x32b010(0xb8)]){console[_0x32b010(0xb3)]('param字段不存在');return;}let _0x5522f3=[];switch(_0x594612[_0x32b010(0xc7)][_0x32b010(0xc6)]()){case _0x32b010(0xb5):for(let _0x21e24e=0x0;_0x21e24e<_0x594612['param'][_0x32b010(0xc5)];_0x21e24e++){let _0x494dfc=this[_0x32b010(0xd9)](_0x594612[_0x32b010(0xb8)][_0x21e24e]);_0x5522f3[_0x32b010(0xb2)](_0x494dfc);}return a46_0x1e2e33[_0x32b010(0xb5)][_0x32b010(0xda)](null,_0x5522f3);case'or':for(let _0x3db689=0x0;_0x3db689<_0x594612[_0x32b010(0xb8)]['length'];_0x3db689++){let _0x44739d=this[_0x32b010(0xd9)](_0x594612[_0x32b010(0xb8)][_0x3db689]);_0x5522f3['push'](_0x44739d);}return a46_0x1e2e33['or'][_0x32b010(0xda)](null,_0x5522f3);case _0x32b010(0xc9):for(let _0x5086ca=0x0;_0x5086ca<_0x594612[_0x32b010(0xb8)][_0x32b010(0xc5)];_0x5086ca++){let _0x460403=this[_0x32b010(0xd9)](_0x594612[_0x32b010(0xb8)][_0x5086ca]);_0x5522f3[_0x32b010(0xb2)](_0x460403);}return a46_0x1e2e33[_0x32b010(0xc9)][_0x32b010(0xda)](null,_0x5522f3);case'=':return a46_0x1e2e33[_0x32b010(0xd0)](_0x594612['param'][0x0],_0x594612[_0x32b010(0xb8)][0x1]);case _0x32b010(0xd2):return a46_0x1e2e33[_0x32b010(0xc3)](_0x594612[_0x32b010(0xb8)][0x0],_0x594612[_0x32b010(0xb8)][0x1]);case'>':return a46_0x1e2e33[_0x32b010(0xbf)](_0x594612[_0x32b010(0xb8)][0x0],_0x594612[_0x32b010(0xb8)][0x1]);case'<':return a46_0x1e2e33[_0x32b010(0xdf)](_0x594612[_0x32b010(0xb8)][0x0],_0x594612[_0x32b010(0xb8)][0x1]);case'>=':return a46_0x1e2e33[_0x32b010(0xcc)](_0x594612[_0x32b010(0xb8)][0x0],_0x594612[_0x32b010(0xb8)][0x1]);case'<=':return a46_0x1e2e33[_0x32b010(0xbe)](_0x594612['param'][0x0],_0x594612[_0x32b010(0xb8)][0x1]);case _0x32b010(0xde):return a46_0x1e2e33[_0x32b010(0xde)](_0x594612[_0x32b010(0xb8)][0x0],_0x594612[_0x32b010(0xb8)][0x1],_0x594612[_0x32b010(0xb8)][0x2]);}}}
1
+ function a46_0x5b8d(_0x4963ed,_0x486881){const _0x71a054=a46_0x71a0();return a46_0x5b8d=function(_0x5b8db8,_0x250838){_0x5b8db8=_0x5b8db8-0xc9;let _0x4a825b=_0x71a054[_0x5b8db8];return _0x4a825b;},a46_0x5b8d(_0x4963ed,_0x486881);}const a46_0x677a19=a46_0x5b8d;(function(_0x40c898,_0x16f430){const _0x33fe6c=a46_0x5b8d,_0x356051=_0x40c898();while(!![]){try{const _0x43b4a2=-parseInt(_0x33fe6c(0xf3))/0x1+-parseInt(_0x33fe6c(0xe2))/0x2+parseInt(_0x33fe6c(0xe1))/0x3*(-parseInt(_0x33fe6c(0xe5))/0x4)+-parseInt(_0x33fe6c(0xdb))/0x5*(-parseInt(_0x33fe6c(0xca))/0x6)+-parseInt(_0x33fe6c(0xf2))/0x7+-parseInt(_0x33fe6c(0xde))/0x8+parseInt(_0x33fe6c(0xe6))/0x9;if(_0x43b4a2===_0x16f430)break;else _0x356051['push'](_0x356051['shift']());}catch(_0x111285){_0x356051['push'](_0x356051['shift']());}}}(a46_0x71a0,0xc8b08));function a46_0x71a0(){const _0x5d20e7=['49392270CyzBIu','between','lessThanOrEqualTo','writeGetFeature','serializeToString','catch','warn','readFeatures','find','string','mapIndex','and','3007760IlsAPN','1481876qtXnYt','layerInfo','param','toLowerCase','parseFilter','layerFields','removeLoadedExtent','name','sublayers','getCode','150PNrSZi','initExtent','then','apply','projection','push','application/json','greaterThanOrEqualTo','getSource','type','url','loadFilter','type字段不存在','param字段不存在','!==','EPSG:','fieldType','52700JaChAW','greaterThan','read','12599584WJfuZr','equalTo','length','11769xETQim','1497262THRCEO','filter','json','708RTaNPG'];a46_0x71a0=function(){return _0x5d20e7;};return a46_0x71a0();}import a46_0x54bffd from'ol/source/Vector';import a46_0x2831f8 from'ol/format/GeoJSON';import{Vector as a46_0x4ff623}from'ol/layer';import a46_0x18136a from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a46_0x5c33c0 from'../utils/format/CQL';import*as a46_0x4b7a2a from'ol/format/filter';export default class GeoserverWFSLayer extends a46_0x4ff623{constructor(_0x5677e8,_0x3a6432){const _0x41da26=a46_0x5b8d;let _0x553939=registerProj(_0x41da26(0xd9)+_0x3a6432['wkid']);const _0x17d7e5=_0x3a6432[_0x41da26(0xf8)][_0x41da26(0xee)](_0x4f86c6=>_0x4f86c6[_0x41da26(0xda)]==0x6);super({'zIndex':_0x5677e8[_0x41da26(0xf0)],'source':new a46_0x54bffd({'format':new a46_0x2831f8(),'loader':(_0x3bd4da,_0x2e28ed,_0x458925,_0x4e5c47,_0x2cbdc1)=>{const _0x2aee70=_0x41da26;let _0x19c20e=_0x5677e8[_0x2aee70(0xd5)],_0x250909={'srsName':_0x458925[_0x2aee70(0xc9)](),'featureTypes':_0x5677e8[_0x2aee70(0xfb)],'bbox':_0x3bd4da,'geometryName':_0x17d7e5?_0x17d7e5[_0x2aee70(0xfa)]:'','outputFormat':_0x2aee70(0xd0)};_0x19c20e&&(typeof _0x19c20e===_0x2aee70(0xef)?_0x250909[_0x2aee70(0xe3)]=new a46_0x5c33c0()[_0x2aee70(0xdd)](_0x19c20e):_0x250909[_0x2aee70(0xe3)]=this[_0x2aee70(0xf7)](_0x19c20e));var _0x14614b=new a46_0x18136a()[_0x2aee70(0xe9)](_0x250909);let _0x4b3b7c=_0x5677e8[_0x2aee70(0xd4)]?_0x5677e8[_0x2aee70(0xd4)]:'';fetch(_0x4b3b7c,{'method':'POST','body':new XMLSerializer()[_0x2aee70(0xea)](_0x14614b)})['then'](_0x111e76=>{const _0x20056c=_0x2aee70;return _0x111e76[_0x20056c(0xe4)]();})[_0x2aee70(0xcc)](_0x3f7308=>{const _0x353fe2=_0x2aee70,_0x565655=new a46_0x2831f8()[_0x353fe2(0xed)](_0x3f7308);let _0x46bb6a=this[_0x353fe2(0xd2)]();_0x46bb6a&&_0x46bb6a['addFeatures'](_0x565655);if(_0x4e5c47)_0x4e5c47(_0x565655);})[_0x2aee70(0xeb)](()=>{const _0x35b063=_0x2aee70;let _0x1f1670=this[_0x35b063(0xd2)]();_0x1f1670&&_0x1f1670[_0x35b063(0xf9)](_0x3bd4da);if(_0x2cbdc1)_0x2cbdc1();});},'strategy':bbox})}),this['id']=_0x5677e8['id'],this['initialExtent']=_0x3a6432[_0x41da26(0xcb)],this[_0x41da26(0xce)]=_0x553939,this[_0x41da26(0xf4)]=_0x5677e8;}[a46_0x677a19(0xf7)](_0x3c27c8){const _0x3beda6=a46_0x677a19;if(!_0x3c27c8[_0x3beda6(0xd3)]){console['warn'](_0x3beda6(0xd6));return;}if(!_0x3c27c8[_0x3beda6(0xf5)]){console[_0x3beda6(0xec)](_0x3beda6(0xd7));return;}let _0x227216=[];switch(_0x3c27c8[_0x3beda6(0xd3)][_0x3beda6(0xf6)]()){case _0x3beda6(0xf1):for(let _0x1f0895=0x0;_0x1f0895<_0x3c27c8[_0x3beda6(0xf5)][_0x3beda6(0xe0)];_0x1f0895++){let _0x575567=this['parseFilter'](_0x3c27c8[_0x3beda6(0xf5)][_0x1f0895]);_0x227216[_0x3beda6(0xcf)](_0x575567);}return a46_0x4b7a2a['and'][_0x3beda6(0xcd)](null,_0x227216);case'or':for(let _0x91a22a=0x0;_0x91a22a<_0x3c27c8[_0x3beda6(0xf5)][_0x3beda6(0xe0)];_0x91a22a++){let _0x154e23=this['parseFilter'](_0x3c27c8[_0x3beda6(0xf5)][_0x91a22a]);_0x227216[_0x3beda6(0xcf)](_0x154e23);}return a46_0x4b7a2a['or']['apply'](null,_0x227216);case'not':for(let _0x1c61fc=0x0;_0x1c61fc<_0x3c27c8['param'][_0x3beda6(0xe0)];_0x1c61fc++){let _0x54af1a=this[_0x3beda6(0xf7)](_0x3c27c8[_0x3beda6(0xf5)][_0x1c61fc]);_0x227216[_0x3beda6(0xcf)](_0x54af1a);}return a46_0x4b7a2a['not'][_0x3beda6(0xcd)](null,_0x227216);case'=':return a46_0x4b7a2a[_0x3beda6(0xdf)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case _0x3beda6(0xd8):return a46_0x4b7a2a['notEqualTo'](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case'>':return a46_0x4b7a2a[_0x3beda6(0xdc)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case'<':return a46_0x4b7a2a['lessThan'](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case'>=':return a46_0x4b7a2a[_0x3beda6(0xd1)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8['param'][0x1]);case'<=':return a46_0x4b7a2a[_0x3beda6(0xe8)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case _0x3beda6(0xe7):return a46_0x4b7a2a[_0x3beda6(0xe7)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8['param'][0x1],_0x3c27c8[_0x3beda6(0xf5)][0x2]);}}}
@@ -1 +1 @@
1
- const a47_0x5235cf=a47_0xca4c;(function(_0x9dc5f7,_0x51d255){const _0x291149=a47_0xca4c,_0x2bddc3=_0x9dc5f7();while(!![]){try{const _0x342510=parseInt(_0x291149(0x93))/0x1+-parseInt(_0x291149(0x8c))/0x2*(-parseInt(_0x291149(0x8b))/0x3)+parseInt(_0x291149(0x89))/0x4+parseInt(_0x291149(0x97))/0x5+-parseInt(_0x291149(0x8d))/0x6+-parseInt(_0x291149(0x8f))/0x7*(-parseInt(_0x291149(0x94))/0x8)+parseInt(_0x291149(0x91))/0x9*(-parseInt(_0x291149(0x83))/0xa);if(_0x342510===_0x51d255)break;else _0x2bddc3['push'](_0x2bddc3['shift']());}catch(_0xc63321){_0x2bddc3['push'](_0x2bddc3['shift']());}}}(a47_0x2a6a,0x6c0f3));import{ImageWMS as a47_0x106f25}from'ol/source';import{Image as a47_0x383077}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a47_0xca4c(_0x4bcfa3,_0xa0b676){const _0x2a6a61=a47_0x2a6a();return a47_0xca4c=function(_0xca4c35,_0x437385){_0xca4c35=_0xca4c35-0x83;let _0xb2e7ff=_0x2a6a61[_0xca4c35];return _0xb2e7ff;},a47_0xca4c(_0x4bcfa3,_0xa0b676);}export default class GeoserverWMSLayer extends a47_0x383077{constructor(_0x49ab46,_0x2f6def){const _0x1cba16=a47_0xca4c;var _0x58f7ef;let _0x1751a2=registerProj('EPSG:'+_0x2f6def[_0x1cba16(0x92)]),_0x5e36c5={'LAYERS':(_0x58f7ef=_0x49ab46[_0x1cba16(0x95)])===null||_0x58f7ef===void 0x0?void 0x0:_0x58f7ef[_0x1cba16(0x8e)](','),'VERSION':_0x1cba16(0x85)};_0x49ab46[_0x1cba16(0x8a)]&&(_0x5e36c5[_0x1cba16(0x96)]=_0x49ab46[_0x1cba16(0x8a)]),super({'opacity':_0x49ab46[_0x1cba16(0x98)],'zIndex':_0x49ab46[_0x1cba16(0x84)],'source':new a47_0x106f25({'crossOrigin':'anonymous','url':_0x49ab46['url'],'params':_0x5e36c5})}),this['id']=_0x49ab46['id'],this['initialExtent']=_0x2f6def['initExtent'],this[_0x1cba16(0x88)]=_0x1751a2,this['layerInfo']=_0x49ab46;}[a47_0x5235cf(0x86)](){}[a47_0x5235cf(0x87)](_0x31b34f){const _0x17a65f=a47_0x5235cf;var _0x31c118;(_0x31c118=this[_0x17a65f(0x90)]())===null||_0x31c118===void 0x0?void 0x0:_0x31c118['updateParams']({'CQL_FILTER':_0x31b34f});}}function a47_0x2a6a(){const _0x438133=['774287nSoCqA','16rWvqtW','sublayers','CQL_FILTER','3507945UCPlwi','opacity','10KiGiDH','mapIndex','1.1.0','refresh','setFilter','projection','17720etMzLv','loadFilter','349383kbrGTM','12DODwCi','3941448kLrfMM','join','2085013NFGpvl','getSource','15077439JiNBCI','wkid'];a47_0x2a6a=function(){return _0x438133;};return a47_0x2a6a();}
1
+ const a47_0x132621=a47_0x3a03;(function(_0x327c0f,_0x3c7503){const _0xcead1b=a47_0x3a03,_0x59a105=_0x327c0f();while(!![]){try{const _0x1d62e2=-parseInt(_0xcead1b(0xbd))/0x1*(-parseInt(_0xcead1b(0xc5))/0x2)+parseInt(_0xcead1b(0xc3))/0x3+-parseInt(_0xcead1b(0xc9))/0x4*(parseInt(_0xcead1b(0xbb))/0x5)+parseInt(_0xcead1b(0xc1))/0x6*(-parseInt(_0xcead1b(0xb3))/0x7)+parseInt(_0xcead1b(0xc8))/0x8*(-parseInt(_0xcead1b(0xc6))/0x9)+-parseInt(_0xcead1b(0xb4))/0xa*(parseInt(_0xcead1b(0xc7))/0xb)+parseInt(_0xcead1b(0xc2))/0xc;if(_0x1d62e2===_0x3c7503)break;else _0x59a105['push'](_0x59a105['shift']());}catch(_0x4e263c){_0x59a105['push'](_0x59a105['shift']());}}}(a47_0xb809,0x1badb));import{ImageWMS as a47_0x504599}from'ol/source';function a47_0x3a03(_0x34102e,_0x47b505){const _0xb809f4=a47_0xb809();return a47_0x3a03=function(_0x3a030c,_0x3c3feb){_0x3a030c=_0x3a030c-0xb0;let _0x12a4ab=_0xb809f4[_0x3a030c];return _0x12a4ab;},a47_0x3a03(_0x34102e,_0x47b505);}import{Image as a47_0x1120bc}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a47_0x1120bc{constructor(_0x11a8d8,_0x75bb0f){const _0x4751f8=a47_0x3a03;var _0x5a8ba4;let _0x2cab36=registerProj('EPSG:'+_0x75bb0f[_0x4751f8(0xbf)]),_0x53e52a={'LAYERS':(_0x5a8ba4=_0x11a8d8[_0x4751f8(0xb7)])===null||_0x5a8ba4===void 0x0?void 0x0:_0x5a8ba4[_0x4751f8(0xbe)](','),'VERSION':'1.1.0'};_0x11a8d8[_0x4751f8(0xc4)]&&(_0x53e52a[_0x4751f8(0xb6)]=_0x11a8d8['loadFilter']),super({'opacity':_0x11a8d8['opacity'],'zIndex':_0x11a8d8[_0x4751f8(0xb2)],'source':new a47_0x504599({'crossOrigin':_0x4751f8(0xb1),'url':_0x11a8d8[_0x4751f8(0xca)],'params':_0x53e52a})}),this['id']=_0x11a8d8['id'],this[_0x4751f8(0xb0)]=_0x75bb0f[_0x4751f8(0xbc)],this[_0x4751f8(0xb8)]=_0x2cab36,this[_0x4751f8(0xba)]=_0x11a8d8;}[a47_0x132621(0xc0)](){}['setFilter'](_0x3af766){const _0x30961e=a47_0x132621;var _0x475efa;(_0x475efa=this[_0x30961e(0xb5)]())===null||_0x475efa===void 0x0?void 0x0:_0x475efa[_0x30961e(0xb9)]({'CQL_FILTER':_0x3af766});}}function a47_0xb809(){const _0x424c9f=['sublayers','projection','updateParams','layerInfo','5UqSpIj','initExtent','426KcWHwB','join','wkid','refresh','48972WoNfBf','4040652SccDeA','350529ceopAQ','loadFilter','206itZAuy','18xJDurh','8008CtoRBH','522000byNkEX','38708lWPhQS','url','initialExtent','anonymous','mapIndex','133KpwidW','1220KMbkff','getSource','CQL_FILTER'];a47_0xb809=function(){return _0x424c9f;};return a47_0xb809();}
@@ -1 +1 @@
1
- (function(_0x3276d8,_0x3b6fc7){const _0x10b2fb=a48_0x2d06,_0x324e32=_0x3276d8();while(!![]){try{const _0x2bcb17=-parseInt(_0x10b2fb(0xe5))/0x1*(parseInt(_0x10b2fb(0xeb))/0x2)+-parseInt(_0x10b2fb(0xe2))/0x3+-parseInt(_0x10b2fb(0xdd))/0x4*(-parseInt(_0x10b2fb(0xe1))/0x5)+-parseInt(_0x10b2fb(0xe9))/0x6*(-parseInt(_0x10b2fb(0xe3))/0x7)+parseInt(_0x10b2fb(0xdc))/0x8+parseInt(_0x10b2fb(0xed))/0x9*(parseInt(_0x10b2fb(0xe8))/0xa)+-parseInt(_0x10b2fb(0xe7))/0xb;if(_0x2bcb17===_0x3b6fc7)break;else _0x324e32['push'](_0x324e32['shift']());}catch(_0x164bae){_0x324e32['push'](_0x324e32['shift']());}}}(a48_0x2f09,0x839d7));function a48_0x2f09(){const _0x4eb23e=['layerInfo','tileMatrixSet','5839096OLJgaj','8116ZUKIax','boundingBoxExtent','mapIndex','projection','65cXFZfS','86124MjuFEJ','753172ZYToKZ','sourceXml','1mpEdlg','opacity','18085628KTNBel','5910isIryH','48IhSeNk','解析元数据失败','48898MJCVDT','sublayers','9432ykZFQX','image/png'];a48_0x2f09=function(){return _0x4eb23e;};return a48_0x2f09();}import a48_0x2048bb from'ol/layer/Tile';function a48_0x2d06(_0x368a9a,_0x2ec23e){const _0x2f091e=a48_0x2f09();return a48_0x2d06=function(_0x2d067a,_0x3f6165){_0x2d067a=_0x2d067a-0xdc;let _0x3a3bc3=_0x2f091e[_0x2d067a];return _0x3a3bc3;},a48_0x2d06(_0x368a9a,_0x2ec23e);}import a48_0x2fe0c1,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a48_0x2048bb{constructor(_0x36f9c2,_0x25f772){const _0x3bdc72=a48_0x2d06;var _0x4ce8b8;const _0x268b0c='EPSG:'+_0x25f772['wkid'];let _0x14d320=registerProj(_0x268b0c);if(!_0x14d320)throw new Error('未找到投影信息');const _0x55e6ab=optionsFromCapabilities(_0x25f772[_0x3bdc72(0xe4)],{'layer':(_0x4ce8b8=_0x36f9c2[_0x3bdc72(0xec)])===null||_0x4ce8b8===void 0x0?void 0x0:_0x4ce8b8[0x0],'matrixSet':_0x25f772[_0x3bdc72(0xf0)],'format':_0x3bdc72(0xee)});if(!_0x55e6ab)throw new Error(_0x3bdc72(0xea));super({'opacity':_0x36f9c2[_0x3bdc72(0xe6)],'zIndex':_0x36f9c2[_0x3bdc72(0xdf)],'source':new a48_0x2fe0c1(_0x55e6ab)}),this['id']=_0x36f9c2['id'],this['initialExtent']=_0x25f772[_0x3bdc72(0xde)],this[_0x3bdc72(0xe0)]=_0x14d320,this[_0x3bdc72(0xef)]=_0x36f9c2;}}
1
+ function a48_0x25a1(_0xac79f9,_0x17a273){const _0x34f2b0=a48_0x34f2();return a48_0x25a1=function(_0x25a1a4,_0x411622){_0x25a1a4=_0x25a1a4-0x99;let _0x1967b9=_0x34f2b0[_0x25a1a4];return _0x1967b9;},a48_0x25a1(_0xac79f9,_0x17a273);}(function(_0x6ba531,_0xc12912){const _0x546430=a48_0x25a1,_0x449f39=_0x6ba531();while(!![]){try{const _0x2e6138=parseInt(_0x546430(0xa2))/0x1+-parseInt(_0x546430(0xa8))/0x2*(parseInt(_0x546430(0xa5))/0x3)+parseInt(_0x546430(0xa9))/0x4*(-parseInt(_0x546430(0x9f))/0x5)+parseInt(_0x546430(0xa4))/0x6*(parseInt(_0x546430(0x9d))/0x7)+parseInt(_0x546430(0xac))/0x8+-parseInt(_0x546430(0xa6))/0x9+parseInt(_0x546430(0xaa))/0xa*(parseInt(_0x546430(0x9e))/0xb);if(_0x2e6138===_0xc12912)break;else _0x449f39['push'](_0x449f39['shift']());}catch(_0x469b45){_0x449f39['push'](_0x449f39['shift']());}}}(a48_0x34f2,0xdc06b));import a48_0x435dc8 from'ol/layer/Tile';import a48_0x51f4d9,{optionsFromCapabilities}from'ol/source/WMTS.js';function a48_0x34f2(){const _0x40a71f=['解析元数据失败','335428CPTXIv','boundingBoxExtent','6UrrnTD','2326854HPQVWh','4107429UjDxXK','sublayers','2AnlJsJ','2733268BtWAJj','420860BTSFOG','mapIndex','5231424ovzjtu','EPSG:','image/png','tileMatrixSet','sourceXml','1006229gxlJza','440okSrbN','5bhDfQl','wkid'];a48_0x34f2=function(){return _0x40a71f;};return a48_0x34f2();}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a48_0x435dc8{constructor(_0x44c4cb,_0x504835){const _0x5afd18=a48_0x25a1;var _0x3e3c39;const _0x12c9ad=_0x5afd18(0x99)+_0x504835[_0x5afd18(0xa0)];let _0x3ca0e2=registerProj(_0x12c9ad);if(!_0x3ca0e2)throw new Error('未找到投影信息');const _0x24f16b=optionsFromCapabilities(_0x504835[_0x5afd18(0x9c)],{'layer':(_0x3e3c39=_0x44c4cb[_0x5afd18(0xa7)])===null||_0x3e3c39===void 0x0?void 0x0:_0x3e3c39[0x0],'matrixSet':_0x504835[_0x5afd18(0x9b)],'format':_0x5afd18(0x9a)});if(!_0x24f16b)throw new Error(_0x5afd18(0xa1));super({'opacity':_0x44c4cb['opacity'],'zIndex':_0x44c4cb[_0x5afd18(0xab)],'source':new a48_0x51f4d9(_0x24f16b)}),this['id']=_0x44c4cb['id'],this['initialExtent']=_0x504835[_0x5afd18(0xa3)],this['projection']=_0x3ca0e2,this['layerInfo']=_0x44c4cb;}}
@@ -1 +1 @@
1
- const a50_0x28c4ed=a50_0x1c11;(function(_0x46f580,_0xa27b94){const _0x2eb9e4=a50_0x1c11,_0x58e58e=_0x46f580();while(!![]){try{const _0x282b3e=-parseInt(_0x2eb9e4(0xd4))/0x1*(parseInt(_0x2eb9e4(0xcf))/0x2)+-parseInt(_0x2eb9e4(0xdd))/0x3+parseInt(_0x2eb9e4(0xd0))/0x4+-parseInt(_0x2eb9e4(0xdf))/0x5+parseInt(_0x2eb9e4(0xcd))/0x6+-parseInt(_0x2eb9e4(0xda))/0x7+-parseInt(_0x2eb9e4(0xdb))/0x8*(-parseInt(_0x2eb9e4(0xce))/0x9);if(_0x282b3e===_0xa27b94)break;else _0x58e58e['push'](_0x58e58e['shift']());}catch(_0x39a7ea){_0x58e58e['push'](_0x58e58e['shift']());}}}(a50_0x53c0,0x92a66));import a50_0x5491b9 from'./ArcgisDynamicLayer';import a50_0x3cd8ae from'./ArcgisFeatureLayer';import a50_0x1125f5 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x246078 from'./ArcgisTileLayer';import a50_0x1bfcba from'./GeoserverWMSLayer';import a50_0x2e0910 from'./GeoserverWMTSLayer';import a50_0x562475 from'./ArcgisWMSLayer';import a50_0xbfebf6 from'./ArcgisWMTSLayer';function a50_0x1c11(_0x1a4421,_0x4dabe0){const _0x53c0fa=a50_0x53c0();return a50_0x1c11=function(_0x1c111f,_0x35dd6c){_0x1c111f=_0x1c111f-0xcd;let _0x3c23f3=_0x53c0fa[_0x1c111f];return _0x3c23f3;},a50_0x1c11(_0x1a4421,_0x4dabe0);}import a50_0x388067 from'./GeoserverWFSLayer';function a50_0x53c0(){const _0xc94d34=['getArcgisWmsLayer','sublayers','getTDTLayer','getGeoserverVectorTileLayer','3527587iQcYdy','16988184HXcnng','getGeoserverWFSLayer','3122457VHFuAW','length','4979955jZBdPB','push','2223246neoKTO','9bfaEyh','2710gFJEjX','2697860GIFzGk','getDynamicLayer','getArcgisTileLayer','url','20UlrAir','getGeoserverWMTSLayer'];a50_0x53c0=function(){return _0xc94d34;};return a50_0x53c0();}import a50_0x376522 from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x28c4ed(0xd1)](_0x4c120e){const _0x58d4a9=a50_0x28c4ed,_0x116881=await getDynamicLayerInfo(_0x4c120e['url']?_0x4c120e[_0x58d4a9(0xd3)]:'');let _0x1baa19=new a50_0x5491b9(_0x4c120e,_0x116881);return _0x1baa19;}static async[a50_0x28c4ed(0xd2)](_0x4e28b7){const _0x4f3952=a50_0x28c4ed,_0x2d30c2=await getDynamicLayerInfo(_0x4e28b7[_0x4f3952(0xd3)]?_0x4e28b7[_0x4f3952(0xd3)]:'');let _0x1c1e86=new a50_0x246078(_0x4e28b7,_0x2d30c2);return _0x1c1e86;}static async['getArcgisFeatureLayer'](_0x4d215b){const _0x182626=a50_0x28c4ed,_0x2c08d1=await getDynamicLayerInfo(_0x4d215b[_0x182626(0xd3)]?_0x4d215b[_0x182626(0xd3)]:'');let _0x1e8ae6=[];if(_0x4d215b[_0x182626(0xd7)])for(let _0x12ca08=0x0;_0x12ca08<_0x4d215b['sublayers'][_0x182626(0xde)];_0x12ca08++){const _0x3cf586=_0x4d215b[_0x182626(0xd7)][_0x12ca08];_0x1e8ae6[_0x182626(0xe0)](await getFeatureLayerInfo(_0x4d215b['url']?_0x4d215b[_0x182626(0xd3)]:'',_0x3cf586));}let _0x1c9ca5=new a50_0x3cd8ae(_0x4d215b,_0x2c08d1,_0x1e8ae6);return _0x1c9ca5;}static async[a50_0x28c4ed(0xd6)](_0x198053){const _0x134bb0=a50_0x28c4ed;var _0x201a68;const _0x5353a3=(_0x201a68=_0x198053[_0x134bb0(0xd7)])===null||_0x201a68===void 0x0?void 0x0:_0x201a68[0x0],_0x103d7f=await getWMSLayerCapabilities(_0x198053[_0x134bb0(0xd3)]?_0x198053['url']:'',_0x5353a3==null?'':_0x5353a3);let _0x450ab5=new a50_0x562475(_0x198053,_0x103d7f);return _0x450ab5;}static async['getArcgisWMTSLayer'](_0x304870){const _0x106766=a50_0x28c4ed;var _0x3c4844;const _0x574d6c=(_0x3c4844=_0x304870[_0x106766(0xd7)])===null||_0x3c4844===void 0x0?void 0x0:_0x3c4844[0x0],_0x49e8a0=await getWMTSLayerCapabilities(_0x304870['url']?_0x304870['url']:'',_0x574d6c==null?'':_0x574d6c);let _0x305d17=new a50_0xbfebf6(_0x304870,_0x49e8a0);return _0x305d17;}static async['getGeoserverWmsLayer'](_0x8507e3){const _0x244eb7=a50_0x28c4ed;var _0x5ee49b;const _0x37482c=(_0x5ee49b=_0x8507e3['sublayers'])===null||_0x5ee49b===void 0x0?void 0x0:_0x5ee49b[0x0],_0x2ca0d8=await getWMSLayerCapabilities(_0x8507e3[_0x244eb7(0xd3)]?_0x8507e3[_0x244eb7(0xd3)]:'',_0x37482c==null?'':_0x37482c);let _0x5a27b7=new a50_0x1bfcba(_0x8507e3,_0x2ca0d8);return _0x5a27b7;}static async[a50_0x28c4ed(0xd5)](_0x5d4137){const _0x3939c6=a50_0x28c4ed;var _0x596fb9;const _0x4b8742=(_0x596fb9=_0x5d4137[_0x3939c6(0xd7)])===null||_0x596fb9===void 0x0?void 0x0:_0x596fb9[0x0],_0x2df3d2=await getWMTSLayerCapabilities(_0x5d4137[_0x3939c6(0xd3)]?_0x5d4137[_0x3939c6(0xd3)]:'',_0x4b8742==null?'':_0x4b8742);let _0x443f93=new a50_0x2e0910(_0x5d4137,_0x2df3d2);return _0x443f93;}static async[a50_0x28c4ed(0xdc)](_0x5327d0){const _0x30bedf=a50_0x28c4ed;var _0x4825f5;const _0x4bd47c=(_0x4825f5=_0x5327d0['sublayers'])===null||_0x4825f5===void 0x0?void 0x0:_0x4825f5[0x0],_0x341c44=await getWFSLayerCapabilities(_0x5327d0[_0x30bedf(0xd3)]?_0x5327d0[_0x30bedf(0xd3)]:'',_0x4bd47c==null?'':_0x4bd47c);let _0x49b0a3=new a50_0x388067(_0x5327d0,_0x341c44);return _0x49b0a3;}static async[a50_0x28c4ed(0xd9)](_0x579abe){const _0x3d8142=a50_0x28c4ed;var _0x2e2261;const _0x56ef4b=(_0x2e2261=_0x579abe[_0x3d8142(0xd7)])===null||_0x2e2261===void 0x0?void 0x0:_0x2e2261[0x0],_0x49d90d=await getWMTSLayerCapabilities(_0x579abe['url']?_0x579abe[_0x3d8142(0xd3)]:'',_0x56ef4b==null?'':_0x56ef4b);let _0x19f37a=new a50_0x376522(_0x579abe,_0x49d90d);return _0x19f37a;}static async[a50_0x28c4ed(0xd8)](_0x5516b3){const _0x132a7f=a50_0x28c4ed;var _0x2e9296;const _0xb86e07=(_0x2e9296=_0x5516b3[_0x132a7f(0xd7)])===null||_0x2e9296===void 0x0?void 0x0:_0x2e9296[0x0],_0x19ac59=await getWMTSLayerCapabilities(_0x5516b3['url']?_0x5516b3['url']:'',_0xb86e07==null?'':_0xb86e07);let _0x5d2b26=new a50_0x1125f5(_0x5516b3,_0x19ac59);return _0x5d2b26;}}
1
+ const a50_0x1ad8be=a50_0x3cd4;function a50_0x6cac(){const _0x37d696=['getGeoserverWFSLayer','9616720ZDvXqF','getArcgisFeatureLayer','getArcgisWmsLayer','1VVSwwL','1096125MSNFaB','url','push','length','sublayers','getGeoserverWmsLayer','getGeoserverVectorTileLayer','583962VxdBSv','3726331nANQhx','getDynamicLayer','4952tafnlL','30pvfjFA','getTDTLayer','144yvONOP','1049652YPNPgV','getArcgisWMTSLayer','298495eoXtWk'];a50_0x6cac=function(){return _0x37d696;};return a50_0x6cac();}(function(_0x12b6f5,_0x5e0b01){const _0x43eb67=a50_0x3cd4,_0x45c52e=_0x12b6f5();while(!![]){try{const _0x2b65eb=-parseInt(_0x43eb67(0xb8))/0x1*(-parseInt(_0x43eb67(0xc0))/0x2)+-parseInt(_0x43eb67(0xb9))/0x3+parseInt(_0x43eb67(0xb1))/0x4+parseInt(_0x43eb67(0xb3))/0x5*(-parseInt(_0x43eb67(0xc4))/0x6)+-parseInt(_0x43eb67(0xc1))/0x7+parseInt(_0x43eb67(0xc3))/0x8*(-parseInt(_0x43eb67(0xb0))/0x9)+parseInt(_0x43eb67(0xb5))/0xa;if(_0x2b65eb===_0x5e0b01)break;else _0x45c52e['push'](_0x45c52e['shift']());}catch(_0xbb8007){_0x45c52e['push'](_0x45c52e['shift']());}}}(a50_0x6cac,0x4bac7));import a50_0x56da4e from'./ArcgisDynamicLayer';import a50_0x2f8c81 from'./ArcgisFeatureLayer';function a50_0x3cd4(_0xe5b6f7,_0x1f4497){const _0x6cacd=a50_0x6cac();return a50_0x3cd4=function(_0x3cd44c,_0x1c3743){_0x3cd44c=_0x3cd44c-0xaf;let _0x9342c4=_0x6cacd[_0x3cd44c];return _0x9342c4;},a50_0x3cd4(_0xe5b6f7,_0x1f4497);}import a50_0x15b17b from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x100696 from'./ArcgisTileLayer';import a50_0x10354b from'./GeoserverWMSLayer';import a50_0x57b402 from'./GeoserverWMTSLayer';import a50_0x52ce4b from'./ArcgisWMSLayer';import a50_0x402884 from'./ArcgisWMTSLayer';import a50_0x536109 from'./GeoserverWFSLayer';import a50_0x3e56db from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x1ad8be(0xc2)](_0x97f25f){const _0x3758d6=a50_0x1ad8be,_0x2a02cf=await getDynamicLayerInfo(_0x97f25f[_0x3758d6(0xba)]?_0x97f25f[_0x3758d6(0xba)]:'');let _0x3191e5=new a50_0x56da4e(_0x97f25f,_0x2a02cf);return _0x3191e5;}static async['getArcgisTileLayer'](_0x59dd36){const _0x21aa33=a50_0x1ad8be,_0x2fb9f2=await getDynamicLayerInfo(_0x59dd36['url']?_0x59dd36[_0x21aa33(0xba)]:'');let _0x15a02f=new a50_0x100696(_0x59dd36,_0x2fb9f2);return _0x15a02f;}static async[a50_0x1ad8be(0xb6)](_0x2893d8){const _0x4dacd5=a50_0x1ad8be,_0x4fd155=await getDynamicLayerInfo(_0x2893d8[_0x4dacd5(0xba)]?_0x2893d8[_0x4dacd5(0xba)]:'');let _0x3db273=[];if(_0x2893d8[_0x4dacd5(0xbd)])for(let _0x1b8a4f=0x0;_0x1b8a4f<_0x2893d8[_0x4dacd5(0xbd)][_0x4dacd5(0xbc)];_0x1b8a4f++){const _0x4c2a0e=_0x2893d8[_0x4dacd5(0xbd)][_0x1b8a4f];_0x3db273[_0x4dacd5(0xbb)](await getFeatureLayerInfo(_0x2893d8[_0x4dacd5(0xba)]?_0x2893d8[_0x4dacd5(0xba)]:'',_0x4c2a0e));}let _0x3d8b6b=new a50_0x2f8c81(_0x2893d8,_0x4fd155,_0x3db273);return _0x3d8b6b;}static async[a50_0x1ad8be(0xb7)](_0x14906a){const _0x3940ff=a50_0x1ad8be;var _0x42e006;const _0x49b86b=(_0x42e006=_0x14906a[_0x3940ff(0xbd)])===null||_0x42e006===void 0x0?void 0x0:_0x42e006[0x0],_0x1baf26=await getWMSLayerCapabilities(_0x14906a[_0x3940ff(0xba)]?_0x14906a[_0x3940ff(0xba)]:'',_0x49b86b==null?'':_0x49b86b);let _0x14d19e=new a50_0x52ce4b(_0x14906a,_0x1baf26);return _0x14d19e;}static async[a50_0x1ad8be(0xb2)](_0x3a3901){const _0x4060e3=a50_0x1ad8be;var _0x554be0;const _0x5ea02a=(_0x554be0=_0x3a3901[_0x4060e3(0xbd)])===null||_0x554be0===void 0x0?void 0x0:_0x554be0[0x0],_0x2c9be9=await getWMTSLayerCapabilities(_0x3a3901['url']?_0x3a3901['url']:'',_0x5ea02a==null?'':_0x5ea02a);let _0x1e2367=new a50_0x402884(_0x3a3901,_0x2c9be9);return _0x1e2367;}static async[a50_0x1ad8be(0xbe)](_0x34f510){const _0x193e5a=a50_0x1ad8be;var _0x2a37f8;const _0x29f7b3=(_0x2a37f8=_0x34f510[_0x193e5a(0xbd)])===null||_0x2a37f8===void 0x0?void 0x0:_0x2a37f8[0x0],_0x4e5128=await getWMSLayerCapabilities(_0x34f510[_0x193e5a(0xba)]?_0x34f510[_0x193e5a(0xba)]:'',_0x29f7b3==null?'':_0x29f7b3);let _0x5a73cb=new a50_0x10354b(_0x34f510,_0x4e5128);return _0x5a73cb;}static async['getGeoserverWMTSLayer'](_0xb4e235){const _0x34d57f=a50_0x1ad8be;var _0x4c6cae;const _0x2e6096=(_0x4c6cae=_0xb4e235[_0x34d57f(0xbd)])===null||_0x4c6cae===void 0x0?void 0x0:_0x4c6cae[0x0],_0x1c5de9=await getWMTSLayerCapabilities(_0xb4e235[_0x34d57f(0xba)]?_0xb4e235[_0x34d57f(0xba)]:'',_0x2e6096==null?'':_0x2e6096);let _0x214a02=new a50_0x57b402(_0xb4e235,_0x1c5de9);return _0x214a02;}static async[a50_0x1ad8be(0xb4)](_0x47e3ed){const _0xb430d4=a50_0x1ad8be;var _0x58ad22;const _0x3a1027=(_0x58ad22=_0x47e3ed[_0xb430d4(0xbd)])===null||_0x58ad22===void 0x0?void 0x0:_0x58ad22[0x0],_0x2c0d8d=await getWFSLayerCapabilities(_0x47e3ed[_0xb430d4(0xba)]?_0x47e3ed[_0xb430d4(0xba)]:'',_0x3a1027==null?'':_0x3a1027);let _0x2cc112=new a50_0x536109(_0x47e3ed,_0x2c0d8d);return _0x2cc112;}static async[a50_0x1ad8be(0xbf)](_0x5a1c99){const _0x4a2554=a50_0x1ad8be;var _0x33b4a3;const _0x3cf68b=(_0x33b4a3=_0x5a1c99['sublayers'])===null||_0x33b4a3===void 0x0?void 0x0:_0x33b4a3[0x0],_0x18596e=await getWMTSLayerCapabilities(_0x5a1c99[_0x4a2554(0xba)]?_0x5a1c99[_0x4a2554(0xba)]:'',_0x3cf68b==null?'':_0x3cf68b);let _0x1f1081=new a50_0x3e56db(_0x5a1c99,_0x18596e);return _0x1f1081;}static async[a50_0x1ad8be(0xaf)](_0x34b788){const _0x366187=a50_0x1ad8be;var _0x2df6b9;const _0x36e360=(_0x2df6b9=_0x34b788['sublayers'])===null||_0x2df6b9===void 0x0?void 0x0:_0x2df6b9[0x0],_0xbb6fdd=await getWMTSLayerCapabilities(_0x34b788['url']?_0x34b788[_0x366187(0xba)]:'',_0x36e360==null?'':_0x36e360);let _0x39dc9a=new a50_0x15b17b(_0x34b788,_0xbb6fdd);return _0x39dc9a;}}
@@ -1 +1 @@
1
- (function(_0xd8bd81,_0x455406){const _0x498835=a51_0x3608,_0x4c81da=_0xd8bd81();while(!![]){try{const _0x47fb6c=parseInt(_0x498835(0x175))/0x1*(-parseInt(_0x498835(0x16a))/0x2)+-parseInt(_0x498835(0x167))/0x3*(parseInt(_0x498835(0x17a))/0x4)+parseInt(_0x498835(0x169))/0x5*(-parseInt(_0x498835(0x161))/0x6)+-parseInt(_0x498835(0x16c))/0x7+parseInt(_0x498835(0x162))/0x8*(-parseInt(_0x498835(0x171))/0x9)+parseInt(_0x498835(0x173))/0xa*(-parseInt(_0x498835(0x170))/0xb)+parseInt(_0x498835(0x178))/0xc*(parseInt(_0x498835(0x165))/0xd);if(_0x47fb6c===_0x455406)break;else _0x4c81da['push'](_0x4c81da['shift']());}catch(_0x6b41a0){_0x4c81da['push'](_0x4c81da['shift']());}}}(a51_0x13d0,0xcc669));import a51_0x4b54bb from'ol/layer/Tile';function a51_0x3608(_0x445379,_0x20a95e){const _0x13d02a=a51_0x13d0();return a51_0x3608=function(_0x3608df,_0xcf917b){_0x3608df=_0x3608df-0x161;let _0x42f6a2=_0x13d02a[_0x3608df];return _0x42f6a2;},a51_0x3608(_0x445379,_0x20a95e);}import{WMTS as a51_0x1c0e33}from'ol/source';import a51_0x1fc2e2 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x4b54bb{constructor(_0x484f7f,_0x3c3096){const _0x43a36d=a51_0x3608;let _0x41e353='';_0x484f7f[_0x43a36d(0x16b)]&&_0x484f7f['sublayers'][_0x43a36d(0x16d)]>0x0&&(_0x41e353=_0x484f7f[_0x43a36d(0x16b)][_0x43a36d(0x168)](','));const _0x1fa8e3='EPSG:4490';let _0x3c5f54=registerProj(_0x1fa8e3);const _0x1ff489=[],_0x1aa6a7=[];for(let _0x5f3890=0x1;_0x5f3890<0x13;_0x5f3890++){_0x1ff489[_0x5f3890]=getWidth(_0x3c3096['boundingBoxExtent'])/(0x100*Math[_0x43a36d(0x172)](0x2,_0x5f3890)),_0x1aa6a7[_0x5f3890]=_0x5f3890+'';}super({'opacity':_0x484f7f[_0x43a36d(0x16f)],'zIndex':_0x484f7f['mapIndex'],'source':new a51_0x1c0e33({'style':_0x3c3096['style'],'url':_0x484f7f[_0x43a36d(0x166)],'tileGrid':new a51_0x1fc2e2({'origin':getTopLeft(_0x3c3096[_0x43a36d(0x179)]),'resolutions':_0x1ff489,'matrixIds':_0x1aa6a7}),'layer':_0x41e353,'matrixSet':_0x3c3096[_0x43a36d(0x164)],'version':_0x43a36d(0x174),'format':_0x3c3096[_0x43a36d(0x176)][0x0],'projection':_0x1fa8e3,'requestEncoding':_0x43a36d(0x16e)})}),this['id']=_0x484f7f['id'],this[_0x43a36d(0x177)]=_0x3c3096[_0x43a36d(0x179)],this[_0x43a36d(0x163)]=_0x3c5f54,this['layerInfo']=_0x484f7f;}}function a51_0x13d0(){const _0x189bc8=['67818413hRLmXE','url','3mGpJCi','join','15XmpIkv','6382DPsEnN','sublayers','3794574YWJtGU','length','KVP','opacity','386771ZUOkeM','811449KqDwNl','pow','470CSqsHN','1.0.0','23sUWwgj','format','initialExtent','12LBQhbd','boundingBoxExtent','201784HaGoyI','1056702tZSKQa','136KHcoJA','projection','tileMatrixSet'];a51_0x13d0=function(){return _0x189bc8;};return a51_0x13d0();}
1
+ (function(_0x41364b,_0xee9a7a){const _0x96271a=a51_0x6824,_0x3375f7=_0x41364b();while(!![]){try{const _0x2b8962=-parseInt(_0x96271a(0x1db))/0x1+-parseInt(_0x96271a(0x1e2))/0x2*(parseInt(_0x96271a(0x1cd))/0x3)+parseInt(_0x96271a(0x1de))/0x4+-parseInt(_0x96271a(0x1ce))/0x5+-parseInt(_0x96271a(0x1e0))/0x6*(-parseInt(_0x96271a(0x1d8))/0x7)+-parseInt(_0x96271a(0x1d5))/0x8*(parseInt(_0x96271a(0x1d2))/0x9)+-parseInt(_0x96271a(0x1e3))/0xa*(-parseInt(_0x96271a(0x1dd))/0xb);if(_0x2b8962===_0xee9a7a)break;else _0x3375f7['push'](_0x3375f7['shift']());}catch(_0x1d6b17){_0x3375f7['push'](_0x3375f7['shift']());}}}(a51_0x5092,0xdce44));import a51_0x490f11 from'ol/layer/Tile';function a51_0x6824(_0x317536,_0x48d059){const _0x5092e8=a51_0x5092();return a51_0x6824=function(_0x6824b4,_0x33618e){_0x6824b4=_0x6824b4-0x1cd;let _0x21a80d=_0x5092e8[_0x6824b4];return _0x21a80d;},a51_0x6824(_0x317536,_0x48d059);}import{WMTS as a51_0x160ff5}from'ol/source';function a51_0x5092(){const _0xa2865d=['format','8872803OoUkoy','style','1.0.0','8OicgPd','initialExtent','boundingBoxExtent','21AbXixQ','EPSG:4490','pow','797931IAAxHc','KVP','11OvLghe','5355912epolBK','mapIndex','69366SXMytI','layerInfo','500036yKRarG','37144410HkztvX','tileMatrixSet','15HQzxSE','5747210KAYNAm','sublayers','length'];a51_0x5092=function(){return _0xa2865d;};return a51_0x5092();}import a51_0x109333 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x490f11{constructor(_0x49c4f0,_0x10d02b){const _0x443875=a51_0x6824;let _0x15a6cf='';_0x49c4f0[_0x443875(0x1cf)]&&_0x49c4f0[_0x443875(0x1cf)][_0x443875(0x1d0)]>0x0&&(_0x15a6cf=_0x49c4f0[_0x443875(0x1cf)]['join'](','));const _0xb66de3=_0x443875(0x1d9);let _0x49c989=registerProj(_0xb66de3);const _0x2b0a84=[],_0x3f1584=[];for(let _0x8dbac3=0x1;_0x8dbac3<0x13;_0x8dbac3++){_0x2b0a84[_0x8dbac3]=getWidth(_0x10d02b[_0x443875(0x1d7)])/(0x100*Math[_0x443875(0x1da)](0x2,_0x8dbac3)),_0x3f1584[_0x8dbac3]=_0x8dbac3+'';}super({'opacity':_0x49c4f0['opacity'],'zIndex':_0x49c4f0[_0x443875(0x1df)],'source':new a51_0x160ff5({'style':_0x10d02b[_0x443875(0x1d3)],'url':_0x49c4f0['url'],'tileGrid':new a51_0x109333({'origin':getTopLeft(_0x10d02b['boundingBoxExtent']),'resolutions':_0x2b0a84,'matrixIds':_0x3f1584}),'layer':_0x15a6cf,'matrixSet':_0x10d02b[_0x443875(0x1e4)],'version':_0x443875(0x1d4),'format':_0x10d02b[_0x443875(0x1d1)][0x0],'projection':_0xb66de3,'requestEncoding':_0x443875(0x1dc)})}),this['id']=_0x49c4f0['id'],this[_0x443875(0x1d6)]=_0x10d02b['boundingBoxExtent'],this['projection']=_0x49c989,this[_0x443875(0x1e1)]=_0x49c4f0;}}