ym-gis-2d 1.0.13 → 1.0.15

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_0x3a0ba6=a37_0x1470;(function(_0x3a47f9,_0x464c5b){const _0x1fced7=a37_0x1470,_0x1c0518=_0x3a47f9();while(!![]){try{const _0x176dde=parseInt(_0x1fced7(0xee))/0x1+parseInt(_0x1fced7(0xe6))/0x2+parseInt(_0x1fced7(0xe5))/0x3+parseInt(_0x1fced7(0x113))/0x4+-parseInt(_0x1fced7(0x136))/0x5+parseInt(_0x1fced7(0x105))/0x6+parseInt(_0x1fced7(0x12c))/0x7*(parseInt(_0x1fced7(0x123))/0x8);if(_0x176dde===_0x464c5b)break;else _0x1c0518['push'](_0x1c0518['shift']());}catch(_0x3bd02c){_0x1c0518['push'](_0x1c0518['shift']());}}}(a37_0x335b,0xc4331));import a37_0x24d5bf from'ol/events/Event';import a37_0x11c7a2 from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';function a37_0x1470(_0x4f331d,_0x114c30){const _0x335b28=a37_0x335b();return a37_0x1470=function(_0x1470c8,_0x20bb3b){_0x1470c8=_0x1470c8-0xe0;let _0x3d1017=_0x335b28[_0x1470c8];return _0x3d1017;},a37_0x1470(_0x4f331d,_0x114c30);}import a37_0x2ceed0 from'ol/Feature';import a37_0x472052,{createEditingStyle}from'ol/style/Style';import a37_0x432151 from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a37_0x511165 from'ol/style/Text';import a37_0xfdf786 from'ol/style/Fill';import a37_0x566ae4 from'ol/interaction/Property';import a37_0x3891b3 from'ol/layer/Vector';import a37_0x366744 from'../entity/GeometryType';const DrawEventType={'DRAWSTART':'drawstart','DRAWEND':a37_0x3a0ba6(0x126),'DRAWABORT':a37_0x3a0ba6(0x103),'DRAWADDPOINT':a37_0x3a0ba6(0x130),'DRAWMOVING':a37_0x3a0ba6(0x11c)};export class DrawEvent extends a37_0x24d5bf{constructor(_0x1638de,_0x12c75d,_0x53d23d){const _0x116380=a37_0x3a0ba6;super(_0x1638de),this[_0x116380(0x121)]=_0x12c75d,this['coordinates']=_0x53d23d;}}export class ShEvent extends a37_0x24d5bf{constructor(_0x4e7f9e,_0x2d992d,_0x483973,_0x354b97,_0xba2d38){const _0x5c957e=a37_0x3a0ba6;super(_0x4e7f9e),this['projection']=_0xba2d38,this[_0x5c957e(0x10b)]=_0x2d992d,this[_0x5c957e(0x12a)]=_0x483973,this[_0x5c957e(0xe7)]=_0x354b97;}}export default class Draw extends a37_0x11c7a2{constructor(_0x330c30,_0x26b821){const _0x50ae9c=a37_0x3a0ba6,_0x239af1=_0x26b821?_0x26b821:{};!_0x239af1[_0x50ae9c(0xf8)]&&(_0x239af1[_0x50ae9c(0xf8)]=![]);super(_0x26b821),this['on']=this['onInternal'],this[_0x50ae9c(0xf4)]=this[_0x50ae9c(0x139)],this['un']=this['unInternal'],this[_0x50ae9c(0x143)]=![],this[_0x50ae9c(0x12b)]=_0x330c30,this[_0x50ae9c(0x133)]=_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821[_0x50ae9c(0x109)],this[_0x50ae9c(0x115)]=_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821[_0x50ae9c(0x13b)],this[_0x50ae9c(0x12f)]=_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821[_0x50ae9c(0xff)];const _0x232520=getPlotCount(this[_0x50ae9c(0x12b)]);this[_0x50ae9c(0x13a)]=_0x232520[_0x50ae9c(0x12e)],this[_0x50ae9c(0xf6)]=_0x232520[_0x50ae9c(0x134)],this[_0x50ae9c(0x11a)]=_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821['tipText'],this['_showTip']=(_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821['showTip'])==![]?![]:!![],this[_0x50ae9c(0x119)]=_0x239af1['snapTolerance']?_0x239af1[_0x50ae9c(0x13d)]:0x6,this[_0x50ae9c(0x10d)]=new a37_0x2ceed0(),this[_0x50ae9c(0xe0)]=new a37_0x472052({'text':new a37_0x511165({'font':_0x50ae9c(0x141),'fill':new a37_0xfdf786({'color':_0x50ae9c(0xed)}),'backgroundFill':new a37_0xfdf786({'color':_0x50ae9c(0x122)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x50ae9c(0xf9),'offsetX':0xf})}),this[_0x50ae9c(0xe1)]=[],this[_0x50ae9c(0x132)]=new a37_0x3891b3({'source':new a37_0x432151({'useSpatialIndex':![],'wrapX':(_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821['wrapX'])?_0x26b821[_0x50ae9c(0x11b)]:![]})}),this[_0x50ae9c(0x110)]=new a37_0x3891b3({'source':new a37_0x432151({'useSpatialIndex':![],'wrapX':(_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821[_0x50ae9c(0x11b)])?_0x26b821['wrapX']:![]}),'updateWhileInteracting':!![]}),this[_0x50ae9c(0x13f)](a37_0x566ae4[_0x50ae9c(0xfc)],this['updateState_']);}[a37_0x3a0ba6(0xfa)](){const _0x1ddb71=a37_0x3a0ba6,_0x48c821=this[_0x1ddb71(0x131)](),_0x101e4c=this[_0x1ddb71(0x116)]();(!_0x48c821||!_0x101e4c)&&this[_0x1ddb71(0x10f)](),this[_0x1ddb71(0x110)][_0x1ddb71(0xe3)](_0x101e4c?_0x48c821:null),this[_0x1ddb71(0x132)][_0x1ddb71(0xe3)](_0x101e4c?_0x48c821:null);}[a37_0x3a0ba6(0xe3)](_0x5387a7){const _0xe0f149=a37_0x3a0ba6;super[_0xe0f149(0xe3)](_0x5387a7),this[_0xe0f149(0xfa)]();}[a37_0x3a0ba6(0xf5)](_0x3325f9){const _0x5d9af4=a37_0x3a0ba6;this[_0x5d9af4(0x133)]=_0x3325f9?_0x3325f9:{};}[a37_0x3a0ba6(0x140)](){return this['_overlay'];}['handleDownEvent'](_0x4378d2){const _0xe05d1c=a37_0x3a0ba6;if(_0x4378d2[_0xe05d1c(0xe9)][_0xe05d1c(0x108)]===0x2)return _0x4378d2[_0xe05d1c(0xe9)]['preventDefault'](),this['revert'](),this[_0xe05d1c(0xe8)](_0x4378d2),![];return!![];}['handleUpEvent'](_0x29c8f4){const _0x125949=a37_0x3a0ba6;var _0x2582eb,_0x49a2e9;if(this['_type']=='rectangle'&&this[_0x125949(0xe1)]['length']<0x1)return this[_0x125949(0xef)](new DrawEvent(DrawEventType[_0x125949(0x10c)],undefined,[_0x29c8f4[_0x125949(0x12a)]])),![];if(!this[_0x125949(0x143)])this[_0x125949(0x124)](_0x29c8f4['coordinate']),this[_0x125949(0xef)](new ShEvent(DrawEventType[_0x125949(0x112)],this[_0x125949(0x12b)],_0x29c8f4[_0x125949(0x12a)],this[_0x125949(0xe1)],(_0x2582eb=this[_0x125949(0x131)]())===null||_0x2582eb===void 0x0?void 0x0:_0x2582eb['getView']()[_0x125949(0x142)]()[_0x125949(0xfd)]())),this[_0x125949(0x12b)]==_0x125949(0x138)&&this[_0x125949(0x114)]();else{if(this[_0x125949(0xe1)]&&this[_0x125949(0xe1)][_0x125949(0xfe)]>0x0){if(this[_0x125949(0x11d)](_0x29c8f4[_0x125949(0xf7)]))return this['finishDrawing'](),_0x29c8f4[_0x125949(0x128)](),![];let _0x55a406=this[_0x125949(0xe1)][_0x125949(0xfe)]+0x1;_0x55a406<=this[_0x125949(0xf6)]&&this[_0x125949(0x106)](_0x29c8f4['coordinate']),this[_0x125949(0xef)](new ShEvent(DrawEventType[_0x125949(0x112)],this[_0x125949(0x12b)],_0x29c8f4[_0x125949(0x12a)],this[_0x125949(0xe1)],(_0x49a2e9=this[_0x125949(0x131)]())===null||_0x49a2e9===void 0x0?void 0x0:_0x49a2e9[_0x125949(0x127)]()[_0x125949(0x142)]()[_0x125949(0xfd)]())),_0x55a406>=this['_minPoints']&&this[_0x125949(0xe4)](this['_drawingCoordinates']),_0x55a406===this[_0x125949(0xf6)]&&this[_0x125949(0x114)]();}}return _0x29c8f4['preventDefault'](),![];}[a37_0x3a0ba6(0x102)](_0x1a44e0){const _0xf1bcf3=a37_0x3a0ba6;var _0x51cda2;if(this['_type']=='rectangle'&&_0x1a44e0['originalEvent']['type']=='pointermove'){if(!this[_0xf1bcf3(0x143)]){this[_0xf1bcf3(0x124)](_0x1a44e0[_0xf1bcf3(0x12a)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0xf1bcf3(0x112)],this['_type'],_0x1a44e0[_0xf1bcf3(0x12a)],this[_0xf1bcf3(0xe1)],(_0x51cda2=this['getMap']())===null||_0x51cda2===void 0x0?void 0x0:_0x51cda2[_0xf1bcf3(0x127)]()['getProjection']()['getCode']()));return;}let _0x4d7625=[...this['_drawingCoordinates'],_0x1a44e0[_0xf1bcf3(0x12a)]];this[_0xf1bcf3(0xe4)](_0x4d7625),this[_0xf1bcf3(0xef)](new DrawEvent(DrawEventType[_0xf1bcf3(0x104)],this[_0xf1bcf3(0x135)],this['_drawingCoordinates']));}}[a37_0x3a0ba6(0xe8)](_0xadadbe){const _0x466003=a37_0x3a0ba6;var _0x39a951,_0x524234,_0x521a6d;let _0x130dc0='';this[_0x466003(0x12b)]==_0x466003(0xf2)&&(this[_0x466003(0x124)](_0xadadbe[_0x466003(0x12a)]),this[_0x466003(0xef)](new ShEvent(DrawEventType[_0x466003(0x112)],this[_0x466003(0x12b)],_0xadadbe[_0x466003(0x12a)],this[_0x466003(0xe1)],(_0x39a951=this[_0x466003(0x131)]())===null||_0x39a951===void 0x0?void 0x0:_0x39a951[_0x466003(0x127)]()['getProjection']()['getCode']())),this['finishDrawing']());!this['_isStayDraw']?_0x130dc0=this['_type']==_0x466003(0x117)?'单击拖动绘制':_0x466003(0x120):(_0x130dc0='单击增加点,右击删除点',((_0x524234=this[_0x466003(0xe1)])===null||_0x524234===void 0x0?void 0x0:_0x524234['length'])===this['_fixPoint']-0x1&&(_0x130dc0='单击结束绘制,右击删除点'),((_0x521a6d=this['_drawingCoordinates'])===null||_0x521a6d===void 0x0?void 0x0:_0x521a6d[_0x466003(0xfe)])>=this[_0x466003(0x13a)]&&this[_0x466003(0xf6)]===Number[_0x466003(0x11e)]&&(_0x130dc0=_0x466003(0x137)));this[_0x466003(0x11a)]!=undefined&&(_0x130dc0=this[_0x466003(0x11a)]);this[_0x466003(0x11f)](_0xadadbe['coordinate'],_0x130dc0);if(this['_isStayDraw']&&this[_0x466003(0x12b)]!=_0x466003(0x117)){let _0xd0a950=[...this[_0x466003(0xe1)],_0xadadbe[_0x466003(0x12a)]];this[_0x466003(0xe4)](_0xd0a950),this['dispatchEvent'](new DrawEvent(DrawEventType[_0x466003(0x104)],this[_0x466003(0x135)],this['_drawingCoordinates']));}}[a37_0x3a0ba6(0x11d)](_0x49a8ac){const _0x20c446=a37_0x3a0ba6;var _0x1b1e4b;let _0xd21894=![],_0x1ec490=this['_drawingCoordinates']['length'];if(_0x1ec490>this['_minPoints']&&this[_0x20c446(0xf6)]===Number[_0x20c446(0x11e)]){const _0x40ac38=this[_0x20c446(0xe1)][this['_drawingCoordinates'][_0x20c446(0xfe)]-0x1],_0x4c159d=(_0x1b1e4b=this[_0x20c446(0x131)]())===null||_0x1b1e4b===void 0x0?void 0x0:_0x1b1e4b['getPixelFromCoordinate'](_0x40ac38),_0x516671=_0x49a8ac[0x0]-(_0x4c159d?_0x4c159d[0x0]:0x0),_0x3940d7=_0x49a8ac[0x1]-(_0x4c159d?_0x4c159d[0x1]:0x0);_0xd21894=Math[_0x20c446(0x101)](_0x516671*_0x516671+_0x3940d7*_0x3940d7)<=this['_snapTolerance'];}return _0xd21894;}[a37_0x3a0ba6(0x124)](_0x536032){const _0x10da00=a37_0x3a0ba6;this[_0x10da00(0x143)]=!![],this['_drawingCoordinates']=[_0x536032['slice']()],this[_0x10da00(0x135)]=this[_0x10da00(0xf1)](),this['updateSketchFeatures_'](),this[_0x10da00(0xef)](new DrawEvent(DrawEventType[_0x10da00(0x107)],this['_sketchFeature'],this['_drawingCoordinates']));}['finishDrawing'](){const _0x1c7f1a=a37_0x3a0ba6;if(this[_0x1c7f1a(0xe1)][_0x1c7f1a(0xfe)]>this['_minPoints']){this[_0x1c7f1a(0xe4)](this[_0x1c7f1a(0xe1)]);let _0x4aa70c=this[_0x1c7f1a(0xe1)];const _0x47b981=this[_0x1c7f1a(0x13e)]();if(!_0x47b981)return;this[_0x1c7f1a(0xef)](new DrawEvent(DrawEventType[_0x1c7f1a(0x10c)],_0x47b981,_0x4aa70c)),this[_0x1c7f1a(0x12f)]&&this[_0x1c7f1a(0x12f)]['push'](_0x47b981),this[_0x1c7f1a(0x115)]&&this['_source'][_0x1c7f1a(0x129)](_0x47b981);}}[a37_0x3a0ba6(0x106)](_0x5a8f70){const _0x5e38fe=a37_0x3a0ba6;this['_drawingCoordinates'][_0x5e38fe(0x13c)](_0x5a8f70),this['_sketchFeature']=this[_0x5e38fe(0xf1)](),this[_0x5e38fe(0xec)]();}[a37_0x3a0ba6(0xf1)](){const _0x5af631=a37_0x3a0ba6,_0x1f7678=new MultiPoint(this[_0x5af631(0xe1)]);let _0xedcd27=new a37_0x2ceed0();return _0xedcd27['setGeometry'](_0x1f7678),_0xedcd27;}[a37_0x3a0ba6(0x13e)](){const _0x5dfb15=a37_0x3a0ba6;var _0x219253,_0x4b2548;this['_isStayDraw']=![];const _0x5baf79=this[_0x5dfb15(0x135)];return this[_0x5dfb15(0x135)]=undefined,this[_0x5dfb15(0xe1)]=[],(_0x219253=this[_0x5dfb15(0x110)]['getSource']())===null||_0x219253===void 0x0?void 0x0:_0x219253[_0x5dfb15(0x125)](!![]),(_0x4b2548=this[_0x5dfb15(0x132)]['getSource']())===null||_0x4b2548===void 0x0?void 0x0:_0x4b2548['clear'](!![]),_0x5baf79;}[a37_0x3a0ba6(0x10f)](){const _0x22e3eb=a37_0x3a0ba6,_0x48289c=this[_0x22e3eb(0x13e)]();_0x48289c&&this[_0x22e3eb(0xef)](new DrawEvent(DrawEventType['DRAWABORT'],_0x48289c,this[_0x22e3eb(0xe1)]));}[a37_0x3a0ba6(0xe4)](_0x45af5d){const _0x35b34e=a37_0x3a0ba6;this[_0x35b34e(0x135)]=new a37_0x2ceed0();let _0xe3be85=createPlot(this[_0x35b34e(0x12b)],_0x45af5d);if(!_0xe3be85)return;this[_0x35b34e(0x135)]['setGeometry'](_0xe3be85);let _0x376d6a=[a37_0x366744['Circle'],a37_0x366744[_0x35b34e(0x100)],a37_0x366744[_0x35b34e(0x111)]];if(_0x376d6a[_0x35b34e(0xea)](this['_type'])>-0x1&&this[_0x35b34e(0x133)]){}const _0x4da9eb=this[_0x35b34e(0x131)]();this[_0x35b34e(0x135)][_0x35b34e(0xf5)](getStyle(this[_0x35b34e(0x12b)],this[_0x35b34e(0x133)],this['getMap']())),this[_0x35b34e(0xec)]();}[a37_0x3a0ba6(0xec)](){const _0x29a003=a37_0x3a0ba6,_0x233049=this[_0x29a003(0x110)]['getSource']();_0x233049&&this['_sketchFeature']&&(_0x233049['clear'](!![]),_0x233049[_0x29a003(0x129)](this['_sketchFeature']));}[a37_0x3a0ba6(0xfb)](){const _0x30c0ec=a37_0x3a0ba6;if(this[_0x30c0ec(0x143)]){if(this[_0x30c0ec(0xe1)]&&this[_0x30c0ec(0xe1)][_0x30c0ec(0xfe)]>0x0){const _0x1efd8b=this[_0x30c0ec(0x110)][_0x30c0ec(0x10a)]();_0x1efd8b===null||_0x1efd8b===void 0x0?void 0x0:_0x1efd8b[_0x30c0ec(0x125)](!![]),this[_0x30c0ec(0xe1)][_0x30c0ec(0xe2)](),this[_0x30c0ec(0xe1)][_0x30c0ec(0xfe)]>=this['_minPoints']&&this['buildDrawingFeature'](this[_0x30c0ec(0xe1)]),this[_0x30c0ec(0xe1)][_0x30c0ec(0xfe)]===0x0&&(this['_isStayDraw']=![]);}}}[a37_0x3a0ba6(0x11f)](_0x2be45a,_0x19a334){const _0x1e46dc=a37_0x3a0ba6;var _0x553bd1,_0x151e91,_0x3007f2,_0x5c501c;if(!this[_0x1e46dc(0xeb)])return;const _0x138d67=this[_0x1e46dc(0x132)][_0x1e46dc(0x10a)]();_0x138d67===null||_0x138d67===void 0x0?void 0x0:_0x138d67[_0x1e46dc(0x125)](!![]),(_0x553bd1=this[_0x1e46dc(0x10d)])===null||_0x553bd1===void 0x0?void 0x0:_0x553bd1[_0x1e46dc(0x12d)](new Point(_0x2be45a)),(_0x3007f2=(_0x151e91=this[_0x1e46dc(0xe0)])===null||_0x151e91===void 0x0?void 0x0:_0x151e91['getText']())===null||_0x3007f2===void 0x0?void 0x0:_0x3007f2[_0x1e46dc(0xf0)](_0x19a334),(_0x5c501c=this[_0x1e46dc(0x10d)])===null||_0x5c501c===void 0x0?void 0x0:_0x5c501c[_0x1e46dc(0xf5)](this[_0x1e46dc(0xe0)]),this[_0x1e46dc(0x10d)]&&(_0x138d67===null||_0x138d67===void 0x0?void 0x0:_0x138d67['addFeature'](this[_0x1e46dc(0x10d)]));}}function a37_0x335b(){const _0x35bee1=['rectangle','getType','_snapTolerance','tipText','wrapX','drawmoving','atFinish_','MAX_VALUE','updateTip_','单击开始绘制','feature','rgba(0,\x200,\x200,\x200.4)','8WICMuw','startDrawing_','clear','drawend','getView','preventDefault','addFeature','coordinate','_type','566062vjYLDs','setGeometry','minPoint','_features','drawaddpoint','getMap','_tipOverlay','_style','fixPoint','_sketchFeature','3767455pjktyz','单击增加点,右击删除点双击完成绘制','point','onceInternal','_minPoints','source','push','snapTolerance','abortDrawing_','addChangeListener','getOverlay','12px\x20Calibre,sans-serif','getProjection','_isStayDraw','_tipStyle','_drawingCoordinates','pop','setMap','buildDrawingFeature','1283115Qzppvi','320532ysjLwI','coordinates','handleMoveEvent','originalEvent','indexOf','_showTip','updateSketchFeatures_','rgba(255,\x20255,\x20255,\x201)','239019AUrVRu','dispatchEvent','setText','createMultiPointFeature','pointermove','Rectangle','once','setStyle','_fixPoint','pixel','stopDown','left','updateState_','revert','ACTIVE','getCode','length','features','Ellipsoid','sqrt','handleDragEvent','drawabort','DRAWMOVING','535482nJNRri','addPoint','DRAWSTART','button','style','getSource','type','DRAWEND','_tipFeature','getGeometry','abortDrawing','_overlay','Ellipse','DRAWADDPOINT','2240084qiHTyX','finishDrawing','_source','getActive'];a37_0x335b=function(){return _0x35bee1;};return a37_0x335b();}function getDefaultStyleFunction(){const _0x2ab551=createEditingStyle();return function(_0x5d1ec0,_0x292412){const _0x2194b4=a37_0x1470,_0x30e9ee=_0x2ab551[_0x5d1ec0[_0x2194b4(0x10e)]()['getType']()];if(_0x30e9ee&&_0x2194b4(0xf3)==_0x5d1ec0[_0x2194b4(0x10e)]()[_0x2194b4(0x118)]()){}};}
@@ -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_0x518daa=a38_0x3f29;(function(_0x22b962,_0x546808){const _0x42e02e=a38_0x3f29,_0x3b7792=_0x22b962();while(!![]){try{const _0x4a95b2=-parseInt(_0x42e02e(0x12e))/0x1*(parseInt(_0x42e02e(0x12a))/0x2)+-parseInt(_0x42e02e(0x131))/0x3*(-parseInt(_0x42e02e(0x128))/0x4)+-parseInt(_0x42e02e(0x122))/0x5+-parseInt(_0x42e02e(0x139))/0x6+-parseInt(_0x42e02e(0x137))/0x7*(-parseInt(_0x42e02e(0x123))/0x8)+parseInt(_0x42e02e(0x132))/0x9*(parseInt(_0x42e02e(0x130))/0xa)+parseInt(_0x42e02e(0x135))/0xb*(-parseInt(_0x42e02e(0x133))/0xc);if(_0x4a95b2===_0x546808)break;else _0x3b7792['push'](_0x3b7792['shift']());}catch(_0x1bced5){_0x3b7792['push'](_0x3b7792['shift']());}}}(a38_0xebd7,0x980f0));function a38_0x3f29(_0x951c28,_0x350089){const _0xebd776=a38_0xebd7();return a38_0x3f29=function(_0x3f29d3,_0x57d529){_0x3f29d3=_0x3f29d3-0x122;let _0x38ac26=_0xebd776[_0x3f29d3];return _0x38ac26;},a38_0x3f29(_0x951c28,_0x350089);}export default class InteractionManager{constructor(_0x48fbba){const _0x4e2985=a38_0x3f29;this[_0x4e2985(0x12d)]=_0x48fbba,this[_0x4e2985(0x125)]=new Map();}['addInteraction'](_0x4dfe0c,_0x500a43){const _0x5e3470=a38_0x3f29;this[_0x5e3470(0x125)][_0x5e3470(0x134)](_0x4dfe0c)&&this[_0x5e3470(0x12b)](_0x4dfe0c),_0x500a43[_0x5e3470(0x12c)](_0x5e3470(0x127),_0x4dfe0c),this[_0x5e3470(0x125)][_0x5e3470(0x12c)](_0x4dfe0c,_0x500a43),this[_0x5e3470(0x12d)][_0x5e3470(0x129)](_0x500a43);}[a38_0x518daa(0x12b)](_0x2c711f){const _0x77b74b=a38_0x518daa,_0x4be045=this[_0x77b74b(0x125)]['get'](_0x2c711f);_0x4be045&&(this[_0x77b74b(0x12d)][_0x77b74b(0x12b)](_0x4be045),this[_0x77b74b(0x125)][_0x77b74b(0x138)](_0x2c711f));}[a38_0x518daa(0x124)](){const _0x504bab=a38_0x518daa;this[_0x504bab(0x125)][_0x504bab(0x12f)](_0x3e0d16=>{const _0x50099a=_0x504bab;this[_0x50099a(0x12d)][_0x50099a(0x12b)](_0x3e0d16);}),this['interactions'][_0x504bab(0x136)]();}[a38_0x518daa(0x126)](_0x48970f){const _0x12c116=a38_0x518daa;return this[_0x12c116(0x125)]['get'](_0x48970f);}}function a38_0xebd7(){const _0x3a7300=['16BQieur','addInteraction','333054uqBBEU','removeInteraction','set','map','1jnkLkS','forEach','839430PirEQe','736215YUKmHH','18qZoVWU','11544ClIuaF','has','1243UKfkdI','clear','203hYHBHj','delete','5056368kGHoaA','1046870yJDJBo','220872blQFHB','removeAllInteractions','interactions','getInteraction','name'];a38_0xebd7=function(){return _0x3a7300;};return a38_0xebd7();}
@@ -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_0x2a213c=a39_0x23e4;(function(_0x19ec5c,_0x108bce){const _0x139839=a39_0x23e4,_0x3f25f3=_0x19ec5c();while(!![]){try{const _0x5c4202=parseInt(_0x139839(0x23c))/0x1*(-parseInt(_0x139839(0x1ff))/0x2)+parseInt(_0x139839(0x21d))/0x3*(parseInt(_0x139839(0x212))/0x4)+-parseInt(_0x139839(0x22c))/0x5+parseInt(_0x139839(0x220))/0x6*(-parseInt(_0x139839(0x221))/0x7)+-parseInt(_0x139839(0x21b))/0x8+-parseInt(_0x139839(0x204))/0x9*(parseInt(_0x139839(0x20c))/0xa)+parseInt(_0x139839(0x1f8))/0xb;if(_0x5c4202===_0x108bce)break;else _0x3f25f3['push'](_0x3f25f3['shift']());}catch(_0xa9b93d){_0x3f25f3['push'](_0x3f25f3['shift']());}}}(a39_0x4b7e,0xc69ba));import a39_0x28d901 from'./Draw';import a39_0x1c8a04 from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';import{Point}from'ol/geom';import a39_0x1b3ae1 from'../feature/FeatureManager';function a39_0x23e4(_0x1d5ed2,_0x386a51){const _0x4b7e66=a39_0x4b7e();return a39_0x23e4=function(_0x23e48f,_0x26e585){_0x23e48f=_0x23e48f-0x1ed;let _0x499c5d=_0x4b7e66[_0x23e48f];return _0x499c5d;},a39_0x23e4(_0x1d5ed2,_0x386a51);}import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';import{selectFeaturesByGeo}from'../utils/tasks';function a39_0x4b7e(){const _0x9eb89a=['MultiPolygon','39036426BNNKjC','url','addFeatures','fromType','canceLineStyle','getType','layerType','6XYCeIP','getGeometry','getMap','lineStyle','cancePointStyle','2306943etpami','allSelectedFeatures','push','keyup','selectedLineFeatures','import','selectTempLayer','layerId','40dzWeiT','keydown','selectIndex','onInternal','dispatchEvent','selectedPolygonFeatures','3092yAdbsQ','addTempLayer','SELECTED','polygonStyle','MultiPoint','includes','map','length','currentLayers','6008144DzqhHm','SELECTSTART','1791gUYmCM','MultiLineString','Point','38094rVATqe','889BaOIDa','selectLayer','lineFeatures','pointFeatures','selectGeom','setStyle','pixelDistance','message','getCode','selectstart','layerInfo','2987670saGecS','setSelectLayers','draw','drawaddpoint','LineString','getVisible','getPolygonTempLayer','seletctEditeFeature','pointStyle','filter','polygonFeatures','cancePolygonStyle','tempLayer','getSelectedFeatures','forEach','Polygon','5522cHqfwl','error','feature','drawabort','holdCtrl','union','getLineTempLayer','selectedPointFeatures','coordinates','getView','未获取到几何','drawend'];a39_0x4b7e=function(){return _0x9eb89a;};return a39_0x4b7e();}const SelectEventType={'DRAWSTART':'drawstart','DRAWEND':a39_0x2a213c(0x1f6),'DRAWABORT':a39_0x2a213c(0x1ee),'DRAWADDPOINT':a39_0x2a213c(0x22f),'DRAWMOVING':'drawmoving','SELECTSTART':a39_0x2a213c(0x22a),'SELECTED':'selected'};export class SelectEvent extends a39_0x1c8a04{constructor(_0x282245,_0x57e850,_0x32c579,_0x3f19ff,_0x57c672,_0x4bafc8,_0x3bc8b1,_0x35fb20,_0x692ab){const _0x5d087b=a39_0x2a213c;super(_0x282245),this[_0x5d087b(0x225)]=_0x32c579,this[_0x5d087b(0x1f3)]=_0x3f19ff,this[_0x5d087b(0x224)]=_0x57c672,this[_0x5d087b(0x223)]=_0x4bafc8,this[_0x5d087b(0x236)]=_0x3bc8b1,this['allFeatures']=_0x35fb20,this[_0x5d087b(0x23d)]=_0x692ab,this['holdCtrl']=_0x57e850;}}export default class Select extends a39_0x28d901{constructor(_0x5c75cd,_0x523941){const _0x176f36=a39_0x2a213c;super(_0x5c75cd,{'tipText':_0x523941===null||_0x523941===void 0x0?void 0x0:_0x523941['tipText']}),this[_0x176f36(0x1f2)]=[],this[_0x176f36(0x208)]=[],this[_0x176f36(0x211)]=[],this[_0x176f36(0x205)]=[];const _0x3fc3e7=_0x523941||{};this[_0x176f36(0x213)]=_0x3fc3e7[_0x176f36(0x213)]||![],this[_0x176f36(0x21a)]=_0x3fc3e7['selectLayers'],this[_0x176f36(0x20a)]=_0x3fc3e7[_0x176f36(0x20a)]===undefined?!![]:_0x3fc3e7[_0x176f36(0x20a)],this['pixelDistance']=_0x3fc3e7['pixelDistance']===undefined?0x5:_0x3fc3e7[_0x176f36(0x227)],this[_0x176f36(0x234)]=_0x3fc3e7[_0x176f36(0x234)]?getStyle(_0x3fc3e7[_0x176f36(0x234)]):getSelectPointStyle(),this[_0x176f36(0x203)]=_0x3fc3e7[_0x176f36(0x203)]?getStyle(_0x3fc3e7[_0x176f36(0x203)]):getSelectCancePointStyle(),this['lineStyle']=_0x3fc3e7[_0x176f36(0x202)]?getStyle(_0x3fc3e7['lineStyle']):getSelectLineStyle(),this[_0x176f36(0x1fc)]=_0x3fc3e7[_0x176f36(0x1fc)]?getStyle(_0x3fc3e7['canceLineStyle']):getSelectCancelLineStyle(),this['polygonStyle']=_0x3fc3e7['polygonStyle']?getStyle(_0x3fc3e7[_0x176f36(0x215)]):getSelectPolygonStyle(),this['cancePolygonStyle']=_0x3fc3e7[_0x176f36(0x237)]?getStyle(_0x3fc3e7[_0x176f36(0x237)]):getSelectCancelPolygonStyle(),this['holdCtrl']=![];let _0x270750;this['on']=this[_0x176f36(0x20f)],this['on'](_0x176f36(0x1f6),async _0x4f02f7=>{const _0x5d7e8a=_0x176f36,_0x668d55=this[_0x5d7e8a(0x1ef)],_0xa6daaa=this['getMap']();if(!_0xa6daaa)return;try{let _0x1be447=undefined;if(!_0x4f02f7[_0x5d7e8a(0x1ed)]&&_0x4f02f7[_0x5d7e8a(0x1f3)]&&_0x4f02f7['coordinates'][_0x5d7e8a(0x219)]==0x1)_0x1be447=bufferPixel(new Point(_0x4f02f7[_0x5d7e8a(0x1f3)][0x0]),this[_0x5d7e8a(0x227)],_0xa6daaa);else _0x4f02f7[_0x5d7e8a(0x1ed)]&&(_0x1be447=_0x4f02f7['feature'][_0x5d7e8a(0x200)]());if(!_0x1be447)throw new Error(_0x5d7e8a(0x1f5));this['dispatchEvent'](new SelectEvent(SelectEventType[_0x5d7e8a(0x21c)],_0x668d55,_0x1be447)),this[_0x5d7e8a(0x1f2)]=[],this[_0x5d7e8a(0x208)]=[],this[_0x5d7e8a(0x211)]=[],this['allSelectedFeatures']=[],this['selectTempLayer']&&this[_0x5d7e8a(0x233)](_0x1be447),_0x270750&&clearTimeout(_0x270750),_0x270750=setTimeout(async()=>{const _0x44d14e=_0x5d7e8a;await this['selectLayer'](_0x1be447),this[_0x44d14e(0x210)](new SelectEvent(SelectEventType[_0x44d14e(0x214)],_0x668d55,_0x1be447,_0x4f02f7[_0x44d14e(0x1f3)],this[_0x44d14e(0x1f2)],this[_0x44d14e(0x208)],this[_0x44d14e(0x211)],this[_0x44d14e(0x205)]));},0x46);}catch(_0x1400ed){this['dispatchEvent'](new SelectEvent(SelectEventType[_0x5d7e8a(0x214)],_0x668d55,undefined,_0x4f02f7['coordinates'],this[_0x5d7e8a(0x1f2)],this[_0x5d7e8a(0x208)],this[_0x5d7e8a(0x211)],this['allSelectedFeatures'],_0x1400ed[_0x5d7e8a(0x228)]));}}),window['addEventListener'](_0x176f36(0x20d),_0x118e9a=>{_0x118e9a['ctrlKey']&&(this['holdCtrl']=!![]);}),window['addEventListener'](_0x176f36(0x207),_0x28eb1b=>{this['holdCtrl']=![];});}[a39_0x2a213c(0x22d)](_0x5e63ff){const _0x44ec44=a39_0x2a213c;this[_0x44ec44(0x21a)]=_0x5e63ff;}async[a39_0x2a213c(0x222)](_0x11e4d1){const _0x1aebe8=a39_0x2a213c;var _0x4cddf2;const _0x37918f=this[_0x1aebe8(0x201)]();let _0x3f0440=[];if(this[_0x1aebe8(0x21a)]&&this[_0x1aebe8(0x21a)]['length']>0x0)_0x3f0440=this[_0x1aebe8(0x21a)];else{let _0x31fd3e=_0x37918f['getLayers']()['getArray']();_0x31fd3e=_0x31fd3e[_0x1aebe8(0x235)](_0x1b143f=>{const _0x3f3bc4=_0x1aebe8,_0x12f268=_0x1b143f[_0x3f3bc4(0x22b)];if(!_0x12f268)return![];return _0x1b143f[_0x3f3bc4(0x231)]()==!![]&&_0x12f268[_0x3f3bc4(0x20e)]!=undefined&&_0x12f268['selectIndex']!='';}),_0x3f0440=_0x31fd3e[_0x1aebe8(0x218)](_0x1cc510=>{const _0x4b4837=_0x1aebe8;return _0x1cc510[_0x4b4837(0x22b)];});}if(!_0x3f0440||_0x3f0440[_0x1aebe8(0x219)]==0x0)return;const _0xdf57e8=_0x37918f[_0x1aebe8(0x1f4)]()['getProjection']()[_0x1aebe8(0x229)]();for(let _0x181fc7=0x0,_0x2a75a2=_0x3f0440[_0x1aebe8(0x219)];_0x181fc7<_0x2a75a2;_0x181fc7++){const _0xb18acf=_0x3f0440[_0x181fc7];if(!_0xb18acf||!_0xb18acf[_0x1aebe8(0x1f9)]||!_0xb18acf[_0x1aebe8(0x20e)])continue;let _0x5f1fcc=await selectFeaturesByGeo(_0x11e4d1,_0xdf57e8,_0xb18acf[_0x1aebe8(0x1f9)],_0xb18acf[_0x1aebe8(0x20e)],_0xb18acf[_0x1aebe8(0x1fe)],_0xb18acf['loadFilter']);if(_0x5f1fcc['length']>0x0){this[_0x1aebe8(0x205)][_0x1aebe8(0x206)](..._0x5f1fcc);let _0x414fd1=_0x37918f[_0x1aebe8(0x232)](),_0xa22cd7=this['polygonStyle'];switch((_0x4cddf2=_0x5f1fcc[0x0][_0x1aebe8(0x200)]())===null||_0x4cddf2===void 0x0?void 0x0:_0x4cddf2[_0x1aebe8(0x1fd)]()){case _0x1aebe8(0x21f):case _0x1aebe8(0x216):this[_0x1aebe8(0x1f2)][_0x1aebe8(0x206)](..._0x5f1fcc),_0x414fd1=_0x37918f['getPointTempLayer'](),_0xa22cd7=this[_0x1aebe8(0x234)];break;case _0x1aebe8(0x230):case _0x1aebe8(0x21e):this[_0x1aebe8(0x208)]['push'](..._0x5f1fcc),_0x414fd1=_0x37918f[_0x1aebe8(0x1f1)](),_0xa22cd7=this[_0x1aebe8(0x202)];break;case'Polygon':case _0x1aebe8(0x1f7):this[_0x1aebe8(0x211)][_0x1aebe8(0x206)](..._0x5f1fcc),_0x414fd1=_0x37918f[_0x1aebe8(0x232)](),_0xa22cd7=this[_0x1aebe8(0x215)];break;default:break;}const _0x117eb9=_0x414fd1['getSource']();_0x117eb9&&(_0x5f1fcc[_0x1aebe8(0x23a)](_0x478dc8=>{const _0x37a2c3=_0x1aebe8;_0x478dc8[_0x37a2c3(0x20b)]=_0xb18acf['id'],_0x478dc8[_0x37a2c3(0x238)]=_0x414fd1,_0x478dc8[_0x37a2c3(0x226)](_0xa22cd7);}),this['addTempLayer']&&_0x117eb9[_0x1aebe8(0x1fa)](_0x5f1fcc));}}}[a39_0x2a213c(0x233)](_0x43a4ed){const _0x192043=a39_0x2a213c,_0x45838a=new a39_0x1b3ae1(this['getMap']()),_0xaa0985=_0x45838a[_0x192043(0x239)]();if(!_0xaa0985||_0xaa0985[_0x192043(0x219)]===0x0)return[];const _0x952707=['copy','cut',_0x192043(0x22e),_0x192043(0x209),_0x192043(0x1f0)],_0x20cff9=[];for(const _0x57518b of _0xaa0985){if(!_0x57518b||!_0x57518b[_0x192043(0x1fb)]||!_0x952707[_0x192043(0x217)](_0x57518b[_0x192043(0x1fb)]))continue;const _0x216c52=_0x57518b[_0x192043(0x200)]();if(!_0x216c52)continue;if(!intersects(_0x216c52,_0x43a4ed))continue;let _0x1c30a9=this[_0x192043(0x215)];this[_0x192043(0x205)][_0x192043(0x206)](_0x57518b);switch(_0x216c52[_0x192043(0x1fd)]()){case _0x192043(0x21f):case _0x192043(0x216):this[_0x192043(0x1f2)][_0x192043(0x206)](_0x57518b),_0x1c30a9=this[_0x192043(0x234)];break;case _0x192043(0x230):case _0x192043(0x21e):this[_0x192043(0x208)][_0x192043(0x206)](_0x57518b),_0x1c30a9=this[_0x192043(0x202)];break;case _0x192043(0x23b):case _0x192043(0x1f7):this[_0x192043(0x211)][_0x192043(0x206)](_0x57518b),_0x1c30a9=this[_0x192043(0x215)];break;default:break;}_0x57518b[_0x192043(0x226)](_0x1c30a9);}return _0x20cff9;}}
@@ -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_0x127e38=a40_0x3d0c;(function(_0x5231fc,_0x1ed1d5){const _0x42b274=a40_0x3d0c,_0x17acee=_0x5231fc();while(!![]){try{const _0x44d99c=parseInt(_0x42b274(0xfb))/0x1+parseInt(_0x42b274(0xf3))/0x2*(parseInt(_0x42b274(0x102))/0x3)+parseInt(_0x42b274(0x101))/0x4+parseInt(_0x42b274(0x10b))/0x5*(parseInt(_0x42b274(0xf0))/0x6)+parseInt(_0x42b274(0xf8))/0x7*(parseInt(_0x42b274(0x108))/0x8)+parseInt(_0x42b274(0xef))/0x9+parseInt(_0x42b274(0xf5))/0xa*(-parseInt(_0x42b274(0xfc))/0xb);if(_0x44d99c===_0x1ed1d5)break;else _0x17acee['push'](_0x17acee['shift']());}catch(_0x138de0){_0x17acee['push'](_0x17acee['shift']());}}}(a40_0x2b8f,0x296e4));import a40_0x3bb798 from'ol/source/ImageArcGISRest';import{Image as a40_0x3f871c}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a40_0x3d0c(_0x3c076e,_0xe4d348){const _0x2b8f0a=a40_0x2b8f();return a40_0x3d0c=function(_0x3d0cc8,_0x36231d){_0x3d0cc8=_0x3d0cc8-0xec;let _0x5c5380=_0x2b8f0a[_0x3d0cc8];return _0x5c5380;},a40_0x3d0c(_0x3c076e,_0xe4d348);}function a40_0x2b8f(){const _0x19ae2b=['fullExtent','setFilter','141355UHLWZU','ymax','xmax','stringify','570654HPjNvU','6VgLbxp','xmin','join','70ayqqqv','spatialReference','3442930FcjvJN','wkid','mapIndex','28vAAXmp','layerInfo','getSource','35265yOHgDW','11HQhFWM','anonymous','show:','initialExtent','loadFilter','72992jBTnvd','3303whGoLv','ymin','sublayers','selectIndex','EPSG:','opacity','660536PTUtsB'];a40_0x2b8f=function(){return _0x19ae2b;};return a40_0x2b8f();}export default class ArcgisDynamicLayer extends a40_0x3f871c{constructor(_0x3b2255,_0x598d95){const _0x1b5109=a40_0x3d0c;var _0x285bca;let _0x43be08={'LAYERS':_0x1b5109(0xfe)+((_0x285bca=_0x3b2255[_0x1b5109(0x104)])===null||_0x285bca===void 0x0?void 0x0:_0x285bca[_0x1b5109(0xf2)](','))};if(_0x3b2255[_0x1b5109(0x100)]&&_0x3b2255[_0x1b5109(0x105)]){const _0x40058b={};_0x40058b[_0x3b2255[_0x1b5109(0x105)]]=_0x3b2255[_0x1b5109(0x100)],_0x43be08['layerDefs']=JSON[_0x1b5109(0xee)](_0x40058b);}const _0x2a6242=[_0x598d95[_0x1b5109(0xff)][_0x1b5109(0xf1)],_0x598d95['initialExtent'][_0x1b5109(0x103)],_0x598d95[_0x1b5109(0xff)][_0x1b5109(0xed)],_0x598d95[_0x1b5109(0xff)][_0x1b5109(0xec)]],_0x2c04c1=[_0x598d95[_0x1b5109(0x109)]['xmin'],_0x598d95[_0x1b5109(0x109)][_0x1b5109(0x103)],_0x598d95[_0x1b5109(0x109)][_0x1b5109(0xed)],_0x598d95['fullExtent']['ymax']];let _0x38e5a9;_0x598d95['spatialReference']['wkid']?_0x38e5a9=registerProj(_0x1b5109(0x106)+_0x598d95[_0x1b5109(0xf4)][_0x1b5109(0xf6)],_0x2c04c1):_0x38e5a9=registerProj(_0x598d95['spatialReference']['wkt'],_0x2c04c1),super({'opacity':_0x3b2255[_0x1b5109(0x107)],'zIndex':_0x3b2255[_0x1b5109(0xf7)],'source':new a40_0x3bb798({'crossOrigin':_0x1b5109(0xfd),'projection':_0x38e5a9,'ratio':0x1,'url':_0x3b2255['url'],'params':_0x43be08})}),this['id']=_0x3b2255['id'],this[_0x1b5109(0xff)]=_0x2a6242,this['projection']=_0x38e5a9,this[_0x1b5109(0xf9)]=_0x3b2255;}[a40_0x127e38(0x10a)](_0x1bb23d){const _0x32e0f8=a40_0x127e38;var _0x135033;const _0x245771={};this[_0x32e0f8(0xf9)][_0x32e0f8(0x105)]&&(_0x245771[this['layerInfo'][_0x32e0f8(0x105)]]=_0x1bb23d),(_0x135033=this[_0x32e0f8(0xfa)]())===null||_0x135033===void 0x0?void 0x0:_0x135033['updateParams']({'layerDefs':JSON[_0x32e0f8(0xee)](_0x1bb23d)});}}
@@ -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_0x437c11=a41_0x26ad;(function(_0x2fb2cd,_0x1867b1){const _0x32eaa3=a41_0x26ad,_0x45ce24=_0x2fb2cd();while(!![]){try{const _0x45201d=parseInt(_0x32eaa3(0x115))/0x1+-parseInt(_0x32eaa3(0x116))/0x2+parseInt(_0x32eaa3(0x107))/0x3*(-parseInt(_0x32eaa3(0x12f))/0x4)+parseInt(_0x32eaa3(0x117))/0x5*(parseInt(_0x32eaa3(0x122))/0x6)+-parseInt(_0x32eaa3(0x10a))/0x7*(-parseInt(_0x32eaa3(0xfe))/0x8)+-parseInt(_0x32eaa3(0x12c))/0x9*(-parseInt(_0x32eaa3(0x10e))/0xa)+parseInt(_0x32eaa3(0x11a))/0xb*(-parseInt(_0x32eaa3(0x105))/0xc);if(_0x45201d===_0x1867b1)break;else _0x45ce24['push'](_0x45ce24['shift']());}catch(_0x199fbd){_0x45ce24['push'](_0x45ce24['shift']());}}}(a41_0x2490,0x6c989));import a41_0x32c915 from'ol/format/EsriJSON';import a41_0x142bc0 from'ol/source/Vector';import{Vector as a41_0x4cc667}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';function a41_0x26ad(_0x5cf94c,_0x498fb8){const _0x249028=a41_0x2490();return a41_0x26ad=function(_0x26ad45,_0x49add8){_0x26ad45=_0x26ad45-0xfc;let _0x1f80e5=_0x249028[_0x26ad45];return _0x1f80e5;},a41_0x26ad(_0x5cf94c,_0x498fb8);}import{tile as a41_0x4421e5}from'ol/loadingstrategy';import a41_0xd47a08 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';function a41_0x2490(){const _0x262359=['forEach','wkt','showIndex',',\x22ymax\x22:','6369588thGkrU','ymax','3RffVJs','setStyle','defaultSymbol','1510873cmbEfa','setLayers','drawingInfo','EPSG:','11150dYrdnv','string','f\x20=\x20json\x20&\x20','uniqueValue','/query',',\x22ymin\x22:','wkid','635543itFuMG','439980nkUPdj','568780HCmnAs','simple','length','11xNThnc','ymin','where=','getCode','renderer','symbol','uniqueValueInfos','spatialReference','6YUoZis','xmax','value','1=1','log','createArcGISFeatureLayer','addFeatures','layerInfo','loadFilter','fullExtent','5337HLWERr','setFilter','get','2586296rYonLr','type','initialExtent','find','mapIndex','16IgoOXg','&outSR=','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry='];a41_0x2490=function(){return _0x262359;};return a41_0x2490();}import{transformedEsriStyle}from'../utils/StyleUtil';import a41_0x2acf93 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a41_0xd47a08{constructor(_0x2eb68c,_0xa79e8d,_0xe4f1cd){const _0xf06bb7=a41_0x26ad,_0x24b382=[_0xa79e8d[_0xf06bb7(0x131)]['xmin'],_0xa79e8d[_0xf06bb7(0x131)][_0xf06bb7(0x11b)],_0xa79e8d[_0xf06bb7(0x131)][_0xf06bb7(0x123)],_0xa79e8d['initialExtent'][_0xf06bb7(0x106)]],_0x2286bd=[_0xa79e8d[_0xf06bb7(0x12b)]['xmin'],_0xa79e8d[_0xf06bb7(0x12b)][_0xf06bb7(0x11b)],_0xa79e8d['fullExtent'][_0xf06bb7(0x123)],_0xa79e8d[_0xf06bb7(0x12b)][_0xf06bb7(0x106)]];let _0x4a8da3;_0xa79e8d[_0xf06bb7(0x121)][_0xf06bb7(0x114)]?_0x4a8da3=registerProj(_0xf06bb7(0x10d)+_0xa79e8d['spatialReference'][_0xf06bb7(0x114)],_0x2286bd):_0x4a8da3=registerProj(_0xa79e8d['spatialReference'][_0xf06bb7(0x102)],_0x2286bd);let _0x435103=[];super({'zIndex':_0x2eb68c[_0xf06bb7(0xfd)]});for(let _0x5941e3 of _0xe4f1cd){let _0x5e667c=this[_0xf06bb7(0x127)](_0x2eb68c,_0x5941e3);_0x435103['push'](_0x5e667c);}this[_0xf06bb7(0x10b)](new a41_0x2acf93(_0x435103)),this['id']=_0x2eb68c['id'],this['initialExtent']=_0x24b382,this['projection']=_0x4a8da3,this['layerInfo']=_0x2eb68c;}['createArcGISFeatureLayer'](_0x17010c,_0x27d86b){const _0x3ec1eb=a41_0x26ad;var _0x238917=new a41_0x32c915();let _0x370ba9=new a41_0x142bc0({'loader':function(_0x32a50e,_0x557a8b,_0x32e5c2){const _0x51c5d7=a41_0x26ad;let _0x50ab2d=_0x51c5d7(0x125);_0x17010c[_0x51c5d7(0x12a)]&&(_0x50ab2d=typeof _0x17010c['loadFilter']===_0x51c5d7(0x10f)?_0x17010c[_0x51c5d7(0x12a)]:JSON['stringify'](_0x17010c['loadFilter']));let _0x19044b=_0x32e5c2[_0x51c5d7(0x11d)](),_0x330e02=_0x19044b['split'](':')[0x1];var _0x1d0073=appendPath(_0x27d86b['url'],_0x51c5d7(0x112));_0x1d0073=appendParam(_0x1d0073,_0x51c5d7(0x110)+_0x51c5d7(0x11c)+encodeURIComponent(_0x50ab2d)+_0x51c5d7(0x100)+encodeURIComponent('{\x22xmin\x22:'+_0x32a50e[0x0]+_0x51c5d7(0x113)+_0x32a50e[0x1]+',\x22xmax\x22:'+_0x32a50e[0x2]+_0x51c5d7(0x104)+_0x32a50e[0x3]+',\x22spatialReference\x22:{\x22wkid\x22:'+_0x330e02+'}}')+'&geometryType=esriGeometryEnvelope&inSR='+_0x330e02+'&outFields=*'+_0x51c5d7(0xff)+_0x330e02),jsonp(_0x1d0073)['then'](_0x3f14b2=>{const _0xd0d910=_0x51c5d7;if(_0x3f14b2['error'])console[_0xd0d910(0x126)](_0x3f14b2);else{var _0xfc854c=_0x238917['readFeatures'](_0x3f14b2,{'featureProjection':_0x32e5c2});_0xfc854c[_0xd0d910(0x119)]>0x0&&(_0x27d86b[_0xd0d910(0x10c)][_0xd0d910(0x11e)][_0xd0d910(0x130)]==_0xd0d910(0x111)&&_0xfc854c[_0xd0d910(0x101)](function(_0x35d879){const _0x2fc60e=_0xd0d910;var _0x3edb75=_0x35d879[_0x2fc60e(0x12e)](_0x27d86b[_0x2fc60e(0x10c)]['renderer']['field1']);const _0x1b6ca6=_0x27d86b[_0x2fc60e(0x10c)][_0x2fc60e(0x11e)][_0x2fc60e(0x120)][_0x2fc60e(0xfc)](_0x4bb61e=>_0x4bb61e[_0x2fc60e(0x124)]==_0x3edb75);let _0x45e18e;_0x1b6ca6?_0x45e18e=transformedEsriStyle(_0x1b6ca6[_0x2fc60e(0x11f)]):_0x45e18e=transformedEsriStyle(_0x27d86b[_0x2fc60e(0x10c)][_0x2fc60e(0x11e)][_0x2fc60e(0x109)]),_0x35d879[_0x2fc60e(0x108)](_0x45e18e);}),_0x370ba9[_0xd0d910(0x128)](_0xfc854c));}});},'strategy':a41_0x4421e5(createXYZ({'tileSize':0x200}))}),_0x5f3e56=new a41_0x4cc667({'source':_0x370ba9,'zIndex':_0x17010c[_0x3ec1eb(0x103)]});if(_0x27d86b['drawingInfo'][_0x3ec1eb(0x11e)][_0x3ec1eb(0x130)]==_0x3ec1eb(0x118)&&_0x27d86b[_0x3ec1eb(0x10c)][_0x3ec1eb(0x11e)][_0x3ec1eb(0x11f)]){let _0x293a74=transformedEsriStyle(_0x27d86b[_0x3ec1eb(0x10c)][_0x3ec1eb(0x11e)]['symbol']);_0x5f3e56[_0x3ec1eb(0x108)](_0x293a74);}return _0x5f3e56;}[a41_0x437c11(0x12d)](_0x40605c){const _0x3b6944=a41_0x437c11;this[_0x3b6944(0x129)][_0x3b6944(0x12a)]=_0x40605c;}}
@@ -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(_0x4a2eb5,_0x4a44c4){const _0x2bf90c=a42_0x4869,_0x25b5b3=_0x4a2eb5();while(!![]){try{const _0x49ed27=-parseInt(_0x2bf90c(0x79))/0x1*(parseInt(_0x2bf90c(0x8c))/0x2)+parseInt(_0x2bf90c(0x80))/0x3+parseInt(_0x2bf90c(0x7b))/0x4*(parseInt(_0x2bf90c(0x71))/0x5)+parseInt(_0x2bf90c(0x8d))/0x6+parseInt(_0x2bf90c(0x7e))/0x7*(parseInt(_0x2bf90c(0x7d))/0x8)+-parseInt(_0x2bf90c(0x77))/0x9+-parseInt(_0x2bf90c(0x7a))/0xa*(-parseInt(_0x2bf90c(0x85))/0xb);if(_0x49ed27===_0x4a44c4)break;else _0x25b5b3['push'](_0x25b5b3['shift']());}catch(_0x3f93c8){_0x25b5b3['push'](_0x25b5b3['shift']());}}}(a42_0x1961,0x6ee95));import a42_0x5da9de from'ol/layer/Tile';import a42_0xa1cc48 from'ol/source/XYZ';import a42_0xeb0f91 from'ol/tilegrid/TileGrid';function a42_0x1961(){const _0xfa61d6=['95zJJqxz','spatialReference','initialExtent','anonymous','opacity','wkid','4404960nyZrvh','ymax','3BXkzTa','910OXrdDV','160232WktAUy','xmin','4419016EXkRnK','7nsJxZb','url','305592AqFfTL','layerInfo','origin','length','ymin','9647edWVoh','xmax','tileInfo','projection','resolution','push','lods','483680HTcPMt','1044618LNPxOa','fullExtent'];a42_0x1961=function(){return _0xfa61d6;};return a42_0x1961();}function a42_0x4869(_0x259104,_0x16000d){const _0x196137=a42_0x1961();return a42_0x4869=function(_0x4869e9,_0x2e50c0){_0x4869e9=_0x4869e9-0x70;let _0x324c90=_0x196137[_0x4869e9];return _0x324c90;},a42_0x4869(_0x259104,_0x16000d);}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a42_0x5da9de{constructor(_0x3c5dd7,_0x42ffbd){const _0x2019ef=a42_0x4869,_0x57293b=_0x3c5dd7[_0x2019ef(0x7f)]?_0x3c5dd7['url']:'',_0x192d7a=appendPath(_0x57293b,'/tile/{z}/{y}/{x}'),_0x26bd07=[_0x42ffbd['initialExtent'][_0x2019ef(0x7c)],_0x42ffbd[_0x2019ef(0x73)]['ymin'],_0x42ffbd[_0x2019ef(0x73)][_0x2019ef(0x86)],_0x42ffbd[_0x2019ef(0x73)][_0x2019ef(0x78)]],_0x4d9625=[_0x42ffbd[_0x2019ef(0x70)][_0x2019ef(0x7c)],_0x42ffbd[_0x2019ef(0x70)][_0x2019ef(0x84)],_0x42ffbd['fullExtent'][_0x2019ef(0x86)],_0x42ffbd[_0x2019ef(0x70)][_0x2019ef(0x78)]];let _0x58bff1;_0x42ffbd['spatialReference'][_0x2019ef(0x76)]?_0x58bff1=registerProj('EPSG:'+_0x42ffbd['spatialReference'][_0x2019ef(0x76)],_0x4d9625):_0x58bff1=registerProj(_0x42ffbd[_0x2019ef(0x72)]['wkt'],_0x4d9625);let _0x4caac4=[];for(let _0x53a870=0x0,_0x495d6a=_0x42ffbd[_0x2019ef(0x87)][_0x2019ef(0x8b)][_0x2019ef(0x83)];_0x53a870<_0x495d6a;_0x53a870++){_0x4caac4[_0x2019ef(0x8a)](_0x42ffbd['tileInfo'][_0x2019ef(0x8b)][_0x53a870][_0x2019ef(0x89)]);}super({'opacity':_0x3c5dd7[_0x2019ef(0x75)],'zIndex':_0x3c5dd7['mapIndex'],'maxResolution':_0x4caac4[0x0]*0x2,'source':new a42_0xa1cc48({'url':_0x192d7a,'projection':_0x58bff1,'crossOrigin':_0x2019ef(0x74),'tileGrid':new a42_0xeb0f91({'extent':_0x4d9625,'origin':[_0x42ffbd[_0x2019ef(0x87)][_0x2019ef(0x82)]['x'],_0x42ffbd[_0x2019ef(0x87)][_0x2019ef(0x82)]['y']],'resolutions':_0x4caac4,'tileSize':[_0x42ffbd[_0x2019ef(0x87)]['rows'],_0x42ffbd['tileInfo']['cols']]})})}),this['id']=_0x3c5dd7['id'],this[_0x2019ef(0x73)]=_0x26bd07,this[_0x2019ef(0x88)]=_0x58bff1,this[_0x2019ef(0x81)]=_0x3c5dd7;}}
@@ -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_0x6b1f6=a43_0x2f59;function a43_0x2980(){const _0x3245e8=['refresh','join','10117220eKKfrw','loadFilter','1wFACPa','368336KkcilO','opacity','mapIndex','68383IrYQFp','layerInfo','4146740zbzsgb','wkid','anonymous','18BEbWOy','200692SrDpun','296fWxAuh','url','updateParams','1109526azWKia','getSource','initExtent','CQL_FILTER','1.1.0','2421108vAhiiT','sublayers','projection','EPSG:','initialExtent'];a43_0x2980=function(){return _0x3245e8;};return a43_0x2980();}(function(_0x5f47c4,_0x365db6){const _0x26905e=a43_0x2f59,_0x2a0f8c=_0x5f47c4();while(!![]){try{const _0x4cbf0d=parseInt(_0x26905e(0xde))/0x1*(parseInt(_0x26905e(0xdf))/0x2)+-parseInt(_0x26905e(0xf1))/0x3+parseInt(_0x26905e(0xe8))/0x4+-parseInt(_0x26905e(0xe4))/0x5+parseInt(_0x26905e(0xec))/0x6+parseInt(_0x26905e(0xe2))/0x7*(-parseInt(_0x26905e(0xe9))/0x8)+parseInt(_0x26905e(0xe7))/0x9*(parseInt(_0x26905e(0xdc))/0xa);if(_0x4cbf0d===_0x365db6)break;else _0x2a0f8c['push'](_0x2a0f8c['shift']());}catch(_0x32d01d){_0x2a0f8c['push'](_0x2a0f8c['shift']());}}}(a43_0x2980,0x6c9c5));import{ImageWMS as a43_0x23572d}from'ol/source';import{Image as a43_0x375278}from'ol/layer';function a43_0x2f59(_0x5c5ee9,_0x28a805){const _0x29804e=a43_0x2980();return a43_0x2f59=function(_0x2f5998,_0x333b4f){_0x2f5998=_0x2f5998-0xd7;let _0x77959=_0x29804e[_0x2f5998];return _0x77959;},a43_0x2f59(_0x5c5ee9,_0x28a805);}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a43_0x375278{constructor(_0xcc874d,_0x398784){const _0x47b2cf=a43_0x2f59;var _0x30ba25;let _0x474219=registerProj(_0x47b2cf(0xd8)+_0x398784[_0x47b2cf(0xe5)],undefined),_0x4f23cb={'LAYERS':(_0x30ba25=_0xcc874d[_0x47b2cf(0xf2)])===null||_0x30ba25===void 0x0?void 0x0:_0x30ba25[_0x47b2cf(0xdb)](','),'VERSION':_0x47b2cf(0xf0)};_0xcc874d[_0x47b2cf(0xdd)]&&(_0x4f23cb[_0x47b2cf(0xef)]=_0xcc874d[_0x47b2cf(0xdd)]),super({'opacity':_0xcc874d[_0x47b2cf(0xe0)],'zIndex':_0xcc874d[_0x47b2cf(0xe1)],'source':new a43_0x23572d({'crossOrigin':_0x47b2cf(0xe6),'url':_0xcc874d[_0x47b2cf(0xea)],'params':_0x4f23cb})}),this['id']=_0xcc874d['id'],this[_0x47b2cf(0xd9)]=_0x398784[_0x47b2cf(0xee)],this[_0x47b2cf(0xd7)]=_0x474219,this[_0x47b2cf(0xe3)]=_0xcc874d;}[a43_0x6b1f6(0xda)](){}['setFilter'](_0x2d4c86){const _0x4db6aa=a43_0x6b1f6;var _0x5d308f;(_0x5d308f=this[_0x4db6aa(0xed)]())===null||_0x5d308f===void 0x0?void 0x0:_0x5d308f[_0x4db6aa(0xeb)]({'CQL_FILTER':_0x2d4c86});}}
@@ -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 a44_0x5d3f(){const _0x2b31c9=['11092AQLgnG','10KTZJbQ','EPSG:','indexOf','7800903ZzBJwE','projection','length','158vkBANV','50jZbxeE','tileMatrixSet','396654hcDFcE','src','1131305ZsacQU','style','origins_','getMatrixIds','name','5453768QZjuaE','getImage','?http','format','524WYRTfn','value','sublayers','urls','7494453kKyydE','replace','wkid','url','matrixSet','image/png','initialExtent','token','6582JeKvZz','boundingBoxExtent','tileGrid'];a44_0x5d3f=function(){return _0x2b31c9;};return a44_0x5d3f();}(function(_0x96d8d6,_0x5b7f2c){const _0x659092=a44_0x1efb,_0x4f95e9=_0x96d8d6();while(!![]){try{const _0x293b52=parseInt(_0x659092(0xab))/0x1*(parseInt(_0x659092(0xb2))/0x2)+parseInt(_0x659092(0xa8))/0x3*(-parseInt(_0x659092(0x9c))/0x4)+parseInt(_0x659092(0xb3))/0x5*(-parseInt(_0x659092(0x91))/0x6)+parseInt(_0x659092(0x93))/0x7+parseInt(_0x659092(0x98))/0x8+parseInt(_0x659092(0xa0))/0x9*(parseInt(_0x659092(0xac))/0xa)+-parseInt(_0x659092(0xaf))/0xb;if(_0x293b52===_0x5b7f2c)break;else _0x4f95e9['push'](_0x4f95e9['shift']());}catch(_0xb2c8c4){_0x4f95e9['push'](_0x4f95e9['shift']());}}}(a44_0x5d3f,0xda6b4));import a44_0x267ee5 from'ol/layer/Tile';import a44_0x5b0f49,{optionsFromCapabilities}from'ol/source/WMTS.js';function a44_0x1efb(_0x362d16,_0xb20021){const _0x5d3fd7=a44_0x5d3f();return a44_0x1efb=function(_0x1efbc0,_0x167264){_0x1efbc0=_0x1efbc0-0x91;let _0xe5a8d4=_0x5d3fd7[_0x1efbc0];return _0xe5a8d4;},a44_0x1efb(_0x362d16,_0xb20021);}import a44_0x18f8f4 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a44_0x267ee5{constructor(_0x4bd22f,_0x5d0a82){const _0x377fd4=a44_0x1efb;var _0x164de1;let _0x20d08e='';_0x4bd22f['sublayers']&&_0x4bd22f[_0x377fd4(0x9e)][_0x377fd4(0xb1)]>0x0&&(_0x20d08e=_0x4bd22f['sublayers']['join'](','));const _0x165a12=_0x377fd4(0xad)+_0x5d0a82[_0x377fd4(0xa2)];let _0x4264c0=registerProj(_0x165a12);const _0x3d2c59=optionsFromCapabilities(_0x5d0a82['sourceXml'],{'layer':(_0x164de1=_0x4bd22f['sublayers'])===null||_0x164de1===void 0x0?void 0x0:_0x164de1[0x0],'matrixSet':_0x5d0a82[_0x377fd4(0xb4)],'format':_0x377fd4(0xa5)});let _0x2db716=_0x3d2c59[_0x377fd4(0xaa)][_0x377fd4(0x95)][0x0];_0x2db716[0x0]===0x5a&&_0x2db716[0x1]===-0xb4&&(_0x2db716=[_0x2db716[0x1],_0x2db716[0x0]]),super({'opacity':_0x4bd22f['opacity'],'zIndex':_0x4bd22f['mapIndex'],'source':new a44_0x5b0f49({'urls':_0x3d2c59[_0x377fd4(0x9f)],'requestEncoding':_0x3d2c59['requestEncoding'],'layer':_0x3d2c59['layer'],'tileLoadFunction':function(_0x5b7869,_0x2879d8){const _0x144e82=_0x377fd4,_0x372df1=_0x4bd22f[_0x144e82(0xa3)]?_0x4bd22f[_0x144e82(0xa3)]:'';let _0x5b9b7a=getUrlParams(_0x372df1);if((_0x5b9b7a===null||_0x5b9b7a===void 0x0?void 0x0:_0x5b9b7a[_0x144e82(0xb1)])>0x0)for(let _0x46f875 of _0x5b9b7a){_0x2879d8=addArgument(_0x2879d8,_0x46f875[_0x144e82(0x97)],_0x46f875[_0x144e82(0x9d)]);}let _0x288bd4=_0x2879d8[_0x144e82(0xae)](_0x144e82(0x9a));_0x288bd4!==-0x1?_0x2879d8['indexOf'](_0x144e82(0xa7))===-0x1&&_0x2879d8[_0x144e82(0xae)]('tk')===-0x1?_0x5b7869[_0x144e82(0x99)]()[_0x144e82(0x92)]=_0x2879d8[_0x144e82(0xa1)]('&','?'):_0x5b7869[_0x144e82(0x99)]()[_0x144e82(0x92)]=_0x2879d8:_0x5b7869[_0x144e82(0x99)]()['src']=_0x2879d8;},'matrixSet':_0x3d2c59[_0x377fd4(0xa4)],'format':_0x3d2c59[_0x377fd4(0x9b)],'projection':_0x3d2c59[_0x377fd4(0xb0)],'tileGrid':new a44_0x18f8f4({'origin':_0x2db716,'resolutions':_0x3d2c59['tileGrid']['getResolutions'](),'matrixIds':_0x3d2c59['tileGrid'][_0x377fd4(0x96)](),'extent':_0x5d0a82[_0x377fd4(0xa9)]}),'style':_0x5d0a82[_0x377fd4(0x94)],'wrapX':!![]})}),this['id']=_0x4bd22f['id'],this[_0x377fd4(0xa6)]=_0x5d0a82[_0x377fd4(0xa9)],this[_0x377fd4(0xb0)]=_0x4264c0,this['layerInfo']=_0x4bd22f;}}
@@ -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(_0x4f3419,_0x40abcd){const _0x3937af=a45_0x79d8,_0xf39447=_0x4f3419();while(!![]){try{const _0x3fc09c=-parseInt(_0x3937af(0x16f))/0x1+-parseInt(_0x3937af(0x176))/0x2+-parseInt(_0x3937af(0x163))/0x3*(parseInt(_0x3937af(0x171))/0x4)+parseInt(_0x3937af(0x166))/0x5+-parseInt(_0x3937af(0x162))/0x6+-parseInt(_0x3937af(0x175))/0x7+parseInt(_0x3937af(0x17c))/0x8*(parseInt(_0x3937af(0x17e))/0x9);if(_0x3fc09c===_0x40abcd)break;else _0xf39447['push'](_0xf39447['shift']());}catch(_0xca9707){_0xf39447['push'](_0xf39447['shift']());}}}(a45_0x56c1,0x2edb4));import a45_0xf3df9f from'ol/layer/VectorTile';import a45_0x1ecde4 from'ol/source/VectorTile';import a45_0xea5042 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a45_0x74a92a from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';function a45_0x79d8(_0x582faf,_0x2fc27a){const _0x56c1dc=a45_0x56c1();return a45_0x79d8=function(_0x79d879,_0x985851){_0x79d879=_0x79d879-0x15e;let _0x545cb5=_0x56c1dc[_0x79d879];return _0x545cb5;},a45_0x79d8(_0x582faf,_0x2fc27a);}import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a45_0xf3df9f{constructor(_0x3a58c6,_0x214dc6){const _0x23f2e2=a45_0x79d8;var _0x24d12d;let _0x4a9134=registerProj(_0x23f2e2(0x169)+_0x214dc6[_0x23f2e2(0x160)]);const _0x2a64e1=optionsFromCapabilities(_0x214dc6[_0x23f2e2(0x17b)],{'layer':(_0x24d12d=_0x3a58c6['sublayers'])===null||_0x24d12d===void 0x0?void 0x0:_0x24d12d[0x0],'matrixSet':_0x214dc6[_0x23f2e2(0x170)],'format':_0x23f2e2(0x177)});let _0x4e907=_0x3a58c6[_0x23f2e2(0x161)]&&_0x3a58c6[_0x23f2e2(0x161)][_0x23f2e2(0x17f)]>0x0?_0x3a58c6[_0x23f2e2(0x161)][0x0]:'';const _0x4a535e={'REQUEST':'GetTile','SERVICE':_0x23f2e2(0x16b),'VERSION':_0x23f2e2(0x178),'LAYER':_0x4e907,'STYLE':_0x214dc6[_0x23f2e2(0x173)]['toString'](),'TILEMATRIX':_0x214dc6[_0x23f2e2(0x170)]+_0x23f2e2(0x172),'TILEMATRIXSET':_0x214dc6[_0x23f2e2(0x170)][_0x23f2e2(0x15f)](),'FORMAT':_0x23f2e2(0x164),'TILECOL':_0x23f2e2(0x16c),'TILEROW':_0x23f2e2(0x16d)};let _0x3e87e8=_0x3a58c6[_0x23f2e2(0x16e)]?_0x3a58c6[_0x23f2e2(0x16e)]:'';for(const _0x2a2016 in _0x4a535e){_0x3e87e8=addArgument(_0x3e87e8,_0x2a2016,_0x4a535e[_0x2a2016]);}super({'opacity':_0x3a58c6[_0x23f2e2(0x15e)],'zIndex':_0x3a58c6['mapIndex'],'declutter':!![],'source':new a45_0x1ecde4({'projection':_0x23f2e2(0x169)+_0x214dc6[_0x23f2e2(0x160)],'format':new a45_0xea5042(),'wrapX':!![],'extent':_0x214dc6[_0x23f2e2(0x17d)],'tileGrid':new a45_0x74a92a({'tileSize':_0x2a64e1[_0x23f2e2(0x179)][_0x23f2e2(0x17a)][0x0],'origin':_0x2a64e1[_0x23f2e2(0x179)][_0x23f2e2(0x168)][0x0],'resolutions':_0x2a64e1['tileGrid']['getResolutions'](),'matrixIds':_0x2a64e1[_0x23f2e2(0x179)][_0x23f2e2(0x174)]()}),'url':_0x3e87e8})}),this['id']=_0x3a58c6['id'],this[_0x23f2e2(0x167)]=_0x214dc6[_0x23f2e2(0x17d)],this[_0x23f2e2(0x165)]=_0x4a9134,this[_0x23f2e2(0x16a)]=_0x3a58c6;}}function a45_0x56c1(){const _0x5338a6=['boundingBoxExtent','18sPhpWM','length','opacity','toString','wkid','sublayers','1183524uJZVpm','28446AwmJEH','application/vnd.mapbox-vector-tile','projection','654400ffISpW','initialExtent','origins_','EPSG:','layerInfo','WMTS','{x}','{y}','url','276830gNRlMG','tileMatrixSet','148CauGNx',':{z}','style','getMatrixIds','1830745pkqJGD','79406pfbmed','image/png','1.0.0','tileGrid','tileSizes_','sourceXml','4748800edNpWU'];a45_0x56c1=function(){return _0x5338a6;};return a45_0x56c1();}
@@ -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
+ const a46_0x36f924=a46_0xb604;(function(_0x108b62,_0x4677c9){const _0x342219=a46_0xb604,_0x22650c=_0x108b62();while(!![]){try{const _0x1b94ec=-parseInt(_0x342219(0x208))/0x1+-parseInt(_0x342219(0x1fe))/0x2+-parseInt(_0x342219(0x206))/0x3+parseInt(_0x342219(0x20a))/0x4+parseInt(_0x342219(0x205))/0x5+-parseInt(_0x342219(0x200))/0x6+-parseInt(_0x342219(0x1f0))/0x7*(-parseInt(_0x342219(0x1ee))/0x8);if(_0x1b94ec===_0x4677c9)break;else _0x22650c['push'](_0x22650c['shift']());}catch(_0x49cbe1){_0x22650c['push'](_0x22650c['shift']());}}}(a46_0x4bff,0x268cb));import a46_0x4a53db from'ol/source/Vector';function a46_0xb604(_0x1017de,_0x313fe4){const _0x4bfffb=a46_0x4bff();return a46_0xb604=function(_0xb6049f,_0x4f7fb0){_0xb6049f=_0xb6049f-0x1e1;let _0x443806=_0x4bfffb[_0xb6049f];return _0x443806;},a46_0xb604(_0x1017de,_0x313fe4);}import a46_0x31f3d9 from'ol/format/GeoJSON';import{Vector as a46_0x21af74}from'ol/layer';import a46_0x216559 from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a46_0x39753c from'../utils/format/CQL';function a46_0x4bff(){const _0x3658b8=['wkid','mapIndex','readFeatures','layerInfo','toLowerCase','between','EPSG:','read','length','writeGetFeature','removeLoadedExtent','33136hpdwdY','and','595alRila','POST','loadFilter','parseFilter','filter','name','lessThan','warn','addFeatures','sublayers','not','param字段不存在','apply','application/json','303282scMZrz','getCode','357960mSySUt','getSource','url','type字段不存在','fieldType','67785TZSpuk','474387GfeRLo','param','91633Nxgisn','string','1013340AtYQdb','serializeToString','push','equalTo','notEqualTo','type','lessThanOrEqualTo'];a46_0x4bff=function(){return _0x3658b8;};return a46_0x4bff();}import*as a46_0x4592d2 from'ol/format/filter';export default class GeoserverWFSLayer extends a46_0x21af74{constructor(_0x5f4640,_0x31e673){const _0xbfeaa4=a46_0xb604;let _0x42d2ff=registerProj(_0xbfeaa4(0x1e9)+_0x31e673[_0xbfeaa4(0x1e3)]);const _0x21b9b1=_0x31e673['layerFields']['find'](_0x3a447d=>_0x3a447d[_0xbfeaa4(0x204)]==0x6);super({'zIndex':_0x5f4640[_0xbfeaa4(0x1e4)],'source':new a46_0x4a53db({'format':new a46_0x31f3d9(),'loader':(_0x140827,_0x25dc57,_0x31d7fe,_0x1afd22,_0xb74521)=>{const _0x58476c=_0xbfeaa4;let _0x102136=_0x5f4640[_0x58476c(0x1f2)],_0x4f12a5={'srsName':_0x31d7fe[_0x58476c(0x1ff)](),'featureTypes':_0x5f4640[_0x58476c(0x1f9)],'bbox':_0x140827,'geometryName':_0x21b9b1?_0x21b9b1[_0x58476c(0x1f5)]:'','outputFormat':_0x58476c(0x1fd)};_0x102136&&(typeof _0x102136===_0x58476c(0x209)?_0x4f12a5['filter']=new a46_0x39753c()[_0x58476c(0x1ea)](_0x102136):_0x4f12a5[_0x58476c(0x1f4)]=this[_0x58476c(0x1f3)](_0x102136));var _0x1ad861=new a46_0x216559()[_0x58476c(0x1ec)](_0x4f12a5);let _0x40fef6=_0x5f4640['url']?_0x5f4640[_0x58476c(0x202)]:'';fetch(_0x40fef6,{'method':_0x58476c(0x1f1),'body':new XMLSerializer()[_0x58476c(0x20b)](_0x1ad861)})['then'](_0x4ff108=>{return _0x4ff108['json']();})['then'](_0x350f7c=>{const _0x4cbb55=_0x58476c,_0x571924=new a46_0x31f3d9()[_0x4cbb55(0x1e5)](_0x350f7c);let _0x330629=this[_0x4cbb55(0x201)]();_0x330629&&_0x330629[_0x4cbb55(0x1f8)](_0x571924);if(_0x1afd22)_0x1afd22(_0x571924);})['catch'](()=>{const _0x219c59=_0x58476c;let _0x11ebcf=this[_0x219c59(0x201)]();_0x11ebcf&&_0x11ebcf[_0x219c59(0x1ed)](_0x140827);if(_0xb74521)_0xb74521();});},'strategy':bbox})}),this['id']=_0x5f4640['id'],this['initialExtent']=_0x31e673['initExtent'],this['projection']=_0x42d2ff,this[_0xbfeaa4(0x1e6)]=_0x5f4640;}[a46_0x36f924(0x1f3)](_0x1256ed){const _0xe36e56=a46_0x36f924;if(!_0x1256ed[_0xe36e56(0x1e1)]){console[_0xe36e56(0x1f7)](_0xe36e56(0x203));return;}if(!_0x1256ed[_0xe36e56(0x207)]){console[_0xe36e56(0x1f7)](_0xe36e56(0x1fb));return;}let _0x5c1b9d=[];switch(_0x1256ed['type'][_0xe36e56(0x1e7)]()){case'and':for(let _0x138969=0x0;_0x138969<_0x1256ed[_0xe36e56(0x207)]['length'];_0x138969++){let _0x47814a=this[_0xe36e56(0x1f3)](_0x1256ed['param'][_0x138969]);_0x5c1b9d[_0xe36e56(0x20c)](_0x47814a);}return a46_0x4592d2[_0xe36e56(0x1ef)]['apply'](null,_0x5c1b9d);case'or':for(let _0x583124=0x0;_0x583124<_0x1256ed[_0xe36e56(0x207)][_0xe36e56(0x1eb)];_0x583124++){let _0x581b22=this[_0xe36e56(0x1f3)](_0x1256ed[_0xe36e56(0x207)][_0x583124]);_0x5c1b9d[_0xe36e56(0x20c)](_0x581b22);}return a46_0x4592d2['or'][_0xe36e56(0x1fc)](null,_0x5c1b9d);case _0xe36e56(0x1fa):for(let _0xb021ff=0x0;_0xb021ff<_0x1256ed['param']['length'];_0xb021ff++){let _0x4b86d4=this[_0xe36e56(0x1f3)](_0x1256ed[_0xe36e56(0x207)][_0xb021ff]);_0x5c1b9d[_0xe36e56(0x20c)](_0x4b86d4);}return a46_0x4592d2[_0xe36e56(0x1fa)][_0xe36e56(0x1fc)](null,_0x5c1b9d);case'=':return a46_0x4592d2[_0xe36e56(0x20d)](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed[_0xe36e56(0x207)][0x1]);case'!==':return a46_0x4592d2[_0xe36e56(0x20e)](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed[_0xe36e56(0x207)][0x1]);case'>':return a46_0x4592d2['greaterThan'](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed['param'][0x1]);case'<':return a46_0x4592d2[_0xe36e56(0x1f6)](_0x1256ed['param'][0x0],_0x1256ed[_0xe36e56(0x207)][0x1]);case'>=':return a46_0x4592d2['greaterThanOrEqualTo'](_0x1256ed['param'][0x0],_0x1256ed['param'][0x1]);case'<=':return a46_0x4592d2[_0xe36e56(0x1e2)](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed[_0xe36e56(0x207)][0x1]);case _0xe36e56(0x1e8):return a46_0x4592d2['between'](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed['param'][0x1],_0x1256ed[_0xe36e56(0x207)][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
+ function a47_0x45aa(_0xce4103,_0x524763){const _0x5cb0ca=a47_0x5cb0();return a47_0x45aa=function(_0x45aa57,_0x37009d){_0x45aa57=_0x45aa57-0x6e;let _0x2c185c=_0x5cb0ca[_0x45aa57];return _0x2c185c;},a47_0x45aa(_0xce4103,_0x524763);}const a47_0x239614=a47_0x45aa;(function(_0x4f7f41,_0xb74791){const _0x4ab828=a47_0x45aa,_0x28d041=_0x4f7f41();while(!![]){try{const _0x1cd24e=parseInt(_0x4ab828(0x74))/0x1*(-parseInt(_0x4ab828(0x71))/0x2)+-parseInt(_0x4ab828(0x73))/0x3+parseInt(_0x4ab828(0x7f))/0x4+parseInt(_0x4ab828(0x79))/0x5+parseInt(_0x4ab828(0x78))/0x6+-parseInt(_0x4ab828(0x75))/0x7+-parseInt(_0x4ab828(0x72))/0x8;if(_0x1cd24e===_0xb74791)break;else _0x28d041['push'](_0x28d041['shift']());}catch(_0x1cf3ec){_0x28d041['push'](_0x28d041['shift']());}}}(a47_0x5cb0,0xc357d));import{ImageWMS as a47_0x1ba29b}from'ol/source';function a47_0x5cb0(){const _0x17d7e4=['1aAAKEN','3488604DMbXhf','opacity','refresh','7133526EWRTyG','4677890cFBXER','1.1.0','projection','EPSG:','mapIndex','setFilter','3654036QZRDnN','wkid','getSource','url','sublayers','initExtent','loadFilter','363338MnZwtn','2902096WJhyKY','3585240sBeKAs'];a47_0x5cb0=function(){return _0x17d7e4;};return a47_0x5cb0();}import{Image as a47_0x567d2f}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a47_0x567d2f{constructor(_0x19575c,_0x1a18be){const _0x61a95f=a47_0x45aa;var _0x14b478;let _0x40f32b=registerProj(_0x61a95f(0x7c)+_0x1a18be[_0x61a95f(0x80)]),_0x5345a9={'LAYERS':(_0x14b478=_0x19575c[_0x61a95f(0x6e)])===null||_0x14b478===void 0x0?void 0x0:_0x14b478['join'](','),'VERSION':_0x61a95f(0x7a)};_0x19575c['loadFilter']&&(_0x5345a9['CQL_FILTER']=_0x19575c[_0x61a95f(0x70)]),super({'opacity':_0x19575c[_0x61a95f(0x76)],'zIndex':_0x19575c[_0x61a95f(0x7d)],'source':new a47_0x1ba29b({'crossOrigin':'anonymous','url':_0x19575c[_0x61a95f(0x82)],'params':_0x5345a9})}),this['id']=_0x19575c['id'],this['initialExtent']=_0x1a18be[_0x61a95f(0x6f)],this[_0x61a95f(0x7b)]=_0x40f32b,this['layerInfo']=_0x19575c;}[a47_0x239614(0x77)](){}[a47_0x239614(0x7e)](_0x51bb07){const _0x305569=a47_0x239614;var _0x15c3bb;(_0x15c3bb=this[_0x305569(0x81)]())===null||_0x15c3bb===void 0x0?void 0x0:_0x15c3bb['updateParams']({'CQL_FILTER':_0x51bb07});}}
@@ -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(_0x48fadc,_0x504b02){const _0x2a2ce1=a48_0x4395,_0x41a930=_0x48fadc();while(!![]){try{const _0x172daf=parseInt(_0x2a2ce1(0xfd))/0x1+-parseInt(_0x2a2ce1(0x107))/0x2*(parseInt(_0x2a2ce1(0x102))/0x3)+parseInt(_0x2a2ce1(0xfe))/0x4*(parseInt(_0x2a2ce1(0xfa))/0x5)+parseInt(_0x2a2ce1(0x106))/0x6*(-parseInt(_0x2a2ce1(0xff))/0x7)+-parseInt(_0x2a2ce1(0xf9))/0x8+-parseInt(_0x2a2ce1(0xf8))/0x9*(parseInt(_0x2a2ce1(0xf6))/0xa)+parseInt(_0x2a2ce1(0xf7))/0xb;if(_0x172daf===_0x504b02)break;else _0x41a930['push'](_0x41a930['shift']());}catch(_0x1af170){_0x41a930['push'](_0x41a930['shift']());}}}(a48_0x2277,0x19f8a));import a48_0x45b328 from'ol/layer/Tile';import a48_0x18c258,{optionsFromCapabilities}from'ol/source/WMTS.js';function a48_0x2277(){const _0x520277=['43470kZyLFN','4dsOHfc','287rGwiYl','sublayers','解析元数据失败','3DXYSdM','image/png','projection','mapIndex','16770rewJoF','81214FHyhKe','layerInfo','未找到投影信息','669490GIuzNW','4480388DidJpy','18iuFEON','611896cmohbK','105935rTgSuB','EPSG:','boundingBoxExtent'];a48_0x2277=function(){return _0x520277;};return a48_0x2277();}import{registerProj}from'../utils/RegisterProjUtil';function a48_0x4395(_0x565864,_0x315960){const _0x227722=a48_0x2277();return a48_0x4395=function(_0x43952e,_0x471bd8){_0x43952e=_0x43952e-0xf5;let _0x36827e=_0x227722[_0x43952e];return _0x36827e;},a48_0x4395(_0x565864,_0x315960);}export default class GeoserverWMTSLayer extends a48_0x45b328{constructor(_0x1f570c,_0xad6950){const _0x3e191b=a48_0x4395;var _0x3f6237;const _0x45bd8a=_0x3e191b(0xfb)+_0xad6950['wkid'];let _0x2fe89f=registerProj(_0x45bd8a);if(!_0x2fe89f)throw new Error(_0x3e191b(0xf5));const _0x23a8b7=optionsFromCapabilities(_0xad6950['sourceXml'],{'layer':(_0x3f6237=_0x1f570c[_0x3e191b(0x100)])===null||_0x3f6237===void 0x0?void 0x0:_0x3f6237[0x0],'matrixSet':_0xad6950['tileMatrixSet'],'format':_0x3e191b(0x103)});if(!_0x23a8b7)throw new Error(_0x3e191b(0x101));super({'opacity':_0x1f570c['opacity'],'zIndex':_0x1f570c[_0x3e191b(0x105)],'source':new a48_0x18c258(_0x23a8b7)}),this['id']=_0x1f570c['id'],this['initialExtent']=_0xad6950[_0x3e191b(0xfc)],this[_0x3e191b(0x104)]=_0x2fe89f,this[_0x3e191b(0x108)]=_0x1f570c;}}
@@ -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_0x2ce6fc=a50_0x1737;(function(_0x28a518,_0x2c98ac){const _0x250032=a50_0x1737,_0x13ce4d=_0x28a518();while(!![]){try{const _0x11e0a5=parseInt(_0x250032(0x119))/0x1+-parseInt(_0x250032(0x10f))/0x2+-parseInt(_0x250032(0x118))/0x3+parseInt(_0x250032(0x120))/0x4*(-parseInt(_0x250032(0x11f))/0x5)+-parseInt(_0x250032(0x116))/0x6*(parseInt(_0x250032(0x114))/0x7)+parseInt(_0x250032(0x11b))/0x8+parseInt(_0x250032(0x11c))/0x9;if(_0x11e0a5===_0x2c98ac)break;else _0x13ce4d['push'](_0x13ce4d['shift']());}catch(_0x34c73b){_0x13ce4d['push'](_0x13ce4d['shift']());}}}(a50_0x2d55,0x6a2bc));import a50_0x88e8dc from'./ArcgisDynamicLayer';import a50_0x451d07 from'./ArcgisFeatureLayer';import a50_0x271b5d from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0xefaaef from'./ArcgisTileLayer';import a50_0x3ede4f from'./GeoserverWMSLayer';import a50_0x29bf26 from'./GeoserverWMTSLayer';function a50_0x1737(_0x27e79c,_0x48087c){const _0x2d553b=a50_0x2d55();return a50_0x1737=function(_0x1737ba,_0x4031fb){_0x1737ba=_0x1737ba-0x10e;let _0x513be3=_0x2d553b[_0x1737ba];return _0x513be3;},a50_0x1737(_0x27e79c,_0x48087c);}import a50_0x4b0b7e from'./ArcgisWMSLayer';import a50_0x416f16 from'./ArcgisWMTSLayer';import a50_0x22d550 from'./GeoserverWFSLayer';import a50_0x4e7fd8 from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x2ce6fc(0x11d)](_0x320843){const _0x27fcc3=a50_0x2ce6fc,_0x566910=await getDynamicLayerInfo(_0x320843[_0x27fcc3(0x113)]?_0x320843[_0x27fcc3(0x113)]:'');let _0x4ea117=new a50_0x88e8dc(_0x320843,_0x566910);return _0x4ea117;}static async[a50_0x2ce6fc(0x117)](_0x249965){const _0x56b96b=a50_0x2ce6fc,_0x4685f7=await getDynamicLayerInfo(_0x249965[_0x56b96b(0x113)]?_0x249965[_0x56b96b(0x113)]:'');let _0x1cb9fb=new a50_0xefaaef(_0x249965,_0x4685f7);return _0x1cb9fb;}static async[a50_0x2ce6fc(0x111)](_0x557436){const _0x3dba74=a50_0x2ce6fc,_0x362d58=await getDynamicLayerInfo(_0x557436['url']?_0x557436[_0x3dba74(0x113)]:'');let _0x843387=[];if(_0x557436[_0x3dba74(0x110)])for(let _0x559529=0x0;_0x559529<_0x557436[_0x3dba74(0x110)]['length'];_0x559529++){const _0x9f8cd8=_0x557436[_0x3dba74(0x110)][_0x559529];_0x843387['push'](await getFeatureLayerInfo(_0x557436['url']?_0x557436[_0x3dba74(0x113)]:'',_0x9f8cd8));}let _0x293076=new a50_0x451d07(_0x557436,_0x362d58,_0x843387);return _0x293076;}static async[a50_0x2ce6fc(0x11a)](_0x225844){const _0x3cc304=a50_0x2ce6fc;var _0x4b0be2;const _0x159457=(_0x4b0be2=_0x225844[_0x3cc304(0x110)])===null||_0x4b0be2===void 0x0?void 0x0:_0x4b0be2[0x0],_0x1a36bc=await getWMSLayerCapabilities(_0x225844[_0x3cc304(0x113)]?_0x225844[_0x3cc304(0x113)]:'',_0x159457==null?'':_0x159457);let _0x49507c=new a50_0x4b0b7e(_0x225844,_0x1a36bc);return _0x49507c;}static async[a50_0x2ce6fc(0x11e)](_0x38c952){const _0x5113e0=a50_0x2ce6fc;var _0x42ed56;const _0x5205a8=(_0x42ed56=_0x38c952[_0x5113e0(0x110)])===null||_0x42ed56===void 0x0?void 0x0:_0x42ed56[0x0],_0x1f1ef3=await getWMTSLayerCapabilities(_0x38c952[_0x5113e0(0x113)]?_0x38c952[_0x5113e0(0x113)]:'',_0x5205a8==null?'':_0x5205a8);let _0x44958e=new a50_0x416f16(_0x38c952,_0x1f1ef3);return _0x44958e;}static async[a50_0x2ce6fc(0x10e)](_0xeaa214){const _0x5f2b6f=a50_0x2ce6fc;var _0xb4786c;const _0x2a1f66=(_0xb4786c=_0xeaa214[_0x5f2b6f(0x110)])===null||_0xb4786c===void 0x0?void 0x0:_0xb4786c[0x0],_0x285cf3=await getWMSLayerCapabilities(_0xeaa214[_0x5f2b6f(0x113)]?_0xeaa214[_0x5f2b6f(0x113)]:'',_0x2a1f66==null?'':_0x2a1f66);let _0x59a179=new a50_0x3ede4f(_0xeaa214,_0x285cf3);return _0x59a179;}static async[a50_0x2ce6fc(0x112)](_0x553987){const _0x3cdec3=a50_0x2ce6fc;var _0x437c40;const _0x1e79d8=(_0x437c40=_0x553987['sublayers'])===null||_0x437c40===void 0x0?void 0x0:_0x437c40[0x0],_0x388441=await getWMTSLayerCapabilities(_0x553987[_0x3cdec3(0x113)]?_0x553987['url']:'',_0x1e79d8==null?'':_0x1e79d8);let _0x518c89=new a50_0x29bf26(_0x553987,_0x388441);return _0x518c89;}static async['getGeoserverWFSLayer'](_0x3c2695){const _0x250e0e=a50_0x2ce6fc;var _0x33be41;const _0x532dc1=(_0x33be41=_0x3c2695[_0x250e0e(0x110)])===null||_0x33be41===void 0x0?void 0x0:_0x33be41[0x0],_0x5cd6c9=await getWFSLayerCapabilities(_0x3c2695[_0x250e0e(0x113)]?_0x3c2695['url']:'',_0x532dc1==null?'':_0x532dc1);let _0x3e2bac=new a50_0x22d550(_0x3c2695,_0x5cd6c9);return _0x3e2bac;}static async[a50_0x2ce6fc(0x115)](_0xdffbd8){const _0x211a74=a50_0x2ce6fc;var _0x2a8021;const _0x34ab97=(_0x2a8021=_0xdffbd8[_0x211a74(0x110)])===null||_0x2a8021===void 0x0?void 0x0:_0x2a8021[0x0],_0x3320e0=await getWMTSLayerCapabilities(_0xdffbd8[_0x211a74(0x113)]?_0xdffbd8[_0x211a74(0x113)]:'',_0x34ab97==null?'':_0x34ab97);let _0x271b0f=new a50_0x4e7fd8(_0xdffbd8,_0x3320e0);return _0x271b0f;}static async['getTDTLayer'](_0x219773){const _0x2c0e79=a50_0x2ce6fc;var _0x5e22df;const _0x15c315=(_0x5e22df=_0x219773[_0x2c0e79(0x110)])===null||_0x5e22df===void 0x0?void 0x0:_0x5e22df[0x0],_0x20bb4a=await getWMTSLayerCapabilities(_0x219773[_0x2c0e79(0x113)]?_0x219773[_0x2c0e79(0x113)]:'',_0x15c315==null?'':_0x15c315);let _0x372632=new a50_0x271b5d(_0x219773,_0x20bb4a);return _0x372632;}}function a50_0x2d55(){const _0x4894ec=['5335YuDZGz','1196ZtMoZV','getGeoserverWmsLayer','656708RpoYZY','sublayers','getArcgisFeatureLayer','getGeoserverWMTSLayer','url','2275301GJkBFR','getGeoserverVectorTileLayer','6rMhdnG','getArcgisTileLayer','1273839PgWktr','242942vhElPK','getArcgisWmsLayer','3128768gZlpHw','10780929ggtpjd','getDynamicLayer','getArcgisWMTSLayer'];a50_0x2d55=function(){return _0x4894ec;};return a50_0x2d55();}
@@ -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 a51_0x4e59(_0x17fa92,_0x348865){const _0x38e8bb=a51_0x38e8();return a51_0x4e59=function(_0x4e59ec,_0x179371){_0x4e59ec=_0x4e59ec-0x1db;let _0xfb898e=_0x38e8bb[_0x4e59ec];return _0xfb898e;},a51_0x4e59(_0x17fa92,_0x348865);}(function(_0x578047,_0x59a4b0){const _0x47429f=a51_0x4e59,_0x27c85d=_0x578047();while(!![]){try{const _0x1406b1=-parseInt(_0x47429f(0x1dc))/0x1*(parseInt(_0x47429f(0x1e8))/0x2)+-parseInt(_0x47429f(0x1e2))/0x3*(parseInt(_0x47429f(0x1e3))/0x4)+-parseInt(_0x47429f(0x1eb))/0x5+-parseInt(_0x47429f(0x1ef))/0x6+parseInt(_0x47429f(0x1f1))/0x7*(parseInt(_0x47429f(0x1dd))/0x8)+-parseInt(_0x47429f(0x1e5))/0x9+-parseInt(_0x47429f(0x1ed))/0xa*(-parseInt(_0x47429f(0x1ec))/0xb);if(_0x1406b1===_0x59a4b0)break;else _0x27c85d['push'](_0x27c85d['shift']());}catch(_0x973eca){_0x27c85d['push'](_0x27c85d['shift']());}}}(a51_0x38e8,0xbdb21));import a51_0xd7a8fe from'ol/layer/Tile';import{WMTS as a51_0x170bed}from'ol/source';import a51_0x2da4b2 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a51_0x38e8(){const _0xf17b3c=['KVP','length','4380357BxlmPc','4kIYIbb','style','167040FzPoNq','url','join','194edVtNh','sublayers','1.0.0','3869110fwwqUU','5027SMCAZA','91750pLxnyr','EPSG:4490','1464456HarjzY','opacity','14uUPUak','pow','format','14259DowJJh','1854872snhHev','boundingBoxExtent','projection'];a51_0x38e8=function(){return _0xf17b3c;};return a51_0x38e8();}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0xd7a8fe{constructor(_0x58af7a,_0x38b1fa){const _0x16ceeb=a51_0x4e59;let _0x28f3b8='';_0x58af7a[_0x16ceeb(0x1e9)]&&_0x58af7a[_0x16ceeb(0x1e9)][_0x16ceeb(0x1e1)]>0x0&&(_0x28f3b8=_0x58af7a[_0x16ceeb(0x1e9)][_0x16ceeb(0x1e7)](','));const _0x551253=_0x16ceeb(0x1ee);let _0x244a4c=registerProj(_0x551253);const _0x71a3f0=[],_0x1b209f=[];for(let _0x46c8f3=0x1;_0x46c8f3<0x13;_0x46c8f3++){_0x71a3f0[_0x46c8f3]=getWidth(_0x38b1fa[_0x16ceeb(0x1de)])/(0x100*Math[_0x16ceeb(0x1f2)](0x2,_0x46c8f3)),_0x1b209f[_0x46c8f3]=_0x46c8f3+'';}super({'opacity':_0x58af7a[_0x16ceeb(0x1f0)],'zIndex':_0x58af7a['mapIndex'],'source':new a51_0x170bed({'style':_0x38b1fa[_0x16ceeb(0x1e4)],'url':_0x58af7a[_0x16ceeb(0x1e6)],'tileGrid':new a51_0x2da4b2({'origin':getTopLeft(_0x38b1fa[_0x16ceeb(0x1de)]),'resolutions':_0x71a3f0,'matrixIds':_0x1b209f}),'layer':_0x28f3b8,'matrixSet':_0x38b1fa['tileMatrixSet'],'version':_0x16ceeb(0x1ea),'format':_0x38b1fa[_0x16ceeb(0x1db)][0x0],'projection':_0x551253,'requestEncoding':_0x16ceeb(0x1e0)})}),this['id']=_0x58af7a['id'],this['initialExtent']=_0x38b1fa[_0x16ceeb(0x1de)],this[_0x16ceeb(0x1df)]=_0x244a4c,this['layerInfo']=_0x58af7a;}}