ym-gis-2d 1.0.0 → 1.0.1

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 (69) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/MousePositionControl.js +1 -1
  4. package/controls/SwipeLayerControl.js +1 -1
  5. package/conver/kml/geoJSONToKml.js +1 -1
  6. package/conver/kml/index.js +1 -1
  7. package/conver/kml/kmlToGeoJSON.js +1 -1
  8. package/entity/Feature.js +1 -1
  9. package/entity/GeometryType.js +1 -1
  10. package/feature/FeatureManager.d.ts +1 -0
  11. package/feature/FeatureManager.d.ts.map +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/feature/FeatureManager.js.map +1 -1
  14. package/index.js +1 -1
  15. package/interaction/Draw.js +1 -1
  16. package/interaction/InteractionManager.js +1 -1
  17. package/interaction/Select.js +1 -1
  18. package/layers/ArcgisDynamicLayer.js +1 -1
  19. package/layers/ArcgisFeatureLayer.js +1 -1
  20. package/layers/ArcgisTileLayer.js +1 -1
  21. package/layers/ArcgisWMSLayer.js +1 -1
  22. package/layers/ArcgisWMTSLayer.js +1 -1
  23. package/layers/GeoserverVectorTile.js +1 -1
  24. package/layers/GeoserverWFSLayer.js +1 -1
  25. package/layers/GeoserverWMSLayer.js +1 -1
  26. package/layers/GeoserverWMTSLayer.js +1 -1
  27. package/layers/LayerManager.js +1 -1
  28. package/layers/TDTLayer.js +1 -1
  29. package/mapView/Map.d.ts +0 -1
  30. package/mapView/Map.d.ts.map +1 -1
  31. package/mapView/Map.js +1 -1
  32. package/mapView/Map.js.map +1 -1
  33. package/mapView/View.js +1 -1
  34. package/package.json +2 -1
  35. package/plot/Plot.js +1 -1
  36. package/plot/geometry/point/Point.js +1 -1
  37. package/plot/geometry/polygon/BasePolygon.js +1 -1
  38. package/plot/geometry/polygon/Circle.js +1 -1
  39. package/plot/geometry/polygon/Polygon.js +1 -1
  40. package/plot/geometry/polygon/RectAngle.js +1 -1
  41. package/plot/geometry/polyline/BaseLine.js +1 -1
  42. package/plot/geometry/polyline/Polyline.js +1 -1
  43. package/style/PointStyleFormat.js +1 -1
  44. package/style/PolygonStyleFormat.js +1 -1
  45. package/style/PolylineStyleFormat.js +1 -1
  46. package/style/StyleManager.js +1 -1
  47. package/style/common.js +1 -1
  48. package/utils/ArrayUtil.js +1 -1
  49. package/utils/AxiosUtil.js +1 -1
  50. package/utils/EsriUtil.js +1 -1
  51. package/utils/GeometryUtil.js +1 -1
  52. package/utils/LayerUtil.js +1 -1
  53. package/utils/RegisterProjUtil.js +1 -1
  54. package/utils/StringUtil.js +1 -1
  55. package/utils/StyleUtil.js +1 -1
  56. package/utils/UrlUtil.js +1 -1
  57. package/utils/XmlUtil.js +1 -1
  58. package/utils/format/CQL.js +1 -1
  59. package/utils/format/IsMatchCql.js +1 -1
  60. package/utils/plug/canvas/ImageCache.js +1 -1
  61. package/utils/plug/canvas/PinBuilder.js +1 -1
  62. package/utils/plug/canvas/PinIcon.js +1 -1
  63. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  64. package/utils/tasks/esri/Identify.js +1 -1
  65. package/utils/tasks/esri/Query.js +1 -1
  66. package/utils/tasks/esri/Task.js +1 -1
  67. package/utils/tasks/geoserver/QueryTask.js +1 -1
  68. package/ym-gis-2d.es.js +1 -1
  69. package/ym-gis-2d.umd.js +1 -1
