ym-gis-2d 1.0.19 → 1.0.21

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/LegendControl.d.ts +1 -0
  4. package/controls/LegendControl.d.ts.map +1 -1
  5. package/controls/LegendControl.js +1 -1
  6. package/controls/LegendControl.js.map +1 -1
  7. package/controls/MousePositionControl.js +1 -1
  8. package/controls/SwipeLayerControl.js +1 -1
  9. package/conver/kml/geoJSONToKml.js +1 -1
  10. package/conver/kml/index.js +1 -1
  11. package/conver/kml/kmlToGeoJSON.js +1 -1
  12. package/entity/Feature.js +1 -1
  13. package/entity/GeometryType.js +1 -1
  14. package/feature/FeatureManager.js +1 -1
  15. package/index.js +1 -1
  16. package/interaction/Draw.js +1 -1
  17. package/interaction/InteractionManager.js +1 -1
  18. package/interaction/Select.js +1 -1
  19. package/layers/ArcgisDynamicLayer.js +1 -1
  20. package/layers/ArcgisFeatureLayer.js +1 -1
  21. package/layers/ArcgisTileLayer.js +1 -1
  22. package/layers/ArcgisWMSLayer.js +1 -1
  23. package/layers/ArcgisWMTSLayer.js +1 -1
  24. package/layers/GeoserverVectorTile.js +1 -1
  25. package/layers/GeoserverWFSLayer.js +1 -1
  26. package/layers/GeoserverWMSLayer.js +1 -1
  27. package/layers/GeoserverWMTSLayer.js +1 -1
  28. package/layers/LayerManager.js +1 -1
  29. package/layers/TDTLayer.js +1 -1
  30. package/mapView/Map.js +1 -1
  31. package/mapView/View.js +1 -1
  32. package/package.json +1 -1
  33. package/plot/Plot.js +1 -1
  34. package/plot/geometry/point/Point.js +1 -1
  35. package/plot/geometry/polygon/BasePolygon.js +1 -1
  36. package/plot/geometry/polygon/Circle.js +1 -1
  37. package/plot/geometry/polygon/Polygon.js +1 -1
  38. package/plot/geometry/polygon/RectAngle.js +1 -1
  39. package/plot/geometry/polyline/BaseLine.js +1 -1
  40. package/plot/geometry/polyline/Polyline.js +1 -1
  41. package/style/PointStyleFormat.js +1 -1
  42. package/style/PolygonStyleFormat.js +1 -1
  43. package/style/PolylineStyleFormat.js +1 -1
  44. package/style/StyleManager.js +1 -1
  45. package/style/common.js +1 -1
  46. package/utils/ArrayUtil.js +1 -1
  47. package/utils/AxiosUtil.js +1 -1
  48. package/utils/EsriUtil.js +1 -1
  49. package/utils/GeometryUtil.js +1 -1
  50. package/utils/LayerUtil.js +1 -1
  51. package/utils/RegisterProjUtil.js +1 -1
  52. package/utils/ResolutionUtil.js +1 -1
  53. package/utils/StringUtil.js +1 -1
  54. package/utils/StyleUtil.js +1 -1
  55. package/utils/UrlUtil.js +1 -1
  56. package/utils/XmlUtil.js +1 -1
  57. package/utils/format/CQL.js +1 -1
  58. package/utils/format/IsMatchCql.js +1 -1
  59. package/utils/plug/canvas/ImageCache.js +1 -1
  60. package/utils/plug/canvas/PinBuilder.js +1 -1
  61. package/utils/plug/canvas/PinIcon.js +1 -1
  62. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  63. package/utils/tasks/esri/Identify.js +1 -1
  64. package/utils/tasks/esri/Query.js +1 -1
  65. package/utils/tasks/esri/Task.js +1 -1
  66. package/utils/tasks/geoserver/QueryTask.js +1 -1
  67. package/utils/tasks/index.js +1 -1
  68. package/ym-gis-2d.es.js +1 -1
  69. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a50_0x267d96=a50_0x4c59;(function(_0x440a69,_0x259989){const _0x4f88ea=a50_0x4c59,_0x17dcf9=_0x440a69();while(!![]){try{const _0x23bf11=-parseInt(_0x4f88ea(0x1a1))/0x1*(-parseInt(_0x4f88ea(0x195))/0x2)+parseInt(_0x4f88ea(0x19f))/0x3*(parseInt(_0x4f88ea(0x199))/0x4)+parseInt(_0x4f88ea(0x1a4))/0x5+-parseInt(_0x4f88ea(0x1a5))/0x6+-parseInt(_0x4f88ea(0x19d))/0x7*(-parseInt(_0x4f88ea(0x198))/0x8)+parseInt(_0x4f88ea(0x1a8))/0x9+-parseInt(_0x4f88ea(0x19a))/0xa;if(_0x23bf11===_0x259989)break;else _0x17dcf9['push'](_0x17dcf9['shift']());}catch(_0x225abf){_0x17dcf9['push'](_0x17dcf9['shift']());}}}(a50_0x38ee,0x94456));import a50_0x1de6a3 from'./ArcgisDynamicLayer';import a50_0x235e13 from'./ArcgisFeatureLayer';import a50_0x4b6f72 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x19caac from'./ArcgisTileLayer';import a50_0x1849bc from'./GeoserverWMSLayer';import a50_0xa5a47b from'./GeoserverWMTSLayer';import a50_0x127afb from'./ArcgisWMSLayer';import a50_0x21a35f from'./ArcgisWMTSLayer';import a50_0x16543c from'./GeoserverWFSLayer';import a50_0x3c404e from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x267d96(0x1a0)](_0x5d5958){const _0x2ac114=a50_0x267d96,_0xeafe3d=await getDynamicLayerInfo(_0x5d5958[_0x2ac114(0x19b)]?_0x5d5958[_0x2ac114(0x19b)]:'');let _0x27eed9=new a50_0x1de6a3(_0x5d5958,_0xeafe3d);return _0x27eed9;}static async[a50_0x267d96(0x1a7)](_0x4f05d4){const _0x1f91c7=a50_0x267d96,_0x42d200=await getDynamicLayerInfo(_0x4f05d4[_0x1f91c7(0x19b)]?_0x4f05d4[_0x1f91c7(0x19b)]:'');let _0x7833ec=new a50_0x19caac(_0x4f05d4,_0x42d200);return _0x7833ec;}static async['getArcgisFeatureLayer'](_0x4d5967){const _0xa7eaee=a50_0x267d96,_0x44a326=await getDynamicLayerInfo(_0x4d5967[_0xa7eaee(0x19b)]?_0x4d5967['url']:'');let _0x776bba=[];if(_0x4d5967[_0xa7eaee(0x196)])for(let _0x3219c6=0x0;_0x3219c6<_0x4d5967['sublayers'][_0xa7eaee(0x1a6)];_0x3219c6++){const _0x19aa43=_0x4d5967['sublayers'][_0x3219c6];_0x776bba['push'](await getFeatureLayerInfo(_0x4d5967[_0xa7eaee(0x19b)]?_0x4d5967['url']:'',_0x19aa43));}let _0x486ce8=new a50_0x235e13(_0x4d5967,_0x44a326,_0x776bba);return _0x486ce8;}static async[a50_0x267d96(0x197)](_0x330be6){const _0x589740=a50_0x267d96;var _0x340c81;const _0x235135=(_0x340c81=_0x330be6[_0x589740(0x196)])===null||_0x340c81===void 0x0?void 0x0:_0x340c81[0x0],_0x222047=await getWMSLayerCapabilities(_0x330be6[_0x589740(0x19b)]?_0x330be6[_0x589740(0x19b)]:'',_0x235135==null?'':_0x235135);let _0x5349f3=new a50_0x127afb(_0x330be6,_0x222047);return _0x5349f3;}static async['getArcgisWMTSLayer'](_0x4143a4){const _0xb54f11=a50_0x267d96;var _0x3614f0;const _0x1325ce=(_0x3614f0=_0x4143a4[_0xb54f11(0x196)])===null||_0x3614f0===void 0x0?void 0x0:_0x3614f0[0x0],_0x1d7a88=await getWMTSLayerCapabilities(_0x4143a4['url']?_0x4143a4[_0xb54f11(0x19b)]:'',_0x1325ce==null?'':_0x1325ce);let _0x5df2df=new a50_0x21a35f(_0x4143a4,_0x1d7a88);return _0x5df2df;}static async[a50_0x267d96(0x19c)](_0xcea979){const _0x3d7362=a50_0x267d96;var _0x35113e;const _0x1d5677=(_0x35113e=_0xcea979[_0x3d7362(0x196)])===null||_0x35113e===void 0x0?void 0x0:_0x35113e[0x0],_0x1c34cb=await getWMSLayerCapabilities(_0xcea979['url']?_0xcea979[_0x3d7362(0x19b)]:'',_0x1d5677==null?'':_0x1d5677);let _0x2fc756=new a50_0x1849bc(_0xcea979,_0x1c34cb);return _0x2fc756;}static async[a50_0x267d96(0x1a3)](_0x3e6085){const _0x39c49c=a50_0x267d96;var _0x110602;const _0x426bb6=(_0x110602=_0x3e6085['sublayers'])===null||_0x110602===void 0x0?void 0x0:_0x110602[0x0],_0x52e7f3=await getWMTSLayerCapabilities(_0x3e6085['url']?_0x3e6085[_0x39c49c(0x19b)]:'',_0x426bb6==null?'':_0x426bb6);let _0x505c9e=new a50_0xa5a47b(_0x3e6085,_0x52e7f3);return _0x505c9e;}static async[a50_0x267d96(0x19e)](_0x4765e8){const _0x56aee5=a50_0x267d96;var _0x428699;const _0xfa94c3=(_0x428699=_0x4765e8[_0x56aee5(0x196)])===null||_0x428699===void 0x0?void 0x0:_0x428699[0x0],_0x3d23c7=await getWFSLayerCapabilities(_0x4765e8[_0x56aee5(0x19b)]?_0x4765e8[_0x56aee5(0x19b)]:'',_0xfa94c3==null?'':_0xfa94c3);let _0x5de4e3=new a50_0x16543c(_0x4765e8,_0x3d23c7);return _0x5de4e3;}static async[a50_0x267d96(0x1a2)](_0x439681){const _0x2d3111=a50_0x267d96;var _0x12d3fe;const _0x21612f=(_0x12d3fe=_0x439681['sublayers'])===null||_0x12d3fe===void 0x0?void 0x0:_0x12d3fe[0x0],_0x10f3f6=await getWMTSLayerCapabilities(_0x439681[_0x2d3111(0x19b)]?_0x439681['url']:'',_0x21612f==null?'':_0x21612f);let _0x16d535=new a50_0x3c404e(_0x439681,_0x10f3f6);return _0x16d535;}static async['getTDTLayer'](_0x359545){const _0x2cbd7f=a50_0x267d96;var _0x33eb51;const _0x216ea2=(_0x33eb51=_0x359545[_0x2cbd7f(0x196)])===null||_0x33eb51===void 0x0?void 0x0:_0x33eb51[0x0],_0xde5e6f=await getWMTSLayerCapabilities(_0x359545[_0x2cbd7f(0x19b)]?_0x359545[_0x2cbd7f(0x19b)]:'',_0x216ea2==null?'':_0x216ea2);let _0x538fdc=new a50_0x4b6f72(_0x359545,_0xde5e6f);return _0x538fdc;}}function a50_0x4c59(_0x2b1420,_0x21cb13){const _0x38ee7a=a50_0x38ee();return a50_0x4c59=function(_0x4c5948,_0xdaf881){_0x4c5948=_0x4c5948-0x195;let _0x28f66b=_0x38ee7a[_0x4c5948];return _0x28f66b;},a50_0x4c59(_0x2b1420,_0x21cb13);}function a50_0x38ee(){const _0x43310d=['getGeoserverWmsLayer','7zeZTxd','getGeoserverWFSLayer','6186qrZizg','getDynamicLayer','115953BrTbbi','getGeoserverVectorTileLayer','getGeoserverWMTSLayer','3629080Tvqyon','3878868jKBtLN','length','getArcgisTileLayer','4608405tRNkeh','2retiri','sublayers','getArcgisWmsLayer','6718656EXrTwX','824wVPNhV','13646220sfUVVG','url'];a50_0x38ee=function(){return _0x43310d;};return a50_0x38ee();}
