ym-gis-2d 1.0.0 → 1.0.2
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/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.d.ts +1 -0
- package/feature/FeatureManager.d.ts.map +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 +4 -1
- package/mapView/Map.d.ts.map +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/Map.js.map +1 -1
- package/mapView/View.js +1 -1
- package/package.json +2 -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.js +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.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/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
package/utils/UrlUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2238ea,_0x521b9d){const _0x101032=a78_0x5c0a,_0x46062d=_0x2238ea();while(!![]){try{const _0x59a3b2=-parseInt(_0x101032(0x1c3))/0x1+parseInt(_0x101032(0x1b8))/0x2*(parseInt(_0x101032(0x1b7))/0x3)+-parseInt(_0x101032(0x1af))/0x4*(-parseInt(_0x101032(0x1ac))/0x5)+parseInt(_0x101032(0x1b2))/0x6*(-parseInt(_0x101032(0x1bb))/0x7)+-parseInt(_0x101032(0x1a9))/0x8+-parseInt(_0x101032(0x1b0))/0x9*(parseInt(_0x101032(0x1bc))/0xa)+-parseInt(_0x101032(0x1ba))/0xb*(-parseInt(_0x101032(0x1c1))/0xc);if(_0x59a3b2===_0x521b9d)break;else _0x46062d['push'](_0x46062d['shift']());}catch(_0x576029){_0x46062d['push'](_0x46062d['shift']());}}}(a78_0x65b3,0x9f139));export function addArgument(_0x5c3a93,_0x599d2,_0x48a41b){const _0x98b319=a78_0x5c0a,_0x5bf0bd=new RegExp(_0x98b319(0x1a7)+_0x599d2+_0x98b319(0x1aa),'gi');if(_0x5c3a93[_0x98b319(0x1b9)](_0x5bf0bd))_0x5c3a93=_0x5c3a93['replace'](_0x5bf0bd,_0x25a3d8=>_0x25a3d8[0x0]+_0x599d2+'='+_0x48a41b);else{var _0x411265=_0x599d2+'='+_0x48a41b,_0x27e155=_0x5c3a93[_0x98b319(0x1b3)]('?');let _0x12d1e7=_0x5c3a93;_0x27e155>-0x1&&_0x5c3a93[_0x98b319(0x1b3)](_0x98b319(0x1b1))>-0x1&&(_0x12d1e7=_0x5c3a93['substring'](_0x27e155+0x1),_0x27e155=_0x12d1e7[_0x98b319(0x1b3)]('?'));if(_0x27e155<0x0)_0x5c3a93+='?';else _0x27e155>=0x0&&_0x27e155!==_0x12d1e7[_0x98b319(0x1b5)]-0x1&&(_0x5c3a93+='&');_0x5c3a93=_0x5c3a93+_0x411265;}return _0x5c3a93;}export function appendParam(_0x3c0b9e,_0x48c089){const _0x36cde1=a78_0x5c0a;var _0x4a4011=_0x3c0b9e[_0x36cde1(0x1b3)]('?');let _0x5b9fe6=_0x3c0b9e;if(_0x4a4011>-0x1&&_0x3c0b9e[_0x36cde1(0x1b3)](_0x36cde1(0x1b1))>-0x1){let _0x4103a1=_0x4a4011+0x1;_0x5b9fe6=_0x3c0b9e['substring'](_0x4a4011+0x1),_0x4a4011=_0x5b9fe6['indexOf']('?');}return _0x4a4011>-0x1?_0x3c0b9e+'&'+_0x48c089:_0x3c0b9e+'?'+_0x48c089;}export function appendPath(_0x56032f,_0x278a88){const _0x2f439d=a78_0x5c0a;var _0x25ddf5=_0x56032f[_0x2f439d(0x1b3)]('?');let _0x59b7e8=_0x56032f;if(_0x25ddf5>-0x1&&_0x56032f[_0x2f439d(0x1b3)](_0x2f439d(0x1b1))>-0x1){let _0x4a30d6=_0x25ddf5+0x1;_0x59b7e8=_0x56032f[_0x2f439d(0x1bf)](_0x25ddf5+0x1),_0x25ddf5=_0x59b7e8[_0x2f439d(0x1b3)]('?'),_0x25ddf5>-0x1&&(_0x25ddf5+=_0x4a30d6);}return _0x25ddf5>-0x1?_0x56032f[_0x2f439d(0x1bf)](0x0,_0x25ddf5)+'/'+_0x278a88+_0x56032f[_0x2f439d(0x1bf)](_0x25ddf5):_0x56032f+'/'+_0x278a88;}export function getUrlParams(_0x2e100a){const _0xd6f24a=a78_0x5c0a;var _0xddc618,_0x51540d;let _0x1f2ecb=_0x2e100a[_0xd6f24a(0x1b3)](_0xd6f24a(0x1b1)),_0xe96c02;_0x1f2ecb>-0x1?_0x2e100a[_0xd6f24a(0x1b3)]('?',_0x1f2ecb+0x3)>-0x1&&(_0xe96c02=(_0xddc618=_0x2e100a['split']('?'))===null||_0xddc618===void 0x0?void 0x0:_0xddc618[0x2]):_0x2e100a['indexOf']('?')>-0x1&&(_0xe96c02=(_0x51540d=_0x2e100a[_0xd6f24a(0x1ab)]('?'))===null||_0x51540d===void 0x0?void 0x0:_0x51540d[0x1]);if(_0xe96c02)return createParamByQuery(_0xe96c02);return[];}function createParamByQuery(_0x353b82){const _0x32f21c=a78_0x5c0a;let _0x2d0130=_0x353b82['split']('&');return _0x2d0130[_0x32f21c(0x1c4)](_0x257bd2=>{const _0x36fbe8=_0x32f21c;var _0x432062=_0x257bd2[_0x36fbe8(0x1ab)]('=');return{'name':_0x432062[0x0],'value':_0x432062[0x1]};});}export function parseImage(_0x1cbb91,_0x2608f1){let _0x398b2e='';if(_0x1cbb91){if(_0x1cbb91['match'](/^(data|http|https)/))_0x398b2e=_0x1cbb91;else{if(_0x1cbb91['match'](/Assets/))_0x398b2e=_0x1cbb91;else{}}}return _0x398b2e;}export function downloadBlob(_0x296b8e,_0x186744){const _0x42bf61=a78_0x5c0a,_0x47289b=URL[_0x42bf61(0x1c5)](_0x296b8e);var _0x3519a1=document[_0x42bf61(0x1b4)]('a');_0x3519a1[_0x42bf61(0x1b6)](_0x42bf61(0x1c2),_0x47289b),_0x3519a1[_0x42bf61(0x1b6)](_0x42bf61(0x1c0),'_blank'),_0x3519a1['setAttribute'](_0x42bf61(0x1ad),_0x186744),document[_0x42bf61(0x1bd)][_0x42bf61(0x1be)](_0x3519a1),_0x3519a1['click'](),document['body'][_0x42bf61(0x1ae)](_0x3519a1),URL[_0x42bf61(0x1a8)](_0x47289b);}function a78_0x5c0a(_0x4e99fd,_0x13f078){const _0x65b309=a78_0x65b3();return a78_0x5c0a=function(_0x5c0a91,_0x5e7416){_0x5c0a91=_0x5c0a91-0x1a7;let _0x546a96=_0x65b309[_0x5c0a91];return _0x546a96;},a78_0x5c0a(_0x4e99fd,_0x13f078);}function a78_0x65b3(){const _0x3b3184=['createElement','length','setAttribute','879mBPkqe','7902vDeCqK','match','22HRtIyK','14szMHYK','8238760WlIGuY','body','appendChild','substring','target','9798864VlAkwc','href','889737MBuRmS','map','createObjectURL','[\x5c?&](','revokeObjectURL','10122360TjfkdV','=)([^&]*)','split','2464150fCoKfc','download','removeChild','8WPNPRr','9SCjxgR','?http','437886BllWAv','indexOf'];a78_0x65b3=function(){return _0x3b3184;};return a78_0x65b3();}
|
package/utils/XmlUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a79_0xbd59(_0x3779af,_0x41d6b5){const _0x255d63=a79_0x255d();return a79_0xbd59=function(_0xbd5979,_0x484342){_0xbd5979=_0xbd5979-0x150;let _0x28103c=_0x255d63[_0xbd5979];return _0x28103c;},a79_0xbd59(_0x3779af,_0x41d6b5);}(function(_0xc2733c,_0x3e06cf){const _0x22f61e=a79_0xbd59,_0x5c36dc=_0xc2733c();while(!![]){try{const _0xaf042=-parseInt(_0x22f61e(0x150))/0x1+-parseInt(_0x22f61e(0x151))/0x2*(parseInt(_0x22f61e(0x160))/0x3)+-parseInt(_0x22f61e(0x158))/0x4+parseInt(_0x22f61e(0x157))/0x5*(parseInt(_0x22f61e(0x15a))/0x6)+-parseInt(_0x22f61e(0x15b))/0x7*(parseInt(_0x22f61e(0x155))/0x8)+-parseInt(_0x22f61e(0x15f))/0x9+parseInt(_0x22f61e(0x152))/0xa*(parseInt(_0x22f61e(0x154))/0xb);if(_0xaf042===_0x3e06cf)break;else _0x5c36dc['push'](_0x5c36dc['shift']());}catch(_0x13c282){_0x5c36dc['push'](_0x5c36dc['shift']());}}}(a79_0x255d,0x5b1a0));export function readXml(_0xc9d916){const _0xbe3600=a79_0xbd59;let _0x1b49f2;return window[_0xbe3600(0x153)]?_0x1b49f2=new DOMParser()[_0xbe3600(0x156)](_0xc9d916,_0xbe3600(0x161)):(_0x1b49f2=new ActiveXObject(_0xbe3600(0x15c)),_0x1b49f2[_0xbe3600(0x15d)]=_0xbe3600(0x15e),_0x1b49f2[_0xbe3600(0x159)](_0xc9d916)),_0x1b49f2;}function a79_0x255d(){const _0x519887=['Microsoft.XMLDOM','async','false','2098323VJboRX','326409MwzIGJ','text/xml','687883evDDit','2CKWLkw','60OqFXrF','DOMParser','1893903nGZMqS','126128ohvsgx','parseFromString','35SgmdeZ','318296IZTNfL','loadXML','560982gavMkx','91dewfpv'];a79_0x255d=function(){return _0x519887;};return a79_0x255d();}
|
package/utils/format/CQL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a62_0x3aa4(_0x2edc8f,_0x5325b7){const _0x2bbca1=a62_0x2bbc();return a62_0x3aa4=function(_0x3aa408,_0x455c4f){_0x3aa408=_0x3aa408-0xf1;let _0x300dca=_0x2bbca1[_0x3aa408];return _0x300dca;},a62_0x3aa4(_0x2edc8f,_0x5325b7);}const a62_0x217b4a=a62_0x3aa4;(function(_0x39ec4b,_0x687397){const _0x3b700c=a62_0x3aa4,_0x3e47df=_0x39ec4b();while(!![]){try{const _0x28e1a2=-parseInt(_0x3b700c(0x146))/0x1*(parseInt(_0x3b700c(0x132))/0x2)+parseInt(_0x3b700c(0x105))/0x3*(-parseInt(_0x3b700c(0x142))/0x4)+parseInt(_0x3b700c(0x11c))/0x5+-parseInt(_0x3b700c(0x10a))/0x6*(-parseInt(_0x3b700c(0x13f))/0x7)+parseInt(_0x3b700c(0xf7))/0x8*(-parseInt(_0x3b700c(0x112))/0x9)+parseInt(_0x3b700c(0xfa))/0xa+-parseInt(_0x3b700c(0x108))/0xb;if(_0x28e1a2===_0x687397)break;else _0x3e47df['push'](_0x3e47df['shift']());}catch(_0x125356){_0x3e47df['push'](_0x3e47df['shift']());}}}(a62_0x2bbc,0x24528));import*as a62_0x293e76 from'ol/format/filter';import{WKT}from'ol/format';function a62_0x2bbc(){const _0x2d4755=['PropertyIsLessThan','BBOX(','IS_NULL','index','PropertyIsGreaterThan','text','888580mdwGWJ','PropertyIsEqualTo','],\x20expected\x20one\x20of:\x20','Intersects','number','string','END','follows','condition','between','inPatterns','PropertyIsLessThanOrEqualTo','expression','operators','warn','lessThanOrEqualTo','geometry','not','geometryName','tryToken','WITHIN','PropertyIsLike','598TihNna','join','pop','replace','buildAst','split','PropertyIsBetween','propertyName','COMPARISON','\x20BETWEEN\x20','COMMA','\x20or\x20','VALUE','192766ltWDHO','BETWEEN','conditions','15116OcieWD','write','Can\x27t\x20encode:\x20','INTERSECTS','364hDztiB','operatorReverse','within','GEOMETRY','precedence','push','WITHIN(','IS\x20NULL','match','PROPERTY','nextToken','like','lessThan','contains','NOT','\x20AND\x20','tagName_','NOT\x20(','tokens','remainder','tokenize','length','CONTAINS(','ERROR:\x20In\x20parsing:\x20[','toLowerCase','readGeometry','indexOf','INTERSECTS(','PropertyIsGreaterThanOrEqualTo','type','Unknown\x20token\x20type\x20','isNull','greaterThan','235248aRSaYf','shift','substring','593450BpNNUz','RPAREN','\x0a\x20\x20\x20\x20','No\x20follows\x20list\x20for\x20','property','Not','PropertyIsNull','logicals','BBOX','CLASS_NAME','LPAREN','15Kdxvfm','SPATIAL','charAt','28094iJTINy','剩余的节点无法解析:\x20\x0a','54ljbeRd','replaceAll','srsName','toUpperCase','Contains','CQL解析失败:','lastIndexOf','LOGICAL','63nTmlkb','parseInToOr','exec','greaterThanOrEqualTo'];a62_0x2bbc=function(){return _0x2d4755;};return a62_0x2bbc();}import a62_0x724fc7 from'ol/geom/Geometry';export default class CQL{constructor(){const _0xad2f01=a62_0x3aa4;this[_0xad2f01(0x126)]=/ (IN) /i,this[_0xad2f01(0x158)]=[_0xad2f01(0x14f),_0xad2f01(0x13a),_0xad2f01(0x13e),_0xad2f01(0x111)],this['patterns']={'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(_0xe984d3){const _0x3d264b=_0xad2f01;let _0x4a2404=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x3d264b(0x114)](_0xe984d3);if(_0x4a2404){let _0x251846=_0xe984d3[_0x3d264b(0x15b)],_0xdeed23=_0xe984d3[_0x3d264b(0x160)]('(',_0x4a2404[0x0][_0x3d264b(0x15b)]);if(_0xdeed23>-0x1){let _0x4929d4=0x1;while(_0xdeed23<_0x251846&&_0x4929d4>0x0){_0xdeed23++;switch(_0xe984d3[_0x3d264b(0x107)](_0xdeed23)){case'(':_0x4929d4++;break;case')':_0x4929d4--;break;default:}}}return[_0xe984d3['substring'](0x0,_0xdeed23+0x1)];}},'END':/^$/},this[_0xad2f01(0x123)]={'LPAREN':[_0xad2f01(0x149),_0xad2f01(0x106),_0xad2f01(0x14f),_0xad2f01(0x13e),'LPAREN'],'RPAREN':[_0xad2f01(0x154),_0xad2f01(0x111),_0xad2f01(0x122),_0xad2f01(0xfb)],'PROPERTY':[_0xad2f01(0x13a),_0xad2f01(0x140),'COMMA',_0xad2f01(0x118)],'BETWEEN':[_0xad2f01(0x13e)],'IS_NULL':[_0xad2f01(0x122)],'COMPARISON':[_0xad2f01(0x13e)],'COMMA':['GEOMETRY',_0xad2f01(0x13e),_0xad2f01(0x14f)],'VALUE':[_0xad2f01(0x111),_0xad2f01(0x13c),_0xad2f01(0xfb),_0xad2f01(0x122)],'SPATIAL':[_0xad2f01(0x104)],'LOGICAL':['NOT','VALUE',_0xad2f01(0x106),_0xad2f01(0x14f),_0xad2f01(0x104)],'NOT':[_0xad2f01(0x14f),_0xad2f01(0x104)],'GEOMETRY':[_0xad2f01(0x13c),_0xad2f01(0xfb)]},this[_0xad2f01(0x129)]={'=':a62_0x293e76['equalTo'],'<>':a62_0x293e76['notEqualTo'],'<':a62_0x293e76[_0xad2f01(0x152)],'<=':a62_0x293e76[_0xad2f01(0x12b)],'>':a62_0x293e76[_0xad2f01(0xf6)],'>=':a62_0x293e76[_0xad2f01(0x115)],'LIKE':a62_0x293e76[_0xad2f01(0x151)],'BETWEEN':a62_0x293e76[_0xad2f01(0x125)],'IS\x20NULL':a62_0x293e76[_0xad2f01(0xf5)]},this['operatorReverse']={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':'LIKE','PropertyIsNull':_0xad2f01(0x14d),'PropertyIsBetween':'BETWEEN'},this['logicals']={'AND':a62_0x293e76['and'],'OR':a62_0x293e76['or']},this[_0xad2f01(0x14a)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}[a62_0x217b4a(0x12f)](_0x328e9b,_0x231e92){const _0x43fd6b=a62_0x217b4a;return _0x231e92 instanceof RegExp?_0x231e92[_0x43fd6b(0x114)](_0x328e9b):_0x231e92(_0x328e9b);}['nextToken'](_0x863044,_0x1d8fb3){const _0x2986c7=a62_0x217b4a;let _0x10beaf,_0x4c2066,_0x41cece=_0x1d8fb3[_0x2986c7(0x15b)];for(_0x10beaf=0x0;_0x10beaf<_0x41cece;_0x10beaf++){_0x4c2066=_0x1d8fb3[_0x10beaf];let _0xd57843=this['patterns'][_0x4c2066],_0x20d974=this[_0x2986c7(0x12f)](_0x863044,_0xd57843);if(_0x20d974){let _0x49e72e=_0x20d974[0x0],_0x598fd8=_0x863044[_0x2986c7(0xf9)](_0x49e72e['length'])[_0x2986c7(0x135)](/^\s*/,'');return{'type':_0x4c2066,'text':_0x49e72e,'remainder':_0x598fd8};}}let _0x17733e=_0x2986c7(0x15d)+_0x863044+_0x2986c7(0x11e);for(_0x10beaf=0x0;_0x10beaf<_0x41cece;_0x10beaf++){_0x4c2066=_0x1d8fb3[_0x10beaf],_0x17733e+=_0x2986c7(0xfc)+_0x4c2066+':\x20'+this['patterns'][_0x4c2066];}throw new Error(_0x17733e);}[a62_0x217b4a(0x15a)](_0x59caa4){const _0x42b3dc=a62_0x217b4a;_0x59caa4=_0x59caa4['replaceAll']('[','')[_0x42b3dc(0x10b)](']','');let _0x5e95eb=this[_0x42b3dc(0x12f)](_0x59caa4,this['inPatterns']);_0x5e95eb&&(_0x59caa4=this['parseInToOr'](_0x59caa4,_0x5e95eb));let _0x6ceba4=[],_0x4ac0d9,_0x42c6cd=[_0x42b3dc(0x154),_0x42b3dc(0x149),'SPATIAL',_0x42b3dc(0x14f),'LPAREN'];do{_0x4ac0d9=this[_0x42b3dc(0x150)](_0x59caa4,_0x42c6cd),_0x59caa4=_0x4ac0d9[_0x42b3dc(0x159)],_0x42c6cd=this['follows'][_0x4ac0d9[_0x42b3dc(0xf3)]];if(_0x4ac0d9[_0x42b3dc(0xf3)]!=='END'&&!_0x42c6cd)throw new Error(_0x42b3dc(0xfd)+_0x4ac0d9[_0x42b3dc(0xf3)]);_0x6ceba4[_0x42b3dc(0x14b)](_0x4ac0d9);}while(_0x4ac0d9[_0x42b3dc(0xf3)]!==_0x42b3dc(0x122));return _0x6ceba4;}[a62_0x217b4a(0x113)](_0x1ca2f5,_0x17ab00){const _0x511a59=a62_0x217b4a;let _0x403deb=this['tryToken'](_0x1ca2f5,/\((.+?)\)/g);if(_0x403deb){let _0x40f023=_0x1ca2f5[_0x511a59(0xf9)](0x0,_0x17ab00[_0x511a59(0x119)]),_0x27c5a7=_0x403deb[0x1],_0x5ac433=_0x27c5a7[_0x511a59(0x10b)]('\x20','')[_0x511a59(0x137)](','),_0x195c4b='',_0x33fad5='';if(_0x40f023['indexOf']('\x20')>-0x1){let _0x19f59a=_0x40f023[_0x511a59(0x110)]('\x20');_0x33fad5=_0x40f023[_0x511a59(0xf9)](0x0,_0x19f59a+0x1),_0x195c4b=_0x40f023['substring'](_0x19f59a+0x1,_0x40f023['length']);}else _0x195c4b=_0x40f023;let _0x348c73=_0x33fad5;for(let _0x50f02c=0x0;_0x50f02c<_0x5ac433['length'];_0x50f02c++){let _0x3e8145=_0x5ac433[_0x50f02c];_0x348c73+=_0x195c4b+'='+_0x3e8145,_0x50f02c<_0x5ac433[_0x511a59(0x15b)]-0x1&&(_0x348c73+=_0x511a59(0x13d));}return _0x348c73;}return _0x1ca2f5;}[a62_0x217b4a(0x136)](_0x4025f5){const _0x3e0e21=a62_0x217b4a;let _0x39d28c=this,_0x3139ea=[],_0x522383=[];while(_0x4025f5[_0x3e0e21(0x15b)]){let _0x557787=_0x4025f5[_0x3e0e21(0xf8)]();switch(_0x557787[_0x3e0e21(0xf3)]){case _0x3e0e21(0x14f):case _0x3e0e21(0x149):case'VALUE':_0x522383[_0x3e0e21(0x14b)](_0x557787);break;case _0x3e0e21(0x13a):case _0x3e0e21(0x140):case'IS_NULL':case _0x3e0e21(0x111):{let _0x34cc98=this[_0x3e0e21(0x14a)][_0x557787[_0x3e0e21(0xf3)]];while(_0x3139ea[_0x3e0e21(0x15b)]>0x0&&this[_0x3e0e21(0x14a)][_0x3139ea[_0x3139ea[_0x3e0e21(0x15b)]-0x1]['type']]<=_0x34cc98){_0x522383['push'](_0x3139ea['pop']());}_0x3139ea[_0x3e0e21(0x14b)](_0x557787);break;}case _0x3e0e21(0x106):case _0x3e0e21(0x154):case'LPAREN':_0x3139ea[_0x3e0e21(0x14b)](_0x557787);break;case _0x3e0e21(0xfb):while(_0x3139ea[_0x3e0e21(0x15b)]>0x0&&_0x3139ea[_0x3139ea[_0x3e0e21(0x15b)]-0x1][_0x3e0e21(0xf3)]!==_0x3e0e21(0x104)){_0x522383['push'](_0x3139ea[_0x3e0e21(0x134)]());}_0x3139ea[_0x3e0e21(0x134)]();_0x3139ea['length']>0x0&&(_0x3139ea[_0x3139ea[_0x3e0e21(0x15b)]-0x1][_0x3e0e21(0xf3)]===_0x3e0e21(0x106)||_0x3139ea[_0x3139ea[_0x3e0e21(0x15b)]-0x1][_0x3e0e21(0xf3)]===_0x3e0e21(0x154))&&_0x522383['push'](_0x3139ea[_0x3e0e21(0x134)]());break;case _0x3e0e21(0x13c):case _0x3e0e21(0x122):break;default:throw new Error(_0x3e0e21(0xf4)+_0x557787['type']);}}while(_0x3139ea[_0x3e0e21(0x15b)]>0x0){_0x522383[_0x3e0e21(0x14b)](_0x3139ea[_0x3e0e21(0x134)]());}function _0x57dd35(){const _0x53b87d=_0x3e0e21;let _0x45b993,_0x476463,_0x2f419f=_0x522383['pop']();switch(_0x2f419f[_0x53b87d(0xf3)]){case _0x53b87d(0x111):{let _0x2cdef4=_0x57dd35(),_0x246ee5=_0x57dd35();return new _0x39d28c[(_0x53b87d(0x101))][(_0x2f419f[_0x53b87d(0x11b)]['toUpperCase']())](_0x246ee5,_0x2cdef4);}case _0x53b87d(0x154):{let _0x15ed72=_0x57dd35();return a62_0x293e76[_0x53b87d(0x12d)](_0x15ed72);}case _0x53b87d(0x140):{let _0x18e6ea,_0x56a077;return _0x522383[_0x53b87d(0x134)](),_0x56a077=_0x57dd35(),_0x18e6ea=_0x57dd35(),_0x476463=_0x57dd35(),a62_0x293e76[_0x53b87d(0x125)](_0x476463,_0x18e6ea,_0x56a077);}case'COMPARISON':{return _0x45b993=_0x57dd35(),_0x476463=_0x57dd35(),new _0x39d28c[(_0x53b87d(0x129))][(_0x2f419f[_0x53b87d(0x11b)][_0x53b87d(0x10d)]())](_0x476463,_0x45b993);}case'IS_NULL':_0x476463=_0x57dd35();return new _0x39d28c[(_0x53b87d(0x129))][(_0x2f419f[_0x53b87d(0x11b)][_0x53b87d(0x10d)]())](_0x476463);case'VALUE':{let _0xd8e564=_0x2f419f['text'][_0x53b87d(0x14e)](/^'(.*)'$/);return _0xd8e564?_0xd8e564[0x1][_0x53b87d(0x135)](/''/g,'\x27'):Number(_0x2f419f[_0x53b87d(0x11b)]);}case _0x53b87d(0x106):switch(_0x2f419f['text']['toUpperCase']()){case _0x53b87d(0x102):{let _0x99d4ad=_0x57dd35(),_0x3cca68=_0x57dd35(),_0x21f47b=_0x57dd35(),_0x6b12e=_0x57dd35(),_0x11eafe=_0x57dd35();return a62_0x293e76['bbox'](_0x11eafe,[_0x6b12e,_0x21f47b,_0x3cca68,_0x99d4ad]);}case _0x53b87d(0x145):_0x45b993=_0x57dd35(),_0x476463=_0x57dd35();return a62_0x293e76['intersects'](_0x476463,_0x45b993);case _0x53b87d(0x130):_0x45b993=_0x57dd35(),_0x476463=_0x57dd35();return a62_0x293e76[_0x53b87d(0x148)](_0x476463,_0x45b993);case'CONTAINS':_0x45b993=_0x57dd35(),_0x476463=_0x57dd35();return a62_0x293e76[_0x53b87d(0x153)](_0x476463,_0x45b993);}break;case'GEOMETRY':return new WKT()['readGeometry'](_0x2f419f['text'],{});default:return _0x2f419f['text'];}}let _0x354101=_0x57dd35();if(_0x522383[_0x3e0e21(0x15b)]>0x0){let _0x270c21=_0x3e0e21(0x109);for(let _0x4c3c4a=_0x522383[_0x3e0e21(0x15b)]-0x1;_0x4c3c4a>=0x0;_0x4c3c4a--){_0x270c21+=_0x522383[_0x4c3c4a][_0x3e0e21(0xf3)]+':\x20'+_0x522383[_0x4c3c4a]['text']+'\x0a';}throw new Error(_0x270c21);}return _0x354101;}['read'](_0xf74a7f){const _0x564cae=a62_0x217b4a;try{return this[_0x564cae(0x136)](this[_0x564cae(0x15a)](_0xf74a7f));}catch(_0x534482){console[_0x564cae(0x12a)](_0x564cae(0x10f)+_0xf74a7f),console['warn'](_0x534482);}}['write'](_0x27eb4a){const _0x17bdbd=a62_0x217b4a;switch(_0x27eb4a['tagName_']){case _0x17bdbd(0x102):return _0x17bdbd(0x117)+_0x27eb4a[_0x17bdbd(0x12e)]+','+_0x27eb4a['extent'][_0x17bdbd(0x133)](',')+','+_0x27eb4a[_0x17bdbd(0x10c)]+')';case'Within':return _0x17bdbd(0x14c)+_0x27eb4a[_0x17bdbd(0x12e)]+',\x20'+this[_0x17bdbd(0x15f)](_0x27eb4a['geometry'])+')';case _0x17bdbd(0x11f):return _0x17bdbd(0xf1)+_0x27eb4a[_0x17bdbd(0x12e)]+',\x20'+this[_0x17bdbd(0x15f)](_0x27eb4a[_0x17bdbd(0x12c)])+')';case _0x17bdbd(0x10e):return _0x17bdbd(0x15c)+_0x27eb4a[_0x17bdbd(0x12e)]+',\x20'+this[_0x17bdbd(0x15f)](_0x27eb4a[_0x17bdbd(0x12c)])+')';case _0x17bdbd(0xff):return _0x17bdbd(0x157)+this[_0x17bdbd(0x143)](_0x27eb4a[_0x17bdbd(0x124)])+')';case'And':case'Or':{let _0x25aed3='(',_0xedb068=!![];for(let _0x483057=0x0;_0x483057<_0x27eb4a[_0x17bdbd(0x141)]['length'];_0x483057++){_0xedb068?_0xedb068=![]:_0x25aed3+=')\x20'+_0x27eb4a[_0x17bdbd(0x156)][_0x17bdbd(0x15e)]()+'\x20(',_0x25aed3+=this['write'](_0x27eb4a[_0x17bdbd(0x141)][_0x483057]);}return _0x25aed3+')';}case _0x17bdbd(0x138):return _0x27eb4a[_0x17bdbd(0xfe)]+_0x17bdbd(0x13b)+this[_0x17bdbd(0x143)](_0x27eb4a['lowerBoundary'])+_0x17bdbd(0x155)+this[_0x17bdbd(0x143)](_0x27eb4a['upperBoundary']);case _0x17bdbd(0x11d):case'PropertyIsNotEqualTo':case _0x17bdbd(0x116):case _0x17bdbd(0x127):case _0x17bdbd(0x11a):case _0x17bdbd(0xf2):case _0x17bdbd(0x131):case _0x17bdbd(0x100):{return _0x27eb4a[_0x17bdbd(0x128)]!==null?_0x27eb4a[_0x17bdbd(0x139)]+'\x20'+this[_0x17bdbd(0x147)][_0x27eb4a[_0x17bdbd(0x156)]]+'\x20'+this[_0x17bdbd(0x143)](_0x27eb4a['expression']):_0x27eb4a[_0x17bdbd(0x139)]+'\x20'+this[_0x17bdbd(0x147)][_0x27eb4a[_0x17bdbd(0x156)]];}case undefined:if(typeof _0x27eb4a===_0x17bdbd(0x121))return'\x27'+_0x27eb4a[_0x17bdbd(0x135)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x27eb4a===_0x17bdbd(0x120))return String(_0x27eb4a);}break;default:throw new Error(_0x17bdbd(0x144)+_0x27eb4a[_0x17bdbd(0x103)]+'\x20'+_0x27eb4a);}}['readGeometry'](_0x47a2fa){if(_0x47a2fa instanceof a62_0x724fc7)return new WKT()['writeGeometry'](_0x47a2fa);}}
|
|
1
|
+
const a62_0x57cbb3=a62_0x1653;(function(_0x39fde7,_0x1ed199){const _0x3d488a=a62_0x1653,_0xee080=_0x39fde7();while(!![]){try{const _0x7f3103=-parseInt(_0x3d488a(0x129))/0x1*(parseInt(_0x3d488a(0xc5))/0x2)+-parseInt(_0x3d488a(0xf0))/0x3*(-parseInt(_0x3d488a(0x119))/0x4)+-parseInt(_0x3d488a(0x104))/0x5*(parseInt(_0x3d488a(0xd5))/0x6)+-parseInt(_0x3d488a(0x111))/0x7+parseInt(_0x3d488a(0x10f))/0x8*(parseInt(_0x3d488a(0x121))/0x9)+-parseInt(_0x3d488a(0x10d))/0xa*(parseInt(_0x3d488a(0xc3))/0xb)+parseInt(_0x3d488a(0xe7))/0xc;if(_0x7f3103===_0x1ed199)break;else _0xee080['push'](_0xee080['shift']());}catch(_0x337a86){_0xee080['push'](_0xee080['shift']());}}}(a62_0x1b40,0x942e5));function a62_0x1653(_0x5491b8,_0x4d6ae6){const _0x1b40a3=a62_0x1b40();return a62_0x1653=function(_0x1653c8,_0x3ba420){_0x1653c8=_0x1653c8-0xc0;let _0x42f860=_0x1b40a3[_0x1653c8];return _0x42f860;},a62_0x1653(_0x5491b8,_0x4d6ae6);}import*as a62_0x2aba56 from'ol/format/filter';import{WKT}from'ol/format';function a62_0x1b40(){const _0x4c540e=['],\x20expected\x20one\x20of:\x20','replaceAll','shift','2hVIchH','PropertyIsNotEqualTo','BBOX(','operators','not','readGeometry','isNull','toUpperCase','inPatterns','66Opklcd','precedence','250872yKtkGL','pop','LOGICAL','CLASS_NAME','remainder','SPATIAL','Can\x27t\x20encode:\x20','intersects','greaterThanOrEqualTo','and','PropertyIsNull','BETWEEN','geometry','push','between','length','2118EllezC','COMMA','Unknown\x20token\x20type\x20','substring','RPAREN','charAt','split','expression','\x20or\x20','\x20BETWEEN\x20','follows','PropertyIsLessThan','LIKE','string','VALUE','IS_NULL','INTERSECTS(','ERROR:\x20In\x20parsing:\x20[','15329832ublWxb','tokens','GEOMETRY','buildAst','PropertyIsBetween','geometryName','replace','PropertyIsLike','Within','201kzyPoG','tryToken','NOT','notEqualTo','contains','WITHIN(','CONTAINS(','END','LPAREN','PropertyIsGreaterThanOrEqualTo','write','COMPARISON','Not','PropertyIsGreaterThan','nextToken','tokenize','CQL解析失败:','index','lessThanOrEqualTo','PropertyIsEqualTo','4450HijoOx','conditions','patterns','No\x20follows\x20list\x20for\x20','lastIndexOf','upperBoundary','operatorReverse','like','tagName_','210DXCAgl','parseInToOr','1400xVriaS','match','5849242VrekxA','writeGeometry','property','type','propertyName','WITHIN','greaterThan','INTERSECTS','18344reFfvM','toLowerCase','extent','text','CONTAINS','PROPERTY','IS\x20NULL','NOT\x20(','21753SUuaxy','logicals','Contains','join','\x20AND\x20'];a62_0x1b40=function(){return _0x4c540e;};return a62_0x1b40();}import a62_0x2c5953 from'ol/geom/Geometry';export default class CQL{constructor(){const _0x1a386b=a62_0x1653;this[_0x1a386b(0xc2)]=/ (IN) /i,this[_0x1a386b(0xe8)]=[_0x1a386b(0x11e),'COMPARISON',_0x1a386b(0xe3),'LOGICAL'],this[_0x1a386b(0x106)]={'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(_0x4e8db7){const _0x3732a5=_0x1a386b;let _0x93f1a2=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/['exec'](_0x4e8db7);if(_0x93f1a2){let _0x2e372f=_0x4e8db7[_0x3732a5(0xd4)],_0x4e2c08=_0x4e8db7['indexOf']('(',_0x93f1a2[0x0]['length']);if(_0x4e2c08>-0x1){let _0x42f71a=0x1;while(_0x4e2c08<_0x2e372f&&_0x42f71a>0x0){_0x4e2c08++;switch(_0x4e8db7[_0x3732a5(0xda)](_0x4e2c08)){case'(':_0x42f71a++;break;case')':_0x42f71a--;break;default:}}}return[_0x4e8db7['substring'](0x0,_0x4e2c08+0x1)];}},'END':/^$/},this[_0x1a386b(0xdf)]={'LPAREN':[_0x1a386b(0xe9),_0x1a386b(0xca),'PROPERTY','VALUE',_0x1a386b(0xf8)],'RPAREN':[_0x1a386b(0xf2),'LOGICAL',_0x1a386b(0xf7),_0x1a386b(0xd9)],'PROPERTY':[_0x1a386b(0xfb),_0x1a386b(0xd0),_0x1a386b(0xd6),_0x1a386b(0xe4)],'BETWEEN':[_0x1a386b(0xe3)],'IS_NULL':[_0x1a386b(0xf7)],'COMPARISON':[_0x1a386b(0xe3)],'COMMA':[_0x1a386b(0xe9),_0x1a386b(0xe3),_0x1a386b(0x11e)],'VALUE':[_0x1a386b(0xc7),_0x1a386b(0xd6),_0x1a386b(0xd9),_0x1a386b(0xf7)],'SPATIAL':['LPAREN'],'LOGICAL':[_0x1a386b(0xf2),_0x1a386b(0xe3),'SPATIAL',_0x1a386b(0x11e),_0x1a386b(0xf8)],'NOT':['PROPERTY','LPAREN'],'GEOMETRY':['COMMA',_0x1a386b(0xd9)]},this['operators']={'=':a62_0x2aba56['equalTo'],'<>':a62_0x2aba56[_0x1a386b(0xf3)],'<':a62_0x2aba56['lessThan'],'<=':a62_0x2aba56[_0x1a386b(0x102)],'>':a62_0x2aba56[_0x1a386b(0x117)],'>=':a62_0x2aba56[_0x1a386b(0xcd)],'LIKE':a62_0x2aba56[_0x1a386b(0x10b)],'BETWEEN':a62_0x2aba56[_0x1a386b(0xd3)],'IS\x20NULL':a62_0x2aba56[_0x1a386b(0xc0)]},this['operatorReverse']={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x1a386b(0xe1),'PropertyIsNull':_0x1a386b(0x11f),'PropertyIsBetween':_0x1a386b(0xd0)},this['logicals']={'AND':a62_0x2aba56[_0x1a386b(0xce)],'OR':a62_0x2aba56['or']},this[_0x1a386b(0xc4)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}['tryToken'](_0x5be321,_0x598b05){return _0x598b05 instanceof RegExp?_0x598b05['exec'](_0x5be321):_0x598b05(_0x5be321);}[a62_0x57cbb3(0xfe)](_0x285e09,_0x6e4ff6){const _0x5f6b3f=a62_0x57cbb3;let _0x5d39e3,_0xc04321,_0x432f03=_0x6e4ff6[_0x5f6b3f(0xd4)];for(_0x5d39e3=0x0;_0x5d39e3<_0x432f03;_0x5d39e3++){_0xc04321=_0x6e4ff6[_0x5d39e3];let _0x4894b7=this[_0x5f6b3f(0x106)][_0xc04321],_0x48299c=this[_0x5f6b3f(0xf1)](_0x285e09,_0x4894b7);if(_0x48299c){let _0x897c3f=_0x48299c[0x0],_0x16bd42=_0x285e09[_0x5f6b3f(0xd8)](_0x897c3f[_0x5f6b3f(0xd4)])[_0x5f6b3f(0xed)](/^\s*/,'');return{'type':_0xc04321,'text':_0x897c3f,'remainder':_0x16bd42};}}let _0x4efae0=_0x5f6b3f(0xe6)+_0x285e09+_0x5f6b3f(0x126);for(_0x5d39e3=0x0;_0x5d39e3<_0x432f03;_0x5d39e3++){_0xc04321=_0x6e4ff6[_0x5d39e3],_0x4efae0+='\x0a\x20\x20\x20\x20'+_0xc04321+':\x20'+this[_0x5f6b3f(0x106)][_0xc04321];}throw new Error(_0x4efae0);}[a62_0x57cbb3(0xff)](_0x4cfa8a){const _0x1a33e8=a62_0x57cbb3;_0x4cfa8a=_0x4cfa8a[_0x1a33e8(0x127)]('[','')['replaceAll'](']','');let _0x5845e3=this[_0x1a33e8(0xf1)](_0x4cfa8a,this[_0x1a33e8(0xc2)]);_0x5845e3&&(_0x4cfa8a=this[_0x1a33e8(0x10e)](_0x4cfa8a,_0x5845e3));let _0x2a1a15=[],_0x30a48c,_0x4a7902=[_0x1a33e8(0xf2),_0x1a33e8(0xe9),_0x1a33e8(0xca),'PROPERTY',_0x1a33e8(0xf8)];do{_0x30a48c=this[_0x1a33e8(0xfe)](_0x4cfa8a,_0x4a7902),_0x4cfa8a=_0x30a48c[_0x1a33e8(0xc9)],_0x4a7902=this[_0x1a33e8(0xdf)][_0x30a48c[_0x1a33e8(0x114)]];if(_0x30a48c[_0x1a33e8(0x114)]!=='END'&&!_0x4a7902)throw new Error(_0x1a33e8(0x107)+_0x30a48c[_0x1a33e8(0x114)]);_0x2a1a15['push'](_0x30a48c);}while(_0x30a48c['type']!==_0x1a33e8(0xf7));return _0x2a1a15;}['parseInToOr'](_0x1387ac,_0x254b49){const _0x162188=a62_0x57cbb3;let _0x148178=this[_0x162188(0xf1)](_0x1387ac,/\((.+?)\)/g);if(_0x148178){let _0xd7a730=_0x1387ac[_0x162188(0xd8)](0x0,_0x254b49[_0x162188(0x101)]),_0x9d531a=_0x148178[0x1],_0x28e03b=_0x9d531a['replaceAll']('\x20','')[_0x162188(0xdb)](','),_0x2242f2='',_0x51e9e9='';if(_0xd7a730['indexOf']('\x20')>-0x1){let _0x2d5f0f=_0xd7a730[_0x162188(0x108)]('\x20');_0x51e9e9=_0xd7a730[_0x162188(0xd8)](0x0,_0x2d5f0f+0x1),_0x2242f2=_0xd7a730[_0x162188(0xd8)](_0x2d5f0f+0x1,_0xd7a730[_0x162188(0xd4)]);}else _0x2242f2=_0xd7a730;let _0x3b4a51=_0x51e9e9;for(let _0x5be212=0x0;_0x5be212<_0x28e03b['length'];_0x5be212++){let _0x199564=_0x28e03b[_0x5be212];_0x3b4a51+=_0x2242f2+'='+_0x199564,_0x5be212<_0x28e03b['length']-0x1&&(_0x3b4a51+=_0x162188(0xdd));}return _0x3b4a51;}return _0x1387ac;}['buildAst'](_0x3ca8f5){const _0x152b42=a62_0x57cbb3;let _0xe00967=this,_0x1b6f7b=[],_0x3dc1d8=[];while(_0x3ca8f5[_0x152b42(0xd4)]){let _0x55fa8d=_0x3ca8f5[_0x152b42(0x128)]();switch(_0x55fa8d[_0x152b42(0x114)]){case'PROPERTY':case _0x152b42(0xe9):case _0x152b42(0xe3):_0x3dc1d8['push'](_0x55fa8d);break;case'COMPARISON':case _0x152b42(0xd0):case'IS_NULL':case _0x152b42(0xc7):{let _0x2f9852=this[_0x152b42(0xc4)][_0x55fa8d[_0x152b42(0x114)]];while(_0x1b6f7b[_0x152b42(0xd4)]>0x0&&this['precedence'][_0x1b6f7b[_0x1b6f7b[_0x152b42(0xd4)]-0x1][_0x152b42(0x114)]]<=_0x2f9852){_0x3dc1d8[_0x152b42(0xd2)](_0x1b6f7b['pop']());}_0x1b6f7b[_0x152b42(0xd2)](_0x55fa8d);break;}case _0x152b42(0xca):case'NOT':case _0x152b42(0xf8):_0x1b6f7b[_0x152b42(0xd2)](_0x55fa8d);break;case _0x152b42(0xd9):while(_0x1b6f7b[_0x152b42(0xd4)]>0x0&&_0x1b6f7b[_0x1b6f7b[_0x152b42(0xd4)]-0x1][_0x152b42(0x114)]!=='LPAREN'){_0x3dc1d8[_0x152b42(0xd2)](_0x1b6f7b['pop']());}_0x1b6f7b[_0x152b42(0xc6)]();_0x1b6f7b[_0x152b42(0xd4)]>0x0&&(_0x1b6f7b[_0x1b6f7b[_0x152b42(0xd4)]-0x1]['type']==='SPATIAL'||_0x1b6f7b[_0x1b6f7b[_0x152b42(0xd4)]-0x1][_0x152b42(0x114)]===_0x152b42(0xf2))&&_0x3dc1d8[_0x152b42(0xd2)](_0x1b6f7b['pop']());break;case _0x152b42(0xd6):case'END':break;default:throw new Error(_0x152b42(0xd7)+_0x55fa8d[_0x152b42(0x114)]);}}while(_0x1b6f7b[_0x152b42(0xd4)]>0x0){_0x3dc1d8[_0x152b42(0xd2)](_0x1b6f7b['pop']());}function _0xd6c64b(){const _0x1e14fc=_0x152b42;let _0x46d2d4,_0x554d0b,_0x117283=_0x3dc1d8[_0x1e14fc(0xc6)]();switch(_0x117283[_0x1e14fc(0x114)]){case _0x1e14fc(0xc7):{let _0x3679bc=_0xd6c64b(),_0x46bdf9=_0xd6c64b();return new _0xe00967[(_0x1e14fc(0x122))][(_0x117283['text']['toUpperCase']())](_0x46bdf9,_0x3679bc);}case _0x1e14fc(0xf2):{let _0x281175=_0xd6c64b();return a62_0x2aba56[_0x1e14fc(0x12d)](_0x281175);}case'BETWEEN':{let _0x38a8fb,_0x12a450;return _0x3dc1d8[_0x1e14fc(0xc6)](),_0x12a450=_0xd6c64b(),_0x38a8fb=_0xd6c64b(),_0x554d0b=_0xd6c64b(),a62_0x2aba56['between'](_0x554d0b,_0x38a8fb,_0x12a450);}case _0x1e14fc(0xfb):{return _0x46d2d4=_0xd6c64b(),_0x554d0b=_0xd6c64b(),new _0xe00967[(_0x1e14fc(0x12c))][(_0x117283[_0x1e14fc(0x11c)][_0x1e14fc(0xc1)]())](_0x554d0b,_0x46d2d4);}case'IS_NULL':_0x554d0b=_0xd6c64b();return new _0xe00967[(_0x1e14fc(0x12c))][(_0x117283[_0x1e14fc(0x11c)][_0x1e14fc(0xc1)]())](_0x554d0b);case _0x1e14fc(0xe3):{let _0x4beb60=_0x117283['text'][_0x1e14fc(0x110)](/^'(.*)'$/);return _0x4beb60?_0x4beb60[0x1][_0x1e14fc(0xed)](/''/g,'\x27'):Number(_0x117283[_0x1e14fc(0x11c)]);}case _0x1e14fc(0xca):switch(_0x117283[_0x1e14fc(0x11c)][_0x1e14fc(0xc1)]()){case'BBOX':{let _0x37ccc0=_0xd6c64b(),_0x1e458a=_0xd6c64b(),_0x306bbf=_0xd6c64b(),_0x43226d=_0xd6c64b(),_0x1ce6cd=_0xd6c64b();return a62_0x2aba56['bbox'](_0x1ce6cd,[_0x43226d,_0x306bbf,_0x1e458a,_0x37ccc0]);}case _0x1e14fc(0x118):_0x46d2d4=_0xd6c64b(),_0x554d0b=_0xd6c64b();return a62_0x2aba56[_0x1e14fc(0xcc)](_0x554d0b,_0x46d2d4);case _0x1e14fc(0x116):_0x46d2d4=_0xd6c64b(),_0x554d0b=_0xd6c64b();return a62_0x2aba56['within'](_0x554d0b,_0x46d2d4);case _0x1e14fc(0x11d):_0x46d2d4=_0xd6c64b(),_0x554d0b=_0xd6c64b();return a62_0x2aba56[_0x1e14fc(0xf4)](_0x554d0b,_0x46d2d4);}break;case'GEOMETRY':return new WKT()[_0x1e14fc(0x12e)](_0x117283[_0x1e14fc(0x11c)],{});default:return _0x117283['text'];}}let _0x2568ee=_0xd6c64b();if(_0x3dc1d8[_0x152b42(0xd4)]>0x0){let _0xc3fc34='剩余的节点无法解析:\x20\x0a';for(let _0x1fb502=_0x3dc1d8['length']-0x1;_0x1fb502>=0x0;_0x1fb502--){_0xc3fc34+=_0x3dc1d8[_0x1fb502][_0x152b42(0x114)]+':\x20'+_0x3dc1d8[_0x1fb502]['text']+'\x0a';}throw new Error(_0xc3fc34);}return _0x2568ee;}['read'](_0x951877){const _0x1f7e36=a62_0x57cbb3;try{return this[_0x1f7e36(0xea)](this['tokenize'](_0x951877));}catch(_0x10a345){console['warn'](_0x1f7e36(0x100)+_0x951877),console['warn'](_0x10a345);}}[a62_0x57cbb3(0xfa)](_0x26ef4d){const _0x1c35c3=a62_0x57cbb3;switch(_0x26ef4d[_0x1c35c3(0x10c)]){case'BBOX':return _0x1c35c3(0x12b)+_0x26ef4d[_0x1c35c3(0xec)]+','+_0x26ef4d[_0x1c35c3(0x11b)][_0x1c35c3(0x124)](',')+','+_0x26ef4d['srsName']+')';case _0x1c35c3(0xef):return _0x1c35c3(0xf5)+_0x26ef4d[_0x1c35c3(0xec)]+',\x20'+this[_0x1c35c3(0x12e)](_0x26ef4d['geometry'])+')';case'Intersects':return _0x1c35c3(0xe5)+_0x26ef4d['geometryName']+',\x20'+this[_0x1c35c3(0x12e)](_0x26ef4d[_0x1c35c3(0xd1)])+')';case _0x1c35c3(0x123):return _0x1c35c3(0xf6)+_0x26ef4d[_0x1c35c3(0xec)]+',\x20'+this[_0x1c35c3(0x12e)](_0x26ef4d[_0x1c35c3(0xd1)])+')';case _0x1c35c3(0xfc):return _0x1c35c3(0x120)+this[_0x1c35c3(0xfa)](_0x26ef4d['condition'])+')';case'And':case'Or':{let _0x440af4='(',_0x55add6=!![];for(let _0x17038e=0x0;_0x17038e<_0x26ef4d[_0x1c35c3(0x105)][_0x1c35c3(0xd4)];_0x17038e++){_0x55add6?_0x55add6=![]:_0x440af4+=')\x20'+_0x26ef4d[_0x1c35c3(0x10c)][_0x1c35c3(0x11a)]()+'\x20(',_0x440af4+=this[_0x1c35c3(0xfa)](_0x26ef4d[_0x1c35c3(0x105)][_0x17038e]);}return _0x440af4+')';}case _0x1c35c3(0xeb):return _0x26ef4d[_0x1c35c3(0x113)]+_0x1c35c3(0xde)+this['write'](_0x26ef4d['lowerBoundary'])+_0x1c35c3(0x125)+this[_0x1c35c3(0xfa)](_0x26ef4d[_0x1c35c3(0x109)]);case _0x1c35c3(0x103):case _0x1c35c3(0x12a):case _0x1c35c3(0xe0):case'PropertyIsLessThanOrEqualTo':case _0x1c35c3(0xfd):case _0x1c35c3(0xf9):case _0x1c35c3(0xee):case _0x1c35c3(0xcf):{return _0x26ef4d[_0x1c35c3(0xdc)]!==null?_0x26ef4d['propertyName']+'\x20'+this[_0x1c35c3(0x10a)][_0x26ef4d[_0x1c35c3(0x10c)]]+'\x20'+this[_0x1c35c3(0xfa)](_0x26ef4d[_0x1c35c3(0xdc)]):_0x26ef4d[_0x1c35c3(0x115)]+'\x20'+this[_0x1c35c3(0x10a)][_0x26ef4d[_0x1c35c3(0x10c)]];}case undefined:if(typeof _0x26ef4d===_0x1c35c3(0xe2))return'\x27'+_0x26ef4d[_0x1c35c3(0xed)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x26ef4d==='number')return String(_0x26ef4d);}break;default:throw new Error(_0x1c35c3(0xcb)+_0x26ef4d[_0x1c35c3(0xc8)]+'\x20'+_0x26ef4d);}}[a62_0x57cbb3(0x12e)](_0x48b9c7){const _0x8d0c81=a62_0x57cbb3;if(_0x48b9c7 instanceof a62_0x2c5953)return new WKT()[_0x8d0c81(0x112)](_0x48b9c7);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3a815f,_0x542d57){const _0x1e5084=a63_0xc1da,_0x6f8559=_0x3a815f();while(!![]){try{const _0x5ab707=parseInt(_0x1e5084(0xef))/0x1*(parseInt(_0x1e5084(0xe4))/0x2)+-parseInt(_0x1e5084(0xe9))/0x3*(-parseInt(_0x1e5084(0xfa))/0x4)+parseInt(_0x1e5084(0xe1))/0x5+parseInt(_0x1e5084(0xf2))/0x6*(-parseInt(_0x1e5084(0xf8))/0x7)+-parseInt(_0x1e5084(0xea))/0x8+parseInt(_0x1e5084(0xe0))/0x9+-parseInt(_0x1e5084(0xfd))/0xa;if(_0x5ab707===_0x542d57)break;else _0x6f8559['push'](_0x6f8559['shift']());}catch(_0x263468){_0x6f8559['push'](_0x6f8559['shift']());}}}(a63_0x4268,0x730a5));function a63_0x4268(){const _0x1fd5be=['condition','PropertyIsEqualTo','PropertyIsNotEqualTo','7eQhQOr','conditions','568268xTAkLd','property','PropertyIsGreaterThanOrEqualTo','17319160nqdcVW','PropertyIsLike','PropertyIsBetween','tagName_','And','upperBoundary','idMapLength','6287715deEJRM','4537170gTghTr','Not','template','1479922BNroys','propertyName','PropertyIsLessThanOrEqualTo','PropertyIsGreaterThan','lowerBoundary','15JXujHQ','1010000kcTAhK','push','expression','PropertyIsNull','join','1Hpumpw','length','read','4361964xHqKIW','idMap','PropertyIsLessThan'];a63_0x4268=function(){return _0x1fd5be;};return a63_0x4268();}import a63_0x2ba168 from'./CQL';export function isMatchCql(_0x14b408,_0x42c003){const _0x905dd6=a63_0xc1da;let _0x2bb5ac=new a63_0x2ba168()[_0x905dd6(0xf1)](_0x42c003);return isMatchFilter(_0x14b408,_0x2bb5ac);}export function isMatchFilter(_0x57a512,_0x5e747c){const _0x54e1cd=a63_0xc1da;switch(_0x5e747c[_0x54e1cd(0x100)]){case _0x54e1cd(0xe2):return!isMatchFilter(_0x57a512,_0x5e747c[_0x54e1cd(0xf5)]);case _0x54e1cd(0x101):{let _0xb78c84=!![];for(let _0x130edb=0x0;_0x130edb<_0x5e747c[_0x54e1cd(0xf9)][_0x54e1cd(0xf0)];_0x130edb++){_0xb78c84=_0xb78c84&&isMatchFilter(_0x57a512,_0x5e747c['conditions'][_0x130edb]);}return _0xb78c84;}case'Or':{let _0x309068=![];for(let _0x29ca4e=0x0;_0x29ca4e<_0x5e747c[_0x54e1cd(0xf9)]['length'];_0x29ca4e++){_0x309068=_0x309068||isMatchFilter(_0x57a512,_0x5e747c['conditions'][_0x29ca4e]);}return _0x309068;}case _0x54e1cd(0xff):return _0x57a512[_0x5e747c[_0x54e1cd(0xfb)]]>_0x5e747c[_0x54e1cd(0xe8)]&&_0x57a512[_0x5e747c['property']]<_0x5e747c[_0x54e1cd(0x102)];case _0x54e1cd(0xf6):return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]===_0x5e747c['expression'];case'PropertyIsNotEqualTo':return _0x57a512[_0x5e747c['propertyName']]!==_0x5e747c[_0x54e1cd(0xec)];case _0x54e1cd(0xf4):return _0x57a512[_0x5e747c['propertyName']]<_0x5e747c[_0x54e1cd(0xec)];case'PropertyIsLessThanOrEqualTo':return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]<=_0x5e747c['expression'];case'PropertyIsGreaterThan':return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]>_0x5e747c[_0x54e1cd(0xec)];case _0x54e1cd(0xfc):return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]>=_0x5e747c[_0x54e1cd(0xec)];case _0x54e1cd(0xfe):return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]['indexOf'](_0x5e747c[_0x54e1cd(0xec)])>-0x1;case _0x54e1cd(0xed):{return!_0x57a512[_0x5e747c[_0x54e1cd(0xe5)]];}default:return![];}}export function isEqualFilter(_0x1ac5aa,_0x394ffb){const _0x5610df=a63_0xc1da;switch(_0x1ac5aa[_0x5610df(0x100)]){case'Not':return _0x1ac5aa[_0x5610df(0x100)]===_0x394ffb[_0x5610df(0x100)]&&isEqualFilter(_0x1ac5aa[_0x5610df(0xf5)],_0x394ffb[_0x5610df(0xf5)]);case'Or':case _0x5610df(0x101):{let _0x169969=_0x1ac5aa[_0x5610df(0x100)]===_0x394ffb[_0x5610df(0x100)]&&_0x1ac5aa[_0x5610df(0xf9)][_0x5610df(0xf0)]===_0x394ffb[_0x5610df(0xf9)][_0x5610df(0xf0)];for(let _0x5e57cf=0x0;_0x5e57cf<_0x1ac5aa[_0x5610df(0xf9)][_0x5610df(0xf0)];_0x5e57cf++){_0x169969=_0x169969&&isEqualFilter(_0x1ac5aa[_0x5610df(0xf9)][_0x5e57cf],_0x394ffb[_0x5610df(0xf9)][_0x5e57cf]);}return _0x169969;}case _0x5610df(0xff):return _0x1ac5aa[_0x5610df(0x100)]===_0x394ffb['tagName_']&&_0x1ac5aa[_0x5610df(0xfb)]===_0x394ffb['property'];case'PropertyIsEqualTo':case _0x5610df(0xf7):case _0x5610df(0xf4):case _0x5610df(0xe6):case _0x5610df(0xe7):case'PropertyIsGreaterThanOrEqualTo':case'PropertyIsLike':case'PropertyIsNull':return _0x1ac5aa[_0x5610df(0x100)]===_0x394ffb[_0x5610df(0x100)]&&_0x1ac5aa[_0x5610df(0xe5)]===_0x394ffb[_0x5610df(0xe5)];default:return![];}}export function indexOfFilter(_0x3ad0db,_0x1d8cbd){const _0x55c3ab=a63_0xc1da;let _0x6ff04=-0x1;if((_0x3ad0db===null||_0x3ad0db===void 0x0?void 0x0:_0x3ad0db[_0x55c3ab(0xf0)])>0x0)for(let _0x3a1ebe in _0x3ad0db){if(isEqualFilter(_0x3ad0db[_0x3a1ebe][_0x55c3ab(0xe3)],_0x1d8cbd))return _0x3a1ebe;}return _0x6ff04;}export function getIndexByTemplate(_0x1b26e8,_0x3e16e5){const _0x2a96b6=a63_0xc1da;let _0x3b9e06=_0x3e16e5['template'];if(_0x3e16e5[_0x2a96b6(0x103)]>0x0){let _0x523b17=getKeyByTemplate(_0x1b26e8,_0x3b9e06);if(_0x523b17 instanceof Array)for(let _0x422c93 in _0x523b17){let _0x58e601=_0x3e16e5[_0x2a96b6(0xf3)][_0x523b17[_0x422c93]+'_'+_0x422c93];if(_0x58e601)return _0x58e601;}else return _0x3e16e5['idMap'][_0x523b17];}return null;}function a63_0xc1da(_0x24df08,_0x458cc1){const _0x4268b2=a63_0x4268();return a63_0xc1da=function(_0xc1da92,_0x18732e){_0xc1da92=_0xc1da92-0xe0;let _0x201883=_0x4268b2[_0xc1da92];return _0x201883;},a63_0xc1da(_0x24df08,_0x458cc1);}export function getKeyByTemplate(_0x27b2b5,_0x54829b){const _0x58740c=a63_0xc1da;switch(_0x54829b[_0x58740c(0x100)]){case _0x58740c(0xf6):{return _0x27b2b5[_0x54829b['propertyName']];}case _0x58740c(0x101):{let _0x597012=[];for(let _0x57a182=0x0;_0x57a182<_0x54829b[_0x58740c(0xf9)][_0x58740c(0xf0)];_0x57a182++){let _0x4733ee=getKeyByTemplate(_0x27b2b5,_0x54829b[_0x58740c(0xf9)][_0x57a182]);_0x4733ee&&_0x597012[_0x58740c(0xeb)](_0x4733ee);}return _0x597012[_0x58740c(0xee)](',');}case'Or':{let _0x57f760=[];for(let _0x30c0b5=0x0;_0x30c0b5<_0x54829b[_0x58740c(0xf9)][_0x58740c(0xf0)];_0x30c0b5++){let _0x34436e=getKeyByTemplate(_0x27b2b5,_0x54829b[_0x58740c(0xf9)][_0x30c0b5]);_0x34436e&&_0x57f760['push'](_0x34436e);}return _0x57f760;}default:return null;}}export function createKeyFromFilter(_0x3a40a5){const _0x3cb9b0=a63_0xc1da;switch(_0x3a40a5['tagName_']){case'PropertyIsEqualTo':return _0x3a40a5[_0x3cb9b0(0xec)];case'And':{let _0x4f839a=[];for(let _0x3e22d1=0x0;_0x3e22d1<_0x3a40a5['conditions'][_0x3cb9b0(0xf0)];_0x3e22d1++){let _0x5384f0=createKeyFromFilter(_0x3a40a5[_0x3cb9b0(0xf9)][_0x3e22d1]);if(_0x5384f0)_0x4f839a[_0x3cb9b0(0xeb)](_0x5384f0);else return null;}return _0x4f839a['join'](',');}case'Or':{let _0x59efde=[];for(let _0x183b2b=0x0;_0x183b2b<_0x3a40a5['conditions'][_0x3cb9b0(0xf0)];_0x183b2b++){let _0x309924=createKeyFromFilter(_0x3a40a5[_0x3cb9b0(0xf9)][_0x183b2b]);_0x309924&&_0x59efde[_0x3cb9b0(0xeb)](_0x309924);}return _0x59efde;}default:return null;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a66_0x36b19d=a66_0x133f;(function(_0x51ab85,_0x529c3c){const _0x4b4053=a66_0x133f,_0x5b5499=_0x51ab85();while(!![]){try{const _0x557323=parseInt(_0x4b4053(0x161))/0x1+parseInt(_0x4b4053(0x166))/0x2*(-parseInt(_0x4b4053(0x159))/0x3)+-parseInt(_0x4b4053(0x15e))/0x4+-parseInt(_0x4b4053(0x163))/0x5*(parseInt(_0x4b4053(0x15c))/0x6)+parseInt(_0x4b4053(0x165))/0x7+-parseInt(_0x4b4053(0x15d))/0x8+parseInt(_0x4b4053(0x164))/0x9;if(_0x557323===_0x529c3c)break;else _0x5b5499['push'](_0x5b5499['shift']());}catch(_0x4adf32){_0x5b5499['push'](_0x5b5499['shift']());}}}(a66_0x27ad,0x9e056));import{asString}from'ol/color';class ImageCache{constructor(){const _0x4a1bf6=a66_0x133f;this[_0x4a1bf6(0x160)]={},this[_0x4a1bf6(0x16a)]=0x0;}[a66_0x36b19d(0x169)](){const _0x30f640=a66_0x36b19d;this[_0x30f640(0x160)]={},this[_0x30f640(0x16a)]=0x0;}[a66_0x36b19d(0x167)](_0x5e0400){const _0x39270f=a66_0x36b19d,_0x3ce592=getKey(_0x5e0400[_0x39270f(0x15b)],_0x5e0400[_0x39270f(0x168)],_0x5e0400[_0x39270f(0x15a)],_0x5e0400[_0x39270f(0x16b)]);return _0x3ce592 in this[_0x39270f(0x160)]?this[_0x39270f(0x160)][_0x3ce592]:null;}[a66_0x36b19d(0x15f)](_0x331126,_0xd07717){const _0x1d389e=a66_0x36b19d,_0x13c605=getKey(_0x331126[_0x1d389e(0x15b)],_0x331126[_0x1d389e(0x168)],_0x331126['markerColor'],_0x331126[_0x1d389e(0x16b)]);this[_0x1d389e(0x160)][_0x13c605]=_0xd07717,++this[_0x1d389e(0x16a)];}}function a66_0x133f(_0xe8f1a1,_0x19e1bf){const _0x27ad1e=a66_0x27ad();return a66_0x133f=function(_0x133f6a,_0x1ea62f){_0x133f6a=_0x133f6a-0x159;let _0x252e40=_0x27ad1e[_0x133f6a];return _0x252e40;},a66_0x133f(_0xe8f1a1,_0x19e1bf);}function getKey(_0x41b141,_0x37b589,_0x565370,_0x1afdee){const _0x278217=a66_0x36b19d,_0x306f3e=_0x565370?asString(_0x565370):_0x278217(0x162);return _0x41b141+':'+_0x1afdee+':'+_0x306f3e+':'+_0x37b589;}function a66_0x27ad(){const _0x1a03ef=['558946Zwkyjq','null','5KQVJsA','14611896WlfNdo','5941894yjMkCE','18juLgNH','get','markerSize','clear','cacheSize_','image','382821HUKCkm','markerColor','markerLabel','805878UcYfbV','4432032OXBLti','2189192jSTkHc','set','cache_'];a66_0x27ad=function(){return _0x1a03ef;};return a66_0x27ad();}export default ImageCache;export const shared=new ImageCache();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0x4501a0=a67_0x9a78;(function(_0x34cacc,_0xbc09db){const _0x24fdb8=a67_0x9a78,_0x5c7780=_0x34cacc();while(!![]){try{const _0x40ca1a=-parseInt(_0x24fdb8(0x176))/0x1+-parseInt(_0x24fdb8(0x164))/0x2+parseInt(_0x24fdb8(0x17b))/0x3+parseInt(_0x24fdb8(0x183))/0x4+parseInt(_0x24fdb8(0x166))/0x5*(parseInt(_0x24fdb8(0x171))/0x6)+-parseInt(_0x24fdb8(0x158))/0x7+-parseInt(_0x24fdb8(0x170))/0x8*(-parseInt(_0x24fdb8(0x15a))/0x9);if(_0x40ca1a===_0xbc09db)break;else _0x5c7780['push'](_0x5c7780['shift']());}catch(_0x694faa){_0x5c7780['push'](_0x5c7780['shift']());}}}(a67_0x1d1c,0x654eb));import a67_0x4e1eda from'color';import a67_0x127f46 from'./writeTextToCanvas';import{Icon}from'ol/style';function a67_0x1d1c(){const _0x39447f=['4608420tpkUOr','fillStyle','#000000','url\x20is\x20required','id\x20is\x20required','726110MiHJDc','load','getContext','scale','fromUrl','192303xtUSMF','strokeStyle','bold\x20','width','lineTo','closePath','hexa','createElement','985140yYbTin','lighten','canvas','size\x20is\x20required','px\x20sans-serif','2054346yvUbCq','destination-over','4848093HjcAGa','_cache','fillRect','IDLE','drawImage','listenImageChange','stroke','LOADED','toDataURL','height','365180DBwfHj','getImage','5xgkJtI','save','color\x20is\x20required','globalCompositeOperation','fromColor','round','bezierCurveTo','destination-out','beginPath','#FFFFFF','8qtmoIm'];a67_0x1d1c=function(){return _0x39447f;};return a67_0x1d1c();}import a67_0x5b8fda from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';function a67_0x9a78(_0x543b17,_0x4f5c32){const _0x1d1cfc=a67_0x1d1c();return a67_0x9a78=function(_0x9a783a,_0x52c82c){_0x9a783a=_0x9a783a-0x154;let _0x58d39b=_0x1d1cfc[_0x9a783a];return _0x58d39b;},a67_0x9a78(_0x543b17,_0x4f5c32);}class PinBuilder{constructor(){const _0x3c5da7=a67_0x9a78;this[_0x3c5da7(0x15b)]={};}[a67_0x4501a0(0x16a)](_0xdb43b3,_0x3c15ca){const _0x4c1ce3=a67_0x4501a0;if(!_0xdb43b3)throw new Error(_0x4c1ce3(0x168));if(!_0x3c15ca)throw new Error(_0x4c1ce3(0x156));return createPin('','',_0xdb43b3,_0x3c15ca,this['_cache']);}[a67_0x4501a0(0x17a)](_0x305c54,_0x4dd428,_0x283897){const _0x43d9f3=a67_0x4501a0;if(!_0x305c54)throw new Error(_0x43d9f3(0x174));if(!_0x4dd428)throw new Error('color\x20is\x20required');if(!_0x283897)throw new Error('size\x20is\x20required');return createPin(_0x305c54,'',_0x4dd428,_0x283897,this['_cache']);}['fromMakiIconId'](_0x37139b,_0x3ea665,_0x2ff98a){const _0x2d4f15=a67_0x4501a0;if(!_0x37139b)throw new Error(_0x2d4f15(0x175));if(!_0x3ea665)throw new Error(_0x2d4f15(0x168));if(!_0x2ff98a)throw new Error(_0x2d4f15(0x156));return createPin(parseImage(_0x37139b),'',_0x3ea665,_0x2ff98a,this['_cache']);}['fromText'](_0x7a5047,_0x1ec3b2,_0x555553){const _0x2a01a6=a67_0x4501a0;if(!_0x7a5047)throw new Error('text\x20is\x20required');if(!_0x1ec3b2)throw new Error(_0x2a01a6(0x168));if(!_0x555553)throw new Error(_0x2a01a6(0x156));return createPin('',_0x7a5047,_0x1ec3b2,_0x555553,this[_0x2a01a6(0x15b)]);}}function drawPin(_0x132488,_0x3d2139,_0x8c78f4){const _0x36c951=a67_0x4501a0;_0x132488[_0x36c951(0x167)](),_0x132488[_0x36c951(0x179)](_0x8c78f4/0x18,_0x8c78f4/0x18),_0x132488[_0x36c951(0x172)]=_0x3d2139,_0x132488[_0x36c951(0x17c)]=a67_0x4e1eda(_0x3d2139)[_0x36c951(0x154)](0.6)[_0x36c951(0x181)](),_0x132488['lineWidth']=0.846,_0x132488[_0x36c951(0x16e)](),_0x132488['moveTo'](6.72,0.422),_0x132488['lineTo'](17.28,0.422),_0x132488[_0x36c951(0x16c)](18.553,0.422,19.577,1.758,19.577,3.415),_0x132488['lineTo'](19.577,10.973),_0x132488['bezierCurveTo'](19.577,12.63,18.553,13.966,17.282,13.966),_0x132488[_0x36c951(0x17f)](14.386,14.008),_0x132488[_0x36c951(0x17f)](11.826,23.578),_0x132488[_0x36c951(0x17f)](9.614,14.008),_0x132488[_0x36c951(0x17f)](6.719,13.965),_0x132488[_0x36c951(0x16c)](5.446,13.983,4.422,12.629,4.422,10.972),_0x132488['lineTo'](4.422,3.416),_0x132488['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0x132488[_0x36c951(0x180)](),_0x132488['fill'](),_0x132488[_0x36c951(0x160)](),_0x132488['restore']();}function drawIcon(_0x576e2b,_0x2f62de,_0x62d506){const _0x155f77=a67_0x4501a0,_0x3c4a91=_0x62d506/2.5;let _0x16c447=_0x3c4a91,_0x52b150=_0x3c4a91;if(_0x2f62de[_0x155f77(0x17e)]>_0x2f62de[_0x155f77(0x163)])_0x52b150=_0x3c4a91*(_0x2f62de[_0x155f77(0x163)]/_0x2f62de[_0x155f77(0x17e)]);else _0x2f62de['width']<_0x2f62de['height']&&(_0x16c447=_0x3c4a91*(_0x2f62de[_0x155f77(0x17e)]/_0x2f62de[_0x155f77(0x163)]));const _0x22498c=Math[_0x155f77(0x16b)]((_0x62d506-_0x16c447)/0x2),_0x5dfbc9=Math['round'](0x7/0x18*_0x62d506-_0x52b150/0x2);_0x576e2b[_0x155f77(0x169)]=_0x155f77(0x16d),_0x576e2b['drawImage'](_0x2f62de,_0x22498c-0x1,_0x5dfbc9,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x15e)](_0x2f62de,_0x22498c,_0x5dfbc9-0x1,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x15e)](_0x2f62de,_0x22498c+0x1,_0x5dfbc9,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x15e)](_0x2f62de,_0x22498c,_0x5dfbc9+0x1,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x169)]=_0x155f77(0x159),_0x576e2b[_0x155f77(0x172)]=_0x155f77(0x173),_0x576e2b[_0x155f77(0x15c)](_0x22498c-0x1,_0x5dfbc9-0x1,_0x16c447+0x2,_0x52b150+0x2),_0x576e2b[_0x155f77(0x169)]=_0x155f77(0x16d),_0x576e2b[_0x155f77(0x15e)](_0x2f62de,_0x22498c,_0x5dfbc9,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x169)]=_0x155f77(0x159),_0x576e2b[_0x155f77(0x172)]=_0x155f77(0x16f),_0x576e2b['fillRect'](_0x22498c-0x1,_0x5dfbc9-0x2,_0x16c447+0x2,_0x52b150+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x330e37,_0x3d5eae,_0x12d33e,_0x16e558,_0x237e6b){const _0x4ac6e9=a67_0x4501a0;stringifyScratch[0x0]=_0x330e37,stringifyScratch[0x1]=_0x3d5eae,stringifyScratch[0x2]=_0x12d33e,stringifyScratch[0x3]=_0x16e558;const _0x1addd2=JSON['stringify'](stringifyScratch),_0x24fb0f=_0x237e6b[_0x1addd2];if(_0x24fb0f)return _0x24fb0f;const _0x5c4503=document[_0x4ac6e9(0x182)](_0x4ac6e9(0x155));_0x5c4503[_0x4ac6e9(0x17e)]=_0x16e558,_0x5c4503[_0x4ac6e9(0x163)]=_0x16e558;const _0x2794fe=_0x5c4503[_0x4ac6e9(0x178)]('2d');drawPin(_0x2794fe,_0x12d33e,_0x16e558);if(_0x330e37)return new Promise(_0x3865b4=>{const _0x452f9c=_0x4ac6e9;let _0x201639=new Icon({'src':_0x330e37}),_0x42cdc0=_0x201639['getImageState']();_0x42cdc0===a67_0x5b8fda[_0x452f9c(0x161)]||_0x42cdc0===a67_0x5b8fda['ERROR']?(drawIcon(_0x2794fe,_0x201639['getImage'](0x60),_0x16e558),_0x237e6b[_0x1addd2]=_0x5c4503[_0x452f9c(0x162)](),_0x3865b4(_0x5c4503['toDataURL']())):(_0x42cdc0===a67_0x5b8fda[_0x452f9c(0x15d)]&&_0x201639[_0x452f9c(0x177)](),_0x201639[_0x452f9c(0x15f)](_0x273d4d=>{const _0x4318f9=_0x452f9c;_0x42cdc0=_0x273d4d['target']['getImageState'](),(_0x42cdc0===a67_0x5b8fda[_0x4318f9(0x161)]||_0x42cdc0===a67_0x5b8fda['ERROR'])&&(drawIcon(_0x2794fe,_0x201639[_0x4318f9(0x165)](0x60),_0x16e558),_0x237e6b[_0x1addd2]=_0x5c4503[_0x4318f9(0x162)](),_0x3865b4(_0x5c4503[_0x4318f9(0x162)]()));}));});else{if(_0x3d5eae){const _0x54dafd=a67_0x127f46(_0x3d5eae,{'font':_0x4ac6e9(0x17d)+_0x16e558+_0x4ac6e9(0x157)});drawIcon(_0x2794fe,_0x54dafd,_0x16e558);}}return _0x237e6b[_0x1addd2]=_0x5c4503[_0x4ac6e9(0x162)](),_0x5c4503[_0x4ac6e9(0x162)]();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0xbff033=a68_0x54e8;(function(_0x53ebb0,_0x763daa){const _0x316a4c=a68_0x54e8,_0x16bc7f=_0x53ebb0();while(!![]){try{const _0x36f1db=-parseInt(_0x316a4c(0x202))/0x1+parseInt(_0x316a4c(0x1f4))/0x2+parseInt(_0x316a4c(0x20d))/0x3*(parseInt(_0x316a4c(0x200))/0x4)+-parseInt(_0x316a4c(0x1f0))/0x5*(parseInt(_0x316a4c(0x208))/0x6)+parseInt(_0x316a4c(0x1ff))/0x7*(parseInt(_0x316a4c(0x1ed))/0x8)+parseInt(_0x316a4c(0x20b))/0x9+-parseInt(_0x316a4c(0x1f3))/0xa;if(_0x36f1db===_0x763daa)break;else _0x16bc7f['push'](_0x16bc7f['shift']());}catch(_0x4bcc9d){_0x16bc7f['push'](_0x16bc7f['shift']());}}}(a68_0x3850,0x5c084));import a68_0x2f1068 from'./PinBuilder';import{Icon}from'ol/style';function a68_0x54e8(_0x342a23,_0x457a4c){const _0x38503c=a68_0x3850();return a68_0x54e8=function(_0x54e879,_0x120147){_0x54e879=_0x54e879-0x1ea;let _0x28e877=_0x38503c[_0x54e879];return _0x28e877;},a68_0x54e8(_0x342a23,_0x457a4c);}import a68_0x316fe6 from'ol/ImageState';function a68_0x3850(){const _0x2a6735=['load','fromUrl','2120060WRrvMf','962978stHXfR','getImageState','getImage','_imageState','_icon','resolve','listenImageChange','set','LOADED','error','warn','2153438fzxssz','88hNuiMx','ERROR','313464bgqdUY','catch','fromText','markerColor','IDLE','options','30opTNTR','loadIcon','image','611658QvYgeR','dispatchEvent','100146yBKpYa','get','_listener','markerLabel','8XddCOx','target','markerSize','689055QrduJP'];a68_0x3850=function(){return _0x2a6735;};return a68_0x3850();}import a68_0x8d61b9 from'ol/events/Event';import{shared as a68_0x36f2cd}from'./ImageCache';export default class PinIcon{constructor(_0x5cc3ad){const _0x27442e=a68_0x54e8;this[_0x27442e(0x207)]=_0x5cc3ad||{},this[_0x27442e(0x1f7)]=a68_0x316fe6[_0x27442e(0x206)],this['_icon']=a68_0x36f2cd[_0x27442e(0x1ea)](this['options']),this[_0x27442e(0x1f8)]&&(this['_imageState']=a68_0x316fe6[_0x27442e(0x1fc)]);}[a68_0xbff033(0x1f1)](){const _0x741e91=a68_0xbff033;try{let _0x182584,_0x53f41e=new a68_0x2f1068();if(this[_0x741e91(0x207)]['markerLabel'])_0x182584=_0x53f41e[_0x741e91(0x204)](this['options'][_0x741e91(0x1ec)],this[_0x741e91(0x207)][_0x741e91(0x205)],this[_0x741e91(0x207)][_0x741e91(0x1ef)]||0x30);else this[_0x741e91(0x207)]['image']&&(_0x182584=_0x53f41e[_0x741e91(0x1f2)](this[_0x741e91(0x207)][_0x741e91(0x20a)],this[_0x741e91(0x207)][_0x741e91(0x205)],this[_0x741e91(0x207)][_0x741e91(0x1ef)]||0x30));Promise[_0x741e91(0x1f9)](_0x182584)['then'](_0x4a0884=>{this['loadIcon'](_0x4a0884);})[_0x741e91(0x203)](_0x30fe5f=>{const _0x163665=_0x741e91;console[_0x163665(0x1fe)](_0x30fe5f),this[_0x163665(0x1f7)]=a68_0x316fe6[_0x163665(0x201)],this[_0x163665(0x20c)](_0x163665(0x1fd));});}catch(_0x5431f0){console[_0x741e91(0x1fe)](_0x5431f0),this[_0x741e91(0x1f7)]=a68_0x316fe6[_0x741e91(0x201)],this[_0x741e91(0x20c)]('error');}}[a68_0xbff033(0x209)](_0x62dbfa){const _0x5b24f0=a68_0xbff033;this[_0x5b24f0(0x1f8)]=new Icon({'src':_0x62dbfa}),a68_0x36f2cd[_0x5b24f0(0x1fb)](this[_0x5b24f0(0x207)],this[_0x5b24f0(0x1f8)]);let _0x64a727=this[_0x5b24f0(0x1f8)][_0x5b24f0(0x1f5)]();_0x64a727===a68_0x316fe6[_0x5b24f0(0x1fc)]||_0x64a727===a68_0x316fe6[_0x5b24f0(0x201)]?(this[_0x5b24f0(0x1f7)]=this[_0x5b24f0(0x1f8)][_0x5b24f0(0x1f5)](),this[_0x5b24f0(0x20c)]('load')):(_0x64a727===a68_0x316fe6[_0x5b24f0(0x206)]&&this[_0x5b24f0(0x1f8)][_0x5b24f0(0x1f1)](),this['_icon'][_0x5b24f0(0x1fa)](_0x49804a=>{const _0x4a3e5c=_0x5b24f0;_0x64a727=_0x49804a[_0x4a3e5c(0x1ee)][_0x4a3e5c(0x1f5)](),(_0x64a727===a68_0x316fe6[_0x4a3e5c(0x1fc)]||_0x64a727===a68_0x316fe6['ERROR'])&&(this[_0x4a3e5c(0x1f7)]=this[_0x4a3e5c(0x1f8)]['getImageState'](),this[_0x4a3e5c(0x20c)](_0x4a3e5c(0x1f1)));}));}[a68_0xbff033(0x1f5)](){const _0x2fc799=a68_0xbff033;return this[_0x2fc799(0x1f7)];}[a68_0xbff033(0x1f6)](){const _0x2f33d0=a68_0xbff033;var _0x4c0286;return(_0x4c0286=this[_0x2f33d0(0x1f8)])===null||_0x4c0286===void 0x0?void 0x0:_0x4c0286[_0x2f33d0(0x1f6)]();}['listenImageChange'](_0x1a4e16){const _0x11b5da=a68_0xbff033;this[_0x11b5da(0x1eb)]=_0x1a4e16;}[a68_0xbff033(0x20c)](_0x5b5362){const _0x35d1dd=a68_0xbff033;if(this[_0x35d1dd(0x1eb)]){let _0x292f57=new a68_0x8d61b9(_0x5b5362);_0x292f57[_0x35d1dd(0x1ee)]=this,this[_0x35d1dd(0x1eb)](_0x292f57);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xf970c2,_0x23ed15){const _0x1a502d=a69_0x2672,_0x27cbf6=_0xf970c2();while(!![]){try{const _0x1632a8=-parseInt(_0x1a502d(0x1da))/0x1*(parseInt(_0x1a502d(0x1c7))/0x2)+parseInt(_0x1a502d(0x1cc))/0x3*(-parseInt(_0x1a502d(0x1de))/0x4)+parseInt(_0x1a502d(0x1d8))/0x5*(-parseInt(_0x1a502d(0x1d5))/0x6)+-parseInt(_0x1a502d(0x1dd))/0x7+parseInt(_0x1a502d(0x1d3))/0x8+parseInt(_0x1a502d(0x1e5))/0x9*(parseInt(_0x1a502d(0x1c2))/0xa)+parseInt(_0x1a502d(0x1d1))/0xb*(parseInt(_0x1a502d(0x1cd))/0xc);if(_0x1632a8===_0x23ed15)break;else _0x27cbf6['push'](_0x27cbf6['shift']());}catch(_0x4bf614){_0x27cbf6['push'](_0x27cbf6['shift']());}}}(a69_0x36bc,0x88e8a));function measureText(_0x18eb07,_0x4dbc04,_0x27f593,_0x5ae525,_0xfbb909){const _0x45b557=a69_0x2672,_0x4b8e6a=_0x18eb07[_0x45b557(0x1c1)](_0x4dbc04),_0x295eee=!/\S/[_0x45b557(0x1bd)](_0x4dbc04);if(!_0x295eee&&document[_0x45b557(0x1c3)]){const _0x1da82e=document[_0x45b557(0x1c3)][_0x45b557(0x1d0)](_0x18eb07['canvas'])[_0x45b557(0x1d6)]('font-size')[_0x45b557(0x1c4)]('px',''),_0x5953a1=document['createElement']('canvas'),_0x4a8116=0x64,_0x93299a=_0x4b8e6a[_0x45b557(0x1e3)]+_0x4a8116|0x0,_0x1d9d41=0x3*(_0x1da82e-0x0),_0x402436=_0x1d9d41/0x2;_0x5953a1['width']=_0x93299a,_0x5953a1['height']=_0x1d9d41;const _0x1ee125=_0x5953a1[_0x45b557(0x1ef)]('2d');if(!_0x1ee125)return{};_0x1ee125['font']=_0x27f593,_0x1ee125[_0x45b557(0x1e6)]=_0x45b557(0x1dc),_0x1ee125[_0x45b557(0x1e1)](0x0,0x0,_0x5953a1[_0x45b557(0x1e3)]+0x1,_0x5953a1['height']+0x1);_0x5ae525&&(_0x1ee125[_0x45b557(0x1ca)]=_0x45b557(0x1cf),_0x1ee125['lineWidth']=_0x18eb07[_0x45b557(0x1ec)],_0x1ee125[_0x45b557(0x1c9)](_0x4dbc04,_0x4a8116/0x2,_0x402436));_0xfbb909&&(_0x1ee125['fillStyle']=_0x45b557(0x1cf),_0x1ee125['fillText'](_0x4dbc04,_0x4a8116/0x2,_0x402436));const _0x1cc19c=_0x1ee125['getImageData'](0x0,0x0,_0x93299a,_0x1d9d41)[_0x45b557(0x1be)],_0x4fd6a0=_0x1cc19c[_0x45b557(0x1e8)],_0x59eba1=_0x93299a*0x4;let _0x3c1121,_0x59153b,_0x4a4284=0x0,_0x4e72d2=0x0;for(_0x3c1121=0x0;_0x3c1121<_0x4fd6a0;++_0x3c1121){if(_0x1cc19c[_0x3c1121]!==0xff){_0x4a4284=_0x3c1121/_0x59eba1|0x0;break;}}for(_0x3c1121=_0x4fd6a0-0x1;_0x3c1121>=0x0;--_0x3c1121){if(_0x1cc19c[_0x3c1121]!==0xff){_0x4e72d2=_0x3c1121/_0x59eba1|0x0;break;}}let _0xa0219f=-0x1;for(_0x3c1121=0x0;_0x3c1121<_0x93299a&&_0xa0219f===-0x1;++_0x3c1121){for(_0x59153b=0x0;_0x59153b<_0x1d9d41;++_0x59153b){const _0x14b334=_0x3c1121*0x4+_0x59153b*_0x59eba1;if(_0x1cc19c[_0x14b334]!==0xff||_0x1cc19c[_0x14b334+0x1]!==0xff||_0x1cc19c[_0x14b334+0x2]!==0xff||_0x1cc19c[_0x14b334+0x3]!==0xff){_0xa0219f=_0x3c1121;break;}}}return{'width':_0x4b8e6a[_0x45b557(0x1e3)],'height':_0x4e72d2-_0x4a4284,'ascent':_0x402436-_0x4a4284,'descent':_0x4e72d2-_0x402436,'minx':_0xa0219f-_0x4a8116/0x2};}return{'width':_0x4b8e6a[_0x45b557(0x1e3)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0xdf5cc4,_0x1072fc){const _0x4d1ed1=a69_0x2672;if(!_0xdf5cc4)throw new Error('text\x20is\x20required.');if(_0xdf5cc4==='')return undefined;_0x1072fc=defaultValue(_0x1072fc,{});const _0x42513b=defaultValue(_0x1072fc['font'],_0x4d1ed1(0x1df)),_0x19a3bd=defaultValue(_0x1072fc[_0x4d1ed1(0x1ce)],![]),_0xe8dc03=defaultValue(_0x1072fc[_0x4d1ed1(0x1e2)],!![]),_0x3ce414=defaultValue(_0x1072fc[_0x4d1ed1(0x1c0)],0x1),_0x19d2a8=defaultValue(_0x1072fc['backgroundColor'],_0x4d1ed1(0x1c6)),_0x1eab70=defaultValue(_0x1072fc['padding'],0x0),_0x3851dc=_0x1eab70*0x2,_0x45ea1a=document[_0x4d1ed1(0x1ee)](_0x4d1ed1(0x1ea));_0x45ea1a['width']=0x1,_0x45ea1a[_0x4d1ed1(0x1ed)]=0x1,_0x45ea1a['style']['font']=_0x42513b;const _0x544453=_0x45ea1a[_0x4d1ed1(0x1ef)]('2d');if(!imageSmoothingEnabledName&&_0x544453){if(_0x544453[_0x4d1ed1(0x1d9)])imageSmoothingEnabledName='imageSmoothingEnabled';else{if(_0x544453[_0x4d1ed1(0x1e4)])imageSmoothingEnabledName=_0x4d1ed1(0x1e4);else{if(_0x544453['webkitImageSmoothingEnabled'])imageSmoothingEnabledName=_0x4d1ed1(0x1cb);else _0x544453['msImageSmoothingEnabled']&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0x544453[_0x4d1ed1(0x1e7)]=_0x42513b,_0x544453[_0x4d1ed1(0x1db)]=_0x4d1ed1(0x1d2),_0x544453[_0x4d1ed1(0x1ec)]=_0x3ce414,_0x544453[imageSmoothingEnabledName]=![],_0x45ea1a['style'][_0x4d1ed1(0x1eb)]='hidden',document[_0x4d1ed1(0x1c5)]['appendChild'](_0x45ea1a);const _0x3eaca6=measureText(_0x544453,_0xdf5cc4,_0x42513b,_0x19a3bd,_0xe8dc03);if(!_0x3eaca6)return;_0x45ea1a[_0x4d1ed1(0x1bf)]=_0x3eaca6,document[_0x4d1ed1(0x1c5)]['removeChild'](_0x45ea1a),_0x45ea1a['style']['visibility']='';const _0x8839c1=-(_0x3eaca6[_0x4d1ed1(0x1e9)]?_0x3eaca6[_0x4d1ed1(0x1e9)]:0x0),_0x18f90e=Math[_0x4d1ed1(0x1e0)](_0x3eaca6[_0x4d1ed1(0x1e3)])+_0x8839c1+_0x3851dc,_0x373808=(_0x3eaca6[_0x4d1ed1(0x1ed)]?_0x3eaca6['height']:0x0)+_0x3851dc,_0x29bb13=_0x373808-(_0x3eaca6[_0x4d1ed1(0x1d4)]?_0x3eaca6[_0x4d1ed1(0x1d4)]:0x0)+_0x1eab70,_0x5f0625=_0x373808-_0x29bb13+_0x3851dc;return _0x45ea1a['width']=_0x18f90e,_0x45ea1a[_0x4d1ed1(0x1ed)]=_0x373808,_0x544453[_0x4d1ed1(0x1e7)]=_0x42513b,_0x544453[_0x4d1ed1(0x1db)]='round',_0x544453[_0x4d1ed1(0x1ec)]=_0x3ce414,_0x544453[imageSmoothingEnabledName]=![],_0x19d2a8!=='#00000000'&&(_0x544453[_0x4d1ed1(0x1e6)]=_0x19d2a8,_0x544453['fillRect'](0x0,0x0,_0x45ea1a[_0x4d1ed1(0x1e3)],_0x45ea1a['height'])),_0x19a3bd&&(_0x544453['strokeStyle']=defaultValue(_0x1072fc[_0x4d1ed1(0x1c8)],_0x4d1ed1(0x1d7)),_0x544453[_0x4d1ed1(0x1c9)](_0xdf5cc4,_0x8839c1+_0x1eab70,_0x5f0625)),_0xe8dc03&&(_0x544453[_0x4d1ed1(0x1e6)]=defaultValue(_0x1072fc[_0x4d1ed1(0x1bc)],'#FFFFFF'),_0x544453['fillText'](_0xdf5cc4,_0x8839c1+_0x1eab70,_0x5f0625)),_0x45ea1a;}function defaultValue(_0x2ad50a,_0x3e8f71){if(_0x2ad50a!==undefined&&_0x2ad50a!==null)return _0x2ad50a;return _0x3e8f71;}function a69_0x2672(_0x3c567b,_0x25583b){const _0x36bc24=a69_0x36bc();return a69_0x2672=function(_0x267246,_0x58c112){_0x267246=_0x267246-0x1bc;let _0x54bc73=_0x36bc24[_0x267246];return _0x54bc73;},a69_0x2672(_0x3c567b,_0x25583b);}function a69_0x36bc(){const _0x55841f=['mozImageSmoothingEnabled','9WQvlHB','fillStyle','font','length','minx','canvas','visibility','lineWidth','height','createElement','getContext','fillColor','test','data','dimensions','strokeWidth','measureText','8487070LcMgJQ','defaultView','replace','body','#00000000','808aJOrAy','strokeColor','strokeText','strokeStyle','webkitImageSmoothingEnabled','362055zwVzuQ','144xlIBhc','stroke','black','getComputedStyle','334048scOtYJ','round','8055616OdgOer','ascent','135132zOtUvM','getPropertyValue','#000000','235EPmSFF','imageSmoothingEnabled','399WOwuCh','lineJoin','white','1387379tMrhFQ','8tRSAcs','10px\x20sans-serif','ceil','fillRect','fill','width'];a69_0x36bc=function(){return _0x55841f;};return a69_0x36bc();}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a73_0x5c4c94=a73_0x14ca;function a73_0x14ca(_0x1d0e31,_0x247cb2){const _0x20338a=a73_0x2033();return a73_0x14ca=function(_0x14ca4b,_0x466d63){_0x14ca4b=_0x14ca4b-0x1d1;let _0x4ba08d=_0x20338a[_0x14ca4b];return _0x4ba08d;},a73_0x14ca(_0x1d0e31,_0x247cb2);}(function(_0xcc27b0,_0x103249){const _0x27bc38=a73_0x14ca,_0x32c520=_0xcc27b0();while(!![]){try{const _0x31e757=parseInt(_0x27bc38(0x1eb))/0x1+-parseInt(_0x27bc38(0x1e0))/0x2*(-parseInt(_0x27bc38(0x1e9))/0x3)+-parseInt(_0x27bc38(0x1d9))/0x4+-parseInt(_0x27bc38(0x1e5))/0x5*(parseInt(_0x27bc38(0x1db))/0x6)+parseInt(_0x27bc38(0x1d7))/0x7+-parseInt(_0x27bc38(0x1da))/0x8+parseInt(_0x27bc38(0x1ef))/0x9*(-parseInt(_0x27bc38(0x1e2))/0xa);if(_0x31e757===_0x103249)break;else _0x32c520['push'](_0x32c520['shift']());}catch(_0xb51a3b){_0x32c520['push'](_0x32c520['shift']());}}}(a73_0x2033,0x242bb));import a73_0xe4dfe7 from'ol/format/EsriJSON';import a73_0x1112db from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a73_0x3f1e87 from'./Task';import{appendPath}from'../../UrlUtil';function a73_0x2033(){const _0x5ad02c=['348svEUYf','returnGeometry','imageDisplay','getCode','time','499110SmQdMc','all','1374010qgSuNA','returnZ','geometryType','5905bCmUlh','getCenter','layers','_setGeometryParams','3UxQOAc','resolution','259987FGLAIj','url','getResolution','params','9lPHQDJ','getSize','geometry','calculateExtent','returnM','getProjection','valueOf','layerDefs','getView','mapExtent','1830976VAItGM','run','1004560HGwgdn','1327328bRhQlD'];a73_0x2033=function(){return _0x5ad02c;};return a73_0x2033();}import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a73_0x3f1e87{constructor(_0x135d27,_0x1c9dbb,_0x215b07){const _0x5911e9=a73_0x14ca;super(_0x135d27,_0x1c9dbb,_0x215b07),this['path']='identify',this['params']={'layers':_0x5911e9(0x1e1),'tolerance':0x0,'returnGeometry':!![]},this['tolerance']=0x3,this[_0x5911e9(0x1ea)]=0x0,this[_0x5911e9(0x1ec)]=appendPath(this[_0x5911e9(0x1ec)],this['path']),_0x1c9dbb&&((_0x1c9dbb[_0x5911e9(0x1dc)]===!![]||_0x1c9dbb[_0x5911e9(0x1dc)]===![])&&(this[_0x5911e9(0x1ee)][_0x5911e9(0x1dc)]=_0x1c9dbb[_0x5911e9(0x1dc)]),_0x1c9dbb[_0x5911e9(0x1e7)]&&(this['params'][_0x5911e9(0x1e7)]=_0x1c9dbb[_0x5911e9(0x1e7)]),_0x1c9dbb[_0x5911e9(0x1d4)]&&(this[_0x5911e9(0x1ee)][_0x5911e9(0x1d4)]=_0x1c9dbb[_0x5911e9(0x1d4)]),(_0x1c9dbb[_0x5911e9(0x1e3)]===!![]||_0x1c9dbb[_0x5911e9(0x1e3)]===![])&&(this[_0x5911e9(0x1ee)][_0x5911e9(0x1e3)]=_0x1c9dbb[_0x5911e9(0x1e3)]),(_0x1c9dbb[_0x5911e9(0x1d1)]===!![]||_0x1c9dbb[_0x5911e9(0x1d1)]===![])&&(this[_0x5911e9(0x1ee)][_0x5911e9(0x1d1)]=_0x1c9dbb[_0x5911e9(0x1d1)]));}['at'](_0x57d66d,_0x4cbea2){const _0x15988e=a73_0x14ca;let _0x5e7242,_0x378211;const _0xa1a448=new a73_0x1112db();_0x5e7242=_0x57d66d,_0x378211=getEsriSpatialReference(_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1d2)]()[_0x15988e(0x1de)]());const _0xa28994=_0x4cbea2[_0x15988e(0x1f0)]();_0xa28994&&(this[_0x15988e(0x1ee)][_0x15988e(0x1dd)]=[_0xa28994[0x0],_0xa28994[0x1],0x60]);this[_0x15988e(0x1ee)]['sr']=_0x378211;const _0x49cb5c=_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1f2)](_0x4cbea2[_0x15988e(0x1f0)]());this[_0x15988e(0x1ee)][_0x15988e(0x1d6)]={'xmin':_0x49cb5c[0x0],'ymin':_0x49cb5c[0x1],'xmax':_0x49cb5c[0x2],'ymax':_0x49cb5c[0x3],'spatialReference':_0x378211};const _0x2adc07=_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1ed)](),_0x3922f2=_0x4cbea2['getView']()[_0x15988e(0x1e6)]();return _0x2adc07&&_0x3922f2&&(this[_0x15988e(0x1ea)]=getPointResolution(_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1d2)](),_0x2adc07,_0x3922f2)),this[_0x15988e(0x1e8)](_0x5e7242,_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1d2)]()[_0x15988e(0x1de)]()),this;}['between'](_0x4a8f40,_0x626133){const _0x428682=a73_0x14ca;return this['params'][_0x428682(0x1df)]=[_0x4a8f40[_0x428682(0x1d3)](),_0x626133[_0x428682(0x1d3)]()],this;}[a73_0x5c4c94(0x1d8)](){this['request']();}['_setGeometryParams'](_0x2d54b8,_0xa9ff5d){const _0x13f463=a73_0x5c4c94;var _0x1bf6ad=new a73_0xe4dfe7();const _0x4990cd=_0x1bf6ad['writeGeometryObject'](_0x2d54b8);this[_0x13f463(0x1ee)]['inSR']=getEsriSpatialReference(_0xa9ff5d),this[_0x13f463(0x1ee)][_0x13f463(0x1f1)]=_0x4990cd,this['params'][_0x13f463(0x1e4)]=this['geojsonTypeToArcGIS'](_0x2d54b8['getType']());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x1f671d=a74_0x56d2;(function(_0x38918e,_0x51d497){const _0x2b82ab=a74_0x56d2,_0x486c27=_0x38918e();while(!![]){try{const _0x17aa8d=parseInt(_0x2b82ab(0x167))/0x1*(-parseInt(_0x2b82ab(0x18f))/0x2)+-parseInt(_0x2b82ab(0x178))/0x3+-parseInt(_0x2b82ab(0x156))/0x4*(parseInt(_0x2b82ab(0x173))/0x5)+parseInt(_0x2b82ab(0x163))/0x6+parseInt(_0x2b82ab(0x16c))/0x7*(parseInt(_0x2b82ab(0x154))/0x8)+parseInt(_0x2b82ab(0x184))/0x9*(parseInt(_0x2b82ab(0x17a))/0xa)+-parseInt(_0x2b82ab(0x168))/0xb*(-parseInt(_0x2b82ab(0x179))/0xc);if(_0x17aa8d===_0x51d497)break;else _0x486c27['push'](_0x486c27['shift']());}catch(_0x3cfc14){_0x486c27['push'](_0x486c27['shift']());}}}(a74_0x27e8,0x220f0));import a74_0x57d011 from'ol/format/EsriJSON';import a74_0x783ccf from'./Task';function a74_0x27e8(){const _0xe6ab8d=['readFeature','features','within','between','time','outSR','writeGeometryObject','distance','code','units','indexIntersects','593268djqdgD','layer','geometryType','400','1705zRKozk','44iIkLmw','returnCountOnly','getExtent','ids','2695gplrHQ','url','path','/query','simplify','esriSpatialRelContains','catch','58085BSopXj','_trapSQLerrors','nearby','distinct','esriSpatialRelIndexIntersects','234420kSEgJw','580452ofNqxp','10hEzUlE','where','returnGeometry','returnM','inSR','data','getType','returnZ','esriSpatialRelIntersects','apply','1758231VQhzMW','_setGeometryParams','forEach','orderByFields','request','length','warn','push','geojsonTypeToArcGIS','crosses','getSize','148lCCgRF','contains','1=1','status','count','params','esriSpatialRelCrosses','valueOf','esriSpatialRelWithin','esriSRUnit_Meter','intersects','_cleanParams','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','spatialRel','872fwmDuA','bboxIntersects','64SYNefD','getTime'];a74_0x27e8=function(){return _0xe6ab8d;};return a74_0x27e8();}import{getEsriSpatialReference}from'../../EsriUtil';function a74_0x56d2(_0x583700,_0x22e15b){const _0x27e8f5=a74_0x27e8();return a74_0x56d2=function(_0x56d238,_0x3729bf){_0x56d238=_0x56d238-0x151;let _0x22bb4e=_0x27e8f5[_0x56d238];return _0x22bb4e;},a74_0x56d2(_0x583700,_0x22e15b);}import{appendPath}from'../../UrlUtil';export default class Query extends a74_0x783ccf{constructor(_0x110d59,_0x54bd4b,_0x53c0ab){const _0xf8f23f=a74_0x56d2;super(_0x110d59,_0x54bd4b,_0x53c0ab),this[_0xf8f23f(0x16e)]='query',this[_0xf8f23f(0x194)]={'returnGeometry':!![],'where':_0xf8f23f(0x191),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0xf8f23f(0x157)]()},this[_0xf8f23f(0x16d)]=appendPath(this['url'],this[_0xf8f23f(0x16e)]),_0x54bd4b&&((_0x54bd4b['returnGeometry']===!![]||_0x54bd4b[_0xf8f23f(0x17c)]===![])&&(this[_0xf8f23f(0x194)][_0xf8f23f(0x17c)]=_0x54bd4b[_0xf8f23f(0x17c)]),_0x54bd4b['where']&&(this[_0xf8f23f(0x194)]['where']=_0x54bd4b[_0xf8f23f(0x17b)]),_0x54bd4b[_0xf8f23f(0x15d)]&&(this[_0xf8f23f(0x194)][_0xf8f23f(0x15d)]=getEsriSpatialReference(_0x54bd4b['outSR'])),(_0x54bd4b[_0xf8f23f(0x181)]===!![]||_0x54bd4b[_0xf8f23f(0x181)]===![])&&(this['params']['returnZ']=_0x54bd4b['returnZ']),(_0x54bd4b[_0xf8f23f(0x17d)]===!![]||_0x54bd4b[_0xf8f23f(0x17d)]===![])&&(this[_0xf8f23f(0x194)][_0xf8f23f(0x17d)]=_0x54bd4b[_0xf8f23f(0x17d)]));}[a74_0x1f671d(0x15a)](_0xa121a7,_0x2e4413){const _0x325122=a74_0x1f671d;return this[_0x325122(0x185)](_0xa121a7,_0x2e4413),this[_0x325122(0x194)][_0x325122(0x153)]=_0x325122(0x171),this;}[a74_0x1f671d(0x199)](_0x4ec307,_0x5d6567){const _0xa83287=a74_0x1f671d;return this[_0xa83287(0x185)](_0x4ec307,_0x5d6567),this[_0xa83287(0x194)][_0xa83287(0x153)]=_0xa83287(0x182),this;}[a74_0x1f671d(0x190)](_0x557753,_0x4b2b53){const _0x5e723b=a74_0x1f671d;return this[_0x5e723b(0x185)](_0x557753,_0x4b2b53),this[_0x5e723b(0x194)][_0x5e723b(0x153)]=_0x5e723b(0x197),this;}[a74_0x1f671d(0x18d)](_0x530235,_0x5928e4){const _0x41f052=a74_0x1f671d;return this['_setGeometryParams'](_0x530235,_0x5928e4),this['params'][_0x41f052(0x153)]=_0x41f052(0x195),this;}['touches'](_0x1e37c4,_0x55849e){const _0x4547e4=a74_0x1f671d;return this[_0x4547e4(0x185)](_0x1e37c4,_0x55849e),this[_0x4547e4(0x194)][_0x4547e4(0x153)]='esriSpatialRelTouches',this;}['overlaps'](_0xf4597e,_0x370d66){const _0x211e62=a74_0x1f671d;return this[_0x211e62(0x185)](_0xf4597e,_0x370d66),this['params'][_0x211e62(0x153)]='esriSpatialRelOverlaps',this;}[a74_0x1f671d(0x155)](_0x37b806,_0x46d079){return this['_setGeometryParams'](_0x37b806,_0x46d079),this['params']['spatialRel']='esriSpatialRelEnvelopeIntersects',this;}[a74_0x1f671d(0x162)](_0xe24f4a,_0x8e60e2){const _0x3f5cad=a74_0x1f671d;return this[_0x3f5cad(0x185)](_0xe24f4a,_0x8e60e2),this[_0x3f5cad(0x194)]['spatialRel']=_0x3f5cad(0x177),this;}[a74_0x1f671d(0x175)](_0x1f9b90,_0x27ea9a,_0x21bd03){const _0x427639=a74_0x1f671d;return this[_0x427639(0x185)](_0x1f9b90,_0x27ea9a),this[_0x427639(0x194)]['spatialRel']=_0x427639(0x182),this[_0x427639(0x194)][_0x427639(0x161)]=_0x427639(0x198),this['params'][_0x427639(0x15f)]=_0x21bd03,this;}[a74_0x1f671d(0x17b)](_0x338dfa){const _0x43537=a74_0x1f671d;return this['params'][_0x43537(0x17b)]=_0x338dfa,this;}[a74_0x1f671d(0x15b)](_0x5be2a1,_0x3b9c3c){const _0x9f05bb=a74_0x1f671d;return this['params'][_0x9f05bb(0x15c)]=[_0x5be2a1[_0x9f05bb(0x196)](),_0x3b9c3c[_0x9f05bb(0x196)]()],this;}[a74_0x1f671d(0x170)](_0x3ca528,_0x1fa273){const _0x1f8cb4=a74_0x1f671d,_0x390e7f=_0x3ca528[_0x1f8cb4(0x16a)]();var _0x315d57=Math['abs'](_0x390e7f[0x2]-_0x390e7f[0x0]);const _0x5d64f0=_0x3ca528[_0x1f8cb4(0x18e)]();if(_0x5d64f0)return this[_0x1f8cb4(0x194)]['maxAllowableOffset']=_0x315d57/_0x5d64f0[0x1]*_0x1fa273,this;}['orderBy'](_0x52b958,_0x2c55b9){const _0x40e223=a74_0x1f671d;return _0x2c55b9=_0x2c55b9||'ASC',this[_0x40e223(0x194)][_0x40e223(0x187)]=this[_0x40e223(0x194)]['orderByFields']?this[_0x40e223(0x194)]['orderByFields']+',':'',this[_0x40e223(0x194)][_0x40e223(0x187)]+=[_0x52b958,_0x2c55b9]['join']('\x20'),this;}async['run'](){const _0x10844a=a74_0x1f671d;this[_0x10844a(0x151)]();const _0xa4c360=await this[_0x10844a(0x188)]()[_0x10844a(0x172)](_0x2efff9=>{throw new Error(_0x2efff9);});if(_0xa4c360[_0x10844a(0x192)]!==0xc8)throw new Error('No\x20features\x20found');if(_0xa4c360[_0x10844a(0x17f)]&&_0xa4c360[_0x10844a(0x17f)][_0x10844a(0x159)]&&_0xa4c360['data'][_0x10844a(0x159)][_0x10844a(0x189)]>0x0){var _0x43bfd4=new a74_0x57d011();let _0x58003c=[];return _0xa4c360[_0x10844a(0x17f)][_0x10844a(0x159)][_0x10844a(0x186)](_0x3058e1=>{const _0x2865cc=_0x10844a,_0x41f360=_0x43bfd4[_0x2865cc(0x158)](_0x3058e1);_0x58003c[_0x2865cc(0x18b)](_0x41f360);}),_0x58003c;}return[];}[a74_0x1f671d(0x193)](){const _0x323bdc=a74_0x1f671d;this[_0x323bdc(0x151)](),this[_0x323bdc(0x194)][_0x323bdc(0x169)]=!![],this[_0x323bdc(0x188)]();}[a74_0x1f671d(0x16b)](){const _0x459c11=a74_0x1f671d;this[_0x459c11(0x151)](),this[_0x459c11(0x194)]['returnIdsOnly']=!![],this['request']();}[a74_0x1f671d(0x176)](){const _0x32ab1a=a74_0x1f671d;return this[_0x32ab1a(0x194)][_0x32ab1a(0x17c)]=![],this[_0x32ab1a(0x194)]['returnDistinctValues']=!![],this;}[a74_0x1f671d(0x164)](_0x58d5b6){const _0x2317fe=a74_0x1f671d;return this[_0x2317fe(0x16e)]=_0x58d5b6+_0x2317fe(0x16f),this;}[a74_0x1f671d(0x174)](_0x4a53c7){const _0x524433=a74_0x1f671d;_0x4a53c7&&(_0x4a53c7[_0x524433(0x160)]===_0x524433(0x166)&&console[_0x524433(0x18a)][_0x524433(0x183)](_0x524433(0x152)));}[a74_0x1f671d(0x151)](){const _0x51eb06=a74_0x1f671d;delete this[_0x51eb06(0x194)]['returnIdsOnly'],delete this[_0x51eb06(0x194)]['returnExtentOnly'],delete this[_0x51eb06(0x194)][_0x51eb06(0x169)];}[a74_0x1f671d(0x185)](_0x6b8890,_0x1094ed){const _0x32e9ba=a74_0x1f671d;var _0x16d12d=new a74_0x57d011();const _0x22529b=_0x16d12d[_0x32e9ba(0x15e)](_0x6b8890);this[_0x32e9ba(0x194)][_0x32e9ba(0x17e)]=getEsriSpatialReference(_0x1094ed),this['params']['geometry']=_0x22529b,this[_0x32e9ba(0x194)][_0x32e9ba(0x165)]=this[_0x32e9ba(0x18c)](_0x6b8890[_0x32e9ba(0x180)]());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a75_0x25f1(_0x58fe20,_0x15f1e3){var _0x4dabb5=a75_0x4dab();return a75_0x25f1=function(_0x25f167,_0x1b4b77){_0x25f167=_0x25f167-0x15a;var _0x18fc6c=_0x4dabb5[_0x25f167];return _0x18fc6c;},a75_0x25f1(_0x58fe20,_0x15f1e3);}var a75_0x326be0=a75_0x25f1;(function(_0x165162,_0x28e11f){var _0x36f636=a75_0x25f1,_0x1790e7=_0x165162();while(!![]){try{var _0x5e7ae0=-parseInt(_0x36f636(0x15f))/0x1*(parseInt(_0x36f636(0x163))/0x2)+-parseInt(_0x36f636(0x16c))/0x3+parseInt(_0x36f636(0x166))/0x4*(-parseInt(_0x36f636(0x175))/0x5)+parseInt(_0x36f636(0x176))/0x6+parseInt(_0x36f636(0x174))/0x7+parseInt(_0x36f636(0x17d))/0x8+parseInt(_0x36f636(0x171))/0x9*(parseInt(_0x36f636(0x17e))/0xa);if(_0x5e7ae0===_0x28e11f)break;else _0x1790e7['push'](_0x1790e7['shift']());}catch(_0x62b571){_0x1790e7['push'](_0x1790e7['shift']());}}}(a75_0x4dab,0x6fe15));function a75_0x4dab(){var _0x28a646=['returnUnformattedValues','prototype','1uZuqas','post','geojsonTypeToArcGIS','serialize','1088810KZiObh','[object\x20Object]','hasOwnProperty','4CtigSW','GET','MultiPolygon','LineString','params','MultiPoint','2130027MtSbIL','Point','method','esriGeometryPolygon','toString','2769399neFAjM','esriGeometryPolyline','isArcgisOnline','5033063QtKFQh','3389075XiwHah','1245654jKQwxt','test','url','[object\x20Date]','format','request','stringify','4325912KNwCcY','30GyhFMn','join','call','MultiLineString'];a75_0x4dab=function(){return _0x28a646;};return a75_0x4dab();}import a75_0x3f6a0f from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x21f020,_0x2fcb08,_0x2ae0c5){var _0x11d38b=a75_0x25f1;this[_0x11d38b(0x178)]=_0x21f020,this[_0x11d38b(0x16a)]=_0x2fcb08||{},this['method']=!_0x2ae0c5?_0x11d38b(0x167):_0x2ae0c5;}[a75_0x326be0(0x161)](_0x40786c){var _0x10b95b=a75_0x326be0,_0x490c22;switch(_0x40786c){case _0x10b95b(0x16d):_0x490c22='esriGeometryPoint';break;case _0x10b95b(0x16b):_0x490c22='esriGeometryMultipoint';break;case _0x10b95b(0x169):_0x490c22=_0x10b95b(0x172);break;case _0x10b95b(0x15c):_0x490c22=_0x10b95b(0x172);break;case'Polygon':_0x490c22=_0x10b95b(0x16f);break;case _0x10b95b(0x168):_0x490c22='esriGeometryPolygon';break;}return _0x490c22;}[a75_0x326be0(0x173)](_0x8bdac8){var _0x120031=a75_0x326be0;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x120031(0x177)](_0x8bdac8);}[a75_0x326be0(0x162)](_0x275f93){var _0x54e8ad=a75_0x326be0,_0x3bc379='';_0x275f93['f']=_0x275f93['f']||'json';for(var _0x174eb2 in _0x275f93){if(Object[_0x54e8ad(0x15e)][_0x54e8ad(0x165)][_0x54e8ad(0x15b)](_0x275f93,_0x174eb2)){var _0x496c6a=_0x275f93[_0x174eb2],_0x296ac4=Object[_0x54e8ad(0x15e)][_0x54e8ad(0x170)][_0x54e8ad(0x15b)](_0x496c6a),_0x1a3dcd;_0x3bc379['length']&&(_0x3bc379+='&');if(_0x296ac4==='[object\x20Array]')_0x1a3dcd=Object[_0x54e8ad(0x15e)][_0x54e8ad(0x170)]['call'](_0x496c6a[0x0])===_0x54e8ad(0x164)?JSON[_0x54e8ad(0x17c)](_0x496c6a):_0x496c6a[_0x54e8ad(0x15a)](',');else{if(_0x296ac4==='[object\x20Object]')_0x1a3dcd=JSON['stringify'](_0x496c6a);else _0x296ac4===_0x54e8ad(0x179)?_0x1a3dcd=_0x496c6a['valueOf']():_0x1a3dcd=_0x496c6a;}_0x3bc379+=encodeURIComponent(_0x174eb2)+'='+encodeURIComponent(_0x1a3dcd);}}return _0x3bc379;}[a75_0x326be0(0x17a)](_0x371292){var _0x38681c=a75_0x326be0;return this[_0x38681c(0x16a)][_0x38681c(0x15d)]=!_0x371292,this;}async[a75_0x326be0(0x17b)](){var _0x19a488=a75_0x326be0,_0x31d5a9=this[_0x19a488(0x162)](this[_0x19a488(0x16a)]);const _0x180631=this['url']['indexOf']('?')>-0x1?this[_0x19a488(0x178)]+'&'+_0x31d5a9:this['url']+'?'+_0x31d5a9;if(this[_0x19a488(0x16e)]===_0x19a488(0x167))return a75_0x3f6a0f['get'](_0x180631);else{if(this[_0x19a488(0x16e)]==='JSONP')return jsonp(_0x180631);else{const _0x2f5883=stringify(this[_0x19a488(0x16a)]);return a75_0x3f6a0f[_0x19a488(0x160)](this[_0x19a488(0x178)],_0x2f5883);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a77_0xe6fb(_0x1acdf5,_0x10108e){const _0x552912=a77_0x5529();return a77_0xe6fb=function(_0xe6fbd0,_0x17647f){_0xe6fbd0=_0xe6fbd0-0x71;let _0x28e159=_0x552912[_0xe6fbd0];return _0x28e159;},a77_0xe6fb(_0x1acdf5,_0x10108e);}const a77_0x4cce50=a77_0xe6fb;(function(_0x3d02a0,_0x261a2b){const _0x21696d=a77_0xe6fb,_0x468cee=_0x3d02a0();while(!![]){try{const _0x3e9a8e=parseInt(_0x21696d(0x7f))/0x1+-parseInt(_0x21696d(0x89))/0x2+parseInt(_0x21696d(0x84))/0x3+-parseInt(_0x21696d(0x72))/0x4+-parseInt(_0x21696d(0x86))/0x5+parseInt(_0x21696d(0x82))/0x6*(parseInt(_0x21696d(0x83))/0x7)+-parseInt(_0x21696d(0x7b))/0x8;if(_0x3e9a8e===_0x261a2b)break;else _0x468cee['push'](_0x468cee['shift']());}catch(_0x30497e){_0x468cee['push'](_0x468cee['shift']());}}}(a77_0x5529,0xcee7b));import{and,intersects}from'ol/format/filter';import a77_0x18d02a from'../../format/CQL';import a77_0x2231a2 from'ol/format/WFS';import a77_0x261a04 from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x45689f){const _0xee89f8=a77_0xe6fb;this[_0xee89f8(0x80)]={},this[_0xee89f8(0x77)]=_0x45689f;}async[a77_0x4cce50(0x76)](_0x1865ff){const _0x374111=a77_0x4cce50;this[_0x374111(0x80)]=_0x1865ff||{};const _0x3b7787=this[_0x374111(0x80)][_0x374111(0x8f)]||_0x374111(0x79);let _0x25ccbd=this[_0x374111(0x80)][_0x374111(0x81)],_0x26c806;_0x25ccbd&&(_0x26c806=new a77_0x18d02a()[_0x374111(0x88)](_0x25ccbd));let _0x4405bd=_0x26c806;if(this[_0x374111(0x80)][_0x374111(0x73)]){if(!this[_0x374111(0x80)][_0x374111(0x7a)])throw new Error(_0x374111(0x85));const _0x250e22=intersects(_0x3b7787,this['queryParameters']['geometry']);_0x4405bd=_0x26c806?and(_0x26c806,_0x250e22):_0x250e22;}let _0x479772=new a77_0x2231a2()[_0x374111(0x7d)]({'srsName':this['queryParameters'][_0x374111(0x7a)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x374111(0x80)][_0x374111(0x71)]],'outputFormat':_0x374111(0x7e),'geometryName':_0x3b7787,'filter':_0x4405bd});const _0x41f847=await fetch(this[_0x374111(0x77)],{'method':_0x374111(0x74),'body':new XMLSerializer()[_0x374111(0x90)](_0x479772)}),_0x2a64fc=await _0x41f847[_0x374111(0x8a)]();let _0x4c0013=[];const _0x503421=new a77_0x261a04();return _0x4c0013=_0x2a64fc[_0x374111(0x8c)]['map'](_0x1166bf=>{const _0x512d78=_0x374111;return _0x503421[_0x512d78(0x8b)](JSON[_0x512d78(0x78)](_0x1166bf));}),_0x4c0013;}[a77_0x4cce50(0x87)](){const _0x1cf1bb=a77_0x4cce50,_0x1d2cd3=this[_0x1cf1bb(0x80)]['geometryName']||_0x1cf1bb(0x79);let _0x398f56=this[_0x1cf1bb(0x80)][_0x1cf1bb(0x81)],_0x126398;_0x398f56&&(_0x126398=new a77_0x18d02a()[_0x1cf1bb(0x88)](_0x398f56));let _0x3879b1=_0x126398;if(this['queryParameters'][_0x1cf1bb(0x73)]){const _0x46e4d0=intersects(_0x1d2cd3,this['queryParameters'][_0x1cf1bb(0x73)]);_0x3879b1=_0x126398?and(_0x126398,_0x46e4d0):_0x46e4d0;}let _0x2dea32=new a77_0x2231a2()[_0x1cf1bb(0x7d)]({'srsName':this['queryParameters'][_0x1cf1bb(0x7a)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters'][_0x1cf1bb(0x71)]],'outputFormat':_0x1cf1bb(0x7e),'geometryName':_0x1d2cd3,'filter':_0x3879b1});return new Promise(_0x21c52a=>{const _0xe9b9b9=_0x1cf1bb;fetch(this[_0xe9b9b9(0x77)],{'method':_0xe9b9b9(0x74),'body':new XMLSerializer()['serializeToString'](_0x2dea32)})[_0xe9b9b9(0x8d)](_0x4ddb89=>{return _0x4ddb89['json']();})['then'](_0x3c9b4d=>{const _0x10e69a=_0xe9b9b9;let _0x17155c=[];const _0x2840ff=new a77_0x261a04();_0x17155c=_0x3c9b4d[_0x10e69a(0x8c)][_0x10e69a(0x75)](_0x19dec6=>{const _0x15b7b4=_0x10e69a;return _0x2840ff[_0x15b7b4(0x8b)](JSON['stringify'](_0x19dec6));}),_0x21c52a(_0x17155c);})[_0xe9b9b9(0x7c)](_0x3d58f9=>{const _0x3f2cae=_0xe9b9b9;_0x21c52a([]),console[_0x3f2cae(0x8e)](_0x3d58f9);});});}}function a77_0x5529(){const _0x21b3f1=['POST','map','execute','url','stringify','the_geom','srsName','2451992VEATtb','catch','writeGetFeature','application/json','1262650mqkCDs','queryParameters','where','6234cjQfQA','8792TULPJb','2148282tOrWYx','srsName\x20is\x20required','5377245OrSDtZ','_geoserverQuery','read','272598FMrDbt','json','readFeature','features','then','error','geometryName','serializeToString','tableName','3671992OZbiXh','geometry'];a77_0x5529=function(){return _0x21b3f1;};return a77_0x5529();}
|