package/utils/UrlUtil.js CHANGED
@@ -1 +1 @@
1
- function a78_0x4ec3(_0x43cc10,_0x3caee9){const _0x195d9b=a78_0x195d();return a78_0x4ec3=function(_0x4ec390,_0x56478b){_0x4ec390=_0x4ec390-0x188;let _0x454db2=_0x195d9b[_0x4ec390];return _0x454db2;},a78_0x4ec3(_0x43cc10,_0x3caee9);}(function(_0x353b98,_0x4e4b1d){const _0x27cff7=a78_0x4ec3,_0x42882c=_0x353b98();while(!![]){try{const _0x4a7c7c=-parseInt(_0x27cff7(0x190))/0x1*(-parseInt(_0x27cff7(0x1a4))/0x2)+-parseInt(_0x27cff7(0x1a0))/0x3+parseInt(_0x27cff7(0x196))/0x4+-parseInt(_0x27cff7(0x18e))/0x5+-parseInt(_0x27cff7(0x18d))/0x6*(-parseInt(_0x27cff7(0x194))/0x7)+parseInt(_0x27cff7(0x195))/0x8+-parseInt(_0x27cff7(0x192))/0x9*(parseInt(_0x27cff7(0x197))/0xa);if(_0x4a7c7c===_0x4e4b1d)break;else _0x42882c['push'](_0x42882c['shift']());}catch(_0x4aa559){_0x42882c['push'](_0x42882c['shift']());}}}(a78_0x195d,0xa9f24));export function addArgument(_0x42b244,_0x1fa07d,_0x4dd2b5){const _0x3e2e6e=a78_0x4ec3,_0x53b0ea=new RegExp(_0x3e2e6e(0x19f)+_0x1fa07d+_0x3e2e6e(0x191),'gi');if(_0x42b244[_0x3e2e6e(0x19d)](_0x53b0ea))_0x42b244=_0x42b244[_0x3e2e6e(0x19e)](_0x53b0ea,_0x240de2=>_0x240de2[0x0]+_0x1fa07d+'='+_0x4dd2b5);else{var _0x10ab82=_0x1fa07d+'='+_0x4dd2b5,_0x2645c7=_0x42b244['indexOf']('?');let _0x533813=_0x42b244;_0x2645c7>-0x1&&_0x42b244['indexOf'](_0x3e2e6e(0x18b))>-0x1&&(_0x533813=_0x42b244[_0x3e2e6e(0x18f)](_0x2645c7+0x1),_0x2645c7=_0x533813[_0x3e2e6e(0x1a5)]('?'));if(_0x2645c7<0x0)_0x42b244+='?';else _0x2645c7>=0x0&&_0x2645c7!==_0x533813[_0x3e2e6e(0x18a)]-0x1&&(_0x42b244+='&');_0x42b244=_0x42b244+_0x10ab82;}return _0x42b244;}export function appendParam(_0x58335d,_0x350ed9){const _0x5d487b=a78_0x4ec3;var _0x543a56=_0x58335d[_0x5d487b(0x1a5)]('?');let _0x5c4ead=_0x58335d;if(_0x543a56>-0x1&&_0x58335d['indexOf']('?http')>-0x1){let _0x3ea689=_0x543a56+0x1;_0x5c4ead=_0x58335d[_0x5d487b(0x18f)](_0x543a56+0x1),_0x543a56=_0x5c4ead[_0x5d487b(0x1a5)]('?');}return _0x543a56>-0x1?_0x58335d+'&'+_0x350ed9:_0x58335d+'?'+_0x350ed9;}export function appendPath(_0x59579a,_0x115d0b){const _0x188e73=a78_0x4ec3;var _0x1d0c74=_0x59579a['indexOf']('?');let _0x13058b=_0x59579a;if(_0x1d0c74>-0x1&&_0x59579a['indexOf'](_0x188e73(0x18b))>-0x1){let _0x14ac8c=_0x1d0c74+0x1;_0x13058b=_0x59579a[_0x188e73(0x18f)](_0x1d0c74+0x1),_0x1d0c74=_0x13058b[_0x188e73(0x1a5)]('?'),_0x1d0c74>-0x1&&(_0x1d0c74+=_0x14ac8c);}return _0x1d0c74>-0x1?_0x59579a[_0x188e73(0x18f)](0x0,_0x1d0c74)+'/'+_0x115d0b+_0x59579a['substring'](_0x1d0c74):_0x59579a+'/'+_0x115d0b;}export function getUrlParams(_0x40fe2a){const _0x4ec4f3=a78_0x4ec3;var _0xf9d454,_0x56c434;let _0xa61919=_0x40fe2a[_0x4ec4f3(0x1a5)](_0x4ec4f3(0x18b)),_0x5d201a;_0xa61919>-0x1?_0x40fe2a[_0x4ec4f3(0x1a5)]('?',_0xa61919+0x3)>-0x1&&(_0x5d201a=(_0xf9d454=_0x40fe2a[_0x4ec4f3(0x1a3)]('?'))===null||_0xf9d454===void 0x0?void 0x0:_0xf9d454[0x2]):_0x40fe2a[_0x4ec4f3(0x1a5)]('?')>-0x1&&(_0x5d201a=(_0x56c434=_0x40fe2a[_0x4ec4f3(0x1a3)]('?'))===null||_0x56c434===void 0x0?void 0x0:_0x56c434[0x1]);if(_0x5d201a)return createParamByQuery(_0x5d201a);return[];}function a78_0x195d(){const _0x38e052=['revokeObjectURL','appendChild','length','?http','map','12oroHJS','2882490MNUZmm','substring','1UGkUel','=)([^&]*)','744633IyJigY','target','1404837wcUtvJ','2039832Onfakz','2437816PeZjlP','70VOurpq','download','setAttribute','createObjectURL','href','createElement','match','replace','[\x5c?&](','249198FIFOwx','_blank','removeChild','split','1338016vyfYrE','indexOf'];a78_0x195d=function(){return _0x38e052;};return a78_0x195d();}function createParamByQuery(_0x1eee78){const _0x599040=a78_0x4ec3;let _0x4b1266=_0x1eee78[_0x599040(0x1a3)]('&');return _0x4b1266[_0x599040(0x18c)](_0x5494b7=>{const _0x1689df=_0x599040;var _0x2fa786=_0x5494b7[_0x1689df(0x1a3)]('=');return{'name':_0x2fa786[0x0],'value':_0x2fa786[0x1]};});}export function parseImage(_0x535f58,_0x108162){const _0x3777f3=a78_0x4ec3;let _0x33e55a='';if(_0x535f58){if(_0x535f58['match'](/^(data|http|https)/))_0x33e55a=_0x535f58;else{if(_0x535f58[_0x3777f3(0x19d)](/Assets/))_0x33e55a=_0x535f58;else{}}}return _0x33e55a;}export function downloadBlob(_0x28c801,_0x3b61e0){const _0x1725a9=a78_0x4ec3,_0x1b90ea=URL[_0x1725a9(0x19a)](_0x28c801);var _0x306cfa=document[_0x1725a9(0x19c)]('a');_0x306cfa[_0x1725a9(0x199)](_0x1725a9(0x19b),_0x1b90ea),_0x306cfa['setAttribute'](_0x1725a9(0x193),_0x1725a9(0x1a1)),_0x306cfa['setAttribute'](_0x1725a9(0x198),_0x3b61e0),document['body'][_0x1725a9(0x189)](_0x306cfa),_0x306cfa['click'](),document['body'][_0x1725a9(0x1a2)](_0x306cfa),URL[_0x1725a9(0x188)](_0x1b90ea);}
1
+ (function(_0x17a210,_0x1a9cbd){const _0x4f0892=a78_0x54e9,_0x3d80ae=_0x17a210();while(!![]){try{const _0x5d78d6=parseInt(_0x4f0892(0x9d))/0x1*(parseInt(_0x4f0892(0x93))/0x2)+parseInt(_0x4f0892(0x8e))/0x3*(parseInt(_0x4f0892(0x90))/0x4)+-parseInt(_0x4f0892(0xa0))/0x5*(-parseInt(_0x4f0892(0x8d))/0x6)+-parseInt(_0x4f0892(0x9a))/0x7+-parseInt(_0x4f0892(0x89))/0x8*(-parseInt(_0x4f0892(0x91))/0x9)+parseInt(_0x4f0892(0x8a))/0xa+-parseInt(_0x4f0892(0x8b))/0xb;if(_0x5d78d6===_0x1a9cbd)break;else _0x3d80ae['push'](_0x3d80ae['shift']());}catch(_0x39b4b6){_0x3d80ae['push'](_0x3d80ae['shift']());}}}(a78_0x3c95,0x7395c));export function addArgument(_0x220ec3,_0x306796,_0x3d2787){const _0x12a375=a78_0x54e9,_0xc54ac1=new RegExp(_0x12a375(0x9e)+_0x306796+'=)([^&]*)','gi');if(_0x220ec3[_0x12a375(0x94)](_0xc54ac1))_0x220ec3=_0x220ec3['replace'](_0xc54ac1,_0x4efc93=>_0x4efc93[0x0]+_0x306796+'='+_0x3d2787);else{var _0x3073ee=_0x306796+'='+_0x3d2787,_0x5b62fb=_0x220ec3[_0x12a375(0xa1)]('?');let _0x47dcc6=_0x220ec3;_0x5b62fb>-0x1&&_0x220ec3[_0x12a375(0xa1)](_0x12a375(0x96))>-0x1&&(_0x47dcc6=_0x220ec3['substring'](_0x5b62fb+0x1),_0x5b62fb=_0x47dcc6['indexOf']('?'));if(_0x5b62fb<0x0)_0x220ec3+='?';else _0x5b62fb>=0x0&&_0x5b62fb!==_0x47dcc6['length']-0x1&&(_0x220ec3+='&');_0x220ec3=_0x220ec3+_0x3073ee;}return _0x220ec3;}export function appendParam(_0x41753a,_0x5df338){const _0x17205f=a78_0x54e9;var _0x3a11c0=_0x41753a[_0x17205f(0xa1)]('?');let _0x5f0cff=_0x41753a;if(_0x3a11c0>-0x1&&_0x41753a[_0x17205f(0xa1)]('?http')>-0x1){let _0x2b8e45=_0x3a11c0+0x1;_0x5f0cff=_0x41753a['substring'](_0x3a11c0+0x1),_0x3a11c0=_0x5f0cff['indexOf']('?');}return _0x3a11c0>-0x1?_0x41753a+'&'+_0x5df338:_0x41753a+'?'+_0x5df338;}function a78_0x54e9(_0x5a2389,_0x412847){const _0x3c95e7=a78_0x3c95();return a78_0x54e9=function(_0x54e9c9,_0x198434){_0x54e9c9=_0x54e9c9-0x89;let _0x1f623c=_0x3c95e7[_0x54e9c9];return _0x1f623c;},a78_0x54e9(_0x5a2389,_0x412847);}export function appendPath(_0x7d0022,_0x44c0c2){const _0x82feb2=a78_0x54e9;var _0x216f98=_0x7d0022[_0x82feb2(0xa1)]('?');let _0x1442f2=_0x7d0022;if(_0x216f98>-0x1&&_0x7d0022['indexOf'](_0x82feb2(0x96))>-0x1){let _0x3ba578=_0x216f98+0x1;_0x1442f2=_0x7d0022[_0x82feb2(0x9b)](_0x216f98+0x1),_0x216f98=_0x1442f2['indexOf']('?'),_0x216f98>-0x1&&(_0x216f98+=_0x3ba578);}return _0x216f98>-0x1?_0x7d0022['substring'](0x0,_0x216f98)+'/'+_0x44c0c2+_0x7d0022['substring'](_0x216f98):_0x7d0022+'/'+_0x44c0c2;}export function getUrlParams(_0x400463){const _0x5c9946=a78_0x54e9;var _0x2caac3,_0x3202a9;let _0x24e5a3=_0x400463[_0x5c9946(0xa1)](_0x5c9946(0x96)),_0x1d9772;_0x24e5a3>-0x1?_0x400463[_0x5c9946(0xa1)]('?',_0x24e5a3+0x3)>-0x1&&(_0x1d9772=(_0x2caac3=_0x400463[_0x5c9946(0x97)]('?'))===null||_0x2caac3===void 0x0?void 0x0:_0x2caac3[0x2]):_0x400463['indexOf']('?')>-0x1&&(_0x1d9772=(_0x3202a9=_0x400463[_0x5c9946(0x97)]('?'))===null||_0x3202a9===void 0x0?void 0x0:_0x3202a9[0x1]);if(_0x1d9772)return createParamByQuery(_0x1d9772);return[];}function createParamByQuery(_0x5369da){const _0x2dc3f0=a78_0x54e9;let _0x293676=_0x5369da[_0x2dc3f0(0x97)]('&');return _0x293676['map'](_0x42db6b=>{const _0xaf1cc1=_0x2dc3f0;var _0x3dd7c6=_0x42db6b[_0xaf1cc1(0x97)]('=');return{'name':_0x3dd7c6[0x0],'value':_0x3dd7c6[0x1]};});}export function parseImage(_0x57e31f,_0x226cd5){const _0x4efa69=a78_0x54e9;let _0xec3d='';if(_0x57e31f){if(_0x57e31f[_0x4efa69(0x94)](/^(data|http|https)/))_0xec3d=_0x57e31f;else{if(_0x57e31f[_0x4efa69(0x94)](/Assets/))_0xec3d=_0x57e31f;else{}}}return _0xec3d;}function a78_0x3c95(){const _0x2a08c2=['59694Vjfbgq','10233lFBPTk','body','484AjqZYe','18FURFTk','appendChild','8niugAZ','match','removeChild','?http','split','download','href','2296966YurcEO','substring','createObjectURL','201784NDRwKT','[\x5c?&](','setAttribute','5GNpwVc','indexOf','2948408SgsddD','9206980xHUBMi','22946462AGbJrk','_blank'];a78_0x3c95=function(){return _0x2a08c2;};return a78_0x3c95();}export function downloadBlob(_0x54eb36,_0x98e433){const _0xd6de24=a78_0x54e9,_0x19ac3d=URL[_0xd6de24(0x9c)](_0x54eb36);var _0x5d6e3b=document['createElement']('a');_0x5d6e3b['setAttribute'](_0xd6de24(0x99),_0x19ac3d),_0x5d6e3b[_0xd6de24(0x9f)]('target',_0xd6de24(0x8c)),_0x5d6e3b[_0xd6de24(0x9f)](_0xd6de24(0x98),_0x98e433),document[_0xd6de24(0x8f)][_0xd6de24(0x92)](_0x5d6e3b),_0x5d6e3b['click'](),document['body'][_0xd6de24(0x95)](_0x5d6e3b),URL['revokeObjectURL'](_0x19ac3d);}
package/utils/XmlUtil.js CHANGED
@@ -1 +1 @@
1
- (function(_0x27b401,_0x392c6f){const _0x2c2655=a79_0x3ce2,_0x4c29b8=_0x27b401();while(!![]){try{const _0x1bb51f=parseInt(_0x2c2655(0xb5))/0x1+-parseInt(_0x2c2655(0xb1))/0x2*(-parseInt(_0x2c2655(0xb9))/0x3)+-parseInt(_0x2c2655(0xb3))/0x4+-parseInt(_0x2c2655(0xad))/0x5*(-parseInt(_0x2c2655(0xb6))/0x6)+parseInt(_0x2c2655(0xbb))/0x7*(parseInt(_0x2c2655(0xba))/0x8)+-parseInt(_0x2c2655(0xb2))/0x9+-parseInt(_0x2c2655(0xae))/0xa;if(_0x1bb51f===_0x392c6f)break;else _0x4c29b8['push'](_0x4c29b8['shift']());}catch(_0x321e77){_0x4c29b8['push'](_0x4c29b8['shift']());}}}(a79_0x48c5,0xbbec1));function a79_0x48c5(){const _0x4963fb=['3444476nwBFIU','async','DOMParser','169135LDCfLN','1113860sKksvq','false','text/xml','118bnvjES','5893803BAQhYx','3422744oiDXQu','parseFromString','351062hqVXwx','78JfmNNq','loadXML','Microsoft.XMLDOM','56379EZNpEp','8FQUPXR'];a79_0x48c5=function(){return _0x4963fb;};return a79_0x48c5();}function a79_0x3ce2(_0x2510cf,_0xaf5b15){const _0x48c52d=a79_0x48c5();return a79_0x3ce2=function(_0x3ce260,_0x40199e){_0x3ce260=_0x3ce260-0xac;let _0x5e9994=_0x48c52d[_0x3ce260];return _0x5e9994;},a79_0x3ce2(_0x2510cf,_0xaf5b15);}export function readXml(_0x3e5656){const _0xb814b=a79_0x3ce2;let _0x58000d;return window[_0xb814b(0xac)]?_0x58000d=new DOMParser()[_0xb814b(0xb4)](_0x3e5656,_0xb814b(0xb0)):(_0x58000d=new ActiveXObject(_0xb814b(0xb8)),_0x58000d[_0xb814b(0xbc)]=_0xb814b(0xaf),_0x58000d[_0xb814b(0xb7)](_0x3e5656)),_0x58000d;}
1
+ (function(_0x37b50b,_0x1000a1){const _0x53c4bf=a79_0xc572,_0x564378=_0x37b50b();while(!![]){try{const _0x368633=parseInt(_0x53c4bf(0x14a))/0x1*(-parseInt(_0x53c4bf(0x142))/0x2)+-parseInt(_0x53c4bf(0x140))/0x3*(-parseInt(_0x53c4bf(0x14f))/0x4)+parseInt(_0x53c4bf(0x152))/0x5*(parseInt(_0x53c4bf(0x148))/0x6)+-parseInt(_0x53c4bf(0x141))/0x7+parseInt(_0x53c4bf(0x147))/0x8*(parseInt(_0x53c4bf(0x150))/0x9)+parseInt(_0x53c4bf(0x14d))/0xa*(parseInt(_0x53c4bf(0x14c))/0xb)+parseInt(_0x53c4bf(0x143))/0xc*(-parseInt(_0x53c4bf(0x14b))/0xd);if(_0x368633===_0x1000a1)break;else _0x564378['push'](_0x564378['shift']());}catch(_0x125be8){_0x564378['push'](_0x564378['shift']());}}}(a79_0x4edc,0x4f0ef));function a79_0x4edc(){const _0x4d6aca=['2798648GmivJP','252306uSdkmj','Microsoft.XMLDOM','73hCipuQ','8957GZvUTq','209WAbeQa','339230fylszX','loadXML','2205692smRWRB','9hTcxRk','false','50yMhCuS','parseFromString','3EyLlSr','701176TsnyZp','1538XkpgCe','25884tXcaCQ','text/xml','DOMParser','async'];a79_0x4edc=function(){return _0x4d6aca;};return a79_0x4edc();}function a79_0xc572(_0x4bfeb8,_0x4627e4){const _0x4edc0f=a79_0x4edc();return a79_0xc572=function(_0xc572b2,_0x1a83a6){_0xc572b2=_0xc572b2-0x140;let _0x39ecba=_0x4edc0f[_0xc572b2];return _0x39ecba;},a79_0xc572(_0x4bfeb8,_0x4627e4);}export function readXml(_0x2784c1){const _0x472fd0=a79_0xc572;let _0xd55f95;return window[_0x472fd0(0x145)]?_0xd55f95=new DOMParser()[_0x472fd0(0x153)](_0x2784c1,_0x472fd0(0x144)):(_0xd55f95=new ActiveXObject(_0x472fd0(0x149)),_0xd55f95[_0x472fd0(0x146)]=_0x472fd0(0x151),_0xd55f95[_0x472fd0(0x14e)](_0x2784c1)),_0xd55f95;}
@@ -1 +1 @@
1
- function a62_0x3aa4(_0x2edc8f,_0x5325b7){const _0x2bbca1=a62_0x2bbc();return a62_0x3aa4=function(_0x3aa408,_0x455c4f){_0x3aa408=_0x3aa408-0xf1;let _0x300dca=_0x2bbca1[_0x3aa408];return _0x300dca;},a62_0x3aa4(_0x2edc8f,_0x5325b7);}const a62_0x217b4a=a62_0x3aa4;(function(_0x39ec4b,_0x687397){const _0x3b700c=a62_0x3aa4,_0x3e47df=_0x39ec4b();while(!![]){try{const _0x28e1a2=-parseInt(_0x3b700c(0x146))/0x1*(parseInt(_0x3b700c(0x132))/0x2)+parseInt(_0x3b700c(0x105))/0x3*(-parseInt(_0x3b700c(0x142))/0x4)+parseInt(_0x3b700c(0x11c))/0x5+-parseInt(_0x3b700c(0x10a))/0x6*(-parseInt(_0x3b700c(0x13f))/0x7)+parseInt(_0x3b700c(0xf7))/0x8*(-parseInt(_0x3b700c(0x112))/0x9)+parseInt(_0x3b700c(0xfa))/0xa+-parseInt(_0x3b700c(0x108))/0xb;if(_0x28e1a2===_0x687397)break;else _0x3e47df['push'](_0x3e47df['shift']());}catch(_0x125356){_0x3e47df['push'](_0x3e47df['shift']());}}}(a62_0x2bbc,0x24528));import*as a62_0x293e76 from'ol/format/filter';import{WKT}from'ol/format';function a62_0x2bbc(){const _0x2d4755=['PropertyIsLessThan','BBOX(','IS_NULL','index','PropertyIsGreaterThan','text','888580mdwGWJ','PropertyIsEqualTo','],\x20expected\x20one\x20of:\x20','Intersects','number','string','END','follows','condition','between','inPatterns','PropertyIsLessThanOrEqualTo','expression','operators','warn','lessThanOrEqualTo','geometry','not','geometryName','tryToken','WITHIN','PropertyIsLike','598TihNna','join','pop','replace','buildAst','split','PropertyIsBetween','propertyName','COMPARISON','\x20BETWEEN\x20','COMMA','\x20or\x20','VALUE','192766ltWDHO','BETWEEN','conditions','15116OcieWD','write','Can\x27t\x20encode:\x20','INTERSECTS','364hDztiB','operatorReverse','within','GEOMETRY','precedence','push','WITHIN(','IS\x20NULL','match','PROPERTY','nextToken','like','lessThan','contains','NOT','\x20AND\x20','tagName_','NOT\x20(','tokens','remainder','tokenize','length','CONTAINS(','ERROR:\x20In\x20parsing:\x20[','toLowerCase','readGeometry','indexOf','INTERSECTS(','PropertyIsGreaterThanOrEqualTo','type','Unknown\x20token\x20type\x20','isNull','greaterThan','235248aRSaYf','shift','substring','593450BpNNUz','RPAREN','\x0a\x20\x20\x20\x20','No\x20follows\x20list\x20for\x20','property','Not','PropertyIsNull','logicals','BBOX','CLASS_NAME','LPAREN','15Kdxvfm','SPATIAL','charAt','28094iJTINy','剩余的节点无法解析:\x20\x0a','54ljbeRd','replaceAll','srsName','toUpperCase','Contains','CQL解析失败:','lastIndexOf','LOGICAL','63nTmlkb','parseInToOr','exec','greaterThanOrEqualTo'];a62_0x2bbc=function(){return _0x2d4755;};return a62_0x2bbc();}import a62_0x724fc7 from'ol/geom/Geometry';export default class CQL{constructor(){const _0xad2f01=a62_0x3aa4;this[_0xad2f01(0x126)]=/ (IN) /i,this[_0xad2f01(0x158)]=[_0xad2f01(0x14f),_0xad2f01(0x13a),_0xad2f01(0x13e),_0xad2f01(0x111)],this['patterns']={'PROPERTY':/^[_a-zA-Z]\w*/,'COMPARISON':/^(=|<>|<=|<|>=|>|LIKE)/i,'IS_NULL':/^IS NULL/i,'COMMA':/^,/,'LOGICAL':/^(AND|OR)/i,'VALUE':/^('([^']|'')*'|-?\d+(\.\d*)?|\.\d+)/,'LPAREN':/^\(/,'RPAREN':/^\)/,'SPATIAL':/^(BBOX|INTERSECTS|DWITHIN|WITHIN|CONTAINS)/i,'NOT':/^NOT/i,'BETWEEN':/^BETWEEN/i,'GEOMETRY':function(_0xe984d3){const _0x3d264b=_0xad2f01;let _0x4a2404=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x3d264b(0x114)](_0xe984d3);if(_0x4a2404){let _0x251846=_0xe984d3[_0x3d264b(0x15b)],_0xdeed23=_0xe984d3[_0x3d264b(0x160)]('(',_0x4a2404[0x0][_0x3d264b(0x15b)]);if(_0xdeed23>-0x1){let _0x4929d4=0x1;while(_0xdeed23<_0x251846&&_0x4929d4>0x0){_0xdeed23++;switch(_0xe984d3[_0x3d264b(0x107)](_0xdeed23)){case'(':_0x4929d4++;break;case')':_0x4929d4--;break;default:}}}return[_0xe984d3['substring'](0x0,_0xdeed23+0x1)];}},'END':/^$/},this[_0xad2f01(0x123)]={'LPAREN':[_0xad2f01(0x149),_0xad2f01(0x106),_0xad2f01(0x14f),_0xad2f01(0x13e),'LPAREN'],'RPAREN':[_0xad2f01(0x154),_0xad2f01(0x111),_0xad2f01(0x122),_0xad2f01(0xfb)],'PROPERTY':[_0xad2f01(0x13a),_0xad2f01(0x140),'COMMA',_0xad2f01(0x118)],'BETWEEN':[_0xad2f01(0x13e)],'IS_NULL':[_0xad2f01(0x122)],'COMPARISON':[_0xad2f01(0x13e)],'COMMA':['GEOMETRY',_0xad2f01(0x13e),_0xad2f01(0x14f)],'VALUE':[_0xad2f01(0x111),_0xad2f01(0x13c),_0xad2f01(0xfb),_0xad2f01(0x122)],'SPATIAL':[_0xad2f01(0x104)],'LOGICAL':['NOT','VALUE',_0xad2f01(0x106),_0xad2f01(0x14f),_0xad2f01(0x104)],'NOT':[_0xad2f01(0x14f),_0xad2f01(0x104)],'GEOMETRY':[_0xad2f01(0x13c),_0xad2f01(0xfb)]},this[_0xad2f01(0x129)]={'=':a62_0x293e76['equalTo'],'<>':a62_0x293e76['notEqualTo'],'<':a62_0x293e76[_0xad2f01(0x152)],'<=':a62_0x293e76[_0xad2f01(0x12b)],'>':a62_0x293e76[_0xad2f01(0xf6)],'>=':a62_0x293e76[_0xad2f01(0x115)],'LIKE':a62_0x293e76[_0xad2f01(0x151)],'BETWEEN':a62_0x293e76[_0xad2f01(0x125)],'IS\x20NULL':a62_0x293e76[_0xad2f01(0xf5)]},this['operatorReverse']={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':'LIKE','PropertyIsNull':_0xad2f01(0x14d),'PropertyIsBetween':'BETWEEN'},this['logicals']={'AND':a62_0x293e76['and'],'OR':a62_0x293e76['or']},this[_0xad2f01(0x14a)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}[a62_0x217b4a(0x12f)](_0x328e9b,_0x231e92){const _0x43fd6b=a62_0x217b4a;return _0x231e92 instanceof RegExp?_0x231e92[_0x43fd6b(0x114)](_0x328e9b):_0x231e92(_0x328e9b);}['nextToken'](_0x863044,_0x1d8fb3){const _0x2986c7=a62_0x217b4a;let _0x10beaf,_0x4c2066,_0x41cece=_0x1d8fb3[_0x2986c7(0x15b)];for(_0x10beaf=0x0;_0x10beaf<_0x41cece;_0x10beaf++){_0x4c2066=_0x1d8fb3[_0x10beaf];let _0xd57843=this['patterns'][_0x4c2066],_0x20d974=this[_0x2986c7(0x12f)](_0x863044,_0xd57843);if(_0x20d974){let _0x49e72e=_0x20d974[0x0],_0x598fd8=_0x863044[_0x2986c7(0xf9)](_0x49e72e['length'])[_0x2986c7(0x135)](/^\s*/,'');return{'type':_0x4c2066,'text':_0x49e72e,'remainder':_0x598fd8};}}let _0x17733e=_0x2986c7(0x15d)+_0x863044+_0x2986c7(0x11e);for(_0x10beaf=0x0;_0x10beaf<_0x41cece;_0x10beaf++){_0x4c2066=_0x1d8fb3[_0x10beaf],_0x17733e+=_0x2986c7(0xfc)+_0x4c2066+':\x20'+this['patterns'][_0x4c2066];}throw new Error(_0x17733e);}[a62_0x217b4a(0x15a)](_0x59caa4){const _0x42b3dc=a62_0x217b4a;_0x59caa4=_0x59caa4['replaceAll']('[','')[_0x42b3dc(0x10b)](']','');let _0x5e95eb=this[_0x42b3dc(0x12f)](_0x59caa4,this['inPatterns']);_0x5e95eb&&(_0x59caa4=this['parseInToOr'](_0x59caa4,_0x5e95eb));let _0x6ceba4=[],_0x4ac0d9,_0x42c6cd=[_0x42b3dc(0x154),_0x42b3dc(0x149),'SPATIAL',_0x42b3dc(0x14f),'LPAREN'];do{_0x4ac0d9=this[_0x42b3dc(0x150)](_0x59caa4,_0x42c6cd),_0x59caa4=_0x4ac0d9[_0x42b3dc(0x159)],_0x42c6cd=this['follows'][_0x4ac0d9[_0x42b3dc(0xf3)]];if(_0x4ac0d9[_0x42b3dc(0xf3)]!=='END'&&!_0x42c6cd)throw new Error(_0x42b3dc(0xfd)+_0x4ac0d9[_0x42b3dc(0xf3)]);_0x6ceba4[_0x42b3dc(0x14b)](_0x4ac0d9);}while(_0x4ac0d9[_0x42b3dc(0xf3)]!==_0x42b3dc(0x122));return _0x6ceba4;}[a62_0x217b4a(0x113)](_0x1ca2f5,_0x17ab00){const _0x511a59=a62_0x217b4a;let _0x403deb=this['tryToken'](_0x1ca2f5,/\((.+?)\)/g);if(_0x403deb){let _0x40f023=_0x1ca2f5[_0x511a59(0xf9)](0x0,_0x17ab00[_0x511a59(0x119)]),_0x27c5a7=_0x403deb[0x1],_0x5ac433=_0x27c5a7[_0x511a59(0x10b)]('\x20','')[_0x511a59(0x137)](','),_0x195c4b='',_0x33fad5='';if(_0x40f023['indexOf']('\x20')>-0x1){let _0x19f59a=_0x40f023[_0x511a59(0x110)]('\x20');_0x33fad5=_0x40f023[_0x511a59(0xf9)](0x0,_0x19f59a+0x1),_0x195c4b=_0x40f023['substring'](_0x19f59a+0x1,_0x40f023['length']);}else _0x195c4b=_0x40f023;let _0x348c73=_0x33fad5;for(let _0x50f02c=0x0;_0x50f02c<_0x5ac433['length'];_0x50f02c++){let _0x3e8145=_0x5ac433[_0x50f02c];_0x348c73+=_0x195c4b+'='+_0x3e8145,_0x50f02c<_0x5ac433[_0x511a59(0x15b)]-0x1&&(_0x348c73+=_0x511a59(0x13d));}return _0x348c73;}return _0x1ca2f5;}[a62_0x217b4a(0x136)](_0x4025f5){const _0x3e0e21=a62_0x217b4a;let _0x39d28c=this,_0x3139ea=[],_0x522383=[];while(_0x4025f5[_0x3e0e21(0x15b)]){let _0x557787=_0x4025f5[_0x3e0e21(0xf8)]();switch(_0x557787[_0x3e0e21(0xf3)]){case _0x3e0e21(0x14f):case _0x3e0e21(0x149):case'VALUE':_0x522383[_0x3e0e21(0x14b)](_0x557787);break;case _0x3e0e21(0x13a):case _0x3e0e21(0x140):case'IS_NULL':case _0x3e0e21(0x111):{let _0x34cc98=this[_0x3e0e21(0x14a)][_0x557787[_0x3e0e21(0xf3)]];while(_0x3139ea[_0x3e0e21(0x15b)]>0x0&&this[_0x3e0e21(0x14a)][_0x3139ea[_0x3139ea[_0x3e0e21(0x15b)]-0x1]['type']]<=_0x34cc98){_0x522383['push'](_0x3139ea['pop']());}_0x3139ea[_0x3e0e21(0x14b)](_0x557787);break;}case _0x3e0e21(0x106):case _0x3e0e21(0x154):case'LPAREN':_0x3139ea[_0x3e0e21(0x14b)](_0x557787);break;case _0x3e0e21(0xfb):while(_0x3139ea[_0x3e0e21(0x15b)]>0x0&&_0x3139ea[_0x3139ea[_0x3e0e21(0x15b)]-0x1][_0x3e0e21(0xf3)]!==_0x3e0e21(0x104)){_0x522383['push'](_0x3139ea[_0x3e0e21(0x134)]());}_0x3139ea[_0x3e0e21(0x134)]();_0x3139ea['length']>0x0&&(_0x3139ea[_0x3139ea[_0x3e0e21(0x15b)]-0x1][_0x3e0e21(0xf3)]===_0x3e0e21(0x106)||_0x3139ea[_0x3139ea[_0x3e0e21(0x15b)]-0x1][_0x3e0e21(0xf3)]===_0x3e0e21(0x154))&&_0x522383['push'](_0x3139ea[_0x3e0e21(0x134)]());break;case _0x3e0e21(0x13c):case _0x3e0e21(0x122):break;default:throw new Error(_0x3e0e21(0xf4)+_0x557787['type']);}}while(_0x3139ea[_0x3e0e21(0x15b)]>0x0){_0x522383[_0x3e0e21(0x14b)](_0x3139ea[_0x3e0e21(0x134)]());}function _0x57dd35(){const _0x53b87d=_0x3e0e21;let _0x45b993,_0x476463,_0x2f419f=_0x522383['pop']();switch(_0x2f419f[_0x53b87d(0xf3)]){case _0x53b87d(0x111):{let _0x2cdef4=_0x57dd35(),_0x246ee5=_0x57dd35();return new _0x39d28c[(_0x53b87d(0x101))][(_0x2f419f[_0x53b87d(0x11b)]['toUpperCase']())](_0x246ee5,_0x2cdef4);}case _0x53b87d(0x154):{let _0x15ed72=_0x57dd35();return a62_0x293e76[_0x53b87d(0x12d)](_0x15ed72);}case _0x53b87d(0x140):{let _0x18e6ea,_0x56a077;return _0x522383[_0x53b87d(0x134)](),_0x56a077=_0x57dd35(),_0x18e6ea=_0x57dd35(),_0x476463=_0x57dd35(),a62_0x293e76[_0x53b87d(0x125)](_0x476463,_0x18e6ea,_0x56a077);}case'COMPARISON':{return _0x45b993=_0x57dd35(),_0x476463=_0x57dd35(),new _0x39d28c[(_0x53b87d(0x129))][(_0x2f419f[_0x53b87d(0x11b)][_0x53b87d(0x10d)]())](_0x476463,_0x45b993);}case'IS_NULL':_0x476463=_0x57dd35();return new _0x39d28c[(_0x53b87d(0x129))][(_0x2f419f[_0x53b87d(0x11b)][_0x53b87d(0x10d)]())](_0x476463);case'VALUE':{let _0xd8e564=_0x2f419f['text'][_0x53b87d(0x14e)](/^'(.*)'$/);return _0xd8e564?_0xd8e564[0x1][_0x53b87d(0x135)](/''/g,'\x27'):Number(_0x2f419f[_0x53b87d(0x11b)]);}case _0x53b87d(0x106):switch(_0x2f419f['text']['toUpperCase']()){case _0x53b87d(0x102):{let _0x99d4ad=_0x57dd35(),_0x3cca68=_0x57dd35(),_0x21f47b=_0x57dd35(),_0x6b12e=_0x57dd35(),_0x11eafe=_0x57dd35();return a62_0x293e76['bbox'](_0x11eafe,[_0x6b12e,_0x21f47b,_0x3cca68,_0x99d4ad]);}case _0x53b87d(0x145):_0x45b993=_0x57dd35(),_0x476463=_0x57dd35();return a62_0x293e76['intersects'](_0x476463,_0x45b993);case _0x53b87d(0x130):_0x45b993=_0x57dd35(),_0x476463=_0x57dd35();return a62_0x293e76[_0x53b87d(0x148)](_0x476463,_0x45b993);case'CONTAINS':_0x45b993=_0x57dd35(),_0x476463=_0x57dd35();return a62_0x293e76[_0x53b87d(0x153)](_0x476463,_0x45b993);}break;case'GEOMETRY':return new WKT()['readGeometry'](_0x2f419f['text'],{});default:return _0x2f419f['text'];}}let _0x354101=_0x57dd35();if(_0x522383[_0x3e0e21(0x15b)]>0x0){let _0x270c21=_0x3e0e21(0x109);for(let _0x4c3c4a=_0x522383[_0x3e0e21(0x15b)]-0x1;_0x4c3c4a>=0x0;_0x4c3c4a--){_0x270c21+=_0x522383[_0x4c3c4a][_0x3e0e21(0xf3)]+':\x20'+_0x522383[_0x4c3c4a]['text']+'\x0a';}throw new Error(_0x270c21);}return _0x354101;}['read'](_0xf74a7f){const _0x564cae=a62_0x217b4a;try{return this[_0x564cae(0x136)](this[_0x564cae(0x15a)](_0xf74a7f));}catch(_0x534482){console[_0x564cae(0x12a)](_0x564cae(0x10f)+_0xf74a7f),console['warn'](_0x534482);}}['write'](_0x27eb4a){const _0x17bdbd=a62_0x217b4a;switch(_0x27eb4a['tagName_']){case _0x17bdbd(0x102):return _0x17bdbd(0x117)+_0x27eb4a[_0x17bdbd(0x12e)]+','+_0x27eb4a['extent'][_0x17bdbd(0x133)](',')+','+_0x27eb4a[_0x17bdbd(0x10c)]+')';case'Within':return _0x17bdbd(0x14c)+_0x27eb4a[_0x17bdbd(0x12e)]+',\x20'+this[_0x17bdbd(0x15f)](_0x27eb4a['geometry'])+')';case _0x17bdbd(0x11f):return _0x17bdbd(0xf1)+_0x27eb4a[_0x17bdbd(0x12e)]+',\x20'+this[_0x17bdbd(0x15f)](_0x27eb4a[_0x17bdbd(0x12c)])+')';case _0x17bdbd(0x10e):return _0x17bdbd(0x15c)+_0x27eb4a[_0x17bdbd(0x12e)]+',\x20'+this[_0x17bdbd(0x15f)](_0x27eb4a[_0x17bdbd(0x12c)])+')';case _0x17bdbd(0xff):return _0x17bdbd(0x157)+this[_0x17bdbd(0x143)](_0x27eb4a[_0x17bdbd(0x124)])+')';case'And':case'Or':{let _0x25aed3='(',_0xedb068=!![];for(let _0x483057=0x0;_0x483057<_0x27eb4a[_0x17bdbd(0x141)]['length'];_0x483057++){_0xedb068?_0xedb068=![]:_0x25aed3+=')\x20'+_0x27eb4a[_0x17bdbd(0x156)][_0x17bdbd(0x15e)]()+'\x20(',_0x25aed3+=this['write'](_0x27eb4a[_0x17bdbd(0x141)][_0x483057]);}return _0x25aed3+')';}case _0x17bdbd(0x138):return _0x27eb4a[_0x17bdbd(0xfe)]+_0x17bdbd(0x13b)+this[_0x17bdbd(0x143)](_0x27eb4a['lowerBoundary'])+_0x17bdbd(0x155)+this[_0x17bdbd(0x143)](_0x27eb4a['upperBoundary']);case _0x17bdbd(0x11d):case'PropertyIsNotEqualTo':case _0x17bdbd(0x116):case _0x17bdbd(0x127):case _0x17bdbd(0x11a):case _0x17bdbd(0xf2):case _0x17bdbd(0x131):case _0x17bdbd(0x100):{return _0x27eb4a[_0x17bdbd(0x128)]!==null?_0x27eb4a[_0x17bdbd(0x139)]+'\x20'+this[_0x17bdbd(0x147)][_0x27eb4a[_0x17bdbd(0x156)]]+'\x20'+this[_0x17bdbd(0x143)](_0x27eb4a['expression']):_0x27eb4a[_0x17bdbd(0x139)]+'\x20'+this[_0x17bdbd(0x147)][_0x27eb4a[_0x17bdbd(0x156)]];}case undefined:if(typeof _0x27eb4a===_0x17bdbd(0x121))return'\x27'+_0x27eb4a[_0x17bdbd(0x135)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x27eb4a===_0x17bdbd(0x120))return String(_0x27eb4a);}break;default:throw new Error(_0x17bdbd(0x144)+_0x27eb4a[_0x17bdbd(0x103)]+'\x20'+_0x27eb4a);}}['readGeometry'](_0x47a2fa){if(_0x47a2fa instanceof a62_0x724fc7)return new WKT()['writeGeometry'](_0x47a2fa);}}
1
+ const a62_0x2f5b6d=a62_0x2651;function a62_0x3062(){const _0x191a15=['INTERSECTS','CONTAINS','condition','PropertyIsGreaterThanOrEqualTo','split','WITHIN','index','RPAREN','INTERSECTS(','WITHIN(','COMPARISON','CLASS_NAME','Within','like','IS_NULL','substring','text','9EmIqdB','BBOX','expression','greaterThanOrEqualTo','warn','pop','readGeometry','剩余的节点无法解析:\x20\x0a','END','indexOf','number','Unknown\x20token\x20type\x20','\x0a\x20\x20\x20\x20','length','replaceAll','parseInToOr','Contains','type','PropertyIsNotEqualTo','PropertyIsBetween','lowerBoundary','contains','\x20or\x20','propertyName','logicals','32QCkEsg','CONTAINS(','12ANVqZz','BETWEEN','notEqualTo','srsName','tokens','VALUE','nextToken','COMMA','ERROR:\x20In\x20parsing:\x20[','precedence','LOGICAL','read','equalTo','buildAst','177585HGbuCi','NOT','shift','write','geometry','PROPERTY','1304142SEqlnt','NOT\x20(','PropertyIsLessThanOrEqualTo','Not','SPATIAL','geometryName','conditions','PropertyIsLessThan','905270qQnpVY','tryToken','toLowerCase','bbox','push','charAt','10524XgBdXH','],\x20expected\x20one\x20of:\x20','string','patterns','LPAREN','126651AuGqNq','join','follows','property','tokenize','\x20AND\x20','remainder','IS\x20NULL','isNull','and','GEOMETRY','greaterThan','BBOX(','18062fYzKeK','toUpperCase','replace','579jlkOdi','4506WUZiAf','operatorReverse','between','intersects','inPatterns','exec','tagName_','operators','lastIndexOf','3015016jmFqAd'];a62_0x3062=function(){return _0x191a15;};return a62_0x3062();}(function(_0x3537b3,_0x3c6342){const _0x3b04d3=a62_0x2651,_0x2bc40f=_0x3537b3();while(!![]){try{const _0x1ea132=-parseInt(_0x3b04d3(0x189))/0x1+parseInt(_0x3b04d3(0x19a))/0x2*(-parseInt(_0x3b04d3(0x199))/0x3)+parseInt(_0x3b04d3(0x1ce))/0x4*(-parseInt(_0x3b04d3(0x170))/0x5)+parseInt(_0x3b04d3(0x1d0))/0x6*(parseInt(_0x3b04d3(0x176))/0x7)+-parseInt(_0x3b04d3(0x1a3))/0x8+-parseInt(_0x3b04d3(0x1b5))/0x9*(parseInt(_0x3b04d3(0x17e))/0xa)+-parseInt(_0x3b04d3(0x196))/0xb*(-parseInt(_0x3b04d3(0x184))/0xc);if(_0x1ea132===_0x3c6342)break;else _0x2bc40f['push'](_0x2bc40f['shift']());}catch(_0x223b4f){_0x2bc40f['push'](_0x2bc40f['shift']());}}}(a62_0x3062,0x79faa));import*as a62_0x27e618 from'ol/format/filter';function a62_0x2651(_0x3d2c96,_0x27405d){const _0x306237=a62_0x3062();return a62_0x2651=function(_0x265150,_0x439d77){_0x265150=_0x265150-0x16c;let _0x3ad273=_0x306237[_0x265150];return _0x3ad273;},a62_0x2651(_0x3d2c96,_0x27405d);}import{WKT}from'ol/format';import a62_0x588d51 from'ol/geom/Geometry';export default class CQL{constructor(){const _0x31b2f7=a62_0x2651;this[_0x31b2f7(0x19e)]=/ (IN) /i,this[_0x31b2f7(0x1d4)]=[_0x31b2f7(0x175),_0x31b2f7(0x1ae),'VALUE','LOGICAL'],this[_0x31b2f7(0x187)]={'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(_0x47ef37){const _0x16383e=_0x31b2f7;let _0x86cc6=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x16383e(0x19f)](_0x47ef37);if(_0x86cc6){let _0x431ef4=_0x47ef37[_0x16383e(0x1c2)],_0x333c51=_0x47ef37[_0x16383e(0x1be)]('(',_0x86cc6[0x0][_0x16383e(0x1c2)]);if(_0x333c51>-0x1){let _0x2c56d1=0x1;while(_0x333c51<_0x431ef4&&_0x2c56d1>0x0){_0x333c51++;switch(_0x47ef37[_0x16383e(0x183)](_0x333c51)){case'(':_0x2c56d1++;break;case')':_0x2c56d1--;break;default:}}}return[_0x47ef37[_0x16383e(0x1b3)](0x0,_0x333c51+0x1)];}},'END':/^$/},this[_0x31b2f7(0x18b)]={'LPAREN':[_0x31b2f7(0x193),_0x31b2f7(0x17a),_0x31b2f7(0x175),_0x31b2f7(0x1d5),_0x31b2f7(0x188)],'RPAREN':['NOT','LOGICAL','END','RPAREN'],'PROPERTY':[_0x31b2f7(0x1ae),'BETWEEN',_0x31b2f7(0x1d7),_0x31b2f7(0x1b2)],'BETWEEN':['VALUE'],'IS_NULL':['END'],'COMPARISON':['VALUE'],'COMMA':[_0x31b2f7(0x193),_0x31b2f7(0x1d5),'PROPERTY'],'VALUE':[_0x31b2f7(0x16c),'COMMA',_0x31b2f7(0x1ab),_0x31b2f7(0x1bd)],'SPATIAL':['LPAREN'],'LOGICAL':[_0x31b2f7(0x171),_0x31b2f7(0x1d5),_0x31b2f7(0x17a),'PROPERTY','LPAREN'],'NOT':['PROPERTY','LPAREN'],'GEOMETRY':[_0x31b2f7(0x1d7),_0x31b2f7(0x1ab)]},this[_0x31b2f7(0x1a1)]={'=':a62_0x27e618[_0x31b2f7(0x16e)],'<>':a62_0x27e618[_0x31b2f7(0x1d2)],'<':a62_0x27e618['lessThan'],'<=':a62_0x27e618['lessThanOrEqualTo'],'>':a62_0x27e618[_0x31b2f7(0x194)],'>=':a62_0x27e618[_0x31b2f7(0x1b8)],'LIKE':a62_0x27e618[_0x31b2f7(0x1b1)],'BETWEEN':a62_0x27e618[_0x31b2f7(0x19c)],'IS\x20NULL':a62_0x27e618[_0x31b2f7(0x191)]},this[_0x31b2f7(0x19b)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':'LIKE','PropertyIsNull':_0x31b2f7(0x190),'PropertyIsBetween':_0x31b2f7(0x1d1)},this[_0x31b2f7(0x1cd)]={'AND':a62_0x27e618[_0x31b2f7(0x192)],'OR':a62_0x27e618['or']},this[_0x31b2f7(0x1d9)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}['tryToken'](_0x3520c8,_0x4ed5a1){const _0x5a4dc1=a62_0x2651;return _0x4ed5a1 instanceof RegExp?_0x4ed5a1[_0x5a4dc1(0x19f)](_0x3520c8):_0x4ed5a1(_0x3520c8);}[a62_0x2f5b6d(0x1d6)](_0x1c1bca,_0x58e3cd){const _0x16f655=a62_0x2f5b6d;let _0x30db60,_0x4d7e33,_0x557956=_0x58e3cd[_0x16f655(0x1c2)];for(_0x30db60=0x0;_0x30db60<_0x557956;_0x30db60++){_0x4d7e33=_0x58e3cd[_0x30db60];let _0xe77cd5=this[_0x16f655(0x187)][_0x4d7e33],_0x379a08=this['tryToken'](_0x1c1bca,_0xe77cd5);if(_0x379a08){let _0x5e4991=_0x379a08[0x0],_0x2942c9=_0x1c1bca['substring'](_0x5e4991['length'])[_0x16f655(0x198)](/^\s*/,'');return{'type':_0x4d7e33,'text':_0x5e4991,'remainder':_0x2942c9};}}let _0x7f8d95=_0x16f655(0x1d8)+_0x1c1bca+_0x16f655(0x185);for(_0x30db60=0x0;_0x30db60<_0x557956;_0x30db60++){_0x4d7e33=_0x58e3cd[_0x30db60],_0x7f8d95+=_0x16f655(0x1c1)+_0x4d7e33+':\x20'+this[_0x16f655(0x187)][_0x4d7e33];}throw new Error(_0x7f8d95);}[a62_0x2f5b6d(0x18d)](_0x4094ee){const _0x27255e=a62_0x2f5b6d;_0x4094ee=_0x4094ee[_0x27255e(0x1c3)]('[','')[_0x27255e(0x1c3)](']','');let _0x2bdc12=this[_0x27255e(0x17f)](_0x4094ee,this[_0x27255e(0x19e)]);_0x2bdc12&&(_0x4094ee=this['parseInToOr'](_0x4094ee,_0x2bdc12));let _0x53089e=[],_0xcc989c,_0x10186f=[_0x27255e(0x171),'GEOMETRY',_0x27255e(0x17a),'PROPERTY',_0x27255e(0x188)];do{_0xcc989c=this[_0x27255e(0x1d6)](_0x4094ee,_0x10186f),_0x4094ee=_0xcc989c[_0x27255e(0x18f)],_0x10186f=this['follows'][_0xcc989c['type']];if(_0xcc989c['type']!==_0x27255e(0x1bd)&&!_0x10186f)throw new Error('No\x20follows\x20list\x20for\x20'+_0xcc989c[_0x27255e(0x1c6)]);_0x53089e['push'](_0xcc989c);}while(_0xcc989c[_0x27255e(0x1c6)]!=='END');return _0x53089e;}[a62_0x2f5b6d(0x1c4)](_0x493cfa,_0x3bcbf4){const _0x1c6f3b=a62_0x2f5b6d;let _0x16d8e7=this['tryToken'](_0x493cfa,/\((.+?)\)/g);if(_0x16d8e7){let _0x5d1df8=_0x493cfa['substring'](0x0,_0x3bcbf4[_0x1c6f3b(0x1aa)]),_0x283e8b=_0x16d8e7[0x1],_0x4d7de6=_0x283e8b[_0x1c6f3b(0x1c3)]('\x20','')[_0x1c6f3b(0x1a8)](','),_0x2c76c8='',_0x38dc23='';if(_0x5d1df8['indexOf']('\x20')>-0x1){let _0xa0a0f9=_0x5d1df8[_0x1c6f3b(0x1a2)]('\x20');_0x38dc23=_0x5d1df8[_0x1c6f3b(0x1b3)](0x0,_0xa0a0f9+0x1),_0x2c76c8=_0x5d1df8[_0x1c6f3b(0x1b3)](_0xa0a0f9+0x1,_0x5d1df8['length']);}else _0x2c76c8=_0x5d1df8;let _0x498885=_0x38dc23;for(let _0x1d84d3=0x0;_0x1d84d3<_0x4d7de6['length'];_0x1d84d3++){let _0x29c04f=_0x4d7de6[_0x1d84d3];_0x498885+=_0x2c76c8+'='+_0x29c04f,_0x1d84d3<_0x4d7de6[_0x1c6f3b(0x1c2)]-0x1&&(_0x498885+=_0x1c6f3b(0x1cb));}return _0x498885;}return _0x493cfa;}[a62_0x2f5b6d(0x16f)](_0x3fc887){const _0x91802b=a62_0x2f5b6d;let _0x303172=this,_0x32b34e=[],_0x9585cf=[];while(_0x3fc887[_0x91802b(0x1c2)]){let _0x36cf8d=_0x3fc887[_0x91802b(0x172)]();switch(_0x36cf8d[_0x91802b(0x1c6)]){case'PROPERTY':case _0x91802b(0x193):case'VALUE':_0x9585cf[_0x91802b(0x182)](_0x36cf8d);break;case'COMPARISON':case'BETWEEN':case _0x91802b(0x1b2):case _0x91802b(0x16c):{let _0x471864=this[_0x91802b(0x1d9)][_0x36cf8d[_0x91802b(0x1c6)]];while(_0x32b34e[_0x91802b(0x1c2)]>0x0&&this[_0x91802b(0x1d9)][_0x32b34e[_0x32b34e[_0x91802b(0x1c2)]-0x1][_0x91802b(0x1c6)]]<=_0x471864){_0x9585cf['push'](_0x32b34e[_0x91802b(0x1ba)]());}_0x32b34e[_0x91802b(0x182)](_0x36cf8d);break;}case _0x91802b(0x17a):case'NOT':case _0x91802b(0x188):_0x32b34e[_0x91802b(0x182)](_0x36cf8d);break;case _0x91802b(0x1ab):while(_0x32b34e['length']>0x0&&_0x32b34e[_0x32b34e[_0x91802b(0x1c2)]-0x1][_0x91802b(0x1c6)]!==_0x91802b(0x188)){_0x9585cf[_0x91802b(0x182)](_0x32b34e['pop']());}_0x32b34e['pop']();_0x32b34e[_0x91802b(0x1c2)]>0x0&&(_0x32b34e[_0x32b34e['length']-0x1]['type']===_0x91802b(0x17a)||_0x32b34e[_0x32b34e[_0x91802b(0x1c2)]-0x1]['type']==='NOT')&&_0x9585cf[_0x91802b(0x182)](_0x32b34e[_0x91802b(0x1ba)]());break;case _0x91802b(0x1d7):case _0x91802b(0x1bd):break;default:throw new Error(_0x91802b(0x1c0)+_0x36cf8d['type']);}}while(_0x32b34e[_0x91802b(0x1c2)]>0x0){_0x9585cf[_0x91802b(0x182)](_0x32b34e['pop']());}function _0x17ad9e(){const _0x4cf607=_0x91802b;let _0x19893a,_0x34c0dc,_0x487d8a=_0x9585cf['pop']();switch(_0x487d8a[_0x4cf607(0x1c6)]){case _0x4cf607(0x16c):{let _0x3da43e=_0x17ad9e(),_0x1fc43c=_0x17ad9e();return new _0x303172[(_0x4cf607(0x1cd))][(_0x487d8a['text'][_0x4cf607(0x197)]())](_0x1fc43c,_0x3da43e);}case'NOT':{let _0x1876d2=_0x17ad9e();return a62_0x27e618['not'](_0x1876d2);}case _0x4cf607(0x1d1):{let _0x419e02,_0x9ca5e1;return _0x9585cf[_0x4cf607(0x1ba)](),_0x9ca5e1=_0x17ad9e(),_0x419e02=_0x17ad9e(),_0x34c0dc=_0x17ad9e(),a62_0x27e618[_0x4cf607(0x19c)](_0x34c0dc,_0x419e02,_0x9ca5e1);}case _0x4cf607(0x1ae):{return _0x19893a=_0x17ad9e(),_0x34c0dc=_0x17ad9e(),new _0x303172[(_0x4cf607(0x1a1))][(_0x487d8a['text'][_0x4cf607(0x197)]())](_0x34c0dc,_0x19893a);}case _0x4cf607(0x1b2):_0x34c0dc=_0x17ad9e();return new _0x303172[(_0x4cf607(0x1a1))][(_0x487d8a[_0x4cf607(0x1b4)][_0x4cf607(0x197)]())](_0x34c0dc);case _0x4cf607(0x1d5):{let _0x2f6768=_0x487d8a[_0x4cf607(0x1b4)]['match'](/^'(.*)'$/);return _0x2f6768?_0x2f6768[0x1][_0x4cf607(0x198)](/''/g,'\x27'):Number(_0x487d8a[_0x4cf607(0x1b4)]);}case'SPATIAL':switch(_0x487d8a[_0x4cf607(0x1b4)][_0x4cf607(0x197)]()){case _0x4cf607(0x1b6):{let _0x544c30=_0x17ad9e(),_0x1cf958=_0x17ad9e(),_0x179645=_0x17ad9e(),_0x2cca07=_0x17ad9e(),_0x13dc1d=_0x17ad9e();return a62_0x27e618[_0x4cf607(0x181)](_0x13dc1d,[_0x2cca07,_0x179645,_0x1cf958,_0x544c30]);}case _0x4cf607(0x1a4):_0x19893a=_0x17ad9e(),_0x34c0dc=_0x17ad9e();return a62_0x27e618[_0x4cf607(0x19d)](_0x34c0dc,_0x19893a);case _0x4cf607(0x1a9):_0x19893a=_0x17ad9e(),_0x34c0dc=_0x17ad9e();return a62_0x27e618['within'](_0x34c0dc,_0x19893a);case _0x4cf607(0x1a5):_0x19893a=_0x17ad9e(),_0x34c0dc=_0x17ad9e();return a62_0x27e618[_0x4cf607(0x1ca)](_0x34c0dc,_0x19893a);}break;case'GEOMETRY':return new WKT()[_0x4cf607(0x1bb)](_0x487d8a[_0x4cf607(0x1b4)],{});default:return _0x487d8a[_0x4cf607(0x1b4)];}}let _0x371f5d=_0x17ad9e();if(_0x9585cf['length']>0x0){let _0x527639=_0x91802b(0x1bc);for(let _0x290f38=_0x9585cf[_0x91802b(0x1c2)]-0x1;_0x290f38>=0x0;_0x290f38--){_0x527639+=_0x9585cf[_0x290f38][_0x91802b(0x1c6)]+':\x20'+_0x9585cf[_0x290f38][_0x91802b(0x1b4)]+'\x0a';}throw new Error(_0x527639);}return _0x371f5d;}[a62_0x2f5b6d(0x16d)](_0x48f79d){const _0x4977a9=a62_0x2f5b6d;try{return this[_0x4977a9(0x16f)](this['tokenize'](_0x48f79d));}catch(_0x4c3966){console[_0x4977a9(0x1b9)]('CQL解析失败:'+_0x48f79d),console[_0x4977a9(0x1b9)](_0x4c3966);}}[a62_0x2f5b6d(0x173)](_0x37ac20){const _0x9aa538=a62_0x2f5b6d;switch(_0x37ac20['tagName_']){case _0x9aa538(0x1b6):return _0x9aa538(0x195)+_0x37ac20[_0x9aa538(0x17b)]+','+_0x37ac20['extent'][_0x9aa538(0x18a)](',')+','+_0x37ac20[_0x9aa538(0x1d3)]+')';case _0x9aa538(0x1b0):return _0x9aa538(0x1ad)+_0x37ac20[_0x9aa538(0x17b)]+',\x20'+this[_0x9aa538(0x1bb)](_0x37ac20['geometry'])+')';case'Intersects':return _0x9aa538(0x1ac)+_0x37ac20[_0x9aa538(0x17b)]+',\x20'+this[_0x9aa538(0x1bb)](_0x37ac20[_0x9aa538(0x174)])+')';case _0x9aa538(0x1c5):return _0x9aa538(0x1cf)+_0x37ac20[_0x9aa538(0x17b)]+',\x20'+this[_0x9aa538(0x1bb)](_0x37ac20[_0x9aa538(0x174)])+')';case _0x9aa538(0x179):return _0x9aa538(0x177)+this['write'](_0x37ac20[_0x9aa538(0x1a6)])+')';case'And':case'Or':{let _0x4f353e='(',_0x2c74e8=!![];for(let _0x564bb2=0x0;_0x564bb2<_0x37ac20[_0x9aa538(0x17c)][_0x9aa538(0x1c2)];_0x564bb2++){_0x2c74e8?_0x2c74e8=![]:_0x4f353e+=')\x20'+_0x37ac20['tagName_'][_0x9aa538(0x180)]()+'\x20(',_0x4f353e+=this[_0x9aa538(0x173)](_0x37ac20[_0x9aa538(0x17c)][_0x564bb2]);}return _0x4f353e+')';}case _0x9aa538(0x1c8):return _0x37ac20[_0x9aa538(0x18c)]+'\x20BETWEEN\x20'+this['write'](_0x37ac20[_0x9aa538(0x1c9)])+_0x9aa538(0x18e)+this[_0x9aa538(0x173)](_0x37ac20['upperBoundary']);case'PropertyIsEqualTo':case _0x9aa538(0x1c7):case _0x9aa538(0x17d):case _0x9aa538(0x178):case'PropertyIsGreaterThan':case _0x9aa538(0x1a7):case'PropertyIsLike':case'PropertyIsNull':{return _0x37ac20['expression']!==null?_0x37ac20['propertyName']+'\x20'+this[_0x9aa538(0x19b)][_0x37ac20[_0x9aa538(0x1a0)]]+'\x20'+this[_0x9aa538(0x173)](_0x37ac20[_0x9aa538(0x1b7)]):_0x37ac20[_0x9aa538(0x1cc)]+'\x20'+this[_0x9aa538(0x19b)][_0x37ac20[_0x9aa538(0x1a0)]];}case undefined:if(typeof _0x37ac20===_0x9aa538(0x186))return'\x27'+_0x37ac20[_0x9aa538(0x198)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x37ac20===_0x9aa538(0x1bf))return String(_0x37ac20);}break;default:throw new Error('Can\x27t\x20encode:\x20'+_0x37ac20[_0x9aa538(0x1af)]+'\x20'+_0x37ac20);}}[a62_0x2f5b6d(0x1bb)](_0xabb107){if(_0xabb107 instanceof a62_0x588d51)return new WKT()['writeGeometry'](_0xabb107);}}
@@ -1 +1 @@
1
- (function(_0xe8f54,_0x4dea8b){const _0xdcf6b4=a63_0x8eba,_0x3e7601=_0xe8f54();while(!![]){try{const _0x4cee86=-parseInt(_0xdcf6b4(0x1f7))/0x1*(-parseInt(_0xdcf6b4(0x200))/0x2)+parseInt(_0xdcf6b4(0x210))/0x3+parseInt(_0xdcf6b4(0x1f4))/0x4+-parseInt(_0xdcf6b4(0x20e))/0x5*(-parseInt(_0xdcf6b4(0x1fa))/0x6)+parseInt(_0xdcf6b4(0x215))/0x7*(-parseInt(_0xdcf6b4(0x1fd))/0x8)+parseInt(_0xdcf6b4(0x20d))/0x9*(-parseInt(_0xdcf6b4(0x1f5))/0xa)+-parseInt(_0xdcf6b4(0x1f6))/0xb*(parseInt(_0xdcf6b4(0x203))/0xc);if(_0x4cee86===_0x4dea8b)break;else _0x3e7601['push'](_0x3e7601['shift']());}catch(_0x2364c7){_0x3e7601['push'](_0x3e7601['shift']());}}}(a63_0x2f52,0xd0fe9));import a63_0x43e321 from'./CQL';export function isMatchCql(_0x1181ad,_0x2637f5){const _0x5d6c88=a63_0x8eba;let _0x4f12e6=new a63_0x43e321()[_0x5d6c88(0x216)](_0x2637f5);return isMatchFilter(_0x1181ad,_0x4f12e6);}export function isMatchFilter(_0x317865,_0x288451){const _0x22288b=a63_0x8eba;switch(_0x288451[_0x22288b(0x206)]){case _0x22288b(0x214):return!isMatchFilter(_0x317865,_0x288451[_0x22288b(0x212)]);case _0x22288b(0x1f3):{let _0x17bf02=!![];for(let _0x376520=0x0;_0x376520<_0x288451[_0x22288b(0x1fb)][_0x22288b(0x208)];_0x376520++){_0x17bf02=_0x17bf02&&isMatchFilter(_0x317865,_0x288451[_0x22288b(0x1fb)][_0x376520]);}return _0x17bf02;}case'Or':{let _0x10fcd3=![];for(let _0x26da01=0x0;_0x26da01<_0x288451['conditions'][_0x22288b(0x208)];_0x26da01++){_0x10fcd3=_0x10fcd3||isMatchFilter(_0x317865,_0x288451[_0x22288b(0x1fb)][_0x26da01]);}return _0x10fcd3;}case _0x22288b(0x1f9):return _0x317865[_0x288451[_0x22288b(0x205)]]>_0x288451['lowerBoundary']&&_0x317865[_0x288451[_0x22288b(0x205)]]<_0x288451[_0x22288b(0x213)];case'PropertyIsEqualTo':return _0x317865[_0x288451[_0x22288b(0x20f)]]===_0x288451[_0x22288b(0x1f8)];case _0x22288b(0x1fe):return _0x317865[_0x288451[_0x22288b(0x20f)]]!==_0x288451[_0x22288b(0x1f8)];case _0x22288b(0x20b):return _0x317865[_0x288451[_0x22288b(0x20f)]]<_0x288451[_0x22288b(0x1f8)];case _0x22288b(0x20a):return _0x317865[_0x288451[_0x22288b(0x20f)]]<=_0x288451['expression'];case _0x22288b(0x207):return _0x317865[_0x288451[_0x22288b(0x20f)]]>_0x288451[_0x22288b(0x1f8)];case'PropertyIsGreaterThanOrEqualTo':return _0x317865[_0x288451['propertyName']]>=_0x288451[_0x22288b(0x1f8)];case _0x22288b(0x1fc):return _0x317865[_0x288451['propertyName']][_0x22288b(0x1ff)](_0x288451[_0x22288b(0x1f8)])>-0x1;case'PropertyIsNull':{return!_0x317865[_0x288451[_0x22288b(0x20f)]];}default:return![];}}export function isEqualFilter(_0x6ea180,_0x3a1640){const _0x403c7c=a63_0x8eba;switch(_0x6ea180[_0x403c7c(0x206)]){case _0x403c7c(0x214):return _0x6ea180[_0x403c7c(0x206)]===_0x3a1640[_0x403c7c(0x206)]&&isEqualFilter(_0x6ea180[_0x403c7c(0x212)],_0x3a1640['condition']);case'Or':case _0x403c7c(0x1f3):{let _0x4fb70c=_0x6ea180[_0x403c7c(0x206)]===_0x3a1640[_0x403c7c(0x206)]&&_0x6ea180[_0x403c7c(0x1fb)][_0x403c7c(0x208)]===_0x3a1640[_0x403c7c(0x1fb)][_0x403c7c(0x208)];for(let _0x1cc0f5=0x0;_0x1cc0f5<_0x6ea180['conditions'][_0x403c7c(0x208)];_0x1cc0f5++){_0x4fb70c=_0x4fb70c&&isEqualFilter(_0x6ea180[_0x403c7c(0x1fb)][_0x1cc0f5],_0x3a1640['conditions'][_0x1cc0f5]);}return _0x4fb70c;}case _0x403c7c(0x1f9):return _0x6ea180[_0x403c7c(0x206)]===_0x3a1640[_0x403c7c(0x206)]&&_0x6ea180[_0x403c7c(0x205)]===_0x3a1640['property'];case'PropertyIsEqualTo':case _0x403c7c(0x1fe):case _0x403c7c(0x20b):case _0x403c7c(0x20a):case _0x403c7c(0x207):case _0x403c7c(0x211):case _0x403c7c(0x1fc):case'PropertyIsNull':return _0x6ea180[_0x403c7c(0x206)]===_0x3a1640[_0x403c7c(0x206)]&&_0x6ea180[_0x403c7c(0x20f)]===_0x3a1640[_0x403c7c(0x20f)];default:return![];}}export function indexOfFilter(_0x1f587d,_0x4237ac){const _0x21f02b=a63_0x8eba;let _0xe0428c=-0x1;if((_0x1f587d===null||_0x1f587d===void 0x0?void 0x0:_0x1f587d[_0x21f02b(0x208)])>0x0)for(let _0x450290 in _0x1f587d){if(isEqualFilter(_0x1f587d[_0x450290][_0x21f02b(0x202)],_0x4237ac))return _0x450290;}return _0xe0428c;}function a63_0x2f52(){const _0x35b0fb=['7544CZKPhL','PropertyIsNotEqualTo','indexOf','198826BoXjzq','join','template','34596BaKJLg','idMap','property','tagName_','PropertyIsGreaterThan','length','push','PropertyIsLessThanOrEqualTo','PropertyIsLessThan','idMapLength','35838gHDaAo','5KzmEif','propertyName','4294362xzyJiS','PropertyIsGreaterThanOrEqualTo','condition','upperBoundary','Not','651xMUNOI','read','And','6388348ACVnnS','1030zNFyhV','17281FWdEkQ','17RLMRaP','expression','PropertyIsBetween','6987102lErjgP','conditions','PropertyIsLike'];a63_0x2f52=function(){return _0x35b0fb;};return a63_0x2f52();}function a63_0x8eba(_0x4e5c0c,_0x23896b){const _0x2f524c=a63_0x2f52();return a63_0x8eba=function(_0x8eba76,_0x40255f){_0x8eba76=_0x8eba76-0x1f3;let _0x57fcd6=_0x2f524c[_0x8eba76];return _0x57fcd6;},a63_0x8eba(_0x4e5c0c,_0x23896b);}export function getIndexByTemplate(_0x479ab9,_0x1611b7){const _0x40c52b=a63_0x8eba;let _0xf573fc=_0x1611b7[_0x40c52b(0x202)];if(_0x1611b7[_0x40c52b(0x20c)]>0x0){let _0x1251de=getKeyByTemplate(_0x479ab9,_0xf573fc);if(_0x1251de instanceof Array)for(let _0x1f4fe3 in _0x1251de){let _0x3580fb=_0x1611b7[_0x40c52b(0x204)][_0x1251de[_0x1f4fe3]+'_'+_0x1f4fe3];if(_0x3580fb)return _0x3580fb;}else return _0x1611b7[_0x40c52b(0x204)][_0x1251de];}return null;}export function getKeyByTemplate(_0x59d66f,_0x74bf28){const _0x2dfed2=a63_0x8eba;switch(_0x74bf28[_0x2dfed2(0x206)]){case'PropertyIsEqualTo':{return _0x59d66f[_0x74bf28[_0x2dfed2(0x20f)]];}case'And':{let _0x1e95a7=[];for(let _0x6f5f3b=0x0;_0x6f5f3b<_0x74bf28[_0x2dfed2(0x1fb)][_0x2dfed2(0x208)];_0x6f5f3b++){let _0x14ee82=getKeyByTemplate(_0x59d66f,_0x74bf28[_0x2dfed2(0x1fb)][_0x6f5f3b]);_0x14ee82&&_0x1e95a7['push'](_0x14ee82);}return _0x1e95a7[_0x2dfed2(0x201)](',');}case'Or':{let _0x1f1744=[];for(let _0xbcef54=0x0;_0xbcef54<_0x74bf28[_0x2dfed2(0x1fb)]['length'];_0xbcef54++){let _0x2c9405=getKeyByTemplate(_0x59d66f,_0x74bf28[_0x2dfed2(0x1fb)][_0xbcef54]);_0x2c9405&&_0x1f1744[_0x2dfed2(0x209)](_0x2c9405);}return _0x1f1744;}default:return null;}}export function createKeyFromFilter(_0x1b485f){const _0x3f8d1d=a63_0x8eba;switch(_0x1b485f[_0x3f8d1d(0x206)]){case'PropertyIsEqualTo':return _0x1b485f[_0x3f8d1d(0x1f8)];case _0x3f8d1d(0x1f3):{let _0x2c7492=[];for(let _0x15f097=0x0;_0x15f097<_0x1b485f['conditions'][_0x3f8d1d(0x208)];_0x15f097++){let _0x101e27=createKeyFromFilter(_0x1b485f[_0x3f8d1d(0x1fb)][_0x15f097]);if(_0x101e27)_0x2c7492[_0x3f8d1d(0x209)](_0x101e27);else return null;}return _0x2c7492[_0x3f8d1d(0x201)](',');}case'Or':{let _0x2a9ba9=[];for(let _0x25376a=0x0;_0x25376a<_0x1b485f[_0x3f8d1d(0x1fb)][_0x3f8d1d(0x208)];_0x25376a++){let _0x2ae787=createKeyFromFilter(_0x1b485f[_0x3f8d1d(0x1fb)][_0x25376a]);_0x2ae787&&_0x2a9ba9['push'](_0x2ae787);}return _0x2a9ba9;}default:return null;}}
1
+ (function(_0x3b011d,_0x571b54){const _0xe9f1ea=a63_0x2c97,_0x3f90f2=_0x3b011d();while(!![]){try{const _0x552b7f=parseInt(_0xe9f1ea(0x189))/0x1+parseInt(_0xe9f1ea(0x18c))/0x2*(parseInt(_0xe9f1ea(0x192))/0x3)+-parseInt(_0xe9f1ea(0x188))/0x4+parseInt(_0xe9f1ea(0x196))/0x5*(-parseInt(_0xe9f1ea(0x17b))/0x6)+parseInt(_0xe9f1ea(0x193))/0x7+parseInt(_0xe9f1ea(0x195))/0x8+parseInt(_0xe9f1ea(0x18d))/0x9*(parseInt(_0xe9f1ea(0x199))/0xa);if(_0x552b7f===_0x571b54)break;else _0x3f90f2['push'](_0x3f90f2['shift']());}catch(_0x2b9297){_0x3f90f2['push'](_0x3f90f2['shift']());}}}(a63_0x4073,0xdb6fa));function a63_0x4073(){const _0x3b8ba8=['join','idMap','conditions','PropertyIsNull','3813036jeqJvc','875517ZiFBxy','property','PropertyIsGreaterThanOrEqualTo','576332YHJpAX','459nQdvec','propertyName','PropertyIsBetween','PropertyIsGreaterThan','tagName_','6RyVxDq','1658580DPhzDO','push','5246904tnrMYi','5pTXLUc','PropertyIsEqualTo','idMapLength','48190NZXUwY','PropertyIsNotEqualTo','indexOf','upperBoundary','Not','4430112YnaRfb','PropertyIsLessThan','read','And','condition','PropertyIsLike','expression','PropertyIsLessThanOrEqualTo','length'];a63_0x4073=function(){return _0x3b8ba8;};return a63_0x4073();}import a63_0x3989b2 from'./CQL';export function isMatchCql(_0x3ebf8c,_0x5bb527){const _0x6a72dc=a63_0x2c97;let _0x68033=new a63_0x3989b2()[_0x6a72dc(0x17d)](_0x5bb527);return isMatchFilter(_0x3ebf8c,_0x68033);}function a63_0x2c97(_0x4b2ac4,_0x262e8b){const _0x40732c=a63_0x4073();return a63_0x2c97=function(_0x2c9787,_0x209bf1){_0x2c9787=_0x2c9787-0x179;let _0x28d5cc=_0x40732c[_0x2c9787];return _0x28d5cc;},a63_0x2c97(_0x4b2ac4,_0x262e8b);}export function isMatchFilter(_0x42710d,_0x362256){const _0x48eb98=a63_0x2c97;switch(_0x362256[_0x48eb98(0x191)]){case _0x48eb98(0x17a):return!isMatchFilter(_0x42710d,_0x362256['condition']);case'And':{let _0x19bcdf=!![];for(let _0x583bf0=0x0;_0x583bf0<_0x362256[_0x48eb98(0x186)]['length'];_0x583bf0++){_0x19bcdf=_0x19bcdf&&isMatchFilter(_0x42710d,_0x362256[_0x48eb98(0x186)][_0x583bf0]);}return _0x19bcdf;}case'Or':{let _0x1e2de6=![];for(let _0xd8a74b=0x0;_0xd8a74b<_0x362256[_0x48eb98(0x186)][_0x48eb98(0x183)];_0xd8a74b++){_0x1e2de6=_0x1e2de6||isMatchFilter(_0x42710d,_0x362256[_0x48eb98(0x186)][_0xd8a74b]);}return _0x1e2de6;}case _0x48eb98(0x18f):return _0x42710d[_0x362256['property']]>_0x362256['lowerBoundary']&&_0x42710d[_0x362256[_0x48eb98(0x18a)]]<_0x362256[_0x48eb98(0x179)];case _0x48eb98(0x197):return _0x42710d[_0x362256[_0x48eb98(0x18e)]]===_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x19a):return _0x42710d[_0x362256[_0x48eb98(0x18e)]]!==_0x362256[_0x48eb98(0x181)];case'PropertyIsLessThan':return _0x42710d[_0x362256[_0x48eb98(0x18e)]]<_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x182):return _0x42710d[_0x362256[_0x48eb98(0x18e)]]<=_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x190):return _0x42710d[_0x362256[_0x48eb98(0x18e)]]>_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x18b):return _0x42710d[_0x362256['propertyName']]>=_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x180):return _0x42710d[_0x362256[_0x48eb98(0x18e)]][_0x48eb98(0x19b)](_0x362256[_0x48eb98(0x181)])>-0x1;case _0x48eb98(0x187):{return!_0x42710d[_0x362256['propertyName']];}default:return![];}}export function isEqualFilter(_0x5196b3,_0x5c0957){const _0x50108f=a63_0x2c97;switch(_0x5196b3[_0x50108f(0x191)]){case _0x50108f(0x17a):return _0x5196b3['tagName_']===_0x5c0957['tagName_']&&isEqualFilter(_0x5196b3[_0x50108f(0x17f)],_0x5c0957[_0x50108f(0x17f)]);case'Or':case _0x50108f(0x17e):{let _0x31dedb=_0x5196b3[_0x50108f(0x191)]===_0x5c0957['tagName_']&&_0x5196b3['conditions'][_0x50108f(0x183)]===_0x5c0957[_0x50108f(0x186)][_0x50108f(0x183)];for(let _0x1dcc67=0x0;_0x1dcc67<_0x5196b3[_0x50108f(0x186)][_0x50108f(0x183)];_0x1dcc67++){_0x31dedb=_0x31dedb&&isEqualFilter(_0x5196b3[_0x50108f(0x186)][_0x1dcc67],_0x5c0957[_0x50108f(0x186)][_0x1dcc67]);}return _0x31dedb;}case _0x50108f(0x18f):return _0x5196b3[_0x50108f(0x191)]===_0x5c0957['tagName_']&&_0x5196b3[_0x50108f(0x18a)]===_0x5c0957[_0x50108f(0x18a)];case _0x50108f(0x197):case'PropertyIsNotEqualTo':case _0x50108f(0x17c):case'PropertyIsLessThanOrEqualTo':case _0x50108f(0x190):case _0x50108f(0x18b):case _0x50108f(0x180):case'PropertyIsNull':return _0x5196b3[_0x50108f(0x191)]===_0x5c0957[_0x50108f(0x191)]&&_0x5196b3[_0x50108f(0x18e)]===_0x5c0957['propertyName'];default:return![];}}export function indexOfFilter(_0x1fcead,_0x270d79){const _0x1bffa2=a63_0x2c97;let _0x52eab3=-0x1;if((_0x1fcead===null||_0x1fcead===void 0x0?void 0x0:_0x1fcead[_0x1bffa2(0x183)])>0x0)for(let _0xcd2d76 in _0x1fcead){if(isEqualFilter(_0x1fcead[_0xcd2d76]['template'],_0x270d79))return _0xcd2d76;}return _0x52eab3;}export function getIndexByTemplate(_0xb93634,_0x3a8b85){const _0x272c2b=a63_0x2c97;let _0x457de3=_0x3a8b85['template'];if(_0x3a8b85[_0x272c2b(0x198)]>0x0){let _0xfdb68=getKeyByTemplate(_0xb93634,_0x457de3);if(_0xfdb68 instanceof Array)for(let _0x49c553 in _0xfdb68){let _0xbafa02=_0x3a8b85[_0x272c2b(0x185)][_0xfdb68[_0x49c553]+'_'+_0x49c553];if(_0xbafa02)return _0xbafa02;}else return _0x3a8b85[_0x272c2b(0x185)][_0xfdb68];}return null;}export function getKeyByTemplate(_0x3217a9,_0x26bb67){const _0x227258=a63_0x2c97;switch(_0x26bb67[_0x227258(0x191)]){case'PropertyIsEqualTo':{return _0x3217a9[_0x26bb67[_0x227258(0x18e)]];}case'And':{let _0x138767=[];for(let _0x300df4=0x0;_0x300df4<_0x26bb67['conditions'][_0x227258(0x183)];_0x300df4++){let _0x5f59a9=getKeyByTemplate(_0x3217a9,_0x26bb67['conditions'][_0x300df4]);_0x5f59a9&&_0x138767[_0x227258(0x194)](_0x5f59a9);}return _0x138767[_0x227258(0x184)](',');}case'Or':{let _0x56ae5c=[];for(let _0xcb4eb8=0x0;_0xcb4eb8<_0x26bb67['conditions']['length'];_0xcb4eb8++){let _0x3e2296=getKeyByTemplate(_0x3217a9,_0x26bb67[_0x227258(0x186)][_0xcb4eb8]);_0x3e2296&&_0x56ae5c['push'](_0x3e2296);}return _0x56ae5c;}default:return null;}}export function createKeyFromFilter(_0x5f3ee5){const _0x2fc69b=a63_0x2c97;switch(_0x5f3ee5[_0x2fc69b(0x191)]){case _0x2fc69b(0x197):return _0x5f3ee5[_0x2fc69b(0x181)];case _0x2fc69b(0x17e):{let _0x34302b=[];for(let _0x53c9e3=0x0;_0x53c9e3<_0x5f3ee5['conditions']['length'];_0x53c9e3++){let _0x403dd7=createKeyFromFilter(_0x5f3ee5[_0x2fc69b(0x186)][_0x53c9e3]);if(_0x403dd7)_0x34302b[_0x2fc69b(0x194)](_0x403dd7);else return null;}return _0x34302b[_0x2fc69b(0x184)](',');}case'Or':{let _0x279c7a=[];for(let _0x593952=0x0;_0x593952<_0x5f3ee5['conditions'][_0x2fc69b(0x183)];_0x593952++){let _0x322fd=createKeyFromFilter(_0x5f3ee5[_0x2fc69b(0x186)][_0x593952]);_0x322fd&&_0x279c7a['push'](_0x322fd);}return _0x279c7a;}default:return null;}}
@@ -1 +1 @@
1
- const a66_0x1e0a1e=a66_0x5169;function a66_0x5169(_0x39e26d,_0x228d4a){const _0x33efe8=a66_0x33ef();return a66_0x5169=function(_0x5169a7,_0x2ff654){_0x5169a7=_0x5169a7-0xf0;let _0x51fc52=_0x33efe8[_0x5169a7];return _0x51fc52;},a66_0x5169(_0x39e26d,_0x228d4a);}(function(_0x5d787e,_0x40a861){const _0x2dad4d=a66_0x5169,_0x158bea=_0x5d787e();while(!![]){try{const _0x7b4dad=parseInt(_0x2dad4d(0xf3))/0x1+parseInt(_0x2dad4d(0xf7))/0x2*(parseInt(_0x2dad4d(0xf2))/0x3)+parseInt(_0x2dad4d(0xfd))/0x4+-parseInt(_0x2dad4d(0xfa))/0x5+-parseInt(_0x2dad4d(0xf0))/0x6*(-parseInt(_0x2dad4d(0xfc))/0x7)+parseInt(_0x2dad4d(0xfb))/0x8+-parseInt(_0x2dad4d(0xff))/0x9;if(_0x7b4dad===_0x40a861)break;else _0x158bea['push'](_0x158bea['shift']());}catch(_0x5c9f77){_0x158bea['push'](_0x158bea['shift']());}}}(a66_0x33ef,0xa3bf8));import{asString}from'ol/color';class ImageCache{constructor(){const _0x39c813=a66_0x5169;this[_0x39c813(0xf6)]={},this[_0x39c813(0xfe)]=0x0;}['clear'](){const _0x16d4e8=a66_0x5169;this[_0x16d4e8(0xf6)]={},this[_0x16d4e8(0xfe)]=0x0;}[a66_0x1e0a1e(0xf8)](_0x1e8988){const _0x1eea13=a66_0x1e0a1e,_0x571679=getKey(_0x1e8988[_0x1eea13(0xf5)],_0x1e8988[_0x1eea13(0xf4)],_0x1e8988[_0x1eea13(0xf1)],_0x1e8988[_0x1eea13(0x100)]);return _0x571679 in this[_0x1eea13(0xf6)]?this['cache_'][_0x571679]:null;}[a66_0x1e0a1e(0xf9)](_0x145288,_0x70cc52){const _0x142f96=a66_0x1e0a1e,_0x1b26d9=getKey(_0x145288[_0x142f96(0xf5)],_0x145288['markerSize'],_0x145288[_0x142f96(0xf1)],_0x145288[_0x142f96(0x100)]);this[_0x142f96(0xf6)][_0x1b26d9]=_0x70cc52,++this[_0x142f96(0xfe)];}}function getKey(_0x579141,_0x28ed0a,_0x3a17b5,_0x2064ab){const _0x4208e4=_0x3a17b5?asString(_0x3a17b5):'null';return _0x579141+':'+_0x2064ab+':'+_0x4208e4+':'+_0x28ed0a;}export default ImageCache;function a66_0x33ef(){const _0x26d68c=['301542PuMZra','markerSize','markerLabel','cache_','1322008ouvvoH','get','set','3237245bEcWmD','1951176oPRDdm','4415187yOWcuE','2547572qcNTbT','cacheSize_','22028949kCzBwa','image','12MpeRfp','markerColor','6zFemyw'];a66_0x33ef=function(){return _0x26d68c;};return a66_0x33ef();}export const shared=new ImageCache();
1
+ const a66_0x1d9749=a66_0x2029;(function(_0x428300,_0x38f577){const _0x29b22f=a66_0x2029,_0x2fd072=_0x428300();while(!![]){try{const _0x195c64=-parseInt(_0x29b22f(0x192))/0x1+-parseInt(_0x29b22f(0x198))/0x2+parseInt(_0x29b22f(0x19c))/0x3*(parseInt(_0x29b22f(0x199))/0x4)+-parseInt(_0x29b22f(0x1a2))/0x5*(-parseInt(_0x29b22f(0x19a))/0x6)+-parseInt(_0x29b22f(0x19b))/0x7+-parseInt(_0x29b22f(0x19f))/0x8*(parseInt(_0x29b22f(0x1a1))/0x9)+parseInt(_0x29b22f(0x1a3))/0xa*(parseInt(_0x29b22f(0x19e))/0xb);if(_0x195c64===_0x38f577)break;else _0x2fd072['push'](_0x2fd072['shift']());}catch(_0x15c13d){_0x2fd072['push'](_0x2fd072['shift']());}}}(a66_0x27b6,0xe44cf));import{asString}from'ol/color';function a66_0x2029(_0x53a71d,_0x3c43a7){const _0x27b639=a66_0x27b6();return a66_0x2029=function(_0x2029ac,_0x128a3c){_0x2029ac=_0x2029ac-0x190;let _0x5420b1=_0x27b639[_0x2029ac];return _0x5420b1;},a66_0x2029(_0x53a71d,_0x3c43a7);}class ImageCache{constructor(){const _0x1f9a4c=a66_0x2029;this['cache_']={},this[_0x1f9a4c(0x191)]=0x0;}[a66_0x1d9749(0x190)](){const _0x423b3a=a66_0x1d9749;this[_0x423b3a(0x193)]={},this[_0x423b3a(0x191)]=0x0;}['get'](_0x5be460){const _0x4f721b=a66_0x1d9749,_0x9b9218=getKey(_0x5be460[_0x4f721b(0x196)],_0x5be460['markerSize'],_0x5be460[_0x4f721b(0x1a0)],_0x5be460[_0x4f721b(0x194)]);return _0x9b9218 in this[_0x4f721b(0x193)]?this[_0x4f721b(0x193)][_0x9b9218]:null;}[a66_0x1d9749(0x19d)](_0x522e1d,_0x810c2f){const _0xb5d572=a66_0x1d9749,_0x4b4d4e=getKey(_0x522e1d[_0xb5d572(0x196)],_0x522e1d[_0xb5d572(0x195)],_0x522e1d[_0xb5d572(0x1a0)],_0x522e1d['image']);this[_0xb5d572(0x193)][_0x4b4d4e]=_0x810c2f,++this['cacheSize_'];}}function getKey(_0x2e3826,_0xa89a4e,_0x39fdf1,_0x25325a){const _0xa22215=a66_0x1d9749,_0x1f7fea=_0x39fdf1?asString(_0x39fdf1):_0xa22215(0x197);return _0x2e3826+':'+_0x25325a+':'+_0x1f7fea+':'+_0xa89a4e;}export default ImageCache;export const shared=new ImageCache();function a66_0x27b6(){const _0x48ff89=['5128TEsxsb','markerColor','19827ZcAMEd','335TRJBGS','24616660AtFAMe','clear','cacheSize_','1112757IRMoQd','cache_','image','markerSize','markerLabel','null','1105090cRHhYs','382584qHHsrb','43536oiuOWi','3928792hCnFhN','51WNSJTh','set','11zaEnEH'];a66_0x27b6=function(){return _0x48ff89;};return a66_0x27b6();}
@@ -1 +1 @@
1
- const a67_0x2e64e0=a67_0x14a9;(function(_0x441c71,_0x249b75){const _0x438d4b=a67_0x14a9,_0x190d91=_0x441c71();while(!![]){try{const _0x2aa413=-parseInt(_0x438d4b(0xe6))/0x1*(parseInt(_0x438d4b(0xeb))/0x2)+-parseInt(_0x438d4b(0xf8))/0x3*(-parseInt(_0x438d4b(0xff))/0x4)+parseInt(_0x438d4b(0xf7))/0x5+-parseInt(_0x438d4b(0x10c))/0x6*(-parseInt(_0x438d4b(0x109))/0x7)+parseInt(_0x438d4b(0xdf))/0x8+parseInt(_0x438d4b(0xf2))/0x9*(-parseInt(_0x438d4b(0xf1))/0xa)+-parseInt(_0x438d4b(0xf0))/0xb*(-parseInt(_0x438d4b(0x100))/0xc);if(_0x2aa413===_0x249b75)break;else _0x190d91['push'](_0x190d91['shift']());}catch(_0x74e69f){_0x190d91['push'](_0x190d91['shift']());}}}(a67_0x463a,0x7ed0f));function a67_0x14a9(_0x438496,_0x50fa76){const _0x463a2f=a67_0x463a();return a67_0x14a9=function(_0x14a9cd,_0x34768b){_0x14a9cd=_0x14a9cd-0xdd;let _0xb9f9a=_0x463a2f[_0x14a9cd];return _0xb9f9a;},a67_0x14a9(_0x438496,_0x50fa76);}import a67_0x4fc926 from'color';import a67_0x160453 from'./writeTextToCanvas';import{Icon}from'ol/style';function a67_0x463a(){const _0x3f138f=['drawImage','save','6181400UppuFH','id\x20is\x20required','#000000','lighten','bold\x20','globalCompositeOperation','width','1lmBYZM','height','toDataURL','text\x20is\x20required','getImageState','1949674MhMGTx','beginPath','strokeStyle','ERROR','fromText','22bXdBWv','5527780PVOMkB','9MayLVc','load','listenImageChange','fillStyle','lineTo','4950825KXMEeJ','38007gOoknh','scale','destination-over','fromColor','fillRect','getImage','fromUrl','4AEfxlw','1244916TLciby','px\x20sans-serif','fill','size\x20is\x20required','destination-out','bezierCurveTo','round','color\x20is\x20required','lineWidth','1141vdVqfc','target','canvas','2358rqheMo','restore','stroke','_cache'];a67_0x463a=function(){return _0x3f138f;};return a67_0x463a();}import a67_0x1a7294 from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){this['_cache']={};}[a67_0x2e64e0(0xfb)](_0x118cb2,_0x402673){const _0x544833=a67_0x2e64e0;if(!_0x118cb2)throw new Error('color\x20is\x20required');if(!_0x402673)throw new Error(_0x544833(0x103));return createPin('','',_0x118cb2,_0x402673,this[_0x544833(0x10f)]);}[a67_0x2e64e0(0xfe)](_0x356313,_0x1e4e25,_0x3b938d){const _0x3f061d=a67_0x2e64e0;if(!_0x356313)throw new Error('url\x20is\x20required');if(!_0x1e4e25)throw new Error(_0x3f061d(0x107));if(!_0x3b938d)throw new Error(_0x3f061d(0x103));return createPin(_0x356313,'',_0x1e4e25,_0x3b938d,this['_cache']);}['fromMakiIconId'](_0x38041f,_0x53a4dd,_0x48a90d){const _0xa7f185=a67_0x2e64e0;if(!_0x38041f)throw new Error(_0xa7f185(0xe0));if(!_0x53a4dd)throw new Error(_0xa7f185(0x107));if(!_0x48a90d)throw new Error(_0xa7f185(0x103));return createPin(parseImage(_0x38041f),'',_0x53a4dd,_0x48a90d,this['_cache']);}[a67_0x2e64e0(0xef)](_0x2a2b69,_0x47b491,_0x50e7f6){const _0x589a13=a67_0x2e64e0;if(!_0x2a2b69)throw new Error(_0x589a13(0xe9));if(!_0x47b491)throw new Error(_0x589a13(0x107));if(!_0x50e7f6)throw new Error(_0x589a13(0x103));return createPin('',_0x2a2b69,_0x47b491,_0x50e7f6,this[_0x589a13(0x10f)]);}}function drawPin(_0x43813d,_0x2fd2cd,_0x592b7b){const _0x193ef0=a67_0x2e64e0;_0x43813d[_0x193ef0(0xde)](),_0x43813d[_0x193ef0(0xf9)](_0x592b7b/0x18,_0x592b7b/0x18),_0x43813d[_0x193ef0(0xf5)]=_0x2fd2cd,_0x43813d[_0x193ef0(0xed)]=a67_0x4fc926(_0x2fd2cd)[_0x193ef0(0xe2)](0.6)['hexa'](),_0x43813d[_0x193ef0(0x108)]=0.846,_0x43813d[_0x193ef0(0xec)](),_0x43813d['moveTo'](6.72,0.422),_0x43813d[_0x193ef0(0xf6)](17.28,0.422),_0x43813d[_0x193ef0(0x105)](18.553,0.422,19.577,1.758,19.577,3.415),_0x43813d[_0x193ef0(0xf6)](19.577,10.973),_0x43813d[_0x193ef0(0x105)](19.577,12.63,18.553,13.966,17.282,13.966),_0x43813d[_0x193ef0(0xf6)](14.386,14.008),_0x43813d[_0x193ef0(0xf6)](11.826,23.578),_0x43813d[_0x193ef0(0xf6)](9.614,14.008),_0x43813d[_0x193ef0(0xf6)](6.719,13.965),_0x43813d[_0x193ef0(0x105)](5.446,13.983,4.422,12.629,4.422,10.972),_0x43813d[_0x193ef0(0xf6)](4.422,3.416),_0x43813d['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0x43813d['closePath'](),_0x43813d[_0x193ef0(0x102)](),_0x43813d[_0x193ef0(0x10e)](),_0x43813d[_0x193ef0(0x10d)]();}function drawIcon(_0x1e28a0,_0x147211,_0x63d4de){const _0x271d5f=a67_0x2e64e0,_0x27d702=_0x63d4de/2.5;let _0x1465c7=_0x27d702,_0x30afac=_0x27d702;if(_0x147211[_0x271d5f(0xe5)]>_0x147211[_0x271d5f(0xe7)])_0x30afac=_0x27d702*(_0x147211[_0x271d5f(0xe7)]/_0x147211[_0x271d5f(0xe5)]);else _0x147211[_0x271d5f(0xe5)]<_0x147211[_0x271d5f(0xe7)]&&(_0x1465c7=_0x27d702*(_0x147211['width']/_0x147211[_0x271d5f(0xe7)]));const _0x4071e6=Math[_0x271d5f(0x106)]((_0x63d4de-_0x1465c7)/0x2),_0x4a9bed=Math['round'](0x7/0x18*_0x63d4de-_0x30afac/0x2);_0x1e28a0[_0x271d5f(0xe4)]=_0x271d5f(0x104),_0x1e28a0[_0x271d5f(0xdd)](_0x147211,_0x4071e6-0x1,_0x4a9bed,_0x1465c7,_0x30afac),_0x1e28a0[_0x271d5f(0xdd)](_0x147211,_0x4071e6,_0x4a9bed-0x1,_0x1465c7,_0x30afac),_0x1e28a0[_0x271d5f(0xdd)](_0x147211,_0x4071e6+0x1,_0x4a9bed,_0x1465c7,_0x30afac),_0x1e28a0['drawImage'](_0x147211,_0x4071e6,_0x4a9bed+0x1,_0x1465c7,_0x30afac),_0x1e28a0[_0x271d5f(0xe4)]=_0x271d5f(0xfa),_0x1e28a0[_0x271d5f(0xf5)]=_0x271d5f(0xe1),_0x1e28a0[_0x271d5f(0xfc)](_0x4071e6-0x1,_0x4a9bed-0x1,_0x1465c7+0x2,_0x30afac+0x2),_0x1e28a0['globalCompositeOperation']=_0x271d5f(0x104),_0x1e28a0[_0x271d5f(0xdd)](_0x147211,_0x4071e6,_0x4a9bed,_0x1465c7,_0x30afac),_0x1e28a0['globalCompositeOperation']='destination-over',_0x1e28a0[_0x271d5f(0xf5)]='#FFFFFF',_0x1e28a0[_0x271d5f(0xfc)](_0x4071e6-0x1,_0x4a9bed-0x2,_0x1465c7+0x2,_0x30afac+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x5123ab,_0x22ae10,_0x1345dd,_0x1a0822,_0xaf9204){const _0x2edd59=a67_0x2e64e0;stringifyScratch[0x0]=_0x5123ab,stringifyScratch[0x1]=_0x22ae10,stringifyScratch[0x2]=_0x1345dd,stringifyScratch[0x3]=_0x1a0822;const _0x25b2e4=JSON['stringify'](stringifyScratch),_0x20ee3b=_0xaf9204[_0x25b2e4];if(_0x20ee3b)return _0x20ee3b;const _0x5f31e8=document['createElement'](_0x2edd59(0x10b));_0x5f31e8['width']=_0x1a0822,_0x5f31e8['height']=_0x1a0822;const _0x5ae754=_0x5f31e8['getContext']('2d');drawPin(_0x5ae754,_0x1345dd,_0x1a0822);if(_0x5123ab)return new Promise(_0x5c9ceb=>{const _0x45aac0=_0x2edd59;let _0x564b73=new Icon({'src':_0x5123ab}),_0xdb9f2d=_0x564b73[_0x45aac0(0xea)]();_0xdb9f2d===a67_0x1a7294['LOADED']||_0xdb9f2d===a67_0x1a7294['ERROR']?(drawIcon(_0x5ae754,_0x564b73[_0x45aac0(0xfd)](0x60),_0x1a0822),_0xaf9204[_0x25b2e4]=_0x5f31e8[_0x45aac0(0xe8)](),_0x5c9ceb(_0x5f31e8['toDataURL']())):(_0xdb9f2d===a67_0x1a7294['IDLE']&&_0x564b73[_0x45aac0(0xf3)](),_0x564b73[_0x45aac0(0xf4)](_0xc6ee15=>{const _0x22e566=_0x45aac0;_0xdb9f2d=_0xc6ee15[_0x22e566(0x10a)][_0x22e566(0xea)](),(_0xdb9f2d===a67_0x1a7294['LOADED']||_0xdb9f2d===a67_0x1a7294[_0x22e566(0xee)])&&(drawIcon(_0x5ae754,_0x564b73[_0x22e566(0xfd)](0x60),_0x1a0822),_0xaf9204[_0x25b2e4]=_0x5f31e8['toDataURL'](),_0x5c9ceb(_0x5f31e8['toDataURL']()));}));});else{if(_0x22ae10){const _0xf193fd=a67_0x160453(_0x22ae10,{'font':_0x2edd59(0xe3)+_0x1a0822+_0x2edd59(0x101)});drawIcon(_0x5ae754,_0xf193fd,_0x1a0822);}}return _0xaf9204[_0x25b2e4]=_0x5f31e8[_0x2edd59(0xe8)](),_0x5f31e8[_0x2edd59(0xe8)]();}export default PinBuilder;
1
+ const a67_0xbb35f3=a67_0x3f28;function a67_0x3f28(_0x16f526,_0x1f8dfe){const _0x2ad7cd=a67_0x2ad7();return a67_0x3f28=function(_0x3f28ae,_0x9fbff1){_0x3f28ae=_0x3f28ae-0xc1;let _0x253a86=_0x2ad7cd[_0x3f28ae];return _0x253a86;},a67_0x3f28(_0x16f526,_0x1f8dfe);}function a67_0x2ad7(){const _0x1970af=['target','moveTo','text\x20is\x20required','bold\x20','261560HVIpUq','10874043nATTPb','destination-out','closePath','IDLE','destination-over','stringify','round','size\x20is\x20required','358764cHGkuu','toDataURL','24JTwxCq','createElement','LOADED','309545kzFtZv','fillStyle','getImageState','408KlSNPK','889xDSaxF','fromUrl','color\x20is\x20required','listenImageChange','getImage','getContext','hexa','25617qlNugX','canvas','save','_cache','lineTo','97736mPITys','width','beginPath','restore','globalCompositeOperation','fill','#000000','fromColor','#FFFFFF','ERROR','lineWidth','strokeStyle','lighten','drawImage','fromMakiIconId','height','px\x20sans-serif','url\x20is\x20required','fillRect','load','bezierCurveTo','15628270LaOwcM'];a67_0x2ad7=function(){return _0x1970af;};return a67_0x2ad7();}(function(_0x890a21,_0x271e19){const _0x364624=a67_0x3f28,_0x5ea1da=_0x890a21();while(!![]){try{const _0x517529=-parseInt(_0x364624(0xd0))/0x1+-parseInt(_0x364624(0xd9))/0x2+parseInt(_0x364624(0xe9))/0x3*(-parseInt(_0x364624(0xe1))/0x4)+parseInt(_0x364624(0xde))/0x5*(parseInt(_0x364624(0xdb))/0x6)+-parseInt(_0x364624(0xe2))/0x7*(-parseInt(_0x364624(0xee))/0x8)+-parseInt(_0x364624(0xd1))/0x9+parseInt(_0x364624(0xcb))/0xa;if(_0x517529===_0x271e19)break;else _0x5ea1da['push'](_0x5ea1da['shift']());}catch(_0x4d03b2){_0x5ea1da['push'](_0x5ea1da['shift']());}}}(a67_0x2ad7,0xcd893));import a67_0x273ce3 from'color';import a67_0x585c26 from'./writeTextToCanvas';import{Icon}from'ol/style';import a67_0x1bb0e9 from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){this['_cache']={};}[a67_0xbb35f3(0xf5)](_0x49ed1a,_0x272f57){const _0xab428d=a67_0xbb35f3;if(!_0x49ed1a)throw new Error(_0xab428d(0xe4));if(!_0x272f57)throw new Error(_0xab428d(0xd8));return createPin('','',_0x49ed1a,_0x272f57,this['_cache']);}[a67_0xbb35f3(0xe3)](_0x6922b,_0x53518e,_0x211956){const _0x4fd957=a67_0xbb35f3;if(!_0x6922b)throw new Error(_0x4fd957(0xc7));if(!_0x53518e)throw new Error(_0x4fd957(0xe4));if(!_0x211956)throw new Error(_0x4fd957(0xd8));return createPin(_0x6922b,'',_0x53518e,_0x211956,this['_cache']);}[a67_0xbb35f3(0xc4)](_0x218f2a,_0x4a9614,_0x54cb05){const _0x4350ad=a67_0xbb35f3;if(!_0x218f2a)throw new Error('id\x20is\x20required');if(!_0x4a9614)throw new Error(_0x4350ad(0xe4));if(!_0x54cb05)throw new Error(_0x4350ad(0xd8));return createPin(parseImage(_0x218f2a),'',_0x4a9614,_0x54cb05,this[_0x4350ad(0xec)]);}['fromText'](_0x41708d,_0xb456e5,_0x449a34){const _0x4b6194=a67_0xbb35f3;if(!_0x41708d)throw new Error(_0x4b6194(0xce));if(!_0xb456e5)throw new Error(_0x4b6194(0xe4));if(!_0x449a34)throw new Error(_0x4b6194(0xd8));return createPin('',_0x41708d,_0xb456e5,_0x449a34,this[_0x4b6194(0xec)]);}}function drawPin(_0x3c7c09,_0x26804d,_0x9a2308){const _0x11e05f=a67_0xbb35f3;_0x3c7c09[_0x11e05f(0xeb)](),_0x3c7c09['scale'](_0x9a2308/0x18,_0x9a2308/0x18),_0x3c7c09['fillStyle']=_0x26804d,_0x3c7c09[_0x11e05f(0xc1)]=a67_0x273ce3(_0x26804d)[_0x11e05f(0xc2)](0.6)[_0x11e05f(0xe8)](),_0x3c7c09[_0x11e05f(0xf8)]=0.846,_0x3c7c09[_0x11e05f(0xf0)](),_0x3c7c09[_0x11e05f(0xcd)](6.72,0.422),_0x3c7c09['lineTo'](17.28,0.422),_0x3c7c09['bezierCurveTo'](18.553,0.422,19.577,1.758,19.577,3.415),_0x3c7c09['lineTo'](19.577,10.973),_0x3c7c09[_0x11e05f(0xca)](19.577,12.63,18.553,13.966,17.282,13.966),_0x3c7c09[_0x11e05f(0xed)](14.386,14.008),_0x3c7c09[_0x11e05f(0xed)](11.826,23.578),_0x3c7c09[_0x11e05f(0xed)](9.614,14.008),_0x3c7c09['lineTo'](6.719,13.965),_0x3c7c09['bezierCurveTo'](5.446,13.983,4.422,12.629,4.422,10.972),_0x3c7c09[_0x11e05f(0xed)](4.422,3.416),_0x3c7c09[_0x11e05f(0xca)](4.423,1.76,5.447,0.423,6.718,0.423),_0x3c7c09[_0x11e05f(0xd3)](),_0x3c7c09[_0x11e05f(0xf3)](),_0x3c7c09['stroke'](),_0x3c7c09[_0x11e05f(0xf1)]();}function drawIcon(_0xebf4b1,_0x18246e,_0x4bf65f){const _0x1ba8a6=a67_0xbb35f3,_0x1fb265=_0x4bf65f/2.5;let _0xfb3d53=_0x1fb265,_0x37e04f=_0x1fb265;if(_0x18246e[_0x1ba8a6(0xef)]>_0x18246e[_0x1ba8a6(0xc5)])_0x37e04f=_0x1fb265*(_0x18246e[_0x1ba8a6(0xc5)]/_0x18246e['width']);else _0x18246e['width']<_0x18246e['height']&&(_0xfb3d53=_0x1fb265*(_0x18246e['width']/_0x18246e[_0x1ba8a6(0xc5)]));const _0xe525c8=Math[_0x1ba8a6(0xd7)]((_0x4bf65f-_0xfb3d53)/0x2),_0x3c377d=Math[_0x1ba8a6(0xd7)](0x7/0x18*_0x4bf65f-_0x37e04f/0x2);_0xebf4b1[_0x1ba8a6(0xf2)]=_0x1ba8a6(0xd2),_0xebf4b1[_0x1ba8a6(0xc3)](_0x18246e,_0xe525c8-0x1,_0x3c377d,_0xfb3d53,_0x37e04f),_0xebf4b1[_0x1ba8a6(0xc3)](_0x18246e,_0xe525c8,_0x3c377d-0x1,_0xfb3d53,_0x37e04f),_0xebf4b1['drawImage'](_0x18246e,_0xe525c8+0x1,_0x3c377d,_0xfb3d53,_0x37e04f),_0xebf4b1[_0x1ba8a6(0xc3)](_0x18246e,_0xe525c8,_0x3c377d+0x1,_0xfb3d53,_0x37e04f),_0xebf4b1[_0x1ba8a6(0xf2)]='destination-over',_0xebf4b1[_0x1ba8a6(0xdf)]=_0x1ba8a6(0xf4),_0xebf4b1[_0x1ba8a6(0xc8)](_0xe525c8-0x1,_0x3c377d-0x1,_0xfb3d53+0x2,_0x37e04f+0x2),_0xebf4b1[_0x1ba8a6(0xf2)]=_0x1ba8a6(0xd2),_0xebf4b1['drawImage'](_0x18246e,_0xe525c8,_0x3c377d,_0xfb3d53,_0x37e04f),_0xebf4b1['globalCompositeOperation']=_0x1ba8a6(0xd5),_0xebf4b1['fillStyle']=_0x1ba8a6(0xf6),_0xebf4b1[_0x1ba8a6(0xc8)](_0xe525c8-0x1,_0x3c377d-0x2,_0xfb3d53+0x2,_0x37e04f+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x51c087,_0x337a7e,_0xdcca3f,_0x258ffe,_0x4fe2c3){const _0x5f0c97=a67_0xbb35f3;stringifyScratch[0x0]=_0x51c087,stringifyScratch[0x1]=_0x337a7e,stringifyScratch[0x2]=_0xdcca3f,stringifyScratch[0x3]=_0x258ffe;const _0x53a27e=JSON[_0x5f0c97(0xd6)](stringifyScratch),_0x2b8451=_0x4fe2c3[_0x53a27e];if(_0x2b8451)return _0x2b8451;const _0x371ba6=document[_0x5f0c97(0xdc)](_0x5f0c97(0xea));_0x371ba6['width']=_0x258ffe,_0x371ba6[_0x5f0c97(0xc5)]=_0x258ffe;const _0x1e1c2a=_0x371ba6[_0x5f0c97(0xe7)]('2d');drawPin(_0x1e1c2a,_0xdcca3f,_0x258ffe);if(_0x51c087)return new Promise(_0x5c9f9c=>{const _0x5e8fe5=_0x5f0c97;let _0x314b8e=new Icon({'src':_0x51c087}),_0x4cee1a=_0x314b8e[_0x5e8fe5(0xe0)]();_0x4cee1a===a67_0x1bb0e9[_0x5e8fe5(0xdd)]||_0x4cee1a===a67_0x1bb0e9[_0x5e8fe5(0xf7)]?(drawIcon(_0x1e1c2a,_0x314b8e[_0x5e8fe5(0xe6)](0x60),_0x258ffe),_0x4fe2c3[_0x53a27e]=_0x371ba6['toDataURL'](),_0x5c9f9c(_0x371ba6['toDataURL']())):(_0x4cee1a===a67_0x1bb0e9[_0x5e8fe5(0xd4)]&&_0x314b8e[_0x5e8fe5(0xc9)](),_0x314b8e[_0x5e8fe5(0xe5)](_0x4423ed=>{const _0x4fbe6f=_0x5e8fe5;_0x4cee1a=_0x4423ed[_0x4fbe6f(0xcc)]['getImageState'](),(_0x4cee1a===a67_0x1bb0e9[_0x4fbe6f(0xdd)]||_0x4cee1a===a67_0x1bb0e9[_0x4fbe6f(0xf7)])&&(drawIcon(_0x1e1c2a,_0x314b8e[_0x4fbe6f(0xe6)](0x60),_0x258ffe),_0x4fe2c3[_0x53a27e]=_0x371ba6[_0x4fbe6f(0xda)](),_0x5c9f9c(_0x371ba6[_0x4fbe6f(0xda)]()));}));});else{if(_0x337a7e){const _0x43b634=a67_0x585c26(_0x337a7e,{'font':_0x5f0c97(0xcf)+_0x258ffe+_0x5f0c97(0xc6)});drawIcon(_0x1e1c2a,_0x43b634,_0x258ffe);}}return _0x4fe2c3[_0x53a27e]=_0x371ba6[_0x5f0c97(0xda)](),_0x371ba6[_0x5f0c97(0xda)]();}export default PinBuilder;
@@ -1 +1 @@
1
- const a68_0x50ddb4=a68_0x1e1e;(function(_0x36eebf,_0x178eff){const _0x1d064a=a68_0x1e1e,_0x2ee8ab=_0x36eebf();while(!![]){try{const _0x3a7c93=parseInt(_0x1d064a(0x97))/0x1*(parseInt(_0x1d064a(0x9c))/0x2)+-parseInt(_0x1d064a(0x8a))/0x3+-parseInt(_0x1d064a(0x7b))/0x4+parseInt(_0x1d064a(0x7e))/0x5*(-parseInt(_0x1d064a(0x93))/0x6)+-parseInt(_0x1d064a(0x89))/0x7*(parseInt(_0x1d064a(0x7a))/0x8)+parseInt(_0x1d064a(0x8c))/0x9+-parseInt(_0x1d064a(0x98))/0xa*(-parseInt(_0x1d064a(0x88))/0xb);if(_0x3a7c93===_0x178eff)break;else _0x2ee8ab['push'](_0x2ee8ab['shift']());}catch(_0xeaa553){_0x2ee8ab['push'](_0x2ee8ab['shift']());}}}(a68_0x519c,0x9bb7b));import a68_0x1b99a5 from'./PinBuilder';import{Icon}from'ol/style';import a68_0x2fd3cf from'ol/ImageState';import a68_0x29b63a from'ol/events/Event';import{shared as a68_0x41ab4c}from'./ImageCache';function a68_0x519c(){const _0x5d8fda=['loadIcon','target','_imageState','warn','IDLE','ERROR','18DpvAeb','markerLabel','_icon','catch','150QUOfDA','440sweINy','set','fromText','options','2930DKrvXR','824isctyE','1141144GgzfUC','fromUrl','LOADED','1743065ORPqlO','error','markerSize','get','image','_listener','getImage','load','dispatchEvent','getImageState','431519eaVYKk','980OvpWnT','2319564fweGEA','listenImageChange','7296534eyOLGh'];a68_0x519c=function(){return _0x5d8fda;};return a68_0x519c();}function a68_0x1e1e(_0x565ab9,_0x41ff23){const _0x519cb6=a68_0x519c();return a68_0x1e1e=function(_0x1e1e08,_0x332a14){_0x1e1e08=_0x1e1e08-0x7a;let _0x10f959=_0x519cb6[_0x1e1e08];return _0x10f959;},a68_0x1e1e(_0x565ab9,_0x41ff23);}export default class PinIcon{constructor(_0x29d1cf){const _0x476bbd=a68_0x1e1e;this[_0x476bbd(0x9b)]=_0x29d1cf||{},this[_0x476bbd(0x8f)]=a68_0x2fd3cf[_0x476bbd(0x91)],this[_0x476bbd(0x95)]=a68_0x41ab4c[_0x476bbd(0x81)](this[_0x476bbd(0x9b)]),this['_icon']&&(this['_imageState']=a68_0x2fd3cf['LOADED']);}[a68_0x50ddb4(0x85)](){const _0x3d7cf1=a68_0x50ddb4;try{let _0x1782d7,_0x42044b=new a68_0x1b99a5();if(this[_0x3d7cf1(0x9b)][_0x3d7cf1(0x94)])_0x1782d7=_0x42044b[_0x3d7cf1(0x9a)](this[_0x3d7cf1(0x9b)][_0x3d7cf1(0x94)],this[_0x3d7cf1(0x9b)]['markerColor'],this[_0x3d7cf1(0x9b)][_0x3d7cf1(0x80)]||0x30);else this[_0x3d7cf1(0x9b)][_0x3d7cf1(0x82)]&&(_0x1782d7=_0x42044b[_0x3d7cf1(0x7c)](this[_0x3d7cf1(0x9b)]['image'],this[_0x3d7cf1(0x9b)]['markerColor'],this[_0x3d7cf1(0x9b)][_0x3d7cf1(0x80)]||0x30));Promise['resolve'](_0x1782d7)['then'](_0x247277=>{const _0x41dfb3=_0x3d7cf1;this[_0x41dfb3(0x8d)](_0x247277);})[_0x3d7cf1(0x96)](_0x154b87=>{const _0x422d0a=_0x3d7cf1;console[_0x422d0a(0x90)](_0x154b87),this[_0x422d0a(0x8f)]=a68_0x2fd3cf[_0x422d0a(0x92)],this['dispatchEvent'](_0x422d0a(0x7f));});}catch(_0x4b5b3b){console['warn'](_0x4b5b3b),this['_imageState']=a68_0x2fd3cf[_0x3d7cf1(0x92)],this['dispatchEvent'](_0x3d7cf1(0x7f));}}[a68_0x50ddb4(0x8d)](_0xcdbe1c){const _0x2df372=a68_0x50ddb4;this[_0x2df372(0x95)]=new Icon({'src':_0xcdbe1c}),a68_0x41ab4c[_0x2df372(0x99)](this[_0x2df372(0x9b)],this[_0x2df372(0x95)]);let _0x2c1c61=this[_0x2df372(0x95)][_0x2df372(0x87)]();_0x2c1c61===a68_0x2fd3cf[_0x2df372(0x7d)]||_0x2c1c61===a68_0x2fd3cf[_0x2df372(0x92)]?(this[_0x2df372(0x8f)]=this['_icon'][_0x2df372(0x87)](),this[_0x2df372(0x86)]('load')):(_0x2c1c61===a68_0x2fd3cf[_0x2df372(0x91)]&&this['_icon'][_0x2df372(0x85)](),this['_icon'][_0x2df372(0x8b)](_0x5c94f5=>{const _0x444322=_0x2df372;_0x2c1c61=_0x5c94f5[_0x444322(0x8e)][_0x444322(0x87)](),(_0x2c1c61===a68_0x2fd3cf[_0x444322(0x7d)]||_0x2c1c61===a68_0x2fd3cf[_0x444322(0x92)])&&(this['_imageState']=this[_0x444322(0x95)]['getImageState'](),this['dispatchEvent'](_0x444322(0x85)));}));}[a68_0x50ddb4(0x87)](){const _0x4ac20d=a68_0x50ddb4;return this[_0x4ac20d(0x8f)];}[a68_0x50ddb4(0x84)](){const _0x42352e=a68_0x50ddb4;var _0x514007;return(_0x514007=this['_icon'])===null||_0x514007===void 0x0?void 0x0:_0x514007[_0x42352e(0x84)]();}[a68_0x50ddb4(0x8b)](_0x177678){const _0x2111ad=a68_0x50ddb4;this[_0x2111ad(0x83)]=_0x177678;}['dispatchEvent'](_0x555791){const _0x26f057=a68_0x50ddb4;if(this[_0x26f057(0x83)]){let _0x5849b6=new a68_0x29b63a(_0x555791);_0x5849b6[_0x26f057(0x8e)]=this,this[_0x26f057(0x83)](_0x5849b6);}}}
1
+ function a68_0x4158(){const _0x477e10=['getImageState','LOADED','71790oqalzN','56UaBTnY','165ljmRCf','ERROR','error','fromText','fromUrl','markerSize','2695608BYKMJF','getImage','resolve','loadIcon','options','151806KQHgKV','934833bFHURB','load','_icon','3DNcyFg','11430084nVvamG','3421404uqfbGS','110gZqNIO','2iCjCLM','listenImageChange','_imageState','dispatchEvent','markerColor','catch','image','755192YEzyjZ'];a68_0x4158=function(){return _0x477e10;};return a68_0x4158();}function a68_0x60ee(_0xd5fc74,_0x348bac){const _0x4158ee=a68_0x4158();return a68_0x60ee=function(_0x60ee2e,_0x59af00){_0x60ee2e=_0x60ee2e-0x18d;let _0x3f7883=_0x4158ee[_0x60ee2e];return _0x3f7883;},a68_0x60ee(_0xd5fc74,_0x348bac);}const a68_0x27aaf7=a68_0x60ee;(function(_0x4be6ba,_0x13d212){const _0x2a40bc=a68_0x60ee,_0x3f2a36=_0x4be6ba();while(!![]){try{const _0x423fb4=parseInt(_0x2a40bc(0x19c))/0x1*(parseInt(_0x2a40bc(0x1a3))/0x2)+parseInt(_0x2a40bc(0x19f))/0x3*(parseInt(_0x2a40bc(0x196))/0x4)+parseInt(_0x2a40bc(0x1a2))/0x5*(-parseInt(_0x2a40bc(0x19b))/0x6)+parseInt(_0x2a40bc(0x18f))/0x7*(-parseInt(_0x2a40bc(0x1aa))/0x8)+-parseInt(_0x2a40bc(0x1a1))/0x9+-parseInt(_0x2a40bc(0x18e))/0xa*(parseInt(_0x2a40bc(0x190))/0xb)+parseInt(_0x2a40bc(0x1a0))/0xc;if(_0x423fb4===_0x13d212)break;else _0x3f2a36['push'](_0x3f2a36['shift']());}catch(_0x51f1f4){_0x3f2a36['push'](_0x3f2a36['shift']());}}}(a68_0x4158,0xb9ef3));import a68_0x28c806 from'./PinBuilder';import{Icon}from'ol/style';import a68_0x29471f from'ol/ImageState';import a68_0x2782d5 from'ol/events/Event';import{shared as a68_0x277c14}from'./ImageCache';export default class PinIcon{constructor(_0x29e735){const _0xea15a7=a68_0x60ee;this['options']=_0x29e735||{},this[_0xea15a7(0x1a5)]=a68_0x29471f['IDLE'],this[_0xea15a7(0x19e)]=a68_0x277c14['get'](this[_0xea15a7(0x19a)]),this[_0xea15a7(0x19e)]&&(this[_0xea15a7(0x1a5)]=a68_0x29471f[_0xea15a7(0x18d)]);}[a68_0x27aaf7(0x19d)](){const _0x320595=a68_0x27aaf7;try{let _0x37b153,_0x586e38=new a68_0x28c806();if(this[_0x320595(0x19a)]['markerLabel'])_0x37b153=_0x586e38[_0x320595(0x193)](this[_0x320595(0x19a)]['markerLabel'],this[_0x320595(0x19a)][_0x320595(0x1a7)],this[_0x320595(0x19a)][_0x320595(0x195)]||0x30);else this[_0x320595(0x19a)][_0x320595(0x1a9)]&&(_0x37b153=_0x586e38[_0x320595(0x194)](this[_0x320595(0x19a)][_0x320595(0x1a9)],this[_0x320595(0x19a)][_0x320595(0x1a7)],this[_0x320595(0x19a)]['markerSize']||0x30));Promise[_0x320595(0x198)](_0x37b153)['then'](_0x7890d7=>{const _0x116dc9=_0x320595;this[_0x116dc9(0x199)](_0x7890d7);})[_0x320595(0x1a8)](_0xf56cc0=>{const _0x375a4c=_0x320595;console['warn'](_0xf56cc0),this['_imageState']=a68_0x29471f['ERROR'],this[_0x375a4c(0x1a6)]('error');});}catch(_0x4e10da){console['warn'](_0x4e10da),this['_imageState']=a68_0x29471f['ERROR'],this[_0x320595(0x1a6)](_0x320595(0x192));}}[a68_0x27aaf7(0x199)](_0x341fc8){const _0x3cd02d=a68_0x27aaf7;this[_0x3cd02d(0x19e)]=new Icon({'src':_0x341fc8}),a68_0x277c14['set'](this['options'],this[_0x3cd02d(0x19e)]);let _0x3693e7=this[_0x3cd02d(0x19e)][_0x3cd02d(0x1ab)]();_0x3693e7===a68_0x29471f[_0x3cd02d(0x18d)]||_0x3693e7===a68_0x29471f[_0x3cd02d(0x191)]?(this[_0x3cd02d(0x1a5)]=this[_0x3cd02d(0x19e)][_0x3cd02d(0x1ab)](),this[_0x3cd02d(0x1a6)]('load')):(_0x3693e7===a68_0x29471f['IDLE']&&this['_icon'][_0x3cd02d(0x19d)](),this[_0x3cd02d(0x19e)][_0x3cd02d(0x1a4)](_0x43437b=>{const _0x13cc4a=_0x3cd02d;_0x3693e7=_0x43437b['target'][_0x13cc4a(0x1ab)](),(_0x3693e7===a68_0x29471f[_0x13cc4a(0x18d)]||_0x3693e7===a68_0x29471f[_0x13cc4a(0x191)])&&(this[_0x13cc4a(0x1a5)]=this[_0x13cc4a(0x19e)][_0x13cc4a(0x1ab)](),this[_0x13cc4a(0x1a6)]('load'));}));}['getImageState'](){const _0xeb9eda=a68_0x27aaf7;return this[_0xeb9eda(0x1a5)];}[a68_0x27aaf7(0x197)](){const _0x18a644=a68_0x27aaf7;var _0x360ae1;return(_0x360ae1=this['_icon'])===null||_0x360ae1===void 0x0?void 0x0:_0x360ae1[_0x18a644(0x197)]();}[a68_0x27aaf7(0x1a4)](_0x1369f9){this['_listener']=_0x1369f9;}[a68_0x27aaf7(0x1a6)](_0x2174f7){if(this['_listener']){let _0x124e87=new a68_0x2782d5(_0x2174f7);_0x124e87['target']=this,this['_listener'](_0x124e87);}}}
@@ -1 +1 @@
1
- (function(_0x41187c,_0x568985){const _0x450531=a69_0x19d3,_0x530b82=_0x41187c();while(!![]){try{const _0x31c92b=-parseInt(_0x450531(0xde))/0x1*(parseInt(_0x450531(0xdf))/0x2)+parseInt(_0x450531(0xd8))/0x3*(parseInt(_0x450531(0xea))/0x4)+-parseInt(_0x450531(0xbe))/0x5+-parseInt(_0x450531(0xcb))/0x6*(-parseInt(_0x450531(0xee))/0x7)+-parseInt(_0x450531(0xd9))/0x8+parseInt(_0x450531(0xe0))/0x9+parseInt(_0x450531(0xc8))/0xa;if(_0x31c92b===_0x568985)break;else _0x530b82['push'](_0x530b82['shift']());}catch(_0x30df9b){_0x530b82['push'](_0x530b82['shift']());}}}(a69_0xef43,0x4cd4c));function measureText(_0x12657e,_0x1d477d,_0xb5fea1,_0x1d088e,_0x3e1bf5){const _0xb9663a=a69_0x19d3,_0x5047fe=_0x12657e[_0xb9663a(0xd5)](_0x1d477d),_0x4882d=!/\S/[_0xb9663a(0xd2)](_0x1d477d);if(!_0x4882d&&document[_0xb9663a(0xc3)]){const _0x2ab8e7=document[_0xb9663a(0xc3)][_0xb9663a(0xeb)](_0x12657e[_0xb9663a(0xc2)])[_0xb9663a(0xbf)](_0xb9663a(0xe4))[_0xb9663a(0xcd)]('px',''),_0x241566=document[_0xb9663a(0xf0)](_0xb9663a(0xc2)),_0x555bdf=0x64,_0x40e9f0=_0x5047fe['width']+_0x555bdf|0x0,_0x81857c=0x3*(_0x2ab8e7-0x0),_0x51b6e1=_0x81857c/0x2;_0x241566[_0xb9663a(0xdb)]=_0x40e9f0,_0x241566[_0xb9663a(0xc4)]=_0x81857c;const _0x239dc9=_0x241566[_0xb9663a(0xd3)]('2d');if(!_0x239dc9)return{};_0x239dc9[_0xb9663a(0xd0)]=_0xb5fea1,_0x239dc9[_0xb9663a(0xdc)]=_0xb9663a(0xd6),_0x239dc9['fillRect'](0x0,0x0,_0x241566[_0xb9663a(0xdb)]+0x1,_0x241566[_0xb9663a(0xc4)]+0x1);_0x1d088e&&(_0x239dc9['strokeStyle']=_0xb9663a(0xd7),_0x239dc9[_0xb9663a(0xbd)]=_0x12657e[_0xb9663a(0xbd)],_0x239dc9['strokeText'](_0x1d477d,_0x555bdf/0x2,_0x51b6e1));_0x3e1bf5&&(_0x239dc9[_0xb9663a(0xdc)]='black',_0x239dc9['fillText'](_0x1d477d,_0x555bdf/0x2,_0x51b6e1));const _0x36e400=_0x239dc9['getImageData'](0x0,0x0,_0x40e9f0,_0x81857c)[_0xb9663a(0xe7)],_0x4e62fe=_0x36e400[_0xb9663a(0xef)],_0x23eebb=_0x40e9f0*0x4;let _0x4b73d9,_0x4e3bee,_0x43f8ac=0x0,_0x39e8d9=0x0;for(_0x4b73d9=0x0;_0x4b73d9<_0x4e62fe;++_0x4b73d9){if(_0x36e400[_0x4b73d9]!==0xff){_0x43f8ac=_0x4b73d9/_0x23eebb|0x0;break;}}for(_0x4b73d9=_0x4e62fe-0x1;_0x4b73d9>=0x0;--_0x4b73d9){if(_0x36e400[_0x4b73d9]!==0xff){_0x39e8d9=_0x4b73d9/_0x23eebb|0x0;break;}}let _0x302530=-0x1;for(_0x4b73d9=0x0;_0x4b73d9<_0x40e9f0&&_0x302530===-0x1;++_0x4b73d9){for(_0x4e3bee=0x0;_0x4e3bee<_0x81857c;++_0x4e3bee){const _0x17d493=_0x4b73d9*0x4+_0x4e3bee*_0x23eebb;if(_0x36e400[_0x17d493]!==0xff||_0x36e400[_0x17d493+0x1]!==0xff||_0x36e400[_0x17d493+0x2]!==0xff||_0x36e400[_0x17d493+0x3]!==0xff){_0x302530=_0x4b73d9;break;}}}return{'width':_0x5047fe['width'],'height':_0x39e8d9-_0x43f8ac,'ascent':_0x51b6e1-_0x43f8ac,'descent':_0x39e8d9-_0x51b6e1,'minx':_0x302530-_0x555bdf/0x2};}return{'width':_0x5047fe[_0xb9663a(0xdb)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}function a69_0x19d3(_0x5e50e1,_0xf08a99){const _0xef432f=a69_0xef43();return a69_0x19d3=function(_0x19d36b,_0x33e6fc){_0x19d36b=_0x19d36b-0xbd;let _0x12adb7=_0xef432f[_0x19d36b];return _0x12adb7;},a69_0x19d3(_0x5e50e1,_0xf08a99);}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x2b8f20,_0x28f93d){const _0x411646=a69_0x19d3;if(!_0x2b8f20)throw new Error(_0x411646(0xe2));if(_0x2b8f20==='')return undefined;_0x28f93d=defaultValue(_0x28f93d,{});const _0x395933=defaultValue(_0x28f93d['font'],_0x411646(0xec)),_0x52397d=defaultValue(_0x28f93d['stroke'],![]),_0x360b4a=defaultValue(_0x28f93d['fill'],!![]),_0x4204b1=defaultValue(_0x28f93d[_0x411646(0xe3)],0x1),_0x4607c0=defaultValue(_0x28f93d[_0x411646(0xc5)],_0x411646(0xda)),_0x3186fb=defaultValue(_0x28f93d['padding'],0x0),_0x1f2831=_0x3186fb*0x2,_0x508773=document[_0x411646(0xf0)](_0x411646(0xc2));_0x508773['width']=0x1,_0x508773['height']=0x1,_0x508773['style'][_0x411646(0xd0)]=_0x395933;const _0x23421d=_0x508773[_0x411646(0xd3)]('2d');if(!imageSmoothingEnabledName&&_0x23421d){if(_0x23421d[_0x411646(0xc0)])imageSmoothingEnabledName=_0x411646(0xc0);else{if(_0x23421d[_0x411646(0xf1)])imageSmoothingEnabledName=_0x411646(0xf1);else{if(_0x23421d[_0x411646(0xed)])imageSmoothingEnabledName='webkitImageSmoothingEnabled';else _0x23421d[_0x411646(0xca)]&&(imageSmoothingEnabledName=_0x411646(0xca));}}}_0x23421d[_0x411646(0xd0)]=_0x395933,_0x23421d[_0x411646(0xd1)]='round',_0x23421d[_0x411646(0xbd)]=_0x4204b1,_0x23421d[imageSmoothingEnabledName]=![],_0x508773[_0x411646(0xe5)]['visibility']=_0x411646(0xe1),document['body']['appendChild'](_0x508773);const _0x38f58c=measureText(_0x23421d,_0x2b8f20,_0x395933,_0x52397d,_0x360b4a);if(!_0x38f58c)return;_0x508773['dimensions']=_0x38f58c,document[_0x411646(0xe9)]['removeChild'](_0x508773),_0x508773[_0x411646(0xe5)][_0x411646(0xcc)]='';const _0x585ee3=-(_0x38f58c[_0x411646(0xc7)]?_0x38f58c[_0x411646(0xc7)]:0x0),_0x4d4180=Math[_0x411646(0xcf)](_0x38f58c[_0x411646(0xdb)])+_0x585ee3+_0x1f2831,_0x496c3b=(_0x38f58c['height']?_0x38f58c['height']:0x0)+_0x1f2831,_0x2f8a68=_0x496c3b-(_0x38f58c[_0x411646(0xc9)]?_0x38f58c[_0x411646(0xc9)]:0x0)+_0x3186fb,_0x2761aa=_0x496c3b-_0x2f8a68+_0x1f2831;return _0x508773[_0x411646(0xdb)]=_0x4d4180,_0x508773[_0x411646(0xc4)]=_0x496c3b,_0x23421d[_0x411646(0xd0)]=_0x395933,_0x23421d['lineJoin']=_0x411646(0xc1),_0x23421d['lineWidth']=_0x4204b1,_0x23421d[imageSmoothingEnabledName]=![],_0x4607c0!==_0x411646(0xda)&&(_0x23421d[_0x411646(0xdc)]=_0x4607c0,_0x23421d['fillRect'](0x0,0x0,_0x508773[_0x411646(0xdb)],_0x508773[_0x411646(0xc4)])),_0x52397d&&(_0x23421d[_0x411646(0xc6)]=defaultValue(_0x28f93d['strokeColor'],_0x411646(0xce)),_0x23421d[_0x411646(0xe6)](_0x2b8f20,_0x585ee3+_0x3186fb,_0x2761aa)),_0x360b4a&&(_0x23421d[_0x411646(0xdc)]=defaultValue(_0x28f93d[_0x411646(0xdd)],_0x411646(0xe8)),_0x23421d[_0x411646(0xd4)](_0x2b8f20,_0x585ee3+_0x3186fb,_0x2761aa)),_0x508773;}function defaultValue(_0x5a3eb2,_0x2232ec){if(_0x5a3eb2!==undefined&&_0x5a3eb2!==null)return _0x5a3eb2;return _0x2232ec;}function a69_0xef43(){const _0x5e1a72=['webkitImageSmoothingEnabled','917VumUfk','length','createElement','mozImageSmoothingEnabled','lineWidth','2935470FMyaNw','getPropertyValue','imageSmoothingEnabled','round','canvas','defaultView','height','backgroundColor','strokeStyle','minx','5620450EjQvIv','ascent','msImageSmoothingEnabled','8166wFgNah','visibility','replace','#000000','ceil','font','lineJoin','test','getContext','fillText','measureText','white','black','589011enEenr','3954544sYsarp','#00000000','width','fillStyle','fillColor','794BLWpip','4NDBCcQ','2382210SveCem','hidden','text\x20is\x20required.','strokeWidth','font-size','style','strokeText','data','#FFFFFF','body','8dXMZNQ','getComputedStyle','10px\x20sans-serif'];a69_0xef43=function(){return _0x5e1a72;};return a69_0xef43();}export default writeTextToCanvas;
1
+ function a69_0x37ef(){const _0x3cd019=['stroke','msImageSmoothingEnabled','fillText','style','font-size','strokeWidth','data','241765ipoHWN','18SmRcOg','round','52140pLfMfy','16hNatNG','fillRect','ceil','minx','10px\x20sans-serif','mozImageSmoothingEnabled','7pVhEsB','removeChild','getComputedStyle','canvas','font','3661176VyHfdx','1005990BqPCRN','lineJoin','getPropertyValue','text\x20is\x20required.','14IOzpcQ','body','appendChild','722968VdZAdL','451DEwHaW','#00000000','getContext','black','createElement','width','test','webkitImageSmoothingEnabled','white','32323YiMifZ','strokeText','getImageData','dimensions','height','imageSmoothingEnabled','#FFFFFF','visibility','lineWidth','9528WaLRnG','backgroundColor','ascent','fillStyle','#000000'];a69_0x37ef=function(){return _0x3cd019;};return a69_0x37ef();}(function(_0x4ebcf9,_0x15fb2b){const _0x5c9328=a69_0x122f,_0x2c7726=_0x4ebcf9();while(!![]){try{const _0x329d3f=parseInt(_0x5c9328(0x20a))/0x1*(parseInt(_0x5c9328(0x1fd))/0x2)+parseInt(_0x5c9328(0x213))/0x3+-parseInt(_0x5c9328(0x1ed))/0x4*(parseInt(_0x5c9328(0x1e9))/0x5)+-parseInt(_0x5c9328(0x1f9))/0x6*(-parseInt(_0x5c9328(0x1f3))/0x7)+-parseInt(_0x5c9328(0x200))/0x8*(parseInt(_0x5c9328(0x1ea))/0x9)+parseInt(_0x5c9328(0x1ec))/0xa*(-parseInt(_0x5c9328(0x201))/0xb)+parseInt(_0x5c9328(0x1f8))/0xc;if(_0x329d3f===_0x15fb2b)break;else _0x2c7726['push'](_0x2c7726['shift']());}catch(_0x21313d){_0x2c7726['push'](_0x2c7726['shift']());}}}(a69_0x37ef,0x1be60));function measureText(_0x31cbdf,_0x292a53,_0x4cca12,_0x2d7582,_0x9de9a1){const _0x45629a=a69_0x122f,_0x47702b=_0x31cbdf['measureText'](_0x292a53),_0x5d322a=!/\S/[_0x45629a(0x207)](_0x292a53);if(!_0x5d322a&&document['defaultView']){const _0x11d3bb=document['defaultView'][_0x45629a(0x1f5)](_0x31cbdf[_0x45629a(0x1f6)])[_0x45629a(0x1fb)](_0x45629a(0x1e6))['replace']('px',''),_0x50e8e2=document[_0x45629a(0x205)](_0x45629a(0x1f6)),_0x258a88=0x64,_0x4bd0cc=_0x47702b[_0x45629a(0x206)]+_0x258a88|0x0,_0x52fac6=0x3*(_0x11d3bb-0x0),_0x5a42d7=_0x52fac6/0x2;_0x50e8e2[_0x45629a(0x206)]=_0x4bd0cc,_0x50e8e2[_0x45629a(0x20e)]=_0x52fac6;const _0x5e9283=_0x50e8e2[_0x45629a(0x203)]('2d');if(!_0x5e9283)return{};_0x5e9283['font']=_0x4cca12,_0x5e9283[_0x45629a(0x1e0)]=_0x45629a(0x209),_0x5e9283[_0x45629a(0x1ee)](0x0,0x0,_0x50e8e2[_0x45629a(0x206)]+0x1,_0x50e8e2[_0x45629a(0x20e)]+0x1);_0x2d7582&&(_0x5e9283['strokeStyle']=_0x45629a(0x204),_0x5e9283[_0x45629a(0x212)]=_0x31cbdf[_0x45629a(0x212)],_0x5e9283[_0x45629a(0x20b)](_0x292a53,_0x258a88/0x2,_0x5a42d7));_0x9de9a1&&(_0x5e9283[_0x45629a(0x1e0)]='black',_0x5e9283['fillText'](_0x292a53,_0x258a88/0x2,_0x5a42d7));const _0x4944e7=_0x5e9283[_0x45629a(0x20c)](0x0,0x0,_0x4bd0cc,_0x52fac6)[_0x45629a(0x1e8)],_0x97e1ba=_0x4944e7['length'],_0x48c7bb=_0x4bd0cc*0x4;let _0x22d6d8,_0x1407cc,_0x39cb3a=0x0,_0x52215f=0x0;for(_0x22d6d8=0x0;_0x22d6d8<_0x97e1ba;++_0x22d6d8){if(_0x4944e7[_0x22d6d8]!==0xff){_0x39cb3a=_0x22d6d8/_0x48c7bb|0x0;break;}}for(_0x22d6d8=_0x97e1ba-0x1;_0x22d6d8>=0x0;--_0x22d6d8){if(_0x4944e7[_0x22d6d8]!==0xff){_0x52215f=_0x22d6d8/_0x48c7bb|0x0;break;}}let _0x5420a7=-0x1;for(_0x22d6d8=0x0;_0x22d6d8<_0x4bd0cc&&_0x5420a7===-0x1;++_0x22d6d8){for(_0x1407cc=0x0;_0x1407cc<_0x52fac6;++_0x1407cc){const _0x1089cf=_0x22d6d8*0x4+_0x1407cc*_0x48c7bb;if(_0x4944e7[_0x1089cf]!==0xff||_0x4944e7[_0x1089cf+0x1]!==0xff||_0x4944e7[_0x1089cf+0x2]!==0xff||_0x4944e7[_0x1089cf+0x3]!==0xff){_0x5420a7=_0x22d6d8;break;}}}return{'width':_0x47702b[_0x45629a(0x206)],'height':_0x52215f-_0x39cb3a,'ascent':_0x5a42d7-_0x39cb3a,'descent':_0x52215f-_0x5a42d7,'minx':_0x5420a7-_0x258a88/0x2};}return{'width':_0x47702b['width'],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x4c1e11,_0xc88b17){const _0x109201=a69_0x122f;if(!_0x4c1e11)throw new Error(_0x109201(0x1fc));if(_0x4c1e11==='')return undefined;_0xc88b17=defaultValue(_0xc88b17,{});const _0x14968c=defaultValue(_0xc88b17[_0x109201(0x1f7)],_0x109201(0x1f1)),_0x2f2bfb=defaultValue(_0xc88b17[_0x109201(0x1e2)],![]),_0x343336=defaultValue(_0xc88b17['fill'],!![]),_0x173884=defaultValue(_0xc88b17[_0x109201(0x1e7)],0x1),_0x5b4685=defaultValue(_0xc88b17[_0x109201(0x214)],_0x109201(0x202)),_0x3dc667=defaultValue(_0xc88b17['padding'],0x0),_0x3eeaa7=_0x3dc667*0x2,_0x5937bb=document[_0x109201(0x205)]('canvas');_0x5937bb[_0x109201(0x206)]=0x1,_0x5937bb[_0x109201(0x20e)]=0x1,_0x5937bb[_0x109201(0x1e5)][_0x109201(0x1f7)]=_0x14968c;const _0x145019=_0x5937bb['getContext']('2d');if(!imageSmoothingEnabledName&&_0x145019){if(_0x145019[_0x109201(0x20f)])imageSmoothingEnabledName=_0x109201(0x20f);else{if(_0x145019[_0x109201(0x1f2)])imageSmoothingEnabledName=_0x109201(0x1f2);else{if(_0x145019[_0x109201(0x208)])imageSmoothingEnabledName='webkitImageSmoothingEnabled';else _0x145019[_0x109201(0x1e3)]&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0x145019[_0x109201(0x1f7)]=_0x14968c,_0x145019['lineJoin']=_0x109201(0x1eb),_0x145019[_0x109201(0x212)]=_0x173884,_0x145019[imageSmoothingEnabledName]=![],_0x5937bb['style'][_0x109201(0x211)]='hidden',document[_0x109201(0x1fe)][_0x109201(0x1ff)](_0x5937bb);const _0x144760=measureText(_0x145019,_0x4c1e11,_0x14968c,_0x2f2bfb,_0x343336);if(!_0x144760)return;_0x5937bb[_0x109201(0x20d)]=_0x144760,document[_0x109201(0x1fe)][_0x109201(0x1f4)](_0x5937bb),_0x5937bb['style']['visibility']='';const _0x4d1028=-(_0x144760[_0x109201(0x1f0)]?_0x144760[_0x109201(0x1f0)]:0x0),_0x4fa8a6=Math[_0x109201(0x1ef)](_0x144760[_0x109201(0x206)])+_0x4d1028+_0x3eeaa7,_0x104bb6=(_0x144760[_0x109201(0x20e)]?_0x144760[_0x109201(0x20e)]:0x0)+_0x3eeaa7,_0x4fd409=_0x104bb6-(_0x144760[_0x109201(0x215)]?_0x144760[_0x109201(0x215)]:0x0)+_0x3dc667,_0x1c2780=_0x104bb6-_0x4fd409+_0x3eeaa7;return _0x5937bb['width']=_0x4fa8a6,_0x5937bb[_0x109201(0x20e)]=_0x104bb6,_0x145019[_0x109201(0x1f7)]=_0x14968c,_0x145019[_0x109201(0x1fa)]=_0x109201(0x1eb),_0x145019['lineWidth']=_0x173884,_0x145019[imageSmoothingEnabledName]=![],_0x5b4685!==_0x109201(0x202)&&(_0x145019[_0x109201(0x1e0)]=_0x5b4685,_0x145019[_0x109201(0x1ee)](0x0,0x0,_0x5937bb[_0x109201(0x206)],_0x5937bb['height'])),_0x2f2bfb&&(_0x145019['strokeStyle']=defaultValue(_0xc88b17['strokeColor'],_0x109201(0x1e1)),_0x145019[_0x109201(0x20b)](_0x4c1e11,_0x4d1028+_0x3dc667,_0x1c2780)),_0x343336&&(_0x145019[_0x109201(0x1e0)]=defaultValue(_0xc88b17['fillColor'],_0x109201(0x210)),_0x145019[_0x109201(0x1e4)](_0x4c1e11,_0x4d1028+_0x3dc667,_0x1c2780)),_0x5937bb;}function a69_0x122f(_0x3cb191,_0x27b285){const _0x37efa2=a69_0x37ef();return a69_0x122f=function(_0x122f50,_0x50cee1){_0x122f50=_0x122f50-0x1e0;let _0x34c8f5=_0x37efa2[_0x122f50];return _0x34c8f5;},a69_0x122f(_0x3cb191,_0x27b285);}function defaultValue(_0x28d286,_0x3d8dd4){if(_0x28d286!==undefined&&_0x28d286!==null)return _0x28d286;return _0x3d8dd4;}export default writeTextToCanvas;
@@ -1 +1 @@
1
- const a73_0x5a2d60=a73_0x1667;(function(_0x1f99cc,_0x5f0633){const _0x2d5e5e=a73_0x1667,_0x550175=_0x1f99cc();while(!![]){try{const _0x575e27=parseInt(_0x2d5e5e(0x82))/0x1+-parseInt(_0x2d5e5e(0x80))/0x2*(parseInt(_0x2d5e5e(0x8c))/0x3)+-parseInt(_0x2d5e5e(0x85))/0x4+-parseInt(_0x2d5e5e(0x88))/0x5+-parseInt(_0x2d5e5e(0x8f))/0x6+-parseInt(_0x2d5e5e(0x8b))/0x7*(parseInt(_0x2d5e5e(0x84))/0x8)+parseInt(_0x2d5e5e(0x76))/0x9;if(_0x575e27===_0x5f0633)break;else _0x550175['push'](_0x550175['shift']());}catch(_0x4b09f3){_0x550175['push'](_0x550175['shift']());}}}(a73_0x138e,0x65682));function a73_0x138e(){const _0xc976aa=['getCode','time','identify','geometryType','18406044BhxZRR','tolerance','run','getProjection','returnZ','all','getView','imageDisplay','layers','_setGeometryParams','7284oKqBnJ','valueOf','568788gatxAB','url','984ECbYnP','2744212lhsTwG','getSize','calculateExtent','1795510hgmmOm','resolution','returnGeometry','30205LNUuFv','321FJBixM','returnM','mapExtent','1397688dvtbJd','inSR','layerDefs','getResolution','params','path'];a73_0x138e=function(){return _0xc976aa;};return a73_0x138e();}import a73_0x43115a from'ol/format/EsriJSON';import a73_0x41c104 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';function a73_0x1667(_0x1833ce,_0x14be89){const _0x138eab=a73_0x138e();return a73_0x1667=function(_0x166767,_0x20889b){_0x166767=_0x166767-0x71;let _0x1a0190=_0x138eab[_0x166767];return _0x1a0190;},a73_0x1667(_0x1833ce,_0x14be89);}import a73_0x3833b8 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a73_0x3833b8{constructor(_0x51f544,_0x194ed2,_0x10437d){const _0x4a51f2=a73_0x1667;super(_0x51f544,_0x194ed2,_0x10437d),this['path']=_0x4a51f2(0x74),this[_0x4a51f2(0x93)]={'layers':_0x4a51f2(0x7b),'tolerance':0x0,'returnGeometry':!![]},this[_0x4a51f2(0x77)]=0x3,this[_0x4a51f2(0x89)]=0x0,this[_0x4a51f2(0x83)]=appendPath(this[_0x4a51f2(0x83)],this[_0x4a51f2(0x71)]),_0x194ed2&&((_0x194ed2[_0x4a51f2(0x8a)]===!![]||_0x194ed2['returnGeometry']===![])&&(this[_0x4a51f2(0x93)]['returnGeometry']=_0x194ed2[_0x4a51f2(0x8a)]),_0x194ed2['layers']&&(this[_0x4a51f2(0x93)][_0x4a51f2(0x7e)]=_0x194ed2[_0x4a51f2(0x7e)]),_0x194ed2[_0x4a51f2(0x91)]&&(this['params'][_0x4a51f2(0x91)]=_0x194ed2['layerDefs']),(_0x194ed2['returnZ']===!![]||_0x194ed2[_0x4a51f2(0x7a)]===![])&&(this['params'][_0x4a51f2(0x7a)]=_0x194ed2[_0x4a51f2(0x7a)]),(_0x194ed2['returnM']===!![]||_0x194ed2[_0x4a51f2(0x8d)]===![])&&(this[_0x4a51f2(0x93)][_0x4a51f2(0x8d)]=_0x194ed2[_0x4a51f2(0x8d)]));}['at'](_0x2b1a42,_0x25dde5){const _0x2ea517=a73_0x1667;let _0xdc3317,_0x1573c8;const _0x5852fd=new a73_0x41c104();_0xdc3317=_0x2b1a42,_0x1573c8=getEsriSpatialReference(_0x25dde5['getView']()[_0x2ea517(0x79)]()[_0x2ea517(0x72)]());const _0x2b2302=_0x25dde5[_0x2ea517(0x86)]();_0x2b2302&&(this['params'][_0x2ea517(0x7d)]=[_0x2b2302[0x0],_0x2b2302[0x1],0x60]);this[_0x2ea517(0x93)]['sr']=_0x1573c8;const _0x3ef826=_0x25dde5[_0x2ea517(0x7c)]()[_0x2ea517(0x87)](_0x25dde5[_0x2ea517(0x86)]());this[_0x2ea517(0x93)][_0x2ea517(0x8e)]={'xmin':_0x3ef826[0x0],'ymin':_0x3ef826[0x1],'xmax':_0x3ef826[0x2],'ymax':_0x3ef826[0x3],'spatialReference':_0x1573c8};const _0x3f22b0=_0x25dde5['getView']()[_0x2ea517(0x92)](),_0x4529cf=_0x25dde5[_0x2ea517(0x7c)]()['getCenter']();return _0x3f22b0&&_0x4529cf&&(this['resolution']=getPointResolution(_0x25dde5[_0x2ea517(0x7c)]()[_0x2ea517(0x79)](),_0x3f22b0,_0x4529cf)),this[_0x2ea517(0x7f)](_0xdc3317,_0x25dde5[_0x2ea517(0x7c)]()[_0x2ea517(0x79)]()[_0x2ea517(0x72)]()),this;}['between'](_0x40e887,_0x2672fa){const _0x40cf18=a73_0x1667;return this[_0x40cf18(0x93)][_0x40cf18(0x73)]=[_0x40e887[_0x40cf18(0x81)](),_0x2672fa[_0x40cf18(0x81)]()],this;}[a73_0x5a2d60(0x78)](){this['request']();}['_setGeometryParams'](_0x231a5f,_0x56bf67){const _0x174073=a73_0x5a2d60;var _0x310f04=new a73_0x43115a();const _0x14dfd4=_0x310f04['writeGeometryObject'](_0x231a5f);this[_0x174073(0x93)][_0x174073(0x90)]=getEsriSpatialReference(_0x56bf67),this[_0x174073(0x93)]['geometry']=_0x14dfd4,this[_0x174073(0x93)][_0x174073(0x75)]=this['geojsonTypeToArcGIS'](_0x231a5f['getType']());}}
1
+ const a73_0x134cb3=a73_0x50cd;function a73_0x50cd(_0x417ef0,_0x4f8724){const _0x1a95eb=a73_0x1a95();return a73_0x50cd=function(_0x50cd4d,_0x50504e){_0x50cd4d=_0x50cd4d-0x13c;let _0x29386a=_0x1a95eb[_0x50cd4d];return _0x29386a;},a73_0x50cd(_0x417ef0,_0x4f8724);}(function(_0x536780,_0x489b61){const _0x5d55f7=a73_0x50cd,_0x572e97=_0x536780();while(!![]){try{const _0x539e1d=parseInt(_0x5d55f7(0x15c))/0x1+-parseInt(_0x5d55f7(0x157))/0x2*(-parseInt(_0x5d55f7(0x145))/0x3)+parseInt(_0x5d55f7(0x140))/0x4+-parseInt(_0x5d55f7(0x146))/0x5*(-parseInt(_0x5d55f7(0x13e))/0x6)+parseInt(_0x5d55f7(0x159))/0x7+-parseInt(_0x5d55f7(0x151))/0x8+-parseInt(_0x5d55f7(0x15d))/0x9;if(_0x539e1d===_0x489b61)break;else _0x572e97['push'](_0x572e97['shift']());}catch(_0x2ce602){_0x572e97['push'](_0x572e97['shift']());}}}(a73_0x1a95,0xb5ada));import a73_0x2acaee from'ol/format/EsriJSON';import a73_0x11225b from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a73_0x260f36 from'./Task';import{appendPath}from'../../UrlUtil';function a73_0x1a95(){const _0x44fef3=['getProjection','layerDefs','imageDisplay','9774936MphqFo','getResolution','run','getSize','writeGeometryObject','getCode','352wRAJBg','returnZ','8788486ELimNA','layers','getView','662204tiASwm','6647031QZGrki','params','_setGeometryParams','1389006xEbEuI','all','1690692SojzPP','geometry','url','inSR','mapExtent','2262EKRXyn','5WqAvuu','time','resolution','request','path','valueOf','returnGeometry','returnM'];a73_0x1a95=function(){return _0x44fef3;};return a73_0x1a95();}import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a73_0x260f36{constructor(_0x21f058,_0x5767bd,_0x3e904b){const _0x1876de=a73_0x50cd;super(_0x21f058,_0x5767bd,_0x3e904b),this[_0x1876de(0x14a)]='identify',this[_0x1876de(0x13c)]={'layers':_0x1876de(0x13f),'tolerance':0x0,'returnGeometry':!![]},this['tolerance']=0x3,this['resolution']=0x0,this[_0x1876de(0x142)]=appendPath(this['url'],this[_0x1876de(0x14a)]),_0x5767bd&&((_0x5767bd[_0x1876de(0x14c)]===!![]||_0x5767bd[_0x1876de(0x14c)]===![])&&(this[_0x1876de(0x13c)][_0x1876de(0x14c)]=_0x5767bd[_0x1876de(0x14c)]),_0x5767bd[_0x1876de(0x15a)]&&(this['params']['layers']=_0x5767bd[_0x1876de(0x15a)]),_0x5767bd[_0x1876de(0x14f)]&&(this[_0x1876de(0x13c)][_0x1876de(0x14f)]=_0x5767bd[_0x1876de(0x14f)]),(_0x5767bd[_0x1876de(0x158)]===!![]||_0x5767bd[_0x1876de(0x158)]===![])&&(this[_0x1876de(0x13c)][_0x1876de(0x158)]=_0x5767bd[_0x1876de(0x158)]),(_0x5767bd['returnM']===!![]||_0x5767bd['returnM']===![])&&(this[_0x1876de(0x13c)]['returnM']=_0x5767bd[_0x1876de(0x14d)]));}['at'](_0x4788b4,_0x236908){const _0x33bfc2=a73_0x50cd;let _0x368c8f,_0x103374;const _0x5dfc83=new a73_0x11225b();_0x368c8f=_0x4788b4,_0x103374=getEsriSpatialReference(_0x236908['getView']()['getProjection']()['getCode']());const _0x59860c=_0x236908[_0x33bfc2(0x154)]();_0x59860c&&(this[_0x33bfc2(0x13c)][_0x33bfc2(0x150)]=[_0x59860c[0x0],_0x59860c[0x1],0x60]);this[_0x33bfc2(0x13c)]['sr']=_0x103374;const _0x47a137=_0x236908[_0x33bfc2(0x15b)]()['calculateExtent'](_0x236908[_0x33bfc2(0x154)]());this[_0x33bfc2(0x13c)][_0x33bfc2(0x144)]={'xmin':_0x47a137[0x0],'ymin':_0x47a137[0x1],'xmax':_0x47a137[0x2],'ymax':_0x47a137[0x3],'spatialReference':_0x103374};const _0x51f8dc=_0x236908['getView']()[_0x33bfc2(0x152)](),_0x574d2f=_0x236908[_0x33bfc2(0x15b)]()['getCenter']();return _0x51f8dc&&_0x574d2f&&(this[_0x33bfc2(0x148)]=getPointResolution(_0x236908['getView']()[_0x33bfc2(0x14e)](),_0x51f8dc,_0x574d2f)),this[_0x33bfc2(0x13d)](_0x368c8f,_0x236908[_0x33bfc2(0x15b)]()[_0x33bfc2(0x14e)]()[_0x33bfc2(0x156)]()),this;}['between'](_0x2dd5cb,_0x4e6b87){const _0x15204e=a73_0x50cd;return this['params'][_0x15204e(0x147)]=[_0x2dd5cb['valueOf'](),_0x4e6b87[_0x15204e(0x14b)]()],this;}[a73_0x134cb3(0x153)](){const _0x267ac4=a73_0x134cb3;this[_0x267ac4(0x149)]();}['_setGeometryParams'](_0x18d90b,_0xba886b){const _0x1d4156=a73_0x134cb3;var _0x429a7c=new a73_0x2acaee();const _0x4c4f9d=_0x429a7c[_0x1d4156(0x155)](_0x18d90b);this[_0x1d4156(0x13c)][_0x1d4156(0x143)]=getEsriSpatialReference(_0xba886b),this[_0x1d4156(0x13c)][_0x1d4156(0x141)]=_0x4c4f9d,this[_0x1d4156(0x13c)]['geometryType']=this['geojsonTypeToArcGIS'](_0x18d90b['getType']());}}
@@ -1 +1 @@
1
- const a74_0x3bc721=a74_0x1057;function a74_0x1057(_0x40564d,_0x562a72){const _0x23b84b=a74_0x23b8();return a74_0x1057=function(_0x10579d,_0x55eac4){_0x10579d=_0x10579d-0x1f3;let _0x23c075=_0x23b84b[_0x10579d];return _0x23c075;},a74_0x1057(_0x40564d,_0x562a72);}(function(_0xf3a472,_0x59b9e9){const _0x53e43f=a74_0x1057,_0x328dbd=_0xf3a472();while(!![]){try{const _0x98bdd4=parseInt(_0x53e43f(0x226))/0x1+parseInt(_0x53e43f(0x20c))/0x2+-parseInt(_0x53e43f(0x216))/0x3*(-parseInt(_0x53e43f(0x214))/0x4)+parseInt(_0x53e43f(0x220))/0x5+parseInt(_0x53e43f(0x20b))/0x6*(-parseInt(_0x53e43f(0x235))/0x7)+-parseInt(_0x53e43f(0x20e))/0x8+-parseInt(_0x53e43f(0x209))/0x9*(parseInt(_0x53e43f(0x237))/0xa);if(_0x98bdd4===_0x59b9e9)break;else _0x328dbd['push'](_0x328dbd['shift']());}catch(_0x5b2250){_0x328dbd['push'](_0x328dbd['shift']());}}}(a74_0x23b8,0x19726));import a74_0x351410 from'ol/format/EsriJSON';import a74_0x4d1a71 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';function a74_0x23b8(){const _0x360018=['writeGeometryObject','esriSpatialRelCrosses','ids','184283MvPkMV','forEach','params','join','ASC','length','spatialRel','orderByFields','catch','between','crosses','esriSpatialRelIntersects','/query','returnGeometry','esriSpatialRelIndexIntersects','1491SzorEI','push','74720cHNYhD','No\x20features\x20found','esriSpatialRelOverlaps','layer','request','status','_cleanParams','geojsonTypeToArcGIS','1=1','returnM','abs','returnIdsOnly','orderBy','getExtent','url','inSR','_setGeometryParams','readFeature','geometryType','returnZ','simplify','returnDistinctValues','getTime','getType','units','valueOf','query','esriSpatialRelWithin','returnCountOnly','esriSpatialRelTouches','distinct','returnExtentOnly','count','288kPceZe','data','2598xkajWO','192270sascrB','nearby','492424bNCiUE','features','400','maxAllowableOffset','overlaps','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','162516YbePcH','outSR','9CEPEuJ','getSize','intersects','esriSpatialRelEnvelopeIntersects','esriSRUnit_Meter','apply','path','within','time','run','474055BLfbkL','distance','where'];a74_0x23b8=function(){return _0x360018;};return a74_0x23b8();}export default class Query extends a74_0x4d1a71{constructor(_0x2c111b,_0x2aeaaf,_0x24747d){const _0x69ee3b=a74_0x1057;super(_0x2c111b,_0x2aeaaf,_0x24747d),this[_0x69ee3b(0x21c)]=_0x69ee3b(0x202),this[_0x69ee3b(0x228)]={'returnGeometry':!![],'where':_0x69ee3b(0x23f),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x69ee3b(0x1fe)]()},this['url']=appendPath(this[_0x69ee3b(0x1f6)],this[_0x69ee3b(0x21c)]),_0x2aeaaf&&((_0x2aeaaf[_0x69ee3b(0x233)]===!![]||_0x2aeaaf[_0x69ee3b(0x233)]===![])&&(this['params']['returnGeometry']=_0x2aeaaf[_0x69ee3b(0x233)]),_0x2aeaaf[_0x69ee3b(0x222)]&&(this[_0x69ee3b(0x228)]['where']=_0x2aeaaf['where']),_0x2aeaaf[_0x69ee3b(0x215)]&&(this['params'][_0x69ee3b(0x215)]=getEsriSpatialReference(_0x2aeaaf[_0x69ee3b(0x215)])),(_0x2aeaaf['returnZ']===!![]||_0x2aeaaf[_0x69ee3b(0x1fb)]===![])&&(this['params']['returnZ']=_0x2aeaaf['returnZ']),(_0x2aeaaf[_0x69ee3b(0x240)]===!![]||_0x2aeaaf[_0x69ee3b(0x240)]===![])&&(this[_0x69ee3b(0x228)][_0x69ee3b(0x240)]=_0x2aeaaf['returnM']));}[a74_0x3bc721(0x21d)](_0x2c11d7,_0x20096c){const _0x5eeaf1=a74_0x3bc721;return this[_0x5eeaf1(0x1f8)](_0x2c11d7,_0x20096c),this[_0x5eeaf1(0x228)]['spatialRel']='esriSpatialRelContains',this;}[a74_0x3bc721(0x218)](_0x5d5083,_0x4c384c){const _0x4a2ca6=a74_0x3bc721;return this['_setGeometryParams'](_0x5d5083,_0x4c384c),this['params'][_0x4a2ca6(0x22c)]=_0x4a2ca6(0x231),this;}['contains'](_0x23504b,_0x1888e5){const _0x59f215=a74_0x3bc721;return this[_0x59f215(0x1f8)](_0x23504b,_0x1888e5),this[_0x59f215(0x228)][_0x59f215(0x22c)]=_0x59f215(0x203),this;}[a74_0x3bc721(0x230)](_0x476cc0,_0x55d4d8){const _0x1277bd=a74_0x3bc721;return this[_0x1277bd(0x1f8)](_0x476cc0,_0x55d4d8),this['params'][_0x1277bd(0x22c)]=_0x1277bd(0x224),this;}['touches'](_0x3755e4,_0x477f93){const _0x4d68e3=a74_0x3bc721;return this['_setGeometryParams'](_0x3755e4,_0x477f93),this[_0x4d68e3(0x228)]['spatialRel']=_0x4d68e3(0x205),this;}[a74_0x3bc721(0x212)](_0x2d40f0,_0x4d6d06){const _0x1061f3=a74_0x3bc721;return this[_0x1061f3(0x1f8)](_0x2d40f0,_0x4d6d06),this['params'][_0x1061f3(0x22c)]=_0x1061f3(0x239),this;}['bboxIntersects'](_0x18238d,_0x1285aa){const _0x60f60d=a74_0x3bc721;return this[_0x60f60d(0x1f8)](_0x18238d,_0x1285aa),this[_0x60f60d(0x228)][_0x60f60d(0x22c)]=_0x60f60d(0x219),this;}['indexIntersects'](_0x34958c,_0x25b086){const _0x4d69ca=a74_0x3bc721;return this[_0x4d69ca(0x1f8)](_0x34958c,_0x25b086),this[_0x4d69ca(0x228)][_0x4d69ca(0x22c)]=_0x4d69ca(0x234),this;}[a74_0x3bc721(0x20d)](_0x209a6a,_0x484b38,_0x23be1a){const _0x2a1646=a74_0x3bc721;return this[_0x2a1646(0x1f8)](_0x209a6a,_0x484b38),this[_0x2a1646(0x228)][_0x2a1646(0x22c)]='esriSpatialRelIntersects',this['params'][_0x2a1646(0x200)]=_0x2a1646(0x21a),this[_0x2a1646(0x228)][_0x2a1646(0x221)]=_0x23be1a,this;}[a74_0x3bc721(0x222)](_0x542dc7){const _0x32550b=a74_0x3bc721;return this[_0x32550b(0x228)]['where']=_0x542dc7,this;}[a74_0x3bc721(0x22f)](_0x4e4a99,_0x1d5c16){const _0x30f531=a74_0x3bc721;return this['params'][_0x30f531(0x21e)]=[_0x4e4a99[_0x30f531(0x201)](),_0x1d5c16[_0x30f531(0x201)]()],this;}[a74_0x3bc721(0x1fc)](_0x492d97,_0x32ceda){const _0x46bd7e=a74_0x3bc721,_0x4eb44d=_0x492d97[_0x46bd7e(0x1f5)]();var _0x25c32e=Math[_0x46bd7e(0x241)](_0x4eb44d[0x2]-_0x4eb44d[0x0]);const _0x21224e=_0x492d97[_0x46bd7e(0x217)]();if(_0x21224e)return this['params'][_0x46bd7e(0x211)]=_0x25c32e/_0x21224e[0x1]*_0x32ceda,this;}[a74_0x3bc721(0x1f4)](_0x2790e6,_0x150342){const _0x4356f2=a74_0x3bc721;return _0x150342=_0x150342||_0x4356f2(0x22a),this[_0x4356f2(0x228)]['orderByFields']=this[_0x4356f2(0x228)]['orderByFields']?this[_0x4356f2(0x228)]['orderByFields']+',':'',this[_0x4356f2(0x228)][_0x4356f2(0x22d)]+=[_0x2790e6,_0x150342][_0x4356f2(0x229)]('\x20'),this;}async[a74_0x3bc721(0x21f)](){const _0x3482ac=a74_0x3bc721;this[_0x3482ac(0x23d)]();const _0x2494e7=await this[_0x3482ac(0x23b)]()[_0x3482ac(0x22e)](_0x3abfc3=>{throw new Error(_0x3abfc3);});if(_0x2494e7[_0x3482ac(0x23c)]!==0xc8)throw new Error(_0x3482ac(0x238));if(_0x2494e7['data']&&_0x2494e7[_0x3482ac(0x20a)][_0x3482ac(0x20f)]&&_0x2494e7[_0x3482ac(0x20a)][_0x3482ac(0x20f)][_0x3482ac(0x22b)]>0x0){var _0x317b8c=new a74_0x351410();let _0x355465=[];return _0x2494e7['data'][_0x3482ac(0x20f)][_0x3482ac(0x227)](_0x94f339=>{const _0x15b206=_0x3482ac,_0x30bf27=_0x317b8c[_0x15b206(0x1f9)](_0x94f339);_0x355465[_0x15b206(0x236)](_0x30bf27);}),_0x355465;}return[];}[a74_0x3bc721(0x208)](){const _0xc3da37=a74_0x3bc721;this['_cleanParams'](),this[_0xc3da37(0x228)][_0xc3da37(0x204)]=!![],this[_0xc3da37(0x23b)]();}[a74_0x3bc721(0x225)](){const _0x47c4cc=a74_0x3bc721;this[_0x47c4cc(0x23d)](),this[_0x47c4cc(0x228)][_0x47c4cc(0x1f3)]=!![],this[_0x47c4cc(0x23b)]();}[a74_0x3bc721(0x206)](){const _0x1bce8e=a74_0x3bc721;return this[_0x1bce8e(0x228)][_0x1bce8e(0x233)]=![],this['params'][_0x1bce8e(0x1fd)]=!![],this;}[a74_0x3bc721(0x23a)](_0x2eded9){const _0x4ccc4d=a74_0x3bc721;return this[_0x4ccc4d(0x21c)]=_0x2eded9+_0x4ccc4d(0x232),this;}['_trapSQLerrors'](_0x2a4e00){const _0x377664=a74_0x3bc721;_0x2a4e00&&(_0x2a4e00['code']===_0x377664(0x210)&&console['warn'][_0x377664(0x21b)](_0x377664(0x213)));}[a74_0x3bc721(0x23d)](){const _0x128314=a74_0x3bc721;delete this['params'][_0x128314(0x1f3)],delete this['params'][_0x128314(0x207)],delete this[_0x128314(0x228)]['returnCountOnly'];}[a74_0x3bc721(0x1f8)](_0x4b028c,_0x444d1a){const _0x4e3047=a74_0x3bc721;var _0x107f01=new a74_0x351410();const _0x28bc84=_0x107f01[_0x4e3047(0x223)](_0x4b028c);this['params'][_0x4e3047(0x1f7)]=getEsriSpatialReference(_0x444d1a),this[_0x4e3047(0x228)]['geometry']=_0x28bc84,this[_0x4e3047(0x228)][_0x4e3047(0x1fa)]=this[_0x4e3047(0x23e)](_0x4b028c[_0x4e3047(0x1ff)]());}}
1
+ function a74_0x3df1(_0x17a4fb,_0x46992f){const _0x42f882=a74_0x42f8();return a74_0x3df1=function(_0x3df154,_0x37d2a9){_0x3df154=_0x3df154-0x66;let _0x3ea835=_0x42f882[_0x3df154];return _0x3ea835;},a74_0x3df1(_0x17a4fb,_0x46992f);}const a74_0x169682=a74_0x3df1;function a74_0x42f8(){const _0x49693b=['units','nearby','params','getType','intersects','returnZ','warn','count','_setGeometryParams','maxAllowableOffset','returnCountOnly','/query','catch','esriSpatialRelEnvelopeIntersects','where','esriSpatialRelIntersects','code','length','253EBrdtG','returnDistinctValues','contains','orderByFields','features','8acPFfP','No\x20features\x20found','esriSpatialRelWithin','3839906kkAvQB','esriSpatialRelIndexIntersects','bboxIntersects','inSR','touches','1=1','run','orderBy','forEach','esriSpatialRelOverlaps','crosses','abs','simplify','readFeature','esriSpatialRelTouches','returnIdsOnly','distance','25181NGOgaU','getSize','request','spatialRel','returnExtentOnly','push','ids','geojsonTypeToArcGIS','2115665hWMVAL','query','outSR','12990474aFMEAU','path','returnGeometry','16941340gDlOgq','indexIntersects','time','94XForOy','geometry','895308rldFDT','writeGeometryObject','url','24QajEHM','esriSRUnit_Meter','valueOf','_cleanParams','esriSpatialRelContains','400','1056OdaliC','returnM','12176kEQgyS','data'];a74_0x42f8=function(){return _0x49693b;};return a74_0x42f8();}(function(_0x517e3d,_0x291701){const _0x4dfc68=a74_0x3df1,_0x53d1d9=_0x517e3d();while(!![]){try{const _0x18255d=parseInt(_0x4dfc68(0xa1))/0x1*(parseInt(_0x4dfc68(0x67))/0x2)+parseInt(_0x4dfc68(0x72))/0x3*(-parseInt(_0x4dfc68(0x74))/0x4)+-parseInt(_0x4dfc68(0xa9))/0x5*(parseInt(_0x4dfc68(0x6c))/0x6)+-parseInt(_0x4dfc68(0x90))/0x7*(-parseInt(_0x4dfc68(0x8d))/0x8)+-parseInt(_0x4dfc68(0xac))/0x9+parseInt(_0x4dfc68(0xaf))/0xa+-parseInt(_0x4dfc68(0x88))/0xb*(-parseInt(_0x4dfc68(0x69))/0xc);if(_0x18255d===_0x291701)break;else _0x53d1d9['push'](_0x53d1d9['shift']());}catch(_0x42d010){_0x53d1d9['push'](_0x53d1d9['shift']());}}}(a74_0x42f8,0xe4390));import a74_0x5d4d63 from'ol/format/EsriJSON';import a74_0x3a0ab1 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a74_0x3a0ab1{constructor(_0x8b5622,_0x3c1039,_0x25e503){const _0x1a9c60=a74_0x3df1;super(_0x8b5622,_0x3c1039,_0x25e503),this[_0x1a9c60(0xad)]=_0x1a9c60(0xaa),this[_0x1a9c60(0x78)]={'returnGeometry':!![],'where':_0x1a9c60(0x95),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()['getTime']()},this[_0x1a9c60(0x6b)]=appendPath(this['url'],this[_0x1a9c60(0xad)]),_0x3c1039&&((_0x3c1039['returnGeometry']===!![]||_0x3c1039[_0x1a9c60(0xae)]===![])&&(this[_0x1a9c60(0x78)][_0x1a9c60(0xae)]=_0x3c1039['returnGeometry']),_0x3c1039[_0x1a9c60(0x84)]&&(this[_0x1a9c60(0x78)][_0x1a9c60(0x84)]=_0x3c1039[_0x1a9c60(0x84)]),_0x3c1039[_0x1a9c60(0xab)]&&(this['params'][_0x1a9c60(0xab)]=getEsriSpatialReference(_0x3c1039['outSR'])),(_0x3c1039[_0x1a9c60(0x7b)]===!![]||_0x3c1039[_0x1a9c60(0x7b)]===![])&&(this[_0x1a9c60(0x78)]['returnZ']=_0x3c1039[_0x1a9c60(0x7b)]),(_0x3c1039[_0x1a9c60(0x73)]===!![]||_0x3c1039[_0x1a9c60(0x73)]===![])&&(this[_0x1a9c60(0x78)][_0x1a9c60(0x73)]=_0x3c1039[_0x1a9c60(0x73)]));}['within'](_0x44de85,_0x14c3ca){const _0x915db4=a74_0x3df1;return this['_setGeometryParams'](_0x44de85,_0x14c3ca),this['params'][_0x915db4(0xa4)]=_0x915db4(0x70),this;}[a74_0x169682(0x7a)](_0x41846c,_0x514953){const _0x226fc6=a74_0x169682;return this[_0x226fc6(0x7e)](_0x41846c,_0x514953),this[_0x226fc6(0x78)][_0x226fc6(0xa4)]='esriSpatialRelIntersects',this;}[a74_0x169682(0x8a)](_0x5a1981,_0x5e5308){const _0x2c91d0=a74_0x169682;return this[_0x2c91d0(0x7e)](_0x5a1981,_0x5e5308),this[_0x2c91d0(0x78)]['spatialRel']=_0x2c91d0(0x8f),this;}[a74_0x169682(0x9a)](_0x232a49,_0x39dc87){const _0x196133=a74_0x169682;return this['_setGeometryParams'](_0x232a49,_0x39dc87),this['params'][_0x196133(0xa4)]='esriSpatialRelCrosses',this;}[a74_0x169682(0x94)](_0x1f906f,_0x5900a2){const _0x3e92d6=a74_0x169682;return this[_0x3e92d6(0x7e)](_0x1f906f,_0x5900a2),this[_0x3e92d6(0x78)][_0x3e92d6(0xa4)]=_0x3e92d6(0x9e),this;}['overlaps'](_0x8eb04,_0xa95117){const _0x49603b=a74_0x169682;return this['_setGeometryParams'](_0x8eb04,_0xa95117),this[_0x49603b(0x78)][_0x49603b(0xa4)]=_0x49603b(0x99),this;}[a74_0x169682(0x92)](_0x31ac15,_0x3b4146){const _0x49891f=a74_0x169682;return this[_0x49891f(0x7e)](_0x31ac15,_0x3b4146),this[_0x49891f(0x78)][_0x49891f(0xa4)]=_0x49891f(0x83),this;}[a74_0x169682(0xb0)](_0x5c7001,_0x36d23c){const _0x4487bd=a74_0x169682;return this[_0x4487bd(0x7e)](_0x5c7001,_0x36d23c),this['params']['spatialRel']=_0x4487bd(0x91),this;}[a74_0x169682(0x77)](_0x34ffe6,_0x34d3a9,_0x543d82){const _0x398fb9=a74_0x169682;return this['_setGeometryParams'](_0x34ffe6,_0x34d3a9),this[_0x398fb9(0x78)][_0x398fb9(0xa4)]=_0x398fb9(0x85),this[_0x398fb9(0x78)][_0x398fb9(0x76)]=_0x398fb9(0x6d),this[_0x398fb9(0x78)][_0x398fb9(0xa0)]=_0x543d82,this;}['where'](_0x185746){const _0x30e48a=a74_0x169682;return this[_0x30e48a(0x78)][_0x30e48a(0x84)]=_0x185746,this;}['between'](_0x4745dc,_0x49229f){const _0x50169f=a74_0x169682;return this[_0x50169f(0x78)][_0x50169f(0x66)]=[_0x4745dc[_0x50169f(0x6e)](),_0x49229f[_0x50169f(0x6e)]()],this;}[a74_0x169682(0x9c)](_0x1c7b6c,_0x253309){const _0x22e3a1=a74_0x169682,_0x1c1e9a=_0x1c7b6c['getExtent']();var _0x51f72f=Math[_0x22e3a1(0x9b)](_0x1c1e9a[0x2]-_0x1c1e9a[0x0]);const _0x12a0cd=_0x1c7b6c[_0x22e3a1(0xa2)]();if(_0x12a0cd)return this[_0x22e3a1(0x78)][_0x22e3a1(0x7f)]=_0x51f72f/_0x12a0cd[0x1]*_0x253309,this;}[a74_0x169682(0x97)](_0x51725c,_0x515b83){const _0xab1e08=a74_0x169682;return _0x515b83=_0x515b83||'ASC',this[_0xab1e08(0x78)][_0xab1e08(0x8b)]=this[_0xab1e08(0x78)]['orderByFields']?this[_0xab1e08(0x78)][_0xab1e08(0x8b)]+',':'',this['params']['orderByFields']+=[_0x51725c,_0x515b83]['join']('\x20'),this;}async[a74_0x169682(0x96)](){const _0x55ad29=a74_0x169682;this[_0x55ad29(0x6f)]();const _0xdf0496=await this['request']()[_0x55ad29(0x82)](_0x2f4487=>{throw new Error(_0x2f4487);});if(_0xdf0496['status']!==0xc8)throw new Error(_0x55ad29(0x8e));if(_0xdf0496[_0x55ad29(0x75)]&&_0xdf0496[_0x55ad29(0x75)][_0x55ad29(0x8c)]&&_0xdf0496[_0x55ad29(0x75)][_0x55ad29(0x8c)][_0x55ad29(0x87)]>0x0){var _0x5bc7c9=new a74_0x5d4d63();let _0x589064=[];return _0xdf0496[_0x55ad29(0x75)][_0x55ad29(0x8c)][_0x55ad29(0x98)](_0x270be5=>{const _0x51ac73=_0x55ad29,_0x1e1321=_0x5bc7c9[_0x51ac73(0x9d)](_0x270be5);_0x589064[_0x51ac73(0xa6)](_0x1e1321);}),_0x589064;}return[];}[a74_0x169682(0x7d)](){const _0x5a34e4=a74_0x169682;this[_0x5a34e4(0x6f)](),this['params'][_0x5a34e4(0x80)]=!![],this[_0x5a34e4(0xa3)]();}[a74_0x169682(0xa7)](){const _0xb09abb=a74_0x169682;this[_0xb09abb(0x6f)](),this[_0xb09abb(0x78)]['returnIdsOnly']=!![],this[_0xb09abb(0xa3)]();}['distinct'](){const _0x1de038=a74_0x169682;return this[_0x1de038(0x78)][_0x1de038(0xae)]=![],this['params'][_0x1de038(0x89)]=!![],this;}['layer'](_0x90606){const _0x47fae3=a74_0x169682;return this['path']=_0x90606+_0x47fae3(0x81),this;}['_trapSQLerrors'](_0x34611a){const _0x5b987b=a74_0x169682;_0x34611a&&(_0x34611a[_0x5b987b(0x86)]===_0x5b987b(0x71)&&console[_0x5b987b(0x7c)]['apply']('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}['_cleanParams'](){const _0x229018=a74_0x169682;delete this['params'][_0x229018(0x9f)],delete this[_0x229018(0x78)][_0x229018(0xa5)],delete this[_0x229018(0x78)][_0x229018(0x80)];}['_setGeometryParams'](_0x35409c,_0x19bed1){const _0x4c4777=a74_0x169682;var _0x435c1c=new a74_0x5d4d63();const _0xb3a6c5=_0x435c1c[_0x4c4777(0x6a)](_0x35409c);this[_0x4c4777(0x78)][_0x4c4777(0x93)]=getEsriSpatialReference(_0x19bed1),this['params'][_0x4c4777(0x68)]=_0xb3a6c5,this[_0x4c4777(0x78)]['geometryType']=this[_0x4c4777(0xa8)](_0x35409c[_0x4c4777(0x79)]());}}
@@ -1 +1 @@
1
- function a75_0x1cf7(_0x569c91,_0x190b5b){var _0x19a754=a75_0x19a7();return a75_0x1cf7=function(_0x1cf76b,_0x536b4c){_0x1cf76b=_0x1cf76b-0x1ee;var _0x47d0c5=_0x19a754[_0x1cf76b];return _0x47d0c5;},a75_0x1cf7(_0x569c91,_0x190b5b);}var a75_0x40498c=a75_0x1cf7;function a75_0x19a7(){var _0x1f2ebe=['99565PoRSix','1032eYGjju','274336tKZPCv','MultiPolygon','length','LineString','esriGeometryPoint','prototype','request','74515WXSdMt','GET','MultiPoint','method','toString','[object\x20Date]','1862919ifbyta','esriGeometryPolygon','test','Point','get','returnUnformattedValues','3532045pwGpaG','Polygon','esriGeometryPolyline','90AKoHFa','15dHAqAP','call','200BZiiGX','[object\x20Object]','JSONP','esriGeometryMultipoint','19408VfnSLR','indexOf','4yfCVBB','url','80379gpFGoU','post','json','10TClFHN','format','params','serialize','[object\x20Array]'];a75_0x19a7=function(){return _0x1f2ebe;};return a75_0x19a7();}(function(_0x4df411,_0x268ca4){var _0x58926d=a75_0x1cf7,_0x3ee883=_0x4df411();while(!![]){try{var _0x71fc01=-parseInt(_0x58926d(0x1f9))/0x1*(parseInt(_0x58926d(0x1fb))/0x2)+parseInt(_0x58926d(0x1f3))/0x3*(-parseInt(_0x58926d(0x207))/0x4)+parseInt(_0x58926d(0x205))/0x5*(parseInt(_0x58926d(0x1f2))/0x6)+-parseInt(_0x58926d(0x20e))/0x7*(-parseInt(_0x58926d(0x1f5))/0x8)+-parseInt(_0x58926d(0x214))/0x9*(parseInt(_0x58926d(0x200))/0xa)+-parseInt(_0x58926d(0x1ef))/0xb+-parseInt(_0x58926d(0x206))/0xc*(-parseInt(_0x58926d(0x1fd))/0xd);if(_0x71fc01===_0x268ca4)break;else _0x3ee883['push'](_0x3ee883['shift']());}catch(_0x5c4518){_0x3ee883['push'](_0x3ee883['shift']());}}}(a75_0x19a7,0x2d970));import a75_0xeec742 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x2f9fb9,_0x3ded18,_0x7c9d59){var _0x2d549d=a75_0x1cf7;this[_0x2d549d(0x1fc)]=_0x2f9fb9,this[_0x2d549d(0x202)]=_0x3ded18||{},this[_0x2d549d(0x211)]=!_0x7c9d59?_0x2d549d(0x20f):_0x7c9d59;}['geojsonTypeToArcGIS'](_0x3e2405){var _0x387ad5=a75_0x1cf7,_0x504701;switch(_0x3e2405){case _0x387ad5(0x217):_0x504701=_0x387ad5(0x20b);break;case _0x387ad5(0x210):_0x504701=_0x387ad5(0x1f8);break;case _0x387ad5(0x20a):_0x504701='esriGeometryPolyline';break;case'MultiLineString':_0x504701=_0x387ad5(0x1f1);break;case _0x387ad5(0x1f0):_0x504701=_0x387ad5(0x215);break;case _0x387ad5(0x208):_0x504701='esriGeometryPolygon';break;}return _0x504701;}['isArcgisOnline'](_0x928527){var _0x1b6471=a75_0x1cf7;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x1b6471(0x216)](_0x928527);}[a75_0x40498c(0x203)](_0x3c864a){var _0x330491=a75_0x40498c,_0x20c690='';_0x3c864a['f']=_0x3c864a['f']||_0x330491(0x1ff);for(var _0x3e4234 in _0x3c864a){if(Object[_0x330491(0x20c)]['hasOwnProperty'][_0x330491(0x1f4)](_0x3c864a,_0x3e4234)){var _0x2e238c=_0x3c864a[_0x3e4234],_0x468498=Object['prototype']['toString'][_0x330491(0x1f4)](_0x2e238c),_0x2e1a96;_0x20c690[_0x330491(0x209)]&&(_0x20c690+='&');if(_0x468498===_0x330491(0x204))_0x2e1a96=Object[_0x330491(0x20c)][_0x330491(0x212)][_0x330491(0x1f4)](_0x2e238c[0x0])===_0x330491(0x1f6)?JSON['stringify'](_0x2e238c):_0x2e238c['join'](',');else{if(_0x468498===_0x330491(0x1f6))_0x2e1a96=JSON['stringify'](_0x2e238c);else _0x468498===_0x330491(0x213)?_0x2e1a96=_0x2e238c['valueOf']():_0x2e1a96=_0x2e238c;}_0x20c690+=encodeURIComponent(_0x3e4234)+'='+encodeURIComponent(_0x2e1a96);}}return _0x20c690;}[a75_0x40498c(0x201)](_0xb07b5c){var _0x30b810=a75_0x40498c;return this[_0x30b810(0x202)][_0x30b810(0x1ee)]=!_0xb07b5c,this;}async[a75_0x40498c(0x20d)](){var _0x25cac7=a75_0x40498c,_0x4df02e=this[_0x25cac7(0x203)](this[_0x25cac7(0x202)]);const _0x3323c0=this[_0x25cac7(0x1fc)][_0x25cac7(0x1fa)]('?')>-0x1?this['url']+'&'+_0x4df02e:this[_0x25cac7(0x1fc)]+'?'+_0x4df02e;if(this[_0x25cac7(0x211)]===_0x25cac7(0x20f))return a75_0xeec742[_0x25cac7(0x218)](_0x3323c0);else{if(this[_0x25cac7(0x211)]===_0x25cac7(0x1f7))return jsonp(_0x3323c0);else{const _0x37595f=stringify(this[_0x25cac7(0x202)]);return a75_0xeec742[_0x25cac7(0x1fe)](this['url'],_0x37595f);}}}}
1
+ function a75_0x1a8f(){var _0x10362b=['184887nyKgRk','format','esriGeometryMultipoint','stringify','url','call','returnUnformattedValues','345238ZIbnsK','method','14KcHqYM','1370kPgtDi','MultiPoint','test','join','prototype','GET','geojsonTypeToArcGIS','esriGeometryPolyline','[object\x20Object]','serialize','toString','get','190UPzEHD','2538880SwOQdU','13062xzJyAT','esriGeometryPolygon','hasOwnProperty','Point','1819624VbyJML','MultiLineString','request','[object\x20Date]','Polygon','isArcgisOnline','425254XglLga','json','6eSIAPk','params','3110338aPBaUQ','post','LineString'];a75_0x1a8f=function(){return _0x10362b;};return a75_0x1a8f();}var a75_0x14ad7f=a75_0x23e2;(function(_0x2736e0,_0x32ade5){var _0xf04e23=a75_0x23e2,_0x4bea20=_0x2736e0();while(!![]){try{var _0x566689=-parseInt(_0xf04e23(0x152))/0x1+parseInt(_0xf04e23(0x160))/0x2*(-parseInt(_0xf04e23(0x154))/0x3)+parseInt(_0xf04e23(0x14c))/0x4+-parseInt(_0xf04e23(0x163))/0x5*(-parseInt(_0xf04e23(0x148))/0x6)+parseInt(_0xf04e23(0x162))/0x7*(-parseInt(_0xf04e23(0x147))/0x8)+parseInt(_0xf04e23(0x159))/0x9*(parseInt(_0xf04e23(0x146))/0xa)+parseInt(_0xf04e23(0x156))/0xb;if(_0x566689===_0x32ade5)break;else _0x4bea20['push'](_0x4bea20['shift']());}catch(_0x45bb3d){_0x4bea20['push'](_0x4bea20['shift']());}}}(a75_0x1a8f,0x4df23));import a75_0x1f1d42 from'../../AxiosUtil';function a75_0x23e2(_0xd8cb29,_0x34cef0){var _0x1a8f2f=a75_0x1a8f();return a75_0x23e2=function(_0x23e2da,_0xf90043){_0x23e2da=_0x23e2da-0x146;var _0x244751=_0x1a8f2f[_0x23e2da];return _0x244751;},a75_0x23e2(_0xd8cb29,_0x34cef0);}import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0xa24516,_0x47125a,_0x5eddab){var _0x39b828=a75_0x23e2;this[_0x39b828(0x15d)]=_0xa24516,this[_0x39b828(0x155)]=_0x47125a||{},this['method']=!_0x5eddab?_0x39b828(0x168):_0x5eddab;}[a75_0x14ad7f(0x169)](_0x5e50cc){var _0x130e09=a75_0x14ad7f,_0x55a197;switch(_0x5e50cc){case _0x130e09(0x14b):_0x55a197='esriGeometryPoint';break;case _0x130e09(0x164):_0x55a197=_0x130e09(0x15b);break;case _0x130e09(0x158):_0x55a197='esriGeometryPolyline';break;case _0x130e09(0x14d):_0x55a197=_0x130e09(0x16a);break;case _0x130e09(0x150):_0x55a197=_0x130e09(0x149);break;case'MultiPolygon':_0x55a197=_0x130e09(0x149);break;}return _0x55a197;}[a75_0x14ad7f(0x151)](_0x8ecc8d){var _0x430901=a75_0x14ad7f;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x430901(0x165)](_0x8ecc8d);}['serialize'](_0x2c813c){var _0x1d3f8e=a75_0x14ad7f,_0x3eb381='';_0x2c813c['f']=_0x2c813c['f']||_0x1d3f8e(0x153);for(var _0x24fef7 in _0x2c813c){if(Object[_0x1d3f8e(0x167)][_0x1d3f8e(0x14a)][_0x1d3f8e(0x15e)](_0x2c813c,_0x24fef7)){var _0x540285=_0x2c813c[_0x24fef7],_0x466527=Object[_0x1d3f8e(0x167)][_0x1d3f8e(0x16d)][_0x1d3f8e(0x15e)](_0x540285),_0x1802d6;_0x3eb381['length']&&(_0x3eb381+='&');if(_0x466527==='[object\x20Array]')_0x1802d6=Object[_0x1d3f8e(0x167)][_0x1d3f8e(0x16d)]['call'](_0x540285[0x0])===_0x1d3f8e(0x16b)?JSON['stringify'](_0x540285):_0x540285[_0x1d3f8e(0x166)](',');else{if(_0x466527===_0x1d3f8e(0x16b))_0x1802d6=JSON[_0x1d3f8e(0x15c)](_0x540285);else _0x466527===_0x1d3f8e(0x14f)?_0x1802d6=_0x540285['valueOf']():_0x1802d6=_0x540285;}_0x3eb381+=encodeURIComponent(_0x24fef7)+'='+encodeURIComponent(_0x1802d6);}}return _0x3eb381;}[a75_0x14ad7f(0x15a)](_0x132d20){var _0x534520=a75_0x14ad7f;return this[_0x534520(0x155)][_0x534520(0x15f)]=!_0x132d20,this;}async[a75_0x14ad7f(0x14e)](){var _0x1cc207=a75_0x14ad7f,_0x1c8b33=this[_0x1cc207(0x16c)](this[_0x1cc207(0x155)]);const _0x53ee34=this[_0x1cc207(0x15d)]['indexOf']('?')>-0x1?this[_0x1cc207(0x15d)]+'&'+_0x1c8b33:this[_0x1cc207(0x15d)]+'?'+_0x1c8b33;if(this['method']==='GET')return a75_0x1f1d42[_0x1cc207(0x16e)](_0x53ee34);else{if(this[_0x1cc207(0x161)]==='JSONP')return jsonp(_0x53ee34);else{const _0xc5b674=stringify(this[_0x1cc207(0x155)]);return a75_0x1f1d42[_0x1cc207(0x157)](this[_0x1cc207(0x15d)],_0xc5b674);}}}}
@@ -1 +1 @@
1
- const a77_0x4166d9=a77_0x5c4f;function a77_0x4abe(){const _0x56b215=['8RdShlC','then','json','3190515ggbYUe','queryParameters','features','where','225176isscxW','url','serializeToString','srsName','application/json','875180GPzXuQ','387DTnNzi','geometryName','the_geom','stringify','tableName','329727yOjpdA','map','geometry','3216060SjPasg','readFeature','1474865tMFtRJ','writeGetFeature','catch','_geoserverQuery','POST','469108kBKrJH','srsName\x20is\x20required'];a77_0x4abe=function(){return _0x56b215;};return a77_0x4abe();}(function(_0x260425,_0x4b3bcd){const _0x5069de=a77_0x5c4f,_0x269324=_0x260425();while(!![]){try{const _0x53f011=-parseInt(_0x5069de(0x12f))/0x1+-parseInt(_0x5069de(0x11f))/0x2+parseInt(_0x5069de(0x125))/0x3*(parseInt(_0x5069de(0x131))/0x4)+parseInt(_0x5069de(0x134))/0x5+-parseInt(_0x5069de(0x128))/0x6+-parseInt(_0x5069de(0x12a))/0x7+parseInt(_0x5069de(0x11a))/0x8*(parseInt(_0x5069de(0x120))/0x9);if(_0x53f011===_0x4b3bcd)break;else _0x269324['push'](_0x269324['shift']());}catch(_0x2d931b){_0x269324['push'](_0x269324['shift']());}}}(a77_0x4abe,0x65477));import{and,intersects}from'ol/format/filter';import a77_0x1f3c45 from'../../format/CQL';import a77_0x190c79 from'ol/format/WFS';import a77_0x43bc4c from'ol/format/GeoJSON';function a77_0x5c4f(_0x320e42,_0x3faae0){const _0x4abe38=a77_0x4abe();return a77_0x5c4f=function(_0x5c4f36,_0x5a2fce){_0x5c4f36=_0x5c4f36-0x11a;let _0xe7ee6c=_0x4abe38[_0x5c4f36];return _0xe7ee6c;},a77_0x5c4f(_0x320e42,_0x3faae0);}export default class QueryTask{constructor(_0x2ab6e7){const _0x46269a=a77_0x5c4f;this['queryParameters']={},this[_0x46269a(0x11b)]=_0x2ab6e7;}async['execute'](_0x44a756){const _0x153a07=a77_0x5c4f;this[_0x153a07(0x135)]=_0x44a756||{};const _0x110b2e=this[_0x153a07(0x135)][_0x153a07(0x121)]||_0x153a07(0x122);let _0xe014ef=this[_0x153a07(0x135)][_0x153a07(0x137)],_0x20c164;_0xe014ef&&(_0x20c164=new a77_0x1f3c45()['read'](_0xe014ef));let _0x869723=_0x20c164;if(this['queryParameters'][_0x153a07(0x127)]){if(!this[_0x153a07(0x135)][_0x153a07(0x11d)])throw new Error(_0x153a07(0x130));const _0x1f2702=intersects(_0x110b2e,this['queryParameters']['geometry']);_0x869723=_0x20c164?and(_0x20c164,_0x1f2702):_0x1f2702;}let _0x7afc81=new a77_0x190c79()[_0x153a07(0x12b)]({'srsName':this[_0x153a07(0x135)][_0x153a07(0x11d)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x153a07(0x135)][_0x153a07(0x124)]],'outputFormat':_0x153a07(0x11e),'geometryName':_0x110b2e,'filter':_0x869723});const _0x5c401f=await fetch(this[_0x153a07(0x11b)],{'method':_0x153a07(0x12e),'body':new XMLSerializer()[_0x153a07(0x11c)](_0x7afc81)}),_0x490919=await _0x5c401f[_0x153a07(0x133)]();let _0x4d5fda=[];const _0x379488=new a77_0x43bc4c();return _0x4d5fda=_0x490919[_0x153a07(0x136)][_0x153a07(0x126)](_0xc6d596=>{const _0x3a0461=_0x153a07;return _0x379488['readFeature'](JSON[_0x3a0461(0x123)](_0xc6d596));}),_0x4d5fda;}[a77_0x4166d9(0x12d)](){const _0x5be5f8=a77_0x4166d9,_0x5b881e=this['queryParameters'][_0x5be5f8(0x121)]||_0x5be5f8(0x122);let _0x1da04b=this[_0x5be5f8(0x135)][_0x5be5f8(0x137)],_0x40142b;_0x1da04b&&(_0x40142b=new a77_0x1f3c45()['read'](_0x1da04b));let _0x2b8b4d=_0x40142b;if(this['queryParameters'][_0x5be5f8(0x127)]){const _0x2ee52f=intersects(_0x5b881e,this[_0x5be5f8(0x135)][_0x5be5f8(0x127)]);_0x2b8b4d=_0x40142b?and(_0x40142b,_0x2ee52f):_0x2ee52f;}let _0x2bd3ed=new a77_0x190c79()[_0x5be5f8(0x12b)]({'srsName':this[_0x5be5f8(0x135)][_0x5be5f8(0x11d)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x5be5f8(0x135)][_0x5be5f8(0x124)]],'outputFormat':_0x5be5f8(0x11e),'geometryName':_0x5b881e,'filter':_0x2b8b4d});return new Promise(_0xe14cba=>{const _0x2bca6c=_0x5be5f8;fetch(this[_0x2bca6c(0x11b)],{'method':'POST','body':new XMLSerializer()[_0x2bca6c(0x11c)](_0x2bd3ed)})[_0x2bca6c(0x132)](_0x459f79=>{return _0x459f79['json']();})[_0x2bca6c(0x132)](_0x5182ed=>{let _0x1f26e2=[];const _0x32d05f=new a77_0x43bc4c();_0x1f26e2=_0x5182ed['features']['map'](_0x22de96=>{const _0x11efec=a77_0x5c4f;return _0x32d05f[_0x11efec(0x129)](JSON[_0x11efec(0x123)](_0x22de96));}),_0xe14cba(_0x1f26e2);})[_0x2bca6c(0x12c)](_0x1a0e1c=>{_0xe14cba([]),console['error'](_0x1a0e1c);});});}}
1
+ const a77_0x2cae72=a77_0x1456;(function(_0x458a16,_0x15bfe9){const _0x1f46df=a77_0x1456,_0xecb657=_0x458a16();while(!![]){try{const _0x22310f=-parseInt(_0x1f46df(0x1f1))/0x1*(-parseInt(_0x1f46df(0x1ec))/0x2)+-parseInt(_0x1f46df(0x1eb))/0x3+-parseInt(_0x1f46df(0x1ea))/0x4+-parseInt(_0x1f46df(0x1dd))/0x5*(parseInt(_0x1f46df(0x1e0))/0x6)+parseInt(_0x1f46df(0x1e2))/0x7+parseInt(_0x1f46df(0x1d8))/0x8*(-parseInt(_0x1f46df(0x1e7))/0x9)+parseInt(_0x1f46df(0x1e4))/0xa;if(_0x22310f===_0x15bfe9)break;else _0xecb657['push'](_0xecb657['shift']());}catch(_0x35484f){_0xecb657['push'](_0xecb657['shift']());}}}(a77_0x17a0,0x3c7ea));import{and,intersects}from'ol/format/filter';import a77_0x5abf54 from'../../format/CQL';import a77_0x1d567b from'ol/format/WFS';function a77_0x1456(_0x5c05cd,_0x329a9c){const _0x17a029=a77_0x17a0();return a77_0x1456=function(_0x1456d9,_0x403078){_0x1456d9=_0x1456d9-0x1d5;let _0x33cfa4=_0x17a029[_0x1456d9];return _0x33cfa4;},a77_0x1456(_0x5c05cd,_0x329a9c);}import a77_0x3430e2 from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x814c45){const _0x57e1fe=a77_0x1456;this[_0x57e1fe(0x1f0)]={},this[_0x57e1fe(0x1dc)]=_0x814c45;}async[a77_0x2cae72(0x1ed)](_0x404baa){const _0x2bc231=a77_0x2cae72;this[_0x2bc231(0x1f0)]=_0x404baa||{};const _0x4329bf=this[_0x2bc231(0x1f0)][_0x2bc231(0x1de)]||_0x2bc231(0x1f2);let _0x13518d=this[_0x2bc231(0x1f0)]['where'],_0x2f6e87;_0x13518d&&(_0x2f6e87=new a77_0x5abf54()[_0x2bc231(0x1e8)](_0x13518d));let _0x429f29=_0x2f6e87;if(this[_0x2bc231(0x1f0)][_0x2bc231(0x1f3)]){if(!this[_0x2bc231(0x1f0)]['srsName'])throw new Error(_0x2bc231(0x1ee));const _0x17a5f=intersects(_0x4329bf,this[_0x2bc231(0x1f0)][_0x2bc231(0x1f3)]);_0x429f29=_0x2f6e87?and(_0x2f6e87,_0x17a5f):_0x17a5f;}let _0x3b2cfa=new a77_0x1d567b()[_0x2bc231(0x1da)]({'srsName':this[_0x2bc231(0x1f0)]['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x2bc231(0x1f0)][_0x2bc231(0x1db)]],'outputFormat':'application/json','geometryName':_0x4329bf,'filter':_0x429f29});const _0xe2ec56=await fetch(this['url'],{'method':_0x2bc231(0x1ef),'body':new XMLSerializer()[_0x2bc231(0x1e5)](_0x3b2cfa)}),_0x238549=await _0xe2ec56[_0x2bc231(0x1e6)]();let _0x2a38bc=[];const _0x384633=new a77_0x3430e2();return _0x2a38bc=_0x238549[_0x2bc231(0x1d7)]['map'](_0x23eb8e=>{const _0x1bad16=_0x2bc231;return _0x384633[_0x1bad16(0x1df)](JSON['stringify'](_0x23eb8e));}),_0x2a38bc;}[a77_0x2cae72(0x1e3)](){const _0x2dbc2d=a77_0x2cae72,_0x31e409=this[_0x2dbc2d(0x1f0)]['geometryName']||_0x2dbc2d(0x1f2);let _0x1b1f6c=this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1e1)],_0x307e9a;_0x1b1f6c&&(_0x307e9a=new a77_0x5abf54()[_0x2dbc2d(0x1e8)](_0x1b1f6c));let _0x57049e=_0x307e9a;if(this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1f3)]){const _0x3cf5cf=intersects(_0x31e409,this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1f3)]);_0x57049e=_0x307e9a?and(_0x307e9a,_0x3cf5cf):_0x3cf5cf;}let _0x207f19=new a77_0x1d567b()['writeGetFeature']({'srsName':this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1d9)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1db)]],'outputFormat':_0x2dbc2d(0x1d6),'geometryName':_0x31e409,'filter':_0x57049e});return new Promise(_0x12f68f=>{const _0x4ed77f=_0x2dbc2d;fetch(this['url'],{'method':'POST','body':new XMLSerializer()[_0x4ed77f(0x1e5)](_0x207f19)})['then'](_0x391e3c=>{const _0x30e341=_0x4ed77f;return _0x391e3c[_0x30e341(0x1e6)]();})[_0x4ed77f(0x1f5)](_0x3675da=>{const _0x417726=_0x4ed77f;let _0x195134=[];const _0xe61ed7=new a77_0x3430e2();_0x195134=_0x3675da[_0x417726(0x1d7)][_0x417726(0x1d5)](_0x4b357d=>{const _0x36d21a=_0x417726;return _0xe61ed7[_0x36d21a(0x1df)](JSON[_0x36d21a(0x1e9)](_0x4b357d));}),_0x12f68f(_0x195134);})[_0x4ed77f(0x1f6)](_0x8177bd=>{const _0x451bf9=_0x4ed77f;_0x12f68f([]),console[_0x451bf9(0x1f4)](_0x8177bd);});});}}function a77_0x17a0(){const _0x19c40c=['catch','map','application/json','features','792sSBHtq','srsName','writeGetFeature','tableName','url','52380poBttx','geometryName','readFeature','216hZAmfk','where','1219351gNylrs','_geoserverQuery','2704410KAdYOM','serializeToString','json','4527xFzSta','read','stringify','263496YQAoQD','506613BOkPpp','2162CsuKju','execute','srsName\x20is\x20required','POST','queryParameters','430bDFdSt','the_geom','geometry','error','then'];a77_0x17a0=function(){return _0x19c40c;};return a77_0x17a0();}