1
+ const a50_0x11232b=a50_0x55e3;(function(_0x1aab4c,_0x32087f){const _0x478e58=a50_0x55e3,_0x5e4d34=_0x1aab4c();while(!![]){try{const _0x175e7f=-parseInt(_0x478e58(0x10b))/0x1+-parseInt(_0x478e58(0x110))/0x2+-parseInt(_0x478e58(0x106))/0x3+-parseInt(_0x478e58(0x108))/0x4+-parseInt(_0x478e58(0x105))/0x5*(parseInt(_0x478e58(0x111))/0x6)+parseInt(_0x478e58(0x107))/0x7+parseInt(_0x478e58(0x102))/0x8*(parseInt(_0x478e58(0x112))/0x9);if(_0x175e7f===_0x32087f)break;else _0x5e4d34['push'](_0x5e4d34['shift']());}catch(_0x367841){_0x5e4d34['push'](_0x5e4d34['shift']());}}}(a50_0x1bb7,0x5aeb6));import a50_0x44b719 from'./ArcgisDynamicLayer';import a50_0x46c18e from'./ArcgisFeatureLayer';import a50_0x40899c from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x143324 from'./ArcgisTileLayer';import a50_0x4123f5 from'./GeoserverWMSLayer';import a50_0x466ae0 from'./GeoserverWMTSLayer';import a50_0x59b9fd from'./ArcgisWMSLayer';import a50_0x9aa3c6 from'./ArcgisWMTSLayer';function a50_0x55e3(_0x30e4f4,_0x302f1f){const _0x1bb79e=a50_0x1bb7();return a50_0x55e3=function(_0x55e330,_0x20cd19){_0x55e330=_0x55e330-0x102;let _0xd2f7cf=_0x1bb79e[_0x55e330];return _0xd2f7cf;},a50_0x55e3(_0x30e4f4,_0x302f1f);}import a50_0x3727c4 from'./GeoserverWFSLayer';import a50_0x27b157 from'./GeoserverVectorTile';function a50_0x1bb7(){const _0x5868b2=['getGeoserverVectorTileLayer','getGeoserverWMTSLayer','sublayers','getArcgisWmsLayer','80ybMHmg','getArcgisFeatureLayer','length','28480NXUtHv','1545378lRmmPA','1955191IKYEbh','1737160tFaxnw','push','getGeoserverWFSLayer','82445ESiEvI','url','getArcgisWMTSLayer','getTDTLayer','getArcgisTileLayer','1364564TUGsLi','114rRWlGs','1723914ZaZuLe'];a50_0x1bb7=function(){return _0x5868b2;};return a50_0x1bb7();}export default class LayerManagement{static async['getDynamicLayer'](_0x2a000f){const _0x30730b=a50_0x55e3,_0x458a91=await getDynamicLayerInfo(_0x2a000f['url']?_0x2a000f[_0x30730b(0x10c)]:'');let _0x39e859=new a50_0x44b719(_0x2a000f,_0x458a91);return _0x39e859;}static async[a50_0x11232b(0x10f)](_0x22b25b){const _0x3fea8a=a50_0x11232b,_0x59c2e9=await getDynamicLayerInfo(_0x22b25b[_0x3fea8a(0x10c)]?_0x22b25b[_0x3fea8a(0x10c)]:'');let _0x15d792=new a50_0x143324(_0x22b25b,_0x59c2e9);return _0x15d792;}static async[a50_0x11232b(0x103)](_0x463c39){const _0x5b08c9=a50_0x11232b,_0x5da341=await getDynamicLayerInfo(_0x463c39[_0x5b08c9(0x10c)]?_0x463c39[_0x5b08c9(0x10c)]:'');let _0x24a494=[];if(_0x463c39['sublayers'])for(let _0x3dfa2c=0x0;_0x3dfa2c<_0x463c39[_0x5b08c9(0x115)][_0x5b08c9(0x104)];_0x3dfa2c++){const _0x262ca3=_0x463c39[_0x5b08c9(0x115)][_0x3dfa2c];_0x24a494[_0x5b08c9(0x109)](await getFeatureLayerInfo(_0x463c39['url']?_0x463c39[_0x5b08c9(0x10c)]:'',_0x262ca3));}let _0x2e3010=new a50_0x46c18e(_0x463c39,_0x5da341,_0x24a494);return _0x2e3010;}static async[a50_0x11232b(0x116)](_0x5294e0){const _0x5734f1=a50_0x11232b;var _0x5d8495;const _0x52352b=(_0x5d8495=_0x5294e0[_0x5734f1(0x115)])===null||_0x5d8495===void 0x0?void 0x0:_0x5d8495[0x0],_0x15a56f=await getWMSLayerCapabilities(_0x5294e0[_0x5734f1(0x10c)]?_0x5294e0[_0x5734f1(0x10c)]:'',_0x52352b==null?'':_0x52352b);let _0x4d2bc9=new a50_0x59b9fd(_0x5294e0,_0x15a56f);return _0x4d2bc9;}static async[a50_0x11232b(0x10d)](_0x4b52d5){const _0x1bdc7e=a50_0x11232b;var _0x578d0e;const _0x17c66f=(_0x578d0e=_0x4b52d5['sublayers'])===null||_0x578d0e===void 0x0?void 0x0:_0x578d0e[0x0],_0x446153=await getWMTSLayerCapabilities(_0x4b52d5[_0x1bdc7e(0x10c)]?_0x4b52d5[_0x1bdc7e(0x10c)]:'',_0x17c66f==null?'':_0x17c66f);let _0xd79d43=new a50_0x9aa3c6(_0x4b52d5,_0x446153);return _0xd79d43;}static async['getGeoserverWmsLayer'](_0x55e73e){const _0x1c9f16=a50_0x11232b;var _0x13ef04;const _0x10efff=(_0x13ef04=_0x55e73e[_0x1c9f16(0x115)])===null||_0x13ef04===void 0x0?void 0x0:_0x13ef04[0x0],_0x51bf36=await getWMSLayerCapabilities(_0x55e73e[_0x1c9f16(0x10c)]?_0x55e73e[_0x1c9f16(0x10c)]:'',_0x10efff==null?'':_0x10efff);let _0x2a6105=new a50_0x4123f5(_0x55e73e,_0x51bf36);return _0x2a6105;}static async[a50_0x11232b(0x114)](_0x30cbf4){const _0x4ce553=a50_0x11232b;var _0xd98e85;const _0x53787c=(_0xd98e85=_0x30cbf4[_0x4ce553(0x115)])===null||_0xd98e85===void 0x0?void 0x0:_0xd98e85[0x0],_0x5bb15f=await getWMTSLayerCapabilities(_0x30cbf4[_0x4ce553(0x10c)]?_0x30cbf4[_0x4ce553(0x10c)]:'',_0x53787c==null?'':_0x53787c);let _0x4730e4=new a50_0x466ae0(_0x30cbf4,_0x5bb15f);return _0x4730e4;}static async[a50_0x11232b(0x10a)](_0x1020b2){const _0x2679a6=a50_0x11232b;var _0x6f4496;const _0xd845d5=(_0x6f4496=_0x1020b2[_0x2679a6(0x115)])===null||_0x6f4496===void 0x0?void 0x0:_0x6f4496[0x0],_0x5581ac=await getWFSLayerCapabilities(_0x1020b2[_0x2679a6(0x10c)]?_0x1020b2['url']:'',_0xd845d5==null?'':_0xd845d5);let _0x4321a6=new a50_0x3727c4(_0x1020b2,_0x5581ac);return _0x4321a6;}static async[a50_0x11232b(0x113)](_0x387f88){const _0x4cb62f=a50_0x11232b;var _0x5bcf85;const _0x1f06eb=(_0x5bcf85=_0x387f88[_0x4cb62f(0x115)])===null||_0x5bcf85===void 0x0?void 0x0:_0x5bcf85[0x0],_0xe6c749=await getWMTSLayerCapabilities(_0x387f88[_0x4cb62f(0x10c)]?_0x387f88[_0x4cb62f(0x10c)]:'',_0x1f06eb==null?'':_0x1f06eb);let _0x229f72=new a50_0x27b157(_0x387f88,_0xe6c749);return _0x229f72;}static async[a50_0x11232b(0x10e)](_0x411cfc){const _0x380cd4=a50_0x11232b;var _0x1319fe;const _0x246458=(_0x1319fe=_0x411cfc['sublayers'])===null||_0x1319fe===void 0x0?void 0x0:_0x1319fe[0x0],_0x320343=await getWMTSLayerCapabilities(_0x411cfc[_0x380cd4(0x10c)]?_0x411cfc[_0x380cd4(0x10c)]:'',_0x246458==null?'':_0x246458);let _0x5c5c53=new a50_0x40899c(_0x411cfc,_0x320343);return _0x5c5c53;}}
@@ -1 +1 @@
1
- function a51_0x38b3(_0x2cf200,_0x4ce070){const _0x4d2f70=a51_0x4d2f();return a51_0x38b3=function(_0x38b371,_0x2a3cd0){_0x38b371=_0x38b371-0x19c;let _0x12a941=_0x4d2f70[_0x38b371];return _0x12a941;},a51_0x38b3(_0x2cf200,_0x4ce070);}(function(_0x3a52c1,_0x233fe7){const _0x2f0d36=a51_0x38b3,_0x17741e=_0x3a52c1();while(!![]){try{const _0x3845d7=parseInt(_0x2f0d36(0x1b1))/0x1+-parseInt(_0x2f0d36(0x1a1))/0x2*(parseInt(_0x2f0d36(0x1a3))/0x3)+-parseInt(_0x2f0d36(0x1ad))/0x4*(-parseInt(_0x2f0d36(0x1b2))/0x5)+parseInt(_0x2f0d36(0x1ab))/0x6+-parseInt(_0x2f0d36(0x1a0))/0x7*(parseInt(_0x2f0d36(0x1aa))/0x8)+parseInt(_0x2f0d36(0x1a7))/0x9*(-parseInt(_0x2f0d36(0x1a2))/0xa)+-parseInt(_0x2f0d36(0x19e))/0xb*(-parseInt(_0x2f0d36(0x19c))/0xc);if(_0x3845d7===_0x233fe7)break;else _0x17741e['push'](_0x17741e['shift']());}catch(_0x356226){_0x17741e['push'](_0x17741e['shift']());}}}(a51_0x4d2f,0xcee7d));import a51_0x1ca3b5 from'ol/layer/Tile';import{WMTS as a51_0x285767}from'ol/source';import a51_0x125b4c from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';function a51_0x4d2f(){const _0x1b0faa=['4kTYwpp','KVP','sublayers','layerInfo','625042USLhlG','1269410WOeoME','initialExtent','opacity','tileMatrixSet','3348hMwmgD','length','49401lfKtPF','mapIndex','98ajLEPU','516kcSwzC','120vWnUJK','1473rHAiyY','join','style','boundingBoxExtent','1097433sAlDeO','format','EPSG:4490','330632yaoZdH','5304600dDBfcD','1.0.0'];a51_0x4d2f=function(){return _0x1b0faa;};return a51_0x4d2f();}export default class TDTLayer extends a51_0x1ca3b5{constructor(_0x3f6c15,_0x51fe61){const _0x13d7cb=a51_0x38b3;let _0xb2893f='';_0x3f6c15[_0x13d7cb(0x1af)]&&_0x3f6c15['sublayers'][_0x13d7cb(0x19d)]>0x0&&(_0xb2893f=_0x3f6c15[_0x13d7cb(0x1af)][_0x13d7cb(0x1a4)](','));const _0x25ff23=_0x13d7cb(0x1a9);let _0x3f6ffe=registerProj(_0x25ff23);const _0x1b9213=[],_0x1e4293=[];for(let _0x278978=0x1;_0x278978<0x13;_0x278978++){_0x1b9213[_0x278978]=getWidth(_0x51fe61[_0x13d7cb(0x1a6)])/(0x100*Math['pow'](0x2,_0x278978)),_0x1e4293[_0x278978]=_0x278978+'';}super({'opacity':_0x3f6c15[_0x13d7cb(0x1b4)],'zIndex':_0x3f6c15[_0x13d7cb(0x19f)],'source':new a51_0x285767({'style':_0x51fe61[_0x13d7cb(0x1a5)],'url':_0x3f6c15['url'],'tileGrid':new a51_0x125b4c({'origin':getTopLeft(_0x51fe61[_0x13d7cb(0x1a6)]),'resolutions':_0x1b9213,'matrixIds':_0x1e4293}),'layer':_0xb2893f,'matrixSet':_0x51fe61[_0x13d7cb(0x1b5)],'version':_0x13d7cb(0x1ac),'format':_0x51fe61[_0x13d7cb(0x1a8)][0x0],'projection':_0x25ff23,'requestEncoding':_0x13d7cb(0x1ae)})}),this['id']=_0x3f6c15['id'],this[_0x13d7cb(0x1b3)]=_0x51fe61[_0x13d7cb(0x1a6)],this['projection']=_0x3f6ffe,this[_0x13d7cb(0x1b0)]=_0x3f6c15;}}
1
+ (function(_0x45e5f5,_0x3fb5cd){const _0x467862=a51_0x30b8,_0xfdf29f=_0x45e5f5();while(!![]){try{const _0x5e91fa=-parseInt(_0x467862(0x15c))/0x1*(-parseInt(_0x467862(0x171))/0x2)+parseInt(_0x467862(0x15e))/0x3*(parseInt(_0x467862(0x15f))/0x4)+parseInt(_0x467862(0x167))/0x5+parseInt(_0x467862(0x160))/0x6*(-parseInt(_0x467862(0x164))/0x7)+parseInt(_0x467862(0x173))/0x8*(-parseInt(_0x467862(0x166))/0x9)+-parseInt(_0x467862(0x170))/0xa+parseInt(_0x467862(0x15b))/0xb;if(_0x5e91fa===_0x3fb5cd)break;else _0xfdf29f['push'](_0xfdf29f['shift']());}catch(_0x3a2867){_0xfdf29f['push'](_0xfdf29f['shift']());}}}(a51_0x3ed2,0x75078));import a51_0x1cc431 from'ol/layer/Tile';import{WMTS as a51_0x2d7786}from'ol/source';import a51_0xe7f6a0 from'ol/tilegrid/WMTS';function a51_0x3ed2(){const _0x5417f5=['168687XSlqJe','1707380xNthnE','EPSG:4490','projection','tileMatrixSet','format','style','mapIndex','url','initialExtent','2345050ibvfRa','112ErESIM','layerInfo','224yWTyIm','opacity','KVP','2065569WOHjTW','12914VRblnk','join','1686vEzJST','6248hBzRva','5349732sfNbxe','boundingBoxExtent','length','1.0.0','7nFUIvN','sublayers'];a51_0x3ed2=function(){return _0x5417f5;};return a51_0x3ed2();}import{registerProj}from'../utils/RegisterProjUtil';function a51_0x30b8(_0xb9b7c0,_0x190bca){const _0x3ed2e4=a51_0x3ed2();return a51_0x30b8=function(_0x30b851,_0x36f6c6){_0x30b851=_0x30b851-0x15b;let _0xe7744d=_0x3ed2e4[_0x30b851];return _0xe7744d;},a51_0x30b8(_0xb9b7c0,_0x190bca);}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x1cc431{constructor(_0x53dac0,_0x4d06da){const _0x167745=a51_0x30b8;let _0x5cd81a='';_0x53dac0[_0x167745(0x165)]&&_0x53dac0[_0x167745(0x165)][_0x167745(0x162)]>0x0&&(_0x5cd81a=_0x53dac0[_0x167745(0x165)][_0x167745(0x15d)](','));const _0x81ef48=_0x167745(0x168);let _0x195adc=registerProj(_0x81ef48);const _0x30e462=[],_0x3c41b0=[];for(let _0x9981c5=0x1;_0x9981c5<0x13;_0x9981c5++){_0x30e462[_0x9981c5]=getWidth(_0x4d06da['boundingBoxExtent'])/(0x100*Math['pow'](0x2,_0x9981c5)),_0x3c41b0[_0x9981c5]=_0x9981c5+'';}super({'opacity':_0x53dac0[_0x167745(0x174)],'zIndex':_0x53dac0[_0x167745(0x16d)],'source':new a51_0x2d7786({'style':_0x4d06da[_0x167745(0x16c)],'url':_0x53dac0[_0x167745(0x16e)],'tileGrid':new a51_0xe7f6a0({'origin':getTopLeft(_0x4d06da[_0x167745(0x161)]),'resolutions':_0x30e462,'matrixIds':_0x3c41b0}),'layer':_0x5cd81a,'matrixSet':_0x4d06da[_0x167745(0x16a)],'version':_0x167745(0x163),'format':_0x4d06da[_0x167745(0x16b)][0x0],'projection':_0x81ef48,'requestEncoding':_0x167745(0x175)})}),this['id']=_0x53dac0['id'],this[_0x167745(0x16f)]=_0x4d06da[_0x167745(0x161)],this[_0x167745(0x169)]=_0x195adc,this[_0x167745(0x172)]=_0x53dac0;}}
package/mapView/Map.js CHANGED
@@ -1 +1 @@
1
- const a52_0xe2689f=a52_0x2930;(function(_0x6fca,_0x553231){const _0x41fe61=a52_0x2930,_0x42192d=_0x6fca();while(!![]){try{const _0x39d5e7=parseInt(_0x41fe61(0x1aa))/0x1*(-parseInt(_0x41fe61(0x1ea))/0x2)+parseInt(_0x41fe61(0x1bb))/0x3+parseInt(_0x41fe61(0x19e))/0x4*(-parseInt(_0x41fe61(0x19b))/0x5)+-parseInt(_0x41fe61(0x1c8))/0x6*(-parseInt(_0x41fe61(0x1f3))/0x7)+-parseInt(_0x41fe61(0x1c6))/0x8*(-parseInt(_0x41fe61(0x197))/0x9)+-parseInt(_0x41fe61(0x1b7))/0xa*(-parseInt(_0x41fe61(0x1a1))/0xb)+parseInt(_0x41fe61(0x1a6))/0xc*(-parseInt(_0x41fe61(0x1d6))/0xd);if(_0x39d5e7===_0x553231)break;else _0x42192d['push'](_0x42192d['shift']());}catch(_0x2a0414){_0x42192d['push'](_0x42192d['shift']());}}}(a52_0x4acc,0xb5f95));import'ol/ol.css';import'../assets/main.css';import a52_0x546da6 from'ol/Map';import a52_0x261679 from'ol/events/Event';import{defaults as a52_0x51a157}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x55709a from'../layers/LayerManager';import a52_0x3d7480 from'ol/layer/Vector';import a52_0x994c83 from'ol/source/Vector';import a52_0x2eccdd from'../controls/ControlManager';import a52_0x12d186 from'../entity/Feature';import a52_0x1a0af7 from'../interaction/InteractionManager';import a52_0x3908b2 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x5949a2 from'../feature/FeatureManager';function a52_0x2930(_0x220951,_0x142cbb){const _0x4acc7a=a52_0x4acc();return a52_0x2930=function(_0x29301f,_0x42f951){_0x29301f=_0x29301f-0x18f;let _0x402041=_0x4acc7a[_0x29301f];return _0x402041;},a52_0x2930(_0x220951,_0x142cbb);}import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';function a52_0x4acc(){const _0x576476=['rgba(255,\x200,\x200,\x201)','getLayers','arcgis-wmts','setMaxResolution','tag','arcgis-tile','getPointTempLayer','maxResolution','8020782eFfsiD','polygonTempLayer','projection','】服务类型','1961910hOXjzf','locationGeometry','layerIds','12AZkGOs','locationGeometrys','addMapLayer','5096927rHslkO','addLayer','sortTemLayer','addWKTs','layerInfo','156dfpJYh','fitLayer','filter','add','2617vTRrSm','getSource','getArray','getGeoserverWFSLayer','MultiPolygon','getTempLayerByGeoType','getArcgisWmsLayer','getTempLayerById','MultiLineString','includes','getView','getMetersPerUnit','arcgis-wms','30SLWQEr','暂不支持【','_options','setGeometry','1950150JxgmDz','maxZoom','minZoom','getLength','removeLayerById','getLayersByIds','getLayerById','getPolygonTempLayer','minScale','geoserver-wms','push','8VMaDkJ','pointTempLayer','1302uRnYeo','getLayerByLayerTag','getGeoserverWMTSLayer','getType','getGeoserverVectorTileLayer','geoserver-vector-tile','getCode','minResolution','flashGeometrys','EPSG:4490','getCoordinates','changelayer','fit','dispatchEvent','103506XDmSoq','zoom','Point','length','geoserver-wfs','getProjection','getMaxZoom','lineTempLayer','MultiPoint','controlManager','getExtent','getArcgisTileLayer','addFeatures','changetype','insertAt','all','Polygon','tdt-c','constrainResolution','EPSG:','898GCgJBt','getArcgisWMTSLayer','getDynamicLayer','center','rgba(255,\x200,\x200,\x200.2)','setStyle','layerTag','arcgis-feature','LineString','8701OZULNa','addWKT','maxScale','extent','arcgis-dynamic','getLineTempLayer'];a52_0x4acc=function(){return _0x576476;};return a52_0x4acc();}export class ChangeLayerEvent extends a52_0x261679{constructor(_0x49fb6b,_0x18589d,_0x4e0b96){const _0xd8714e=a52_0x2930;super(_0x49fb6b),this[_0xd8714e(0x19d)]=_0x18589d,this[_0xd8714e(0x1e3)]=_0x4e0b96;}}export default class OLMap extends a52_0x546da6{constructor(_0x10b5e5,_0x28c6c5,_0x2ec175){const _0x4252c6=a52_0x2930;_0x28c6c5=_0x28c6c5?_0x28c6c5:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x4842a9=_0x28c6c5[_0x4252c6(0x199)]?_0x4252c6(0x1e9)+_0x28c6c5[_0x4252c6(0x199)]:_0x4252c6(0x1d1);_0x28c6c5['zoom']=_0x28c6c5[_0x4252c6(0x1d7)]?_0x28c6c5[_0x4252c6(0x1d7)]:0xa,_0x28c6c5[_0x4252c6(0x1bd)]=_0x28c6c5[_0x4252c6(0x1bd)]?_0x28c6c5[_0x4252c6(0x1bd)]:0x0,_0x28c6c5[_0x4252c6(0x1bc)]=_0x28c6c5[_0x4252c6(0x1bc)]?_0x28c6c5[_0x4252c6(0x1bc)]:0x1c,_0x28c6c5[_0x4252c6(0x1e8)]=_0x28c6c5[_0x4252c6(0x1e8)]?_0x28c6c5[_0x4252c6(0x1e8)]:![],_0x28c6c5['center']=_0x28c6c5[_0x4252c6(0x1ed)]?_0x28c6c5[_0x4252c6(0x1ed)]:[117.22718,31.820386],registerProj(_0x4842a9);const _0x5b9c86={'target':_0x10b5e5,'view':_0x2ec175?_0x2ec175:new a52_0x3908b2({'center':_0x28c6c5[_0x4252c6(0x1ed)],'zoom':_0x28c6c5[_0x4252c6(0x1d7)],'projection':_0x4842a9,'minZoom':_0x28c6c5[_0x4252c6(0x1bd)],'maxZoom':_0x28c6c5[_0x4252c6(0x1bc)],'minResolution':_0x28c6c5[_0x4252c6(0x1cf)],'maxResolution':_0x28c6c5[_0x4252c6(0x196)],'constrainResolution':_0x28c6c5['constrainResolution']}),'controls':a52_0x51a157({'zoom':![]})};super(_0x5b9c86),_0x28c6c5['extent']&&this[_0x4252c6(0x1b4)]()[_0x4252c6(0x1d4)](_0x28c6c5[_0x4252c6(0x1f6)]),this['interactionManager']=new a52_0x1a0af7(this),this[_0x4252c6(0x1df)]=new a52_0x2eccdd(this),this[_0x4252c6(0x1b9)]=_0x28c6c5;}[a52_0xe2689f(0x1b4)](){const _0x55dbff=a52_0xe2689f;return super[_0x55dbff(0x1b4)]();}[a52_0xe2689f(0x1a7)](_0x3fad78){const _0x3f652b=a52_0xe2689f;var _0x46596a;this[_0x3f652b(0x1b4)]()['fit'](transformExtent(_0x3fad78['initialExtent'],(_0x46596a=_0x3fad78[_0x3f652b(0x199)])===null||_0x46596a===void 0x0?void 0x0:_0x46596a[_0x3f652b(0x1ce)](),this['getView']()['getProjection']()[_0x3f652b(0x1ce)]()));}['fitLayerById'](_0xa9e222){const _0x380154=a52_0xe2689f;let _0x18f8df=this['getLayerById'](_0xa9e222);_0x18f8df&&this[_0x380154(0x1a7)](_0x18f8df);}async[a52_0xe2689f(0x1a0)](_0x7612f3){const _0x1b1b67=a52_0xe2689f;let _0x57085a;switch(_0x7612f3['layerType']){case _0x1b1b67(0x1f1):_0x57085a=await a52_0x55709a['getArcgisFeatureLayer'](_0x7612f3);break;case _0x1b1b67(0x1f7):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1ec)](_0x7612f3);break;case _0x1b1b67(0x194):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1e1)](_0x7612f3);break;case _0x1b1b67(0x1b6):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1b0)](_0x7612f3);break;case _0x1b1b67(0x191):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1eb)](_0x7612f3);break;case _0x1b1b67(0x1c4):_0x57085a=await a52_0x55709a['getGeoserverWmsLayer'](_0x7612f3);break;case _0x1b1b67(0x1da):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1ad)](_0x7612f3);break;case'geoserver-wmts':_0x57085a=await a52_0x55709a[_0x1b1b67(0x1ca)](_0x7612f3);break;case _0x1b1b67(0x1cd):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1cc)](_0x7612f3);break;case _0x1b1b67(0x1e7):_0x57085a=await a52_0x55709a['getTDTLayer'](_0x7612f3);break;default:throw new Error(_0x1b1b67(0x1b8)+_0x7612f3['layerType']+_0x1b1b67(0x19a));}return this[_0x1b1b67(0x1a2)](_0x57085a),this[_0x1b1b67(0x1d5)](new ChangeLayerEvent(_0x1b1b67(0x1d3),[_0x7612f3['id']],_0x1b1b67(0x1a9))),_0x57085a;}async['addMapLayers'](_0x1bace4){const _0x58aec0=a52_0xe2689f;let _0x17c7b2=[];const _0x15ff7a=[];for(let _0x5ae9ea=0x0;_0x5ae9ea<_0x1bace4[_0x58aec0(0x1d9)];_0x5ae9ea++){const _0x25159b=_0x1bace4[_0x5ae9ea];_0x15ff7a[_0x58aec0(0x1c5)](_0x25159b['id']),_0x17c7b2[_0x58aec0(0x1c5)](this[_0x58aec0(0x1a0)](_0x25159b));}const _0x41b4b1=await Promise[_0x58aec0(0x1e5)](_0x17c7b2);return this[_0x58aec0(0x1d5)](new ChangeLayerEvent(_0x58aec0(0x1d3),_0x15ff7a,_0x58aec0(0x1a9))),_0x41b4b1;}[a52_0xe2689f(0x1a2)](_0x348fa8,_0x2c1afb=![]){const _0x2b9af6=a52_0xe2689f,_0x224b0d=_0x348fa8,_0x1299cb=this[_0x2b9af6(0x1c1)](_0x224b0d['id']);if(_0x1299cb==null){const _0x3a4bbb=_0x224b0d['layerInfo']==undefined||_0x224b0d[_0x2b9af6(0x1a5)][_0x2b9af6(0x1c3)]==undefined||_0x224b0d['layerInfo']['minScale']<0x0?undefined:calculateResolution(_0x224b0d[_0x2b9af6(0x1a5)][_0x2b9af6(0x1c3)],this[_0x2b9af6(0x1b4)]()[_0x2b9af6(0x1db)]()['getMetersPerUnit']()||0x0);_0x348fa8['setMinResolution'](_0x3a4bbb);const _0x2dde50=_0x224b0d[_0x2b9af6(0x1a5)]==undefined||_0x224b0d[_0x2b9af6(0x1a5)][_0x2b9af6(0x1f5)]==undefined||_0x224b0d[_0x2b9af6(0x1a5)]['maxScale']<0x0?undefined:calculateResolution(_0x224b0d[_0x2b9af6(0x1a5)][_0x2b9af6(0x1f5)],this[_0x2b9af6(0x1b4)]()[_0x2b9af6(0x1db)]()[_0x2b9af6(0x1b5)]()||0x0);_0x348fa8[_0x2b9af6(0x192)](_0x2dde50);const _0xfd989b=this[_0x2b9af6(0x190)]()[_0x2b9af6(0x1ac)]()[_0x2b9af6(0x1d9)];if(!this['_options']['projection']&&_0xfd989b==0x0&&_0x224b0d[_0x2b9af6(0x199)]&&_0x224b0d['projection'][_0x2b9af6(0x1ce)]()!=this[_0x2b9af6(0x1b4)]()[_0x2b9af6(0x1db)]()['getCode']()){}let _0x58b153=_0x348fa8['getZIndex']();_0x58b153!=undefined&&_0x58b153>_0xfd989b&&(_0x58b153=_0xfd989b),this[_0x2b9af6(0x190)]()[_0x2b9af6(0x1e4)](_0x58b153==undefined?_0xfd989b:_0x58b153,_0x348fa8),_0x2c1afb&&this['fitLayer'](_0x224b0d);}}[a52_0xe2689f(0x1bf)](_0x509935){const _0x298239=a52_0xe2689f,_0x34737c=this[_0x298239(0x1c1)](_0x509935);_0x34737c&&(this['removeLayer'](_0x34737c),this['dispatchEvent'](new ChangeLayerEvent('changelayer',[_0x509935],'remove')));}['getLayerById'](_0x30c8cd){const _0x1d1bff=a52_0xe2689f;let _0x411d91,_0x2eed2d=this[_0x1d1bff(0x190)]()[_0x1d1bff(0x1ac)]();for(let _0x15efb1=0x0;_0x15efb1<_0x2eed2d[_0x1d1bff(0x1d9)];_0x15efb1++){let _0x3b6f4f=_0x2eed2d[_0x15efb1]['id'];if(_0x30c8cd==_0x3b6f4f){_0x411d91=_0x2eed2d[_0x15efb1];break;}}return _0x411d91;}[a52_0xe2689f(0x1c9)](_0x1a7289){const _0x400b7a=a52_0xe2689f;let _0x26cefe,_0x275070=this[_0x400b7a(0x190)]()[_0x400b7a(0x1ac)]();for(let _0x516921=0x0;_0x516921<_0x275070[_0x400b7a(0x1d9)];_0x516921++){const _0x1a3014=_0x275070[_0x516921][_0x400b7a(0x1a5)];if(!_0x1a3014)continue;let _0xc2152c=_0x1a3014[_0x400b7a(0x1f0)];if(_0xc2152c==_0x1a7289){_0x26cefe=_0x275070[_0x516921];break;}}return _0x26cefe;}[a52_0xe2689f(0x1c0)](_0x44b931){const _0x407c6e=a52_0xe2689f;let _0x3e0871=this[_0x407c6e(0x190)]()[_0x407c6e(0x1ac)]();return _0x3e0871[_0x407c6e(0x1a8)](_0x338b35=>_0x44b931[_0x407c6e(0x1b3)](_0x338b35['id']));}[a52_0xe2689f(0x1b1)](_0xb63afb){const _0x37694e=a52_0xe2689f;let _0x2160ad,_0x1ce97c=this[_0x37694e(0x190)]()[_0x37694e(0x1ac)]();for(let _0x5d9985=0x0;_0x5d9985<_0x1ce97c[_0x37694e(0x1d9)];_0x5d9985++){const _0x58c598=_0x1ce97c[_0x5d9985];if(_0x58c598['id']===_0xb63afb){_0x2160ad=_0x58c598;break;}}if(!_0x2160ad){_0x2160ad=new a52_0x3d7480({'zIndex':0x270f,'source':new a52_0x994c83()}),_0x2160ad['id']=_0xb63afb;const _0x5a1c87=this[_0x37694e(0x190)]()[_0x37694e(0x1be)]();switch(_0xb63afb){case _0x37694e(0x1dd):this['getLayers']()[_0x37694e(0x1e4)](_0x5a1c87-0x1>-0x1?_0x5a1c87-0x1:0x0,_0x2160ad);break;case _0x37694e(0x198):this[_0x37694e(0x190)]()[_0x37694e(0x1e4)](_0x5a1c87-0x2>-0x1?_0x5a1c87-0x2:0x0,_0x2160ad);break;case _0x37694e(0x1c7):this[_0x37694e(0x190)]()[_0x37694e(0x1e4)](_0x5a1c87,_0x2160ad);break;default:break;}}return _0x2160ad;}[a52_0xe2689f(0x195)](){const _0x283a3e=a52_0xe2689f;return this['getTempLayerById'](_0x283a3e(0x1c7));}['getLineTempLayer'](){const _0x280cd7=a52_0xe2689f;return this[_0x280cd7(0x1b1)](_0x280cd7(0x1dd));}['getPolygonTempLayer'](){const _0x40e249=a52_0xe2689f;return this[_0x40e249(0x1b1)](_0x40e249(0x198));}['getTempLayerByGeoType'](_0x3889a8){const _0x2f55b6=a52_0xe2689f;let _0x46150d=this[_0x2f55b6(0x195)]();switch(_0x3889a8){case _0x2f55b6(0x1d8):case _0x2f55b6(0x1de):_0x46150d=this[_0x2f55b6(0x195)]();case _0x2f55b6(0x1f2):case _0x2f55b6(0x1b2):_0x46150d=this[_0x2f55b6(0x1f8)]();case _0x2f55b6(0x1e6):case _0x2f55b6(0x1ae):_0x46150d=this[_0x2f55b6(0x1c2)]();}return _0x46150d;}['resetViewProjection'](_0x159427){const _0x593d3a=a52_0xe2689f;let _0xe1094c=this['getView']()['getMinZoom'](),_0x261bee=this['getView']()[_0x593d3a(0x1dc)]();registerProj(_0x159427),this[_0x593d3a(0x1b4)]()['setProjection'](_0x159427);}[a52_0xe2689f(0x1a3)](){const _0x4e952c=a52_0xe2689f;let _0x5c9925=[];_0x5c9925[_0x4e952c(0x1c5)](this[_0x4e952c(0x195)]()),_0x5c9925['push'](this['getLineTempLayer']()),_0x5c9925[_0x4e952c(0x1c5)](this['getPolygonTempLayer']());const _0x2cd7ce=this[_0x4e952c(0x190)]()[_0x4e952c(0x1ac)]()[_0x4e952c(0x1d9)];for(let _0x6ac717=0x0;_0x6ac717<_0x5c9925['length'];_0x6ac717++){const _0x2b2c8e=_0x5c9925[_0x6ac717];this['getLayers']()[_0x4e952c(0x1e4)](_0x2cd7ce-_0x6ac717-0x1,_0x2b2c8e);}}[a52_0xe2689f(0x1e0)](){const _0x59ac22=a52_0xe2689f;return this[_0x59ac22(0x1b4)]()['calculateExtent'](this['getSize']());}[a52_0xe2689f(0x1f4)](_0x4fa092,_0x3856b3,_0x449e62,_0x39fb59=!![],_0x3f45d8={'color':a52_0xe2689f(0x1ee),'opacity':0.2,'outlineColor':a52_0xe2689f(0x18f),'outlineWidth':0x2}){const _0x40d494=a52_0xe2689f;var _0x35ca9c;const _0x284bde=fromWKT(_0x4fa092,_0x3856b3,this[_0x40d494(0x1b4)]()['getProjection']()[_0x40d494(0x1ce)]());if(!_0x284bde)return;const _0x110546=this[_0x40d494(0x1af)](_0x284bde['getType']()),_0x5a7bc4=getStyle(_0x3f45d8),_0x124a06=new a52_0x12d186();_0x124a06[_0x40d494(0x1ba)](_0x284bde),_0x124a06[_0x40d494(0x1ef)](_0x5a7bc4),_0x124a06[_0x40d494(0x193)]=_0x449e62,(_0x35ca9c=_0x110546[_0x40d494(0x1ab)]())===null||_0x35ca9c===void 0x0?void 0x0:_0x35ca9c['addFeature'](_0x124a06),_0x39fb59&&this[_0x40d494(0x19c)](_0x284bde,undefined,1.2,![]);}[a52_0xe2689f(0x1a4)](_0x4717fe,_0x4c2c36,_0x1e597a,_0x153b16=!![],_0x5bff76={'color':a52_0xe2689f(0x1ee),'opacity':0.2,'outlineColor':a52_0xe2689f(0x18f),'outlineWidth':0x2}){const _0x13be1b=a52_0xe2689f;var _0x14ebf6;const _0x6c73db=fromWKTs(_0x4717fe,_0x4c2c36,this[_0x13be1b(0x1b4)]()[_0x13be1b(0x1db)]()[_0x13be1b(0x1ce)]());if(!_0x6c73db||_0x6c73db[_0x13be1b(0x1d9)]==0x0)return;const _0x2e051b=this['getTempLayerByGeoType'](_0x6c73db[0x0][_0x13be1b(0x1cb)]()),_0x4ed1b0=getStyle(_0x5bff76);let _0x47f39f=[];for(const _0x480d05 of _0x6c73db){const _0xab9f03=new a52_0x12d186();_0xab9f03[_0x13be1b(0x1ba)](_0x480d05),_0xab9f03['setStyle'](_0x4ed1b0),_0xab9f03['fromType']='import',_0xab9f03['isSelected']=!![],_0xab9f03['tag']=_0x1e597a,_0x47f39f['push'](_0xab9f03);}(_0x14ebf6=_0x2e051b[_0x13be1b(0x1ab)]())===null||_0x14ebf6===void 0x0?void 0x0:_0x14ebf6[_0x13be1b(0x1e2)](_0x47f39f),_0x153b16&&this[_0x13be1b(0x19f)](_0x6c73db,undefined,1.2,![]);}['locationWKT'](_0x238800,_0x3cc442,_0x5b9f65=1.2,_0x4f7b38=!![]){const _0x97c248=a52_0xe2689f;if(!_0x238800)return;let _0x2dd507=fromWKT(_0x238800,_0x3cc442,this[_0x97c248(0x1b4)]()[_0x97c248(0x1db)]()[_0x97c248(0x1ce)]());if(!_0x2dd507)return;this['locationGeometry'](_0x2dd507,_0x3cc442,_0x5b9f65,_0x4f7b38);}['locationWKTs'](_0xbd885d,_0x35b753,_0x288169=1.2,_0x20d866=!![]){const _0x85a289=a52_0xe2689f;if(!_0xbd885d||_0xbd885d['length']===0x0)return;const _0x28af35=[];for(let _0x1fddda=0x0;_0x1fddda<_0xbd885d[_0x85a289(0x1d9)];_0x1fddda++){let _0x36511d=_0xbd885d[_0x1fddda],_0x17d5ea=fromWKT(_0x36511d,_0x35b753,this['getView']()['getProjection']()[_0x85a289(0x1ce)]());if(!_0x17d5ea)continue;_0x28af35[_0x85a289(0x1c5)](_0x17d5ea);}this['locationGeometrys'](_0x28af35,_0x35b753,_0x288169,_0x20d866);}[a52_0xe2689f(0x19c)](_0x2b14d6,_0x43bf94,_0x490a10=1.2,_0x5d1536=!![]){const _0x4a8c88=a52_0xe2689f;if(!_0x2b14d6)return;let _0x497b30=_0x2b14d6;_0x43bf94&&(_0x497b30=_0x2b14d6['transform'](_0x43bf94,this['getView']()[_0x4a8c88(0x1db)]()));switch(_0x497b30[_0x4a8c88(0x1cb)]()){case'Point':this[_0x4a8c88(0x1b4)]()['setCenter'](_0x497b30[_0x4a8c88(0x1d2)]());break;case _0x4a8c88(0x1e6):case _0x4a8c88(0x1de):case'MultiLineString':case _0x4a8c88(0x1ae):case'GeometryCollection':this[_0x4a8c88(0x1b4)]()[_0x4a8c88(0x1d4)](expandExtent(_0x497b30['getExtent'](),_0x490a10));break;}if(_0x5d1536){const _0x10394d=new a52_0x5949a2(this);_0x10394d['flashGeometrys']([_0x497b30],0x3);}}[a52_0xe2689f(0x19f)](_0x2e5f0e,_0x482010,_0x125998=1.2,_0x590bf5=!![]){const _0x303c49=a52_0xe2689f;if(!_0x2e5f0e||_0x2e5f0e[_0x303c49(0x1d9)]===0x0)return;let _0x51fdf6=null;for(const _0x2fcad8 of _0x2e5f0e){_0x51fdf6?_0x51fdf6=union(_0x51fdf6,_0x2fcad8):_0x51fdf6=_0x2fcad8;}_0x51fdf6&&this[_0x303c49(0x19c)](_0x51fdf6,_0x482010,_0x125998,![]);if(_0x590bf5){const _0x2eb651=new a52_0x5949a2(this);_0x2eb651[_0x303c49(0x1d0)](_0x2e5f0e,0x3);}}}
1
+ const a52_0x118347=a52_0x3bfb;(function(_0x3ea82b,_0x58fe00){const _0x46676e=a52_0x3bfb,_0x79f36=_0x3ea82b();while(!![]){try{const _0x3711c4=parseInt(_0x46676e(0xc3))/0x1*(-parseInt(_0x46676e(0xc0))/0x2)+-parseInt(_0x46676e(0xb1))/0x3*(-parseInt(_0x46676e(0xb0))/0x4)+-parseInt(_0x46676e(0xdf))/0x5*(-parseInt(_0x46676e(0x8c))/0x6)+parseInt(_0x46676e(0xc7))/0x7*(parseInt(_0x46676e(0xe8))/0x8)+parseInt(_0x46676e(0x9c))/0x9+-parseInt(_0x46676e(0x9b))/0xa+parseInt(_0x46676e(0x8f))/0xb*(-parseInt(_0x46676e(0xc4))/0xc);if(_0x3711c4===_0x58fe00)break;else _0x79f36['push'](_0x79f36['shift']());}catch(_0x8940e6){_0x79f36['push'](_0x79f36['shift']());}}}(a52_0x7e79,0xe7a51));import'ol/ol.css';function a52_0x3bfb(_0x3a932c,_0x147f7a){const _0x7e796a=a52_0x7e79();return a52_0x3bfb=function(_0x3bfbe5,_0x3e1d0a){_0x3bfbe5=_0x3bfbe5-0x84;let _0x23e0a2=_0x7e796a[_0x3bfbe5];return _0x23e0a2;},a52_0x3bfb(_0x3a932c,_0x147f7a);}function a52_0x7e79(){const _0x5e0a71=['center','getMetersPerUnit','locationGeometry','addMapLayer','getLayers','setMinResolution','MultiPoint','getTDTLayer','interactionManager','LineString','addWKT','locationWKT','5728325wHZMBT','getLineTempLayer','setProjection','removeLayerById','sortTemLayer','add','getMinZoom','getGeoserverWMTSLayer','getSize','72BFfFSW','addLayer','zoom','push','maxZoom','getSource','getLayerById','locationWKTs','minScale','initialExtent','includes','Polygon','暂不支持【','6lHojse','polygonTempLayer','getExtent','33lcUkIY','getArcgisFeatureLayer','getArcgisTileLayer','layerInfo','rgba(255,\x200,\x200,\x200.2)','fit','geoserver-wms','insertAt','getLayerByLayerTag','setCenter','getDynamicLayer','changelayer','11188350qjHJzF','10990215QUSUWy','getPolygonTempLayer','geoserver-wmts','getPointTempLayer','length','getCode','getProjection','getTempLayerById','filter','MultiLineString','getGeoserverWmsLayer','resetViewProjection','maxResolution','arcgis-dynamic','import','addMapLayers','maxScale','minZoom','setGeometry','remove','492iqJBdu','22449eGBjZQ','tag','getTempLayerByGeoType','fromType','transform','getLayersByIds','getGeoserverWFSLayer','locationGeometrys','lineTempLayer','geoserver-vector-tile','GeometryCollection','getArray','pointTempLayer','setMaxResolution','getView','6100taCRyF','layerIds','geoserver-wfs','486PmVFMY','5517696fIEOow','arcgis-wms','fitLayer','1277241oUmJfs','setStyle','projection','rgba(255,\x200,\x200,\x201)','Point','tdt-c','constrainResolution','MultiPolygon','getType','dispatchEvent','_options','layerType'];a52_0x7e79=function(){return _0x5e0a71;};return a52_0x7e79();}import'../assets/main.css';import a52_0x2b5026 from'ol/Map';import a52_0x43864e from'ol/events/Event';import{defaults as a52_0x208f94}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x1145c8 from'../layers/LayerManager';import a52_0x965aeb from'ol/layer/Vector';import a52_0x1d4aa4 from'ol/source/Vector';import a52_0x59cbce from'../controls/ControlManager';import a52_0x1a9393 from'../entity/Feature';import a52_0x575dce from'../interaction/InteractionManager';import a52_0x372fa5 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x99b79d from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x43864e{constructor(_0x4ff7d4,_0x23cd78,_0x6a57fb){const _0x1ba68b=a52_0x3bfb;super(_0x4ff7d4),this[_0x1ba68b(0xc1)]=_0x23cd78,this['changetype']=_0x6a57fb;}}export default class OLMap extends a52_0x2b5026{constructor(_0x70d9de,_0x2bfa3e,_0x19f75e){const _0x372ce7=a52_0x3bfb;_0x2bfa3e=_0x2bfa3e?_0x2bfa3e:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x1fcfa1=_0x2bfa3e[_0x372ce7(0xc9)]?'EPSG:'+_0x2bfa3e[_0x372ce7(0xc9)]:'EPSG:4490';_0x2bfa3e[_0x372ce7(0xea)]=_0x2bfa3e['zoom']?_0x2bfa3e[_0x372ce7(0xea)]:0xa,_0x2bfa3e[_0x372ce7(0xad)]=_0x2bfa3e[_0x372ce7(0xad)]?_0x2bfa3e[_0x372ce7(0xad)]:0x0,_0x2bfa3e['maxZoom']=_0x2bfa3e['maxZoom']?_0x2bfa3e[_0x372ce7(0xec)]:0x1c,_0x2bfa3e[_0x372ce7(0xcd)]=_0x2bfa3e['constrainResolution']?_0x2bfa3e[_0x372ce7(0xcd)]:![],_0x2bfa3e['center']=_0x2bfa3e[_0x372ce7(0xd3)]?_0x2bfa3e[_0x372ce7(0xd3)]:[117.22718,31.820386],registerProj(_0x1fcfa1);const _0x6efd0c={'target':_0x70d9de,'view':_0x19f75e?_0x19f75e:new a52_0x372fa5({'center':_0x2bfa3e[_0x372ce7(0xd3)],'zoom':_0x2bfa3e[_0x372ce7(0xea)],'projection':_0x1fcfa1,'minZoom':_0x2bfa3e[_0x372ce7(0xad)],'maxZoom':_0x2bfa3e[_0x372ce7(0xec)],'minResolution':_0x2bfa3e['minResolution'],'maxResolution':_0x2bfa3e[_0x372ce7(0xa8)],'constrainResolution':_0x2bfa3e[_0x372ce7(0xcd)]}),'controls':a52_0x208f94({'zoom':![]})};super(_0x6efd0c),_0x2bfa3e['extent']&&this[_0x372ce7(0xbf)]()['fit'](_0x2bfa3e['extent']),this[_0x372ce7(0xdb)]=new a52_0x575dce(this),this['controlManager']=new a52_0x59cbce(this),this[_0x372ce7(0xd1)]=_0x2bfa3e;}[a52_0x118347(0xbf)](){const _0x401f1c=a52_0x118347;return super[_0x401f1c(0xbf)]();}[a52_0x118347(0xc6)](_0x3b0fd0){const _0x106e26=a52_0x118347;var _0x112927;this['getView']()[_0x106e26(0x94)](transformExtent(_0x3b0fd0[_0x106e26(0x88)],(_0x112927=_0x3b0fd0[_0x106e26(0xc9)])===null||_0x112927===void 0x0?void 0x0:_0x112927[_0x106e26(0xa1)](),this[_0x106e26(0xbf)]()[_0x106e26(0xa2)]()[_0x106e26(0xa1)]()));}['fitLayerById'](_0x16e481){const _0x3cb307=a52_0x118347;let _0x3d7007=this[_0x3cb307(0x85)](_0x16e481);_0x3d7007&&this['fitLayer'](_0x3d7007);}async['addMapLayer'](_0x32307e){const _0x25a058=a52_0x118347;let _0x4a48d3;switch(_0x32307e[_0x25a058(0xd2)]){case'arcgis-feature':_0x4a48d3=await a52_0x1145c8[_0x25a058(0x90)](_0x32307e);break;case _0x25a058(0xa9):_0x4a48d3=await a52_0x1145c8[_0x25a058(0x99)](_0x32307e);break;case'arcgis-tile':_0x4a48d3=await a52_0x1145c8[_0x25a058(0x91)](_0x32307e);break;case _0x25a058(0xc5):_0x4a48d3=await a52_0x1145c8['getArcgisWmsLayer'](_0x32307e);break;case'arcgis-wmts':_0x4a48d3=await a52_0x1145c8['getArcgisWMTSLayer'](_0x32307e);break;case _0x25a058(0x95):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xa6)](_0x32307e);break;case _0x25a058(0xc2):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xb7)](_0x32307e);break;case _0x25a058(0x9e):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xe6)](_0x32307e);break;case _0x25a058(0xba):_0x4a48d3=await a52_0x1145c8['getGeoserverVectorTileLayer'](_0x32307e);break;case _0x25a058(0xcc):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xda)](_0x32307e);break;default:throw new Error(_0x25a058(0x8b)+_0x32307e[_0x25a058(0xd2)]+'】服务类型');}return this[_0x25a058(0xe9)](_0x4a48d3),this[_0x25a058(0xd0)](new ChangeLayerEvent(_0x25a058(0x9a),[_0x32307e['id']],_0x25a058(0xe4))),_0x4a48d3;}async[a52_0x118347(0xab)](_0x24c6fb){const _0x10e6dc=a52_0x118347;let _0x219c00=[];const _0x5b57e8=[];for(let _0x3dc9c5=0x0;_0x3dc9c5<_0x24c6fb['length'];_0x3dc9c5++){const _0x41ff89=_0x24c6fb[_0x3dc9c5];_0x5b57e8[_0x10e6dc(0xeb)](_0x41ff89['id']),_0x219c00[_0x10e6dc(0xeb)](this[_0x10e6dc(0xd6)](_0x41ff89));}const _0x92ca6d=await Promise['all'](_0x219c00);return this[_0x10e6dc(0xd0)](new ChangeLayerEvent(_0x10e6dc(0x9a),_0x5b57e8,'add')),_0x92ca6d;}[a52_0x118347(0xe9)](_0x2cb837,_0xef3270=![]){const _0x1d4c25=a52_0x118347,_0x28a974=_0x2cb837,_0x134a4f=this[_0x1d4c25(0x85)](_0x28a974['id']);if(_0x134a4f==null){const _0x269dad=_0x28a974[_0x1d4c25(0x92)]==undefined||_0x28a974[_0x1d4c25(0x92)]['minScale']==undefined||_0x28a974[_0x1d4c25(0x92)][_0x1d4c25(0x87)]<0x0?undefined:calculateResolution(_0x28a974[_0x1d4c25(0x92)][_0x1d4c25(0x87)],this[_0x1d4c25(0xbf)]()[_0x1d4c25(0xa2)]()[_0x1d4c25(0xd4)]()||0x0);_0x2cb837[_0x1d4c25(0xd8)](_0x269dad);const _0x43b21a=_0x28a974['layerInfo']==undefined||_0x28a974[_0x1d4c25(0x92)]['maxScale']==undefined||_0x28a974['layerInfo'][_0x1d4c25(0xac)]<0x0?undefined:calculateResolution(_0x28a974[_0x1d4c25(0x92)][_0x1d4c25(0xac)],this[_0x1d4c25(0xbf)]()[_0x1d4c25(0xa2)]()[_0x1d4c25(0xd4)]()||0x0);_0x2cb837[_0x1d4c25(0xbe)](_0x43b21a);const _0x5daf5d=this[_0x1d4c25(0xd7)]()['getArray']()[_0x1d4c25(0xa0)];if(!this['_options']['projection']&&_0x5daf5d==0x0&&_0x28a974[_0x1d4c25(0xc9)]&&_0x28a974[_0x1d4c25(0xc9)][_0x1d4c25(0xa1)]()!=this[_0x1d4c25(0xbf)]()[_0x1d4c25(0xa2)]()[_0x1d4c25(0xa1)]()){}let _0x5c0f1e=_0x2cb837['getZIndex']();_0x5c0f1e!=undefined&&_0x5c0f1e>_0x5daf5d&&(_0x5c0f1e=_0x5daf5d),this[_0x1d4c25(0xd7)]()[_0x1d4c25(0x96)](_0x5c0f1e==undefined?_0x5daf5d:_0x5c0f1e,_0x2cb837),_0xef3270&&this['fitLayer'](_0x28a974);}}[a52_0x118347(0xe2)](_0x5d0ef6){const _0x464f2b=a52_0x118347,_0x3b22cd=this[_0x464f2b(0x85)](_0x5d0ef6);_0x3b22cd&&(this['removeLayer'](_0x3b22cd),this[_0x464f2b(0xd0)](new ChangeLayerEvent('changelayer',[_0x5d0ef6],_0x464f2b(0xaf))));}['getLayerById'](_0x5054ac){const _0x1bfc0b=a52_0x118347;let _0x592698,_0x44e0be=this[_0x1bfc0b(0xd7)]()[_0x1bfc0b(0xbc)]();for(let _0x548234=0x0;_0x548234<_0x44e0be[_0x1bfc0b(0xa0)];_0x548234++){let _0x45d943=_0x44e0be[_0x548234]['id'];if(_0x5054ac==_0x45d943){_0x592698=_0x44e0be[_0x548234];break;}}return _0x592698;}[a52_0x118347(0x97)](_0x3b68f0){const _0x1aa3be=a52_0x118347;let _0x405cb8,_0x3f3d10=this[_0x1aa3be(0xd7)]()[_0x1aa3be(0xbc)]();for(let _0x2db71e=0x0;_0x2db71e<_0x3f3d10['length'];_0x2db71e++){const _0xf505d4=_0x3f3d10[_0x2db71e][_0x1aa3be(0x92)];if(!_0xf505d4)continue;let _0x21c083=_0xf505d4['layerTag'];if(_0x21c083==_0x3b68f0){_0x405cb8=_0x3f3d10[_0x2db71e];break;}}return _0x405cb8;}[a52_0x118347(0xb6)](_0x2d2d79){const _0x27da44=a52_0x118347;let _0x424b8e=this[_0x27da44(0xd7)]()[_0x27da44(0xbc)]();return _0x424b8e[_0x27da44(0xa4)](_0x54eea2=>_0x2d2d79[_0x27da44(0x89)](_0x54eea2['id']));}[a52_0x118347(0xa3)](_0x4f92dd){const _0x373782=a52_0x118347;let _0x510182,_0x220625=this[_0x373782(0xd7)]()['getArray']();for(let _0x39266e=0x0;_0x39266e<_0x220625[_0x373782(0xa0)];_0x39266e++){const _0xb0eec9=_0x220625[_0x39266e];if(_0xb0eec9['id']===_0x4f92dd){_0x510182=_0xb0eec9;break;}}if(!_0x510182){_0x510182=new a52_0x965aeb({'zIndex':0x270f,'source':new a52_0x1d4aa4()}),_0x510182['id']=_0x4f92dd;const _0x12dc03=this[_0x373782(0xd7)]()['getLength']();switch(_0x4f92dd){case _0x373782(0xb9):this[_0x373782(0xd7)]()[_0x373782(0x96)](_0x12dc03-0x1>-0x1?_0x12dc03-0x1:0x0,_0x510182);break;case _0x373782(0x8d):this[_0x373782(0xd7)]()[_0x373782(0x96)](_0x12dc03-0x2>-0x1?_0x12dc03-0x2:0x0,_0x510182);break;case _0x373782(0xbd):this[_0x373782(0xd7)]()['insertAt'](_0x12dc03,_0x510182);break;default:break;}}return _0x510182;}[a52_0x118347(0x9f)](){const _0x8d094e=a52_0x118347;return this[_0x8d094e(0xa3)](_0x8d094e(0xbd));}[a52_0x118347(0xe0)](){const _0x141700=a52_0x118347;return this[_0x141700(0xa3)](_0x141700(0xb9));}[a52_0x118347(0x9d)](){const _0x4c417c=a52_0x118347;return this['getTempLayerById'](_0x4c417c(0x8d));}['getTempLayerByGeoType'](_0x26a990){const _0x5080df=a52_0x118347;let _0x287cb0=this['getPointTempLayer']();switch(_0x26a990){case _0x5080df(0xcb):case _0x5080df(0xd9):_0x287cb0=this[_0x5080df(0x9f)]();case _0x5080df(0xdc):case _0x5080df(0xa5):_0x287cb0=this['getLineTempLayer']();case _0x5080df(0x8a):case _0x5080df(0xce):_0x287cb0=this['getPolygonTempLayer']();}return _0x287cb0;}[a52_0x118347(0xa7)](_0x12bb4c){const _0x19dd74=a52_0x118347;let _0x3c4e0a=this['getView']()[_0x19dd74(0xe5)](),_0x50bddf=this[_0x19dd74(0xbf)]()['getMaxZoom']();registerProj(_0x12bb4c),this['getView']()[_0x19dd74(0xe1)](_0x12bb4c);}[a52_0x118347(0xe3)](){const _0x4fec98=a52_0x118347;let _0x16ddaa=[];_0x16ddaa[_0x4fec98(0xeb)](this[_0x4fec98(0x9f)]()),_0x16ddaa[_0x4fec98(0xeb)](this['getLineTempLayer']()),_0x16ddaa[_0x4fec98(0xeb)](this[_0x4fec98(0x9d)]());const _0x1adac3=this['getLayers']()['getArray']()['length'];for(let _0x598e7b=0x0;_0x598e7b<_0x16ddaa[_0x4fec98(0xa0)];_0x598e7b++){const _0x4bb192=_0x16ddaa[_0x598e7b];this['getLayers']()['insertAt'](_0x1adac3-_0x598e7b-0x1,_0x4bb192);}}[a52_0x118347(0x8e)](){const _0x239c72=a52_0x118347;return this[_0x239c72(0xbf)]()['calculateExtent'](this[_0x239c72(0xe7)]());}[a52_0x118347(0xdd)](_0x1de749,_0x475acc,_0xd3793a,_0x451fd7=!![],_0x331750={'color':a52_0x118347(0x93),'opacity':0.2,'outlineColor':a52_0x118347(0xca),'outlineWidth':0x2}){const _0x3414e4=a52_0x118347;var _0x2defcf;const _0xa56fd0=fromWKT(_0x1de749,_0x475acc,this['getView']()[_0x3414e4(0xa2)]()[_0x3414e4(0xa1)]());if(!_0xa56fd0)return;const _0x238ba9=this[_0x3414e4(0xb3)](_0xa56fd0[_0x3414e4(0xcf)]()),_0xafeade=getStyle(_0x331750),_0x38e865=new a52_0x1a9393();_0x38e865[_0x3414e4(0xae)](_0xa56fd0),_0x38e865['setStyle'](_0xafeade),_0x38e865[_0x3414e4(0xb2)]=_0xd3793a,(_0x2defcf=_0x238ba9[_0x3414e4(0x84)]())===null||_0x2defcf===void 0x0?void 0x0:_0x2defcf['addFeature'](_0x38e865),_0x451fd7&&this[_0x3414e4(0xd5)](_0xa56fd0,undefined,1.2,![]);}['addWKTs'](_0x636c0e,_0x20d0cb,_0x70385,_0xf01b5f=!![],_0x1b264d={'color':a52_0x118347(0x93),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2}){const _0x22fcaf=a52_0x118347;var _0x2db906;const _0x2b32d9=fromWKTs(_0x636c0e,_0x20d0cb,this[_0x22fcaf(0xbf)]()['getProjection']()[_0x22fcaf(0xa1)]());if(!_0x2b32d9||_0x2b32d9[_0x22fcaf(0xa0)]==0x0)return;const _0x2f1858=this[_0x22fcaf(0xb3)](_0x2b32d9[0x0][_0x22fcaf(0xcf)]()),_0x90fb91=getStyle(_0x1b264d);let _0x32d0a4=[];for(const _0x182215 of _0x2b32d9){const _0x5b997f=new a52_0x1a9393();_0x5b997f[_0x22fcaf(0xae)](_0x182215),_0x5b997f[_0x22fcaf(0xc8)](_0x90fb91),_0x5b997f[_0x22fcaf(0xb4)]=_0x22fcaf(0xaa),_0x5b997f['isSelected']=!![],_0x5b997f[_0x22fcaf(0xb2)]=_0x70385,_0x32d0a4[_0x22fcaf(0xeb)](_0x5b997f);}(_0x2db906=_0x2f1858[_0x22fcaf(0x84)]())===null||_0x2db906===void 0x0?void 0x0:_0x2db906['addFeatures'](_0x32d0a4),_0xf01b5f&&this[_0x22fcaf(0xb8)](_0x2b32d9,undefined,1.2,![]);}[a52_0x118347(0xde)](_0x410c62,_0x38231b,_0x3f63d3=1.2,_0x59b182=!![]){const _0x2ee370=a52_0x118347;if(!_0x410c62)return;let _0x2ce282=fromWKT(_0x410c62,_0x38231b,this['getView']()['getProjection']()[_0x2ee370(0xa1)]());if(!_0x2ce282)return;this['locationGeometry'](_0x2ce282,_0x38231b,_0x3f63d3,_0x59b182);}[a52_0x118347(0x86)](_0x28e883,_0x590020,_0x470430=1.2,_0x4525c6=!![]){const _0x25f064=a52_0x118347;if(!_0x28e883||_0x28e883[_0x25f064(0xa0)]===0x0)return;const _0x125ad3=[];for(let _0x1c66e5=0x0;_0x1c66e5<_0x28e883[_0x25f064(0xa0)];_0x1c66e5++){let _0x263c45=_0x28e883[_0x1c66e5],_0x4bfab7=fromWKT(_0x263c45,_0x590020,this[_0x25f064(0xbf)]()[_0x25f064(0xa2)]()[_0x25f064(0xa1)]());if(!_0x4bfab7)continue;_0x125ad3[_0x25f064(0xeb)](_0x4bfab7);}this[_0x25f064(0xb8)](_0x125ad3,_0x590020,_0x470430,_0x4525c6);}[a52_0x118347(0xd5)](_0x44a8ad,_0x527dd3,_0x33bcfa=1.2,_0x2001b3=!![]){const _0x2b9e9a=a52_0x118347;if(!_0x44a8ad)return;let _0x3dab58=_0x44a8ad;_0x527dd3&&(_0x3dab58=_0x44a8ad[_0x2b9e9a(0xb5)](_0x527dd3,this[_0x2b9e9a(0xbf)]()[_0x2b9e9a(0xa2)]()));switch(_0x3dab58['getType']()){case _0x2b9e9a(0xcb):this[_0x2b9e9a(0xbf)]()[_0x2b9e9a(0x98)](_0x3dab58['getCoordinates']());break;case _0x2b9e9a(0x8a):case _0x2b9e9a(0xd9):case _0x2b9e9a(0xa5):case'MultiPolygon':case _0x2b9e9a(0xbb):this[_0x2b9e9a(0xbf)]()[_0x2b9e9a(0x94)](expandExtent(_0x3dab58['getExtent'](),_0x33bcfa));break;}if(_0x2001b3){const _0xe9b392=new a52_0x99b79d(this);_0xe9b392['flashGeometrys']([_0x3dab58],0x3);}}[a52_0x118347(0xb8)](_0x55ff8f,_0x28fe8e,_0x22149c=1.2,_0x1af4fa=!![]){const _0x1f83b4=a52_0x118347;if(!_0x55ff8f||_0x55ff8f[_0x1f83b4(0xa0)]===0x0)return;let _0x2869f8=null;for(const _0x43b54e of _0x55ff8f){_0x2869f8?_0x2869f8=union(_0x2869f8,_0x43b54e):_0x2869f8=_0x43b54e;}_0x2869f8&&this[_0x1f83b4(0xd5)](_0x2869f8,_0x28fe8e,_0x22149c,![]);if(_0x1af4fa){const _0x53e5f0=new a52_0x99b79d(this);_0x53e5f0['flashGeometrys'](_0x55ff8f,0x3);}}}
package/mapView/View.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2d2d3d,_0x411257){var _0xcfa30f=a53_0x10cc,_0x447ce4=_0x2d2d3d();while(!![]){try{var _0x41a741=parseInt(_0xcfa30f(0xad))/0x1+parseInt(_0xcfa30f(0xb3))/0x2+-parseInt(_0xcfa30f(0xae))/0x3*(-parseInt(_0xcfa30f(0xab))/0x4)+-parseInt(_0xcfa30f(0xaa))/0x5*(-parseInt(_0xcfa30f(0xac))/0x6)+parseInt(_0xcfa30f(0xa9))/0x7*(-parseInt(_0xcfa30f(0xb0))/0x8)+-parseInt(_0xcfa30f(0xb2))/0x9+-parseInt(_0xcfa30f(0xaf))/0xa*(parseInt(_0xcfa30f(0xb4))/0xb);if(_0x41a741===_0x411257)break;else _0x447ce4['push'](_0x447ce4['shift']());}catch(_0x4b4025){_0x447ce4['push'](_0x447ce4['shift']());}}}(a53_0x34df,0x895e7));function a53_0x10cc(_0x4973bb,_0x5eec93){var _0x34df25=a53_0x34df();return a53_0x10cc=function(_0x10cc1c,_0x53e49f){_0x10cc1c=_0x10cc1c-0xa9;var _0x5d7b02=_0x34df25[_0x10cc1c];return _0x5d7b02;},a53_0x10cc(_0x4973bb,_0x5eec93);}import a53_0x4524d8 from'ol/View';function a53_0x34df(){var _0x3e10df=['1765992UNuFPq','110022oJoAgJ','setProperties','14OJrSpy','549215QULLYa','99100WEOPmD','36nwUaDV','62982KxRHWR','117uNHnOQ','470sokokW','3160808xPNolH','projection_','6734718tvTiUs'];a53_0x34df=function(){return _0x3e10df;};return a53_0x34df();}import{get}from'ol/proj';export default class OLView extends a53_0x4524d8{constructor(_0x681d6a){super(_0x681d6a);}['setProjection'](_0x2960e6){var _0x5a5d1f=a53_0x10cc;this[_0x5a5d1f(0xb1)]=get(_0x2960e6),this[_0x5a5d1f(0xb5)]({'projection_':get(_0x2960e6)});}}
1
+ function a53_0xbdf0(_0x5e886a,_0x5189a9){var _0x3d91a4=a53_0x3d91();return a53_0xbdf0=function(_0xbdf0e0,_0x52c0b8){_0xbdf0e0=_0xbdf0e0-0x150;var _0x4dd604=_0x3d91a4[_0xbdf0e0];return _0x4dd604;},a53_0xbdf0(_0x5e886a,_0x5189a9);}function a53_0x3d91(){var _0x309dcd=['3mXYadW','13CjwYHL','projection_','7935471LKorcz','1778484EhaTah','135911etnAse','4PwUUMz','4864008ZkTVqL','170VtJIeB','1764344CLsGYJ','5bQKSOS','setProjection','252xHccWE','58201ULHJaa','196312NsNZvH'];a53_0x3d91=function(){return _0x309dcd;};return a53_0x3d91();}var a53_0x47e8f6=a53_0xbdf0;(function(_0xedf555,_0x32f221){var _0xc30efa=a53_0xbdf0,_0x4faae6=_0xedf555();while(!![]){try{var _0x46ce58=parseInt(_0xc30efa(0x154))/0x1*(parseInt(_0xc30efa(0x155))/0x2)+parseInt(_0xc30efa(0x15e))/0x3*(-parseInt(_0xc30efa(0x158))/0x4)+parseInt(_0xc30efa(0x159))/0x5*(-parseInt(_0xc30efa(0x156))/0x6)+-parseInt(_0xc30efa(0x15b))/0x7*(-parseInt(_0xc30efa(0x15d))/0x8)+parseInt(_0xc30efa(0x152))/0x9+-parseInt(_0xc30efa(0x157))/0xa*(parseInt(_0xc30efa(0x15c))/0xb)+-parseInt(_0xc30efa(0x153))/0xc*(-parseInt(_0xc30efa(0x150))/0xd);if(_0x46ce58===_0x32f221)break;else _0x4faae6['push'](_0x4faae6['shift']());}catch(_0x102fe2){_0x4faae6['push'](_0x4faae6['shift']());}}}(a53_0x3d91,0xcdebb));import a53_0x49f531 from'ol/View';import{get}from'ol/proj';export default class OLView extends a53_0x49f531{constructor(_0x3a97c4){super(_0x3a97c4);}[a53_0x47e8f6(0x15a)](_0x3e5e01){var _0x5682aa=a53_0x47e8f6;this[_0x5682aa(0x151)]=get(_0x3e5e01),this['setProperties']({'projection_':get(_0x3e5e01)});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ym-gis-2d",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
package/plot/Plot.js CHANGED
@@ -1 +1 @@
1
- (function(_0x498c73,_0x4ca377){const _0x2225fc=a61_0x461a,_0x8ce982=_0x498c73();while(!![]){try{const _0x51d6b5=parseInt(_0x2225fc(0xce))/0x1*(-parseInt(_0x2225fc(0xc0))/0x2)+parseInt(_0x2225fc(0xcc))/0x3*(-parseInt(_0x2225fc(0xbf))/0x4)+parseInt(_0x2225fc(0xc8))/0x5*(-parseInt(_0x2225fc(0xbb))/0x6)+-parseInt(_0x2225fc(0xc2))/0x7*(parseInt(_0x2225fc(0xc4))/0x8)+-parseInt(_0x2225fc(0xbe))/0x9+-parseInt(_0x2225fc(0xc7))/0xa+parseInt(_0x2225fc(0xb8))/0xb;if(_0x51d6b5===_0x4ca377)break;else _0x8ce982['push'](_0x8ce982['shift']());}catch(_0xa37fcd){_0x8ce982['push'](_0x8ce982['shift']());}}}(a61_0x4953,0x1bd7e));import a61_0x236af8 from'../entity/GeometryType';import a61_0x56fab8 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';function a61_0x461a(_0x36099c,_0x57c2c3){const _0x49539a=a61_0x4953();return a61_0x461a=function(_0x461a83,_0x4d3b97){_0x461a83=_0x461a83-0xb7;let _0x4ac0f8=_0x49539a[_0x461a83];return _0x4ac0f8;},a61_0x461a(_0x36099c,_0x57c2c3);}import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x1e0611 from'./geometry/polygon/RectAngle';import a61_0x34c4c1 from'./geometry/polyline/Polyline';import a61_0x5bf011 from'./geometry/point/Point';import a61_0x18a3c2 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1,0.08],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1,0x1],'outlineOpacity':0.6,'outlineWidth':0x2};function a61_0x4953(){const _0x4fc52c=['91262juosBq','Ellipsoid','722995ZHYuit','MAX_VALUE','8PNudvg','Ellipse','assign','596930Cisvjx','5AYaMpA','toLowerCase','Polygon','SurfaceClosed','370593gHMeGy','Rectangle','1uRbntj','Arrow','PolyLine','7254478sAuoRB','ArrowPincerlike','Point','1214022hDhGms','Circle','pointermove','98775xFMSOF','4XXwQhA'];a61_0x4953=function(){return _0x4fc52c;};return a61_0x4953();}export function createPlot(_0xb98975,_0x251ed7){const _0x6dfc65=a61_0x461a;_0xb98975=_0xb98975[_0x6dfc65(0xc9)]();switch(_0xb98975){case a61_0x236af8[_0x6dfc65(0xba)]:case _0x6dfc65(0xbd):return new a61_0x5bf011(_0x251ed7);case a61_0x236af8[_0x6dfc65(0xb7)]:return new a61_0x34c4c1(_0x251ed7);case a61_0x236af8['Circle']:return new a61_0x18a3c2(_0x251ed7);case a61_0x236af8[_0x6dfc65(0xcd)]:return new a61_0x1e0611(_0x251ed7);case a61_0x236af8[_0x6dfc65(0xca)]:return new a61_0x56fab8(_0x251ed7);}}export function getPlotCount(_0x49db38){const _0xabd805=a61_0x461a;_0x49db38=_0x49db38[_0xabd805(0xc9)]();let _0x1acee7={'fixPoint':0x0,'minPoint':0x0};switch(_0x49db38){case a61_0x236af8[_0xabd805(0xba)]:_0x1acee7={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x236af8[_0xabd805(0xb7)]:_0x1acee7={'fixPoint':Number[_0xabd805(0xc3)],'minPoint':0x1};break;case a61_0x236af8[_0xabd805(0xca)]:_0x1acee7={'fixPoint':Number[_0xabd805(0xc3)],'minPoint':0x2};break;case a61_0x236af8['Rectangle']:_0x1acee7={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x236af8[_0xabd805(0xbc)]:_0x1acee7={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x236af8['Curve']:_0x1acee7={'fixPoint':Number[_0xabd805(0xc3)],'minPoint':0x1};break;case a61_0x236af8[_0xabd805(0xc5)]:case a61_0x236af8[_0xabd805(0xc1)]:_0x1acee7={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x1acee7;}export function getStyle(_0x3a3865,_0x4868d3,_0x2ada3c){const _0xf1a98b=a61_0x461a;_0x3a3865=_0x3a3865[_0xf1a98b(0xc9)](),_0x4868d3=Object[_0xf1a98b(0xc6)](Object[_0xf1a98b(0xc6)]({},defaultStyle),_0x4868d3);switch(_0x3a3865){case a61_0x236af8[_0xf1a98b(0xba)]:return function(_0x4b4efa,_0x2b087b){return getPointSingleStyle(_0x3a3865,_0x4868d3,_0x2b087b,_0x2ada3c);};case a61_0x236af8[_0xf1a98b(0xb7)]:case a61_0x236af8['Curve']:return function(_0x1362c4,_0x90399a){return getPolylineStyle(_0x4868d3,'',_0x90399a,_0x2ada3c);};case a61_0x236af8[_0xf1a98b(0xbc)]:case a61_0x236af8[_0xf1a98b(0xcd)]:case a61_0x236af8[_0xf1a98b(0xc5)]:case a61_0x236af8['Ellipsoid']:case a61_0x236af8[_0xf1a98b(0xcb)]:case a61_0x236af8['Polygon']:case a61_0x236af8['ArrowAttack']:case a61_0x236af8[_0xf1a98b(0xb9)]:case a61_0x236af8[_0xf1a98b(0xcf)]:case a61_0x236af8['AssemblySite']:return function(_0x51353f,_0x4cc2ec){return getPolygonStyle(_0x4868d3,'',_0x4cc2ec,_0x2ada3c);};}}
1
+ (function(_0x5e7377,_0xdcb24f){const _0x83e7b3=a61_0x373e,_0x5cdf24=_0x5e7377();while(!![]){try{const _0x2d3e11=-parseInt(_0x83e7b3(0x108))/0x1*(-parseInt(_0x83e7b3(0x103))/0x2)+parseInt(_0x83e7b3(0xf7))/0x3+parseInt(_0x83e7b3(0x10f))/0x4*(parseInt(_0x83e7b3(0xfc))/0x5)+-parseInt(_0x83e7b3(0xfe))/0x6*(-parseInt(_0x83e7b3(0x101))/0x7)+-parseInt(_0x83e7b3(0xfb))/0x8+-parseInt(_0x83e7b3(0x104))/0x9+parseInt(_0x83e7b3(0x106))/0xa*(parseInt(_0x83e7b3(0x10a))/0xb);if(_0x2d3e11===_0xdcb24f)break;else _0x5cdf24['push'](_0x5cdf24['shift']());}catch(_0x83ec10){_0x5cdf24['push'](_0x5cdf24['shift']());}}}(a61_0x2ffe,0x46929));import a61_0x2e4157 from'../entity/GeometryType';import a61_0x311328 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x4201d2 from'./geometry/polygon/RectAngle';import a61_0x521f1a from'./geometry/polyline/Polyline';function a61_0x2ffe(){const _0x392d56=['ArrowAttack','190531GrcgLV','pointermove','Polygon','Circle','Ellipsoid','213340Bchuwu','ArrowPincerlike','Rectangle','Ellipse','233598KqgAaT','AssemblySite','toLowerCase','Point','155512HeSFCZ','5RTZVea','MAX_VALUE','150JYWqIj','PolyLine','SurfaceClosed','119735hfvRsF','Curve','142056dLdZWZ','3671595trPazD','assign','50VSvxIJ','Arrow','1tJhLre'];a61_0x2ffe=function(){return _0x392d56;};return a61_0x2ffe();}import a61_0x2d70d5 from'./geometry/point/Point';function a61_0x373e(_0x1085f0,_0xd8a61f){const _0x2ffe33=a61_0x2ffe();return a61_0x373e=function(_0x373e5a,_0x369051){_0x373e5a=_0x373e5a-0xf5;let _0xa9e8fb=_0x2ffe33[_0x373e5a];return _0xa9e8fb;},a61_0x373e(_0x1085f0,_0xd8a61f);}import a61_0x37dd1b from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1,0.08],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1,0x1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x2ce804,_0x2f9122){const _0x1fd355=a61_0x373e;_0x2ce804=_0x2ce804[_0x1fd355(0xf9)]();switch(_0x2ce804){case a61_0x2e4157[_0x1fd355(0xfa)]:case _0x1fd355(0x10b):return new a61_0x2d70d5(_0x2f9122);case a61_0x2e4157['PolyLine']:return new a61_0x521f1a(_0x2f9122);case a61_0x2e4157[_0x1fd355(0x10d)]:return new a61_0x37dd1b(_0x2f9122);case a61_0x2e4157[_0x1fd355(0xf5)]:return new a61_0x4201d2(_0x2f9122);case a61_0x2e4157[_0x1fd355(0x10c)]:return new a61_0x311328(_0x2f9122);}}export function getPlotCount(_0xf3fab5){const _0x12b387=a61_0x373e;_0xf3fab5=_0xf3fab5[_0x12b387(0xf9)]();let _0x2245a0={'fixPoint':0x0,'minPoint':0x0};switch(_0xf3fab5){case a61_0x2e4157[_0x12b387(0xfa)]:_0x2245a0={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x2e4157['PolyLine']:_0x2245a0={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a61_0x2e4157['Polygon']:_0x2245a0={'fixPoint':Number[_0x12b387(0xfd)],'minPoint':0x2};break;case a61_0x2e4157[_0x12b387(0xf5)]:_0x2245a0={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x2e4157[_0x12b387(0x10d)]:_0x2245a0={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x2e4157[_0x12b387(0x102)]:_0x2245a0={'fixPoint':Number[_0x12b387(0xfd)],'minPoint':0x1};break;case a61_0x2e4157[_0x12b387(0xf6)]:case a61_0x2e4157[_0x12b387(0x10e)]:_0x2245a0={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x2245a0;}export function getStyle(_0x406ccf,_0x11ff57,_0x11a171){const _0x3e4951=a61_0x373e;_0x406ccf=_0x406ccf['toLowerCase'](),_0x11ff57=Object[_0x3e4951(0x105)](Object['assign']({},defaultStyle),_0x11ff57);switch(_0x406ccf){case a61_0x2e4157['Point']:return function(_0x15d03c,_0x56bc19){return getPointSingleStyle(_0x406ccf,_0x11ff57,_0x56bc19,_0x11a171);};case a61_0x2e4157[_0x3e4951(0xff)]:case a61_0x2e4157['Curve']:return function(_0x18f378,_0x57414e){return getPolylineStyle(_0x11ff57,'',_0x57414e,_0x11a171);};case a61_0x2e4157[_0x3e4951(0x10d)]:case a61_0x2e4157[_0x3e4951(0xf5)]:case a61_0x2e4157[_0x3e4951(0xf6)]:case a61_0x2e4157[_0x3e4951(0x10e)]:case a61_0x2e4157[_0x3e4951(0x100)]:case a61_0x2e4157['Polygon']:case a61_0x2e4157[_0x3e4951(0x109)]:case a61_0x2e4157[_0x3e4951(0x110)]:case a61_0x2e4157[_0x3e4951(0x107)]:case a61_0x2e4157[_0x3e4951(0xf8)]:return function(_0x1b8b2c,_0x8855f5){return getPolygonStyle(_0x11ff57,'',_0x8855f5,_0x11a171);};}}
@@ -1 +1 @@
1
- var a54_0x7a9964=a54_0x5af3;function a54_0x2243(){var _0x1a02a4=['stringify','points','332257AlmixA','98aBQVAc','finishDrawing','216616Uhyvrt','style','setPoints','Point','63xajRKh','42dqOfeo','2774170fBNUis','type','length','generate','updateLastPoint','getPlotType','isPlot','3693657YcSZGF','52404bPruYF','parse','getMap','2222496glOKtJ','map','setMap','updatePoint','65012TkepMn','30eMeSZs'];a54_0x2243=function(){return _0x1a02a4;};return a54_0x2243();}(function(_0x4d464e,_0x57f405){var _0x1b0999=a54_0x5af3,_0x452bbb=_0x4d464e();while(!![]){try{var _0x538b12=-parseInt(_0x1b0999(0x1ab))/0x1+-parseInt(_0x1b0999(0x1a7))/0x2*(parseInt(_0x1b0999(0x1b3))/0x3)+parseInt(_0x1b0999(0x1a3))/0x4+-parseInt(_0x1b0999(0x1b4))/0x5+parseInt(_0x1b0999(0x1bc))/0x6*(-parseInt(_0x1b0999(0x1ac))/0x7)+parseInt(_0x1b0999(0x1ae))/0x8*(parseInt(_0x1b0999(0x1b2))/0x9)+parseInt(_0x1b0999(0x1a8))/0xa*(parseInt(_0x1b0999(0x1bb))/0xb);if(_0x538b12===_0x57f405)break;else _0x452bbb['push'](_0x452bbb['shift']());}catch(_0x4fb1ad){_0x452bbb['push'](_0x452bbb['shift']());}}}(a54_0x2243,0x46549));import{Map}from'ol';import{Point as a54_0x40b1dc}from'ol/geom';function a54_0x5af3(_0x2bb82e,_0x2c5b12){var _0x22438d=a54_0x2243();return a54_0x5af3=function(_0x5af39e,_0x492896){_0x5af39e=_0x5af39e-0x1a3;var _0x2e255c=_0x22438d[_0x5af39e];return _0x2e255c;},a54_0x5af3(_0x2bb82e,_0x2c5b12);}class Point extends a54_0x40b1dc{constructor(_0x45312b){var _0x1d011a=a54_0x5af3;super([]),this['type']=_0x1d011a(0x1b1),this[_0x1d011a(0x1aa)]=_0x45312b,this[_0x1d011a(0x1b0)](_0x45312b);}[a54_0x7a9964(0x1b9)](){var _0x5b0014=a54_0x7a9964;return this[_0x5b0014(0x1b5)];}[a54_0x7a9964(0x1b7)](){var _0x32141c=a54_0x7a9964;this['setCoordinates'](this[_0x32141c(0x1aa)][0x0]);}[a54_0x7a9964(0x1a5)](_0x469224){var _0xeb152b=a54_0x7a9964;if(_0x469224&&_0x469224 instanceof Map)this[_0xeb152b(0x1a4)]=_0x469224;else throw new Error('传入的不是地图对象!');}[a54_0x7a9964(0x1be)](){var _0x177dd5=a54_0x7a9964;return this[_0x177dd5(0x1a4)];}[a54_0x7a9964(0x1ba)](){return!![];}[a54_0x7a9964(0x1b0)](_0x5cdd4a){var _0x241267=a54_0x7a9964;_0x5cdd4a&&_0x5cdd4a[_0x241267(0x1b6)]>=0x1&&(this[_0x241267(0x1aa)]=_0x5cdd4a,this[_0x241267(0x1b7)]());}['getPoints'](){var _0x5ba689=a54_0x7a9964;return this[_0x5ba689(0x1aa)];}[a54_0x7a9964(0x1a6)](_0x4885c4,_0x2ebcbd){var _0x282dc0=a54_0x7a9964;_0x2ebcbd>=0x0&&_0x2ebcbd<this[_0x282dc0(0x1aa)]['length']&&(this[_0x282dc0(0x1aa)][_0x2ebcbd]=_0x4885c4,this[_0x282dc0(0x1b7)]());}[a54_0x7a9964(0x1b8)](_0x12fb81){var _0x3bdf8a=a54_0x7a9964;this[_0x3bdf8a(0x1a6)](_0x12fb81,this[_0x3bdf8a(0x1aa)][_0x3bdf8a(0x1b6)]-0x1);}[a54_0x7a9964(0x1ad)](){}['setStyle'](_0x4ce98e){var _0x37de27=a54_0x7a9964;this[_0x37de27(0x1af)]=JSON[_0x37de27(0x1bd)](JSON[_0x37de27(0x1a9)](_0x4ce98e));}}export default Point;
1
+ function a54_0x134b(){var _0x415b50=['传入的不是地图对象!','1438440UFBdPB','isPlot','4065972EpcITY','map','points','length','type','setPoints','setStyle','380485MWCozX','stringify','8QLckZs','779304hMJDAC','10426725eEmaoM','setCoordinates','getPlotType','4490Ahmcxq','updateLastPoint','1372tkUWsU','finishDrawing','826605InjKTt','updatePoint','generate'];a54_0x134b=function(){return _0x415b50;};return a54_0x134b();}var a54_0x11e36b=a54_0x5ba4;(function(_0x8823,_0x47b8f4){var _0x491ece=a54_0x5ba4,_0x5cb60a=_0x8823();while(!![]){try{var _0x24a295=parseInt(_0x491ece(0x1e9))/0x1+parseInt(_0x491ece(0x1ed))/0x2+-parseInt(_0x491ece(0x1e1))/0x3+parseInt(_0x491ece(0x1e7))/0x4*(-parseInt(_0x491ece(0x1e5))/0x5)+parseInt(_0x491ece(0x1ef))/0x6+parseInt(_0x491ece(0x1de))/0x7*(-parseInt(_0x491ece(0x1e0))/0x8)+-parseInt(_0x491ece(0x1e2))/0x9;if(_0x24a295===_0x47b8f4)break;else _0x5cb60a['push'](_0x5cb60a['shift']());}catch(_0x575094){_0x5cb60a['push'](_0x5cb60a['shift']());}}}(a54_0x134b,0x6c1c9));import{Map}from'ol';function a54_0x5ba4(_0x50d4b5,_0x5d83ad){var _0x134bf8=a54_0x134b();return a54_0x5ba4=function(_0x5ba44c,_0x495f82){_0x5ba44c=_0x5ba44c-0x1de;var _0x92ade3=_0x134bf8[_0x5ba44c];return _0x92ade3;},a54_0x5ba4(_0x50d4b5,_0x5d83ad);}import{Point as a54_0x5c144b}from'ol/geom';class Point extends a54_0x5c144b{constructor(_0x2ee55c){var _0x210521=a54_0x5ba4;super([]),this[_0x210521(0x1f3)]='Point',this[_0x210521(0x1f1)]=_0x2ee55c,this[_0x210521(0x1f4)](_0x2ee55c);}[a54_0x11e36b(0x1e4)](){var _0x3fc44d=a54_0x11e36b;return this[_0x3fc44d(0x1f3)];}['generate'](){var _0x8e3f55=a54_0x11e36b;this[_0x8e3f55(0x1e3)](this[_0x8e3f55(0x1f1)][0x0]);}['setMap'](_0x2bfbd3){var _0xb0c52d=a54_0x11e36b;if(_0x2bfbd3&&_0x2bfbd3 instanceof Map)this[_0xb0c52d(0x1f0)]=_0x2bfbd3;else throw new Error(_0xb0c52d(0x1ec));}['getMap'](){var _0x2faad9=a54_0x11e36b;return this[_0x2faad9(0x1f0)];}[a54_0x11e36b(0x1ee)](){return!![];}[a54_0x11e36b(0x1f4)](_0xb12750){var _0xe45402=a54_0x11e36b;_0xb12750&&_0xb12750['length']>=0x1&&(this['points']=_0xb12750,this[_0xe45402(0x1eb)]());}['getPoints'](){var _0x4d42d6=a54_0x11e36b;return this[_0x4d42d6(0x1f1)];}['updatePoint'](_0x5022b5,_0x4d5a12){var _0x53993e=a54_0x11e36b;_0x4d5a12>=0x0&&_0x4d5a12<this[_0x53993e(0x1f1)]['length']&&(this[_0x53993e(0x1f1)][_0x4d5a12]=_0x5022b5,this[_0x53993e(0x1eb)]());}[a54_0x11e36b(0x1e6)](_0x344b73){var _0x35e0df=a54_0x11e36b;this[_0x35e0df(0x1ea)](_0x344b73,this[_0x35e0df(0x1f1)][_0x35e0df(0x1f2)]-0x1);}[a54_0x11e36b(0x1e8)](){}[a54_0x11e36b(0x1f5)](_0x9483dc){var _0x3529e8=a54_0x11e36b;this['style']=JSON['parse'](JSON[_0x3529e8(0x1df)](_0x9483dc));}}export default Point;
@@ -1 +1 @@
1
- var a55_0x2684fb=a55_0x35a6;(function(_0x22bb68,_0x30d9f2){var _0x300266=a55_0x35a6,_0x14e929=_0x22bb68();while(!![]){try{var _0x4b58a8=-parseInt(_0x300266(0x152))/0x1*(-parseInt(_0x300266(0x160))/0x2)+parseInt(_0x300266(0x168))/0x3+-parseInt(_0x300266(0x150))/0x4*(parseInt(_0x300266(0x165))/0x5)+parseInt(_0x300266(0x16c))/0x6*(parseInt(_0x300266(0x153))/0x7)+parseInt(_0x300266(0x157))/0x8*(parseInt(_0x300266(0x167))/0x9)+-parseInt(_0x300266(0x16d))/0xa*(parseInt(_0x300266(0x163))/0xb)+parseInt(_0x300266(0x155))/0xc*(-parseInt(_0x300266(0x16b))/0xd);if(_0x4b58a8===_0x30d9f2)break;else _0x14e929['push'](_0x14e929['shift']());}catch(_0x24b28a){_0x14e929['push'](_0x14e929['shift']());}}}(a55_0x16ad,0x4aebb));function a55_0x35a6(_0xe692f5,_0x22cd16){var _0x16ad05=a55_0x16ad();return a55_0x35a6=function(_0x35a689,_0x5594e1){_0x35a689=_0x35a689-0x150;var _0x57c131=_0x16ad05[_0x35a689];return _0x57c131;},a55_0x35a6(_0xe692f5,_0x22cd16);}import{Polygon}from'ol/geom';function a55_0x16ad(){var _0x2bb154=['1332558sFbGkO','isPlot','setMap','289627YmBUnc','6rSvhfZ','10VuViRT','543436xeJorJ','getGeoJson','5ALWeVG','2852423QPmmSs','getType','156TMESvq','传入的不是地图对象!','353144IFqJHq','length','slice','writeGeometryObject','setStyle','getPointCount','parse','finishDrawing','generate','95474WadzLA','style','getMap','4423562CUwGGS','map','5OhtbEu','points','9trEBTS'];a55_0x16ad=function(){return _0x2bb154;};return a55_0x16ad();}import a55_0x153577 from'ol/format/GeoJSON';import a55_0x49e0c8 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){super([]),this['points']=[];}[a55_0x2684fb(0x154)](){var _0x114965=a55_0x2684fb;return this['type']?this['type']:super[_0x114965(0x154)]();}[a55_0x2684fb(0x151)](){var _0x4f5606=a55_0x2684fb;return new a55_0x153577()[_0x4f5606(0x15a)](this);}[a55_0x2684fb(0x15b)](_0x2e5747){var _0x38baaa=a55_0x2684fb;_0x2e5747&&(this[_0x38baaa(0x161)]=JSON[_0x38baaa(0x15d)](JSON['stringify'](_0x2e5747)));}[a55_0x2684fb(0x16a)](_0x4472bf){var _0x2a9130=a55_0x2684fb;if(_0x4472bf&&_0x4472bf instanceof a55_0x49e0c8)this[_0x2a9130(0x164)]=_0x4472bf;else throw new Error(_0x2a9130(0x156));}[a55_0x2684fb(0x162)](){return this['map'];}[a55_0x2684fb(0x169)](){return!![];}['setPoints'](_0xc2fdea){var _0x408a89=a55_0x2684fb;this[_0x408a89(0x166)]=!_0xc2fdea?[]:_0xc2fdea,this['points'][_0x408a89(0x158)]>=0x1&&this[_0x408a89(0x15f)]();}[a55_0x2684fb(0x15f)](){}['getPoints'](){var _0x224981=a55_0x2684fb;return this['points'][_0x224981(0x159)](0x0);}[a55_0x2684fb(0x15c)](){var _0x7c7752=a55_0x2684fb;return this[_0x7c7752(0x166)][_0x7c7752(0x158)];}[a55_0x2684fb(0x15e)](){}}export default BasePolygon;
1
+ var a55_0x47194f=a55_0x2195;function a55_0xcb6c(){var _0x453ec9=['length','717180eAKTqf','393834ITyMAs','parse','5400304xWrdhu','slice','stringify','generate','writeGeometryObject','传入的不是地图对象!','getPoints','isPlot','4YQjNDH','map','getGeoJson','getType','649550SNIiOL','getPointCount','type','2192029dEIbDe','33994ntVaHt','finishDrawing','setPoints','1152096LlDwGK','points','setStyle'];a55_0xcb6c=function(){return _0x453ec9;};return a55_0xcb6c();}function a55_0x2195(_0x35c4fe,_0x7de267){var _0xcb6c20=a55_0xcb6c();return a55_0x2195=function(_0x2195b0,_0x5b8561){_0x2195b0=_0x2195b0-0x1e6;var _0x135bbd=_0xcb6c20[_0x2195b0];return _0x135bbd;},a55_0x2195(_0x35c4fe,_0x7de267);}(function(_0x29fdbe,_0x49f704){var _0x561245=a55_0x2195,_0x2f8264=_0x29fdbe();while(!![]){try{var _0x50da21=-parseInt(_0x561245(0x1f9))/0x1+parseInt(_0x561245(0x1f1))/0x2*(parseInt(_0x561245(0x1e7))/0x3)+parseInt(_0x561245(0x1fc))/0x4+parseInt(_0x561245(0x1f5))/0x5+-parseInt(_0x561245(0x1e6))/0x6+parseInt(_0x561245(0x1f8))/0x7+-parseInt(_0x561245(0x1e9))/0x8;if(_0x50da21===_0x49f704)break;else _0x2f8264['push'](_0x2f8264['shift']());}catch(_0x3794df){_0x2f8264['push'](_0x2f8264['shift']());}}}(a55_0xcb6c,0x284d3));import{Polygon}from'ol/geom';import a55_0x4793b5 from'ol/format/GeoJSON';import a55_0x2b0e89 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x594954=a55_0x2195;super([]),this[_0x594954(0x1fd)]=[];}[a55_0x47194f(0x1f4)](){var _0x2b8db4=a55_0x47194f;return this[_0x2b8db4(0x1f7)]?this['type']:super[_0x2b8db4(0x1f4)]();}[a55_0x47194f(0x1f3)](){var _0x510bff=a55_0x47194f;return new a55_0x4793b5()[_0x510bff(0x1ed)](this);}[a55_0x47194f(0x1fe)](_0x3dd12d){var _0x196443=a55_0x47194f;_0x3dd12d&&(this['style']=JSON[_0x196443(0x1e8)](JSON[_0x196443(0x1eb)](_0x3dd12d)));}['setMap'](_0x27c7e5){var _0x2f8126=a55_0x47194f;if(_0x27c7e5&&_0x27c7e5 instanceof a55_0x2b0e89)this[_0x2f8126(0x1f2)]=_0x27c7e5;else throw new Error(_0x2f8126(0x1ee));}['getMap'](){var _0x575956=a55_0x47194f;return this[_0x575956(0x1f2)];}[a55_0x47194f(0x1f0)](){return!![];}[a55_0x47194f(0x1fb)](_0x49817f){var _0x1cdfcb=a55_0x47194f;this[_0x1cdfcb(0x1fd)]=!_0x49817f?[]:_0x49817f,this[_0x1cdfcb(0x1fd)][_0x1cdfcb(0x1ff)]>=0x1&&this['generate']();}[a55_0x47194f(0x1ec)](){}[a55_0x47194f(0x1ef)](){var _0x9aa1e8=a55_0x47194f;return this['points'][_0x9aa1e8(0x1ea)](0x0);}[a55_0x47194f(0x1f6)](){var _0x4a4ef3=a55_0x47194f;return this[_0x4a4ef3(0x1fd)][_0x4a4ef3(0x1ff)];}[a55_0x47194f(0x1fa)](){}}export default BasePolygon;
@@ -1 +1 @@
1
- const a56_0x1e63d1=a56_0x37cd;(function(_0x26d7e5,_0x5136a0){const _0x181a53=a56_0x37cd,_0x3a1235=_0x26d7e5();while(!![]){try{const _0xd8296e=-parseInt(_0x181a53(0x1d3))/0x1*(-parseInt(_0x181a53(0x1de))/0x2)+parseInt(_0x181a53(0x1da))/0x3+-parseInt(_0x181a53(0x1e6))/0x4+-parseInt(_0x181a53(0x1e3))/0x5+parseInt(_0x181a53(0x1d7))/0x6*(parseInt(_0x181a53(0x1dc))/0x7)+-parseInt(_0x181a53(0x1d6))/0x8+parseInt(_0x181a53(0x1e0))/0x9;if(_0xd8296e===_0x5136a0)break;else _0x3a1235['push'](_0x3a1235['shift']());}catch(_0x5ba92c){_0x3a1235['push'](_0x3a1235['shift']());}}}(a56_0x16ed,0x48f94));import{Circle as a56_0x2dcd3c}from'ol/geom';import a56_0x596364 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a56_0x25414f}from'ol/coordinate';function a56_0x16ed(){const _0xc2ab46=['3800912NVeoSN','6LNPYCI','points','length','1613448yWjqEy','updatePoint','1636929IvnkoU','setCenter','678ywWlYa','type','3352266FxauEM','setCenterAndRadius','generate','1861075uTefkw','getRadius','Circle','2280560KzExUu','updateLastPoint','sqrt','1688DagIxO','setPoints','toRadians'];a56_0x16ed=function(){return _0xc2ab46;};return a56_0x16ed();}import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';function a56_0x37cd(_0x2b4b57,_0x2c0c96){const _0x16ed53=a56_0x16ed();return a56_0x37cd=function(_0x37cd6a,_0x24acd3){_0x37cd6a=_0x37cd6a-0x1d2;let _0x444920=_0x16ed53[_0x37cd6a];return _0x444920;},a56_0x37cd(_0x2b4b57,_0x2c0c96);}class Circle extends a56_0x2dcd3c{constructor(_0x42fd36){const _0x1984e2=a56_0x37cd;super([]),this[_0x1984e2(0x1d8)]=_0x42fd36,this[_0x1984e2(0x1df)]=_0x1984e2(0x1e5),_0x42fd36&&_0x42fd36[_0x1984e2(0x1d9)]>0x0&&this[_0x1984e2(0x1d4)](_0x42fd36);}[a56_0x1e63d1(0x1d4)](_0x5da112){const _0x1955fb=a56_0x1e63d1;var _0x3944d1;((_0x3944d1=this['points'])===null||_0x3944d1===void 0x0?void 0x0:_0x3944d1[_0x1955fb(0x1d9)])>0x0&&(_0x5da112===null||_0x5da112===void 0x0?void 0x0:_0x5da112[_0x1955fb(0x1d9)])>0x0&&!compareArray(this[_0x1955fb(0x1d8)][0x0],_0x5da112[0x0])?this['setCenter'](_0x5da112[0x0]):(this[_0x1955fb(0x1d8)]=!_0x5da112?[]:_0x5da112,this[_0x1955fb(0x1d8)]['length']>=0x1&&(this[_0x1955fb(0x1e2)]&&this['generate']()));}[a56_0x1e63d1(0x1e2)](){const _0x3ef8e8=a56_0x1e63d1;let _0x34708b=this['points'][_0x3ef8e8(0x1d9)];if(_0x34708b<0x2)return![];else{const _0xbd9ff4=this[_0x3ef8e8(0x1d8)][0x0],_0x3adac1=a56_0x25414f(_0xbd9ff4,this[_0x3ef8e8(0x1d8)][0x1]);this[_0x3ef8e8(0x1e1)](_0xbd9ff4,Math[_0x3ef8e8(0x1d2)](_0x3adac1));}}['setCenter'](_0x4cd41b){const _0x5238b7=a56_0x1e63d1;this[_0x5238b7(0x1dd)](_0x4cd41b),this['points']=[_0x4cd41b,offset(_0x4cd41b,this[_0x5238b7(0x1e4)](),this[_0x5238b7(0x1d5)](0x5a))],this[_0x5238b7(0x1e2)]();}[a56_0x1e63d1(0x1d5)](_0x36d8a0){return _0x36d8a0*Math['PI']/0xb4;}['getGeoJson'](){return new a56_0x596364()['writeGeometryObject'](fromCircle(this));}['updatePoint'](_0xf8e6f4,_0x1b5296){const _0x195c29=a56_0x1e63d1;_0x1b5296>=0x0&&_0x1b5296<this[_0x195c29(0x1d8)][_0x195c29(0x1d9)]&&(this[_0x195c29(0x1d8)][_0x1b5296]=_0xf8e6f4,this[_0x195c29(0x1e2)]());}[a56_0x1e63d1(0x1e7)](_0xc3fd25){const _0x74da32=a56_0x1e63d1;this[_0x74da32(0x1db)](_0xc3fd25,this['points'][_0x74da32(0x1d9)]-0x1);}}export default Circle;
1
+ const a56_0x1a195c=a56_0x1c3a;(function(_0x3cc88b,_0x4e398d){const _0x4870ce=a56_0x1c3a,_0x3fde62=_0x3cc88b();while(!![]){try{const _0x195de6=-parseInt(_0x4870ce(0x96))/0x1*(-parseInt(_0x4870ce(0x9d))/0x2)+-parseInt(_0x4870ce(0xa9))/0x3+-parseInt(_0x4870ce(0xa1))/0x4*(parseInt(_0x4870ce(0xa7))/0x5)+parseInt(_0x4870ce(0xa0))/0x6*(-parseInt(_0x4870ce(0x9b))/0x7)+parseInt(_0x4870ce(0x9f))/0x8+-parseInt(_0x4870ce(0xa4))/0x9+parseInt(_0x4870ce(0x9c))/0xa;if(_0x195de6===_0x4e398d)break;else _0x3fde62['push'](_0x3fde62['shift']());}catch(_0x5bbcd3){_0x3fde62['push'](_0x3fde62['shift']());}}}(a56_0x4232,0x7b683));import{Circle as a56_0x136381}from'ol/geom';import a56_0x5c8b86 from'ol/format/GeoJSON';function a56_0x4232(){const _0xdbaa05=['setCenterAndRadius','setCenter','6759Idtgvv','generate','getRadius','writeGeometryObject','setPoints','56YyFmDs','734810ERjkje','226iXoDfs','toRadians','7993200yudRGt','76572IzslSW','4dorfER','updatePoint','sqrt','2267082NpvpUZ','points','type','3117540vnJBeZ','getGeoJson','1060263osOkkS','length'];a56_0x4232=function(){return _0xdbaa05;};return a56_0x4232();}import{offset}from'ol/sphere';import{squaredDistance as a56_0x5cd095}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a56_0x136381{constructor(_0x17e020){const _0x23703b=a56_0x1c3a;super([]),this[_0x23703b(0xa5)]=_0x17e020,this[_0x23703b(0xa6)]='Circle',_0x17e020&&_0x17e020['length']>0x0&&this[_0x23703b(0x9a)](_0x17e020);}['setPoints'](_0x182867){const _0x1b2880=a56_0x1c3a;var _0x578a8d;((_0x578a8d=this['points'])===null||_0x578a8d===void 0x0?void 0x0:_0x578a8d[_0x1b2880(0x93)])>0x0&&(_0x182867===null||_0x182867===void 0x0?void 0x0:_0x182867[_0x1b2880(0x93)])>0x0&&!compareArray(this[_0x1b2880(0xa5)][0x0],_0x182867[0x0])?this[_0x1b2880(0x95)](_0x182867[0x0]):(this[_0x1b2880(0xa5)]=!_0x182867?[]:_0x182867,this[_0x1b2880(0xa5)][_0x1b2880(0x93)]>=0x1&&(this[_0x1b2880(0x97)]&&this[_0x1b2880(0x97)]()));}[a56_0x1a195c(0x97)](){const _0x519d65=a56_0x1a195c;let _0x47016e=this[_0x519d65(0xa5)]['length'];if(_0x47016e<0x2)return![];else{const _0x5ed59c=this[_0x519d65(0xa5)][0x0],_0x43acd1=a56_0x5cd095(_0x5ed59c,this[_0x519d65(0xa5)][0x1]);this[_0x519d65(0x94)](_0x5ed59c,Math[_0x519d65(0xa3)](_0x43acd1));}}['setCenter'](_0x1753cf){const _0x3423df=a56_0x1a195c;this['setCenter'](_0x1753cf),this[_0x3423df(0xa5)]=[_0x1753cf,offset(_0x1753cf,this[_0x3423df(0x98)](),this[_0x3423df(0x9e)](0x5a))],this[_0x3423df(0x97)]();}['toRadians'](_0x5583b9){return _0x5583b9*Math['PI']/0xb4;}[a56_0x1a195c(0xa8)](){const _0x4ac260=a56_0x1a195c;return new a56_0x5c8b86()[_0x4ac260(0x99)](fromCircle(this));}[a56_0x1a195c(0xa2)](_0x509862,_0x201d82){const _0x523f18=a56_0x1a195c;_0x201d82>=0x0&&_0x201d82<this[_0x523f18(0xa5)]['length']&&(this[_0x523f18(0xa5)][_0x201d82]=_0x509862,this[_0x523f18(0x97)]());}['updateLastPoint'](_0x5f038e){const _0x13b85f=a56_0x1a195c;this[_0x13b85f(0xa2)](_0x5f038e,this[_0x13b85f(0xa5)][_0x13b85f(0x93)]-0x1);}}function a56_0x1c3a(_0x4a69b9,_0x282eb7){const _0x42327d=a56_0x4232();return a56_0x1c3a=function(_0x1c3ac8,_0x1da192){_0x1c3ac8=_0x1c3ac8-0x93;let _0x443fdb=_0x42327d[_0x1c3ac8];return _0x443fdb;},a56_0x1c3a(_0x4a69b9,_0x282eb7);}export default Circle;
@@ -1 +1 @@
1
- const a57_0x381e8f=a57_0x2538;(function(_0x2ce57c,_0x3b38b5){const _0x5cc000=a57_0x2538,_0x429e33=_0x2ce57c();while(!![]){try{const _0x4b4f7b=parseInt(_0x5cc000(0x85))/0x1*(parseInt(_0x5cc000(0x7f))/0x2)+-parseInt(_0x5cc000(0x75))/0x3+parseInt(_0x5cc000(0x73))/0x4+parseInt(_0x5cc000(0x74))/0x5*(parseInt(_0x5cc000(0x83))/0x6)+parseInt(_0x5cc000(0x80))/0x7+-parseInt(_0x5cc000(0x7d))/0x8*(parseInt(_0x5cc000(0x7c))/0x9)+-parseInt(_0x5cc000(0x89))/0xa*(parseInt(_0x5cc000(0x86))/0xb);if(_0x4b4f7b===_0x3b38b5)break;else _0x429e33['push'](_0x429e33['shift']());}catch(_0x2df33b){_0x429e33['push'](_0x429e33['shift']());}}}(a57_0x4b19,0x50159));import a57_0x4b89a5 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a57_0x2538(_0x201f27,_0x2af5e3){const _0x4b19f4=a57_0x4b19();return a57_0x2538=function(_0x2538a9,_0x17636b){_0x2538a9=_0x2538a9-0x71;let _0x242f9e=_0x4b19f4[_0x2538a9];return _0x242f9e;},a57_0x2538(_0x201f27,_0x2af5e3);}class Polygon extends a57_0x4b89a5{constructor(_0x430d4c){const _0x592694=a57_0x2538;super(),this[_0x592694(0x88)]=_0x592694(0x71),_0x430d4c&&_0x430d4c[_0x592694(0x82)]>0x0&&getDeepth(_0x430d4c)==0x2?this[_0x592694(0x87)](_0x430d4c):this['setCoordinates'](_0x430d4c);}[a57_0x381e8f(0x7b)](_0x530a58){const _0x1e457e=a57_0x381e8f;let _0x5a9618=_0x530a58[0x0],_0xd2f63=_0x530a58[_0x530a58[_0x1e457e(0x82)]-0x1];return _0x5a9618[0x0]===_0xd2f63[0x0]&&_0x5a9618[0x1]===_0xd2f63[0x1]&&_0x5a9618[0x2]===_0xd2f63[0x2];}[a57_0x381e8f(0x78)](){const _0x539ba2=a57_0x381e8f;let _0x483824=this[_0x539ba2(0x7a)]();if(_0x483824<0x2)return![];else{let _0x28369=JSON[_0x539ba2(0x7e)](JSON[_0x539ba2(0x79)](this[_0x539ba2(0x72)]));_0x483824>=0x3&&(!this[_0x539ba2(0x7b)](_0x28369)&&_0x28369[_0x539ba2(0x81)](_0x28369[0x0])),this['setCoordinates']([_0x28369]);}}[a57_0x381e8f(0x77)](_0x4fee38,_0x1229ef){const _0x167481=a57_0x381e8f;_0x1229ef>=0x0&&_0x1229ef<this[_0x167481(0x72)][_0x167481(0x82)]&&(this[_0x167481(0x72)][_0x1229ef]=_0x4fee38,this[_0x167481(0x78)]());}[a57_0x381e8f(0x76)](){return![];}[a57_0x381e8f(0x84)](_0x15fbc9){const _0x418b43=a57_0x381e8f;this[_0x418b43(0x77)](_0x15fbc9,this[_0x418b43(0x72)]['length']-0x1);}}export default Polygon;function a57_0x4b19(){const _0x230500=['generate','stringify','getPointCount','_closed','2923443YJZnHD','8psajZq','parse','2uUPiBJ','1607921naHahw','push','length','12VZcJmm','updateLastPoint','402547XIiPwk','11aIHUqE','setPoints','type','2296270sCyaLm','Polygon','points','1236232FfPtNw','31545upDlLs','214341GFZFkD','isPlot','updatePoint'];a57_0x4b19=function(){return _0x230500;};return a57_0x4b19();}
1
+ const a57_0x132ac8=a57_0x5f19;(function(_0xef9a1b,_0x2c8997){const _0x303300=a57_0x5f19,_0x584518=_0xef9a1b();while(!![]){try{const _0x32a4fe=parseInt(_0x303300(0x1e6))/0x1*(-parseInt(_0x303300(0x1ee))/0x2)+-parseInt(_0x303300(0x1f4))/0x3*(parseInt(_0x303300(0x1e4))/0x4)+-parseInt(_0x303300(0x1f2))/0x5+parseInt(_0x303300(0x1dc))/0x6+parseInt(_0x303300(0x1e1))/0x7*(-parseInt(_0x303300(0x1e5))/0x8)+-parseInt(_0x303300(0x1ec))/0x9*(parseInt(_0x303300(0x1df))/0xa)+-parseInt(_0x303300(0x1ea))/0xb*(-parseInt(_0x303300(0x1e7))/0xc);if(_0x32a4fe===_0x2c8997)break;else _0x584518['push'](_0x584518['shift']());}catch(_0x26a827){_0x584518['push'](_0x584518['shift']());}}}(a57_0xc9a0,0x44bfb));function a57_0xc9a0(){const _0x56f297=['35228IrTARv','16RNFnPc','470180tNccKf','12gUiRyU','stringify','length','17166281jEJmvX','getPointCount','405PqHPxa','setPoints','2YqjKpW','push','parse','_closed','1655625Ejyvtc','setCoordinates','105uCHuec','Polygon','1801092VDxfTN','isPlot','points','45660qUEAJj','updateLastPoint','924483AXpuIY','generate','updatePoint'];a57_0xc9a0=function(){return _0x56f297;};return a57_0xc9a0();}import a57_0x408c33 from'./BasePolygon';function a57_0x5f19(_0x28588e,_0x81a043){const _0xc9a0dd=a57_0xc9a0();return a57_0x5f19=function(_0x5f19f3,_0x4f2f22){_0x5f19f3=_0x5f19f3-0x1dc;let _0x211007=_0xc9a0dd[_0x5f19f3];return _0x211007;},a57_0x5f19(_0x28588e,_0x81a043);}import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a57_0x408c33{constructor(_0x21f0cc){const _0x47742c=a57_0x5f19;super(),this['type']=_0x47742c(0x1f5),_0x21f0cc&&_0x21f0cc['length']>0x0&&getDeepth(_0x21f0cc)==0x2?this[_0x47742c(0x1ed)](_0x21f0cc):this[_0x47742c(0x1f3)](_0x21f0cc);}[a57_0x132ac8(0x1f1)](_0xf3cb08){const _0x10ce38=a57_0x132ac8;let _0x48fc29=_0xf3cb08[0x0],_0x7c81b=_0xf3cb08[_0xf3cb08[_0x10ce38(0x1e9)]-0x1];return _0x48fc29[0x0]===_0x7c81b[0x0]&&_0x48fc29[0x1]===_0x7c81b[0x1]&&_0x48fc29[0x2]===_0x7c81b[0x2];}[a57_0x132ac8(0x1e2)](){const _0xac61ef=a57_0x132ac8;let _0x44ed7b=this[_0xac61ef(0x1eb)]();if(_0x44ed7b<0x2)return![];else{let _0x17dccc=JSON[_0xac61ef(0x1f0)](JSON[_0xac61ef(0x1e8)](this['points']));_0x44ed7b>=0x3&&(!this[_0xac61ef(0x1f1)](_0x17dccc)&&_0x17dccc[_0xac61ef(0x1ef)](_0x17dccc[0x0])),this[_0xac61ef(0x1f3)]([_0x17dccc]);}}[a57_0x132ac8(0x1e3)](_0x26944e,_0x32a31e){const _0x4d42b7=a57_0x132ac8;_0x32a31e>=0x0&&_0x32a31e<this[_0x4d42b7(0x1de)]['length']&&(this['points'][_0x32a31e]=_0x26944e,this[_0x4d42b7(0x1e2)]());}[a57_0x132ac8(0x1dd)](){return![];}[a57_0x132ac8(0x1e0)](_0x2c97b2){const _0x1a6480=a57_0x132ac8;this[_0x1a6480(0x1e3)](_0x2c97b2,this[_0x1a6480(0x1de)]['length']-0x1);}}export default Polygon;
@@ -1 +1 @@
1
- const a58_0x30a7da=a58_0x5ad5;function a58_0x256f(){const _0x36a8e0=['1769289swXklI','generate','5jAoykG','7iIRGCz','updatePoint','length','points','setCoordinates','486131LGEYGz','Polygon','4DtLyzt','8210424ITnwaP','3176550NCOOaC','type','8102630iJjSqA','9825522zMbqLT','3296354aldNqn'];a58_0x256f=function(){return _0x36a8e0;};return a58_0x256f();}function a58_0x5ad5(_0x5125b1,_0x138a5d){const _0x256f18=a58_0x256f();return a58_0x5ad5=function(_0x5ad587,_0x3fcf6e){_0x5ad587=_0x5ad587-0xb2;let _0x14aeaa=_0x256f18[_0x5ad587];return _0x14aeaa;},a58_0x5ad5(_0x5125b1,_0x138a5d);}(function(_0x5534aa,_0x12a9b2){const _0xd173bc=a58_0x5ad5,_0x59546b=_0x5534aa();while(!![]){try{const _0x362427=parseInt(_0xd173bc(0xb4))/0x1+parseInt(_0xd173bc(0xbc))/0x2+-parseInt(_0xd173bc(0xbd))/0x3*(parseInt(_0xd173bc(0xb6))/0x4)+-parseInt(_0xd173bc(0xbf))/0x5*(-parseInt(_0xd173bc(0xbb))/0x6)+parseInt(_0xd173bc(0xc0))/0x7*(-parseInt(_0xd173bc(0xb7))/0x8)+-parseInt(_0xd173bc(0xb8))/0x9+-parseInt(_0xd173bc(0xba))/0xa;if(_0x362427===_0x12a9b2)break;else _0x59546b['push'](_0x59546b['shift']());}catch(_0x2b07b3){_0x59546b['push'](_0x59546b['shift']());}}}(a58_0x256f,0xf2568));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a58_0x222dd6 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x222dd6{constructor(_0x3fc984){const _0x31c3a2=a58_0x5ad5;super(),this[_0x31c3a2(0xb9)]=_0x31c3a2(0xb5),_0x3fc984&&_0x3fc984[_0x31c3a2(0xc2)]>0x0&&getDeepth(_0x3fc984)==0x2?this['setPoints'](_0x3fc984):this[_0x31c3a2(0xb3)](_0x3fc984);}['generate'](){const _0x721f10=a58_0x5ad5;if(this[_0x721f10(0xb2)][_0x721f10(0xc2)]===0x2){let _0x2be8ab=[],_0x5b2417=boundingExtent(this['points']),_0x44a69d=fromExtent(_0x5b2417);_0x2be8ab=_0x44a69d['getCoordinates'](),this[_0x721f10(0xb3)](_0x2be8ab);}}[a58_0x30a7da(0xc1)](_0x472176,_0xb86d5b){const _0x11f7e4=a58_0x30a7da;_0xb86d5b>=0x0&&_0xb86d5b<this[_0x11f7e4(0xb2)][_0x11f7e4(0xc2)]&&(this[_0x11f7e4(0xb2)][_0xb86d5b]=_0x472176,this[_0x11f7e4(0xbe)]());}['updateLastPoint'](_0xabeb81){const _0x4a9103=a58_0x30a7da;this[_0x4a9103(0xc1)](_0xabeb81,this[_0x4a9103(0xb2)]['length']-0x1);}}export default RectAngle;
1
+ function a58_0x16f4(_0x32cc26,_0x31a25f){const _0x5af575=a58_0x5af5();return a58_0x16f4=function(_0x16f4fb,_0x24ba78){_0x16f4fb=_0x16f4fb-0x88;let _0x338004=_0x5af575[_0x16f4fb];return _0x338004;},a58_0x16f4(_0x32cc26,_0x31a25f);}const a58_0x499462=a58_0x16f4;function a58_0x5af5(){const _0x8772d4=['1405170pulpJl','1SecZCX','84cjpGKP','149190ZkcEKN','generate','1842096pLTbFi','343576FWyJub','803132PanXFm','points','36xDRgFm','356079UWHYpD','updatePoint','1600124lXGxIU','length','21aPiOVo','getCoordinates','updateLastPoint','setPoints','type'];a58_0x5af5=function(){return _0x8772d4;};return a58_0x5af5();}(function(_0x13d87f,_0x3068fd){const _0x44b761=a58_0x16f4,_0x387e30=_0x13d87f();while(!![]){try{const _0x31fa12=-parseInt(_0x44b761(0x97))/0x1*(-parseInt(_0x44b761(0x8f))/0x2)+parseInt(_0x44b761(0x8d))/0x3+-parseInt(_0x44b761(0x88))/0x4+parseInt(_0x44b761(0x99))/0x5*(-parseInt(_0x44b761(0x98))/0x6)+-parseInt(_0x44b761(0x91))/0x7*(parseInt(_0x44b761(0x89))/0x8)+parseInt(_0x44b761(0x8c))/0x9*(parseInt(_0x44b761(0x96))/0xa)+parseInt(_0x44b761(0x8a))/0xb;if(_0x31fa12===_0x3068fd)break;else _0x387e30['push'](_0x387e30['shift']());}catch(_0x3f05be){_0x387e30['push'](_0x387e30['shift']());}}}(a58_0x5af5,0x857b2));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a58_0x3b7d3d from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x3b7d3d{constructor(_0x3e5a5a){const _0x18673e=a58_0x16f4;super(),this[_0x18673e(0x95)]='Polygon',_0x3e5a5a&&_0x3e5a5a[_0x18673e(0x90)]>0x0&&getDeepth(_0x3e5a5a)==0x2?this[_0x18673e(0x94)](_0x3e5a5a):this['setCoordinates'](_0x3e5a5a);}[a58_0x499462(0x9a)](){const _0x2721cf=a58_0x499462;if(this[_0x2721cf(0x8b)][_0x2721cf(0x90)]===0x2){let _0x5691d6=[],_0x5a4425=boundingExtent(this['points']),_0x59b580=fromExtent(_0x5a4425);_0x5691d6=_0x59b580[_0x2721cf(0x92)](),this['setCoordinates'](_0x5691d6);}}[a58_0x499462(0x8e)](_0x5b77ae,_0x579b17){const _0x475679=a58_0x499462;_0x579b17>=0x0&&_0x579b17<this[_0x475679(0x8b)][_0x475679(0x90)]&&(this['points'][_0x579b17]=_0x5b77ae,this[_0x475679(0x9a)]());}[a58_0x499462(0x93)](_0x4ece82){const _0x418eb6=a58_0x499462;this['updatePoint'](_0x4ece82,this['points'][_0x418eb6(0x90)]-0x1);}}export default RectAngle;
@@ -1 +1 @@
1
- var a59_0x4fb08a=a59_0x3f32;function a59_0x3f32(_0x1e3b85,_0x201ebf){var _0x3941c9=a59_0x3941();return a59_0x3f32=function(_0x3f3245,_0x52f1af){_0x3f3245=_0x3f3245-0x19d;var _0x2c60ee=_0x3941c9[_0x3f3245];return _0x2c60ee;},a59_0x3f32(_0x1e3b85,_0x201ebf);}(function(_0x1675b9,_0xd5aa2e){var _0x1fa646=a59_0x3f32,_0x3ca7fc=_0x1675b9();while(!![]){try{var _0x573c9a=parseInt(_0x1fa646(0x1b3))/0x1*(parseInt(_0x1fa646(0x1af))/0x2)+-parseInt(_0x1fa646(0x1b5))/0x3*(-parseInt(_0x1fa646(0x1b2))/0x4)+-parseInt(_0x1fa646(0x19d))/0x5+-parseInt(_0x1fa646(0x1ab))/0x6+-parseInt(_0x1fa646(0x19f))/0x7+-parseInt(_0x1fa646(0x1a8))/0x8*(parseInt(_0x1fa646(0x1a3))/0x9)+-parseInt(_0x1fa646(0x1a1))/0xa*(-parseInt(_0x1fa646(0x1a5))/0xb);if(_0x573c9a===_0xd5aa2e)break;else _0x3ca7fc['push'](_0x3ca7fc['shift']());}catch(_0x30b9d7){_0x3ca7fc['push'](_0x3ca7fc['shift']());}}}(a59_0x3941,0x764c6));import{LineString}from'ol/geom';import a59_0xf915d9 from'ol/format/GeoJSON';import a59_0x40a744 from'../../../mapView/Map';function a59_0x3941(){var _0x2e93b5=['map','80JWWVFc','generate','getPointCount','5743488mpXask','type','stringify','getPoints','1281254xLaLQi','points','parse','4rxhSkt','1IrEkSV','setPoints','2202861dhPXlO','writeGeometryObject','length','finishDrawing','isPlot','955115qcHCCD','getPlotType','2747808QWJBcL','style','10871810yKHjdK','传入的不是地图对象!','393057hljmam','setMap','11neVRhD','getMap'];a59_0x3941=function(){return _0x2e93b5;};return a59_0x3941();}class Plot extends LineString{constructor(){super([]),this['points']=[];}[a59_0x4fb08a(0x19e)](){var _0x213c6c=a59_0x4fb08a;return this[_0x213c6c(0x1ac)];}['getGeoJson'](){var _0x21ad13=a59_0x4fb08a;return new a59_0xf915d9()[_0x21ad13(0x1b6)](this);}['setStyle'](_0x47750b){var _0x526a67=a59_0x4fb08a;this[_0x526a67(0x1a0)]=JSON[_0x526a67(0x1b1)](JSON[_0x526a67(0x1ad)](_0x47750b));}[a59_0x4fb08a(0x1a4)](_0x487d21){var _0x9dddc2=a59_0x4fb08a;if(_0x487d21&&_0x487d21 instanceof a59_0x40a744)this[_0x9dddc2(0x1a7)]=_0x487d21;else throw new Error(_0x9dddc2(0x1a2));}[a59_0x4fb08a(0x1a6)](){return this['map'];}[a59_0x4fb08a(0x1b9)](){return!![];}[a59_0x4fb08a(0x1b4)](_0x475d58){var _0xcc3005=a59_0x4fb08a;this[_0xcc3005(0x1b0)]=!_0x475d58?[]:_0x475d58,this[_0xcc3005(0x1b0)][_0xcc3005(0x1b7)]>=0x1&&(this['generate']&&this[_0xcc3005(0x1a9)]());}[a59_0x4fb08a(0x1a9)](){}[a59_0x4fb08a(0x1ae)](){var _0x37a45f=a59_0x4fb08a;return this[_0x37a45f(0x1b0)]['slice'](0x0);}[a59_0x4fb08a(0x1aa)](){var _0x1c274c=a59_0x4fb08a;return this[_0x1c274c(0x1b0)]['length'];}[a59_0x4fb08a(0x1b8)](){}}export default Plot;
1
+ var a59_0x178625=a59_0xf5e2;(function(_0x4d458a,_0x2871c2){var _0x599789=a59_0xf5e2,_0x4a004d=_0x4d458a();while(!![]){try{var _0xc20e70=parseInt(_0x599789(0x14d))/0x1+parseInt(_0x599789(0x163))/0x2+parseInt(_0x599789(0x159))/0x3+parseInt(_0x599789(0x161))/0x4*(parseInt(_0x599789(0x154))/0x5)+-parseInt(_0x599789(0x152))/0x6+parseInt(_0x599789(0x162))/0x7+parseInt(_0x599789(0x157))/0x8;if(_0xc20e70===_0x2871c2)break;else _0x4a004d['push'](_0x4a004d['shift']());}catch(_0x5e10a8){_0x4a004d['push'](_0x4a004d['shift']());}}}(a59_0x1ab1,0x301ff));import{LineString}from'ol/geom';function a59_0x1ab1(){var _0x3dd12c=['stringify','292965MqBSpc','setStyle','points','126392iMuhbN','传入的不是地图对象!','265536DOnsfY','setMap','generate','style','map','slice','getPoints','getMap','4fyEFVE','423885BLgZtw','150120CdDevQ','220171RRSrtm','getPlotType','writeGeometryObject','finishDrawing','isPlot','1929426uRmAFh'];a59_0x1ab1=function(){return _0x3dd12c;};return a59_0x1ab1();}import a59_0x37653f from'ol/format/GeoJSON';import a59_0x19d6a2 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x2e6a1e=a59_0xf5e2;super([]),this[_0x2e6a1e(0x156)]=[];}[a59_0x178625(0x14e)](){return this['type'];}['getGeoJson'](){var _0x145e31=a59_0x178625;return new a59_0x37653f()[_0x145e31(0x14f)](this);}[a59_0x178625(0x155)](_0x3a30e3){var _0x281a14=a59_0x178625;this[_0x281a14(0x15c)]=JSON['parse'](JSON[_0x281a14(0x153)](_0x3a30e3));}[a59_0x178625(0x15a)](_0x5d85ea){var _0x5505ea=a59_0x178625;if(_0x5d85ea&&_0x5d85ea instanceof a59_0x19d6a2)this[_0x5505ea(0x15d)]=_0x5d85ea;else throw new Error(_0x5505ea(0x158));}[a59_0x178625(0x160)](){return this['map'];}[a59_0x178625(0x151)](){return!![];}['setPoints'](_0x5d5a7b){var _0x7149ac=a59_0x178625;this[_0x7149ac(0x156)]=!_0x5d5a7b?[]:_0x5d5a7b,this['points']['length']>=0x1&&(this['generate']&&this[_0x7149ac(0x15b)]());}[a59_0x178625(0x15b)](){}[a59_0x178625(0x15f)](){var _0x292b93=a59_0x178625;return this[_0x292b93(0x156)][_0x292b93(0x15e)](0x0);}['getPointCount'](){return this['points']['length'];}[a59_0x178625(0x150)](){}}function a59_0xf5e2(_0x3e0dc0,_0x13866f){var _0x1ab1e6=a59_0x1ab1();return a59_0xf5e2=function(_0xf5e222,_0x412ae9){_0xf5e222=_0xf5e222-0x14d;var _0x26c5ff=_0x1ab1e6[_0xf5e222];return _0x26c5ff;},a59_0xf5e2(_0x3e0dc0,_0x13866f);}export default Plot;
@@ -1 +1 @@
1
- var a60_0x49e32f=a60_0x48fc;function a60_0x373e(){var _0x3d25b2=['980602dxmVqL','536049EOyHlL','style','1ICqtKS','LineString','updatePoint','points','updateLastPoint','21mubiiJ','50064kGlldN','11GXnMCL','169438gyRdcv','type','length','stringify','203690OuQddC','60460nIJUdW','7368JhBECq','isPlot','generate','setCoordinates','320pCYxvE'];a60_0x373e=function(){return _0x3d25b2;};return a60_0x373e();}(function(_0x47a6e9,_0xdd0805){var _0x2fc7b7=a60_0x48fc,_0x2e9a94=_0x47a6e9();while(!![]){try{var _0x4c6b0a=parseInt(_0x2fc7b7(0x1e0))/0x1*(parseInt(_0x2fc7b7(0x1e8))/0x2)+-parseInt(_0x2fc7b7(0x1e5))/0x3*(parseInt(_0x2fc7b7(0x1d7))/0x4)+parseInt(_0x2fc7b7(0x1dc))/0x5*(-parseInt(_0x2fc7b7(0x1d8))/0x6)+parseInt(_0x2fc7b7(0x1dd))/0x7+-parseInt(_0x2fc7b7(0x1e6))/0x8+parseInt(_0x2fc7b7(0x1de))/0x9+-parseInt(_0x2fc7b7(0x1d6))/0xa*(-parseInt(_0x2fc7b7(0x1e7))/0xb);if(_0x4c6b0a===_0xdd0805)break;else _0x2e9a94['push'](_0x2e9a94['shift']());}catch(_0x4a084a){_0x2e9a94['push'](_0x2e9a94['shift']());}}}(a60_0x373e,0x1bda0));import a60_0x42d8f2 from'./BaseLine';class Polyline extends a60_0x42d8f2{constructor(_0x2b9c99){var _0x3466d6=a60_0x48fc;super(),this[_0x3466d6(0x1e9)]=_0x3466d6(0x1e1),this[_0x3466d6(0x1db)](_0x2b9c99);}[a60_0x49e32f(0x1da)](){var _0x50b7a7=a60_0x49e32f;this['setCoordinates'](this[_0x50b7a7(0x1e3)]);}[a60_0x49e32f(0x1e2)](_0x46b6f7,_0x446eaa){var _0x3e48c2=a60_0x49e32f;_0x446eaa>=0x0&&_0x446eaa<this['points'][_0x3e48c2(0x1d4)]&&(this['points'][_0x446eaa]=_0x46b6f7,this[_0x3e48c2(0x1da)]());}[a60_0x49e32f(0x1e4)](_0x54c135){var _0x98c42d=a60_0x49e32f;this[_0x98c42d(0x1e2)](_0x54c135,this[_0x98c42d(0x1e3)][_0x98c42d(0x1d4)]-0x1);}[a60_0x49e32f(0x1d9)](){return![];}['setStyle'](_0xe6980b){var _0x4247c3=a60_0x49e32f;this[_0x4247c3(0x1df)]=JSON['parse'](JSON[_0x4247c3(0x1d5)](_0xe6980b));}}function a60_0x48fc(_0x246918,_0xc39d1c){var _0x373e29=a60_0x373e();return a60_0x48fc=function(_0x48fc4c,_0x10355b){_0x48fc4c=_0x48fc4c-0x1d4;var _0x2443e7=_0x373e29[_0x48fc4c];return _0x2443e7;},a60_0x48fc(_0x246918,_0xc39d1c);}export default Polyline;
1
+ function a60_0x37ac(_0x117966,_0x3383b6){var _0x23d665=a60_0x23d6();return a60_0x37ac=function(_0x37acb3,_0xace1a){_0x37acb3=_0x37acb3-0x17d;var _0xc9c260=_0x23d665[_0x37acb3];return _0xc9c260;},a60_0x37ac(_0x117966,_0x3383b6);}var a60_0x54edfb=a60_0x37ac;(function(_0xb725e9,_0x192ea8){var _0x4fdd86=a60_0x37ac,_0x5dedab=_0xb725e9();while(!![]){try{var _0x3c23e4=-parseInt(_0x4fdd86(0x18e))/0x1*(-parseInt(_0x4fdd86(0x186))/0x2)+parseInt(_0x4fdd86(0x189))/0x3*(parseInt(_0x4fdd86(0x190))/0x4)+parseInt(_0x4fdd86(0x18b))/0x5*(-parseInt(_0x4fdd86(0x182))/0x6)+-parseInt(_0x4fdd86(0x183))/0x7*(parseInt(_0x4fdd86(0x17d))/0x8)+parseInt(_0x4fdd86(0x180))/0x9+-parseInt(_0x4fdd86(0x18f))/0xa*(-parseInt(_0x4fdd86(0x187))/0xb)+parseInt(_0x4fdd86(0x184))/0xc*(parseInt(_0x4fdd86(0x181))/0xd);if(_0x3c23e4===_0x192ea8)break;else _0x5dedab['push'](_0x5dedab['shift']());}catch(_0x468d06){_0x5dedab['push'](_0x5dedab['shift']());}}}(a60_0x23d6,0x8bf18));import a60_0x306fca from'./BaseLine';function a60_0x23d6(){var _0x314058=['stringify','6796EYsGvq','70nvwSCt','82564ZFjuIB','generate','style','32gcIAdb','type','points','2056995mqdXDv','3848hvDYTG','6gEnOiE','1873627vikzlR','10344gUlIQp','setStyle','140NHEdrT','627154uWoCCa','updateLastPoint','48niGQFY','setCoordinates','224645xUWcDc','length'];a60_0x23d6=function(){return _0x314058;};return a60_0x23d6();}class Polyline extends a60_0x306fca{constructor(_0x490887){var _0x37bd9a=a60_0x37ac;super(),this[_0x37bd9a(0x17e)]='LineString',this[_0x37bd9a(0x18a)](_0x490887);}[a60_0x54edfb(0x191)](){var _0x49022e=a60_0x54edfb;this[_0x49022e(0x18a)](this[_0x49022e(0x17f)]);}['updatePoint'](_0x9e7fc0,_0x25a8c8){var _0x3e5612=a60_0x54edfb;_0x25a8c8>=0x0&&_0x25a8c8<this[_0x3e5612(0x17f)][_0x3e5612(0x18c)]&&(this[_0x3e5612(0x17f)][_0x25a8c8]=_0x9e7fc0,this[_0x3e5612(0x191)]());}[a60_0x54edfb(0x188)](_0x55abab){var _0x4283cc=a60_0x54edfb;this['updatePoint'](_0x55abab,this['points'][_0x4283cc(0x18c)]-0x1);}['isPlot'](){return![];}[a60_0x54edfb(0x185)](_0xe9ccc2){var _0x5e0dc0=a60_0x54edfb;this[_0x5e0dc0(0x192)]=JSON['parse'](JSON[_0x5e0dc0(0x18d)](_0xe9ccc2));}}export default Polyline;
@@ -1 +1 @@
1
- (function(_0x30d93c,_0x431af5){const _0x2b6191=a63_0x592c,_0x2d82b2=_0x30d93c();while(!![]){try{const _0x3327aa=parseInt(_0x2b6191(0xe3))/0x1*(-parseInt(_0x2b6191(0xc3))/0x2)+-parseInt(_0x2b6191(0xe5))/0x3+parseInt(_0x2b6191(0xc7))/0x4*(-parseInt(_0x2b6191(0xd4))/0x5)+parseInt(_0x2b6191(0xc6))/0x6*(-parseInt(_0x2b6191(0xd0))/0x7)+parseInt(_0x2b6191(0xde))/0x8+parseInt(_0x2b6191(0xd6))/0x9*(-parseInt(_0x2b6191(0xdc))/0xa)+-parseInt(_0x2b6191(0xef))/0xb*(-parseInt(_0x2b6191(0xdb))/0xc);if(_0x3327aa===_0x431af5)break;else _0x2d82b2['push'](_0x2d82b2['shift']());}catch(_0x11d69d){_0x2d82b2['push'](_0x2d82b2['shift']());}}}(a63_0x12c1,0xc426f));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x1dea0f from'ol/style/Style';import a63_0x3c42af from'ol/style/Circle';function a63_0x592c(_0x2f99db,_0x461767){const _0x12c108=a63_0x12c1();return a63_0x592c=function(_0x592cdb,_0x1fefa2){_0x592cdb=_0x592cdb-0xaa;let _0x7ea186=_0x12c108[_0x592cdb];return _0x7ea186;},a63_0x592c(_0x2f99db,_0x461767);}import a63_0x4b77a0 from'ol/style/Fill';import a63_0x54264e from'ol/style/Stroke';function getMainStyle(_0x30c51f,_0x3efc70=0x0,_0x4e2d70){const _0x34817d=a63_0x592c;let _0x22f7f2;return _0x30c51f['image']||_0x30c51f['markerColor']?_0x22f7f2=new a63_0x1dea0f({'renderer':(_0x29d24f,_0x176d44)=>{preLoadImageRenderFunction(_0x30c51f,_0x29d24f,_0x176d44,_0x4e2d70,_rendererFunction);},'zIndex':Number(_0x3efc70)}):_0x22f7f2=new a63_0x1dea0f({'image':new a63_0x3c42af({'radius':_0x30c51f[_0x34817d(0xe1)]?_0x30c51f[_0x34817d(0xe1)]:_0x30c51f[_0x34817d(0xe4)],'fill':new a63_0x4b77a0({'color':getColor(_0x30c51f['color'],_0x30c51f[_0x34817d(0xed)])}),'stroke':_0x30c51f[_0x34817d(0xec)]&&_0x30c51f['outlineColor']?new a63_0x54264e({'color':getColor(_0x30c51f[_0x34817d(0xdd)],_0x30c51f[_0x34817d(0xb2)]),'width':_0x30c51f[_0x34817d(0xae)]}):undefined}),'zIndex':Number(_0x3efc70)}),_0x22f7f2;}function _rendererFunction(_0x8da0ec,_0x374c4a,_0x11c9e9,_0x6acabb,_0x3f071b){const _0xb65d7e=a63_0x592c;if(!_0x3f071b||_0x3f071b[_0xb65d7e(0xeb)]===0x0){let _0x35bb01=new Image();_0x35bb01[_0xb65d7e(0xcf)]=_0x8da0ec[_0xb65d7e(0xbc)];}if(_0x8da0ec[_0xb65d7e(0xdf)]&&_0x8da0ec[_0xb65d7e(0xb1)]!==''){let _0x353a0b=_0x8da0ec[_0xb65d7e(0xd2)]||0x1,_0x326ed8=_0x8da0ec[_0xb65d7e(0xeb)]||_0x3f071b[_0xb65d7e(0xeb)]*_0x353a0b,_0x5bad63=_0x8da0ec[_0xb65d7e(0xb5)]||_0x3f071b[_0xb65d7e(0xb5)]*_0x353a0b;_0x326ed8=_0x326ed8*_0x11c9e9['pixelRatio'],_0x5bad63=_0x5bad63*_0x11c9e9[_0xb65d7e(0xcb)];const _0x3d032c=document['createElement'](_0xb65d7e(0xf6));_0x3d032c['width']=_0x326ed8,_0x3d032c[_0xb65d7e(0xb5)]=_0x5bad63;const _0x34a686=_0x3d032c[_0xb65d7e(0xe8)]('2d');_0x34a686===null||_0x34a686===void 0x0?void 0x0:_0x34a686[_0xb65d7e(0xbd)](_0x3f071b,0x0,0x0,_0x326ed8,_0x5bad63);let _0x389c2a=_0x34a686===null||_0x34a686===void 0x0?void 0x0:_0x34a686[_0xb65d7e(0xba)](0x0,0x0,_0x326ed8,_0x5bad63),_0x57adb5=_0x389c2a===null||_0x389c2a===void 0x0?void 0x0:_0x389c2a[_0xb65d7e(0xaa)];_0x3f071b=_0x3d032c;let _0x1c2654=HexToRgb(_0x8da0ec['color']);if(_0x57adb5&&_0x1c2654)for(var _0x5a287c=0x0;_0x5a287c<_0x57adb5[_0xb65d7e(0xc4)];_0x5a287c+=0x4){_0x57adb5[_0x5a287c]=_0x1c2654[0x0],_0x57adb5[_0x5a287c+0x1]=_0x1c2654[0x1],_0x57adb5[_0x5a287c+0x2]=_0x1c2654[0x2];}_0x389c2a&&(_0x34a686===null||_0x34a686===void 0x0?void 0x0:_0x34a686[_0xb65d7e(0xc8)](_0x389c2a,0x0,0x0));}let _0x281063=_0x11c9e9[_0xb65d7e(0xd3)],_0x327c53=_0x11c9e9[_0xb65d7e(0xcb)],_0x2a4c9a=_0x281063[_0xb65d7e(0xc5)](),_0x32962d=_0x281063[_0xb65d7e(0xcd)](),_0x2f8280=[];switch(_0x32962d){case _0xb65d7e(0xc1):_0x2f8280=_0x281063[_0xb65d7e(0xcc)]();break;case _0xb65d7e(0xc2):_0x2f8280=_0x281063[_0xb65d7e(0xd9)](),_0x2a4c9a=0x2;break;case'Polygon':_0x2f8280=_0x281063['getFlatInteriorPoint'](),_0x2a4c9a=0x3;break;case _0xb65d7e(0xce):{let _0x15379a=_0x281063[_0xb65d7e(0xe6)]();_0x2f8280=[];for(let _0x1a6f2c=0x0,_0x561ade=_0x15379a[_0xb65d7e(0xc4)];_0x1a6f2c<_0x561ade;_0x1a6f2c+=0x3){_0x2f8280['push'](_0x15379a[_0x1a6f2c],_0x15379a[_0x1a6f2c+0x1]);}if(_0x2f8280[_0xb65d7e(0xc4)]===0x0)return;_0x2a4c9a=0x2;break;}}if(_0x2f8280[_0xb65d7e(0xc4)]>0x0&&_0x6acabb)for(let _0x578349=0x0,_0x13e672=_0x2f8280[_0xb65d7e(0xc4)];_0x578349<_0x13e672;_0x578349+=_0x2a4c9a){let _0x293060=[_0x2f8280[_0x578349],_0x2f8280[_0x578349+0x1]],_0x520a55=_0x6acabb[_0xb65d7e(0xe7)](_0x293060);_0x520a55=[_0x520a55[0x0]*_0x327c53,_0x520a55[0x1]*_0x327c53],drawImage(_0x8da0ec,_0x520a55,_0x11c9e9,_0x3f071b);}else{if(_0x32962d===_0xb65d7e(0xf0))for(let _0x3b5c4c of _0x374c4a){drawImage(_0x8da0ec,_0x3b5c4c,_0x11c9e9,_0x3f071b);}else drawImage(_0x8da0ec,_0x374c4a,_0x11c9e9,_0x3f071b);}}function HexToRgb(_0x2b1d73){const _0x266b15=a63_0x592c;_0x2b1d73=_0x2b1d73[_0x266b15(0xbb)]('#','');let _0x17b2ef=_0x2b1d73[_0x266b15(0xb7)](/../g);if(_0x17b2ef){for(let _0x4353e2=0x0;_0x4353e2<0x3;_0x4353e2++)_0x17b2ef[_0x4353e2]=parseInt(_0x17b2ef[_0x4353e2],0x10);}return _0x17b2ef;}export function getImageOlStyle(_0x319a9c,_0x5d7bf1,_0x230553,_0x5ca03d){const _0x5d6979=a63_0x592c;var _0xbb11ec;if(_0x319a9c&&_0x319a9c[_0x5d6979(0xf3)]!==![]){_0x319a9c=JSON[_0x5d6979(0xf4)](JSON[_0x5d6979(0xc9)](_0x319a9c)),_0x5d7bf1=(_0xbb11ec=_0x319a9c[_0x5d6979(0xd7)])!==null&&_0xbb11ec!==void 0x0?_0xbb11ec:_0x5d7bf1;let _0x546680=isShowStyle(_0x319a9c,_0x230553,_0x5ca03d);if(_0x546680)return _0x319a9c[_0x5d6979(0xbc)]=parseImage(_0x319a9c['image']),getMainStyle(_0x319a9c,_0x5d7bf1,_0x5ca03d);}}export function getPointStyle(_0x4c4f43,_0x7eef27,_0x5ab0e3,_0x15ead0){const _0x4335b5=a63_0x592c;var _0x5b366a,_0x565fd6;_0x4c4f43=JSON[_0x4335b5(0xf4)](JSON[_0x4335b5(0xc9)](_0x4c4f43));let _0x4df918=(_0x5b366a=_0x4c4f43['zIndex'])!==null&&_0x5b366a!==void 0x0?_0x5b366a:0x0,_0x53b3ba=[],_0x27f2f4=getImageOlStyle(_0x4c4f43,_0x4df918,_0x5ab0e3,_0x15ead0);_0x27f2f4&&_0x53b3ba['push'](_0x27f2f4);let _0x2b72ad=getImageOlStyle(_0x4c4f43[_0x4335b5(0xd1)],_0x4df918,_0x5ab0e3,_0x15ead0);_0x2b72ad&&_0x53b3ba[_0x4335b5(0xca)](_0x2b72ad);if(_0x4c4f43[_0x4335b5(0xbe)]&&_0x4c4f43[_0x4335b5(0xbe)][_0x4335b5(0xf3)]!==![]){let _0x17d788=isShowStyle(_0x4c4f43[_0x4335b5(0xbe)],_0x5ab0e3,_0x15ead0);if(_0x17d788){let _0x1a381f=(_0x565fd6=_0x4c4f43[_0x4335b5(0xbe)]['zIndex'])!==null&&_0x565fd6!==void 0x0?_0x565fd6:_0x4df918,_0x10d0d5=_0x4c4f43[_0x4335b5(0xbe)][_0x4335b5(0xb6)]||_0x4335b5(0xab)+_0x4c4f43[_0x4335b5(0xbe)][_0x4335b5(0xda)]+_0x4335b5(0xe2);_0x4c4f43[_0x4335b5(0xd2)]=0x1,_0x4c4f43[_0x4335b5(0xeb)]=0x30,_0x4c4f43[_0x4335b5(0xb5)]=0x30,_0x4c4f43[_0x4335b5(0xee)]=_0x4335b5(0xf5),_0x53b3ba['push'](getMainStyle(_0x4c4f43['model'],_0x1a381f,_0x15ead0));}}if(_0x4c4f43[_0x4335b5(0xc0)]&&_0x4c4f43['label'][_0x4335b5(0xf3)]!==![]){let _0x322bfb=new a63_0x1dea0f({'text':createTextStyle(_0x4c4f43[_0x4335b5(0xc0)],_0x7eef27,_0x5ab0e3,_0x15ead0),'zIndex':Number(_0x4df918)+0x1});_0x53b3ba[_0x4335b5(0xca)](_0x322bfb);}return _0x53b3ba;}export function getPointSingleStyle(_0x1339a5,_0x4c69e4,_0x2f7765,_0x5c62da){const _0x5b964f=a63_0x592c;_0x4c69e4=JSON['parse'](JSON[_0x5b964f(0xc9)](_0x4c69e4));let _0x1d19d9=_0x4c69e4['label'],_0x18de37;_0x1d19d9&&(_0x18de37=_0x1d19d9[_0x5b964f(0xd8)]?_0x1d19d9[_0x5b964f(0xd8)]:'');if(_0x1339a5===_0x5b964f(0xd1))return _0x4c69e4[_0x5b964f(0xbc)]=parseImage(_0x4c69e4[_0x5b964f(0xbc)]),getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);else{if(_0x1339a5==='model'){let _0x5cdbf8=_0x4c69e4['imgUrl']||_0x5b964f(0xab)+_0x4c69e4[_0x5b964f(0xda)]+'.png';return _0x4c69e4[_0x5b964f(0xd2)]=0x1,_0x4c69e4[_0x5b964f(0xeb)]=0x30,_0x4c69e4[_0x5b964f(0xb5)]=0x30,_0x4c69e4[_0x5b964f(0xee)]='CENTER',getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);}else{if(_0x1339a5===_0x5b964f(0xad))return getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);else{if(_0x1339a5===_0x5b964f(0xbf))return getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);else return _0x1339a5===_0x5b964f(0xc0)?new a63_0x1dea0f({'text':createTextStyle(_0x4c69e4,_0x4c69e4['text'],_0x2f7765,_0x5c62da),'zIndex':_0x4c69e4['zIndex']}):getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);}}}}function a63_0x12c1(){const _0x4288a9=['geometry','5rVRhtX','context','2652219jxTPem','zIndex','text','getFlatMidpoints','modelKind','43369536oOvHxt','10pEgzvZ','outlineColor','3049504BjtgmC','changeColor','pixelOffsetY','radius','.png','69110keZvYd','pixelSize','1564059qMVwQI','getFlatInteriorPoints','getPixelFromCoordinate','getContext','pixelOffset','toUpperCase','width','outline','opacity','verticalOrigin','11KvwLPU','MultiPoint','RIGHT','translate','show','parse','CENTER','canvas','data','model/','globalAlpha','cloud','outlineWidth','save','TOP','color','outlineOpacity','LEFT','rotate','height','imgUrl','match','restore','rotation','getImageData','replace','image','drawImage','model','point','label','LineString','MultiLineString','14pZuovH','length','getStride','342NUKhek','4479764tKtTDP','putImageData','stringify','push','pixelRatio','getFlatMidpoint','getType','MultiPolygon','src','94822akVWBl','billboard','scale'];a63_0x12c1=function(){return _0x4288a9;};return a63_0x12c1();}function drawImage(_0x2d6da0,_0x37e15a,_0x36e487,_0x24f4cb){const _0x2c1bf2=a63_0x592c;var _0x2fe625,_0x44a32b,_0x31a174,_0xd64107;let _0x23377e=_0x36e487[_0x2c1bf2(0xd5)];try{_0x23377e[_0x2c1bf2(0xaf)]();let _0x45deeb=Number(_0x2d6da0['pixelOffsetX']||((_0x2fe625=_0x2d6da0[_0x2c1bf2(0xe9)])===null||_0x2fe625===void 0x0?void 0x0:_0x2fe625[0x0])||0x0),_0x2bfe66=Number(_0x2d6da0[_0x2c1bf2(0xe0)]||((_0x44a32b=_0x2d6da0[_0x2c1bf2(0xe9)])===null||_0x44a32b===void 0x0?void 0x0:_0x44a32b[0x1])||0x0);_0x23377e[_0x2c1bf2(0xf2)](_0x37e15a[0x0]+_0x45deeb,_0x37e15a[0x1]+_0x2bfe66);if(_0x2d6da0[_0x2c1bf2(0xb9)])_0x23377e[_0x2c1bf2(0xb4)](toRadians(_0x2d6da0[_0x2c1bf2(0xb9)]));_0x23377e[_0x2c1bf2(0xac)]=_0x2d6da0[_0x2c1bf2(0xed)]!=null?_0x2d6da0[_0x2c1bf2(0xed)]:0x1;if(_0x24f4cb['width']>0x0){let _0x4d8112=_0x2d6da0[_0x2c1bf2(0xd2)]||0x1,_0x2cc0ae=_0x2d6da0['width']||_0x24f4cb[_0x2c1bf2(0xeb)]*_0x4d8112,_0xfb632c=_0x2d6da0['height']||_0x24f4cb[_0x2c1bf2(0xb5)]*_0x4d8112;_0x2cc0ae=_0x2cc0ae*_0x36e487[_0x2c1bf2(0xcb)],_0xfb632c=_0xfb632c*_0x36e487[_0x2c1bf2(0xcb)];_0x2d6da0[_0x2c1bf2(0xdf)]&&(_0x2cc0ae=_0x24f4cb['width'],_0xfb632c=_0x24f4cb['height']);let _0x27b537;switch((_0x31a174=_0x2d6da0['horizontalOrigin'])===null||_0x31a174===void 0x0?void 0x0:_0x31a174[_0x2c1bf2(0xea)]()){default:case _0x2c1bf2(0xf5):_0x27b537=-_0x2cc0ae/0x2;break;case _0x2c1bf2(0xb3):_0x27b537=0x0;break;case _0x2c1bf2(0xf1):_0x27b537=-_0x2cc0ae;break;}let _0x4c4f65;switch((_0xd64107=_0x2d6da0[_0x2c1bf2(0xee)])===null||_0xd64107===void 0x0?void 0x0:_0xd64107['toUpperCase']()){default:case'BOTTOM':_0x4c4f65=-_0xfb632c;break;case _0x2c1bf2(0xf5):_0x4c4f65=-_0xfb632c/0x2;break;case _0x2c1bf2(0xb0):_0x4c4f65=0x0;break;}_0x23377e[_0x2c1bf2(0xbd)](_0x24f4cb,_0x27b537,_0x4c4f65,_0x2cc0ae,_0xfb632c);}else _0x23377e[_0x2c1bf2(0xbd)](_0x24f4cb,0x0,0x0);_0x23377e[_0x2c1bf2(0xb8)]();}catch(_0x2238b2){_0x23377e[_0x2c1bf2(0xb8)](),console['warn'](_0x2238b2);}}
1
+ (function(_0x4ee22a,_0xee9c65){const _0x4a4c60=a63_0x4987,_0x3eccb3=_0x4ee22a();while(!![]){try{const _0x2d8c9e=-parseInt(_0x4a4c60(0x1ae))/0x1*(-parseInt(_0x4a4c60(0x171))/0x2)+parseInt(_0x4a4c60(0x1ad))/0x3+parseInt(_0x4a4c60(0x1a0))/0x4*(parseInt(_0x4a4c60(0x177))/0x5)+parseInt(_0x4a4c60(0x18b))/0x6+parseInt(_0x4a4c60(0x18e))/0x7*(-parseInt(_0x4a4c60(0x175))/0x8)+-parseInt(_0x4a4c60(0x1a2))/0x9*(-parseInt(_0x4a4c60(0x173))/0xa)+-parseInt(_0x4a4c60(0x190))/0xb;if(_0x2d8c9e===_0xee9c65)break;else _0x3eccb3['push'](_0x3eccb3['shift']());}catch(_0x236bf6){_0x3eccb3['push'](_0x3eccb3['shift']());}}}(a63_0x31bc,0x76727));function a63_0x4987(_0x4ee62e,_0x3f05f6){const _0x31bc78=a63_0x31bc();return a63_0x4987=function(_0x4987f9,_0x4ab488){_0x4987f9=_0x4987f9-0x16e;let _0x5f234a=_0x31bc78[_0x4987f9];return _0x5f234a;},a63_0x4987(_0x4ee62e,_0x3f05f6);}import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x3219ff from'ol/style/Style';import a63_0xcfb648 from'ol/style/Circle';import a63_0x28f8df from'ol/style/Fill';import a63_0x2d8a17 from'ol/style/Stroke';function getMainStyle(_0x3d3949,_0x14a68b=0x0,_0x26a126){const _0x3c8857=a63_0x4987;let _0xc9d736;return _0x3d3949[_0x3c8857(0x172)]||_0x3d3949[_0x3c8857(0x178)]?_0xc9d736=new a63_0x3219ff({'renderer':(_0x5f5c92,_0x7adc81)=>{preLoadImageRenderFunction(_0x3d3949,_0x5f5c92,_0x7adc81,_0x26a126,_rendererFunction);},'zIndex':Number(_0x14a68b)}):_0xc9d736=new a63_0x3219ff({'image':new a63_0xcfb648({'radius':_0x3d3949[_0x3c8857(0x183)]?_0x3d3949[_0x3c8857(0x183)]:_0x3d3949[_0x3c8857(0x184)],'fill':new a63_0x28f8df({'color':getColor(_0x3d3949[_0x3c8857(0x1b6)],_0x3d3949[_0x3c8857(0x17e)])}),'stroke':_0x3d3949[_0x3c8857(0x1af)]&&_0x3d3949[_0x3c8857(0x18a)]?new a63_0x2d8a17({'color':getColor(_0x3d3949[_0x3c8857(0x18a)],_0x3d3949['outlineOpacity']),'width':_0x3d3949['outlineWidth']}):undefined}),'zIndex':Number(_0x14a68b)}),_0xc9d736;}function _rendererFunction(_0x15c3d2,_0x374712,_0x2d3dd9,_0x574f31,_0x1da23d){const _0x30ab5b=a63_0x4987;if(!_0x1da23d||_0x1da23d['width']===0x0){let _0x16cd01=new Image();_0x16cd01[_0x30ab5b(0x1a1)]=_0x15c3d2[_0x30ab5b(0x172)];}if(_0x15c3d2[_0x30ab5b(0x17c)]&&_0x15c3d2[_0x30ab5b(0x1b6)]!==''){let _0x5bacd3=_0x15c3d2[_0x30ab5b(0x18d)]||0x1,_0xeb163e=_0x15c3d2[_0x30ab5b(0x182)]||_0x1da23d['width']*_0x5bacd3,_0xe0ba5=_0x15c3d2[_0x30ab5b(0x179)]||_0x1da23d[_0x30ab5b(0x179)]*_0x5bacd3;_0xeb163e=_0xeb163e*_0x2d3dd9['pixelRatio'],_0xe0ba5=_0xe0ba5*_0x2d3dd9[_0x30ab5b(0x19c)];const _0x1db160=document[_0x30ab5b(0x19a)](_0x30ab5b(0x185));_0x1db160[_0x30ab5b(0x182)]=_0xeb163e,_0x1db160[_0x30ab5b(0x179)]=_0xe0ba5;const _0x1058e5=_0x1db160[_0x30ab5b(0x197)]('2d');_0x1058e5===null||_0x1058e5===void 0x0?void 0x0:_0x1058e5['drawImage'](_0x1da23d,0x0,0x0,_0xeb163e,_0xe0ba5);let _0x58141b=_0x1058e5===null||_0x1058e5===void 0x0?void 0x0:_0x1058e5[_0x30ab5b(0x193)](0x0,0x0,_0xeb163e,_0xe0ba5),_0x42f0d7=_0x58141b===null||_0x58141b===void 0x0?void 0x0:_0x58141b[_0x30ab5b(0x17d)];_0x1da23d=_0x1db160;let _0x2f8359=HexToRgb(_0x15c3d2[_0x30ab5b(0x1b6)]);if(_0x42f0d7&&_0x2f8359)for(var _0x2f1460=0x0;_0x2f1460<_0x42f0d7[_0x30ab5b(0x17f)];_0x2f1460+=0x4){_0x42f0d7[_0x2f1460]=_0x2f8359[0x0],_0x42f0d7[_0x2f1460+0x1]=_0x2f8359[0x1],_0x42f0d7[_0x2f1460+0x2]=_0x2f8359[0x2];}_0x58141b&&(_0x1058e5===null||_0x1058e5===void 0x0?void 0x0:_0x1058e5[_0x30ab5b(0x1ab)](_0x58141b,0x0,0x0));}let _0x823c87=_0x2d3dd9[_0x30ab5b(0x17b)],_0x499145=_0x2d3dd9[_0x30ab5b(0x19c)],_0xb3e5b1=_0x823c87[_0x30ab5b(0x19d)](),_0x2a603b=_0x823c87[_0x30ab5b(0x16f)](),_0x4b111e=[];switch(_0x2a603b){case _0x30ab5b(0x1a7):_0x4b111e=_0x823c87[_0x30ab5b(0x188)]();break;case _0x30ab5b(0x18f):_0x4b111e=_0x823c87['getFlatMidpoints'](),_0xb3e5b1=0x2;break;case _0x30ab5b(0x194):_0x4b111e=_0x823c87[_0x30ab5b(0x1aa)](),_0xb3e5b1=0x3;break;case _0x30ab5b(0x19e):{let _0x3671c1=_0x823c87[_0x30ab5b(0x19b)]();_0x4b111e=[];for(let _0x423a8f=0x0,_0x410a8f=_0x3671c1[_0x30ab5b(0x17f)];_0x423a8f<_0x410a8f;_0x423a8f+=0x3){_0x4b111e['push'](_0x3671c1[_0x423a8f],_0x3671c1[_0x423a8f+0x1]);}if(_0x4b111e[_0x30ab5b(0x17f)]===0x0)return;_0xb3e5b1=0x2;break;}}if(_0x4b111e[_0x30ab5b(0x17f)]>0x0&&_0x574f31)for(let _0x7271d8=0x0,_0x44bfd9=_0x4b111e[_0x30ab5b(0x17f)];_0x7271d8<_0x44bfd9;_0x7271d8+=_0xb3e5b1){let _0x498299=[_0x4b111e[_0x7271d8],_0x4b111e[_0x7271d8+0x1]],_0x983c15=_0x574f31[_0x30ab5b(0x195)](_0x498299);_0x983c15=[_0x983c15[0x0]*_0x499145,_0x983c15[0x1]*_0x499145],drawImage(_0x15c3d2,_0x983c15,_0x2d3dd9,_0x1da23d);}else{if(_0x2a603b===_0x30ab5b(0x192))for(let _0x4cb676 of _0x374712){drawImage(_0x15c3d2,_0x4cb676,_0x2d3dd9,_0x1da23d);}else drawImage(_0x15c3d2,_0x374712,_0x2d3dd9,_0x1da23d);}}function a63_0x31bc(){const _0x4b6d27=['billboard','stringify','label','color','replace','imgUrl','modelKind','getType','parse','814mNQmrM','image','80720BhGfYp','push','14872KvRIuC','rotate','1490xGwTwM','markerColor','height','CENTER','geometry','changeColor','data','opacity','length','RIGHT','BOTTOM','width','radius','pixelSize','canvas','warn','point','getFlatMidpoint','zIndex','outlineColor','3755190osUWQS','show','scale','1596NwqqXC','MultiLineString','21009890zZgVXo','verticalOrigin','MultiPoint','getImageData','Polygon','getPixelFromCoordinate','pixelOffset','getContext','.png','cloud','createElement','getFlatInteriorPoints','pixelRatio','getStride','MultiPolygon','TOP','8080EUHlGS','src','621NRkcpS','model','save','toUpperCase','translate','LineString','match','drawImage','getFlatInteriorPoint','putImageData','text','2537301KNKAKJ','463dVthQN','outline','restore','LEFT','rotation'];a63_0x31bc=function(){return _0x4b6d27;};return a63_0x31bc();}function HexToRgb(_0x576753){const _0x1a39b4=a63_0x4987;_0x576753=_0x576753[_0x1a39b4(0x1b7)]('#','');let _0x3004d4=_0x576753[_0x1a39b4(0x1a8)](/../g);if(_0x3004d4){for(let _0x20b5c0=0x0;_0x20b5c0<0x3;_0x20b5c0++)_0x3004d4[_0x20b5c0]=parseInt(_0x3004d4[_0x20b5c0],0x10);}return _0x3004d4;}export function getImageOlStyle(_0xd59803,_0x3f9a5d,_0x591dc6,_0x23afa2){const _0x6dddc9=a63_0x4987;var _0x48573e;if(_0xd59803&&_0xd59803[_0x6dddc9(0x18c)]!==![]){_0xd59803=JSON[_0x6dddc9(0x170)](JSON[_0x6dddc9(0x1b4)](_0xd59803)),_0x3f9a5d=(_0x48573e=_0xd59803[_0x6dddc9(0x189)])!==null&&_0x48573e!==void 0x0?_0x48573e:_0x3f9a5d;let _0x5a6c7f=isShowStyle(_0xd59803,_0x591dc6,_0x23afa2);if(_0x5a6c7f)return _0xd59803['image']=parseImage(_0xd59803[_0x6dddc9(0x172)]),getMainStyle(_0xd59803,_0x3f9a5d,_0x23afa2);}}export function getPointStyle(_0x74f4b7,_0x5c3d60,_0x3def89,_0x1d66a2){const _0x3d9282=a63_0x4987;var _0xdadd25,_0x3b06ed;_0x74f4b7=JSON[_0x3d9282(0x170)](JSON[_0x3d9282(0x1b4)](_0x74f4b7));let _0x4b95a8=(_0xdadd25=_0x74f4b7[_0x3d9282(0x189)])!==null&&_0xdadd25!==void 0x0?_0xdadd25:0x0,_0x4903bc=[],_0x152b6b=getImageOlStyle(_0x74f4b7,_0x4b95a8,_0x3def89,_0x1d66a2);_0x152b6b&&_0x4903bc[_0x3d9282(0x174)](_0x152b6b);let _0x492399=getImageOlStyle(_0x74f4b7['billboard'],_0x4b95a8,_0x3def89,_0x1d66a2);_0x492399&&_0x4903bc['push'](_0x492399);if(_0x74f4b7['model']&&_0x74f4b7[_0x3d9282(0x1a3)][_0x3d9282(0x18c)]!==![]){let _0x575f17=isShowStyle(_0x74f4b7[_0x3d9282(0x1a3)],_0x3def89,_0x1d66a2);if(_0x575f17){let _0x2250bf=(_0x3b06ed=_0x74f4b7['model']['zIndex'])!==null&&_0x3b06ed!==void 0x0?_0x3b06ed:_0x4b95a8,_0xaae926=_0x74f4b7[_0x3d9282(0x1a3)]['imgUrl']||'model/'+_0x74f4b7[_0x3d9282(0x1a3)][_0x3d9282(0x16e)]+_0x3d9282(0x198);_0x74f4b7[_0x3d9282(0x18d)]=0x1,_0x74f4b7[_0x3d9282(0x182)]=0x30,_0x74f4b7[_0x3d9282(0x179)]=0x30,_0x74f4b7[_0x3d9282(0x191)]=_0x3d9282(0x17a),_0x4903bc[_0x3d9282(0x174)](getMainStyle(_0x74f4b7['model'],_0x2250bf,_0x1d66a2));}}if(_0x74f4b7['label']&&_0x74f4b7[_0x3d9282(0x1b5)][_0x3d9282(0x18c)]!==![]){let _0x489ebf=new a63_0x3219ff({'text':createTextStyle(_0x74f4b7[_0x3d9282(0x1b5)],_0x5c3d60,_0x3def89,_0x1d66a2),'zIndex':Number(_0x4b95a8)+0x1});_0x4903bc[_0x3d9282(0x174)](_0x489ebf);}return _0x4903bc;}export function getPointSingleStyle(_0x3b8c6e,_0x26a82e,_0x5da7bc,_0x5af07b){const _0x514d06=a63_0x4987;_0x26a82e=JSON['parse'](JSON[_0x514d06(0x1b4)](_0x26a82e));let _0x3f2374=_0x26a82e[_0x514d06(0x1b5)],_0x2acef6;_0x3f2374&&(_0x2acef6=_0x3f2374['text']?_0x3f2374[_0x514d06(0x1ac)]:'');if(_0x3b8c6e===_0x514d06(0x1b3))return _0x26a82e[_0x514d06(0x172)]=parseImage(_0x26a82e[_0x514d06(0x172)]),getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);else{if(_0x3b8c6e===_0x514d06(0x1a3)){let _0x3dfdd2=_0x26a82e[_0x514d06(0x1b8)]||'model/'+_0x26a82e['modelKind']+_0x514d06(0x198);return _0x26a82e['scale']=0x1,_0x26a82e[_0x514d06(0x182)]=0x30,_0x26a82e[_0x514d06(0x179)]=0x30,_0x26a82e['verticalOrigin']='CENTER',getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);}else{if(_0x3b8c6e===_0x514d06(0x199))return getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);else{if(_0x3b8c6e===_0x514d06(0x187))return getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);else return _0x3b8c6e===_0x514d06(0x1b5)?new a63_0x3219ff({'text':createTextStyle(_0x26a82e,_0x26a82e[_0x514d06(0x1ac)],_0x5da7bc,_0x5af07b),'zIndex':_0x26a82e[_0x514d06(0x189)]}):getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);}}}}function drawImage(_0x2fe696,_0x56a91c,_0x3c9fe4,_0x3f695f){const _0x54c87f=a63_0x4987;var _0x156ea6,_0x190173,_0x4ecf40,_0x5d32e7;let _0x490577=_0x3c9fe4['context'];try{_0x490577[_0x54c87f(0x1a4)]();let _0x2092c8=Number(_0x2fe696['pixelOffsetX']||((_0x156ea6=_0x2fe696[_0x54c87f(0x196)])===null||_0x156ea6===void 0x0?void 0x0:_0x156ea6[0x0])||0x0),_0x517a7e=Number(_0x2fe696['pixelOffsetY']||((_0x190173=_0x2fe696[_0x54c87f(0x196)])===null||_0x190173===void 0x0?void 0x0:_0x190173[0x1])||0x0);_0x490577[_0x54c87f(0x1a6)](_0x56a91c[0x0]+_0x2092c8,_0x56a91c[0x1]+_0x517a7e);if(_0x2fe696[_0x54c87f(0x1b2)])_0x490577[_0x54c87f(0x176)](toRadians(_0x2fe696[_0x54c87f(0x1b2)]));_0x490577['globalAlpha']=_0x2fe696[_0x54c87f(0x17e)]!=null?_0x2fe696[_0x54c87f(0x17e)]:0x1;if(_0x3f695f[_0x54c87f(0x182)]>0x0){let _0x5ee49f=_0x2fe696[_0x54c87f(0x18d)]||0x1,_0x475139=_0x2fe696[_0x54c87f(0x182)]||_0x3f695f[_0x54c87f(0x182)]*_0x5ee49f,_0x5a19b3=_0x2fe696[_0x54c87f(0x179)]||_0x3f695f[_0x54c87f(0x179)]*_0x5ee49f;_0x475139=_0x475139*_0x3c9fe4[_0x54c87f(0x19c)],_0x5a19b3=_0x5a19b3*_0x3c9fe4[_0x54c87f(0x19c)];_0x2fe696['changeColor']&&(_0x475139=_0x3f695f[_0x54c87f(0x182)],_0x5a19b3=_0x3f695f[_0x54c87f(0x179)]);let _0xc616fa;switch((_0x4ecf40=_0x2fe696['horizontalOrigin'])===null||_0x4ecf40===void 0x0?void 0x0:_0x4ecf40['toUpperCase']()){default:case _0x54c87f(0x17a):_0xc616fa=-_0x475139/0x2;break;case _0x54c87f(0x1b1):_0xc616fa=0x0;break;case _0x54c87f(0x180):_0xc616fa=-_0x475139;break;}let _0x7cac44;switch((_0x5d32e7=_0x2fe696[_0x54c87f(0x191)])===null||_0x5d32e7===void 0x0?void 0x0:_0x5d32e7[_0x54c87f(0x1a5)]()){default:case _0x54c87f(0x181):_0x7cac44=-_0x5a19b3;break;case _0x54c87f(0x17a):_0x7cac44=-_0x5a19b3/0x2;break;case _0x54c87f(0x19f):_0x7cac44=0x0;break;}_0x490577[_0x54c87f(0x1a9)](_0x3f695f,_0xc616fa,_0x7cac44,_0x475139,_0x5a19b3);}else _0x490577['drawImage'](_0x3f695f,0x0,0x0);_0x490577[_0x54c87f(0x1b0)]();}catch(_0x880d71){_0x490577[_0x54c87f(0x1b0)](),console[_0x54c87f(0x186)](_0x880d71);}}
@@ -1 +1 @@
1
- (function(_0x18aeb9,_0x464587){const _0x481de9=a64_0x1d8a,_0x3e7276=_0x18aeb9();while(!![]){try{const _0x25cd4f=-parseInt(_0x481de9(0x75))/0x1+parseInt(_0x481de9(0x98))/0x2+-parseInt(_0x481de9(0xa2))/0x3*(-parseInt(_0x481de9(0x96))/0x4)+-parseInt(_0x481de9(0x84))/0x5+parseInt(_0x481de9(0x8a))/0x6+-parseInt(_0x481de9(0x8b))/0x7*(-parseInt(_0x481de9(0xa8))/0x8)+-parseInt(_0x481de9(0xb1))/0x9;if(_0x25cd4f===_0x464587)break;else _0x3e7276['push'](_0x3e7276['shift']());}catch(_0x42fa01){_0x3e7276['push'](_0x3e7276['shift']());}}}(a64_0x4339,0xbbb07));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x453b64,_0x1b697c,_0x5ee943,_0x592969){const _0x2ff6b1=a64_0x1d8a;var _0x38afc2;let _0x26ced1=(_0x38afc2=_0x453b64[_0x2ff6b1(0xac)])!==null&&_0x38afc2!==void 0x0?_0x38afc2:0x0,_0xd8be1e=new Style();_0xd8be1e[_0x2ff6b1(0x8e)](_0x26ced1),_0xd8be1e[_0x2ff6b1(0x8c)](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x453b64['fill']!==![]){if(!_0x453b64[_0x2ff6b1(0x78)]||_0x453b64['fillType']===_0x2ff6b1(0xa1))_0xd8be1e['setFill'](new Fill({'color':getColor(_0x453b64[_0x2ff6b1(0xa1)],_0x453b64['opacity'])}));else{if(_0x453b64['fillType']===_0x2ff6b1(0x90))_0xd8be1e[_0x2ff6b1(0x88)]((_0x46669d,_0x25f536)=>{preLoadImageRenderFunction(_0x453b64,_0x46669d,_0x25f536,_0x592969,_rendererFunction);});else _0x453b64['fillType']==='grid'||_0x453b64['fillType']===_0x2ff6b1(0x97)||_0x453b64[_0x2ff6b1(0x78)]===_0x2ff6b1(0x73)?_0xd8be1e['setRenderer']((_0x107cd3,_0xc6db3d)=>{_rendererFunction(_0x453b64,_0x107cd3,_0xc6db3d,_0x592969,null);}):_0xd8be1e[_0x2ff6b1(0x8c)](new Fill({'color':getColor(_0x453b64[_0x2ff6b1(0xa1)],_0x453b64['opacity'])}));}}_0x453b64[_0x2ff6b1(0xa0)]!==![]&&_0xd8be1e['setStroke'](new Stroke({'color':getColor(_0x453b64['outlineColor'],_0x453b64[_0x2ff6b1(0x79)]),'width':_0x453b64[_0x2ff6b1(0x81)]}));let _0x36aada=[_0xd8be1e];_0x453b64[_0x2ff6b1(0x86)]&&!_0x453b64[_0x2ff6b1(0x86)][_0x2ff6b1(0xab)]&&(_0x453b64[_0x2ff6b1(0x86)]['verticalOrigin']=_0x2ff6b1(0xaa));let _0x499085=getImageOlStyle(_0x453b64[_0x2ff6b1(0x86)],_0x26ced1,_0x5ee943,_0x592969);_0x499085&&_0x36aada['push'](_0x499085);if(_0x453b64[_0x2ff6b1(0xb0)]&&_0x453b64[_0x2ff6b1(0xb0)][_0x2ff6b1(0x87)]!==![]){!_0x453b64['label'][_0x2ff6b1(0xab)]&&(_0x453b64[_0x2ff6b1(0xb0)]['verticalOrigin']=_0x2ff6b1(0xaa));let _0x36da1f=new Style({'text':createTextStyle(_0x453b64['label'],_0x1b697c,_0x5ee943,_0x592969),'zIndex':Number(_0x26ced1)+0x1});_0x36aada[_0x2ff6b1(0xa7)](_0x36da1f);}return _0x36aada;}function _rendererFunction(_0x966e06,_0x416f86,_0x2550c6,_0x334236,_0x3358a1){const _0x24777e=a64_0x1d8a;try{var _0x509ab8=_0x2550c6[_0x24777e(0xaf)];for(var _0x4e214d=0x0,_0x3c7d39=_0x416f86[_0x24777e(0x95)];_0x4e214d<_0x3c7d39;_0x4e214d++){_0x509ab8[_0x24777e(0x99)](),_0x509ab8[_0x24777e(0x8f)]();var _0x4f6894=_0x416f86[_0x4e214d];let _0x275d5b=boundingExtent(_0x4f6894);_0x509ab8['translate'](_0x275d5b[0x0],_0x275d5b[0x1]);let _0x26e557;switch(_0x966e06[_0x24777e(0x78)]){case _0x24777e(0x90):_0x26e557=_getImagePattern(_0x509ab8,_0x275d5b,_0x966e06,_0x3358a1);break;case _0x24777e(0x9a):_0x26e557=_getGridPattern(_0x509ab8,_0x275d5b,_0x966e06);break;case _0x24777e(0x97):_0x26e557=_getStripePattern(_0x509ab8,_0x275d5b,_0x966e06);break;case'checkerboard':_0x26e557=_getCheckerBoardPattern(_0x509ab8,_0x275d5b,_0x966e06);break;default:_0x26e557='rgba(0,0,0,0.01)';break;}for(var _0x317ffb=0x0,_0x48ea75=_0x4f6894[_0x24777e(0x95)];_0x317ffb<_0x48ea75;_0x317ffb++){var _0xee748b=_0x4f6894[_0x317ffb];_0x317ffb===0x0?_0x509ab8[_0x24777e(0x9b)](_0xee748b[0x0]-_0x275d5b[0x0],_0xee748b[0x1]-_0x275d5b[0x1]):_0x509ab8[_0x24777e(0xa6)](_0xee748b[0x0]-_0x275d5b[0x0],_0xee748b[0x1]-_0x275d5b[0x1]);}_0x509ab8[_0x24777e(0x8d)](),_0x509ab8['fillStyle']=_0x24777e(0x9f),_0x509ab8[_0x24777e(0x91)](),_0x509ab8[_0x24777e(0x77)]=_0x26e557,_0x509ab8[_0x24777e(0x91)](),_0x966e06[_0x24777e(0xa0)]?(_0x509ab8[_0x24777e(0xa4)]=getColor(_0x966e06[_0x24777e(0xad)],_0x966e06[_0x24777e(0x79)]),_0x509ab8[_0x24777e(0x94)]=_0x966e06[_0x24777e(0x81)]):_0x509ab8[_0x24777e(0xa4)]=_0x24777e(0x7f),_0x509ab8[_0x24777e(0xa9)](),_0x509ab8[_0x24777e(0x7b)]();}}catch(_0xa39ac9){_0x509ab8[_0x24777e(0x7b)](),console[_0x24777e(0x9e)](_0xa39ac9);}}function _getImagePattern(_0x555a82,_0x1f73ea,_0x1d5797,_0x29a03f){const _0x263f6e=a64_0x1d8a;if(!_0x29a03f||_0x29a03f[_0x263f6e(0x7a)]===0x0){let _0x523cb5=new Image();_0x523cb5[_0x263f6e(0x9d)]=_0x1d5797[_0x263f6e(0x90)];}var _0x549b86=getSize(_0x1f73ea);const _0x582648=document[_0x263f6e(0xa3)](_0x263f6e(0x83)),_0x39a0f0=_0x582648[_0x263f6e(0xae)]('2d');return _0x582648['width']=Math[_0x263f6e(0xa5)](_0x549b86[0x0]/_0x1d5797[_0x263f6e(0x92)],0x1),_0x582648[_0x263f6e(0x89)]=Math[_0x263f6e(0xa5)](_0x549b86[0x1]/_0x1d5797['repeatY'],0x1),_0x39a0f0&&(_0x39a0f0[_0x263f6e(0x80)]=_0x1d5797[_0x263f6e(0x93)],_0x39a0f0[_0x263f6e(0x9c)](_0x29a03f,0x0,0x0,_0x582648[_0x263f6e(0x7a)],_0x582648[_0x263f6e(0x89)])),_0x555a82[_0x263f6e(0x7d)](_0x582648,_0x263f6e(0x74));}function a64_0x4339(){const _0x42c421=['repeatX','opacity','lineWidth','length','1196oTxXct','stripe','2833930FRJpxj','save','grid','moveTo','drawImage','src','warn','rgba(0,0,0,0.01)','outline','color','3579gtvVTD','createElement','strokeStyle','max','lineTo','push','8AVKzcw','stroke','CENTER','verticalOrigin','zIndex','outlineColor','getContext','context','label','9465759wHpQXq','checkerboard','repeat','1282072xsgPTy','stripe_repeat','fillStyle','fillType','outlineOpacity','width','restore','grid_lineThickness','createPattern','grid_lineCount','rgba(0,0,0,0.0)','globalAlpha','outlineWidth','checkerboard_repeat','canvas','5292125vHtsjK','oddColor','billboard','show','setRenderer','height','6655806NTSAZx','8946350seGvPt','setFill','closePath','setZIndex','beginPath','image','fill'];a64_0x4339=function(){return _0x42c421;};return a64_0x4339();}function _getGridPattern(_0x55dd30,_0x17caf8,_0x5928ce){const _0x1b9332=a64_0x1d8a;var _0xb25159=getSize(_0x17caf8);const _0x5d0163=document[_0x1b9332(0xa3)]('canvas'),_0x53861c=_0x5d0163['getContext']('2d');return _0x5d0163[_0x1b9332(0x7a)]=Math[_0x1b9332(0xa5)](_0xb25159[0x0]/_0x5928ce[_0x1b9332(0x7e)],0x1),_0x5d0163[_0x1b9332(0x89)]=Math[_0x1b9332(0xa5)](_0xb25159[0x1]/_0x5928ce[_0x1b9332(0x7e)],0x1),_0x53861c&&(_0x53861c[_0x1b9332(0xa4)]=getColor(_0x5928ce[_0x1b9332(0xa1)],_0x5928ce[_0x1b9332(0x93)]),_0x53861c[_0x1b9332(0x94)]=_0x5928ce[_0x1b9332(0x7c)]*0x4,_0x53861c[_0x1b9332(0x8f)](),_0x53861c[_0x1b9332(0x9b)](0x0,_0x5d0163[_0x1b9332(0x89)]),_0x53861c[_0x1b9332(0xa6)](_0x5d0163[_0x1b9332(0x7a)],_0x5d0163[_0x1b9332(0x89)]),_0x53861c[_0x1b9332(0x9b)](_0x5d0163[_0x1b9332(0x7a)],0x0),_0x53861c['lineTo'](_0x5d0163['width'],_0x5d0163[_0x1b9332(0x89)]),_0x53861c[_0x1b9332(0xa9)]()),_0x55dd30[_0x1b9332(0x7d)](_0x5d0163,_0x1b9332(0x74));}function _getStripePattern(_0x4ed83d,_0x2170dd,_0x8856c8){const _0x5684ab=a64_0x1d8a;var _0x32b920=getSize(_0x2170dd);const _0x2445a4=document[_0x5684ab(0xa3)](_0x5684ab(0x83)),_0x3a41c8=_0x2445a4[_0x5684ab(0xae)]('2d');let _0x4da97a=Math[_0x5684ab(0xa5)](_0x32b920[0x1]/_0x8856c8[_0x5684ab(0x76)],0x1);return _0x2445a4[_0x5684ab(0x7a)]=_0x32b920[0x0],_0x2445a4[_0x5684ab(0x89)]=_0x4da97a*0x2,_0x3a41c8&&(_0x3a41c8[_0x5684ab(0x8f)](),_0x3a41c8['moveTo'](0x0,0x0),_0x3a41c8['lineTo'](_0x2445a4[_0x5684ab(0x7a)],0x0),_0x3a41c8['lineTo'](_0x2445a4[_0x5684ab(0x7a)],_0x4da97a),_0x3a41c8[_0x5684ab(0xa6)](0x0,_0x4da97a),_0x3a41c8[_0x5684ab(0x8d)](),_0x3a41c8['fillStyle']=getColor(_0x8856c8['stripe_oddcolor'],_0x8856c8[_0x5684ab(0x93)]),_0x3a41c8[_0x5684ab(0x91)](),_0x3a41c8[_0x5684ab(0x8f)](),_0x3a41c8[_0x5684ab(0x9b)](0x0,_0x4da97a),_0x3a41c8['lineTo'](_0x2445a4[_0x5684ab(0x7a)],_0x4da97a),_0x3a41c8[_0x5684ab(0xa6)](_0x2445a4[_0x5684ab(0x7a)],_0x4da97a*0x2),_0x3a41c8[_0x5684ab(0xa6)](0x0,_0x4da97a*0x2),_0x3a41c8[_0x5684ab(0x8d)](),_0x3a41c8[_0x5684ab(0x77)]=getColor(_0x8856c8[_0x5684ab(0xa1)],_0x8856c8[_0x5684ab(0x93)]),_0x3a41c8[_0x5684ab(0x91)]()),_0x4ed83d[_0x5684ab(0x7d)](_0x2445a4,_0x5684ab(0x74));}function a64_0x1d8a(_0x220e2d,_0x3de85b){const _0x4339d6=a64_0x4339();return a64_0x1d8a=function(_0x1d8a2b,_0x51c620){_0x1d8a2b=_0x1d8a2b-0x73;let _0x581b28=_0x4339d6[_0x1d8a2b];return _0x581b28;},a64_0x1d8a(_0x220e2d,_0x3de85b);}function _getCheckerBoardPattern(_0x148c5d,_0x2b2c01,_0x5e1950){const _0x41cce0=a64_0x1d8a;var _0x21e61b=getSize(_0x2b2c01);const _0x3b0b56=document[_0x41cce0(0xa3)](_0x41cce0(0x83)),_0x5c3980=_0x3b0b56['getContext']('2d');let _0x1a20e3=Math[_0x41cce0(0xa5)](_0x21e61b[0x0]/_0x5e1950[_0x41cce0(0x82)],0x1),_0x51969e=Math['max'](_0x21e61b[0x1]/_0x5e1950[_0x41cce0(0x82)],0x1);return _0x3b0b56[_0x41cce0(0x7a)]=_0x1a20e3*0x2,_0x3b0b56[_0x41cce0(0x89)]=_0x51969e*0x2,_0x5c3980&&(_0x5c3980[_0x41cce0(0x8f)](),_0x5c3980[_0x41cce0(0x9b)](0x0,0x0),_0x5c3980[_0x41cce0(0xa6)](_0x1a20e3,0x0),_0x5c3980['lineTo'](_0x1a20e3,_0x51969e),_0x5c3980[_0x41cce0(0xa6)](0x0,_0x51969e),_0x5c3980[_0x41cce0(0x8d)](),_0x5c3980[_0x41cce0(0x77)]=getColor(_0x5e1950[_0x41cce0(0x85)],_0x5e1950[_0x41cce0(0x93)]),_0x5c3980[_0x41cce0(0x91)](),_0x5c3980[_0x41cce0(0x8f)](),_0x5c3980[_0x41cce0(0x9b)](_0x1a20e3,0x0),_0x5c3980[_0x41cce0(0xa6)](_0x3b0b56[_0x41cce0(0x7a)],0x0),_0x5c3980[_0x41cce0(0xa6)](_0x3b0b56['width'],_0x51969e),_0x5c3980['lineTo'](_0x1a20e3,_0x51969e),_0x5c3980[_0x41cce0(0x8d)](),_0x5c3980[_0x41cce0(0x77)]=getColor(_0x5e1950['color'],_0x5e1950[_0x41cce0(0x93)]),_0x5c3980['fill'](),_0x5c3980[_0x41cce0(0x8f)](),_0x5c3980[_0x41cce0(0x9b)](0x0,_0x51969e),_0x5c3980[_0x41cce0(0xa6)](_0x1a20e3,_0x51969e),_0x5c3980[_0x41cce0(0xa6)](_0x1a20e3,_0x3b0b56[_0x41cce0(0x89)]),_0x5c3980[_0x41cce0(0xa6)](0x0,_0x3b0b56[_0x41cce0(0x89)]),_0x5c3980[_0x41cce0(0x8d)](),_0x5c3980['fillStyle']=getColor(_0x5e1950[_0x41cce0(0xa1)],_0x5e1950[_0x41cce0(0x93)]),_0x5c3980['fill'](),_0x5c3980[_0x41cce0(0x8f)](),_0x5c3980[_0x41cce0(0x9b)](_0x1a20e3,_0x51969e),_0x5c3980[_0x41cce0(0xa6)](_0x3b0b56[_0x41cce0(0x7a)],_0x51969e),_0x5c3980[_0x41cce0(0xa6)](_0x3b0b56[_0x41cce0(0x7a)],_0x3b0b56[_0x41cce0(0x89)]),_0x5c3980['lineTo'](_0x1a20e3,_0x3b0b56[_0x41cce0(0x89)]),_0x5c3980['closePath'](),_0x5c3980['fillStyle']=getColor(_0x5e1950[_0x41cce0(0x85)],_0x5e1950[_0x41cce0(0x93)]),_0x5c3980['fill']()),_0x148c5d[_0x41cce0(0x7d)](_0x3b0b56,_0x41cce0(0x74));}
1
+ (function(_0x3ff5e6,_0x5927e8){const _0x525b1a=a64_0x64e5,_0x3163a4=_0x3ff5e6();while(!![]){try{const _0x47e25e=parseInt(_0x525b1a(0x1dd))/0x1+-parseInt(_0x525b1a(0x208))/0x2*(parseInt(_0x525b1a(0x201))/0x3)+parseInt(_0x525b1a(0x1e2))/0x4+parseInt(_0x525b1a(0x1fd))/0x5+parseInt(_0x525b1a(0x1fa))/0x6*(parseInt(_0x525b1a(0x205))/0x7)+-parseInt(_0x525b1a(0x1d9))/0x8*(-parseInt(_0x525b1a(0x20c))/0x9)+parseInt(_0x525b1a(0x1f2))/0xa*(-parseInt(_0x525b1a(0x1fc))/0xb);if(_0x47e25e===_0x5927e8)break;else _0x3163a4['push'](_0x3163a4['shift']());}catch(_0x1008dc){_0x3163a4['push'](_0x3163a4['shift']());}}}(a64_0xdf83,0x819e9));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';function a64_0x64e5(_0x40f860,_0x2433c2){const _0xdf8375=a64_0xdf83();return a64_0x64e5=function(_0x64e5bc,_0x5ea395){_0x64e5bc=_0x64e5bc-0x1d2;let _0x47a61f=_0xdf8375[_0x64e5bc];return _0x47a61f;},a64_0x64e5(_0x40f860,_0x2433c2);}import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x2d253a,_0xd2846,_0xe1688e,_0x1d3284){const _0x39c93f=a64_0x64e5;var _0x4bc333;let _0xe2c001=(_0x4bc333=_0x2d253a[_0x39c93f(0x1f3)])!==null&&_0x4bc333!==void 0x0?_0x4bc333:0x0,_0x54278e=new Style();_0x54278e['setZIndex'](_0xe2c001),_0x54278e[_0x39c93f(0x20a)](new Fill({'color':_0x39c93f(0x200)}));if(_0x2d253a[_0x39c93f(0x1e7)]!==![]){if(!_0x2d253a[_0x39c93f(0x20d)]||_0x2d253a['fillType']==='color')_0x54278e[_0x39c93f(0x20a)](new Fill({'color':getColor(_0x2d253a['color'],_0x2d253a['opacity'])}));else{if(_0x2d253a['fillType']===_0x39c93f(0x212))_0x54278e['setRenderer']((_0x25fea2,_0x272697)=>{preLoadImageRenderFunction(_0x2d253a,_0x25fea2,_0x272697,_0x1d3284,_rendererFunction);});else _0x2d253a[_0x39c93f(0x20d)]===_0x39c93f(0x20f)||_0x2d253a['fillType']===_0x39c93f(0x1fb)||_0x2d253a[_0x39c93f(0x20d)]==='checkerboard'?_0x54278e[_0x39c93f(0x1ef)]((_0x5120e0,_0x17aebb)=>{_rendererFunction(_0x2d253a,_0x5120e0,_0x17aebb,_0x1d3284,null);}):_0x54278e[_0x39c93f(0x20a)](new Fill({'color':getColor(_0x2d253a[_0x39c93f(0x1e4)],_0x2d253a[_0x39c93f(0x1e3)])}));}}_0x2d253a[_0x39c93f(0x1da)]!==![]&&_0x54278e[_0x39c93f(0x1eb)](new Stroke({'color':getColor(_0x2d253a[_0x39c93f(0x1d8)],_0x2d253a[_0x39c93f(0x1de)]),'width':_0x2d253a[_0x39c93f(0x1e1)]}));let _0x54faa1=[_0x54278e];_0x2d253a[_0x39c93f(0x206)]&&!_0x2d253a['billboard']['verticalOrigin']&&(_0x2d253a[_0x39c93f(0x206)]['verticalOrigin']='CENTER');let _0x371e28=getImageOlStyle(_0x2d253a[_0x39c93f(0x206)],_0xe2c001,_0xe1688e,_0x1d3284);_0x371e28&&_0x54faa1['push'](_0x371e28);if(_0x2d253a[_0x39c93f(0x1f5)]&&_0x2d253a['label'][_0x39c93f(0x1f7)]!==![]){!_0x2d253a[_0x39c93f(0x1f5)][_0x39c93f(0x1ea)]&&(_0x2d253a[_0x39c93f(0x1f5)][_0x39c93f(0x1ea)]=_0x39c93f(0x202));let _0x46dd11=new Style({'text':createTextStyle(_0x2d253a[_0x39c93f(0x1f5)],_0xd2846,_0xe1688e,_0x1d3284),'zIndex':Number(_0xe2c001)+0x1});_0x54faa1[_0x39c93f(0x1e8)](_0x46dd11);}return _0x54faa1;}function a64_0xdf83(){const _0x1ccb2e=['length','outlineWidth','1772416mlzUNG','opacity','color','context','src','fill','push','grid_lineCount','verticalOrigin','setStroke','createPattern','grid_lineThickness','restore','setRenderer','max','moveTo','16463030IxvWyC','zIndex','rgba(0,0,0,0.0)','label','fillStyle','show','globalAlpha','oddColor','12pSVakV','stripe','11urirJT','4573055cMyOOv','lineWidth','stroke','rgba(0,0,0,0)','151737YEwxTO','CENTER','getContext','height','2985297oZPhvi','billboard','warn','34Dnwoxl','strokeStyle','setFill','save','54081cGNbaL','fillType','repeatY','grid','stripe_repeat','canvas','image','lineTo','repeat','width','closePath','beginPath','stripe_oddcolor','checkerboard_repeat','outlineColor','944nOrWnl','outline','createElement','translate','117348PSJxqB','outlineOpacity','rgba(0,0,0,0.01)'];a64_0xdf83=function(){return _0x1ccb2e;};return a64_0xdf83();}function _rendererFunction(_0x3562fd,_0x1e742a,_0x4df8f8,_0x513c9b,_0x59251b){const _0x54f874=a64_0x64e5;try{var _0x160494=_0x4df8f8[_0x54f874(0x1e5)];for(var _0x39ffcd=0x0,_0x2c4ca1=_0x1e742a[_0x54f874(0x1e0)];_0x39ffcd<_0x2c4ca1;_0x39ffcd++){_0x160494[_0x54f874(0x20b)](),_0x160494[_0x54f874(0x1d5)]();var _0x198e96=_0x1e742a[_0x39ffcd];let _0x4cad33=boundingExtent(_0x198e96);_0x160494[_0x54f874(0x1dc)](_0x4cad33[0x0],_0x4cad33[0x1]);let _0x3fc442;switch(_0x3562fd[_0x54f874(0x20d)]){case _0x54f874(0x212):_0x3fc442=_getImagePattern(_0x160494,_0x4cad33,_0x3562fd,_0x59251b);break;case _0x54f874(0x20f):_0x3fc442=_getGridPattern(_0x160494,_0x4cad33,_0x3562fd);break;case _0x54f874(0x1fb):_0x3fc442=_getStripePattern(_0x160494,_0x4cad33,_0x3562fd);break;case'checkerboard':_0x3fc442=_getCheckerBoardPattern(_0x160494,_0x4cad33,_0x3562fd);break;default:_0x3fc442=_0x54f874(0x1df);break;}for(var _0x46306b=0x0,_0x28a094=_0x198e96[_0x54f874(0x1e0)];_0x46306b<_0x28a094;_0x46306b++){var _0x37dbc4=_0x198e96[_0x46306b];_0x46306b===0x0?_0x160494[_0x54f874(0x1f1)](_0x37dbc4[0x0]-_0x4cad33[0x0],_0x37dbc4[0x1]-_0x4cad33[0x1]):_0x160494['lineTo'](_0x37dbc4[0x0]-_0x4cad33[0x0],_0x37dbc4[0x1]-_0x4cad33[0x1]);}_0x160494[_0x54f874(0x1d4)](),_0x160494[_0x54f874(0x1f6)]=_0x54f874(0x1df),_0x160494[_0x54f874(0x1e7)](),_0x160494[_0x54f874(0x1f6)]=_0x3fc442,_0x160494[_0x54f874(0x1e7)](),_0x3562fd['outline']?(_0x160494['strokeStyle']=getColor(_0x3562fd[_0x54f874(0x1d8)],_0x3562fd[_0x54f874(0x1de)]),_0x160494[_0x54f874(0x1fe)]=_0x3562fd['outlineWidth']):_0x160494[_0x54f874(0x209)]=_0x54f874(0x1f4),_0x160494['stroke'](),_0x160494[_0x54f874(0x1ee)]();}}catch(_0x54e753){_0x160494[_0x54f874(0x1ee)](),console[_0x54f874(0x207)](_0x54e753);}}function _getImagePattern(_0x4b019d,_0xd7de1f,_0x258013,_0x34d9dd){const _0x2d6ab2=a64_0x64e5;if(!_0x34d9dd||_0x34d9dd[_0x2d6ab2(0x1d3)]===0x0){let _0xa69f04=new Image();_0xa69f04[_0x2d6ab2(0x1e6)]=_0x258013[_0x2d6ab2(0x212)];}var _0x89ef5a=getSize(_0xd7de1f);const _0x1679c2=document[_0x2d6ab2(0x1db)](_0x2d6ab2(0x211)),_0x3ca1b4=_0x1679c2['getContext']('2d');return _0x1679c2[_0x2d6ab2(0x1d3)]=Math['max'](_0x89ef5a[0x0]/_0x258013['repeatX'],0x1),_0x1679c2[_0x2d6ab2(0x204)]=Math[_0x2d6ab2(0x1f0)](_0x89ef5a[0x1]/_0x258013[_0x2d6ab2(0x20e)],0x1),_0x3ca1b4&&(_0x3ca1b4[_0x2d6ab2(0x1f8)]=_0x258013[_0x2d6ab2(0x1e3)],_0x3ca1b4['drawImage'](_0x34d9dd,0x0,0x0,_0x1679c2['width'],_0x1679c2[_0x2d6ab2(0x204)])),_0x4b019d['createPattern'](_0x1679c2,_0x2d6ab2(0x1d2));}function _getGridPattern(_0x30b184,_0x3e4860,_0xf0bfa8){const _0x576847=a64_0x64e5;var _0x565c18=getSize(_0x3e4860);const _0x55d524=document[_0x576847(0x1db)](_0x576847(0x211)),_0xbdc490=_0x55d524[_0x576847(0x203)]('2d');return _0x55d524['width']=Math[_0x576847(0x1f0)](_0x565c18[0x0]/_0xf0bfa8[_0x576847(0x1e9)],0x1),_0x55d524[_0x576847(0x204)]=Math[_0x576847(0x1f0)](_0x565c18[0x1]/_0xf0bfa8[_0x576847(0x1e9)],0x1),_0xbdc490&&(_0xbdc490[_0x576847(0x209)]=getColor(_0xf0bfa8[_0x576847(0x1e4)],_0xf0bfa8[_0x576847(0x1e3)]),_0xbdc490['lineWidth']=_0xf0bfa8[_0x576847(0x1ed)]*0x4,_0xbdc490[_0x576847(0x1d5)](),_0xbdc490[_0x576847(0x1f1)](0x0,_0x55d524[_0x576847(0x204)]),_0xbdc490[_0x576847(0x213)](_0x55d524['width'],_0x55d524[_0x576847(0x204)]),_0xbdc490[_0x576847(0x1f1)](_0x55d524[_0x576847(0x1d3)],0x0),_0xbdc490[_0x576847(0x213)](_0x55d524[_0x576847(0x1d3)],_0x55d524[_0x576847(0x204)]),_0xbdc490[_0x576847(0x1ff)]()),_0x30b184[_0x576847(0x1ec)](_0x55d524,_0x576847(0x1d2));}function _getStripePattern(_0x41a598,_0x28c730,_0x1a005e){const _0x31de78=a64_0x64e5;var _0x5cc737=getSize(_0x28c730);const _0x3f195e=document[_0x31de78(0x1db)]('canvas'),_0x8ceaee=_0x3f195e['getContext']('2d');let _0x33d38d=Math['max'](_0x5cc737[0x1]/_0x1a005e[_0x31de78(0x210)],0x1);return _0x3f195e[_0x31de78(0x1d3)]=_0x5cc737[0x0],_0x3f195e['height']=_0x33d38d*0x2,_0x8ceaee&&(_0x8ceaee[_0x31de78(0x1d5)](),_0x8ceaee[_0x31de78(0x1f1)](0x0,0x0),_0x8ceaee['lineTo'](_0x3f195e[_0x31de78(0x1d3)],0x0),_0x8ceaee[_0x31de78(0x213)](_0x3f195e['width'],_0x33d38d),_0x8ceaee[_0x31de78(0x213)](0x0,_0x33d38d),_0x8ceaee[_0x31de78(0x1d4)](),_0x8ceaee[_0x31de78(0x1f6)]=getColor(_0x1a005e[_0x31de78(0x1d6)],_0x1a005e[_0x31de78(0x1e3)]),_0x8ceaee[_0x31de78(0x1e7)](),_0x8ceaee[_0x31de78(0x1d5)](),_0x8ceaee[_0x31de78(0x1f1)](0x0,_0x33d38d),_0x8ceaee[_0x31de78(0x213)](_0x3f195e[_0x31de78(0x1d3)],_0x33d38d),_0x8ceaee['lineTo'](_0x3f195e['width'],_0x33d38d*0x2),_0x8ceaee[_0x31de78(0x213)](0x0,_0x33d38d*0x2),_0x8ceaee[_0x31de78(0x1d4)](),_0x8ceaee[_0x31de78(0x1f6)]=getColor(_0x1a005e[_0x31de78(0x1e4)],_0x1a005e[_0x31de78(0x1e3)]),_0x8ceaee[_0x31de78(0x1e7)]()),_0x41a598[_0x31de78(0x1ec)](_0x3f195e,_0x31de78(0x1d2));}function _getCheckerBoardPattern(_0x357cb9,_0x4e1eb6,_0x320e53){const _0x1ec570=a64_0x64e5;var _0x158c52=getSize(_0x4e1eb6);const _0x322ef9=document[_0x1ec570(0x1db)](_0x1ec570(0x211)),_0x369eb5=_0x322ef9[_0x1ec570(0x203)]('2d');let _0x225d6a=Math['max'](_0x158c52[0x0]/_0x320e53[_0x1ec570(0x1d7)],0x1),_0x2ecaac=Math[_0x1ec570(0x1f0)](_0x158c52[0x1]/_0x320e53['checkerboard_repeat'],0x1);return _0x322ef9[_0x1ec570(0x1d3)]=_0x225d6a*0x2,_0x322ef9[_0x1ec570(0x204)]=_0x2ecaac*0x2,_0x369eb5&&(_0x369eb5['beginPath'](),_0x369eb5[_0x1ec570(0x1f1)](0x0,0x0),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,0x0),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](0x0,_0x2ecaac),_0x369eb5[_0x1ec570(0x1d4)](),_0x369eb5['fillStyle']=getColor(_0x320e53[_0x1ec570(0x1f9)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)](),_0x369eb5[_0x1ec570(0x1d5)](),_0x369eb5[_0x1ec570(0x1f1)](_0x225d6a,0x0),_0x369eb5[_0x1ec570(0x213)](_0x322ef9[_0x1ec570(0x1d3)],0x0),_0x369eb5[_0x1ec570(0x213)](_0x322ef9[_0x1ec570(0x1d3)],_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x2ecaac),_0x369eb5['closePath'](),_0x369eb5[_0x1ec570(0x1f6)]=getColor(_0x320e53[_0x1ec570(0x1e4)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)](),_0x369eb5[_0x1ec570(0x1d5)](),_0x369eb5['moveTo'](0x0,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['lineTo'](0x0,_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['closePath'](),_0x369eb5[_0x1ec570(0x1f6)]=getColor(_0x320e53[_0x1ec570(0x1e4)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)](),_0x369eb5[_0x1ec570(0x1d5)](),_0x369eb5[_0x1ec570(0x1f1)](_0x225d6a,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x322ef9[_0x1ec570(0x1d3)],_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x322ef9['width'],_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['lineTo'](_0x225d6a,_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['closePath'](),_0x369eb5[_0x1ec570(0x1f6)]=getColor(_0x320e53[_0x1ec570(0x1f9)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)]()),_0x357cb9[_0x1ec570(0x1ec)](_0x322ef9,_0x1ec570(0x1d2));}