ym-gis-2d 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/capabilities/index.d.ts.map +1 -1
- package/capabilities/index.js +1 -1
- package/capabilities/index.js.map +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.js +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/feature/FeatureManager.js +1 -1
- package/feature/FeatureManager.js.map +1 -1
- package/index.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.js +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.d.ts +11 -10
- package/mapView/Map.d.ts.map +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/Map.js.map +1 -1
- package/mapView/View.d.ts.map +1 -1
- package/mapView/View.js +1 -1
- package/mapView/View.js.map +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/StyleManager.js +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.d.ts +7 -1
- package/utils/GeometryUtil.d.ts.map +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/GeometryUtil.js.map +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/index.js +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75_0x46047f=a75_0x2204;function a75_0x5245(){const _0x5315ff=['6180gzuZWl','height','restore','#FFFFFF','2281292XoBgnU','stringify','getImageState','fromText','lineWidth','IDLE','id\x20is\x20required','lighten','hexa','round','size\x20is\x20required','34924EmumdU','destination-over','11584376UzAbOq','8786290OYupCi','drawImage','LOADED','fromUrl','40691ciyLrS','color\x20is\x20required','1030VtSWeO','fromMakiIconId','canvas','9dOwcHn','_cache','ERROR','globalCompositeOperation','#000000','createElement','stroke','fillStyle','534eBmYiv','strokeStyle','toDataURL','save','bezierCurveTo','width','moveTo','lineTo','getContext','1640373BMbrFZ','fillRect','getImage','beginPath','destination-out','fill','fromColor'];a75_0x5245=function(){return _0x5315ff;};return a75_0x5245();}(function(_0x4d56a0,_0x51b83d){const _0x29a43d=a75_0x2204,_0x1108af=_0x4d56a0();while(!![]){try{const _0x58f973=parseInt(_0x29a43d(0x16a))/0x1+parseInt(_0x29a43d(0x15f))/0x2+-parseInt(_0x29a43d(0x154))/0x3+-parseInt(_0x29a43d(0x15b))/0x4*(-parseInt(_0x29a43d(0x140))/0x5)+-parseInt(_0x29a43d(0x14b))/0x6*(-parseInt(_0x29a43d(0x13e))/0x7)+-parseInt(_0x29a43d(0x139))/0x8+parseInt(_0x29a43d(0x143))/0x9*(parseInt(_0x29a43d(0x13a))/0xa);if(_0x58f973===_0x51b83d)break;else _0x1108af['push'](_0x1108af['shift']());}catch(_0x17355e){_0x1108af['push'](_0x1108af['shift']());}}}(a75_0x5245,0xda80c));import a75_0x2db7d6 from'color';import a75_0x181422 from'./writeTextToCanvas';import{Icon}from'ol/style';import a75_0x2c825a from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x534958=a75_0x2204;this[_0x534958(0x144)]={};}[a75_0x46047f(0x15a)](_0x493976,_0x18d6db){const _0x2588dd=a75_0x46047f;if(!_0x493976)throw new Error(_0x2588dd(0x13f));if(!_0x18d6db)throw new Error(_0x2588dd(0x169));return createPin('','',_0x493976,_0x18d6db,this['_cache']);}[a75_0x46047f(0x13d)](_0x259331,_0x23141a,_0x271b30){const _0x15b19f=a75_0x46047f;if(!_0x259331)throw new Error('url\x20is\x20required');if(!_0x23141a)throw new Error(_0x15b19f(0x13f));if(!_0x271b30)throw new Error(_0x15b19f(0x169));return createPin(_0x259331,'',_0x23141a,_0x271b30,this[_0x15b19f(0x144)]);}[a75_0x46047f(0x141)](_0x205179,_0xeed418,_0x40e161){const _0x4d134c=a75_0x46047f;if(!_0x205179)throw new Error(_0x4d134c(0x165));if(!_0xeed418)throw new Error(_0x4d134c(0x13f));if(!_0x40e161)throw new Error('size\x20is\x20required');return createPin(parseImage(_0x205179),'',_0xeed418,_0x40e161,this[_0x4d134c(0x144)]);}[a75_0x46047f(0x162)](_0x2d373e,_0x5687e4,_0x2c2dae){const _0x214126=a75_0x46047f;if(!_0x2d373e)throw new Error('text\x20is\x20required');if(!_0x5687e4)throw new Error(_0x214126(0x13f));if(!_0x2c2dae)throw new Error(_0x214126(0x169));return createPin('',_0x2d373e,_0x5687e4,_0x2c2dae,this[_0x214126(0x144)]);}}function drawPin(_0x4be82f,_0x474902,_0x15a81a){const _0x325211=a75_0x46047f;_0x4be82f[_0x325211(0x14e)](),_0x4be82f['scale'](_0x15a81a/0x18,_0x15a81a/0x18),_0x4be82f[_0x325211(0x14a)]=_0x474902,_0x4be82f[_0x325211(0x14c)]=a75_0x2db7d6(_0x474902)[_0x325211(0x166)](0.6)[_0x325211(0x167)](),_0x4be82f[_0x325211(0x163)]=0.846,_0x4be82f[_0x325211(0x157)](),_0x4be82f[_0x325211(0x151)](6.72,0.422),_0x4be82f[_0x325211(0x152)](17.28,0.422),_0x4be82f[_0x325211(0x14f)](18.553,0.422,19.577,1.758,19.577,3.415),_0x4be82f['lineTo'](19.577,10.973),_0x4be82f[_0x325211(0x14f)](19.577,12.63,18.553,13.966,17.282,13.966),_0x4be82f[_0x325211(0x152)](14.386,14.008),_0x4be82f['lineTo'](11.826,23.578),_0x4be82f[_0x325211(0x152)](9.614,14.008),_0x4be82f['lineTo'](6.719,13.965),_0x4be82f[_0x325211(0x14f)](5.446,13.983,4.422,12.629,4.422,10.972),_0x4be82f[_0x325211(0x152)](4.422,3.416),_0x4be82f[_0x325211(0x14f)](4.423,1.76,5.447,0.423,6.718,0.423),_0x4be82f['closePath'](),_0x4be82f[_0x325211(0x159)](),_0x4be82f[_0x325211(0x149)](),_0x4be82f[_0x325211(0x15d)]();}function drawIcon(_0x834e4e,_0x512c01,_0xa7f150){const _0xca65f2=a75_0x46047f,_0x3093ec=_0xa7f150/2.5;let _0x47daf4=_0x3093ec,_0x4661b2=_0x3093ec;if(_0x512c01[_0xca65f2(0x150)]>_0x512c01[_0xca65f2(0x15c)])_0x4661b2=_0x3093ec*(_0x512c01[_0xca65f2(0x15c)]/_0x512c01[_0xca65f2(0x150)]);else _0x512c01[_0xca65f2(0x150)]<_0x512c01['height']&&(_0x47daf4=_0x3093ec*(_0x512c01[_0xca65f2(0x150)]/_0x512c01[_0xca65f2(0x15c)]));const _0x3a9e5e=Math['round']((_0xa7f150-_0x47daf4)/0x2),_0x312815=Math[_0xca65f2(0x168)](0x7/0x18*_0xa7f150-_0x4661b2/0x2);_0x834e4e[_0xca65f2(0x146)]='destination-out',_0x834e4e[_0xca65f2(0x13b)](_0x512c01,_0x3a9e5e-0x1,_0x312815,_0x47daf4,_0x4661b2),_0x834e4e['drawImage'](_0x512c01,_0x3a9e5e,_0x312815-0x1,_0x47daf4,_0x4661b2),_0x834e4e[_0xca65f2(0x13b)](_0x512c01,_0x3a9e5e+0x1,_0x312815,_0x47daf4,_0x4661b2),_0x834e4e[_0xca65f2(0x13b)](_0x512c01,_0x3a9e5e,_0x312815+0x1,_0x47daf4,_0x4661b2),_0x834e4e[_0xca65f2(0x146)]=_0xca65f2(0x138),_0x834e4e['fillStyle']=_0xca65f2(0x147),_0x834e4e[_0xca65f2(0x155)](_0x3a9e5e-0x1,_0x312815-0x1,_0x47daf4+0x2,_0x4661b2+0x2),_0x834e4e['globalCompositeOperation']=_0xca65f2(0x158),_0x834e4e[_0xca65f2(0x13b)](_0x512c01,_0x3a9e5e,_0x312815,_0x47daf4,_0x4661b2),_0x834e4e[_0xca65f2(0x146)]=_0xca65f2(0x138),_0x834e4e[_0xca65f2(0x14a)]=_0xca65f2(0x15e),_0x834e4e['fillRect'](_0x3a9e5e-0x1,_0x312815-0x2,_0x47daf4+0x2,_0x4661b2+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x33e567,_0xfb2918,_0x491091,_0x426cc6,_0x216f6b){const _0x2bb9e8=a75_0x46047f;stringifyScratch[0x0]=_0x33e567,stringifyScratch[0x1]=_0xfb2918,stringifyScratch[0x2]=_0x491091,stringifyScratch[0x3]=_0x426cc6;const _0x5c1712=JSON[_0x2bb9e8(0x160)](stringifyScratch),_0x2ddaec=_0x216f6b[_0x5c1712];if(_0x2ddaec)return _0x2ddaec;const _0x3fb4f6=document[_0x2bb9e8(0x148)](_0x2bb9e8(0x142));_0x3fb4f6[_0x2bb9e8(0x150)]=_0x426cc6,_0x3fb4f6[_0x2bb9e8(0x15c)]=_0x426cc6;const _0x2da4a5=_0x3fb4f6[_0x2bb9e8(0x153)]('2d');drawPin(_0x2da4a5,_0x491091,_0x426cc6);if(_0x33e567)return new Promise(_0x503eec=>{const _0x39ad2e=_0x2bb9e8;let _0x15d2b0=new Icon({'src':_0x33e567}),_0x180c5f=_0x15d2b0[_0x39ad2e(0x161)]();_0x180c5f===a75_0x2c825a[_0x39ad2e(0x13c)]||_0x180c5f===a75_0x2c825a['ERROR']?(drawIcon(_0x2da4a5,_0x15d2b0[_0x39ad2e(0x156)](0x60),_0x426cc6),_0x216f6b[_0x5c1712]=_0x3fb4f6[_0x39ad2e(0x14d)](),_0x503eec(_0x3fb4f6[_0x39ad2e(0x14d)]())):(_0x180c5f===a75_0x2c825a[_0x39ad2e(0x164)]&&_0x15d2b0['load'](),_0x15d2b0['listenImageChange'](_0x5a10b6=>{const _0x19f74c=_0x39ad2e;_0x180c5f=_0x5a10b6['target'][_0x19f74c(0x161)](),(_0x180c5f===a75_0x2c825a[_0x19f74c(0x13c)]||_0x180c5f===a75_0x2c825a[_0x19f74c(0x145)])&&(drawIcon(_0x2da4a5,_0x15d2b0[_0x19f74c(0x156)](0x60),_0x426cc6),_0x216f6b[_0x5c1712]=_0x3fb4f6['toDataURL'](),_0x503eec(_0x3fb4f6[_0x19f74c(0x14d)]()));}));});else{if(_0xfb2918){const _0x2fe3bd=a75_0x181422(_0xfb2918,{'font':'bold\x20'+_0x426cc6+'px\x20sans-serif'});drawIcon(_0x2da4a5,_0x2fe3bd,_0x426cc6);}}return _0x216f6b[_0x5c1712]=_0x3fb4f6[_0x2bb9e8(0x14d)](),_0x3fb4f6['toDataURL']();}function a75_0x2204(_0x2672be,_0x4be11d){const _0x5245a8=a75_0x5245();return a75_0x2204=function(_0x220438,_0x3b6e97){_0x220438=_0x220438-0x138;let _0x39873d=_0x5245a8[_0x220438];return _0x39873d;},a75_0x2204(_0x2672be,_0x4be11d);}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a76_0x27a9ad=a76_0x1cf4;function a76_0x1636(){const _0x1752a9=['48egGsLc','1894350ROSrpp','listenImageChange','dispatchEvent','14643050tBJkmg','options','get','then','11334xVIvGr','fromUrl','2158812oJHebN','getImageState','catch','_listener','markerColor','markerLabel','getImage','markerSize','loadIcon','fromText','24241WybuiN','error','11IXShym','5ItxMbe','_icon','122328NYQjwa','629448Fmktjr','set','IDLE','LOADED','_imageState','target','image','ERROR','120ZmySYn','warn','load'];a76_0x1636=function(){return _0x1752a9;};return a76_0x1636();}function a76_0x1cf4(_0x23d5d8,_0x218afe){const _0x1636e0=a76_0x1636();return a76_0x1cf4=function(_0x1cf44c,_0x548030){_0x1cf44c=_0x1cf44c-0xdc;let _0x2f3234=_0x1636e0[_0x1cf44c];return _0x2f3234;},a76_0x1cf4(_0x23d5d8,_0x218afe);}(function(_0x8ff21d,_0x20f669){const _0x566446=a76_0x1cf4,_0x581ff7=_0x8ff21d();while(!![]){try{const _0x400430=-parseInt(_0x566446(0xfb))/0x1+parseInt(_0x566446(0xe8))/0x2+-parseInt(_0x566446(0xf4))/0x3+parseInt(_0x566446(0xfd))/0x4*(-parseInt(_0x566446(0xe5))/0x5)+parseInt(_0x566446(0xf0))/0x6*(-parseInt(_0x566446(0xe2))/0x7)+-parseInt(_0x566446(0xf3))/0x8*(parseInt(_0x566446(0xe7))/0x9)+parseInt(_0x566446(0xf7))/0xa*(parseInt(_0x566446(0xe4))/0xb);if(_0x400430===_0x20f669)break;else _0x581ff7['push'](_0x581ff7['shift']());}catch(_0x442134){_0x581ff7['push'](_0x581ff7['shift']());}}}(a76_0x1636,0x6cd22));import a76_0xf7f165 from'./PinBuilder';import{Icon}from'ol/style';import a76_0x3172b3 from'ol/ImageState';import a76_0x4d3d61 from'ol/events/Event';import{shared as a76_0x3a7d4a}from'./ImageCache';export default class PinIcon{constructor(_0x2100bd){const _0x55e2c6=a76_0x1cf4;this[_0x55e2c6(0xf8)]=_0x2100bd||{},this['_imageState']=a76_0x3172b3[_0x55e2c6(0xea)],this[_0x55e2c6(0xe6)]=a76_0x3a7d4a[_0x55e2c6(0xf9)](this[_0x55e2c6(0xf8)]),this[_0x55e2c6(0xe6)]&&(this[_0x55e2c6(0xec)]=a76_0x3172b3[_0x55e2c6(0xeb)]);}['load'](){const _0x19a116=a76_0x1cf4;try{let _0x10d8d1,_0x436db1=new a76_0xf7f165();if(this['options'][_0x19a116(0xdd)])_0x10d8d1=_0x436db1[_0x19a116(0xe1)](this[_0x19a116(0xf8)]['markerLabel'],this['options'][_0x19a116(0xdc)],this[_0x19a116(0xf8)]['markerSize']||0x30);else this[_0x19a116(0xf8)]['image']&&(_0x10d8d1=_0x436db1[_0x19a116(0xfc)](this[_0x19a116(0xf8)][_0x19a116(0xee)],this[_0x19a116(0xf8)][_0x19a116(0xdc)],this[_0x19a116(0xf8)][_0x19a116(0xdf)]||0x30));Promise['resolve'](_0x10d8d1)[_0x19a116(0xfa)](_0x2a46f0=>{const _0x2b6271=_0x19a116;this[_0x2b6271(0xe0)](_0x2a46f0);})[_0x19a116(0xff)](_0x64ba9a=>{const _0x8f0da8=_0x19a116;console[_0x8f0da8(0xf1)](_0x64ba9a),this['_imageState']=a76_0x3172b3[_0x8f0da8(0xef)],this[_0x8f0da8(0xf6)]('error');});}catch(_0x4920fa){console['warn'](_0x4920fa),this[_0x19a116(0xec)]=a76_0x3172b3['ERROR'],this[_0x19a116(0xf6)](_0x19a116(0xe3));}}['loadIcon'](_0x471302){const _0x405387=a76_0x1cf4;this['_icon']=new Icon({'src':_0x471302}),a76_0x3a7d4a[_0x405387(0xe9)](this[_0x405387(0xf8)],this[_0x405387(0xe6)]);let _0x3481ee=this[_0x405387(0xe6)]['getImageState']();_0x3481ee===a76_0x3172b3[_0x405387(0xeb)]||_0x3481ee===a76_0x3172b3[_0x405387(0xef)]?(this[_0x405387(0xec)]=this['_icon']['getImageState'](),this[_0x405387(0xf6)](_0x405387(0xf2))):(_0x3481ee===a76_0x3172b3[_0x405387(0xea)]&&this[_0x405387(0xe6)][_0x405387(0xf2)](),this[_0x405387(0xe6)][_0x405387(0xf5)](_0x5b76e0=>{const _0x1a88fa=_0x405387;_0x3481ee=_0x5b76e0['target'][_0x1a88fa(0xfe)](),(_0x3481ee===a76_0x3172b3['LOADED']||_0x3481ee===a76_0x3172b3[_0x1a88fa(0xef)])&&(this[_0x1a88fa(0xec)]=this[_0x1a88fa(0xe6)]['getImageState'](),this[_0x1a88fa(0xf6)](_0x1a88fa(0xf2)));}));}[a76_0x27a9ad(0xfe)](){const _0x2468a6=a76_0x27a9ad;return this[_0x2468a6(0xec)];}[a76_0x27a9ad(0xde)](){const _0x5ec477=a76_0x27a9ad;var _0x5006e1;return(_0x5006e1=this[_0x5ec477(0xe6)])===null||_0x5006e1===void 0x0?void 0x0:_0x5006e1[_0x5ec477(0xde)]();}[a76_0x27a9ad(0xf5)](_0x5233a2){const _0x2b14b1=a76_0x27a9ad;this[_0x2b14b1(0x100)]=_0x5233a2;}[a76_0x27a9ad(0xf6)](_0x2dbac7){const _0x1ed4a2=a76_0x27a9ad;if(this[_0x1ed4a2(0x100)]){let _0x56e5ed=new a76_0x4d3d61(_0x2dbac7);_0x56e5ed[_0x1ed4a2(0xed)]=this,this[_0x1ed4a2(0x100)](_0x56e5ed);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a77_0xb5ba(){const _0x46e600=['height','measureText','hidden','canvas','white','padding','defaultView','data','lineWidth','imageSmoothingEnabled','mozImageSmoothingEnabled','strokeStyle','7189056uJklfz','font-size','strokeText','fillRect','fill','msImageSmoothingEnabled','round','fillStyle','backgroundColor','409064RQcbIl','2uaexRl','strokeWidth','createElement','font','minx','#00000000','getPropertyValue','width','black','getImageData','fillText','webkitImageSmoothingEnabled','104oaZiZA','text\x20is\x20required.','#FFFFFF','lineJoin','4383125QadXxS','dimensions','38037096LpGikg','replace','length','stroke','1434uSWefC','#000000','body','6698824tIQjGf','style','ascent','2149050TyLeqm','visibility','getComputedStyle'];a77_0xb5ba=function(){return _0x46e600;};return a77_0xb5ba();}(function(_0x1727e8,_0x2cc0e1){const _0x324d2a=a77_0x2210,_0xcc4a8b=_0x1727e8();while(!![]){try{const _0x48ef66=parseInt(_0x324d2a(0x198))/0x1*(-parseInt(_0x324d2a(0x197))/0x2)+parseInt(_0x324d2a(0x1ae))/0x3*(-parseInt(_0x324d2a(0x1a4))/0x4)+-parseInt(_0x324d2a(0x1a8))/0x5+-parseInt(_0x324d2a(0x17f))/0x6+-parseInt(_0x324d2a(0x18e))/0x7+-parseInt(_0x324d2a(0x1b1))/0x8+parseInt(_0x324d2a(0x1aa))/0x9;if(_0x48ef66===_0x2cc0e1)break;else _0xcc4a8b['push'](_0xcc4a8b['shift']());}catch(_0x42fc18){_0xcc4a8b['push'](_0xcc4a8b['shift']());}}}(a77_0xb5ba,0xac49b));function a77_0x2210(_0x38b8b1,_0x5a9f79){const _0xb5ba11=a77_0xb5ba();return a77_0x2210=function(_0x221011,_0x4ae0a2){_0x221011=_0x221011-0x17e;let _0x4e9035=_0xb5ba11[_0x221011];return _0x4e9035;},a77_0x2210(_0x38b8b1,_0x5a9f79);}function measureText(_0x4af773,_0x56bc99,_0x567f6e,_0x8f931c,_0x55df74){const _0x3b0de1=a77_0x2210,_0x1b7369=_0x4af773[_0x3b0de1(0x183)](_0x56bc99),_0x459725=!/\S/['test'](_0x56bc99);if(!_0x459725&&document['defaultView']){const _0x28a8d1=document[_0x3b0de1(0x188)][_0x3b0de1(0x181)](_0x4af773['canvas'])[_0x3b0de1(0x19e)](_0x3b0de1(0x18f))[_0x3b0de1(0x1ab)]('px',''),_0x25a95f=document[_0x3b0de1(0x19a)](_0x3b0de1(0x185)),_0x4eaa9b=0x64,_0x1727de=_0x1b7369[_0x3b0de1(0x19f)]+_0x4eaa9b|0x0,_0x42be59=0x3*(_0x28a8d1-0x0),_0x4bcd72=_0x42be59/0x2;_0x25a95f['width']=_0x1727de,_0x25a95f[_0x3b0de1(0x182)]=_0x42be59;const _0x2049f3=_0x25a95f['getContext']('2d');if(!_0x2049f3)return{};_0x2049f3['font']=_0x567f6e,_0x2049f3[_0x3b0de1(0x195)]=_0x3b0de1(0x186),_0x2049f3[_0x3b0de1(0x191)](0x0,0x0,_0x25a95f[_0x3b0de1(0x19f)]+0x1,_0x25a95f[_0x3b0de1(0x182)]+0x1);_0x8f931c&&(_0x2049f3['strokeStyle']=_0x3b0de1(0x1a0),_0x2049f3[_0x3b0de1(0x18a)]=_0x4af773[_0x3b0de1(0x18a)],_0x2049f3[_0x3b0de1(0x190)](_0x56bc99,_0x4eaa9b/0x2,_0x4bcd72));_0x55df74&&(_0x2049f3[_0x3b0de1(0x195)]='black',_0x2049f3[_0x3b0de1(0x1a2)](_0x56bc99,_0x4eaa9b/0x2,_0x4bcd72));const _0x56fac8=_0x2049f3[_0x3b0de1(0x1a1)](0x0,0x0,_0x1727de,_0x42be59)[_0x3b0de1(0x189)],_0x51d7f7=_0x56fac8[_0x3b0de1(0x1ac)],_0x28ce06=_0x1727de*0x4;let _0x57d504,_0x55d3c5,_0x1271fb=0x0,_0xae8f35=0x0;for(_0x57d504=0x0;_0x57d504<_0x51d7f7;++_0x57d504){if(_0x56fac8[_0x57d504]!==0xff){_0x1271fb=_0x57d504/_0x28ce06|0x0;break;}}for(_0x57d504=_0x51d7f7-0x1;_0x57d504>=0x0;--_0x57d504){if(_0x56fac8[_0x57d504]!==0xff){_0xae8f35=_0x57d504/_0x28ce06|0x0;break;}}let _0x2606f7=-0x1;for(_0x57d504=0x0;_0x57d504<_0x1727de&&_0x2606f7===-0x1;++_0x57d504){for(_0x55d3c5=0x0;_0x55d3c5<_0x42be59;++_0x55d3c5){const _0x2cd947=_0x57d504*0x4+_0x55d3c5*_0x28ce06;if(_0x56fac8[_0x2cd947]!==0xff||_0x56fac8[_0x2cd947+0x1]!==0xff||_0x56fac8[_0x2cd947+0x2]!==0xff||_0x56fac8[_0x2cd947+0x3]!==0xff){_0x2606f7=_0x57d504;break;}}}return{'width':_0x1b7369[_0x3b0de1(0x19f)],'height':_0xae8f35-_0x1271fb,'ascent':_0x4bcd72-_0x1271fb,'descent':_0xae8f35-_0x4bcd72,'minx':_0x2606f7-_0x4eaa9b/0x2};}return{'width':_0x1b7369['width'],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x14fea5,_0x16c8a9){const _0x4ffe1a=a77_0x2210;if(!_0x14fea5)throw new Error(_0x4ffe1a(0x1a5));if(_0x14fea5==='')return undefined;_0x16c8a9=defaultValue(_0x16c8a9,{});const _0x5a475f=defaultValue(_0x16c8a9[_0x4ffe1a(0x19b)],'10px\x20sans-serif'),_0x3be603=defaultValue(_0x16c8a9[_0x4ffe1a(0x1ad)],![]),_0xb9b943=defaultValue(_0x16c8a9[_0x4ffe1a(0x192)],!![]),_0x134b1b=defaultValue(_0x16c8a9[_0x4ffe1a(0x199)],0x1),_0x1aeaf0=defaultValue(_0x16c8a9[_0x4ffe1a(0x196)],_0x4ffe1a(0x19d)),_0x2a1397=defaultValue(_0x16c8a9[_0x4ffe1a(0x187)],0x0),_0x2e4814=_0x2a1397*0x2,_0x147a2d=document[_0x4ffe1a(0x19a)](_0x4ffe1a(0x185));_0x147a2d[_0x4ffe1a(0x19f)]=0x1,_0x147a2d['height']=0x1,_0x147a2d['style'][_0x4ffe1a(0x19b)]=_0x5a475f;const _0x814871=_0x147a2d['getContext']('2d');if(!imageSmoothingEnabledName&&_0x814871){if(_0x814871[_0x4ffe1a(0x18b)])imageSmoothingEnabledName=_0x4ffe1a(0x18b);else{if(_0x814871[_0x4ffe1a(0x18c)])imageSmoothingEnabledName=_0x4ffe1a(0x18c);else{if(_0x814871[_0x4ffe1a(0x1a3)])imageSmoothingEnabledName=_0x4ffe1a(0x1a3);else _0x814871[_0x4ffe1a(0x193)]&&(imageSmoothingEnabledName=_0x4ffe1a(0x193));}}}_0x814871['font']=_0x5a475f,_0x814871['lineJoin']=_0x4ffe1a(0x194),_0x814871['lineWidth']=_0x134b1b,_0x814871[imageSmoothingEnabledName]=![],_0x147a2d[_0x4ffe1a(0x1b2)][_0x4ffe1a(0x180)]=_0x4ffe1a(0x184),document[_0x4ffe1a(0x1b0)]['appendChild'](_0x147a2d);const _0x558259=measureText(_0x814871,_0x14fea5,_0x5a475f,_0x3be603,_0xb9b943);if(!_0x558259)return;_0x147a2d[_0x4ffe1a(0x1a9)]=_0x558259,document[_0x4ffe1a(0x1b0)]['removeChild'](_0x147a2d),_0x147a2d[_0x4ffe1a(0x1b2)][_0x4ffe1a(0x180)]='';const _0xdec28f=-(_0x558259[_0x4ffe1a(0x19c)]?_0x558259['minx']:0x0),_0x50c3d0=Math['ceil'](_0x558259[_0x4ffe1a(0x19f)])+_0xdec28f+_0x2e4814,_0x3af6e1=(_0x558259[_0x4ffe1a(0x182)]?_0x558259[_0x4ffe1a(0x182)]:0x0)+_0x2e4814,_0xeae221=_0x3af6e1-(_0x558259[_0x4ffe1a(0x17e)]?_0x558259['ascent']:0x0)+_0x2a1397,_0x483798=_0x3af6e1-_0xeae221+_0x2e4814;return _0x147a2d[_0x4ffe1a(0x19f)]=_0x50c3d0,_0x147a2d[_0x4ffe1a(0x182)]=_0x3af6e1,_0x814871[_0x4ffe1a(0x19b)]=_0x5a475f,_0x814871[_0x4ffe1a(0x1a7)]=_0x4ffe1a(0x194),_0x814871[_0x4ffe1a(0x18a)]=_0x134b1b,_0x814871[imageSmoothingEnabledName]=![],_0x1aeaf0!==_0x4ffe1a(0x19d)&&(_0x814871['fillStyle']=_0x1aeaf0,_0x814871[_0x4ffe1a(0x191)](0x0,0x0,_0x147a2d[_0x4ffe1a(0x19f)],_0x147a2d['height'])),_0x3be603&&(_0x814871[_0x4ffe1a(0x18d)]=defaultValue(_0x16c8a9['strokeColor'],_0x4ffe1a(0x1af)),_0x814871[_0x4ffe1a(0x190)](_0x14fea5,_0xdec28f+_0x2a1397,_0x483798)),_0xb9b943&&(_0x814871[_0x4ffe1a(0x195)]=defaultValue(_0x16c8a9['fillColor'],_0x4ffe1a(0x1a6)),_0x814871[_0x4ffe1a(0x1a2)](_0x14fea5,_0xdec28f+_0x2a1397,_0x483798)),_0x147a2d;}function defaultValue(_0x10d545,_0x4ecbc0){if(_0x10d545!==undefined&&_0x10d545!==null)return _0x10d545;return _0x4ecbc0;}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82_0x2d164b=a82_0x4eb4;(function(_0x895724,_0x36f5dd){const _0x5b6088=a82_0x4eb4,_0x456731=_0x895724();while(!![]){try{const _0x2cda86=-parseInt(_0x5b6088(0xc5))/0x1*(-parseInt(_0x5b6088(0xa9))/0x2)+-parseInt(_0x5b6088(0xbd))/0x3*(parseInt(_0x5b6088(0xa5))/0x4)+-parseInt(_0x5b6088(0xa1))/0x5*(-parseInt(_0x5b6088(0xa4))/0x6)+parseInt(_0x5b6088(0xb6))/0x7*(-parseInt(_0x5b6088(0x9d))/0x8)+-parseInt(_0x5b6088(0xb8))/0x9*(-parseInt(_0x5b6088(0xba))/0xa)+-parseInt(_0x5b6088(0xc1))/0xb*(parseInt(_0x5b6088(0xc3))/0xc)+parseInt(_0x5b6088(0xa3))/0xd*(parseInt(_0x5b6088(0xb4))/0xe);if(_0x2cda86===_0x36f5dd)break;else _0x456731['push'](_0x456731['shift']());}catch(_0x5f0330){_0x456731['push'](_0x456731['shift']());}}}(a82_0x1f61,0x7a594));import a82_0x578217 from'ol/format/EsriJSON';import a82_0x3883a6 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a82_0x2f2233 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';function a82_0x4eb4(_0x4959db,_0x11b146){const _0x1f617d=a82_0x1f61();return a82_0x4eb4=function(_0x4eb4d7,_0x38d477){_0x4eb4d7=_0x4eb4d7-0x9d;let _0x5d2b44=_0x1f617d[_0x4eb4d7];return _0x5d2b44;},a82_0x4eb4(_0x4959db,_0x11b146);}function a82_0x1f61(){const _0x2ae099=['getResolution','1990eVkIED','returnGeometry','returnZ','request','params','resolution','_setGeometryParams','calculateExtent','identify','returnM','imageDisplay','196EhVsFk','getType','21diZJjN','geojsonTypeToArcGIS','9LNtgvR','all','173890iAZfru','url','layers','229821GOraoi','inSR','getView','writeGeometryObject','58619JkVsFf','getCode','1992FzDgZu','getProjection','220EnJEmE','getSize','952648qGnoTh','run','path','geometryType','185ZGQEVO','tolerance','1960465QlbErP','51036aMOizr','48boktyk','valueOf','mapExtent'];a82_0x1f61=function(){return _0x2ae099;};return a82_0x1f61();}export default class Identify extends a82_0x2f2233{constructor(_0x298558,_0x38e22f,_0x10a455){const _0x3f6928=a82_0x4eb4;super(_0x298558,_0x38e22f,_0x10a455),this[_0x3f6928(0x9f)]=_0x3f6928(0xb1),this[_0x3f6928(0xad)]={'layers':_0x3f6928(0xb9),'tolerance':0x0,'returnGeometry':!![]},this[_0x3f6928(0xa2)]=0x3,this[_0x3f6928(0xae)]=0x0,this[_0x3f6928(0xbb)]=appendPath(this[_0x3f6928(0xbb)],this[_0x3f6928(0x9f)]),_0x38e22f&&((_0x38e22f[_0x3f6928(0xaa)]===!![]||_0x38e22f[_0x3f6928(0xaa)]===![])&&(this[_0x3f6928(0xad)][_0x3f6928(0xaa)]=_0x38e22f['returnGeometry']),_0x38e22f[_0x3f6928(0xbc)]&&(this['params'][_0x3f6928(0xbc)]=_0x38e22f[_0x3f6928(0xbc)]),_0x38e22f['layerDefs']&&(this[_0x3f6928(0xad)]['layerDefs']=_0x38e22f['layerDefs']),(_0x38e22f[_0x3f6928(0xab)]===!![]||_0x38e22f[_0x3f6928(0xab)]===![])&&(this[_0x3f6928(0xad)][_0x3f6928(0xab)]=_0x38e22f['returnZ']),(_0x38e22f[_0x3f6928(0xb2)]===!![]||_0x38e22f[_0x3f6928(0xb2)]===![])&&(this[_0x3f6928(0xad)][_0x3f6928(0xb2)]=_0x38e22f[_0x3f6928(0xb2)]));}['at'](_0x4d1f90,_0x2a1a85){const _0xb804cf=a82_0x4eb4;let _0x139b6d,_0x589365;const _0x12e12e=new a82_0x3883a6();_0x139b6d=_0x4d1f90,_0x589365=getEsriSpatialReference(_0x2a1a85[_0xb804cf(0xbf)]()[_0xb804cf(0xc4)]()[_0xb804cf(0xc2)]());const _0x8dd4f0=_0x2a1a85[_0xb804cf(0xc6)]();_0x8dd4f0&&(this[_0xb804cf(0xad)][_0xb804cf(0xb3)]=[_0x8dd4f0[0x0],_0x8dd4f0[0x1],0x60]);this[_0xb804cf(0xad)]['sr']=_0x589365;const _0x309f8e=_0x2a1a85['getView']()[_0xb804cf(0xb0)](_0x2a1a85[_0xb804cf(0xc6)]());this[_0xb804cf(0xad)][_0xb804cf(0xa7)]={'xmin':_0x309f8e[0x0],'ymin':_0x309f8e[0x1],'xmax':_0x309f8e[0x2],'ymax':_0x309f8e[0x3],'spatialReference':_0x589365};const _0x14f5da=_0x2a1a85['getView']()[_0xb804cf(0xa8)](),_0x2a8e13=_0x2a1a85[_0xb804cf(0xbf)]()['getCenter']();return _0x14f5da&&_0x2a8e13&&(this[_0xb804cf(0xae)]=getPointResolution(_0x2a1a85[_0xb804cf(0xbf)]()[_0xb804cf(0xc4)](),_0x14f5da,_0x2a8e13)),this['_setGeometryParams'](_0x139b6d,_0x2a1a85['getView']()[_0xb804cf(0xc4)]()[_0xb804cf(0xc2)]()),this;}['between'](_0x190234,_0x3e5262){const _0x56bb4b=a82_0x4eb4;return this[_0x56bb4b(0xad)]['time']=[_0x190234[_0x56bb4b(0xa6)](),_0x3e5262['valueOf']()],this;}[a82_0x2d164b(0x9e)](){const _0x1aeeca=a82_0x2d164b;this[_0x1aeeca(0xac)]();}[a82_0x2d164b(0xaf)](_0x410a2d,_0x36989b){const _0x59ebcd=a82_0x2d164b;var _0x472172=new a82_0x578217();const _0x3b904f=_0x472172[_0x59ebcd(0xc0)](_0x410a2d);this[_0x59ebcd(0xad)][_0x59ebcd(0xbe)]=getEsriSpatialReference(_0x36989b),this['params']['geometry']=_0x3b904f,this['params'][_0x59ebcd(0xa0)]=this[_0x59ebcd(0xb7)](_0x410a2d[_0x59ebcd(0xb5)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0xdbe6e5=a83_0xa195;(function(_0x55a550,_0x789e09){const _0x23b944=a83_0xa195,_0x304dc5=_0x55a550();while(!![]){try{const _0x5d773c=-parseInt(_0x23b944(0x17e))/0x1+parseInt(_0x23b944(0x183))/0x2+parseInt(_0x23b944(0x1a7))/0x3+parseInt(_0x23b944(0x19d))/0x4+parseInt(_0x23b944(0x192))/0x5*(parseInt(_0x23b944(0x179))/0x6)+-parseInt(_0x23b944(0x18e))/0x7*(-parseInt(_0x23b944(0x199))/0x8)+parseInt(_0x23b944(0x16b))/0x9*(-parseInt(_0x23b944(0x176))/0xa);if(_0x5d773c===_0x789e09)break;else _0x304dc5['push'](_0x304dc5['shift']());}catch(_0x3a18c0){_0x304dc5['push'](_0x304dc5['shift']());}}}(a83_0x4dc4,0xdc36f));function a83_0x4dc4(){const _0x1926d3=['join','valueOf','where','getExtent','units','run','getTime','returnExtentOnly','indexIntersects','esriSpatialRelOverlaps','849891ZbWsPU','_trapSQLerrors','returnZ','orderByFields','5ZCrTXd','geometryType','_setGeometryParams','warn','distance','intersects','crosses','24kALLff','code','getSize','returnCountOnly','582496tePaqF','data','distinct','query','inSR','spatialRel','nearby','status','400','returnGeometry','2293488RLnlJa','push','length','count','/query','abs','time','returnM','esriSpatialRelEnvelopeIntersects','geometry','maxAllowableOffset','esriSpatialRelContains','142029PmFWKT','geojsonTypeToArcGIS','_cleanParams','path','within','bboxIntersects','returnIdsOnly','request','esriSpatialRelIntersects','apply','outSR','870xudMjy','simplify','esriSRUnit_Meter','8731644iUZSnX','writeGeometryObject','features','orderBy','esriSpatialRelCrosses','576268cIgXso','params','ASC','touches','esriSpatialRelTouches','243162eJoWXS'];a83_0x4dc4=function(){return _0x1926d3;};return a83_0x4dc4();}import a83_0x5eb32d from'ol/format/EsriJSON';import a83_0x43b9ba from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';function a83_0xa195(_0x2f791b,_0xb47e6d){const _0x4dc415=a83_0x4dc4();return a83_0xa195=function(_0xa195e1,_0x567824){_0xa195e1=_0xa195e1-0x160;let _0xa0563d=_0x4dc415[_0xa195e1];return _0xa0563d;},a83_0xa195(_0x2f791b,_0xb47e6d);}import{appendPath}from'../../UrlUtil';export default class Query extends a83_0x43b9ba{constructor(_0x14ace8,_0x246223,_0xafcc97){const _0x2ab76c=a83_0xa195;super(_0x14ace8,_0x246223,_0xafcc97),this[_0x2ab76c(0x16e)]=_0x2ab76c(0x1a0),this[_0x2ab76c(0x17f)]={'returnGeometry':!![],'where':'1=1','outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x2ab76c(0x18a)]()},this['url']=appendPath(this['url'],this[_0x2ab76c(0x16e)]),_0x246223&&((_0x246223[_0x2ab76c(0x1a6)]===!![]||_0x246223[_0x2ab76c(0x1a6)]===![])&&(this[_0x2ab76c(0x17f)]['returnGeometry']=_0x246223[_0x2ab76c(0x1a6)]),_0x246223['where']&&(this[_0x2ab76c(0x17f)][_0x2ab76c(0x186)]=_0x246223['where']),_0x246223[_0x2ab76c(0x175)]&&(this['params'][_0x2ab76c(0x175)]=getEsriSpatialReference(_0x246223[_0x2ab76c(0x175)])),(_0x246223['returnZ']===!![]||_0x246223[_0x2ab76c(0x190)]===![])&&(this['params'][_0x2ab76c(0x190)]=_0x246223[_0x2ab76c(0x190)]),(_0x246223[_0x2ab76c(0x166)]===!![]||_0x246223[_0x2ab76c(0x166)]===![])&&(this['params'][_0x2ab76c(0x166)]=_0x246223[_0x2ab76c(0x166)]));}[a83_0xdbe6e5(0x16f)](_0xb5d986,_0x1032ec){const _0x471d2c=a83_0xdbe6e5;return this[_0x471d2c(0x194)](_0xb5d986,_0x1032ec),this[_0x471d2c(0x17f)]['spatialRel']=_0x471d2c(0x16a),this;}[a83_0xdbe6e5(0x197)](_0x469cc8,_0x1a927e){const _0xa4804c=a83_0xdbe6e5;return this[_0xa4804c(0x194)](_0x469cc8,_0x1a927e),this[_0xa4804c(0x17f)][_0xa4804c(0x1a2)]=_0xa4804c(0x173),this;}['contains'](_0x4a7522,_0xb7aaef){const _0x58ad62=a83_0xdbe6e5;return this[_0x58ad62(0x194)](_0x4a7522,_0xb7aaef),this[_0x58ad62(0x17f)][_0x58ad62(0x1a2)]='esriSpatialRelWithin',this;}[a83_0xdbe6e5(0x198)](_0x45e499,_0x4ce0f0){const _0x64e680=a83_0xdbe6e5;return this[_0x64e680(0x194)](_0x45e499,_0x4ce0f0),this[_0x64e680(0x17f)][_0x64e680(0x1a2)]=_0x64e680(0x17d),this;}[a83_0xdbe6e5(0x181)](_0xcafaf3,_0x2d388d){const _0x57b3cb=a83_0xdbe6e5;return this['_setGeometryParams'](_0xcafaf3,_0x2d388d),this[_0x57b3cb(0x17f)][_0x57b3cb(0x1a2)]=_0x57b3cb(0x182),this;}['overlaps'](_0x139c60,_0x599754){const _0x23630f=a83_0xdbe6e5;return this[_0x23630f(0x194)](_0x139c60,_0x599754),this[_0x23630f(0x17f)][_0x23630f(0x1a2)]=_0x23630f(0x18d),this;}[a83_0xdbe6e5(0x170)](_0x28c704,_0x2932e7){const _0x1bb581=a83_0xdbe6e5;return this[_0x1bb581(0x194)](_0x28c704,_0x2932e7),this['params'][_0x1bb581(0x1a2)]=_0x1bb581(0x167),this;}[a83_0xdbe6e5(0x18c)](_0x291bfb,_0x41228b){const _0x5b5077=a83_0xdbe6e5;return this[_0x5b5077(0x194)](_0x291bfb,_0x41228b),this['params'][_0x5b5077(0x1a2)]='esriSpatialRelIndexIntersects',this;}[a83_0xdbe6e5(0x1a3)](_0x33c369,_0xa0933b,_0x1b848d){const _0x1e6e87=a83_0xdbe6e5;return this[_0x1e6e87(0x194)](_0x33c369,_0xa0933b),this[_0x1e6e87(0x17f)][_0x1e6e87(0x1a2)]=_0x1e6e87(0x173),this[_0x1e6e87(0x17f)][_0x1e6e87(0x188)]=_0x1e6e87(0x178),this[_0x1e6e87(0x17f)][_0x1e6e87(0x196)]=_0x1b848d,this;}[a83_0xdbe6e5(0x186)](_0x35081e){const _0x3f6f09=a83_0xdbe6e5;return this[_0x3f6f09(0x17f)][_0x3f6f09(0x186)]=_0x35081e,this;}['between'](_0x505121,_0x1d14a1){const _0x29c28b=a83_0xdbe6e5;return this['params'][_0x29c28b(0x165)]=[_0x505121[_0x29c28b(0x185)](),_0x1d14a1[_0x29c28b(0x185)]()],this;}[a83_0xdbe6e5(0x177)](_0x788409,_0x39441d){const _0x55611e=a83_0xdbe6e5,_0x293849=_0x788409[_0x55611e(0x187)]();var _0x3f835c=Math[_0x55611e(0x164)](_0x293849[0x2]-_0x293849[0x0]);const _0x29dbbc=_0x788409[_0x55611e(0x19b)]();if(_0x29dbbc)return this[_0x55611e(0x17f)][_0x55611e(0x169)]=_0x3f835c/_0x29dbbc[0x1]*_0x39441d,this;}[a83_0xdbe6e5(0x17c)](_0x190410,_0x166439){const _0x41d4cf=a83_0xdbe6e5;return _0x166439=_0x166439||_0x41d4cf(0x180),this[_0x41d4cf(0x17f)][_0x41d4cf(0x191)]=this['params']['orderByFields']?this[_0x41d4cf(0x17f)]['orderByFields']+',':'',this[_0x41d4cf(0x17f)]['orderByFields']+=[_0x190410,_0x166439][_0x41d4cf(0x184)]('\x20'),this;}async[a83_0xdbe6e5(0x189)](){const _0x3609f0=a83_0xdbe6e5;this[_0x3609f0(0x16d)]();const _0x3f04ec=await this[_0x3609f0(0x172)]()['catch'](_0x445757=>{throw new Error(_0x445757);});if(_0x3f04ec[_0x3609f0(0x1a4)]!==0xc8)throw new Error('No\x20features\x20found');if(_0x3f04ec[_0x3609f0(0x19e)]&&_0x3f04ec['data']['features']&&_0x3f04ec[_0x3609f0(0x19e)][_0x3609f0(0x17b)][_0x3609f0(0x161)]>0x0){var _0x4b2e34=new a83_0x5eb32d();let _0x251fc7=[];return _0x3f04ec[_0x3609f0(0x19e)][_0x3609f0(0x17b)]['forEach'](_0x580c24=>{const _0x4c8e61=_0x3609f0,_0x402562=_0x4b2e34['readFeature'](_0x580c24);_0x251fc7[_0x4c8e61(0x160)](_0x402562);}),_0x251fc7;}return[];}[a83_0xdbe6e5(0x162)](){const _0x4508a7=a83_0xdbe6e5;this['_cleanParams'](),this[_0x4508a7(0x17f)][_0x4508a7(0x19c)]=!![],this['request']();}['ids'](){const _0xfcc5bf=a83_0xdbe6e5;this[_0xfcc5bf(0x16d)](),this['params'][_0xfcc5bf(0x171)]=!![],this[_0xfcc5bf(0x172)]();}[a83_0xdbe6e5(0x19f)](){const _0x2824b9=a83_0xdbe6e5;return this['params'][_0x2824b9(0x1a6)]=![],this['params']['returnDistinctValues']=!![],this;}['layer'](_0x3ca91c){const _0x4c77c8=a83_0xdbe6e5;return this[_0x4c77c8(0x16e)]=_0x3ca91c+_0x4c77c8(0x163),this;}[a83_0xdbe6e5(0x18f)](_0x23eb2a){const _0x48d8da=a83_0xdbe6e5;_0x23eb2a&&(_0x23eb2a[_0x48d8da(0x19a)]===_0x48d8da(0x1a5)&&console[_0x48d8da(0x195)][_0x48d8da(0x174)]('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}[a83_0xdbe6e5(0x16d)](){const _0x584dfd=a83_0xdbe6e5;delete this[_0x584dfd(0x17f)][_0x584dfd(0x171)],delete this[_0x584dfd(0x17f)][_0x584dfd(0x18b)],delete this[_0x584dfd(0x17f)][_0x584dfd(0x19c)];}[a83_0xdbe6e5(0x194)](_0x585f10,_0xb51dc6){const _0x350408=a83_0xdbe6e5;var _0x5de211=new a83_0x5eb32d();const _0x14f3ca=_0x5de211[_0x350408(0x17a)](_0x585f10);this[_0x350408(0x17f)][_0x350408(0x1a1)]=getEsriSpatialReference(_0xb51dc6),this[_0x350408(0x17f)][_0x350408(0x168)]=_0x14f3ca,this[_0x350408(0x17f)][_0x350408(0x193)]=this[_0x350408(0x16c)](_0x585f10['getType']());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a84_0x139259=a84_0x9ab1;(function(_0x83462d,_0x3bcb43){var _0x375e71=a84_0x9ab1,_0x339b40=_0x83462d();while(!![]){try{var _0x4ff274=parseInt(_0x375e71(0x1c4))/0x1+parseInt(_0x375e71(0x1c1))/0x2+-parseInt(_0x375e71(0x1d1))/0x3+parseInt(_0x375e71(0x1ae))/0x4*(parseInt(_0x375e71(0x1b8))/0x5)+parseInt(_0x375e71(0x1b5))/0x6*(-parseInt(_0x375e71(0x1d2))/0x7)+parseInt(_0x375e71(0x1ce))/0x8*(-parseInt(_0x375e71(0x1be))/0x9)+parseInt(_0x375e71(0x1b0))/0xa;if(_0x4ff274===_0x3bcb43)break;else _0x339b40['push'](_0x339b40['shift']());}catch(_0x35fbb4){_0x339b40['push'](_0x339b40['shift']());}}}(a84_0x2cf5,0xd455c));import a84_0x271b9f from'../../AxiosUtil';function a84_0x9ab1(_0x5a6a1d,_0x27a9df){var _0x2cf53f=a84_0x2cf5();return a84_0x9ab1=function(_0x9ab184,_0x33897a){_0x9ab184=_0x9ab184-0x1ad;var _0x1b627e=_0x2cf53f[_0x9ab184];return _0x1b627e;},a84_0x9ab1(_0x5a6a1d,_0x27a9df);}import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x5c7096,_0xb3d499,_0x19e4ed){var _0x3b64d4=a84_0x9ab1;this['url']=_0x5c7096,this[_0x3b64d4(0x1cf)]=_0xb3d499||{},this[_0x3b64d4(0x1ad)]=!_0x19e4ed?_0x3b64d4(0x1b3):_0x19e4ed;}[a84_0x139259(0x1bc)](_0x1cd985){var _0x312119=a84_0x139259,_0x2f2af3;switch(_0x1cd985){case'Point':_0x2f2af3=_0x312119(0x1cb);break;case _0x312119(0x1c3):_0x2f2af3=_0x312119(0x1b4);break;case _0x312119(0x1c5):_0x2f2af3='esriGeometryPolyline';break;case _0x312119(0x1bd):_0x2f2af3=_0x312119(0x1b2);break;case _0x312119(0x1b7):_0x2f2af3='esriGeometryPolygon';break;case _0x312119(0x1c7):_0x2f2af3=_0x312119(0x1c9);break;}return _0x2f2af3;}['isArcgisOnline'](_0x45fe0a){var _0x873c03=a84_0x139259;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x873c03(0x1af)](_0x45fe0a);}[a84_0x139259(0x1c2)](_0x37a6ee){var _0x3c6664=a84_0x139259,_0x5771ff='';_0x37a6ee['f']=_0x37a6ee['f']||'json';for(var _0x58cb7d in _0x37a6ee){if(Object[_0x3c6664(0x1c0)][_0x3c6664(0x1ba)][_0x3c6664(0x1bf)](_0x37a6ee,_0x58cb7d)){var _0x17301e=_0x37a6ee[_0x58cb7d],_0x4db58f=Object[_0x3c6664(0x1c0)][_0x3c6664(0x1cc)][_0x3c6664(0x1bf)](_0x17301e),_0x2d6606;_0x5771ff[_0x3c6664(0x1c8)]&&(_0x5771ff+='&');if(_0x4db58f==='[object\x20Array]')_0x2d6606=Object['prototype']['toString'][_0x3c6664(0x1bf)](_0x17301e[0x0])===_0x3c6664(0x1cd)?JSON['stringify'](_0x17301e):_0x17301e[_0x3c6664(0x1bb)](',');else{if(_0x4db58f===_0x3c6664(0x1cd))_0x2d6606=JSON['stringify'](_0x17301e);else _0x4db58f==='[object\x20Date]'?_0x2d6606=_0x17301e[_0x3c6664(0x1c6)]():_0x2d6606=_0x17301e;}_0x5771ff+=encodeURIComponent(_0x58cb7d)+'='+encodeURIComponent(_0x2d6606);}}return _0x5771ff;}[a84_0x139259(0x1d0)](_0x28171c){var _0x1aa03b=a84_0x139259;return this[_0x1aa03b(0x1cf)][_0x1aa03b(0x1ca)]=!_0x28171c,this;}async['request'](){var _0x1ffe52=a84_0x139259,_0x4733b4=this[_0x1ffe52(0x1c2)](this[_0x1ffe52(0x1cf)]);const _0x3cb341=this[_0x1ffe52(0x1b9)]['indexOf']('?')>-0x1?this[_0x1ffe52(0x1b9)]+'&'+_0x4733b4:this[_0x1ffe52(0x1b9)]+'?'+_0x4733b4;if(this[_0x1ffe52(0x1ad)]==='GET')return a84_0x271b9f['get'](_0x3cb341);else{if(this[_0x1ffe52(0x1ad)]===_0x1ffe52(0x1b1))return jsonp(_0x3cb341);else{const _0x2cca38=stringify(this[_0x1ffe52(0x1cf)]);return a84_0x271b9f[_0x1ffe52(0x1b6)](this[_0x1ffe52(0x1b9)],_0x2cca38);}}}}function a84_0x2cf5(){var _0xe5fdf8=['JSONP','esriGeometryPolyline','GET','esriGeometryMultipoint','18MOdvqj','post','Polygon','185765OqIfKM','url','hasOwnProperty','join','geojsonTypeToArcGIS','MultiLineString','1449erZyKA','call','prototype','2225168zFYfQa','serialize','MultiPoint','1450557oPPQSj','LineString','valueOf','MultiPolygon','length','esriGeometryPolygon','returnUnformattedValues','esriGeometryPoint','toString','[object\x20Object]','5184osxYOT','params','format','3868035WvRjoG','2007509xwYmgH','method','60eXRKMB','test','33220bIxSXw'];a84_0x2cf5=function(){return _0xe5fdf8;};return a84_0x2cf5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a86_0x267acd=a86_0x29a3;(function(_0x23aea1,_0x2528f9){const _0x52424d=a86_0x29a3,_0x4e938b=_0x23aea1();while(!![]){try{const _0x2e2544=parseInt(_0x52424d(0x19e))/0x1*(parseInt(_0x52424d(0x1a0))/0x2)+parseInt(_0x52424d(0x1ae))/0x3+-parseInt(_0x52424d(0x1a1))/0x4+parseInt(_0x52424d(0x1b5))/0x5*(parseInt(_0x52424d(0x1a2))/0x6)+-parseInt(_0x52424d(0x1a7))/0x7+-parseInt(_0x52424d(0x1ad))/0x8+parseInt(_0x52424d(0x1b0))/0x9*(parseInt(_0x52424d(0x19f))/0xa);if(_0x2e2544===_0x2528f9)break;else _0x4e938b['push'](_0x4e938b['shift']());}catch(_0x3b2850){_0x4e938b['push'](_0x4e938b['shift']());}}}(a86_0x1213,0x51de3));import{and,intersects}from'ol/format/filter';import a86_0x2856b0 from'../../format/CQL';function a86_0x1213(){const _0x4d8046=['4220973yhdjaO','stringify','srsName','features','POST','159135jKnNgz','map','geometryName','_geoserverQuery','where','readFeature','queryParameters','27hUqXns','10CzoyWY','29600udRPwy','1465668PikcEI','72xuWFuF','writeGetFeature','tableName','url','json','4294486XwTcXD','execute','error','geometry','then','catch','4588768gEJaLV','1914963wBtUgg','the_geom'];a86_0x1213=function(){return _0x4d8046;};return a86_0x1213();}function a86_0x29a3(_0xabe888,_0x49da94){const _0x1213d2=a86_0x1213();return a86_0x29a3=function(_0x29a3b1,_0x227a0f){_0x29a3b1=_0x29a3b1-0x19a;let _0xf01489=_0x1213d2[_0x29a3b1];return _0xf01489;},a86_0x29a3(_0xabe888,_0x49da94);}import a86_0x350000 from'ol/format/WFS';import a86_0x16f7ff from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x326707){const _0x3982f9=a86_0x29a3;this[_0x3982f9(0x19d)]={},this[_0x3982f9(0x1a5)]=_0x326707;}async[a86_0x267acd(0x1a8)](_0x23bd26){const _0x2ed53e=a86_0x267acd;this['queryParameters']=_0x23bd26||{};const _0x14aabd=this[_0x2ed53e(0x19d)][_0x2ed53e(0x1b7)]||_0x2ed53e(0x1af);let _0x4c219b=this['queryParameters'][_0x2ed53e(0x19b)],_0x386c4a;_0x4c219b&&(_0x386c4a=new a86_0x2856b0()['read'](_0x4c219b));let _0x54c397=_0x386c4a;if(this[_0x2ed53e(0x19d)]['geometry']){if(!this[_0x2ed53e(0x19d)][_0x2ed53e(0x1b2)])throw new Error('srsName\x20is\x20required');const _0x392a30=intersects(_0x14aabd,this[_0x2ed53e(0x19d)][_0x2ed53e(0x1aa)]);_0x54c397=_0x386c4a?and(_0x386c4a,_0x392a30):_0x392a30;}let _0x3e4dad=new a86_0x350000()[_0x2ed53e(0x1a3)]({'srsName':this[_0x2ed53e(0x19d)]['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x2ed53e(0x19d)]['tableName']],'outputFormat':'application/json','geometryName':_0x14aabd,'filter':_0x54c397});const _0x24790e=await fetch(this[_0x2ed53e(0x1a5)],{'method':_0x2ed53e(0x1b4),'body':new XMLSerializer()['serializeToString'](_0x3e4dad)}),_0x5608d9=await _0x24790e[_0x2ed53e(0x1a6)]();let _0x320a03=[];const _0x916b80=new a86_0x16f7ff();return _0x320a03=_0x5608d9['features'][_0x2ed53e(0x1b6)](_0x252f4f=>{const _0xa9f8cf=_0x2ed53e;return _0x916b80[_0xa9f8cf(0x19c)](JSON[_0xa9f8cf(0x1b1)](_0x252f4f));}),_0x320a03;}[a86_0x267acd(0x19a)](){const _0x2c658c=a86_0x267acd,_0xb06275=this[_0x2c658c(0x19d)][_0x2c658c(0x1b7)]||_0x2c658c(0x1af);let _0x526cf0=this['queryParameters'][_0x2c658c(0x19b)],_0xa18b06;_0x526cf0&&(_0xa18b06=new a86_0x2856b0()['read'](_0x526cf0));let _0x198153=_0xa18b06;if(this[_0x2c658c(0x19d)][_0x2c658c(0x1aa)]){const _0x3f6c23=intersects(_0xb06275,this[_0x2c658c(0x19d)][_0x2c658c(0x1aa)]);_0x198153=_0xa18b06?and(_0xa18b06,_0x3f6c23):_0x3f6c23;}let _0x2665f8=new a86_0x350000()[_0x2c658c(0x1a3)]({'srsName':this['queryParameters'][_0x2c658c(0x1b2)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x2c658c(0x19d)][_0x2c658c(0x1a4)]],'outputFormat':'application/json','geometryName':_0xb06275,'filter':_0x198153});return new Promise(_0x1ed2b8=>{const _0x2af600=_0x2c658c;fetch(this[_0x2af600(0x1a5)],{'method':_0x2af600(0x1b4),'body':new XMLSerializer()['serializeToString'](_0x2665f8)})[_0x2af600(0x1ab)](_0x1400dd=>{const _0x13f87d=_0x2af600;return _0x1400dd[_0x13f87d(0x1a6)]();})['then'](_0x52d970=>{const _0x940910=_0x2af600;let _0x20c4e4=[];const _0x41ca50=new a86_0x16f7ff();_0x20c4e4=_0x52d970[_0x940910(0x1b3)][_0x940910(0x1b6)](_0x28a475=>{const _0x3ee19a=_0x940910;return _0x41ca50[_0x3ee19a(0x19c)](JSON[_0x3ee19a(0x1b1)](_0x28a475));}),_0x1ed2b8(_0x20c4e4);})[_0x2af600(0x1ac)](_0x482f82=>{const _0x2c88fa=_0x2af600;_0x1ed2b8([]),console[_0x2c88fa(0x1a9)](_0x482f82);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a87_0x12e1(_0x4da24e,_0xfdd203){const _0x400437=a87_0x4004();return a87_0x12e1=function(_0x12e1d6,_0x1d62aa){_0x12e1d6=_0x12e1d6-0x18a;let _0x6956fe=_0x400437[_0x12e1d6];return _0x6956fe;},a87_0x12e1(_0x4da24e,_0xfdd203);}(function(_0x410772,_0x5ec053){const _0x4727d8=a87_0x12e1,_0x2e43bd=_0x410772();while(!![]){try{const _0x57ae2d=parseInt(_0x4727d8(0x198))/0x1+-parseInt(_0x4727d8(0x18f))/0x2*(parseInt(_0x4727d8(0x19b))/0x3)+-parseInt(_0x4727d8(0x18a))/0x4+-parseInt(_0x4727d8(0x196))/0x5+parseInt(_0x4727d8(0x18e))/0x6+parseInt(_0x4727d8(0x18c))/0x7+parseInt(_0x4727d8(0x18d))/0x8;if(_0x57ae2d===_0x5ec053)break;else _0x2e43bd['push'](_0x2e43bd['shift']());}catch(_0x28fbad){_0x2e43bd['push'](_0x2e43bd['shift']());}}}(a87_0x4004,0x60010));import{appendPath}from'../UrlUtil';import a87_0x1a1c03 from'./esri/Query';import a87_0x54dcf5 from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';function a87_0x4004(){const _0x4d9dc3=['execute','geoserver-wms','run','fieldType','find','1766440mjYFbZ','arcgis-feature','331166hioDYu','layerFields','intersects','3252aMxntm','3111448csnIVx','arcgis-dynamic','1236375DKPByH','12170592YKcuLj','496770bgEhLZ','1084OwfcXH','name'];a87_0x4004=function(){return _0x4d9dc3;};return a87_0x4004();}export async function selectFeaturesByGeo(_0x1701d5,_0x2890aa,_0x334367,_0x17ceed,_0x3ccfc6,_0x4c475f){const _0xa4b255=a87_0x12e1;if(!_0x334367||!_0x17ceed||!_0x3ccfc6||!_0x3ccfc6)return[];let _0x5da264=[];if(_0x3ccfc6==_0xa4b255(0x18b)||_0x3ccfc6==_0xa4b255(0x197)){const _0x3667a5=appendPath(_0x334367,_0x17ceed),_0x4bc0c5=new a87_0x1a1c03(_0x3667a5,{'outSR':_0x2890aa,'where':_0x4c475f});_0x4bc0c5[_0xa4b255(0x19a)](_0x1701d5,_0x2890aa),_0x5da264=await _0x4bc0c5[_0xa4b255(0x193)]();}else{if(_0x3ccfc6=='geoserver-wfs'||_0x3ccfc6==_0xa4b255(0x192)){const _0x10b681=new a87_0x54dcf5(_0x334367),_0x1940a3=await getWFSLayerCapabilities(_0x334367,_0x17ceed),_0x214a59=_0x1940a3[_0xa4b255(0x199)][_0xa4b255(0x195)](_0x37eb3e=>_0x37eb3e[_0xa4b255(0x194)]==0x6);_0x5da264=await _0x10b681[_0xa4b255(0x191)]({'geometry':_0x1701d5,'tableName':_0x17ceed,'geometryName':_0x214a59?_0x214a59[_0xa4b255(0x190)]:'','srsName':_0x2890aa,'where':_0x4c475f});}}return _0x5da264;}
|