ym-gis-2d 1.0.5 → 1.0.6
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.js +1 -1
- package/index.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.d.ts.map +1 -1
- package/interaction/Select.js +1 -1
- package/interaction/Select.js.map +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.js +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/index.js +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
package/utils/XmlUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5edb60,_0x69662f){const _0x25c851=a81_0x57d1,_0x38700a=_0x5edb60();while(!![]){try{const _0x4a09a1=-parseInt(_0x25c851(0x9f))/0x1+parseInt(_0x25c851(0xa2))/0x2+parseInt(_0x25c851(0xa7))/0x3+parseInt(_0x25c851(0x9b))/0x4+parseInt(_0x25c851(0xa9))/0x5+parseInt(_0x25c851(0x9c))/0x6*(-parseInt(_0x25c851(0xa6))/0x7)+-parseInt(_0x25c851(0xa1))/0x8;if(_0x4a09a1===_0x69662f)break;else _0x38700a['push'](_0x38700a['shift']());}catch(_0x485f0e){_0x38700a['push'](_0x38700a['shift']());}}}(a81_0x4f17,0x46fd8));function a81_0x57d1(_0x2c5fe7,_0x5567a0){const _0x4f171a=a81_0x4f17();return a81_0x57d1=function(_0x57d146,_0x14d616){_0x57d146=_0x57d146-0x9b;let _0x4fd4a0=_0x4f171a[_0x57d146];return _0x4fd4a0;},a81_0x57d1(_0x2c5fe7,_0x5567a0);}export function readXml(_0x346bd2){const _0x2f0b72=a81_0x57d1;let _0x4102eb;return window[_0x2f0b72(0x9d)]?_0x4102eb=new DOMParser()[_0x2f0b72(0xa3)](_0x346bd2,_0x2f0b72(0xa5)):(_0x4102eb=new ActiveXObject(_0x2f0b72(0xa0)),_0x4102eb[_0x2f0b72(0xa4)]=_0x2f0b72(0x9e),_0x4102eb[_0x2f0b72(0xa8)](_0x346bd2)),_0x4102eb;}function a81_0x4f17(){const _0x456a38=['336954LmDZXC','Microsoft.XMLDOM','2292336BFVYyj','821042VEXRHb','parseFromString','async','text/xml','14hjNwWz','1679364DFeeTE','loadXML','2178430OBLgUY','183884gBhCdf','1613082TXjdSS','DOMParser','false'];a81_0x4f17=function(){return _0x456a38;};return a81_0x4f17();}
|
package/utils/format/CQL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a62_0x50760c=a62_0x6aed;(function(_0x3766e5,_0x379d2){const _0x740f86=a62_0x6aed,_0x57b6f8=_0x3766e5();while(!![]){try{const _0x5209f4=parseInt(_0x740f86(0x18d))/0x1+-parseInt(_0x740f86(0x1c5))/0x2+parseInt(_0x740f86(0x1c7))/0x3+-parseInt(_0x740f86(0x18f))/0x4*(parseInt(_0x740f86(0x1ce))/0x5)+parseInt(_0x740f86(0x1c4))/0x6*(-parseInt(_0x740f86(0x1b2))/0x7)+-parseInt(_0x740f86(0x1c0))/0x8*(-parseInt(_0x740f86(0x1a0))/0x9)+-parseInt(_0x740f86(0x1c2))/0xa*(-parseInt(_0x740f86(0x1b3))/0xb);if(_0x5209f4===_0x379d2)break;else _0x57b6f8['push'](_0x57b6f8['shift']());}catch(_0x3ed192){_0x57b6f8['push'](_0x57b6f8['shift']());}}}(a62_0x5d92,0xc4a87));function a62_0x5d92(){const _0x172118=['PropertyIsLessThan','CONTAINS','WITHIN(','lowerBoundary','VALUE','\x20BETWEEN\x20','NOT','propertyName','],\x20expected\x20one\x20of:\x20','patterns','charAt','write','lessThan','toLowerCase','replaceAll','string','length','\x20AND\x20','LPAREN','remainder','between','PropertyIsNotEqualTo','follows','IS\x20NULL','upperBoundary','substring','END','IS_NULL','BBOX','SPATIAL','push','nextToken','1340092QNmsko','GEOMETRY','112408mrgYrj','tokens','inPatterns','No\x20follows\x20list\x20for\x20','greaterThanOrEqualTo','warn','tryToken','CONTAINS(','join','PropertyIsNull','indexOf','tagName_','COMPARISON','split','PropertyIsLike','COMMA','match','45QuLmkc','buildAst','text','Within','PropertyIsLessThanOrEqualTo','WITHIN','parseInToOr','BBOX(','tokenize','replace','intersects','geometry','property','Not','And','readGeometry','PropertyIsBetween','PROPERTY','7NwYCJG','107767IYLLRI','writeGeometry','extent','CLASS_NAME','not','condition','like','Contains','isNull','greaterThan','NOT\x20(','LIKE','contains','306616jBEQAW','exec','2300lxKmsx','logicals','7438350JhoBpf','2670818prNUeI','operatorReverse','1990452oaNLQE','pop','RPAREN','operators','toUpperCase','bbox','剩余的节点无法解析:\x20\x0a','190DevKEK','expression','Intersects','PropertyIsGreaterThan','BETWEEN','LOGICAL','Can\x27t\x20encode:\x20','conditions','number','equalTo','geometryName','type','shift','srsName','\x20or\x20'];a62_0x5d92=function(){return _0x172118;};return a62_0x5d92();}function a62_0x6aed(_0x38e2b2,_0x9de82){const _0x5d92af=a62_0x5d92();return a62_0x6aed=function(_0x6aede1,_0x2b7680){_0x6aede1=_0x6aede1-0x176;let _0x1844c9=_0x5d92af[_0x6aede1];return _0x1844c9;},a62_0x6aed(_0x38e2b2,_0x9de82);}import*as a62_0x3da6ef from'ol/format/filter';import{WKT}from'ol/format';import a62_0x20addf from'ol/geom/Geometry';export default class CQL{constructor(){const _0x3e6106=a62_0x6aed;this[_0x3e6106(0x191)]=/ (IN) /i,this[_0x3e6106(0x190)]=['PROPERTY',_0x3e6106(0x19b),_0x3e6106(0x1e1),_0x3e6106(0x1d3)],this[_0x3e6106(0x176)]={'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(_0x43f936){const _0x2208cd=_0x3e6106;let _0x5a5fec=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x2208cd(0x1c1)](_0x43f936);if(_0x5a5fec){let _0x108abf=_0x43f936[_0x2208cd(0x17d)],_0x55571e=_0x43f936[_0x2208cd(0x199)]('(',_0x5a5fec[0x0][_0x2208cd(0x17d)]);if(_0x55571e>-0x1){let _0x5ac36b=0x1;while(_0x55571e<_0x108abf&&_0x5ac36b>0x0){_0x55571e++;switch(_0x43f936[_0x2208cd(0x177)](_0x55571e)){case'(':_0x5ac36b++;break;case')':_0x5ac36b--;break;default:}}}return[_0x43f936[_0x2208cd(0x186)](0x0,_0x55571e+0x1)];}},'END':/^$/},this[_0x3e6106(0x183)]={'LPAREN':[_0x3e6106(0x18e),_0x3e6106(0x18a),_0x3e6106(0x1b1),_0x3e6106(0x1e1),_0x3e6106(0x17f)],'RPAREN':[_0x3e6106(0x1e3),_0x3e6106(0x1d3),_0x3e6106(0x187),_0x3e6106(0x1c9)],'PROPERTY':[_0x3e6106(0x19b),_0x3e6106(0x1d2),_0x3e6106(0x19e),_0x3e6106(0x188)],'BETWEEN':[_0x3e6106(0x1e1)],'IS_NULL':[_0x3e6106(0x187)],'COMPARISON':[_0x3e6106(0x1e1)],'COMMA':['GEOMETRY',_0x3e6106(0x1e1),_0x3e6106(0x1b1)],'VALUE':[_0x3e6106(0x1d3),_0x3e6106(0x19e),_0x3e6106(0x1c9),_0x3e6106(0x187)],'SPATIAL':[_0x3e6106(0x17f)],'LOGICAL':[_0x3e6106(0x1e3),'VALUE',_0x3e6106(0x18a),'PROPERTY',_0x3e6106(0x17f)],'NOT':[_0x3e6106(0x1b1),_0x3e6106(0x17f)],'GEOMETRY':['COMMA',_0x3e6106(0x1c9)]},this[_0x3e6106(0x1ca)]={'=':a62_0x3da6ef[_0x3e6106(0x1d7)],'<>':a62_0x3da6ef['notEqualTo'],'<':a62_0x3da6ef[_0x3e6106(0x179)],'<=':a62_0x3da6ef['lessThanOrEqualTo'],'>':a62_0x3da6ef[_0x3e6106(0x1bc)],'>=':a62_0x3da6ef[_0x3e6106(0x193)],'LIKE':a62_0x3da6ef[_0x3e6106(0x1b9)],'BETWEEN':a62_0x3da6ef[_0x3e6106(0x181)],'IS\x20NULL':a62_0x3da6ef[_0x3e6106(0x1bb)]},this[_0x3e6106(0x1c6)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x3e6106(0x1be),'PropertyIsNull':_0x3e6106(0x184),'PropertyIsBetween':'BETWEEN'},this['logicals']={'AND':a62_0x3da6ef['and'],'OR':a62_0x3da6ef['or']},this['precedence']={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}[a62_0x50760c(0x195)](_0x1e28b0,_0x224aff){const _0x4d1d1f=a62_0x50760c;return _0x224aff instanceof RegExp?_0x224aff[_0x4d1d1f(0x1c1)](_0x1e28b0):_0x224aff(_0x1e28b0);}[a62_0x50760c(0x18c)](_0x1fbc38,_0x571881){const _0x10e9c5=a62_0x50760c;let _0x56836e,_0x470a8e,_0x2c8f86=_0x571881[_0x10e9c5(0x17d)];for(_0x56836e=0x0;_0x56836e<_0x2c8f86;_0x56836e++){_0x470a8e=_0x571881[_0x56836e];let _0x1279b8=this[_0x10e9c5(0x176)][_0x470a8e],_0x5e5c3b=this['tryToken'](_0x1fbc38,_0x1279b8);if(_0x5e5c3b){let _0x12ae21=_0x5e5c3b[0x0],_0x2781b3=_0x1fbc38[_0x10e9c5(0x186)](_0x12ae21[_0x10e9c5(0x17d)])[_0x10e9c5(0x1a9)](/^\s*/,'');return{'type':_0x470a8e,'text':_0x12ae21,'remainder':_0x2781b3};}}let _0x1ce1ff='ERROR:\x20In\x20parsing:\x20['+_0x1fbc38+_0x10e9c5(0x1e5);for(_0x56836e=0x0;_0x56836e<_0x2c8f86;_0x56836e++){_0x470a8e=_0x571881[_0x56836e],_0x1ce1ff+='\x0a\x20\x20\x20\x20'+_0x470a8e+':\x20'+this[_0x10e9c5(0x176)][_0x470a8e];}throw new Error(_0x1ce1ff);}[a62_0x50760c(0x1a8)](_0x2a158c){const _0x7988eb=a62_0x50760c;_0x2a158c=_0x2a158c[_0x7988eb(0x17b)]('[','')[_0x7988eb(0x17b)](']','');let _0x2da791=this[_0x7988eb(0x195)](_0x2a158c,this[_0x7988eb(0x191)]);_0x2da791&&(_0x2a158c=this[_0x7988eb(0x1a6)](_0x2a158c,_0x2da791));let _0x2f4143=[],_0xd250c,_0x233872=[_0x7988eb(0x1e3),_0x7988eb(0x18e),'SPATIAL',_0x7988eb(0x1b1),_0x7988eb(0x17f)];do{_0xd250c=this[_0x7988eb(0x18c)](_0x2a158c,_0x233872),_0x2a158c=_0xd250c[_0x7988eb(0x180)],_0x233872=this['follows'][_0xd250c['type']];if(_0xd250c[_0x7988eb(0x1d9)]!==_0x7988eb(0x187)&&!_0x233872)throw new Error(_0x7988eb(0x192)+_0xd250c['type']);_0x2f4143[_0x7988eb(0x18b)](_0xd250c);}while(_0xd250c['type']!==_0x7988eb(0x187));return _0x2f4143;}['parseInToOr'](_0x534d0b,_0xd6ae01){const _0x23b063=a62_0x50760c;let _0x5ea23e=this[_0x23b063(0x195)](_0x534d0b,/\((.+?)\)/g);if(_0x5ea23e){let _0x2a80f0=_0x534d0b['substring'](0x0,_0xd6ae01['index']),_0x5ca5c3=_0x5ea23e[0x1],_0x29b77=_0x5ca5c3[_0x23b063(0x17b)]('\x20','')[_0x23b063(0x19c)](','),_0x19ceba='',_0x475d58='';if(_0x2a80f0[_0x23b063(0x199)]('\x20')>-0x1){let _0x35d183=_0x2a80f0['lastIndexOf']('\x20');_0x475d58=_0x2a80f0[_0x23b063(0x186)](0x0,_0x35d183+0x1),_0x19ceba=_0x2a80f0[_0x23b063(0x186)](_0x35d183+0x1,_0x2a80f0[_0x23b063(0x17d)]);}else _0x19ceba=_0x2a80f0;let _0x52b727=_0x475d58;for(let _0x36255e=0x0;_0x36255e<_0x29b77[_0x23b063(0x17d)];_0x36255e++){let _0xc8fabb=_0x29b77[_0x36255e];_0x52b727+=_0x19ceba+'='+_0xc8fabb,_0x36255e<_0x29b77[_0x23b063(0x17d)]-0x1&&(_0x52b727+=_0x23b063(0x1dc));}return _0x52b727;}return _0x534d0b;}[a62_0x50760c(0x1a1)](_0x39bf97){const _0x3b8f2c=a62_0x50760c;let _0x3a03b0=this,_0x528f0f=[],_0x165f49=[];while(_0x39bf97['length']){let _0x35e03=_0x39bf97[_0x3b8f2c(0x1da)]();switch(_0x35e03[_0x3b8f2c(0x1d9)]){case _0x3b8f2c(0x1b1):case _0x3b8f2c(0x18e):case _0x3b8f2c(0x1e1):_0x165f49[_0x3b8f2c(0x18b)](_0x35e03);break;case _0x3b8f2c(0x19b):case _0x3b8f2c(0x1d2):case'IS_NULL':case _0x3b8f2c(0x1d3):{let _0x688148=this['precedence'][_0x35e03[_0x3b8f2c(0x1d9)]];while(_0x528f0f['length']>0x0&&this['precedence'][_0x528f0f[_0x528f0f[_0x3b8f2c(0x17d)]-0x1]['type']]<=_0x688148){_0x165f49[_0x3b8f2c(0x18b)](_0x528f0f[_0x3b8f2c(0x1c8)]());}_0x528f0f[_0x3b8f2c(0x18b)](_0x35e03);break;}case'SPATIAL':case _0x3b8f2c(0x1e3):case _0x3b8f2c(0x17f):_0x528f0f[_0x3b8f2c(0x18b)](_0x35e03);break;case _0x3b8f2c(0x1c9):while(_0x528f0f[_0x3b8f2c(0x17d)]>0x0&&_0x528f0f[_0x528f0f[_0x3b8f2c(0x17d)]-0x1][_0x3b8f2c(0x1d9)]!==_0x3b8f2c(0x17f)){_0x165f49[_0x3b8f2c(0x18b)](_0x528f0f[_0x3b8f2c(0x1c8)]());}_0x528f0f[_0x3b8f2c(0x1c8)]();_0x528f0f[_0x3b8f2c(0x17d)]>0x0&&(_0x528f0f[_0x528f0f['length']-0x1][_0x3b8f2c(0x1d9)]==='SPATIAL'||_0x528f0f[_0x528f0f[_0x3b8f2c(0x17d)]-0x1][_0x3b8f2c(0x1d9)]==='NOT')&&_0x165f49[_0x3b8f2c(0x18b)](_0x528f0f['pop']());break;case'COMMA':case _0x3b8f2c(0x187):break;default:throw new Error('Unknown\x20token\x20type\x20'+_0x35e03[_0x3b8f2c(0x1d9)]);}}while(_0x528f0f[_0x3b8f2c(0x17d)]>0x0){_0x165f49['push'](_0x528f0f[_0x3b8f2c(0x1c8)]());}function _0x2dbc20(){const _0x117dbb=_0x3b8f2c;let _0x2d2cb0,_0x715d45,_0x40eb99=_0x165f49[_0x117dbb(0x1c8)]();switch(_0x40eb99['type']){case'LOGICAL':{let _0x5b012f=_0x2dbc20(),_0x1c8597=_0x2dbc20();return new _0x3a03b0[(_0x117dbb(0x1c3))][(_0x40eb99[_0x117dbb(0x1a2)][_0x117dbb(0x1cb)]())](_0x1c8597,_0x5b012f);}case'NOT':{let _0x3d9ccb=_0x2dbc20();return a62_0x3da6ef[_0x117dbb(0x1b7)](_0x3d9ccb);}case _0x117dbb(0x1d2):{let _0x236f7d,_0x49351c;return _0x165f49[_0x117dbb(0x1c8)](),_0x49351c=_0x2dbc20(),_0x236f7d=_0x2dbc20(),_0x715d45=_0x2dbc20(),a62_0x3da6ef[_0x117dbb(0x181)](_0x715d45,_0x236f7d,_0x49351c);}case _0x117dbb(0x19b):{return _0x2d2cb0=_0x2dbc20(),_0x715d45=_0x2dbc20(),new _0x3a03b0[(_0x117dbb(0x1ca))][(_0x40eb99[_0x117dbb(0x1a2)]['toUpperCase']())](_0x715d45,_0x2d2cb0);}case _0x117dbb(0x188):_0x715d45=_0x2dbc20();return new _0x3a03b0['operators'][(_0x40eb99[_0x117dbb(0x1a2)][_0x117dbb(0x1cb)]())](_0x715d45);case'VALUE':{let _0x371f0e=_0x40eb99[_0x117dbb(0x1a2)][_0x117dbb(0x19f)](/^'(.*)'$/);return _0x371f0e?_0x371f0e[0x1][_0x117dbb(0x1a9)](/''/g,'\x27'):Number(_0x40eb99['text']);}case _0x117dbb(0x18a):switch(_0x40eb99[_0x117dbb(0x1a2)][_0x117dbb(0x1cb)]()){case _0x117dbb(0x189):{let _0x2e4fe0=_0x2dbc20(),_0x4da5ed=_0x2dbc20(),_0x450fd9=_0x2dbc20(),_0x576e4a=_0x2dbc20(),_0x5e19ef=_0x2dbc20();return a62_0x3da6ef[_0x117dbb(0x1cc)](_0x5e19ef,[_0x576e4a,_0x450fd9,_0x4da5ed,_0x2e4fe0]);}case'INTERSECTS':_0x2d2cb0=_0x2dbc20(),_0x715d45=_0x2dbc20();return a62_0x3da6ef[_0x117dbb(0x1aa)](_0x715d45,_0x2d2cb0);case _0x117dbb(0x1a5):_0x2d2cb0=_0x2dbc20(),_0x715d45=_0x2dbc20();return a62_0x3da6ef['within'](_0x715d45,_0x2d2cb0);case _0x117dbb(0x1de):_0x2d2cb0=_0x2dbc20(),_0x715d45=_0x2dbc20();return a62_0x3da6ef[_0x117dbb(0x1bf)](_0x715d45,_0x2d2cb0);}break;case _0x117dbb(0x18e):return new WKT()[_0x117dbb(0x1af)](_0x40eb99[_0x117dbb(0x1a2)],{});default:return _0x40eb99[_0x117dbb(0x1a2)];}}let _0xb5ef9b=_0x2dbc20();if(_0x165f49[_0x3b8f2c(0x17d)]>0x0){let _0x22fb1c=_0x3b8f2c(0x1cd);for(let _0x1f82ed=_0x165f49[_0x3b8f2c(0x17d)]-0x1;_0x1f82ed>=0x0;_0x1f82ed--){_0x22fb1c+=_0x165f49[_0x1f82ed][_0x3b8f2c(0x1d9)]+':\x20'+_0x165f49[_0x1f82ed][_0x3b8f2c(0x1a2)]+'\x0a';}throw new Error(_0x22fb1c);}return _0xb5ef9b;}['read'](_0x4f23f9){const _0x32846f=a62_0x50760c;try{return this[_0x32846f(0x1a1)](this[_0x32846f(0x1a8)](_0x4f23f9));}catch(_0x34d555){console['warn']('CQL解析失败:'+_0x4f23f9),console[_0x32846f(0x194)](_0x34d555);}}[a62_0x50760c(0x178)](_0x164158){const _0x584c4f=a62_0x50760c;switch(_0x164158['tagName_']){case _0x584c4f(0x189):return _0x584c4f(0x1a7)+_0x164158[_0x584c4f(0x1d8)]+','+_0x164158[_0x584c4f(0x1b5)][_0x584c4f(0x197)](',')+','+_0x164158[_0x584c4f(0x1db)]+')';case _0x584c4f(0x1a3):return _0x584c4f(0x1df)+_0x164158['geometryName']+',\x20'+this[_0x584c4f(0x1af)](_0x164158[_0x584c4f(0x1ab)])+')';case _0x584c4f(0x1d0):return'INTERSECTS('+_0x164158['geometryName']+',\x20'+this[_0x584c4f(0x1af)](_0x164158[_0x584c4f(0x1ab)])+')';case _0x584c4f(0x1ba):return _0x584c4f(0x196)+_0x164158['geometryName']+',\x20'+this[_0x584c4f(0x1af)](_0x164158[_0x584c4f(0x1ab)])+')';case _0x584c4f(0x1ad):return _0x584c4f(0x1bd)+this[_0x584c4f(0x178)](_0x164158[_0x584c4f(0x1b8)])+')';case _0x584c4f(0x1ae):case'Or':{let _0x4b50e5='(',_0x3ffd3a=!![];for(let _0x46db87=0x0;_0x46db87<_0x164158['conditions'][_0x584c4f(0x17d)];_0x46db87++){_0x3ffd3a?_0x3ffd3a=![]:_0x4b50e5+=')\x20'+_0x164158['tagName_'][_0x584c4f(0x17a)]()+'\x20(',_0x4b50e5+=this[_0x584c4f(0x178)](_0x164158[_0x584c4f(0x1d5)][_0x46db87]);}return _0x4b50e5+')';}case _0x584c4f(0x1b0):return _0x164158[_0x584c4f(0x1ac)]+_0x584c4f(0x1e2)+this[_0x584c4f(0x178)](_0x164158[_0x584c4f(0x1e0)])+_0x584c4f(0x17e)+this[_0x584c4f(0x178)](_0x164158[_0x584c4f(0x185)]);case'PropertyIsEqualTo':case _0x584c4f(0x182):case _0x584c4f(0x1dd):case _0x584c4f(0x1a4):case _0x584c4f(0x1d1):case'PropertyIsGreaterThanOrEqualTo':case _0x584c4f(0x19d):case _0x584c4f(0x198):{return _0x164158[_0x584c4f(0x1cf)]!==null?_0x164158[_0x584c4f(0x1e4)]+'\x20'+this[_0x584c4f(0x1c6)][_0x164158[_0x584c4f(0x19a)]]+'\x20'+this['write'](_0x164158[_0x584c4f(0x1cf)]):_0x164158['propertyName']+'\x20'+this['operatorReverse'][_0x164158[_0x584c4f(0x19a)]];}case undefined:if(typeof _0x164158===_0x584c4f(0x17c))return'\x27'+_0x164158[_0x584c4f(0x1a9)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x164158===_0x584c4f(0x1d6))return String(_0x164158);}break;default:throw new Error(_0x584c4f(0x1d4)+_0x164158[_0x584c4f(0x1b6)]+'\x20'+_0x164158);}}[a62_0x50760c(0x1af)](_0x525082){const _0x330d2f=a62_0x50760c;if(_0x525082 instanceof a62_0x20addf)return new WKT()[_0x330d2f(0x1b4)](_0x525082);}}
|
|
1
|
+
const a62_0x5784f6=a62_0x2572;(function(_0x415e20,_0x28541c){const _0x35701b=a62_0x2572,_0x563c73=_0x415e20();while(!![]){try{const _0x15d703=-parseInt(_0x35701b(0x17c))/0x1+-parseInt(_0x35701b(0x1a0))/0x2*(parseInt(_0x35701b(0x187))/0x3)+parseInt(_0x35701b(0x196))/0x4*(parseInt(_0x35701b(0x195))/0x5)+-parseInt(_0x35701b(0x18a))/0x6*(-parseInt(_0x35701b(0x172))/0x7)+parseInt(_0x35701b(0x15d))/0x8+-parseInt(_0x35701b(0x192))/0x9+-parseInt(_0x35701b(0x184))/0xa*(-parseInt(_0x35701b(0x15b))/0xb);if(_0x15d703===_0x28541c)break;else _0x563c73['push'](_0x563c73['shift']());}catch(_0x1648f9){_0x563c73['push'](_0x563c73['shift']());}}}(a62_0x4049,0xbb0ef));function a62_0x4049(){const _0x4b4992=['and','\x20BETWEEN\x20','between','IS_NULL','PropertyIsLike','pop','text','2306314BEutkZ','intersects','NOT\x20(','operators','END','LPAREN','replaceAll','Intersects','string','buildAst','PropertyIsGreaterThan','tagName_','warn','RPAREN','LOGICAL','WITHIN(','Within','parseInToOr','bbox','GEOMETRY','writeGeometry','\x0a\x20\x20\x20\x20','write','index','INTERSECTS(','patterns','logicals','contains','剩余的节点无法解析:\x20\x0a','condition','PropertyIsBetween','lowerBoundary','],\x20expected\x20one\x20of:\x20','PropertyIsEqualTo','CONTAINS(','tryToken','push','61853qDbMWN','BETWEEN','11622064WxjJtk','equalTo','PropertyIsGreaterThanOrEqualTo','readGeometry','nextToken','ERROR:\x20In\x20parsing:\x20[','split','toUpperCase','BBOX','propertyName','SPATIAL','like','within','LIKE','geometry','PROPERTY','srsName','Can\x27t\x20encode:\x20','PropertyIsLessThan','CONTAINS','greaterThanOrEqualTo','723324rZbvQU','VALUE','type','PropertyIsLessThanOrEqualTo','Contains','BBOX(','No\x20follows\x20list\x20for\x20','length','substring','precedence','340806gumsgJ','replace','\x20or\x20','NOT','number','lessThan','lessThanOrEqualTo','read','3790awSPhg','\x20AND\x20','extent','3mdgkoA','not','indexOf','6BrkEGk','And','geometryName','tokenize','COMMA','operatorReverse','expression','COMPARISON','13680405IUIEJn','exec','INTERSECTS','464960VpdWFD','4tGMJJQ','follows','tokens'];a62_0x4049=function(){return _0x4b4992;};return a62_0x4049();}import*as a62_0x1f853f from'ol/format/filter';import{WKT}from'ol/format';function a62_0x2572(_0x2eb48d,_0x3b8711){const _0x404907=a62_0x4049();return a62_0x2572=function(_0x257268,_0x23d38d){_0x257268=_0x257268-0x144;let _0x56b6f7=_0x404907[_0x257268];return _0x56b6f7;},a62_0x2572(_0x2eb48d,_0x3b8711);}import a62_0x578689 from'ol/geom/Geometry';export default class CQL{constructor(){const _0x1ea2d4=a62_0x2572;this['inPatterns']=/ (IN) /i,this[_0x1ea2d4(0x198)]=[_0x1ea2d4(0x16c),_0x1ea2d4(0x191),_0x1ea2d4(0x173),_0x1ea2d4(0x144)],this[_0x1ea2d4(0x14f)]={'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(_0x4c2068){const _0x44915f=_0x1ea2d4;let _0x2a1f4e=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x44915f(0x193)](_0x4c2068);if(_0x2a1f4e){let _0x602b94=_0x4c2068[_0x44915f(0x179)],_0x5dcb8e=_0x4c2068[_0x44915f(0x189)]('(',_0x2a1f4e[0x0][_0x44915f(0x179)]);if(_0x5dcb8e>-0x1){let _0x6faebc=0x1;while(_0x5dcb8e<_0x602b94&&_0x6faebc>0x0){_0x5dcb8e++;switch(_0x4c2068['charAt'](_0x5dcb8e)){case'(':_0x6faebc++;break;case')':_0x6faebc--;break;default:}}}return[_0x4c2068[_0x44915f(0x17a)](0x0,_0x5dcb8e+0x1)];}},'END':/^$/},this[_0x1ea2d4(0x197)]={'LPAREN':[_0x1ea2d4(0x149),_0x1ea2d4(0x167),_0x1ea2d4(0x16c),_0x1ea2d4(0x173),_0x1ea2d4(0x1a5)],'RPAREN':[_0x1ea2d4(0x17f),_0x1ea2d4(0x144),'END','RPAREN'],'PROPERTY':[_0x1ea2d4(0x191),_0x1ea2d4(0x15c),_0x1ea2d4(0x18e),_0x1ea2d4(0x19c)],'BETWEEN':[_0x1ea2d4(0x173)],'IS_NULL':[_0x1ea2d4(0x1a4)],'COMPARISON':[_0x1ea2d4(0x173)],'COMMA':['GEOMETRY',_0x1ea2d4(0x173),_0x1ea2d4(0x16c)],'VALUE':[_0x1ea2d4(0x144),_0x1ea2d4(0x18e),'RPAREN',_0x1ea2d4(0x1a4)],'SPATIAL':[_0x1ea2d4(0x1a5)],'LOGICAL':[_0x1ea2d4(0x17f),_0x1ea2d4(0x173),_0x1ea2d4(0x167),'PROPERTY',_0x1ea2d4(0x1a5)],'NOT':['PROPERTY',_0x1ea2d4(0x1a5)],'GEOMETRY':[_0x1ea2d4(0x18e),_0x1ea2d4(0x1ad)]},this[_0x1ea2d4(0x1a3)]={'=':a62_0x1f853f[_0x1ea2d4(0x15e)],'<>':a62_0x1f853f['notEqualTo'],'<':a62_0x1f853f[_0x1ea2d4(0x181)],'<=':a62_0x1f853f[_0x1ea2d4(0x182)],'>':a62_0x1f853f['greaterThan'],'>=':a62_0x1f853f[_0x1ea2d4(0x171)],'LIKE':a62_0x1f853f[_0x1ea2d4(0x168)],'BETWEEN':a62_0x1f853f[_0x1ea2d4(0x19b)],'IS\x20NULL':a62_0x1f853f['isNull']},this[_0x1ea2d4(0x18f)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x1ea2d4(0x16a),'PropertyIsNull':'IS\x20NULL','PropertyIsBetween':'BETWEEN'},this[_0x1ea2d4(0x150)]={'AND':a62_0x1f853f[_0x1ea2d4(0x199)],'OR':a62_0x1f853f['or']},this[_0x1ea2d4(0x17b)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}['tryToken'](_0x6b76dc,_0x95a57d){const _0x22cc4c=a62_0x2572;return _0x95a57d instanceof RegExp?_0x95a57d[_0x22cc4c(0x193)](_0x6b76dc):_0x95a57d(_0x6b76dc);}[a62_0x5784f6(0x161)](_0x3948c1,_0x14a488){const _0x25bd90=a62_0x5784f6;let _0x3076a,_0x2de966,_0x52e8b8=_0x14a488[_0x25bd90(0x179)];for(_0x3076a=0x0;_0x3076a<_0x52e8b8;_0x3076a++){_0x2de966=_0x14a488[_0x3076a];let _0xd8c4d8=this['patterns'][_0x2de966],_0x4cab59=this[_0x25bd90(0x159)](_0x3948c1,_0xd8c4d8);if(_0x4cab59){let _0x301d46=_0x4cab59[0x0],_0x125b07=_0x3948c1['substring'](_0x301d46[_0x25bd90(0x179)])[_0x25bd90(0x17d)](/^\s*/,'');return{'type':_0x2de966,'text':_0x301d46,'remainder':_0x125b07};}}let _0x4b76eb=_0x25bd90(0x162)+_0x3948c1+_0x25bd90(0x156);for(_0x3076a=0x0;_0x3076a<_0x52e8b8;_0x3076a++){_0x2de966=_0x14a488[_0x3076a],_0x4b76eb+=_0x25bd90(0x14b)+_0x2de966+':\x20'+this[_0x25bd90(0x14f)][_0x2de966];}throw new Error(_0x4b76eb);}[a62_0x5784f6(0x18d)](_0x4afd36){const _0x1fe724=a62_0x5784f6;_0x4afd36=_0x4afd36[_0x1fe724(0x1a6)]('[','')[_0x1fe724(0x1a6)](']','');let _0x5a6fed=this[_0x1fe724(0x159)](_0x4afd36,this['inPatterns']);_0x5a6fed&&(_0x4afd36=this[_0x1fe724(0x147)](_0x4afd36,_0x5a6fed));let _0xa4bb2f=[],_0x4159c6,_0x24726d=[_0x1fe724(0x17f),'GEOMETRY',_0x1fe724(0x167),_0x1fe724(0x16c),_0x1fe724(0x1a5)];do{_0x4159c6=this[_0x1fe724(0x161)](_0x4afd36,_0x24726d),_0x4afd36=_0x4159c6['remainder'],_0x24726d=this[_0x1fe724(0x197)][_0x4159c6[_0x1fe724(0x174)]];if(_0x4159c6[_0x1fe724(0x174)]!=='END'&&!_0x24726d)throw new Error(_0x1fe724(0x178)+_0x4159c6[_0x1fe724(0x174)]);_0xa4bb2f['push'](_0x4159c6);}while(_0x4159c6[_0x1fe724(0x174)]!==_0x1fe724(0x1a4));return _0xa4bb2f;}[a62_0x5784f6(0x147)](_0x19daa2,_0x25686b){const _0x47336b=a62_0x5784f6;let _0x377073=this['tryToken'](_0x19daa2,/\((.+?)\)/g);if(_0x377073){let _0x11a365=_0x19daa2[_0x47336b(0x17a)](0x0,_0x25686b[_0x47336b(0x14d)]),_0x1ac400=_0x377073[0x1],_0x315739=_0x1ac400[_0x47336b(0x1a6)]('\x20','')[_0x47336b(0x163)](','),_0x133dcb='',_0x391c52='';if(_0x11a365[_0x47336b(0x189)]('\x20')>-0x1){let _0x126553=_0x11a365['lastIndexOf']('\x20');_0x391c52=_0x11a365[_0x47336b(0x17a)](0x0,_0x126553+0x1),_0x133dcb=_0x11a365['substring'](_0x126553+0x1,_0x11a365[_0x47336b(0x179)]);}else _0x133dcb=_0x11a365;let _0x5a56a4=_0x391c52;for(let _0x55e4ce=0x0;_0x55e4ce<_0x315739[_0x47336b(0x179)];_0x55e4ce++){let _0x2ced60=_0x315739[_0x55e4ce];_0x5a56a4+=_0x133dcb+'='+_0x2ced60,_0x55e4ce<_0x315739[_0x47336b(0x179)]-0x1&&(_0x5a56a4+=_0x47336b(0x17e));}return _0x5a56a4;}return _0x19daa2;}[a62_0x5784f6(0x1a9)](_0x79b84a){const _0x4f73d3=a62_0x5784f6;let _0x35d414=this,_0x3d1c14=[],_0x293f83=[];while(_0x79b84a['length']){let _0xb7af24=_0x79b84a['shift']();switch(_0xb7af24[_0x4f73d3(0x174)]){case _0x4f73d3(0x16c):case _0x4f73d3(0x149):case'VALUE':_0x293f83[_0x4f73d3(0x15a)](_0xb7af24);break;case _0x4f73d3(0x191):case _0x4f73d3(0x15c):case _0x4f73d3(0x19c):case _0x4f73d3(0x144):{let _0x332852=this[_0x4f73d3(0x17b)][_0xb7af24[_0x4f73d3(0x174)]];while(_0x3d1c14[_0x4f73d3(0x179)]>0x0&&this[_0x4f73d3(0x17b)][_0x3d1c14[_0x3d1c14[_0x4f73d3(0x179)]-0x1][_0x4f73d3(0x174)]]<=_0x332852){_0x293f83[_0x4f73d3(0x15a)](_0x3d1c14[_0x4f73d3(0x19e)]());}_0x3d1c14[_0x4f73d3(0x15a)](_0xb7af24);break;}case _0x4f73d3(0x167):case'NOT':case _0x4f73d3(0x1a5):_0x3d1c14['push'](_0xb7af24);break;case _0x4f73d3(0x1ad):while(_0x3d1c14['length']>0x0&&_0x3d1c14[_0x3d1c14[_0x4f73d3(0x179)]-0x1][_0x4f73d3(0x174)]!==_0x4f73d3(0x1a5)){_0x293f83['push'](_0x3d1c14[_0x4f73d3(0x19e)]());}_0x3d1c14[_0x4f73d3(0x19e)]();_0x3d1c14[_0x4f73d3(0x179)]>0x0&&(_0x3d1c14[_0x3d1c14[_0x4f73d3(0x179)]-0x1][_0x4f73d3(0x174)]===_0x4f73d3(0x167)||_0x3d1c14[_0x3d1c14[_0x4f73d3(0x179)]-0x1][_0x4f73d3(0x174)]===_0x4f73d3(0x17f))&&_0x293f83[_0x4f73d3(0x15a)](_0x3d1c14[_0x4f73d3(0x19e)]());break;case'COMMA':case _0x4f73d3(0x1a4):break;default:throw new Error('Unknown\x20token\x20type\x20'+_0xb7af24['type']);}}while(_0x3d1c14[_0x4f73d3(0x179)]>0x0){_0x293f83[_0x4f73d3(0x15a)](_0x3d1c14[_0x4f73d3(0x19e)]());}function _0x2b05a2(){const _0x5f3bd4=_0x4f73d3;let _0x121650,_0x480c43,_0x56792b=_0x293f83[_0x5f3bd4(0x19e)]();switch(_0x56792b[_0x5f3bd4(0x174)]){case _0x5f3bd4(0x144):{let _0xfaed44=_0x2b05a2(),_0x3e619f=_0x2b05a2();return new _0x35d414[(_0x5f3bd4(0x150))][(_0x56792b[_0x5f3bd4(0x19f)][_0x5f3bd4(0x164)]())](_0x3e619f,_0xfaed44);}case _0x5f3bd4(0x17f):{let _0x812a74=_0x2b05a2();return a62_0x1f853f[_0x5f3bd4(0x188)](_0x812a74);}case _0x5f3bd4(0x15c):{let _0x499e42,_0x18c004;return _0x293f83[_0x5f3bd4(0x19e)](),_0x18c004=_0x2b05a2(),_0x499e42=_0x2b05a2(),_0x480c43=_0x2b05a2(),a62_0x1f853f[_0x5f3bd4(0x19b)](_0x480c43,_0x499e42,_0x18c004);}case _0x5f3bd4(0x191):{return _0x121650=_0x2b05a2(),_0x480c43=_0x2b05a2(),new _0x35d414[(_0x5f3bd4(0x1a3))][(_0x56792b[_0x5f3bd4(0x19f)][_0x5f3bd4(0x164)]())](_0x480c43,_0x121650);}case _0x5f3bd4(0x19c):_0x480c43=_0x2b05a2();return new _0x35d414[(_0x5f3bd4(0x1a3))][(_0x56792b[_0x5f3bd4(0x19f)][_0x5f3bd4(0x164)]())](_0x480c43);case'VALUE':{let _0x2e532c=_0x56792b[_0x5f3bd4(0x19f)]['match'](/^'(.*)'$/);return _0x2e532c?_0x2e532c[0x1][_0x5f3bd4(0x17d)](/''/g,'\x27'):Number(_0x56792b[_0x5f3bd4(0x19f)]);}case _0x5f3bd4(0x167):switch(_0x56792b[_0x5f3bd4(0x19f)][_0x5f3bd4(0x164)]()){case _0x5f3bd4(0x165):{let _0x5dc00f=_0x2b05a2(),_0x4395a4=_0x2b05a2(),_0x550d70=_0x2b05a2(),_0x123ba8=_0x2b05a2(),_0x431a01=_0x2b05a2();return a62_0x1f853f[_0x5f3bd4(0x148)](_0x431a01,[_0x123ba8,_0x550d70,_0x4395a4,_0x5dc00f]);}case _0x5f3bd4(0x194):_0x121650=_0x2b05a2(),_0x480c43=_0x2b05a2();return a62_0x1f853f[_0x5f3bd4(0x1a1)](_0x480c43,_0x121650);case'WITHIN':_0x121650=_0x2b05a2(),_0x480c43=_0x2b05a2();return a62_0x1f853f[_0x5f3bd4(0x169)](_0x480c43,_0x121650);case _0x5f3bd4(0x170):_0x121650=_0x2b05a2(),_0x480c43=_0x2b05a2();return a62_0x1f853f[_0x5f3bd4(0x151)](_0x480c43,_0x121650);}break;case'GEOMETRY':return new WKT()[_0x5f3bd4(0x160)](_0x56792b['text'],{});default:return _0x56792b[_0x5f3bd4(0x19f)];}}let _0x5cfe6f=_0x2b05a2();if(_0x293f83[_0x4f73d3(0x179)]>0x0){let _0x4a7975=_0x4f73d3(0x152);for(let _0x1763ff=_0x293f83[_0x4f73d3(0x179)]-0x1;_0x1763ff>=0x0;_0x1763ff--){_0x4a7975+=_0x293f83[_0x1763ff][_0x4f73d3(0x174)]+':\x20'+_0x293f83[_0x1763ff]['text']+'\x0a';}throw new Error(_0x4a7975);}return _0x5cfe6f;}[a62_0x5784f6(0x183)](_0x5c7518){const _0x1fd8cb=a62_0x5784f6;try{return this[_0x1fd8cb(0x1a9)](this[_0x1fd8cb(0x18d)](_0x5c7518));}catch(_0x1336f5){console[_0x1fd8cb(0x1ac)]('CQL解析失败:'+_0x5c7518),console[_0x1fd8cb(0x1ac)](_0x1336f5);}}[a62_0x5784f6(0x14c)](_0x224984){const _0x5aa048=a62_0x5784f6;switch(_0x224984['tagName_']){case'BBOX':return _0x5aa048(0x177)+_0x224984['geometryName']+','+_0x224984[_0x5aa048(0x186)]['join'](',')+','+_0x224984[_0x5aa048(0x16d)]+')';case _0x5aa048(0x146):return _0x5aa048(0x145)+_0x224984[_0x5aa048(0x18c)]+',\x20'+this[_0x5aa048(0x160)](_0x224984[_0x5aa048(0x16b)])+')';case _0x5aa048(0x1a7):return _0x5aa048(0x14e)+_0x224984[_0x5aa048(0x18c)]+',\x20'+this[_0x5aa048(0x160)](_0x224984['geometry'])+')';case _0x5aa048(0x176):return _0x5aa048(0x158)+_0x224984[_0x5aa048(0x18c)]+',\x20'+this[_0x5aa048(0x160)](_0x224984['geometry'])+')';case'Not':return _0x5aa048(0x1a2)+this['write'](_0x224984[_0x5aa048(0x153)])+')';case _0x5aa048(0x18b):case'Or':{let _0x171f31='(',_0x3a65da=!![];for(let _0x141393=0x0;_0x141393<_0x224984['conditions']['length'];_0x141393++){_0x3a65da?_0x3a65da=![]:_0x171f31+=')\x20'+_0x224984['tagName_']['toLowerCase']()+'\x20(',_0x171f31+=this['write'](_0x224984['conditions'][_0x141393]);}return _0x171f31+')';}case _0x5aa048(0x154):return _0x224984['property']+_0x5aa048(0x19a)+this[_0x5aa048(0x14c)](_0x224984[_0x5aa048(0x155)])+_0x5aa048(0x185)+this['write'](_0x224984['upperBoundary']);case _0x5aa048(0x157):case'PropertyIsNotEqualTo':case _0x5aa048(0x16f):case _0x5aa048(0x175):case _0x5aa048(0x1aa):case _0x5aa048(0x15f):case _0x5aa048(0x19d):case'PropertyIsNull':{return _0x224984['expression']!==null?_0x224984[_0x5aa048(0x166)]+'\x20'+this['operatorReverse'][_0x224984[_0x5aa048(0x1ab)]]+'\x20'+this[_0x5aa048(0x14c)](_0x224984[_0x5aa048(0x190)]):_0x224984[_0x5aa048(0x166)]+'\x20'+this[_0x5aa048(0x18f)][_0x224984[_0x5aa048(0x1ab)]];}case undefined:if(typeof _0x224984===_0x5aa048(0x1a8))return'\x27'+_0x224984[_0x5aa048(0x17d)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x224984===_0x5aa048(0x180))return String(_0x224984);}break;default:throw new Error(_0x5aa048(0x16e)+_0x224984['CLASS_NAME']+'\x20'+_0x224984);}}[a62_0x5784f6(0x160)](_0x383b8c){const _0x50c387=a62_0x5784f6;if(_0x383b8c instanceof a62_0x578689)return new WKT()[_0x50c387(0x14a)](_0x383b8c);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x559873,_0x440ac2){const _0xbb42ef=a63_0x4125,_0x1343dd=_0x559873();while(!![]){try{const _0xe15728=parseInt(_0xbb42ef(0x17d))/0x1*(parseInt(_0xbb42ef(0x168))/0x2)+parseInt(_0xbb42ef(0x16e))/0x3*(-parseInt(_0xbb42ef(0x16b))/0x4)+-parseInt(_0xbb42ef(0x177))/0x5*(parseInt(_0xbb42ef(0x17e))/0x6)+parseInt(_0xbb42ef(0x178))/0x7+-parseInt(_0xbb42ef(0x161))/0x8+-parseInt(_0xbb42ef(0x171))/0x9+parseInt(_0xbb42ef(0x16d))/0xa;if(_0xe15728===_0x440ac2)break;else _0x1343dd['push'](_0x1343dd['shift']());}catch(_0x5dcf38){_0x1343dd['push'](_0x1343dd['shift']());}}}(a63_0x24bc,0x305c5));import a63_0x3de957 from'./CQL';export function isMatchCql(_0x1702e9,_0x26a83e){const _0x3c1bbb=a63_0x4125;let _0x59279e=new a63_0x3de957()[_0x3c1bbb(0x173)](_0x26a83e);return isMatchFilter(_0x1702e9,_0x59279e);}export function isMatchFilter(_0x362923,_0x21a037){const _0x1e4dff=a63_0x4125;switch(_0x21a037['tagName_']){case _0x1e4dff(0x165):return!isMatchFilter(_0x362923,_0x21a037[_0x1e4dff(0x16a)]);case'And':{let _0xe5bbee=!![];for(let _0x2d419c=0x0;_0x2d419c<_0x21a037[_0x1e4dff(0x17c)][_0x1e4dff(0x166)];_0x2d419c++){_0xe5bbee=_0xe5bbee&&isMatchFilter(_0x362923,_0x21a037['conditions'][_0x2d419c]);}return _0xe5bbee;}case'Or':{let _0x14e337=![];for(let _0x133941=0x0;_0x133941<_0x21a037[_0x1e4dff(0x17c)]['length'];_0x133941++){_0x14e337=_0x14e337||isMatchFilter(_0x362923,_0x21a037[_0x1e4dff(0x17c)][_0x133941]);}return _0x14e337;}case'PropertyIsBetween':return _0x362923[_0x21a037[_0x1e4dff(0x164)]]>_0x21a037['lowerBoundary']&&_0x362923[_0x21a037[_0x1e4dff(0x164)]]<_0x21a037[_0x1e4dff(0x17f)];case _0x1e4dff(0x174):return _0x362923[_0x21a037[_0x1e4dff(0x17a)]]===_0x21a037[_0x1e4dff(0x163)];case'PropertyIsNotEqualTo':return _0x362923[_0x21a037['propertyName']]!==_0x21a037['expression'];case'PropertyIsLessThan':return _0x362923[_0x21a037[_0x1e4dff(0x17a)]]<_0x21a037[_0x1e4dff(0x163)];case'PropertyIsLessThanOrEqualTo':return _0x362923[_0x21a037[_0x1e4dff(0x17a)]]<=_0x21a037[_0x1e4dff(0x163)];case'PropertyIsGreaterThan':return _0x362923[_0x21a037[_0x1e4dff(0x17a)]]>_0x21a037['expression'];case _0x1e4dff(0x162):return _0x362923[_0x21a037[_0x1e4dff(0x17a)]]>=_0x21a037[_0x1e4dff(0x163)];case _0x1e4dff(0x181):return _0x362923[_0x21a037[_0x1e4dff(0x17a)]][_0x1e4dff(0x17b)](_0x21a037['expression'])>-0x1;case'PropertyIsNull':{return!_0x362923[_0x21a037[_0x1e4dff(0x17a)]];}default:return![];}}export function isEqualFilter(_0x40ccfb,_0x63a6cb){const _0x4763ce=a63_0x4125;switch(_0x40ccfb[_0x4763ce(0x167)]){case _0x4763ce(0x165):return _0x40ccfb[_0x4763ce(0x167)]===_0x63a6cb['tagName_']&&isEqualFilter(_0x40ccfb[_0x4763ce(0x16a)],_0x63a6cb[_0x4763ce(0x16a)]);case'Or':case'And':{let _0x45cdb4=_0x40ccfb[_0x4763ce(0x167)]===_0x63a6cb['tagName_']&&_0x40ccfb[_0x4763ce(0x17c)]['length']===_0x63a6cb[_0x4763ce(0x17c)][_0x4763ce(0x166)];for(let _0x121503=0x0;_0x121503<_0x40ccfb[_0x4763ce(0x17c)][_0x4763ce(0x166)];_0x121503++){_0x45cdb4=_0x45cdb4&&isEqualFilter(_0x40ccfb[_0x4763ce(0x17c)][_0x121503],_0x63a6cb[_0x4763ce(0x17c)][_0x121503]);}return _0x45cdb4;}case'PropertyIsBetween':return _0x40ccfb[_0x4763ce(0x167)]===_0x63a6cb[_0x4763ce(0x167)]&&_0x40ccfb[_0x4763ce(0x164)]===_0x63a6cb[_0x4763ce(0x164)];case _0x4763ce(0x174):case _0x4763ce(0x176):case'PropertyIsLessThan':case _0x4763ce(0x16f):case _0x4763ce(0x172):case _0x4763ce(0x162):case'PropertyIsLike':case _0x4763ce(0x180):return _0x40ccfb[_0x4763ce(0x167)]===_0x63a6cb[_0x4763ce(0x167)]&&_0x40ccfb[_0x4763ce(0x17a)]===_0x63a6cb[_0x4763ce(0x17a)];default:return![];}}export function indexOfFilter(_0x18c383,_0x5cf3c9){const _0x3c9a5e=a63_0x4125;let _0x39e00d=-0x1;if((_0x18c383===null||_0x18c383===void 0x0?void 0x0:_0x18c383['length'])>0x0)for(let _0x3f80b in _0x18c383){if(isEqualFilter(_0x18c383[_0x3f80b][_0x3c9a5e(0x179)],_0x5cf3c9))return _0x3f80b;}return _0x39e00d;}export function getIndexByTemplate(_0x1e8162,_0x5d0c3b){const _0x42510c=a63_0x4125;let _0x1a9b65=_0x5d0c3b[_0x42510c(0x179)];if(_0x5d0c3b['idMapLength']>0x0){let _0x3fa648=getKeyByTemplate(_0x1e8162,_0x1a9b65);if(_0x3fa648 instanceof Array)for(let _0x3fc476 in _0x3fa648){let _0x3506fe=_0x5d0c3b[_0x42510c(0x16c)][_0x3fa648[_0x3fc476]+'_'+_0x3fc476];if(_0x3506fe)return _0x3506fe;}else return _0x5d0c3b['idMap'][_0x3fa648];}return null;}export function getKeyByTemplate(_0x1a103a,_0x4ac0ff){const _0x4412a0=a63_0x4125;switch(_0x4ac0ff['tagName_']){case _0x4412a0(0x174):{return _0x1a103a[_0x4ac0ff[_0x4412a0(0x17a)]];}case _0x4412a0(0x170):{let _0x12e103=[];for(let _0x39c809=0x0;_0x39c809<_0x4ac0ff[_0x4412a0(0x17c)][_0x4412a0(0x166)];_0x39c809++){let _0x1e5128=getKeyByTemplate(_0x1a103a,_0x4ac0ff[_0x4412a0(0x17c)][_0x39c809]);_0x1e5128&&_0x12e103['push'](_0x1e5128);}return _0x12e103[_0x4412a0(0x169)](',');}case'Or':{let _0x50d3b7=[];for(let _0x1a692a=0x0;_0x1a692a<_0x4ac0ff['conditions'][_0x4412a0(0x166)];_0x1a692a++){let _0x353c2f=getKeyByTemplate(_0x1a103a,_0x4ac0ff['conditions'][_0x1a692a]);_0x353c2f&&_0x50d3b7[_0x4412a0(0x175)](_0x353c2f);}return _0x50d3b7;}default:return null;}}function a63_0x24bc(){const _0x29cb5c=['expression','property','Not','length','tagName_','56VZotpF','join','condition','5584dPlxEc','idMap','7095760NyFGLf','159dvicDi','PropertyIsLessThanOrEqualTo','And','3245562CNYrJv','PropertyIsGreaterThan','read','PropertyIsEqualTo','push','PropertyIsNotEqualTo','43915gYNoXj','548401kWVMXc','template','propertyName','indexOf','conditions','5764AggGgJ','42fIpyun','upperBoundary','PropertyIsNull','PropertyIsLike','2041112mGHEeU','PropertyIsGreaterThanOrEqualTo'];a63_0x24bc=function(){return _0x29cb5c;};return a63_0x24bc();}function a63_0x4125(_0x3dda19,_0x1cd12f){const _0x24bc01=a63_0x24bc();return a63_0x4125=function(_0x4125d9,_0x5614be){_0x4125d9=_0x4125d9-0x161;let _0x534bd0=_0x24bc01[_0x4125d9];return _0x534bd0;},a63_0x4125(_0x3dda19,_0x1cd12f);}export function createKeyFromFilter(_0x193245){const _0x1fe47f=a63_0x4125;switch(_0x193245[_0x1fe47f(0x167)]){case _0x1fe47f(0x174):return _0x193245['expression'];case _0x1fe47f(0x170):{let _0x57a86c=[];for(let _0x2ad3b4=0x0;_0x2ad3b4<_0x193245[_0x1fe47f(0x17c)]['length'];_0x2ad3b4++){let _0x2ac250=createKeyFromFilter(_0x193245[_0x1fe47f(0x17c)][_0x2ad3b4]);if(_0x2ac250)_0x57a86c[_0x1fe47f(0x175)](_0x2ac250);else return null;}return _0x57a86c[_0x1fe47f(0x169)](',');}case'Or':{let _0x42e8e9=[];for(let _0x4c256f=0x0;_0x4c256f<_0x193245[_0x1fe47f(0x17c)][_0x1fe47f(0x166)];_0x4c256f++){let _0x403c4b=createKeyFromFilter(_0x193245[_0x1fe47f(0x17c)][_0x4c256f]);_0x403c4b&&_0x42e8e9[_0x1fe47f(0x175)](_0x403c4b);}return _0x42e8e9;}default:return null;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a66_0x3fceeb=a66_0x1abc;function a66_0x16d8(){const _0x378b10=['markerColor','cacheSize_','6wICQfQ','5489743IGOHLa','null','9947768cTvtAg','set','markerSize','686pNwzeu','2189620nZClAA','57218823sYsErn','image','5980676kuCIJr','4254SrKwTU','clear','1069903gOxcyc','markerLabel','get'];a66_0x16d8=function(){return _0x378b10;};return a66_0x16d8();}(function(_0x5d0a20,_0x5726fd){const _0x3d5ce7=a66_0x1abc,_0x54d241=_0x5d0a20();while(!![]){try{const _0x2befcc=-parseInt(_0x3d5ce7(0x128))/0x1+parseInt(_0x3d5ce7(0x121))/0x2*(-parseInt(_0x3d5ce7(0x126))/0x3)+-parseInt(_0x3d5ce7(0x125))/0x4+parseInt(_0x3d5ce7(0x122))/0x5*(-parseInt(_0x3d5ce7(0x11b))/0x6)+-parseInt(_0x3d5ce7(0x11c))/0x7+-parseInt(_0x3d5ce7(0x11e))/0x8+parseInt(_0x3d5ce7(0x123))/0x9;if(_0x2befcc===_0x5726fd)break;else _0x54d241['push'](_0x54d241['shift']());}catch(_0x383d65){_0x54d241['push'](_0x54d241['shift']());}}}(a66_0x16d8,0xcd36d));function a66_0x1abc(_0x5747e8,_0x4660bc){const _0x16d8a=a66_0x16d8();return a66_0x1abc=function(_0x1abc9b,_0x19b249){_0x1abc9b=_0x1abc9b-0x117;let _0x3678de=_0x16d8a[_0x1abc9b];return _0x3678de;},a66_0x1abc(_0x5747e8,_0x4660bc);}import{asString}from'ol/color';class ImageCache{constructor(){const _0x35eefd=a66_0x1abc;this['cache_']={},this[_0x35eefd(0x11a)]=0x0;}[a66_0x3fceeb(0x127)](){this['cache_']={},this['cacheSize_']=0x0;}[a66_0x3fceeb(0x118)](_0x995810){const _0x476866=a66_0x3fceeb,_0x35f40d=getKey(_0x995810[_0x476866(0x117)],_0x995810['markerSize'],_0x995810['markerColor'],_0x995810[_0x476866(0x124)]);return _0x35f40d in this['cache_']?this['cache_'][_0x35f40d]:null;}[a66_0x3fceeb(0x11f)](_0x5da971,_0x365509){const _0x44a9dc=a66_0x3fceeb,_0x235960=getKey(_0x5da971[_0x44a9dc(0x117)],_0x5da971[_0x44a9dc(0x120)],_0x5da971[_0x44a9dc(0x119)],_0x5da971[_0x44a9dc(0x124)]);this['cache_'][_0x235960]=_0x365509,++this[_0x44a9dc(0x11a)];}}function getKey(_0x1711fd,_0x43a1d6,_0x4f1c12,_0x20d30c){const _0xa34231=a66_0x3fceeb,_0x3d40df=_0x4f1c12?asString(_0x4f1c12):_0xa34231(0x11d);return _0x1711fd+':'+_0x20d30c+':'+_0x3d40df+':'+_0x43a1d6;}export default ImageCache;export const shared=new ImageCache();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0x573685=a67_0x56d8;(function(_0x2a4f22,_0x1f2122){const _0x227d0a=a67_0x56d8,_0x183352=_0x2a4f22();while(!![]){try{const _0x36daff=parseInt(_0x227d0a(0x1dc))/0x1+parseInt(_0x227d0a(0x1eb))/0x2*(parseInt(_0x227d0a(0x1e6))/0x3)+parseInt(_0x227d0a(0x1f2))/0x4+parseInt(_0x227d0a(0x1e2))/0x5*(-parseInt(_0x227d0a(0x1cb))/0x6)+-parseInt(_0x227d0a(0x1e8))/0x7+parseInt(_0x227d0a(0x1e3))/0x8*(parseInt(_0x227d0a(0x1d0))/0x9)+-parseInt(_0x227d0a(0x1da))/0xa*(parseInt(_0x227d0a(0x1cc))/0xb);if(_0x36daff===_0x1f2122)break;else _0x183352['push'](_0x183352['shift']());}catch(_0xe56af){_0x183352['push'](_0x183352['shift']());}}}(a67_0x54b1,0xe6041));import a67_0x2949f8 from'color';import a67_0x58c36a from'./writeTextToCanvas';import{Icon}from'ol/style';function a67_0x54b1(){const _0x1f5218=['_cache','url\x20is\x20required','bold\x20','height','9660234KJLvNd','13152865hAgJlo','id\x20is\x20required','fromMakiIconId','LOADED','6197013ALGOhz','scale','px\x20sans-serif','toDataURL','moveTo','destination-over','globalCompositeOperation','size\x20is\x20required','bezierCurveTo','IDLE','10ptoBKA','destination-out','1003225sbaAeq','getImageState','fill','text\x20is\x20required','getContext','hexa','5XlGPeV','8CUpIwu','fromText','#000000','3swHfZX','color\x20is\x20required','1859921rdmVhD','fillStyle','lighten','3210326CuFMSr','canvas','width','round','createElement','beginPath','strokeStyle','2866628uyBxBI','stroke','lineTo','fromUrl','ERROR','fillRect','getImage','listenImageChange','restore','stringify','drawImage'];a67_0x54b1=function(){return _0x1f5218;};return a67_0x54b1();}import a67_0x1e5022 from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x39b482=a67_0x56d8;this[_0x39b482(0x1c7)]={};}['fromColor'](_0x18c6cf,_0x2096dc){const _0x5072a9=a67_0x56d8;if(!_0x18c6cf)throw new Error(_0x5072a9(0x1e7));if(!_0x2096dc)throw new Error(_0x5072a9(0x1d7));return createPin('','',_0x18c6cf,_0x2096dc,this[_0x5072a9(0x1c7)]);}[a67_0x573685(0x1f5)](_0x98d90f,_0x904145,_0x2299b8){const _0x1eb599=a67_0x573685;if(!_0x98d90f)throw new Error(_0x1eb599(0x1c8));if(!_0x904145)throw new Error(_0x1eb599(0x1e7));if(!_0x2299b8)throw new Error(_0x1eb599(0x1d7));return createPin(_0x98d90f,'',_0x904145,_0x2299b8,this['_cache']);}[a67_0x573685(0x1ce)](_0x3ed07b,_0x4f5484,_0x1e5bbf){const _0x2ec319=a67_0x573685;if(!_0x3ed07b)throw new Error(_0x2ec319(0x1cd));if(!_0x4f5484)throw new Error(_0x2ec319(0x1e7));if(!_0x1e5bbf)throw new Error(_0x2ec319(0x1d7));return createPin(parseImage(_0x3ed07b),'',_0x4f5484,_0x1e5bbf,this['_cache']);}[a67_0x573685(0x1e4)](_0x31d832,_0x5a8759,_0x2f67ec){const _0x3fe805=a67_0x573685;if(!_0x31d832)throw new Error(_0x3fe805(0x1df));if(!_0x5a8759)throw new Error('color\x20is\x20required');if(!_0x2f67ec)throw new Error(_0x3fe805(0x1d7));return createPin('',_0x31d832,_0x5a8759,_0x2f67ec,this[_0x3fe805(0x1c7)]);}}function drawPin(_0x198622,_0x5376ea,_0x23dd8b){const _0xc585f5=a67_0x573685;_0x198622['save'](),_0x198622[_0xc585f5(0x1d1)](_0x23dd8b/0x18,_0x23dd8b/0x18),_0x198622[_0xc585f5(0x1e9)]=_0x5376ea,_0x198622[_0xc585f5(0x1f1)]=a67_0x2949f8(_0x5376ea)[_0xc585f5(0x1ea)](0.6)[_0xc585f5(0x1e1)](),_0x198622['lineWidth']=0.846,_0x198622[_0xc585f5(0x1f0)](),_0x198622[_0xc585f5(0x1d4)](6.72,0.422),_0x198622[_0xc585f5(0x1f4)](17.28,0.422),_0x198622[_0xc585f5(0x1d8)](18.553,0.422,19.577,1.758,19.577,3.415),_0x198622[_0xc585f5(0x1f4)](19.577,10.973),_0x198622[_0xc585f5(0x1d8)](19.577,12.63,18.553,13.966,17.282,13.966),_0x198622['lineTo'](14.386,14.008),_0x198622['lineTo'](11.826,23.578),_0x198622[_0xc585f5(0x1f4)](9.614,14.008),_0x198622[_0xc585f5(0x1f4)](6.719,13.965),_0x198622[_0xc585f5(0x1d8)](5.446,13.983,4.422,12.629,4.422,10.972),_0x198622['lineTo'](4.422,3.416),_0x198622[_0xc585f5(0x1d8)](4.423,1.76,5.447,0.423,6.718,0.423),_0x198622['closePath'](),_0x198622[_0xc585f5(0x1de)](),_0x198622[_0xc585f5(0x1f3)](),_0x198622[_0xc585f5(0x1c4)]();}function drawIcon(_0x687a56,_0x32d989,_0x3f68f0){const _0x5a748d=a67_0x573685,_0x2a8799=_0x3f68f0/2.5;let _0x4885c2=_0x2a8799,_0xb4695a=_0x2a8799;if(_0x32d989[_0x5a748d(0x1ed)]>_0x32d989[_0x5a748d(0x1ca)])_0xb4695a=_0x2a8799*(_0x32d989[_0x5a748d(0x1ca)]/_0x32d989[_0x5a748d(0x1ed)]);else _0x32d989[_0x5a748d(0x1ed)]<_0x32d989[_0x5a748d(0x1ca)]&&(_0x4885c2=_0x2a8799*(_0x32d989[_0x5a748d(0x1ed)]/_0x32d989[_0x5a748d(0x1ca)]));const _0x1d1f7e=Math['round']((_0x3f68f0-_0x4885c2)/0x2),_0x2c1588=Math[_0x5a748d(0x1ee)](0x7/0x18*_0x3f68f0-_0xb4695a/0x2);_0x687a56[_0x5a748d(0x1d6)]=_0x5a748d(0x1db),_0x687a56['drawImage'](_0x32d989,_0x1d1f7e-0x1,_0x2c1588,_0x4885c2,_0xb4695a),_0x687a56[_0x5a748d(0x1c6)](_0x32d989,_0x1d1f7e,_0x2c1588-0x1,_0x4885c2,_0xb4695a),_0x687a56[_0x5a748d(0x1c6)](_0x32d989,_0x1d1f7e+0x1,_0x2c1588,_0x4885c2,_0xb4695a),_0x687a56['drawImage'](_0x32d989,_0x1d1f7e,_0x2c1588+0x1,_0x4885c2,_0xb4695a),_0x687a56[_0x5a748d(0x1d6)]=_0x5a748d(0x1d5),_0x687a56['fillStyle']=_0x5a748d(0x1e5),_0x687a56[_0x5a748d(0x1f7)](_0x1d1f7e-0x1,_0x2c1588-0x1,_0x4885c2+0x2,_0xb4695a+0x2),_0x687a56[_0x5a748d(0x1d6)]=_0x5a748d(0x1db),_0x687a56[_0x5a748d(0x1c6)](_0x32d989,_0x1d1f7e,_0x2c1588,_0x4885c2,_0xb4695a),_0x687a56[_0x5a748d(0x1d6)]=_0x5a748d(0x1d5),_0x687a56[_0x5a748d(0x1e9)]='#FFFFFF',_0x687a56[_0x5a748d(0x1f7)](_0x1d1f7e-0x1,_0x2c1588-0x2,_0x4885c2+0x2,_0xb4695a+0x2);}function a67_0x56d8(_0x552f38,_0x2e86aa){const _0x54b1f4=a67_0x54b1();return a67_0x56d8=function(_0x56d8d0,_0x4f592f){_0x56d8d0=_0x56d8d0-0x1c3;let _0x300fe7=_0x54b1f4[_0x56d8d0];return _0x300fe7;},a67_0x56d8(_0x552f38,_0x2e86aa);}const stringifyScratch=new Array(0x4);function createPin(_0x3378af,_0x57e782,_0x49471a,_0x4b3fe1,_0x44eb45){const _0x5d2de6=a67_0x573685;stringifyScratch[0x0]=_0x3378af,stringifyScratch[0x1]=_0x57e782,stringifyScratch[0x2]=_0x49471a,stringifyScratch[0x3]=_0x4b3fe1;const _0x328de8=JSON[_0x5d2de6(0x1c5)](stringifyScratch),_0x8c27f=_0x44eb45[_0x328de8];if(_0x8c27f)return _0x8c27f;const _0x5cfaf8=document[_0x5d2de6(0x1ef)](_0x5d2de6(0x1ec));_0x5cfaf8[_0x5d2de6(0x1ed)]=_0x4b3fe1,_0x5cfaf8[_0x5d2de6(0x1ca)]=_0x4b3fe1;const _0x1466f3=_0x5cfaf8[_0x5d2de6(0x1e0)]('2d');drawPin(_0x1466f3,_0x49471a,_0x4b3fe1);if(_0x3378af)return new Promise(_0x4b3880=>{const _0x549b55=_0x5d2de6;let _0x365271=new Icon({'src':_0x3378af}),_0xcaf43c=_0x365271[_0x549b55(0x1dd)]();_0xcaf43c===a67_0x1e5022[_0x549b55(0x1cf)]||_0xcaf43c===a67_0x1e5022[_0x549b55(0x1f6)]?(drawIcon(_0x1466f3,_0x365271['getImage'](0x60),_0x4b3fe1),_0x44eb45[_0x328de8]=_0x5cfaf8['toDataURL'](),_0x4b3880(_0x5cfaf8[_0x549b55(0x1d3)]())):(_0xcaf43c===a67_0x1e5022[_0x549b55(0x1d9)]&&_0x365271['load'](),_0x365271[_0x549b55(0x1c3)](_0x5b9092=>{const _0x5c44f3=_0x549b55;_0xcaf43c=_0x5b9092['target']['getImageState'](),(_0xcaf43c===a67_0x1e5022[_0x5c44f3(0x1cf)]||_0xcaf43c===a67_0x1e5022[_0x5c44f3(0x1f6)])&&(drawIcon(_0x1466f3,_0x365271[_0x5c44f3(0x1f8)](0x60),_0x4b3fe1),_0x44eb45[_0x328de8]=_0x5cfaf8[_0x5c44f3(0x1d3)](),_0x4b3880(_0x5cfaf8[_0x5c44f3(0x1d3)]()));}));});else{if(_0x57e782){const _0x367176=a67_0x58c36a(_0x57e782,{'font':_0x5d2de6(0x1c9)+_0x4b3fe1+_0x5d2de6(0x1d2)});drawIcon(_0x1466f3,_0x367176,_0x4b3fe1);}}return _0x44eb45[_0x328de8]=_0x5cfaf8[_0x5d2de6(0x1d3)](),_0x5cfaf8[_0x5d2de6(0x1d3)]();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0x2f2d96=a68_0x4ae6;(function(_0x3953cd,_0x102c96){const _0x2be3e6=a68_0x4ae6,_0x210694=_0x3953cd();while(!![]){try{const _0x2081d7=parseInt(_0x2be3e6(0x17d))/0x1+parseInt(_0x2be3e6(0x180))/0x2*(-parseInt(_0x2be3e6(0x17f))/0x3)+parseInt(_0x2be3e6(0x186))/0x4*(-parseInt(_0x2be3e6(0x192))/0x5)+parseInt(_0x2be3e6(0x18c))/0x6+-parseInt(_0x2be3e6(0x194))/0x7*(-parseInt(_0x2be3e6(0x184))/0x8)+parseInt(_0x2be3e6(0x189))/0x9+-parseInt(_0x2be3e6(0x191))/0xa;if(_0x2081d7===_0x102c96)break;else _0x210694['push'](_0x210694['shift']());}catch(_0x1ea2a1){_0x210694['push'](_0x210694['shift']());}}}(a68_0x570c,0x8b3b4));function a68_0x4ae6(_0x548f5f,_0x23538d){const _0x570ca0=a68_0x570c();return a68_0x4ae6=function(_0x4ae6b6,_0x3a7254){_0x4ae6b6=_0x4ae6b6-0x177;let _0x4173eb=_0x570ca0[_0x4ae6b6];return _0x4173eb;},a68_0x4ae6(_0x548f5f,_0x23538d);}function a68_0x570c(){const _0x2fd1bf=['fromText','getImage','_listener','markerSize','dispatchEvent','load','loadIcon','889337misJNe','_imageState','206004OGxLqm','24hLxsgn','getImageState','catch','resolve','4568TWqPIw','fromUrl','4GAbqId','IDLE','error','2815776GPLFVK','LOADED','markerColor','1351086eBMumP','markerLabel','_icon','target','ERROR','2724650TxJmDZ','2448880PfySJH','warn','8939OezTYc','set','options','listenImageChange','get','then'];a68_0x570c=function(){return _0x2fd1bf;};return a68_0x570c();}import a68_0x129b3c from'./PinBuilder';import{Icon}from'ol/style';import a68_0x1a767c from'ol/ImageState';import a68_0x5191c2 from'ol/events/Event';import{shared as a68_0x48ded5}from'./ImageCache';export default class PinIcon{constructor(_0x4e98c3){const _0x1bdb26=a68_0x4ae6;this['options']=_0x4e98c3||{},this[_0x1bdb26(0x17e)]=a68_0x1a767c[_0x1bdb26(0x187)],this[_0x1bdb26(0x18e)]=a68_0x48ded5[_0x1bdb26(0x198)](this['options']),this[_0x1bdb26(0x18e)]&&(this[_0x1bdb26(0x17e)]=a68_0x1a767c[_0x1bdb26(0x18a)]);}['load'](){const _0x191390=a68_0x4ae6;try{let _0x4c611b,_0x454c4b=new a68_0x129b3c();if(this['options'][_0x191390(0x18d)])_0x4c611b=_0x454c4b[_0x191390(0x19a)](this['options'][_0x191390(0x18d)],this[_0x191390(0x196)][_0x191390(0x18b)],this[_0x191390(0x196)][_0x191390(0x179)]||0x30);else this['options']['image']&&(_0x4c611b=_0x454c4b[_0x191390(0x185)](this[_0x191390(0x196)]['image'],this[_0x191390(0x196)][_0x191390(0x18b)],this[_0x191390(0x196)][_0x191390(0x179)]||0x30));Promise[_0x191390(0x183)](_0x4c611b)[_0x191390(0x199)](_0x3f63a3=>{const _0x4bd8e5=_0x191390;this[_0x4bd8e5(0x17c)](_0x3f63a3);})[_0x191390(0x182)](_0x7e92b=>{const _0x57e945=_0x191390;console[_0x57e945(0x193)](_0x7e92b),this['_imageState']=a68_0x1a767c[_0x57e945(0x190)],this[_0x57e945(0x17a)](_0x57e945(0x188));});}catch(_0x1f9285){console[_0x191390(0x193)](_0x1f9285),this[_0x191390(0x17e)]=a68_0x1a767c['ERROR'],this['dispatchEvent'](_0x191390(0x188));}}[a68_0x2f2d96(0x17c)](_0x1ecd89){const _0x2577b8=a68_0x2f2d96;this[_0x2577b8(0x18e)]=new Icon({'src':_0x1ecd89}),a68_0x48ded5[_0x2577b8(0x195)](this[_0x2577b8(0x196)],this['_icon']);let _0x1026ac=this[_0x2577b8(0x18e)]['getImageState']();_0x1026ac===a68_0x1a767c['LOADED']||_0x1026ac===a68_0x1a767c['ERROR']?(this[_0x2577b8(0x17e)]=this['_icon']['getImageState'](),this[_0x2577b8(0x17a)](_0x2577b8(0x17b))):(_0x1026ac===a68_0x1a767c[_0x2577b8(0x187)]&&this[_0x2577b8(0x18e)][_0x2577b8(0x17b)](),this[_0x2577b8(0x18e)][_0x2577b8(0x197)](_0x4f0a9f=>{const _0x398530=_0x2577b8;_0x1026ac=_0x4f0a9f[_0x398530(0x18f)][_0x398530(0x181)](),(_0x1026ac===a68_0x1a767c[_0x398530(0x18a)]||_0x1026ac===a68_0x1a767c[_0x398530(0x190)])&&(this[_0x398530(0x17e)]=this['_icon'][_0x398530(0x181)](),this['dispatchEvent'](_0x398530(0x17b)));}));}[a68_0x2f2d96(0x181)](){return this['_imageState'];}['getImage'](){const _0xcc8bb3=a68_0x2f2d96;var _0x1ac53d;return(_0x1ac53d=this[_0xcc8bb3(0x18e)])===null||_0x1ac53d===void 0x0?void 0x0:_0x1ac53d[_0xcc8bb3(0x177)]();}[a68_0x2f2d96(0x197)](_0xc397e6){const _0x62d9c1=a68_0x2f2d96;this[_0x62d9c1(0x178)]=_0xc397e6;}[a68_0x2f2d96(0x17a)](_0x6c5dbc){const _0x4bba60=a68_0x2f2d96;if(this[_0x4bba60(0x178)]){let _0x283cd9=new a68_0x5191c2(_0x6c5dbc);_0x283cd9[_0x4bba60(0x18f)]=this,this[_0x4bba60(0x178)](_0x283cd9);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x52ac45,_0x430296){const _0x415cc7=a69_0x1a33,_0x1adcda=_0x52ac45();while(!![]){try{const _0x9ac872=-parseInt(_0x415cc7(0xb0))/0x1*(parseInt(_0x415cc7(0x89))/0x2)+-parseInt(_0x415cc7(0x8f))/0x3*(parseInt(_0x415cc7(0x96))/0x4)+-parseInt(_0x415cc7(0xa0))/0x5+-parseInt(_0x415cc7(0xa3))/0x6+-parseInt(_0x415cc7(0xbb))/0x7*(-parseInt(_0x415cc7(0x9f))/0x8)+-parseInt(_0x415cc7(0xa6))/0x9*(-parseInt(_0x415cc7(0x9c))/0xa)+parseInt(_0x415cc7(0xa5))/0xb*(parseInt(_0x415cc7(0x93))/0xc);if(_0x9ac872===_0x430296)break;else _0x1adcda['push'](_0x1adcda['shift']());}catch(_0x378336){_0x1adcda['push'](_0x1adcda['shift']());}}}(a69_0x3b97,0x85db8));function a69_0x1a33(_0x2d24ef,_0x43b95d){const _0x3b97e3=a69_0x3b97();return a69_0x1a33=function(_0x1a33a8,_0x877cf8){_0x1a33a8=_0x1a33a8-0x81;let _0x46f991=_0x3b97e3[_0x1a33a8];return _0x46f991;},a69_0x1a33(_0x2d24ef,_0x43b95d);}function measureText(_0x1df8da,_0x1e0525,_0x406cbf,_0x4225c3,_0x2a99c8){const _0x4d289d=a69_0x1a33,_0x3276cc=_0x1df8da[_0x4d289d(0xb1)](_0x1e0525),_0x275285=!/\S/[_0x4d289d(0x8e)](_0x1e0525);if(!_0x275285&&document[_0x4d289d(0xb2)]){const _0x8eeeec=document['defaultView'][_0x4d289d(0xaa)](_0x1df8da[_0x4d289d(0x8d)])[_0x4d289d(0x98)](_0x4d289d(0x84))[_0x4d289d(0x99)]('px',''),_0x1fbc70=document[_0x4d289d(0x85)]('canvas'),_0xa90b08=0x64,_0x34a717=_0x3276cc['width']+_0xa90b08|0x0,_0x31d6db=0x3*(_0x8eeeec-0x0),_0x3dc883=_0x31d6db/0x2;_0x1fbc70[_0x4d289d(0xb8)]=_0x34a717,_0x1fbc70[_0x4d289d(0xa4)]=_0x31d6db;const _0x5a1642=_0x1fbc70[_0x4d289d(0xb7)]('2d');if(!_0x5a1642)return{};_0x5a1642[_0x4d289d(0x8c)]=_0x406cbf,_0x5a1642[_0x4d289d(0xb9)]='white',_0x5a1642['fillRect'](0x0,0x0,_0x1fbc70[_0x4d289d(0xb8)]+0x1,_0x1fbc70[_0x4d289d(0xa4)]+0x1);_0x4225c3&&(_0x5a1642[_0x4d289d(0x82)]=_0x4d289d(0xbc),_0x5a1642['lineWidth']=_0x1df8da[_0x4d289d(0xa9)],_0x5a1642[_0x4d289d(0x88)](_0x1e0525,_0xa90b08/0x2,_0x3dc883));_0x2a99c8&&(_0x5a1642[_0x4d289d(0xb9)]='black',_0x5a1642[_0x4d289d(0x95)](_0x1e0525,_0xa90b08/0x2,_0x3dc883));const _0x332488=_0x5a1642[_0x4d289d(0x9b)](0x0,0x0,_0x34a717,_0x31d6db)[_0x4d289d(0xa2)],_0x29db9e=_0x332488[_0x4d289d(0xba)],_0x484ba9=_0x34a717*0x4;let _0x4f2021,_0xcda4f7,_0x1b1d5f=0x0,_0x443b96=0x0;for(_0x4f2021=0x0;_0x4f2021<_0x29db9e;++_0x4f2021){if(_0x332488[_0x4f2021]!==0xff){_0x1b1d5f=_0x4f2021/_0x484ba9|0x0;break;}}for(_0x4f2021=_0x29db9e-0x1;_0x4f2021>=0x0;--_0x4f2021){if(_0x332488[_0x4f2021]!==0xff){_0x443b96=_0x4f2021/_0x484ba9|0x0;break;}}let _0x2ebbff=-0x1;for(_0x4f2021=0x0;_0x4f2021<_0x34a717&&_0x2ebbff===-0x1;++_0x4f2021){for(_0xcda4f7=0x0;_0xcda4f7<_0x31d6db;++_0xcda4f7){const _0x5ab165=_0x4f2021*0x4+_0xcda4f7*_0x484ba9;if(_0x332488[_0x5ab165]!==0xff||_0x332488[_0x5ab165+0x1]!==0xff||_0x332488[_0x5ab165+0x2]!==0xff||_0x332488[_0x5ab165+0x3]!==0xff){_0x2ebbff=_0x4f2021;break;}}}return{'width':_0x3276cc['width'],'height':_0x443b96-_0x1b1d5f,'ascent':_0x3dc883-_0x1b1d5f,'descent':_0x443b96-_0x3dc883,'minx':_0x2ebbff-_0xa90b08/0x2};}return{'width':_0x3276cc[_0x4d289d(0xb8)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}function a69_0x3b97(){const _0x298a3d=['10px\x20sans-serif','minx','lineWidth','getComputedStyle','appendChild','ascent','#00000000','fillRect','backgroundColor','446389QUZWME','measureText','defaultView','webkitImageSmoothingEnabled','stroke','body','imageSmoothingEnabled','getContext','width','fillStyle','length','7121821AEqcaa','black','strokeWidth','strokeStyle','#000000','font-size','createElement','visibility','mozImageSmoothingEnabled','strokeText','2JbFAIT','fillColor','strokeColor','font','canvas','test','116979scdLjw','lineJoin','text\x20is\x20required.','style','735252tNMyZq','fill','fillText','92ZQLFnB','#FFFFFF','getPropertyValue','replace','round','getImageData','142420YPdhQO','removeChild','msImageSmoothingEnabled','8svjZyO','2530320uSrYDw','hidden','data','1027080oJKYBI','height','143TvBPzD','477AmSyLF'];a69_0x3b97=function(){return _0x298a3d;};return a69_0x3b97();}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x57e27a,_0x319e95){const _0x40b2a3=a69_0x1a33;if(!_0x57e27a)throw new Error(_0x40b2a3(0x91));if(_0x57e27a==='')return undefined;_0x319e95=defaultValue(_0x319e95,{});const _0x201a0e=defaultValue(_0x319e95[_0x40b2a3(0x8c)],_0x40b2a3(0xa7)),_0x3898f1=defaultValue(_0x319e95[_0x40b2a3(0xb4)],![]),_0x43965a=defaultValue(_0x319e95[_0x40b2a3(0x94)],!![]),_0x2f4b5f=defaultValue(_0x319e95[_0x40b2a3(0x81)],0x1),_0x143ce0=defaultValue(_0x319e95[_0x40b2a3(0xaf)],_0x40b2a3(0xad)),_0x2afd2c=defaultValue(_0x319e95['padding'],0x0),_0x2d02e1=_0x2afd2c*0x2,_0x4286bd=document['createElement'](_0x40b2a3(0x8d));_0x4286bd[_0x40b2a3(0xb8)]=0x1,_0x4286bd[_0x40b2a3(0xa4)]=0x1,_0x4286bd[_0x40b2a3(0x92)][_0x40b2a3(0x8c)]=_0x201a0e;const _0x1d9264=_0x4286bd[_0x40b2a3(0xb7)]('2d');if(!imageSmoothingEnabledName&&_0x1d9264){if(_0x1d9264[_0x40b2a3(0xb6)])imageSmoothingEnabledName=_0x40b2a3(0xb6);else{if(_0x1d9264[_0x40b2a3(0x87)])imageSmoothingEnabledName=_0x40b2a3(0x87);else{if(_0x1d9264[_0x40b2a3(0xb3)])imageSmoothingEnabledName=_0x40b2a3(0xb3);else _0x1d9264['msImageSmoothingEnabled']&&(imageSmoothingEnabledName=_0x40b2a3(0x9e));}}}_0x1d9264[_0x40b2a3(0x8c)]=_0x201a0e,_0x1d9264[_0x40b2a3(0x90)]=_0x40b2a3(0x9a),_0x1d9264[_0x40b2a3(0xa9)]=_0x2f4b5f,_0x1d9264[imageSmoothingEnabledName]=![],_0x4286bd[_0x40b2a3(0x92)][_0x40b2a3(0x86)]=_0x40b2a3(0xa1),document['body'][_0x40b2a3(0xab)](_0x4286bd);const _0x84df86=measureText(_0x1d9264,_0x57e27a,_0x201a0e,_0x3898f1,_0x43965a);if(!_0x84df86)return;_0x4286bd['dimensions']=_0x84df86,document[_0x40b2a3(0xb5)][_0x40b2a3(0x9d)](_0x4286bd),_0x4286bd[_0x40b2a3(0x92)][_0x40b2a3(0x86)]='';const _0x2738ed=-(_0x84df86['minx']?_0x84df86[_0x40b2a3(0xa8)]:0x0),_0xc3af9f=Math['ceil'](_0x84df86['width'])+_0x2738ed+_0x2d02e1,_0xcc0c96=(_0x84df86['height']?_0x84df86[_0x40b2a3(0xa4)]:0x0)+_0x2d02e1,_0x5e2fe1=_0xcc0c96-(_0x84df86[_0x40b2a3(0xac)]?_0x84df86[_0x40b2a3(0xac)]:0x0)+_0x2afd2c,_0xda98b=_0xcc0c96-_0x5e2fe1+_0x2d02e1;return _0x4286bd['width']=_0xc3af9f,_0x4286bd[_0x40b2a3(0xa4)]=_0xcc0c96,_0x1d9264[_0x40b2a3(0x8c)]=_0x201a0e,_0x1d9264[_0x40b2a3(0x90)]=_0x40b2a3(0x9a),_0x1d9264['lineWidth']=_0x2f4b5f,_0x1d9264[imageSmoothingEnabledName]=![],_0x143ce0!=='#00000000'&&(_0x1d9264[_0x40b2a3(0xb9)]=_0x143ce0,_0x1d9264[_0x40b2a3(0xae)](0x0,0x0,_0x4286bd[_0x40b2a3(0xb8)],_0x4286bd[_0x40b2a3(0xa4)])),_0x3898f1&&(_0x1d9264[_0x40b2a3(0x82)]=defaultValue(_0x319e95[_0x40b2a3(0x8b)],_0x40b2a3(0x83)),_0x1d9264[_0x40b2a3(0x88)](_0x57e27a,_0x2738ed+_0x2afd2c,_0xda98b)),_0x43965a&&(_0x1d9264[_0x40b2a3(0xb9)]=defaultValue(_0x319e95[_0x40b2a3(0x8a)],_0x40b2a3(0x97)),_0x1d9264[_0x40b2a3(0x95)](_0x57e27a,_0x2738ed+_0x2afd2c,_0xda98b)),_0x4286bd;}function defaultValue(_0xdd6c78,_0x3ff293){if(_0xdd6c78!==undefined&&_0xdd6c78!==null)return _0xdd6c78;return _0x3ff293;}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x589c8d=a74_0x1c65;(function(_0x16c12b,_0xad87f4){const _0x95453b=a74_0x1c65,_0x1344ee=_0x16c12b();while(!![]){try{const _0x368106=-parseInt(_0x95453b(0x183))/0x1+parseInt(_0x95453b(0x179))/0x2*(-parseInt(_0x95453b(0x175))/0x3)+parseInt(_0x95453b(0x16e))/0x4+parseInt(_0x95453b(0x18d))/0x5*(parseInt(_0x95453b(0x182))/0x6)+parseInt(_0x95453b(0x16d))/0x7*(-parseInt(_0x95453b(0x181))/0x8)+-parseInt(_0x95453b(0x16f))/0x9+parseInt(_0x95453b(0x17a))/0xa;if(_0x368106===_0xad87f4)break;else _0x1344ee['push'](_0x1344ee['shift']());}catch(_0x3dc1d9){_0x1344ee['push'](_0x1344ee['shift']());}}}(a74_0x3dbd,0x8c466));import a74_0x145f25 from'ol/format/EsriJSON';import a74_0x823d54 from'ol/format/GeoJSON';function a74_0x3dbd(){const _0x1ed245=['1299FXRSJh','request','identify','imageDisplay','4362NQSTMA','16651680dIZESP','calculateExtent','layers','path','params','getProjection','run','802856wAmCXa','12618cvUqtz','921192crTONv','tolerance','getSize','all','geometry','writeGeometryObject','getResolution','returnGeometry','_setGeometryParams','inSR','1150uBCHkq','valueOf','url','time','geojsonTypeToArcGIS','returnM','14bPnlzp','4066132tBbzbd','4720914stbONa','getView','resolution','layerDefs','getCode','returnZ'];a74_0x3dbd=function(){return _0x1ed245;};return a74_0x3dbd();}import{getPointResolution}from'ol/proj';function a74_0x1c65(_0x22a340,_0x2a1ff0){const _0x3dbdc9=a74_0x3dbd();return a74_0x1c65=function(_0x1c65c3,_0x1e4a20){_0x1c65c3=_0x1c65c3-0x16a;let _0x118110=_0x3dbdc9[_0x1c65c3];return _0x118110;},a74_0x1c65(_0x22a340,_0x2a1ff0);}import a74_0x5b2031 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a74_0x5b2031{constructor(_0x2c1f7e,_0x48064d,_0x188eea){const _0x5578fd=a74_0x1c65;super(_0x2c1f7e,_0x48064d,_0x188eea),this['path']=_0x5578fd(0x177),this[_0x5578fd(0x17e)]={'layers':_0x5578fd(0x186),'tolerance':0x0,'returnGeometry':!![]},this[_0x5578fd(0x184)]=0x3,this[_0x5578fd(0x171)]=0x0,this[_0x5578fd(0x18f)]=appendPath(this[_0x5578fd(0x18f)],this[_0x5578fd(0x17d)]),_0x48064d&&((_0x48064d['returnGeometry']===!![]||_0x48064d[_0x5578fd(0x18a)]===![])&&(this['params']['returnGeometry']=_0x48064d[_0x5578fd(0x18a)]),_0x48064d[_0x5578fd(0x17c)]&&(this[_0x5578fd(0x17e)][_0x5578fd(0x17c)]=_0x48064d[_0x5578fd(0x17c)]),_0x48064d[_0x5578fd(0x172)]&&(this[_0x5578fd(0x17e)]['layerDefs']=_0x48064d[_0x5578fd(0x172)]),(_0x48064d['returnZ']===!![]||_0x48064d[_0x5578fd(0x174)]===![])&&(this[_0x5578fd(0x17e)][_0x5578fd(0x174)]=_0x48064d['returnZ']),(_0x48064d[_0x5578fd(0x16c)]===!![]||_0x48064d[_0x5578fd(0x16c)]===![])&&(this['params']['returnM']=_0x48064d[_0x5578fd(0x16c)]));}['at'](_0x75eed9,_0x237a61){const _0x5d06df=a74_0x1c65;let _0xfbe6f0,_0x34fd1a;const _0x53408d=new a74_0x823d54();_0xfbe6f0=_0x75eed9,_0x34fd1a=getEsriSpatialReference(_0x237a61['getView']()[_0x5d06df(0x17f)]()[_0x5d06df(0x173)]());const _0x50011e=_0x237a61[_0x5d06df(0x185)]();_0x50011e&&(this[_0x5d06df(0x17e)][_0x5d06df(0x178)]=[_0x50011e[0x0],_0x50011e[0x1],0x60]);this['params']['sr']=_0x34fd1a;const _0x45dda5=_0x237a61['getView']()[_0x5d06df(0x17b)](_0x237a61['getSize']());this[_0x5d06df(0x17e)]['mapExtent']={'xmin':_0x45dda5[0x0],'ymin':_0x45dda5[0x1],'xmax':_0x45dda5[0x2],'ymax':_0x45dda5[0x3],'spatialReference':_0x34fd1a};const _0x27902b=_0x237a61[_0x5d06df(0x170)]()[_0x5d06df(0x189)](),_0x364d2a=_0x237a61['getView']()['getCenter']();return _0x27902b&&_0x364d2a&&(this[_0x5d06df(0x171)]=getPointResolution(_0x237a61[_0x5d06df(0x170)]()[_0x5d06df(0x17f)](),_0x27902b,_0x364d2a)),this[_0x5d06df(0x18b)](_0xfbe6f0,_0x237a61[_0x5d06df(0x170)]()['getProjection']()[_0x5d06df(0x173)]()),this;}['between'](_0x18de20,_0x36f331){const _0x55cee7=a74_0x1c65;return this['params'][_0x55cee7(0x16a)]=[_0x18de20['valueOf'](),_0x36f331[_0x55cee7(0x18e)]()],this;}[a74_0x589c8d(0x180)](){const _0x3c4185=a74_0x589c8d;this[_0x3c4185(0x176)]();}[a74_0x589c8d(0x18b)](_0xfd8aea,_0x4219af){const _0x15eb9e=a74_0x589c8d;var _0x5160c7=new a74_0x145f25();const _0x316510=_0x5160c7[_0x15eb9e(0x188)](_0xfd8aea);this[_0x15eb9e(0x17e)][_0x15eb9e(0x18c)]=getEsriSpatialReference(_0x4219af),this[_0x15eb9e(0x17e)][_0x15eb9e(0x187)]=_0x316510,this[_0x15eb9e(0x17e)]['geometryType']=this[_0x15eb9e(0x16b)](_0xfd8aea['getType']());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75_0x3d419e=a75_0x5e58;(function(_0x36dac0,_0x47aa0d){const _0x2d032a=a75_0x5e58,_0x4a660b=_0x36dac0();while(!![]){try{const _0x5c58f7=parseInt(_0x2d032a(0x20e))/0x1+parseInt(_0x2d032a(0x229))/0x2*(-parseInt(_0x2d032a(0x21a))/0x3)+parseInt(_0x2d032a(0x22d))/0x4+parseInt(_0x2d032a(0x205))/0x5*(-parseInt(_0x2d032a(0x23a))/0x6)+-parseInt(_0x2d032a(0x211))/0x7*(parseInt(_0x2d032a(0x207))/0x8)+-parseInt(_0x2d032a(0x234))/0x9*(-parseInt(_0x2d032a(0x1f2))/0xa)+parseInt(_0x2d032a(0x21c))/0xb*(parseInt(_0x2d032a(0x213))/0xc);if(_0x5c58f7===_0x47aa0d)break;else _0x4a660b['push'](_0x4a660b['shift']());}catch(_0xa91f04){_0x4a660b['push'](_0x4a660b['shift']());}}}(a75_0x31d9,0x32b79));function a75_0x5e58(_0x28e2ba,_0x29bb23){const _0x31d9d3=a75_0x31d9();return a75_0x5e58=function(_0x5e5888,_0x3f76aa){_0x5e5888=_0x5e5888-0x1f2;let _0x538b3a=_0x31d9d3[_0x5e5888];return _0x538b3a;},a75_0x5e58(_0x28e2ba,_0x29bb23);}import a75_0x52382f from'ol/format/EsriJSON';import a75_0xa32a3d from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';function a75_0x31d9(){const _0x1c3e5c=['path','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','returnCountOnly','geometry','count','No\x20features\x20found','overlaps','esriSpatialRelWithin','1968HedTmY','request','geojsonTypeToArcGIS','returnGeometry','704516zJwcZK','ids','forEach','simplify','maxAllowableOffset','inSR','returnDistinctValues','18CKjBOs','returnZ','distinct','esriSpatialRelContains','push','time','12ZbNPWC','warn','1854460FzQufR','join','400','features','_trapSQLerrors','length','returnIdsOnly','getSize','data','getTime','code','contains','valueOf','/query','touches','indexIntersects','where','url','catch','645445lsnzDB','units','405184jHmiFx','crosses','between','esriSRUnit_Meter','outSR','apply','params','178254gTTirz','query','esriSpatialRelIntersects','14kQVyGU','returnM','44136ljYTEB','within','esriSpatialRelTouches','_setGeometryParams','getType','ASC','bboxIntersects','1065aCNSyg','intersects','572SYTqZb','writeGeometryObject','spatialRel','orderByFields','_cleanParams'];a75_0x31d9=function(){return _0x1c3e5c;};return a75_0x31d9();}import{appendPath}from'../../UrlUtil';export default class Query extends a75_0xa32a3d{constructor(_0x5b97e8,_0x13bc62,_0x7ba217){const _0x257589=a75_0x5e58;super(_0x5b97e8,_0x13bc62,_0x7ba217),this[_0x257589(0x221)]=_0x257589(0x20f),this[_0x257589(0x20d)]={'returnGeometry':!![],'where':'1=1','outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x257589(0x1fb)]()},this[_0x257589(0x203)]=appendPath(this['url'],this['path']),_0x13bc62&&((_0x13bc62[_0x257589(0x22c)]===!![]||_0x13bc62[_0x257589(0x22c)]===![])&&(this[_0x257589(0x20d)][_0x257589(0x22c)]=_0x13bc62[_0x257589(0x22c)]),_0x13bc62[_0x257589(0x202)]&&(this[_0x257589(0x20d)][_0x257589(0x202)]=_0x13bc62['where']),_0x13bc62[_0x257589(0x20b)]&&(this['params']['outSR']=getEsriSpatialReference(_0x13bc62[_0x257589(0x20b)])),(_0x13bc62[_0x257589(0x235)]===!![]||_0x13bc62[_0x257589(0x235)]===![])&&(this[_0x257589(0x20d)][_0x257589(0x235)]=_0x13bc62['returnZ']),(_0x13bc62[_0x257589(0x212)]===!![]||_0x13bc62['returnM']===![])&&(this[_0x257589(0x20d)]['returnM']=_0x13bc62['returnM']));}[a75_0x3d419e(0x214)](_0x57e811,_0x46ea13){const _0x439db3=a75_0x3d419e;return this[_0x439db3(0x216)](_0x57e811,_0x46ea13),this[_0x439db3(0x20d)][_0x439db3(0x21e)]=_0x439db3(0x237),this;}[a75_0x3d419e(0x21b)](_0x3ab073,_0x59c3d9){const _0x130f86=a75_0x3d419e;return this['_setGeometryParams'](_0x3ab073,_0x59c3d9),this[_0x130f86(0x20d)][_0x130f86(0x21e)]='esriSpatialRelIntersects',this;}[a75_0x3d419e(0x1fd)](_0x118cd6,_0x47a196){const _0x4a02e9=a75_0x3d419e;return this[_0x4a02e9(0x216)](_0x118cd6,_0x47a196),this['params']['spatialRel']=_0x4a02e9(0x228),this;}[a75_0x3d419e(0x208)](_0x1e3255,_0x233f84){const _0x375ec9=a75_0x3d419e;return this[_0x375ec9(0x216)](_0x1e3255,_0x233f84),this[_0x375ec9(0x20d)][_0x375ec9(0x21e)]='esriSpatialRelCrosses',this;}[a75_0x3d419e(0x200)](_0x536a48,_0x3b7788){const _0x3fc998=a75_0x3d419e;return this[_0x3fc998(0x216)](_0x536a48,_0x3b7788),this[_0x3fc998(0x20d)][_0x3fc998(0x21e)]=_0x3fc998(0x215),this;}[a75_0x3d419e(0x227)](_0x3a45cd,_0xb0ca0){const _0x112b81=a75_0x3d419e;return this['_setGeometryParams'](_0x3a45cd,_0xb0ca0),this[_0x112b81(0x20d)][_0x112b81(0x21e)]='esriSpatialRelOverlaps',this;}[a75_0x3d419e(0x219)](_0x1470a3,_0x221b73){const _0x3ae0f3=a75_0x3d419e;return this[_0x3ae0f3(0x216)](_0x1470a3,_0x221b73),this[_0x3ae0f3(0x20d)][_0x3ae0f3(0x21e)]='esriSpatialRelEnvelopeIntersects',this;}[a75_0x3d419e(0x201)](_0x468cc7,_0x3c8b1e){const _0x92c88c=a75_0x3d419e;return this[_0x92c88c(0x216)](_0x468cc7,_0x3c8b1e),this[_0x92c88c(0x20d)][_0x92c88c(0x21e)]='esriSpatialRelIndexIntersects',this;}['nearby'](_0xf615cd,_0xf6d3a6,_0x5d1c27){const _0x352e36=a75_0x3d419e;return this['_setGeometryParams'](_0xf615cd,_0xf6d3a6),this[_0x352e36(0x20d)][_0x352e36(0x21e)]=_0x352e36(0x210),this[_0x352e36(0x20d)][_0x352e36(0x206)]=_0x352e36(0x20a),this[_0x352e36(0x20d)]['distance']=_0x5d1c27,this;}[a75_0x3d419e(0x202)](_0x19af3e){const _0x46a026=a75_0x3d419e;return this[_0x46a026(0x20d)]['where']=_0x19af3e,this;}[a75_0x3d419e(0x209)](_0x4f8264,_0x14a7df){const _0x2e1a92=a75_0x3d419e;return this['params'][_0x2e1a92(0x239)]=[_0x4f8264['valueOf'](),_0x14a7df[_0x2e1a92(0x1fe)]()],this;}[a75_0x3d419e(0x230)](_0x24869f,_0x239289){const _0x504406=a75_0x3d419e,_0x5850d0=_0x24869f['getExtent']();var _0x4d407e=Math['abs'](_0x5850d0[0x2]-_0x5850d0[0x0]);const _0x5edd63=_0x24869f[_0x504406(0x1f9)]();if(_0x5edd63)return this[_0x504406(0x20d)][_0x504406(0x231)]=_0x4d407e/_0x5edd63[0x1]*_0x239289,this;}['orderBy'](_0x280c62,_0xf2bb69){const _0xd580ce=a75_0x3d419e;return _0xf2bb69=_0xf2bb69||_0xd580ce(0x218),this[_0xd580ce(0x20d)][_0xd580ce(0x21f)]=this[_0xd580ce(0x20d)][_0xd580ce(0x21f)]?this[_0xd580ce(0x20d)][_0xd580ce(0x21f)]+',':'',this[_0xd580ce(0x20d)][_0xd580ce(0x21f)]+=[_0x280c62,_0xf2bb69][_0xd580ce(0x1f3)]('\x20'),this;}async['run'](){const _0x166129=a75_0x3d419e;this['_cleanParams']();const _0x2d2e0b=await this[_0x166129(0x22a)]()[_0x166129(0x204)](_0x5c8a33=>{throw new Error(_0x5c8a33);});if(_0x2d2e0b['status']!==0xc8)throw new Error(_0x166129(0x226));if(_0x2d2e0b[_0x166129(0x1fa)]&&_0x2d2e0b['data'][_0x166129(0x1f5)]&&_0x2d2e0b[_0x166129(0x1fa)][_0x166129(0x1f5)][_0x166129(0x1f7)]>0x0){var _0x20dcf6=new a75_0x52382f();let _0x2b8700=[];return _0x2d2e0b['data'][_0x166129(0x1f5)][_0x166129(0x22f)](_0x47dba9=>{const _0x22da0c=_0x166129,_0x4524c1=_0x20dcf6['readFeature'](_0x47dba9);_0x2b8700[_0x22da0c(0x238)](_0x4524c1);}),_0x2b8700;}return[];}[a75_0x3d419e(0x225)](){const _0x395e3f=a75_0x3d419e;this['_cleanParams'](),this[_0x395e3f(0x20d)][_0x395e3f(0x223)]=!![],this[_0x395e3f(0x22a)]();}[a75_0x3d419e(0x22e)](){const _0x199dc2=a75_0x3d419e;this[_0x199dc2(0x220)](),this[_0x199dc2(0x20d)][_0x199dc2(0x1f8)]=!![],this['request']();}[a75_0x3d419e(0x236)](){const _0x499a84=a75_0x3d419e;return this[_0x499a84(0x20d)][_0x499a84(0x22c)]=![],this[_0x499a84(0x20d)][_0x499a84(0x233)]=!![],this;}['layer'](_0x5eac07){const _0x5266d6=a75_0x3d419e;return this[_0x5266d6(0x221)]=_0x5eac07+_0x5266d6(0x1ff),this;}[a75_0x3d419e(0x1f6)](_0x448a99){const _0x7678cd=a75_0x3d419e;_0x448a99&&(_0x448a99[_0x7678cd(0x1fc)]===_0x7678cd(0x1f4)&&console[_0x7678cd(0x23b)][_0x7678cd(0x20c)](_0x7678cd(0x222)));}['_cleanParams'](){const _0x245bb7=a75_0x3d419e;delete this[_0x245bb7(0x20d)]['returnIdsOnly'],delete this[_0x245bb7(0x20d)]['returnExtentOnly'],delete this['params'][_0x245bb7(0x223)];}[a75_0x3d419e(0x216)](_0x34fb6f,_0x529d4a){const _0xa6cab2=a75_0x3d419e;var _0x15e00a=new a75_0x52382f();const _0xffc808=_0x15e00a[_0xa6cab2(0x21d)](_0x34fb6f);this[_0xa6cab2(0x20d)][_0xa6cab2(0x232)]=getEsriSpatialReference(_0x529d4a),this[_0xa6cab2(0x20d)][_0xa6cab2(0x224)]=_0xffc808,this[_0xa6cab2(0x20d)]['geometryType']=this[_0xa6cab2(0x22b)](_0x34fb6f[_0xa6cab2(0x217)]());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a76_0xbfaab0=a76_0xa3a2;function a76_0x4b8b(){var _0x17b2b0=['indexOf','method','format','geojsonTypeToArcGIS','post','url','14068nglAVK','isArcgisOnline','MultiPolygon','get','hasOwnProperty','toString','esriGeometryPoint','esriGeometryPolyline','test','4214024wyYSvo','403596ohNsbg','Polygon','GET','valueOf','349874SHIQfv','prototype','call','esriGeometryPolygon','[object\x20Array]','params','MultiLineString','stringify','2737440xlglPG','3430410QkNaNb','LineString','27YOCwOF','serialize','Point','json','127366PpOubg','esriGeometryMultipoint','MultiPoint','join'];a76_0x4b8b=function(){return _0x17b2b0;};return a76_0x4b8b();}(function(_0x15e5a0,_0xef2277){var _0x58a1df=a76_0xa3a2,_0xe7dbff=_0x15e5a0();while(!![]){try{var _0x567c95=parseInt(_0x58a1df(0x1f7))/0x1+-parseInt(_0x58a1df(0x20b))/0x2+parseInt(_0x58a1df(0x1f3))/0x3*(-parseInt(_0x58a1df(0x201))/0x4)+parseInt(_0x58a1df(0x1f0))/0x5+-parseInt(_0x58a1df(0x1f1))/0x6+parseInt(_0x58a1df(0x20f))/0x7+parseInt(_0x58a1df(0x20a))/0x8;if(_0x567c95===_0xef2277)break;else _0xe7dbff['push'](_0xe7dbff['shift']());}catch(_0x476934){_0xe7dbff['push'](_0xe7dbff['shift']());}}}(a76_0x4b8b,0x6cfc3));import a76_0x2c1141 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';function a76_0xa3a2(_0x57ec1e,_0x53ab66){var _0x4b8b52=a76_0x4b8b();return a76_0xa3a2=function(_0xa3a2a4,_0x281d35){_0xa3a2a4=_0xa3a2a4-0x1ee;var _0x12739e=_0x4b8b52[_0xa3a2a4];return _0x12739e;},a76_0xa3a2(_0x57ec1e,_0x53ab66);}export default class Task{constructor(_0x2ff799,_0x177414,_0xe28877){var _0x49a398=a76_0xa3a2;this[_0x49a398(0x200)]=_0x2ff799,this[_0x49a398(0x214)]=_0x177414||{},this[_0x49a398(0x1fc)]=!_0xe28877?_0x49a398(0x20d):_0xe28877;}[a76_0xbfaab0(0x1fe)](_0x3c419e){var _0x2eedc4=a76_0xbfaab0,_0x4ac10d;switch(_0x3c419e){case _0x2eedc4(0x1f5):_0x4ac10d=_0x2eedc4(0x207);break;case _0x2eedc4(0x1f9):_0x4ac10d=_0x2eedc4(0x1f8);break;case _0x2eedc4(0x1f2):_0x4ac10d=_0x2eedc4(0x208);break;case _0x2eedc4(0x1ee):_0x4ac10d=_0x2eedc4(0x208);break;case _0x2eedc4(0x20c):_0x4ac10d=_0x2eedc4(0x212);break;case _0x2eedc4(0x203):_0x4ac10d=_0x2eedc4(0x212);break;}return _0x4ac10d;}[a76_0xbfaab0(0x202)](_0xcf6fc8){var _0x1a9ad3=a76_0xbfaab0;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x1a9ad3(0x209)](_0xcf6fc8);}[a76_0xbfaab0(0x1f4)](_0x591925){var _0x34b22d=a76_0xbfaab0,_0x592fb8='';_0x591925['f']=_0x591925['f']||_0x34b22d(0x1f6);for(var _0x38aad0 in _0x591925){if(Object[_0x34b22d(0x210)][_0x34b22d(0x205)][_0x34b22d(0x211)](_0x591925,_0x38aad0)){var _0x188bfd=_0x591925[_0x38aad0],_0x2cc353=Object[_0x34b22d(0x210)][_0x34b22d(0x206)][_0x34b22d(0x211)](_0x188bfd),_0x226731;_0x592fb8['length']&&(_0x592fb8+='&');if(_0x2cc353===_0x34b22d(0x213))_0x226731=Object[_0x34b22d(0x210)][_0x34b22d(0x206)]['call'](_0x188bfd[0x0])==='[object\x20Object]'?JSON[_0x34b22d(0x1ef)](_0x188bfd):_0x188bfd[_0x34b22d(0x1fa)](',');else{if(_0x2cc353==='[object\x20Object]')_0x226731=JSON['stringify'](_0x188bfd);else _0x2cc353==='[object\x20Date]'?_0x226731=_0x188bfd[_0x34b22d(0x20e)]():_0x226731=_0x188bfd;}_0x592fb8+=encodeURIComponent(_0x38aad0)+'='+encodeURIComponent(_0x226731);}}return _0x592fb8;}[a76_0xbfaab0(0x1fd)](_0x4fec35){var _0x16079b=a76_0xbfaab0;return this[_0x16079b(0x214)]['returnUnformattedValues']=!_0x4fec35,this;}async['request'](){var _0x4554e7=a76_0xbfaab0,_0x282160=this[_0x4554e7(0x1f4)](this[_0x4554e7(0x214)]);const _0x1dc7bd=this[_0x4554e7(0x200)][_0x4554e7(0x1fb)]('?')>-0x1?this[_0x4554e7(0x200)]+'&'+_0x282160:this[_0x4554e7(0x200)]+'?'+_0x282160;if(this[_0x4554e7(0x1fc)]===_0x4554e7(0x20d))return a76_0x2c1141[_0x4554e7(0x204)](_0x1dc7bd);else{if(this[_0x4554e7(0x1fc)]==='JSONP')return jsonp(_0x1dc7bd);else{const _0x7ee82f=stringify(this[_0x4554e7(0x214)]);return a76_0x2c1141[_0x4554e7(0x1ff)](this[_0x4554e7(0x200)],_0x7ee82f);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a78_0x6309(){const _0x2b6a8d=['stringify','then','catch','map','_geoserverQuery','srsName\x20is\x20required','geometry','error','120774PEEdcT','287HmtQzn','geometryName','serializeToString','where','execute','13779153JqmzKZ','2413882Kjijxq','url','srsName','POST','features','165vZCZqJ','writeGetFeature','885471zyZNdC','282304uQfyOE','readFeature','json','application/json','181452tzJqvl','1067685TnDacv','queryParameters','the_geom','read','tableName'];a78_0x6309=function(){return _0x2b6a8d;};return a78_0x6309();}const a78_0xd02e2=a78_0x5307;(function(_0x18640f,_0x5415fb){const _0x2f2ea0=a78_0x5307,_0x34b486=_0x18640f();while(!![]){try{const _0x56371f=-parseInt(_0x2f2ea0(0x110))/0x1+parseInt(_0x2f2ea0(0x109))/0x2+-parseInt(_0x2f2ea0(0x116))/0x3+parseInt(_0x2f2ea0(0x115))/0x4*(-parseInt(_0x2f2ea0(0x10e))/0x5)+parseInt(_0x2f2ea0(0x102))/0x6*(parseInt(_0x2f2ea0(0x103))/0x7)+-parseInt(_0x2f2ea0(0x111))/0x8+parseInt(_0x2f2ea0(0x108))/0x9;if(_0x56371f===_0x5415fb)break;else _0x34b486['push'](_0x34b486['shift']());}catch(_0x22b15d){_0x34b486['push'](_0x34b486['shift']());}}}(a78_0x6309,0xc0c6e));import{and,intersects}from'ol/format/filter';function a78_0x5307(_0x5a3fb7,_0x2613f9){const _0x630920=a78_0x6309();return a78_0x5307=function(_0x5307ce,_0x41cbc9){_0x5307ce=_0x5307ce-0xfa;let _0xb3de63=_0x630920[_0x5307ce];return _0xb3de63;},a78_0x5307(_0x5a3fb7,_0x2613f9);}import a78_0x3dc9ac from'../../format/CQL';import a78_0x57cefb from'ol/format/WFS';import a78_0xbbfff9 from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x27a985){const _0x39e508=a78_0x5307;this[_0x39e508(0x117)]={},this[_0x39e508(0x10a)]=_0x27a985;}async[a78_0xd02e2(0x107)](_0x19aa48){const _0x4dc4b9=a78_0xd02e2;this['queryParameters']=_0x19aa48||{};const _0x22c729=this[_0x4dc4b9(0x117)][_0x4dc4b9(0x104)]||'the_geom';let _0x380a75=this['queryParameters']['where'],_0x2e5cea;_0x380a75&&(_0x2e5cea=new a78_0x3dc9ac()[_0x4dc4b9(0x119)](_0x380a75));let _0x17db79=_0x2e5cea;if(this[_0x4dc4b9(0x117)][_0x4dc4b9(0x100)]){if(!this['queryParameters'][_0x4dc4b9(0x10b)])throw new Error(_0x4dc4b9(0xff));const _0x1e77ab=intersects(_0x22c729,this[_0x4dc4b9(0x117)][_0x4dc4b9(0x100)]);_0x17db79=_0x2e5cea?and(_0x2e5cea,_0x1e77ab):_0x1e77ab;}let _0xf23f33=new a78_0x57cefb()[_0x4dc4b9(0x10f)]({'srsName':this[_0x4dc4b9(0x117)][_0x4dc4b9(0x10b)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x4dc4b9(0x117)][_0x4dc4b9(0x11a)]],'outputFormat':_0x4dc4b9(0x114),'geometryName':_0x22c729,'filter':_0x17db79});const _0x287f78=await fetch(this[_0x4dc4b9(0x10a)],{'method':_0x4dc4b9(0x10c),'body':new XMLSerializer()[_0x4dc4b9(0x105)](_0xf23f33)}),_0x18a87a=await _0x287f78[_0x4dc4b9(0x113)]();let _0x2b4665=[];const _0x2f6e94=new a78_0xbbfff9();return _0x2b4665=_0x18a87a[_0x4dc4b9(0x10d)][_0x4dc4b9(0xfd)](_0x57547b=>{const _0x239bad=_0x4dc4b9;return _0x2f6e94[_0x239bad(0x112)](JSON[_0x239bad(0xfa)](_0x57547b));}),_0x2b4665;}[a78_0xd02e2(0xfe)](){const _0x52c752=a78_0xd02e2,_0x55e8ff=this[_0x52c752(0x117)]['geometryName']||_0x52c752(0x118);let _0x2478c1=this[_0x52c752(0x117)][_0x52c752(0x106)],_0x59f945;_0x2478c1&&(_0x59f945=new a78_0x3dc9ac()[_0x52c752(0x119)](_0x2478c1));let _0x503586=_0x59f945;if(this[_0x52c752(0x117)][_0x52c752(0x100)]){const _0x10edbf=intersects(_0x55e8ff,this[_0x52c752(0x117)][_0x52c752(0x100)]);_0x503586=_0x59f945?and(_0x59f945,_0x10edbf):_0x10edbf;}let _0x4a9264=new a78_0x57cefb()['writeGetFeature']({'srsName':this[_0x52c752(0x117)][_0x52c752(0x10b)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x52c752(0x117)][_0x52c752(0x11a)]],'outputFormat':_0x52c752(0x114),'geometryName':_0x55e8ff,'filter':_0x503586});return new Promise(_0x901058=>{const _0x380aad=_0x52c752;fetch(this[_0x380aad(0x10a)],{'method':_0x380aad(0x10c),'body':new XMLSerializer()[_0x380aad(0x105)](_0x4a9264)})[_0x380aad(0xfb)](_0x392336=>{const _0x312cab=_0x380aad;return _0x392336[_0x312cab(0x113)]();})['then'](_0x419d77=>{const _0x4a4516=_0x380aad;let _0x1103c7=[];const _0x517c26=new a78_0xbbfff9();_0x1103c7=_0x419d77[_0x4a4516(0x10d)][_0x4a4516(0xfd)](_0x2d4da5=>{const _0x2b1c25=_0x4a4516;return _0x517c26[_0x2b1c25(0x112)](JSON[_0x2b1c25(0xfa)](_0x2d4da5));}),_0x901058(_0x1103c7);})[_0x380aad(0xfc)](_0x25b081=>{const _0x3da0c5=_0x380aad;_0x901058([]),console[_0x3da0c5(0x101)](_0x25b081);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5f0dd2,_0x7850a9){const _0x3f03b2=a79_0x1384,_0x30aa85=_0x5f0dd2();while(!![]){try{const _0x43845f=-parseInt(_0x3f03b2(0xf9))/0x1*(-parseInt(_0x3f03b2(0xf6))/0x2)+-parseInt(_0x3f03b2(0xf7))/0x3*(parseInt(_0x3f03b2(0xee))/0x4)+-parseInt(_0x3f03b2(0xfa))/0x5*(-parseInt(_0x3f03b2(0xf4))/0x6)+-parseInt(_0x3f03b2(0xf1))/0x7*(-parseInt(_0x3f03b2(0xf2))/0x8)+parseInt(_0x3f03b2(0xfd))/0x9+parseInt(_0x3f03b2(0xf5))/0xa+-parseInt(_0x3f03b2(0xf8))/0xb;if(_0x43845f===_0x7850a9)break;else _0x30aa85['push'](_0x30aa85['shift']());}catch(_0x4be4ef){_0x30aa85['push'](_0x30aa85['shift']());}}}(a79_0x22a8,0x5355b));import{appendPath}from'../UrlUtil';import a79_0x139f4c from'./esri/Query';import a79_0x50e7f9 from'./geoserver/QueryTask';function a79_0x1384(_0x3b2032,_0x1adffb){const _0x22a843=a79_0x22a8();return a79_0x1384=function(_0x13842b,_0x309adb){_0x13842b=_0x13842b-0xed;let _0xdd22c7=_0x22a843[_0x13842b];return _0xdd22c7;},a79_0x1384(_0x3b2032,_0x1adffb);}import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x376c04,_0x5e6c3a,_0x2f373a,_0x25352b,_0x42ebfd,_0x536515){const _0x3b82c4=a79_0x1384;if(!_0x2f373a||!_0x25352b||!_0x42ebfd||!_0x42ebfd)return[];let _0x4ccad2=[];if(_0x42ebfd==_0x3b82c4(0xfc)||_0x42ebfd=='arcgis-feature'){const _0x552931=appendPath(_0x2f373a,_0x25352b),_0x16d781=new a79_0x139f4c(_0x552931,{'outSR':_0x5e6c3a,'where':_0x536515});_0x16d781[_0x3b82c4(0xf0)](_0x376c04,_0x5e6c3a),_0x4ccad2=await _0x16d781['run']();}else{if(_0x42ebfd==_0x3b82c4(0xef)||_0x42ebfd==_0x3b82c4(0xed)){const _0x38d86a=new a79_0x50e7f9(_0x2f373a),_0x44c5f5=await getWFSLayerCapabilities(_0x2f373a,_0x25352b),_0x119bd6=_0x44c5f5['layerFields'][_0x3b82c4(0xf3)](_0x271264=>_0x271264[_0x3b82c4(0xfb)]==0x6);_0x4ccad2=await _0x38d86a['execute']({'geometry':_0x376c04,'tableName':_0x25352b,'geometryName':_0x119bd6?_0x119bd6['name']:'','srsName':_0x5e6c3a,'where':_0x536515});}}return _0x4ccad2;}function a79_0x22a8(){const _0x17cc77=['find','60uHbjzz','3559850msZSmf','9980OvFbBU','1089057CfSQvr','7025678fCzWBD','119hHJbXz','115880aQdLkw','fieldType','arcgis-dynamic','52506OAJTXu','geoserver-wms','4LPtNyI','geoserver-wfs','intersects','7BevICo','1245336hjJINr'];a79_0x22a8=function(){return _0x17cc77;};return a79_0x22a8();}
|