ym-gis-2d 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/assets/main.css +12 -0
  2. package/capabilities/index.js +1 -1
  3. package/controls/ControlManager.js +1 -1
  4. package/controls/LegendControl.js +1 -1
  5. package/controls/MousePositionControl.js +1 -1
  6. package/controls/SwipeLayerControl.js +1 -1
  7. package/conver/kml/geoJSONToKml.js +1 -1
  8. package/conver/kml/index.js +1 -1
  9. package/conver/kml/kmlToGeoJSON.js +1 -1
  10. package/entity/Feature.js +1 -1
  11. package/entity/GeometryType.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/Draw.js +1 -1
  15. package/interaction/InteractionManager.js +1 -1
  16. package/interaction/Select.js +1 -1
  17. package/layers/ArcgisDynamicLayer.js +1 -1
  18. package/layers/ArcgisFeatureLayer.js +1 -1
  19. package/layers/ArcgisTileLayer.js +1 -1
  20. package/layers/ArcgisWMSLayer.js +1 -1
  21. package/layers/ArcgisWMTSLayer.js +1 -1
  22. package/layers/GeoserverVectorTile.js +1 -1
  23. package/layers/GeoserverWFSLayer.js +1 -1
  24. package/layers/GeoserverWMSLayer.js +1 -1
  25. package/layers/GeoserverWMTSLayer.js +1 -1
  26. package/layers/LayerManager.js +1 -1
  27. package/layers/TDTLayer.js +1 -1
  28. package/mapView/Map.js +1 -1
  29. package/mapView/View.js +1 -1
  30. package/package.json +1 -1
  31. package/plot/Plot.js +1 -1
  32. package/plot/geometry/point/Point.js +1 -1
  33. package/plot/geometry/polygon/BasePolygon.js +1 -1
  34. package/plot/geometry/polygon/Circle.js +1 -1
  35. package/plot/geometry/polygon/Polygon.js +1 -1
  36. package/plot/geometry/polygon/RectAngle.js +1 -1
  37. package/plot/geometry/polyline/BaseLine.js +1 -1
  38. package/plot/geometry/polyline/Polyline.js +1 -1
  39. package/style/PointStyleFormat.js +1 -1
  40. package/style/PolygonStyleFormat.js +1 -1
  41. package/style/PolylineStyleFormat.js +1 -1
  42. package/style/StyleManager.js +1 -1
  43. package/style/common.js +1 -1
  44. package/style.css +1 -1
  45. package/utils/ArrayUtil.js +1 -1
  46. package/utils/AxiosUtil.js +1 -1
  47. package/utils/EsriUtil.js +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/LayerUtil.js +1 -1
  50. package/utils/RegisterProjUtil.js +1 -1
  51. package/utils/ResolutionUtil.js +1 -1
  52. package/utils/StringUtil.js +1 -1
  53. package/utils/StyleUtil.js +1 -1
  54. package/utils/UrlUtil.js +1 -1
  55. package/utils/XmlUtil.js +1 -1
  56. package/utils/format/CQL.js +1 -1
  57. package/utils/format/IsMatchCql.js +1 -1
  58. package/utils/plug/canvas/ImageCache.js +1 -1
  59. package/utils/plug/canvas/PinBuilder.js +1 -1
  60. package/utils/plug/canvas/PinIcon.js +1 -1
  61. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  62. package/utils/tasks/esri/Identify.js +1 -1
  63. package/utils/tasks/esri/Query.js +1 -1
  64. package/utils/tasks/esri/Task.js +1 -1
  65. package/utils/tasks/geoserver/QueryTask.js +1 -1
  66. package/utils/tasks/index.js +1 -1
  67. package/ym-gis-2d.es.js +1 -1
  68. package/ym-gis-2d.umd.js +1 -1
