ym-gis-2d 1.0.29 → 1.0.30

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 (70) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/AreaMeasure.js +1 -1
  15. package/interaction/Draw.js +1 -1
  16. package/interaction/InteractionManager.js +1 -1
  17. package/interaction/Select.js +1 -1
  18. package/layers/ArcgisDynamicLayer.js +1 -1
  19. package/layers/ArcgisFeatureLayer.js +1 -1
  20. package/layers/ArcgisTileLayer.js +1 -1
  21. package/layers/ArcgisWMSLayer.js +1 -1
  22. package/layers/ArcgisWMTSLayer.js +1 -1
  23. package/layers/GeoserverVectorTile.js +1 -1
  24. package/layers/GeoserverWFSLayer.js +1 -1
  25. package/layers/GeoserverWMSLayer.js +1 -1
  26. package/layers/GeoserverWMTSLayer.js +1 -1
  27. package/layers/LayerManager.js +1 -1
  28. package/layers/TDTLayer.js +1 -1
  29. package/mapView/Map.js +1 -1
  30. package/mapView/View.js +1 -1
  31. package/package.json +1 -1
  32. package/plot/Plot.js +1 -1
  33. package/plot/geometry/point/Point.js +1 -1
  34. package/plot/geometry/polygon/BasePolygon.js +1 -1
  35. package/plot/geometry/polygon/Circle.js +1 -1
  36. package/plot/geometry/polygon/Polygon.js +1 -1
  37. package/plot/geometry/polygon/RectAngle.js +1 -1
  38. package/plot/geometry/polyline/BaseLine.js +1 -1
  39. package/plot/geometry/polyline/Polyline.js +1 -1
  40. package/style/PointStyleFormat.js +1 -1
  41. package/style/PolygonStyleFormat.js +1 -1
  42. package/style/PolylineStyleFormat.js +1 -1
  43. package/style/StyleManager.js +1 -1
  44. package/style/common.js +1 -1
  45. package/utils/ArrayUtil.js +1 -1
  46. package/utils/AxiosUtil.js +1 -1
  47. package/utils/EsriUtil.js +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/LayerUtil.js +1 -1
  50. package/utils/RegisterProjUtil.js +1 -1
  51. package/utils/ResolutionUtil.js +1 -1
  52. package/utils/StringUtil.js +1 -1
  53. package/utils/StyleUtil.js +1 -1
  54. package/utils/UrlUtil.js +1 -1
  55. package/utils/XmlUtil.js +1 -1
  56. package/utils/format/CQL.js +1 -1
  57. package/utils/format/IsMatchCql.js +1 -1
  58. package/utils/plug/canvas/ImageCache.js +1 -1
  59. package/utils/plug/canvas/PinBuilder.js +1 -1
  60. package/utils/plug/canvas/PinIcon.js +1 -1
  61. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  62. package/utils/tasks/esri/Identify.js +1 -1
  63. package/utils/tasks/esri/Query.js +1 -1
  64. package/utils/tasks/esri/Task.js +1 -1
  65. package/utils/tasks/geoserver/QueryTask.js +1 -1
  66. package/utils/tasks/index.d.ts.map +1 -1
  67. package/utils/tasks/index.js +1 -1
  68. package/utils/tasks/index.js.map +1 -1
  69. package/ym-gis-2d.es.js +1 -1
  70. package/ym-gis-2d.umd.js +1 -1
