ym-gis-2d 1.0.25 → 1.0.26
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.js +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/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.js +1 -1
- package/mapView/View.js +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 +11 -3
- 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.d.ts.map +1 -1
- package/utils/tasks/index.js +1 -1
- package/utils/tasks/index.js.map +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
package/utils/StringUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x423d6d,_0x5eb514){const _0x40b6d8=a80_0xb49f,_0x7deef4=_0x423d6d();while(!![]){try{const _0xa189ca=-parseInt(_0x40b6d8(0x1df))/0x1*(parseInt(_0x40b6d8(0x1de))/0x2)+-parseInt(_0x40b6d8(0x1e3))/0x3*(-parseInt(_0x40b6d8(0x1e5))/0x4)+parseInt(_0x40b6d8(0x1e8))/0x5*(parseInt(_0x40b6d8(0x1ec))/0x6)+parseInt(_0x40b6d8(0x1e9))/0x7*(-parseInt(_0x40b6d8(0x1e6))/0x8)+parseInt(_0x40b6d8(0x1e4))/0x9+parseInt(_0x40b6d8(0x1e0))/0xa*(parseInt(_0x40b6d8(0x1eb))/0xb)+-parseInt(_0x40b6d8(0x1e7))/0xc;if(_0xa189ca===_0x5eb514)break;else _0x7deef4['push'](_0x7deef4['shift']());}catch(_0x5a225c){_0x7deef4['push'](_0x7deef4['shift']());}}}(a80_0x6e13,0x3846e));function a80_0x6e13(){const _0x4178b8=['16dKDfWu','80uuOMAc','2991588QvpUoj','154495XRmYHO','218869qtVkFE','字符串为空','88twUWWZ','36jMhqwv','length','replace','5824SlKXZe','25DCJtgX','335480vvPmKL','floor','charCodeAt','286137XodBLn','269865MBXweK'];a80_0x6e13=function(){return _0x4178b8;};return a80_0x6e13();}import{modulo,toFixed}from'ol/math';import{padNumber}from'ol/string';export function transformedToNumber(_0x992119){const _0x5880c1=a80_0xb49f;if(_0x992119)return parseFloat(_0x992119[_0x5880c1(0x1dd)](/[^\d]/g,''));throw new Error(_0x5880c1(0x1ea));}export function base64ToBlob(_0x4be859){const _0x1a4924=a80_0xb49f;let _0x2d0f22=window['atob'](_0x4be859),_0x306bde=_0x2d0f22[_0x1a4924(0x1ed)],_0x5844d7=new Uint8Array(_0x306bde);while(_0x306bde--){_0x5844d7[_0x306bde]=_0x2d0f22[_0x1a4924(0x1e2)](_0x306bde);}return new Blob([_0x5844d7],{'type':_0x4be859});}function a80_0xb49f(_0xd70b0b,_0x1b4ee1){const _0x6e1389=a80_0x6e13();return a80_0xb49f=function(_0xb49f7e,_0x55eca9){_0xb49f7e=_0xb49f7e-0x1dd;let _0x28b219=_0x6e1389[_0xb49f7e];return _0x28b219;},a80_0xb49f(_0xd70b0b,_0x1b4ee1);}export function degreesToStringHDMS(_0x5edd07,_0x1a1eb6){const _0x44946b=a80_0xb49f,_0x3d73da=modulo(_0x5edd07+0xb4,0x168)-0xb4,_0x162e9b=Math['abs'](0xe10*_0x3d73da),_0x29e297=_0x1a1eb6||0x0;let _0x1de4a8=Math['floor'](_0x162e9b/0xe10),_0xb98c4a=Math[_0x44946b(0x1e1)]((_0x162e9b-_0x1de4a8*0xe10)/0x3c),_0x98bb11=toFixed(_0x162e9b-_0x1de4a8*0xe10-_0xb98c4a*0x3c,_0x29e297);_0x98bb11>=0x3c&&(_0x98bb11=0x0,_0xb98c4a+=0x1);_0xb98c4a>=0x3c&&(_0xb98c4a=0x0,_0x1de4a8+=0x1);let _0xde46b4=_0x1de4a8+'°';return(_0xb98c4a!==0x0||_0x98bb11!==0x0)&&(_0xde46b4+='\x20'+padNumber(_0xb98c4a,0x2)+'′'),_0x98bb11!==0x0&&(_0xde46b4+='\x20'+padNumber(_0x98bb11,0x2,_0x29e297)+'″'),_0xde46b4;}
|
package/utils/StyleUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1acd5c,_0x52e307){const _0x785a7d=a81_0x1c9b,_0x115b70=_0x1acd5c();while(!![]){try{const _0x1c8cb7=parseInt(_0x785a7d(0xd6))/0x1+-parseInt(_0x785a7d(0xd1))/0x2+parseInt(_0x785a7d(0xdb))/0x3*(-parseInt(_0x785a7d(0xd2))/0x4)+parseInt(_0x785a7d(0xcf))/0x5*(-parseInt(_0x785a7d(0xd5))/0x6)+parseInt(_0x785a7d(0xe1))/0x7*(parseInt(_0x785a7d(0xd8))/0x8)+-parseInt(_0x785a7d(0xd0))/0x9+-parseInt(_0x785a7d(0xd7))/0xa;if(_0x1c8cb7===_0x52e307)break;else _0x115b70['push'](_0x115b70['shift']());}catch(_0xb15837){_0x115b70['push'](_0x115b70['shift']());}}}(a81_0xd35a,0x56932));import{Style,Fill,Circle,Stroke}from'ol/style';function a81_0x1c9b(_0x1ad4c2,_0x843bbb){const _0xd35a34=a81_0xd35a();return a81_0x1c9b=function(_0x1c9be4,_0x28aa6d){_0x1c9be4=_0x1c9be4-0xcd;let _0x347120=_0xd35a34[_0x1c9be4];return _0x347120;},a81_0x1c9b(_0x1ad4c2,_0x843bbb);}export function transformedEsriStyle(_0x59a5b0){const _0x573869=a81_0x1c9b;let _0x29ea6f=new Style();switch(_0x59a5b0[_0x573869(0xdd)]){case _0x573869(0xdf):_0x29ea6f=new Style({'image':new Circle({'fill':new Fill({'color':_0x573869(0xe0)+_0x59a5b0[_0x573869(0xde)][0x0]+',\x20'+_0x59a5b0['color'][0x1]+',\x20'+_0x59a5b0['color'][0x2]+',\x20'+_0x59a5b0[_0x573869(0xde)][0x3]+')'}),'stroke':new Stroke({'color':_0x573869(0xe0)+_0x59a5b0['outline'][_0x573869(0xde)][0x0]+',\x20'+_0x59a5b0[_0x573869(0xdc)][_0x573869(0xde)][0x1]+',\x20'+_0x59a5b0[_0x573869(0xdc)][_0x573869(0xde)][0x2]+',\x20'+_0x59a5b0[_0x573869(0xdc)][_0x573869(0xde)][0x3]+')','width':_0x59a5b0[_0x573869(0xdc)][_0x573869(0xd3)]}),'radius':_0x59a5b0['size']/0x2+0x1})});break;case _0x573869(0xd4):_0x29ea6f=new Style({'stroke':new Stroke({'color':_0x573869(0xe0)+_0x59a5b0[_0x573869(0xde)][0x0]+',\x20'+_0x59a5b0[_0x573869(0xde)][0x1]+',\x20'+_0x59a5b0['color'][0x2]+',\x20'+_0x59a5b0[_0x573869(0xde)][0x3]+')','width':_0x59a5b0[_0x573869(0xd3)]})});break;case _0x573869(0xce):_0x29ea6f=new Style({'fill':new Fill({'color':_0x573869(0xe0)+_0x59a5b0[_0x573869(0xde)][0x0]+',\x20'+_0x59a5b0['color'][0x1]+',\x20'+_0x59a5b0['color'][0x2]+',\x20'+_0x59a5b0['color'][0x3]+')'}),'stroke':new Stroke({'color':_0x573869(0xe0)+_0x59a5b0['outline'][_0x573869(0xde)][0x0]+',\x20'+_0x59a5b0['outline'][_0x573869(0xde)][0x1]+',\x20'+_0x59a5b0['outline']['color'][0x2]+',\x20'+_0x59a5b0['outline'][_0x573869(0xde)][0x3]+')','width':_0x59a5b0[_0x573869(0xdc)]['width']})});break;default:break;}return _0x29ea6f;}export function highLightSymbol(_0x5c4ee3){const _0x2bf272=a81_0x1c9b;let _0x48f5a4;if(_0x5c4ee3==_0x2bf272(0xe3))_0x48f5a4=new Style({'fill':new Fill({'color':_0x2bf272(0xda)}),'stroke':new Stroke({'color':_0x2bf272(0xd9),'width':2.5})});else{if(_0x5c4ee3==_0x2bf272(0xe2))_0x48f5a4=new Style({'stroke':new Stroke({'color':'#3399CC','width':2.5})});else _0x5c4ee3==_0x2bf272(0xcd)&&(_0x48f5a4=new Style({'image':new Circle({'radius':0x5,'fill':new Fill({'color':_0x2bf272(0xda)}),'stroke':new Stroke({'color':_0x2bf272(0xd9),'width':2.5})})}));}return _0x48f5a4;}function a81_0xd35a(){const _0x1db21a=['521450UGJpWt','1060240Swgjgu','61256nGdkve','#3399CC','rgba(214,28,28,0.4)','6KBtLaM','outline','style','color','esriSMSCircle','rgba(','602VvasSI','LineString','Polygon','Point','esriSFSSolid','4590WNIQDU','834597dPjcmQ','910970USgNRA','266924QpRXoJ','width','esriSLSSolid','246gbSRxv'];a81_0xd35a=function(){return _0x1db21a;};return a81_0xd35a();}
|
package/utils/UrlUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a88_0x2ada(){const _0x162734=['15496OTKANb','73cfUWLQ','4966641kmOkqW','3809zbJuEJ','3364285HHQmuL','48936CbqTwg','createElement','498gDqEWs','1654xwYYyI','setAttribute','match','target','?http','16nhhiTT','5080558OyNAaD','map','createObjectURL','substring','click','length','split','10jiaCPF','indexOf','15968381DlaOHO','body','6MRCywx','[\x5c?&](','=)([^&]*)'];a88_0x2ada=function(){return _0x162734;};return a88_0x2ada();}(function(_0x4afebd,_0x65b27e){const _0x1a6509=a88_0x993d,_0x230ea1=_0x4afebd();while(!![]){try{const _0x4c71ec=-parseInt(_0x1a6509(0xf2))/0x1*(-parseInt(_0x1a6509(0xf9))/0x2)+parseInt(_0x1a6509(0xf8))/0x3*(-parseInt(_0x1a6509(0xf1))/0x4)+-parseInt(_0x1a6509(0xf5))/0x5*(-parseInt(_0x1a6509(0xee))/0x6)+parseInt(_0x1a6509(0xff))/0x7*(-parseInt(_0x1a6509(0xfe))/0x8)+-parseInt(_0x1a6509(0xf3))/0x9+-parseInt(_0x1a6509(0xea))/0xa*(-parseInt(_0x1a6509(0xec))/0xb)+-parseInt(_0x1a6509(0xf6))/0xc*(-parseInt(_0x1a6509(0xf4))/0xd);if(_0x4c71ec===_0x65b27e)break;else _0x230ea1['push'](_0x230ea1['shift']());}catch(_0x467abe){_0x230ea1['push'](_0x230ea1['shift']());}}}(a88_0x2ada,0xb3030));export function addArgument(_0x4f740f,_0x277fc8,_0x354d61){const _0xe52de2=a88_0x993d,_0x55319b=new RegExp(_0xe52de2(0xef)+_0x277fc8+_0xe52de2(0xf0),'gi');if(_0x4f740f[_0xe52de2(0xfb)](_0x55319b))_0x4f740f=_0x4f740f['replace'](_0x55319b,_0x55588d=>_0x55588d[0x0]+_0x277fc8+'='+_0x354d61);else{var _0x21806c=_0x277fc8+'='+_0x354d61,_0x497c5d=_0x4f740f[_0xe52de2(0xeb)]('?');let _0xf3ae68=_0x4f740f;_0x497c5d>-0x1&&_0x4f740f[_0xe52de2(0xeb)](_0xe52de2(0xfd))>-0x1&&(_0xf3ae68=_0x4f740f[_0xe52de2(0xe6)](_0x497c5d+0x1),_0x497c5d=_0xf3ae68['indexOf']('?'));if(_0x497c5d<0x0)_0x4f740f+='?';else _0x497c5d>=0x0&&_0x497c5d!==_0xf3ae68[_0xe52de2(0xe8)]-0x1&&(_0x4f740f+='&');_0x4f740f=_0x4f740f+_0x21806c;}return _0x4f740f;}export function appendParam(_0x5d6ea3,_0x2f04f6){const _0x1ab187=a88_0x993d;var _0x562c9b=_0x5d6ea3[_0x1ab187(0xeb)]('?');let _0xe7e8f6=_0x5d6ea3;if(_0x562c9b>-0x1&&_0x5d6ea3['indexOf'](_0x1ab187(0xfd))>-0x1){let _0x4f7a5d=_0x562c9b+0x1;_0xe7e8f6=_0x5d6ea3['substring'](_0x562c9b+0x1),_0x562c9b=_0xe7e8f6['indexOf']('?');}return _0x562c9b>-0x1?_0x5d6ea3+'&'+_0x2f04f6:_0x5d6ea3+'?'+_0x2f04f6;}export function appendPath(_0x864170,_0x5d160b){const _0x23cba2=a88_0x993d;var _0x445f4b=_0x864170[_0x23cba2(0xeb)]('?');let _0x42a66b=_0x864170;if(_0x445f4b>-0x1&&_0x864170[_0x23cba2(0xeb)](_0x23cba2(0xfd))>-0x1){let _0x571f5b=_0x445f4b+0x1;_0x42a66b=_0x864170[_0x23cba2(0xe6)](_0x445f4b+0x1),_0x445f4b=_0x42a66b['indexOf']('?'),_0x445f4b>-0x1&&(_0x445f4b+=_0x571f5b);}return _0x445f4b>-0x1?_0x864170[_0x23cba2(0xe6)](0x0,_0x445f4b)+'/'+_0x5d160b+_0x864170[_0x23cba2(0xe6)](_0x445f4b):_0x864170+'/'+_0x5d160b;}function a88_0x993d(_0x98599b,_0x470937){const _0x2ada3b=a88_0x2ada();return a88_0x993d=function(_0x993d47,_0x2b11f6){_0x993d47=_0x993d47-0xe6;let _0x5194be=_0x2ada3b[_0x993d47];return _0x5194be;},a88_0x993d(_0x98599b,_0x470937);}export function getUrlParams(_0x2344a4){const _0x459cf2=a88_0x993d;var _0x26f217,_0xcaa91d;let _0x1c819b=_0x2344a4['indexOf']('?http'),_0x1ede41;_0x1c819b>-0x1?_0x2344a4['indexOf']('?',_0x1c819b+0x3)>-0x1&&(_0x1ede41=(_0x26f217=_0x2344a4[_0x459cf2(0xe9)]('?'))===null||_0x26f217===void 0x0?void 0x0:_0x26f217[0x2]):_0x2344a4['indexOf']('?')>-0x1&&(_0x1ede41=(_0xcaa91d=_0x2344a4[_0x459cf2(0xe9)]('?'))===null||_0xcaa91d===void 0x0?void 0x0:_0xcaa91d[0x1]);if(_0x1ede41)return createParamByQuery(_0x1ede41);return[];}function createParamByQuery(_0x45225c){const _0x24c15d=a88_0x993d;let _0xf9c190=_0x45225c[_0x24c15d(0xe9)]('&');return _0xf9c190[_0x24c15d(0x100)](_0x1a5bf8=>{var _0x36cb71=_0x1a5bf8['split']('=');return{'name':_0x36cb71[0x0],'value':_0x36cb71[0x1]};});}export function parseImage(_0x391fc5,_0x20b626){const _0x103e01=a88_0x993d;let _0x248903='';if(_0x391fc5){if(_0x391fc5[_0x103e01(0xfb)](/^(data|http|https)/))_0x248903=_0x391fc5;else{if(_0x391fc5[_0x103e01(0xfb)](/Assets/))_0x248903=_0x391fc5;else{}}}return _0x248903;}export function downloadBlob(_0x1d3702,_0x14324f){const _0x2fad07=a88_0x993d,_0xf01a69=URL[_0x2fad07(0x101)](_0x1d3702);var _0x3eb789=document[_0x2fad07(0xf7)]('a');_0x3eb789[_0x2fad07(0xfa)]('href',_0xf01a69),_0x3eb789['setAttribute'](_0x2fad07(0xfc),'_blank'),_0x3eb789[_0x2fad07(0xfa)]('download',_0x14324f),document['body']['appendChild'](_0x3eb789),_0x3eb789[_0x2fad07(0xe7)](),document[_0x2fad07(0xed)]['removeChild'](_0x3eb789),URL['revokeObjectURL'](_0xf01a69);}
|
package/utils/XmlUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a89_0x15c9(_0x593cbe,_0x30e764){const _0x2d3e9a=a89_0x2d3e();return a89_0x15c9=function(_0x15c906,_0x642db6){_0x15c906=_0x15c906-0x7d;let _0x532f07=_0x2d3e9a[_0x15c906];return _0x532f07;},a89_0x15c9(_0x593cbe,_0x30e764);}(function(_0x2431d1,_0x1d26d0){const _0x140505=a89_0x15c9,_0xe5c55f=_0x2431d1();while(!![]){try{const _0x627a5f=-parseInt(_0x140505(0x83))/0x1+parseInt(_0x140505(0x84))/0x2*(parseInt(_0x140505(0x8a))/0x3)+-parseInt(_0x140505(0x7d))/0x4*(-parseInt(_0x140505(0x87))/0x5)+parseInt(_0x140505(0x85))/0x6+-parseInt(_0x140505(0x7e))/0x7*(-parseInt(_0x140505(0x7f))/0x8)+parseInt(_0x140505(0x8d))/0x9*(-parseInt(_0x140505(0x8b))/0xa)+-parseInt(_0x140505(0x88))/0xb;if(_0x627a5f===_0x1d26d0)break;else _0xe5c55f['push'](_0xe5c55f['shift']());}catch(_0x9cbe38){_0xe5c55f['push'](_0xe5c55f['shift']());}}}(a89_0x2d3e,0x9ec9a));export function readXml(_0x3fcf1b){const _0x3d4517=a89_0x15c9;let _0x55af39;return window[_0x3d4517(0x80)]?_0x55af39=new DOMParser()[_0x3d4517(0x8c)](_0x3fcf1b,'text/xml'):(_0x55af39=new ActiveXObject(_0x3d4517(0x89)),_0x55af39[_0x3d4517(0x81)]=_0x3d4517(0x82),_0x55af39[_0x3d4517(0x86)](_0x3fcf1b)),_0x55af39;}function a89_0x2d3e(){const _0x4de641=['loadXML','35BauThL','3284061dqlTmA','Microsoft.XMLDOM','6nOdtAF','11511740UTYynU','parseFromString','9UxxbNU','72076iYsxRz','5121123vRfEkB','8DLSZFK','DOMParser','async','false','348824zgfgwS','767738mcPEzB','4940898WeXgmH'];a89_0x2d3e=function(){return _0x4de641;};return a89_0x2d3e();}
|
package/utils/format/CQL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a70_0x1a2397=a70_0x3d52;(function(_0x2fb836,_0x2e671e){const _0xa4595f=a70_0x3d52,_0x2fc1bb=_0x2fb836();while(!![]){try{const _0x53aa10=-parseInt(_0xa4595f(0x1e8))/0x1+parseInt(_0xa4595f(0x20d))/0x2*(parseInt(_0xa4595f(0x1f4))/0x3)+-parseInt(_0xa4595f(0x20e))/0x4+parseInt(_0xa4595f(0x1ef))/0x5+parseInt(_0xa4595f(0x204))/0x6*(-parseInt(_0xa4595f(0x203))/0x7)+-parseInt(_0xa4595f(0x1f2))/0x8*(parseInt(_0xa4595f(0x1d8))/0x9)+parseInt(_0xa4595f(0x21f))/0xa;if(_0x53aa10===_0x2e671e)break;else _0x2fc1bb['push'](_0x2fc1bb['shift']());}catch(_0x10e40f){_0x2fc1bb['push'](_0x2fc1bb['shift']());}}}(a70_0x39c8,0xb83a6));import*as a70_0x23ea58 from'ol/format/filter';import{WKT}from'ol/format';function a70_0x3d52(_0x289b8d,_0x4eea7a){const _0x39c897=a70_0x39c8();return a70_0x3d52=function(_0x3d521e,_0x405b92){_0x3d521e=_0x3d521e-0x1d1;let _0x1b3cd9=_0x39c897[_0x3d521e];return _0x1b3cd9;},a70_0x3d52(_0x289b8d,_0x4eea7a);}import a70_0x43de91 from'ol/geom/Geometry';function a70_0x39c8(){const _0x413ec3=['WITHIN','VALUE','LIKE','BBOX','Not','tryToken','PropertyIsGreaterThan','join','56952BecxOD','276YNOFFF','push','patterns','ERROR:\x20In\x20parsing:\x20[','buildAst','LOGICAL','substring','property','CLASS_NAME','8822nRMJzT','3395716WlFksk','type','operators','PROPERTY','CONTAINS(','and','WITHIN(','PropertyIsNull','split','tokens','follows','charAt','COMPARISON','PropertyIsLike','like','inPatterns','Intersects','10915530VDxTLT','length','COMMA','replaceAll','geometryName','NOT','propertyName','precedence','between','expression','readGeometry','toUpperCase','within','indexOf','condition','bbox','INTERSECTS(','greaterThan','SPATIAL','BETWEEN','read','],\x20expected\x20one\x20of:\x20','pop','equalTo','PropertyIsLessThan','conditions','CQL解析失败:','RPAREN','CONTAINS','notEqualTo','END','GEOMETRY','\x0a\x20\x20\x20\x20','\x20or\x20','tokenize','PropertyIsGreaterThanOrEqualTo','No\x20follows\x20list\x20for\x20','5018850SXPyyy','greaterThanOrEqualTo','geometry','parseInToOr','remainder','text','tagName_','intersects','write','srsName','INTERSECTS','shift','operatorReverse','IS_NULL','index','match','644802tOPFeu','upperBoundary','PropertyIsBetween','warn','logicals','And','contains','3253480IHsiSB','Within','\x20BETWEEN\x20','8THNVuh','lessThan','978zxXyLC','exec','replace','LPAREN','nextToken','IS\x20NULL','BBOX('];a70_0x39c8=function(){return _0x413ec3;};return a70_0x39c8();}export default class CQL{constructor(){const _0x326683=a70_0x3d52;this[_0x326683(0x21d)]=/ (IN) /i,this[_0x326683(0x217)]=['PROPERTY',_0x326683(0x21a),_0x326683(0x1fc),_0x326683(0x209)],this[_0x326683(0x206)]={'PROPERTY':/^[_a-zA-Z]\w*/,'COMPARISON':/^(=|<>|<=|<|>=|>|LIKE)/i,'IS_NULL':/^IS NULL/i,'COMMA':/^,/,'LOGICAL':/^(AND|OR)/i,'VALUE':/^('([^']|'')*'|-?\d+(\.\d*)?|\.\d+)/,'LPAREN':/^\(/,'RPAREN':/^\)/,'SPATIAL':/^(BBOX|INTERSECTS|DWITHIN|WITHIN|CONTAINS)/i,'NOT':/^NOT/i,'BETWEEN':/^BETWEEN/i,'GEOMETRY':function(_0xaf30cd){const _0x405e56=_0x326683;let _0x5495b8=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x405e56(0x1f5)](_0xaf30cd);if(_0x5495b8){let _0x190162=_0xaf30cd[_0x405e56(0x220)],_0x383556=_0xaf30cd['indexOf']('(',_0x5495b8[0x0][_0x405e56(0x220)]);if(_0x383556>-0x1){let _0xe99083=0x1;while(_0x383556<_0x190162&&_0xe99083>0x0){_0x383556++;switch(_0xaf30cd[_0x405e56(0x219)](_0x383556)){case'(':_0xe99083++;break;case')':_0xe99083--;break;default:}}}return[_0xaf30cd[_0x405e56(0x20a)](0x0,_0x383556+0x1)];}},'END':/^$/},this[_0x326683(0x218)]={'LPAREN':[_0x326683(0x1d2),_0x326683(0x231),_0x326683(0x211),_0x326683(0x1fc),_0x326683(0x1f7)],'RPAREN':[_0x326683(0x224),'LOGICAL','END',_0x326683(0x23a)],'PROPERTY':[_0x326683(0x21a),'BETWEEN',_0x326683(0x221),_0x326683(0x1e5)],'BETWEEN':['VALUE'],'IS_NULL':[_0x326683(0x1d1)],'COMPARISON':['VALUE'],'COMMA':[_0x326683(0x1d2),_0x326683(0x1fc),_0x326683(0x211)],'VALUE':[_0x326683(0x209),_0x326683(0x221),'RPAREN','END'],'SPATIAL':[_0x326683(0x1f7)],'LOGICAL':[_0x326683(0x224),_0x326683(0x1fc),_0x326683(0x231),_0x326683(0x211),_0x326683(0x1f7)],'NOT':[_0x326683(0x211),_0x326683(0x1f7)],'GEOMETRY':['COMMA',_0x326683(0x23a)]},this[_0x326683(0x210)]={'=':a70_0x23ea58[_0x326683(0x236)],'<>':a70_0x23ea58[_0x326683(0x23c)],'<':a70_0x23ea58[_0x326683(0x1f3)],'<=':a70_0x23ea58['lessThanOrEqualTo'],'>':a70_0x23ea58[_0x326683(0x230)],'>=':a70_0x23ea58[_0x326683(0x1d9)],'LIKE':a70_0x23ea58[_0x326683(0x21c)],'BETWEEN':a70_0x23ea58[_0x326683(0x227)],'IS\x20NULL':a70_0x23ea58['isNull']},this[_0x326683(0x1e4)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x326683(0x1fd),'PropertyIsNull':_0x326683(0x1f9),'PropertyIsBetween':_0x326683(0x232)},this[_0x326683(0x1ec)]={'AND':a70_0x23ea58[_0x326683(0x213)],'OR':a70_0x23ea58['or']},this[_0x326683(0x226)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}[a70_0x1a2397(0x200)](_0x5a97f4,_0x27eb01){const _0x216adc=a70_0x1a2397;return _0x27eb01 instanceof RegExp?_0x27eb01[_0x216adc(0x1f5)](_0x5a97f4):_0x27eb01(_0x5a97f4);}[a70_0x1a2397(0x1f8)](_0x13c4ea,_0x513a8d){const _0x286648=a70_0x1a2397;let _0x260dfc,_0x5cb78e,_0xc12221=_0x513a8d[_0x286648(0x220)];for(_0x260dfc=0x0;_0x260dfc<_0xc12221;_0x260dfc++){_0x5cb78e=_0x513a8d[_0x260dfc];let _0x40f405=this[_0x286648(0x206)][_0x5cb78e],_0x1d5ab1=this[_0x286648(0x200)](_0x13c4ea,_0x40f405);if(_0x1d5ab1){let _0x252605=_0x1d5ab1[0x0],_0x41d197=_0x13c4ea[_0x286648(0x20a)](_0x252605['length'])[_0x286648(0x1f6)](/^\s*/,'');return{'type':_0x5cb78e,'text':_0x252605,'remainder':_0x41d197};}}let _0x4910c9=_0x286648(0x207)+_0x13c4ea+_0x286648(0x234);for(_0x260dfc=0x0;_0x260dfc<_0xc12221;_0x260dfc++){_0x5cb78e=_0x513a8d[_0x260dfc],_0x4910c9+=_0x286648(0x1d3)+_0x5cb78e+':\x20'+this[_0x286648(0x206)][_0x5cb78e];}throw new Error(_0x4910c9);}[a70_0x1a2397(0x1d5)](_0x4e2f36){const _0x4d8749=a70_0x1a2397;_0x4e2f36=_0x4e2f36['replaceAll']('[','')[_0x4d8749(0x222)](']','');let _0x30ca13=this[_0x4d8749(0x200)](_0x4e2f36,this[_0x4d8749(0x21d)]);_0x30ca13&&(_0x4e2f36=this[_0x4d8749(0x1db)](_0x4e2f36,_0x30ca13));let _0x2400d3=[],_0x130af7,_0x505f75=[_0x4d8749(0x224),_0x4d8749(0x1d2),_0x4d8749(0x231),_0x4d8749(0x211),_0x4d8749(0x1f7)];do{_0x130af7=this[_0x4d8749(0x1f8)](_0x4e2f36,_0x505f75),_0x4e2f36=_0x130af7[_0x4d8749(0x1dc)],_0x505f75=this[_0x4d8749(0x218)][_0x130af7['type']];if(_0x130af7[_0x4d8749(0x20f)]!==_0x4d8749(0x1d1)&&!_0x505f75)throw new Error(_0x4d8749(0x1d7)+_0x130af7[_0x4d8749(0x20f)]);_0x2400d3[_0x4d8749(0x205)](_0x130af7);}while(_0x130af7[_0x4d8749(0x20f)]!==_0x4d8749(0x1d1));return _0x2400d3;}[a70_0x1a2397(0x1db)](_0x4f3937,_0x5b1c31){const _0x5e2665=a70_0x1a2397;let _0xb3ab2d=this[_0x5e2665(0x200)](_0x4f3937,/\((.+?)\)/g);if(_0xb3ab2d){let _0x45367c=_0x4f3937[_0x5e2665(0x20a)](0x0,_0x5b1c31[_0x5e2665(0x1e6)]),_0x18b5b9=_0xb3ab2d[0x1],_0x11e55e=_0x18b5b9['replaceAll']('\x20','')[_0x5e2665(0x216)](','),_0x12a376='',_0x5c52e2='';if(_0x45367c[_0x5e2665(0x22c)]('\x20')>-0x1){let _0x6dafc6=_0x45367c['lastIndexOf']('\x20');_0x5c52e2=_0x45367c['substring'](0x0,_0x6dafc6+0x1),_0x12a376=_0x45367c[_0x5e2665(0x20a)](_0x6dafc6+0x1,_0x45367c[_0x5e2665(0x220)]);}else _0x12a376=_0x45367c;let _0x1cfea3=_0x5c52e2;for(let _0x1d44b5=0x0;_0x1d44b5<_0x11e55e[_0x5e2665(0x220)];_0x1d44b5++){let _0x4e2be6=_0x11e55e[_0x1d44b5];_0x1cfea3+=_0x12a376+'='+_0x4e2be6,_0x1d44b5<_0x11e55e[_0x5e2665(0x220)]-0x1&&(_0x1cfea3+=_0x5e2665(0x1d4));}return _0x1cfea3;}return _0x4f3937;}[a70_0x1a2397(0x208)](_0x4cf1f1){const _0x35c655=a70_0x1a2397;let _0x5315d9=this,_0x3eecf6=[],_0x3dd5a4=[];while(_0x4cf1f1[_0x35c655(0x220)]){let _0x3807c3=_0x4cf1f1[_0x35c655(0x1e3)]();switch(_0x3807c3['type']){case _0x35c655(0x211):case _0x35c655(0x1d2):case _0x35c655(0x1fc):_0x3dd5a4['push'](_0x3807c3);break;case _0x35c655(0x21a):case'BETWEEN':case _0x35c655(0x1e5):case _0x35c655(0x209):{let _0x36652d=this[_0x35c655(0x226)][_0x3807c3[_0x35c655(0x20f)]];while(_0x3eecf6['length']>0x0&&this[_0x35c655(0x226)][_0x3eecf6[_0x3eecf6[_0x35c655(0x220)]-0x1][_0x35c655(0x20f)]]<=_0x36652d){_0x3dd5a4[_0x35c655(0x205)](_0x3eecf6[_0x35c655(0x235)]());}_0x3eecf6[_0x35c655(0x205)](_0x3807c3);break;}case'SPATIAL':case _0x35c655(0x224):case _0x35c655(0x1f7):_0x3eecf6[_0x35c655(0x205)](_0x3807c3);break;case _0x35c655(0x23a):while(_0x3eecf6[_0x35c655(0x220)]>0x0&&_0x3eecf6[_0x3eecf6[_0x35c655(0x220)]-0x1][_0x35c655(0x20f)]!=='LPAREN'){_0x3dd5a4[_0x35c655(0x205)](_0x3eecf6[_0x35c655(0x235)]());}_0x3eecf6[_0x35c655(0x235)]();_0x3eecf6[_0x35c655(0x220)]>0x0&&(_0x3eecf6[_0x3eecf6[_0x35c655(0x220)]-0x1][_0x35c655(0x20f)]===_0x35c655(0x231)||_0x3eecf6[_0x3eecf6[_0x35c655(0x220)]-0x1][_0x35c655(0x20f)]===_0x35c655(0x224))&&_0x3dd5a4[_0x35c655(0x205)](_0x3eecf6[_0x35c655(0x235)]());break;case _0x35c655(0x221):case _0x35c655(0x1d1):break;default:throw new Error('Unknown\x20token\x20type\x20'+_0x3807c3[_0x35c655(0x20f)]);}}while(_0x3eecf6['length']>0x0){_0x3dd5a4[_0x35c655(0x205)](_0x3eecf6[_0x35c655(0x235)]());}function _0x189cde(){const _0x5d1067=_0x35c655;let _0x142b3f,_0x2a5630,_0x1f1564=_0x3dd5a4[_0x5d1067(0x235)]();switch(_0x1f1564[_0x5d1067(0x20f)]){case _0x5d1067(0x209):{let _0x3812d2=_0x189cde(),_0x15bc8a=_0x189cde();return new _0x5315d9[(_0x5d1067(0x1ec))][(_0x1f1564[_0x5d1067(0x1dd)]['toUpperCase']())](_0x15bc8a,_0x3812d2);}case _0x5d1067(0x224):{let _0x1dabbc=_0x189cde();return a70_0x23ea58['not'](_0x1dabbc);}case'BETWEEN':{let _0x1449a4,_0x5401c7;return _0x3dd5a4[_0x5d1067(0x235)](),_0x5401c7=_0x189cde(),_0x1449a4=_0x189cde(),_0x2a5630=_0x189cde(),a70_0x23ea58['between'](_0x2a5630,_0x1449a4,_0x5401c7);}case'COMPARISON':{return _0x142b3f=_0x189cde(),_0x2a5630=_0x189cde(),new _0x5315d9[(_0x5d1067(0x210))][(_0x1f1564[_0x5d1067(0x1dd)][_0x5d1067(0x22a)]())](_0x2a5630,_0x142b3f);}case _0x5d1067(0x1e5):_0x2a5630=_0x189cde();return new _0x5315d9[(_0x5d1067(0x210))][(_0x1f1564[_0x5d1067(0x1dd)]['toUpperCase']())](_0x2a5630);case _0x5d1067(0x1fc):{let _0x34026e=_0x1f1564['text'][_0x5d1067(0x1e7)](/^'(.*)'$/);return _0x34026e?_0x34026e[0x1][_0x5d1067(0x1f6)](/''/g,'\x27'):Number(_0x1f1564[_0x5d1067(0x1dd)]);}case _0x5d1067(0x231):switch(_0x1f1564[_0x5d1067(0x1dd)][_0x5d1067(0x22a)]()){case _0x5d1067(0x1fe):{let _0x12a7bf=_0x189cde(),_0x5af77c=_0x189cde(),_0x4b011e=_0x189cde(),_0x4c7fe1=_0x189cde(),_0x145437=_0x189cde();return a70_0x23ea58[_0x5d1067(0x22e)](_0x145437,[_0x4c7fe1,_0x4b011e,_0x5af77c,_0x12a7bf]);}case _0x5d1067(0x1e2):_0x142b3f=_0x189cde(),_0x2a5630=_0x189cde();return a70_0x23ea58[_0x5d1067(0x1df)](_0x2a5630,_0x142b3f);case _0x5d1067(0x1fb):_0x142b3f=_0x189cde(),_0x2a5630=_0x189cde();return a70_0x23ea58[_0x5d1067(0x22b)](_0x2a5630,_0x142b3f);case _0x5d1067(0x23b):_0x142b3f=_0x189cde(),_0x2a5630=_0x189cde();return a70_0x23ea58[_0x5d1067(0x1ee)](_0x2a5630,_0x142b3f);}break;case'GEOMETRY':return new WKT()[_0x5d1067(0x229)](_0x1f1564[_0x5d1067(0x1dd)],{});default:return _0x1f1564[_0x5d1067(0x1dd)];}}let _0x5bac1e=_0x189cde();if(_0x3dd5a4[_0x35c655(0x220)]>0x0){let _0x5f1be9='剩余的节点无法解析:\x20\x0a';for(let _0x56d32f=_0x3dd5a4[_0x35c655(0x220)]-0x1;_0x56d32f>=0x0;_0x56d32f--){_0x5f1be9+=_0x3dd5a4[_0x56d32f][_0x35c655(0x20f)]+':\x20'+_0x3dd5a4[_0x56d32f][_0x35c655(0x1dd)]+'\x0a';}throw new Error(_0x5f1be9);}return _0x5bac1e;}[a70_0x1a2397(0x233)](_0x1573ff){const _0x27f39c=a70_0x1a2397;try{return this['buildAst'](this[_0x27f39c(0x1d5)](_0x1573ff));}catch(_0x5b1e27){console[_0x27f39c(0x1eb)](_0x27f39c(0x239)+_0x1573ff),console['warn'](_0x5b1e27);}}[a70_0x1a2397(0x1e0)](_0x1c0a93){const _0x157544=a70_0x1a2397;switch(_0x1c0a93[_0x157544(0x1de)]){case _0x157544(0x1fe):return _0x157544(0x1fa)+_0x1c0a93[_0x157544(0x223)]+','+_0x1c0a93['extent'][_0x157544(0x202)](',')+','+_0x1c0a93[_0x157544(0x1e1)]+')';case _0x157544(0x1f0):return _0x157544(0x214)+_0x1c0a93[_0x157544(0x223)]+',\x20'+this[_0x157544(0x229)](_0x1c0a93[_0x157544(0x1da)])+')';case _0x157544(0x21e):return _0x157544(0x22f)+_0x1c0a93[_0x157544(0x223)]+',\x20'+this[_0x157544(0x229)](_0x1c0a93[_0x157544(0x1da)])+')';case'Contains':return _0x157544(0x212)+_0x1c0a93['geometryName']+',\x20'+this[_0x157544(0x229)](_0x1c0a93[_0x157544(0x1da)])+')';case _0x157544(0x1ff):return'NOT\x20('+this[_0x157544(0x1e0)](_0x1c0a93[_0x157544(0x22d)])+')';case _0x157544(0x1ed):case'Or':{let _0x5b9be9='(',_0x30c49e=!![];for(let _0x58e8ae=0x0;_0x58e8ae<_0x1c0a93[_0x157544(0x238)][_0x157544(0x220)];_0x58e8ae++){_0x30c49e?_0x30c49e=![]:_0x5b9be9+=')\x20'+_0x1c0a93[_0x157544(0x1de)]['toLowerCase']()+'\x20(',_0x5b9be9+=this[_0x157544(0x1e0)](_0x1c0a93['conditions'][_0x58e8ae]);}return _0x5b9be9+')';}case _0x157544(0x1ea):return _0x1c0a93[_0x157544(0x20b)]+_0x157544(0x1f1)+this['write'](_0x1c0a93['lowerBoundary'])+'\x20AND\x20'+this['write'](_0x1c0a93[_0x157544(0x1e9)]);case'PropertyIsEqualTo':case'PropertyIsNotEqualTo':case _0x157544(0x237):case'PropertyIsLessThanOrEqualTo':case _0x157544(0x201):case _0x157544(0x1d6):case _0x157544(0x21b):case _0x157544(0x215):{return _0x1c0a93['expression']!==null?_0x1c0a93[_0x157544(0x225)]+'\x20'+this['operatorReverse'][_0x1c0a93[_0x157544(0x1de)]]+'\x20'+this['write'](_0x1c0a93[_0x157544(0x228)]):_0x1c0a93[_0x157544(0x225)]+'\x20'+this[_0x157544(0x1e4)][_0x1c0a93[_0x157544(0x1de)]];}case undefined:if(typeof _0x1c0a93==='string')return'\x27'+_0x1c0a93[_0x157544(0x1f6)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x1c0a93==='number')return String(_0x1c0a93);}break;default:throw new Error('Can\x27t\x20encode:\x20'+_0x1c0a93[_0x157544(0x20c)]+'\x20'+_0x1c0a93);}}['readGeometry'](_0x8a0dc3){if(_0x8a0dc3 instanceof a70_0x43de91)return new WKT()['writeGeometry'](_0x8a0dc3);}}
|
|
1
|
+
const a70_0x1547b3=a70_0x4f02;function a70_0x2223(){const _0x1b179c=['IS_NULL','WITHIN','srsName','lessThanOrEqualTo','buildAst','string','\x20or\x20','RPAREN','toUpperCase','\x0a\x20\x20\x20\x20','and','bbox','pop','2863tEzlcq','WITHIN(','geometryName','END','No\x20follows\x20list\x20for\x20','剩余的节点无法解析:\x20\x0a','128764LALboN','lastIndexOf','number','426252ATlWom','toLowerCase','\x20AND\x20','10338hgjDiC','BETWEEN','tokens','PropertyIsLessThanOrEqualTo','isNull','COMPARISON','PROPERTY','greaterThanOrEqualTo','exec','33rknuxx','PropertyIsBetween','tryToken','2305814HqvtRy','replaceAll','Unknown\x20token\x20type\x20','PropertyIsGreaterThanOrEqualTo','split','PropertyIsGreaterThan','tokenize','warn','patterns','tagName_','between','readGeometry','NOT','ERROR:\x20In\x20parsing:\x20[','BBOX','1597138CPazOA','property','INTERSECTS(','LIKE','29816DZSarY','And','operators','geometry','intersects','equalTo','greaterThan','inPatterns','VALUE','text','shift','push','like','parseInToOr','INTERSECTS','BBOX(','remainder','precedence','Intersects','670TJljjE','replace','GEOMETRY','PropertyIsNull','lowerBoundary','LOGICAL','CLASS_NAME','PropertyIsLessThan','CQL解析失败:','type','4105kHMUpz','contains','within','substring','PropertyIsLike','CONTAINS(','follows','write','SPATIAL','220221FSrMZM','nextToken','indexOf','index','length','match','propertyName','Within','51NMNIhU','operatorReverse','logicals','COMMA','extent','NOT\x20(','LPAREN','Can\x27t\x20encode:\x20','notEqualTo','lessThan'];a70_0x2223=function(){return _0x1b179c;};return a70_0x2223();}(function(_0x37b38c,_0x579009){const _0x348d80=a70_0x4f02,_0x42c8aa=_0x37b38c();while(!![]){try{const _0x2fcd5d=-parseInt(_0x348d80(0x238))/0x1+parseInt(_0x348d80(0x229))/0x2+-parseInt(_0x348d80(0x1fa))/0x3*(parseInt(_0x348d80(0x217))/0x4)+-parseInt(_0x348d80(0x1e9))/0x5*(parseInt(_0x348d80(0x21d))/0x6)+-parseInt(_0x348d80(0x211))/0x7*(-parseInt(_0x348d80(0x23c))/0x8)+-parseInt(_0x348d80(0x1f2))/0x9*(-parseInt(_0x348d80(0x24f))/0xa)+parseInt(_0x348d80(0x226))/0xb*(parseInt(_0x348d80(0x21a))/0xc);if(_0x2fcd5d===_0x579009)break;else _0x42c8aa['push'](_0x42c8aa['shift']());}catch(_0x16f67e){_0x42c8aa['push'](_0x42c8aa['shift']());}}}(a70_0x2223,0xd300c));import*as a70_0x1b0a13 from'ol/format/filter';function a70_0x4f02(_0x1fd592,_0x4f33a7){const _0x222331=a70_0x2223();return a70_0x4f02=function(_0x4f02ee,_0x2b001a){_0x4f02ee=_0x4f02ee-0x1e5;let _0x50af20=_0x222331[_0x4f02ee];return _0x50af20;},a70_0x4f02(_0x1fd592,_0x4f33a7);}import{WKT}from'ol/format';import a70_0x2c1dfe from'ol/geom/Geometry';export default class CQL{constructor(){const _0x13916a=a70_0x4f02;this[_0x13916a(0x243)]=/ (IN) /i,this[_0x13916a(0x21f)]=[_0x13916a(0x223),_0x13916a(0x222),_0x13916a(0x244),_0x13916a(0x254)],this[_0x13916a(0x231)]={'PROPERTY':/^[_a-zA-Z]\w*/,'COMPARISON':/^(=|<>|<=|<|>=|>|LIKE)/i,'IS_NULL':/^IS NULL/i,'COMMA':/^,/,'LOGICAL':/^(AND|OR)/i,'VALUE':/^('([^']|'')*'|-?\d+(\.\d*)?|\.\d+)/,'LPAREN':/^\(/,'RPAREN':/^\)/,'SPATIAL':/^(BBOX|INTERSECTS|DWITHIN|WITHIN|CONTAINS)/i,'NOT':/^NOT/i,'BETWEEN':/^BETWEEN/i,'GEOMETRY':function(_0x1399ef){const _0x4422ca=_0x13916a;let _0x20abd1=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x4422ca(0x225)](_0x1399ef);if(_0x20abd1){let _0x56d369=_0x1399ef[_0x4422ca(0x1f6)],_0x432d89=_0x1399ef[_0x4422ca(0x1f4)]('(',_0x20abd1[0x0]['length']);if(_0x432d89>-0x1){let _0x5ee8ec=0x1;while(_0x432d89<_0x56d369&&_0x5ee8ec>0x0){_0x432d89++;switch(_0x1399ef['charAt'](_0x432d89)){case'(':_0x5ee8ec++;break;case')':_0x5ee8ec--;break;default:}}}return[_0x1399ef[_0x4422ca(0x1ec)](0x0,_0x432d89+0x1)];}},'END':/^$/},this[_0x13916a(0x1ef)]={'LPAREN':['GEOMETRY',_0x13916a(0x1f1),'PROPERTY',_0x13916a(0x244),_0x13916a(0x200)],'RPAREN':[_0x13916a(0x235),_0x13916a(0x254),_0x13916a(0x214),_0x13916a(0x20b)],'PROPERTY':['COMPARISON','BETWEEN',_0x13916a(0x1fd),_0x13916a(0x204)],'BETWEEN':[_0x13916a(0x244)],'IS_NULL':[_0x13916a(0x214)],'COMPARISON':[_0x13916a(0x244)],'COMMA':[_0x13916a(0x251),'VALUE',_0x13916a(0x223)],'VALUE':[_0x13916a(0x254),'COMMA',_0x13916a(0x20b),_0x13916a(0x214)],'SPATIAL':['LPAREN'],'LOGICAL':['NOT',_0x13916a(0x244),_0x13916a(0x1f1),'PROPERTY',_0x13916a(0x200)],'NOT':['PROPERTY',_0x13916a(0x200)],'GEOMETRY':[_0x13916a(0x1fd),_0x13916a(0x20b)]},this['operators']={'=':a70_0x1b0a13[_0x13916a(0x241)],'<>':a70_0x1b0a13[_0x13916a(0x202)],'<':a70_0x1b0a13[_0x13916a(0x203)],'<=':a70_0x1b0a13[_0x13916a(0x207)],'>':a70_0x1b0a13[_0x13916a(0x242)],'>=':a70_0x1b0a13[_0x13916a(0x224)],'LIKE':a70_0x1b0a13[_0x13916a(0x248)],'BETWEEN':a70_0x1b0a13[_0x13916a(0x233)],'IS\x20NULL':a70_0x1b0a13[_0x13916a(0x221)]},this[_0x13916a(0x1fb)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x13916a(0x23b),'PropertyIsNull':'IS\x20NULL','PropertyIsBetween':_0x13916a(0x21e)},this[_0x13916a(0x1fc)]={'AND':a70_0x1b0a13[_0x13916a(0x20e)],'OR':a70_0x1b0a13['or']},this[_0x13916a(0x24d)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}[a70_0x1547b3(0x228)](_0x30f478,_0x3780fd){const _0x10cc84=a70_0x1547b3;return _0x3780fd instanceof RegExp?_0x3780fd[_0x10cc84(0x225)](_0x30f478):_0x3780fd(_0x30f478);}[a70_0x1547b3(0x1f3)](_0x5b22ba,_0x6f71f2){const _0x8f5bb8=a70_0x1547b3;let _0x26c953,_0x2bda7d,_0x13168f=_0x6f71f2[_0x8f5bb8(0x1f6)];for(_0x26c953=0x0;_0x26c953<_0x13168f;_0x26c953++){_0x2bda7d=_0x6f71f2[_0x26c953];let _0x1dd056=this[_0x8f5bb8(0x231)][_0x2bda7d],_0x587f35=this[_0x8f5bb8(0x228)](_0x5b22ba,_0x1dd056);if(_0x587f35){let _0x463f47=_0x587f35[0x0],_0x3eab10=_0x5b22ba[_0x8f5bb8(0x1ec)](_0x463f47[_0x8f5bb8(0x1f6)])[_0x8f5bb8(0x250)](/^\s*/,'');return{'type':_0x2bda7d,'text':_0x463f47,'remainder':_0x3eab10};}}let _0x46985e=_0x8f5bb8(0x236)+_0x5b22ba+'],\x20expected\x20one\x20of:\x20';for(_0x26c953=0x0;_0x26c953<_0x13168f;_0x26c953++){_0x2bda7d=_0x6f71f2[_0x26c953],_0x46985e+=_0x8f5bb8(0x20d)+_0x2bda7d+':\x20'+this[_0x8f5bb8(0x231)][_0x2bda7d];}throw new Error(_0x46985e);}[a70_0x1547b3(0x22f)](_0x41d598){const _0x1bca4e=a70_0x1547b3;_0x41d598=_0x41d598[_0x1bca4e(0x22a)]('[','')[_0x1bca4e(0x22a)](']','');let _0x24493a=this[_0x1bca4e(0x228)](_0x41d598,this[_0x1bca4e(0x243)]);_0x24493a&&(_0x41d598=this[_0x1bca4e(0x249)](_0x41d598,_0x24493a));let _0x4dd027=[],_0x535d18,_0x5050ba=[_0x1bca4e(0x235),_0x1bca4e(0x251),_0x1bca4e(0x1f1),'PROPERTY','LPAREN'];do{_0x535d18=this[_0x1bca4e(0x1f3)](_0x41d598,_0x5050ba),_0x41d598=_0x535d18[_0x1bca4e(0x24c)],_0x5050ba=this[_0x1bca4e(0x1ef)][_0x535d18['type']];if(_0x535d18[_0x1bca4e(0x1e8)]!==_0x1bca4e(0x214)&&!_0x5050ba)throw new Error(_0x1bca4e(0x215)+_0x535d18['type']);_0x4dd027[_0x1bca4e(0x247)](_0x535d18);}while(_0x535d18['type']!==_0x1bca4e(0x214));return _0x4dd027;}[a70_0x1547b3(0x249)](_0x68cab1,_0x43e4b5){const _0x3490de=a70_0x1547b3;let _0x2b3329=this['tryToken'](_0x68cab1,/\((.+?)\)/g);if(_0x2b3329){let _0x293198=_0x68cab1[_0x3490de(0x1ec)](0x0,_0x43e4b5[_0x3490de(0x1f5)]),_0x32cd8e=_0x2b3329[0x1],_0x259550=_0x32cd8e['replaceAll']('\x20','')[_0x3490de(0x22d)](','),_0x285ace='',_0x4f6b54='';if(_0x293198[_0x3490de(0x1f4)]('\x20')>-0x1){let _0x6a8c82=_0x293198[_0x3490de(0x218)]('\x20');_0x4f6b54=_0x293198[_0x3490de(0x1ec)](0x0,_0x6a8c82+0x1),_0x285ace=_0x293198[_0x3490de(0x1ec)](_0x6a8c82+0x1,_0x293198[_0x3490de(0x1f6)]);}else _0x285ace=_0x293198;let _0x2a143d=_0x4f6b54;for(let _0x3509ae=0x0;_0x3509ae<_0x259550[_0x3490de(0x1f6)];_0x3509ae++){let _0x47af8e=_0x259550[_0x3509ae];_0x2a143d+=_0x285ace+'='+_0x47af8e,_0x3509ae<_0x259550[_0x3490de(0x1f6)]-0x1&&(_0x2a143d+=_0x3490de(0x20a));}return _0x2a143d;}return _0x68cab1;}[a70_0x1547b3(0x208)](_0x584783){const _0x4100b5=a70_0x1547b3;let _0xd06e8d=this,_0x41e71a=[],_0x2a68c5=[];while(_0x584783[_0x4100b5(0x1f6)]){let _0x4392be=_0x584783[_0x4100b5(0x246)]();switch(_0x4392be[_0x4100b5(0x1e8)]){case _0x4100b5(0x223):case _0x4100b5(0x251):case _0x4100b5(0x244):_0x2a68c5[_0x4100b5(0x247)](_0x4392be);break;case _0x4100b5(0x222):case _0x4100b5(0x21e):case _0x4100b5(0x204):case _0x4100b5(0x254):{let _0x54a236=this[_0x4100b5(0x24d)][_0x4392be[_0x4100b5(0x1e8)]];while(_0x41e71a[_0x4100b5(0x1f6)]>0x0&&this[_0x4100b5(0x24d)][_0x41e71a[_0x41e71a[_0x4100b5(0x1f6)]-0x1][_0x4100b5(0x1e8)]]<=_0x54a236){_0x2a68c5[_0x4100b5(0x247)](_0x41e71a['pop']());}_0x41e71a['push'](_0x4392be);break;}case'SPATIAL':case'NOT':case'LPAREN':_0x41e71a['push'](_0x4392be);break;case'RPAREN':while(_0x41e71a[_0x4100b5(0x1f6)]>0x0&&_0x41e71a[_0x41e71a['length']-0x1][_0x4100b5(0x1e8)]!=='LPAREN'){_0x2a68c5[_0x4100b5(0x247)](_0x41e71a['pop']());}_0x41e71a['pop']();_0x41e71a[_0x4100b5(0x1f6)]>0x0&&(_0x41e71a[_0x41e71a[_0x4100b5(0x1f6)]-0x1][_0x4100b5(0x1e8)]===_0x4100b5(0x1f1)||_0x41e71a[_0x41e71a[_0x4100b5(0x1f6)]-0x1][_0x4100b5(0x1e8)]===_0x4100b5(0x235))&&_0x2a68c5[_0x4100b5(0x247)](_0x41e71a['pop']());break;case'COMMA':case'END':break;default:throw new Error(_0x4100b5(0x22b)+_0x4392be['type']);}}while(_0x41e71a[_0x4100b5(0x1f6)]>0x0){_0x2a68c5[_0x4100b5(0x247)](_0x41e71a[_0x4100b5(0x210)]());}function _0x282a30(){const _0x34f220=_0x4100b5;let _0x751dc9,_0x2e7c27,_0x2d89c5=_0x2a68c5['pop']();switch(_0x2d89c5[_0x34f220(0x1e8)]){case _0x34f220(0x254):{let _0x1a92fc=_0x282a30(),_0x61c093=_0x282a30();return new _0xd06e8d[(_0x34f220(0x1fc))][(_0x2d89c5[_0x34f220(0x245)]['toUpperCase']())](_0x61c093,_0x1a92fc);}case _0x34f220(0x235):{let _0xe5faac=_0x282a30();return a70_0x1b0a13['not'](_0xe5faac);}case'BETWEEN':{let _0x2e7187,_0x4b2469;return _0x2a68c5[_0x34f220(0x210)](),_0x4b2469=_0x282a30(),_0x2e7187=_0x282a30(),_0x2e7c27=_0x282a30(),a70_0x1b0a13['between'](_0x2e7c27,_0x2e7187,_0x4b2469);}case'COMPARISON':{return _0x751dc9=_0x282a30(),_0x2e7c27=_0x282a30(),new _0xd06e8d[(_0x34f220(0x23e))][(_0x2d89c5['text'][_0x34f220(0x20c)]())](_0x2e7c27,_0x751dc9);}case _0x34f220(0x204):_0x2e7c27=_0x282a30();return new _0xd06e8d[(_0x34f220(0x23e))][(_0x2d89c5[_0x34f220(0x245)]['toUpperCase']())](_0x2e7c27);case'VALUE':{let _0x249da5=_0x2d89c5[_0x34f220(0x245)][_0x34f220(0x1f7)](/^'(.*)'$/);return _0x249da5?_0x249da5[0x1][_0x34f220(0x250)](/''/g,'\x27'):Number(_0x2d89c5['text']);}case _0x34f220(0x1f1):switch(_0x2d89c5[_0x34f220(0x245)][_0x34f220(0x20c)]()){case'BBOX':{let _0x130af2=_0x282a30(),_0x518a57=_0x282a30(),_0x3fdb97=_0x282a30(),_0x35a8e4=_0x282a30(),_0x5a35c4=_0x282a30();return a70_0x1b0a13[_0x34f220(0x20f)](_0x5a35c4,[_0x35a8e4,_0x3fdb97,_0x518a57,_0x130af2]);}case _0x34f220(0x24a):_0x751dc9=_0x282a30(),_0x2e7c27=_0x282a30();return a70_0x1b0a13[_0x34f220(0x240)](_0x2e7c27,_0x751dc9);case _0x34f220(0x205):_0x751dc9=_0x282a30(),_0x2e7c27=_0x282a30();return a70_0x1b0a13[_0x34f220(0x1eb)](_0x2e7c27,_0x751dc9);case'CONTAINS':_0x751dc9=_0x282a30(),_0x2e7c27=_0x282a30();return a70_0x1b0a13[_0x34f220(0x1ea)](_0x2e7c27,_0x751dc9);}break;case _0x34f220(0x251):return new WKT()['readGeometry'](_0x2d89c5[_0x34f220(0x245)],{});default:return _0x2d89c5[_0x34f220(0x245)];}}let _0x5ad4e3=_0x282a30();if(_0x2a68c5[_0x4100b5(0x1f6)]>0x0){let _0x123a35=_0x4100b5(0x216);for(let _0x12f7d2=_0x2a68c5[_0x4100b5(0x1f6)]-0x1;_0x12f7d2>=0x0;_0x12f7d2--){_0x123a35+=_0x2a68c5[_0x12f7d2][_0x4100b5(0x1e8)]+':\x20'+_0x2a68c5[_0x12f7d2][_0x4100b5(0x245)]+'\x0a';}throw new Error(_0x123a35);}return _0x5ad4e3;}['read'](_0x2a8e78){const _0x37d989=a70_0x1547b3;try{return this['buildAst'](this[_0x37d989(0x22f)](_0x2a8e78));}catch(_0x82c783){console[_0x37d989(0x230)](_0x37d989(0x1e7)+_0x2a8e78),console[_0x37d989(0x230)](_0x82c783);}}[a70_0x1547b3(0x1f0)](_0x1179ff){const _0xae684a=a70_0x1547b3;switch(_0x1179ff['tagName_']){case _0xae684a(0x237):return _0xae684a(0x24b)+_0x1179ff['geometryName']+','+_0x1179ff[_0xae684a(0x1fe)]['join'](',')+','+_0x1179ff[_0xae684a(0x206)]+')';case _0xae684a(0x1f9):return _0xae684a(0x212)+_0x1179ff['geometryName']+',\x20'+this[_0xae684a(0x234)](_0x1179ff[_0xae684a(0x23f)])+')';case _0xae684a(0x24e):return _0xae684a(0x23a)+_0x1179ff[_0xae684a(0x213)]+',\x20'+this[_0xae684a(0x234)](_0x1179ff[_0xae684a(0x23f)])+')';case'Contains':return _0xae684a(0x1ee)+_0x1179ff[_0xae684a(0x213)]+',\x20'+this[_0xae684a(0x234)](_0x1179ff[_0xae684a(0x23f)])+')';case'Not':return _0xae684a(0x1ff)+this['write'](_0x1179ff['condition'])+')';case _0xae684a(0x23d):case'Or':{let _0x1ceec9='(',_0x373e04=!![];for(let _0x537dc3=0x0;_0x537dc3<_0x1179ff['conditions'][_0xae684a(0x1f6)];_0x537dc3++){_0x373e04?_0x373e04=![]:_0x1ceec9+=')\x20'+_0x1179ff['tagName_'][_0xae684a(0x21b)]()+'\x20(',_0x1ceec9+=this['write'](_0x1179ff['conditions'][_0x537dc3]);}return _0x1ceec9+')';}case _0xae684a(0x227):return _0x1179ff[_0xae684a(0x239)]+'\x20BETWEEN\x20'+this[_0xae684a(0x1f0)](_0x1179ff[_0xae684a(0x253)])+_0xae684a(0x21c)+this[_0xae684a(0x1f0)](_0x1179ff['upperBoundary']);case'PropertyIsEqualTo':case'PropertyIsNotEqualTo':case _0xae684a(0x1e6):case _0xae684a(0x220):case _0xae684a(0x22e):case _0xae684a(0x22c):case _0xae684a(0x1ed):case _0xae684a(0x252):{return _0x1179ff['expression']!==null?_0x1179ff[_0xae684a(0x1f8)]+'\x20'+this[_0xae684a(0x1fb)][_0x1179ff[_0xae684a(0x232)]]+'\x20'+this[_0xae684a(0x1f0)](_0x1179ff['expression']):_0x1179ff[_0xae684a(0x1f8)]+'\x20'+this['operatorReverse'][_0x1179ff['tagName_']];}case undefined:if(typeof _0x1179ff===_0xae684a(0x209))return'\x27'+_0x1179ff['replace'](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x1179ff===_0xae684a(0x219))return String(_0x1179ff);}break;default:throw new Error(_0xae684a(0x201)+_0x1179ff[_0xae684a(0x1e5)]+'\x20'+_0x1179ff);}}[a70_0x1547b3(0x234)](_0x422b80){if(_0x422b80 instanceof a70_0x2c1dfe)return new WKT()['writeGeometry'](_0x422b80);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a71_0x2fc0(_0x2117e4,_0x135188){const _0x490bca=a71_0x490b();return a71_0x2fc0=function(_0x2fc036,_0x11ec80){_0x2fc036=_0x2fc036-0x1c5;let _0x119c9c=_0x490bca[_0x2fc036];return _0x119c9c;},a71_0x2fc0(_0x2117e4,_0x135188);}(function(_0x1a3b49,_0x17ff71){const _0x242f7e=a71_0x2fc0,_0x3901a9=_0x1a3b49();while(!![]){try{const _0x199a6e=parseInt(_0x242f7e(0x1c9))/0x1*(parseInt(_0x242f7e(0x1d2))/0x2)+parseInt(_0x242f7e(0x1e5))/0x3+parseInt(_0x242f7e(0x1e8))/0x4+parseInt(_0x242f7e(0x1cf))/0x5*(parseInt(_0x242f7e(0x1e3))/0x6)+parseInt(_0x242f7e(0x1d7))/0x7*(parseInt(_0x242f7e(0x1c8))/0x8)+parseInt(_0x242f7e(0x1cb))/0x9*(-parseInt(_0x242f7e(0x1da))/0xa)+parseInt(_0x242f7e(0x1c6))/0xb*(-parseInt(_0x242f7e(0x1e2))/0xc);if(_0x199a6e===_0x17ff71)break;else _0x3901a9['push'](_0x3901a9['shift']());}catch(_0x3b7bf8){_0x3901a9['push'](_0x3901a9['shift']());}}}(a71_0x490b,0xda96f));function a71_0x490b(){const _0x32d127=['template','1960120hcthSy','8KjlmiI','PropertyIsLessThanOrEqualTo','3303xDaSXX','PropertyIsLike','propertyName','PropertyIsGreaterThan','10DDPksI','PropertyIsGreaterThanOrEqualTo','tagName_','19700vyFjxg','length','PropertyIsEqualTo','PropertyIsBetween','conditions','49jtEjMf','expression','upperBoundary','12340anfDRt','idMapLength','Not','property','join','condition','idMap','PropertyIsNotEqualTo','1934664RkKhFV','4412766WkTdXc','And','2936394ruxTGr','PropertyIsLessThan','read','1961032xZANrj','PropertyIsNull','push','231hDhAHu'];a71_0x490b=function(){return _0x32d127;};return a71_0x490b();}import a71_0x44462c from'./CQL';export function isMatchCql(_0x174e19,_0x54095a){const _0x343a1d=a71_0x2fc0;let _0x2fd0b3=new a71_0x44462c()[_0x343a1d(0x1e7)](_0x54095a);return isMatchFilter(_0x174e19,_0x2fd0b3);}export function isMatchFilter(_0x1aa498,_0x1e6395){const _0x2d197b=a71_0x2fc0;switch(_0x1e6395[_0x2d197b(0x1d1)]){case _0x2d197b(0x1dc):return!isMatchFilter(_0x1aa498,_0x1e6395[_0x2d197b(0x1df)]);case'And':{let _0x446fd0=!![];for(let _0x5cd905=0x0;_0x5cd905<_0x1e6395[_0x2d197b(0x1d6)]['length'];_0x5cd905++){_0x446fd0=_0x446fd0&&isMatchFilter(_0x1aa498,_0x1e6395[_0x2d197b(0x1d6)][_0x5cd905]);}return _0x446fd0;}case'Or':{let _0x2f3703=![];for(let _0x3f674a=0x0;_0x3f674a<_0x1e6395['conditions'][_0x2d197b(0x1d3)];_0x3f674a++){_0x2f3703=_0x2f3703||isMatchFilter(_0x1aa498,_0x1e6395['conditions'][_0x3f674a]);}return _0x2f3703;}case'PropertyIsBetween':return _0x1aa498[_0x1e6395[_0x2d197b(0x1dd)]]>_0x1e6395['lowerBoundary']&&_0x1aa498[_0x1e6395[_0x2d197b(0x1dd)]]<_0x1e6395[_0x2d197b(0x1d9)];case _0x2d197b(0x1d4):return _0x1aa498[_0x1e6395[_0x2d197b(0x1cd)]]===_0x1e6395[_0x2d197b(0x1d8)];case _0x2d197b(0x1e1):return _0x1aa498[_0x1e6395[_0x2d197b(0x1cd)]]!==_0x1e6395['expression'];case _0x2d197b(0x1e6):return _0x1aa498[_0x1e6395[_0x2d197b(0x1cd)]]<_0x1e6395['expression'];case'PropertyIsLessThanOrEqualTo':return _0x1aa498[_0x1e6395['propertyName']]<=_0x1e6395[_0x2d197b(0x1d8)];case _0x2d197b(0x1ce):return _0x1aa498[_0x1e6395[_0x2d197b(0x1cd)]]>_0x1e6395[_0x2d197b(0x1d8)];case _0x2d197b(0x1d0):return _0x1aa498[_0x1e6395[_0x2d197b(0x1cd)]]>=_0x1e6395[_0x2d197b(0x1d8)];case _0x2d197b(0x1cc):return _0x1aa498[_0x1e6395['propertyName']]['indexOf'](_0x1e6395[_0x2d197b(0x1d8)])>-0x1;case _0x2d197b(0x1e9):{return!_0x1aa498[_0x1e6395[_0x2d197b(0x1cd)]];}default:return![];}}export function isEqualFilter(_0x4ad6b2,_0x3ccdc4){const _0x2cc619=a71_0x2fc0;switch(_0x4ad6b2['tagName_']){case'Not':return _0x4ad6b2[_0x2cc619(0x1d1)]===_0x3ccdc4[_0x2cc619(0x1d1)]&&isEqualFilter(_0x4ad6b2['condition'],_0x3ccdc4[_0x2cc619(0x1df)]);case'Or':case'And':{let _0x1c37a0=_0x4ad6b2[_0x2cc619(0x1d1)]===_0x3ccdc4[_0x2cc619(0x1d1)]&&_0x4ad6b2[_0x2cc619(0x1d6)][_0x2cc619(0x1d3)]===_0x3ccdc4[_0x2cc619(0x1d6)]['length'];for(let _0x211136=0x0;_0x211136<_0x4ad6b2[_0x2cc619(0x1d6)][_0x2cc619(0x1d3)];_0x211136++){_0x1c37a0=_0x1c37a0&&isEqualFilter(_0x4ad6b2[_0x2cc619(0x1d6)][_0x211136],_0x3ccdc4['conditions'][_0x211136]);}return _0x1c37a0;}case _0x2cc619(0x1d5):return _0x4ad6b2['tagName_']===_0x3ccdc4[_0x2cc619(0x1d1)]&&_0x4ad6b2['property']===_0x3ccdc4[_0x2cc619(0x1dd)];case _0x2cc619(0x1d4):case _0x2cc619(0x1e1):case _0x2cc619(0x1e6):case _0x2cc619(0x1ca):case _0x2cc619(0x1ce):case _0x2cc619(0x1d0):case _0x2cc619(0x1cc):case'PropertyIsNull':return _0x4ad6b2[_0x2cc619(0x1d1)]===_0x3ccdc4['tagName_']&&_0x4ad6b2[_0x2cc619(0x1cd)]===_0x3ccdc4[_0x2cc619(0x1cd)];default:return![];}}export function indexOfFilter(_0x1d46c9,_0x54470c){const _0x38b2a8=a71_0x2fc0;let _0xcf8407=-0x1;if((_0x1d46c9===null||_0x1d46c9===void 0x0?void 0x0:_0x1d46c9[_0x38b2a8(0x1d3)])>0x0)for(let _0x146bc8 in _0x1d46c9){if(isEqualFilter(_0x1d46c9[_0x146bc8][_0x38b2a8(0x1c7)],_0x54470c))return _0x146bc8;}return _0xcf8407;}export function getIndexByTemplate(_0x1c73a0,_0xecc560){const _0x15c917=a71_0x2fc0;let _0x1eed3a=_0xecc560['template'];if(_0xecc560[_0x15c917(0x1db)]>0x0){let _0x497815=getKeyByTemplate(_0x1c73a0,_0x1eed3a);if(_0x497815 instanceof Array)for(let _0x453388 in _0x497815){let _0x1c6f5f=_0xecc560[_0x15c917(0x1e0)][_0x497815[_0x453388]+'_'+_0x453388];if(_0x1c6f5f)return _0x1c6f5f;}else return _0xecc560[_0x15c917(0x1e0)][_0x497815];}return null;}export function getKeyByTemplate(_0x36af74,_0x19128a){const _0x2b1fcc=a71_0x2fc0;switch(_0x19128a[_0x2b1fcc(0x1d1)]){case _0x2b1fcc(0x1d4):{return _0x36af74[_0x19128a[_0x2b1fcc(0x1cd)]];}case _0x2b1fcc(0x1e4):{let _0x28951e=[];for(let _0x1f3219=0x0;_0x1f3219<_0x19128a[_0x2b1fcc(0x1d6)][_0x2b1fcc(0x1d3)];_0x1f3219++){let _0x303ff3=getKeyByTemplate(_0x36af74,_0x19128a['conditions'][_0x1f3219]);_0x303ff3&&_0x28951e[_0x2b1fcc(0x1c5)](_0x303ff3);}return _0x28951e[_0x2b1fcc(0x1de)](',');}case'Or':{let _0x5bef9b=[];for(let _0x3f9e07=0x0;_0x3f9e07<_0x19128a[_0x2b1fcc(0x1d6)][_0x2b1fcc(0x1d3)];_0x3f9e07++){let _0x2db15d=getKeyByTemplate(_0x36af74,_0x19128a[_0x2b1fcc(0x1d6)][_0x3f9e07]);_0x2db15d&&_0x5bef9b[_0x2b1fcc(0x1c5)](_0x2db15d);}return _0x5bef9b;}default:return null;}}export function createKeyFromFilter(_0x38bbf5){const _0x594bd2=a71_0x2fc0;switch(_0x38bbf5['tagName_']){case'PropertyIsEqualTo':return _0x38bbf5[_0x594bd2(0x1d8)];case _0x594bd2(0x1e4):{let _0x545bcb=[];for(let _0x208dd2=0x0;_0x208dd2<_0x38bbf5['conditions'][_0x594bd2(0x1d3)];_0x208dd2++){let _0x1a2422=createKeyFromFilter(_0x38bbf5[_0x594bd2(0x1d6)][_0x208dd2]);if(_0x1a2422)_0x545bcb['push'](_0x1a2422);else return null;}return _0x545bcb[_0x594bd2(0x1de)](',');}case'Or':{let _0xf761fc=[];for(let _0x462798=0x0;_0x462798<_0x38bbf5['conditions'][_0x594bd2(0x1d3)];_0x462798++){let _0x75b325=createKeyFromFilter(_0x38bbf5['conditions'][_0x462798]);_0x75b325&&_0xf761fc[_0x594bd2(0x1c5)](_0x75b325);}return _0xf761fc;}default:return null;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x69cc3=a74_0x3f63;(function(_0x404966,_0x468d36){const _0x118940=a74_0x3f63,_0x178fc5=_0x404966();while(!![]){try{const _0x4cc21b=-parseInt(_0x118940(0x1e0))/0x1+-parseInt(_0x118940(0x1de))/0x2*(parseInt(_0x118940(0x1e2))/0x3)+-parseInt(_0x118940(0x1e1))/0x4*(-parseInt(_0x118940(0x1d2))/0x5)+parseInt(_0x118940(0x1da))/0x6+-parseInt(_0x118940(0x1d9))/0x7+parseInt(_0x118940(0x1d3))/0x8*(-parseInt(_0x118940(0x1d7))/0x9)+parseInt(_0x118940(0x1e3))/0xa;if(_0x4cc21b===_0x468d36)break;else _0x178fc5['push'](_0x178fc5['shift']());}catch(_0x120dec){_0x178fc5['push'](_0x178fc5['shift']());}}}(a74_0x3773,0xa13de));function a74_0x3f63(_0x5c98c9,_0x4984c0){const _0x37733c=a74_0x3773();return a74_0x3f63=function(_0x3f637d,_0x44242f){_0x3f637d=_0x3f637d-0x1d1;let _0x2f5766=_0x37733c[_0x3f637d];return _0x2f5766;},a74_0x3f63(_0x5c98c9,_0x4984c0);}function a74_0x3773(){const _0x2c78a4=['image','5503757IouHde','3505398LYwBmD','markerLabel','cacheSize_','markerSize','18uNAIru','null','712707fVOUlm','4QuTFwV','173496aIdvps','25498140pJMyYx','cache_','132995hbhXrT','7096VEyiGU','get','set','markerColor','4878SRVLhD'];a74_0x3773=function(){return _0x2c78a4;};return a74_0x3773();}import{asString}from'ol/color';class ImageCache{constructor(){const _0x37e687=a74_0x3f63;this['cache_']={},this[_0x37e687(0x1dc)]=0x0;}['clear'](){const _0x2b8a18=a74_0x3f63;this[_0x2b8a18(0x1d1)]={},this['cacheSize_']=0x0;}[a74_0x69cc3(0x1d4)](_0x27be68){const _0x3daaef=a74_0x69cc3,_0x2e7d00=getKey(_0x27be68[_0x3daaef(0x1db)],_0x27be68['markerSize'],_0x27be68['markerColor'],_0x27be68[_0x3daaef(0x1d8)]);return _0x2e7d00 in this[_0x3daaef(0x1d1)]?this[_0x3daaef(0x1d1)][_0x2e7d00]:null;}[a74_0x69cc3(0x1d5)](_0x2e4d0d,_0x46c68a){const _0x25c0b2=a74_0x69cc3,_0x125fa4=getKey(_0x2e4d0d[_0x25c0b2(0x1db)],_0x2e4d0d[_0x25c0b2(0x1dd)],_0x2e4d0d[_0x25c0b2(0x1d6)],_0x2e4d0d[_0x25c0b2(0x1d8)]);this['cache_'][_0x125fa4]=_0x46c68a,++this[_0x25c0b2(0x1dc)];}}function getKey(_0x2620fc,_0x74dd2e,_0x2292ac,_0x12ef9c){const _0x5517cb=a74_0x69cc3,_0x382af9=_0x2292ac?asString(_0x2292ac):_0x5517cb(0x1df);return _0x2620fc+':'+_0x12ef9c+':'+_0x382af9+':'+_0x74dd2e;}export default ImageCache;export const shared=new ImageCache();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a75_0x5b3905=a75_0x5536;(function(_0x510f31,_0xa5b12a){const _0x6c14a1=a75_0x5536,_0x110c9f=_0x510f31();while(!![]){try{const _0x429440=-parseInt(_0x6c14a1(0x17d))/0x1*(parseInt(_0x6c14a1(0x175))/0x2)+parseInt(_0x6c14a1(0x169))/0x3+parseInt(_0x6c14a1(0x167))/0x4+parseInt(_0x6c14a1(0x16e))/0x5+-parseInt(_0x6c14a1(0x16c))/0x6+parseInt(_0x6c14a1(0x158))/0x7*(-parseInt(_0x6c14a1(0x172))/0x8)+parseInt(_0x6c14a1(0x178))/0x9*(parseInt(_0x6c14a1(0x16a))/0xa);if(_0x429440===_0xa5b12a)break;else _0x110c9f['push'](_0x110c9f['shift']());}catch(_0x17f1b6){_0x110c9f['push'](_0x110c9f['shift']());}}}(a75_0x309e,0x48649));import a75_0x58bdce from'color';import a75_0x282104 from'./writeTextToCanvas';import{Icon}from'ol/style';function a75_0x5536(_0x564ba8,_0xb4fe12){const _0x309e44=a75_0x309e();return a75_0x5536=function(_0x5536a3,_0x56fd34){_0x5536a3=_0x5536a3-0x151;let _0x431beb=_0x309e44[_0x5536a3];return _0x431beb;},a75_0x5536(_0x564ba8,_0xb4fe12);}import a75_0x9417bb from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x2cd140=a75_0x5536;this[_0x2cd140(0x180)]={};}['fromColor'](_0x4d2a09,_0x35acfc){const _0x152ae0=a75_0x5536;if(!_0x4d2a09)throw new Error(_0x152ae0(0x184));if(!_0x35acfc)throw new Error(_0x152ae0(0x177));return createPin('','',_0x4d2a09,_0x35acfc,this[_0x152ae0(0x180)]);}[a75_0x5b3905(0x183)](_0x4fd45b,_0x181dfe,_0x5ca0e7){const _0x387cbf=a75_0x5b3905;if(!_0x4fd45b)throw new Error(_0x387cbf(0x179));if(!_0x181dfe)throw new Error(_0x387cbf(0x184));if(!_0x5ca0e7)throw new Error('size\x20is\x20required');return createPin(_0x4fd45b,'',_0x181dfe,_0x5ca0e7,this[_0x387cbf(0x180)]);}[a75_0x5b3905(0x16b)](_0x2f7aff,_0x5dc5d6,_0x3c59fb){const _0x1acbf0=a75_0x5b3905;if(!_0x2f7aff)throw new Error(_0x1acbf0(0x17a));if(!_0x5dc5d6)throw new Error(_0x1acbf0(0x184));if(!_0x3c59fb)throw new Error(_0x1acbf0(0x177));return createPin(parseImage(_0x2f7aff),'',_0x5dc5d6,_0x3c59fb,this['_cache']);}[a75_0x5b3905(0x16f)](_0x17446b,_0x114d88,_0x3e7099){const _0x1607dc=a75_0x5b3905;if(!_0x17446b)throw new Error(_0x1607dc(0x153));if(!_0x114d88)throw new Error(_0x1607dc(0x184));if(!_0x3e7099)throw new Error(_0x1607dc(0x177));return createPin('',_0x17446b,_0x114d88,_0x3e7099,this[_0x1607dc(0x180)]);}}function drawPin(_0x1eb46b,_0x521427,_0x3d5835){const _0x4dcb2e=a75_0x5b3905;_0x1eb46b['save'](),_0x1eb46b[_0x4dcb2e(0x157)](_0x3d5835/0x18,_0x3d5835/0x18),_0x1eb46b[_0x4dcb2e(0x159)]=_0x521427,_0x1eb46b[_0x4dcb2e(0x182)]=a75_0x58bdce(_0x521427)[_0x4dcb2e(0x17f)](0.6)['hexa'](),_0x1eb46b[_0x4dcb2e(0x16d)]=0.846,_0x1eb46b[_0x4dcb2e(0x168)](),_0x1eb46b['moveTo'](6.72,0.422),_0x1eb46b[_0x4dcb2e(0x155)](17.28,0.422),_0x1eb46b[_0x4dcb2e(0x176)](18.553,0.422,19.577,1.758,19.577,3.415),_0x1eb46b['lineTo'](19.577,10.973),_0x1eb46b['bezierCurveTo'](19.577,12.63,18.553,13.966,17.282,13.966),_0x1eb46b['lineTo'](14.386,14.008),_0x1eb46b[_0x4dcb2e(0x155)](11.826,23.578),_0x1eb46b[_0x4dcb2e(0x155)](9.614,14.008),_0x1eb46b[_0x4dcb2e(0x155)](6.719,13.965),_0x1eb46b[_0x4dcb2e(0x176)](5.446,13.983,4.422,12.629,4.422,10.972),_0x1eb46b[_0x4dcb2e(0x155)](4.422,3.416),_0x1eb46b[_0x4dcb2e(0x176)](4.423,1.76,5.447,0.423,6.718,0.423),_0x1eb46b[_0x4dcb2e(0x152)](),_0x1eb46b[_0x4dcb2e(0x15b)](),_0x1eb46b['stroke'](),_0x1eb46b['restore']();}function drawIcon(_0x2b5e52,_0x657a57,_0xaaca0b){const _0x4884fe=a75_0x5b3905,_0x267c0b=_0xaaca0b/2.5;let _0x30818c=_0x267c0b,_0x2853d7=_0x267c0b;if(_0x657a57[_0x4884fe(0x161)]>_0x657a57[_0x4884fe(0x15d)])_0x2853d7=_0x267c0b*(_0x657a57[_0x4884fe(0x15d)]/_0x657a57[_0x4884fe(0x161)]);else _0x657a57[_0x4884fe(0x161)]<_0x657a57[_0x4884fe(0x15d)]&&(_0x30818c=_0x267c0b*(_0x657a57[_0x4884fe(0x161)]/_0x657a57['height']));const _0x5a0e07=Math[_0x4884fe(0x17b)]((_0xaaca0b-_0x30818c)/0x2),_0x506d62=Math[_0x4884fe(0x17b)](0x7/0x18*_0xaaca0b-_0x2853d7/0x2);_0x2b5e52['globalCompositeOperation']='destination-out',_0x2b5e52['drawImage'](_0x657a57,_0x5a0e07-0x1,_0x506d62,_0x30818c,_0x2853d7),_0x2b5e52[_0x4884fe(0x15c)](_0x657a57,_0x5a0e07,_0x506d62-0x1,_0x30818c,_0x2853d7),_0x2b5e52[_0x4884fe(0x15c)](_0x657a57,_0x5a0e07+0x1,_0x506d62,_0x30818c,_0x2853d7),_0x2b5e52[_0x4884fe(0x15c)](_0x657a57,_0x5a0e07,_0x506d62+0x1,_0x30818c,_0x2853d7),_0x2b5e52['globalCompositeOperation']=_0x4884fe(0x173),_0x2b5e52['fillStyle']=_0x4884fe(0x166),_0x2b5e52['fillRect'](_0x5a0e07-0x1,_0x506d62-0x1,_0x30818c+0x2,_0x2853d7+0x2),_0x2b5e52['globalCompositeOperation']=_0x4884fe(0x17c),_0x2b5e52[_0x4884fe(0x15c)](_0x657a57,_0x5a0e07,_0x506d62,_0x30818c,_0x2853d7),_0x2b5e52[_0x4884fe(0x163)]=_0x4884fe(0x173),_0x2b5e52['fillStyle']=_0x4884fe(0x171),_0x2b5e52[_0x4884fe(0x17e)](_0x5a0e07-0x1,_0x506d62-0x2,_0x30818c+0x2,_0x2853d7+0x2);}const stringifyScratch=new Array(0x4);function a75_0x309e(){const _0x500848=['2744454zpOVki','lineWidth','1151475tcEIhp','fromText','getImageState','#FFFFFF','1341376ihLoWg','destination-over','createElement','2CoEjGu','bezierCurveTo','size\x20is\x20required','351CHppnd','url\x20is\x20required','id\x20is\x20required','round','destination-out','213757YRzKxE','fillRect','lighten','_cache','listenImageChange','strokeStyle','fromUrl','color\x20is\x20required','stringify','closePath','text\x20is\x20required','load','lineTo','toDataURL','scale','7ITIgau','fillStyle','LOADED','fill','drawImage','height','ERROR','getContext','px\x20sans-serif','width','bold\x20','globalCompositeOperation','target','getImage','#000000','1079384COZCBY','beginPath','362775bJFqJz','131870tryOMO','fromMakiIconId'];a75_0x309e=function(){return _0x500848;};return a75_0x309e();}function createPin(_0x5f0bdc,_0x33e5be,_0x214d1b,_0x3f27f5,_0x4af3ac){const _0x1aa1c8=a75_0x5b3905;stringifyScratch[0x0]=_0x5f0bdc,stringifyScratch[0x1]=_0x33e5be,stringifyScratch[0x2]=_0x214d1b,stringifyScratch[0x3]=_0x3f27f5;const _0x40f3cf=JSON[_0x1aa1c8(0x151)](stringifyScratch),_0x5d0b8b=_0x4af3ac[_0x40f3cf];if(_0x5d0b8b)return _0x5d0b8b;const _0x2dcd6b=document[_0x1aa1c8(0x174)]('canvas');_0x2dcd6b[_0x1aa1c8(0x161)]=_0x3f27f5,_0x2dcd6b[_0x1aa1c8(0x15d)]=_0x3f27f5;const _0xe6e36e=_0x2dcd6b[_0x1aa1c8(0x15f)]('2d');drawPin(_0xe6e36e,_0x214d1b,_0x3f27f5);if(_0x5f0bdc)return new Promise(_0x1a123f=>{const _0x388d=_0x1aa1c8;let _0x478eb2=new Icon({'src':_0x5f0bdc}),_0x467382=_0x478eb2[_0x388d(0x170)]();_0x467382===a75_0x9417bb['LOADED']||_0x467382===a75_0x9417bb[_0x388d(0x15e)]?(drawIcon(_0xe6e36e,_0x478eb2[_0x388d(0x165)](0x60),_0x3f27f5),_0x4af3ac[_0x40f3cf]=_0x2dcd6b['toDataURL'](),_0x1a123f(_0x2dcd6b['toDataURL']())):(_0x467382===a75_0x9417bb['IDLE']&&_0x478eb2[_0x388d(0x154)](),_0x478eb2[_0x388d(0x181)](_0x1146a9=>{const _0x1fe342=_0x388d;_0x467382=_0x1146a9[_0x1fe342(0x164)][_0x1fe342(0x170)](),(_0x467382===a75_0x9417bb[_0x1fe342(0x15a)]||_0x467382===a75_0x9417bb[_0x1fe342(0x15e)])&&(drawIcon(_0xe6e36e,_0x478eb2[_0x1fe342(0x165)](0x60),_0x3f27f5),_0x4af3ac[_0x40f3cf]=_0x2dcd6b[_0x1fe342(0x156)](),_0x1a123f(_0x2dcd6b[_0x1fe342(0x156)]()));}));});else{if(_0x33e5be){const _0x4a47cd=a75_0x282104(_0x33e5be,{'font':_0x1aa1c8(0x162)+_0x3f27f5+_0x1aa1c8(0x160)});drawIcon(_0xe6e36e,_0x4a47cd,_0x3f27f5);}}return _0x4af3ac[_0x40f3cf]=_0x2dcd6b['toDataURL'](),_0x2dcd6b[_0x1aa1c8(0x156)]();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a76_0x1ec1(_0x4b7182,_0x20c4d6){const _0x2b0cc1=a76_0x2b0c();return a76_0x1ec1=function(_0x1ec1ef,_0x3bf357){_0x1ec1ef=_0x1ec1ef-0x1b2;let _0x3a6d0d=_0x2b0cc1[_0x1ec1ef];return _0x3a6d0d;},a76_0x1ec1(_0x4b7182,_0x20c4d6);}const a76_0x24aace=a76_0x1ec1;(function(_0x37c0d3,_0x1fac11){const _0x1ded06=a76_0x1ec1,_0x56f77d=_0x37c0d3();while(!![]){try{const _0x185332=parseInt(_0x1ded06(0x1ce))/0x1*(parseInt(_0x1ded06(0x1d1))/0x2)+-parseInt(_0x1ded06(0x1ca))/0x3*(parseInt(_0x1ded06(0x1bc))/0x4)+parseInt(_0x1ded06(0x1b8))/0x5+parseInt(_0x1ded06(0x1b9))/0x6*(-parseInt(_0x1ded06(0x1d0))/0x7)+parseInt(_0x1ded06(0x1b6))/0x8*(-parseInt(_0x1ded06(0x1d6))/0x9)+-parseInt(_0x1ded06(0x1b3))/0xa*(parseInt(_0x1ded06(0x1b5))/0xb)+parseInt(_0x1ded06(0x1c7))/0xc;if(_0x185332===_0x1fac11)break;else _0x56f77d['push'](_0x56f77d['shift']());}catch(_0x226088){_0x56f77d['push'](_0x56f77d['shift']());}}}(a76_0x2b0c,0x4a0ae));import a76_0x2942ab from'./PinBuilder';import{Icon}from'ol/style';import a76_0x13c416 from'ol/ImageState';function a76_0x2b0c(){const _0x1f15b9=['ERROR','getImage','fromUrl','get','image','then','warn','set','markerLabel','18502608jkyirS','target','_imageState','209538aTALim','markerColor','getImageState','catch','18724AySMin','_icon','4039UTlpDW','4HgicVF','options','load','markerSize','listenImageChange','54qdVupO','loadIcon','LOADED','3821810YtfYkG','IDLE','11NwCIRQ','797376TxSSXI','_listener','145485EOmfwT','1200ctERtY','dispatchEvent','error','12MfxKqb','resolve'];a76_0x2b0c=function(){return _0x1f15b9;};return a76_0x2b0c();}import a76_0x12b144 from'ol/events/Event';import{shared as a76_0x9234f9}from'./ImageCache';export default class PinIcon{constructor(_0x73ddae){const _0x4a371a=a76_0x1ec1;this[_0x4a371a(0x1d2)]=_0x73ddae||{},this['_imageState']=a76_0x13c416[_0x4a371a(0x1b4)],this['_icon']=a76_0x9234f9[_0x4a371a(0x1c1)](this[_0x4a371a(0x1d2)]),this['_icon']&&(this[_0x4a371a(0x1c9)]=a76_0x13c416[_0x4a371a(0x1b2)]);}['load'](){const _0x2c0924=a76_0x1ec1;try{let _0x1def30,_0x336420=new a76_0x2942ab();if(this[_0x2c0924(0x1d2)][_0x2c0924(0x1c6)])_0x1def30=_0x336420['fromText'](this['options'][_0x2c0924(0x1c6)],this[_0x2c0924(0x1d2)][_0x2c0924(0x1cb)],this[_0x2c0924(0x1d2)][_0x2c0924(0x1d4)]||0x30);else this[_0x2c0924(0x1d2)][_0x2c0924(0x1c2)]&&(_0x1def30=_0x336420[_0x2c0924(0x1c0)](this[_0x2c0924(0x1d2)]['image'],this[_0x2c0924(0x1d2)][_0x2c0924(0x1cb)],this[_0x2c0924(0x1d2)][_0x2c0924(0x1d4)]||0x30));Promise[_0x2c0924(0x1bd)](_0x1def30)[_0x2c0924(0x1c3)](_0x37cd85=>{const _0x38f407=_0x2c0924;this[_0x38f407(0x1d7)](_0x37cd85);})[_0x2c0924(0x1cd)](_0x395693=>{const _0x3ce69b=_0x2c0924;console[_0x3ce69b(0x1c4)](_0x395693),this[_0x3ce69b(0x1c9)]=a76_0x13c416[_0x3ce69b(0x1be)],this[_0x3ce69b(0x1ba)](_0x3ce69b(0x1bb));});}catch(_0x4309db){console[_0x2c0924(0x1c4)](_0x4309db),this[_0x2c0924(0x1c9)]=a76_0x13c416[_0x2c0924(0x1be)],this[_0x2c0924(0x1ba)](_0x2c0924(0x1bb));}}['loadIcon'](_0x5d9471){const _0x48f9c6=a76_0x1ec1;this[_0x48f9c6(0x1cf)]=new Icon({'src':_0x5d9471}),a76_0x9234f9[_0x48f9c6(0x1c5)](this[_0x48f9c6(0x1d2)],this['_icon']);let _0x32ee24=this[_0x48f9c6(0x1cf)][_0x48f9c6(0x1cc)]();_0x32ee24===a76_0x13c416[_0x48f9c6(0x1b2)]||_0x32ee24===a76_0x13c416[_0x48f9c6(0x1be)]?(this[_0x48f9c6(0x1c9)]=this[_0x48f9c6(0x1cf)][_0x48f9c6(0x1cc)](),this[_0x48f9c6(0x1ba)](_0x48f9c6(0x1d3))):(_0x32ee24===a76_0x13c416['IDLE']&&this[_0x48f9c6(0x1cf)][_0x48f9c6(0x1d3)](),this[_0x48f9c6(0x1cf)][_0x48f9c6(0x1d5)](_0x5a4aec=>{const _0x905efe=_0x48f9c6;_0x32ee24=_0x5a4aec[_0x905efe(0x1c8)][_0x905efe(0x1cc)](),(_0x32ee24===a76_0x13c416[_0x905efe(0x1b2)]||_0x32ee24===a76_0x13c416[_0x905efe(0x1be)])&&(this['_imageState']=this['_icon'][_0x905efe(0x1cc)](),this[_0x905efe(0x1ba)](_0x905efe(0x1d3)));}));}[a76_0x24aace(0x1cc)](){const _0xf0fd83=a76_0x24aace;return this[_0xf0fd83(0x1c9)];}[a76_0x24aace(0x1bf)](){const _0x52d911=a76_0x24aace;var _0x185548;return(_0x185548=this['_icon'])===null||_0x185548===void 0x0?void 0x0:_0x185548[_0x52d911(0x1bf)]();}[a76_0x24aace(0x1d5)](_0x1f8aa9){const _0x54f49e=a76_0x24aace;this[_0x54f49e(0x1b7)]=_0x1f8aa9;}[a76_0x24aace(0x1ba)](_0x1c0cab){const _0x124d09=a76_0x24aace;if(this['_listener']){let _0x457b04=new a76_0x12b144(_0x1c0cab);_0x457b04[_0x124d09(0x1c8)]=this,this[_0x124d09(0x1b7)](_0x457b04);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a77_0x47ef(){const _0x3902e3=['2287821AOpIvK','strokeColor','length','339804fktBdt','strokeText','ceil','getImageData','removeChild','fillText','data','lineJoin','strokeStyle','fillColor','lineWidth','test','body','msImageSmoothingEnabled','white','defaultView','minx','#00000000','imageSmoothingEnabled','height','mozImageSmoothingEnabled','measureText','741487cWzQfi','canvas','visibility','webkitImageSmoothingEnabled','text\x20is\x20required.','hidden','style','2191MMeOyo','strokeWidth','30531540zTtDta','3438eyZMGj','24ziukLP','1316KTvxSK','#FFFFFF','font-size','fillStyle','getContext','width','3331602iBtzKx','round','#000000','ascent','padding','replace','getPropertyValue','stroke','font','1690Ebygva','createElement'];a77_0x47ef=function(){return _0x3902e3;};return a77_0x47ef();}(function(_0x317809,_0x5f27cc){const _0x39deb2=a77_0x497f,_0xb108ec=_0x317809();while(!![]){try{const _0x15708f=-parseInt(_0x39deb2(0x13b))/0x1+-parseInt(_0x39deb2(0x125))/0x2+-parseInt(_0x39deb2(0x122))/0x3+-parseInt(_0x39deb2(0x111))/0x4*(-parseInt(_0x39deb2(0x120))/0x5)+-parseInt(_0x39deb2(0x145))/0x6*(-parseInt(_0x39deb2(0x142))/0x7)+-parseInt(_0x39deb2(0x110))/0x8*(parseInt(_0x39deb2(0x117))/0x9)+parseInt(_0x39deb2(0x144))/0xa;if(_0x15708f===_0x5f27cc)break;else _0xb108ec['push'](_0xb108ec['shift']());}catch(_0x2e2102){_0xb108ec['push'](_0xb108ec['shift']());}}}(a77_0x47ef,0x88847));function a77_0x497f(_0x3b6de3,_0x39a917){const _0x47ef2f=a77_0x47ef();return a77_0x497f=function(_0x497f47,_0x3cb7b4){_0x497f47=_0x497f47-0x110;let _0x591628=_0x47ef2f[_0x497f47];return _0x591628;},a77_0x497f(_0x3b6de3,_0x39a917);}function measureText(_0x219e0f,_0x488a89,_0x155451,_0x39d3cb,_0x58fd40){const _0x310b37=a77_0x497f,_0x2463f1=_0x219e0f[_0x310b37(0x13a)](_0x488a89),_0x3e209c=!/\S/[_0x310b37(0x130)](_0x488a89);if(!_0x3e209c&&document['defaultView']){const _0x591ae9=document[_0x310b37(0x134)]['getComputedStyle'](_0x219e0f[_0x310b37(0x13c)])[_0x310b37(0x11d)](_0x310b37(0x113))[_0x310b37(0x11c)]('px',''),_0x2dd822=document[_0x310b37(0x121)](_0x310b37(0x13c)),_0x188163=0x64,_0x23d032=_0x2463f1['width']+_0x188163|0x0,_0x400cf7=0x3*(_0x591ae9-0x0),_0x47e5c3=_0x400cf7/0x2;_0x2dd822['width']=_0x23d032,_0x2dd822[_0x310b37(0x138)]=_0x400cf7;const _0x33b28e=_0x2dd822[_0x310b37(0x115)]('2d');if(!_0x33b28e)return{};_0x33b28e[_0x310b37(0x11f)]=_0x155451,_0x33b28e['fillStyle']=_0x310b37(0x133),_0x33b28e['fillRect'](0x0,0x0,_0x2dd822[_0x310b37(0x116)]+0x1,_0x2dd822[_0x310b37(0x138)]+0x1);_0x39d3cb&&(_0x33b28e[_0x310b37(0x12d)]='black',_0x33b28e['lineWidth']=_0x219e0f[_0x310b37(0x12f)],_0x33b28e[_0x310b37(0x126)](_0x488a89,_0x188163/0x2,_0x47e5c3));_0x58fd40&&(_0x33b28e[_0x310b37(0x114)]='black',_0x33b28e[_0x310b37(0x12a)](_0x488a89,_0x188163/0x2,_0x47e5c3));const _0x13cc97=_0x33b28e[_0x310b37(0x128)](0x0,0x0,_0x23d032,_0x400cf7)[_0x310b37(0x12b)],_0x4f69b4=_0x13cc97[_0x310b37(0x124)],_0x49f60c=_0x23d032*0x4;let _0x1ba5ad,_0xeda918,_0x5d9f36=0x0,_0x3a6b97=0x0;for(_0x1ba5ad=0x0;_0x1ba5ad<_0x4f69b4;++_0x1ba5ad){if(_0x13cc97[_0x1ba5ad]!==0xff){_0x5d9f36=_0x1ba5ad/_0x49f60c|0x0;break;}}for(_0x1ba5ad=_0x4f69b4-0x1;_0x1ba5ad>=0x0;--_0x1ba5ad){if(_0x13cc97[_0x1ba5ad]!==0xff){_0x3a6b97=_0x1ba5ad/_0x49f60c|0x0;break;}}let _0x5d9372=-0x1;for(_0x1ba5ad=0x0;_0x1ba5ad<_0x23d032&&_0x5d9372===-0x1;++_0x1ba5ad){for(_0xeda918=0x0;_0xeda918<_0x400cf7;++_0xeda918){const _0x16dc80=_0x1ba5ad*0x4+_0xeda918*_0x49f60c;if(_0x13cc97[_0x16dc80]!==0xff||_0x13cc97[_0x16dc80+0x1]!==0xff||_0x13cc97[_0x16dc80+0x2]!==0xff||_0x13cc97[_0x16dc80+0x3]!==0xff){_0x5d9372=_0x1ba5ad;break;}}}return{'width':_0x2463f1[_0x310b37(0x116)],'height':_0x3a6b97-_0x5d9f36,'ascent':_0x47e5c3-_0x5d9f36,'descent':_0x3a6b97-_0x47e5c3,'minx':_0x5d9372-_0x188163/0x2};}return{'width':_0x2463f1[_0x310b37(0x116)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x5752b2,_0x5d01f4){const _0x406397=a77_0x497f;if(!_0x5752b2)throw new Error(_0x406397(0x13f));if(_0x5752b2==='')return undefined;_0x5d01f4=defaultValue(_0x5d01f4,{});const _0x381341=defaultValue(_0x5d01f4[_0x406397(0x11f)],'10px\x20sans-serif'),_0xfbc4bd=defaultValue(_0x5d01f4[_0x406397(0x11e)],![]),_0x2a7775=defaultValue(_0x5d01f4['fill'],!![]),_0xb432b6=defaultValue(_0x5d01f4[_0x406397(0x143)],0x1),_0x2ed219=defaultValue(_0x5d01f4['backgroundColor'],_0x406397(0x136)),_0xf2c319=defaultValue(_0x5d01f4[_0x406397(0x11b)],0x0),_0x30c6c5=_0xf2c319*0x2,_0x47a69e=document['createElement'](_0x406397(0x13c));_0x47a69e[_0x406397(0x116)]=0x1,_0x47a69e[_0x406397(0x138)]=0x1,_0x47a69e['style'][_0x406397(0x11f)]=_0x381341;const _0x18fe5c=_0x47a69e[_0x406397(0x115)]('2d');if(!imageSmoothingEnabledName&&_0x18fe5c){if(_0x18fe5c[_0x406397(0x137)])imageSmoothingEnabledName=_0x406397(0x137);else{if(_0x18fe5c[_0x406397(0x139)])imageSmoothingEnabledName='mozImageSmoothingEnabled';else{if(_0x18fe5c['webkitImageSmoothingEnabled'])imageSmoothingEnabledName=_0x406397(0x13e);else _0x18fe5c[_0x406397(0x132)]&&(imageSmoothingEnabledName=_0x406397(0x132));}}}_0x18fe5c['font']=_0x381341,_0x18fe5c[_0x406397(0x12c)]='round',_0x18fe5c['lineWidth']=_0xb432b6,_0x18fe5c[imageSmoothingEnabledName]=![],_0x47a69e[_0x406397(0x141)][_0x406397(0x13d)]=_0x406397(0x140),document['body']['appendChild'](_0x47a69e);const _0x2b8cd9=measureText(_0x18fe5c,_0x5752b2,_0x381341,_0xfbc4bd,_0x2a7775);if(!_0x2b8cd9)return;_0x47a69e['dimensions']=_0x2b8cd9,document[_0x406397(0x131)][_0x406397(0x129)](_0x47a69e),_0x47a69e[_0x406397(0x141)][_0x406397(0x13d)]='';const _0x471d89=-(_0x2b8cd9[_0x406397(0x135)]?_0x2b8cd9[_0x406397(0x135)]:0x0),_0x43928e=Math[_0x406397(0x127)](_0x2b8cd9[_0x406397(0x116)])+_0x471d89+_0x30c6c5,_0x213d8b=(_0x2b8cd9[_0x406397(0x138)]?_0x2b8cd9[_0x406397(0x138)]:0x0)+_0x30c6c5,_0x17aa6c=_0x213d8b-(_0x2b8cd9[_0x406397(0x11a)]?_0x2b8cd9[_0x406397(0x11a)]:0x0)+_0xf2c319,_0xd09966=_0x213d8b-_0x17aa6c+_0x30c6c5;return _0x47a69e['width']=_0x43928e,_0x47a69e[_0x406397(0x138)]=_0x213d8b,_0x18fe5c['font']=_0x381341,_0x18fe5c[_0x406397(0x12c)]=_0x406397(0x118),_0x18fe5c['lineWidth']=_0xb432b6,_0x18fe5c[imageSmoothingEnabledName]=![],_0x2ed219!=='#00000000'&&(_0x18fe5c[_0x406397(0x114)]=_0x2ed219,_0x18fe5c['fillRect'](0x0,0x0,_0x47a69e[_0x406397(0x116)],_0x47a69e['height'])),_0xfbc4bd&&(_0x18fe5c[_0x406397(0x12d)]=defaultValue(_0x5d01f4[_0x406397(0x123)],_0x406397(0x119)),_0x18fe5c[_0x406397(0x126)](_0x5752b2,_0x471d89+_0xf2c319,_0xd09966)),_0x2a7775&&(_0x18fe5c[_0x406397(0x114)]=defaultValue(_0x5d01f4[_0x406397(0x12e)],_0x406397(0x112)),_0x18fe5c['fillText'](_0x5752b2,_0x471d89+_0xf2c319,_0xd09966)),_0x47a69e;}function defaultValue(_0x1250cd,_0x506c06){if(_0x1250cd!==undefined&&_0x1250cd!==null)return _0x1250cd;return _0x506c06;}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82_0x1f9462=a82_0x4295;function a82_0xd83c(){const _0x52c420=['2948238UDEQUm','7889706gAUvqA','7625QENpKs','1HkornL','getProjection','url','resolution','tolerance','path','504gbtHXk','getType','geometry','returnGeometry','getCode','between','7cwMXbb','layerDefs','inSR','all','params','getResolution','valueOf','geojsonTypeToArcGIS','getView','1616hrwZYi','returnZ','9471040cqeBjI','709974YewSRL','run','geometryType','4284054KtxVJq','mapExtent','476476dRIEsJ','calculateExtent','layers','8rXlbUF','getSize','returnM','_setGeometryParams'];a82_0xd83c=function(){return _0x52c420;};return a82_0xd83c();}(function(_0x4deb3a,_0x218b08){const _0x4bd6f4=a82_0x4295,_0x4b17b8=_0x4deb3a();while(!![]){try{const _0x48cdfb=parseInt(_0x4bd6f4(0x151))/0x1*(-parseInt(_0x4bd6f4(0x14e))/0x2)+parseInt(_0x4bd6f4(0x145))/0x3+-parseInt(_0x4bd6f4(0x13f))/0x4*(-parseInt(_0x4bd6f4(0x150))/0x5)+parseInt(_0x4bd6f4(0x14f))/0x6*(parseInt(_0x4bd6f4(0x15d))/0x7)+-parseInt(_0x4bd6f4(0x14a))/0x8*(parseInt(_0x4bd6f4(0x142))/0x9)+parseInt(_0x4bd6f4(0x141))/0xa+parseInt(_0x4bd6f4(0x147))/0xb*(-parseInt(_0x4bd6f4(0x157))/0xc);if(_0x48cdfb===_0x218b08)break;else _0x4b17b8['push'](_0x4b17b8['shift']());}catch(_0x257589){_0x4b17b8['push'](_0x4b17b8['shift']());}}}(a82_0xd83c,0xe4008));import a82_0x31c94b from'ol/format/EsriJSON';import a82_0x479eaa from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a82_0x286e55 from'./Task';import{appendPath}from'../../UrlUtil';function a82_0x4295(_0x191af8,_0x3ed4b9){const _0xd83c6d=a82_0xd83c();return a82_0x4295=function(_0x4295b1,_0x49c903){_0x4295b1=_0x4295b1-0x137;let _0x5b43a5=_0xd83c6d[_0x4295b1];return _0x5b43a5;},a82_0x4295(_0x191af8,_0x3ed4b9);}import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a82_0x286e55{constructor(_0x46e294,_0x29a6c8,_0x44c3c8){const _0x173a81=a82_0x4295;super(_0x46e294,_0x29a6c8,_0x44c3c8),this[_0x173a81(0x156)]='identify',this[_0x173a81(0x13a)]={'layers':_0x173a81(0x139),'tolerance':0x0,'returnGeometry':!![]},this[_0x173a81(0x155)]=0x3,this[_0x173a81(0x154)]=0x0,this['url']=appendPath(this[_0x173a81(0x153)],this[_0x173a81(0x156)]),_0x29a6c8&&((_0x29a6c8['returnGeometry']===!![]||_0x29a6c8[_0x173a81(0x15a)]===![])&&(this[_0x173a81(0x13a)][_0x173a81(0x15a)]=_0x29a6c8[_0x173a81(0x15a)]),_0x29a6c8[_0x173a81(0x149)]&&(this[_0x173a81(0x13a)][_0x173a81(0x149)]=_0x29a6c8[_0x173a81(0x149)]),_0x29a6c8[_0x173a81(0x137)]&&(this[_0x173a81(0x13a)][_0x173a81(0x137)]=_0x29a6c8[_0x173a81(0x137)]),(_0x29a6c8[_0x173a81(0x140)]===!![]||_0x29a6c8['returnZ']===![])&&(this[_0x173a81(0x13a)][_0x173a81(0x140)]=_0x29a6c8[_0x173a81(0x140)]),(_0x29a6c8['returnM']===!![]||_0x29a6c8['returnM']===![])&&(this[_0x173a81(0x13a)][_0x173a81(0x14c)]=_0x29a6c8['returnM']));}['at'](_0x3d103d,_0x182134){const _0xcb263f=a82_0x4295;let _0x3f9101,_0x532dbb;const _0x41a0c3=new a82_0x479eaa();_0x3f9101=_0x3d103d,_0x532dbb=getEsriSpatialReference(_0x182134[_0xcb263f(0x13e)]()['getProjection']()[_0xcb263f(0x15b)]());const _0x15d1bb=_0x182134[_0xcb263f(0x14b)]();_0x15d1bb&&(this[_0xcb263f(0x13a)]['imageDisplay']=[_0x15d1bb[0x0],_0x15d1bb[0x1],0x60]);this[_0xcb263f(0x13a)]['sr']=_0x532dbb;const _0x4b1710=_0x182134[_0xcb263f(0x13e)]()[_0xcb263f(0x148)](_0x182134[_0xcb263f(0x14b)]());this['params'][_0xcb263f(0x146)]={'xmin':_0x4b1710[0x0],'ymin':_0x4b1710[0x1],'xmax':_0x4b1710[0x2],'ymax':_0x4b1710[0x3],'spatialReference':_0x532dbb};const _0x6bebb7=_0x182134[_0xcb263f(0x13e)]()[_0xcb263f(0x13b)](),_0x427c1c=_0x182134['getView']()['getCenter']();return _0x6bebb7&&_0x427c1c&&(this['resolution']=getPointResolution(_0x182134[_0xcb263f(0x13e)]()['getProjection'](),_0x6bebb7,_0x427c1c)),this[_0xcb263f(0x14d)](_0x3f9101,_0x182134[_0xcb263f(0x13e)]()[_0xcb263f(0x152)]()['getCode']()),this;}[a82_0x1f9462(0x15c)](_0xdf69ca,_0x306e14){const _0x4f92af=a82_0x1f9462;return this[_0x4f92af(0x13a)]['time']=[_0xdf69ca['valueOf'](),_0x306e14[_0x4f92af(0x13c)]()],this;}[a82_0x1f9462(0x143)](){this['request']();}[a82_0x1f9462(0x14d)](_0x6818c9,_0x2b00b8){const _0x14d84e=a82_0x1f9462;var _0x2c18f1=new a82_0x31c94b();const _0x407c6d=_0x2c18f1['writeGeometryObject'](_0x6818c9);this[_0x14d84e(0x13a)][_0x14d84e(0x138)]=getEsriSpatialReference(_0x2b00b8),this[_0x14d84e(0x13a)][_0x14d84e(0x159)]=_0x407c6d,this[_0x14d84e(0x13a)][_0x14d84e(0x144)]=this[_0x14d84e(0x13d)](_0x6818c9[_0x14d84e(0x158)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0x4fcd77=a83_0x2a41;(function(_0x3bdcce,_0xf040c){const _0x38a16f=a83_0x2a41,_0x210906=_0x3bdcce();while(!![]){try{const _0x310861=parseInt(_0x38a16f(0xfb))/0x1*(parseInt(_0x38a16f(0xe5))/0x2)+-parseInt(_0x38a16f(0xf9))/0x3+-parseInt(_0x38a16f(0x11e))/0x4+parseInt(_0x38a16f(0x102))/0x5+parseInt(_0x38a16f(0xef))/0x6+-parseInt(_0x38a16f(0x110))/0x7*(-parseInt(_0x38a16f(0xfd))/0x8)+-parseInt(_0x38a16f(0xe9))/0x9;if(_0x310861===_0xf040c)break;else _0x210906['push'](_0x210906['shift']());}catch(_0x5abb39){_0x210906['push'](_0x210906['shift']());}}}(a83_0x24f8,0x9b249));import a83_0x18928c from'ol/format/EsriJSON';import a83_0x4986ae from'./Task';function a83_0x2a41(_0x2897b3,_0x50efd2){const _0x24f8d7=a83_0x24f8();return a83_0x2a41=function(_0x2a41dd,_0xa76c86){_0x2a41dd=_0x2a41dd-0xdb;let _0x280a37=_0x24f8d7[_0x2a41dd];return _0x280a37;},a83_0x2a41(_0x2897b3,_0x50efd2);}function a83_0x24f8(){const _0x2efd37=['between','esriSpatialRelContains','apply','4103274Tkqhkk','status','forEach','returnM','esriSpatialRelOverlaps','esriSpatialRelWithin','where','abs','esriSpatialRelCrosses','returnIdsOnly','142026DNIEHC','overlaps','216947ClmEqC','bboxIntersects','86592fEvtwL','geojsonTypeToArcGIS','params','nearby','writeGeometryObject','5566235HUsQDz','path','maxAllowableOffset','readFeature','geometry','outSR','count','esriSpatialRelIntersects','ids','orderByFields','ASC','touches','geometryType','esriSpatialRelTouches','819neiSvj','distinct','query','indexIntersects','_cleanParams','length','spatialRel','inSR','No\x20features\x20found','request','1=1','returnGeometry','catch','distance','1797408trFFkw','orderBy','features','units','crosses','_setGeometryParams','within','esriSpatialRelIndexIntersects','intersects','getExtent','time','contains','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','returnCountOnly','join','url','returnZ','6QDFgBf','data','warn','valueOf','23239944gxaRiI','layer','esriSpatialRelEnvelopeIntersects'];a83_0x24f8=function(){return _0x2efd37;};return a83_0x24f8();}import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a83_0x4986ae{constructor(_0x1a6618,_0x48abd2,_0x1a13a2){const _0x347516=a83_0x2a41;super(_0x1a6618,_0x48abd2,_0x1a13a2),this[_0x347516(0x103)]=_0x347516(0x112),this['params']={'returnGeometry':!![],'where':_0x347516(0x11a),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()['getTime']()},this[_0x347516(0xe3)]=appendPath(this[_0x347516(0xe3)],this['path']),_0x48abd2&&((_0x48abd2[_0x347516(0x11b)]===!![]||_0x48abd2[_0x347516(0x11b)]===![])&&(this['params'][_0x347516(0x11b)]=_0x48abd2['returnGeometry']),_0x48abd2['where']&&(this['params'][_0x347516(0xf5)]=_0x48abd2['where']),_0x48abd2[_0x347516(0x107)]&&(this[_0x347516(0xff)][_0x347516(0x107)]=getEsriSpatialReference(_0x48abd2['outSR'])),(_0x48abd2[_0x347516(0xe4)]===!![]||_0x48abd2[_0x347516(0xe4)]===![])&&(this[_0x347516(0xff)]['returnZ']=_0x48abd2[_0x347516(0xe4)]),(_0x48abd2[_0x347516(0xf2)]===!![]||_0x48abd2[_0x347516(0xf2)]===![])&&(this['params'][_0x347516(0xf2)]=_0x48abd2[_0x347516(0xf2)]));}[a83_0x4fcd77(0x124)](_0x377a97,_0x3a4dc1){const _0x1cf34a=a83_0x4fcd77;return this[_0x1cf34a(0x123)](_0x377a97,_0x3a4dc1),this[_0x1cf34a(0xff)]['spatialRel']=_0x1cf34a(0xed),this;}[a83_0x4fcd77(0xdc)](_0x4c8a9c,_0x487163){const _0x97d827=a83_0x4fcd77;return this[_0x97d827(0x123)](_0x4c8a9c,_0x487163),this[_0x97d827(0xff)][_0x97d827(0x116)]=_0x97d827(0x109),this;}[a83_0x4fcd77(0xdf)](_0x1dc2f9,_0x15898e){const _0x18e7be=a83_0x4fcd77;return this[_0x18e7be(0x123)](_0x1dc2f9,_0x15898e),this[_0x18e7be(0xff)][_0x18e7be(0x116)]=_0x18e7be(0xf4),this;}[a83_0x4fcd77(0x122)](_0x445867,_0x32ced2){const _0x47c892=a83_0x4fcd77;return this[_0x47c892(0x123)](_0x445867,_0x32ced2),this[_0x47c892(0xff)]['spatialRel']=_0x47c892(0xf7),this;}[a83_0x4fcd77(0x10d)](_0x3efc5e,_0x39e4c9){const _0x5d703a=a83_0x4fcd77;return this[_0x5d703a(0x123)](_0x3efc5e,_0x39e4c9),this['params'][_0x5d703a(0x116)]=_0x5d703a(0x10f),this;}[a83_0x4fcd77(0xfa)](_0x26fae9,_0xa26a74){const _0xf157a6=a83_0x4fcd77;return this[_0xf157a6(0x123)](_0x26fae9,_0xa26a74),this[_0xf157a6(0xff)]['spatialRel']=_0xf157a6(0xf3),this;}[a83_0x4fcd77(0xfc)](_0x2c4bbc,_0x59d3df){const _0x2dd9f0=a83_0x4fcd77;return this[_0x2dd9f0(0x123)](_0x2c4bbc,_0x59d3df),this[_0x2dd9f0(0xff)][_0x2dd9f0(0x116)]=_0x2dd9f0(0xeb),this;}[a83_0x4fcd77(0x113)](_0x572e7f,_0x1c5f35){const _0x41d9a3=a83_0x4fcd77;return this[_0x41d9a3(0x123)](_0x572e7f,_0x1c5f35),this['params'][_0x41d9a3(0x116)]=_0x41d9a3(0xdb),this;}[a83_0x4fcd77(0x100)](_0x1f0a3a,_0x5dd950,_0x1e7ae2){const _0x53ef0c=a83_0x4fcd77;return this[_0x53ef0c(0x123)](_0x1f0a3a,_0x5dd950),this['params'][_0x53ef0c(0x116)]=_0x53ef0c(0x109),this[_0x53ef0c(0xff)][_0x53ef0c(0x121)]='esriSRUnit_Meter',this[_0x53ef0c(0xff)][_0x53ef0c(0x11d)]=_0x1e7ae2,this;}[a83_0x4fcd77(0xf5)](_0x5edf38){const _0x44349c=a83_0x4fcd77;return this[_0x44349c(0xff)][_0x44349c(0xf5)]=_0x5edf38,this;}[a83_0x4fcd77(0xec)](_0x4570f5,_0x35db16){const _0x50b179=a83_0x4fcd77;return this[_0x50b179(0xff)][_0x50b179(0xde)]=[_0x4570f5[_0x50b179(0xe8)](),_0x35db16[_0x50b179(0xe8)]()],this;}['simplify'](_0x439d33,_0x8732ce){const _0x3a6bfb=a83_0x4fcd77,_0x361c16=_0x439d33[_0x3a6bfb(0xdd)]();var _0x9ce3aa=Math[_0x3a6bfb(0xf6)](_0x361c16[0x2]-_0x361c16[0x0]);const _0x281861=_0x439d33['getSize']();if(_0x281861)return this[_0x3a6bfb(0xff)][_0x3a6bfb(0x104)]=_0x9ce3aa/_0x281861[0x1]*_0x8732ce,this;}[a83_0x4fcd77(0x11f)](_0x4764c8,_0x414b1b){const _0xfcf492=a83_0x4fcd77;return _0x414b1b=_0x414b1b||_0xfcf492(0x10c),this[_0xfcf492(0xff)][_0xfcf492(0x10b)]=this[_0xfcf492(0xff)][_0xfcf492(0x10b)]?this[_0xfcf492(0xff)][_0xfcf492(0x10b)]+',':'',this[_0xfcf492(0xff)]['orderByFields']+=[_0x4764c8,_0x414b1b][_0xfcf492(0xe2)]('\x20'),this;}async['run'](){const _0x57f5ac=a83_0x4fcd77;this[_0x57f5ac(0x114)]();const _0x17528a=await this['request']()[_0x57f5ac(0x11c)](_0x250adb=>{throw new Error(_0x250adb);});if(_0x17528a[_0x57f5ac(0xf0)]!==0xc8)throw new Error(_0x57f5ac(0x118));if(_0x17528a[_0x57f5ac(0xe6)]&&_0x17528a[_0x57f5ac(0xe6)][_0x57f5ac(0x120)]&&_0x17528a['data'][_0x57f5ac(0x120)][_0x57f5ac(0x115)]>0x0){var _0x5cdb2b=new a83_0x18928c();let _0x1c4218=[];return _0x17528a['data'][_0x57f5ac(0x120)][_0x57f5ac(0xf1)](_0x4ee663=>{const _0x52d514=_0x57f5ac,_0x2f0cf1=_0x5cdb2b[_0x52d514(0x105)](_0x4ee663);_0x1c4218['push'](_0x2f0cf1);}),_0x1c4218;}return[];}[a83_0x4fcd77(0x108)](){const _0x443910=a83_0x4fcd77;this[_0x443910(0x114)](),this[_0x443910(0xff)][_0x443910(0xe1)]=!![],this[_0x443910(0x119)]();}[a83_0x4fcd77(0x10a)](){const _0x53f35e=a83_0x4fcd77;this['_cleanParams'](),this[_0x53f35e(0xff)][_0x53f35e(0xf8)]=!![],this[_0x53f35e(0x119)]();}[a83_0x4fcd77(0x111)](){const _0x3e3298=a83_0x4fcd77;return this[_0x3e3298(0xff)][_0x3e3298(0x11b)]=![],this[_0x3e3298(0xff)]['returnDistinctValues']=!![],this;}[a83_0x4fcd77(0xea)](_0x35c99c){const _0x56b7ab=a83_0x4fcd77;return this[_0x56b7ab(0x103)]=_0x35c99c+'/query',this;}['_trapSQLerrors'](_0x27d538){const _0xa6c3a3=a83_0x4fcd77;_0x27d538&&(_0x27d538['code']==='400'&&console[_0xa6c3a3(0xe7)][_0xa6c3a3(0xee)](_0xa6c3a3(0xe0)));}[a83_0x4fcd77(0x114)](){const _0x5c9ab9=a83_0x4fcd77;delete this['params'][_0x5c9ab9(0xf8)],delete this[_0x5c9ab9(0xff)]['returnExtentOnly'],delete this[_0x5c9ab9(0xff)][_0x5c9ab9(0xe1)];}[a83_0x4fcd77(0x123)](_0x417597,_0x163132){const _0x156843=a83_0x4fcd77;var _0x56bd3f=new a83_0x18928c();const _0x35eab1=_0x56bd3f[_0x156843(0x101)](_0x417597);this['params'][_0x156843(0x117)]=getEsriSpatialReference(_0x163132),this[_0x156843(0xff)][_0x156843(0x106)]=_0x35eab1,this[_0x156843(0xff)][_0x156843(0x10e)]=this[_0x156843(0xfe)](_0x417597['getType']());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a84_0x523ea6=a84_0x2f2b;(function(_0x18b49a,_0x2553bd){var _0x2e6956=a84_0x2f2b,_0x19be83=_0x18b49a();while(!![]){try{var _0x33529a=parseInt(_0x2e6956(0x103))/0x1+parseInt(_0x2e6956(0xe6))/0x2*(parseInt(_0x2e6956(0xe5))/0x3)+-parseInt(_0x2e6956(0xfb))/0x4+-parseInt(_0x2e6956(0xfc))/0x5*(parseInt(_0x2e6956(0xea))/0x6)+parseInt(_0x2e6956(0xe3))/0x7*(parseInt(_0x2e6956(0xee))/0x8)+-parseInt(_0x2e6956(0xe4))/0x9*(parseInt(_0x2e6956(0xeb))/0xa)+-parseInt(_0x2e6956(0x104))/0xb*(-parseInt(_0x2e6956(0xec))/0xc);if(_0x33529a===_0x2553bd)break;else _0x19be83['push'](_0x19be83['shift']());}catch(_0x5d737b){_0x19be83['push'](_0x19be83['shift']());}}}(a84_0x1725,0x38750));import a84_0x58e6d3 from'../../AxiosUtil';function a84_0x1725(){var _0x57aadd=['809768fvWIpb','2330JAmADK','[object\x20Object]','hasOwnProperty','[object\x20Array]','params','esriGeometryPolyline','get','307675YAsuWu','256091qpzpmA','toString','indexOf','valueOf','LineString','prototype','request','call','json','11347oFyvCf','3959901mqlzWC','945zJRbZm','106OScKWF','method','GET','serialize','5394AekTfw','10gLOlET','408gFOKil','Point','872WbgPTF','esriGeometryPoint','JSONP','isArcgisOnline','length','join','[object\x20Date]','url','test','esriGeometryPolygon','MultiPoint','esriGeometryMultipoint','Polygon'];a84_0x1725=function(){return _0x57aadd;};return a84_0x1725();}import{jsonp,stringify}from'../../AxiosUtil';function a84_0x2f2b(_0x2f98b6,_0x1cb866){var _0x1725f4=a84_0x1725();return a84_0x2f2b=function(_0x2f2b08,_0x1a44c7){_0x2f2b08=_0x2f2b08-0xe3;var _0x1370e7=_0x1725f4[_0x2f2b08];return _0x1370e7;},a84_0x2f2b(_0x2f98b6,_0x1cb866);}export default class Task{constructor(_0xce9a97,_0x59aedb,_0x3890b0){var _0x540602=a84_0x2f2b;this['url']=_0xce9a97,this[_0x540602(0x100)]=_0x59aedb||{},this[_0x540602(0xe7)]=!_0x3890b0?_0x540602(0xe8):_0x3890b0;}['geojsonTypeToArcGIS'](_0x28608d){var _0x429c42=a84_0x2f2b,_0x5c8800;switch(_0x28608d){case _0x429c42(0xed):_0x5c8800=_0x429c42(0xef);break;case _0x429c42(0xf8):_0x5c8800=_0x429c42(0xf9);break;case _0x429c42(0x108):_0x5c8800=_0x429c42(0x101);break;case'MultiLineString':_0x5c8800=_0x429c42(0x101);break;case _0x429c42(0xfa):_0x5c8800=_0x429c42(0xf7);break;case'MultiPolygon':_0x5c8800='esriGeometryPolygon';break;}return _0x5c8800;}[a84_0x523ea6(0xf1)](_0x2a6862){var _0x238308=a84_0x523ea6;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x238308(0xf6)](_0x2a6862);}[a84_0x523ea6(0xe9)](_0x16c965){var _0x39ad8c=a84_0x523ea6,_0x55e91a='';_0x16c965['f']=_0x16c965['f']||_0x39ad8c(0x10c);for(var _0x26e8a3 in _0x16c965){if(Object['prototype'][_0x39ad8c(0xfe)][_0x39ad8c(0x10b)](_0x16c965,_0x26e8a3)){var _0x28cb10=_0x16c965[_0x26e8a3],_0x5a1666=Object[_0x39ad8c(0x109)][_0x39ad8c(0x105)][_0x39ad8c(0x10b)](_0x28cb10),_0xeeb27a;_0x55e91a[_0x39ad8c(0xf2)]&&(_0x55e91a+='&');if(_0x5a1666===_0x39ad8c(0xff))_0xeeb27a=Object[_0x39ad8c(0x109)][_0x39ad8c(0x105)][_0x39ad8c(0x10b)](_0x28cb10[0x0])===_0x39ad8c(0xfd)?JSON['stringify'](_0x28cb10):_0x28cb10[_0x39ad8c(0xf3)](',');else{if(_0x5a1666==='[object\x20Object]')_0xeeb27a=JSON['stringify'](_0x28cb10);else _0x5a1666===_0x39ad8c(0xf4)?_0xeeb27a=_0x28cb10[_0x39ad8c(0x107)]():_0xeeb27a=_0x28cb10;}_0x55e91a+=encodeURIComponent(_0x26e8a3)+'='+encodeURIComponent(_0xeeb27a);}}return _0x55e91a;}['format'](_0x398176){var _0x1a214b=a84_0x523ea6;return this[_0x1a214b(0x100)]['returnUnformattedValues']=!_0x398176,this;}async[a84_0x523ea6(0x10a)](){var _0x6f0566=a84_0x523ea6,_0x24c142=this[_0x6f0566(0xe9)](this[_0x6f0566(0x100)]);const _0x4ea658=this[_0x6f0566(0xf5)][_0x6f0566(0x106)]('?')>-0x1?this[_0x6f0566(0xf5)]+'&'+_0x24c142:this[_0x6f0566(0xf5)]+'?'+_0x24c142;if(this[_0x6f0566(0xe7)]===_0x6f0566(0xe8))return a84_0x58e6d3[_0x6f0566(0x102)](_0x4ea658);else{if(this[_0x6f0566(0xe7)]===_0x6f0566(0xf0))return jsonp(_0x4ea658);else{const _0x3e7c6a=stringify(this[_0x6f0566(0x100)]);return a84_0x58e6d3['post'](this['url'],_0x3e7c6a);}}}}
|