package/utils/UrlUtil.js CHANGED
@@ -1 +1 @@
1
- function a88_0x3d44(_0x169909,_0x363714){const _0x1bb5ac=a88_0x1bb5();return a88_0x3d44=function(_0x3d44f7,_0x4c5b4a){_0x3d44f7=_0x3d44f7-0x191;let _0x2d4bf3=_0x1bb5ac[_0x3d44f7];return _0x2d4bf3;},a88_0x3d44(_0x169909,_0x363714);}(function(_0x49890d,_0x2b3787){const _0x3854cc=a88_0x3d44,_0x51ea06=_0x49890d();while(!![]){try{const _0x30d329=-parseInt(_0x3854cc(0x19d))/0x1*(-parseInt(_0x3854cc(0x195))/0x2)+parseInt(_0x3854cc(0x194))/0x3*(parseInt(_0x3854cc(0x192))/0x4)+-parseInt(_0x3854cc(0x1a6))/0x5*(parseInt(_0x3854cc(0x196))/0x6)+parseInt(_0x3854cc(0x1ae))/0x7*(parseInt(_0x3854cc(0x1b0))/0x8)+parseInt(_0x3854cc(0x1ac))/0x9*(-parseInt(_0x3854cc(0x1a9))/0xa)+parseInt(_0x3854cc(0x1a8))/0xb+-parseInt(_0x3854cc(0x1a5))/0xc;if(_0x30d329===_0x2b3787)break;else _0x51ea06['push'](_0x51ea06['shift']());}catch(_0x4c1cac){_0x51ea06['push'](_0x51ea06['shift']());}}}(a88_0x1bb5,0x9402f));export function addArgument(_0x519f68,_0x372023,_0x5b2871){const _0x4fcd0f=a88_0x3d44,_0x59316e=new RegExp(_0x4fcd0f(0x1af)+_0x372023+_0x4fcd0f(0x19f),'gi');if(_0x519f68[_0x4fcd0f(0x1a4)](_0x59316e))_0x519f68=_0x519f68['replace'](_0x59316e,_0x28339f=>_0x28339f[0x0]+_0x372023+'='+_0x5b2871);else{var _0x1ef2ea=_0x372023+'='+_0x5b2871,_0x190f7b=_0x519f68[_0x4fcd0f(0x193)]('?');let _0x165c35=_0x519f68;_0x190f7b>-0x1&&_0x519f68['indexOf'](_0x4fcd0f(0x1a7))>-0x1&&(_0x165c35=_0x519f68['substring'](_0x190f7b+0x1),_0x190f7b=_0x165c35[_0x4fcd0f(0x193)]('?'));if(_0x190f7b<0x0)_0x519f68+='?';else _0x190f7b>=0x0&&_0x190f7b!==_0x165c35[_0x4fcd0f(0x19c)]-0x1&&(_0x519f68+='&');_0x519f68=_0x519f68+_0x1ef2ea;}return _0x519f68;}export function appendParam(_0x48530a,_0x4b7e17){const _0x56f0d0=a88_0x3d44;var _0x3dd816=_0x48530a[_0x56f0d0(0x193)]('?');let _0x3a96a6=_0x48530a;if(_0x3dd816>-0x1&&_0x48530a[_0x56f0d0(0x193)]('?http')>-0x1){let _0x24c482=_0x3dd816+0x1;_0x3a96a6=_0x48530a[_0x56f0d0(0x19e)](_0x3dd816+0x1),_0x3dd816=_0x3a96a6[_0x56f0d0(0x193)]('?');}return _0x3dd816>-0x1?_0x48530a+'&'+_0x4b7e17:_0x48530a+'?'+_0x4b7e17;}export function appendPath(_0xf65f2b,_0x4879e8){const _0x330840=a88_0x3d44;var _0x580d2d=_0xf65f2b['indexOf']('?');let _0x5f3f62=_0xf65f2b;if(_0x580d2d>-0x1&&_0xf65f2b[_0x330840(0x193)](_0x330840(0x1a7))>-0x1){let _0x268988=_0x580d2d+0x1;_0x5f3f62=_0xf65f2b[_0x330840(0x19e)](_0x580d2d+0x1),_0x580d2d=_0x5f3f62[_0x330840(0x193)]('?'),_0x580d2d>-0x1&&(_0x580d2d+=_0x268988);}return _0x580d2d>-0x1?_0xf65f2b[_0x330840(0x19e)](0x0,_0x580d2d)+'/'+_0x4879e8+_0xf65f2b[_0x330840(0x19e)](_0x580d2d):_0xf65f2b+'/'+_0x4879e8;}export function getUrlParams(_0x549d03){const _0x248efe=a88_0x3d44;var _0x6422b6,_0x462ade;let _0x3b2b07=_0x549d03[_0x248efe(0x193)](_0x248efe(0x1a7)),_0x2f78f2;_0x3b2b07>-0x1?_0x549d03[_0x248efe(0x193)]('?',_0x3b2b07+0x3)>-0x1&&(_0x2f78f2=(_0x6422b6=_0x549d03[_0x248efe(0x1a1)]('?'))===null||_0x6422b6===void 0x0?void 0x0:_0x6422b6[0x2]):_0x549d03['indexOf']('?')>-0x1&&(_0x2f78f2=(_0x462ade=_0x549d03[_0x248efe(0x1a1)]('?'))===null||_0x462ade===void 0x0?void 0x0:_0x462ade[0x1]);if(_0x2f78f2)return createParamByQuery(_0x2f78f2);return[];}function createParamByQuery(_0x1d6fdd){const _0x287313=a88_0x3d44;let _0x55071a=_0x1d6fdd['split']('&');return _0x55071a[_0x287313(0x1a0)](_0x3e434f=>{var _0xc01ad8=_0x3e434f['split']('=');return{'name':_0xc01ad8[0x0],'value':_0xc01ad8[0x1]};});}export function parseImage(_0x2e6926,_0x2743fc){const _0x295a8c=a88_0x3d44;let _0x1073ef='';if(_0x2e6926){if(_0x2e6926[_0x295a8c(0x1a4)](/^(data|http|https)/))_0x1073ef=_0x2e6926;else{if(_0x2e6926['match'](/Assets/))_0x1073ef=_0x2e6926;else{}}}return _0x1073ef;}function a88_0x1bb5(){const _0x5d9c2a=['16HcBKIU','substring','=)([^&]*)','map','split','href','createObjectURL','match','7219560xyseCX','116845qHxXAD','?http','11551485xwZdeb','1980JVgtAu','createElement','_blank','54963JiJjaA','download','532pHsMps','[\x5c?&](','56256ucvptZ','revokeObjectURL','9512XZrPEA','indexOf','1293rNgWKf','16844spbdkX','84NCYWQF','setAttribute','body','click','removeChild','appendChild','length'];a88_0x1bb5=function(){return _0x5d9c2a;};return a88_0x1bb5();}export function downloadBlob(_0x139e76,_0x5313c7){const _0x54caeb=a88_0x3d44,_0x54aef6=URL[_0x54caeb(0x1a3)](_0x139e76);var _0x13d804=document[_0x54caeb(0x1aa)]('a');_0x13d804[_0x54caeb(0x197)](_0x54caeb(0x1a2),_0x54aef6),_0x13d804[_0x54caeb(0x197)]('target',_0x54caeb(0x1ab)),_0x13d804[_0x54caeb(0x197)](_0x54caeb(0x1ad),_0x5313c7),document['body'][_0x54caeb(0x19b)](_0x13d804),_0x13d804[_0x54caeb(0x199)](),document[_0x54caeb(0x198)][_0x54caeb(0x19a)](_0x13d804),URL[_0x54caeb(0x191)](_0x54aef6);}
1
+ (function(_0x2225a7,_0x1414cb){const _0x3a6665=a88_0x128e,_0x24d0aa=_0x2225a7();while(!![]){try{const _0x23d9d6=-parseInt(_0x3a6665(0x1f3))/0x1*(parseInt(_0x3a6665(0x1f9))/0x2)+-parseInt(_0x3a6665(0x1f4))/0x3+parseInt(_0x3a6665(0x1f1))/0x4*(parseInt(_0x3a6665(0x1e1))/0x5)+parseInt(_0x3a6665(0x1f5))/0x6*(parseInt(_0x3a6665(0x1de))/0x7)+-parseInt(_0x3a6665(0x1e7))/0x8+-parseInt(_0x3a6665(0x1e3))/0x9*(-parseInt(_0x3a6665(0x1f7))/0xa)+parseInt(_0x3a6665(0x1f6))/0xb*(-parseInt(_0x3a6665(0x1e0))/0xc);if(_0x23d9d6===_0x1414cb)break;else _0x24d0aa['push'](_0x24d0aa['shift']());}catch(_0x570ee8){_0x24d0aa['push'](_0x24d0aa['shift']());}}}(a88_0x5266,0x3669c));export function addArgument(_0x371101,_0xf91709,_0x146444){const _0x437268=a88_0x128e,_0x2413fb=new RegExp(_0x437268(0x1e2)+_0xf91709+'=)([^&]*)','gi');if(_0x371101[_0x437268(0x1e8)](_0x2413fb))_0x371101=_0x371101[_0x437268(0x1e6)](_0x2413fb,_0x527aa0=>_0x527aa0[0x0]+_0xf91709+'='+_0x146444);else{var _0x3f40e9=_0xf91709+'='+_0x146444,_0x567eea=_0x371101[_0x437268(0x1df)]('?');let _0x4b3868=_0x371101;_0x567eea>-0x1&&_0x371101[_0x437268(0x1df)](_0x437268(0x1ea))>-0x1&&(_0x4b3868=_0x371101['substring'](_0x567eea+0x1),_0x567eea=_0x4b3868[_0x437268(0x1df)]('?'));if(_0x567eea<0x0)_0x371101+='?';else _0x567eea>=0x0&&_0x567eea!==_0x4b3868[_0x437268(0x1e4)]-0x1&&(_0x371101+='&');_0x371101=_0x371101+_0x3f40e9;}return _0x371101;}export function appendParam(_0x229f55,_0x1729f7){const _0x9818f4=a88_0x128e;var _0x452c86=_0x229f55[_0x9818f4(0x1df)]('?');let _0x40fb35=_0x229f55;if(_0x452c86>-0x1&&_0x229f55['indexOf'](_0x9818f4(0x1ea))>-0x1){let _0x5d17be=_0x452c86+0x1;_0x40fb35=_0x229f55[_0x9818f4(0x1e5)](_0x452c86+0x1),_0x452c86=_0x40fb35[_0x9818f4(0x1df)]('?');}return _0x452c86>-0x1?_0x229f55+'&'+_0x1729f7:_0x229f55+'?'+_0x1729f7;}export function appendPath(_0x11e485,_0x1943a8){const _0xdaccba=a88_0x128e;var _0x92aaff=_0x11e485[_0xdaccba(0x1df)]('?');let _0x3b2bdb=_0x11e485;if(_0x92aaff>-0x1&&_0x11e485['indexOf'](_0xdaccba(0x1ea))>-0x1){let _0x1dfa94=_0x92aaff+0x1;_0x3b2bdb=_0x11e485['substring'](_0x92aaff+0x1),_0x92aaff=_0x3b2bdb[_0xdaccba(0x1df)]('?'),_0x92aaff>-0x1&&(_0x92aaff+=_0x1dfa94);}return _0x92aaff>-0x1?_0x11e485['substring'](0x0,_0x92aaff)+'/'+_0x1943a8+_0x11e485[_0xdaccba(0x1e5)](_0x92aaff):_0x11e485+'/'+_0x1943a8;}function a88_0x128e(_0x20a20d,_0x4e1519){const _0x5266c7=a88_0x5266();return a88_0x128e=function(_0x128e73,_0x2485f3){_0x128e73=_0x128e73-0x1de;let _0x49a48e=_0x5266c7[_0x128e73];return _0x49a48e;},a88_0x128e(_0x20a20d,_0x4e1519);}export function getUrlParams(_0xf4b89c){const _0x61d3d9=a88_0x128e;var _0x754daa,_0x5b4ccc;let _0x220855=_0xf4b89c[_0x61d3d9(0x1df)](_0x61d3d9(0x1ea)),_0x69ebef;_0x220855>-0x1?_0xf4b89c[_0x61d3d9(0x1df)]('?',_0x220855+0x3)>-0x1&&(_0x69ebef=(_0x754daa=_0xf4b89c[_0x61d3d9(0x1ed)]('?'))===null||_0x754daa===void 0x0?void 0x0:_0x754daa[0x2]):_0xf4b89c[_0x61d3d9(0x1df)]('?')>-0x1&&(_0x69ebef=(_0x5b4ccc=_0xf4b89c[_0x61d3d9(0x1ed)]('?'))===null||_0x5b4ccc===void 0x0?void 0x0:_0x5b4ccc[0x1]);if(_0x69ebef)return createParamByQuery(_0x69ebef);return[];}function createParamByQuery(_0x20b1a5){const _0x2c84f0=a88_0x128e;let _0x22344f=_0x20b1a5['split']('&');return _0x22344f[_0x2c84f0(0x1f8)](_0x3947fd=>{const _0x22d10a=_0x2c84f0;var _0x402dd7=_0x3947fd[_0x22d10a(0x1ed)]('=');return{'name':_0x402dd7[0x0],'value':_0x402dd7[0x1]};});}export function parseImage(_0xcae08,_0x1cc97f){let _0x48802f='';if(_0xcae08){if(_0xcae08['match'](/^(data|http|https)/))_0x48802f=_0xcae08;else{if(_0xcae08['match'](/Assets/))_0x48802f=_0xcae08;else{}}}return _0x48802f;}function a88_0x5266(){const _0x2cdf0d=['click','213140SNbncz','appendChild','1DkLXzK','224421azerZM','18lFsldo','429wdjseE','869620pLKdrN','map','492696uOBhXo','target','950719nYZbRL','indexOf','21132StqqOL','5YqYHdO','[\x5c?&](','27reUuCl','length','substring','replace','871296JuKMrU','match','revokeObjectURL','?http','_blank','createElement','split','body','setAttribute'];a88_0x5266=function(){return _0x2cdf0d;};return a88_0x5266();}export function downloadBlob(_0x50bddf,_0x3b4736){const _0x58db1d=a88_0x128e,_0x2973b2=URL['createObjectURL'](_0x50bddf);var _0x285422=document[_0x58db1d(0x1ec)]('a');_0x285422[_0x58db1d(0x1ef)]('href',_0x2973b2),_0x285422[_0x58db1d(0x1ef)](_0x58db1d(0x1fa),_0x58db1d(0x1eb)),_0x285422['setAttribute']('download',_0x3b4736),document[_0x58db1d(0x1ee)][_0x58db1d(0x1f2)](_0x285422),_0x285422[_0x58db1d(0x1f0)](),document[_0x58db1d(0x1ee)]['removeChild'](_0x285422),URL[_0x58db1d(0x1e9)](_0x2973b2);}
package/utils/XmlUtil.js CHANGED
@@ -1 +1 @@
1
- (function(_0x339af4,_0x537395){const _0x2f9dae=a89_0x3baf,_0x502fd7=_0x339af4();while(!![]){try{const _0x3a2dda=-parseInt(_0x2f9dae(0x162))/0x1+-parseInt(_0x2f9dae(0x157))/0x2+parseInt(_0x2f9dae(0x161))/0x3*(-parseInt(_0x2f9dae(0x156))/0x4)+-parseInt(_0x2f9dae(0x15e))/0x5*(-parseInt(_0x2f9dae(0x163))/0x6)+parseInt(_0x2f9dae(0x155))/0x7*(-parseInt(_0x2f9dae(0x164))/0x8)+parseInt(_0x2f9dae(0x15f))/0x9+parseInt(_0x2f9dae(0x15d))/0xa*(parseInt(_0x2f9dae(0x15a))/0xb);if(_0x3a2dda===_0x537395)break;else _0x502fd7['push'](_0x502fd7['shift']());}catch(_0x2dc968){_0x502fd7['push'](_0x502fd7['shift']());}}}(a89_0x3ec4,0xa5968));function a89_0x3baf(_0x272585,_0x219af5){const _0x3ec483=a89_0x3ec4();return a89_0x3baf=function(_0x3baf2a,_0x372876){_0x3baf2a=_0x3baf2a-0x155;let _0x53aed7=_0x3ec483[_0x3baf2a];return _0x53aed7;},a89_0x3baf(_0x272585,_0x219af5);}export function readXml(_0x5ac661){const _0x17d8f4=a89_0x3baf;let _0x1cbebc;return window[_0x17d8f4(0x15c)]?_0x1cbebc=new DOMParser()[_0x17d8f4(0x159)](_0x5ac661,'text/xml'):(_0x1cbebc=new ActiveXObject('Microsoft.XMLDOM'),_0x1cbebc[_0x17d8f4(0x160)]=_0x17d8f4(0x158),_0x1cbebc[_0x17d8f4(0x15b)](_0x5ac661)),_0x1cbebc;}function a89_0x3ec4(){const _0x1b9597=['2586585dvcmCU','1296687gJpmXb','2594550eNGUJP','5045136QGOMlX','7IkeSwC','4DrOBrM','74896ghdAlo','false','parseFromString','24108645QlpdDY','loadXML','DOMParser','10wfdQuU','5viqdjW','7929900eGvzFY','async'];a89_0x3ec4=function(){return _0x1b9597;};return a89_0x3ec4();}
1
+ function a89_0x4cfd(_0x21a534,_0x1214b4){const _0x276548=a89_0x2765();return a89_0x4cfd=function(_0x4cfdc0,_0x1aa7dc){_0x4cfdc0=_0x4cfdc0-0xe0;let _0x247c77=_0x276548[_0x4cfdc0];return _0x247c77;},a89_0x4cfd(_0x21a534,_0x1214b4);}(function(_0x344c11,_0x5472b0){const _0x38e203=a89_0x4cfd,_0x1c36b0=_0x344c11();while(!![]){try{const _0x46b89d=parseInt(_0x38e203(0xe5))/0x1*(parseInt(_0x38e203(0xe9))/0x2)+parseInt(_0x38e203(0xea))/0x3*(-parseInt(_0x38e203(0xef))/0x4)+parseInt(_0x38e203(0xe2))/0x5+parseInt(_0x38e203(0xe1))/0x6+parseInt(_0x38e203(0xe8))/0x7*(-parseInt(_0x38e203(0xeb))/0x8)+parseInt(_0x38e203(0xee))/0x9*(-parseInt(_0x38e203(0xf0))/0xa)+-parseInt(_0x38e203(0xed))/0xb;if(_0x46b89d===_0x5472b0)break;else _0x1c36b0['push'](_0x1c36b0['shift']());}catch(_0x3ab1e3){_0x1c36b0['push'](_0x1c36b0['shift']());}}}(a89_0x2765,0x5ea98));export function readXml(_0x178d0f){const _0x5af79a=a89_0x4cfd;let _0x246006;return window[_0x5af79a(0xe4)]?_0x246006=new DOMParser()[_0x5af79a(0xe6)](_0x178d0f,'text/xml'):(_0x246006=new ActiveXObject(_0x5af79a(0xec)),_0x246006[_0x5af79a(0xe0)]=_0x5af79a(0xe3),_0x246006[_0x5af79a(0xe7)](_0x178d0f)),_0x246006;}function a89_0x2765(){const _0x3135ca=['270044snCRlw','6UnYQdc','392JZGSjv','Microsoft.XMLDOM','227469HJSTWg','9awIJTH','252652ByzMkj','4831940MladWa','async','2147844TRurBc','2804635BCYxaA','false','DOMParser','2LxPNDu','parseFromString','loadXML','24430bzzfSx'];a89_0x2765=function(){return _0x3135ca;};return a89_0x2765();}
@@ -1 +1 @@
1
- const a70_0x10524b=a70_0x1a4c;(function(_0x1380ba,_0x3d6b91){const _0x75991e=a70_0x1a4c,_0x9abcd3=_0x1380ba();while(!![]){try{const _0x46e88b=parseInt(_0x75991e(0x249))/0x1*(-parseInt(_0x75991e(0x240))/0x2)+-parseInt(_0x75991e(0x1fa))/0x3*(parseInt(_0x75991e(0x235))/0x4)+parseInt(_0x75991e(0x200))/0x5*(parseInt(_0x75991e(0x20d))/0x6)+-parseInt(_0x75991e(0x228))/0x7*(-parseInt(_0x75991e(0x234))/0x8)+parseInt(_0x75991e(0x232))/0x9+-parseInt(_0x75991e(0x239))/0xa+-parseInt(_0x75991e(0x251))/0xb;if(_0x46e88b===_0x3d6b91)break;else _0x9abcd3['push'](_0x9abcd3['shift']());}catch(_0x3809ed){_0x9abcd3['push'](_0x9abcd3['shift']());}}}(a70_0x3081,0x706d7));function a70_0x1a4c(_0x38358b,_0xfec062){const _0x3081aa=a70_0x3081();return a70_0x1a4c=function(_0x1a4c9b,_0x29f55c){_0x1a4c9b=_0x1a4c9b-0x1eb;let _0x46bbbe=_0x3081aa[_0x1a4c9b];return _0x46bbbe;},a70_0x1a4c(_0x38358b,_0xfec062);}import*as a70_0x4a2088 from'ol/format/filter';function a70_0x3081(){const _0x2f152b=['inPatterns','replaceAll','geometry','indexOf','between','extent','lessThan','readGeometry','warn','COMMA','PropertyIsNull','WITHIN(','Unknown\x20token\x20type\x20','within','substring','72492lDOJmC','greaterThan','precedence','LIKE','PROPERTY','ERROR:\x20In\x20parsing:\x20[','5ORrbZr','LPAREN','logicals','CONTAINS','PropertyIsLessThan','Contains','upperBoundary','replace','pop','parseInToOr','\x20AND\x20','PropertyIsEqualTo','RPAREN','1332246jyrKaf','tokens','string','operators','COMPARISON','VALUE','lessThanOrEqualTo','write','contains','nextToken','IS_NULL','PropertyIsGreaterThanOrEqualTo','operatorReverse','lastIndexOf','LOGICAL','propertyName','toUpperCase','Intersects','NOT\x20(','bbox','buildAst','type','tagName_','PropertyIsLike','text','patterns','And','49399QHjpdo','geometryName','BBOX','isNull','property','like','],\x20expected\x20one\x20of:\x20','GEOMETRY','\x20BETWEEN\x20','length','7591446DmIjiQ','Can\x27t\x20encode:\x20','944lNVNVc','144GNwHTH','follows','PropertyIsLessThanOrEqualTo','PropertyIsGreaterThan','4987620wbUJdC','tryToken','剩余的节点无法解析:\x20\x0a','PropertyIsBetween','BETWEEN','split','PropertyIsNotEqualTo','1576dvlGJI','END','exec','not','notEqualTo','WITHIN','match','\x0a\x20\x20\x20\x20','\x20or\x20','73UQdkTk','greaterThanOrEqualTo','writeGeometry','SPATIAL','push','conditions','No\x20follows\x20list\x20for\x20','equalTo','127248giaaqF','NOT','srsName','index','CONTAINS(','tokenize','lowerBoundary'];a70_0x3081=function(){return _0x2f152b;};return a70_0x3081();}import{WKT}from'ol/format';import a70_0x1d8bc9 from'ol/geom/Geometry';export default class CQL{constructor(){const _0xee6947=a70_0x1a4c;this[_0xee6947(0x1eb)]=/ (IN) /i,this[_0xee6947(0x20e)]=[_0xee6947(0x1fe),_0xee6947(0x211),_0xee6947(0x212),_0xee6947(0x21b)],this[_0xee6947(0x226)]={'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(_0xa930ff){const _0x479fc6=_0xee6947;let _0x5083c0=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x479fc6(0x242)](_0xa930ff);if(_0x5083c0){let _0x4befb0=_0xa930ff[_0x479fc6(0x231)],_0x3732d6=_0xa930ff[_0x479fc6(0x1ee)]('(',_0x5083c0[0x0][_0x479fc6(0x231)]);if(_0x3732d6>-0x1){let _0x2a31=0x1;while(_0x3732d6<_0x4befb0&&_0x2a31>0x0){_0x3732d6++;switch(_0xa930ff['charAt'](_0x3732d6)){case'(':_0x2a31++;break;case')':_0x2a31--;break;default:}}}return[_0xa930ff[_0x479fc6(0x1f9)](0x0,_0x3732d6+0x1)];}},'END':/^$/},this[_0xee6947(0x236)]={'LPAREN':[_0xee6947(0x22f),_0xee6947(0x24c),_0xee6947(0x1fe),_0xee6947(0x212),_0xee6947(0x201)],'RPAREN':[_0xee6947(0x252),_0xee6947(0x21b),_0xee6947(0x241),_0xee6947(0x20c)],'PROPERTY':[_0xee6947(0x211),_0xee6947(0x23d),_0xee6947(0x1f4),_0xee6947(0x217)],'BETWEEN':[_0xee6947(0x212)],'IS_NULL':[_0xee6947(0x241)],'COMPARISON':[_0xee6947(0x212)],'COMMA':[_0xee6947(0x22f),_0xee6947(0x212),_0xee6947(0x1fe)],'VALUE':[_0xee6947(0x21b),_0xee6947(0x1f4),_0xee6947(0x20c),_0xee6947(0x241)],'SPATIAL':['LPAREN'],'LOGICAL':['NOT',_0xee6947(0x212),'SPATIAL',_0xee6947(0x1fe),_0xee6947(0x201)],'NOT':[_0xee6947(0x1fe),_0xee6947(0x201)],'GEOMETRY':[_0xee6947(0x1f4),'RPAREN']},this[_0xee6947(0x210)]={'=':a70_0x4a2088[_0xee6947(0x250)],'<>':a70_0x4a2088[_0xee6947(0x244)],'<':a70_0x4a2088[_0xee6947(0x1f1)],'<=':a70_0x4a2088[_0xee6947(0x213)],'>':a70_0x4a2088[_0xee6947(0x1fb)],'>=':a70_0x4a2088[_0xee6947(0x24a)],'LIKE':a70_0x4a2088[_0xee6947(0x22d)],'BETWEEN':a70_0x4a2088[_0xee6947(0x1ef)],'IS\x20NULL':a70_0x4a2088[_0xee6947(0x22b)]},this[_0xee6947(0x219)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0xee6947(0x1fd),'PropertyIsNull':'IS\x20NULL','PropertyIsBetween':_0xee6947(0x23d)},this['logicals']={'AND':a70_0x4a2088['and'],'OR':a70_0x4a2088['or']},this[_0xee6947(0x1fc)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}[a70_0x10524b(0x23a)](_0x460e03,_0x191399){const _0x35bb06=a70_0x10524b;return _0x191399 instanceof RegExp?_0x191399[_0x35bb06(0x242)](_0x460e03):_0x191399(_0x460e03);}[a70_0x10524b(0x216)](_0x20bf6e,_0x22f905){const _0x5a8e32=a70_0x10524b;let _0x52b5e5,_0x2605d5,_0xed6087=_0x22f905[_0x5a8e32(0x231)];for(_0x52b5e5=0x0;_0x52b5e5<_0xed6087;_0x52b5e5++){_0x2605d5=_0x22f905[_0x52b5e5];let _0x45c869=this[_0x5a8e32(0x226)][_0x2605d5],_0x57431a=this[_0x5a8e32(0x23a)](_0x20bf6e,_0x45c869);if(_0x57431a){let _0x5911e3=_0x57431a[0x0],_0x386b69=_0x20bf6e[_0x5a8e32(0x1f9)](_0x5911e3[_0x5a8e32(0x231)])[_0x5a8e32(0x207)](/^\s*/,'');return{'type':_0x2605d5,'text':_0x5911e3,'remainder':_0x386b69};}}let _0x227f53=_0x5a8e32(0x1ff)+_0x20bf6e+_0x5a8e32(0x22e);for(_0x52b5e5=0x0;_0x52b5e5<_0xed6087;_0x52b5e5++){_0x2605d5=_0x22f905[_0x52b5e5],_0x227f53+=_0x5a8e32(0x247)+_0x2605d5+':\x20'+this[_0x5a8e32(0x226)][_0x2605d5];}throw new Error(_0x227f53);}[a70_0x10524b(0x256)](_0x510d4f){const _0x4181d3=a70_0x10524b;_0x510d4f=_0x510d4f['replaceAll']('[','')['replaceAll'](']','');let _0x551eca=this[_0x4181d3(0x23a)](_0x510d4f,this[_0x4181d3(0x1eb)]);_0x551eca&&(_0x510d4f=this[_0x4181d3(0x209)](_0x510d4f,_0x551eca));let _0xd29c2a=[],_0x1fcba6,_0x52abc5=[_0x4181d3(0x252),'GEOMETRY',_0x4181d3(0x24c),_0x4181d3(0x1fe),_0x4181d3(0x201)];do{_0x1fcba6=this['nextToken'](_0x510d4f,_0x52abc5),_0x510d4f=_0x1fcba6['remainder'],_0x52abc5=this['follows'][_0x1fcba6['type']];if(_0x1fcba6[_0x4181d3(0x222)]!==_0x4181d3(0x241)&&!_0x52abc5)throw new Error(_0x4181d3(0x24f)+_0x1fcba6['type']);_0xd29c2a['push'](_0x1fcba6);}while(_0x1fcba6[_0x4181d3(0x222)]!==_0x4181d3(0x241));return _0xd29c2a;}[a70_0x10524b(0x209)](_0x875e30,_0x2bd9b4){const _0x21565a=a70_0x10524b;let _0x13b90c=this[_0x21565a(0x23a)](_0x875e30,/\((.+?)\)/g);if(_0x13b90c){let _0x5c7348=_0x875e30[_0x21565a(0x1f9)](0x0,_0x2bd9b4[_0x21565a(0x254)]),_0x5f3e5e=_0x13b90c[0x1],_0x5e68d6=_0x5f3e5e[_0x21565a(0x1ec)]('\x20','')[_0x21565a(0x23e)](','),_0x1fd0c6='',_0x185a26='';if(_0x5c7348[_0x21565a(0x1ee)]('\x20')>-0x1){let _0x4974b4=_0x5c7348[_0x21565a(0x21a)]('\x20');_0x185a26=_0x5c7348[_0x21565a(0x1f9)](0x0,_0x4974b4+0x1),_0x1fd0c6=_0x5c7348[_0x21565a(0x1f9)](_0x4974b4+0x1,_0x5c7348[_0x21565a(0x231)]);}else _0x1fd0c6=_0x5c7348;let _0x2cf0c4=_0x185a26;for(let _0x3fbacd=0x0;_0x3fbacd<_0x5e68d6[_0x21565a(0x231)];_0x3fbacd++){let _0x3a5d14=_0x5e68d6[_0x3fbacd];_0x2cf0c4+=_0x1fd0c6+'='+_0x3a5d14,_0x3fbacd<_0x5e68d6['length']-0x1&&(_0x2cf0c4+=_0x21565a(0x248));}return _0x2cf0c4;}return _0x875e30;}[a70_0x10524b(0x221)](_0x3a6dbb){const _0x2a85e1=a70_0x10524b;let _0x174554=this,_0x24e6b3=[],_0x45c8a4=[];while(_0x3a6dbb['length']){let _0x165842=_0x3a6dbb['shift']();switch(_0x165842['type']){case'PROPERTY':case _0x2a85e1(0x22f):case _0x2a85e1(0x212):_0x45c8a4[_0x2a85e1(0x24d)](_0x165842);break;case'COMPARISON':case'BETWEEN':case _0x2a85e1(0x217):case _0x2a85e1(0x21b):{let _0x3c9021=this['precedence'][_0x165842[_0x2a85e1(0x222)]];while(_0x24e6b3['length']>0x0&&this['precedence'][_0x24e6b3[_0x24e6b3['length']-0x1][_0x2a85e1(0x222)]]<=_0x3c9021){_0x45c8a4['push'](_0x24e6b3[_0x2a85e1(0x208)]());}_0x24e6b3[_0x2a85e1(0x24d)](_0x165842);break;}case'SPATIAL':case _0x2a85e1(0x252):case _0x2a85e1(0x201):_0x24e6b3[_0x2a85e1(0x24d)](_0x165842);break;case _0x2a85e1(0x20c):while(_0x24e6b3[_0x2a85e1(0x231)]>0x0&&_0x24e6b3[_0x24e6b3[_0x2a85e1(0x231)]-0x1][_0x2a85e1(0x222)]!==_0x2a85e1(0x201)){_0x45c8a4['push'](_0x24e6b3[_0x2a85e1(0x208)]());}_0x24e6b3['pop']();_0x24e6b3['length']>0x0&&(_0x24e6b3[_0x24e6b3[_0x2a85e1(0x231)]-0x1][_0x2a85e1(0x222)]==='SPATIAL'||_0x24e6b3[_0x24e6b3['length']-0x1][_0x2a85e1(0x222)]===_0x2a85e1(0x252))&&_0x45c8a4[_0x2a85e1(0x24d)](_0x24e6b3['pop']());break;case _0x2a85e1(0x1f4):case'END':break;default:throw new Error(_0x2a85e1(0x1f7)+_0x165842[_0x2a85e1(0x222)]);}}while(_0x24e6b3[_0x2a85e1(0x231)]>0x0){_0x45c8a4[_0x2a85e1(0x24d)](_0x24e6b3[_0x2a85e1(0x208)]());}function _0x2b347a(){const _0x473839=_0x2a85e1;let _0x140b7c,_0x66dc90,_0x589f77=_0x45c8a4['pop']();switch(_0x589f77[_0x473839(0x222)]){case'LOGICAL':{let _0xcf1cf0=_0x2b347a(),_0x156d63=_0x2b347a();return new _0x174554[(_0x473839(0x202))][(_0x589f77[_0x473839(0x225)][_0x473839(0x21d)]())](_0x156d63,_0xcf1cf0);}case _0x473839(0x252):{let _0xf8e6e4=_0x2b347a();return a70_0x4a2088[_0x473839(0x243)](_0xf8e6e4);}case'BETWEEN':{let _0x5ba92c,_0x4adde2;return _0x45c8a4[_0x473839(0x208)](),_0x4adde2=_0x2b347a(),_0x5ba92c=_0x2b347a(),_0x66dc90=_0x2b347a(),a70_0x4a2088[_0x473839(0x1ef)](_0x66dc90,_0x5ba92c,_0x4adde2);}case _0x473839(0x211):{return _0x140b7c=_0x2b347a(),_0x66dc90=_0x2b347a(),new _0x174554[(_0x473839(0x210))][(_0x589f77[_0x473839(0x225)][_0x473839(0x21d)]())](_0x66dc90,_0x140b7c);}case _0x473839(0x217):_0x66dc90=_0x2b347a();return new _0x174554[(_0x473839(0x210))][(_0x589f77[_0x473839(0x225)][_0x473839(0x21d)]())](_0x66dc90);case _0x473839(0x212):{let _0x46417d=_0x589f77[_0x473839(0x225)][_0x473839(0x246)](/^'(.*)'$/);return _0x46417d?_0x46417d[0x1][_0x473839(0x207)](/''/g,'\x27'):Number(_0x589f77[_0x473839(0x225)]);}case _0x473839(0x24c):switch(_0x589f77[_0x473839(0x225)]['toUpperCase']()){case _0x473839(0x22a):{let _0xbce608=_0x2b347a(),_0x4edeea=_0x2b347a(),_0x5ee6d2=_0x2b347a(),_0x354e46=_0x2b347a(),_0x2ee310=_0x2b347a();return a70_0x4a2088[_0x473839(0x220)](_0x2ee310,[_0x354e46,_0x5ee6d2,_0x4edeea,_0xbce608]);}case'INTERSECTS':_0x140b7c=_0x2b347a(),_0x66dc90=_0x2b347a();return a70_0x4a2088['intersects'](_0x66dc90,_0x140b7c);case _0x473839(0x245):_0x140b7c=_0x2b347a(),_0x66dc90=_0x2b347a();return a70_0x4a2088[_0x473839(0x1f8)](_0x66dc90,_0x140b7c);case _0x473839(0x203):_0x140b7c=_0x2b347a(),_0x66dc90=_0x2b347a();return a70_0x4a2088[_0x473839(0x215)](_0x66dc90,_0x140b7c);}break;case _0x473839(0x22f):return new WKT()[_0x473839(0x1f2)](_0x589f77[_0x473839(0x225)],{});default:return _0x589f77[_0x473839(0x225)];}}let _0x1bfb05=_0x2b347a();if(_0x45c8a4[_0x2a85e1(0x231)]>0x0){let _0x5c0643=_0x2a85e1(0x23b);for(let _0x2ef937=_0x45c8a4['length']-0x1;_0x2ef937>=0x0;_0x2ef937--){_0x5c0643+=_0x45c8a4[_0x2ef937][_0x2a85e1(0x222)]+':\x20'+_0x45c8a4[_0x2ef937][_0x2a85e1(0x225)]+'\x0a';}throw new Error(_0x5c0643);}return _0x1bfb05;}['read'](_0x30f965){const _0x178460=a70_0x10524b;try{return this['buildAst'](this[_0x178460(0x256)](_0x30f965));}catch(_0x329417){console[_0x178460(0x1f3)]('CQL解析失败:'+_0x30f965),console[_0x178460(0x1f3)](_0x329417);}}[a70_0x10524b(0x214)](_0x202813){const _0xe8f20d=a70_0x10524b;switch(_0x202813['tagName_']){case _0xe8f20d(0x22a):return'BBOX('+_0x202813[_0xe8f20d(0x229)]+','+_0x202813[_0xe8f20d(0x1f0)]['join'](',')+','+_0x202813[_0xe8f20d(0x253)]+')';case'Within':return _0xe8f20d(0x1f6)+_0x202813[_0xe8f20d(0x229)]+',\x20'+this[_0xe8f20d(0x1f2)](_0x202813[_0xe8f20d(0x1ed)])+')';case _0xe8f20d(0x21e):return'INTERSECTS('+_0x202813[_0xe8f20d(0x229)]+',\x20'+this['readGeometry'](_0x202813[_0xe8f20d(0x1ed)])+')';case _0xe8f20d(0x205):return _0xe8f20d(0x255)+_0x202813[_0xe8f20d(0x229)]+',\x20'+this['readGeometry'](_0x202813['geometry'])+')';case'Not':return _0xe8f20d(0x21f)+this[_0xe8f20d(0x214)](_0x202813['condition'])+')';case _0xe8f20d(0x227):case'Or':{let _0x24a5a9='(',_0x2700bf=!![];for(let _0xc6fd1b=0x0;_0xc6fd1b<_0x202813['conditions'][_0xe8f20d(0x231)];_0xc6fd1b++){_0x2700bf?_0x2700bf=![]:_0x24a5a9+=')\x20'+_0x202813[_0xe8f20d(0x223)]['toLowerCase']()+'\x20(',_0x24a5a9+=this[_0xe8f20d(0x214)](_0x202813[_0xe8f20d(0x24e)][_0xc6fd1b]);}return _0x24a5a9+')';}case _0xe8f20d(0x23c):return _0x202813[_0xe8f20d(0x22c)]+_0xe8f20d(0x230)+this['write'](_0x202813[_0xe8f20d(0x257)])+_0xe8f20d(0x20a)+this[_0xe8f20d(0x214)](_0x202813[_0xe8f20d(0x206)]);case _0xe8f20d(0x20b):case _0xe8f20d(0x23f):case _0xe8f20d(0x204):case _0xe8f20d(0x237):case _0xe8f20d(0x238):case _0xe8f20d(0x218):case _0xe8f20d(0x224):case _0xe8f20d(0x1f5):{return _0x202813['expression']!==null?_0x202813[_0xe8f20d(0x21c)]+'\x20'+this[_0xe8f20d(0x219)][_0x202813[_0xe8f20d(0x223)]]+'\x20'+this[_0xe8f20d(0x214)](_0x202813['expression']):_0x202813[_0xe8f20d(0x21c)]+'\x20'+this['operatorReverse'][_0x202813['tagName_']];}case undefined:if(typeof _0x202813===_0xe8f20d(0x20f))return'\x27'+_0x202813[_0xe8f20d(0x207)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x202813==='number')return String(_0x202813);}break;default:throw new Error(_0xe8f20d(0x233)+_0x202813['CLASS_NAME']+'\x20'+_0x202813);}}[a70_0x10524b(0x1f2)](_0x10ae81){const _0x5a6d02=a70_0x10524b;if(_0x10ae81 instanceof a70_0x1d8bc9)return new WKT()[_0x5a6d02(0x24b)](_0x10ae81);}}
1
+ const a70_0x1048b6=a70_0x5594;(function(_0x59cbb6,_0x1dd3f1){const _0x48096b=a70_0x5594,_0x13a78a=_0x59cbb6();while(!![]){try{const _0x5155cf=-parseInt(_0x48096b(0x1e8))/0x1+parseInt(_0x48096b(0x1c5))/0x2+-parseInt(_0x48096b(0x1b6))/0x3*(-parseInt(_0x48096b(0x1b9))/0x4)+-parseInt(_0x48096b(0x1bb))/0x5*(-parseInt(_0x48096b(0x1e0))/0x6)+parseInt(_0x48096b(0x199))/0x7*(parseInt(_0x48096b(0x1d9))/0x8)+-parseInt(_0x48096b(0x1e4))/0x9*(parseInt(_0x48096b(0x1ba))/0xa)+parseInt(_0x48096b(0x1ee))/0xb*(-parseInt(_0x48096b(0x1e3))/0xc);if(_0x5155cf===_0x1dd3f1)break;else _0x13a78a['push'](_0x13a78a['shift']());}catch(_0x29b76b){_0x13a78a['push'](_0x13a78a['shift']());}}}(a70_0x2371,0xa1ed3));import*as a70_0x36d68f from'ol/format/filter';function a70_0x2371(){const _0x2d1b32=['13699oWMRIX','BBOX','NOT\x20(','geometry','tokenize','lessThanOrEqualTo','11HRZYKb','\x20AND\x20','replaceAll','Within','not','join','CLASS_NAME','VALUE','GEOMETRY','follows','RPAREN','LOGICAL','length','tagName_','substring','Contains','notEqualTo','PropertyIsNull','nextToken','replace','\x0a\x20\x20\x20\x20','END','\x20or\x20','contains','conditions','189ngqGbc','INTERSECTS(','tokens','pop','CONTAINS(','propertyName','tryToken','WITHIN(','writeGeometry','Intersects','remainder','write','expression','exec','buildAst','WITHIN','within','IS_NULL','inPatterns','bbox','condition','CQL解析失败:','IS\x20NULL','NOT','lastIndexOf','extent','warn','PropertyIsGreaterThanOrEqualTo','precedence','3RoWiBa','string','COMPARISON','868696XFxOjV','120RrObBb','6596495eCgMrW','PropertyIsEqualTo','like','read','toLowerCase','BBOX(','and','charAt','indexOf','between','123882vqJpku','logicals','LPAREN','greaterThanOrEqualTo','greaterThan','equalTo','No\x20follows\x20list\x20for\x20','srsName','patterns','PROPERTY','push','type','Not','COMMA','upperBoundary','PropertyIsLike','intersects','geometryName','SPATIAL','parseInToOr','302104HIDPKl','text','PropertyIsBetween','toUpperCase','],\x20expected\x20one\x20of:\x20','number','BETWEEN','6DVDmvo','Can\x27t\x20encode:\x20','readGeometry','8112444ZlxeRh','948771sKsedP','operators','operatorReverse','split'];a70_0x2371=function(){return _0x2d1b32;};return a70_0x2371();}import{WKT}from'ol/format';function a70_0x5594(_0xd20699,_0x414409){const _0x2371be=a70_0x2371();return a70_0x5594=function(_0x559414,_0x1ac484){_0x559414=_0x559414-0x18b;let _0xf98877=_0x2371be[_0x559414];return _0xf98877;},a70_0x5594(_0xd20699,_0x414409);}import a70_0x3624fe from'ol/geom/Geometry';export default class CQL{constructor(){const _0x23f887=a70_0x5594;this[_0x23f887(0x1ab)]=/ (IN) /i,this[_0x23f887(0x19b)]=[_0x23f887(0x1ce),'COMPARISON',_0x23f887(0x1f5),_0x23f887(0x18b)],this[_0x23f887(0x1cd)]={'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(_0x3e3373){const _0x2d047e=_0x23f887;let _0x1974da=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x2d047e(0x1a6)](_0x3e3373);if(_0x1974da){let _0x594a81=_0x3e3373[_0x2d047e(0x18c)],_0x5d3723=_0x3e3373[_0x2d047e(0x1c3)]('(',_0x1974da[0x0]['length']);if(_0x5d3723>-0x1){let _0x3f3091=0x1;while(_0x5d3723<_0x594a81&&_0x3f3091>0x0){_0x5d3723++;switch(_0x3e3373[_0x2d047e(0x1c2)](_0x5d3723)){case'(':_0x3f3091++;break;case')':_0x3f3091--;break;default:}}}return[_0x3e3373['substring'](0x0,_0x5d3723+0x1)];}},'END':/^$/},this[_0x23f887(0x1f7)]={'LPAREN':[_0x23f887(0x1f6),'SPATIAL',_0x23f887(0x1ce),'VALUE','LPAREN'],'RPAREN':[_0x23f887(0x1b0),_0x23f887(0x18b),_0x23f887(0x195),_0x23f887(0x1f8)],'PROPERTY':[_0x23f887(0x1b8),'BETWEEN',_0x23f887(0x1d2),_0x23f887(0x1aa)],'BETWEEN':[_0x23f887(0x1f5)],'IS_NULL':[_0x23f887(0x195)],'COMPARISON':['VALUE'],'COMMA':['GEOMETRY',_0x23f887(0x1f5),_0x23f887(0x1ce)],'VALUE':[_0x23f887(0x18b),'COMMA',_0x23f887(0x1f8),_0x23f887(0x195)],'SPATIAL':[_0x23f887(0x1c7)],'LOGICAL':[_0x23f887(0x1b0),_0x23f887(0x1f5),_0x23f887(0x1d7),_0x23f887(0x1ce),_0x23f887(0x1c7)],'NOT':['PROPERTY','LPAREN'],'GEOMETRY':[_0x23f887(0x1d2),'RPAREN']},this[_0x23f887(0x1e5)]={'=':a70_0x36d68f[_0x23f887(0x1ca)],'<>':a70_0x36d68f[_0x23f887(0x190)],'<':a70_0x36d68f['lessThan'],'<=':a70_0x36d68f[_0x23f887(0x1ed)],'>':a70_0x36d68f[_0x23f887(0x1c9)],'>=':a70_0x36d68f[_0x23f887(0x1c8)],'LIKE':a70_0x36d68f[_0x23f887(0x1bd)],'BETWEEN':a70_0x36d68f[_0x23f887(0x1c4)],'IS\x20NULL':a70_0x36d68f['isNull']},this[_0x23f887(0x1e6)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':'LIKE','PropertyIsNull':_0x23f887(0x1af),'PropertyIsBetween':_0x23f887(0x1df)},this[_0x23f887(0x1c6)]={'AND':a70_0x36d68f[_0x23f887(0x1c1)],'OR':a70_0x36d68f['or']},this[_0x23f887(0x1b5)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}[a70_0x1048b6(0x19f)](_0x599f6f,_0x43c726){const _0x2b1814=a70_0x1048b6;return _0x43c726 instanceof RegExp?_0x43c726[_0x2b1814(0x1a6)](_0x599f6f):_0x43c726(_0x599f6f);}[a70_0x1048b6(0x192)](_0x48f767,_0xe61c96){const _0x5e26e8=a70_0x1048b6;let _0x473425,_0x2cf6e6,_0xb28c04=_0xe61c96['length'];for(_0x473425=0x0;_0x473425<_0xb28c04;_0x473425++){_0x2cf6e6=_0xe61c96[_0x473425];let _0x484711=this[_0x5e26e8(0x1cd)][_0x2cf6e6],_0x1890f6=this['tryToken'](_0x48f767,_0x484711);if(_0x1890f6){let _0x3fcbf8=_0x1890f6[0x0],_0x13dcaf=_0x48f767[_0x5e26e8(0x18e)](_0x3fcbf8[_0x5e26e8(0x18c)])[_0x5e26e8(0x193)](/^\s*/,'');return{'type':_0x2cf6e6,'text':_0x3fcbf8,'remainder':_0x13dcaf};}}let _0x15baaa='ERROR:\x20In\x20parsing:\x20['+_0x48f767+_0x5e26e8(0x1dd);for(_0x473425=0x0;_0x473425<_0xb28c04;_0x473425++){_0x2cf6e6=_0xe61c96[_0x473425],_0x15baaa+=_0x5e26e8(0x194)+_0x2cf6e6+':\x20'+this[_0x5e26e8(0x1cd)][_0x2cf6e6];}throw new Error(_0x15baaa);}['tokenize'](_0x2b797d){const _0x381f45=a70_0x1048b6;_0x2b797d=_0x2b797d['replaceAll']('[','')['replaceAll'](']','');let _0x44b9e8=this[_0x381f45(0x19f)](_0x2b797d,this['inPatterns']);_0x44b9e8&&(_0x2b797d=this[_0x381f45(0x1d8)](_0x2b797d,_0x44b9e8));let _0x4bb17a=[],_0x3788b4,_0x2f3164=[_0x381f45(0x1b0),_0x381f45(0x1f6),_0x381f45(0x1d7),_0x381f45(0x1ce),'LPAREN'];do{_0x3788b4=this['nextToken'](_0x2b797d,_0x2f3164),_0x2b797d=_0x3788b4[_0x381f45(0x1a3)],_0x2f3164=this[_0x381f45(0x1f7)][_0x3788b4[_0x381f45(0x1d0)]];if(_0x3788b4['type']!==_0x381f45(0x195)&&!_0x2f3164)throw new Error(_0x381f45(0x1cb)+_0x3788b4['type']);_0x4bb17a[_0x381f45(0x1cf)](_0x3788b4);}while(_0x3788b4[_0x381f45(0x1d0)]!==_0x381f45(0x195));return _0x4bb17a;}[a70_0x1048b6(0x1d8)](_0x1dbc9d,_0x46d514){const _0x1c4659=a70_0x1048b6;let _0x341323=this[_0x1c4659(0x19f)](_0x1dbc9d,/\((.+?)\)/g);if(_0x341323){let _0x575b3e=_0x1dbc9d[_0x1c4659(0x18e)](0x0,_0x46d514['index']),_0x4cc5c6=_0x341323[0x1],_0x13dda0=_0x4cc5c6[_0x1c4659(0x1f0)]('\x20','')[_0x1c4659(0x1e7)](','),_0x2b6378='',_0x5dada0='';if(_0x575b3e[_0x1c4659(0x1c3)]('\x20')>-0x1){let _0x24923=_0x575b3e[_0x1c4659(0x1b1)]('\x20');_0x5dada0=_0x575b3e[_0x1c4659(0x18e)](0x0,_0x24923+0x1),_0x2b6378=_0x575b3e[_0x1c4659(0x18e)](_0x24923+0x1,_0x575b3e['length']);}else _0x2b6378=_0x575b3e;let _0x103b7e=_0x5dada0;for(let _0x1a7bae=0x0;_0x1a7bae<_0x13dda0['length'];_0x1a7bae++){let _0x251475=_0x13dda0[_0x1a7bae];_0x103b7e+=_0x2b6378+'='+_0x251475,_0x1a7bae<_0x13dda0[_0x1c4659(0x18c)]-0x1&&(_0x103b7e+=_0x1c4659(0x196));}return _0x103b7e;}return _0x1dbc9d;}[a70_0x1048b6(0x1a7)](_0x3a0f6d){const _0x15e9ec=a70_0x1048b6;let _0x3a974a=this,_0x2b1ae9=[],_0x330790=[];while(_0x3a0f6d['length']){let _0x56208f=_0x3a0f6d['shift']();switch(_0x56208f['type']){case _0x15e9ec(0x1ce):case _0x15e9ec(0x1f6):case _0x15e9ec(0x1f5):_0x330790[_0x15e9ec(0x1cf)](_0x56208f);break;case _0x15e9ec(0x1b8):case'BETWEEN':case _0x15e9ec(0x1aa):case _0x15e9ec(0x18b):{let _0x1a7103=this[_0x15e9ec(0x1b5)][_0x56208f[_0x15e9ec(0x1d0)]];while(_0x2b1ae9[_0x15e9ec(0x18c)]>0x0&&this[_0x15e9ec(0x1b5)][_0x2b1ae9[_0x2b1ae9[_0x15e9ec(0x18c)]-0x1][_0x15e9ec(0x1d0)]]<=_0x1a7103){_0x330790[_0x15e9ec(0x1cf)](_0x2b1ae9['pop']());}_0x2b1ae9['push'](_0x56208f);break;}case _0x15e9ec(0x1d7):case'NOT':case _0x15e9ec(0x1c7):_0x2b1ae9[_0x15e9ec(0x1cf)](_0x56208f);break;case _0x15e9ec(0x1f8):while(_0x2b1ae9['length']>0x0&&_0x2b1ae9[_0x2b1ae9['length']-0x1][_0x15e9ec(0x1d0)]!==_0x15e9ec(0x1c7)){_0x330790[_0x15e9ec(0x1cf)](_0x2b1ae9[_0x15e9ec(0x19c)]());}_0x2b1ae9[_0x15e9ec(0x19c)]();_0x2b1ae9['length']>0x0&&(_0x2b1ae9[_0x2b1ae9[_0x15e9ec(0x18c)]-0x1][_0x15e9ec(0x1d0)]===_0x15e9ec(0x1d7)||_0x2b1ae9[_0x2b1ae9[_0x15e9ec(0x18c)]-0x1][_0x15e9ec(0x1d0)]==='NOT')&&_0x330790[_0x15e9ec(0x1cf)](_0x2b1ae9['pop']());break;case _0x15e9ec(0x1d2):case _0x15e9ec(0x195):break;default:throw new Error('Unknown\x20token\x20type\x20'+_0x56208f[_0x15e9ec(0x1d0)]);}}while(_0x2b1ae9[_0x15e9ec(0x18c)]>0x0){_0x330790[_0x15e9ec(0x1cf)](_0x2b1ae9[_0x15e9ec(0x19c)]());}function _0x43e2d7(){const _0xf60c1a=_0x15e9ec;let _0x3a229e,_0x59815f,_0x181044=_0x330790[_0xf60c1a(0x19c)]();switch(_0x181044[_0xf60c1a(0x1d0)]){case _0xf60c1a(0x18b):{let _0x257045=_0x43e2d7(),_0x540b77=_0x43e2d7();return new _0x3a974a[(_0xf60c1a(0x1c6))][(_0x181044['text'][_0xf60c1a(0x1dc)]())](_0x540b77,_0x257045);}case _0xf60c1a(0x1b0):{let _0x3bdac4=_0x43e2d7();return a70_0x36d68f[_0xf60c1a(0x1f2)](_0x3bdac4);}case _0xf60c1a(0x1df):{let _0x1220f6,_0x5d492d;return _0x330790[_0xf60c1a(0x19c)](),_0x5d492d=_0x43e2d7(),_0x1220f6=_0x43e2d7(),_0x59815f=_0x43e2d7(),a70_0x36d68f['between'](_0x59815f,_0x1220f6,_0x5d492d);}case'COMPARISON':{return _0x3a229e=_0x43e2d7(),_0x59815f=_0x43e2d7(),new _0x3a974a['operators'][(_0x181044[_0xf60c1a(0x1da)][_0xf60c1a(0x1dc)]())](_0x59815f,_0x3a229e);}case _0xf60c1a(0x1aa):_0x59815f=_0x43e2d7();return new _0x3a974a[(_0xf60c1a(0x1e5))][(_0x181044[_0xf60c1a(0x1da)][_0xf60c1a(0x1dc)]())](_0x59815f);case'VALUE':{let _0x3753c6=_0x181044[_0xf60c1a(0x1da)]['match'](/^'(.*)'$/);return _0x3753c6?_0x3753c6[0x1][_0xf60c1a(0x193)](/''/g,'\x27'):Number(_0x181044[_0xf60c1a(0x1da)]);}case _0xf60c1a(0x1d7):switch(_0x181044[_0xf60c1a(0x1da)][_0xf60c1a(0x1dc)]()){case _0xf60c1a(0x1e9):{let _0x17d8f9=_0x43e2d7(),_0x9fc1cf=_0x43e2d7(),_0x5ed54c=_0x43e2d7(),_0x2c4717=_0x43e2d7(),_0x5c0eb4=_0x43e2d7();return a70_0x36d68f[_0xf60c1a(0x1ac)](_0x5c0eb4,[_0x2c4717,_0x5ed54c,_0x9fc1cf,_0x17d8f9]);}case'INTERSECTS':_0x3a229e=_0x43e2d7(),_0x59815f=_0x43e2d7();return a70_0x36d68f[_0xf60c1a(0x1d5)](_0x59815f,_0x3a229e);case _0xf60c1a(0x1a8):_0x3a229e=_0x43e2d7(),_0x59815f=_0x43e2d7();return a70_0x36d68f[_0xf60c1a(0x1a9)](_0x59815f,_0x3a229e);case'CONTAINS':_0x3a229e=_0x43e2d7(),_0x59815f=_0x43e2d7();return a70_0x36d68f[_0xf60c1a(0x197)](_0x59815f,_0x3a229e);}break;case _0xf60c1a(0x1f6):return new WKT()['readGeometry'](_0x181044[_0xf60c1a(0x1da)],{});default:return _0x181044['text'];}}let _0x30a25a=_0x43e2d7();if(_0x330790[_0x15e9ec(0x18c)]>0x0){let _0x16b44b='剩余的节点无法解析:\x20\x0a';for(let _0x379867=_0x330790[_0x15e9ec(0x18c)]-0x1;_0x379867>=0x0;_0x379867--){_0x16b44b+=_0x330790[_0x379867]['type']+':\x20'+_0x330790[_0x379867][_0x15e9ec(0x1da)]+'\x0a';}throw new Error(_0x16b44b);}return _0x30a25a;}[a70_0x1048b6(0x1be)](_0x25445d){const _0x4747e4=a70_0x1048b6;try{return this['buildAst'](this[_0x4747e4(0x1ec)](_0x25445d));}catch(_0xec9d7f){console[_0x4747e4(0x1b3)](_0x4747e4(0x1ae)+_0x25445d),console[_0x4747e4(0x1b3)](_0xec9d7f);}}[a70_0x1048b6(0x1a4)](_0x3674c3){const _0x84a719=a70_0x1048b6;switch(_0x3674c3[_0x84a719(0x18d)]){case _0x84a719(0x1e9):return _0x84a719(0x1c0)+_0x3674c3['geometryName']+','+_0x3674c3[_0x84a719(0x1b2)][_0x84a719(0x1f3)](',')+','+_0x3674c3[_0x84a719(0x1cc)]+')';case _0x84a719(0x1f1):return _0x84a719(0x1a0)+_0x3674c3[_0x84a719(0x1d6)]+',\x20'+this['readGeometry'](_0x3674c3[_0x84a719(0x1eb)])+')';case _0x84a719(0x1a2):return _0x84a719(0x19a)+_0x3674c3[_0x84a719(0x1d6)]+',\x20'+this['readGeometry'](_0x3674c3[_0x84a719(0x1eb)])+')';case _0x84a719(0x18f):return _0x84a719(0x19d)+_0x3674c3['geometryName']+',\x20'+this[_0x84a719(0x1e2)](_0x3674c3['geometry'])+')';case _0x84a719(0x1d1):return _0x84a719(0x1ea)+this[_0x84a719(0x1a4)](_0x3674c3[_0x84a719(0x1ad)])+')';case'And':case'Or':{let _0x37d311='(',_0x17c4af=!![];for(let _0x5a117b=0x0;_0x5a117b<_0x3674c3['conditions'][_0x84a719(0x18c)];_0x5a117b++){_0x17c4af?_0x17c4af=![]:_0x37d311+=')\x20'+_0x3674c3[_0x84a719(0x18d)][_0x84a719(0x1bf)]()+'\x20(',_0x37d311+=this[_0x84a719(0x1a4)](_0x3674c3[_0x84a719(0x198)][_0x5a117b]);}return _0x37d311+')';}case _0x84a719(0x1db):return _0x3674c3['property']+'\x20BETWEEN\x20'+this[_0x84a719(0x1a4)](_0x3674c3['lowerBoundary'])+_0x84a719(0x1ef)+this[_0x84a719(0x1a4)](_0x3674c3[_0x84a719(0x1d3)]);case _0x84a719(0x1bc):case'PropertyIsNotEqualTo':case'PropertyIsLessThan':case'PropertyIsLessThanOrEqualTo':case'PropertyIsGreaterThan':case _0x84a719(0x1b4):case _0x84a719(0x1d4):case _0x84a719(0x191):{return _0x3674c3[_0x84a719(0x1a5)]!==null?_0x3674c3[_0x84a719(0x19e)]+'\x20'+this[_0x84a719(0x1e6)][_0x3674c3[_0x84a719(0x18d)]]+'\x20'+this[_0x84a719(0x1a4)](_0x3674c3[_0x84a719(0x1a5)]):_0x3674c3[_0x84a719(0x19e)]+'\x20'+this[_0x84a719(0x1e6)][_0x3674c3['tagName_']];}case undefined:if(typeof _0x3674c3===_0x84a719(0x1b7))return'\x27'+_0x3674c3['replace'](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x3674c3===_0x84a719(0x1de))return String(_0x3674c3);}break;default:throw new Error(_0x84a719(0x1e1)+_0x3674c3[_0x84a719(0x1f4)]+'\x20'+_0x3674c3);}}[a70_0x1048b6(0x1e2)](_0x4e4f59){const _0x45c52b=a70_0x1048b6;if(_0x4e4f59 instanceof a70_0x3624fe)return new WKT()[_0x45c52b(0x1a1)](_0x4e4f59);}}
@@ -1 +1 @@
1
- (function(_0x388f70,_0x5705bc){const _0x3a8615=a71_0x4b3d,_0x31355d=_0x388f70();while(!![]){try{const _0x1829d9=parseInt(_0x3a8615(0x1b4))/0x1+-parseInt(_0x3a8615(0x1cc))/0x2*(parseInt(_0x3a8615(0x1b6))/0x3)+parseInt(_0x3a8615(0x1c3))/0x4*(-parseInt(_0x3a8615(0x1c8))/0x5)+parseInt(_0x3a8615(0x1c9))/0x6+-parseInt(_0x3a8615(0x1b9))/0x7+parseInt(_0x3a8615(0x1bb))/0x8*(parseInt(_0x3a8615(0x1cb))/0x9)+-parseInt(_0x3a8615(0x1c6))/0xa;if(_0x1829d9===_0x5705bc)break;else _0x31355d['push'](_0x31355d['shift']());}catch(_0x419ced){_0x31355d['push'](_0x31355d['shift']());}}}(a71_0x381d,0x848b1));import a71_0x26f49d from'./CQL';export function isMatchCql(_0x103319,_0x4c2594){const _0x43acf2=a71_0x4b3d;let _0x3b942d=new a71_0x26f49d()[_0x43acf2(0x1b2)](_0x4c2594);return isMatchFilter(_0x103319,_0x3b942d);}export function isMatchFilter(_0x360353,_0xac9069){const _0x2c57d4=a71_0x4b3d;switch(_0xac9069['tagName_']){case _0x2c57d4(0x1bf):return!isMatchFilter(_0x360353,_0xac9069[_0x2c57d4(0x1c0)]);case _0x2c57d4(0x1b5):{let _0x32c110=!![];for(let _0x443b63=0x0;_0x443b63<_0xac9069[_0x2c57d4(0x1d0)][_0x2c57d4(0x1ba)];_0x443b63++){_0x32c110=_0x32c110&&isMatchFilter(_0x360353,_0xac9069[_0x2c57d4(0x1d0)][_0x443b63]);}return _0x32c110;}case'Or':{let _0x16197b=![];for(let _0x527878=0x0;_0x527878<_0xac9069['conditions']['length'];_0x527878++){_0x16197b=_0x16197b||isMatchFilter(_0x360353,_0xac9069[_0x2c57d4(0x1d0)][_0x527878]);}return _0x16197b;}case _0x2c57d4(0x1c2):return _0x360353[_0xac9069[_0x2c57d4(0x1cd)]]>_0xac9069['lowerBoundary']&&_0x360353[_0xac9069[_0x2c57d4(0x1cd)]]<_0xac9069[_0x2c57d4(0x1cf)];case _0x2c57d4(0x1b7):return _0x360353[_0xac9069[_0x2c57d4(0x1c1)]]===_0xac9069[_0x2c57d4(0x1b8)];case'PropertyIsNotEqualTo':return _0x360353[_0xac9069[_0x2c57d4(0x1c1)]]!==_0xac9069[_0x2c57d4(0x1b8)];case _0x2c57d4(0x1ce):return _0x360353[_0xac9069[_0x2c57d4(0x1c1)]]<_0xac9069[_0x2c57d4(0x1b8)];case'PropertyIsLessThanOrEqualTo':return _0x360353[_0xac9069['propertyName']]<=_0xac9069[_0x2c57d4(0x1b8)];case _0x2c57d4(0x1bd):return _0x360353[_0xac9069[_0x2c57d4(0x1c1)]]>_0xac9069[_0x2c57d4(0x1b8)];case'PropertyIsGreaterThanOrEqualTo':return _0x360353[_0xac9069['propertyName']]>=_0xac9069['expression'];case _0x2c57d4(0x1be):return _0x360353[_0xac9069[_0x2c57d4(0x1c1)]]['indexOf'](_0xac9069[_0x2c57d4(0x1b8)])>-0x1;case _0x2c57d4(0x1bc):{return!_0x360353[_0xac9069[_0x2c57d4(0x1c1)]];}default:return![];}}export function isEqualFilter(_0x2066b4,_0xf2671){const _0xf53308=a71_0x4b3d;switch(_0x2066b4[_0xf53308(0x1d1)]){case'Not':return _0x2066b4[_0xf53308(0x1d1)]===_0xf2671[_0xf53308(0x1d1)]&&isEqualFilter(_0x2066b4[_0xf53308(0x1c0)],_0xf2671[_0xf53308(0x1c0)]);case'Or':case'And':{let _0x340874=_0x2066b4[_0xf53308(0x1d1)]===_0xf2671[_0xf53308(0x1d1)]&&_0x2066b4['conditions'][_0xf53308(0x1ba)]===_0xf2671[_0xf53308(0x1d0)][_0xf53308(0x1ba)];for(let _0x18ea68=0x0;_0x18ea68<_0x2066b4[_0xf53308(0x1d0)][_0xf53308(0x1ba)];_0x18ea68++){_0x340874=_0x340874&&isEqualFilter(_0x2066b4[_0xf53308(0x1d0)][_0x18ea68],_0xf2671['conditions'][_0x18ea68]);}return _0x340874;}case _0xf53308(0x1c2):return _0x2066b4[_0xf53308(0x1d1)]===_0xf2671[_0xf53308(0x1d1)]&&_0x2066b4['property']===_0xf2671[_0xf53308(0x1cd)];case _0xf53308(0x1b7):case _0xf53308(0x1c4):case _0xf53308(0x1ce):case _0xf53308(0x1c7):case _0xf53308(0x1bd):case _0xf53308(0x1ca):case _0xf53308(0x1be):case _0xf53308(0x1bc):return _0x2066b4['tagName_']===_0xf2671[_0xf53308(0x1d1)]&&_0x2066b4[_0xf53308(0x1c1)]===_0xf2671[_0xf53308(0x1c1)];default:return![];}}function a71_0x4b3d(_0xa4c621,_0x1e9189){const _0x381dca=a71_0x381d();return a71_0x4b3d=function(_0x4b3d73,_0x39faa4){_0x4b3d73=_0x4b3d73-0x1b2;let _0x3fc2c2=_0x381dca[_0x4b3d73];return _0x3fc2c2;},a71_0x4b3d(_0xa4c621,_0x1e9189);}export function indexOfFilter(_0x10d319,_0x2831c3){const _0x3ae6b1=a71_0x4b3d;let _0x288882=-0x1;if((_0x10d319===null||_0x10d319===void 0x0?void 0x0:_0x10d319[_0x3ae6b1(0x1ba)])>0x0)for(let _0xe997c7 in _0x10d319){if(isEqualFilter(_0x10d319[_0xe997c7]['template'],_0x2831c3))return _0xe997c7;}return _0x288882;}function a71_0x381d(){const _0x3341b6=['PropertyIsLike','Not','condition','propertyName','PropertyIsBetween','241988XJwEQX','PropertyIsNotEqualTo','join','1212780uGclIy','PropertyIsLessThanOrEqualTo','10tSpcOL','4130724NiZsSQ','PropertyIsGreaterThanOrEqualTo','738JLrFNT','1672412wMFbnN','property','PropertyIsLessThan','upperBoundary','conditions','tagName_','read','push','764390WaWmDP','And','3XjQdSa','PropertyIsEqualTo','expression','5689341KjdnGk','length','95736rnyuQK','PropertyIsNull','PropertyIsGreaterThan'];a71_0x381d=function(){return _0x3341b6;};return a71_0x381d();}export function getIndexByTemplate(_0x371d5c,_0x25ac21){let _0x7311cf=_0x25ac21['template'];if(_0x25ac21['idMapLength']>0x0){let _0x49d355=getKeyByTemplate(_0x371d5c,_0x7311cf);if(_0x49d355 instanceof Array)for(let _0x359a63 in _0x49d355){let _0x338577=_0x25ac21['idMap'][_0x49d355[_0x359a63]+'_'+_0x359a63];if(_0x338577)return _0x338577;}else return _0x25ac21['idMap'][_0x49d355];}return null;}export function getKeyByTemplate(_0x5682d8,_0x1638c6){const _0x193b9c=a71_0x4b3d;switch(_0x1638c6[_0x193b9c(0x1d1)]){case _0x193b9c(0x1b7):{return _0x5682d8[_0x1638c6['propertyName']];}case _0x193b9c(0x1b5):{let _0x5e25cc=[];for(let _0x39c752=0x0;_0x39c752<_0x1638c6['conditions'][_0x193b9c(0x1ba)];_0x39c752++){let _0x46b15b=getKeyByTemplate(_0x5682d8,_0x1638c6[_0x193b9c(0x1d0)][_0x39c752]);_0x46b15b&&_0x5e25cc[_0x193b9c(0x1b3)](_0x46b15b);}return _0x5e25cc[_0x193b9c(0x1c5)](',');}case'Or':{let _0x21523a=[];for(let _0x588f68=0x0;_0x588f68<_0x1638c6[_0x193b9c(0x1d0)]['length'];_0x588f68++){let _0xe11bde=getKeyByTemplate(_0x5682d8,_0x1638c6['conditions'][_0x588f68]);_0xe11bde&&_0x21523a['push'](_0xe11bde);}return _0x21523a;}default:return null;}}export function createKeyFromFilter(_0x50a065){const _0x3bbf90=a71_0x4b3d;switch(_0x50a065['tagName_']){case _0x3bbf90(0x1b7):return _0x50a065[_0x3bbf90(0x1b8)];case _0x3bbf90(0x1b5):{let _0x17cd7b=[];for(let _0x4643f2=0x0;_0x4643f2<_0x50a065[_0x3bbf90(0x1d0)][_0x3bbf90(0x1ba)];_0x4643f2++){let _0x30518c=createKeyFromFilter(_0x50a065['conditions'][_0x4643f2]);if(_0x30518c)_0x17cd7b[_0x3bbf90(0x1b3)](_0x30518c);else return null;}return _0x17cd7b['join'](',');}case'Or':{let _0x1c9986=[];for(let _0x22b823=0x0;_0x22b823<_0x50a065[_0x3bbf90(0x1d0)]['length'];_0x22b823++){let _0x440a7c=createKeyFromFilter(_0x50a065['conditions'][_0x22b823]);_0x440a7c&&_0x1c9986[_0x3bbf90(0x1b3)](_0x440a7c);}return _0x1c9986;}default:return null;}}
1
+ (function(_0x26e0a7,_0x484fee){const _0x156dc1=a71_0x1c76,_0x1cb65e=_0x26e0a7();while(!![]){try{const _0x4c5beb=parseInt(_0x156dc1(0x11b))/0x1*(parseInt(_0x156dc1(0x119))/0x2)+parseInt(_0x156dc1(0x111))/0x3*(-parseInt(_0x156dc1(0x12d))/0x4)+parseInt(_0x156dc1(0x10e))/0x5+parseInt(_0x156dc1(0x113))/0x6*(parseInt(_0x156dc1(0x116))/0x7)+-parseInt(_0x156dc1(0x127))/0x8+parseInt(_0x156dc1(0x10c))/0x9+-parseInt(_0x156dc1(0x128))/0xa;if(_0x4c5beb===_0x484fee)break;else _0x1cb65e['push'](_0x1cb65e['shift']());}catch(_0x274397){_0x1cb65e['push'](_0x1cb65e['shift']());}}}(a71_0x11ff,0xf06f6));import a71_0x388407 from'./CQL';export function isMatchCql(_0x246d65,_0x484994){const _0x7fe075=a71_0x1c76;let _0xf161ae=new a71_0x388407()[_0x7fe075(0x126)](_0x484994);return isMatchFilter(_0x246d65,_0xf161ae);}function a71_0x1c76(_0x3000af,_0xc9ac8){const _0x11ff74=a71_0x11ff();return a71_0x1c76=function(_0x1c76fa,_0x115326){_0x1c76fa=_0x1c76fa-0x10c;let _0x493b20=_0x11ff74[_0x1c76fa];return _0x493b20;},a71_0x1c76(_0x3000af,_0xc9ac8);}export function isMatchFilter(_0xfb741b,_0x10815c){const _0x3a0c3f=a71_0x1c76;switch(_0x10815c[_0x3a0c3f(0x124)]){case _0x3a0c3f(0x12c):return!isMatchFilter(_0xfb741b,_0x10815c[_0x3a0c3f(0x123)]);case'And':{let _0x5ce94e=!![];for(let _0x1980e2=0x0;_0x1980e2<_0x10815c[_0x3a0c3f(0x114)][_0x3a0c3f(0x12b)];_0x1980e2++){_0x5ce94e=_0x5ce94e&&isMatchFilter(_0xfb741b,_0x10815c[_0x3a0c3f(0x114)][_0x1980e2]);}return _0x5ce94e;}case'Or':{let _0x52d02c=![];for(let _0x1f0ec8=0x0;_0x1f0ec8<_0x10815c[_0x3a0c3f(0x114)][_0x3a0c3f(0x12b)];_0x1f0ec8++){_0x52d02c=_0x52d02c||isMatchFilter(_0xfb741b,_0x10815c[_0x3a0c3f(0x114)][_0x1f0ec8]);}return _0x52d02c;}case _0x3a0c3f(0x110):return _0xfb741b[_0x10815c[_0x3a0c3f(0x11c)]]>_0x10815c['lowerBoundary']&&_0xfb741b[_0x10815c[_0x3a0c3f(0x11c)]]<_0x10815c[_0x3a0c3f(0x121)];case'PropertyIsEqualTo':return _0xfb741b[_0x10815c[_0x3a0c3f(0x120)]]===_0x10815c['expression'];case _0x3a0c3f(0x10f):return _0xfb741b[_0x10815c['propertyName']]!==_0x10815c[_0x3a0c3f(0x117)];case _0x3a0c3f(0x112):return _0xfb741b[_0x10815c[_0x3a0c3f(0x120)]]<_0x10815c[_0x3a0c3f(0x117)];case'PropertyIsLessThanOrEqualTo':return _0xfb741b[_0x10815c['propertyName']]<=_0x10815c[_0x3a0c3f(0x117)];case _0x3a0c3f(0x129):return _0xfb741b[_0x10815c[_0x3a0c3f(0x120)]]>_0x10815c[_0x3a0c3f(0x117)];case _0x3a0c3f(0x11f):return _0xfb741b[_0x10815c['propertyName']]>=_0x10815c[_0x3a0c3f(0x117)];case _0x3a0c3f(0x11a):return _0xfb741b[_0x10815c['propertyName']][_0x3a0c3f(0x12a)](_0x10815c[_0x3a0c3f(0x117)])>-0x1;case _0x3a0c3f(0x11d):{return!_0xfb741b[_0x10815c[_0x3a0c3f(0x120)]];}default:return![];}}export function isEqualFilter(_0x1ab77d,_0x2f7675){const _0x3d79c7=a71_0x1c76;switch(_0x1ab77d[_0x3d79c7(0x124)]){case _0x3d79c7(0x12c):return _0x1ab77d[_0x3d79c7(0x124)]===_0x2f7675[_0x3d79c7(0x124)]&&isEqualFilter(_0x1ab77d['condition'],_0x2f7675[_0x3d79c7(0x123)]);case'Or':case _0x3d79c7(0x10d):{let _0x40c2a3=_0x1ab77d[_0x3d79c7(0x124)]===_0x2f7675[_0x3d79c7(0x124)]&&_0x1ab77d[_0x3d79c7(0x114)][_0x3d79c7(0x12b)]===_0x2f7675[_0x3d79c7(0x114)]['length'];for(let _0x36c8c3=0x0;_0x36c8c3<_0x1ab77d['conditions']['length'];_0x36c8c3++){_0x40c2a3=_0x40c2a3&&isEqualFilter(_0x1ab77d[_0x3d79c7(0x114)][_0x36c8c3],_0x2f7675[_0x3d79c7(0x114)][_0x36c8c3]);}return _0x40c2a3;}case _0x3d79c7(0x110):return _0x1ab77d[_0x3d79c7(0x124)]===_0x2f7675['tagName_']&&_0x1ab77d[_0x3d79c7(0x11c)]===_0x2f7675[_0x3d79c7(0x11c)];case _0x3d79c7(0x115):case'PropertyIsNotEqualTo':case _0x3d79c7(0x112):case'PropertyIsLessThanOrEqualTo':case _0x3d79c7(0x129):case'PropertyIsGreaterThanOrEqualTo':case _0x3d79c7(0x11a):case _0x3d79c7(0x11d):return _0x1ab77d[_0x3d79c7(0x124)]===_0x2f7675[_0x3d79c7(0x124)]&&_0x1ab77d[_0x3d79c7(0x120)]===_0x2f7675[_0x3d79c7(0x120)];default:return![];}}export function indexOfFilter(_0x1c0fbc,_0x3db0a8){let _0x3c0cfb=-0x1;if((_0x1c0fbc===null||_0x1c0fbc===void 0x0?void 0x0:_0x1c0fbc['length'])>0x0)for(let _0x461813 in _0x1c0fbc){if(isEqualFilter(_0x1c0fbc[_0x461813]['template'],_0x3db0a8))return _0x461813;}return _0x3c0cfb;}export function getIndexByTemplate(_0x589b83,_0x299d10){const _0x56e3e=a71_0x1c76;let _0x483150=_0x299d10[_0x56e3e(0x118)];if(_0x299d10['idMapLength']>0x0){let _0x347d65=getKeyByTemplate(_0x589b83,_0x483150);if(_0x347d65 instanceof Array)for(let _0x1aac12 in _0x347d65){let _0x98f146=_0x299d10[_0x56e3e(0x125)][_0x347d65[_0x1aac12]+'_'+_0x1aac12];if(_0x98f146)return _0x98f146;}else return _0x299d10[_0x56e3e(0x125)][_0x347d65];}return null;}export function getKeyByTemplate(_0x796535,_0x50564a){const _0x2fbb9d=a71_0x1c76;switch(_0x50564a[_0x2fbb9d(0x124)]){case _0x2fbb9d(0x115):{return _0x796535[_0x50564a[_0x2fbb9d(0x120)]];}case _0x2fbb9d(0x10d):{let _0x3e4ca9=[];for(let _0x1b8713=0x0;_0x1b8713<_0x50564a[_0x2fbb9d(0x114)][_0x2fbb9d(0x12b)];_0x1b8713++){let _0x5250a9=getKeyByTemplate(_0x796535,_0x50564a['conditions'][_0x1b8713]);_0x5250a9&&_0x3e4ca9[_0x2fbb9d(0x122)](_0x5250a9);}return _0x3e4ca9[_0x2fbb9d(0x11e)](',');}case'Or':{let _0x10c910=[];for(let _0xe1831d=0x0;_0xe1831d<_0x50564a[_0x2fbb9d(0x114)][_0x2fbb9d(0x12b)];_0xe1831d++){let _0x1fe4de=getKeyByTemplate(_0x796535,_0x50564a['conditions'][_0xe1831d]);_0x1fe4de&&_0x10c910[_0x2fbb9d(0x122)](_0x1fe4de);}return _0x10c910;}default:return null;}}export function createKeyFromFilter(_0x412a2d){const _0x1d5ebf=a71_0x1c76;switch(_0x412a2d[_0x1d5ebf(0x124)]){case _0x1d5ebf(0x115):return _0x412a2d[_0x1d5ebf(0x117)];case _0x1d5ebf(0x10d):{let _0x56b1f1=[];for(let _0xff1138=0x0;_0xff1138<_0x412a2d[_0x1d5ebf(0x114)]['length'];_0xff1138++){let _0xf14e2a=createKeyFromFilter(_0x412a2d['conditions'][_0xff1138]);if(_0xf14e2a)_0x56b1f1[_0x1d5ebf(0x122)](_0xf14e2a);else return null;}return _0x56b1f1[_0x1d5ebf(0x11e)](',');}case'Or':{let _0x1836d3=[];for(let _0x249ffb=0x0;_0x249ffb<_0x412a2d[_0x1d5ebf(0x114)][_0x1d5ebf(0x12b)];_0x249ffb++){let _0x429ebd=createKeyFromFilter(_0x412a2d[_0x1d5ebf(0x114)][_0x249ffb]);_0x429ebd&&_0x1836d3[_0x1d5ebf(0x122)](_0x429ebd);}return _0x1836d3;}default:return null;}}function a71_0x11ff(){const _0x4be3ee=['PropertyIsLessThan','6mOxAQP','conditions','PropertyIsEqualTo','13061454lebaQW','expression','template','81092tmkdnS','PropertyIsLike','47Ocznha','property','PropertyIsNull','join','PropertyIsGreaterThanOrEqualTo','propertyName','upperBoundary','push','condition','tagName_','idMap','read','8814584epRQKZ','29930070yRBBBW','PropertyIsGreaterThan','indexOf','length','Not','7653052jOWCUD','15404400hiqGKF','And','7548655sQUsVL','PropertyIsNotEqualTo','PropertyIsBetween','3mzuLnJ'];a71_0x11ff=function(){return _0x4be3ee;};return a71_0x11ff();}
@@ -1 +1 @@
1
- const a74_0x3e8ff1=a74_0x3875;(function(_0x54189e,_0x2a737e){const _0x5f3d75=a74_0x3875,_0x24f62d=_0x54189e();while(!![]){try{const _0x25dffc=parseInt(_0x5f3d75(0x86))/0x1*(parseInt(_0x5f3d75(0x8a))/0x2)+-parseInt(_0x5f3d75(0x90))/0x3+-parseInt(_0x5f3d75(0x87))/0x4*(parseInt(_0x5f3d75(0x93))/0x5)+parseInt(_0x5f3d75(0x85))/0x6+-parseInt(_0x5f3d75(0x96))/0x7*(parseInt(_0x5f3d75(0x8b))/0x8)+-parseInt(_0x5f3d75(0x8f))/0x9+parseInt(_0x5f3d75(0x8e))/0xa;if(_0x25dffc===_0x2a737e)break;else _0x24f62d['push'](_0x24f62d['shift']());}catch(_0x12651f){_0x24f62d['push'](_0x24f62d['shift']());}}}(a74_0x5326,0x621fe));import{asString}from'ol/color';class ImageCache{constructor(){const _0x4828e9=a74_0x3875;this[_0x4828e9(0x88)]={},this[_0x4828e9(0x8d)]=0x0;}[a74_0x3e8ff1(0x91)](){const _0x1f5dfa=a74_0x3e8ff1;this['cache_']={},this[_0x1f5dfa(0x8d)]=0x0;}[a74_0x3e8ff1(0x8c)](_0x2c1340){const _0x1fdb69=a74_0x3e8ff1,_0x22328a=getKey(_0x2c1340['markerLabel'],_0x2c1340[_0x1fdb69(0x89)],_0x2c1340['markerColor'],_0x2c1340[_0x1fdb69(0x97)]);return _0x22328a in this[_0x1fdb69(0x88)]?this[_0x1fdb69(0x88)][_0x22328a]:null;}[a74_0x3e8ff1(0x95)](_0x2be921,_0x273086){const _0x3224ab=a74_0x3e8ff1,_0x412c1d=getKey(_0x2be921[_0x3224ab(0x92)],_0x2be921[_0x3224ab(0x89)],_0x2be921[_0x3224ab(0x94)],_0x2be921[_0x3224ab(0x97)]);this[_0x3224ab(0x88)][_0x412c1d]=_0x273086,++this[_0x3224ab(0x8d)];}}function getKey(_0x17ea1c,_0x5dc7d1,_0x5d7c1c,_0x5cc1ce){const _0xec7c3d=_0x5d7c1c?asString(_0x5d7c1c):'null';return _0x17ea1c+':'+_0x5cc1ce+':'+_0xec7c3d+':'+_0x5dc7d1;}function a74_0x3875(_0x50e2f4,_0x5c6bb0){const _0x5326c2=a74_0x5326();return a74_0x3875=function(_0x387581,_0x8971f1){_0x387581=_0x387581-0x85;let _0x52a029=_0x5326c2[_0x387581];return _0x52a029;},a74_0x3875(_0x50e2f4,_0x5c6bb0);}export default ImageCache;export const shared=new ImageCache();function a74_0x5326(){const _0x50f8f2=['get','cacheSize_','18570730nHkYJh','3668841vhDmSV','614304eTMuLp','clear','markerLabel','205dFZaZU','markerColor','set','124502sKqvFC','image','683562AplFqr','80nQeyUJ','34612yOsbYc','cache_','markerSize','3628sNiHwM','336WnJLzT'];a74_0x5326=function(){return _0x50f8f2;};return a74_0x5326();}
1
+ function a74_0x31eb(_0x4a01b2,_0x3663ac){const _0x4fe121=a74_0x4fe1();return a74_0x31eb=function(_0x31eb45,_0x116d85){_0x31eb45=_0x31eb45-0xef;let _0x4a38c1=_0x4fe121[_0x31eb45];return _0x4a38c1;},a74_0x31eb(_0x4a01b2,_0x3663ac);}const a74_0x4cba58=a74_0x31eb;(function(_0x39ff13,_0x169317){const _0x576f21=a74_0x31eb,_0x4c84a1=_0x39ff13();while(!![]){try{const _0x669416=parseInt(_0x576f21(0xf9))/0x1*(-parseInt(_0x576f21(0xff))/0x2)+-parseInt(_0x576f21(0x102))/0x3+-parseInt(_0x576f21(0xfa))/0x4*(parseInt(_0x576f21(0xf1))/0x5)+parseInt(_0x576f21(0xf4))/0x6*(parseInt(_0x576f21(0x100))/0x7)+-parseInt(_0x576f21(0xf0))/0x8*(parseInt(_0x576f21(0xfe))/0x9)+-parseInt(_0x576f21(0xf8))/0xa*(parseInt(_0x576f21(0xfb))/0xb)+parseInt(_0x576f21(0xf2))/0xc;if(_0x669416===_0x169317)break;else _0x4c84a1['push'](_0x4c84a1['shift']());}catch(_0x6c939b){_0x4c84a1['push'](_0x4c84a1['shift']());}}}(a74_0x4fe1,0xb7b19));import{asString}from'ol/color';class ImageCache{constructor(){const _0x2f5729=a74_0x31eb;this[_0x2f5729(0xf3)]={},this[_0x2f5729(0x103)]=0x0;}[a74_0x4cba58(0xf5)](){const _0x2736e3=a74_0x4cba58;this[_0x2736e3(0xf3)]={},this['cacheSize_']=0x0;}['get'](_0x5843a5){const _0x5c0748=a74_0x4cba58,_0x3e8982=getKey(_0x5843a5[_0x5c0748(0xf6)],_0x5843a5[_0x5c0748(0xef)],_0x5843a5[_0x5c0748(0xfc)],_0x5843a5[_0x5c0748(0xfd)]);return _0x3e8982 in this[_0x5c0748(0xf3)]?this[_0x5c0748(0xf3)][_0x3e8982]:null;}[a74_0x4cba58(0xf7)](_0x17d3fb,_0x1d4c9d){const _0x316f3c=a74_0x4cba58,_0x17d936=getKey(_0x17d3fb[_0x316f3c(0xf6)],_0x17d3fb[_0x316f3c(0xef)],_0x17d3fb[_0x316f3c(0xfc)],_0x17d3fb[_0x316f3c(0xfd)]);this['cache_'][_0x17d936]=_0x1d4c9d,++this[_0x316f3c(0x103)];}}function getKey(_0xdffb7e,_0xe84f38,_0x10a49b,_0x2e72e5){const _0x2c754c=a74_0x4cba58,_0x555f11=_0x10a49b?asString(_0x10a49b):_0x2c754c(0x101);return _0xdffb7e+':'+_0x2e72e5+':'+_0x555f11+':'+_0xe84f38;}export default ImageCache;export const shared=new ImageCache();function a74_0x4fe1(){const _0x45bd6b=['markerSize','151176ZGJBeD','3865mEfTcj','53906232PCTlld','cache_','48JyGPFi','clear','markerLabel','set','120tDlgVb','57OqSMYu','5008pVgjjP','632907hmTdCu','markerColor','image','441pqsVhH','26734dfSBCm','173110TPbvIT','null','1774515JOiAnr','cacheSize_'];a74_0x4fe1=function(){return _0x45bd6b;};return a74_0x4fe1();}
@@ -1 +1 @@
1
- const a75_0x5e7e89=a75_0x1262;(function(_0x2ad9de,_0x314997){const _0x2fa6fc=a75_0x1262,_0x424192=_0x2ad9de();while(!![]){try{const _0x29ee3d=-parseInt(_0x2fa6fc(0x1a6))/0x1*(parseInt(_0x2fa6fc(0x18a))/0x2)+-parseInt(_0x2fa6fc(0x199))/0x3+parseInt(_0x2fa6fc(0x1a4))/0x4+-parseInt(_0x2fa6fc(0x1b0))/0x5*(parseInt(_0x2fa6fc(0x181))/0x6)+-parseInt(_0x2fa6fc(0x1a1))/0x7*(-parseInt(_0x2fa6fc(0x1ad))/0x8)+-parseInt(_0x2fa6fc(0x183))/0x9+parseInt(_0x2fa6fc(0x182))/0xa;if(_0x29ee3d===_0x314997)break;else _0x424192['push'](_0x424192['shift']());}catch(_0x29d5f0){_0x424192['push'](_0x424192['shift']());}}}(a75_0x5ecc,0x2461d));import a75_0x411d8f from'color';import a75_0x366463 from'./writeTextToCanvas';import{Icon}from'ol/style';import a75_0x16b4f3 from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';function a75_0x1262(_0xec9063,_0x249005){const _0x5ecc74=a75_0x5ecc();return a75_0x1262=function(_0x126215,_0x505bde){_0x126215=_0x126215-0x17c;let _0x270374=_0x5ecc74[_0x126215];return _0x270374;},a75_0x1262(_0xec9063,_0x249005);}class PinBuilder{constructor(){const _0x2a539c=a75_0x1262;this[_0x2a539c(0x192)]={};}[a75_0x5e7e89(0x1a5)](_0x36694b,_0x2b0f48){const _0x3ee6b2=a75_0x5e7e89;if(!_0x36694b)throw new Error(_0x3ee6b2(0x189));if(!_0x2b0f48)throw new Error(_0x3ee6b2(0x17c));return createPin('','',_0x36694b,_0x2b0f48,this['_cache']);}[a75_0x5e7e89(0x1a0)](_0x4d61b5,_0x1e6d32,_0x35f36b){const _0x1756d6=a75_0x5e7e89;if(!_0x4d61b5)throw new Error('url\x20is\x20required');if(!_0x1e6d32)throw new Error(_0x1756d6(0x189));if(!_0x35f36b)throw new Error(_0x1756d6(0x17c));return createPin(_0x4d61b5,'',_0x1e6d32,_0x35f36b,this[_0x1756d6(0x192)]);}[a75_0x5e7e89(0x193)](_0x587ac8,_0x4e4469,_0x3e3ca0){const _0x205f9d=a75_0x5e7e89;if(!_0x587ac8)throw new Error(_0x205f9d(0x186));if(!_0x4e4469)throw new Error(_0x205f9d(0x189));if(!_0x3e3ca0)throw new Error(_0x205f9d(0x17c));return createPin(parseImage(_0x587ac8),'',_0x4e4469,_0x3e3ca0,this[_0x205f9d(0x192)]);}['fromText'](_0x2c3a8f,_0x432ae5,_0x4c60d9){const _0x451076=a75_0x5e7e89;if(!_0x2c3a8f)throw new Error(_0x451076(0x1a3));if(!_0x432ae5)throw new Error(_0x451076(0x189));if(!_0x4c60d9)throw new Error('size\x20is\x20required');return createPin('',_0x2c3a8f,_0x432ae5,_0x4c60d9,this[_0x451076(0x192)]);}}function a75_0x5ecc(){const _0x452ed9=['target','IDLE','119265plbfpK','#FFFFFF','bold\x20','bezierCurveTo','destination-out','fill','save','fromUrl','7LHmyVZ','listenImageChange','text\x20is\x20required','289680xjvoGZ','fromColor','3tmwubU','fillRect','ERROR','restore','width','load','stringify','1196264qhegjL','beginPath','destination-over','31890TjwCiI','size\x20is\x20required','hexa','px\x20sans-serif','closePath','createElement','60KEnMQu','2249560scDpfn','1323900AXEfcm','getImage','getImageState','id\x20is\x20required','LOADED','drawImage','color\x20is\x20required','31502OvKeFj','globalCompositeOperation','toDataURL','fillStyle','lighten','moveTo','#000000','lineTo','_cache','fromMakiIconId','scale','lineWidth','height'];a75_0x5ecc=function(){return _0x452ed9;};return a75_0x5ecc();}function drawPin(_0x16ac1,_0x35feca,_0x479542){const _0x254feb=a75_0x5e7e89;_0x16ac1[_0x254feb(0x19f)](),_0x16ac1[_0x254feb(0x194)](_0x479542/0x18,_0x479542/0x18),_0x16ac1[_0x254feb(0x18d)]=_0x35feca,_0x16ac1['strokeStyle']=a75_0x411d8f(_0x35feca)[_0x254feb(0x18e)](0.6)[_0x254feb(0x17d)](),_0x16ac1[_0x254feb(0x195)]=0.846,_0x16ac1[_0x254feb(0x1ae)](),_0x16ac1[_0x254feb(0x18f)](6.72,0.422),_0x16ac1[_0x254feb(0x191)](17.28,0.422),_0x16ac1[_0x254feb(0x19c)](18.553,0.422,19.577,1.758,19.577,3.415),_0x16ac1[_0x254feb(0x191)](19.577,10.973),_0x16ac1[_0x254feb(0x19c)](19.577,12.63,18.553,13.966,17.282,13.966),_0x16ac1[_0x254feb(0x191)](14.386,14.008),_0x16ac1[_0x254feb(0x191)](11.826,23.578),_0x16ac1[_0x254feb(0x191)](9.614,14.008),_0x16ac1[_0x254feb(0x191)](6.719,13.965),_0x16ac1[_0x254feb(0x19c)](5.446,13.983,4.422,12.629,4.422,10.972),_0x16ac1[_0x254feb(0x191)](4.422,3.416),_0x16ac1['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0x16ac1[_0x254feb(0x17f)](),_0x16ac1[_0x254feb(0x19e)](),_0x16ac1['stroke'](),_0x16ac1[_0x254feb(0x1a9)]();}function drawIcon(_0x5a1ba3,_0x20e966,_0x5d1903){const _0x49064f=a75_0x5e7e89,_0x10d0f3=_0x5d1903/2.5;let _0x2cd614=_0x10d0f3,_0x373b6a=_0x10d0f3;if(_0x20e966[_0x49064f(0x1aa)]>_0x20e966['height'])_0x373b6a=_0x10d0f3*(_0x20e966[_0x49064f(0x196)]/_0x20e966[_0x49064f(0x1aa)]);else _0x20e966[_0x49064f(0x1aa)]<_0x20e966[_0x49064f(0x196)]&&(_0x2cd614=_0x10d0f3*(_0x20e966['width']/_0x20e966[_0x49064f(0x196)]));const _0x32ae8d=Math['round']((_0x5d1903-_0x2cd614)/0x2),_0x45f7cb=Math['round'](0x7/0x18*_0x5d1903-_0x373b6a/0x2);_0x5a1ba3['globalCompositeOperation']=_0x49064f(0x19d),_0x5a1ba3[_0x49064f(0x188)](_0x20e966,_0x32ae8d-0x1,_0x45f7cb,_0x2cd614,_0x373b6a),_0x5a1ba3[_0x49064f(0x188)](_0x20e966,_0x32ae8d,_0x45f7cb-0x1,_0x2cd614,_0x373b6a),_0x5a1ba3['drawImage'](_0x20e966,_0x32ae8d+0x1,_0x45f7cb,_0x2cd614,_0x373b6a),_0x5a1ba3[_0x49064f(0x188)](_0x20e966,_0x32ae8d,_0x45f7cb+0x1,_0x2cd614,_0x373b6a),_0x5a1ba3[_0x49064f(0x18b)]='destination-over',_0x5a1ba3[_0x49064f(0x18d)]=_0x49064f(0x190),_0x5a1ba3[_0x49064f(0x1a7)](_0x32ae8d-0x1,_0x45f7cb-0x1,_0x2cd614+0x2,_0x373b6a+0x2),_0x5a1ba3['globalCompositeOperation']=_0x49064f(0x19d),_0x5a1ba3[_0x49064f(0x188)](_0x20e966,_0x32ae8d,_0x45f7cb,_0x2cd614,_0x373b6a),_0x5a1ba3[_0x49064f(0x18b)]=_0x49064f(0x1af),_0x5a1ba3[_0x49064f(0x18d)]=_0x49064f(0x19a),_0x5a1ba3['fillRect'](_0x32ae8d-0x1,_0x45f7cb-0x2,_0x2cd614+0x2,_0x373b6a+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x17f2fc,_0x454d13,_0x648646,_0x1e7011,_0x1cbee2){const _0x1c15d9=a75_0x5e7e89;stringifyScratch[0x0]=_0x17f2fc,stringifyScratch[0x1]=_0x454d13,stringifyScratch[0x2]=_0x648646,stringifyScratch[0x3]=_0x1e7011;const _0x2e0459=JSON[_0x1c15d9(0x1ac)](stringifyScratch),_0x874e05=_0x1cbee2[_0x2e0459];if(_0x874e05)return _0x874e05;const _0x5d8473=document[_0x1c15d9(0x180)]('canvas');_0x5d8473[_0x1c15d9(0x1aa)]=_0x1e7011,_0x5d8473[_0x1c15d9(0x196)]=_0x1e7011;const _0x52489a=_0x5d8473['getContext']('2d');drawPin(_0x52489a,_0x648646,_0x1e7011);if(_0x17f2fc)return new Promise(_0x535155=>{const _0x5f32d3=_0x1c15d9;let _0x4acb10=new Icon({'src':_0x17f2fc}),_0x29a541=_0x4acb10[_0x5f32d3(0x185)]();_0x29a541===a75_0x16b4f3[_0x5f32d3(0x187)]||_0x29a541===a75_0x16b4f3[_0x5f32d3(0x1a8)]?(drawIcon(_0x52489a,_0x4acb10[_0x5f32d3(0x184)](0x60),_0x1e7011),_0x1cbee2[_0x2e0459]=_0x5d8473[_0x5f32d3(0x18c)](),_0x535155(_0x5d8473[_0x5f32d3(0x18c)]())):(_0x29a541===a75_0x16b4f3[_0x5f32d3(0x198)]&&_0x4acb10[_0x5f32d3(0x1ab)](),_0x4acb10[_0x5f32d3(0x1a2)](_0x3ec46c=>{const _0x58514f=_0x5f32d3;_0x29a541=_0x3ec46c[_0x58514f(0x197)][_0x58514f(0x185)](),(_0x29a541===a75_0x16b4f3[_0x58514f(0x187)]||_0x29a541===a75_0x16b4f3[_0x58514f(0x1a8)])&&(drawIcon(_0x52489a,_0x4acb10[_0x58514f(0x184)](0x60),_0x1e7011),_0x1cbee2[_0x2e0459]=_0x5d8473[_0x58514f(0x18c)](),_0x535155(_0x5d8473['toDataURL']()));}));});else{if(_0x454d13){const _0x1f9d31=a75_0x366463(_0x454d13,{'font':_0x1c15d9(0x19b)+_0x1e7011+_0x1c15d9(0x17e)});drawIcon(_0x52489a,_0x1f9d31,_0x1e7011);}}return _0x1cbee2[_0x2e0459]=_0x5d8473[_0x1c15d9(0x18c)](),_0x5d8473[_0x1c15d9(0x18c)]();}export default PinBuilder;
1
+ const a75_0x33b696=a75_0x4537;(function(_0xd7ef64,_0x23e7fc){const _0x46b019=a75_0x4537,_0xddb8fd=_0xd7ef64();while(!![]){try{const _0x173525=parseInt(_0x46b019(0x209))/0x1*(-parseInt(_0x46b019(0x1f3))/0x2)+parseInt(_0x46b019(0x1f2))/0x3*(-parseInt(_0x46b019(0x211))/0x4)+parseInt(_0x46b019(0x1e9))/0x5+parseInt(_0x46b019(0x20e))/0x6*(parseInt(_0x46b019(0x1f5))/0x7)+parseInt(_0x46b019(0x206))/0x8*(parseInt(_0x46b019(0x216))/0x9)+parseInt(_0x46b019(0x207))/0xa*(parseInt(_0x46b019(0x1ff))/0xb)+-parseInt(_0x46b019(0x20b))/0xc*(parseInt(_0x46b019(0x1f6))/0xd);if(_0x173525===_0x23e7fc)break;else _0xddb8fd['push'](_0xddb8fd['shift']());}catch(_0x626cdd){_0xddb8fd['push'](_0xddb8fd['shift']());}}}(a75_0x31de,0xaa91c));function a75_0x31de(){const _0x11a0f4=['width','#000000','_cache','fromText','lineTo','destination-over','27ekgYaL','17914LAUGcU','bezierCurveTo','7ceFWYm','91ebDqFB','bold\x20','moveTo','px\x20sans-serif','ERROR','strokeStyle','id\x20is\x20required','stringify','lighten','5613476hyzqhi','fillStyle','save','destination-out','fromColor','closePath','IDLE','8sWyaku','10nOqwTx','color\x20is\x20required','24LejEtU','lineWidth','1333980eFhAZr','getImageState','#FFFFFF','3446382Uqilix','restore','getImage','484364gfyADE','height','fillRect','drawImage','size\x20is\x20required','4652919UkGWao','text\x20is\x20required','stroke','5899450qYlHfu','toDataURL','globalCompositeOperation'];a75_0x31de=function(){return _0x11a0f4;};return a75_0x31de();}import a75_0x38d772 from'color';import a75_0xb52510 from'./writeTextToCanvas';import{Icon}from'ol/style';import a75_0x1cad84 from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x485c23=a75_0x4537;this[_0x485c23(0x1ee)]={};}[a75_0x33b696(0x203)](_0x5c87e8,_0x1a4011){const _0x3c2fdf=a75_0x33b696;if(!_0x5c87e8)throw new Error(_0x3c2fdf(0x208));if(!_0x1a4011)throw new Error('size\x20is\x20required');return createPin('','',_0x5c87e8,_0x1a4011,this[_0x3c2fdf(0x1ee)]);}['fromUrl'](_0x714474,_0x3b4e78,_0x296df9){const _0x447fed=a75_0x33b696;if(!_0x714474)throw new Error('url\x20is\x20required');if(!_0x3b4e78)throw new Error(_0x447fed(0x208));if(!_0x296df9)throw new Error(_0x447fed(0x215));return createPin(_0x714474,'',_0x3b4e78,_0x296df9,this['_cache']);}['fromMakiIconId'](_0x5defe9,_0x500a99,_0x1636aa){const _0x4f9564=a75_0x33b696;if(!_0x5defe9)throw new Error(_0x4f9564(0x1fc));if(!_0x500a99)throw new Error(_0x4f9564(0x208));if(!_0x1636aa)throw new Error('size\x20is\x20required');return createPin(parseImage(_0x5defe9),'',_0x500a99,_0x1636aa,this[_0x4f9564(0x1ee)]);}[a75_0x33b696(0x1ef)](_0x26c2c0,_0x5a0539,_0x5db1dc){const _0xb64b57=a75_0x33b696;if(!_0x26c2c0)throw new Error(_0xb64b57(0x217));if(!_0x5a0539)throw new Error(_0xb64b57(0x208));if(!_0x5db1dc)throw new Error(_0xb64b57(0x215));return createPin('',_0x26c2c0,_0x5a0539,_0x5db1dc,this[_0xb64b57(0x1ee)]);}}function drawPin(_0x2c05dd,_0xba95e2,_0x20b002){const _0x3c89bb=a75_0x33b696;_0x2c05dd[_0x3c89bb(0x201)](),_0x2c05dd['scale'](_0x20b002/0x18,_0x20b002/0x18),_0x2c05dd['fillStyle']=_0xba95e2,_0x2c05dd[_0x3c89bb(0x1fb)]=a75_0x38d772(_0xba95e2)[_0x3c89bb(0x1fe)](0.6)['hexa'](),_0x2c05dd[_0x3c89bb(0x20a)]=0.846,_0x2c05dd['beginPath'](),_0x2c05dd[_0x3c89bb(0x1f8)](6.72,0.422),_0x2c05dd[_0x3c89bb(0x1f0)](17.28,0.422),_0x2c05dd[_0x3c89bb(0x1f4)](18.553,0.422,19.577,1.758,19.577,3.415),_0x2c05dd[_0x3c89bb(0x1f0)](19.577,10.973),_0x2c05dd[_0x3c89bb(0x1f4)](19.577,12.63,18.553,13.966,17.282,13.966),_0x2c05dd['lineTo'](14.386,14.008),_0x2c05dd[_0x3c89bb(0x1f0)](11.826,23.578),_0x2c05dd['lineTo'](9.614,14.008),_0x2c05dd['lineTo'](6.719,13.965),_0x2c05dd[_0x3c89bb(0x1f4)](5.446,13.983,4.422,12.629,4.422,10.972),_0x2c05dd['lineTo'](4.422,3.416),_0x2c05dd['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0x2c05dd[_0x3c89bb(0x204)](),_0x2c05dd['fill'](),_0x2c05dd[_0x3c89bb(0x218)](),_0x2c05dd[_0x3c89bb(0x20f)]();}function a75_0x4537(_0x3b192c,_0x2fcf37){const _0x31de71=a75_0x31de();return a75_0x4537=function(_0x45373d,_0x5425f3){_0x45373d=_0x45373d-0x1e9;let _0x3375cc=_0x31de71[_0x45373d];return _0x3375cc;},a75_0x4537(_0x3b192c,_0x2fcf37);}function drawIcon(_0x1dcc90,_0x4fc8bb,_0x217aea){const _0x54e09c=a75_0x33b696,_0x5ac1ed=_0x217aea/2.5;let _0x3f8e1e=_0x5ac1ed,_0x1241c7=_0x5ac1ed;if(_0x4fc8bb[_0x54e09c(0x1ec)]>_0x4fc8bb[_0x54e09c(0x212)])_0x1241c7=_0x5ac1ed*(_0x4fc8bb[_0x54e09c(0x212)]/_0x4fc8bb['width']);else _0x4fc8bb[_0x54e09c(0x1ec)]<_0x4fc8bb[_0x54e09c(0x212)]&&(_0x3f8e1e=_0x5ac1ed*(_0x4fc8bb['width']/_0x4fc8bb[_0x54e09c(0x212)]));const _0x439653=Math['round']((_0x217aea-_0x3f8e1e)/0x2),_0x186358=Math['round'](0x7/0x18*_0x217aea-_0x1241c7/0x2);_0x1dcc90['globalCompositeOperation']=_0x54e09c(0x202),_0x1dcc90[_0x54e09c(0x214)](_0x4fc8bb,_0x439653-0x1,_0x186358,_0x3f8e1e,_0x1241c7),_0x1dcc90[_0x54e09c(0x214)](_0x4fc8bb,_0x439653,_0x186358-0x1,_0x3f8e1e,_0x1241c7),_0x1dcc90['drawImage'](_0x4fc8bb,_0x439653+0x1,_0x186358,_0x3f8e1e,_0x1241c7),_0x1dcc90['drawImage'](_0x4fc8bb,_0x439653,_0x186358+0x1,_0x3f8e1e,_0x1241c7),_0x1dcc90['globalCompositeOperation']=_0x54e09c(0x1f1),_0x1dcc90['fillStyle']=_0x54e09c(0x1ed),_0x1dcc90[_0x54e09c(0x213)](_0x439653-0x1,_0x186358-0x1,_0x3f8e1e+0x2,_0x1241c7+0x2),_0x1dcc90[_0x54e09c(0x1eb)]=_0x54e09c(0x202),_0x1dcc90['drawImage'](_0x4fc8bb,_0x439653,_0x186358,_0x3f8e1e,_0x1241c7),_0x1dcc90[_0x54e09c(0x1eb)]=_0x54e09c(0x1f1),_0x1dcc90[_0x54e09c(0x200)]=_0x54e09c(0x20d),_0x1dcc90[_0x54e09c(0x213)](_0x439653-0x1,_0x186358-0x2,_0x3f8e1e+0x2,_0x1241c7+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x1899fd,_0x556689,_0x463e6b,_0x51a063,_0x5967ed){const _0x53c8fc=a75_0x33b696;stringifyScratch[0x0]=_0x1899fd,stringifyScratch[0x1]=_0x556689,stringifyScratch[0x2]=_0x463e6b,stringifyScratch[0x3]=_0x51a063;const _0x16aebd=JSON[_0x53c8fc(0x1fd)](stringifyScratch),_0x1cb8be=_0x5967ed[_0x16aebd];if(_0x1cb8be)return _0x1cb8be;const _0x1029aa=document['createElement']('canvas');_0x1029aa['width']=_0x51a063,_0x1029aa[_0x53c8fc(0x212)]=_0x51a063;const _0x38947a=_0x1029aa['getContext']('2d');drawPin(_0x38947a,_0x463e6b,_0x51a063);if(_0x1899fd)return new Promise(_0x5ccefe=>{const _0x19d1dc=_0x53c8fc;let _0x322076=new Icon({'src':_0x1899fd}),_0x17256f=_0x322076['getImageState']();_0x17256f===a75_0x1cad84['LOADED']||_0x17256f===a75_0x1cad84[_0x19d1dc(0x1fa)]?(drawIcon(_0x38947a,_0x322076[_0x19d1dc(0x210)](0x60),_0x51a063),_0x5967ed[_0x16aebd]=_0x1029aa[_0x19d1dc(0x1ea)](),_0x5ccefe(_0x1029aa[_0x19d1dc(0x1ea)]())):(_0x17256f===a75_0x1cad84[_0x19d1dc(0x205)]&&_0x322076['load'](),_0x322076['listenImageChange'](_0x1923a5=>{const _0x4fda11=_0x19d1dc;_0x17256f=_0x1923a5['target'][_0x4fda11(0x20c)](),(_0x17256f===a75_0x1cad84['LOADED']||_0x17256f===a75_0x1cad84['ERROR'])&&(drawIcon(_0x38947a,_0x322076[_0x4fda11(0x210)](0x60),_0x51a063),_0x5967ed[_0x16aebd]=_0x1029aa[_0x4fda11(0x1ea)](),_0x5ccefe(_0x1029aa[_0x4fda11(0x1ea)]()));}));});else{if(_0x556689){const _0xe6f844=a75_0xb52510(_0x556689,{'font':_0x53c8fc(0x1f7)+_0x51a063+_0x53c8fc(0x1f9)});drawIcon(_0x38947a,_0xe6f844,_0x51a063);}}return _0x5967ed[_0x16aebd]=_0x1029aa[_0x53c8fc(0x1ea)](),_0x1029aa[_0x53c8fc(0x1ea)]();}export default PinBuilder;
@@ -1 +1 @@
1
- function a76_0x5786(){const _0x3ebb66=['dispatchEvent','catch','fromText','options','resolve','warn','369khXzjL','384250yermHt','getImageState','ERROR','150111oVHiwg','get','_icon','909316ImxaGJ','_imageState','2257572rHlBbq','error','target','loadIcon','fromUrl','image','325CjdEbu','set','listenImageChange','getImage','IDLE','markerLabel','78668jBeoiM','8912720HlcpsZ','LOADED','load','_listener','28iZAOnt','markerSize','329642MlmzqT'];a76_0x5786=function(){return _0x3ebb66;};return a76_0x5786();}const a76_0x20bc0b=a76_0x3196;(function(_0x1ca9ce,_0x3d0f55){const _0x3fe4eb=a76_0x3196,_0x1b5885=_0x1ca9ce();while(!![]){try{const _0x3f9473=parseInt(_0x3fe4eb(0x1de))/0x1+parseInt(_0x3fe4eb(0x1f3))/0x2+parseInt(_0x3fe4eb(0x1db))/0x3+-parseInt(_0x3fe4eb(0x1ec))/0x4*(parseInt(_0x3fe4eb(0x1e6))/0x5)+parseInt(_0x3fe4eb(0x1e0))/0x6*(parseInt(_0x3fe4eb(0x1f1))/0x7)+parseInt(_0x3fe4eb(0x1ed))/0x8+parseInt(_0x3fe4eb(0x1d7))/0x9*(-parseInt(_0x3fe4eb(0x1d8))/0xa);if(_0x3f9473===_0x3d0f55)break;else _0x1b5885['push'](_0x1b5885['shift']());}catch(_0x5bc409){_0x1b5885['push'](_0x1b5885['shift']());}}}(a76_0x5786,0xd92bc));import a76_0x633932 from'./PinBuilder';import{Icon}from'ol/style';import a76_0x360a9d from'ol/ImageState';import a76_0x26fa1e from'ol/events/Event';function a76_0x3196(_0x1adc6f,_0x2fa060){const _0x5786f4=a76_0x5786();return a76_0x3196=function(_0x319698,_0x5b5d81){_0x319698=_0x319698-0x1d6;let _0x55d923=_0x5786f4[_0x319698];return _0x55d923;},a76_0x3196(_0x1adc6f,_0x2fa060);}import{shared as a76_0x5e7253}from'./ImageCache';export default class PinIcon{constructor(_0x363d82){const _0x1809bc=a76_0x3196;this[_0x1809bc(0x1f7)]=_0x363d82||{},this[_0x1809bc(0x1df)]=a76_0x360a9d['IDLE'],this[_0x1809bc(0x1dd)]=a76_0x5e7253[_0x1809bc(0x1dc)](this[_0x1809bc(0x1f7)]),this[_0x1809bc(0x1dd)]&&(this['_imageState']=a76_0x360a9d[_0x1809bc(0x1ee)]);}[a76_0x20bc0b(0x1ef)](){const _0x5b650e=a76_0x20bc0b;try{let _0x27a658,_0x4700cd=new a76_0x633932();if(this[_0x5b650e(0x1f7)]['markerLabel'])_0x27a658=_0x4700cd[_0x5b650e(0x1f6)](this[_0x5b650e(0x1f7)][_0x5b650e(0x1eb)],this['options']['markerColor'],this['options'][_0x5b650e(0x1f2)]||0x30);else this[_0x5b650e(0x1f7)][_0x5b650e(0x1e5)]&&(_0x27a658=_0x4700cd[_0x5b650e(0x1e4)](this[_0x5b650e(0x1f7)][_0x5b650e(0x1e5)],this[_0x5b650e(0x1f7)]['markerColor'],this[_0x5b650e(0x1f7)]['markerSize']||0x30));Promise[_0x5b650e(0x1f8)](_0x27a658)['then'](_0x47dd4f=>{this['loadIcon'](_0x47dd4f);})[_0x5b650e(0x1f5)](_0x4828fe=>{const _0x55f18b=_0x5b650e;console[_0x55f18b(0x1d6)](_0x4828fe),this[_0x55f18b(0x1df)]=a76_0x360a9d[_0x55f18b(0x1da)],this[_0x55f18b(0x1f4)]('error');});}catch(_0x49af97){console[_0x5b650e(0x1d6)](_0x49af97),this[_0x5b650e(0x1df)]=a76_0x360a9d[_0x5b650e(0x1da)],this['dispatchEvent'](_0x5b650e(0x1e1));}}[a76_0x20bc0b(0x1e3)](_0x171e40){const _0xae20ed=a76_0x20bc0b;this[_0xae20ed(0x1dd)]=new Icon({'src':_0x171e40}),a76_0x5e7253[_0xae20ed(0x1e7)](this['options'],this[_0xae20ed(0x1dd)]);let _0xf149e1=this[_0xae20ed(0x1dd)][_0xae20ed(0x1d9)]();_0xf149e1===a76_0x360a9d['LOADED']||_0xf149e1===a76_0x360a9d[_0xae20ed(0x1da)]?(this['_imageState']=this['_icon']['getImageState'](),this['dispatchEvent'](_0xae20ed(0x1ef))):(_0xf149e1===a76_0x360a9d[_0xae20ed(0x1ea)]&&this[_0xae20ed(0x1dd)]['load'](),this[_0xae20ed(0x1dd)][_0xae20ed(0x1e8)](_0x254bdc=>{const _0x856cb3=_0xae20ed;_0xf149e1=_0x254bdc[_0x856cb3(0x1e2)][_0x856cb3(0x1d9)](),(_0xf149e1===a76_0x360a9d[_0x856cb3(0x1ee)]||_0xf149e1===a76_0x360a9d[_0x856cb3(0x1da)])&&(this[_0x856cb3(0x1df)]=this['_icon'][_0x856cb3(0x1d9)](),this['dispatchEvent'](_0x856cb3(0x1ef)));}));}[a76_0x20bc0b(0x1d9)](){const _0x50c293=a76_0x20bc0b;return this[_0x50c293(0x1df)];}[a76_0x20bc0b(0x1e9)](){var _0x21082d;return(_0x21082d=this['_icon'])===null||_0x21082d===void 0x0?void 0x0:_0x21082d['getImage']();}[a76_0x20bc0b(0x1e8)](_0x507564){const _0x3a4eee=a76_0x20bc0b;this[_0x3a4eee(0x1f0)]=_0x507564;}['dispatchEvent'](_0x5a3456){const _0x3a6a3b=a76_0x20bc0b;if(this['_listener']){let _0x62c6c7=new a76_0x26fa1e(_0x5a3456);_0x62c6c7[_0x3a6a3b(0x1e2)]=this,this['_listener'](_0x62c6c7);}}}
1
+ const a76_0x3e4337=a76_0x1ebe;(function(_0x12c7a1,_0x2c652a){const _0x399f62=a76_0x1ebe,_0x4c5ab1=_0x12c7a1();while(!![]){try{const _0x3bc376=-parseInt(_0x399f62(0x104))/0x1+parseInt(_0x399f62(0x11b))/0x2*(parseInt(_0x399f62(0x11d))/0x3)+parseInt(_0x399f62(0xfe))/0x4+parseInt(_0x399f62(0x10f))/0x5*(parseInt(_0x399f62(0x108))/0x6)+-parseInt(_0x399f62(0x112))/0x7*(parseInt(_0x399f62(0x10a))/0x8)+-parseInt(_0x399f62(0x103))/0x9+parseInt(_0x399f62(0x100))/0xa;if(_0x3bc376===_0x2c652a)break;else _0x4c5ab1['push'](_0x4c5ab1['shift']());}catch(_0x520e40){_0x4c5ab1['push'](_0x4c5ab1['shift']());}}}(a76_0x3b65,0x45abb));import a76_0x5e8e43 from'./PinBuilder';function a76_0x1ebe(_0xbb8777,_0xb2e71f){const _0x3b659f=a76_0x3b65();return a76_0x1ebe=function(_0x1ebeef,_0x1845f5){_0x1ebeef=_0x1ebeef-0xfe;let _0xf53afc=_0x3b659f[_0x1ebeef];return _0xf53afc;},a76_0x1ebe(_0xbb8777,_0xb2e71f);}import{Icon}from'ol/style';import a76_0x29f073 from'ol/ImageState';function a76_0x3b65(){const _0x3e8ee6=['catch','getImage','5cSLLTZ','markerLabel','_listener','84rILyXV','loadIcon','resolve','_imageState','options','IDLE','image','markerSize','listenImageChange','46fVUCqf','load','30837HRSaNE','getImageState','set','error','1608532qYLgMV','then','2662190BTBoLS','target','dispatchEvent','902241lukfOQ','352750QmMuuH','fromText','markerColor','warn','1730334LbicSP','ERROR','303192zmzMFI','_icon','LOADED'];a76_0x3b65=function(){return _0x3e8ee6;};return a76_0x3b65();}import a76_0x51597d from'ol/events/Event';import{shared as a76_0x41a52d}from'./ImageCache';export default class PinIcon{constructor(_0x379e07){const _0x383268=a76_0x1ebe;this['options']=_0x379e07||{},this[_0x383268(0x115)]=a76_0x29f073['IDLE'],this['_icon']=a76_0x41a52d['get'](this[_0x383268(0x116)]),this['_icon']&&(this['_imageState']=a76_0x29f073['LOADED']);}['load'](){const _0x230e3a=a76_0x1ebe;try{let _0x565933,_0x12a1b0=new a76_0x5e8e43();if(this[_0x230e3a(0x116)][_0x230e3a(0x110)])_0x565933=_0x12a1b0[_0x230e3a(0x105)](this[_0x230e3a(0x116)][_0x230e3a(0x110)],this[_0x230e3a(0x116)][_0x230e3a(0x106)],this['options']['markerSize']||0x30);else this[_0x230e3a(0x116)][_0x230e3a(0x118)]&&(_0x565933=_0x12a1b0['fromUrl'](this[_0x230e3a(0x116)]['image'],this[_0x230e3a(0x116)][_0x230e3a(0x106)],this[_0x230e3a(0x116)][_0x230e3a(0x119)]||0x30));Promise[_0x230e3a(0x114)](_0x565933)[_0x230e3a(0xff)](_0x5caf28=>{const _0x1d23c0=_0x230e3a;this[_0x1d23c0(0x113)](_0x5caf28);})[_0x230e3a(0x10d)](_0xb1294a=>{const _0x5d2347=_0x230e3a;console['warn'](_0xb1294a),this[_0x5d2347(0x115)]=a76_0x29f073[_0x5d2347(0x109)],this[_0x5d2347(0x102)](_0x5d2347(0x120));});}catch(_0x59a244){console[_0x230e3a(0x107)](_0x59a244),this[_0x230e3a(0x115)]=a76_0x29f073[_0x230e3a(0x109)],this[_0x230e3a(0x102)](_0x230e3a(0x120));}}['loadIcon'](_0x373bcf){const _0x79ca23=a76_0x1ebe;this[_0x79ca23(0x10b)]=new Icon({'src':_0x373bcf}),a76_0x41a52d[_0x79ca23(0x11f)](this['options'],this[_0x79ca23(0x10b)]);let _0x1f9a8d=this[_0x79ca23(0x10b)]['getImageState']();_0x1f9a8d===a76_0x29f073[_0x79ca23(0x10c)]||_0x1f9a8d===a76_0x29f073[_0x79ca23(0x109)]?(this[_0x79ca23(0x115)]=this['_icon']['getImageState'](),this[_0x79ca23(0x102)](_0x79ca23(0x11c))):(_0x1f9a8d===a76_0x29f073[_0x79ca23(0x117)]&&this[_0x79ca23(0x10b)]['load'](),this[_0x79ca23(0x10b)]['listenImageChange'](_0x2defb6=>{const _0x38d381=_0x79ca23;_0x1f9a8d=_0x2defb6[_0x38d381(0x101)][_0x38d381(0x11e)](),(_0x1f9a8d===a76_0x29f073[_0x38d381(0x10c)]||_0x1f9a8d===a76_0x29f073[_0x38d381(0x109)])&&(this[_0x38d381(0x115)]=this['_icon'][_0x38d381(0x11e)](),this[_0x38d381(0x102)]('load'));}));}[a76_0x3e4337(0x11e)](){const _0x58bcd6=a76_0x3e4337;return this[_0x58bcd6(0x115)];}[a76_0x3e4337(0x10e)](){const _0x18ef5e=a76_0x3e4337;var _0x3ac69a;return(_0x3ac69a=this[_0x18ef5e(0x10b)])===null||_0x3ac69a===void 0x0?void 0x0:_0x3ac69a[_0x18ef5e(0x10e)]();}[a76_0x3e4337(0x11a)](_0x525df7){const _0x576a00=a76_0x3e4337;this[_0x576a00(0x111)]=_0x525df7;}[a76_0x3e4337(0x102)](_0x16f54c){const _0x259bbc=a76_0x3e4337;if(this[_0x259bbc(0x111)]){let _0x5329b9=new a76_0x51597d(_0x16f54c);_0x5329b9[_0x259bbc(0x101)]=this,this[_0x259bbc(0x111)](_0x5329b9);}}}
@@ -1 +1 @@
1
- (function(_0x53c057,_0xd3b262){const _0x51056a=a77_0xf75b,_0x996809=_0x53c057();while(!![]){try{const _0xd4ac02=-parseInt(_0x51056a(0x1ea))/0x1+-parseInt(_0x51056a(0x1dd))/0x2*(parseInt(_0x51056a(0x1da))/0x3)+parseInt(_0x51056a(0x1c5))/0x4+parseInt(_0x51056a(0x1d0))/0x5+parseInt(_0x51056a(0x1cc))/0x6*(parseInt(_0x51056a(0x1ca))/0x7)+-parseInt(_0x51056a(0x1e5))/0x8*(-parseInt(_0x51056a(0x1ce))/0x9)+parseInt(_0x51056a(0x1cb))/0xa*(parseInt(_0x51056a(0x1ee))/0xb);if(_0xd4ac02===_0xd3b262)break;else _0x996809['push'](_0x996809['shift']());}catch(_0x5cdc2c){_0x996809['push'](_0x996809['shift']());}}}(a77_0x2b21,0xd48b0));function a77_0x2b21(){const _0x5bc7df=['msImageSmoothingEnabled','font','lineJoin','fill','width','webkitImageSmoothingEnabled','visibility','font-size','strokeColor','test','data','4152912MHCYGm','fillStyle','black','backgroundColor','strokeWidth','2821721kqxXnA','10NdDqKV','6SOgnUz','createElement','1624581AcRizL','ascent','7476130qGxRFi','fillColor','body','canvas','minx','imageSmoothingEnabled','dimensions','replace','getContext','defaultView','6FTCrxZ','height','style','1385136WaYDOA','padding','removeChild','round','stroke','getComputedStyle','strokeText','#00000000','16iObQXp','text\x20is\x20required.','length','mozImageSmoothingEnabled','ceil','1370446hUuTzU','appendChild','lineWidth','fillText','3614413oAiUxd'];a77_0x2b21=function(){return _0x5bc7df;};return a77_0x2b21();}function measureText(_0xf96945,_0x2d277c,_0x38cebe,_0x5039cc,_0x225eba){const _0x3393c1=a77_0xf75b,_0x25613a=_0xf96945['measureText'](_0x2d277c),_0x98cbbe=!/\S/[_0x3393c1(0x1c3)](_0x2d277c);if(!_0x98cbbe&&document[_0x3393c1(0x1d9)]){const _0x515449=document[_0x3393c1(0x1d9)][_0x3393c1(0x1e2)](_0xf96945[_0x3393c1(0x1d3)])['getPropertyValue'](_0x3393c1(0x1c1))[_0x3393c1(0x1d7)]('px',''),_0x4235b7=document[_0x3393c1(0x1cd)](_0x3393c1(0x1d3)),_0x66fc72=0x64,_0x29b24c=_0x25613a[_0x3393c1(0x1be)]+_0x66fc72|0x0,_0x4618ab=0x3*(_0x515449-0x0),_0x44e3f2=_0x4618ab/0x2;_0x4235b7['width']=_0x29b24c,_0x4235b7[_0x3393c1(0x1db)]=_0x4618ab;const _0x59ad12=_0x4235b7[_0x3393c1(0x1d8)]('2d');if(!_0x59ad12)return{};_0x59ad12[_0x3393c1(0x1f0)]=_0x38cebe,_0x59ad12[_0x3393c1(0x1c6)]='white',_0x59ad12['fillRect'](0x0,0x0,_0x4235b7[_0x3393c1(0x1be)]+0x1,_0x4235b7[_0x3393c1(0x1db)]+0x1);_0x5039cc&&(_0x59ad12['strokeStyle']=_0x3393c1(0x1c7),_0x59ad12[_0x3393c1(0x1ec)]=_0xf96945['lineWidth'],_0x59ad12[_0x3393c1(0x1e3)](_0x2d277c,_0x66fc72/0x2,_0x44e3f2));_0x225eba&&(_0x59ad12[_0x3393c1(0x1c6)]=_0x3393c1(0x1c7),_0x59ad12[_0x3393c1(0x1ed)](_0x2d277c,_0x66fc72/0x2,_0x44e3f2));const _0x26eb9c=_0x59ad12['getImageData'](0x0,0x0,_0x29b24c,_0x4618ab)[_0x3393c1(0x1c4)],_0x2f3736=_0x26eb9c[_0x3393c1(0x1e7)],_0x45ea40=_0x29b24c*0x4;let _0x3406cc,_0x20975b,_0xa05e4a=0x0,_0x1b3725=0x0;for(_0x3406cc=0x0;_0x3406cc<_0x2f3736;++_0x3406cc){if(_0x26eb9c[_0x3406cc]!==0xff){_0xa05e4a=_0x3406cc/_0x45ea40|0x0;break;}}for(_0x3406cc=_0x2f3736-0x1;_0x3406cc>=0x0;--_0x3406cc){if(_0x26eb9c[_0x3406cc]!==0xff){_0x1b3725=_0x3406cc/_0x45ea40|0x0;break;}}let _0x2cd632=-0x1;for(_0x3406cc=0x0;_0x3406cc<_0x29b24c&&_0x2cd632===-0x1;++_0x3406cc){for(_0x20975b=0x0;_0x20975b<_0x4618ab;++_0x20975b){const _0x225702=_0x3406cc*0x4+_0x20975b*_0x45ea40;if(_0x26eb9c[_0x225702]!==0xff||_0x26eb9c[_0x225702+0x1]!==0xff||_0x26eb9c[_0x225702+0x2]!==0xff||_0x26eb9c[_0x225702+0x3]!==0xff){_0x2cd632=_0x3406cc;break;}}}return{'width':_0x25613a[_0x3393c1(0x1be)],'height':_0x1b3725-_0xa05e4a,'ascent':_0x44e3f2-_0xa05e4a,'descent':_0x1b3725-_0x44e3f2,'minx':_0x2cd632-_0x66fc72/0x2};}return{'width':_0x25613a['width'],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x1dddb9,_0x12d6b1){const _0x5c4854=a77_0xf75b;if(!_0x1dddb9)throw new Error(_0x5c4854(0x1e6));if(_0x1dddb9==='')return undefined;_0x12d6b1=defaultValue(_0x12d6b1,{});const _0x242167=defaultValue(_0x12d6b1[_0x5c4854(0x1f0)],'10px\x20sans-serif'),_0x404117=defaultValue(_0x12d6b1[_0x5c4854(0x1e1)],![]),_0x5ed2f7=defaultValue(_0x12d6b1[_0x5c4854(0x1bd)],!![]),_0x402aee=defaultValue(_0x12d6b1[_0x5c4854(0x1c9)],0x1),_0x45a5fb=defaultValue(_0x12d6b1[_0x5c4854(0x1c8)],_0x5c4854(0x1e4)),_0x1b44bd=defaultValue(_0x12d6b1[_0x5c4854(0x1de)],0x0),_0xaa847f=_0x1b44bd*0x2,_0x1d6e45=document['createElement'](_0x5c4854(0x1d3));_0x1d6e45[_0x5c4854(0x1be)]=0x1,_0x1d6e45[_0x5c4854(0x1db)]=0x1,_0x1d6e45[_0x5c4854(0x1dc)][_0x5c4854(0x1f0)]=_0x242167;const _0x564118=_0x1d6e45[_0x5c4854(0x1d8)]('2d');if(!imageSmoothingEnabledName&&_0x564118){if(_0x564118[_0x5c4854(0x1d5)])imageSmoothingEnabledName='imageSmoothingEnabled';else{if(_0x564118[_0x5c4854(0x1e8)])imageSmoothingEnabledName=_0x5c4854(0x1e8);else{if(_0x564118[_0x5c4854(0x1bf)])imageSmoothingEnabledName='webkitImageSmoothingEnabled';else _0x564118[_0x5c4854(0x1ef)]&&(imageSmoothingEnabledName=_0x5c4854(0x1ef));}}}_0x564118[_0x5c4854(0x1f0)]=_0x242167,_0x564118[_0x5c4854(0x1bc)]=_0x5c4854(0x1e0),_0x564118[_0x5c4854(0x1ec)]=_0x402aee,_0x564118[imageSmoothingEnabledName]=![],_0x1d6e45[_0x5c4854(0x1dc)]['visibility']='hidden',document[_0x5c4854(0x1d2)][_0x5c4854(0x1eb)](_0x1d6e45);const _0x47972d=measureText(_0x564118,_0x1dddb9,_0x242167,_0x404117,_0x5ed2f7);if(!_0x47972d)return;_0x1d6e45[_0x5c4854(0x1d6)]=_0x47972d,document[_0x5c4854(0x1d2)][_0x5c4854(0x1df)](_0x1d6e45),_0x1d6e45['style'][_0x5c4854(0x1c0)]='';const _0x11cd49=-(_0x47972d['minx']?_0x47972d[_0x5c4854(0x1d4)]:0x0),_0x2af63a=Math[_0x5c4854(0x1e9)](_0x47972d[_0x5c4854(0x1be)])+_0x11cd49+_0xaa847f,_0x5ce7e2=(_0x47972d[_0x5c4854(0x1db)]?_0x47972d[_0x5c4854(0x1db)]:0x0)+_0xaa847f,_0x332160=_0x5ce7e2-(_0x47972d[_0x5c4854(0x1cf)]?_0x47972d['ascent']:0x0)+_0x1b44bd,_0x420056=_0x5ce7e2-_0x332160+_0xaa847f;return _0x1d6e45[_0x5c4854(0x1be)]=_0x2af63a,_0x1d6e45[_0x5c4854(0x1db)]=_0x5ce7e2,_0x564118[_0x5c4854(0x1f0)]=_0x242167,_0x564118[_0x5c4854(0x1bc)]='round',_0x564118['lineWidth']=_0x402aee,_0x564118[imageSmoothingEnabledName]=![],_0x45a5fb!==_0x5c4854(0x1e4)&&(_0x564118[_0x5c4854(0x1c6)]=_0x45a5fb,_0x564118['fillRect'](0x0,0x0,_0x1d6e45[_0x5c4854(0x1be)],_0x1d6e45[_0x5c4854(0x1db)])),_0x404117&&(_0x564118['strokeStyle']=defaultValue(_0x12d6b1[_0x5c4854(0x1c2)],'#000000'),_0x564118[_0x5c4854(0x1e3)](_0x1dddb9,_0x11cd49+_0x1b44bd,_0x420056)),_0x5ed2f7&&(_0x564118[_0x5c4854(0x1c6)]=defaultValue(_0x12d6b1[_0x5c4854(0x1d1)],'#FFFFFF'),_0x564118[_0x5c4854(0x1ed)](_0x1dddb9,_0x11cd49+_0x1b44bd,_0x420056)),_0x1d6e45;}function defaultValue(_0x4aeead,_0xabf10){if(_0x4aeead!==undefined&&_0x4aeead!==null)return _0x4aeead;return _0xabf10;}function a77_0xf75b(_0x185ba6,_0xa43cd4){const _0x2b21e6=a77_0x2b21();return a77_0xf75b=function(_0xf75b0b,_0x21d2d4){_0xf75b0b=_0xf75b0b-0x1bc;let _0x3c05f0=_0x2b21e6[_0xf75b0b];return _0x3c05f0;},a77_0xf75b(_0x185ba6,_0xa43cd4);}export default writeTextToCanvas;
1
+ (function(_0x2b8dff,_0x2bfa0d){const _0x105ab9=a77_0x4796,_0x45dc0d=_0x2b8dff();while(!![]){try{const _0x116560=-parseInt(_0x105ab9(0x202))/0x1+parseInt(_0x105ab9(0x1fc))/0x2*(-parseInt(_0x105ab9(0x222))/0x3)+-parseInt(_0x105ab9(0x203))/0x4*(-parseInt(_0x105ab9(0x1f6))/0x5)+parseInt(_0x105ab9(0x21c))/0x6*(parseInt(_0x105ab9(0x214))/0x7)+parseInt(_0x105ab9(0x206))/0x8*(parseInt(_0x105ab9(0x1f0))/0x9)+parseInt(_0x105ab9(0x220))/0xa+parseInt(_0x105ab9(0x1fe))/0xb;if(_0x116560===_0x2bfa0d)break;else _0x45dc0d['push'](_0x45dc0d['shift']());}catch(_0x4a1938){_0x45dc0d['push'](_0x45dc0d['shift']());}}}(a77_0x1063,0x9e1f5));function measureText(_0x21b97d,_0x56c22a,_0x1b5fc5,_0x348eb7,_0x977177){const _0x481335=a77_0x4796,_0xb004ee=_0x21b97d[_0x481335(0x212)](_0x56c22a),_0x1513b9=!/\S/[_0x481335(0x217)](_0x56c22a);if(!_0x1513b9&&document[_0x481335(0x211)]){const _0x473c8f=document[_0x481335(0x211)]['getComputedStyle'](_0x21b97d[_0x481335(0x1ff)])['getPropertyValue'](_0x481335(0x213))[_0x481335(0x208)]('px',''),_0x393ae6=document[_0x481335(0x21b)](_0x481335(0x1ff)),_0x1633c0=0x64,_0x289b36=_0xb004ee['width']+_0x1633c0|0x0,_0x41932f=0x3*(_0x473c8f-0x0),_0x1ea48b=_0x41932f/0x2;_0x393ae6[_0x481335(0x1f7)]=_0x289b36,_0x393ae6['height']=_0x41932f;const _0x3ef773=_0x393ae6[_0x481335(0x223)]('2d');if(!_0x3ef773)return{};_0x3ef773[_0x481335(0x21e)]=_0x1b5fc5,_0x3ef773['fillStyle']='white',_0x3ef773[_0x481335(0x224)](0x0,0x0,_0x393ae6[_0x481335(0x1f7)]+0x1,_0x393ae6[_0x481335(0x21d)]+0x1);_0x348eb7&&(_0x3ef773[_0x481335(0x216)]='black',_0x3ef773[_0x481335(0x218)]=_0x21b97d[_0x481335(0x218)],_0x3ef773[_0x481335(0x20e)](_0x56c22a,_0x1633c0/0x2,_0x1ea48b));_0x977177&&(_0x3ef773['fillStyle']='black',_0x3ef773['fillText'](_0x56c22a,_0x1633c0/0x2,_0x1ea48b));const _0x358b4c=_0x3ef773['getImageData'](0x0,0x0,_0x289b36,_0x41932f)[_0x481335(0x21f)],_0xb1632d=_0x358b4c['length'],_0x24fc4f=_0x289b36*0x4;let _0x15e307,_0x844071,_0x25d1a3=0x0,_0x1d1112=0x0;for(_0x15e307=0x0;_0x15e307<_0xb1632d;++_0x15e307){if(_0x358b4c[_0x15e307]!==0xff){_0x25d1a3=_0x15e307/_0x24fc4f|0x0;break;}}for(_0x15e307=_0xb1632d-0x1;_0x15e307>=0x0;--_0x15e307){if(_0x358b4c[_0x15e307]!==0xff){_0x1d1112=_0x15e307/_0x24fc4f|0x0;break;}}let _0x1bdaed=-0x1;for(_0x15e307=0x0;_0x15e307<_0x289b36&&_0x1bdaed===-0x1;++_0x15e307){for(_0x844071=0x0;_0x844071<_0x41932f;++_0x844071){const _0x276dbd=_0x15e307*0x4+_0x844071*_0x24fc4f;if(_0x358b4c[_0x276dbd]!==0xff||_0x358b4c[_0x276dbd+0x1]!==0xff||_0x358b4c[_0x276dbd+0x2]!==0xff||_0x358b4c[_0x276dbd+0x3]!==0xff){_0x1bdaed=_0x15e307;break;}}}return{'width':_0xb004ee[_0x481335(0x1f7)],'height':_0x1d1112-_0x25d1a3,'ascent':_0x1ea48b-_0x25d1a3,'descent':_0x1d1112-_0x1ea48b,'minx':_0x1bdaed-_0x1633c0/0x2};}return{'width':_0xb004ee[_0x481335(0x1f7)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function a77_0x4796(_0x20b673,_0x277070){const _0x10639f=a77_0x1063();return a77_0x4796=function(_0x4796c6,_0x4ad3de){_0x4796c6=_0x4796c6-0x1f0;let _0xf031b5=_0x10639f[_0x4796c6];return _0xf031b5;},a77_0x4796(_0x20b673,_0x277070);}function writeTextToCanvas(_0x52d22e,_0x1a9a05){const _0x664c8a=a77_0x4796;if(!_0x52d22e)throw new Error(_0x664c8a(0x207));if(_0x52d22e==='')return undefined;_0x1a9a05=defaultValue(_0x1a9a05,{});const _0x11ca78=defaultValue(_0x1a9a05[_0x664c8a(0x21e)],_0x664c8a(0x221)),_0x1610bc=defaultValue(_0x1a9a05[_0x664c8a(0x20a)],![]),_0x1f821d=defaultValue(_0x1a9a05['fill'],!![]),_0x160a89=defaultValue(_0x1a9a05[_0x664c8a(0x1f2)],0x1),_0x25e7ff=defaultValue(_0x1a9a05['backgroundColor'],_0x664c8a(0x20d)),_0x47544a=defaultValue(_0x1a9a05[_0x664c8a(0x1f1)],0x0),_0x1fc3be=_0x47544a*0x2,_0x2fd50d=document['createElement'](_0x664c8a(0x1ff));_0x2fd50d[_0x664c8a(0x1f7)]=0x1,_0x2fd50d['height']=0x1,_0x2fd50d['style'][_0x664c8a(0x21e)]=_0x11ca78;const _0x47a735=_0x2fd50d[_0x664c8a(0x223)]('2d');if(!imageSmoothingEnabledName&&_0x47a735){if(_0x47a735[_0x664c8a(0x1f5)])imageSmoothingEnabledName=_0x664c8a(0x1f5);else{if(_0x47a735['mozImageSmoothingEnabled'])imageSmoothingEnabledName=_0x664c8a(0x205);else{if(_0x47a735['webkitImageSmoothingEnabled'])imageSmoothingEnabledName='webkitImageSmoothingEnabled';else _0x47a735[_0x664c8a(0x1fb)]&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0x47a735['font']=_0x11ca78,_0x47a735[_0x664c8a(0x21a)]=_0x664c8a(0x219),_0x47a735['lineWidth']=_0x160a89,_0x47a735[imageSmoothingEnabledName]=![],_0x2fd50d['style']['visibility']=_0x664c8a(0x1f8),document[_0x664c8a(0x1fd)][_0x664c8a(0x215)](_0x2fd50d);const _0x2c15f4=measureText(_0x47a735,_0x52d22e,_0x11ca78,_0x1610bc,_0x1f821d);if(!_0x2c15f4)return;_0x2fd50d[_0x664c8a(0x1f9)]=_0x2c15f4,document[_0x664c8a(0x1fd)][_0x664c8a(0x209)](_0x2fd50d),_0x2fd50d[_0x664c8a(0x20c)][_0x664c8a(0x210)]='';const _0x522ece=-(_0x2c15f4[_0x664c8a(0x1fa)]?_0x2c15f4['minx']:0x0),_0x3030f1=Math[_0x664c8a(0x201)](_0x2c15f4[_0x664c8a(0x1f7)])+_0x522ece+_0x1fc3be,_0x1604af=(_0x2c15f4[_0x664c8a(0x21d)]?_0x2c15f4[_0x664c8a(0x21d)]:0x0)+_0x1fc3be,_0x1c1bf3=_0x1604af-(_0x2c15f4[_0x664c8a(0x20f)]?_0x2c15f4['ascent']:0x0)+_0x47544a,_0x2333b8=_0x1604af-_0x1c1bf3+_0x1fc3be;return _0x2fd50d[_0x664c8a(0x1f7)]=_0x3030f1,_0x2fd50d['height']=_0x1604af,_0x47a735[_0x664c8a(0x21e)]=_0x11ca78,_0x47a735['lineJoin']=_0x664c8a(0x219),_0x47a735[_0x664c8a(0x218)]=_0x160a89,_0x47a735[imageSmoothingEnabledName]=![],_0x25e7ff!==_0x664c8a(0x20d)&&(_0x47a735[_0x664c8a(0x1f3)]=_0x25e7ff,_0x47a735['fillRect'](0x0,0x0,_0x2fd50d['width'],_0x2fd50d[_0x664c8a(0x21d)])),_0x1610bc&&(_0x47a735[_0x664c8a(0x216)]=defaultValue(_0x1a9a05[_0x664c8a(0x204)],_0x664c8a(0x20b)),_0x47a735[_0x664c8a(0x20e)](_0x52d22e,_0x522ece+_0x47544a,_0x2333b8)),_0x1f821d&&(_0x47a735[_0x664c8a(0x1f3)]=defaultValue(_0x1a9a05[_0x664c8a(0x1f4)],'#FFFFFF'),_0x47a735[_0x664c8a(0x200)](_0x52d22e,_0x522ece+_0x47544a,_0x2333b8)),_0x2fd50d;}function defaultValue(_0x31e17f,_0x3408c0){if(_0x31e17f!==undefined&&_0x31e17f!==null)return _0x31e17f;return _0x3408c0;}export default writeTextToCanvas;function a77_0x1063(){const _0x772c10=['test','lineWidth','round','lineJoin','createElement','6kQQVxC','height','font','data','9698550porPBm','10px\x20sans-serif','33kxkabW','getContext','fillRect','41967cohxjj','padding','strokeWidth','fillStyle','fillColor','imageSmoothingEnabled','35khJlhP','width','hidden','dimensions','minx','msImageSmoothingEnabled','151666njMGaF','body','3352844bnoXOu','canvas','fillText','ceil','967751SnLPge','399332KznJXT','strokeColor','mozImageSmoothingEnabled','488cJBpmh','text\x20is\x20required.','replace','removeChild','stroke','#000000','style','#00000000','strokeText','ascent','visibility','defaultView','measureText','font-size','1341550urSOvx','appendChild','strokeStyle'];a77_0x1063=function(){return _0x772c10;};return a77_0x1063();}
@@ -1 +1 @@
1
- function a82_0x1132(_0x423b7f,_0x4a452e){const _0xc5d2aa=a82_0xc5d2();return a82_0x1132=function(_0x1132b8,_0x5e722b){_0x1132b8=_0x1132b8-0xd3;let _0x16e6e5=_0xc5d2aa[_0x1132b8];return _0x16e6e5;},a82_0x1132(_0x423b7f,_0x4a452e);}const a82_0x39e056=a82_0x1132;(function(_0x291f89,_0xb3a6b){const _0x32e9ce=a82_0x1132,_0x17cc46=_0x291f89();while(!![]){try{const _0x5cdeb3=parseInt(_0x32e9ce(0xe4))/0x1*(parseInt(_0x32e9ce(0xd9))/0x2)+-parseInt(_0x32e9ce(0xf8))/0x3+parseInt(_0x32e9ce(0xe7))/0x4*(parseInt(_0x32e9ce(0xf0))/0x5)+parseInt(_0x32e9ce(0xed))/0x6+-parseInt(_0x32e9ce(0xd8))/0x7+-parseInt(_0x32e9ce(0xdd))/0x8*(parseInt(_0x32e9ce(0xd6))/0x9)+-parseInt(_0x32e9ce(0xf6))/0xa;if(_0x5cdeb3===_0xb3a6b)break;else _0x17cc46['push'](_0x17cc46['shift']());}catch(_0x36f9af){_0x17cc46['push'](_0x17cc46['shift']());}}}(a82_0xc5d2,0x8338c));import a82_0xb3ff54 from'ol/format/EsriJSON';function a82_0xc5d2(){const _0x5cdace=['url','getType','5976720jjHmKv','all','1838727TpNZCA','mapExtent','layers','geometryType','getSize','time','1494279IzvnLj','params','3572478huhUDG','2022902xBhcLe','_setGeometryParams','getView','getResolution','8GJskUU','layerDefs','valueOf','between','returnGeometry','getProjection','calculateExtent','1sFxwGB','resolution','geometry','1050676hfuNLo','imageDisplay','returnM','inSR','returnZ','getCenter','5325966XrPLWR','run','geojsonTypeToArcGIS','10mBAwhZ','identify','path','getCode'];a82_0xc5d2=function(){return _0x5cdace;};return a82_0xc5d2();}import a82_0x4a85f5 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a82_0x264b48 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a82_0x264b48{constructor(_0x498efb,_0x162a52,_0x1924b7){const _0x53ebe4=a82_0x1132;super(_0x498efb,_0x162a52,_0x1924b7),this[_0x53ebe4(0xf2)]=_0x53ebe4(0xf1),this[_0x53ebe4(0xd7)]={'layers':_0x53ebe4(0xf7),'tolerance':0x0,'returnGeometry':!![]},this['tolerance']=0x3,this[_0x53ebe4(0xe5)]=0x0,this[_0x53ebe4(0xf4)]=appendPath(this[_0x53ebe4(0xf4)],this[_0x53ebe4(0xf2)]),_0x162a52&&((_0x162a52['returnGeometry']===!![]||_0x162a52[_0x53ebe4(0xe1)]===![])&&(this[_0x53ebe4(0xd7)][_0x53ebe4(0xe1)]=_0x162a52[_0x53ebe4(0xe1)]),_0x162a52[_0x53ebe4(0xfa)]&&(this[_0x53ebe4(0xd7)]['layers']=_0x162a52[_0x53ebe4(0xfa)]),_0x162a52[_0x53ebe4(0xde)]&&(this['params']['layerDefs']=_0x162a52['layerDefs']),(_0x162a52[_0x53ebe4(0xeb)]===!![]||_0x162a52[_0x53ebe4(0xeb)]===![])&&(this[_0x53ebe4(0xd7)][_0x53ebe4(0xeb)]=_0x162a52[_0x53ebe4(0xeb)]),(_0x162a52[_0x53ebe4(0xe9)]===!![]||_0x162a52[_0x53ebe4(0xe9)]===![])&&(this[_0x53ebe4(0xd7)][_0x53ebe4(0xe9)]=_0x162a52[_0x53ebe4(0xe9)]));}['at'](_0x111199,_0x369841){const _0x3266b8=a82_0x1132;let _0x4bbaa9,_0x486db7;const _0x3f78b4=new a82_0x4a85f5();_0x4bbaa9=_0x111199,_0x486db7=getEsriSpatialReference(_0x369841['getView']()[_0x3266b8(0xe2)]()[_0x3266b8(0xf3)]());const _0x23681b=_0x369841[_0x3266b8(0xd4)]();_0x23681b&&(this[_0x3266b8(0xd7)][_0x3266b8(0xe8)]=[_0x23681b[0x0],_0x23681b[0x1],0x60]);this[_0x3266b8(0xd7)]['sr']=_0x486db7;const _0x4739af=_0x369841['getView']()[_0x3266b8(0xe3)](_0x369841[_0x3266b8(0xd4)]());this[_0x3266b8(0xd7)][_0x3266b8(0xf9)]={'xmin':_0x4739af[0x0],'ymin':_0x4739af[0x1],'xmax':_0x4739af[0x2],'ymax':_0x4739af[0x3],'spatialReference':_0x486db7};const _0x713fa4=_0x369841[_0x3266b8(0xdb)]()[_0x3266b8(0xdc)](),_0x14e311=_0x369841['getView']()[_0x3266b8(0xec)]();return _0x713fa4&&_0x14e311&&(this[_0x3266b8(0xe5)]=getPointResolution(_0x369841['getView']()['getProjection'](),_0x713fa4,_0x14e311)),this[_0x3266b8(0xda)](_0x4bbaa9,_0x369841[_0x3266b8(0xdb)]()['getProjection']()[_0x3266b8(0xf3)]()),this;}[a82_0x39e056(0xe0)](_0x2df69e,_0x2bd3d5){const _0x3ba530=a82_0x39e056;return this[_0x3ba530(0xd7)][_0x3ba530(0xd5)]=[_0x2df69e[_0x3ba530(0xdf)](),_0x2bd3d5['valueOf']()],this;}[a82_0x39e056(0xee)](){this['request']();}[a82_0x39e056(0xda)](_0x4d5877,_0x1d1b87){const _0x56091e=a82_0x39e056;var _0x50c00b=new a82_0xb3ff54();const _0x240052=_0x50c00b['writeGeometryObject'](_0x4d5877);this[_0x56091e(0xd7)][_0x56091e(0xea)]=getEsriSpatialReference(_0x1d1b87),this[_0x56091e(0xd7)][_0x56091e(0xe6)]=_0x240052,this[_0x56091e(0xd7)][_0x56091e(0xd3)]=this[_0x56091e(0xef)](_0x4d5877[_0x56091e(0xf5)]());}}
1
+ const a82_0x337a5c=a82_0x2401;(function(_0x3d6003,_0x343de6){const _0x448da6=a82_0x2401,_0xe15f9b=_0x3d6003();while(!![]){try{const _0x36c1c7=-parseInt(_0x448da6(0xd4))/0x1*(-parseInt(_0x448da6(0xe2))/0x2)+parseInt(_0x448da6(0xe1))/0x3+parseInt(_0x448da6(0xd5))/0x4+-parseInt(_0x448da6(0xf4))/0x5*(parseInt(_0x448da6(0xe0))/0x6)+-parseInt(_0x448da6(0xf2))/0x7+-parseInt(_0x448da6(0xf3))/0x8*(-parseInt(_0x448da6(0xeb))/0x9)+parseInt(_0x448da6(0xdf))/0xa*(-parseInt(_0x448da6(0xd6))/0xb);if(_0x36c1c7===_0x343de6)break;else _0xe15f9b['push'](_0xe15f9b['shift']());}catch(_0x33e63a){_0xe15f9b['push'](_0xe15f9b['shift']());}}}(a82_0x6c8b,0x317ff));import a82_0x44882b from'ol/format/EsriJSON';import a82_0xcae5bc from'ol/format/GeoJSON';function a82_0x6c8b(){const _0x48debf=['identify','geometry','getSize','181113XQtsIN','1382556Eidigb','169565hTjWmO','getType','mapExtent','returnZ','inSR','valueOf','params','calculateExtent','getView','190dlcwrA','222yezlFP','620247aDNGZI','2DInObF','tolerance','run','getResolution','getProjection','path','_setGeometryParams','returnGeometry','resolution','9csHhsx','layerDefs','layers','between','geojsonTypeToArcGIS','returnM','getCode','1454040TkQTFO','2711144HDScPo','49870onrgBJ','url'];a82_0x6c8b=function(){return _0x48debf;};return a82_0x6c8b();}function a82_0x2401(_0x42ebb,_0x558b9d){const _0x6c8b5a=a82_0x6c8b();return a82_0x2401=function(_0x24010c,_0x542d76){_0x24010c=_0x24010c-0xd4;let _0x5a5ad8=_0x6c8b5a[_0x24010c];return _0x5a5ad8;},a82_0x2401(_0x42ebb,_0x558b9d);}import{getPointResolution}from'ol/proj';import a82_0x1bfd1c from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a82_0x1bfd1c{constructor(_0x1549ba,_0x1f73d4,_0x4d52ee){const _0x574787=a82_0x2401;super(_0x1549ba,_0x1f73d4,_0x4d52ee),this[_0x574787(0xe7)]=_0x574787(0xf6),this['params']={'layers':'all','tolerance':0x0,'returnGeometry':!![]},this[_0x574787(0xe3)]=0x3,this['resolution']=0x0,this[_0x574787(0xf5)]=appendPath(this[_0x574787(0xf5)],this[_0x574787(0xe7)]),_0x1f73d4&&((_0x1f73d4[_0x574787(0xe9)]===!![]||_0x1f73d4[_0x574787(0xe9)]===![])&&(this[_0x574787(0xdc)]['returnGeometry']=_0x1f73d4[_0x574787(0xe9)]),_0x1f73d4[_0x574787(0xed)]&&(this[_0x574787(0xdc)][_0x574787(0xed)]=_0x1f73d4[_0x574787(0xed)]),_0x1f73d4[_0x574787(0xec)]&&(this[_0x574787(0xdc)][_0x574787(0xec)]=_0x1f73d4[_0x574787(0xec)]),(_0x1f73d4[_0x574787(0xd9)]===!![]||_0x1f73d4[_0x574787(0xd9)]===![])&&(this[_0x574787(0xdc)][_0x574787(0xd9)]=_0x1f73d4[_0x574787(0xd9)]),(_0x1f73d4[_0x574787(0xf0)]===!![]||_0x1f73d4[_0x574787(0xf0)]===![])&&(this['params'][_0x574787(0xf0)]=_0x1f73d4[_0x574787(0xf0)]));}['at'](_0x35daee,_0x285c96){const _0x15fa6d=a82_0x2401;let _0x386d91,_0x38779a;const _0x51eb37=new a82_0xcae5bc();_0x386d91=_0x35daee,_0x38779a=getEsriSpatialReference(_0x285c96[_0x15fa6d(0xde)]()['getProjection']()[_0x15fa6d(0xf1)]());const _0x3fccc1=_0x285c96['getSize']();_0x3fccc1&&(this[_0x15fa6d(0xdc)]['imageDisplay']=[_0x3fccc1[0x0],_0x3fccc1[0x1],0x60]);this[_0x15fa6d(0xdc)]['sr']=_0x38779a;const _0x35e996=_0x285c96[_0x15fa6d(0xde)]()[_0x15fa6d(0xdd)](_0x285c96[_0x15fa6d(0xf8)]());this[_0x15fa6d(0xdc)][_0x15fa6d(0xd8)]={'xmin':_0x35e996[0x0],'ymin':_0x35e996[0x1],'xmax':_0x35e996[0x2],'ymax':_0x35e996[0x3],'spatialReference':_0x38779a};const _0x4a29d3=_0x285c96['getView']()[_0x15fa6d(0xe5)](),_0x206c43=_0x285c96['getView']()['getCenter']();return _0x4a29d3&&_0x206c43&&(this[_0x15fa6d(0xea)]=getPointResolution(_0x285c96[_0x15fa6d(0xde)]()['getProjection'](),_0x4a29d3,_0x206c43)),this['_setGeometryParams'](_0x386d91,_0x285c96[_0x15fa6d(0xde)]()[_0x15fa6d(0xe6)]()[_0x15fa6d(0xf1)]()),this;}[a82_0x337a5c(0xee)](_0x39dce4,_0x89f628){const _0xa3bce4=a82_0x337a5c;return this[_0xa3bce4(0xdc)]['time']=[_0x39dce4['valueOf'](),_0x89f628[_0xa3bce4(0xdb)]()],this;}[a82_0x337a5c(0xe4)](){this['request']();}[a82_0x337a5c(0xe8)](_0x187111,_0x9e8931){const _0x150f67=a82_0x337a5c;var _0x463dbf=new a82_0x44882b();const _0x1c5d2c=_0x463dbf['writeGeometryObject'](_0x187111);this[_0x150f67(0xdc)][_0x150f67(0xda)]=getEsriSpatialReference(_0x9e8931),this[_0x150f67(0xdc)][_0x150f67(0xf7)]=_0x1c5d2c,this[_0x150f67(0xdc)]['geometryType']=this[_0x150f67(0xef)](_0x187111[_0x150f67(0xd7)]());}}
@@ -1 +1 @@
1
- const a83_0x3052de=a83_0x389b;function a83_0x4bbe(){const _0x2dc47c=['time','esriSpatialRelIntersects','returnZ','esriSpatialRelCrosses','overlaps','_cleanParams','distance','warn','returnIdsOnly','esriSpatialRelContains','data','/query','params','9EgZTMs','forEach','orderBy','217020KjzuXR','layer','returnDistinctValues','intersects','1088934bhuqRL','contains','within','units','esriSpatialRelOverlaps','url','path','where','returnM','writeGeometryObject','getType','esriSRUnit_Meter','No\x20features\x20found','run','157960tOxIEt','between','distinct','readFeature','request','returnExtentOnly','orderByFields','esriSpatialRelEnvelopeIntersects','valueOf','catch','9208UXPckh','returnGeometry','_setGeometryParams','simplify','ids','205BOnWsk','bboxIntersects','abs','crosses','count','outSR','inSR','geojsonTypeToArcGIS','2149TuWdxP','geometry','39416OfDjxa','query','getSize','56971GsEbUs','touches','indexIntersects','1=1','spatialRel','features','154610keWnBb','maxAllowableOffset','code','esriSpatialRelTouches','push'];a83_0x4bbe=function(){return _0x2dc47c;};return a83_0x4bbe();}function a83_0x389b(_0x48cbdd,_0x5a40ae){const _0x4bbe78=a83_0x4bbe();return a83_0x389b=function(_0x389bf1,_0x1b4766){_0x389bf1=_0x389bf1-0x161;let _0x56bb3f=_0x4bbe78[_0x389bf1];return _0x56bb3f;},a83_0x389b(_0x48cbdd,_0x5a40ae);}(function(_0xbb3257,_0x5b3f69){const _0x505ca7=a83_0x389b,_0x1185e2=_0xbb3257();while(!![]){try{const _0x58c57d=-parseInt(_0x505ca7(0x193))/0x1+parseInt(_0x505ca7(0x177))/0x2+parseInt(_0x505ca7(0x169))/0x3+parseInt(_0x505ca7(0x190))/0x4*(-parseInt(_0x505ca7(0x186))/0x5)+-parseInt(_0x505ca7(0x165))/0x6+parseInt(_0x505ca7(0x18e))/0x7*(parseInt(_0x505ca7(0x181))/0x8)+-parseInt(_0x505ca7(0x162))/0x9*(parseInt(_0x505ca7(0x199))/0xa);if(_0x58c57d===_0x5b3f69)break;else _0x1185e2['push'](_0x1185e2['shift']());}catch(_0x214133){_0x1185e2['push'](_0x1185e2['shift']());}}}(a83_0x4bbe,0x4504b));import a83_0x4bb551 from'ol/format/EsriJSON';import a83_0x4be2a3 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a83_0x4be2a3{constructor(_0x332e1c,_0x3e5a25,_0x7938ff){const _0x405d2a=a83_0x389b;super(_0x332e1c,_0x3e5a25,_0x7938ff),this[_0x405d2a(0x16f)]=_0x405d2a(0x191),this['params']={'returnGeometry':!![],'where':_0x405d2a(0x196),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()['getTime']()},this[_0x405d2a(0x16e)]=appendPath(this[_0x405d2a(0x16e)],this['path']),_0x3e5a25&&((_0x3e5a25['returnGeometry']===!![]||_0x3e5a25[_0x405d2a(0x182)]===![])&&(this['params'][_0x405d2a(0x182)]=_0x3e5a25[_0x405d2a(0x182)]),_0x3e5a25['where']&&(this[_0x405d2a(0x161)]['where']=_0x3e5a25['where']),_0x3e5a25[_0x405d2a(0x18b)]&&(this['params'][_0x405d2a(0x18b)]=getEsriSpatialReference(_0x3e5a25['outSR'])),(_0x3e5a25['returnZ']===!![]||_0x3e5a25[_0x405d2a(0x1a0)]===![])&&(this[_0x405d2a(0x161)]['returnZ']=_0x3e5a25[_0x405d2a(0x1a0)]),(_0x3e5a25[_0x405d2a(0x171)]===!![]||_0x3e5a25['returnM']===![])&&(this[_0x405d2a(0x161)][_0x405d2a(0x171)]=_0x3e5a25['returnM']));}[a83_0x3052de(0x16b)](_0x220f0b,_0x6c667e){const _0x3bcb20=a83_0x3052de;return this[_0x3bcb20(0x183)](_0x220f0b,_0x6c667e),this[_0x3bcb20(0x161)][_0x3bcb20(0x197)]=_0x3bcb20(0x1a7),this;}[a83_0x3052de(0x168)](_0x1d40c5,_0x13d83b){const _0x1e396f=a83_0x3052de;return this[_0x1e396f(0x183)](_0x1d40c5,_0x13d83b),this[_0x1e396f(0x161)][_0x1e396f(0x197)]='esriSpatialRelIntersects',this;}[a83_0x3052de(0x16a)](_0xca746,_0x79fb10){const _0x8189a4=a83_0x3052de;return this[_0x8189a4(0x183)](_0xca746,_0x79fb10),this[_0x8189a4(0x161)][_0x8189a4(0x197)]='esriSpatialRelWithin',this;}[a83_0x3052de(0x189)](_0x52cbcb,_0x476923){const _0x56b553=a83_0x3052de;return this[_0x56b553(0x183)](_0x52cbcb,_0x476923),this[_0x56b553(0x161)][_0x56b553(0x197)]=_0x56b553(0x1a1),this;}[a83_0x3052de(0x194)](_0x5390ba,_0x14a4de){const _0x49c495=a83_0x3052de;return this[_0x49c495(0x183)](_0x5390ba,_0x14a4de),this[_0x49c495(0x161)][_0x49c495(0x197)]=_0x49c495(0x19c),this;}[a83_0x3052de(0x1a2)](_0x4a02a6,_0x57b6c3){const _0x19ea14=a83_0x3052de;return this[_0x19ea14(0x183)](_0x4a02a6,_0x57b6c3),this[_0x19ea14(0x161)]['spatialRel']=_0x19ea14(0x16d),this;}[a83_0x3052de(0x187)](_0x3f002d,_0x39e6e8){const _0x3d1d86=a83_0x3052de;return this[_0x3d1d86(0x183)](_0x3f002d,_0x39e6e8),this[_0x3d1d86(0x161)]['spatialRel']=_0x3d1d86(0x17e),this;}[a83_0x3052de(0x195)](_0x22fa7c,_0x2935e7){const _0x4a0b20=a83_0x3052de;return this[_0x4a0b20(0x183)](_0x22fa7c,_0x2935e7),this[_0x4a0b20(0x161)][_0x4a0b20(0x197)]='esriSpatialRelIndexIntersects',this;}['nearby'](_0x51f142,_0x236a42,_0x2af22f){const _0x4da053=a83_0x3052de;return this['_setGeometryParams'](_0x51f142,_0x236a42),this[_0x4da053(0x161)][_0x4da053(0x197)]=_0x4da053(0x19f),this['params'][_0x4da053(0x16c)]=_0x4da053(0x174),this['params'][_0x4da053(0x1a4)]=_0x2af22f,this;}[a83_0x3052de(0x170)](_0x4f3e65){const _0x1723e0=a83_0x3052de;return this[_0x1723e0(0x161)][_0x1723e0(0x170)]=_0x4f3e65,this;}[a83_0x3052de(0x178)](_0x3612d8,_0x3196ad){const _0x284eec=a83_0x3052de;return this[_0x284eec(0x161)][_0x284eec(0x19e)]=[_0x3612d8[_0x284eec(0x17f)](),_0x3196ad[_0x284eec(0x17f)]()],this;}[a83_0x3052de(0x184)](_0x18432d,_0x359195){const _0x4c0d47=a83_0x3052de,_0x586a2f=_0x18432d['getExtent']();var _0x527380=Math[_0x4c0d47(0x188)](_0x586a2f[0x2]-_0x586a2f[0x0]);const _0x37cc5c=_0x18432d[_0x4c0d47(0x192)]();if(_0x37cc5c)return this[_0x4c0d47(0x161)][_0x4c0d47(0x19a)]=_0x527380/_0x37cc5c[0x1]*_0x359195,this;}[a83_0x3052de(0x164)](_0x42abc3,_0x40e974){const _0x45c7a7=a83_0x3052de;return _0x40e974=_0x40e974||'ASC',this[_0x45c7a7(0x161)][_0x45c7a7(0x17d)]=this[_0x45c7a7(0x161)]['orderByFields']?this[_0x45c7a7(0x161)][_0x45c7a7(0x17d)]+',':'',this[_0x45c7a7(0x161)][_0x45c7a7(0x17d)]+=[_0x42abc3,_0x40e974]['join']('\x20'),this;}async[a83_0x3052de(0x176)](){const _0x5342f9=a83_0x3052de;this[_0x5342f9(0x1a3)]();const _0x3be787=await this['request']()[_0x5342f9(0x180)](_0x51b5cc=>{throw new Error(_0x51b5cc);});if(_0x3be787['status']!==0xc8)throw new Error(_0x5342f9(0x175));if(_0x3be787[_0x5342f9(0x1a8)]&&_0x3be787['data']['features']&&_0x3be787['data'][_0x5342f9(0x198)]['length']>0x0){var _0x1f56a7=new a83_0x4bb551();let _0x4c4840=[];return _0x3be787['data'][_0x5342f9(0x198)][_0x5342f9(0x163)](_0x53e77c=>{const _0x1a85e7=_0x5342f9,_0x20ca27=_0x1f56a7[_0x1a85e7(0x17a)](_0x53e77c);_0x4c4840[_0x1a85e7(0x19d)](_0x20ca27);}),_0x4c4840;}return[];}[a83_0x3052de(0x18a)](){this['_cleanParams'](),this['params']['returnCountOnly']=!![],this['request']();}[a83_0x3052de(0x185)](){const _0x2ca992=a83_0x3052de;this[_0x2ca992(0x1a3)](),this['params'][_0x2ca992(0x1a6)]=!![],this[_0x2ca992(0x17b)]();}[a83_0x3052de(0x179)](){const _0x580455=a83_0x3052de;return this[_0x580455(0x161)]['returnGeometry']=![],this[_0x580455(0x161)][_0x580455(0x167)]=!![],this;}[a83_0x3052de(0x166)](_0x42392d){const _0x1a0d41=a83_0x3052de;return this[_0x1a0d41(0x16f)]=_0x42392d+_0x1a0d41(0x1a9),this;}['_trapSQLerrors'](_0x3fa51e){const _0x4a28fe=a83_0x3052de;_0x3fa51e&&(_0x3fa51e[_0x4a28fe(0x19b)]==='400'&&console[_0x4a28fe(0x1a5)]['apply']('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}[a83_0x3052de(0x1a3)](){const _0x3d917d=a83_0x3052de;delete this[_0x3d917d(0x161)]['returnIdsOnly'],delete this['params'][_0x3d917d(0x17c)],delete this[_0x3d917d(0x161)]['returnCountOnly'];}[a83_0x3052de(0x183)](_0x15a1e0,_0x5e8aa8){const _0x46eafd=a83_0x3052de;var _0x759dd1=new a83_0x4bb551();const _0x471abe=_0x759dd1[_0x46eafd(0x172)](_0x15a1e0);this[_0x46eafd(0x161)][_0x46eafd(0x18c)]=getEsriSpatialReference(_0x5e8aa8),this['params'][_0x46eafd(0x18f)]=_0x471abe,this['params']['geometryType']=this[_0x46eafd(0x18d)](_0x15a1e0[_0x46eafd(0x173)]());}}
1
+ const a83_0x4a6e16=a83_0x5705;(function(_0x494129,_0x1ef4e1){const _0xc6752c=a83_0x5705,_0xceacec=_0x494129();while(!![]){try{const _0x1fdbdb=parseInt(_0xc6752c(0x7d))/0x1+parseInt(_0xc6752c(0xa7))/0x2+parseInt(_0xc6752c(0xbb))/0x3+-parseInt(_0xc6752c(0xa3))/0x4*(parseInt(_0xc6752c(0x9a))/0x5)+parseInt(_0xc6752c(0x7b))/0x6*(parseInt(_0xc6752c(0x8a))/0x7)+-parseInt(_0xc6752c(0xa6))/0x8+-parseInt(_0xc6752c(0x9c))/0x9;if(_0x1fdbdb===_0x1ef4e1)break;else _0xceacec['push'](_0xceacec['shift']());}catch(_0x24beb7){_0xceacec['push'](_0xceacec['shift']());}}}(a83_0x2277,0x2c943));import a83_0x1af8bc from'ol/format/EsriJSON';import a83_0x1da4dd from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';function a83_0x5705(_0x52ab91,_0x2763bf){const _0x2277a9=a83_0x2277();return a83_0x5705=function(_0x57051f,_0x45d112){_0x57051f=_0x57051f-0x75;let _0x10ee4e=_0x2277a9[_0x57051f];return _0x10ee4e;},a83_0x5705(_0x52ab91,_0x2763bf);}function a83_0x2277(){const _0x44f12d=['nearby','layer','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','returnZ','run','intersects','indexIntersects','code','esriSpatialRelTouches','abs','_trapSQLerrors','within','where','url','returnM','features','path','distance','317988dGUNWq','esriSpatialRelIndexIntersects','ASC','_cleanParams','returnIdsOnly','units','returnExtentOnly','status','21702lGkGFu','No\x20features\x20found','291047LlPsFN','count','outSR','esriSRUnit_Meter','geojsonTypeToArcGIS','contains','catch','esriSpatialRelEnvelopeIntersects','apply','bboxIntersects','ids','push','request','294vZYvsB','returnCountOnly','400','overlaps','simplify','esriSpatialRelCrosses','_setGeometryParams','returnDistinctValues','query','esriSpatialRelWithin','spatialRel','orderByFields','/query','esriSpatialRelContains','valueOf','writeGeometryObject','55iZbsep','inSR','2052855uAXGzA','returnGeometry','params','esriSpatialRelOverlaps','data','distinct','getExtent','6364QqnQii','getTime','forEach','1958896ZiRiKT','248192fmznBl','getType'];a83_0x2277=function(){return _0x44f12d;};return a83_0x2277();}import{appendPath}from'../../UrlUtil';export default class Query extends a83_0x1da4dd{constructor(_0x3224bf,_0x2c764d,_0x3105eb){const _0x5f3015=a83_0x5705;super(_0x3224bf,_0x2c764d,_0x3105eb),this['path']=_0x5f3015(0x92),this[_0x5f3015(0x9e)]={'returnGeometry':!![],'where':'1=1','outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x5f3015(0xa4)]()},this['url']=appendPath(this[_0x5f3015(0xb6)],this[_0x5f3015(0xb9)]),_0x2c764d&&((_0x2c764d[_0x5f3015(0x9d)]===!![]||_0x2c764d[_0x5f3015(0x9d)]===![])&&(this[_0x5f3015(0x9e)][_0x5f3015(0x9d)]=_0x2c764d[_0x5f3015(0x9d)]),_0x2c764d['where']&&(this[_0x5f3015(0x9e)][_0x5f3015(0xb5)]=_0x2c764d[_0x5f3015(0xb5)]),_0x2c764d[_0x5f3015(0x7f)]&&(this['params'][_0x5f3015(0x7f)]=getEsriSpatialReference(_0x2c764d[_0x5f3015(0x7f)])),(_0x2c764d[_0x5f3015(0xac)]===!![]||_0x2c764d[_0x5f3015(0xac)]===![])&&(this[_0x5f3015(0x9e)][_0x5f3015(0xac)]=_0x2c764d[_0x5f3015(0xac)]),(_0x2c764d[_0x5f3015(0xb7)]===!![]||_0x2c764d[_0x5f3015(0xb7)]===![])&&(this[_0x5f3015(0x9e)][_0x5f3015(0xb7)]=_0x2c764d[_0x5f3015(0xb7)]));}[a83_0x4a6e16(0xb4)](_0x27125d,_0xb08f62){const _0x5967db=a83_0x4a6e16;return this[_0x5967db(0x90)](_0x27125d,_0xb08f62),this[_0x5967db(0x9e)][_0x5967db(0x94)]=_0x5967db(0x97),this;}[a83_0x4a6e16(0xae)](_0x2fca25,_0x454186){const _0x167538=a83_0x4a6e16;return this[_0x167538(0x90)](_0x2fca25,_0x454186),this[_0x167538(0x9e)][_0x167538(0x94)]='esriSpatialRelIntersects',this;}[a83_0x4a6e16(0x82)](_0x4bcc54,_0x5026c3){const _0x56f1b5=a83_0x4a6e16;return this['_setGeometryParams'](_0x4bcc54,_0x5026c3),this[_0x56f1b5(0x9e)][_0x56f1b5(0x94)]=_0x56f1b5(0x93),this;}['crosses'](_0xbd21d5,_0xa2cd48){const _0x434deb=a83_0x4a6e16;return this[_0x434deb(0x90)](_0xbd21d5,_0xa2cd48),this[_0x434deb(0x9e)][_0x434deb(0x94)]=_0x434deb(0x8f),this;}['touches'](_0x115b6d,_0x3ce0ff){const _0x41588d=a83_0x4a6e16;return this[_0x41588d(0x90)](_0x115b6d,_0x3ce0ff),this[_0x41588d(0x9e)][_0x41588d(0x94)]=_0x41588d(0xb1),this;}[a83_0x4a6e16(0x8d)](_0x23c312,_0x3ca251){const _0x145fd4=a83_0x4a6e16;return this[_0x145fd4(0x90)](_0x23c312,_0x3ca251),this[_0x145fd4(0x9e)]['spatialRel']=_0x145fd4(0x9f),this;}[a83_0x4a6e16(0x86)](_0x59b404,_0x440809){const _0x26e33a=a83_0x4a6e16;return this[_0x26e33a(0x90)](_0x59b404,_0x440809),this[_0x26e33a(0x9e)]['spatialRel']=_0x26e33a(0x84),this;}[a83_0x4a6e16(0xaf)](_0x27aead,_0x3e1c27){const _0x3940e3=a83_0x4a6e16;return this[_0x3940e3(0x90)](_0x27aead,_0x3e1c27),this[_0x3940e3(0x9e)][_0x3940e3(0x94)]=_0x3940e3(0xbc),this;}[a83_0x4a6e16(0xa9)](_0x3ba75c,_0x2b64a6,_0x5c16b7){const _0x38cfb8=a83_0x4a6e16;return this[_0x38cfb8(0x90)](_0x3ba75c,_0x2b64a6),this['params'][_0x38cfb8(0x94)]='esriSpatialRelIntersects',this[_0x38cfb8(0x9e)][_0x38cfb8(0x78)]=_0x38cfb8(0x80),this['params'][_0x38cfb8(0xba)]=_0x5c16b7,this;}['where'](_0x13962b){const _0x13244b=a83_0x4a6e16;return this[_0x13244b(0x9e)][_0x13244b(0xb5)]=_0x13962b,this;}['between'](_0x3686af,_0x4ac5f3){const _0x2d1592=a83_0x4a6e16;return this[_0x2d1592(0x9e)]['time']=[_0x3686af[_0x2d1592(0x98)](),_0x4ac5f3[_0x2d1592(0x98)]()],this;}[a83_0x4a6e16(0x8e)](_0x81b82,_0x45e477){const _0x2987ba=a83_0x4a6e16,_0x19da5a=_0x81b82[_0x2987ba(0xa2)]();var _0x1ae4c5=Math[_0x2987ba(0xb2)](_0x19da5a[0x2]-_0x19da5a[0x0]);const _0x17d889=_0x81b82['getSize']();if(_0x17d889)return this[_0x2987ba(0x9e)]['maxAllowableOffset']=_0x1ae4c5/_0x17d889[0x1]*_0x45e477,this;}['orderBy'](_0x45cc52,_0x1f6a6c){const _0x1f06d4=a83_0x4a6e16;return _0x1f6a6c=_0x1f6a6c||_0x1f06d4(0x75),this['params'][_0x1f06d4(0x95)]=this['params']['orderByFields']?this[_0x1f06d4(0x9e)][_0x1f06d4(0x95)]+',':'',this['params'][_0x1f06d4(0x95)]+=[_0x45cc52,_0x1f6a6c]['join']('\x20'),this;}async[a83_0x4a6e16(0xad)](){const _0x4619a0=a83_0x4a6e16;this[_0x4619a0(0x76)]();const _0x6e1bf=await this[_0x4619a0(0x89)]()[_0x4619a0(0x83)](_0x2dc791=>{throw new Error(_0x2dc791);});if(_0x6e1bf[_0x4619a0(0x7a)]!==0xc8)throw new Error(_0x4619a0(0x7c));if(_0x6e1bf['data']&&_0x6e1bf[_0x4619a0(0xa0)]['features']&&_0x6e1bf[_0x4619a0(0xa0)][_0x4619a0(0xb8)]['length']>0x0){var _0x25117d=new a83_0x1af8bc();let _0x265755=[];return _0x6e1bf[_0x4619a0(0xa0)][_0x4619a0(0xb8)][_0x4619a0(0xa5)](_0x3419c7=>{const _0x511741=_0x4619a0,_0x412def=_0x25117d['readFeature'](_0x3419c7);_0x265755[_0x511741(0x88)](_0x412def);}),_0x265755;}return[];}[a83_0x4a6e16(0x7e)](){const _0x25e308=a83_0x4a6e16;this[_0x25e308(0x76)](),this['params'][_0x25e308(0x8b)]=!![],this['request']();}[a83_0x4a6e16(0x87)](){const _0x43fe3c=a83_0x4a6e16;this[_0x43fe3c(0x76)](),this[_0x43fe3c(0x9e)][_0x43fe3c(0x77)]=!![],this[_0x43fe3c(0x89)]();}[a83_0x4a6e16(0xa1)](){const _0x5ad296=a83_0x4a6e16;return this[_0x5ad296(0x9e)][_0x5ad296(0x9d)]=![],this['params'][_0x5ad296(0x91)]=!![],this;}[a83_0x4a6e16(0xaa)](_0xb1158b){const _0x5c2a48=a83_0x4a6e16;return this[_0x5c2a48(0xb9)]=_0xb1158b+_0x5c2a48(0x96),this;}[a83_0x4a6e16(0xb3)](_0x1ca388){const _0x4469cc=a83_0x4a6e16;_0x1ca388&&(_0x1ca388[_0x4469cc(0xb0)]===_0x4469cc(0x8c)&&console['warn'][_0x4469cc(0x85)](_0x4469cc(0xab)));}[a83_0x4a6e16(0x76)](){const _0x3f285a=a83_0x4a6e16;delete this[_0x3f285a(0x9e)][_0x3f285a(0x77)],delete this[_0x3f285a(0x9e)][_0x3f285a(0x79)],delete this[_0x3f285a(0x9e)][_0x3f285a(0x8b)];}[a83_0x4a6e16(0x90)](_0x68681d,_0x465886){const _0x3840d7=a83_0x4a6e16;var _0x57aa0b=new a83_0x1af8bc();const _0x3f3cc4=_0x57aa0b[_0x3840d7(0x99)](_0x68681d);this[_0x3840d7(0x9e)][_0x3840d7(0x9b)]=getEsriSpatialReference(_0x465886),this['params']['geometry']=_0x3f3cc4,this[_0x3840d7(0x9e)]['geometryType']=this[_0x3840d7(0x81)](_0x68681d[_0x3840d7(0xa8)]());}}
@@ -1 +1 @@
1
- var a84_0x3122d6=a84_0x53b7;(function(_0x4a210f,_0x160a11){var _0x224712=a84_0x53b7,_0x5c1a44=_0x4a210f();while(!![]){try{var _0x4795c5=parseInt(_0x224712(0xdb))/0x1*(parseInt(_0x224712(0xe8))/0x2)+-parseInt(_0x224712(0xe5))/0x3+-parseInt(_0x224712(0xdd))/0x4+-parseInt(_0x224712(0xf4))/0x5*(parseInt(_0x224712(0xd6))/0x6)+-parseInt(_0x224712(0xfa))/0x7*(parseInt(_0x224712(0xfb))/0x8)+-parseInt(_0x224712(0xf2))/0x9*(-parseInt(_0x224712(0xe2))/0xa)+parseInt(_0x224712(0xdc))/0xb;if(_0x4795c5===_0x160a11)break;else _0x5c1a44['push'](_0x5c1a44['shift']());}catch(_0x35e126){_0x5c1a44['push'](_0x5c1a44['shift']());}}}(a84_0xc1aa,0x5fe02));function a84_0xc1aa(){var _0x1ac0c1=['toString','1581006kVlsTf','test','geojsonTypeToArcGIS','26148bcfXok','method','JSONP','json','[object\x20Array]','prototype','length','get','hasOwnProperty','serialize','112473tuBXEQ','returnUnformattedValues','205UDWklc','post','Polygon','call','stringify','esriGeometryPolyline','565222xHAPaS','40CBMGFA','format','url','GET','esriGeometryPoint','26826SmtrJs','Point','MultiPolygon','params','esriGeometryMultipoint','33KKFJEQ','18672423OTGewi','2538732NKYlCi','request','MultiPoint','[object\x20Object]','valueOf','10HeiacS','esriGeometryPolygon'];a84_0xc1aa=function(){return _0x1ac0c1;};return a84_0xc1aa();}function a84_0x53b7(_0x42452d,_0xd18e27){var _0xc1aaaf=a84_0xc1aa();return a84_0x53b7=function(_0x53b718,_0x422931){_0x53b718=_0x53b718-0xd2;var _0x7f9f25=_0xc1aaaf[_0x53b718];return _0x7f9f25;},a84_0x53b7(_0x42452d,_0xd18e27);}import a84_0x34d6c5 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x30e14b,_0x403ea2,_0x4ce781){var _0x523fb8=a84_0x53b7;this[_0x523fb8(0xd3)]=_0x30e14b,this['params']=_0x403ea2||{},this[_0x523fb8(0xe9)]=!_0x4ce781?_0x523fb8(0xd4):_0x4ce781;}[a84_0x3122d6(0xe7)](_0x19237c){var _0x1b9593=a84_0x3122d6,_0x50f659;switch(_0x19237c){case _0x1b9593(0xd7):_0x50f659=_0x1b9593(0xd5);break;case _0x1b9593(0xdf):_0x50f659=_0x1b9593(0xda);break;case'LineString':_0x50f659=_0x1b9593(0xf9);break;case'MultiLineString':_0x50f659='esriGeometryPolyline';break;case _0x1b9593(0xf6):_0x50f659=_0x1b9593(0xe3);break;case _0x1b9593(0xd8):_0x50f659='esriGeometryPolygon';break;}return _0x50f659;}['isArcgisOnline'](_0xaf7d71){var _0x205b33=a84_0x3122d6;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x205b33(0xe6)](_0xaf7d71);}[a84_0x3122d6(0xf1)](_0x5ba1e5){var _0x47e886=a84_0x3122d6,_0x3e635f='';_0x5ba1e5['f']=_0x5ba1e5['f']||_0x47e886(0xeb);for(var _0x348e9b in _0x5ba1e5){if(Object[_0x47e886(0xed)][_0x47e886(0xf0)][_0x47e886(0xf7)](_0x5ba1e5,_0x348e9b)){var _0x232b8d=_0x5ba1e5[_0x348e9b],_0x5ba85a=Object[_0x47e886(0xed)][_0x47e886(0xe4)][_0x47e886(0xf7)](_0x232b8d),_0x41b1e3;_0x3e635f[_0x47e886(0xee)]&&(_0x3e635f+='&');if(_0x5ba85a===_0x47e886(0xec))_0x41b1e3=Object[_0x47e886(0xed)]['toString'][_0x47e886(0xf7)](_0x232b8d[0x0])==='[object\x20Object]'?JSON['stringify'](_0x232b8d):_0x232b8d['join'](',');else{if(_0x5ba85a===_0x47e886(0xe0))_0x41b1e3=JSON[_0x47e886(0xf8)](_0x232b8d);else _0x5ba85a==='[object\x20Date]'?_0x41b1e3=_0x232b8d[_0x47e886(0xe1)]():_0x41b1e3=_0x232b8d;}_0x3e635f+=encodeURIComponent(_0x348e9b)+'='+encodeURIComponent(_0x41b1e3);}}return _0x3e635f;}[a84_0x3122d6(0xd2)](_0x163d04){var _0x1013e2=a84_0x3122d6;return this['params'][_0x1013e2(0xf3)]=!_0x163d04,this;}async[a84_0x3122d6(0xde)](){var _0x953662=a84_0x3122d6,_0x259c53=this['serialize'](this[_0x953662(0xd9)]);const _0x1e8d0e=this[_0x953662(0xd3)]['indexOf']('?')>-0x1?this['url']+'&'+_0x259c53:this[_0x953662(0xd3)]+'?'+_0x259c53;if(this[_0x953662(0xe9)]===_0x953662(0xd4))return a84_0x34d6c5[_0x953662(0xef)](_0x1e8d0e);else{if(this['method']===_0x953662(0xea))return jsonp(_0x1e8d0e);else{const _0x26c771=stringify(this[_0x953662(0xd9)]);return a84_0x34d6c5[_0x953662(0xf5)](this[_0x953662(0xd3)],_0x26c771);}}}}
1
+ var a84_0x1a55a4=a84_0x42d7;(function(_0x2bb2b4,_0x4e938e){var _0x23be9a=a84_0x42d7,_0x231c84=_0x2bb2b4();while(!![]){try{var _0x517f42=parseInt(_0x23be9a(0x1ba))/0x1+parseInt(_0x23be9a(0x1c0))/0x2*(-parseInt(_0x23be9a(0x1b7))/0x3)+parseInt(_0x23be9a(0x1d0))/0x4+parseInt(_0x23be9a(0x1ca))/0x5*(-parseInt(_0x23be9a(0x1d2))/0x6)+parseInt(_0x23be9a(0x1ae))/0x7+parseInt(_0x23be9a(0x1c3))/0x8*(-parseInt(_0x23be9a(0x1b3))/0x9)+-parseInt(_0x23be9a(0x1bd))/0xa*(-parseInt(_0x23be9a(0x1cd))/0xb);if(_0x517f42===_0x4e938e)break;else _0x231c84['push'](_0x231c84['shift']());}catch(_0x2d11d3){_0x231c84['push'](_0x231c84['shift']());}}}(a84_0x13e7,0x8af72));import a84_0x51c411 from'../../AxiosUtil';function a84_0x42d7(_0x4a0e73,_0x13e884){var _0x13e7dd=a84_0x13e7();return a84_0x42d7=function(_0x42d7a5,_0x517710){_0x42d7a5=_0x42d7a5-0x1ae;var _0x5789e3=_0x13e7dd[_0x42d7a5];return _0x5789e3;},a84_0x42d7(_0x4a0e73,_0x13e884);}function a84_0x13e7(){var _0x4c0d52=['395643LdczmZ','returnUnformattedValues','esriGeometryMultipoint','94438fxyLJs','toString','MultiPoint','21380aNMmDj','call','MultiPolygon','6IHyeFh','GET','prototype','8RrgvQP','MultiLineString','method','JSONP','Point','request','isArcgisOnline','15815uBgrfD','esriGeometryPoint','params','4906knFrlj','[object\x20Object]','stringify','2941992Wyuser','test','1002wmCtRg','3021935RTgkrE','serialize','[object\x20Array]','[object\x20Date]','LineString','6499107ccLUcU','url','get','esriGeometryPolygon'];a84_0x13e7=function(){return _0x4c0d52;};return a84_0x13e7();}import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x5a7fc8,_0x59f8cf,_0x17a229){var _0x4c6731=a84_0x42d7;this['url']=_0x5a7fc8,this[_0x4c6731(0x1cc)]=_0x59f8cf||{},this['method']=!_0x17a229?_0x4c6731(0x1c1):_0x17a229;}['geojsonTypeToArcGIS'](_0x1e7cb3){var _0x1d1845=a84_0x42d7,_0x4e83d8;switch(_0x1e7cb3){case _0x1d1845(0x1c7):_0x4e83d8=_0x1d1845(0x1cb);break;case _0x1d1845(0x1bc):_0x4e83d8=_0x1d1845(0x1b9);break;case _0x1d1845(0x1b2):_0x4e83d8='esriGeometryPolyline';break;case _0x1d1845(0x1c4):_0x4e83d8='esriGeometryPolyline';break;case'Polygon':_0x4e83d8=_0x1d1845(0x1b6);break;case _0x1d1845(0x1bf):_0x4e83d8='esriGeometryPolygon';break;}return _0x4e83d8;}[a84_0x1a55a4(0x1c9)](_0x562953){var _0xebc2ba=a84_0x1a55a4;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0xebc2ba(0x1d1)](_0x562953);}['serialize'](_0x22025c){var _0x37ae18=a84_0x1a55a4,_0x22793a='';_0x22025c['f']=_0x22025c['f']||'json';for(var _0x33a3c6 in _0x22025c){if(Object[_0x37ae18(0x1c2)]['hasOwnProperty'][_0x37ae18(0x1be)](_0x22025c,_0x33a3c6)){var _0x550dc2=_0x22025c[_0x33a3c6],_0xdfd343=Object['prototype'][_0x37ae18(0x1bb)][_0x37ae18(0x1be)](_0x550dc2),_0x1b24ab;_0x22793a['length']&&(_0x22793a+='&');if(_0xdfd343===_0x37ae18(0x1b0))_0x1b24ab=Object[_0x37ae18(0x1c2)][_0x37ae18(0x1bb)][_0x37ae18(0x1be)](_0x550dc2[0x0])===_0x37ae18(0x1ce)?JSON[_0x37ae18(0x1cf)](_0x550dc2):_0x550dc2['join'](',');else{if(_0xdfd343==='[object\x20Object]')_0x1b24ab=JSON[_0x37ae18(0x1cf)](_0x550dc2);else _0xdfd343===_0x37ae18(0x1b1)?_0x1b24ab=_0x550dc2['valueOf']():_0x1b24ab=_0x550dc2;}_0x22793a+=encodeURIComponent(_0x33a3c6)+'='+encodeURIComponent(_0x1b24ab);}}return _0x22793a;}['format'](_0x37de0c){var _0x3a4f5e=a84_0x1a55a4;return this[_0x3a4f5e(0x1cc)][_0x3a4f5e(0x1b8)]=!_0x37de0c,this;}async[a84_0x1a55a4(0x1c8)](){var _0xc9b666=a84_0x1a55a4,_0x1d37d1=this[_0xc9b666(0x1af)](this[_0xc9b666(0x1cc)]);const _0xd905fa=this['url']['indexOf']('?')>-0x1?this[_0xc9b666(0x1b4)]+'&'+_0x1d37d1:this[_0xc9b666(0x1b4)]+'?'+_0x1d37d1;if(this[_0xc9b666(0x1c5)]==='GET')return a84_0x51c411[_0xc9b666(0x1b5)](_0xd905fa);else{if(this[_0xc9b666(0x1c5)]===_0xc9b666(0x1c6))return jsonp(_0xd905fa);else{const _0x2ad9b0=stringify(this[_0xc9b666(0x1cc)]);return a84_0x51c411['post'](this[_0xc9b666(0x1b4)],_0x2ad9b0);}}}}
@@ -1 +1 @@
1
- const a86_0x50ea28=a86_0x439b;(function(_0x21b3aa,_0x6a352f){const _0x3fd2ce=a86_0x439b,_0x3fd3f4=_0x21b3aa();while(!![]){try{const _0x4a9e82=-parseInt(_0x3fd2ce(0x1fe))/0x1+-parseInt(_0x3fd2ce(0x201))/0x2*(-parseInt(_0x3fd2ce(0x1ea))/0x3)+parseInt(_0x3fd2ce(0x1e8))/0x4*(parseInt(_0x3fd2ce(0x1f1))/0x5)+parseInt(_0x3fd2ce(0x1f0))/0x6+parseInt(_0x3fd2ce(0x1f3))/0x7*(-parseInt(_0x3fd2ce(0x1f6))/0x8)+parseInt(_0x3fd2ce(0x1fc))/0x9*(parseInt(_0x3fd2ce(0x1f7))/0xa)+-parseInt(_0x3fd2ce(0x1ff))/0xb*(parseInt(_0x3fd2ce(0x202))/0xc);if(_0x4a9e82===_0x6a352f)break;else _0x3fd3f4['push'](_0x3fd3f4['shift']());}catch(_0x5ae143){_0x3fd3f4['push'](_0x3fd3f4['shift']());}}}(a86_0x1429,0xc477d));import{and,intersects}from'ol/format/filter';import a86_0x35d5b2 from'../../format/CQL';import a86_0x443a09 from'ol/format/WFS';function a86_0x439b(_0x4d7a77,_0x391dff){const _0x1429d1=a86_0x1429();return a86_0x439b=function(_0x439b49,_0x4862b6){_0x439b49=_0x439b49-0x1e7;let _0x384fdd=_0x1429d1[_0x439b49];return _0x384fdd;},a86_0x439b(_0x4d7a77,_0x391dff);}function a86_0x1429(){const _0x3a57a4=['5696550erZVQd','618385KMkQpZ','geometry','16163woUMyg','srsName','features','3424XIUzmQ','10NVlltZ','tableName','stringify','catch','json','9113346jXFGuh','POST','1113532BeYuuJ','44JQTiYn','error','1245218YIukSi','3857736UZHXfP','the_geom','url','serializeToString','read','map','readFeature','then','writeGetFeature','application/json','52uYOkHg','where','3derIjJ','queryParameters','srsName\x20is\x20required','execute','_geoserverQuery','geometryName'];a86_0x1429=function(){return _0x3a57a4;};return a86_0x1429();}import a86_0x54317b from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x1dde1a){const _0x351a0d=a86_0x439b;this[_0x351a0d(0x1eb)]={},this[_0x351a0d(0x204)]=_0x1dde1a;}async[a86_0x50ea28(0x1ed)](_0x4f15f5){const _0x3ecef9=a86_0x50ea28;this[_0x3ecef9(0x1eb)]=_0x4f15f5||{};const _0xc4aae2=this['queryParameters'][_0x3ecef9(0x1ef)]||'the_geom';let _0xfe0a01=this[_0x3ecef9(0x1eb)][_0x3ecef9(0x1e9)],_0x57e442;_0xfe0a01&&(_0x57e442=new a86_0x35d5b2()[_0x3ecef9(0x206)](_0xfe0a01));let _0x2ab6ea=_0x57e442;if(this[_0x3ecef9(0x1eb)][_0x3ecef9(0x1f2)]){if(!this[_0x3ecef9(0x1eb)]['srsName'])throw new Error(_0x3ecef9(0x1ec));const _0x19e8d3=intersects(_0xc4aae2,this[_0x3ecef9(0x1eb)][_0x3ecef9(0x1f2)]);_0x2ab6ea=_0x57e442?and(_0x57e442,_0x19e8d3):_0x19e8d3;}let _0x88e1a2=new a86_0x443a09()['writeGetFeature']({'srsName':this[_0x3ecef9(0x1eb)][_0x3ecef9(0x1f4)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters'][_0x3ecef9(0x1f8)]],'outputFormat':_0x3ecef9(0x1e7),'geometryName':_0xc4aae2,'filter':_0x2ab6ea});const _0x3f8a3b=await fetch(this['url'],{'method':_0x3ecef9(0x1fd),'body':new XMLSerializer()[_0x3ecef9(0x205)](_0x88e1a2)}),_0x2e8352=await _0x3f8a3b[_0x3ecef9(0x1fb)]();let _0x45d57b=[];const _0x5af485=new a86_0x54317b();return _0x45d57b=_0x2e8352[_0x3ecef9(0x1f5)][_0x3ecef9(0x207)](_0x42b3c2=>{const _0x57624a=_0x3ecef9;return _0x5af485[_0x57624a(0x208)](JSON[_0x57624a(0x1f9)](_0x42b3c2));}),_0x45d57b;}[a86_0x50ea28(0x1ee)](){const _0x3e3d7d=a86_0x50ea28,_0x408c19=this[_0x3e3d7d(0x1eb)][_0x3e3d7d(0x1ef)]||_0x3e3d7d(0x203);let _0x436192=this[_0x3e3d7d(0x1eb)][_0x3e3d7d(0x1e9)],_0x1a3323;_0x436192&&(_0x1a3323=new a86_0x35d5b2()['read'](_0x436192));let _0x90edfc=_0x1a3323;if(this[_0x3e3d7d(0x1eb)][_0x3e3d7d(0x1f2)]){const _0x2140b4=intersects(_0x408c19,this['queryParameters'][_0x3e3d7d(0x1f2)]);_0x90edfc=_0x1a3323?and(_0x1a3323,_0x2140b4):_0x2140b4;}let _0x4fae95=new a86_0x443a09()[_0x3e3d7d(0x20a)]({'srsName':this[_0x3e3d7d(0x1eb)][_0x3e3d7d(0x1f4)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x3e3d7d(0x1eb)]['tableName']],'outputFormat':_0x3e3d7d(0x1e7),'geometryName':_0x408c19,'filter':_0x90edfc});return new Promise(_0x48664c=>{const _0x38ddd1=_0x3e3d7d;fetch(this[_0x38ddd1(0x204)],{'method':'POST','body':new XMLSerializer()[_0x38ddd1(0x205)](_0x4fae95)})[_0x38ddd1(0x209)](_0x223967=>{return _0x223967['json']();})[_0x38ddd1(0x209)](_0x494a52=>{const _0x4f02a7=_0x38ddd1;let _0xd8de2b=[];const _0x3d14be=new a86_0x54317b();_0xd8de2b=_0x494a52[_0x4f02a7(0x1f5)]['map'](_0x28401c=>{const _0x531c98=_0x4f02a7;return _0x3d14be['readFeature'](JSON[_0x531c98(0x1f9)](_0x28401c));}),_0x48664c(_0xd8de2b);})[_0x38ddd1(0x1fa)](_0x3a8232=>{const _0x546dbd=_0x38ddd1;_0x48664c([]),console[_0x546dbd(0x200)](_0x3a8232);});});}}
1
+ function a86_0x1e29(_0x3a08de,_0x440c4f){const _0xd4ded6=a86_0xd4de();return a86_0x1e29=function(_0x1e29a6,_0x3a75ef){_0x1e29a6=_0x1e29a6-0x19f;let _0x83da2a=_0xd4ded6[_0x1e29a6];return _0x83da2a;},a86_0x1e29(_0x3a08de,_0x440c4f);}const a86_0x140407=a86_0x1e29;(function(_0x2e5a55,_0x310649){const _0x293a10=a86_0x1e29,_0x42634a=_0x2e5a55();while(!![]){try{const _0x1fda08=parseInt(_0x293a10(0x1be))/0x1*(parseInt(_0x293a10(0x1a2))/0x2)+-parseInt(_0x293a10(0x1a1))/0x3*(-parseInt(_0x293a10(0x1bf))/0x4)+-parseInt(_0x293a10(0x1b3))/0x5*(parseInt(_0x293a10(0x1aa))/0x6)+-parseInt(_0x293a10(0x1b0))/0x7*(parseInt(_0x293a10(0x1b5))/0x8)+parseInt(_0x293a10(0x1a9))/0x9+parseInt(_0x293a10(0x1a6))/0xa+parseInt(_0x293a10(0x1b9))/0xb*(-parseInt(_0x293a10(0x1b6))/0xc);if(_0x1fda08===_0x310649)break;else _0x42634a['push'](_0x42634a['shift']());}catch(_0x1bb0b8){_0x42634a['push'](_0x42634a['shift']());}}}(a86_0xd4de,0x4a4b3));import{and,intersects}from'ol/format/filter';import a86_0xf4d762 from'../../format/CQL';import a86_0x509712 from'ol/format/WFS';import a86_0x2a40b6 from'ol/format/GeoJSON';function a86_0xd4de(){const _0x55352c=['_geoserverQuery','url','38829ldptmN','2wMBbgC','the_geom','POST','writeGetFeature','889850qJTIlR','error','tableName','3952008wyDQhz','30hASeqD','where','catch','srsName','srsName\x20is\x20required','features','1241653rnastJ','json','read','135635xEUhRD','readFeature','24uQbnzx','12pxqbYS','stringify','geometryName','4792348STCyco','serializeToString','application/json','geometry','queryParameters','452531vlOfcH','132jjhIro','map'];a86_0xd4de=function(){return _0x55352c;};return a86_0xd4de();}export default class QueryTask{constructor(_0x5afadd){const _0x3b71e8=a86_0x1e29;this[_0x3b71e8(0x1bd)]={},this[_0x3b71e8(0x1a0)]=_0x5afadd;}async['execute'](_0x43af81){const _0x5374c1=a86_0x1e29;this[_0x5374c1(0x1bd)]=_0x43af81||{};const _0x5d3359=this[_0x5374c1(0x1bd)][_0x5374c1(0x1b8)]||_0x5374c1(0x1a3);let _0x2bd191=this[_0x5374c1(0x1bd)][_0x5374c1(0x1ab)],_0x5e879e;_0x2bd191&&(_0x5e879e=new a86_0xf4d762()[_0x5374c1(0x1b2)](_0x2bd191));let _0x39a296=_0x5e879e;if(this['queryParameters'][_0x5374c1(0x1bc)]){if(!this[_0x5374c1(0x1bd)]['srsName'])throw new Error(_0x5374c1(0x1ae));const _0x45921e=intersects(_0x5d3359,this[_0x5374c1(0x1bd)][_0x5374c1(0x1bc)]);_0x39a296=_0x5e879e?and(_0x5e879e,_0x45921e):_0x45921e;}let _0x116910=new a86_0x509712()[_0x5374c1(0x1a5)]({'srsName':this[_0x5374c1(0x1bd)][_0x5374c1(0x1ad)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x5374c1(0x1bd)][_0x5374c1(0x1a8)]],'outputFormat':'application/json','geometryName':_0x5d3359,'filter':_0x39a296});const _0x3e468e=await fetch(this[_0x5374c1(0x1a0)],{'method':'POST','body':new XMLSerializer()[_0x5374c1(0x1ba)](_0x116910)}),_0x277d4b=await _0x3e468e[_0x5374c1(0x1b1)]();let _0x573653=[];const _0x48f984=new a86_0x2a40b6();return _0x573653=_0x277d4b[_0x5374c1(0x1af)][_0x5374c1(0x1c0)](_0x40292c=>{const _0x428ab6=_0x5374c1;return _0x48f984[_0x428ab6(0x1b4)](JSON[_0x428ab6(0x1b7)](_0x40292c));}),_0x573653;}[a86_0x140407(0x19f)](){const _0xb4a812=a86_0x140407,_0x53e39a=this[_0xb4a812(0x1bd)][_0xb4a812(0x1b8)]||_0xb4a812(0x1a3);let _0x5a8ac1=this['queryParameters'][_0xb4a812(0x1ab)],_0x4237d9;_0x5a8ac1&&(_0x4237d9=new a86_0xf4d762()[_0xb4a812(0x1b2)](_0x5a8ac1));let _0x2e92ea=_0x4237d9;if(this[_0xb4a812(0x1bd)][_0xb4a812(0x1bc)]){const _0x2f5e72=intersects(_0x53e39a,this['queryParameters'][_0xb4a812(0x1bc)]);_0x2e92ea=_0x4237d9?and(_0x4237d9,_0x2f5e72):_0x2f5e72;}let _0x1dcae5=new a86_0x509712()['writeGetFeature']({'srsName':this[_0xb4a812(0x1bd)]['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0xb4a812(0x1bd)][_0xb4a812(0x1a8)]],'outputFormat':_0xb4a812(0x1bb),'geometryName':_0x53e39a,'filter':_0x2e92ea});return new Promise(_0x39ef32=>{const _0x11555b=_0xb4a812;fetch(this[_0x11555b(0x1a0)],{'method':_0x11555b(0x1a4),'body':new XMLSerializer()[_0x11555b(0x1ba)](_0x1dcae5)})['then'](_0x1e2ecc=>{const _0x4ffe2e=_0x11555b;return _0x1e2ecc[_0x4ffe2e(0x1b1)]();})['then'](_0x32a55c=>{const _0x5aec68=_0x11555b;let _0x3b2ba9=[];const _0x5650aa=new a86_0x2a40b6();_0x3b2ba9=_0x32a55c[_0x5aec68(0x1af)][_0x5aec68(0x1c0)](_0x3deda=>{const _0x463197=_0x5aec68;return _0x5650aa['readFeature'](JSON[_0x463197(0x1b7)](_0x3deda));}),_0x39ef32(_0x3b2ba9);})[_0x11555b(0x1ac)](_0x8f2732=>{const _0x5df242=_0x11555b;_0x39ef32([]),console[_0x5df242(0x1a7)](_0x8f2732);});});}}