package/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0xf86568,_0xf5607){var _0x43371d=a44_0x63ca,_0x566bca=_0xf86568();while(!![]){try{var _0x3b52ea=-parseInt(_0x43371d(0x192))/0x1*(parseInt(_0x43371d(0x18d))/0x2)+-parseInt(_0x43371d(0x191))/0x3+-parseInt(_0x43371d(0x190))/0x4*(parseInt(_0x43371d(0x18e))/0x5)+-parseInt(_0x43371d(0x18b))/0x6+parseInt(_0x43371d(0x18f))/0x7+parseInt(_0x43371d(0x18a))/0x8+parseInt(_0x43371d(0x18c))/0x9;if(_0x3b52ea===_0xf5607)break;else _0x566bca['push'](_0x566bca['shift']());}catch(_0x56c663){_0x566bca['push'](_0x566bca['shift']());}}}(a44_0x25d7,0x347e3));function a44_0x63ca(_0x576560,_0x1aa540){var _0x25d782=a44_0x25d7();return a44_0x63ca=function(_0x63ca91,_0x5e81e1){_0x63ca91=_0x63ca91-0x18a;var _0x4f4e20=_0x25d782[_0x63ca91];return _0x4f4e20;},a44_0x63ca(_0x576560,_0x1aa540);}function a44_0x25d7(){var _0x311a6b=['8mXQaED','80IlzjcF','2884504KSAWCZ','43688xERmbp','683961QLjBmy','50971XKYjjC','2321656jJsjaL','717942mekysY','2151108HdIyIe'];a44_0x25d7=function(){return _0x311a6b;};return a44_0x25d7();}import a44_0x208cdb from'./mapView/Map';export{a44_0x208cdb as Map2D};
1
+ function a44_0x3d96(_0x4e8658,_0x204349){var _0x36f00a=a44_0x36f0();return a44_0x3d96=function(_0x3d968a,_0x10dc05){_0x3d968a=_0x3d968a-0x179;var _0x49278c=_0x36f00a[_0x3d968a];return _0x49278c;},a44_0x3d96(_0x4e8658,_0x204349);}(function(_0x32f375,_0x3aaecb){var _0x209477=a44_0x3d96,_0x79c7a6=_0x32f375();while(!![]){try{var _0x1034fb=parseInt(_0x209477(0x17e))/0x1+-parseInt(_0x209477(0x181))/0x2*(parseInt(_0x209477(0x182))/0x3)+-parseInt(_0x209477(0x17f))/0x4+-parseInt(_0x209477(0x17a))/0x5*(parseInt(_0x209477(0x17c))/0x6)+parseInt(_0x209477(0x179))/0x7+-parseInt(_0x209477(0x17b))/0x8*(parseInt(_0x209477(0x17d))/0x9)+parseInt(_0x209477(0x180))/0xa;if(_0x1034fb===_0x3aaecb)break;else _0x79c7a6['push'](_0x79c7a6['shift']());}catch(_0x5f1899){_0x79c7a6['push'](_0x79c7a6['shift']());}}}(a44_0x36f0,0x85ffa));import a44_0x7803f7 from'./mapView/Map';export{a44_0x7803f7 as Map2D};function a44_0x36f0(){var _0x4eb054=['4084588CsnkLJ','8449680wgZgIp','102716gULoAg','3ZFzHpu','5136691qTqAOO','10YcoEjw','16OSbJKj','76434OwtTWm','1505799yoInjU','402682iwsGCU'];a44_0x36f0=function(){return _0x4eb054;};return a44_0x36f0();}
@@ -1 +1 @@
1
- const a45_0x183fef=a45_0x226a;function a45_0x4f2f(){const _0x4e0176=['precision','spheroid','_features','getProjection','_showLabel','getMap','removeFeature','drawAddPoint','filter','measureMoving','fromEntries','389625fhBSln','unit','_unit','187743OQtcsx','dispatchEvent','setStyle','polygon','setFeatureAreaStyle','196MjUscU','forEach','drawMoving','label','coordinates','find','assign','hectare','976736AlkclA','text','square-meters','onInternal','toFixed','drawEnd','showLabel','measure','length','fromType','_source','getLength','clearMeasure','_precision','getSource','entries','setMap','measureEnd','log','feature','getGeometry','type','_spheroid','1106255glRWyp','1475484rCsQjo','_style','area','382156HkqCHE','69704odWthP','getText','clear'];a45_0x4f2f=function(){return _0x4e0176;};return a45_0x4f2f();}(function(_0x53bc01,_0x34c6c7){const _0x393536=a45_0x226a,_0x571620=_0x53bc01();while(!![]){try{const _0x564075=-parseInt(_0x393536(0x85))/0x1+parseInt(_0x393536(0x76))/0x2+-parseInt(_0x393536(0x88))/0x3+-parseInt(_0x393536(0x95))/0x4+parseInt(_0x393536(0x72))/0x5+parseInt(_0x393536(0x73))/0x6+-parseInt(_0x393536(0x8d))/0x7*(-parseInt(_0x393536(0x77))/0x8);if(_0x564075===_0x34c6c7)break;else _0x571620['push'](_0x571620['shift']());}catch(_0x304348){_0x571620['push'](_0x571620['shift']());}}}(a45_0x4f2f,0x323f9));import a45_0x5ed376 from'./Draw';import a45_0x54f92f from'ol/events/Event';import{getArea}from'../utils/GeometryUtil';import{getStyle}from'../plot/Plot';import a45_0x20965d from'../entity/measure/AreaMeasureUnits';import a45_0x48152f from'ol/Collection';function a45_0x226a(_0x36fb26,_0x3b1c44){const _0x4f2ff4=a45_0x4f2f();return a45_0x226a=function(_0x226adc,_0x52a89e){_0x226adc=_0x226adc-0x6b;let _0x2e5369=_0x4f2ff4[_0x226adc];return _0x2e5369;},a45_0x226a(_0x36fb26,_0x3b1c44);}const defaultOptions={'color':'#f03437','fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0xff,0x0,0x0,0x0],'outlineOpacity':0.6,'outlineWidth':0x2,'font':{},'unit':a45_0x183fef(0x97),'precision':0x2,'showLabel':!![],'spheroid':![]},MeasureEventType={'measureMoving':'measureMoving','measureEnd':a45_0x183fef(0x6c)};export class AreaMeasureEvent extends a45_0x54f92f{constructor(_0x5d04fd,_0x38816e,_0x5f11ec){const _0x3ecf87=a45_0x183fef;super(_0x5d04fd),this[_0x3ecf87(0x75)]=_0x38816e,this['geom']=_0x5f11ec;}}export default class AreaMeasure extends a45_0x5ed376{constructor(_0x584ff7){const _0x5af9dd=a45_0x183fef;_0x584ff7=_0x584ff7||{},console[_0x5af9dd(0x6d)](_0x584ff7);const _0x429f9f=Object['assign'](Object[_0x5af9dd(0x93)]({},defaultOptions),Object[_0x5af9dd(0x84)](Object[_0x5af9dd(0xa4)](_0x584ff7)[_0x5af9dd(0x82)](([_0x3dccf9,_0x54beb6])=>_0x54beb6!=null)));super(_0x5af9dd(0x8b),{'tipText':'点击开始测量,双击结束测量','style':_0x429f9f,'features':new a45_0x48152f()}),this['_style']=_0x429f9f,this[_0x5af9dd(0x87)]=_0x429f9f[_0x5af9dd(0x86)],this[_0x5af9dd(0xa2)]=_0x429f9f[_0x5af9dd(0x7a)],this[_0x5af9dd(0x7e)]=_0x429f9f[_0x5af9dd(0x9b)],this[_0x5af9dd(0x71)]=_0x429f9f[_0x5af9dd(0x7b)],this['on']=this[_0x5af9dd(0x98)],this['on'](_0x5af9dd(0x9a),_0xfe2da5=>{const _0x3524b8=_0x5af9dd,_0x430080=this[_0x3524b8(0x7f)]();if(!_0x430080)return;if(_0xfe2da5[_0x3524b8(0x6e)]){const _0x1383af=this[_0x3524b8(0x8c)](_0xfe2da5[_0x3524b8(0x6e)],_0x429f9f);this[_0x3524b8(0x89)](new AreaMeasureEvent(MeasureEventType[_0x3524b8(0x6c)],_0x1383af,_0xfe2da5[_0x3524b8(0x6e)][_0x3524b8(0x6f)]()));}this[_0x3524b8(0x74)][_0x3524b8(0x96)]='';}),this['on'](_0x5af9dd(0x81),_0x17978d=>{const _0x5d3b91=_0x5af9dd,_0xe6468a=this[_0x5d3b91(0x7f)]();if(!_0xe6468a)return;if(_0x17978d[_0x5d3b91(0x6e)]){const _0x320e14=this[_0x5d3b91(0x8c)](_0x17978d[_0x5d3b91(0x6e)],_0x429f9f);this[_0x5d3b91(0x89)](new AreaMeasureEvent(MeasureEventType[_0x5d3b91(0x83)],_0x320e14,_0x17978d[_0x5d3b91(0x6e)][_0x5d3b91(0x6f)]()));}}),this['on'](_0x5af9dd(0x8f),_0xc34395=>{const _0x2d2f72=_0x5af9dd,_0x2bfe61=this[_0x2d2f72(0x7f)]();if(!_0x2bfe61)return;if(!_0xc34395[_0x2d2f72(0x91)]||_0xc34395['coordinates'][_0x2d2f72(0x9d)]<0x2)return;if(_0xc34395[_0x2d2f72(0x6e)]){const _0x2605b7=this[_0x2d2f72(0x8c)](_0xc34395['feature'],_0x429f9f);this['dispatchEvent'](new AreaMeasureEvent(MeasureEventType['measureMoving'],_0x2605b7,_0xc34395[_0x2d2f72(0x6e)][_0x2d2f72(0x6f)]()));}});}[a45_0x183fef(0x6b)](_0x374415){const _0x5c3eb3=a45_0x183fef;super[_0x5c3eb3(0x6b)](_0x374415);if(_0x374415){const _0x3eb17d=_0x374415['getPolygonTempLayer'](),_0x465dfa=_0x3eb17d===null||_0x3eb17d===void 0x0?void 0x0:_0x3eb17d[_0x5c3eb3(0xa3)]();_0x465dfa&&(this[_0x5c3eb3(0x9f)]=_0x465dfa);}}[a45_0x183fef(0x78)](_0x15004d){const _0x189bd3=a45_0x183fef,_0x3d1bcc=a45_0x20965d[_0x189bd3(0x92)](_0x27383c=>_0x27383c[_0x189bd3(0x70)]===this['_unit']);switch(_0x3d1bcc===null||_0x3d1bcc===void 0x0?void 0x0:_0x3d1bcc[_0x189bd3(0x70)]){case _0x189bd3(0x97):return''+(_0x15004d['toFixed'](this[_0x189bd3(0xa2)])+_0x3d1bcc[_0x189bd3(0x90)]);case'square-kilometers':return''+((_0x15004d*0.000001)[_0x189bd3(0x99)](this[_0x189bd3(0xa2)])+_0x3d1bcc[_0x189bd3(0x90)]);case'mu':return''+((_0x15004d*0.0015)[_0x189bd3(0x99)](this[_0x189bd3(0xa2)])+_0x3d1bcc[_0x189bd3(0x90)]);case _0x189bd3(0x94):return''+((_0x15004d*0.0001)[_0x189bd3(0x99)](this[_0x189bd3(0xa2)])+_0x3d1bcc[_0x189bd3(0x90)]);default:return _0x15004d[_0x189bd3(0x99)](this[_0x189bd3(0xa2)])+'平方米';}}[a45_0x183fef(0x8c)](_0x5d13e5,_0x487d92){const _0xf35ede=a45_0x183fef,_0x1142c7=this[_0xf35ede(0x7f)]();if(!_0x1142c7)return 0x0;const _0x2534e9=_0x5d13e5[_0xf35ede(0x6f)](),_0x159261=getArea(_0x2534e9,_0x1142c7['getView']()[_0xf35ede(0x7d)](),this[_0xf35ede(0x71)]);return _0x5d13e5[_0xf35ede(0x9e)]=_0xf35ede(0x9c),this['_showLabel']&&(_0x487d92[_0xf35ede(0x96)]=this[_0xf35ede(0x78)](_0x159261),_0x5d13e5[_0xf35ede(0x8a)](getStyle('polygon',_0x487d92,_0x1142c7))),_0x159261;}['setUnit'](_0x510d08){const _0x34c4ae=a45_0x183fef;this[_0x34c4ae(0x87)]=_0x510d08,this[_0x34c4ae(0x7c)]&&this[_0x34c4ae(0x7c)][_0x34c4ae(0xa0)]()>0x0&&this[_0x34c4ae(0x7c)][_0x34c4ae(0x8e)](_0x2184d1=>{const _0x5e5cd0=_0x34c4ae;this['setFeatureAreaStyle'](_0x2184d1,this[_0x5e5cd0(0x74)]);});}[a45_0x183fef(0xa1)](){const _0x5a3001=a45_0x183fef,_0x5dab09=this[_0x5a3001(0x7f)]();if(!_0x5dab09)return;const _0x123227=_0x5dab09['getPolygonTempLayer'](),_0x39e78c=_0x123227===null||_0x123227===void 0x0?void 0x0:_0x123227[_0x5a3001(0xa3)]();_0x39e78c&&this[_0x5a3001(0x7c)]&&this[_0x5a3001(0x7c)]['getLength']()>0x0&&(this[_0x5a3001(0x7c)][_0x5a3001(0x8e)](_0x1092da=>{const _0x115e76=_0x5a3001;_0x39e78c[_0x115e76(0x80)](_0x1092da);}),this[_0x5a3001(0x7c)][_0x5a3001(0x79)]());}}
1
+ const a45_0x176b1a=a45_0x5057;(function(_0x4e0aed,_0x33645e){const _0x384d00=a45_0x5057,_0x3f3e3b=_0x4e0aed();while(!![]){try{const _0x422af2=parseInt(_0x384d00(0x1cd))/0x1*(-parseInt(_0x384d00(0x1c1))/0x2)+-parseInt(_0x384d00(0x1b0))/0x3*(parseInt(_0x384d00(0x1b8))/0x4)+-parseInt(_0x384d00(0x1ac))/0x5*(-parseInt(_0x384d00(0x1c3))/0x6)+-parseInt(_0x384d00(0x1a1))/0x7+parseInt(_0x384d00(0x1a9))/0x8*(parseInt(_0x384d00(0x1bf))/0x9)+-parseInt(_0x384d00(0x197))/0xa+parseInt(_0x384d00(0x198))/0xb*(parseInt(_0x384d00(0x1a0))/0xc);if(_0x422af2===_0x33645e)break;else _0x3f3e3b['push'](_0x3f3e3b['shift']());}catch(_0xf3be78){_0x3f3e3b['push'](_0x3f3e3b['shift']());}}}(a45_0x1cff,0x6e46a));import a45_0x1583ec from'./Draw';function a45_0x1cff(){const _0x4edaef=['getSource','3068kfsNVq','clear','setMap','find','polygon','square-meters','getMap','72HqYiEo','length','692078gZNbDK','feature','6dCFMvF','geom','_precision','coordinates','_features','drawEnd','forEach','square-kilometers','_showLabel','toFixed','1mzFuAv','getLength','#f03437','measure','dispatchEvent','log','setFeatureAreaStyle','getGeometry','_spheroid','4280600ssSZCQ','10044023hlixvc','setUnit','_source','getProjection','removeFeature','setStyle','precision','fromType','12QNbDOu','3996237gKFSPy','entries','clearMeasure','type','showLabel','_style','unit','label','615544ipxTxw','area','filter','4277825OMfoVG','drawMoving','_unit','fromEntries','2298slLRxC','点击开始测量,双击结束测量','getView','text','getPolygonTempLayer','measureMoving','getText'];a45_0x1cff=function(){return _0x4edaef;};return a45_0x1cff();}import a45_0x4b2590 from'ol/events/Event';import{getArea}from'../utils/GeometryUtil';import{getStyle}from'../plot/Plot';function a45_0x5057(_0x3e2fbe,_0x1eefb8){const _0x1cff75=a45_0x1cff();return a45_0x5057=function(_0x50572b,_0x376d26){_0x50572b=_0x50572b-0x195;let _0x14b46b=_0x1cff75[_0x50572b];return _0x14b46b;},a45_0x5057(_0x3e2fbe,_0x1eefb8);}import a45_0x848a1 from'../entity/measure/AreaMeasureUnits';import a45_0x410f23 from'ol/Collection';const defaultOptions={'color':a45_0x176b1a(0x1cf),'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0xff,0x0,0x0,0x0],'outlineOpacity':0.6,'outlineWidth':0x2,'font':{},'unit':a45_0x176b1a(0x1bd),'precision':0x2,'showLabel':!![],'spheroid':![]},MeasureEventType={'measureMoving':'measureMoving','measureEnd':'measureEnd'};export class AreaMeasureEvent extends a45_0x4b2590{constructor(_0x1f4e53,_0x5b0752,_0x134d4c){const _0x50a13c=a45_0x176b1a;super(_0x1f4e53),this[_0x50a13c(0x1aa)]=_0x5b0752,this[_0x50a13c(0x1c4)]=_0x134d4c;}}export default class AreaMeasure extends a45_0x1583ec{constructor(_0x215350){const _0xa78f13=a45_0x176b1a;_0x215350=_0x215350||{},console[_0xa78f13(0x1d2)](_0x215350);const _0x481d4c=Object['assign'](Object['assign']({},defaultOptions),Object[_0xa78f13(0x1af)](Object[_0xa78f13(0x1a2)](_0x215350)[_0xa78f13(0x1ab)](([_0x30dd3d,_0x2f6833])=>_0x2f6833!=null)));super(_0xa78f13(0x1bc),{'tipText':_0xa78f13(0x1b1),'style':_0x481d4c,'features':new a45_0x410f23()}),this[_0xa78f13(0x1a6)]=_0x481d4c,this[_0xa78f13(0x1ae)]=_0x481d4c[_0xa78f13(0x1a7)],this[_0xa78f13(0x1c5)]=_0x481d4c[_0xa78f13(0x19e)],this[_0xa78f13(0x1cb)]=_0x481d4c[_0xa78f13(0x1a5)],this[_0xa78f13(0x196)]=_0x481d4c['spheroid'],this['on']=this['onInternal'],this['on'](_0xa78f13(0x1c8),_0x6ed313=>{const _0x4ff811=_0xa78f13,_0x10c9fe=this['getMap']();if(!_0x10c9fe)return;if(_0x6ed313[_0x4ff811(0x1c2)]){const _0x257e37=this[_0x4ff811(0x1d3)](_0x6ed313[_0x4ff811(0x1c2)],_0x481d4c);this['dispatchEvent'](new AreaMeasureEvent(MeasureEventType['measureEnd'],_0x257e37,_0x6ed313['feature'][_0x4ff811(0x195)]()));}this[_0x4ff811(0x1a6)][_0x4ff811(0x1b3)]='';}),this['on']('drawAddPoint',_0x37f617=>{const _0x49c167=_0xa78f13,_0x423d55=this[_0x49c167(0x1be)]();if(!_0x423d55)return;if(_0x37f617[_0x49c167(0x1c2)]){const _0x21c97b=this['setFeatureAreaStyle'](_0x37f617[_0x49c167(0x1c2)],_0x481d4c);this[_0x49c167(0x1d1)](new AreaMeasureEvent(MeasureEventType[_0x49c167(0x1b5)],_0x21c97b,_0x37f617[_0x49c167(0x1c2)][_0x49c167(0x195)]()));}}),this['on'](_0xa78f13(0x1ad),_0x4b9b9a=>{const _0x55df41=_0xa78f13,_0x533ca1=this[_0x55df41(0x1be)]();if(!_0x533ca1)return;if(!_0x4b9b9a[_0x55df41(0x1c6)]||_0x4b9b9a['coordinates'][_0x55df41(0x1c0)]<0x2)return;if(_0x4b9b9a[_0x55df41(0x1c2)]){const _0x552908=this[_0x55df41(0x1d3)](_0x4b9b9a[_0x55df41(0x1c2)],_0x481d4c);this['dispatchEvent'](new AreaMeasureEvent(MeasureEventType['measureMoving'],_0x552908,_0x4b9b9a[_0x55df41(0x1c2)][_0x55df41(0x195)]()));}});}[a45_0x176b1a(0x1ba)](_0x2a3d40){const _0x290da4=a45_0x176b1a;super[_0x290da4(0x1ba)](_0x2a3d40);if(_0x2a3d40){const _0x25732f=_0x2a3d40[_0x290da4(0x1b4)](),_0x1e8d1a=_0x25732f===null||_0x25732f===void 0x0?void 0x0:_0x25732f[_0x290da4(0x1b7)]();_0x1e8d1a&&(this[_0x290da4(0x19a)]=_0x1e8d1a);}}[a45_0x176b1a(0x1b6)](_0x192bfc){const _0x3ddbbe=a45_0x176b1a,_0x3f0978=a45_0x848a1[_0x3ddbbe(0x1bb)](_0xf71b5f=>_0xf71b5f[_0x3ddbbe(0x1a4)]===this[_0x3ddbbe(0x1ae)]);switch(_0x3f0978===null||_0x3f0978===void 0x0?void 0x0:_0x3f0978[_0x3ddbbe(0x1a4)]){case'square-meters':return''+(_0x192bfc[_0x3ddbbe(0x1cc)](this[_0x3ddbbe(0x1c5)])+_0x3f0978[_0x3ddbbe(0x1a8)]);case _0x3ddbbe(0x1ca):return''+((_0x192bfc*0.000001)[_0x3ddbbe(0x1cc)](this[_0x3ddbbe(0x1c5)])+_0x3f0978[_0x3ddbbe(0x1a8)]);case'mu':return''+((_0x192bfc*0.0015)[_0x3ddbbe(0x1cc)](this[_0x3ddbbe(0x1c5)])+_0x3f0978['label']);case'hectare':return''+((_0x192bfc*0.0001)[_0x3ddbbe(0x1cc)](this[_0x3ddbbe(0x1c5)])+_0x3f0978['label']);default:return _0x192bfc[_0x3ddbbe(0x1cc)](this[_0x3ddbbe(0x1c5)])+'平方米';}}[a45_0x176b1a(0x1d3)](_0x56b518,_0x13136e){const _0x567900=a45_0x176b1a,_0x50e8b7=this[_0x567900(0x1be)]();if(!_0x50e8b7)return 0x0;const _0x48b35f=_0x56b518['getGeometry'](),_0x4713be=getArea(_0x48b35f,_0x50e8b7[_0x567900(0x1b2)]()[_0x567900(0x19b)](),this[_0x567900(0x196)]);return _0x56b518[_0x567900(0x19f)]=_0x567900(0x1d0),this[_0x567900(0x1cb)]&&(_0x13136e[_0x567900(0x1b3)]=this[_0x567900(0x1b6)](_0x4713be),_0x56b518[_0x567900(0x19d)](getStyle(_0x567900(0x1bc),_0x13136e,_0x50e8b7))),_0x4713be;}[a45_0x176b1a(0x199)](_0x1dbcc9){const _0x3f419c=a45_0x176b1a;this[_0x3f419c(0x1ae)]=_0x1dbcc9,this[_0x3f419c(0x1c7)]&&this[_0x3f419c(0x1c7)]['getLength']()>0x0&&this[_0x3f419c(0x1c7)][_0x3f419c(0x1c9)](_0x463814=>{const _0x5a79b8=_0x3f419c;this[_0x5a79b8(0x1d3)](_0x463814,this[_0x5a79b8(0x1a6)]);});}[a45_0x176b1a(0x1a3)](){const _0x9e49f7=a45_0x176b1a,_0x1e85ac=this[_0x9e49f7(0x1be)]();if(!_0x1e85ac)return;const _0x5ce456=_0x1e85ac[_0x9e49f7(0x1b4)](),_0x1f581b=_0x5ce456===null||_0x5ce456===void 0x0?void 0x0:_0x5ce456[_0x9e49f7(0x1b7)]();_0x1f581b&&this[_0x9e49f7(0x1c7)]&&this[_0x9e49f7(0x1c7)][_0x9e49f7(0x1ce)]()>0x0&&(this[_0x9e49f7(0x1c7)][_0x9e49f7(0x1c9)](_0x248658=>{const _0x5327c5=_0x9e49f7;_0x1f581b[_0x5327c5(0x19c)](_0x248658);}),this[_0x9e49f7(0x1c7)][_0x9e49f7(0x1b9)]());}}
@@ -1 +1 @@
1
- const a46_0x288d77=a46_0x4adf;(function(_0x12c1b7,_0x395fa7){const _0x2eab77=a46_0x4adf,_0x2f3266=_0x12c1b7();while(!![]){try{const _0x3500a6=parseInt(_0x2eab77(0x22e))/0x1+parseInt(_0x2eab77(0x240))/0x2+-parseInt(_0x2eab77(0x216))/0x3+-parseInt(_0x2eab77(0x20b))/0x4*(parseInt(_0x2eab77(0x238))/0x5)+parseInt(_0x2eab77(0x222))/0x6+parseInt(_0x2eab77(0x1ee))/0x7*(-parseInt(_0x2eab77(0x21e))/0x8)+-parseInt(_0x2eab77(0x213))/0x9*(-parseInt(_0x2eab77(0x20f))/0xa);if(_0x3500a6===_0x395fa7)break;else _0x2f3266['push'](_0x2f3266['shift']());}catch(_0x421361){_0x2f3266['push'](_0x2f3266['shift']());}}}(a46_0x5dcb,0x250f1));import a46_0x495bde from'ol/events/Event';import a46_0x19cdbf from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';import a46_0x57869a from'ol/Feature';import a46_0x3ed346,{createEditingStyle}from'ol/style/Style';import a46_0x59dea7 from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';function a46_0x4adf(_0x2abb3c,_0x59f311){const _0x5dcb7b=a46_0x5dcb();return a46_0x4adf=function(_0x4adf63,_0x4e2d19){_0x4adf63=_0x4adf63-0x1d9;let _0x46b581=_0x5dcb7b[_0x4adf63];return _0x46b581;},a46_0x4adf(_0x2abb3c,_0x59f311);}import a46_0x3c890a from'ol/style/Text';import a46_0x3c81e0 from'ol/style/Fill';import a46_0x857958 from'ol/interaction/Property';function a46_0x5dcb(){const _0x9e0e57=['dispatchEvent','setStyle','_overlay','9ZQUELo','_fixPoint','pixel','446580CCTjOZ','indexOf','fixPoint','单击增加点,右击删除点双击完成绘制','drawStart','getView','_drawingCoordinates','features','8KTAylQ','getMap','updateState_','DRAWMOVING','854754XuWEMG','setText','preventDefault','DRAWADDPOINT','addChangeListener','setMap','_tipFeature','getType','rectangle','finishDrawing','tipText','unInternal','232214hQsJIN','handleMoveEvent','rgba(0,\x200,\x200,\x200.4)','setGeometry','onInternal','originalEvent','_snapTolerance','getCode','_sketchFeature','getProjection','1905XGmizV','_isStayDraw','getSource','addPoint','onceInternal','Rectangle','addFeature','updateSketchFeatures_','322570Dhutqz','getGeometry','abortDrawing_','DRAWEND','Ellipse','sqrt','revert','minPoint','_minPoints','createMultiPointFeature','point','单击结束绘制,右击删除点','_style','单击增加点,右击删除点','drawMoving','_showTip','_features','wrapX','单击拖动绘制','feature','clear','abortDrawing','coordinates','rgba(255,\x20255,\x20255,\x201)','1797698YyEkxd','getActive','MAX_VALUE','atFinish_','drawAbort','DRAWSTART','once','getText','_tipStyle','_type','getPixelFromCoordinate','drawEnd','ACTIVE','buildDrawingFeature','stopDown','_source','source','push','startDrawing_','length','showTip','projection','_tipOverlay','snapTolerance','handleDownEvent','handleDragEvent','button','Ellipsoid','left','2552SYkdav','type','pointermove','coordinate','2645870fBixrm'];a46_0x5dcb=function(){return _0x9e0e57;};return a46_0x5dcb();}import a46_0x5d8113 from'ol/layer/Vector';import a46_0x2c23bf from'../entity/GeometryType';const DrawEventType={'DRAWSTART':a46_0x288d77(0x21a),'DRAWEND':a46_0x288d77(0x1f9),'DRAWABORT':a46_0x288d77(0x1f2),'DRAWADDPOINT':'drawAddPoint','DRAWMOVING':a46_0x288d77(0x1e4)};export class DrawEvent extends a46_0x495bde{constructor(_0x4e233f,_0x2bf503,_0x201124){const _0x4287d1=a46_0x288d77;super(_0x4e233f),this[_0x4287d1(0x1e9)]=_0x2bf503,this[_0x4287d1(0x1ec)]=_0x201124;}}export class ShEvent extends a46_0x495bde{constructor(_0x32399b,_0x864af1,_0x1baea1,_0x280843,_0x25cf23){const _0x6ebaf=a46_0x288d77;super(_0x32399b),this[_0x6ebaf(0x203)]=_0x25cf23,this[_0x6ebaf(0x20c)]=_0x864af1,this[_0x6ebaf(0x20e)]=_0x1baea1,this['coordinates']=_0x280843;}}export default class Draw extends a46_0x19cdbf{constructor(_0x22acf0,_0xc77aee){const _0x345a71=a46_0x288d77,_0x205822=_0xc77aee?_0xc77aee:{};!_0x205822['stopDown']&&(_0x205822[_0x345a71(0x1fc)]=![]);super(_0xc77aee),this['on']=this[_0x345a71(0x232)],this[_0x345a71(0x1f4)]=this[_0x345a71(0x23c)],this['un']=this[_0x345a71(0x22d)],this[_0x345a71(0x239)]=![],this['_type']=_0x22acf0,this[_0x345a71(0x1e2)]=_0xc77aee===null||_0xc77aee===void 0x0?void 0x0:_0xc77aee['style'],this[_0x345a71(0x1fd)]=_0xc77aee===null||_0xc77aee===void 0x0?void 0x0:_0xc77aee[_0x345a71(0x1fe)],this[_0x345a71(0x1e6)]=_0xc77aee===null||_0xc77aee===void 0x0?void 0x0:_0xc77aee[_0x345a71(0x21d)];const _0x85912e=getPlotCount(this[_0x345a71(0x1f7)]);this[_0x345a71(0x1de)]=_0x85912e[_0x345a71(0x1dd)],this[_0x345a71(0x214)]=_0x85912e[_0x345a71(0x218)],this['tipText']=_0xc77aee===null||_0xc77aee===void 0x0?void 0x0:_0xc77aee[_0x345a71(0x22c)],this[_0x345a71(0x1e5)]=(_0xc77aee===null||_0xc77aee===void 0x0?void 0x0:_0xc77aee[_0x345a71(0x202)])==![]?![]:!![],this['_snapTolerance']=_0x205822[_0x345a71(0x205)]?_0x205822['snapTolerance']:0x6,this[_0x345a71(0x228)]=new a46_0x57869a(),this['_tipStyle']=new a46_0x3ed346({'text':new a46_0x3c890a({'font':'12px\x20Calibre,sans-serif','fill':new a46_0x3c81e0({'color':_0x345a71(0x1ed)}),'backgroundFill':new a46_0x3c81e0({'color':_0x345a71(0x230)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x345a71(0x20a),'offsetX':0xf})}),this[_0x345a71(0x21c)]=[],this[_0x345a71(0x204)]=new a46_0x5d8113({'source':new a46_0x59dea7({'useSpatialIndex':![],'wrapX':(_0xc77aee===null||_0xc77aee===void 0x0?void 0x0:_0xc77aee[_0x345a71(0x1e7)])?_0xc77aee[_0x345a71(0x1e7)]:![]})}),this[_0x345a71(0x212)]=new a46_0x5d8113({'source':new a46_0x59dea7({'useSpatialIndex':![],'wrapX':(_0xc77aee===null||_0xc77aee===void 0x0?void 0x0:_0xc77aee[_0x345a71(0x1e7)])?_0xc77aee[_0x345a71(0x1e7)]:![]}),'updateWhileInteracting':!![]}),this[_0x345a71(0x226)](a46_0x857958[_0x345a71(0x1fa)],this[_0x345a71(0x220)]);}[a46_0x288d77(0x220)](){const _0x261f86=a46_0x288d77,_0x15d1c4=this['getMap'](),_0x288115=this[_0x261f86(0x1ef)]();(!_0x15d1c4||!_0x288115)&&this[_0x261f86(0x1eb)](),this[_0x261f86(0x212)][_0x261f86(0x227)](_0x288115?_0x15d1c4:null),this[_0x261f86(0x204)][_0x261f86(0x227)](_0x288115?_0x15d1c4:null);}['setMap'](_0x247bc9){super['setMap'](_0x247bc9),this['updateState_']();}[a46_0x288d77(0x211)](_0x4b87de){const _0x1be65a=a46_0x288d77;this[_0x1be65a(0x1e2)]=_0x4b87de?_0x4b87de:{};}['getOverlay'](){return this['_overlay'];}[a46_0x288d77(0x206)](_0x83e50f){const _0x4fba1b=a46_0x288d77;if(_0x83e50f[_0x4fba1b(0x233)][_0x4fba1b(0x208)]===0x2)return _0x83e50f[_0x4fba1b(0x233)][_0x4fba1b(0x224)](),this[_0x4fba1b(0x1dc)](),this[_0x4fba1b(0x22f)](_0x83e50f),![];return!![];}['handleUpEvent'](_0x4a0067){const _0x2ff0b6=a46_0x288d77;var _0xc4cb00,_0x26a35b;if(this[_0x2ff0b6(0x1f7)]==_0x2ff0b6(0x22a)&&this[_0x2ff0b6(0x21c)][_0x2ff0b6(0x201)]<0x1)return this[_0x2ff0b6(0x210)](new DrawEvent(DrawEventType['DRAWEND'],undefined,[_0x4a0067[_0x2ff0b6(0x20e)]])),![];if(!this['_isStayDraw'])this['startDrawing_'](_0x4a0067[_0x2ff0b6(0x20e)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0x2ff0b6(0x225)],this[_0x2ff0b6(0x1f7)],_0x4a0067['coordinate'],this[_0x2ff0b6(0x21c)],(_0xc4cb00=this[_0x2ff0b6(0x21f)]())===null||_0xc4cb00===void 0x0?void 0x0:_0xc4cb00[_0x2ff0b6(0x21b)]()[_0x2ff0b6(0x237)]()['getCode']())),this[_0x2ff0b6(0x1f7)]==_0x2ff0b6(0x1e0)&&this['finishDrawing']();else{if(this['_drawingCoordinates']&&this[_0x2ff0b6(0x21c)][_0x2ff0b6(0x201)]>0x0){if(this[_0x2ff0b6(0x1f1)](_0x4a0067[_0x2ff0b6(0x215)]))return this['finishDrawing'](),_0x4a0067[_0x2ff0b6(0x224)](),![];let _0x21c768=this['_drawingCoordinates'][_0x2ff0b6(0x201)]+0x1;_0x21c768<=this['_fixPoint']&&this[_0x2ff0b6(0x23b)](_0x4a0067[_0x2ff0b6(0x20e)]),this[_0x2ff0b6(0x210)](new ShEvent(DrawEventType[_0x2ff0b6(0x225)],this[_0x2ff0b6(0x1f7)],_0x4a0067[_0x2ff0b6(0x20e)],this[_0x2ff0b6(0x21c)],(_0x26a35b=this[_0x2ff0b6(0x21f)]())===null||_0x26a35b===void 0x0?void 0x0:_0x26a35b[_0x2ff0b6(0x21b)]()[_0x2ff0b6(0x237)]()[_0x2ff0b6(0x235)]())),_0x21c768>=this[_0x2ff0b6(0x1de)]&&this[_0x2ff0b6(0x1fb)](this['_drawingCoordinates']),_0x21c768===this['_fixPoint']&&this[_0x2ff0b6(0x22b)]();}}return _0x4a0067[_0x2ff0b6(0x224)](),![];}[a46_0x288d77(0x207)](_0x215451){const _0x421ba3=a46_0x288d77;var _0x313f51;if(this[_0x421ba3(0x1f7)]==_0x421ba3(0x22a)&&_0x215451[_0x421ba3(0x233)]['type']==_0x421ba3(0x20d)){if(!this[_0x421ba3(0x239)]){this[_0x421ba3(0x200)](_0x215451[_0x421ba3(0x20e)]),this[_0x421ba3(0x210)](new ShEvent(DrawEventType[_0x421ba3(0x225)],this[_0x421ba3(0x1f7)],_0x215451['coordinate'],this[_0x421ba3(0x21c)],(_0x313f51=this[_0x421ba3(0x21f)]())===null||_0x313f51===void 0x0?void 0x0:_0x313f51[_0x421ba3(0x21b)]()[_0x421ba3(0x237)]()[_0x421ba3(0x235)]()));return;}let _0x27e4bb=[...this[_0x421ba3(0x21c)],_0x215451[_0x421ba3(0x20e)]];this[_0x421ba3(0x1fb)](_0x27e4bb),this[_0x421ba3(0x210)](new DrawEvent(DrawEventType[_0x421ba3(0x221)],this[_0x421ba3(0x236)],this[_0x421ba3(0x21c)]));}}[a46_0x288d77(0x22f)](_0x4631bb){const _0x461fcf=a46_0x288d77;var _0x31f1d6,_0x52adf3,_0x270df2;let _0x3a1ef6='';this[_0x461fcf(0x1f7)]==_0x461fcf(0x20d)&&(this[_0x461fcf(0x200)](_0x4631bb[_0x461fcf(0x20e)]),this[_0x461fcf(0x210)](new ShEvent(DrawEventType[_0x461fcf(0x225)],this[_0x461fcf(0x1f7)],_0x4631bb[_0x461fcf(0x20e)],this[_0x461fcf(0x21c)],(_0x31f1d6=this['getMap']())===null||_0x31f1d6===void 0x0?void 0x0:_0x31f1d6[_0x461fcf(0x21b)]()['getProjection']()[_0x461fcf(0x235)]())),this['finishDrawing']());!this[_0x461fcf(0x239)]?_0x3a1ef6=this['_type']==_0x461fcf(0x22a)?_0x461fcf(0x1e8):'单击开始绘制':(_0x3a1ef6=_0x461fcf(0x1e3),((_0x52adf3=this[_0x461fcf(0x21c)])===null||_0x52adf3===void 0x0?void 0x0:_0x52adf3[_0x461fcf(0x201)])===this[_0x461fcf(0x214)]-0x1&&(_0x3a1ef6=_0x461fcf(0x1e1)),((_0x270df2=this[_0x461fcf(0x21c)])===null||_0x270df2===void 0x0?void 0x0:_0x270df2[_0x461fcf(0x201)])>=this[_0x461fcf(0x1de)]&&this[_0x461fcf(0x214)]===Number[_0x461fcf(0x1f0)]&&(_0x3a1ef6=_0x461fcf(0x219)));this['tipText']!=undefined&&(_0x3a1ef6=this[_0x461fcf(0x22c)]);this['updateTip_'](_0x4631bb[_0x461fcf(0x20e)],_0x3a1ef6);if(this[_0x461fcf(0x239)]&&this['_type']!='rectangle'){let _0xc8d697=[...this[_0x461fcf(0x21c)],_0x4631bb[_0x461fcf(0x20e)]];this['buildDrawingFeature'](_0xc8d697);}this[_0x461fcf(0x210)](new DrawEvent(DrawEventType[_0x461fcf(0x221)],this[_0x461fcf(0x236)],this[_0x461fcf(0x21c)]));}['atFinish_'](_0x250c0c){const _0x344cd4=a46_0x288d77;var _0x4032c9;let _0x55c876=![],_0x2d430a=this['_drawingCoordinates'][_0x344cd4(0x201)];if(_0x2d430a>this[_0x344cd4(0x1de)]&&this[_0x344cd4(0x214)]===Number['MAX_VALUE']){const _0x4a71e7=this[_0x344cd4(0x21c)][this['_drawingCoordinates'][_0x344cd4(0x201)]-0x1],_0x5c0299=(_0x4032c9=this[_0x344cd4(0x21f)]())===null||_0x4032c9===void 0x0?void 0x0:_0x4032c9[_0x344cd4(0x1f8)](_0x4a71e7),_0x3c62bf=_0x250c0c[0x0]-(_0x5c0299?_0x5c0299[0x0]:0x0),_0x276502=_0x250c0c[0x1]-(_0x5c0299?_0x5c0299[0x1]:0x0);_0x55c876=Math[_0x344cd4(0x1db)](_0x3c62bf*_0x3c62bf+_0x276502*_0x276502)<=this[_0x344cd4(0x234)];}return _0x55c876;}[a46_0x288d77(0x200)](_0x47c832){const _0xef04b1=a46_0x288d77;this['_isStayDraw']=!![],this[_0xef04b1(0x21c)]=[_0x47c832['slice']()],this[_0xef04b1(0x236)]=this['createMultiPointFeature'](),this[_0xef04b1(0x23f)](),this[_0xef04b1(0x210)](new DrawEvent(DrawEventType[_0xef04b1(0x1f3)],this[_0xef04b1(0x236)],this[_0xef04b1(0x21c)]));}[a46_0x288d77(0x22b)](){const _0x5d7853=a46_0x288d77;if(this['_drawingCoordinates']['length']>this[_0x5d7853(0x1de)]){this[_0x5d7853(0x1fb)](this[_0x5d7853(0x21c)]);let _0x37836e=this['_drawingCoordinates'];const _0x26a2d7=this[_0x5d7853(0x242)]();if(!_0x26a2d7)return;this['dispatchEvent'](new DrawEvent(DrawEventType[_0x5d7853(0x1d9)],_0x26a2d7,_0x37836e)),this['_features']&&this[_0x5d7853(0x1e6)][_0x5d7853(0x1ff)](_0x26a2d7),this[_0x5d7853(0x1fd)]&&this[_0x5d7853(0x1fd)][_0x5d7853(0x23e)](_0x26a2d7);}}['addPoint'](_0x49b4e0){const _0x13375c=a46_0x288d77;this[_0x13375c(0x21c)][_0x13375c(0x1ff)](_0x49b4e0),this[_0x13375c(0x236)]=this[_0x13375c(0x1df)](),this[_0x13375c(0x23f)]();}[a46_0x288d77(0x1df)](){const _0x2a40fc=a46_0x288d77,_0x3a6e7f=new MultiPoint(this['_drawingCoordinates']);let _0x3b7870=new a46_0x57869a();return _0x3b7870[_0x2a40fc(0x231)](_0x3a6e7f),_0x3b7870;}[a46_0x288d77(0x242)](){const _0x2b4ede=a46_0x288d77;var _0x34c865,_0xac5cfc;this[_0x2b4ede(0x239)]=![];const _0x1f260c=this[_0x2b4ede(0x236)];return this[_0x2b4ede(0x236)]=undefined,this['_drawingCoordinates']=[],(_0x34c865=this['_overlay'][_0x2b4ede(0x23a)]())===null||_0x34c865===void 0x0?void 0x0:_0x34c865[_0x2b4ede(0x1ea)](!![]),(_0xac5cfc=this[_0x2b4ede(0x204)]['getSource']())===null||_0xac5cfc===void 0x0?void 0x0:_0xac5cfc[_0x2b4ede(0x1ea)](!![]),_0x1f260c;}[a46_0x288d77(0x1eb)](){const _0x397e8c=a46_0x288d77,_0x5039f0=this['abortDrawing_']();_0x5039f0&&this[_0x397e8c(0x210)](new DrawEvent(DrawEventType['DRAWABORT'],_0x5039f0,this['_drawingCoordinates']));}['buildDrawingFeature'](_0x49e7cd){const _0x1a2c16=a46_0x288d77;this[_0x1a2c16(0x236)]=new a46_0x57869a();let _0x3d7f69=createPlot(this[_0x1a2c16(0x1f7)],_0x49e7cd);if(!_0x3d7f69)return;this[_0x1a2c16(0x236)][_0x1a2c16(0x231)](_0x3d7f69);let _0x3dd629=[a46_0x2c23bf['Circle'],a46_0x2c23bf[_0x1a2c16(0x209)],a46_0x2c23bf[_0x1a2c16(0x1da)]];if(_0x3dd629[_0x1a2c16(0x217)](this[_0x1a2c16(0x1f7)])>-0x1&&this['_style']){}const _0x30bdfa=this['getMap']();this['_sketchFeature']['setStyle'](getStyle(this[_0x1a2c16(0x1f7)],this[_0x1a2c16(0x1e2)],this[_0x1a2c16(0x21f)]())),this[_0x1a2c16(0x23f)]();}[a46_0x288d77(0x23f)](){const _0x4d9726=a46_0x288d77,_0x1b19e0=this['_overlay'][_0x4d9726(0x23a)]();_0x1b19e0&&this['_sketchFeature']&&(_0x1b19e0[_0x4d9726(0x1ea)](!![]),_0x1b19e0[_0x4d9726(0x23e)](this[_0x4d9726(0x236)]));}['revert'](){const _0x5eb56a=a46_0x288d77;if(this[_0x5eb56a(0x239)]){if(this[_0x5eb56a(0x21c)]&&this[_0x5eb56a(0x21c)]['length']>0x0){const _0x257d6b=this[_0x5eb56a(0x212)][_0x5eb56a(0x23a)]();_0x257d6b===null||_0x257d6b===void 0x0?void 0x0:_0x257d6b[_0x5eb56a(0x1ea)](!![]),this[_0x5eb56a(0x21c)]['pop'](),this[_0x5eb56a(0x21c)][_0x5eb56a(0x201)]>=this['_minPoints']&&this[_0x5eb56a(0x1fb)](this[_0x5eb56a(0x21c)]),this[_0x5eb56a(0x21c)][_0x5eb56a(0x201)]===0x0&&(this[_0x5eb56a(0x239)]=![]);}}}['updateTip_'](_0x12fdcb,_0x1b855a){const _0x4d3087=a46_0x288d77;var _0x4c5519,_0x4634c7,_0x10565c,_0x595a7b;if(!this[_0x4d3087(0x1e5)])return;const _0x1fc96b=this['_tipOverlay']['getSource']();_0x1fc96b===null||_0x1fc96b===void 0x0?void 0x0:_0x1fc96b[_0x4d3087(0x1ea)](!![]),(_0x4c5519=this[_0x4d3087(0x228)])===null||_0x4c5519===void 0x0?void 0x0:_0x4c5519[_0x4d3087(0x231)](new Point(_0x12fdcb)),(_0x10565c=(_0x4634c7=this['_tipStyle'])===null||_0x4634c7===void 0x0?void 0x0:_0x4634c7[_0x4d3087(0x1f5)]())===null||_0x10565c===void 0x0?void 0x0:_0x10565c[_0x4d3087(0x223)](_0x1b855a),(_0x595a7b=this[_0x4d3087(0x228)])===null||_0x595a7b===void 0x0?void 0x0:_0x595a7b['setStyle'](this[_0x4d3087(0x1f6)]),this['_tipFeature']&&(_0x1fc96b===null||_0x1fc96b===void 0x0?void 0x0:_0x1fc96b[_0x4d3087(0x23e)](this[_0x4d3087(0x228)]));}}function getDefaultStyleFunction(){const _0x363d98=createEditingStyle();return function(_0x144b80,_0x3f31f2){const _0xeac03b=a46_0x4adf,_0xb6b289=_0x363d98[_0x144b80[_0xeac03b(0x241)]()[_0xeac03b(0x229)]()];if(_0xb6b289&&_0xeac03b(0x23d)==_0x144b80[_0xeac03b(0x241)]()[_0xeac03b(0x229)]()){}};}
1
+ const a46_0x5c324d=a46_0x2eab;(function(_0x150822,_0x4e8024){const _0x206807=a46_0x2eab,_0x3a7850=_0x150822();while(!![]){try{const _0x223f71=-parseInt(_0x206807(0xf4))/0x1*(parseInt(_0x206807(0xea))/0x2)+parseInt(_0x206807(0x107))/0x3+parseInt(_0x206807(0xd8))/0x4*(-parseInt(_0x206807(0xf8))/0x5)+parseInt(_0x206807(0xed))/0x6*(parseInt(_0x206807(0xe9))/0x7)+-parseInt(_0x206807(0x111))/0x8+-parseInt(_0x206807(0x128))/0x9*(parseInt(_0x206807(0xd7))/0xa)+parseInt(_0x206807(0x10c))/0xb;if(_0x223f71===_0x4e8024)break;else _0x3a7850['push'](_0x3a7850['shift']());}catch(_0x15a103){_0x3a7850['push'](_0x3a7850['shift']());}}}(a46_0x3e9a,0x40622));import a46_0x381e9f from'ol/events/Event';function a46_0x2eab(_0x51f26a,_0xcd9d32){const _0x3e9ad0=a46_0x3e9a();return a46_0x2eab=function(_0x2eab65,_0x2d4be4){_0x2eab65=_0x2eab65-0xc9;let _0x490e6c=_0x3e9ad0[_0x2eab65];return _0x490e6c;},a46_0x2eab(_0x51f26a,_0xcd9d32);}import a46_0x5dc8e6 from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';import a46_0x14f3e6 from'ol/Feature';import a46_0x16d458,{createEditingStyle}from'ol/style/Style';import a46_0x1306e2 from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a46_0x521f51 from'ol/style/Text';import a46_0x1e4429 from'ol/style/Fill';import a46_0x46e586 from'ol/interaction/Property';import a46_0x2a16da from'ol/layer/Vector';import a46_0x2ee6fb from'../entity/GeometryType';const DrawEventType={'DRAWSTART':a46_0x5c324d(0xcc),'DRAWEND':a46_0x5c324d(0x101),'DRAWABORT':a46_0x5c324d(0xd5),'DRAWADDPOINT':a46_0x5c324d(0xfe),'DRAWMOVING':a46_0x5c324d(0xc9)};export class DrawEvent extends a46_0x381e9f{constructor(_0x25481d,_0x226da4,_0xa8c151){const _0x480ac3=a46_0x5c324d;super(_0x25481d),this[_0x480ac3(0xf6)]=_0x226da4,this[_0x480ac3(0xe8)]=_0xa8c151;}}export class ShEvent extends a46_0x381e9f{constructor(_0x2502d5,_0x22ca47,_0x59ea63,_0x447962,_0x20b8c5){const _0x52fb33=a46_0x5c324d;super(_0x2502d5),this[_0x52fb33(0x116)]=_0x20b8c5,this[_0x52fb33(0x100)]=_0x22ca47,this[_0x52fb33(0xcd)]=_0x59ea63,this['coordinates']=_0x447962;}}export default class Draw extends a46_0x5dc8e6{constructor(_0x7af06b,_0x1e2aab){const _0x2c6558=a46_0x5c324d,_0x458ba9=_0x1e2aab?_0x1e2aab:{};!_0x458ba9[_0x2c6558(0xd1)]&&(_0x458ba9[_0x2c6558(0xd1)]=![]);super(_0x1e2aab),this['on']=this[_0x2c6558(0x118)],this['once']=this[_0x2c6558(0x12c)],this['un']=this[_0x2c6558(0x12f)],this['_isStayDraw']=![],this[_0x2c6558(0x108)]=_0x7af06b,this[_0x2c6558(0xce)]=_0x1e2aab===null||_0x1e2aab===void 0x0?void 0x0:_0x1e2aab[_0x2c6558(0x11a)],this[_0x2c6558(0xe4)]=_0x1e2aab===null||_0x1e2aab===void 0x0?void 0x0:_0x1e2aab['source'],this['_features']=_0x1e2aab===null||_0x1e2aab===void 0x0?void 0x0:_0x1e2aab[_0x2c6558(0xdd)];const _0x380eeb=getPlotCount(this[_0x2c6558(0x108)]);this[_0x2c6558(0x12e)]=_0x380eeb[_0x2c6558(0xef)],this['_fixPoint']=_0x380eeb[_0x2c6558(0xe3)],this['tipText']=_0x1e2aab===null||_0x1e2aab===void 0x0?void 0x0:_0x1e2aab[_0x2c6558(0xe1)],this[_0x2c6558(0x12a)]=(_0x1e2aab===null||_0x1e2aab===void 0x0?void 0x0:_0x1e2aab['showTip'])==![]?![]:!![],this['_snapTolerance']=_0x458ba9[_0x2c6558(0x104)]?_0x458ba9[_0x2c6558(0x104)]:0x6,this['_tipFeature']=new a46_0x14f3e6(),this[_0x2c6558(0xeb)]=new a46_0x16d458({'text':new a46_0x521f51({'font':'12px\x20Calibre,sans-serif','fill':new a46_0x1e4429({'color':_0x2c6558(0xfd)}),'backgroundFill':new a46_0x1e4429({'color':_0x2c6558(0x131)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x2c6558(0xe6),'offsetX':0xf})}),this[_0x2c6558(0xd9)]=[],this['_tipOverlay']=new a46_0x2a16da({'source':new a46_0x1306e2({'useSpatialIndex':![],'wrapX':(_0x1e2aab===null||_0x1e2aab===void 0x0?void 0x0:_0x1e2aab[_0x2c6558(0x11e)])?_0x1e2aab[_0x2c6558(0x11e)]:![]})}),this['_overlay']=new a46_0x2a16da({'source':new a46_0x1306e2({'useSpatialIndex':![],'wrapX':(_0x1e2aab===null||_0x1e2aab===void 0x0?void 0x0:_0x1e2aab[_0x2c6558(0x11e)])?_0x1e2aab[_0x2c6558(0x11e)]:![]}),'updateWhileInteracting':!![]}),this[_0x2c6558(0xe5)](a46_0x46e586[_0x2c6558(0x125)],this[_0x2c6558(0xff)]);}[a46_0x5c324d(0xff)](){const _0x25c765=a46_0x5c324d,_0x2d0394=this[_0x25c765(0x109)](),_0x1b6851=this[_0x25c765(0xf5)]();(!_0x2d0394||!_0x1b6851)&&this[_0x25c765(0xe7)](),this['_overlay'][_0x25c765(0xd2)](_0x1b6851?_0x2d0394:null),this['_tipOverlay'][_0x25c765(0xd2)](_0x1b6851?_0x2d0394:null);}[a46_0x5c324d(0xd2)](_0x19145e){const _0x193386=a46_0x5c324d;super[_0x193386(0xd2)](_0x19145e),this[_0x193386(0xff)]();}['setStyle'](_0x2f2566){const _0x3b70c8=a46_0x5c324d;this[_0x3b70c8(0xce)]=_0x2f2566?_0x2f2566:{};}[a46_0x5c324d(0xd3)](){const _0x431b1b=a46_0x5c324d;return this[_0x431b1b(0x102)];}['handleDownEvent'](_0x503184){const _0x56e47f=a46_0x5c324d;if(_0x503184[_0x56e47f(0x129)]['button']===0x2)return _0x503184[_0x56e47f(0x129)][_0x56e47f(0x10f)](),this['revert'](),this[_0x56e47f(0xca)](_0x503184),![];return!![];}['handleUpEvent'](_0x241a2b){const _0x2db674=a46_0x5c324d;var _0x1ed881,_0x47cfc5;if(this[_0x2db674(0x108)]==_0x2db674(0xdb)&&this[_0x2db674(0xd9)][_0x2db674(0x121)]<0x1)return this[_0x2db674(0xfa)](new DrawEvent(DrawEventType[_0x2db674(0xda)],undefined,[_0x241a2b['coordinate']])),![];if(!this[_0x2db674(0xcb)])this[_0x2db674(0xf0)](_0x241a2b['coordinate']),this[_0x2db674(0xfa)](new ShEvent(DrawEventType[_0x2db674(0x126)],this[_0x2db674(0x108)],_0x241a2b[_0x2db674(0xcd)],this[_0x2db674(0xd9)],(_0x1ed881=this[_0x2db674(0x109)]())===null||_0x1ed881===void 0x0?void 0x0:_0x1ed881[_0x2db674(0x124)]()[_0x2db674(0x115)]()['getCode']())),this[_0x2db674(0x108)]==_0x2db674(0xd0)&&this[_0x2db674(0xfb)]();else{if(this[_0x2db674(0xd9)]&&this[_0x2db674(0xd9)][_0x2db674(0x121)]>0x0){if(this[_0x2db674(0xe2)](_0x241a2b[_0x2db674(0xe0)]))return this[_0x2db674(0xfb)](),_0x241a2b['preventDefault'](),![];let _0x475da6=this['_drawingCoordinates'][_0x2db674(0x121)]+0x1;_0x475da6<=this['_fixPoint']&&this[_0x2db674(0x106)](_0x241a2b['coordinate']),this['dispatchEvent'](new ShEvent(DrawEventType[_0x2db674(0x126)],this[_0x2db674(0x108)],_0x241a2b[_0x2db674(0xcd)],this[_0x2db674(0xd9)],(_0x47cfc5=this['getMap']())===null||_0x47cfc5===void 0x0?void 0x0:_0x47cfc5[_0x2db674(0x124)]()['getProjection']()[_0x2db674(0x103)]())),_0x475da6>=this['_minPoints']&&this['buildDrawingFeature'](this[_0x2db674(0xd9)]),_0x475da6===this['_fixPoint']&&this[_0x2db674(0xfb)]();}}return _0x241a2b[_0x2db674(0x10f)](),![];}[a46_0x5c324d(0x11c)](_0x473d1b){const _0x20e966=a46_0x5c324d;var _0x5cb146;if(this[_0x20e966(0x108)]==_0x20e966(0xdb)&&_0x473d1b[_0x20e966(0x129)][_0x20e966(0x100)]==_0x20e966(0x12b)){if(!this[_0x20e966(0xcb)]){this[_0x20e966(0xf0)](_0x473d1b[_0x20e966(0xcd)]),this[_0x20e966(0xfa)](new ShEvent(DrawEventType['DRAWADDPOINT'],this[_0x20e966(0x108)],_0x473d1b[_0x20e966(0xcd)],this[_0x20e966(0xd9)],(_0x5cb146=this[_0x20e966(0x109)]())===null||_0x5cb146===void 0x0?void 0x0:_0x5cb146[_0x20e966(0x124)]()[_0x20e966(0x115)]()[_0x20e966(0x103)]()));return;}let _0x4e9e99=[...this[_0x20e966(0xd9)],_0x473d1b['coordinate']];this[_0x20e966(0x12d)](_0x4e9e99),this[_0x20e966(0xfa)](new DrawEvent(DrawEventType[_0x20e966(0xf3)],this[_0x20e966(0xf9)],this[_0x20e966(0xd9)]));}}[a46_0x5c324d(0xca)](_0x506abf){const _0x3991d5=a46_0x5c324d;var _0x139461,_0x51eece,_0x49581a;let _0x4e6b5c='';this[_0x3991d5(0x108)]==_0x3991d5(0x12b)&&(this[_0x3991d5(0xf0)](_0x506abf[_0x3991d5(0xcd)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0x3991d5(0x126)],this[_0x3991d5(0x108)],_0x506abf[_0x3991d5(0xcd)],this['_drawingCoordinates'],(_0x139461=this[_0x3991d5(0x109)]())===null||_0x139461===void 0x0?void 0x0:_0x139461[_0x3991d5(0x124)]()[_0x3991d5(0x115)]()[_0x3991d5(0x103)]())),this[_0x3991d5(0xfb)]());!this[_0x3991d5(0xcb)]?_0x4e6b5c=this[_0x3991d5(0x108)]==_0x3991d5(0xdb)?_0x3991d5(0xdc):'单击开始绘制':(_0x4e6b5c=_0x3991d5(0x112),((_0x51eece=this[_0x3991d5(0xd9)])===null||_0x51eece===void 0x0?void 0x0:_0x51eece[_0x3991d5(0x121)])===this[_0x3991d5(0x105)]-0x1&&(_0x4e6b5c=_0x3991d5(0x119)),((_0x49581a=this[_0x3991d5(0xd9)])===null||_0x49581a===void 0x0?void 0x0:_0x49581a[_0x3991d5(0x121)])>=this[_0x3991d5(0x12e)]&&this['_fixPoint']===Number[_0x3991d5(0x10a)]&&(_0x4e6b5c=_0x3991d5(0x120)));this[_0x3991d5(0xe1)]!=undefined&&(_0x4e6b5c=this[_0x3991d5(0xe1)]);this[_0x3991d5(0x110)](_0x506abf['coordinate'],_0x4e6b5c);if(this[_0x3991d5(0xcb)]&&this[_0x3991d5(0x108)]!=_0x3991d5(0xdb)){let _0x555f68=[...this['_drawingCoordinates'],_0x506abf[_0x3991d5(0xcd)]];this['buildDrawingFeature'](_0x555f68);}this['dispatchEvent'](new DrawEvent(DrawEventType['DRAWMOVING'],this[_0x3991d5(0xf9)],this[_0x3991d5(0xd9)]));}[a46_0x5c324d(0xe2)](_0x2a5376){const _0x5d9c46=a46_0x5c324d;var _0x44790c;let _0xe6677=![],_0x212d75=this[_0x5d9c46(0xd9)]['length'];if(_0x212d75>this[_0x5d9c46(0x12e)]&&this[_0x5d9c46(0x105)]===Number[_0x5d9c46(0x10a)]){const _0x3abe98=this[_0x5d9c46(0xd9)][this[_0x5d9c46(0xd9)][_0x5d9c46(0x121)]-0x1],_0x5eb6a0=(_0x44790c=this['getMap']())===null||_0x44790c===void 0x0?void 0x0:_0x44790c[_0x5d9c46(0x10d)](_0x3abe98),_0x4079a7=_0x2a5376[0x0]-(_0x5eb6a0?_0x5eb6a0[0x0]:0x0),_0x38cdcf=_0x2a5376[0x1]-(_0x5eb6a0?_0x5eb6a0[0x1]:0x0);_0xe6677=Math[_0x5d9c46(0xd4)](_0x4079a7*_0x4079a7+_0x38cdcf*_0x38cdcf)<=this['_snapTolerance'];}return _0xe6677;}[a46_0x5c324d(0xf0)](_0x4a414d){const _0x13c3d2=a46_0x5c324d;this[_0x13c3d2(0xcb)]=!![],this['_drawingCoordinates']=[_0x4a414d[_0x13c3d2(0x127)]()],this[_0x13c3d2(0xf9)]=this[_0x13c3d2(0x10e)](),this[_0x13c3d2(0x11d)](),this[_0x13c3d2(0xfa)](new DrawEvent(DrawEventType[_0x13c3d2(0xd6)],this['_sketchFeature'],this[_0x13c3d2(0xd9)]));}[a46_0x5c324d(0xfb)](){const _0xdbdf17=a46_0x5c324d;if(this['_drawingCoordinates'][_0xdbdf17(0x121)]>this[_0xdbdf17(0x12e)]){this[_0xdbdf17(0x12d)](this[_0xdbdf17(0xd9)]);let _0x1a83f1=this[_0xdbdf17(0xd9)];const _0xb4b847=this[_0xdbdf17(0xde)]();if(!_0xb4b847)return;this[_0xdbdf17(0xfa)](new DrawEvent(DrawEventType[_0xdbdf17(0xda)],_0xb4b847,_0x1a83f1)),this[_0xdbdf17(0x10b)]&&this[_0xdbdf17(0x10b)]['push'](_0xb4b847),this[_0xdbdf17(0xe4)]&&this['_source']['addFeature'](_0xb4b847);}}[a46_0x5c324d(0x106)](_0x21b67a){const _0x29ad3e=a46_0x5c324d;this[_0x29ad3e(0xd9)]['push'](_0x21b67a),this[_0x29ad3e(0xf9)]=this[_0x29ad3e(0x10e)](),this[_0x29ad3e(0x11d)]();}[a46_0x5c324d(0x10e)](){const _0x5e2183=a46_0x5c324d,_0x3409b9=new MultiPoint(this[_0x5e2183(0xd9)]);let _0x301b10=new a46_0x14f3e6();return _0x301b10[_0x5e2183(0xf1)](_0x3409b9),_0x301b10;}[a46_0x5c324d(0xde)](){const _0x333da7=a46_0x5c324d;var _0xd0d2b4,_0x53902f;this[_0x333da7(0xcb)]=![];const _0x22f621=this[_0x333da7(0xf9)];return this[_0x333da7(0xf9)]=undefined,this[_0x333da7(0xd9)]=[],(_0xd0d2b4=this[_0x333da7(0x102)][_0x333da7(0x113)]())===null||_0xd0d2b4===void 0x0?void 0x0:_0xd0d2b4[_0x333da7(0x130)](!![]),(_0x53902f=this[_0x333da7(0x114)][_0x333da7(0x113)]())===null||_0x53902f===void 0x0?void 0x0:_0x53902f[_0x333da7(0x130)](!![]),_0x22f621;}[a46_0x5c324d(0xe7)](){const _0x564032=a46_0x5c324d,_0x3f8be4=this[_0x564032(0xde)]();_0x3f8be4&&this[_0x564032(0xfa)](new DrawEvent(DrawEventType[_0x564032(0xec)],_0x3f8be4,this[_0x564032(0xd9)]));}['buildDrawingFeature'](_0x2cb3f5){const _0x44bf84=a46_0x5c324d;this['_sketchFeature']=new a46_0x14f3e6();let _0x247828=createPlot(this[_0x44bf84(0x108)],_0x2cb3f5);if(!_0x247828)return;this[_0x44bf84(0xf9)]['setGeometry'](_0x247828);let _0x2c3279=[a46_0x2ee6fb['Circle'],a46_0x2ee6fb[_0x44bf84(0x123)],a46_0x2ee6fb[_0x44bf84(0xee)]];if(_0x2c3279[_0x44bf84(0xfc)](this[_0x44bf84(0x108)])>-0x1&&this['_style']){}const _0x17a298=this[_0x44bf84(0x109)]();this[_0x44bf84(0xf9)][_0x44bf84(0x11f)](getStyle(this[_0x44bf84(0x108)],this[_0x44bf84(0xce)],this['getMap']())),this[_0x44bf84(0x11d)]();}[a46_0x5c324d(0x11d)](){const _0x2d11a5=a46_0x5c324d,_0x4adac2=this[_0x2d11a5(0x102)][_0x2d11a5(0x113)]();_0x4adac2&&this[_0x2d11a5(0xf9)]&&(_0x4adac2['clear'](!![]),_0x4adac2['addFeature'](this['_sketchFeature']));}[a46_0x5c324d(0xcf)](){const _0x3bc99f=a46_0x5c324d;if(this[_0x3bc99f(0xcb)]){if(this[_0x3bc99f(0xd9)]&&this[_0x3bc99f(0xd9)][_0x3bc99f(0x121)]>0x0){const _0x45481e=this['_overlay']['getSource']();_0x45481e===null||_0x45481e===void 0x0?void 0x0:_0x45481e[_0x3bc99f(0x130)](!![]),this[_0x3bc99f(0xd9)]['pop'](),this[_0x3bc99f(0xd9)][_0x3bc99f(0x121)]>=this[_0x3bc99f(0x12e)]&&this[_0x3bc99f(0x12d)](this[_0x3bc99f(0xd9)]),this[_0x3bc99f(0xd9)][_0x3bc99f(0x121)]===0x0&&(this[_0x3bc99f(0xcb)]=![]);}}}[a46_0x5c324d(0x110)](_0x1bd6fb,_0x12eabc){const _0xa33731=a46_0x5c324d;var _0x59f39f,_0x3fec46,_0x1a7768,_0x37efa4;if(!this[_0xa33731(0x12a)])return;const _0x515d3e=this['_tipOverlay'][_0xa33731(0x113)]();_0x515d3e===null||_0x515d3e===void 0x0?void 0x0:_0x515d3e[_0xa33731(0x130)](!![]),(_0x59f39f=this[_0xa33731(0xf2)])===null||_0x59f39f===void 0x0?void 0x0:_0x59f39f['setGeometry'](new Point(_0x1bd6fb)),(_0x1a7768=(_0x3fec46=this[_0xa33731(0xeb)])===null||_0x3fec46===void 0x0?void 0x0:_0x3fec46[_0xa33731(0x122)]())===null||_0x1a7768===void 0x0?void 0x0:_0x1a7768[_0xa33731(0xf7)](_0x12eabc),(_0x37efa4=this[_0xa33731(0xf2)])===null||_0x37efa4===void 0x0?void 0x0:_0x37efa4['setStyle'](this['_tipStyle']),this[_0xa33731(0xf2)]&&(_0x515d3e===null||_0x515d3e===void 0x0?void 0x0:_0x515d3e[_0xa33731(0x117)](this[_0xa33731(0xf2)]));}}function getDefaultStyleFunction(){const _0xa8e8f4=createEditingStyle();return function(_0x59bea7,_0xa7838e){const _0x97e270=a46_0x2eab,_0x481088=_0xa8e8f4[_0x59bea7['getGeometry']()['getType']()];if(_0x481088&&_0x97e270(0x11b)==_0x59bea7['getGeometry']()[_0x97e270(0xdf)]()){}};}function a46_0x3e9a(){const _0x8761d8=['coordinates','35IcGWUA','8266WxMjNz','_tipStyle','DRAWABORT','47394YzIZJS','Ellipse','minPoint','startDrawing_','setGeometry','_tipFeature','DRAWMOVING','18rcAWuW','getActive','feature','setText','15KxCzaU','_sketchFeature','dispatchEvent','finishDrawing','indexOf','rgba(255,\x20255,\x20255,\x201)','drawAddPoint','updateState_','type','drawEnd','_overlay','getCode','snapTolerance','_fixPoint','addPoint','706017DRUZRd','_type','getMap','MAX_VALUE','_features','10980354atkZOn','getPixelFromCoordinate','createMultiPointFeature','preventDefault','updateTip_','3894968LrHBhe','单击增加点,右击删除点','getSource','_tipOverlay','getProjection','projection','addFeature','onInternal','单击结束绘制,右击删除点','style','Rectangle','handleDragEvent','updateSketchFeatures_','wrapX','setStyle','单击增加点,右击删除点双击完成绘制','length','getText','Ellipsoid','getView','ACTIVE','DRAWADDPOINT','slice','9nYlyCg','originalEvent','_showTip','pointermove','onceInternal','buildDrawingFeature','_minPoints','unInternal','clear','rgba(0,\x200,\x200,\x200.4)','drawMoving','handleMoveEvent','_isStayDraw','drawStart','coordinate','_style','revert','point','stopDown','setMap','getOverlay','sqrt','drawAbort','DRAWSTART','1818220QkPSER','354996AdGByW','_drawingCoordinates','DRAWEND','rectangle','单击拖动绘制','features','abortDrawing_','getType','pixel','tipText','atFinish_','fixPoint','_source','addChangeListener','left','abortDrawing'];a46_0x3e9a=function(){return _0x8761d8;};return a46_0x3e9a();}
@@ -1 +1 @@
1
- const a47_0x569c89=a47_0x5925;(function(_0x399202,_0x59631f){const _0xc5368c=a47_0x5925,_0x3d9eb3=_0x399202();while(!![]){try{const _0x1ea78e=-parseInt(_0xc5368c(0xaf))/0x1+-parseInt(_0xc5368c(0xb3))/0x2+parseInt(_0xc5368c(0xba))/0x3*(parseInt(_0xc5368c(0xb9))/0x4)+-parseInt(_0xc5368c(0xad))/0x5*(-parseInt(_0xc5368c(0xa7))/0x6)+-parseInt(_0xc5368c(0xb7))/0x7*(-parseInt(_0xc5368c(0xb4))/0x8)+parseInt(_0xc5368c(0xae))/0x9*(-parseInt(_0xc5368c(0xb5))/0xa)+parseInt(_0xc5368c(0xb1))/0xb*(parseInt(_0xc5368c(0xa9))/0xc);if(_0x1ea78e===_0x59631f)break;else _0x3d9eb3['push'](_0x3d9eb3['shift']());}catch(_0x26679d){_0x3d9eb3['push'](_0x3d9eb3['shift']());}}}(a47_0x3ca1,0xb803b));function a47_0x5925(_0x145459,_0x3c1a78){const _0x3ca17c=a47_0x3ca1();return a47_0x5925=function(_0x5925b2,_0x442c46){_0x5925b2=_0x5925b2-0xa3;let _0x4ed21b=_0x3ca17c[_0x5925b2];return _0x4ed21b;},a47_0x5925(_0x145459,_0x3c1a78);}function a47_0x3ca1(){const _0x5e2ab0=['interactions','get','removeAllInteractions','402TIZSeH','forEach','456NbzLtJ','getInteraction','set','has','71980LuMtQK','8470134AiXWMR','643156ENCGQe','clear','215039hgidJM','map','1040700hdpsTt','1063184ClUWOc','10sHraSM','name','7qFsmIL','removeInteraction','4MrYkmP','3054189PlJzzI','addInteraction'];a47_0x3ca1=function(){return _0x5e2ab0;};return a47_0x3ca1();}export default class InteractionManager{constructor(_0x38a92f){const _0x2f83ef=a47_0x5925;this[_0x2f83ef(0xb2)]=_0x38a92f,this['interactions']=new Map();}[a47_0x569c89(0xa3)](_0x4b4cfa,_0x1ef3e3){const _0x3270b1=a47_0x569c89;this[_0x3270b1(0xa4)][_0x3270b1(0xac)](_0x4b4cfa)&&this['removeInteraction'](_0x4b4cfa),_0x1ef3e3[_0x3270b1(0xab)](_0x3270b1(0xb6),_0x4b4cfa),this['interactions'][_0x3270b1(0xab)](_0x4b4cfa,_0x1ef3e3),this['map'][_0x3270b1(0xa3)](_0x1ef3e3);}[a47_0x569c89(0xb8)](_0x132fcc){const _0x4602db=a47_0x569c89,_0x2f45eb=this[_0x4602db(0xa4)][_0x4602db(0xa5)](_0x132fcc);_0x2f45eb&&(this[_0x4602db(0xb2)][_0x4602db(0xb8)](_0x2f45eb),this[_0x4602db(0xa4)]['delete'](_0x132fcc));}[a47_0x569c89(0xa6)](){const _0x1df9da=a47_0x569c89;this['interactions'][_0x1df9da(0xa8)](_0x580118=>{const _0xa16524=_0x1df9da;this[_0xa16524(0xb2)]['removeInteraction'](_0x580118);}),this[_0x1df9da(0xa4)][_0x1df9da(0xb0)]();}[a47_0x569c89(0xaa)](_0x3a829a){const _0xdb001b=a47_0x569c89;return this[_0xdb001b(0xa4)][_0xdb001b(0xa5)](_0x3a829a);}}
1
+ const a47_0x3311e2=a47_0x5229;function a47_0x5229(_0xca5a6e,_0x376e62){const _0x1ac2ce=a47_0x1ac2();return a47_0x5229=function(_0x522989,_0x5e8aae){_0x522989=_0x522989-0x1c8;let _0x408e28=_0x1ac2ce[_0x522989];return _0x408e28;},a47_0x5229(_0xca5a6e,_0x376e62);}(function(_0x19a8f1,_0x205ec7){const _0x431c60=a47_0x5229,_0x1c2ca7=_0x19a8f1();while(!![]){try{const _0x10b78c=parseInt(_0x431c60(0x1d5))/0x1*(-parseInt(_0x431c60(0x1c9))/0x2)+parseInt(_0x431c60(0x1d6))/0x3*(parseInt(_0x431c60(0x1dc))/0x4)+parseInt(_0x431c60(0x1d3))/0x5*(-parseInt(_0x431c60(0x1dd))/0x6)+parseInt(_0x431c60(0x1d1))/0x7*(-parseInt(_0x431c60(0x1cb))/0x8)+parseInt(_0x431c60(0x1cf))/0x9+-parseInt(_0x431c60(0x1d7))/0xa*(-parseInt(_0x431c60(0x1db))/0xb)+parseInt(_0x431c60(0x1cd))/0xc;if(_0x10b78c===_0x205ec7)break;else _0x1c2ca7['push'](_0x1c2ca7['shift']());}catch(_0x5eaa53){_0x1c2ca7['push'](_0x1c2ca7['shift']());}}}(a47_0x1ac2,0x4fb04));function a47_0x1ac2(){const _0x531120=['33596nHcDQR','189SliMvj','2145610wQNKyQ','addInteraction','delete','has','22ZqdkIj','2260XEMPLW','12SJlaZQ','removeInteraction','get','14CrYYWX','removeAllInteractions','108384FPXrIp','interactions','4525236pyQWuV','forEach','5012766LHuIAv','name','259FYQkrz','map','839855VPXbOT','set'];a47_0x1ac2=function(){return _0x531120;};return a47_0x1ac2();}export default class InteractionManager{constructor(_0x176584){const _0x1daa3d=a47_0x5229;this[_0x1daa3d(0x1d2)]=_0x176584,this[_0x1daa3d(0x1cc)]=new Map();}['addInteraction'](_0x1a955f,_0x1bc17e){const _0x3af798=a47_0x5229;this[_0x3af798(0x1cc)][_0x3af798(0x1da)](_0x1a955f)&&this[_0x3af798(0x1de)](_0x1a955f),_0x1bc17e[_0x3af798(0x1d4)](_0x3af798(0x1d0),_0x1a955f),this[_0x3af798(0x1cc)][_0x3af798(0x1d4)](_0x1a955f,_0x1bc17e),this[_0x3af798(0x1d2)][_0x3af798(0x1d8)](_0x1bc17e);}[a47_0x3311e2(0x1de)](_0x5d3044){const _0x1435f6=a47_0x3311e2,_0x64f06c=this[_0x1435f6(0x1cc)][_0x1435f6(0x1c8)](_0x5d3044);_0x64f06c&&(this[_0x1435f6(0x1d2)]['removeInteraction'](_0x64f06c),this[_0x1435f6(0x1cc)][_0x1435f6(0x1d9)](_0x5d3044));}[a47_0x3311e2(0x1ca)](){const _0x1eea10=a47_0x3311e2;this['interactions'][_0x1eea10(0x1ce)](_0x509d1f=>{const _0x32fd67=_0x1eea10;this[_0x32fd67(0x1d2)]['removeInteraction'](_0x509d1f);}),this[_0x1eea10(0x1cc)]['clear']();}['getInteraction'](_0x3ef521){const _0x4d227a=a47_0x3311e2;return this[_0x4d227a(0x1cc)][_0x4d227a(0x1c8)](_0x3ef521);}}
@@ -1 +1 @@
1
- const a48_0x52badf=a48_0x1951;(function(_0x366146,_0xcff387){const _0xb5ad42=a48_0x1951,_0x24714b=_0x366146();while(!![]){try{const _0xbd4063=parseInt(_0xb5ad42(0xe7))/0x1*(parseInt(_0xb5ad42(0x104))/0x2)+-parseInt(_0xb5ad42(0x119))/0x3+-parseInt(_0xb5ad42(0x118))/0x4*(-parseInt(_0xb5ad42(0xf5))/0x5)+-parseInt(_0xb5ad42(0xf9))/0x6+parseInt(_0xb5ad42(0x109))/0x7+parseInt(_0xb5ad42(0x111))/0x8*(parseInt(_0xb5ad42(0xea))/0x9)+-parseInt(_0xb5ad42(0x101))/0xa*(-parseInt(_0xb5ad42(0xed))/0xb);if(_0xbd4063===_0xcff387)break;else _0x24714b['push'](_0x24714b['shift']());}catch(_0x1996d6){_0x24714b['push'](_0x24714b['shift']());}}}(a48_0xed55,0xeac84));import a48_0x1cd801 from'./Draw';import a48_0x2c01b from'ol/events/Event';function a48_0x1951(_0x43a8e9,_0x2518d6){const _0xed55ac=a48_0xed55();return a48_0x1951=function(_0x195146,_0x1034e3){_0x195146=_0x195146-0xe2;let _0x4e5ec5=_0xed55ac[_0x195146];return _0x4e5ec5;},a48_0x1951(_0x43a8e9,_0x2518d6);}import{bufferPixel,intersects}from'../utils/GeometryUtil';import{Point}from'ol/geom';import a48_0x438694 from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';function a48_0xed55(){const _0x18537c=['pixelDistance','getResolution','pointStyle','164032pogfwZ','selected','setStyle','fromType','getLayers','lineStyle','cancePointStyle','3773428fHrCab','2830725RdVosR','getProjection','addTempLayer','getGeometry','getMap','coordinates','feature','getVisible','tipText','getType','forEach','Point','union','MultiPolygon','polygonStyle','push','onInternal','holdCtrl','keydown','selectedPolygonFeatures','未获取到几何','selectGeom','currentLayers','getCode','seletctEditeFeature','selectedLineFeatures','allSelectedFeatures','polygonFeatures','selectIndex','1867hlZAhZ','filter','getView','90QIqnNi','selectTempLayer','MultiLineString','154858RKfbLH','MultiPoint','lineFeatures','cancePolygonStyle','selectLayers','message','import','length','5oFfPmt','SELECTSTART','Polygon','map','6075738IabSrj','getLayerById','selectedPointFeatures','keyup','dispatchEvent','setSelectLayers','getPolygonTempLayer','url','470Ahpaxr','layerInfo','selectStart','678zlyGWh','LineString','addFeatures','canceLineStyle','getLineTempLayer','3324230neSEGJ','SELECTED','getSource','layerId','drawEnd'];a48_0xed55=function(){return _0x18537c;};return a48_0xed55();}import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'SELECTSTART':a48_0x52badf(0x103),'SELECTED':a48_0x52badf(0x112)};export class SelectEvent extends a48_0x2c01b{constructor(_0x310d4e,_0x1608a3,_0x5b37b7,_0x200fe0,_0x19b702,_0x4e8845,_0x135cbe,_0x791be6,_0x16cb2c){const _0x179706=a48_0x52badf;super(_0x310d4e),this[_0x179706(0x12e)]=_0x5b37b7,this[_0x179706(0x11e)]=_0x200fe0,this['pointFeatures']=_0x19b702,this[_0x179706(0xef)]=_0x4e8845,this[_0x179706(0xe5)]=_0x135cbe,this['allFeatures']=_0x791be6,this['error']=_0x16cb2c,this[_0x179706(0x12a)]=_0x1608a3;}}export default class Select extends a48_0x1cd801{constructor(_0x2b8176,_0x2e001d){const _0x230d67=a48_0x52badf;super(_0x2b8176,{'tipText':_0x2e001d===null||_0x2e001d===void 0x0?void 0x0:_0x2e001d[_0x230d67(0x121)]}),this[_0x230d67(0xfb)]=[],this['selectedLineFeatures']=[],this[_0x230d67(0x12c)]=[],this[_0x230d67(0xe4)]=[];const _0x5bd3d1=_0x2e001d||{};this[_0x230d67(0x11b)]=_0x5bd3d1[_0x230d67(0x11b)]||![],this[_0x230d67(0x12f)]=_0x5bd3d1[_0x230d67(0xf1)],this['selectTempLayer']=_0x5bd3d1['selectTempLayer']===undefined?!![]:_0x5bd3d1[_0x230d67(0xeb)],this[_0x230d67(0x10e)]=_0x5bd3d1['pixelDistance']===undefined?0x5:_0x5bd3d1[_0x230d67(0x10e)],this[_0x230d67(0x110)]=_0x5bd3d1[_0x230d67(0x110)]?getStyle(_0x5bd3d1['pointStyle']):getSelectPointStyle(),this[_0x230d67(0x117)]=_0x5bd3d1[_0x230d67(0x117)]?getStyle(_0x5bd3d1[_0x230d67(0x117)]):getSelectCancePointStyle(),this['lineStyle']=_0x5bd3d1['lineStyle']?getStyle(_0x5bd3d1[_0x230d67(0x116)]):getSelectLineStyle(),this['canceLineStyle']=_0x5bd3d1[_0x230d67(0x107)]?getStyle(_0x5bd3d1['canceLineStyle']):getSelectCancelLineStyle(),this[_0x230d67(0x127)]=_0x5bd3d1[_0x230d67(0x127)]?getStyle(_0x5bd3d1['polygonStyle']):getSelectPolygonStyle(),this[_0x230d67(0xf0)]=_0x5bd3d1[_0x230d67(0xf0)]?getStyle(_0x5bd3d1[_0x230d67(0xf0)]):getSelectCancelPolygonStyle(),this[_0x230d67(0x12a)]=![];let _0x229250;this['on']=this[_0x230d67(0x129)],this['on'](_0x230d67(0x10d),async _0x45732f=>{const _0x329411=_0x230d67,_0x1e2e4c=this[_0x329411(0x12a)],_0x4ec65d=this[_0x329411(0x11d)]();if(!_0x4ec65d)return;try{let _0x3bb2bb=undefined;if(!_0x45732f[_0x329411(0x11f)]&&_0x45732f[_0x329411(0x11e)]&&_0x45732f[_0x329411(0x11e)][_0x329411(0xf4)]==0x1)_0x3bb2bb=bufferPixel(new Point(_0x45732f[_0x329411(0x11e)][0x0]),this[_0x329411(0x10e)],_0x4ec65d);else _0x45732f[_0x329411(0x11f)]&&(_0x3bb2bb=_0x45732f[_0x329411(0x11f)]['getGeometry']());if(!_0x3bb2bb)throw new Error(_0x329411(0x12d));this[_0x329411(0xfd)](new SelectEvent(SelectEventType[_0x329411(0xf6)],_0x1e2e4c,_0x3bb2bb)),this[_0x329411(0xfb)]=[],this[_0x329411(0xe3)]=[],this[_0x329411(0x12c)]=[],this[_0x329411(0xe4)]=[],this['selectTempLayer']&&this['seletctEditeFeature'](_0x3bb2bb),_0x229250&&clearTimeout(_0x229250),_0x229250=setTimeout(async()=>{const _0x5293eb=_0x329411;await this['selectLayer'](_0x3bb2bb),this[_0x5293eb(0xfd)](new SelectEvent(SelectEventType[_0x5293eb(0x10a)],_0x1e2e4c,_0x3bb2bb,_0x45732f[_0x5293eb(0x11e)],this[_0x5293eb(0xfb)],this[_0x5293eb(0xe3)],this[_0x5293eb(0x12c)],this[_0x5293eb(0xe4)]));},0x46);}catch(_0x34c050){this[_0x329411(0xfd)](new SelectEvent(SelectEventType[_0x329411(0x10a)],_0x1e2e4c,undefined,_0x45732f[_0x329411(0x11e)],this[_0x329411(0xfb)],this[_0x329411(0xe3)],this[_0x329411(0x12c)],this['allSelectedFeatures'],_0x34c050[_0x329411(0xf2)]));}}),window['addEventListener'](_0x230d67(0x12b),_0x5ccec3=>{const _0x3f8d=_0x230d67;_0x5ccec3['ctrlKey']&&(this[_0x3f8d(0x12a)]=!![]);}),window['addEventListener'](_0x230d67(0xfc),_0x4647be=>{const _0x485d1f=_0x230d67;this[_0x485d1f(0x12a)]=![];});}[a48_0x52badf(0xfe)](_0x441c04){const _0x289875=a48_0x52badf;this[_0x289875(0x12f)]=_0x441c04;}async['selectLayer'](_0x4cbf69){const _0x10946b=a48_0x52badf;var _0x5674e6;const _0x278a36=this[_0x10946b(0x11d)]();let _0x20d365=[];if(this[_0x10946b(0x12f)]&&this[_0x10946b(0x12f)][_0x10946b(0xf4)]>0x0)_0x20d365=this[_0x10946b(0x12f)];else{let _0x496a49=_0x278a36[_0x10946b(0x115)]()['getArray']();_0x496a49=_0x496a49[_0x10946b(0xe8)](_0x25fcc1=>{const _0x217c99=_0x10946b,_0x153a92=_0x25fcc1[_0x217c99(0x102)];if(!_0x153a92)return![];return _0x25fcc1[_0x217c99(0x120)]()==!![]&&_0x153a92[_0x217c99(0xe6)]!=undefined&&_0x153a92['selectIndex']!='';}),_0x20d365=_0x496a49[_0x10946b(0xf8)](_0x267d1c=>{return _0x267d1c['layerInfo'];});}if(!_0x20d365||_0x20d365[_0x10946b(0xf4)]==0x0)return;const _0xed27d4=_0x278a36[_0x10946b(0xe9)]()[_0x10946b(0x11a)]()[_0x10946b(0x130)](),_0x413d6b=_0x278a36[_0x10946b(0xe9)]()[_0x10946b(0x10f)]();for(let _0x247b7d=0x0,_0x1d39db=_0x20d365['length'];_0x247b7d<_0x1d39db;_0x247b7d++){const _0x320ab3=_0x20d365[_0x247b7d],_0x17a2c3=_0x278a36[_0x10946b(0xfa)](_0x320ab3['id']);if(!_0x17a2c3||_0x17a2c3['getVisible']()==![]||!_0x320ab3||!_0x320ab3[_0x10946b(0x100)]||!_0x320ab3[_0x10946b(0xe6)])continue;let _0x477e31=await selectFeaturesByGeo(_0x4cbf69,_0xed27d4,_0x320ab3[_0x10946b(0x100)],_0x320ab3[_0x10946b(0xe6)],_0x320ab3['layerType'],_0x320ab3['loadFilter'],_0x413d6b);if(_0x477e31[_0x10946b(0xf4)]>0x0){this[_0x10946b(0xe4)][_0x10946b(0x128)](..._0x477e31);let _0x205f25=_0x278a36['getPolygonTempLayer'](),_0x21a930=this[_0x10946b(0x127)];switch((_0x5674e6=_0x477e31[0x0][_0x10946b(0x11c)]())===null||_0x5674e6===void 0x0?void 0x0:_0x5674e6[_0x10946b(0x122)]()){case'Point':case _0x10946b(0xee):this[_0x10946b(0xfb)][_0x10946b(0x128)](..._0x477e31),_0x205f25=_0x278a36['getPointTempLayer'](),_0x21a930=this[_0x10946b(0x110)];break;case _0x10946b(0x105):case _0x10946b(0xec):this[_0x10946b(0xe3)]['push'](..._0x477e31),_0x205f25=_0x278a36[_0x10946b(0x108)](),_0x21a930=this[_0x10946b(0x116)];break;case _0x10946b(0xf7):case _0x10946b(0x126):this[_0x10946b(0x12c)][_0x10946b(0x128)](..._0x477e31),_0x205f25=_0x278a36[_0x10946b(0xff)](),_0x21a930=this['polygonStyle'];break;default:break;}const _0x23d73c=_0x205f25[_0x10946b(0x10b)]();_0x23d73c&&(_0x477e31[_0x10946b(0x123)](_0x50867b=>{const _0x4f8ead=_0x10946b;_0x50867b[_0x4f8ead(0x10c)]=_0x320ab3['id'],_0x50867b['tempLayer']=_0x205f25,_0x50867b['setStyle'](_0x21a930);}),this[_0x10946b(0x11b)]&&_0x23d73c[_0x10946b(0x106)](_0x477e31));}}}[a48_0x52badf(0xe2)](_0x5a779c){const _0x5b8c38=a48_0x52badf,_0x5a1c19=new a48_0x438694(this[_0x5b8c38(0x11d)]()),_0x3d98b7=_0x5a1c19['getSelectedFeatures']();if(!_0x3d98b7||_0x3d98b7[_0x5b8c38(0xf4)]===0x0)return[];const _0x4999de=['copy','cut','draw',_0x5b8c38(0xf3),_0x5b8c38(0x125)],_0x2e9879=[];for(const _0x2d7eb6 of _0x3d98b7){if(!_0x2d7eb6||!_0x2d7eb6[_0x5b8c38(0x114)]||!_0x4999de['includes'](_0x2d7eb6['fromType']))continue;const _0x224a21=_0x2d7eb6[_0x5b8c38(0x11c)]();if(!_0x224a21)continue;if(!intersects(_0x224a21,_0x5a779c))continue;let _0x24079d=this[_0x5b8c38(0x127)];this[_0x5b8c38(0xe4)]['push'](_0x2d7eb6);switch(_0x224a21[_0x5b8c38(0x122)]()){case _0x5b8c38(0x124):case'MultiPoint':this[_0x5b8c38(0xfb)][_0x5b8c38(0x128)](_0x2d7eb6),_0x24079d=this[_0x5b8c38(0x110)];break;case _0x5b8c38(0x105):case _0x5b8c38(0xec):this[_0x5b8c38(0xe3)][_0x5b8c38(0x128)](_0x2d7eb6),_0x24079d=this[_0x5b8c38(0x116)];break;case _0x5b8c38(0xf7):case _0x5b8c38(0x126):this['selectedPolygonFeatures'][_0x5b8c38(0x128)](_0x2d7eb6),_0x24079d=this[_0x5b8c38(0x127)];break;default:break;}_0x2d7eb6[_0x5b8c38(0x113)](_0x24079d);}return _0x2e9879;}}
1
+ const a48_0x452aca=a48_0x2809;(function(_0xb5b444,_0x1c4153){const _0x337bc1=a48_0x2809,_0x2d4e42=_0xb5b444();while(!![]){try{const _0x59500d=-parseInt(_0x337bc1(0xc6))/0x1*(parseInt(_0x337bc1(0xa6))/0x2)+-parseInt(_0x337bc1(0xb8))/0x3+-parseInt(_0x337bc1(0x8f))/0x4+parseInt(_0x337bc1(0xc1))/0x5+-parseInt(_0x337bc1(0x9c))/0x6+-parseInt(_0x337bc1(0x87))/0x7+parseInt(_0x337bc1(0x88))/0x8*(parseInt(_0x337bc1(0xad))/0x9);if(_0x59500d===_0x1c4153)break;else _0x2d4e42['push'](_0x2d4e42['shift']());}catch(_0x5beb84){_0x2d4e42['push'](_0x2d4e42['shift']());}}}(a48_0x79fa,0xaef5d));import a48_0x282c7b from'./Draw';function a48_0x2809(_0x538334,_0x2370f1){const _0x79fa9b=a48_0x79fa();return a48_0x2809=function(_0x280907,_0x4ec1bf){_0x280907=_0x280907-0x87;let _0xa62c6d=_0x79fa9b[_0x280907];return _0xa62c6d;},a48_0x2809(_0x538334,_0x2370f1);}import a48_0x12ea9a from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';import{Point}from'ol/geom';import a48_0x276904 from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'SELECTSTART':a48_0x452aca(0xaa),'SELECTED':a48_0x452aca(0xd0)};export class SelectEvent extends a48_0x12ea9a{constructor(_0x3437e5,_0x33bd8a,_0x3daa67,_0x5dab6f,_0x4e04dc,_0x5a1b62,_0xceef83,_0x198403,_0x572063){const _0x270519=a48_0x452aca;super(_0x3437e5),this[_0x270519(0xba)]=_0x3daa67,this[_0x270519(0x9e)]=_0x5dab6f,this[_0x270519(0x91)]=_0x4e04dc,this[_0x270519(0xb1)]=_0x5a1b62,this['polygonFeatures']=_0xceef83,this['allFeatures']=_0x198403,this[_0x270519(0x94)]=_0x572063,this[_0x270519(0x9f)]=_0x33bd8a;}}function a48_0x79fa(){const _0x361adf=['layerInfo','keyup','selectLayers','getGeometry','addEventListener','95148WisLfY','tempLayer','getType','canceLineStyle','selectStart','getLineTempLayer','layerType','27EWjNlC','polygonStyle','currentLayers','addFeatures','lineFeatures','allSelectedFeatures','selectedLineFeatures','addTempLayer','url','message','LineString','770799WXnqMK','setSelectLayers','selectGeom','Polygon','MultiPolygon','getSource','selectLayer','getLayerById','MultiPoint','653670XhsHtL','SELECTED','未获取到几何','getPolygonTempLayer','seletctEditeFeature','11uPaRiX','includes','getCode','map','cancePointStyle','getProjection','filter','push','forEach','feature','selected','getView','draw','MultiLineString','length','getLayers','8450925TOepgN','12574312NJhaAO','drawEnd','selectedPolygonFeatures','Point','getVisible','pixelDistance','ctrlKey','3673984ylbzju','cancePolygonStyle','pointFeatures','fromType','setStyle','error','lineStyle','dispatchEvent','selectedPointFeatures','getMap','pointStyle','selectTempLayer','layerId','7340676ekADOL','keydown','coordinates','holdCtrl','selectIndex'];a48_0x79fa=function(){return _0x361adf;};return a48_0x79fa();}export default class Select extends a48_0x282c7b{constructor(_0xc491f9,_0x3394e0){const _0x5a069c=a48_0x452aca;super(_0xc491f9,{'tipText':_0x3394e0===null||_0x3394e0===void 0x0?void 0x0:_0x3394e0['tipText']}),this['selectedPointFeatures']=[],this['selectedLineFeatures']=[],this['selectedPolygonFeatures']=[],this[_0x5a069c(0xb2)]=[];const _0x13c34f=_0x3394e0||{};this[_0x5a069c(0xb4)]=_0x13c34f['addTempLayer']||![],this[_0x5a069c(0xaf)]=_0x13c34f[_0x5a069c(0xa3)],this[_0x5a069c(0x9a)]=_0x13c34f[_0x5a069c(0x9a)]===undefined?!![]:_0x13c34f[_0x5a069c(0x9a)],this[_0x5a069c(0x8d)]=_0x13c34f[_0x5a069c(0x8d)]===undefined?0x5:_0x13c34f[_0x5a069c(0x8d)],this['pointStyle']=_0x13c34f[_0x5a069c(0x99)]?getStyle(_0x13c34f[_0x5a069c(0x99)]):getSelectPointStyle(),this['cancePointStyle']=_0x13c34f['cancePointStyle']?getStyle(_0x13c34f[_0x5a069c(0xca)]):getSelectCancePointStyle(),this['lineStyle']=_0x13c34f[_0x5a069c(0x95)]?getStyle(_0x13c34f[_0x5a069c(0x95)]):getSelectLineStyle(),this[_0x5a069c(0xa9)]=_0x13c34f[_0x5a069c(0xa9)]?getStyle(_0x13c34f[_0x5a069c(0xa9)]):getSelectCancelLineStyle(),this[_0x5a069c(0xae)]=_0x13c34f[_0x5a069c(0xae)]?getStyle(_0x13c34f[_0x5a069c(0xae)]):getSelectPolygonStyle(),this[_0x5a069c(0x90)]=_0x13c34f['cancePolygonStyle']?getStyle(_0x13c34f['cancePolygonStyle']):getSelectCancelPolygonStyle(),this['holdCtrl']=![];let _0x25dd60;this['on']=this['onInternal'],this['on'](_0x5a069c(0x89),async _0x6c048b=>{const _0x3102a=_0x5a069c,_0x53e7f5=this[_0x3102a(0x9f)],_0x3df006=this['getMap']();if(!_0x3df006)return;try{let _0x1bc6c9=undefined;if(!_0x6c048b[_0x3102a(0xcf)]&&_0x6c048b[_0x3102a(0x9e)]&&_0x6c048b[_0x3102a(0x9e)]['length']==0x1)_0x1bc6c9=bufferPixel(new Point(_0x6c048b[_0x3102a(0x9e)][0x0]),this['pixelDistance'],_0x3df006);else _0x6c048b['feature']&&(_0x1bc6c9=_0x6c048b[_0x3102a(0xcf)][_0x3102a(0xa4)]());if(!_0x1bc6c9)throw new Error(_0x3102a(0xc3));this['dispatchEvent'](new SelectEvent(SelectEventType['SELECTSTART'],_0x53e7f5,_0x1bc6c9)),this[_0x3102a(0x97)]=[],this[_0x3102a(0xb3)]=[],this[_0x3102a(0x8a)]=[],this[_0x3102a(0xb2)]=[],this[_0x3102a(0x9a)]&&this[_0x3102a(0xc5)](_0x1bc6c9),_0x25dd60&&clearTimeout(_0x25dd60),_0x25dd60=setTimeout(async()=>{const _0x43fbe0=_0x3102a;await this[_0x43fbe0(0xbe)](_0x1bc6c9),this['dispatchEvent'](new SelectEvent(SelectEventType[_0x43fbe0(0xc2)],_0x53e7f5,_0x1bc6c9,_0x6c048b[_0x43fbe0(0x9e)],this['selectedPointFeatures'],this[_0x43fbe0(0xb3)],this[_0x43fbe0(0x8a)],this[_0x43fbe0(0xb2)]));},0x46);}catch(_0x5cb89c){this[_0x3102a(0x96)](new SelectEvent(SelectEventType[_0x3102a(0xc2)],_0x53e7f5,undefined,_0x6c048b[_0x3102a(0x9e)],this[_0x3102a(0x97)],this[_0x3102a(0xb3)],this[_0x3102a(0x8a)],this[_0x3102a(0xb2)],_0x5cb89c[_0x3102a(0xb6)]));}}),window['addEventListener'](_0x5a069c(0x9d),_0x46668c=>{const _0xae2d99=_0x5a069c;_0x46668c[_0xae2d99(0x8e)]&&(this[_0xae2d99(0x9f)]=!![]);}),window[_0x5a069c(0xa5)](_0x5a069c(0xa2),_0x3ad47d=>{const _0x4d2b15=_0x5a069c;this[_0x4d2b15(0x9f)]=![];});}[a48_0x452aca(0xb9)](_0x5c818e){const _0x51fb43=a48_0x452aca;this[_0x51fb43(0xaf)]=_0x5c818e;}async[a48_0x452aca(0xbe)](_0x5608b2){const _0x2cec8c=a48_0x452aca;var _0x581602;const _0x16858d=this[_0x2cec8c(0x98)]();let _0x282625=[];if(this[_0x2cec8c(0xaf)]&&this[_0x2cec8c(0xaf)][_0x2cec8c(0xd4)]>0x0)_0x282625=this[_0x2cec8c(0xaf)];else{let _0x1ed538=_0x16858d[_0x2cec8c(0xd5)]()['getArray']();_0x1ed538=_0x1ed538[_0x2cec8c(0xcc)](_0x3cc80e=>{const _0x6bf27a=_0x2cec8c,_0x32ff85=_0x3cc80e[_0x6bf27a(0xa1)];if(!_0x32ff85)return![];return _0x3cc80e[_0x6bf27a(0x8c)]()==!![]&&_0x32ff85[_0x6bf27a(0xa0)]!=undefined&&_0x32ff85['selectIndex']!='';}),_0x282625=_0x1ed538[_0x2cec8c(0xc9)](_0x44b364=>{const _0x567ebc=_0x2cec8c;return _0x44b364[_0x567ebc(0xa1)];});}if(!_0x282625||_0x282625[_0x2cec8c(0xd4)]==0x0)return;const _0x28e67c=_0x16858d[_0x2cec8c(0xd1)]()[_0x2cec8c(0xcb)]()[_0x2cec8c(0xc8)](),_0x5108af=_0x16858d['getView']()['getResolution']();for(let _0x4fa299=0x0,_0x2d85a7=_0x282625[_0x2cec8c(0xd4)];_0x4fa299<_0x2d85a7;_0x4fa299++){const _0x446ced=_0x282625[_0x4fa299],_0x2daeb9=_0x16858d[_0x2cec8c(0xbf)](_0x446ced['id']);if(!_0x2daeb9||_0x2daeb9[_0x2cec8c(0x8c)]()==![]||!_0x446ced||!_0x446ced['url']||!_0x446ced[_0x2cec8c(0xa0)])continue;let _0x450cd3=await selectFeaturesByGeo(_0x5608b2,_0x28e67c,_0x446ced[_0x2cec8c(0xb5)],_0x446ced[_0x2cec8c(0xa0)],_0x446ced[_0x2cec8c(0xac)],_0x446ced['loadFilter'],_0x5108af);if(_0x450cd3['length']>0x0){this[_0x2cec8c(0xb2)]['push'](..._0x450cd3);let _0xe97a84=_0x16858d[_0x2cec8c(0xc4)](),_0x146c3a=this[_0x2cec8c(0xae)];switch((_0x581602=_0x450cd3[0x0]['getGeometry']())===null||_0x581602===void 0x0?void 0x0:_0x581602['getType']()){case _0x2cec8c(0x8b):case'MultiPoint':this['selectedPointFeatures'][_0x2cec8c(0xcd)](..._0x450cd3),_0xe97a84=_0x16858d['getPointTempLayer'](),_0x146c3a=this[_0x2cec8c(0x99)];break;case _0x2cec8c(0xb7):case _0x2cec8c(0xd3):this[_0x2cec8c(0xb3)][_0x2cec8c(0xcd)](..._0x450cd3),_0xe97a84=_0x16858d[_0x2cec8c(0xab)](),_0x146c3a=this[_0x2cec8c(0x95)];break;case _0x2cec8c(0xbb):case _0x2cec8c(0xbc):this[_0x2cec8c(0x8a)][_0x2cec8c(0xcd)](..._0x450cd3),_0xe97a84=_0x16858d[_0x2cec8c(0xc4)](),_0x146c3a=this['polygonStyle'];break;default:break;}const _0x44bec4=_0xe97a84[_0x2cec8c(0xbd)]();_0x44bec4&&(_0x450cd3[_0x2cec8c(0xce)](_0x5c5661=>{const _0x55b95b=_0x2cec8c;_0x5c5661[_0x55b95b(0x9b)]=_0x446ced['id'],_0x5c5661[_0x55b95b(0xa7)]=_0xe97a84,_0x5c5661[_0x55b95b(0x93)](_0x146c3a);}),this['addTempLayer']&&_0x44bec4[_0x2cec8c(0xb0)](_0x450cd3));}}}[a48_0x452aca(0xc5)](_0x237af6){const _0x10bd2a=a48_0x452aca,_0x48ab42=new a48_0x276904(this[_0x10bd2a(0x98)]()),_0x4ccee2=_0x48ab42['getSelectedFeatures']();if(!_0x4ccee2||_0x4ccee2[_0x10bd2a(0xd4)]===0x0)return[];const _0x2cb1c3=['copy','cut',_0x10bd2a(0xd2),'import','union'],_0x29639f=[];for(const _0x399c78 of _0x4ccee2){if(!_0x399c78||!_0x399c78[_0x10bd2a(0x92)]||!_0x2cb1c3[_0x10bd2a(0xc7)](_0x399c78[_0x10bd2a(0x92)]))continue;const _0x30f673=_0x399c78['getGeometry']();if(!_0x30f673)continue;if(!intersects(_0x30f673,_0x237af6))continue;let _0x359fed=this[_0x10bd2a(0xae)];this[_0x10bd2a(0xb2)][_0x10bd2a(0xcd)](_0x399c78);switch(_0x30f673[_0x10bd2a(0xa8)]()){case _0x10bd2a(0x8b):case _0x10bd2a(0xc0):this[_0x10bd2a(0x97)][_0x10bd2a(0xcd)](_0x399c78),_0x359fed=this['pointStyle'];break;case _0x10bd2a(0xb7):case'MultiLineString':this[_0x10bd2a(0xb3)][_0x10bd2a(0xcd)](_0x399c78),_0x359fed=this[_0x10bd2a(0x95)];break;case'Polygon':case _0x10bd2a(0xbc):this[_0x10bd2a(0x8a)][_0x10bd2a(0xcd)](_0x399c78),_0x359fed=this['polygonStyle'];break;default:break;}_0x399c78[_0x10bd2a(0x93)](_0x359fed);}return _0x29639f;}}
@@ -1 +1 @@
1
- function a49_0x5d73(){const _0x2e0698=['url','initialExtent','getSource','xmin','266846eFyEdh','sublayers','49869RjFAwa','loadFilter','38629380ckFKsb','xmax','join','5wxgATA','1738afKVLy','anonymous','projection','fullExtent','1847972DxYEoN','1120864GxvhXC','spatialReference','layerInfo','selectIndex','7NtAmcW','updateParams','show:','layerDefs','wkid','51420gPBmtN','4180458EpMtrg','wkt','15fpVgkP','1496SFoXZP','ymin','opacity','stringify'];a49_0x5d73=function(){return _0x2e0698;};return a49_0x5d73();}function a49_0x4be8(_0x429aef,_0x22dcaf){const _0x5d73a6=a49_0x5d73();return a49_0x4be8=function(_0x4be8c3,_0x1fb45d){_0x4be8c3=_0x4be8c3-0x13f;let _0x22d01b=_0x5d73a6[_0x4be8c3];return _0x22d01b;},a49_0x4be8(_0x429aef,_0x22dcaf);}(function(_0x4ce11e,_0x454fe5){const _0x384205=a49_0x4be8,_0x386c6f=_0x4ce11e();while(!![]){try{const _0x1191f9=parseInt(_0x384205(0x14b))/0x1+-parseInt(_0x384205(0x160))/0x2*(-parseInt(_0x384205(0x157))/0x3)+-parseInt(_0x384205(0x14a))/0x4*(parseInt(_0x384205(0x145))/0x5)+parseInt(_0x384205(0x155))/0x6*(parseInt(_0x384205(0x14f))/0x7)+-parseInt(_0x384205(0x158))/0x8*(-parseInt(_0x384205(0x140))/0x9)+-parseInt(_0x384205(0x154))/0xa*(-parseInt(_0x384205(0x146))/0xb)+-parseInt(_0x384205(0x142))/0xc;if(_0x1191f9===_0x454fe5)break;else _0x386c6f['push'](_0x386c6f['shift']());}catch(_0x729d3b){_0x386c6f['push'](_0x386c6f['shift']());}}}(a49_0x5d73,0x9f3b9));import a49_0xb72cb3 from'ol/source/ImageArcGISRest';import{Image as a49_0x1f5fb9}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a49_0x1f5fb9{constructor(_0x465318,_0x3960f3){const _0x242620=a49_0x4be8;var _0x392aaf;let _0xd700e2={'LAYERS':_0x242620(0x151)+((_0x392aaf=_0x465318[_0x242620(0x13f)])===null||_0x392aaf===void 0x0?void 0x0:_0x392aaf[_0x242620(0x144)](','))};if(_0x465318[_0x242620(0x141)]&&_0x465318[_0x242620(0x14e)]){const _0x58e154={};_0x58e154[_0x465318[_0x242620(0x14e)]]=_0x465318[_0x242620(0x141)],_0xd700e2[_0x242620(0x152)]=JSON[_0x242620(0x15b)](_0x58e154);}const _0x538a57=[_0x3960f3['initialExtent'][_0x242620(0x15f)],_0x3960f3[_0x242620(0x15d)][_0x242620(0x159)],_0x3960f3[_0x242620(0x15d)][_0x242620(0x143)],_0x3960f3['initialExtent']['ymax']],_0x35b0b9=[_0x3960f3[_0x242620(0x149)]['xmin'],_0x3960f3[_0x242620(0x149)][_0x242620(0x159)],_0x3960f3[_0x242620(0x149)]['xmax'],_0x3960f3[_0x242620(0x149)]['ymax']];let _0x26d5cc;_0x3960f3[_0x242620(0x14c)][_0x242620(0x153)]?_0x26d5cc=registerProj('EPSG:'+_0x3960f3['spatialReference'][_0x242620(0x153)],_0x35b0b9):_0x26d5cc=registerProj(_0x3960f3[_0x242620(0x14c)][_0x242620(0x156)],_0x35b0b9),super({'opacity':_0x465318[_0x242620(0x15a)],'zIndex':_0x465318['mapIndex'],'source':new a49_0xb72cb3({'crossOrigin':_0x242620(0x147),'projection':_0x26d5cc,'ratio':0x1,'url':_0x465318[_0x242620(0x15c)],'params':_0xd700e2})}),this['id']=_0x465318['id'],this[_0x242620(0x15d)]=_0x538a57,this[_0x242620(0x148)]=_0x26d5cc,this[_0x242620(0x14d)]=_0x465318;}['setFilter'](_0x279e81){const _0x505147=a49_0x4be8;var _0x5848a7;const _0x4938de={};this[_0x505147(0x14d)][_0x505147(0x14e)]&&(_0x4938de[this['layerInfo']['selectIndex']]=_0x279e81),(_0x5848a7=this[_0x505147(0x15e)]())===null||_0x5848a7===void 0x0?void 0x0:_0x5848a7[_0x505147(0x150)]({'layerDefs':JSON[_0x505147(0x15b)](_0x279e81)});}}
1
+ function a49_0x1c09(_0x182674,_0xcffd83){const _0x408233=a49_0x4082();return a49_0x1c09=function(_0x1c0916,_0x1c6a36){_0x1c0916=_0x1c0916-0x156;let _0x2c3593=_0x408233[_0x1c0916];return _0x2c3593;},a49_0x1c09(_0x182674,_0xcffd83);}const a49_0x973fcb=a49_0x1c09;(function(_0x107a09,_0x1d159f){const _0x1b31f9=a49_0x1c09,_0x440d55=_0x107a09();while(!![]){try{const _0x446f93=-parseInt(_0x1b31f9(0x15d))/0x1*(-parseInt(_0x1b31f9(0x174))/0x2)+-parseInt(_0x1b31f9(0x168))/0x3*(-parseInt(_0x1b31f9(0x16c))/0x4)+parseInt(_0x1b31f9(0x178))/0x5+parseInt(_0x1b31f9(0x15c))/0x6*(parseInt(_0x1b31f9(0x166))/0x7)+parseInt(_0x1b31f9(0x164))/0x8+-parseInt(_0x1b31f9(0x15a))/0x9*(parseInt(_0x1b31f9(0x179))/0xa)+-parseInt(_0x1b31f9(0x15e))/0xb*(parseInt(_0x1b31f9(0x16f))/0xc);if(_0x446f93===_0x1d159f)break;else _0x440d55['push'](_0x440d55['shift']());}catch(_0x59c51e){_0x440d55['push'](_0x440d55['shift']());}}}(a49_0x4082,0xe63ce));import a49_0x36fa94 from'ol/source/ImageArcGISRest';import{Image as a49_0x17b014}from'ol/layer';function a49_0x4082(){const _0x326807=['308YoGKzc','mapIndex','sublayers','spatialReference','join','setFilter','5851136ANlXwi','url','1308104DLevcL','stringify','770652WtfcTq','selectIndex','getSource','layerDefs','12DicJwY','wkid','wkt','980112dMEahP','opacity','fullExtent','ymin','initialExtent','3790ZKLkYj','xmax','EPSG:','show:','4676505RAzvJQ','11154490ojkkaM','layerInfo','xmin','anonymous','ymax','9nSxQeN','loadFilter','48zdjDLS','218Ehkdja'];a49_0x4082=function(){return _0x326807;};return a49_0x4082();}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a49_0x17b014{constructor(_0x37eb51,_0x57ee6d){const _0x1da28a=a49_0x1c09;var _0x3f6570;let _0x42a745={'LAYERS':_0x1da28a(0x177)+((_0x3f6570=_0x37eb51[_0x1da28a(0x160)])===null||_0x3f6570===void 0x0?void 0x0:_0x3f6570[_0x1da28a(0x162)](','))};if(_0x37eb51[_0x1da28a(0x15b)]&&_0x37eb51['selectIndex']){const _0x16648e={};_0x16648e[_0x37eb51[_0x1da28a(0x169)]]=_0x37eb51[_0x1da28a(0x15b)],_0x42a745[_0x1da28a(0x16b)]=JSON[_0x1da28a(0x167)](_0x16648e);}const _0x393b05=[_0x57ee6d[_0x1da28a(0x173)][_0x1da28a(0x157)],_0x57ee6d[_0x1da28a(0x173)]['ymin'],_0x57ee6d['initialExtent'][_0x1da28a(0x175)],_0x57ee6d[_0x1da28a(0x173)][_0x1da28a(0x159)]],_0x5c1d0c=[_0x57ee6d['fullExtent']['xmin'],_0x57ee6d['fullExtent'][_0x1da28a(0x172)],_0x57ee6d[_0x1da28a(0x171)][_0x1da28a(0x175)],_0x57ee6d[_0x1da28a(0x171)][_0x1da28a(0x159)]];let _0x506f7b;_0x57ee6d[_0x1da28a(0x161)][_0x1da28a(0x16d)]?_0x506f7b=registerProj(_0x1da28a(0x176)+_0x57ee6d[_0x1da28a(0x161)]['wkid'],_0x5c1d0c):_0x506f7b=registerProj(_0x57ee6d[_0x1da28a(0x161)][_0x1da28a(0x16e)],_0x5c1d0c),super({'opacity':_0x37eb51[_0x1da28a(0x170)],'zIndex':_0x37eb51[_0x1da28a(0x15f)],'source':new a49_0x36fa94({'crossOrigin':_0x1da28a(0x158),'projection':_0x506f7b,'ratio':0x1,'url':_0x37eb51[_0x1da28a(0x165)],'params':_0x42a745})}),this['id']=_0x37eb51['id'],this[_0x1da28a(0x173)]=_0x393b05,this['projection']=_0x506f7b,this[_0x1da28a(0x156)]=_0x37eb51;}[a49_0x973fcb(0x163)](_0x4cf093){const _0x1f7bb5=a49_0x973fcb;var _0x431543;const _0x445f0e={};this[_0x1f7bb5(0x156)][_0x1f7bb5(0x169)]&&(_0x445f0e[this[_0x1f7bb5(0x156)][_0x1f7bb5(0x169)]]=_0x4cf093),(_0x431543=this[_0x1f7bb5(0x16a)]())===null||_0x431543===void 0x0?void 0x0:_0x431543['updateParams']({'layerDefs':JSON[_0x1f7bb5(0x167)](_0x4cf093)});}}
@@ -1 +1 @@
1
- const a50_0x9f80a1=a50_0x248e;function a50_0x3e4f(){const _0x12f9ea=['spatialReference','projection','then','fullExtent','1660aAazwv','string','uniqueValueInfos',',\x22xmax\x22:','push','wkid','560658XsnFTv','where=','stringify','drawingInfo','setStyle','length','ymax','1611295rmhEDw','createArcGISFeatureLayer','renderer','forEach','setLayers','get','uniqueValue','setFilter','error','mapIndex','EPSG:','27Nyzmfw','2077010JpNZrq','split','initialExtent','&geometryType=esriGeometryEnvelope&inSR=','defaultSymbol','simple',',\x22ymax\x22:','4361280vMxeUf','getCode','loadFilter','ymin',',\x22spatialReference\x22:{\x22wkid\x22:','f\x20=\x20json\x20&\x20','symbol','log','&outFields=*','readFeatures','&outSR=','type','xmin','678336yTjMyr','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','showIndex','addFeatures','113047npxhWr',',\x22ymin\x22:'];a50_0x3e4f=function(){return _0x12f9ea;};return a50_0x3e4f();}(function(_0x57bd78,_0x529889){const _0x334608=a50_0x248e,_0x552659=_0x57bd78();while(!![]){try{const _0xd6f630=-parseInt(_0x334608(0xa4))/0x1+parseInt(_0x334608(0xa0))/0x2+-parseInt(_0x334608(0xc2))/0x3*(-parseInt(_0x334608(0xaa))/0x4)+-parseInt(_0x334608(0xc3))/0x5+parseInt(_0x334608(0xb0))/0x6+-parseInt(_0x334608(0xb7))/0x7+parseInt(_0x334608(0xca))/0x8;if(_0xd6f630===_0x529889)break;else _0x552659['push'](_0x552659['shift']());}catch(_0x1f5359){_0x552659['push'](_0x552659['shift']());}}}(a50_0x3e4f,0x36698));import a50_0x14e027 from'ol/format/EsriJSON';import a50_0xb9abc7 from'ol/source/Vector';import{Vector as a50_0x187813}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a50_0x43820c}from'ol/loadingstrategy';import a50_0x50c329 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a50_0x13e95d from'ol/Collection';function a50_0x248e(_0x1dc079,_0x5a7f31){const _0x3e4f42=a50_0x3e4f();return a50_0x248e=function(_0x248e17,_0x2ceb30){_0x248e17=_0x248e17-0x9b;let _0x2d4b98=_0x3e4f42[_0x248e17];return _0x2d4b98;},a50_0x248e(_0x1dc079,_0x5a7f31);}import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a50_0x50c329{constructor(_0x2d2e9d,_0x184793,_0x6683df){const _0xd71816=a50_0x248e,_0x924911=[_0x184793[_0xd71816(0xc5)][_0xd71816(0x9f)],_0x184793[_0xd71816(0xc5)][_0xd71816(0xcd)],_0x184793[_0xd71816(0xc5)]['xmax'],_0x184793[_0xd71816(0xc5)]['ymax']],_0x248190=[_0x184793[_0xd71816(0xa9)][_0xd71816(0x9f)],_0x184793[_0xd71816(0xa9)][_0xd71816(0xcd)],_0x184793['fullExtent']['xmax'],_0x184793[_0xd71816(0xa9)][_0xd71816(0xb6)]];let _0x22702f;_0x184793[_0xd71816(0xa6)][_0xd71816(0xaf)]?_0x22702f=registerProj(_0xd71816(0xc1)+_0x184793[_0xd71816(0xa6)][_0xd71816(0xaf)],_0x248190):_0x22702f=registerProj(_0x184793[_0xd71816(0xa6)]['wkt'],_0x248190);let _0x3fe147=[];super({'zIndex':_0x2d2e9d[_0xd71816(0xc0)]});for(let _0x221aff of _0x6683df){let _0x4d1d67=this[_0xd71816(0xb8)](_0x2d2e9d,_0x221aff);_0x3fe147[_0xd71816(0xae)](_0x4d1d67);}this[_0xd71816(0xbb)](new a50_0x13e95d(_0x3fe147)),this['id']=_0x2d2e9d['id'],this[_0xd71816(0xc5)]=_0x924911,this[_0xd71816(0xa7)]=_0x22702f,this['layerInfo']=_0x2d2e9d;}[a50_0x9f80a1(0xb8)](_0x5d9e67,_0x3692ab){const _0x351d29=a50_0x9f80a1;var _0x32d839=new a50_0x14e027();let _0x12baf0=new a50_0xb9abc7({'loader':function(_0x1e5767,_0x2f0c26,_0x2221a0){const _0xa13dd1=a50_0x248e;let _0xfe0f8d='1=1';_0x5d9e67[_0xa13dd1(0xcc)]&&(_0xfe0f8d=typeof _0x5d9e67[_0xa13dd1(0xcc)]===_0xa13dd1(0xab)?_0x5d9e67[_0xa13dd1(0xcc)]:JSON[_0xa13dd1(0xb2)](_0x5d9e67[_0xa13dd1(0xcc)]));let _0x4e6c92=_0x2221a0[_0xa13dd1(0xcb)](),_0x594e91=_0x4e6c92[_0xa13dd1(0xc4)](':')[0x1];var _0x5762fd=appendPath(_0x3692ab['url'],'/query');_0x5762fd=appendParam(_0x5762fd,_0xa13dd1(0xcf)+_0xa13dd1(0xb1)+encodeURIComponent(_0xfe0f8d)+_0xa13dd1(0xa1)+encodeURIComponent('{\x22xmin\x22:'+_0x1e5767[0x0]+_0xa13dd1(0xa5)+_0x1e5767[0x1]+_0xa13dd1(0xad)+_0x1e5767[0x2]+_0xa13dd1(0xc9)+_0x1e5767[0x3]+_0xa13dd1(0xce)+_0x594e91+'}}')+_0xa13dd1(0xc6)+_0x594e91+_0xa13dd1(0x9b)+_0xa13dd1(0x9d)+_0x594e91),jsonp(_0x5762fd)[_0xa13dd1(0xa8)](_0x5b625c=>{const _0x10fcba=_0xa13dd1;if(_0x5b625c[_0x10fcba(0xbf)])console[_0x10fcba(0xd1)](_0x5b625c);else{var _0xe380f4=_0x32d839[_0x10fcba(0x9c)](_0x5b625c,{'featureProjection':_0x2221a0});_0xe380f4[_0x10fcba(0xb5)]>0x0&&(_0x3692ab[_0x10fcba(0xb3)][_0x10fcba(0xb9)]['type']==_0x10fcba(0xbd)&&_0xe380f4[_0x10fcba(0xba)](function(_0x5e8d98){const _0x25537e=_0x10fcba;var _0x1fb1e8=_0x5e8d98[_0x25537e(0xbc)](_0x3692ab['drawingInfo'][_0x25537e(0xb9)]['field1']);const _0x5de92c=_0x3692ab['drawingInfo']['renderer'][_0x25537e(0xac)]['find'](_0x315a59=>_0x315a59['value']==_0x1fb1e8);let _0x565665;_0x5de92c?_0x565665=transformedEsriStyle(_0x5de92c[_0x25537e(0xd0)]):_0x565665=transformedEsriStyle(_0x3692ab[_0x25537e(0xb3)]['renderer'][_0x25537e(0xc7)]),_0x5e8d98[_0x25537e(0xb4)](_0x565665);}),_0x12baf0[_0x10fcba(0xa3)](_0xe380f4));}});},'strategy':a50_0x43820c(createXYZ({'tileSize':0x200}))}),_0x178918=new a50_0x187813({'source':_0x12baf0,'zIndex':_0x5d9e67[_0x351d29(0xa2)]});if(_0x3692ab[_0x351d29(0xb3)][_0x351d29(0xb9)][_0x351d29(0x9e)]==_0x351d29(0xc8)&&_0x3692ab[_0x351d29(0xb3)][_0x351d29(0xb9)]['symbol']){let _0x340810=transformedEsriStyle(_0x3692ab[_0x351d29(0xb3)][_0x351d29(0xb9)]['symbol']);_0x178918['setStyle'](_0x340810);}return _0x178918;}[a50_0x9f80a1(0xbe)](_0x23a938){const _0x158424=a50_0x9f80a1;this['layerInfo'][_0x158424(0xcc)]=_0x23a938;}}
1
+ const a50_0x5a0697=a50_0x4633;(function(_0x7a255b,_0x444c55){const _0x36c368=a50_0x4633,_0x5bb7ff=_0x7a255b();while(!![]){try{const _0x1e7849=parseInt(_0x36c368(0xd3))/0x1+-parseInt(_0x36c368(0xbb))/0x2+-parseInt(_0x36c368(0xdb))/0x3*(-parseInt(_0x36c368(0xce))/0x4)+-parseInt(_0x36c368(0xc1))/0x5*(parseInt(_0x36c368(0xa5))/0x6)+parseInt(_0x36c368(0xb7))/0x7+-parseInt(_0x36c368(0xc3))/0x8+parseInt(_0x36c368(0xa3))/0x9;if(_0x1e7849===_0x444c55)break;else _0x5bb7ff['push'](_0x5bb7ff['shift']());}catch(_0x583b60){_0x5bb7ff['push'](_0x5bb7ff['shift']());}}}(a50_0x4f1c,0x42a53));import a50_0x490f7d from'ol/format/EsriJSON';import a50_0x4ac8ea from'ol/source/Vector';function a50_0x4f1c(){const _0x34a58b=['loadFilter',',\x22spatialReference\x22:{\x22wkid\x22:','setStyle','/query','log','createArcGISFeatureLayer','initialExtent','4EgLmdo','&outSR=','1=1','get','&outFields=*','478442MfEXqK','getCode','forEach','EPSG:','setFilter','xmax','symbol','addFeatures','257457viIfYy','spatialReference','where=','5072274PUyRuo','f\x20=\x20json\x20&\x20','6NjMsIM','value','push','type','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','find','projection','ymin','field1','url',',\x22ymin\x22:','drawingInfo','xmin','ymax','error','wkt','uniqueValue','string','321111icTZUJ','showIndex','simple','renderer','951058rybiHK','wkid','split','mapIndex',',\x22xmax\x22:','uniqueValueInfos','868895PIqdfK','setLayers','2011464LyPBwT','layerInfo','&geometryType=esriGeometryEnvelope&inSR=','fullExtent'];a50_0x4f1c=function(){return _0x34a58b;};return a50_0x4f1c();}import{Vector as a50_0x48fbd4}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a50_0x56b7c9}from'ol/loadingstrategy';import a50_0x4c31bc from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a50_0x52c2d7 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';function a50_0x4633(_0x36d752,_0x27cff0){const _0x4f1cdc=a50_0x4f1c();return a50_0x4633=function(_0x4633c1,_0x14a7cc){_0x4633c1=_0x4633c1-0xa1;let _0x51de03=_0x4f1cdc[_0x4633c1];return _0x51de03;},a50_0x4633(_0x36d752,_0x27cff0);}export default class ArcgisFeatureLayer extends a50_0x4c31bc{constructor(_0xec0e51,_0x5d27f7,_0x26f58a){const _0x1387f3=a50_0x4633,_0x392e4a=[_0x5d27f7[_0x1387f3(0xcd)][_0x1387f3(0xb1)],_0x5d27f7[_0x1387f3(0xcd)][_0x1387f3(0xac)],_0x5d27f7[_0x1387f3(0xcd)]['xmax'],_0x5d27f7['initialExtent'][_0x1387f3(0xb2)]],_0x1fadd1=[_0x5d27f7[_0x1387f3(0xc6)]['xmin'],_0x5d27f7['fullExtent'][_0x1387f3(0xac)],_0x5d27f7[_0x1387f3(0xc6)][_0x1387f3(0xd8)],_0x5d27f7[_0x1387f3(0xc6)][_0x1387f3(0xb2)]];let _0xfe224e;_0x5d27f7[_0x1387f3(0xa1)][_0x1387f3(0xbc)]?_0xfe224e=registerProj(_0x1387f3(0xd6)+_0x5d27f7['spatialReference'][_0x1387f3(0xbc)],_0x1fadd1):_0xfe224e=registerProj(_0x5d27f7[_0x1387f3(0xa1)][_0x1387f3(0xb4)],_0x1fadd1);let _0x275130=[];super({'zIndex':_0xec0e51[_0x1387f3(0xbe)]});for(let _0x145117 of _0x26f58a){let _0x1280eb=this[_0x1387f3(0xcc)](_0xec0e51,_0x145117);_0x275130[_0x1387f3(0xa7)](_0x1280eb);}this[_0x1387f3(0xc2)](new a50_0x52c2d7(_0x275130)),this['id']=_0xec0e51['id'],this[_0x1387f3(0xcd)]=_0x392e4a,this[_0x1387f3(0xab)]=_0xfe224e,this[_0x1387f3(0xc4)]=_0xec0e51;}[a50_0x5a0697(0xcc)](_0x4065dd,_0x446034){const _0x5a090f=a50_0x5a0697;var _0x53dd1c=new a50_0x490f7d();let _0x430f9c=new a50_0x4ac8ea({'loader':function(_0x529254,_0x34748e,_0x4e4d82){const _0x2423e0=a50_0x4633;let _0x21d0a1=_0x2423e0(0xd0);_0x4065dd[_0x2423e0(0xc7)]&&(_0x21d0a1=typeof _0x4065dd['loadFilter']===_0x2423e0(0xb6)?_0x4065dd[_0x2423e0(0xc7)]:JSON['stringify'](_0x4065dd['loadFilter']));let _0x22b0d3=_0x4e4d82[_0x2423e0(0xd4)](),_0x481b63=_0x22b0d3[_0x2423e0(0xbd)](':')[0x1];var _0x16c93d=appendPath(_0x446034[_0x2423e0(0xae)],_0x2423e0(0xca));_0x16c93d=appendParam(_0x16c93d,_0x2423e0(0xa4)+_0x2423e0(0xa2)+encodeURIComponent(_0x21d0a1)+_0x2423e0(0xa9)+encodeURIComponent('{\x22xmin\x22:'+_0x529254[0x0]+_0x2423e0(0xaf)+_0x529254[0x1]+_0x2423e0(0xbf)+_0x529254[0x2]+',\x22ymax\x22:'+_0x529254[0x3]+_0x2423e0(0xc8)+_0x481b63+'}}')+_0x2423e0(0xc5)+_0x481b63+_0x2423e0(0xd2)+_0x2423e0(0xcf)+_0x481b63),jsonp(_0x16c93d)['then'](_0x48b10d=>{const _0x5bdf5b=_0x2423e0;if(_0x48b10d[_0x5bdf5b(0xb3)])console[_0x5bdf5b(0xcb)](_0x48b10d);else{var _0x543002=_0x53dd1c['readFeatures'](_0x48b10d,{'featureProjection':_0x4e4d82});_0x543002['length']>0x0&&(_0x446034[_0x5bdf5b(0xb0)][_0x5bdf5b(0xba)][_0x5bdf5b(0xa8)]==_0x5bdf5b(0xb5)&&_0x543002[_0x5bdf5b(0xd5)](function(_0x12d73c){const _0x1c8cf=_0x5bdf5b;var _0x90fcba=_0x12d73c[_0x1c8cf(0xd1)](_0x446034[_0x1c8cf(0xb0)][_0x1c8cf(0xba)][_0x1c8cf(0xad)]);const _0x5afe63=_0x446034['drawingInfo']['renderer'][_0x1c8cf(0xc0)][_0x1c8cf(0xaa)](_0x49f400=>_0x49f400[_0x1c8cf(0xa6)]==_0x90fcba);let _0x54c382;_0x5afe63?_0x54c382=transformedEsriStyle(_0x5afe63[_0x1c8cf(0xd9)]):_0x54c382=transformedEsriStyle(_0x446034[_0x1c8cf(0xb0)][_0x1c8cf(0xba)]['defaultSymbol']),_0x12d73c[_0x1c8cf(0xc9)](_0x54c382);}),_0x430f9c[_0x5bdf5b(0xda)](_0x543002));}});},'strategy':a50_0x56b7c9(createXYZ({'tileSize':0x200}))}),_0x2bbb43=new a50_0x48fbd4({'source':_0x430f9c,'zIndex':_0x4065dd[_0x5a090f(0xb8)]});if(_0x446034[_0x5a090f(0xb0)][_0x5a090f(0xba)][_0x5a090f(0xa8)]==_0x5a090f(0xb9)&&_0x446034[_0x5a090f(0xb0)][_0x5a090f(0xba)][_0x5a090f(0xd9)]){let _0x4a4479=transformedEsriStyle(_0x446034[_0x5a090f(0xb0)][_0x5a090f(0xba)][_0x5a090f(0xd9)]);_0x2bbb43[_0x5a090f(0xc9)](_0x4a4479);}return _0x2bbb43;}[a50_0x5a0697(0xd7)](_0x4b010e){const _0x243f92=a50_0x5a0697;this['layerInfo'][_0x243f92(0xc7)]=_0x4b010e;}}
@@ -1 +1 @@
1
- (function(_0x3e2c0f,_0x1005ee){const _0xec862a=a51_0x2b8c,_0x44ba6a=_0x3e2c0f();while(!![]){try{const _0x2aee30=parseInt(_0xec862a(0x1f2))/0x1*(-parseInt(_0xec862a(0x1fa))/0x2)+-parseInt(_0xec862a(0x1e3))/0x3*(-parseInt(_0xec862a(0x1f3))/0x4)+parseInt(_0xec862a(0x1e9))/0x5+parseInt(_0xec862a(0x1e6))/0x6+parseInt(_0xec862a(0x1de))/0x7*(-parseInt(_0xec862a(0x1e1))/0x8)+parseInt(_0xec862a(0x1ed))/0x9*(-parseInt(_0xec862a(0x1e4))/0xa)+-parseInt(_0xec862a(0x1f9))/0xb;if(_0x2aee30===_0x1005ee)break;else _0x44ba6a['push'](_0x44ba6a['shift']());}catch(_0x2834ba){_0x44ba6a['push'](_0x44ba6a['shift']());}}}(a51_0x1e20,0xe10f2));function a51_0x2b8c(_0x457f84,_0x49add9){const _0x1e2094=a51_0x1e20();return a51_0x2b8c=function(_0x2b8c0d,_0x4864c6){_0x2b8c0d=_0x2b8c0d-0x1dc;let _0x619a36=_0x1e2094[_0x2b8c0d];return _0x619a36;},a51_0x2b8c(_0x457f84,_0x49add9);}function a51_0x1e20(){const _0x402755=['push','4948308xbPiXv','mapIndex','tileInfo','ymax','rows','379wggmUE','356oVRaLx','opacity','url','xmin','initialExtent','resolution','2038663xgoCqw','4194kpwisb','/tile/{z}/{y}/{x}','fullExtent','7MhozvK','wkid','origin','868976QLRQEs','spatialReference','35361ugCZMz','10lAQflv','layerInfo','8313336OOvMHU','xmax','projection','628865KhwQiJ','ymin','lods'];a51_0x1e20=function(){return _0x402755;};return a51_0x1e20();}import a51_0x10bdf0 from'ol/layer/Tile';import a51_0x1b40e9 from'ol/source/XYZ';import a51_0x3b00e3 from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a51_0x10bdf0{constructor(_0x79fa53,_0x2a8d8a){const _0xd234a4=a51_0x2b8c,_0x42d3b9=_0x79fa53[_0xd234a4(0x1f5)]?_0x79fa53[_0xd234a4(0x1f5)]:'',_0x3a4710=appendPath(_0x42d3b9,_0xd234a4(0x1dc)),_0x3a35f1=[_0x2a8d8a[_0xd234a4(0x1f7)][_0xd234a4(0x1f6)],_0x2a8d8a['initialExtent'][_0xd234a4(0x1ea)],_0x2a8d8a['initialExtent'][_0xd234a4(0x1e7)],_0x2a8d8a['initialExtent'][_0xd234a4(0x1f0)]],_0xa696b3=[_0x2a8d8a[_0xd234a4(0x1dd)][_0xd234a4(0x1f6)],_0x2a8d8a['fullExtent'][_0xd234a4(0x1ea)],_0x2a8d8a[_0xd234a4(0x1dd)]['xmax'],_0x2a8d8a[_0xd234a4(0x1dd)]['ymax']];let _0x3e354f;_0x2a8d8a[_0xd234a4(0x1e2)][_0xd234a4(0x1df)]?_0x3e354f=registerProj('EPSG:'+_0x2a8d8a[_0xd234a4(0x1e2)][_0xd234a4(0x1df)],_0xa696b3):_0x3e354f=registerProj(_0x2a8d8a[_0xd234a4(0x1e2)]['wkt'],_0xa696b3);let _0x1e069c=[];for(let _0x72372b=0x0,_0x35d848=_0x2a8d8a[_0xd234a4(0x1ef)]['lods']['length'];_0x72372b<_0x35d848;_0x72372b++){_0x1e069c[_0xd234a4(0x1ec)](_0x2a8d8a[_0xd234a4(0x1ef)][_0xd234a4(0x1eb)][_0x72372b][_0xd234a4(0x1f8)]);}super({'opacity':_0x79fa53[_0xd234a4(0x1f4)],'zIndex':_0x79fa53[_0xd234a4(0x1ee)],'maxResolution':_0x1e069c[0x0]*0x2,'source':new a51_0x1b40e9({'url':_0x3a4710,'projection':_0x3e354f,'crossOrigin':'anonymous','tileGrid':new a51_0x3b00e3({'extent':_0xa696b3,'origin':[_0x2a8d8a['tileInfo'][_0xd234a4(0x1e0)]['x'],_0x2a8d8a[_0xd234a4(0x1ef)][_0xd234a4(0x1e0)]['y']],'resolutions':_0x1e069c,'tileSize':[_0x2a8d8a[_0xd234a4(0x1ef)][_0xd234a4(0x1f1)],_0x2a8d8a['tileInfo']['cols']]})})}),this['id']=_0x79fa53['id'],this[_0xd234a4(0x1f7)]=_0x3a35f1,this[_0xd234a4(0x1e8)]=_0x3e354f,this[_0xd234a4(0x1e5)]=_0x79fa53;}}
1
+ function a51_0x2fee(_0x4d34ba,_0x15b717){const _0x31dfbd=a51_0x31df();return a51_0x2fee=function(_0x2fee98,_0x2d1475){_0x2fee98=_0x2fee98-0x17c;let _0x472892=_0x31dfbd[_0x2fee98];return _0x472892;},a51_0x2fee(_0x4d34ba,_0x15b717);}(function(_0x295606,_0x3a8153){const _0x275ee3=a51_0x2fee,_0x50d989=_0x295606();while(!![]){try{const _0x28f410=parseInt(_0x275ee3(0x183))/0x1+parseInt(_0x275ee3(0x182))/0x2+-parseInt(_0x275ee3(0x18e))/0x3*(parseInt(_0x275ee3(0x18f))/0x4)+parseInt(_0x275ee3(0x187))/0x5*(-parseInt(_0x275ee3(0x192))/0x6)+-parseInt(_0x275ee3(0x180))/0x7+-parseInt(_0x275ee3(0x191))/0x8+parseInt(_0x275ee3(0x18d))/0x9;if(_0x28f410===_0x3a8153)break;else _0x50d989['push'](_0x50d989['shift']());}catch(_0x1eabea){_0x50d989['push'](_0x50d989['shift']());}}}(a51_0x31df,0xdad58));import a51_0x539208 from'ol/layer/Tile';import a51_0x14e646 from'ol/source/XYZ';import a51_0x856aee from'ol/tilegrid/TileGrid';function a51_0x31df(){const _0x20be61=['4745937nPYjtm','resolution','3181246zcIZsp','1489645VpeUKc','xmin','cols','origin','33365ZJxEnU','url','tileInfo','spatialReference','EPSG:','push','15899013NmGSag','3QKCuhp','2811932TTEGme','anonymous','6996520giGdPg','1524AwGHjQ','ymax','rows','ymin','xmax','initialExtent','mapIndex','layerInfo','length','wkt','lods','fullExtent'];a51_0x31df=function(){return _0x20be61;};return a51_0x31df();}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a51_0x539208{constructor(_0xfa2822,_0x1f7625){const _0xec29ee=a51_0x2fee,_0x5e5e5a=_0xfa2822[_0xec29ee(0x188)]?_0xfa2822['url']:'',_0x3a7298=appendPath(_0x5e5e5a,'/tile/{z}/{y}/{x}'),_0x4e0c07=[_0x1f7625[_0xec29ee(0x197)][_0xec29ee(0x184)],_0x1f7625['initialExtent'][_0xec29ee(0x195)],_0x1f7625[_0xec29ee(0x197)][_0xec29ee(0x196)],_0x1f7625[_0xec29ee(0x197)]['ymax']],_0x115342=[_0x1f7625[_0xec29ee(0x17f)][_0xec29ee(0x184)],_0x1f7625[_0xec29ee(0x17f)][_0xec29ee(0x195)],_0x1f7625[_0xec29ee(0x17f)]['xmax'],_0x1f7625[_0xec29ee(0x17f)][_0xec29ee(0x193)]];let _0x5d8b8e;_0x1f7625[_0xec29ee(0x18a)]['wkid']?_0x5d8b8e=registerProj(_0xec29ee(0x18b)+_0x1f7625[_0xec29ee(0x18a)]['wkid'],_0x115342):_0x5d8b8e=registerProj(_0x1f7625[_0xec29ee(0x18a)][_0xec29ee(0x17d)],_0x115342);let _0x4a3b7=[];for(let _0x2fb97c=0x0,_0x3c42e6=_0x1f7625[_0xec29ee(0x189)][_0xec29ee(0x17e)][_0xec29ee(0x17c)];_0x2fb97c<_0x3c42e6;_0x2fb97c++){_0x4a3b7[_0xec29ee(0x18c)](_0x1f7625[_0xec29ee(0x189)][_0xec29ee(0x17e)][_0x2fb97c][_0xec29ee(0x181)]);}super({'opacity':_0xfa2822['opacity'],'zIndex':_0xfa2822[_0xec29ee(0x198)],'maxResolution':_0x4a3b7[0x0]*0x2,'source':new a51_0x14e646({'url':_0x3a7298,'projection':_0x5d8b8e,'crossOrigin':_0xec29ee(0x190),'tileGrid':new a51_0x856aee({'extent':_0x115342,'origin':[_0x1f7625['tileInfo'][_0xec29ee(0x186)]['x'],_0x1f7625['tileInfo'][_0xec29ee(0x186)]['y']],'resolutions':_0x4a3b7,'tileSize':[_0x1f7625[_0xec29ee(0x189)][_0xec29ee(0x194)],_0x1f7625[_0xec29ee(0x189)][_0xec29ee(0x185)]]})})}),this['id']=_0xfa2822['id'],this['initialExtent']=_0x4e0c07,this['projection']=_0x5d8b8e,this[_0xec29ee(0x199)]=_0xfa2822;}}
@@ -1 +1 @@
1
- const a52_0x57a5c5=a52_0x1c99;(function(_0x3553a3,_0x4301fc){const _0x30a6e9=a52_0x1c99,_0x4ed078=_0x3553a3();while(!![]){try{const _0x4001d1=-parseInt(_0x30a6e9(0xad))/0x1+-parseInt(_0x30a6e9(0xa8))/0x2*(-parseInt(_0x30a6e9(0xb9))/0x3)+parseInt(_0x30a6e9(0xa5))/0x4*(-parseInt(_0x30a6e9(0xa6))/0x5)+parseInt(_0x30a6e9(0xac))/0x6+-parseInt(_0x30a6e9(0xa7))/0x7*(parseInt(_0x30a6e9(0xbd))/0x8)+-parseInt(_0x30a6e9(0xb0))/0x9*(-parseInt(_0x30a6e9(0xb2))/0xa)+parseInt(_0x30a6e9(0xae))/0xb*(parseInt(_0x30a6e9(0xa9))/0xc);if(_0x4001d1===_0x4301fc)break;else _0x4ed078['push'](_0x4ed078['shift']());}catch(_0x2e953c){_0x4ed078['push'](_0x4ed078['shift']());}}}(a52_0x2e89,0xddac1));function a52_0x2e89(){const _0x758cae=['refresh','updateParams','loadFilter','join','wkid','3nqVSSO','anonymous','mapIndex','getSource','8JhgGdv','initExtent','6212036JctBFr','5zspHNV','697599JlbWJV','461532awadQN','696StwGWs','1.1.0','EPSG:','4526394knoiSE','675290wCVNcv','141163qocDoY','layerInfo','83178sNjSHP','projection','1630rSXHkH','setFilter'];a52_0x2e89=function(){return _0x758cae;};return a52_0x2e89();}import{ImageWMS as a52_0x13bc5e}from'ol/source';function a52_0x1c99(_0x2b1933,_0x36900e){const _0x2e8958=a52_0x2e89();return a52_0x1c99=function(_0x1c9919,_0x42441b){_0x1c9919=_0x1c9919-0xa4;let _0x353d64=_0x2e8958[_0x1c9919];return _0x353d64;},a52_0x1c99(_0x2b1933,_0x36900e);}import{Image as a52_0x5aa8b8}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a52_0x5aa8b8{constructor(_0x207dd6,_0x5c6ad9){const _0x1c100d=a52_0x1c99;var _0x380078;let _0x220090=registerProj(_0x1c100d(0xab)+_0x5c6ad9[_0x1c100d(0xb8)],undefined),_0x2ab0bc={'LAYERS':(_0x380078=_0x207dd6['sublayers'])===null||_0x380078===void 0x0?void 0x0:_0x380078[_0x1c100d(0xb7)](','),'VERSION':_0x1c100d(0xaa)};_0x207dd6[_0x1c100d(0xb6)]&&(_0x2ab0bc['CQL_FILTER']=_0x207dd6[_0x1c100d(0xb6)]),super({'opacity':_0x207dd6['opacity'],'zIndex':_0x207dd6[_0x1c100d(0xbb)],'source':new a52_0x13bc5e({'crossOrigin':_0x1c100d(0xba),'url':_0x207dd6['url'],'params':_0x2ab0bc})}),this['id']=_0x207dd6['id'],this['initialExtent']=_0x5c6ad9[_0x1c100d(0xa4)],this[_0x1c100d(0xb1)]=_0x220090,this[_0x1c100d(0xaf)]=_0x207dd6;}[a52_0x57a5c5(0xb4)](){}[a52_0x57a5c5(0xb3)](_0x4aa814){const _0x14e349=a52_0x57a5c5;var _0x3ee9e2;(_0x3ee9e2=this[_0x14e349(0xbc)]())===null||_0x3ee9e2===void 0x0?void 0x0:_0x3ee9e2[_0x14e349(0xb5)]({'CQL_FILTER':_0x4aa814});}}
1
+ const a52_0x3e9296=a52_0x113f;(function(_0x3a2e1f,_0x122061){const _0x23dc8f=a52_0x113f,_0x48440c=_0x3a2e1f();while(!![]){try{const _0xa6d7fd=-parseInt(_0x23dc8f(0x10f))/0x1*(parseInt(_0x23dc8f(0x114))/0x2)+parseInt(_0x23dc8f(0x10b))/0x3+parseInt(_0x23dc8f(0x115))/0x4+parseInt(_0x23dc8f(0x10d))/0x5+-parseInt(_0x23dc8f(0x102))/0x6+-parseInt(_0x23dc8f(0x109))/0x7+-parseInt(_0x23dc8f(0x107))/0x8;if(_0xa6d7fd===_0x122061)break;else _0x48440c['push'](_0x48440c['shift']());}catch(_0x112b0c){_0x48440c['push'](_0x48440c['shift']());}}}(a52_0x3a4d,0x8d1c0));function a52_0x113f(_0x31b465,_0x24ac0e){const _0x3a4d9a=a52_0x3a4d();return a52_0x113f=function(_0x113f36,_0x4714ab){_0x113f36=_0x113f36-0x100;let _0x17a5cd=_0x3a4d9a[_0x113f36];return _0x17a5cd;},a52_0x113f(_0x31b465,_0x24ac0e);}function a52_0x3a4d(){const _0x1e3f21=['784532ShmukR','initialExtent','1492263icZsAK','anonymous','5409785FeOqVC','initExtent','37dqRahA','1.1.0','EPSG:','url','CQL_FILTER','14672BlkXoW','4429484XLuXlV','refresh','mapIndex','50058tKdzFZ','loadFilter','wkid','opacity','setFilter','13735312UDpuat','projection'];a52_0x3a4d=function(){return _0x1e3f21;};return a52_0x3a4d();}import{ImageWMS as a52_0x4a0f12}from'ol/source';import{Image as a52_0x424d99}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a52_0x424d99{constructor(_0x1cf4a5,_0x1943f8){const _0x326514=a52_0x113f;var _0x3577ab;let _0x3a9c45=registerProj(_0x326514(0x111)+_0x1943f8[_0x326514(0x104)],undefined),_0xd95d90={'LAYERS':(_0x3577ab=_0x1cf4a5['sublayers'])===null||_0x3577ab===void 0x0?void 0x0:_0x3577ab['join'](','),'VERSION':_0x326514(0x110)};_0x1cf4a5[_0x326514(0x103)]&&(_0xd95d90[_0x326514(0x113)]=_0x1cf4a5['loadFilter']),super({'opacity':_0x1cf4a5[_0x326514(0x105)],'zIndex':_0x1cf4a5[_0x326514(0x101)],'source':new a52_0x4a0f12({'crossOrigin':_0x326514(0x10c),'url':_0x1cf4a5[_0x326514(0x112)],'params':_0xd95d90})}),this['id']=_0x1cf4a5['id'],this[_0x326514(0x10a)]=_0x1943f8[_0x326514(0x10e)],this[_0x326514(0x108)]=_0x3a9c45,this['layerInfo']=_0x1cf4a5;}[a52_0x3e9296(0x100)](){}[a52_0x3e9296(0x106)](_0xf12941){var _0x167cd2;(_0x167cd2=this['getSource']())===null||_0x167cd2===void 0x0?void 0x0:_0x167cd2['updateParams']({'CQL_FILTER':_0xf12941});}}
@@ -1 +1 @@
1
- (function(_0x4b0e94,_0x278a55){const _0x4c7cb2=a53_0x1336,_0x5e1b83=_0x4b0e94();while(!![]){try{const _0x5490fa=parseInt(_0x4c7cb2(0x1c3))/0x1+-parseInt(_0x4c7cb2(0x1b8))/0x2+parseInt(_0x4c7cb2(0x1bf))/0x3*(-parseInt(_0x4c7cb2(0x1b6))/0x4)+parseInt(_0x4c7cb2(0x1ba))/0x5+parseInt(_0x4c7cb2(0x1a1))/0x6*(parseInt(_0x4c7cb2(0x1ab))/0x7)+parseInt(_0x4c7cb2(0x1c1))/0x8+-parseInt(_0x4c7cb2(0x1bc))/0x9*(parseInt(_0x4c7cb2(0x1bb))/0xa);if(_0x5490fa===_0x278a55)break;else _0x5e1b83['push'](_0x5e1b83['shift']());}catch(_0x2d57d7){_0x5e1b83['push'](_0x5e1b83['shift']());}}}(a53_0xbfb1,0x97e32));import a53_0x7f5dbb from'ol/layer/Tile';function a53_0xbfb1(){const _0x349452=['tileGrid','value','length','layer','sourceXml','tileMatrixSet','wkid','?http','join','63mRNHpX','image/png','format','token','matrixSet','origins_','src','name','sublayers','initialExtent','requestEncoding','945784BcKDty','url','649616LvzthH','indexOf','1961205sYoWoZ','713940vmiRlr','81sILeFh','projection','style','6XxBxWI','opacity','4198032ZSHHmi','getImage','376178FcHzTW','boundingBoxExtent','replace','512802HMCoYr'];a53_0xbfb1=function(){return _0x349452;};return a53_0xbfb1();}import a53_0x30cf72,{optionsFromCapabilities}from'ol/source/WMTS.js';import a53_0x4dfe47 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';function a53_0x1336(_0x593013,_0x3bec8c){const _0xbfb14a=a53_0xbfb1();return a53_0x1336=function(_0x133616,_0x37545a){_0x133616=_0x133616-0x1a0;let _0x41d40d=_0xbfb14a[_0x133616];return _0x41d40d;},a53_0x1336(_0x593013,_0x3bec8c);}export default class ArcgisWMTSLayer extends a53_0x7f5dbb{constructor(_0x4f8da3,_0x461c79){const _0x3dac5c=a53_0x1336;var _0x7061bd;let _0x2ed721='';_0x4f8da3['sublayers']&&_0x4f8da3[_0x3dac5c(0x1b3)]['length']>0x0&&(_0x2ed721=_0x4f8da3[_0x3dac5c(0x1b3)][_0x3dac5c(0x1aa)](','));const _0x3dc15d='EPSG:'+_0x461c79[_0x3dac5c(0x1a8)];let _0x56f7f5=registerProj(_0x3dc15d);const _0x5ca372=optionsFromCapabilities(_0x461c79[_0x3dac5c(0x1a6)],{'layer':(_0x7061bd=_0x4f8da3['sublayers'])===null||_0x7061bd===void 0x0?void 0x0:_0x7061bd[0x0],'matrixSet':_0x461c79[_0x3dac5c(0x1a7)],'format':_0x3dac5c(0x1ac)});let _0x54338a=_0x5ca372[_0x3dac5c(0x1a2)][_0x3dac5c(0x1b0)][0x0];_0x54338a[0x0]===0x5a&&_0x54338a[0x1]===-0xb4&&(_0x54338a=[_0x54338a[0x1],_0x54338a[0x0]]),super({'opacity':_0x4f8da3[_0x3dac5c(0x1c0)],'zIndex':_0x4f8da3['mapIndex'],'source':new a53_0x30cf72({'urls':_0x5ca372['urls'],'requestEncoding':_0x5ca372[_0x3dac5c(0x1b5)],'layer':_0x5ca372[_0x3dac5c(0x1a5)],'tileLoadFunction':function(_0x7b5072,_0x1fe589){const _0x319808=_0x3dac5c,_0x55e4f5=_0x4f8da3[_0x319808(0x1b7)]?_0x4f8da3['url']:'';let _0x5720a7=getUrlParams(_0x55e4f5);if((_0x5720a7===null||_0x5720a7===void 0x0?void 0x0:_0x5720a7[_0x319808(0x1a4)])>0x0)for(let _0x5ed391 of _0x5720a7){_0x1fe589=addArgument(_0x1fe589,_0x5ed391[_0x319808(0x1b2)],_0x5ed391[_0x319808(0x1a3)]);}let _0x65c79b=_0x1fe589[_0x319808(0x1b9)](_0x319808(0x1a9));_0x65c79b!==-0x1?_0x1fe589[_0x319808(0x1b9)](_0x319808(0x1ae))===-0x1&&_0x1fe589[_0x319808(0x1b9)]('tk')===-0x1?_0x7b5072[_0x319808(0x1c2)]()[_0x319808(0x1b1)]=_0x1fe589[_0x319808(0x1a0)]('&','?'):_0x7b5072[_0x319808(0x1c2)]()[_0x319808(0x1b1)]=_0x1fe589:_0x7b5072[_0x319808(0x1c2)]()[_0x319808(0x1b1)]=_0x1fe589;},'matrixSet':_0x5ca372[_0x3dac5c(0x1af)],'format':_0x5ca372[_0x3dac5c(0x1ad)],'projection':_0x5ca372[_0x3dac5c(0x1bd)],'tileGrid':new a53_0x4dfe47({'origin':_0x54338a,'resolutions':_0x5ca372[_0x3dac5c(0x1a2)]['getResolutions'](),'matrixIds':_0x5ca372[_0x3dac5c(0x1a2)]['getMatrixIds'](),'extent':_0x461c79[_0x3dac5c(0x1c4)]}),'style':_0x461c79[_0x3dac5c(0x1be)],'wrapX':!![]})}),this['id']=_0x4f8da3['id'],this[_0x3dac5c(0x1b4)]=_0x461c79['boundingBoxExtent'],this[_0x3dac5c(0x1bd)]=_0x56f7f5,this['layerInfo']=_0x4f8da3;}}
1
+ (function(_0x5f1adf,_0x42243b){const _0x3574ba=a53_0x147a,_0x1f15b8=_0x5f1adf();while(!![]){try{const _0x39a61=-parseInt(_0x3574ba(0x19a))/0x1+parseInt(_0x3574ba(0x1a7))/0x2+-parseInt(_0x3574ba(0x1a4))/0x3*(-parseInt(_0x3574ba(0x1a9))/0x4)+parseInt(_0x3574ba(0x1aa))/0x5+-parseInt(_0x3574ba(0x18f))/0x6+-parseInt(_0x3574ba(0x197))/0x7*(parseInt(_0x3574ba(0x1a8))/0x8)+-parseInt(_0x3574ba(0x193))/0x9*(parseInt(_0x3574ba(0x1a3))/0xa);if(_0x39a61===_0x42243b)break;else _0x1f15b8['push'](_0x1f15b8['shift']());}catch(_0x20b102){_0x1f15b8['push'](_0x1f15b8['shift']());}}}(a53_0x38b3,0xc2180));function a53_0x147a(_0x12e803,_0x2c311a){const _0x38b333=a53_0x38b3();return a53_0x147a=function(_0x147acc,_0x4ff248){_0x147acc=_0x147acc-0x187;let _0x4cdbf8=_0x38b333[_0x147acc];return _0x4cdbf8;},a53_0x147a(_0x12e803,_0x2c311a);}import a53_0x2c46cc from'ol/layer/Tile';import a53_0x47d859,{optionsFromCapabilities}from'ol/source/WMTS.js';import a53_0x226358 from'ol/tilegrid/WMTS';function a53_0x38b3(){const _0x30fd91=['boundingBoxExtent','7SaXESY','token','length','225840jESppi','layerInfo','?http','initialExtent','format','urls','image/png','indexOf','getImage','44330uGEmuH','171DqpeuB','mapIndex','EPSG:','285458vStTFr','8375600eyyPgh','73196iMRDdL','5633865Zytgbe','style','layer','url','sublayers','getResolutions','replace','name','wkid','projection','138582VpvaFx','tileGrid','src','origins_','450pJgZfg','opacity','join'];a53_0x38b3=function(){return _0x30fd91;};return a53_0x38b3();}import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a53_0x2c46cc{constructor(_0x419fe6,_0x55e09f){const _0x372afc=a53_0x147a;var _0x5cd803;let _0x37b512='';_0x419fe6[_0x372afc(0x189)]&&_0x419fe6['sublayers'][_0x372afc(0x199)]>0x0&&(_0x37b512=_0x419fe6[_0x372afc(0x189)][_0x372afc(0x195)](','));const _0x1f03e9=_0x372afc(0x1a6)+_0x55e09f[_0x372afc(0x18d)];let _0x5cd7a4=registerProj(_0x1f03e9);const _0x521216=optionsFromCapabilities(_0x55e09f['sourceXml'],{'layer':(_0x5cd803=_0x419fe6[_0x372afc(0x189)])===null||_0x5cd803===void 0x0?void 0x0:_0x5cd803[0x0],'matrixSet':_0x55e09f['tileMatrixSet'],'format':_0x372afc(0x1a0)});let _0x55e46a=_0x521216[_0x372afc(0x190)][_0x372afc(0x192)][0x0];_0x55e46a[0x0]===0x5a&&_0x55e46a[0x1]===-0xb4&&(_0x55e46a=[_0x55e46a[0x1],_0x55e46a[0x0]]),super({'opacity':_0x419fe6[_0x372afc(0x194)],'zIndex':_0x419fe6[_0x372afc(0x1a5)],'source':new a53_0x47d859({'urls':_0x521216[_0x372afc(0x19f)],'requestEncoding':_0x521216['requestEncoding'],'layer':_0x521216[_0x372afc(0x187)],'tileLoadFunction':function(_0xc130e,_0x291b2d){const _0x138a94=_0x372afc,_0x3920d1=_0x419fe6[_0x138a94(0x188)]?_0x419fe6[_0x138a94(0x188)]:'';let _0x30a6c1=getUrlParams(_0x3920d1);if((_0x30a6c1===null||_0x30a6c1===void 0x0?void 0x0:_0x30a6c1[_0x138a94(0x199)])>0x0)for(let _0x41199f of _0x30a6c1){_0x291b2d=addArgument(_0x291b2d,_0x41199f[_0x138a94(0x18c)],_0x41199f['value']);}let _0x2cae3c=_0x291b2d[_0x138a94(0x1a1)](_0x138a94(0x19c));_0x2cae3c!==-0x1?_0x291b2d[_0x138a94(0x1a1)](_0x138a94(0x198))===-0x1&&_0x291b2d[_0x138a94(0x1a1)]('tk')===-0x1?_0xc130e[_0x138a94(0x1a2)]()[_0x138a94(0x191)]=_0x291b2d[_0x138a94(0x18b)]('&','?'):_0xc130e[_0x138a94(0x1a2)]()[_0x138a94(0x191)]=_0x291b2d:_0xc130e[_0x138a94(0x1a2)]()['src']=_0x291b2d;},'matrixSet':_0x521216['matrixSet'],'format':_0x521216[_0x372afc(0x19e)],'projection':_0x521216[_0x372afc(0x18e)],'tileGrid':new a53_0x226358({'origin':_0x55e46a,'resolutions':_0x521216[_0x372afc(0x190)][_0x372afc(0x18a)](),'matrixIds':_0x521216[_0x372afc(0x190)]['getMatrixIds'](),'extent':_0x55e09f[_0x372afc(0x196)]}),'style':_0x55e09f[_0x372afc(0x1ab)],'wrapX':!![]})}),this['id']=_0x419fe6['id'],this[_0x372afc(0x19d)]=_0x55e09f[_0x372afc(0x196)],this[_0x372afc(0x18e)]=_0x5cd7a4,this[_0x372afc(0x19b)]=_0x419fe6;}}
@@ -1 +1 @@
1
- function a54_0x11b8(){const _0x26fd8b=['{x}','wkid','1464716GJhPWW','EPSG:','68vPevyg','7344XiptvJ','218478bPBIjE','3684021emSFhC','484970eplwOi','7603849vVxclv','3760fmLjMK','getResolutions','url','getMatrixIds','image/png','21emnIwq','2kJxMwb','length','tileMatrixSet','GetTile','toString','{y}','mapIndex','projection','application/vnd.mapbox-vector-tile','sublayers','tileGrid','1.0.0','sourceXml','WMTS','691872XTOwog'];a54_0x11b8=function(){return _0x26fd8b;};return a54_0x11b8();}(function(_0x2ce706,_0x107d9c){const _0x305962=a54_0x3fe9,_0x5a54ec=_0x2ce706();while(!![]){try{const _0x5f2c48=parseInt(_0x305962(0x109))/0x1+parseInt(_0x305962(0x117))/0x2*(-parseInt(_0x305962(0x10e))/0x3)+parseInt(_0x305962(0x10b))/0x4*(parseInt(_0x305962(0x10f))/0x5)+parseInt(_0x305962(0x10d))/0x6*(-parseInt(_0x305962(0x116))/0x7)+parseInt(_0x305962(0x106))/0x8+parseInt(_0x305962(0x10c))/0x9*(-parseInt(_0x305962(0x111))/0xa)+-parseInt(_0x305962(0x110))/0xb;if(_0x5f2c48===_0x107d9c)break;else _0x5a54ec['push'](_0x5a54ec['shift']());}catch(_0x441673){_0x5a54ec['push'](_0x5a54ec['shift']());}}}(a54_0x11b8,0xd3209));import a54_0x336b4f from'ol/layer/VectorTile';import a54_0x3d055c from'ol/source/VectorTile';import a54_0x2e3af2 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a54_0x32abc4 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';function a54_0x3fe9(_0x2146ea,_0x27220b){const _0x11b842=a54_0x11b8();return a54_0x3fe9=function(_0x3fe9d9,_0x14bffb){_0x3fe9d9=_0x3fe9d9-0xfb;let _0x12a0c9=_0x11b842[_0x3fe9d9];return _0x12a0c9;},a54_0x3fe9(_0x2146ea,_0x27220b);}import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a54_0x336b4f{constructor(_0xde3158,_0x54b22b){const _0x1b4595=a54_0x3fe9;var _0x2637c5;let _0x990da1=registerProj(_0x1b4595(0x10a)+_0x54b22b[_0x1b4595(0x108)]);const _0x464b54=optionsFromCapabilities(_0x54b22b[_0x1b4595(0x104)],{'layer':(_0x2637c5=_0xde3158[_0x1b4595(0x101)])===null||_0x2637c5===void 0x0?void 0x0:_0x2637c5[0x0],'matrixSet':_0x54b22b[_0x1b4595(0x119)],'format':_0x1b4595(0x115)});let _0x180715=_0xde3158['sublayers']&&_0xde3158[_0x1b4595(0x101)][_0x1b4595(0x118)]>0x0?_0xde3158[_0x1b4595(0x101)][0x0]:'';const _0x1b4877={'REQUEST':_0x1b4595(0xfb),'SERVICE':_0x1b4595(0x105),'VERSION':_0x1b4595(0x103),'LAYER':_0x180715,'STYLE':_0x54b22b['style'][_0x1b4595(0xfc)](),'TILEMATRIX':_0x54b22b[_0x1b4595(0x119)]+':{z}','TILEMATRIXSET':_0x54b22b[_0x1b4595(0x119)][_0x1b4595(0xfc)](),'FORMAT':_0x1b4595(0x100),'TILECOL':_0x1b4595(0x107),'TILEROW':_0x1b4595(0xfd)};let _0x3cf07f=_0xde3158[_0x1b4595(0x113)]?_0xde3158[_0x1b4595(0x113)]:'';for(const _0x521ca8 in _0x1b4877){_0x3cf07f=addArgument(_0x3cf07f,_0x521ca8,_0x1b4877[_0x521ca8]);}super({'opacity':_0xde3158['opacity'],'zIndex':_0xde3158[_0x1b4595(0xfe)],'declutter':!![],'source':new a54_0x3d055c({'projection':_0x1b4595(0x10a)+_0x54b22b['wkid'],'format':new a54_0x2e3af2(),'wrapX':!![],'extent':_0x54b22b['boundingBoxExtent'],'tileGrid':new a54_0x32abc4({'tileSize':_0x464b54[_0x1b4595(0x102)]['tileSizes_'][0x0],'origin':_0x464b54[_0x1b4595(0x102)]['origins_'][0x0],'resolutions':_0x464b54[_0x1b4595(0x102)][_0x1b4595(0x112)](),'matrixIds':_0x464b54['tileGrid'][_0x1b4595(0x114)]()}),'url':_0x3cf07f})}),this['id']=_0xde3158['id'],this['initialExtent']=_0x54b22b['boundingBoxExtent'],this[_0x1b4595(0xff)]=_0x990da1,this['layerInfo']=_0xde3158;}}
1
+ function a54_0x347f(){const _0xec0dc0=['GetTile','getMatrixIds','1.0.0','toString','7641504McARJf','10WBUucz','tileGrid','url','10507032HRrkFD','7297015iKchPR',':{z}','length','image/png','EPSG:','7740854qjrwCt','initialExtent','application/vnd.mapbox-vector-tile','wkid','222GyFsLG','style','getResolutions','tileMatrixSet','{x}','38058JJLYHt','opacity','36320rEGZfu','8TYlSAV','sublayers','26GqpzjR','sourceXml','boundingBoxExtent','8690423UUgYaW'];a54_0x347f=function(){return _0xec0dc0;};return a54_0x347f();}function a54_0x4db6(_0x10566b,_0x43fb99){const _0x347f81=a54_0x347f();return a54_0x4db6=function(_0x4db6c2,_0x2f580e){_0x4db6c2=_0x4db6c2-0x16a;let _0x32b857=_0x347f81[_0x4db6c2];return _0x32b857;},a54_0x4db6(_0x10566b,_0x43fb99);}(function(_0x1e77fc,_0x4c7a65){const _0x46d865=a54_0x4db6,_0x180fbe=_0x1e77fc();while(!![]){try{const _0x53ce55=-parseInt(_0x46d865(0x16f))/0x1*(-parseInt(_0x46d865(0x174))/0x2)+parseInt(_0x46d865(0x16a))/0x3*(-parseInt(_0x46d865(0x171))/0x4)+parseInt(_0x46d865(0x181))/0x5+-parseInt(_0x46d865(0x17c))/0x6+parseInt(_0x46d865(0x177))/0x7*(parseInt(_0x46d865(0x172))/0x8)+parseInt(_0x46d865(0x180))/0x9*(-parseInt(_0x46d865(0x17d))/0xa)+parseInt(_0x46d865(0x186))/0xb;if(_0x53ce55===_0x4c7a65)break;else _0x180fbe['push'](_0x180fbe['shift']());}catch(_0xb125b5){_0x180fbe['push'](_0x180fbe['shift']());}}}(a54_0x347f,0xbffe8));import a54_0x3c06f1 from'ol/layer/VectorTile';import a54_0x42c539 from'ol/source/VectorTile';import a54_0x3cca22 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a54_0x3071b8 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a54_0x3c06f1{constructor(_0x2ce541,_0x4c8438){const _0x2e208a=a54_0x4db6;var _0x2dedff;let _0x1bce54=registerProj(_0x2e208a(0x185)+_0x4c8438['wkid']);const _0x9de5b5=optionsFromCapabilities(_0x4c8438[_0x2e208a(0x175)],{'layer':(_0x2dedff=_0x2ce541['sublayers'])===null||_0x2dedff===void 0x0?void 0x0:_0x2dedff[0x0],'matrixSet':_0x4c8438[_0x2e208a(0x16d)],'format':_0x2e208a(0x184)});let _0x537628=_0x2ce541['sublayers']&&_0x2ce541[_0x2e208a(0x173)][_0x2e208a(0x183)]>0x0?_0x2ce541[_0x2e208a(0x173)][0x0]:'';const _0x493334={'REQUEST':_0x2e208a(0x178),'SERVICE':'WMTS','VERSION':_0x2e208a(0x17a),'LAYER':_0x537628,'STYLE':_0x4c8438[_0x2e208a(0x16b)][_0x2e208a(0x17b)](),'TILEMATRIX':_0x4c8438[_0x2e208a(0x16d)]+_0x2e208a(0x182),'TILEMATRIXSET':_0x4c8438[_0x2e208a(0x16d)][_0x2e208a(0x17b)](),'FORMAT':_0x2e208a(0x188),'TILECOL':_0x2e208a(0x16e),'TILEROW':'{y}'};let _0x55a9c9=_0x2ce541[_0x2e208a(0x17f)]?_0x2ce541[_0x2e208a(0x17f)]:'';for(const _0x32e13b in _0x493334){_0x55a9c9=addArgument(_0x55a9c9,_0x32e13b,_0x493334[_0x32e13b]);}super({'opacity':_0x2ce541[_0x2e208a(0x170)],'zIndex':_0x2ce541['mapIndex'],'declutter':!![],'source':new a54_0x42c539({'projection':'EPSG:'+_0x4c8438[_0x2e208a(0x189)],'format':new a54_0x3cca22(),'wrapX':!![],'extent':_0x4c8438[_0x2e208a(0x176)],'tileGrid':new a54_0x3071b8({'tileSize':_0x9de5b5[_0x2e208a(0x17e)]['tileSizes_'][0x0],'origin':_0x9de5b5[_0x2e208a(0x17e)]['origins_'][0x0],'resolutions':_0x9de5b5[_0x2e208a(0x17e)][_0x2e208a(0x16c)](),'matrixIds':_0x9de5b5['tileGrid'][_0x2e208a(0x179)]()}),'url':_0x55a9c9})}),this['id']=_0x2ce541['id'],this[_0x2e208a(0x187)]=_0x4c8438[_0x2e208a(0x176)],this['projection']=_0x1bce54,this['layerInfo']=_0x2ce541;}}
@@ -1 +1 @@
1
- const a55_0x40ed23=a55_0x240a;(function(_0x244e9a,_0x142574){const _0x5ef644=a55_0x240a,_0x50e6d5=_0x244e9a();while(!![]){try{const _0x3da48d=parseInt(_0x5ef644(0x1f1))/0x1+parseInt(_0x5ef644(0x1ff))/0x2+-parseInt(_0x5ef644(0x1e8))/0x3*(-parseInt(_0x5ef644(0x1ea))/0x4)+parseInt(_0x5ef644(0x202))/0x5+-parseInt(_0x5ef644(0x1e1))/0x6+parseInt(_0x5ef644(0x1db))/0x7*(-parseInt(_0x5ef644(0x1fd))/0x8)+-parseInt(_0x5ef644(0x1dc))/0x9;if(_0x3da48d===_0x142574)break;else _0x50e6d5['push'](_0x50e6d5['shift']());}catch(_0x4701c0){_0x50e6d5['push'](_0x50e6d5['shift']());}}}(a55_0x4d41,0xc8a3f));import a55_0x3ff82c from'ol/source/Vector';function a55_0x4d41(){const _0x46e4e7=['param','layerFields','projection','writeGetFeature','push','6kLPVNY','warn','312016cqNGPM','apply','param字段不存在','between','greaterThan','type','getCode','1543282lOlVDU','filter','then','POST','getSource','not','removeLoadedExtent','initialExtent','application/json','EPSG:','toLowerCase','lessThanOrEqualTo','494696Ufsumw','lessThan','2918960rElICl','json','length','6457085JEKhvm','greaterThanOrEqualTo','addFeatures','and','url','!==','loadFilter','mapIndex','sublayers','readFeatures','read','7NoJYrP','24960591YCYqAq','parseFilter','name','catch','type字段不存在','4758768GoctzX','fieldType'];a55_0x4d41=function(){return _0x46e4e7;};return a55_0x4d41();}import a55_0x2924cb from'ol/format/GeoJSON';import{Vector as a55_0x3b7310}from'ol/layer';import a55_0x1822c9 from'ol/format/WFS';function a55_0x240a(_0x249499,_0x3f6dbd){const _0x4d4100=a55_0x4d41();return a55_0x240a=function(_0x240ad9,_0x2573d6){_0x240ad9=_0x240ad9-0x1da;let _0x39ef09=_0x4d4100[_0x240ad9];return _0x39ef09;},a55_0x240a(_0x249499,_0x3f6dbd);}import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a55_0x4c09b5 from'../utils/format/CQL';import*as a55_0x40b89a from'ol/format/filter';export default class GeoserverWFSLayer extends a55_0x3b7310{constructor(_0x8bd91,_0x294be9){const _0xd825a7=a55_0x240a;let _0x28171b=registerProj(_0xd825a7(0x1fa)+_0x294be9['wkid']);const _0x826543=_0x294be9[_0xd825a7(0x1e4)]['find'](_0x49b886=>_0x49b886[_0xd825a7(0x1e2)]==0x6);super({'zIndex':_0x8bd91[_0xd825a7(0x209)],'source':new a55_0x3ff82c({'format':new a55_0x2924cb(),'loader':(_0x4a29fd,_0x3e9cc7,_0x3d62d0,_0x21c546,_0x5ad25f)=>{const _0x26ab88=_0xd825a7;let _0x328a16=_0x8bd91[_0x26ab88(0x208)],_0x4777ad={'srsName':_0x3d62d0[_0x26ab88(0x1f0)](),'featureTypes':_0x8bd91[_0x26ab88(0x20a)],'bbox':_0x4a29fd,'geometryName':_0x826543?_0x826543[_0x26ab88(0x1de)]:'','outputFormat':_0x26ab88(0x1f9)};_0x328a16&&(typeof _0x328a16==='string'?_0x4777ad[_0x26ab88(0x1f2)]=new a55_0x4c09b5()[_0x26ab88(0x1da)](_0x328a16):_0x4777ad[_0x26ab88(0x1f2)]=this[_0x26ab88(0x1dd)](_0x328a16));var _0x229469=new a55_0x1822c9()[_0x26ab88(0x1e6)](_0x4777ad);let _0x4dbd94=_0x8bd91[_0x26ab88(0x206)]?_0x8bd91[_0x26ab88(0x206)]:'';fetch(_0x4dbd94,{'method':_0x26ab88(0x1f4),'body':new XMLSerializer()['serializeToString'](_0x229469)})[_0x26ab88(0x1f3)](_0x594d15=>{const _0x25f265=_0x26ab88;return _0x594d15[_0x25f265(0x200)]();})[_0x26ab88(0x1f3)](_0x2e6e2e=>{const _0x599019=_0x26ab88,_0x22578e=new a55_0x2924cb()[_0x599019(0x20b)](_0x2e6e2e);let _0x51cca5=this[_0x599019(0x1f5)]();_0x51cca5&&_0x51cca5[_0x599019(0x204)](_0x22578e);if(_0x21c546)_0x21c546(_0x22578e);})[_0x26ab88(0x1df)](()=>{const _0xd531c5=_0x26ab88;let _0x122fac=this[_0xd531c5(0x1f5)]();_0x122fac&&_0x122fac[_0xd531c5(0x1f7)](_0x4a29fd);if(_0x5ad25f)_0x5ad25f();});},'strategy':bbox})}),this['id']=_0x8bd91['id'],this[_0xd825a7(0x1f8)]=_0x294be9['initExtent'],this[_0xd825a7(0x1e5)]=_0x28171b,this['layerInfo']=_0x8bd91;}[a55_0x40ed23(0x1dd)](_0x320b48){const _0x4e4850=a55_0x40ed23;if(!_0x320b48[_0x4e4850(0x1ef)]){console['warn'](_0x4e4850(0x1e0));return;}if(!_0x320b48[_0x4e4850(0x1e3)]){console[_0x4e4850(0x1e9)](_0x4e4850(0x1ec));return;}let _0x1886b2=[];switch(_0x320b48[_0x4e4850(0x1ef)][_0x4e4850(0x1fb)]()){case _0x4e4850(0x205):for(let _0x621586=0x0;_0x621586<_0x320b48['param']['length'];_0x621586++){let _0x23cdb7=this[_0x4e4850(0x1dd)](_0x320b48['param'][_0x621586]);_0x1886b2[_0x4e4850(0x1e7)](_0x23cdb7);}return a55_0x40b89a[_0x4e4850(0x205)][_0x4e4850(0x1eb)](null,_0x1886b2);case'or':for(let _0x17d817=0x0;_0x17d817<_0x320b48[_0x4e4850(0x1e3)][_0x4e4850(0x201)];_0x17d817++){let _0x6f9f13=this['parseFilter'](_0x320b48[_0x4e4850(0x1e3)][_0x17d817]);_0x1886b2[_0x4e4850(0x1e7)](_0x6f9f13);}return a55_0x40b89a['or'][_0x4e4850(0x1eb)](null,_0x1886b2);case _0x4e4850(0x1f6):for(let _0x2b2e2b=0x0;_0x2b2e2b<_0x320b48[_0x4e4850(0x1e3)][_0x4e4850(0x201)];_0x2b2e2b++){let _0xe39e82=this[_0x4e4850(0x1dd)](_0x320b48[_0x4e4850(0x1e3)][_0x2b2e2b]);_0x1886b2[_0x4e4850(0x1e7)](_0xe39e82);}return a55_0x40b89a[_0x4e4850(0x1f6)][_0x4e4850(0x1eb)](null,_0x1886b2);case'=':return a55_0x40b89a['equalTo'](_0x320b48[_0x4e4850(0x1e3)][0x0],_0x320b48[_0x4e4850(0x1e3)][0x1]);case _0x4e4850(0x207):return a55_0x40b89a['notEqualTo'](_0x320b48[_0x4e4850(0x1e3)][0x0],_0x320b48[_0x4e4850(0x1e3)][0x1]);case'>':return a55_0x40b89a[_0x4e4850(0x1ee)](_0x320b48[_0x4e4850(0x1e3)][0x0],_0x320b48['param'][0x1]);case'<':return a55_0x40b89a[_0x4e4850(0x1fe)](_0x320b48[_0x4e4850(0x1e3)][0x0],_0x320b48[_0x4e4850(0x1e3)][0x1]);case'>=':return a55_0x40b89a[_0x4e4850(0x203)](_0x320b48[_0x4e4850(0x1e3)][0x0],_0x320b48[_0x4e4850(0x1e3)][0x1]);case'<=':return a55_0x40b89a[_0x4e4850(0x1fc)](_0x320b48[_0x4e4850(0x1e3)][0x0],_0x320b48[_0x4e4850(0x1e3)][0x1]);case _0x4e4850(0x1ed):return a55_0x40b89a[_0x4e4850(0x1ed)](_0x320b48[_0x4e4850(0x1e3)][0x0],_0x320b48[_0x4e4850(0x1e3)][0x1],_0x320b48[_0x4e4850(0x1e3)][0x2]);}}}
1
+ const a55_0x5ce8c8=a55_0x281e;(function(_0xcb0c7d,_0x6e7d9){const _0x585fe4=a55_0x281e,_0x449137=_0xcb0c7d();while(!![]){try{const _0x207d74=parseInt(_0x585fe4(0x139))/0x1*(-parseInt(_0x585fe4(0x122))/0x2)+parseInt(_0x585fe4(0x13c))/0x3*(parseInt(_0x585fe4(0x138))/0x4)+-parseInt(_0x585fe4(0x143))/0x5+parseInt(_0x585fe4(0x13b))/0x6+-parseInt(_0x585fe4(0x131))/0x7+parseInt(_0x585fe4(0x12d))/0x8+parseInt(_0x585fe4(0x11c))/0x9;if(_0x207d74===_0x6e7d9)break;else _0x449137['push'](_0x449137['shift']());}catch(_0x41d0cd){_0x449137['push'](_0x449137['shift']());}}}(a55_0x4c62,0x86d58));import a55_0x47d1f6 from'ol/source/Vector';import a55_0x2fa430 from'ol/format/GeoJSON';import{Vector as a55_0x3c6f3b}from'ol/layer';import a55_0x29702d from'ol/format/WFS';function a55_0x4c62(){const _0x55e81a=['warn','2sxLBRh','EPSG:','name','!==','find','serializeToString','type','param','length','lessThan','lessThanOrEqualTo','514768JVQdLb','projection','notEqualTo','layerFields','6208545KuOTxu','toLowerCase','removeLoadedExtent','param字段不存在','mapIndex','layerInfo','getSource','876qVTwhw','616119DgQpZV','wkid','6510210oYrSBd','9AGcjJR','type字段不存在','not','push','greaterThanOrEqualTo','apply','fieldType','4150430YWcHgF','readFeatures','loadFilter','initExtent','then','between','parseFilter','greaterThan','sublayers','getCode','filter','15618438nfOQTJ','writeGetFeature','POST','equalTo','initialExtent'];a55_0x4c62=function(){return _0x55e81a;};return a55_0x4c62();}import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a55_0x19015f from'../utils/format/CQL';function a55_0x281e(_0x407af5,_0x1d0db6){const _0x4c629c=a55_0x4c62();return a55_0x281e=function(_0x281e1c,_0x5c829c){_0x281e1c=_0x281e1c-0x117;let _0x13e439=_0x4c629c[_0x281e1c];return _0x13e439;},a55_0x281e(_0x407af5,_0x1d0db6);}import*as a55_0x5a0188 from'ol/format/filter';export default class GeoserverWFSLayer extends a55_0x3c6f3b{constructor(_0x1daa65,_0xd858e3){const _0xd7fd63=a55_0x281e;let _0x9af1dd=registerProj(_0xd7fd63(0x123)+_0xd858e3[_0xd7fd63(0x13a)]);const _0x34ce59=_0xd858e3[_0xd7fd63(0x130)][_0xd7fd63(0x126)](_0x53c0c1=>_0x53c0c1[_0xd7fd63(0x142)]==0x6);super({'zIndex':_0x1daa65[_0xd7fd63(0x135)],'source':new a55_0x47d1f6({'format':new a55_0x2fa430(),'loader':(_0x5068ed,_0x4676ee,_0x5b43bb,_0x49868e,_0x3ede8d)=>{const _0x49107a=_0xd7fd63;let _0x4b1e77=_0x1daa65[_0x49107a(0x145)],_0x450c0a={'srsName':_0x5b43bb[_0x49107a(0x11a)](),'featureTypes':_0x1daa65[_0x49107a(0x119)],'bbox':_0x5068ed,'geometryName':_0x34ce59?_0x34ce59[_0x49107a(0x124)]:'','outputFormat':'application/json'};_0x4b1e77&&(typeof _0x4b1e77==='string'?_0x450c0a[_0x49107a(0x11b)]=new a55_0x19015f()['read'](_0x4b1e77):_0x450c0a['filter']=this[_0x49107a(0x117)](_0x4b1e77));var _0x104072=new a55_0x29702d()[_0x49107a(0x11d)](_0x450c0a);let _0xcafbb2=_0x1daa65['url']?_0x1daa65['url']:'';fetch(_0xcafbb2,{'method':_0x49107a(0x11e),'body':new XMLSerializer()[_0x49107a(0x127)](_0x104072)})[_0x49107a(0x147)](_0x484af4=>{return _0x484af4['json']();})[_0x49107a(0x147)](_0x5730d8=>{const _0x5b177a=_0x49107a,_0x157fee=new a55_0x2fa430()[_0x5b177a(0x144)](_0x5730d8);let _0x4fb79f=this[_0x5b177a(0x137)]();_0x4fb79f&&_0x4fb79f['addFeatures'](_0x157fee);if(_0x49868e)_0x49868e(_0x157fee);})['catch'](()=>{const _0x57ec2f=_0x49107a;let _0x2f366f=this[_0x57ec2f(0x137)]();_0x2f366f&&_0x2f366f[_0x57ec2f(0x133)](_0x5068ed);if(_0x3ede8d)_0x3ede8d();});},'strategy':bbox})}),this['id']=_0x1daa65['id'],this[_0xd7fd63(0x120)]=_0xd858e3[_0xd7fd63(0x146)],this[_0xd7fd63(0x12e)]=_0x9af1dd,this[_0xd7fd63(0x136)]=_0x1daa65;}[a55_0x5ce8c8(0x117)](_0x2f2391){const _0x2bb6a5=a55_0x5ce8c8;if(!_0x2f2391[_0x2bb6a5(0x128)]){console[_0x2bb6a5(0x121)](_0x2bb6a5(0x13d));return;}if(!_0x2f2391[_0x2bb6a5(0x129)]){console['warn'](_0x2bb6a5(0x134));return;}let _0x55caea=[];switch(_0x2f2391[_0x2bb6a5(0x128)][_0x2bb6a5(0x132)]()){case'and':for(let _0x47e29f=0x0;_0x47e29f<_0x2f2391[_0x2bb6a5(0x129)]['length'];_0x47e29f++){let _0x5f3952=this['parseFilter'](_0x2f2391[_0x2bb6a5(0x129)][_0x47e29f]);_0x55caea[_0x2bb6a5(0x13f)](_0x5f3952);}return a55_0x5a0188['and'][_0x2bb6a5(0x141)](null,_0x55caea);case'or':for(let _0x49d0e0=0x0;_0x49d0e0<_0x2f2391[_0x2bb6a5(0x129)][_0x2bb6a5(0x12a)];_0x49d0e0++){let _0x29ba31=this[_0x2bb6a5(0x117)](_0x2f2391[_0x2bb6a5(0x129)][_0x49d0e0]);_0x55caea[_0x2bb6a5(0x13f)](_0x29ba31);}return a55_0x5a0188['or'][_0x2bb6a5(0x141)](null,_0x55caea);case _0x2bb6a5(0x13e):for(let _0x4f4a07=0x0;_0x4f4a07<_0x2f2391[_0x2bb6a5(0x129)][_0x2bb6a5(0x12a)];_0x4f4a07++){let _0x1646e4=this['parseFilter'](_0x2f2391[_0x2bb6a5(0x129)][_0x4f4a07]);_0x55caea[_0x2bb6a5(0x13f)](_0x1646e4);}return a55_0x5a0188[_0x2bb6a5(0x13e)]['apply'](null,_0x55caea);case'=':return a55_0x5a0188[_0x2bb6a5(0x11f)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case _0x2bb6a5(0x125):return a55_0x5a0188[_0x2bb6a5(0x12f)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'>':return a55_0x5a0188[_0x2bb6a5(0x118)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'<':return a55_0x5a0188[_0x2bb6a5(0x12b)](_0x2f2391['param'][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'>=':return a55_0x5a0188[_0x2bb6a5(0x140)](_0x2f2391['param'][0x0],_0x2f2391['param'][0x1]);case'<=':return a55_0x5a0188[_0x2bb6a5(0x12c)](_0x2f2391['param'][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'between':return a55_0x5a0188[_0x2bb6a5(0x148)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1],_0x2f2391['param'][0x2]);}}}
@@ -1 +1 @@
1
- function a56_0x94d1(){const _0x22f4c3=['3328241Hiiqlz','102626rGhTlP','initExtent','projection','6TGwejP','loadFilter','setFilter','87896kfXLYq','mapIndex','refresh','184218MkrRUV','updateParams','567vklLbJ','sublayers','CQL_FILTER','EPSG:','1456348lvfSvm','2622345PBEzbY','join','22JOgCGL','getSource','wkid','1650210TiKcjc','anonymous','opacity','1.1.0'];a56_0x94d1=function(){return _0x22f4c3;};return a56_0x94d1();}const a56_0xb3bf0e=a56_0x4974;(function(_0x4c02fd,_0xe9e1fc){const _0x52668f=a56_0x4974,_0x195266=_0x4c02fd();while(!![]){try{const _0x496985=-parseInt(_0x52668f(0xc0))/0x1+-parseInt(_0x52668f(0xd2))/0x2*(-parseInt(_0x52668f(0xc9))/0x3)+parseInt(_0x52668f(0xcf))/0x4+-parseInt(_0x52668f(0xd0))/0x5+-parseInt(_0x52668f(0xc3))/0x6*(parseInt(_0x52668f(0xbf))/0x7)+parseInt(_0x52668f(0xc6))/0x8*(parseInt(_0x52668f(0xcb))/0x9)+-parseInt(_0x52668f(0xbb))/0xa;if(_0x496985===_0xe9e1fc)break;else _0x195266['push'](_0x195266['shift']());}catch(_0x171298){_0x195266['push'](_0x195266['shift']());}}}(a56_0x94d1,0x7151b));import{ImageWMS as a56_0x2302c5}from'ol/source';import{Image as a56_0x5639b5}from'ol/layer';function a56_0x4974(_0x1501a1,_0x4fffd8){const _0x94d16a=a56_0x94d1();return a56_0x4974=function(_0x497450,_0xea64a){_0x497450=_0x497450-0xbb;let _0x58251b=_0x94d16a[_0x497450];return _0x58251b;},a56_0x4974(_0x1501a1,_0x4fffd8);}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a56_0x5639b5{constructor(_0x10b41b,_0x41bf62){const _0x38f0e3=a56_0x4974;var _0x52c839;let _0x4646d0=registerProj(_0x38f0e3(0xce)+_0x41bf62[_0x38f0e3(0xd4)]),_0x29148c={'LAYERS':(_0x52c839=_0x10b41b[_0x38f0e3(0xcc)])===null||_0x52c839===void 0x0?void 0x0:_0x52c839[_0x38f0e3(0xd1)](','),'VERSION':_0x38f0e3(0xbe)};_0x10b41b[_0x38f0e3(0xc4)]&&(_0x29148c[_0x38f0e3(0xcd)]=_0x10b41b[_0x38f0e3(0xc4)]),super({'opacity':_0x10b41b[_0x38f0e3(0xbd)],'zIndex':_0x10b41b[_0x38f0e3(0xc7)],'source':new a56_0x2302c5({'crossOrigin':_0x38f0e3(0xbc),'url':_0x10b41b['url'],'params':_0x29148c})}),this['id']=_0x10b41b['id'],this['initialExtent']=_0x41bf62[_0x38f0e3(0xc1)],this[_0x38f0e3(0xc2)]=_0x4646d0,this['layerInfo']=_0x10b41b;}[a56_0xb3bf0e(0xc8)](){}[a56_0xb3bf0e(0xc5)](_0x9b2274){const _0x80a314=a56_0xb3bf0e;var _0x1609ca;(_0x1609ca=this[_0x80a314(0xd3)]())===null||_0x1609ca===void 0x0?void 0x0:_0x1609ca[_0x80a314(0xca)]({'CQL_FILTER':_0x9b2274});}}
1
+ const a56_0x5738ce=a56_0x2d07;(function(_0x56351f,_0x4559da){const _0x2479ca=a56_0x2d07,_0x945eb8=_0x56351f();while(!![]){try{const _0x255a05=parseInt(_0x2479ca(0x101))/0x1*(-parseInt(_0x2479ca(0xfd))/0x2)+-parseInt(_0x2479ca(0x100))/0x3*(-parseInt(_0x2479ca(0xfe))/0x4)+-parseInt(_0x2479ca(0xf1))/0x5+-parseInt(_0x2479ca(0x102))/0x6+parseInt(_0x2479ca(0xed))/0x7*(-parseInt(_0x2479ca(0xf3))/0x8)+-parseInt(_0x2479ca(0xf0))/0x9+parseInt(_0x2479ca(0xf7))/0xa*(parseInt(_0x2479ca(0xf8))/0xb);if(_0x255a05===_0x4559da)break;else _0x945eb8['push'](_0x945eb8['shift']());}catch(_0x2a1bcb){_0x945eb8['push'](_0x945eb8['shift']());}}}(a56_0x111c,0x1968f));function a56_0x2d07(_0x5e1d7d,_0x59063b){const _0x111c83=a56_0x111c();return a56_0x2d07=function(_0x2d07e4,_0x654d52){_0x2d07e4=_0x2d07e4-0xec;let _0x867a9a=_0x111c83[_0x2d07e4];return _0x867a9a;},a56_0x2d07(_0x5e1d7d,_0x59063b);}import{ImageWMS as a56_0x54191c}from'ol/source';import{Image as a56_0x4c3d90}from'ol/layer';function a56_0x111c(){const _0x5c7f05=['initialExtent','refresh','21qqEchI','CQL_FILTER','updateParams','1482174WlBaPi','80015dYevNH','projection','72424ecVDml','join','url','initExtent','6420xTAYiK','6963ezSqug','sublayers','EPSG:','getSource','wkid','3068zAbyXw','424076QnVmeP','loadFilter','3QjWrZK','101GNGxQU','273264vBEUOh'];a56_0x111c=function(){return _0x5c7f05;};return a56_0x111c();}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a56_0x4c3d90{constructor(_0x4dc622,_0x3d0bb0){const _0x4df142=a56_0x2d07;var _0x5c8545;let _0x5acca3=registerProj(_0x4df142(0xfa)+_0x3d0bb0[_0x4df142(0xfc)]),_0xf07079={'LAYERS':(_0x5c8545=_0x4dc622[_0x4df142(0xf9)])===null||_0x5c8545===void 0x0?void 0x0:_0x5c8545[_0x4df142(0xf4)](','),'VERSION':'1.1.0'};_0x4dc622[_0x4df142(0xff)]&&(_0xf07079[_0x4df142(0xee)]=_0x4dc622['loadFilter']),super({'opacity':_0x4dc622['opacity'],'zIndex':_0x4dc622['mapIndex'],'source':new a56_0x54191c({'crossOrigin':'anonymous','url':_0x4dc622[_0x4df142(0xf5)],'params':_0xf07079})}),this['id']=_0x4dc622['id'],this[_0x4df142(0x103)]=_0x3d0bb0[_0x4df142(0xf6)],this[_0x4df142(0xf2)]=_0x5acca3,this['layerInfo']=_0x4dc622;}[a56_0x5738ce(0xec)](){}['setFilter'](_0x2ee18f){const _0x581411=a56_0x5738ce;var _0xa173db;(_0xa173db=this[_0x581411(0xfb)]())===null||_0xa173db===void 0x0?void 0x0:_0xa173db[_0x581411(0xef)]({'CQL_FILTER':_0x2ee18f});}}
@@ -1 +1 @@
1
- function a57_0x30ae(_0x32f1a0,_0x1eaa4a){const _0x270035=a57_0x2700();return a57_0x30ae=function(_0x30aeb3,_0x4d4766){_0x30aeb3=_0x30aeb3-0xb7;let _0x288455=_0x270035[_0x30aeb3];return _0x288455;},a57_0x30ae(_0x32f1a0,_0x1eaa4a);}(function(_0xa9e4f2,_0x15b899){const _0x10ecf5=a57_0x30ae,_0x3b8dca=_0xa9e4f2();while(!![]){try{const _0xd3eb30=parseInt(_0x10ecf5(0xc6))/0x1+-parseInt(_0x10ecf5(0xbc))/0x2+parseInt(_0x10ecf5(0xc8))/0x3+-parseInt(_0x10ecf5(0xbd))/0x4+-parseInt(_0x10ecf5(0xb7))/0x5+-parseInt(_0x10ecf5(0xbf))/0x6+-parseInt(_0x10ecf5(0xc3))/0x7*(-parseInt(_0x10ecf5(0xc1))/0x8);if(_0xd3eb30===_0x15b899)break;else _0x3b8dca['push'](_0x3b8dca['shift']());}catch(_0x19f6c6){_0x3b8dca['push'](_0x3b8dca['shift']());}}}(a57_0x2700,0x493e7));function a57_0x2700(){const _0x147b58=['sourceXml','6503SVZcQC','mapIndex','372198EPQSaN','565955qWzmZV','initialExtent','image/png','opacity','解析元数据失败','1072976FGGufx','1835136sKDEfr','未找到投影信息','931764cRbvzn','tileMatrixSet','11465560TDAphk','layerInfo','7TeJbae','sublayers'];a57_0x2700=function(){return _0x147b58;};return a57_0x2700();}import a57_0xf028a from'ol/layer/Tile';import a57_0x1bbe36,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a57_0xf028a{constructor(_0x4543ee,_0x48b755){const _0x38002d=a57_0x30ae;var _0x5ae076;const _0x901b35='EPSG:'+_0x48b755['wkid'];let _0x802b92=registerProj(_0x901b35);if(!_0x802b92)throw new Error(_0x38002d(0xbe));const _0x5dc4e9=optionsFromCapabilities(_0x48b755[_0x38002d(0xc5)],{'layer':(_0x5ae076=_0x4543ee[_0x38002d(0xc4)])===null||_0x5ae076===void 0x0?void 0x0:_0x5ae076[0x0],'matrixSet':_0x48b755[_0x38002d(0xc0)],'format':_0x38002d(0xb9)});if(!_0x5dc4e9)throw new Error(_0x38002d(0xbb));super({'opacity':_0x4543ee[_0x38002d(0xba)],'zIndex':_0x4543ee[_0x38002d(0xc7)],'source':new a57_0x1bbe36(_0x5dc4e9)}),this['id']=_0x4543ee['id'],this[_0x38002d(0xb8)]=_0x48b755['boundingBoxExtent'],this['projection']=_0x802b92,this[_0x38002d(0xc2)]=_0x4543ee;}}
1
+ (function(_0x59fd61,_0x501006){const _0x16ab20=a57_0x5762,_0x44c8f8=_0x59fd61();while(!![]){try{const _0x25910d=-parseInt(_0x16ab20(0x134))/0x1*(-parseInt(_0x16ab20(0x141))/0x2)+-parseInt(_0x16ab20(0x145))/0x3*(-parseInt(_0x16ab20(0x135))/0x4)+-parseInt(_0x16ab20(0x13e))/0x5+parseInt(_0x16ab20(0x131))/0x6*(-parseInt(_0x16ab20(0x138))/0x7)+parseInt(_0x16ab20(0x136))/0x8*(parseInt(_0x16ab20(0x137))/0x9)+-parseInt(_0x16ab20(0x133))/0xa+-parseInt(_0x16ab20(0x143))/0xb;if(_0x25910d===_0x501006)break;else _0x44c8f8['push'](_0x44c8f8['shift']());}catch(_0x39441c){_0x44c8f8['push'](_0x44c8f8['shift']());}}}(a57_0x4ba2,0x86594));import a57_0x865b62 from'ol/layer/Tile';import a57_0x1b04d4,{optionsFromCapabilities}from'ol/source/WMTS.js';function a57_0x4ba2(){const _0x19431c=['65954dXYQQW','EPSG:','initialExtent','未找到投影信息','解析元数据失败','image/png','1779435CjRhxk','opacity','sublayers','1328ewqDlW','mapIndex','1192994tSkvwe','sourceXml','1539483SJMYmL','boundingBoxExtent','layerInfo','tileMatrixSet','390NEfxCH','wkid','6587100HPCsxx','1427QqmvpU','4rhLCFw','1650168PvyaEp','36JRCivA'];a57_0x4ba2=function(){return _0x19431c;};return a57_0x4ba2();}import{registerProj}from'../utils/RegisterProjUtil';function a57_0x5762(_0x3f7033,_0x377532){const _0x4ba272=a57_0x4ba2();return a57_0x5762=function(_0x57624c,_0x31d767){_0x57624c=_0x57624c-0x12f;let _0x370f5f=_0x4ba272[_0x57624c];return _0x370f5f;},a57_0x5762(_0x3f7033,_0x377532);}export default class GeoserverWMTSLayer extends a57_0x865b62{constructor(_0x40dc1b,_0x533f69){const _0x309c9b=a57_0x5762;var _0x2cc99a;const _0x4fc000=_0x309c9b(0x139)+_0x533f69[_0x309c9b(0x132)];let _0x1a37be=registerProj(_0x4fc000);if(!_0x1a37be)throw new Error(_0x309c9b(0x13b));const _0x4b55fc=optionsFromCapabilities(_0x533f69[_0x309c9b(0x144)],{'layer':(_0x2cc99a=_0x40dc1b[_0x309c9b(0x140)])===null||_0x2cc99a===void 0x0?void 0x0:_0x2cc99a[0x0],'matrixSet':_0x533f69[_0x309c9b(0x130)],'format':_0x309c9b(0x13d)});if(!_0x4b55fc)throw new Error(_0x309c9b(0x13c));super({'opacity':_0x40dc1b[_0x309c9b(0x13f)],'zIndex':_0x40dc1b[_0x309c9b(0x142)],'source':new a57_0x1b04d4(_0x4b55fc)}),this['id']=_0x40dc1b['id'],this[_0x309c9b(0x13a)]=_0x533f69[_0x309c9b(0x146)],this['projection']=_0x1a37be,this[_0x309c9b(0x12f)]=_0x40dc1b;}}