瀏覽代碼

no message

不会爬树的猴 2 年之前
父節點
當前提交
3a9b74e290
共有 100 個文件被更改,包括 12521 次插入12234 次删除
  1. 134 0
      node_modules/.vite/deps/BaseDynamicLayerView2D-HXS3PKWI.js
  2. 0 0
      node_modules/.vite/deps/BaseDynamicLayerView2D-HXS3PKWI.js.map
  3. 0 134
      node_modules/.vite/deps/BaseDynamicLayerView2D-NADSCJ5B.js
  4. 0 41
      node_modules/.vite/deps/Basemap-3LMXWUPF.js
  5. 41 0
      node_modules/.vite/deps/Basemap-6SIVIIED.js
  6. 0 0
      node_modules/.vite/deps/Basemap-6SIVIIED.js.map
  7. 0 162
      node_modules/.vite/deps/BingMapsLayer-G5OIKC22.js
  8. 162 0
      node_modules/.vite/deps/BingMapsLayer-KZTBTKA7.js
  9. 0 0
      node_modules/.vite/deps/BingMapsLayer-KZTBTKA7.js.map
  10. 428 0
      node_modules/.vite/deps/BuildingSceneLayer-5OEEGE4D.js
  11. 0 0
      node_modules/.vite/deps/BuildingSceneLayer-5OEEGE4D.js.map
  12. 0 428
      node_modules/.vite/deps/BuildingSceneLayer-V62HGRKT.js
  13. 302 0
      node_modules/.vite/deps/CSVLayer-2TNXHB4T.js
  14. 0 0
      node_modules/.vite/deps/CSVLayer-2TNXHB4T.js.map
  15. 0 302
      node_modules/.vite/deps/CSVLayer-6YW6DGCE.js
  16. 501 0
      node_modules/.vite/deps/CSVSourceWorker-5ZFKL2LA.js
  17. 0 0
      node_modules/.vite/deps/CSVSourceWorker-5ZFKL2LA.js.map
  18. 0 501
      node_modules/.vite/deps/CSVSourceWorker-QJPD44IC.js
  19. 0 55
      node_modules/.vite/deps/DefaultMaterial.glsl-HW3QTI6C.js
  20. 55 0
      node_modules/.vite/deps/DefaultMaterial.glsl-ZGDAOX5L.js
  21. 0 0
      node_modules/.vite/deps/DefaultMaterial.glsl-ZGDAOX5L.js.map
  22. 42 0
      node_modules/.vite/deps/DictionaryLoader-67BU3GTD.js
  23. 0 0
      node_modules/.vite/deps/DictionaryLoader-67BU3GTD.js.map
  24. 0 42
      node_modules/.vite/deps/DictionaryLoader-76XPG7YY.js
  25. 235 0
      node_modules/.vite/deps/DimensionLayer-5ON3JP7F.js
  26. 0 0
      node_modules/.vite/deps/DimensionLayer-5ON3JP7F.js.map
  27. 0 235
      node_modules/.vite/deps/DimensionLayer-MJFOLY32.js
  28. 0 241
      node_modules/.vite/deps/ElevationLayer-NYCVL5EQ.js
  29. 241 0
      node_modules/.vite/deps/ElevationLayer-QUSPD7CU.js
  30. 0 0
      node_modules/.vite/deps/ElevationLayer-QUSPD7CU.js.map
  31. 658 0
      node_modules/.vite/deps/ElevationQuery-BZTDAKT4.js
  32. 0 0
      node_modules/.vite/deps/ElevationQuery-BZTDAKT4.js.map
  33. 0 658
      node_modules/.vite/deps/ElevationQuery-PFI6RXXM.js
  34. 0 96
      node_modules/.vite/deps/ElevationSamplerWorker-ETI272ZX.js
  35. 96 0
      node_modules/.vite/deps/ElevationSamplerWorker-INHIMYEM.js
  36. 0 0
      node_modules/.vite/deps/ElevationSamplerWorker-INHIMYEM.js.map
  37. 0 193
      node_modules/.vite/deps/FeatureFilter-DOO77BOI.js
  38. 193 0
      node_modules/.vite/deps/FeatureFilter-UHAYMQOD.js
  39. 0 0
      node_modules/.vite/deps/FeatureFilter-UHAYMQOD.js.map
  40. 0 141
      node_modules/.vite/deps/FeatureLayer-3WEBJCEM.js
  41. 141 0
      node_modules/.vite/deps/FeatureLayer-PKSF7I4I.js
  42. 0 0
      node_modules/.vite/deps/FeatureLayer-PKSF7I4I.js.map
  43. 0 912
      node_modules/.vite/deps/FeatureLayerSource-7N3BYJYZ.js
  44. 912 0
      node_modules/.vite/deps/FeatureLayerSource-HL2MNKHL.js
  45. 0 0
      node_modules/.vite/deps/FeatureLayerSource-HL2MNKHL.js.map
  46. 0 142
      node_modules/.vite/deps/FeatureLayerView2D-4F4JQTMI.js
  47. 142 0
      node_modules/.vite/deps/FeatureLayerView2D-A2GZH6N4.js
  48. 0 0
      node_modules/.vite/deps/FeatureLayerView2D-A2GZH6N4.js.map
  49. 0 1084
      node_modules/.vite/deps/FeatureServiceSnappingSourceWorker-ID2DKINZ.js
  50. 1084 0
      node_modules/.vite/deps/FeatureServiceSnappingSourceWorker-MVB6ESH2.js
  51. 0 0
      node_modules/.vite/deps/FeatureServiceSnappingSourceWorker-MVB6ESH2.js.map
  52. 0 64
      node_modules/.vite/deps/FeatureSet-4LFEUCS7.js
  53. 64 0
      node_modules/.vite/deps/FeatureSet-NRSMMBOZ.js
  54. 0 0
      node_modules/.vite/deps/FeatureSet-NRSMMBOZ.js.map
  55. 390 0
      node_modules/.vite/deps/GeoJSONLayer-74RPAPTA.js
  56. 0 0
      node_modules/.vite/deps/GeoJSONLayer-74RPAPTA.js.map
  57. 0 390
      node_modules/.vite/deps/GeoJSONLayer-YDKKKMXQ.js
  58. 338 0
      node_modules/.vite/deps/GeoJSONSourceWorker-BYIRP3JE.js
  59. 0 0
      node_modules/.vite/deps/GeoJSONSourceWorker-BYIRP3JE.js.map
  60. 0 338
      node_modules/.vite/deps/GeoJSONSourceWorker-ZQVDDZS5.js
  61. 181 0
      node_modules/.vite/deps/GeoRSSLayer-GRSYEJZN.js
  62. 0 0
      node_modules/.vite/deps/GeoRSSLayer-GRSYEJZN.js.map
  63. 0 181
      node_modules/.vite/deps/GeoRSSLayer-OMFPL5EF.js
  64. 265 0
      node_modules/.vite/deps/GeoRSSLayerView2D-5DGPHLT2.js
  65. 0 0
      node_modules/.vite/deps/GeoRSSLayerView2D-5DGPHLT2.js.map
  66. 0 265
      node_modules/.vite/deps/GeoRSSLayerView2D-QWKYU3I4.js
  67. 249 0
      node_modules/.vite/deps/GraphicsLayerView2D-RJVVZZVM.js
  68. 0 0
      node_modules/.vite/deps/GraphicsLayerView2D-RJVVZZVM.js.map
  69. 0 249
      node_modules/.vite/deps/GraphicsLayerView2D-UJ2NI47Z.js
  70. 186 0
      node_modules/.vite/deps/GroupLayer-O4E26MJH.js
  71. 0 0
      node_modules/.vite/deps/GroupLayer-O4E26MJH.js.map
  72. 0 186
      node_modules/.vite/deps/GroupLayer-UF4S7J5N.js
  73. 177 0
      node_modules/.vite/deps/GroupLayerView2D-63UXVU7J.js
  74. 0 0
      node_modules/.vite/deps/GroupLayerView2D-63UXVU7J.js.map
  75. 0 177
      node_modules/.vite/deps/GroupLayerView2D-NCEDOD3U.js
  76. 117 0
      node_modules/.vite/deps/HeatmapProcessor-44PJINTD.js
  77. 0 0
      node_modules/.vite/deps/HeatmapProcessor-44PJINTD.js.map
  78. 0 117
      node_modules/.vite/deps/HeatmapProcessor-ZMETYYQZ.js
  79. 0 148
      node_modules/.vite/deps/HeatmapTileRenderer-OVKMQRO5.js
  80. 148 0
      node_modules/.vite/deps/HeatmapTileRenderer-YZVXNEVA.js
  81. 0 0
      node_modules/.vite/deps/HeatmapTileRenderer-YZVXNEVA.js.map
  82. 1029 0
      node_modules/.vite/deps/IdentityManager-BURTBCQ3.js
  83. 0 0
      node_modules/.vite/deps/IdentityManager-BURTBCQ3.js.map
  84. 0 1029
      node_modules/.vite/deps/IdentityManager-RSGL7L3S.js
  85. 0 270
      node_modules/.vite/deps/ImageryLayer-37D6GXDP.js
  86. 270 0
      node_modules/.vite/deps/ImageryLayer-Z7TUSLEV.js
  87. 0 0
      node_modules/.vite/deps/ImageryLayer-Z7TUSLEV.js.map
  88. 0 547
      node_modules/.vite/deps/ImageryLayerView2D-F5AMDXNA.js
  89. 547 0
      node_modules/.vite/deps/ImageryLayerView2D-K3NIEDQI.js
  90. 0 0
      node_modules/.vite/deps/ImageryLayerView2D-K3NIEDQI.js.map
  91. 0 1922
      node_modules/.vite/deps/ImageryTileLayer-CTOXD6HK.js
  92. 1922 0
      node_modules/.vite/deps/ImageryTileLayer-IMEVVZAS.js
  93. 0 0
      node_modules/.vite/deps/ImageryTileLayer-IMEVVZAS.js.map
  94. 734 0
      node_modules/.vite/deps/ImageryTileLayerView2D-SIAMUTWD.js
  95. 0 0
      node_modules/.vite/deps/ImageryTileLayerView2D-SIAMUTWD.js.map
  96. 0 734
      node_modules/.vite/deps/ImageryTileLayerView2D-UUVVNIWQ.js
  97. 0 250
      node_modules/.vite/deps/IntegratedMeshLayer-7YTE5FG5.js
  98. 250 0
      node_modules/.vite/deps/IntegratedMeshLayer-B7PIXZS2.js
  99. 0 0
      node_modules/.vite/deps/IntegratedMeshLayer-B7PIXZS2.js.map
  100. 287 0
      node_modules/.vite/deps/KMLLayer-G2W3Z42K.js

+ 134 - 0
node_modules/.vite/deps/BaseDynamicLayerView2D-HXS3PKWI.js

@@ -0,0 +1,134 @@
+import {
+  v
+} from "./chunk-IX6RALEM.js";
+import {
+  a
+} from "./chunk-EUHDLMVO.js";
+import {
+  i
+} from "./chunk-MQOWDNF7.js";
+import {
+  u,
+  y as y2
+} from "./chunk-ZOTXRPGC.js";
+import "./chunk-QQTL25WV.js";
+import "./chunk-MH3GGTFP.js";
+import "./chunk-2ZACOQZJ.js";
+import "./chunk-JBMHQ5RK.js";
+import "./chunk-WBWQJQK4.js";
+import "./chunk-DBT4KOKX.js";
+import "./chunk-2GP5D74I.js";
+import "./chunk-SCZJ2KEY.js";
+import "./chunk-EPMXCACW.js";
+import "./chunk-T2SKWJGU.js";
+import "./chunk-UO3LS2M5.js";
+import "./chunk-H2VOWDMO.js";
+import "./chunk-QISOH77W.js";
+import "./chunk-UWKVAZQ6.js";
+import "./chunk-3WXSWAUV.js";
+import "./chunk-27YO3FKC.js";
+import "./chunk-EQNT4A7P.js";
+import "./chunk-XO5VJRK4.js";
+import "./chunk-4OM3EX6P.js";
+import "./chunk-3OFVLRSL.js";
+import "./chunk-IQBIGNPU.js";
+import "./chunk-K7B6OWCU.js";
+import "./chunk-UDYHZLTE.js";
+import "./chunk-KK6FUQQU.js";
+import "./chunk-JQUWFKNU.js";
+import "./chunk-RWQH5X3O.js";
+import "./chunk-TFHLTN6F.js";
+import "./chunk-4VZNS7N2.js";
+import "./chunk-O3JQY77G.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-RDMCXRET.js";
+import "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-BWATQC2Y.js";
+import "./chunk-6URCZZA6.js";
+import "./chunk-U2WD23Z5.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  j
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/2d/layers/BaseDynamicLayerView2D.js
+var m = class extends i(y2(u)) {
+  update(t) {
+    this._strategy.update(t).catch((t2) => {
+      j(t2) || s.getLogger(this.declaredClass).error(t2);
+    }), this.notifyChange("updating");
+  }
+  attach() {
+    this._bitmapContainer = new a(), this.container.addChild(this._bitmapContainer), this._strategy = new v({ container: this._bitmapContainer, fetchSource: this.fetchBitmapData.bind(this), requestUpdate: this.requestUpdate.bind(this) });
+  }
+  detach() {
+    this._strategy.destroy(), this._strategy = null, this.container.removeChild(this._bitmapContainer), this._bitmapContainer.removeAllChildren();
+  }
+  moveStart() {
+  }
+  viewChange() {
+  }
+  moveEnd() {
+    this.requestUpdate();
+  }
+  fetchBitmapData(t, e2, r) {
+    return this.layer.fetchImage(t, e2, r);
+  }
+  async doRefresh() {
+    this.requestUpdate();
+  }
+  isUpdating() {
+    return this._strategy.updating || this.updateRequested;
+  }
+};
+e([y()], m.prototype, "_strategy", void 0), e([y()], m.prototype, "updating", void 0), m = e([n("esri.views.2d.layers.BaseDynamicLayerView2D")], m);
+var c = m;
+export {
+  c as default
+};
+//# sourceMappingURL=BaseDynamicLayerView2D-HXS3PKWI.js.map

+ 0 - 0
node_modules/.vite/deps/BaseDynamicLayerView2D-NADSCJ5B.js.map → node_modules/.vite/deps/BaseDynamicLayerView2D-HXS3PKWI.js.map


+ 0 - 134
node_modules/.vite/deps/BaseDynamicLayerView2D-NADSCJ5B.js

@@ -1,134 +0,0 @@
-import {
-  v
-} from "./chunk-NAWSWIYX.js";
-import {
-  a
-} from "./chunk-BFF4N4R7.js";
-import "./chunk-O6KMIRUU.js";
-import "./chunk-264YGWEE.js";
-import {
-  i
-} from "./chunk-YG7DNOY4.js";
-import {
-  u,
-  y as y2
-} from "./chunk-KUAEOLV3.js";
-import "./chunk-ZLQP3WDC.js";
-import "./chunk-JBMHQ5RK.js";
-import "./chunk-WBWQJQK4.js";
-import "./chunk-TDS6IBMU.js";
-import "./chunk-DBT4KOKX.js";
-import "./chunk-2GP5D74I.js";
-import "./chunk-EPMXCACW.js";
-import "./chunk-UWKVAZQ6.js";
-import "./chunk-T2SKWJGU.js";
-import "./chunk-UO3LS2M5.js";
-import "./chunk-H2VOWDMO.js";
-import "./chunk-QISOH77W.js";
-import "./chunk-XO5VJRK4.js";
-import "./chunk-3WXSWAUV.js";
-import "./chunk-27YO3FKC.js";
-import "./chunk-EQNT4A7P.js";
-import "./chunk-4OM3EX6P.js";
-import "./chunk-3OFVLRSL.js";
-import "./chunk-IQBIGNPU.js";
-import "./chunk-K7B6OWCU.js";
-import "./chunk-UDYHZLTE.js";
-import "./chunk-VQXMCZYH.js";
-import "./chunk-JQUWFKNU.js";
-import "./chunk-RWQH5X3O.js";
-import "./chunk-TFHLTN6F.js";
-import "./chunk-O3JQY77G.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-JKFWEHNK.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-YZVAB3DF.js";
-import "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-TJV6ODRM.js";
-import "./chunk-YLEVJ6UV.js";
-import "./chunk-U2WD23Z5.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  j
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/2d/layers/BaseDynamicLayerView2D.js
-var m = class extends i(y2(u)) {
-  update(t) {
-    this._strategy.update(t).catch((t2) => {
-      j(t2) || s.getLogger(this.declaredClass).error(t2);
-    }), this.notifyChange("updating");
-  }
-  attach() {
-    this._bitmapContainer = new a(), this.container.addChild(this._bitmapContainer), this._strategy = new v({ container: this._bitmapContainer, fetchSource: this.fetchBitmapData.bind(this), requestUpdate: this.requestUpdate.bind(this) });
-  }
-  detach() {
-    this._strategy.destroy(), this._strategy = null, this.container.removeChild(this._bitmapContainer), this._bitmapContainer.removeAllChildren();
-  }
-  moveStart() {
-  }
-  viewChange() {
-  }
-  moveEnd() {
-    this.requestUpdate();
-  }
-  fetchBitmapData(t, e2, r) {
-    return this.layer.fetchImage(t, e2, r);
-  }
-  async doRefresh() {
-    this.requestUpdate();
-  }
-  isUpdating() {
-    return this._strategy.updating || this.updateRequested;
-  }
-};
-e([y()], m.prototype, "_strategy", void 0), e([y()], m.prototype, "updating", void 0), m = e([n("esri.views.2d.layers.BaseDynamicLayerView2D")], m);
-var c = m;
-export {
-  c as default
-};
-//# sourceMappingURL=BaseDynamicLayerView2D-NADSCJ5B.js.map

+ 0 - 41
node_modules/.vite/deps/Basemap-3LMXWUPF.js

@@ -1,41 +0,0 @@
-import {
-  x
-} from "./chunk-GTTGW4YT.js";
-import "./chunk-QRRIN2JN.js";
-import "./chunk-ICWTATWH.js";
-import "./chunk-HWSWTWZD.js";
-import "./chunk-FAOWJMTO.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-2ZSOO377.js";
-import "./chunk-YUA3AHKR.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-export {
-  x as default
-};
-//# sourceMappingURL=Basemap-3LMXWUPF.js.map

+ 41 - 0
node_modules/.vite/deps/Basemap-6SIVIIED.js

@@ -0,0 +1,41 @@
+import {
+  x
+} from "./chunk-UKSKNKVV.js";
+import "./chunk-UTSBIUUP.js";
+import "./chunk-ICWTATWH.js";
+import "./chunk-HWSWTWZD.js";
+import "./chunk-R7V7MKKV.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-PIFOHNWC.js";
+import "./chunk-LLO7GCYU.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+export {
+  x as default
+};
+//# sourceMappingURL=Basemap-6SIVIIED.js.map

+ 0 - 0
node_modules/.vite/deps/Basemap-3LMXWUPF.js.map → node_modules/.vite/deps/Basemap-6SIVIIED.js.map


+ 0 - 162
node_modules/.vite/deps/BingMapsLayer-G5OIKC22.js

@@ -1,162 +0,0 @@
-import {
-  g
-} from "./chunk-Z2FNPC7X.js";
-import {
-  j
-} from "./chunk-YLEVJ6UV.js";
-import "./chunk-U2WD23Z5.js";
-import {
-  c
-} from "./chunk-WLSB4F4I.js";
-import "./chunk-GLSWDDR3.js";
-import {
-  O
-} from "./chunk-MIQGEDET.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-GN35O2ZO.js";
-import {
-  n as n2
-} from "./chunk-XTVKPAWY.js";
-import "./chunk-3OSQ6GXO.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-PLWDAYK7.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-DXVOOCG4.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import {
-  s as s2
-} from "./chunk-HZRKBTHJ.js";
-import {
-  U
-} from "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import {
-  k2 as k
-} from "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import {
-  s3 as s
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  r,
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/layers/BingMapsLayer.js
-var c2 = new s2({ BingMapsAerial: "aerial", BingMapsRoad: "road", BingMapsHybrid: "hybrid" });
-var h = "https://dev.virtualearth.net";
-var m = class extends n2(c(O(g))) {
-  constructor(e2) {
-    super(e2), this.type = "bing-maps", this.tileInfo = new j({ size: [256, 256], dpi: 96, origin: { x: -20037508342787e-6, y: 20037508342787e-6, spatialReference: k.WebMercator }, spatialReference: k.WebMercator, lods: [{ level: 1, resolution: 78271.5169639999, scale: 295828763795777e-6 }, { level: 2, resolution: 39135.7584820001, scale: 147914381897889e-6 }, { level: 3, resolution: 19567.8792409999, scale: 73957190948944e-6 }, { level: 4, resolution: 9783.93962049996, scale: 36978595474472e-6 }, { level: 5, resolution: 4891.96981024998, scale: 18489297737236e-6 }, { level: 6, resolution: 2445.98490512499, scale: 9244648868618e-6 }, { level: 7, resolution: 1222.99245256249, scale: 4622324434309e-6 }, { level: 8, resolution: 611.49622628138, scale: 2311162217155e-6 }, { level: 9, resolution: 305.748113140558, scale: 1155581108577e-6 }, { level: 10, resolution: 152.874056570411, scale: 577790.554289 }, { level: 11, resolution: 76.4370282850732, scale: 288895.277144 }, { level: 12, resolution: 38.2185141425366, scale: 144447.638572 }, { level: 13, resolution: 19.1092570712683, scale: 72223.819286 }, { level: 14, resolution: 9.55462853563415, scale: 36111.909643 }, { level: 15, resolution: 4.77731426794937, scale: 18055.954822 }, { level: 16, resolution: 2.38865713397468, scale: 9027.977411 }, { level: 17, resolution: 1.19432856685505, scale: 4513.988705 }, { level: 18, resolution: 0.597164283559817, scale: 2256.994353 }, { level: 19, resolution: 0.298582141647617, scale: 1128.497176 }, { level: 20, resolution: 0.1492910708238085, scale: 564.248588 }] }), this.key = null, this.style = "road", this.culture = "en-US", this.region = null, this.portalUrl = null, this.hasAttributionData = true;
-  }
-  get bingMetadata() {
-    return this._get("bingMetadata");
-  }
-  set bingMetadata(e2) {
-    this._set("bingMetadata", e2);
-  }
-  get copyright() {
-    return r(this.bingMetadata) ? this.bingMetadata.copyright : null;
-  }
-  get operationalLayerType() {
-    return c2.toJSON(this.style);
-  }
-  get bingLogo() {
-    return r(this.bingMetadata) ? this.bingMetadata.brandLogoUri : null;
-  }
-  load(e2) {
-    return this.key ? this.addResolvingPromise(this._getMetadata()) : this.portalUrl ? this.addResolvingPromise(this._getPortalBingKey().then(() => this._getMetadata())) : this.addResolvingPromise(Promise.reject(new s("bingmapslayer:load", "Bing layer must have bing key."))), Promise.resolve(this);
-  }
-  getTileUrl(e2, t2, r2) {
-    if (!this.loaded || t(this.bingMetadata))
-      return null;
-    const a = this.bingMetadata.resourceSets[0].resources[0], o = a.imageUrlSubdomains[t2 % a.imageUrlSubdomains.length], i = this._getQuadKey(e2, t2, r2);
-    return a.imageUrl.replace("{subdomain}", o).replace("{quadkey}", i);
-  }
-  async fetchAttributionData() {
-    return this.load().then(() => {
-      if (t(this.bingMetadata))
-        return null;
-      return { contributors: this.bingMetadata.resourceSets[0].resources[0].imageryProviders.map((e2) => ({ attribution: e2.attribution, coverageAreas: e2.coverageAreas.map((e3) => ({ zoomMin: e3.zoomMin, zoomMax: e3.zoomMax, score: 1, bbox: [e3.bbox[0], e3.bbox[1], e3.bbox[2], e3.bbox[3]] })) })) };
-    });
-  }
-  _getMetadata() {
-    const e2 = { road: "roadOnDemand", aerial: "aerial", hybrid: "aerialWithLabelsOnDemand" }[this.style];
-    return U(`${h}/REST/v1/Imagery/Metadata/${e2}`, { responseType: "json", query: { include: "ImageryProviders", uriScheme: "https", key: this.key, suppressStatus: true, output: "json", culture: this.culture, userRegion: this.region } }).then((e3) => {
-      const t2 = e3.data;
-      if (200 !== t2.statusCode)
-        throw new s("bingmapslayer:getmetadata", t2.statusDescription);
-      if (this.bingMetadata = t2, 0 === this.bingMetadata.resourceSets.length)
-        throw new s("bingmapslayer:getmetadata", "no bing resourcesets");
-      if (0 === this.bingMetadata.resourceSets[0].resources.length)
-        throw new s("bingmapslayer:getmetadata", "no bing resources");
-    }).catch((e3) => {
-      throw new s("bingmapslayer:getmetadata", e3.message);
-    });
-  }
-  _getPortalBingKey() {
-    var _a;
-    return U((_a = this.portalUrl) != null ? _a : "", { responseType: "json", authMode: "no-prompt", query: { f: "json" } }).then((e2) => {
-      if (!e2.data.bingKey)
-        throw new s("bingmapslayer:getportalbingkey", "The referenced Portal does not contain a valid bing key");
-      this.key = e2.data.bingKey;
-    }).catch((e2) => {
-      throw new s("bingmapslayer:getportalbingkey", e2.message);
-    });
-  }
-  _getQuadKey(e2, t2, r2) {
-    let a = "";
-    for (let o = e2; o > 0; o--) {
-      let e3 = 0;
-      const s3 = 1 << o - 1;
-      0 != (r2 & s3) && (e3 += 1), 0 != (t2 & s3) && (e3 += 2), a += e3.toString();
-    }
-    return a;
-  }
-};
-e([y({ json: { read: false, write: false }, value: null })], m.prototype, "bingMetadata", null), e([y({ json: { read: false, write: false }, value: "bing-maps", readOnly: true })], m.prototype, "type", void 0), e([y({ type: j })], m.prototype, "tileInfo", void 0), e([y({ type: String, readOnly: true, json: { read: false, write: false } })], m.prototype, "copyright", null), e([y({ type: String, json: { write: false, read: false } })], m.prototype, "key", void 0), e([y({ type: c2.apiValues, nonNullable: true, json: { read: { source: "layerType", reader: c2.read } } })], m.prototype, "style", void 0), e([y({ type: ["BingMapsAerial", "BingMapsHybrid", "BingMapsRoad"] })], m.prototype, "operationalLayerType", null), e([y({ type: String, json: { write: false, read: false } })], m.prototype, "culture", void 0), e([y({ type: String, json: { write: false, read: false } })], m.prototype, "region", void 0), e([y({ type: String, json: { write: true, read: true } })], m.prototype, "portalUrl", void 0), e([y({ type: Boolean, json: { write: false, read: false } })], m.prototype, "hasAttributionData", void 0), e([y({ type: String, readOnly: true })], m.prototype, "bingLogo", null), m = e([n("esri.layers.BingMapsLayer")], m);
-var b = m;
-export {
-  b as default
-};
-//# sourceMappingURL=BingMapsLayer-G5OIKC22.js.map

+ 162 - 0
node_modules/.vite/deps/BingMapsLayer-KZTBTKA7.js

@@ -0,0 +1,162 @@
+import {
+  g
+} from "./chunk-WAB3RMSK.js";
+import {
+  j
+} from "./chunk-6URCZZA6.js";
+import "./chunk-U2WD23Z5.js";
+import {
+  c
+} from "./chunk-VXKIGGM4.js";
+import "./chunk-KG45D2XL.js";
+import {
+  O
+} from "./chunk-JYRZQPQI.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-UMJCSYX5.js";
+import {
+  n as n2
+} from "./chunk-UA6W42KP.js";
+import "./chunk-3OSQ6GXO.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-2L5METUC.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-O43KLDSX.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import {
+  s as s2
+} from "./chunk-HZRKBTHJ.js";
+import {
+  U
+} from "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  k2 as k
+} from "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import {
+  s3 as s
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  r,
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/BingMapsLayer.js
+var c2 = new s2({ BingMapsAerial: "aerial", BingMapsRoad: "road", BingMapsHybrid: "hybrid" });
+var h = "https://dev.virtualearth.net";
+var m = class extends n2(c(O(g))) {
+  constructor(e2) {
+    super(e2), this.type = "bing-maps", this.tileInfo = new j({ size: [256, 256], dpi: 96, origin: { x: -20037508342787e-6, y: 20037508342787e-6, spatialReference: k.WebMercator }, spatialReference: k.WebMercator, lods: [{ level: 1, resolution: 78271.5169639999, scale: 295828763795777e-6 }, { level: 2, resolution: 39135.7584820001, scale: 147914381897889e-6 }, { level: 3, resolution: 19567.8792409999, scale: 73957190948944e-6 }, { level: 4, resolution: 9783.93962049996, scale: 36978595474472e-6 }, { level: 5, resolution: 4891.96981024998, scale: 18489297737236e-6 }, { level: 6, resolution: 2445.98490512499, scale: 9244648868618e-6 }, { level: 7, resolution: 1222.99245256249, scale: 4622324434309e-6 }, { level: 8, resolution: 611.49622628138, scale: 2311162217155e-6 }, { level: 9, resolution: 305.748113140558, scale: 1155581108577e-6 }, { level: 10, resolution: 152.874056570411, scale: 577790.554289 }, { level: 11, resolution: 76.4370282850732, scale: 288895.277144 }, { level: 12, resolution: 38.2185141425366, scale: 144447.638572 }, { level: 13, resolution: 19.1092570712683, scale: 72223.819286 }, { level: 14, resolution: 9.55462853563415, scale: 36111.909643 }, { level: 15, resolution: 4.77731426794937, scale: 18055.954822 }, { level: 16, resolution: 2.38865713397468, scale: 9027.977411 }, { level: 17, resolution: 1.19432856685505, scale: 4513.988705 }, { level: 18, resolution: 0.597164283559817, scale: 2256.994353 }, { level: 19, resolution: 0.298582141647617, scale: 1128.497176 }, { level: 20, resolution: 0.1492910708238085, scale: 564.248588 }] }), this.key = null, this.style = "road", this.culture = "en-US", this.region = null, this.portalUrl = null, this.hasAttributionData = true;
+  }
+  get bingMetadata() {
+    return this._get("bingMetadata");
+  }
+  set bingMetadata(e2) {
+    this._set("bingMetadata", e2);
+  }
+  get copyright() {
+    return r(this.bingMetadata) ? this.bingMetadata.copyright : null;
+  }
+  get operationalLayerType() {
+    return c2.toJSON(this.style);
+  }
+  get bingLogo() {
+    return r(this.bingMetadata) ? this.bingMetadata.brandLogoUri : null;
+  }
+  load(e2) {
+    return this.key ? this.addResolvingPromise(this._getMetadata()) : this.portalUrl ? this.addResolvingPromise(this._getPortalBingKey().then(() => this._getMetadata())) : this.addResolvingPromise(Promise.reject(new s("bingmapslayer:load", "Bing layer must have bing key."))), Promise.resolve(this);
+  }
+  getTileUrl(e2, t2, r2) {
+    if (!this.loaded || t(this.bingMetadata))
+      return null;
+    const a = this.bingMetadata.resourceSets[0].resources[0], o = a.imageUrlSubdomains[t2 % a.imageUrlSubdomains.length], i = this._getQuadKey(e2, t2, r2);
+    return a.imageUrl.replace("{subdomain}", o).replace("{quadkey}", i);
+  }
+  async fetchAttributionData() {
+    return this.load().then(() => {
+      if (t(this.bingMetadata))
+        return null;
+      return { contributors: this.bingMetadata.resourceSets[0].resources[0].imageryProviders.map((e2) => ({ attribution: e2.attribution, coverageAreas: e2.coverageAreas.map((e3) => ({ zoomMin: e3.zoomMin, zoomMax: e3.zoomMax, score: 1, bbox: [e3.bbox[0], e3.bbox[1], e3.bbox[2], e3.bbox[3]] })) })) };
+    });
+  }
+  _getMetadata() {
+    const e2 = { road: "roadOnDemand", aerial: "aerial", hybrid: "aerialWithLabelsOnDemand" }[this.style];
+    return U(`${h}/REST/v1/Imagery/Metadata/${e2}`, { responseType: "json", query: { include: "ImageryProviders", uriScheme: "https", key: this.key, suppressStatus: true, output: "json", culture: this.culture, userRegion: this.region } }).then((e3) => {
+      const t2 = e3.data;
+      if (200 !== t2.statusCode)
+        throw new s("bingmapslayer:getmetadata", t2.statusDescription);
+      if (this.bingMetadata = t2, 0 === this.bingMetadata.resourceSets.length)
+        throw new s("bingmapslayer:getmetadata", "no bing resourcesets");
+      if (0 === this.bingMetadata.resourceSets[0].resources.length)
+        throw new s("bingmapslayer:getmetadata", "no bing resources");
+    }).catch((e3) => {
+      throw new s("bingmapslayer:getmetadata", e3.message);
+    });
+  }
+  _getPortalBingKey() {
+    var _a;
+    return U((_a = this.portalUrl) != null ? _a : "", { responseType: "json", authMode: "no-prompt", query: { f: "json" } }).then((e2) => {
+      if (!e2.data.bingKey)
+        throw new s("bingmapslayer:getportalbingkey", "The referenced Portal does not contain a valid bing key");
+      this.key = e2.data.bingKey;
+    }).catch((e2) => {
+      throw new s("bingmapslayer:getportalbingkey", e2.message);
+    });
+  }
+  _getQuadKey(e2, t2, r2) {
+    let a = "";
+    for (let o = e2; o > 0; o--) {
+      let e3 = 0;
+      const s3 = 1 << o - 1;
+      0 != (r2 & s3) && (e3 += 1), 0 != (t2 & s3) && (e3 += 2), a += e3.toString();
+    }
+    return a;
+  }
+};
+e([y({ json: { read: false, write: false }, value: null })], m.prototype, "bingMetadata", null), e([y({ json: { read: false, write: false }, value: "bing-maps", readOnly: true })], m.prototype, "type", void 0), e([y({ type: j })], m.prototype, "tileInfo", void 0), e([y({ type: String, readOnly: true, json: { read: false, write: false } })], m.prototype, "copyright", null), e([y({ type: String, json: { write: false, read: false } })], m.prototype, "key", void 0), e([y({ type: c2.apiValues, nonNullable: true, json: { read: { source: "layerType", reader: c2.read } } })], m.prototype, "style", void 0), e([y({ type: ["BingMapsAerial", "BingMapsHybrid", "BingMapsRoad"] })], m.prototype, "operationalLayerType", null), e([y({ type: String, json: { write: false, read: false } })], m.prototype, "culture", void 0), e([y({ type: String, json: { write: false, read: false } })], m.prototype, "region", void 0), e([y({ type: String, json: { write: true, read: true } })], m.prototype, "portalUrl", void 0), e([y({ type: Boolean, json: { write: false, read: false } })], m.prototype, "hasAttributionData", void 0), e([y({ type: String, readOnly: true })], m.prototype, "bingLogo", null), m = e([n("esri.layers.BingMapsLayer")], m);
+var b = m;
+export {
+  b as default
+};
+//# sourceMappingURL=BingMapsLayer-KZTBTKA7.js.map

+ 0 - 0
node_modules/.vite/deps/BingMapsLayer-G5OIKC22.js.map → node_modules/.vite/deps/BingMapsLayer-KZTBTKA7.js.map


File diff suppressed because it is too large
+ 428 - 0
node_modules/.vite/deps/BuildingSceneLayer-5OEEGE4D.js


+ 0 - 0
node_modules/.vite/deps/BuildingSceneLayer-V62HGRKT.js.map → node_modules/.vite/deps/BuildingSceneLayer-5OEEGE4D.js.map


File diff suppressed because it is too large
+ 0 - 428
node_modules/.vite/deps/BuildingSceneLayer-V62HGRKT.js


File diff suppressed because it is too large
+ 302 - 0
node_modules/.vite/deps/CSVLayer-2TNXHB4T.js


+ 0 - 0
node_modules/.vite/deps/CSVLayer-6YW6DGCE.js.map → node_modules/.vite/deps/CSVLayer-2TNXHB4T.js.map


File diff suppressed because it is too large
+ 0 - 302
node_modules/.vite/deps/CSVLayer-6YW6DGCE.js


+ 501 - 0
node_modules/.vite/deps/CSVSourceWorker-5ZFKL2LA.js

@@ -0,0 +1,501 @@
+import {
+  i,
+  o
+} from "./chunk-A6WD5XTM.js";
+import {
+  u
+} from "./chunk-5X5UDWFV.js";
+import {
+  Y
+} from "./chunk-3EZOER4E.js";
+import "./chunk-XCIRV7CO.js";
+import "./chunk-DMVKVC5I.js";
+import "./chunk-EL3V6S4N.js";
+import "./chunk-NFN2M2QU.js";
+import {
+  f
+} from "./chunk-3ZJXLJLL.js";
+import "./chunk-OP2HNSVZ.js";
+import "./chunk-4GGDRIJK.js";
+import "./chunk-MZG75XMA.js";
+import {
+  a
+} from "./chunk-5JZ72JAQ.js";
+import "./chunk-REMBDESU.js";
+import "./chunk-CKZZYAPN.js";
+import "./chunk-AFVJXEUJ.js";
+import {
+  t as t2
+} from "./chunk-FZSI6IGI.js";
+import "./chunk-SJGY5U4Q.js";
+import "./chunk-27XWQUQA.js";
+import "./chunk-NX2NCBAF.js";
+import "./chunk-4VZNS7N2.js";
+import "./chunk-IIAN3QNN.js";
+import {
+  ln
+} from "./chunk-VYQHMPYW.js";
+import "./chunk-WXUHXYJK.js";
+import "./chunk-NTERQTPO.js";
+import "./chunk-EDHROVWI.js";
+import {
+  s as s3,
+  t
+} from "./chunk-3IRT3YKJ.js";
+import "./chunk-SOSOZIX6.js";
+import "./chunk-ZSW35JPD.js";
+import {
+  r
+} from "./chunk-DAWQAVQO.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-BWATQC2Y.js";
+import {
+  M
+} from "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import {
+  j as j2
+} from "./chunk-PIFOHNWC.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-HZRKBTHJ.js";
+import {
+  U
+} from "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import {
+  Ut,
+  j as j3
+} from "./chunk-VEGAOVMY.js";
+import {
+  y
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  E,
+  c,
+  k,
+  k2
+} from "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  j
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s,
+  s3 as s2
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/graphics/sources/csv/csv.js
+var t3 = /^\s*"([\S\s]*)"\s*$/;
+var n = /""/g;
+var i2 = "\n";
+var r2 = [",", " ", ";", "|", "	"];
+function* l(e, t4, n2) {
+  let i3 = 0;
+  for (; i3 <= e.length; ) {
+    const r3 = e.indexOf(t4, i3), l2 = e.substring(i3, r3 > -1 ? r3 : void 0);
+    i3 += l2.length + t4.length, n2 && !l2.trim() || (yield l2);
+  }
+}
+function o2(e) {
+  const t4 = e.includes("\r\n") ? "\r\n" : i2;
+  return l(e, t4, true);
+}
+function u2(e, t4) {
+  return l(e, t4, false);
+}
+function s4(e, t4, n2) {
+  var _a;
+  e = e.trim(), t4 = t4 == null ? void 0 : t4.trim();
+  const i3 = [], l2 = Array.from(/* @__PURE__ */ new Set([n2 == null ? void 0 : n2.delimiter, ...r2])).filter((e2) => null != e2);
+  for (const r3 of l2) {
+    const n3 = f2(e, r3).length, l3 = (_a = f2(t4, r3).length) != null ? _a : n3;
+    n3 > 1 && i3.push({ weight: Math.min(n3, l3), delimiter: r3 });
+  }
+  const o3 = i3.sort(({ weight: e2 }, { weight: t5 }) => t5 - e2).map(({ delimiter: e2 }) => e2);
+  for (const r3 of o3) {
+    const t5 = g(a2(e, r3).names, n2 == null ? void 0 : n2.longitudeField, n2 == null ? void 0 : n2.latitudeField);
+    if (t5.longitudeFieldName && t5.latitudeFieldName)
+      return { delimiter: r3, locationInfo: t5 };
+  }
+  return { delimiter: o3[0], locationInfo: null };
+}
+function* c2(e, r3, l2, s5 = () => /* @__PURE__ */ Object.create(null)) {
+  const c3 = o2(e);
+  c3.next();
+  let a3 = "", f3 = "", g2 = 0, m2 = s5(), p2 = 0;
+  e:
+    for (const o3 of c3) {
+      const e2 = u2(o3, l2);
+      for (const i3 of e2)
+        if (a3 += f3 + i3, f3 = "", g2 += d(i3), g2 % 2 == 0) {
+          if (g2 > 0) {
+            const e3 = t3.exec(a3);
+            if (!e3) {
+              m2 = s5(), p2 = 0, a3 = "", g2 = 0;
+              continue e;
+            }
+            m2[r3[p2]] = e3[1].replace(n, '"'), p2++;
+          } else
+            m2[r3[p2]] = a3, p2++;
+          a3 = "", g2 = 0;
+        } else
+          f3 = l2;
+      0 === g2 ? (yield m2, m2 = s5(), p2 = 0) : f3 = i2;
+    }
+}
+function a2(e, t4) {
+  const n2 = f2(e, t4).filter((e2) => null != e2), i3 = n2.map((e2) => $(e2));
+  for (let r3 = i3.length - 1; r3 >= 0; r3--)
+    i3[r3] || (i3.splice(r3, 1), n2.splice(r3, 1));
+  return { names: i3, aliases: n2 };
+}
+function f2(e, i3) {
+  if (!(e == null ? void 0 : e.length))
+    return [];
+  const r3 = [];
+  let l2 = "", o3 = "", s5 = 0;
+  const c3 = u2(e, i3);
+  for (const u3 of c3)
+    if (l2 += o3 + u3, o3 = "", s5 += d(u3), s5 % 2 == 0) {
+      if (s5 > 0) {
+        const e2 = t3.exec(l2);
+        e2 && r3.push(e2[1].replace(n, '"'));
+      } else
+        r3.push(l2);
+      l2 = "", s5 = 0;
+    } else
+      o3 = i3;
+  return r3;
+}
+function d(e) {
+  let t4 = 0, n2 = 0;
+  for (n2 = e.indexOf('"', n2); n2 >= 0; )
+    t4++, n2 = e.indexOf('"', n2 + 1);
+  return t4;
+}
+function g(e, t4, n2) {
+  var _a, _b;
+  t4 = (_a = $(t4)) == null ? void 0 : _a.toLowerCase(), n2 = (_b = $(n2)) == null ? void 0 : _b.toLowerCase();
+  const i3 = e.map((e2) => e2.toLowerCase()), r3 = t4 ? e[i3.indexOf(t4)] : null, l2 = n2 ? e[i3.indexOf(n2)] : null;
+  return { longitudeFieldName: r3 || e[i3.indexOf(F.find((e2) => i3.includes(e2)))], latitudeFieldName: l2 || e[i3.indexOf(y2.find((e2) => i3.includes(e2)))] };
+}
+function m(e, t4, n2, i3, r3) {
+  const l2 = [], o3 = c2(e, n2, t4), u3 = [];
+  for (const s5 of o3) {
+    if (10 === u3.length)
+      break;
+    u3.push(s5);
+  }
+  for (let s5 = 0; s5 < n2.length; s5++) {
+    const e2 = n2[s5], t5 = i3[s5];
+    if (e2 === r3.longitudeFieldName || e2 === r3.latitudeFieldName)
+      l2.push({ name: e2, type: "esriFieldTypeDouble", alias: t5 });
+    else {
+      let n3, i4;
+      switch (p(u3.map((t6) => t6[e2]))) {
+        case "integer":
+          n3 = "esriFieldTypeInteger";
+          break;
+        case "double":
+          n3 = "esriFieldTypeDouble";
+          break;
+        case "date":
+          n3 = "esriFieldTypeDate", i4 = 36;
+          break;
+        default:
+          n3 = "esriFieldTypeString", i4 = 255;
+      }
+      l2.push({ name: e2, type: n3, alias: t5, length: i4 });
+    }
+  }
+  return l2;
+}
+function p(e) {
+  if (!e.length)
+    return "string";
+  const t4 = /[^+-.,0-9]/;
+  return e.map((e2) => {
+    let n2 = false;
+    if ("" !== e2) {
+      if (t4.test(e2))
+        n2 = true;
+      else {
+        let t5 = h(e2);
+        if (!isNaN(t5))
+          return /[.,]/.test(e2) || !Number.isInteger(t5) || t5 > 214783647 || t5 < -214783648 ? "double" : "integer";
+        if (e2.includes("E")) {
+          if (t5 = Number(e2), !isNaN(t5))
+            return "double";
+          if (e2.includes(",")) {
+            if (e2 = e2.replace(",", "."), t5 = Number(e2), !isNaN(t5))
+              return "double";
+            n2 = true;
+          } else
+            n2 = true;
+        } else
+          n2 = true;
+      }
+      if (n2) {
+        if (!/^[-]?\d*[.,]?\d*$/.test(e2)) {
+          return b(new Date(e2), e2) ? "date" : "string";
+        }
+        return "string";
+      }
+      return "string";
+    }
+  }).reduce((e2, t5) => void 0 === e2 ? t5 : void 0 === t5 ? e2 : e2 === t5 ? t5 : "string" === e2 || "string" === t5 ? "string" : "double" === e2 || "double" === t5 ? "double" : void 0);
+}
+function b(e, t4) {
+  if (!e || "[object Date]" !== Object.prototype.toString.call(e) || isNaN(e.getTime()))
+    return false;
+  let n2 = true;
+  if (!x && /\d+\W*$/.test(t4)) {
+    const e2 = t4.match(/[a-zA-Z]{2,}/);
+    if (e2) {
+      let t5 = false, i3 = 0;
+      for (; !t5 && i3 <= e2.length; )
+        t5 = !N.test(e2[i3]), i3++;
+      n2 = !t5;
+    }
+  }
+  return n2;
+}
+var h = function() {
+  const t4 = a(), n2 = new RegExp("^" + t4.regexp + "$"), i3 = new RegExp("[" + t4.group + "\\s\\xa0]", "g"), r3 = t4.factor;
+  return (e) => {
+    const l2 = n2.exec(e);
+    if (t4.factor = r3, !l2)
+      return NaN;
+    let o3 = l2[1];
+    if (!l2[1]) {
+      if (!l2[2])
+        return NaN;
+      o3 = l2[2], t4.factor *= -1;
+    }
+    return o3 = o3.replace(i3, "").replace(t4.decimal, "."), +o3 * t4.factor;
+  };
+}();
+var N = /^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i;
+var x = Number.isNaN(new Date("technology 10").getTime());
+var y2 = ["lat", "latitude", "latitude83", "latdecdeg", "lat_dd", "y", "ycenter", "point_y"];
+var F = ["lon", "lng", "long", "longitude", "longitude83", "longdecdeg", "long_dd", "x", "xcenter", "point_x"];
+var w = /^([0-9])/;
+var _ = /[^A-Za-z0-9_\u0080-\uffff]/g;
+var O = /_{2,}/g;
+var j4 = /^_/;
+var T = /_$/;
+function $(e) {
+  return e ? e.trim().replace(_, "_").replace(O, "_").replace(j4, "").replace(T, "").replace(w, "F$1") : null;
+}
+
+// node_modules/@arcgis/core/layers/graphics/sources/support/CSVSourceWorker.js
+var C = o("esriGeometryPoint");
+var v = ["csv"];
+var O2 = [0, 0];
+var D = class {
+  constructor(e, t4) {
+    this.x = e, this.y = t4;
+  }
+};
+var k3 = class {
+  constructor() {
+    this._queryEngine = null, this._snapshotFeatures = async (e) => {
+      const t4 = await this._fetch(e);
+      return this._createFeatures(t4);
+    };
+  }
+  destroy() {
+    var _a;
+    (_a = this._queryEngine) == null ? void 0 : _a.destroy(), this._queryEngine = null;
+  }
+  async load(e, t4 = {}) {
+    var _a;
+    this._loadOptions = e;
+    const [i3] = await Promise.all([this._fetch(t4.signal), this._checkProjection((_a = e == null ? void 0 : e.parsingOptions) == null ? void 0 : _a.spatialReference)]), n2 = P(i3, e);
+    this._locationInfo = n2.locationInfo, this._delimiter = n2.delimiter, this._queryEngine = this._createQueryEngine(n2);
+    const r3 = await this._createFeatures(i3);
+    if (this._queryEngine.featureStore.addMany(r3), n2.layerDefinition.extent = this._queryEngine.fullExtent, n2.layerDefinition.timeInfo) {
+      const { start: e2, end: t5 } = this._queryEngine.timeExtent;
+      n2.layerDefinition.timeInfo.timeExtent = [e2, t5];
+    }
+    return n2;
+  }
+  async applyEdits() {
+    throw new s2("csv-layer:editing-not-supported", "applyEdits() is not supported on CSVLayer");
+  }
+  async queryFeatures(e = {}, t4 = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQuery(e, t4.signal);
+  }
+  async queryFeatureCount(e = {}, t4 = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForCount(e, t4.signal);
+  }
+  async queryObjectIds(e = {}, t4 = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForIds(e, t4.signal);
+  }
+  async queryExtent(e = {}, t4 = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForExtent(e, t4.signal);
+  }
+  async querySnapping(e, t4 = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForSnapping(e, t4.signal);
+  }
+  async refresh(e) {
+    var _a;
+    return this._loadOptions.customParameters = e, (_a = this._snapshotTask) == null ? void 0 : _a.abort(), this._snapshotTask = j2(this._snapshotFeatures), this._snapshotTask.promise.then((e2) => {
+      this._queryEngine.featureStore.clear(), e2 && this._queryEngine.featureStore.addMany(e2);
+    }, (e2) => {
+      this._queryEngine.featureStore.clear(), j(e2) || s.getLogger("esri.layers.CSVLayer").error(new s2("csv-layer:refresh", "An error occurred during refresh", { error: e2 }));
+    }), await this._waitSnapshotComplete(), { extent: this._queryEngine.fullExtent, timeExtent: this._queryEngine.timeExtent };
+  }
+  async _waitSnapshotComplete() {
+    if (this._snapshotTask && !this._snapshotTask.finished) {
+      try {
+        await this._snapshotTask.promise;
+      } catch {
+      }
+      return this._waitSnapshotComplete();
+    }
+  }
+  async _fetch(t4) {
+    const { url: n2, customParameters: r3 } = this._loadOptions;
+    if (!n2)
+      throw new s2("csv-layer:invalid-source", "url not defined");
+    const o3 = j3(n2);
+    return (await U(o3.path, { query: { ...o3.query, ...r3 }, responseType: "text", signal: t4 })).data;
+  }
+  _createQueryEngine(e) {
+    const { objectIdField: t4, fields: i3, extent: n2, timeInfo: r3 } = e.layerDefinition, s5 = new u({ geometryType: "esriGeometryPoint", hasM: false, hasZ: false });
+    return new Y({ fields: i3, geometryType: "esriGeometryPoint", hasM: false, hasZ: false, timeInfo: r3, objectIdField: t4, spatialReference: n2.spatialReference || { wkid: 4326 }, cacheSpatialQueries: true, featureStore: s5 });
+  }
+  async _createFeatures(e) {
+    const { latitudeFieldName: t4, longitudeFieldName: i3 } = this._locationInfo, { objectIdField: n2, fieldsIndex: r3, spatialReference: s5 } = this._queryEngine;
+    let o3 = [];
+    const u3 = [], y3 = r3.fields.filter((e2) => e2.name !== n2).map((e2) => e2.name);
+    let h2 = 0;
+    const g2 = {};
+    for (const a3 of r3.fields)
+      if ("esriFieldTypeOID" !== a3.type && "esriFieldTypeGlobalID" !== a3.type) {
+        const e2 = M(a3);
+        void 0 !== e2 && (g2[a3.name] = e2);
+      }
+    const w2 = c2(e, y3, this._delimiter, i(g2, n2));
+    for (const a3 of w2) {
+      const e2 = this._parseCoordinateValue(a3[t4]), s6 = this._parseCoordinateValue(a3[i3]);
+      if (null != s6 && null != e2 && !isNaN(e2) && !isNaN(s6)) {
+        a3[t4] = e2, a3[i3] = s6;
+        for (const e3 in a3)
+          if (e3 !== t4 && e3 !== i3) {
+            if (r3.isDateField(e3)) {
+              const t5 = new Date(a3[e3]);
+              a3[e3] = b(t5, a3[e3]) ? t5.getTime() : null;
+            } else if (r3.isNumericField(e3)) {
+              const t5 = h(a3[e3]);
+              isNaN(t5) ? a3[e3] = null : a3[e3] = t5;
+            }
+          }
+        a3[n2] = h2, h2++, o3.push(new D(s6, e2)), u3.push(a3);
+      }
+    }
+    if (!E({ wkid: 4326 }, s5))
+      if (k(s5))
+        for (const a3 of o3)
+          [a3.x, a3.y] = y(a3.x, a3.y, O2);
+      else
+        o3 = ln(t2, o3, k2.WGS84, s5, null, null);
+    const E2 = [];
+    for (let a3 = 0; a3 < o3.length; a3++) {
+      const { x: e2, y: t5 } = o3[a3], i4 = u3[a3];
+      i4[n2] = a3 + 1, E2.push(new s3(new t([], [e2, t5]), i4, null, i4[n2]));
+    }
+    return E2;
+  }
+  _parseCoordinateValue(e) {
+    if (null == e || "" === e)
+      return null;
+    let t4 = h(e);
+    return (isNaN(t4) || Math.abs(t4) > 181) && (t4 = parseFloat(e)), t4;
+  }
+  async _checkProjection(e) {
+    try {
+      await f(c, e);
+    } catch {
+      throw new s2("csv-layer:projection-not-supported", "Projection not supported");
+    }
+  }
+};
+function P(e, t4) {
+  var _a, _b, _c;
+  const n2 = t4.parsingOptions || {}, r3 = { delimiter: n2.delimiter, layerDefinition: null, locationInfo: { latitudeFieldName: n2.latitudeField, longitudeFieldName: n2.longitudeField } }, s5 = r3.layerDefinition = { name: Ut(t4.url, v) || "csv", drawingInfo: C, geometryType: "esriGeometryPoint", objectIdField: null, fields: [], timeInfo: n2.timeInfo, extent: { xmin: Number.POSITIVE_INFINITY, ymin: Number.POSITIVE_INFINITY, xmax: Number.NEGATIVE_INFINITY, ymax: Number.NEGATIVE_INFINITY, spatialReference: n2.spatialReference || { wkid: 102100 } } }, a3 = o2(e), l2 = (_a = a3.next().value) == null ? void 0 : _a.trim(), c3 = (_b = a3.next().value) == null ? void 0 : _b.trim();
+  if (!l2)
+    throw new s2("csv-layer:empty-csv", "CSV is empty", { csv: e });
+  const { delimiter: m2, locationInfo: u3 } = s4(l2, c3, n2);
+  if (!m2)
+    throw new s2("csv-layer:invalid-delimiter", "Unable to detect the delimiter from CSV", { firstLine: l2, secondLine: c3, parsingOptions: n2 });
+  if (!u3)
+    throw new s2("csv-layer:location-fields-not-found", "Unable to identify latitude and longitude fields from the CSV file", { firstLine: l2, secondLine: c3, parsingOptions: n2 });
+  r3.locationInfo = u3, r3.delimiter = m2;
+  const { names: d2, aliases: p2 } = a2(l2, m2), f3 = m(e, r3.delimiter, d2, p2, r3.locationInfo);
+  if ((_c = n2.fields) == null ? void 0 : _c.length) {
+    const e2 = new r(n2.fields);
+    for (const t5 of f3) {
+      const i3 = e2.get(t5.name);
+      i3 && Object.assign(t5, i3);
+    }
+  }
+  if (!f3.some((e2) => "esriFieldTypeOID" === e2.type && (s5.objectIdField = e2.name, true))) {
+    const e2 = { name: "__OBJECTID", alias: "__OBJECTID", type: "esriFieldTypeOID", editable: false, nullable: false };
+    s5.objectIdField = e2.name, f3.unshift(e2);
+  }
+  s5.fields = f3;
+  const y3 = new r(s5.fields);
+  if (r3.locationInfo && (r3.locationInfo.latitudeFieldName = y3.get(r3.locationInfo.latitudeFieldName).name, r3.locationInfo.longitudeFieldName = y3.get(r3.locationInfo.longitudeFieldName).name), s5.timeInfo) {
+    const e2 = s5.timeInfo;
+    if (e2.startTimeField) {
+      const t5 = y3.get(e2.startTimeField);
+      t5 ? (e2.startTimeField = t5.name, t5.type = "esriFieldTypeDate") : e2.startTimeField = null;
+    }
+    if (e2.endTimeField) {
+      const t5 = y3.get(e2.endTimeField);
+      t5 ? (e2.endTimeField = t5.name, t5.type = "esriFieldTypeDate") : e2.endTimeField = null;
+    }
+    if (e2.trackIdField) {
+      const t5 = y3.get(e2.trackIdField);
+      e2.trackIdField = t5 ? t5.name : null;
+    }
+    e2.startTimeField || e2.endTimeField || (s5.timeInfo = null);
+  }
+  return r3;
+}
+export {
+  k3 as default
+};
+//# sourceMappingURL=CSVSourceWorker-5ZFKL2LA.js.map

+ 0 - 0
node_modules/.vite/deps/CSVSourceWorker-QJPD44IC.js.map → node_modules/.vite/deps/CSVSourceWorker-5ZFKL2LA.js.map


+ 0 - 501
node_modules/.vite/deps/CSVSourceWorker-QJPD44IC.js

@@ -1,501 +0,0 @@
-import {
-  i,
-  o
-} from "./chunk-A6WD5XTM.js";
-import {
-  u
-} from "./chunk-RDOYANC4.js";
-import {
-  Y
-} from "./chunk-FSIQKOJP.js";
-import "./chunk-OQSZOHTF.js";
-import "./chunk-OP2HNSVZ.js";
-import "./chunk-UVQJ7AVD.js";
-import "./chunk-DMVKVC5I.js";
-import "./chunk-Y7BZ6TKQ.js";
-import {
-  f
-} from "./chunk-VEJPYAE4.js";
-import "./chunk-4GGDRIJK.js";
-import "./chunk-D5UVUJIX.js";
-import {
-  a
-} from "./chunk-5JZ72JAQ.js";
-import "./chunk-PZ7XDUL6.js";
-import "./chunk-ULSPZIPE.js";
-import "./chunk-UMUHMVL4.js";
-import {
-  t as t2
-} from "./chunk-FZSI6IGI.js";
-import "./chunk-B5O7N7PM.js";
-import "./chunk-KOKTANE6.js";
-import "./chunk-OKUFE7TO.js";
-import "./chunk-JKFWEHNK.js";
-import "./chunk-IIAN3QNN.js";
-import {
-  ln
-} from "./chunk-P24XEEHY.js";
-import "./chunk-WOXHUQGM.js";
-import "./chunk-FMPQIGFA.js";
-import "./chunk-EDHROVWI.js";
-import {
-  s as s3,
-  t
-} from "./chunk-3IRT3YKJ.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-ZSW35JPD.js";
-import {
-  r
-} from "./chunk-JLSNMUQJ.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-PT62335L.js";
-import "./chunk-FNA5GLRW.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TJV6ODRM.js";
-import {
-  M
-} from "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import {
-  j as j2
-} from "./chunk-2ZSOO377.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-HZRKBTHJ.js";
-import {
-  U
-} from "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import {
-  Ut,
-  j as j3
-} from "./chunk-VEGAOVMY.js";
-import {
-  y
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import {
-  E,
-  c,
-  k,
-  k2
-} from "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  j
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s,
-  s3 as s2
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/layers/graphics/sources/csv/csv.js
-var t3 = /^\s*"([\S\s]*)"\s*$/;
-var n = /""/g;
-var i2 = "\n";
-var r2 = [",", " ", ";", "|", "	"];
-function* l(e, t4, n2) {
-  let i3 = 0;
-  for (; i3 <= e.length; ) {
-    const r3 = e.indexOf(t4, i3), l2 = e.substring(i3, r3 > -1 ? r3 : void 0);
-    i3 += l2.length + t4.length, n2 && !l2.trim() || (yield l2);
-  }
-}
-function o2(e) {
-  const t4 = e.includes("\r\n") ? "\r\n" : i2;
-  return l(e, t4, true);
-}
-function u2(e, t4) {
-  return l(e, t4, false);
-}
-function s4(e, t4, n2) {
-  var _a;
-  e = e.trim(), t4 = t4 == null ? void 0 : t4.trim();
-  const i3 = [], l2 = Array.from(/* @__PURE__ */ new Set([n2 == null ? void 0 : n2.delimiter, ...r2])).filter((e2) => null != e2);
-  for (const r3 of l2) {
-    const n3 = f2(e, r3).length, l3 = (_a = f2(t4, r3).length) != null ? _a : n3;
-    n3 > 1 && i3.push({ weight: Math.min(n3, l3), delimiter: r3 });
-  }
-  const o3 = i3.sort(({ weight: e2 }, { weight: t5 }) => t5 - e2).map(({ delimiter: e2 }) => e2);
-  for (const r3 of o3) {
-    const t5 = g(a2(e, r3).names, n2 == null ? void 0 : n2.longitudeField, n2 == null ? void 0 : n2.latitudeField);
-    if (t5.longitudeFieldName && t5.latitudeFieldName)
-      return { delimiter: r3, locationInfo: t5 };
-  }
-  return { delimiter: o3[0], locationInfo: null };
-}
-function* c2(e, r3, l2, s5 = () => /* @__PURE__ */ Object.create(null)) {
-  const c3 = o2(e);
-  c3.next();
-  let a3 = "", f3 = "", g2 = 0, m2 = s5(), p2 = 0;
-  e:
-    for (const o3 of c3) {
-      const e2 = u2(o3, l2);
-      for (const i3 of e2)
-        if (a3 += f3 + i3, f3 = "", g2 += d(i3), g2 % 2 == 0) {
-          if (g2 > 0) {
-            const e3 = t3.exec(a3);
-            if (!e3) {
-              m2 = s5(), p2 = 0, a3 = "", g2 = 0;
-              continue e;
-            }
-            m2[r3[p2]] = e3[1].replace(n, '"'), p2++;
-          } else
-            m2[r3[p2]] = a3, p2++;
-          a3 = "", g2 = 0;
-        } else
-          f3 = l2;
-      0 === g2 ? (yield m2, m2 = s5(), p2 = 0) : f3 = i2;
-    }
-}
-function a2(e, t4) {
-  const n2 = f2(e, t4).filter((e2) => null != e2), i3 = n2.map((e2) => $(e2));
-  for (let r3 = i3.length - 1; r3 >= 0; r3--)
-    i3[r3] || (i3.splice(r3, 1), n2.splice(r3, 1));
-  return { names: i3, aliases: n2 };
-}
-function f2(e, i3) {
-  if (!(e == null ? void 0 : e.length))
-    return [];
-  const r3 = [];
-  let l2 = "", o3 = "", s5 = 0;
-  const c3 = u2(e, i3);
-  for (const u3 of c3)
-    if (l2 += o3 + u3, o3 = "", s5 += d(u3), s5 % 2 == 0) {
-      if (s5 > 0) {
-        const e2 = t3.exec(l2);
-        e2 && r3.push(e2[1].replace(n, '"'));
-      } else
-        r3.push(l2);
-      l2 = "", s5 = 0;
-    } else
-      o3 = i3;
-  return r3;
-}
-function d(e) {
-  let t4 = 0, n2 = 0;
-  for (n2 = e.indexOf('"', n2); n2 >= 0; )
-    t4++, n2 = e.indexOf('"', n2 + 1);
-  return t4;
-}
-function g(e, t4, n2) {
-  var _a, _b;
-  t4 = (_a = $(t4)) == null ? void 0 : _a.toLowerCase(), n2 = (_b = $(n2)) == null ? void 0 : _b.toLowerCase();
-  const i3 = e.map((e2) => e2.toLowerCase()), r3 = t4 ? e[i3.indexOf(t4)] : null, l2 = n2 ? e[i3.indexOf(n2)] : null;
-  return { longitudeFieldName: r3 || e[i3.indexOf(F.find((e2) => i3.includes(e2)))], latitudeFieldName: l2 || e[i3.indexOf(y2.find((e2) => i3.includes(e2)))] };
-}
-function m(e, t4, n2, i3, r3) {
-  const l2 = [], o3 = c2(e, n2, t4), u3 = [];
-  for (const s5 of o3) {
-    if (10 === u3.length)
-      break;
-    u3.push(s5);
-  }
-  for (let s5 = 0; s5 < n2.length; s5++) {
-    const e2 = n2[s5], t5 = i3[s5];
-    if (e2 === r3.longitudeFieldName || e2 === r3.latitudeFieldName)
-      l2.push({ name: e2, type: "esriFieldTypeDouble", alias: t5 });
-    else {
-      let n3, i4;
-      switch (p(u3.map((t6) => t6[e2]))) {
-        case "integer":
-          n3 = "esriFieldTypeInteger";
-          break;
-        case "double":
-          n3 = "esriFieldTypeDouble";
-          break;
-        case "date":
-          n3 = "esriFieldTypeDate", i4 = 36;
-          break;
-        default:
-          n3 = "esriFieldTypeString", i4 = 255;
-      }
-      l2.push({ name: e2, type: n3, alias: t5, length: i4 });
-    }
-  }
-  return l2;
-}
-function p(e) {
-  if (!e.length)
-    return "string";
-  const t4 = /[^+-.,0-9]/;
-  return e.map((e2) => {
-    let n2 = false;
-    if ("" !== e2) {
-      if (t4.test(e2))
-        n2 = true;
-      else {
-        let t5 = h(e2);
-        if (!isNaN(t5))
-          return /[.,]/.test(e2) || !Number.isInteger(t5) || t5 > 214783647 || t5 < -214783648 ? "double" : "integer";
-        if (e2.includes("E")) {
-          if (t5 = Number(e2), !isNaN(t5))
-            return "double";
-          if (e2.includes(",")) {
-            if (e2 = e2.replace(",", "."), t5 = Number(e2), !isNaN(t5))
-              return "double";
-            n2 = true;
-          } else
-            n2 = true;
-        } else
-          n2 = true;
-      }
-      if (n2) {
-        if (!/^[-]?\d*[.,]?\d*$/.test(e2)) {
-          return b(new Date(e2), e2) ? "date" : "string";
-        }
-        return "string";
-      }
-      return "string";
-    }
-  }).reduce((e2, t5) => void 0 === e2 ? t5 : void 0 === t5 ? e2 : e2 === t5 ? t5 : "string" === e2 || "string" === t5 ? "string" : "double" === e2 || "double" === t5 ? "double" : void 0);
-}
-function b(e, t4) {
-  if (!e || "[object Date]" !== Object.prototype.toString.call(e) || isNaN(e.getTime()))
-    return false;
-  let n2 = true;
-  if (!x && /\d+\W*$/.test(t4)) {
-    const e2 = t4.match(/[a-zA-Z]{2,}/);
-    if (e2) {
-      let t5 = false, i3 = 0;
-      for (; !t5 && i3 <= e2.length; )
-        t5 = !N.test(e2[i3]), i3++;
-      n2 = !t5;
-    }
-  }
-  return n2;
-}
-var h = function() {
-  const t4 = a(), n2 = new RegExp("^" + t4.regexp + "$"), i3 = new RegExp("[" + t4.group + "\\s\\xa0]", "g"), r3 = t4.factor;
-  return (e) => {
-    const l2 = n2.exec(e);
-    if (t4.factor = r3, !l2)
-      return NaN;
-    let o3 = l2[1];
-    if (!l2[1]) {
-      if (!l2[2])
-        return NaN;
-      o3 = l2[2], t4.factor *= -1;
-    }
-    return o3 = o3.replace(i3, "").replace(t4.decimal, "."), +o3 * t4.factor;
-  };
-}();
-var N = /^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i;
-var x = Number.isNaN(new Date("technology 10").getTime());
-var y2 = ["lat", "latitude", "latitude83", "latdecdeg", "lat_dd", "y", "ycenter", "point_y"];
-var F = ["lon", "lng", "long", "longitude", "longitude83", "longdecdeg", "long_dd", "x", "xcenter", "point_x"];
-var w = /^([0-9])/;
-var _ = /[^A-Za-z0-9_\u0080-\uffff]/g;
-var O = /_{2,}/g;
-var j4 = /^_/;
-var T = /_$/;
-function $(e) {
-  return e ? e.trim().replace(_, "_").replace(O, "_").replace(j4, "").replace(T, "").replace(w, "F$1") : null;
-}
-
-// node_modules/@arcgis/core/layers/graphics/sources/support/CSVSourceWorker.js
-var C = o("esriGeometryPoint");
-var v = ["csv"];
-var O2 = [0, 0];
-var D = class {
-  constructor(e, t4) {
-    this.x = e, this.y = t4;
-  }
-};
-var k3 = class {
-  constructor() {
-    this._queryEngine = null, this._snapshotFeatures = async (e) => {
-      const t4 = await this._fetch(e);
-      return this._createFeatures(t4);
-    };
-  }
-  destroy() {
-    var _a;
-    (_a = this._queryEngine) == null ? void 0 : _a.destroy(), this._queryEngine = null;
-  }
-  async load(e, t4 = {}) {
-    var _a;
-    this._loadOptions = e;
-    const [i3] = await Promise.all([this._fetch(t4.signal), this._checkProjection((_a = e == null ? void 0 : e.parsingOptions) == null ? void 0 : _a.spatialReference)]), n2 = P(i3, e);
-    this._locationInfo = n2.locationInfo, this._delimiter = n2.delimiter, this._queryEngine = this._createQueryEngine(n2);
-    const r3 = await this._createFeatures(i3);
-    if (this._queryEngine.featureStore.addMany(r3), n2.layerDefinition.extent = this._queryEngine.fullExtent, n2.layerDefinition.timeInfo) {
-      const { start: e2, end: t5 } = this._queryEngine.timeExtent;
-      n2.layerDefinition.timeInfo.timeExtent = [e2, t5];
-    }
-    return n2;
-  }
-  async applyEdits() {
-    throw new s2("csv-layer:editing-not-supported", "applyEdits() is not supported on CSVLayer");
-  }
-  async queryFeatures(e = {}, t4 = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQuery(e, t4.signal);
-  }
-  async queryFeatureCount(e = {}, t4 = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForCount(e, t4.signal);
-  }
-  async queryObjectIds(e = {}, t4 = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForIds(e, t4.signal);
-  }
-  async queryExtent(e = {}, t4 = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForExtent(e, t4.signal);
-  }
-  async querySnapping(e, t4 = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForSnapping(e, t4.signal);
-  }
-  async refresh(e) {
-    var _a;
-    return this._loadOptions.customParameters = e, (_a = this._snapshotTask) == null ? void 0 : _a.abort(), this._snapshotTask = j2(this._snapshotFeatures), this._snapshotTask.promise.then((e2) => {
-      this._queryEngine.featureStore.clear(), e2 && this._queryEngine.featureStore.addMany(e2);
-    }, (e2) => {
-      this._queryEngine.featureStore.clear(), j(e2) || s.getLogger("esri.layers.CSVLayer").error(new s2("csv-layer:refresh", "An error occurred during refresh", { error: e2 }));
-    }), await this._waitSnapshotComplete(), { extent: this._queryEngine.fullExtent, timeExtent: this._queryEngine.timeExtent };
-  }
-  async _waitSnapshotComplete() {
-    if (this._snapshotTask && !this._snapshotTask.finished) {
-      try {
-        await this._snapshotTask.promise;
-      } catch {
-      }
-      return this._waitSnapshotComplete();
-    }
-  }
-  async _fetch(t4) {
-    const { url: n2, customParameters: r3 } = this._loadOptions;
-    if (!n2)
-      throw new s2("csv-layer:invalid-source", "url not defined");
-    const o3 = j3(n2);
-    return (await U(o3.path, { query: { ...o3.query, ...r3 }, responseType: "text", signal: t4 })).data;
-  }
-  _createQueryEngine(e) {
-    const { objectIdField: t4, fields: i3, extent: n2, timeInfo: r3 } = e.layerDefinition, s5 = new u({ geometryType: "esriGeometryPoint", hasM: false, hasZ: false });
-    return new Y({ fields: i3, geometryType: "esriGeometryPoint", hasM: false, hasZ: false, timeInfo: r3, objectIdField: t4, spatialReference: n2.spatialReference || { wkid: 4326 }, cacheSpatialQueries: true, featureStore: s5 });
-  }
-  async _createFeatures(e) {
-    const { latitudeFieldName: t4, longitudeFieldName: i3 } = this._locationInfo, { objectIdField: n2, fieldsIndex: r3, spatialReference: s5 } = this._queryEngine;
-    let o3 = [];
-    const u3 = [], y3 = r3.fields.filter((e2) => e2.name !== n2).map((e2) => e2.name);
-    let h2 = 0;
-    const g2 = {};
-    for (const a3 of r3.fields)
-      if ("esriFieldTypeOID" !== a3.type && "esriFieldTypeGlobalID" !== a3.type) {
-        const e2 = M(a3);
-        void 0 !== e2 && (g2[a3.name] = e2);
-      }
-    const w2 = c2(e, y3, this._delimiter, i(g2, n2));
-    for (const a3 of w2) {
-      const e2 = this._parseCoordinateValue(a3[t4]), s6 = this._parseCoordinateValue(a3[i3]);
-      if (null != s6 && null != e2 && !isNaN(e2) && !isNaN(s6)) {
-        a3[t4] = e2, a3[i3] = s6;
-        for (const e3 in a3)
-          if (e3 !== t4 && e3 !== i3) {
-            if (r3.isDateField(e3)) {
-              const t5 = new Date(a3[e3]);
-              a3[e3] = b(t5, a3[e3]) ? t5.getTime() : null;
-            } else if (r3.isNumericField(e3)) {
-              const t5 = h(a3[e3]);
-              isNaN(t5) ? a3[e3] = null : a3[e3] = t5;
-            }
-          }
-        a3[n2] = h2, h2++, o3.push(new D(s6, e2)), u3.push(a3);
-      }
-    }
-    if (!E({ wkid: 4326 }, s5))
-      if (k(s5))
-        for (const a3 of o3)
-          [a3.x, a3.y] = y(a3.x, a3.y, O2);
-      else
-        o3 = ln(t2, o3, k2.WGS84, s5, null, null);
-    const E2 = [];
-    for (let a3 = 0; a3 < o3.length; a3++) {
-      const { x: e2, y: t5 } = o3[a3], i4 = u3[a3];
-      i4[n2] = a3 + 1, E2.push(new s3(new t([], [e2, t5]), i4, null, i4[n2]));
-    }
-    return E2;
-  }
-  _parseCoordinateValue(e) {
-    if (null == e || "" === e)
-      return null;
-    let t4 = h(e);
-    return (isNaN(t4) || Math.abs(t4) > 181) && (t4 = parseFloat(e)), t4;
-  }
-  async _checkProjection(e) {
-    try {
-      await f(c, e);
-    } catch {
-      throw new s2("csv-layer:projection-not-supported", "Projection not supported");
-    }
-  }
-};
-function P(e, t4) {
-  var _a, _b, _c;
-  const n2 = t4.parsingOptions || {}, r3 = { delimiter: n2.delimiter, layerDefinition: null, locationInfo: { latitudeFieldName: n2.latitudeField, longitudeFieldName: n2.longitudeField } }, s5 = r3.layerDefinition = { name: Ut(t4.url, v) || "csv", drawingInfo: C, geometryType: "esriGeometryPoint", objectIdField: null, fields: [], timeInfo: n2.timeInfo, extent: { xmin: Number.POSITIVE_INFINITY, ymin: Number.POSITIVE_INFINITY, xmax: Number.NEGATIVE_INFINITY, ymax: Number.NEGATIVE_INFINITY, spatialReference: n2.spatialReference || { wkid: 102100 } } }, a3 = o2(e), l2 = (_a = a3.next().value) == null ? void 0 : _a.trim(), c3 = (_b = a3.next().value) == null ? void 0 : _b.trim();
-  if (!l2)
-    throw new s2("csv-layer:empty-csv", "CSV is empty", { csv: e });
-  const { delimiter: m2, locationInfo: u3 } = s4(l2, c3, n2);
-  if (!m2)
-    throw new s2("csv-layer:invalid-delimiter", "Unable to detect the delimiter from CSV", { firstLine: l2, secondLine: c3, parsingOptions: n2 });
-  if (!u3)
-    throw new s2("csv-layer:location-fields-not-found", "Unable to identify latitude and longitude fields from the CSV file", { firstLine: l2, secondLine: c3, parsingOptions: n2 });
-  r3.locationInfo = u3, r3.delimiter = m2;
-  const { names: d2, aliases: p2 } = a2(l2, m2), f3 = m(e, r3.delimiter, d2, p2, r3.locationInfo);
-  if ((_c = n2.fields) == null ? void 0 : _c.length) {
-    const e2 = new r(n2.fields);
-    for (const t5 of f3) {
-      const i3 = e2.get(t5.name);
-      i3 && Object.assign(t5, i3);
-    }
-  }
-  if (!f3.some((e2) => "esriFieldTypeOID" === e2.type && (s5.objectIdField = e2.name, true))) {
-    const e2 = { name: "__OBJECTID", alias: "__OBJECTID", type: "esriFieldTypeOID", editable: false, nullable: false };
-    s5.objectIdField = e2.name, f3.unshift(e2);
-  }
-  s5.fields = f3;
-  const y3 = new r(s5.fields);
-  if (r3.locationInfo && (r3.locationInfo.latitudeFieldName = y3.get(r3.locationInfo.latitudeFieldName).name, r3.locationInfo.longitudeFieldName = y3.get(r3.locationInfo.longitudeFieldName).name), s5.timeInfo) {
-    const e2 = s5.timeInfo;
-    if (e2.startTimeField) {
-      const t5 = y3.get(e2.startTimeField);
-      t5 ? (e2.startTimeField = t5.name, t5.type = "esriFieldTypeDate") : e2.startTimeField = null;
-    }
-    if (e2.endTimeField) {
-      const t5 = y3.get(e2.endTimeField);
-      t5 ? (e2.endTimeField = t5.name, t5.type = "esriFieldTypeDate") : e2.endTimeField = null;
-    }
-    if (e2.trackIdField) {
-      const t5 = y3.get(e2.trackIdField);
-      e2.trackIdField = t5 ? t5.name : null;
-    }
-    e2.startTimeField || e2.endTimeField || (s5.timeInfo = null);
-  }
-  return r3;
-}
-export {
-  k3 as default
-};
-//# sourceMappingURL=CSVSourceWorker-QJPD44IC.js.map

+ 0 - 55
node_modules/.vite/deps/DefaultMaterial.glsl-HW3QTI6C.js

@@ -1,55 +0,0 @@
-import {
-  Q
-} from "./chunk-WDB6D6R7.js";
-import "./chunk-5242SYQJ.js";
-import "./chunk-YBHZ7PMT.js";
-import "./chunk-LDMWL65U.js";
-import "./chunk-WBWQJQK4.js";
-import "./chunk-2UEXES4O.js";
-import "./chunk-UUVY36LI.js";
-import "./chunk-FQZKJNXZ.js";
-import "./chunk-L5R6EFI6.js";
-import "./chunk-A22ACVMF.js";
-import "./chunk-QHWZYJGI.js";
-import "./chunk-H2VOWDMO.js";
-import "./chunk-RUM3DXFX.js";
-import "./chunk-4OM3EX6P.js";
-import "./chunk-3OFVLRSL.js";
-import "./chunk-44FMXGSC.js";
-import "./chunk-GHN7C53L.js";
-import "./chunk-IQBIGNPU.js";
-import "./chunk-ZCAE6QVH.js";
-import "./chunk-K7B6OWCU.js";
-import "./chunk-RWQH5X3O.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-O6VYMEIX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-export {
-  Q as build
-};
-//# sourceMappingURL=DefaultMaterial.glsl-HW3QTI6C.js.map

+ 55 - 0
node_modules/.vite/deps/DefaultMaterial.glsl-ZGDAOX5L.js

@@ -0,0 +1,55 @@
+import {
+  Q
+} from "./chunk-7OWXIDS3.js";
+import "./chunk-VDPG2V67.js";
+import "./chunk-W5NACXEJ.js";
+import "./chunk-LDMWL65U.js";
+import "./chunk-WBWQJQK4.js";
+import "./chunk-2UEXES4O.js";
+import "./chunk-UUVY36LI.js";
+import "./chunk-FQZKJNXZ.js";
+import "./chunk-L5R6EFI6.js";
+import "./chunk-A22ACVMF.js";
+import "./chunk-QHWZYJGI.js";
+import "./chunk-H2VOWDMO.js";
+import "./chunk-RUM3DXFX.js";
+import "./chunk-4OM3EX6P.js";
+import "./chunk-3OFVLRSL.js";
+import "./chunk-44FMXGSC.js";
+import "./chunk-GHN7C53L.js";
+import "./chunk-IQBIGNPU.js";
+import "./chunk-ZCAE6QVH.js";
+import "./chunk-K7B6OWCU.js";
+import "./chunk-RWQH5X3O.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-O6VYMEIX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+export {
+  Q as build
+};
+//# sourceMappingURL=DefaultMaterial.glsl-ZGDAOX5L.js.map

+ 0 - 0
node_modules/.vite/deps/DefaultMaterial.glsl-HW3QTI6C.js.map → node_modules/.vite/deps/DefaultMaterial.glsl-ZGDAOX5L.js.map


+ 42 - 0
node_modules/.vite/deps/DictionaryLoader-67BU3GTD.js

@@ -0,0 +1,42 @@
+import {
+  u
+} from "./chunk-C65ZRRQD.js";
+import "./chunk-WTRZAXRY.js";
+import "./chunk-EY2WJSAJ.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+export {
+  u as DictionaryLoader
+};
+//# sourceMappingURL=DictionaryLoader-67BU3GTD.js.map

+ 0 - 0
node_modules/.vite/deps/DictionaryLoader-76XPG7YY.js.map → node_modules/.vite/deps/DictionaryLoader-67BU3GTD.js.map


+ 0 - 42
node_modules/.vite/deps/DictionaryLoader-76XPG7YY.js

@@ -1,42 +0,0 @@
-import {
-  u
-} from "./chunk-SKKBVHTF.js";
-import "./chunk-DLMAGHHC.js";
-import "./chunk-CRHRHOXH.js";
-import "./chunk-PT62335L.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-export {
-  u as DictionaryLoader
-};
-//# sourceMappingURL=DictionaryLoader-76XPG7YY.js.map

+ 235 - 0
node_modules/.vite/deps/DimensionLayer-5ON3JP7F.js

@@ -0,0 +1,235 @@
+import {
+  c as c2
+} from "./chunk-2AXHPBK3.js";
+import {
+  s as s2
+} from "./chunk-AJFR3FGC.js";
+import {
+  on
+} from "./chunk-VYQHMPYW.js";
+import "./chunk-SOSOZIX6.js";
+import {
+  l as l3
+} from "./chunk-YMULPZCD.js";
+import {
+  l,
+  w
+} from "./chunk-BWATQC2Y.js";
+import {
+  c
+} from "./chunk-VXKIGGM4.js";
+import "./chunk-KG45D2XL.js";
+import {
+  O
+} from "./chunk-JYRZQPQI.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import {
+  e as e3,
+  o
+} from "./chunk-UVVU4UUO.js";
+import {
+  l as l2
+} from "./chunk-X4SA4ELJ.js";
+import {
+  n as n2,
+  t as t2
+} from "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-ZLNEXZAN.js";
+import {
+  b
+} from "./chunk-O43KLDSX.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import {
+  j
+} from "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import {
+  w as w2,
+  w2 as w3
+} from "./chunk-CXCDYJ5R.js";
+import {
+  s
+} from "./chunk-GAOW3WRZ.js";
+import {
+  r as r2
+} from "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n,
+  u2 as u,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import {
+  T,
+  a
+} from "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  e as e2,
+  r,
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/analysis/DimensionSimpleStyle.js
+var c3 = class extends u(l3) {
+  constructor(e4) {
+    super(e4), this.type = "simple", this.color = new l2("black"), this.lineSize = 2, this.fontSize = 10, this.textColor = new l2("black"), this.textBackgroundColor = new l2([255, 255, 255, 0.6]);
+  }
+};
+e([y({ type: ["simple"], readOnly: true, json: { write: { isRequired: true } } })], c3.prototype, "type", void 0), e([y({ type: l2, nonNullable: true, json: { type: [T], write: { isRequired: true } } })], c3.prototype, "color", void 0), e([y({ type: Number, cast: o, nonNullable: true, range: { min: e3(1) }, json: { write: { isRequired: true } } })], c3.prototype, "lineSize", void 0), e([y({ type: Number, cast: o, nonNullable: true, json: { write: { isRequired: true } } })], c3.prototype, "fontSize", void 0), e([y({ type: l2, nonNullable: true, json: { type: [T], write: { isRequired: true } } })], c3.prototype, "textColor", void 0), e([y({ type: l2, nonNullable: true, json: { type: [T], write: { isRequired: true } } })], c3.prototype, "textBackgroundColor", void 0), c3 = e([n("esri.analysis.DimensionSimpleStyle")], c3);
+var a2 = c3;
+
+// node_modules/@arcgis/core/analysis/dimensionUtils.js
+var t3;
+!function(t4) {
+  t4.Horizontal = "horizontal", t4.Vertical = "vertical", t4.Direct = "direct";
+}(t3 || (t3 = {}));
+var r3 = [t3.Horizontal, t3.Vertical, t3.Direct];
+
+// node_modules/@arcgis/core/analysis/LengthDimension.js
+var l4 = class extends u(l3) {
+  constructor(o2) {
+    super(o2), this.type = "length", this.startPoint = null, this.endPoint = null, this.measureType = t3.Direct, this.offset = 0, this.orientation = 0;
+  }
+};
+e([y({ type: ["length"], json: { write: { isRequired: true } } })], l4.prototype, "type", void 0), e([y({ type: w2, json: { write: true } })], l4.prototype, "startPoint", void 0), e([y({ type: w2, json: { write: true } })], l4.prototype, "endPoint", void 0), e([y({ type: r3, nonNullable: true, json: { write: { isRequired: true } } })], l4.prototype, "measureType", void 0), e([y({ type: Number, nonNullable: true, json: { write: { isRequired: true } } })], l4.prototype, "offset", void 0), e([y({ type: Number, nonNullable: true, json: { write: { isRequired: true } } }), s((o2) => s2.normalize(a(o2), 0, true))], l4.prototype, "orientation", void 0), l4 = e([n("esri.analysis.LengthDimension")], l4);
+var u2 = l4;
+
+// node_modules/@arcgis/core/analysis/DimensionAnalysis.js
+var h = j.ofType(u2);
+var g = class extends c2 {
+  constructor(e4) {
+    super(e4), this.type = "dimension", this.style = new a2(), this.extent = null;
+  }
+  initialize() {
+    this.addHandles(l(() => this._computeExtent(), (e4) => {
+      (t(e4) || t(e4.pending)) && this._set("extent", r(e4) ? e4.extent : null);
+    }, w));
+  }
+  get dimensions() {
+    return this._get("dimensions") || new h();
+  }
+  set dimensions(e4) {
+    this._set("dimensions", n2(e4, this.dimensions, h));
+  }
+  get spatialReference() {
+    for (const e4 of this.dimensions) {
+      if (r(e4.startPoint))
+        return e4.startPoint.spatialReference;
+      if (r(e4.endPoint))
+        return e4.endPoint.spatialReference;
+    }
+    return null;
+  }
+  get requiredPropertiesForEditing() {
+    return this.dimensions.reduce((e4, t4) => (e4.push(t4.startPoint, t4.endPoint), e4), []);
+  }
+  async waitComputeExtent() {
+    const e4 = this._computeExtent();
+    return r(e4) ? e2(e4.pending) : null;
+  }
+  _computeExtent() {
+    const e4 = this.spatialReference;
+    if (t(e4))
+      return { pending: null, extent: null };
+    const t4 = [];
+    for (const s3 of this.dimensions)
+      r(s3.startPoint) && t4.push(s3.startPoint), r(s3.endPoint) && t4.push(s3.endPoint);
+    const n3 = on(t4, e4);
+    if (r(n3.pending))
+      return { pending: n3.pending, extent: null };
+    let o2 = null;
+    return r(n3.geometries) && (o2 = n3.geometries.reduce((e5, t5) => t(e5) ? r(t5) ? w3.fromPoint(t5) : null : r(t5) ? e5.union(w3.fromPoint(t5)) : e5, null)), { pending: null, extent: o2 };
+  }
+  clear() {
+    this.dimensions.removeAll();
+  }
+};
+e([y({ type: ["dimension"] })], g.prototype, "type", void 0), e([y({ cast: t2, type: h, nonNullable: true })], g.prototype, "dimensions", null), e([y({ readOnly: true })], g.prototype, "spatialReference", null), e([y({ types: { key: "type", base: null, typeMap: { simple: a2 } }, nonNullable: true })], g.prototype, "style", void 0), e([y({ value: null, readOnly: true })], g.prototype, "extent", void 0), e([y({ readOnly: true })], g.prototype, "requiredPropertiesForEditing", null), g = e([n("esri.analysis.DimensionAnalysis")], g);
+var j2 = g;
+
+// node_modules/@arcgis/core/layers/DimensionLayer.js
+var h2 = class extends c(O(b)) {
+  constructor(e4) {
+    if (super(e4), this.type = "dimension", this.operationalLayerType = "ArcGISDimensionLayer", this.source = new j2(), this.opacity = 1, e4) {
+      const { source: s3, style: r4 } = e4;
+      s3 && r4 && (s3.style = r4);
+    }
+  }
+  initialize() {
+    this.addHandles([l(() => this.source, (e4, s3) => {
+      r(s3) && s3.parent === this && (s3.parent = null), r(e4) && (e4.parent = this);
+    }, w)]);
+  }
+  async load() {
+    return this.addResolvingPromise(this.source.waitComputeExtent()), this;
+  }
+  get spatialReference() {
+    return e2(this.source.spatialReference);
+  }
+  get style() {
+    return this.source.style;
+  }
+  set style(e4) {
+    this.source.style = e4;
+  }
+  get fullExtent() {
+    return this.source.extent;
+  }
+  releaseAnalysis(e4) {
+    this.source === e4 && (this.source = new j2());
+  }
+  get analysis() {
+    return this.source;
+  }
+  set analysis(e4) {
+    this.source = e4;
+  }
+  get dimensions() {
+    return this.source.dimensions;
+  }
+  set dimensions(e4) {
+    this.source.dimensions = e4;
+  }
+  writeDimensions(e4, s3, r4, t4) {
+    s3.dimensions = e4.filter(({ startPoint: e5, endPoint: s4 }) => r(e5) && r(s4)).map((e5) => e5.toJSON(t4)).toJSON();
+  }
+};
+e([y({ json: { read: false }, readOnly: true })], h2.prototype, "type", void 0), e([y({ type: ["ArcGISDimensionLayer"] })], h2.prototype, "operationalLayerType", void 0), e([y({ nonNullable: true })], h2.prototype, "source", void 0), e([y({ readOnly: true })], h2.prototype, "spatialReference", null), e([y({ types: { key: "type", base: null, typeMap: { simple: a2 } }, json: { write: { ignoreOrigin: true } } })], h2.prototype, "style", null), e([y({ readOnly: true })], h2.prototype, "fullExtent", null), e([y({ readOnly: true, json: { read: false, write: false, origins: { service: { read: false, write: false }, "portal-item": { read: false, write: false }, "web-document": { read: false, write: false } } } })], h2.prototype, "opacity", void 0), e([y({ type: ["show", "hide"] })], h2.prototype, "listMode", void 0), e([y({ type: j.ofType(u2), json: { write: { ignoreOrigin: true }, origins: { "web-scene": { write: { ignoreOrigin: true } } } } })], h2.prototype, "dimensions", null), e([r2("web-scene", "dimensions")], h2.prototype, "writeDimensions", null), h2 = e([n("esri.layers.DimensionLayer")], h2);
+var f = h2;
+export {
+  f as default
+};
+//# sourceMappingURL=DimensionLayer-5ON3JP7F.js.map

+ 0 - 0
node_modules/.vite/deps/DimensionLayer-MJFOLY32.js.map → node_modules/.vite/deps/DimensionLayer-5ON3JP7F.js.map


+ 0 - 235
node_modules/.vite/deps/DimensionLayer-MJFOLY32.js

@@ -1,235 +0,0 @@
-import {
-  c as c2
-} from "./chunk-JNESCGQR.js";
-import {
-  s as s2
-} from "./chunk-AJFR3FGC.js";
-import {
-  on
-} from "./chunk-P24XEEHY.js";
-import "./chunk-SAJAEMIJ.js";
-import {
-  l as l3
-} from "./chunk-JOYXMSKE.js";
-import {
-  l,
-  w
-} from "./chunk-TJV6ODRM.js";
-import {
-  c
-} from "./chunk-WLSB4F4I.js";
-import "./chunk-GLSWDDR3.js";
-import {
-  O
-} from "./chunk-MIQGEDET.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import {
-  e as e3,
-  o
-} from "./chunk-UVVU4UUO.js";
-import {
-  l as l2
-} from "./chunk-X4SA4ELJ.js";
-import {
-  n as n2,
-  t as t2
-} from "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-ZLNEXZAN.js";
-import {
-  b
-} from "./chunk-DXVOOCG4.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import {
-  j
-} from "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import {
-  w as w2,
-  w2 as w3
-} from "./chunk-6T6G6LCQ.js";
-import {
-  s
-} from "./chunk-YEJL5NEF.js";
-import {
-  r as r2
-} from "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n,
-  u2 as u,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import {
-  T,
-  a
-} from "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  e as e2,
-  r,
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/analysis/DimensionSimpleStyle.js
-var c3 = class extends u(l3) {
-  constructor(e4) {
-    super(e4), this.type = "simple", this.color = new l2("black"), this.lineSize = 2, this.fontSize = 10, this.textColor = new l2("black"), this.textBackgroundColor = new l2([255, 255, 255, 0.6]);
-  }
-};
-e([y({ type: ["simple"], readOnly: true, json: { write: { isRequired: true } } })], c3.prototype, "type", void 0), e([y({ type: l2, nonNullable: true, json: { type: [T], write: { isRequired: true } } })], c3.prototype, "color", void 0), e([y({ type: Number, cast: o, nonNullable: true, range: { min: e3(1) }, json: { write: { isRequired: true } } })], c3.prototype, "lineSize", void 0), e([y({ type: Number, cast: o, nonNullable: true, json: { write: { isRequired: true } } })], c3.prototype, "fontSize", void 0), e([y({ type: l2, nonNullable: true, json: { type: [T], write: { isRequired: true } } })], c3.prototype, "textColor", void 0), e([y({ type: l2, nonNullable: true, json: { type: [T], write: { isRequired: true } } })], c3.prototype, "textBackgroundColor", void 0), c3 = e([n("esri.analysis.DimensionSimpleStyle")], c3);
-var a2 = c3;
-
-// node_modules/@arcgis/core/analysis/dimensionUtils.js
-var t3;
-!function(t4) {
-  t4.Horizontal = "horizontal", t4.Vertical = "vertical", t4.Direct = "direct";
-}(t3 || (t3 = {}));
-var r3 = [t3.Horizontal, t3.Vertical, t3.Direct];
-
-// node_modules/@arcgis/core/analysis/LengthDimension.js
-var l4 = class extends u(l3) {
-  constructor(o2) {
-    super(o2), this.type = "length", this.startPoint = null, this.endPoint = null, this.measureType = t3.Direct, this.offset = 0, this.orientation = 0;
-  }
-};
-e([y({ type: ["length"], json: { write: { isRequired: true } } })], l4.prototype, "type", void 0), e([y({ type: w2, json: { write: true } })], l4.prototype, "startPoint", void 0), e([y({ type: w2, json: { write: true } })], l4.prototype, "endPoint", void 0), e([y({ type: r3, nonNullable: true, json: { write: { isRequired: true } } })], l4.prototype, "measureType", void 0), e([y({ type: Number, nonNullable: true, json: { write: { isRequired: true } } })], l4.prototype, "offset", void 0), e([y({ type: Number, nonNullable: true, json: { write: { isRequired: true } } }), s((o2) => s2.normalize(a(o2), 0, true))], l4.prototype, "orientation", void 0), l4 = e([n("esri.analysis.LengthDimension")], l4);
-var u2 = l4;
-
-// node_modules/@arcgis/core/analysis/DimensionAnalysis.js
-var h = j.ofType(u2);
-var g = class extends c2 {
-  constructor(e4) {
-    super(e4), this.type = "dimension", this.style = new a2(), this.extent = null;
-  }
-  initialize() {
-    this.addHandles(l(() => this._computeExtent(), (e4) => {
-      (t(e4) || t(e4.pending)) && this._set("extent", r(e4) ? e4.extent : null);
-    }, w));
-  }
-  get dimensions() {
-    return this._get("dimensions") || new h();
-  }
-  set dimensions(e4) {
-    this._set("dimensions", n2(e4, this.dimensions, h));
-  }
-  get spatialReference() {
-    for (const e4 of this.dimensions) {
-      if (r(e4.startPoint))
-        return e4.startPoint.spatialReference;
-      if (r(e4.endPoint))
-        return e4.endPoint.spatialReference;
-    }
-    return null;
-  }
-  get requiredPropertiesForEditing() {
-    return this.dimensions.reduce((e4, t4) => (e4.push(t4.startPoint, t4.endPoint), e4), []);
-  }
-  async waitComputeExtent() {
-    const e4 = this._computeExtent();
-    return r(e4) ? e2(e4.pending) : null;
-  }
-  _computeExtent() {
-    const e4 = this.spatialReference;
-    if (t(e4))
-      return { pending: null, extent: null };
-    const t4 = [];
-    for (const s3 of this.dimensions)
-      r(s3.startPoint) && t4.push(s3.startPoint), r(s3.endPoint) && t4.push(s3.endPoint);
-    const n3 = on(t4, e4);
-    if (r(n3.pending))
-      return { pending: n3.pending, extent: null };
-    let o2 = null;
-    return r(n3.geometries) && (o2 = n3.geometries.reduce((e5, t5) => t(e5) ? r(t5) ? w3.fromPoint(t5) : null : r(t5) ? e5.union(w3.fromPoint(t5)) : e5, null)), { pending: null, extent: o2 };
-  }
-  clear() {
-    this.dimensions.removeAll();
-  }
-};
-e([y({ type: ["dimension"] })], g.prototype, "type", void 0), e([y({ cast: t2, type: h, nonNullable: true })], g.prototype, "dimensions", null), e([y({ readOnly: true })], g.prototype, "spatialReference", null), e([y({ types: { key: "type", base: null, typeMap: { simple: a2 } }, nonNullable: true })], g.prototype, "style", void 0), e([y({ value: null, readOnly: true })], g.prototype, "extent", void 0), e([y({ readOnly: true })], g.prototype, "requiredPropertiesForEditing", null), g = e([n("esri.analysis.DimensionAnalysis")], g);
-var j2 = g;
-
-// node_modules/@arcgis/core/layers/DimensionLayer.js
-var h2 = class extends c(O(b)) {
-  constructor(e4) {
-    if (super(e4), this.type = "dimension", this.operationalLayerType = "ArcGISDimensionLayer", this.source = new j2(), this.opacity = 1, e4) {
-      const { source: s3, style: r4 } = e4;
-      s3 && r4 && (s3.style = r4);
-    }
-  }
-  initialize() {
-    this.addHandles([l(() => this.source, (e4, s3) => {
-      r(s3) && s3.parent === this && (s3.parent = null), r(e4) && (e4.parent = this);
-    }, w)]);
-  }
-  async load() {
-    return this.addResolvingPromise(this.source.waitComputeExtent()), this;
-  }
-  get spatialReference() {
-    return e2(this.source.spatialReference);
-  }
-  get style() {
-    return this.source.style;
-  }
-  set style(e4) {
-    this.source.style = e4;
-  }
-  get fullExtent() {
-    return this.source.extent;
-  }
-  releaseAnalysis(e4) {
-    this.source === e4 && (this.source = new j2());
-  }
-  get analysis() {
-    return this.source;
-  }
-  set analysis(e4) {
-    this.source = e4;
-  }
-  get dimensions() {
-    return this.source.dimensions;
-  }
-  set dimensions(e4) {
-    this.source.dimensions = e4;
-  }
-  writeDimensions(e4, s3, r4, t4) {
-    s3.dimensions = e4.filter(({ startPoint: e5, endPoint: s4 }) => r(e5) && r(s4)).map((e5) => e5.toJSON(t4)).toJSON();
-  }
-};
-e([y({ json: { read: false }, readOnly: true })], h2.prototype, "type", void 0), e([y({ type: ["ArcGISDimensionLayer"] })], h2.prototype, "operationalLayerType", void 0), e([y({ nonNullable: true })], h2.prototype, "source", void 0), e([y({ readOnly: true })], h2.prototype, "spatialReference", null), e([y({ types: { key: "type", base: null, typeMap: { simple: a2 } }, json: { write: { ignoreOrigin: true } } })], h2.prototype, "style", null), e([y({ readOnly: true })], h2.prototype, "fullExtent", null), e([y({ readOnly: true, json: { read: false, write: false, origins: { service: { read: false, write: false }, "portal-item": { read: false, write: false }, "web-document": { read: false, write: false } } } })], h2.prototype, "opacity", void 0), e([y({ type: ["show", "hide"] })], h2.prototype, "listMode", void 0), e([y({ type: j.ofType(u2), json: { write: { ignoreOrigin: true }, origins: { "web-scene": { write: { ignoreOrigin: true } } } } })], h2.prototype, "dimensions", null), e([r2("web-scene", "dimensions")], h2.prototype, "writeDimensions", null), h2 = e([n("esri.layers.DimensionLayer")], h2);
-var f = h2;
-export {
-  f as default
-};
-//# sourceMappingURL=DimensionLayer-MJFOLY32.js.map

+ 0 - 241
node_modules/.vite/deps/ElevationLayer-NYCVL5EQ.js

@@ -1,241 +0,0 @@
-import {
-  v
-} from "./chunk-7B57NUGF.js";
-import {
-  u
-} from "./chunk-OUUXJOLT.js";
-import "./chunk-NBKUI76A.js";
-import "./chunk-6334AFGG.js";
-import "./chunk-S6EFEKAU.js";
-import {
-  s as s3
-} from "./chunk-F4V56GSN.js";
-import "./chunk-KTSVAGSV.js";
-import "./chunk-OJ2HHY2O.js";
-import {
-  p
-} from "./chunk-ZOKNWEG3.js";
-import "./chunk-SZFMKPVM.js";
-import "./chunk-YZVAB3DF.js";
-import "./chunk-CRHRHOXH.js";
-import "./chunk-PT62335L.js";
-import "./chunk-TV3CFJQR.js";
-import "./chunk-TJV6ODRM.js";
-import "./chunk-YLEVJ6UV.js";
-import "./chunk-U2WD23Z5.js";
-import {
-  v as v2
-} from "./chunk-JUWKPBLS.js";
-import {
-  c
-} from "./chunk-WLSB4F4I.js";
-import {
-  f as f2
-} from "./chunk-GLSWDDR3.js";
-import {
-  O
-} from "./chunk-MIQGEDET.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-HWSWTWZD.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-2ZSOO377.js";
-import "./chunk-YUA3AHKR.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import {
-  b
-} from "./chunk-DXVOOCG4.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import {
-  U
-} from "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import {
-  I
-} from "./chunk-VEGAOVMY.js";
-import {
-  o
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n2 as n,
-  n5 as n2,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  f,
-  w as w2
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s,
-  s3 as s2
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import {
-  C
-} from "./chunk-2TIUKVZN.js";
-import {
-  e as e2,
-  r,
-  w
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/core/workers/WorkerHandle.js
-var h = class {
-  constructor(e3, t, s5, i, h2 = {}) {
-    this._mainMethod = t, this._transferLists = s5, this._listeners = [], this._promise = u(e3, { ...h2, schedule: i }).then((e4) => {
-      if (void 0 === this._thread) {
-        this._thread = e4, this._promise = null, h2.hasInitialize && this.broadcast({}, "initialize");
-        for (const e5 of this._listeners)
-          this._connectListener(e5);
-      } else
-        e4.close();
-    }), this._promise.catch((t2) => s.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e3} worker: ${t2}`));
-  }
-  on(r2, i) {
-    const o3 = { removed: false, eventName: r2, callback: i, threadHandle: null };
-    return this._listeners.push(o3), this._connectListener(o3), n(() => {
-      o3.removed = true, C(this._listeners, o3), this._thread && r(o3.threadHandle) && o3.threadHandle.remove();
-    });
-  }
-  destroy() {
-    this._thread && (this._thread.close(), this._thread = null), this._promise = null;
-  }
-  invoke(e3, t) {
-    return this.invokeMethod(this._mainMethod, e3, t);
-  }
-  invokeMethod(e3, t, r2) {
-    if (this._thread) {
-      const s5 = this._transferLists[e3], i = s5 ? s5(t) : [];
-      return this._thread.invoke(e3, t, { transferList: i, signal: r2 });
-    }
-    return this._promise ? this._promise.then(() => (f(r2), this.invokeMethod(e3, t, r2))) : Promise.reject(null);
-  }
-  broadcast(e3, t) {
-    return this._thread ? Promise.all(this._thread.broadcast(t, e3)).then(() => {
-    }) : this._promise ? this._promise.then(() => this.broadcast(e3, t)) : Promise.reject();
-  }
-  get promise() {
-    return this._promise;
-  }
-  _connectListener(e3) {
-    this._thread && this._thread.on(e3.eventName, e3.callback).then((t) => {
-      e3.removed || (e3.threadHandle = t);
-    });
-  }
-};
-
-// node_modules/@arcgis/core/layers/support/LercDecoder.js
-var s4 = class extends h {
-  constructor(e3 = null) {
-    super("LercWorker", "_decode", { _decode: (e4) => [e4.buffer] }, e3, { strategy: "dedicated" }), this.schedule = e3, this.ref = 0;
-  }
-  decode(e3, r2, t) {
-    return e3 && 0 !== e3.byteLength ? this.invoke({ buffer: e3, options: r2 }, t) : Promise.resolve(null);
-  }
-  release() {
-    --this.ref <= 0 && (o2.forEach((e3, r2) => {
-      e3 === this && o2.delete(r2);
-    }), this.destroy());
-  }
-};
-var o2 = /* @__PURE__ */ new Map();
-function n3(t = null) {
-  let n4 = o2.get(e2(t));
-  return n4 || (r(t) ? (n4 = new s4((e3) => t.schedule(e3)), o2.set(t, n4)) : (n4 = new s4(), o2.set(null, n4))), ++n4.ref, n4;
-}
-
-// node_modules/@arcgis/core/layers/ElevationLayer.js
-var j = class extends s3(p(c(v2(O(b))))) {
-  constructor(...e3) {
-    super(...e3), this.copyright = null, this.heightModelInfo = null, this.path = null, this.minScale = void 0, this.maxScale = void 0, this.opacity = 1, this.operationalLayerType = "ArcGISTiledElevationServiceLayer", this.sourceJSON = null, this.type = "elevation", this.url = null, this.version = null, this._lercDecoder = n3();
-  }
-  normalizeCtorArgs(e3, r2) {
-    return "string" == typeof e3 ? { url: e3, ...r2 } : e3;
-  }
-  destroy() {
-    this._lercDecoder = w(this._lercDecoder);
-  }
-  readVersion(e3, r2) {
-    let t = r2.currentVersion;
-    return t || (t = 9.3), t;
-  }
-  load(e3) {
-    const r2 = r(e3) ? e3.signal : null;
-    return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["Image Service"], supportsData: false, validateItem: (e4) => {
-      for (let r3 = 0; r3 < e4.typeKeywords.length; r3++)
-        if ("elevation 3d layer" === e4.typeKeywords[r3].toLowerCase())
-          return true;
-      throw new s2("portal:invalid-layer-item-type", "Invalid layer item type '${type}', expected '${expectedType}' ", { type: "Image Service", expectedType: "Image Service Elevation 3D Layer" });
-    } }, e3).catch(w2).then(() => this._fetchImageService(r2))), Promise.resolve(this);
-  }
-  fetchTile(e3, t, o3, s5) {
-    const a = r((s5 = s5 || { signal: null }).signal) ? s5.signal : s5.signal = new AbortController().signal, l = { responseType: "array-buffer", signal: a }, p2 = { noDataValue: s5.noDataValue, returnFileInfo: true };
-    return this.load().then(() => this._fetchTileAvailability(e3, t, o3, s5)).then(() => U(this.getTileUrl(e3, t, o3), l)).then((e4) => this._lercDecoder.decode(e4.data, p2, a)).then((e4) => {
-      var _a;
-      return { values: e4.pixelData, width: e4.width, height: e4.height, maxZError: (_a = e4.fileInfo) == null ? void 0 : _a.maxZError, noDataValue: e4.noDataValue, minValue: e4.minValue, maxValue: e4.maxValue };
-    });
-  }
-  getTileUrl(e3, r2, t) {
-    const o3 = !this.tilemapCache && this.supportsBlankTile, i = I({ ...this.parsedUrl.query, blankTile: !o3 && null });
-    return `${this.parsedUrl.path}/tile/${e3}/${r2}/${t}${i ? "?" + i : ""}`;
-  }
-  async queryElevation(e3, r2) {
-    const { ElevationQuery: t } = await import("./ElevationQuery-PFI6RXXM.js");
-    f(r2);
-    return new t().query(this, e3, r2);
-  }
-  async createElevationSampler(e3, r2) {
-    const { ElevationQuery: t } = await import("./ElevationQuery-PFI6RXXM.js");
-    f(r2);
-    return new t().createSampler(this, e3, r2);
-  }
-  _fetchTileAvailability(e3, r2, t, o3) {
-    return this.tilemapCache ? this.tilemapCache.fetchAvailability(e3, r2, t, o3) : Promise.resolve("unknown");
-  }
-  async _fetchImageService(e3) {
-    var _a;
-    if (this.sourceJSON)
-      return this.sourceJSON;
-    const t = { query: { f: "json", ...this.parsedUrl.query }, responseType: "json", signal: e3 }, o3 = await U(this.parsedUrl.path, t);
-    o3.ssl && (this.url = (_a = this.url) == null ? void 0 : _a.replace(/^http:/i, "https:")), this.sourceJSON = o3.data, this.read(o3.data, { origin: "service", url: this.parsedUrl });
-  }
-  get hasOverriddenFetchTile() {
-    return !this.fetchTile.__isDefault__;
-  }
-};
-e([y({ json: { read: { source: "copyrightText" } } })], j.prototype, "copyright", void 0), e([y({ readOnly: true, type: v })], j.prototype, "heightModelInfo", void 0), e([y({ type: String, json: { origins: { "web-scene": { read: true, write: true } }, read: false } })], j.prototype, "path", void 0), e([y({ type: ["show", "hide"] })], j.prototype, "listMode", void 0), e([y({ json: { read: false, write: false, origins: { service: { read: false, write: false }, "portal-item": { read: false, write: false }, "web-document": { read: false, write: false } } }, readOnly: true })], j.prototype, "minScale", void 0), e([y({ json: { read: false, write: false, origins: { service: { read: false, write: false }, "portal-item": { read: false, write: false }, "web-document": { read: false, write: false } } }, readOnly: true })], j.prototype, "maxScale", void 0), e([y({ json: { read: false, write: false, origins: { "web-document": { read: false, write: false } } } })], j.prototype, "opacity", void 0), e([y({ type: ["ArcGISTiledElevationServiceLayer"] })], j.prototype, "operationalLayerType", void 0), e([y()], j.prototype, "sourceJSON", void 0), e([y({ json: { read: false }, value: "elevation", readOnly: true })], j.prototype, "type", void 0), e([y(f2)], j.prototype, "url", void 0), e([y()], j.prototype, "version", void 0), e([o("version", ["currentVersion"])], j.prototype, "readVersion", null), j = e([n2("esri.layers.ElevationLayer")], j), j.prototype.fetchTile.__isDefault__ = true;
-var w3 = j;
-export {
-  w3 as default
-};
-//# sourceMappingURL=ElevationLayer-NYCVL5EQ.js.map

+ 241 - 0
node_modules/.vite/deps/ElevationLayer-QUSPD7CU.js

@@ -0,0 +1,241 @@
+import {
+  v
+} from "./chunk-6SHVYOIM.js";
+import {
+  u
+} from "./chunk-7FZX4UI7.js";
+import "./chunk-IR3DRB65.js";
+import "./chunk-6334AFGG.js";
+import "./chunk-FM5OVTDI.js";
+import {
+  s as s3
+} from "./chunk-JXDT22MC.js";
+import "./chunk-VM66JY35.js";
+import "./chunk-OJ2HHY2O.js";
+import {
+  p
+} from "./chunk-BFKFNCQC.js";
+import "./chunk-SZFMKPVM.js";
+import "./chunk-EY2WJSAJ.js";
+import "./chunk-RDMCXRET.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-TV3CFJQR.js";
+import "./chunk-BWATQC2Y.js";
+import "./chunk-6URCZZA6.js";
+import "./chunk-U2WD23Z5.js";
+import {
+  v as v2
+} from "./chunk-2DSTZVND.js";
+import {
+  c
+} from "./chunk-VXKIGGM4.js";
+import {
+  f as f2
+} from "./chunk-KG45D2XL.js";
+import {
+  O
+} from "./chunk-JYRZQPQI.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-HWSWTWZD.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-PIFOHNWC.js";
+import "./chunk-LLO7GCYU.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import {
+  b
+} from "./chunk-O43KLDSX.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import {
+  U
+} from "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import {
+  I
+} from "./chunk-VEGAOVMY.js";
+import {
+  o
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n2 as n,
+  n5 as n2,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  f,
+  w as w2
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s,
+  s3 as s2
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import {
+  C
+} from "./chunk-2TIUKVZN.js";
+import {
+  e as e2,
+  r,
+  w
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/core/workers/WorkerHandle.js
+var h = class {
+  constructor(e3, t, s5, i, h2 = {}) {
+    this._mainMethod = t, this._transferLists = s5, this._listeners = [], this._promise = u(e3, { ...h2, schedule: i }).then((e4) => {
+      if (void 0 === this._thread) {
+        this._thread = e4, this._promise = null, h2.hasInitialize && this.broadcast({}, "initialize");
+        for (const e5 of this._listeners)
+          this._connectListener(e5);
+      } else
+        e4.close();
+    }), this._promise.catch((t2) => s.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e3} worker: ${t2}`));
+  }
+  on(r2, i) {
+    const o3 = { removed: false, eventName: r2, callback: i, threadHandle: null };
+    return this._listeners.push(o3), this._connectListener(o3), n(() => {
+      o3.removed = true, C(this._listeners, o3), this._thread && r(o3.threadHandle) && o3.threadHandle.remove();
+    });
+  }
+  destroy() {
+    this._thread && (this._thread.close(), this._thread = null), this._promise = null;
+  }
+  invoke(e3, t) {
+    return this.invokeMethod(this._mainMethod, e3, t);
+  }
+  invokeMethod(e3, t, r2) {
+    if (this._thread) {
+      const s5 = this._transferLists[e3], i = s5 ? s5(t) : [];
+      return this._thread.invoke(e3, t, { transferList: i, signal: r2 });
+    }
+    return this._promise ? this._promise.then(() => (f(r2), this.invokeMethod(e3, t, r2))) : Promise.reject(null);
+  }
+  broadcast(e3, t) {
+    return this._thread ? Promise.all(this._thread.broadcast(t, e3)).then(() => {
+    }) : this._promise ? this._promise.then(() => this.broadcast(e3, t)) : Promise.reject();
+  }
+  get promise() {
+    return this._promise;
+  }
+  _connectListener(e3) {
+    this._thread && this._thread.on(e3.eventName, e3.callback).then((t) => {
+      e3.removed || (e3.threadHandle = t);
+    });
+  }
+};
+
+// node_modules/@arcgis/core/layers/support/LercDecoder.js
+var s4 = class extends h {
+  constructor(e3 = null) {
+    super("LercWorker", "_decode", { _decode: (e4) => [e4.buffer] }, e3, { strategy: "dedicated" }), this.schedule = e3, this.ref = 0;
+  }
+  decode(e3, r2, t) {
+    return e3 && 0 !== e3.byteLength ? this.invoke({ buffer: e3, options: r2 }, t) : Promise.resolve(null);
+  }
+  release() {
+    --this.ref <= 0 && (o2.forEach((e3, r2) => {
+      e3 === this && o2.delete(r2);
+    }), this.destroy());
+  }
+};
+var o2 = /* @__PURE__ */ new Map();
+function n3(t = null) {
+  let n4 = o2.get(e2(t));
+  return n4 || (r(t) ? (n4 = new s4((e3) => t.schedule(e3)), o2.set(t, n4)) : (n4 = new s4(), o2.set(null, n4))), ++n4.ref, n4;
+}
+
+// node_modules/@arcgis/core/layers/ElevationLayer.js
+var j = class extends s3(p(c(v2(O(b))))) {
+  constructor(...e3) {
+    super(...e3), this.copyright = null, this.heightModelInfo = null, this.path = null, this.minScale = void 0, this.maxScale = void 0, this.opacity = 1, this.operationalLayerType = "ArcGISTiledElevationServiceLayer", this.sourceJSON = null, this.type = "elevation", this.url = null, this.version = null, this._lercDecoder = n3();
+  }
+  normalizeCtorArgs(e3, r2) {
+    return "string" == typeof e3 ? { url: e3, ...r2 } : e3;
+  }
+  destroy() {
+    this._lercDecoder = w(this._lercDecoder);
+  }
+  readVersion(e3, r2) {
+    let t = r2.currentVersion;
+    return t || (t = 9.3), t;
+  }
+  load(e3) {
+    const r2 = r(e3) ? e3.signal : null;
+    return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["Image Service"], supportsData: false, validateItem: (e4) => {
+      for (let r3 = 0; r3 < e4.typeKeywords.length; r3++)
+        if ("elevation 3d layer" === e4.typeKeywords[r3].toLowerCase())
+          return true;
+      throw new s2("portal:invalid-layer-item-type", "Invalid layer item type '${type}', expected '${expectedType}' ", { type: "Image Service", expectedType: "Image Service Elevation 3D Layer" });
+    } }, e3).catch(w2).then(() => this._fetchImageService(r2))), Promise.resolve(this);
+  }
+  fetchTile(e3, t, o3, s5) {
+    const a = r((s5 = s5 || { signal: null }).signal) ? s5.signal : s5.signal = new AbortController().signal, l = { responseType: "array-buffer", signal: a }, p2 = { noDataValue: s5.noDataValue, returnFileInfo: true };
+    return this.load().then(() => this._fetchTileAvailability(e3, t, o3, s5)).then(() => U(this.getTileUrl(e3, t, o3), l)).then((e4) => this._lercDecoder.decode(e4.data, p2, a)).then((e4) => {
+      var _a;
+      return { values: e4.pixelData, width: e4.width, height: e4.height, maxZError: (_a = e4.fileInfo) == null ? void 0 : _a.maxZError, noDataValue: e4.noDataValue, minValue: e4.minValue, maxValue: e4.maxValue };
+    });
+  }
+  getTileUrl(e3, r2, t) {
+    const o3 = !this.tilemapCache && this.supportsBlankTile, i = I({ ...this.parsedUrl.query, blankTile: !o3 && null });
+    return `${this.parsedUrl.path}/tile/${e3}/${r2}/${t}${i ? "?" + i : ""}`;
+  }
+  async queryElevation(e3, r2) {
+    const { ElevationQuery: t } = await import("./ElevationQuery-BZTDAKT4.js");
+    f(r2);
+    return new t().query(this, e3, r2);
+  }
+  async createElevationSampler(e3, r2) {
+    const { ElevationQuery: t } = await import("./ElevationQuery-BZTDAKT4.js");
+    f(r2);
+    return new t().createSampler(this, e3, r2);
+  }
+  _fetchTileAvailability(e3, r2, t, o3) {
+    return this.tilemapCache ? this.tilemapCache.fetchAvailability(e3, r2, t, o3) : Promise.resolve("unknown");
+  }
+  async _fetchImageService(e3) {
+    var _a;
+    if (this.sourceJSON)
+      return this.sourceJSON;
+    const t = { query: { f: "json", ...this.parsedUrl.query }, responseType: "json", signal: e3 }, o3 = await U(this.parsedUrl.path, t);
+    o3.ssl && (this.url = (_a = this.url) == null ? void 0 : _a.replace(/^http:/i, "https:")), this.sourceJSON = o3.data, this.read(o3.data, { origin: "service", url: this.parsedUrl });
+  }
+  get hasOverriddenFetchTile() {
+    return !this.fetchTile.__isDefault__;
+  }
+};
+e([y({ json: { read: { source: "copyrightText" } } })], j.prototype, "copyright", void 0), e([y({ readOnly: true, type: v })], j.prototype, "heightModelInfo", void 0), e([y({ type: String, json: { origins: { "web-scene": { read: true, write: true } }, read: false } })], j.prototype, "path", void 0), e([y({ type: ["show", "hide"] })], j.prototype, "listMode", void 0), e([y({ json: { read: false, write: false, origins: { service: { read: false, write: false }, "portal-item": { read: false, write: false }, "web-document": { read: false, write: false } } }, readOnly: true })], j.prototype, "minScale", void 0), e([y({ json: { read: false, write: false, origins: { service: { read: false, write: false }, "portal-item": { read: false, write: false }, "web-document": { read: false, write: false } } }, readOnly: true })], j.prototype, "maxScale", void 0), e([y({ json: { read: false, write: false, origins: { "web-document": { read: false, write: false } } } })], j.prototype, "opacity", void 0), e([y({ type: ["ArcGISTiledElevationServiceLayer"] })], j.prototype, "operationalLayerType", void 0), e([y()], j.prototype, "sourceJSON", void 0), e([y({ json: { read: false }, value: "elevation", readOnly: true })], j.prototype, "type", void 0), e([y(f2)], j.prototype, "url", void 0), e([y()], j.prototype, "version", void 0), e([o("version", ["currentVersion"])], j.prototype, "readVersion", null), j = e([n2("esri.layers.ElevationLayer")], j), j.prototype.fetchTile.__isDefault__ = true;
+var w3 = j;
+export {
+  w3 as default
+};
+//# sourceMappingURL=ElevationLayer-QUSPD7CU.js.map

+ 0 - 0
node_modules/.vite/deps/ElevationLayer-NYCVL5EQ.js.map → node_modules/.vite/deps/ElevationLayer-QUSPD7CU.js.map


+ 658 - 0
node_modules/.vite/deps/ElevationQuery-BZTDAKT4.js

@@ -0,0 +1,658 @@
+import {
+  _n,
+  rn
+} from "./chunk-VYQHMPYW.js";
+import "./chunk-SOSOZIX6.js";
+import {
+  t as t2
+} from "./chunk-U2WD23Z5.js";
+import "./chunk-VGWC3IKZ.js";
+import {
+  R,
+  c as c2,
+  f,
+  u as u2,
+  w as w3
+} from "./chunk-SWMSD4RP.js";
+import {
+  $
+} from "./chunk-UKEN2UNL.js";
+import {
+  b
+} from "./chunk-PIFOHNWC.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import {
+  m2 as m,
+  u
+} from "./chunk-RZK6A2GY.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import {
+  M,
+  w as w2
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  E,
+  w,
+  y
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s,
+  s3 as s2
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  c,
+  i,
+  r,
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/support/ElevationSampler.js
+var m2 = s.getLogger("esri.layers.support.ElevationSampler");
+var c3 = class {
+  queryElevation(e2) {
+    return h(e2.clone(), this);
+  }
+  on() {
+    return g;
+  }
+  projectIfRequired(e2, t4) {
+    return f2(e2, t4);
+  }
+};
+var u3 = class extends c3 {
+  constructor(e2, t4, n) {
+    super(), this.tile = e2, this.noDataValue = n;
+    const o = e2.tile.extent;
+    this.extent = f(o, t4.spatialReference), this.extent.zmin = e2.zmin, this.extent.zmax = e2.zmax, this._aaExtent = o;
+    const a = $(t4.spatialReference), r2 = t4.lodAt(e2.tile.level).resolution * a;
+    this.demResolution = { min: r2, max: r2 };
+  }
+  get spatialReference() {
+    return this.extent.spatialReference;
+  }
+  contains(e2) {
+    const n = this.projectIfRequired(e2, this.spatialReference);
+    return !t(n) && this.containsAt(n.x, n.y);
+  }
+  containsAt(e2, t4) {
+    return w3(this._aaExtent, e2, t4);
+  }
+  elevationAt(e2, t4) {
+    if (!this.containsAt(e2, t4)) {
+      const n = this.extent, s4 = `${n.xmin}, ${n.ymin}, ${n.xmax}, ${n.ymax}`;
+      return m2.warn("#elevationAt()", `Point used to sample elevation (${e2}, ${t4}) is outside of the sampler extent (${s4})`), this.noDataValue;
+    }
+    return i(this.tile.sample(e2, t4), this.noDataValue);
+  }
+};
+var p = class extends c3 {
+  constructor(e2, t4, n) {
+    let s4;
+    super(), "number" == typeof t4 ? (this.noDataValue = t4, s4 = null) : (s4 = t4, this.noDataValue = n), this.samplers = s4 ? e2.map((e3) => new u3(e3, s4, this.noDataValue)) : e2;
+    const o = this.samplers[0];
+    if (o) {
+      this.extent = o.extent.clone();
+      const { min: e3, max: t5 } = o.demResolution;
+      this.demResolution = { min: e3, max: t5 };
+      for (let n2 = 1; n2 < this.samplers.length; n2++) {
+        const e4 = this.samplers[n2];
+        this.extent.union(e4.extent), this.demResolution.min = Math.min(this.demResolution.min, e4.demResolution.min), this.demResolution.max = Math.max(this.demResolution.max, e4.demResolution.max);
+      }
+    } else
+      this.extent = f(u2(), s4.spatialReference), this.demResolution = { min: 0, max: 0 };
+  }
+  get spatialReference() {
+    return this.extent.spatialReference;
+  }
+  elevationAt(e2, t4) {
+    for (const n of this.samplers)
+      if (n.containsAt(e2, t4))
+        return n.elevationAt(e2, t4);
+    return m2.warn("#elevationAt()", `Point used to sample elevation (${e2}, ${t4}) is outside of the sampler`), this.noDataValue;
+  }
+};
+function h(e2, t4) {
+  const n = f2(e2, t4.spatialReference);
+  if (!n)
+    return null;
+  switch (e2.type) {
+    case "point":
+      x(e2, n, t4);
+      break;
+    case "polyline":
+      R2(e2, n, t4);
+      break;
+    case "multipoint":
+      d(e2, n, t4);
+  }
+  return e2;
+}
+function f2(e2, n) {
+  if (t(e2))
+    return null;
+  const s4 = e2.spatialReference;
+  if (s4.equals(n))
+    return e2;
+  const i2 = M(e2, n);
+  return i2 || m2.error(`Cannot project geometry spatial reference (wkid:${s4.wkid}) to elevation sampler spatial reference (wkid:${n.wkid})`), i2;
+}
+function x(e2, t4, n) {
+  e2.z = n.elevationAt(t4.x, t4.y);
+}
+function R2(e2, t4, n) {
+  y2.spatialReference = t4.spatialReference;
+  const s4 = e2.hasM && !e2.hasZ;
+  for (let i2 = 0; i2 < e2.paths.length; i2++) {
+    const o = e2.paths[i2], a = t4.paths[i2];
+    for (let e3 = 0; e3 < o.length; e3++) {
+      const t5 = o[e3], i3 = a[e3];
+      y2.x = i3[0], y2.y = i3[1], s4 && (t5[3] = t5[2]), t5[2] = n.elevationAt(y2.x, y2.y);
+    }
+  }
+  e2.hasZ = true;
+}
+function d(e2, t4, n) {
+  y2.spatialReference = t4.spatialReference;
+  const s4 = e2.hasM && !e2.hasZ;
+  for (let i2 = 0; i2 < e2.points.length; i2++) {
+    const o = e2.points[i2], a = t4.points[i2];
+    y2.x = a[0], y2.y = a[1], s4 && (o[3] = o[2]), o[2] = n.elevationAt(y2.x, y2.y);
+  }
+  e2.hasZ = true;
+}
+var y2 = new w2();
+var g = { remove() {
+} };
+
+// node_modules/@arcgis/core/layers/support/ElevationSamplerData.js
+var t3 = class {
+  constructor({ values: t4, width: h2, height: i2, noDataValue: s4 }, a) {
+    this.pixelData = t4, this.width = h2, this.height = i2, this.safeWidth = 0.99999999 * (h2 - 1), this.noDataValue = s4, this.dx = (h2 - 1) / (a[2] - a[0]), this.dy = (h2 - 1) / (a[3] - a[1]), this.x0 = a[0], this.y1 = a[3];
+  }
+};
+
+// node_modules/@arcgis/core/layers/support/ElevationTile.js
+var e = class {
+  constructor(a, e2 = null) {
+    if (this.tile = a, this.zmin = 0, this.zmax = 0, r(e2) && r(a)) {
+      const t4 = a.extent;
+      this._samplerData = new t3(e2, t4), this.zmin = e2.minValue, this.zmax = e2.maxValue;
+    }
+  }
+  sample(t4, i2) {
+    if (t(this._samplerData))
+      return;
+    const { safeWidth: e2, width: r2, pixelData: o, noDataValue: n, dx: l, dy: m3, y1: h2, x0: f3 } = this._samplerData, p2 = s3(m3 * (h2 - i2), 0, e2), u4 = s3(l * (t4 - f3), 0, e2), c4 = Math.floor(p2), x3 = Math.floor(u4), D = c4 * r2 + x3, d2 = D + r2, z = o[D], y3 = o[d2], V = o[D + 1], _2 = o[d2 + 1];
+    if (z !== n && y3 !== n && V !== n && _2 !== n) {
+      const t5 = u4 - x3, a = z + (V - z) * t5;
+      return a + (y3 + (_2 - y3) * t5 - a) * (p2 - c4);
+    }
+  }
+};
+function s3(t4, a, i2) {
+  return t4 < a ? a : t4 > i2 ? i2 : t4;
+}
+
+// node_modules/@arcgis/core/layers/support/ElevationQuery.js
+var g2 = class {
+  async queryAll(e2, i2, s4) {
+    if (!(e2 = s4 && s4.ignoreInvisibleLayers ? e2.filter((e3) => e3.visible) : e2.slice()).length)
+      throw new s2("elevation-query:invalid-layer", "Elevation queries require at least one elevation layer to fetch tiles from");
+    const n = x2.fromGeometry(i2);
+    let o = false;
+    s4 && s4.returnSampleInfo || (o = true);
+    const l = { ...A, ...s4, returnSampleInfo: true }, a = await this.query(e2[e2.length - 1], n, l), r2 = await this._queryAllContinue(e2, a, l);
+    return r2.geometry = r2.geometry.export(), o && delete r2.sampleInfo, r2;
+  }
+  async query(e2, i2, s4) {
+    if (!e2)
+      throw new s2("elevation-query:invalid-layer", "Elevation queries require an elevation layer to fetch tiles from");
+    if (!i2 || !(i2 instanceof x2) && "point" !== i2.type && "multipoint" !== i2.type && "polyline" !== i2.type)
+      throw new s2("elevation-query:invalid-geometry", "Only point, polyline and multipoint geometries can be used to query elevation");
+    const n = { ...A, ...s4 }, o = new R3(e2, i2.spatialReference, n), l = n.signal;
+    return await e2.load({ signal: l }), await this._createGeometryDescriptor(o, i2, l), await this._selectTiles(o, l), await this._populateElevationTiles(o, l), this._sampleGeometryWithElevation(o), this._createQueryResult(o, l);
+  }
+  async createSampler(e2, i2, s4) {
+    if (!e2)
+      throw new s2("elevation-query:invalid-layer", "Elevation queries require an elevation layer to fetch tiles from");
+    if (!i2 || "extent" !== i2.type)
+      throw new s2("elevation-query:invalid-extent", "Invalid or undefined extent");
+    const n = { ...A, ...s4 };
+    return this._createSampler(e2, i2, n);
+  }
+  async createSamplerAll(e2, i2, s4) {
+    if (!(e2 = s4 && s4.ignoreInvisibleLayers ? e2.filter((e3) => e3.visible) : e2.slice()).length)
+      throw new s2("elevation-query:invalid-layer", "Elevation queries require at least one elevation layer to fetch tiles from");
+    if (!i2 || "extent" !== i2.type)
+      throw new s2("elevation-query:invalid-extent", "Invalid or undefined extent");
+    const n = { ...A, ...s4, returnSampleInfo: true }, o = await this._createSampler(e2[e2.length - 1], i2, n);
+    return this._createSamplerAllContinue(e2, i2, o, n);
+  }
+  async _createSampler(e2, t4, i2, s4) {
+    const n = i2.signal;
+    await e2.load({ signal: n });
+    const o = t4.spatialReference, l = e2.tileInfo.spatialReference;
+    o.equals(l) || (await _n([{ source: o, dest: l }], { signal: n }), t4 = rn(t4, l));
+    const a = new q(e2, t4, i2, s4);
+    return await this._selectTiles(a, n), await this._populateElevationTiles(a, n), new p(a.elevationTiles, a.layer.tileInfo, a.options.noDataValue);
+  }
+  async _createSamplerAllContinue(e2, t4, i2, s4) {
+    if (e2.pop(), !e2.length)
+      return i2;
+    const n = i2.samplers.map((e3) => c2(e3.extent)), o = await this._createSampler(e2[e2.length - 1], t4, s4, n);
+    if (0 === o.samplers.length)
+      return i2;
+    const l = i2.samplers.concat(o.samplers), a = new p(l, s4.noDataValue);
+    return this._createSamplerAllContinue(e2, t4, a, s4);
+  }
+  async _queryAllContinue(e2, t4, s4) {
+    const n = e2.pop(), o = t4.geometry.coordinates, l = t4.sampleInfo;
+    c(l);
+    const a = [], r2 = [];
+    for (let i2 = 0; i2 < o.length; i2++) {
+      const t5 = l[i2];
+      t5.demResolution >= 0 ? t5.source || (t5.source = n) : e2.length && (a.push(o[i2]), r2.push(i2));
+    }
+    if (!e2.length || 0 === a.length)
+      return t4;
+    const c4 = t4.geometry.clone(a), u4 = await this.query(e2[e2.length - 1], c4, s4), h2 = u4.sampleInfo;
+    if (!h2)
+      throw new Error("no sampleInfo");
+    return r2.forEach((e3, t5) => {
+      o[e3].z = u4.geometry.coordinates[t5].z, l[e3].demResolution = h2[t5].demResolution;
+    }), this._queryAllContinue(e2, t4, s4);
+  }
+  async _createQueryResult(e2, t4) {
+    const s4 = await e2.geometry.project(e2.outSpatialReference, t4);
+    c(s4);
+    const n = { geometry: s4.export(), noDataValue: e2.options.noDataValue };
+    return e2.options.returnSampleInfo && (n.sampleInfo = this._extractSampleInfo(e2)), e2.geometry.coordinates.forEach((e3) => {
+      e3.tile = null, e3.elevationTile = null;
+    }), n;
+  }
+  async _createGeometryDescriptor(e2, i2, s4) {
+    let n;
+    const o = e2.layer.tileInfo.spatialReference;
+    if (i2 instanceof x2 ? n = await i2.project(o, s4) : (await _n([{ source: i2.spatialReference, dest: o }], { signal: s4 }), n = rn(i2, o)), !n)
+      throw new s2("elevation-query:spatial-reference-mismatch", `Cannot query elevation in '${i2.spatialReference.wkid}' on an elevation service in '${o.wkid}'`);
+    e2.geometry = x2.fromGeometry(n);
+  }
+  async _selectTiles(e2, i2) {
+    const s4 = e2.options.demResolution;
+    if ("geometry" === e2.type && this._preselectOutsideLayerExtent(e2), "number" == typeof s4)
+      this._selectTilesClosestResolution(e2);
+    else if ("finest-contiguous" === s4)
+      await this._selectTilesFinestContiguous(e2, i2);
+    else {
+      if ("auto" !== s4)
+        throw new s2("elevation-query:invalid-dem-resolution", `Invalid dem resolution value '${s4}', expected a number, "finest-contiguous" or "auto"`);
+      await this._selectTilesAuto(e2, i2);
+    }
+  }
+  _preselectOutsideLayerExtent(e2) {
+    if (t(e2.layer.fullExtent))
+      return;
+    const t4 = new e(null);
+    t4.sample = () => e2.options.noDataValue, e2.outsideExtentTile = t4;
+    const i2 = e2.layer.fullExtent;
+    e2.geometry.coordinates.forEach((e3) => {
+      const s4 = e3.x, n = e3.y;
+      (s4 < i2.xmin || s4 > i2.xmax || n < i2.ymin || n > i2.ymax) && (e3.elevationTile = t4);
+    });
+  }
+  _selectTilesClosestResolution(e2) {
+    const t4 = e2.layer.tileInfo, i2 = this._findNearestDemResolutionLODIndex(t4, e2.options.demResolution);
+    e2.selectTilesAtLOD(i2);
+  }
+  _findNearestDemResolutionLODIndex(e2, t4) {
+    const i2 = t4 / $(e2.spatialReference);
+    let s4 = e2.lods[0], n = 0;
+    for (let o = 1; o < e2.lods.length; o++) {
+      const t5 = e2.lods[o];
+      Math.abs(t5.resolution - i2) < Math.abs(s4.resolution - i2) && (s4 = t5, n = o);
+    }
+    return n;
+  }
+  async _selectTilesFinestContiguous(e2, t4) {
+    const i2 = I(e2.layer.tileInfo, e2.options.minDemResolution);
+    await this._selectTilesFinestContiguousAt(e2, i2, t4);
+  }
+  async _selectTilesFinestContiguousAt(e2, i2, s4) {
+    const n = e2.layer;
+    if (e2.selectTilesAtLOD(i2), i2 < 0)
+      return;
+    const a = n.tilemapCache, r2 = e2.getTilesToFetch();
+    try {
+      if (a)
+        await y(Promise.all(r2.map((e3) => a.fetchAvailability(e3.level, e3.row, e3.col, { signal: s4 }))), s4);
+      else if (await this._populateElevationTiles(e2, s4), !e2.allElevationTilesFetched())
+        throw e2.clearElevationTiles(), new s2("elevation-query:has-unavailable-tiles");
+    } catch (c4) {
+      w(c4), await this._selectTilesFinestContiguousAt(e2, i2 - 1, s4);
+    }
+  }
+  async _populateElevationTiles(e2, t4) {
+    const i2 = e2.getTilesToFetch(), s4 = {}, l = e2.options.cache, r2 = e2.options.noDataValue, c4 = i2.map(async (i3) => {
+      if (null == i3.id)
+        return;
+      const o = `${e2.layer.uid}:${i3.id}:${r2}`, a = r(l) ? l.get(o) : null, c5 = r(a) ? a : await e2.layer.fetchTile(i3.level, i3.row, i3.col, { noDataValue: r2, signal: t4 });
+      r(l) && l.put(o, c5), s4[i3.id] = new e(i3, c5);
+    });
+    await y(E(c4), t4), e2.populateElevationTiles(s4);
+  }
+  async _selectTilesAuto(t4, i2) {
+    this._selectTilesAutoFinest(t4), this._reduceTilesForMaximumRequests(t4);
+    const s4 = t4.layer.tilemapCache;
+    if (!s4)
+      return this._selectTilesAutoPrefetchUpsample(t4, i2);
+    const n = t4.getTilesToFetch(), a = {}, r2 = n.map(async (t5) => {
+      const n2 = new t2(null, 0, 0, 0, u2()), o = await b(s4.fetchAvailabilityUpsample(t5.level, t5.row, t5.col, n2, { signal: i2 }));
+      false !== o.ok ? null != t5.id && (a[t5.id] = n2) : w(o.error);
+    });
+    await y(Promise.all(r2), i2), t4.remapTiles(a);
+  }
+  _reduceTilesForMaximumRequests(e2) {
+    const t4 = e2.layer.tileInfo;
+    let i2 = 0;
+    const s4 = {}, n = (e3) => {
+      null != e3.id && (e3.id in s4 ? s4[e3.id]++ : (s4[e3.id] = 1, i2++));
+    }, o = (e3) => {
+      if (null == e3.id)
+        return;
+      const t5 = s4[e3.id];
+      1 === t5 ? (delete s4[e3.id], i2--) : s4[e3.id] = t5 - 1;
+    };
+    e2.forEachTileToFetch(n, o);
+    let l = true;
+    for (; l && (l = false, e2.forEachTileToFetch((s5) => {
+      i2 <= e2.options.maximumAutoTileRequests || (o(s5), t4.upsampleTile(s5) && (l = true), n(s5));
+    }, o), l); )
+      ;
+  }
+  _selectTilesAutoFinest(e2) {
+    const t4 = I(e2.layer.tileInfo, e2.options.minDemResolution);
+    e2.selectTilesAtLOD(t4, e2.options.maximumAutoTileRequests);
+  }
+  async _selectTilesAutoPrefetchUpsample(e2, t4) {
+    const i2 = e2.layer.tileInfo;
+    await this._populateElevationTiles(e2, t4);
+    let s4 = false;
+    e2.forEachTileToFetch((e3, t5) => {
+      i2.upsampleTile(e3) ? s4 = true : t5();
+    }), s4 && await this._selectTilesAutoPrefetchUpsample(e2, t4);
+  }
+  _sampleGeometryWithElevation(e2) {
+    e2.geometry.coordinates.forEach((t4) => {
+      const i2 = t4.elevationTile;
+      let s4 = e2.options.noDataValue;
+      if (i2) {
+        const e3 = i2.sample(t4.x, t4.y);
+        r(e3) ? s4 = e3 : t4.elevationTile = null;
+      }
+      t4.z = s4;
+    });
+  }
+  _extractSampleInfo(e2) {
+    const t4 = e2.layer.tileInfo, i2 = $(t4.spatialReference);
+    return e2.geometry.coordinates.map((s4) => {
+      let n = -1;
+      if (s4.elevationTile && s4.elevationTile !== e2.outsideExtentTile) {
+        n = t4.lodAt(s4.elevationTile.tile.level).resolution * i2;
+      }
+      return { demResolution: n };
+    });
+  }
+};
+var x2 = class {
+  export() {
+    return this._exporter(this.coordinates, this.spatialReference);
+  }
+  clone(e2) {
+    const t4 = new x2();
+    return t4.geometry = this.geometry, t4.spatialReference = this.spatialReference, t4.coordinates = e2 || this.coordinates.map((e3) => e3.clone()), t4._exporter = this._exporter, t4;
+  }
+  async project(e2, t4) {
+    if (this.spatialReference.equals(e2))
+      return this.clone();
+    await _n([{ source: this.spatialReference, dest: e2 }], { signal: t4 });
+    const i2 = new u({ spatialReference: this.spatialReference, points: this.coordinates.map((e3) => [e3.x, e3.y]) }), s4 = rn(i2, e2);
+    if (!s4)
+      return null;
+    const n = this.coordinates.map((e3, t5) => {
+      const i3 = e3.clone(), n2 = s4.points[t5];
+      return i3.x = n2[0], i3.y = n2[1], i3;
+    }), o = this.clone(n);
+    return o.spatialReference = e2, o;
+  }
+  static fromGeometry(e2) {
+    const t4 = new x2();
+    if (t4.geometry = e2, t4.spatialReference = e2.spatialReference, e2 instanceof x2)
+      t4.coordinates = e2.coordinates.map((e3) => e3.clone()), t4._exporter = (t5, i2) => {
+        const s4 = e2.clone(t5);
+        return s4.spatialReference = i2, s4;
+      };
+    else
+      switch (e2.type) {
+        case "point": {
+          const i2 = e2, { hasZ: s4, hasM: n } = i2;
+          t4.coordinates = s4 && n ? [new _(i2.x, i2.y, i2.z, i2.m)] : s4 ? [new _(i2.x, i2.y, i2.z)] : n ? [new _(i2.x, i2.y, null, i2.m)] : [new _(i2.x, i2.y)], t4._exporter = (t5, i3) => e2.hasM ? new w2(t5[0].x, t5[0].y, t5[0].z, t5[0].m, i3) : new w2(t5[0].x, t5[0].y, t5[0].z, i3);
+          break;
+        }
+        case "multipoint": {
+          const i2 = e2, { hasZ: s4, hasM: n } = i2;
+          t4.coordinates = s4 && n ? i2.points.map((e3) => new _(e3[0], e3[1], e3[2], e3[3])) : s4 ? i2.points.map((e3) => new _(e3[0], e3[1], e3[2])) : n ? i2.points.map((e3) => new _(e3[0], e3[1], null, e3[2])) : i2.points.map((e3) => new _(e3[0], e3[1])), t4._exporter = (t5, i3) => e2.hasM ? new u({ points: t5.map((e3) => [e3.x, e3.y, e3.z, e3.m]), hasZ: true, hasM: true, spatiaReference: i3 }) : new u(t5.map((e3) => [e3.x, e3.y, e3.z]), i3);
+          break;
+        }
+        case "polyline": {
+          const i2 = e2, s4 = [], n = [], { hasZ: o, hasM: l } = e2;
+          let a = 0;
+          for (const e3 of i2.paths)
+            if (n.push([a, a + e3.length]), a += e3.length, o && l)
+              for (const t5 of e3)
+                s4.push(new _(t5[0], t5[1], t5[2], t5[3]));
+            else if (o)
+              for (const t5 of e3)
+                s4.push(new _(t5[0], t5[1], t5[2]));
+            else if (l)
+              for (const t5 of e3)
+                s4.push(new _(t5[0], t5[1], null, t5[2]));
+            else
+              for (const t5 of e3)
+                s4.push(new _(t5[0], t5[1]));
+          t4.coordinates = s4, t4._exporter = (t5, i3) => {
+            const s5 = e2.hasM ? t5.map((e3) => [e3.x, e3.y, e3.z, e3.m]) : t5.map((e3) => [e3.x, e3.y, e3.z]), o2 = n.map((e3) => s5.slice(e3[0], e3[1]));
+            return new m({ paths: o2, hasM: e2.hasM, hasZ: true, spatialReference: i3 });
+          };
+          break;
+        }
+      }
+    return t4;
+  }
+};
+var _ = class {
+  constructor(e2, t4, i2 = null, s4 = null, n = null, o = null) {
+    this.x = e2, this.y = t4, this.z = i2, this.m = s4, this.tile = n, this.elevationTile = o;
+  }
+  clone() {
+    return new _(this.x, this.y, this.z, this.m);
+  }
+};
+var E2 = class {
+  constructor(e2, t4) {
+    this.layer = e2, this.options = t4;
+  }
+};
+var R3 = class extends E2 {
+  constructor(e2, t4, i2) {
+    super(e2, i2), this.outSpatialReference = t4, this.type = "geometry";
+  }
+  selectTilesAtLOD(e2) {
+    if (e2 < 0)
+      this.geometry.coordinates.forEach((e3) => {
+        e3.tile = null;
+      });
+    else {
+      const t4 = this.layer.tileInfo, i2 = t4.lods[e2].level;
+      this.geometry.coordinates.forEach((e3) => {
+        e3.tile = t4.tileAt(i2, e3.x, e3.y);
+      });
+    }
+  }
+  allElevationTilesFetched() {
+    return !this.geometry.coordinates.some((e2) => !e2.elevationTile);
+  }
+  clearElevationTiles() {
+    for (const e2 of this.geometry.coordinates)
+      e2.elevationTile !== this.outsideExtentTile && (e2.elevationTile = null);
+  }
+  populateElevationTiles(e2) {
+    var _a;
+    for (const t4 of this.geometry.coordinates)
+      !t4.elevationTile && ((_a = t4.tile) == null ? void 0 : _a.id) && (t4.elevationTile = e2[t4.tile.id]);
+  }
+  remapTiles(e2) {
+    var _a;
+    for (const t4 of this.geometry.coordinates) {
+      const i2 = (_a = t4.tile) == null ? void 0 : _a.id;
+      t4.tile = i2 ? e2[i2] : null;
+    }
+  }
+  getTilesToFetch() {
+    var _a;
+    const e2 = {}, t4 = [];
+    for (const i2 of this.geometry.coordinates) {
+      const s4 = i2.tile;
+      if (!s4)
+        continue;
+      const n = (_a = i2.tile) == null ? void 0 : _a.id;
+      i2.elevationTile || !n || e2[n] || (e2[n] = s4, t4.push(s4));
+    }
+    return t4;
+  }
+  forEachTileToFetch(e2) {
+    for (const t4 of this.geometry.coordinates)
+      t4.tile && !t4.elevationTile && e2(t4.tile, () => {
+        t4.tile = null;
+      });
+  }
+};
+var q = class extends E2 {
+  constructor(e2, t4, i2, s4) {
+    super(e2, i2), this.type = "extent", this.elevationTiles = [], this._candidateTiles = [], this._fetchedCandidates = /* @__PURE__ */ new Set(), this.extent = t4.intersection(e2.fullExtent), this.maskExtents = s4;
+  }
+  selectTilesAtLOD(e2, t4) {
+    const i2 = this._maximumLodForRequests(t4), s4 = Math.min(i2, e2);
+    s4 < 0 ? this._candidateTiles.length = 0 : this._selectCandidateTilesCoveringExtentAt(s4);
+  }
+  _maximumLodForRequests(e2) {
+    const t4 = this.layer.tileInfo;
+    if (!e2)
+      return t4.lods.length - 1;
+    const i2 = this.extent;
+    if (t(i2))
+      return -1;
+    for (let s4 = t4.lods.length - 1; s4 >= 0; s4--) {
+      const n = t4.lods[s4], o = n.resolution * t4.size[0], l = n.resolution * t4.size[1];
+      if (Math.ceil(i2.width / o) * Math.ceil(i2.height / l) <= e2)
+        return s4;
+    }
+    return -1;
+  }
+  allElevationTilesFetched() {
+    return this._candidateTiles.length === this.elevationTiles.length;
+  }
+  clearElevationTiles() {
+    this.elevationTiles.length = 0, this._fetchedCandidates.clear();
+  }
+  populateElevationTiles(e2) {
+    for (const t4 of this._candidateTiles) {
+      const i2 = t4.id && e2[t4.id];
+      i2 && (this._fetchedCandidates.add(t4), this.elevationTiles.push(i2));
+    }
+  }
+  remapTiles(e2) {
+    this._candidateTiles = this._uniqueNonOverlappingTiles(this._candidateTiles.map((t4) => e2[t4.id]));
+  }
+  getTilesToFetch() {
+    return this._candidateTiles;
+  }
+  forEachTileToFetch(e2, t4) {
+    const i2 = this._candidateTiles;
+    this._candidateTiles = [], i2.forEach((i3) => {
+      if (this._fetchedCandidates.has(i3))
+        return void (t4 && t4(i3));
+      let s4 = false;
+      e2(i3, () => s4 = true), s4 ? t4 && t4(i3) : this._candidateTiles.push(i3);
+    }), this._candidateTiles = this._uniqueNonOverlappingTiles(this._candidateTiles, t4);
+  }
+  _uniqueNonOverlappingTiles(e2, t4) {
+    const i2 = {}, s4 = [];
+    for (const o of e2) {
+      const e3 = o.id;
+      e3 && !i2[e3] ? (i2[e3] = o, s4.push(o)) : t4 && t4(o);
+    }
+    const n = s4.sort((e3, t5) => e3.level - t5.level);
+    return n.filter((e3, i3) => {
+      for (let s5 = 0; s5 < i3; s5++) {
+        const i4 = n[s5].extent;
+        if (i4 && e3.extent && R(i4, e3.extent))
+          return t4 && t4(e3), false;
+      }
+      return true;
+    });
+  }
+  _selectCandidateTilesCoveringExtentAt(e2) {
+    this._candidateTiles.length = 0;
+    const t4 = this.extent;
+    if (t(t4))
+      return;
+    const i2 = this.layer.tileInfo, n = i2.lods[e2], o = i2.tileAt(n.level, t4.xmin, t4.ymin), l = o.extent;
+    if (t(l))
+      return;
+    const a = n.resolution * i2.size[0], r2 = n.resolution * i2.size[1], c4 = Math.ceil((t4.xmax - l[0]) / a), u4 = Math.ceil((t4.ymax - l[1]) / r2);
+    for (let s4 = 0; s4 < u4; s4++)
+      for (let e3 = 0; e3 < c4; e3++) {
+        const t5 = new t2(null, o.level, o.row - s4, o.col + e3);
+        i2.updateTileInfo(t5), this._tileIsMasked(t5) || this._candidateTiles.push(t5);
+      }
+  }
+  _tileIsMasked(e2) {
+    return !!this.maskExtents && this.maskExtents.some((t4) => e2.extent && R(t4, e2.extent));
+  }
+};
+function I(e2, t4 = 0) {
+  let i2 = e2.lods.length - 1;
+  if (t4 > 0) {
+    const s4 = t4 / $(e2.spatialReference), n = e2.lods.findIndex((e3) => e3.resolution < s4);
+    0 === n ? i2 = 0 : n > 0 && (i2 = n - 1);
+  }
+  return i2;
+}
+var A = { maximumAutoTileRequests: 20, noDataValue: 0, returnSampleInfo: false, demResolution: "auto", minDemResolution: 0 };
+export {
+  g2 as ElevationQuery,
+  x2 as GeometryDescriptor,
+  I as getFinestLodIndex
+};
+//# sourceMappingURL=ElevationQuery-BZTDAKT4.js.map

+ 0 - 0
node_modules/.vite/deps/ElevationQuery-PFI6RXXM.js.map → node_modules/.vite/deps/ElevationQuery-BZTDAKT4.js.map


+ 0 - 658
node_modules/.vite/deps/ElevationQuery-PFI6RXXM.js

@@ -1,658 +0,0 @@
-import {
-  _n,
-  rn
-} from "./chunk-P24XEEHY.js";
-import "./chunk-SAJAEMIJ.js";
-import {
-  t as t2
-} from "./chunk-U2WD23Z5.js";
-import "./chunk-VGWC3IKZ.js";
-import {
-  R,
-  c as c2,
-  f,
-  u as u2,
-  w as w3
-} from "./chunk-2H5MD622.js";
-import {
-  $
-} from "./chunk-3RSFVUKZ.js";
-import {
-  b
-} from "./chunk-2ZSOO377.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import {
-  m2 as m,
-  u
-} from "./chunk-VCH45Q2I.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import {
-  M,
-  w as w2
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  E,
-  w,
-  y
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s,
-  s3 as s2
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  c,
-  i,
-  r,
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/layers/support/ElevationSampler.js
-var m2 = s.getLogger("esri.layers.support.ElevationSampler");
-var c3 = class {
-  queryElevation(e2) {
-    return h(e2.clone(), this);
-  }
-  on() {
-    return g;
-  }
-  projectIfRequired(e2, t4) {
-    return f2(e2, t4);
-  }
-};
-var u3 = class extends c3 {
-  constructor(e2, t4, n) {
-    super(), this.tile = e2, this.noDataValue = n;
-    const o = e2.tile.extent;
-    this.extent = f(o, t4.spatialReference), this.extent.zmin = e2.zmin, this.extent.zmax = e2.zmax, this._aaExtent = o;
-    const a = $(t4.spatialReference), r2 = t4.lodAt(e2.tile.level).resolution * a;
-    this.demResolution = { min: r2, max: r2 };
-  }
-  get spatialReference() {
-    return this.extent.spatialReference;
-  }
-  contains(e2) {
-    const n = this.projectIfRequired(e2, this.spatialReference);
-    return !t(n) && this.containsAt(n.x, n.y);
-  }
-  containsAt(e2, t4) {
-    return w3(this._aaExtent, e2, t4);
-  }
-  elevationAt(e2, t4) {
-    if (!this.containsAt(e2, t4)) {
-      const n = this.extent, s4 = `${n.xmin}, ${n.ymin}, ${n.xmax}, ${n.ymax}`;
-      return m2.warn("#elevationAt()", `Point used to sample elevation (${e2}, ${t4}) is outside of the sampler extent (${s4})`), this.noDataValue;
-    }
-    return i(this.tile.sample(e2, t4), this.noDataValue);
-  }
-};
-var p = class extends c3 {
-  constructor(e2, t4, n) {
-    let s4;
-    super(), "number" == typeof t4 ? (this.noDataValue = t4, s4 = null) : (s4 = t4, this.noDataValue = n), this.samplers = s4 ? e2.map((e3) => new u3(e3, s4, this.noDataValue)) : e2;
-    const o = this.samplers[0];
-    if (o) {
-      this.extent = o.extent.clone();
-      const { min: e3, max: t5 } = o.demResolution;
-      this.demResolution = { min: e3, max: t5 };
-      for (let n2 = 1; n2 < this.samplers.length; n2++) {
-        const e4 = this.samplers[n2];
-        this.extent.union(e4.extent), this.demResolution.min = Math.min(this.demResolution.min, e4.demResolution.min), this.demResolution.max = Math.max(this.demResolution.max, e4.demResolution.max);
-      }
-    } else
-      this.extent = f(u2(), s4.spatialReference), this.demResolution = { min: 0, max: 0 };
-  }
-  get spatialReference() {
-    return this.extent.spatialReference;
-  }
-  elevationAt(e2, t4) {
-    for (const n of this.samplers)
-      if (n.containsAt(e2, t4))
-        return n.elevationAt(e2, t4);
-    return m2.warn("#elevationAt()", `Point used to sample elevation (${e2}, ${t4}) is outside of the sampler`), this.noDataValue;
-  }
-};
-function h(e2, t4) {
-  const n = f2(e2, t4.spatialReference);
-  if (!n)
-    return null;
-  switch (e2.type) {
-    case "point":
-      x(e2, n, t4);
-      break;
-    case "polyline":
-      R2(e2, n, t4);
-      break;
-    case "multipoint":
-      d(e2, n, t4);
-  }
-  return e2;
-}
-function f2(e2, n) {
-  if (t(e2))
-    return null;
-  const s4 = e2.spatialReference;
-  if (s4.equals(n))
-    return e2;
-  const i2 = M(e2, n);
-  return i2 || m2.error(`Cannot project geometry spatial reference (wkid:${s4.wkid}) to elevation sampler spatial reference (wkid:${n.wkid})`), i2;
-}
-function x(e2, t4, n) {
-  e2.z = n.elevationAt(t4.x, t4.y);
-}
-function R2(e2, t4, n) {
-  y2.spatialReference = t4.spatialReference;
-  const s4 = e2.hasM && !e2.hasZ;
-  for (let i2 = 0; i2 < e2.paths.length; i2++) {
-    const o = e2.paths[i2], a = t4.paths[i2];
-    for (let e3 = 0; e3 < o.length; e3++) {
-      const t5 = o[e3], i3 = a[e3];
-      y2.x = i3[0], y2.y = i3[1], s4 && (t5[3] = t5[2]), t5[2] = n.elevationAt(y2.x, y2.y);
-    }
-  }
-  e2.hasZ = true;
-}
-function d(e2, t4, n) {
-  y2.spatialReference = t4.spatialReference;
-  const s4 = e2.hasM && !e2.hasZ;
-  for (let i2 = 0; i2 < e2.points.length; i2++) {
-    const o = e2.points[i2], a = t4.points[i2];
-    y2.x = a[0], y2.y = a[1], s4 && (o[3] = o[2]), o[2] = n.elevationAt(y2.x, y2.y);
-  }
-  e2.hasZ = true;
-}
-var y2 = new w2();
-var g = { remove() {
-} };
-
-// node_modules/@arcgis/core/layers/support/ElevationSamplerData.js
-var t3 = class {
-  constructor({ values: t4, width: h2, height: i2, noDataValue: s4 }, a) {
-    this.pixelData = t4, this.width = h2, this.height = i2, this.safeWidth = 0.99999999 * (h2 - 1), this.noDataValue = s4, this.dx = (h2 - 1) / (a[2] - a[0]), this.dy = (h2 - 1) / (a[3] - a[1]), this.x0 = a[0], this.y1 = a[3];
-  }
-};
-
-// node_modules/@arcgis/core/layers/support/ElevationTile.js
-var e = class {
-  constructor(a, e2 = null) {
-    if (this.tile = a, this.zmin = 0, this.zmax = 0, r(e2) && r(a)) {
-      const t4 = a.extent;
-      this._samplerData = new t3(e2, t4), this.zmin = e2.minValue, this.zmax = e2.maxValue;
-    }
-  }
-  sample(t4, i2) {
-    if (t(this._samplerData))
-      return;
-    const { safeWidth: e2, width: r2, pixelData: o, noDataValue: n, dx: l, dy: m3, y1: h2, x0: f3 } = this._samplerData, p2 = s3(m3 * (h2 - i2), 0, e2), u4 = s3(l * (t4 - f3), 0, e2), c4 = Math.floor(p2), x3 = Math.floor(u4), D = c4 * r2 + x3, d2 = D + r2, z = o[D], y3 = o[d2], V = o[D + 1], _2 = o[d2 + 1];
-    if (z !== n && y3 !== n && V !== n && _2 !== n) {
-      const t5 = u4 - x3, a = z + (V - z) * t5;
-      return a + (y3 + (_2 - y3) * t5 - a) * (p2 - c4);
-    }
-  }
-};
-function s3(t4, a, i2) {
-  return t4 < a ? a : t4 > i2 ? i2 : t4;
-}
-
-// node_modules/@arcgis/core/layers/support/ElevationQuery.js
-var g2 = class {
-  async queryAll(e2, i2, s4) {
-    if (!(e2 = s4 && s4.ignoreInvisibleLayers ? e2.filter((e3) => e3.visible) : e2.slice()).length)
-      throw new s2("elevation-query:invalid-layer", "Elevation queries require at least one elevation layer to fetch tiles from");
-    const n = x2.fromGeometry(i2);
-    let o = false;
-    s4 && s4.returnSampleInfo || (o = true);
-    const l = { ...A, ...s4, returnSampleInfo: true }, a = await this.query(e2[e2.length - 1], n, l), r2 = await this._queryAllContinue(e2, a, l);
-    return r2.geometry = r2.geometry.export(), o && delete r2.sampleInfo, r2;
-  }
-  async query(e2, i2, s4) {
-    if (!e2)
-      throw new s2("elevation-query:invalid-layer", "Elevation queries require an elevation layer to fetch tiles from");
-    if (!i2 || !(i2 instanceof x2) && "point" !== i2.type && "multipoint" !== i2.type && "polyline" !== i2.type)
-      throw new s2("elevation-query:invalid-geometry", "Only point, polyline and multipoint geometries can be used to query elevation");
-    const n = { ...A, ...s4 }, o = new R3(e2, i2.spatialReference, n), l = n.signal;
-    return await e2.load({ signal: l }), await this._createGeometryDescriptor(o, i2, l), await this._selectTiles(o, l), await this._populateElevationTiles(o, l), this._sampleGeometryWithElevation(o), this._createQueryResult(o, l);
-  }
-  async createSampler(e2, i2, s4) {
-    if (!e2)
-      throw new s2("elevation-query:invalid-layer", "Elevation queries require an elevation layer to fetch tiles from");
-    if (!i2 || "extent" !== i2.type)
-      throw new s2("elevation-query:invalid-extent", "Invalid or undefined extent");
-    const n = { ...A, ...s4 };
-    return this._createSampler(e2, i2, n);
-  }
-  async createSamplerAll(e2, i2, s4) {
-    if (!(e2 = s4 && s4.ignoreInvisibleLayers ? e2.filter((e3) => e3.visible) : e2.slice()).length)
-      throw new s2("elevation-query:invalid-layer", "Elevation queries require at least one elevation layer to fetch tiles from");
-    if (!i2 || "extent" !== i2.type)
-      throw new s2("elevation-query:invalid-extent", "Invalid or undefined extent");
-    const n = { ...A, ...s4, returnSampleInfo: true }, o = await this._createSampler(e2[e2.length - 1], i2, n);
-    return this._createSamplerAllContinue(e2, i2, o, n);
-  }
-  async _createSampler(e2, t4, i2, s4) {
-    const n = i2.signal;
-    await e2.load({ signal: n });
-    const o = t4.spatialReference, l = e2.tileInfo.spatialReference;
-    o.equals(l) || (await _n([{ source: o, dest: l }], { signal: n }), t4 = rn(t4, l));
-    const a = new q(e2, t4, i2, s4);
-    return await this._selectTiles(a, n), await this._populateElevationTiles(a, n), new p(a.elevationTiles, a.layer.tileInfo, a.options.noDataValue);
-  }
-  async _createSamplerAllContinue(e2, t4, i2, s4) {
-    if (e2.pop(), !e2.length)
-      return i2;
-    const n = i2.samplers.map((e3) => c2(e3.extent)), o = await this._createSampler(e2[e2.length - 1], t4, s4, n);
-    if (0 === o.samplers.length)
-      return i2;
-    const l = i2.samplers.concat(o.samplers), a = new p(l, s4.noDataValue);
-    return this._createSamplerAllContinue(e2, t4, a, s4);
-  }
-  async _queryAllContinue(e2, t4, s4) {
-    const n = e2.pop(), o = t4.geometry.coordinates, l = t4.sampleInfo;
-    c(l);
-    const a = [], r2 = [];
-    for (let i2 = 0; i2 < o.length; i2++) {
-      const t5 = l[i2];
-      t5.demResolution >= 0 ? t5.source || (t5.source = n) : e2.length && (a.push(o[i2]), r2.push(i2));
-    }
-    if (!e2.length || 0 === a.length)
-      return t4;
-    const c4 = t4.geometry.clone(a), u4 = await this.query(e2[e2.length - 1], c4, s4), h2 = u4.sampleInfo;
-    if (!h2)
-      throw new Error("no sampleInfo");
-    return r2.forEach((e3, t5) => {
-      o[e3].z = u4.geometry.coordinates[t5].z, l[e3].demResolution = h2[t5].demResolution;
-    }), this._queryAllContinue(e2, t4, s4);
-  }
-  async _createQueryResult(e2, t4) {
-    const s4 = await e2.geometry.project(e2.outSpatialReference, t4);
-    c(s4);
-    const n = { geometry: s4.export(), noDataValue: e2.options.noDataValue };
-    return e2.options.returnSampleInfo && (n.sampleInfo = this._extractSampleInfo(e2)), e2.geometry.coordinates.forEach((e3) => {
-      e3.tile = null, e3.elevationTile = null;
-    }), n;
-  }
-  async _createGeometryDescriptor(e2, i2, s4) {
-    let n;
-    const o = e2.layer.tileInfo.spatialReference;
-    if (i2 instanceof x2 ? n = await i2.project(o, s4) : (await _n([{ source: i2.spatialReference, dest: o }], { signal: s4 }), n = rn(i2, o)), !n)
-      throw new s2("elevation-query:spatial-reference-mismatch", `Cannot query elevation in '${i2.spatialReference.wkid}' on an elevation service in '${o.wkid}'`);
-    e2.geometry = x2.fromGeometry(n);
-  }
-  async _selectTiles(e2, i2) {
-    const s4 = e2.options.demResolution;
-    if ("geometry" === e2.type && this._preselectOutsideLayerExtent(e2), "number" == typeof s4)
-      this._selectTilesClosestResolution(e2);
-    else if ("finest-contiguous" === s4)
-      await this._selectTilesFinestContiguous(e2, i2);
-    else {
-      if ("auto" !== s4)
-        throw new s2("elevation-query:invalid-dem-resolution", `Invalid dem resolution value '${s4}', expected a number, "finest-contiguous" or "auto"`);
-      await this._selectTilesAuto(e2, i2);
-    }
-  }
-  _preselectOutsideLayerExtent(e2) {
-    if (t(e2.layer.fullExtent))
-      return;
-    const t4 = new e(null);
-    t4.sample = () => e2.options.noDataValue, e2.outsideExtentTile = t4;
-    const i2 = e2.layer.fullExtent;
-    e2.geometry.coordinates.forEach((e3) => {
-      const s4 = e3.x, n = e3.y;
-      (s4 < i2.xmin || s4 > i2.xmax || n < i2.ymin || n > i2.ymax) && (e3.elevationTile = t4);
-    });
-  }
-  _selectTilesClosestResolution(e2) {
-    const t4 = e2.layer.tileInfo, i2 = this._findNearestDemResolutionLODIndex(t4, e2.options.demResolution);
-    e2.selectTilesAtLOD(i2);
-  }
-  _findNearestDemResolutionLODIndex(e2, t4) {
-    const i2 = t4 / $(e2.spatialReference);
-    let s4 = e2.lods[0], n = 0;
-    for (let o = 1; o < e2.lods.length; o++) {
-      const t5 = e2.lods[o];
-      Math.abs(t5.resolution - i2) < Math.abs(s4.resolution - i2) && (s4 = t5, n = o);
-    }
-    return n;
-  }
-  async _selectTilesFinestContiguous(e2, t4) {
-    const i2 = I(e2.layer.tileInfo, e2.options.minDemResolution);
-    await this._selectTilesFinestContiguousAt(e2, i2, t4);
-  }
-  async _selectTilesFinestContiguousAt(e2, i2, s4) {
-    const n = e2.layer;
-    if (e2.selectTilesAtLOD(i2), i2 < 0)
-      return;
-    const a = n.tilemapCache, r2 = e2.getTilesToFetch();
-    try {
-      if (a)
-        await y(Promise.all(r2.map((e3) => a.fetchAvailability(e3.level, e3.row, e3.col, { signal: s4 }))), s4);
-      else if (await this._populateElevationTiles(e2, s4), !e2.allElevationTilesFetched())
-        throw e2.clearElevationTiles(), new s2("elevation-query:has-unavailable-tiles");
-    } catch (c4) {
-      w(c4), await this._selectTilesFinestContiguousAt(e2, i2 - 1, s4);
-    }
-  }
-  async _populateElevationTiles(e2, t4) {
-    const i2 = e2.getTilesToFetch(), s4 = {}, l = e2.options.cache, r2 = e2.options.noDataValue, c4 = i2.map(async (i3) => {
-      if (null == i3.id)
-        return;
-      const o = `${e2.layer.uid}:${i3.id}:${r2}`, a = r(l) ? l.get(o) : null, c5 = r(a) ? a : await e2.layer.fetchTile(i3.level, i3.row, i3.col, { noDataValue: r2, signal: t4 });
-      r(l) && l.put(o, c5), s4[i3.id] = new e(i3, c5);
-    });
-    await y(E(c4), t4), e2.populateElevationTiles(s4);
-  }
-  async _selectTilesAuto(t4, i2) {
-    this._selectTilesAutoFinest(t4), this._reduceTilesForMaximumRequests(t4);
-    const s4 = t4.layer.tilemapCache;
-    if (!s4)
-      return this._selectTilesAutoPrefetchUpsample(t4, i2);
-    const n = t4.getTilesToFetch(), a = {}, r2 = n.map(async (t5) => {
-      const n2 = new t2(null, 0, 0, 0, u2()), o = await b(s4.fetchAvailabilityUpsample(t5.level, t5.row, t5.col, n2, { signal: i2 }));
-      false !== o.ok ? null != t5.id && (a[t5.id] = n2) : w(o.error);
-    });
-    await y(Promise.all(r2), i2), t4.remapTiles(a);
-  }
-  _reduceTilesForMaximumRequests(e2) {
-    const t4 = e2.layer.tileInfo;
-    let i2 = 0;
-    const s4 = {}, n = (e3) => {
-      null != e3.id && (e3.id in s4 ? s4[e3.id]++ : (s4[e3.id] = 1, i2++));
-    }, o = (e3) => {
-      if (null == e3.id)
-        return;
-      const t5 = s4[e3.id];
-      1 === t5 ? (delete s4[e3.id], i2--) : s4[e3.id] = t5 - 1;
-    };
-    e2.forEachTileToFetch(n, o);
-    let l = true;
-    for (; l && (l = false, e2.forEachTileToFetch((s5) => {
-      i2 <= e2.options.maximumAutoTileRequests || (o(s5), t4.upsampleTile(s5) && (l = true), n(s5));
-    }, o), l); )
-      ;
-  }
-  _selectTilesAutoFinest(e2) {
-    const t4 = I(e2.layer.tileInfo, e2.options.minDemResolution);
-    e2.selectTilesAtLOD(t4, e2.options.maximumAutoTileRequests);
-  }
-  async _selectTilesAutoPrefetchUpsample(e2, t4) {
-    const i2 = e2.layer.tileInfo;
-    await this._populateElevationTiles(e2, t4);
-    let s4 = false;
-    e2.forEachTileToFetch((e3, t5) => {
-      i2.upsampleTile(e3) ? s4 = true : t5();
-    }), s4 && await this._selectTilesAutoPrefetchUpsample(e2, t4);
-  }
-  _sampleGeometryWithElevation(e2) {
-    e2.geometry.coordinates.forEach((t4) => {
-      const i2 = t4.elevationTile;
-      let s4 = e2.options.noDataValue;
-      if (i2) {
-        const e3 = i2.sample(t4.x, t4.y);
-        r(e3) ? s4 = e3 : t4.elevationTile = null;
-      }
-      t4.z = s4;
-    });
-  }
-  _extractSampleInfo(e2) {
-    const t4 = e2.layer.tileInfo, i2 = $(t4.spatialReference);
-    return e2.geometry.coordinates.map((s4) => {
-      let n = -1;
-      if (s4.elevationTile && s4.elevationTile !== e2.outsideExtentTile) {
-        n = t4.lodAt(s4.elevationTile.tile.level).resolution * i2;
-      }
-      return { demResolution: n };
-    });
-  }
-};
-var x2 = class {
-  export() {
-    return this._exporter(this.coordinates, this.spatialReference);
-  }
-  clone(e2) {
-    const t4 = new x2();
-    return t4.geometry = this.geometry, t4.spatialReference = this.spatialReference, t4.coordinates = e2 || this.coordinates.map((e3) => e3.clone()), t4._exporter = this._exporter, t4;
-  }
-  async project(e2, t4) {
-    if (this.spatialReference.equals(e2))
-      return this.clone();
-    await _n([{ source: this.spatialReference, dest: e2 }], { signal: t4 });
-    const i2 = new u({ spatialReference: this.spatialReference, points: this.coordinates.map((e3) => [e3.x, e3.y]) }), s4 = rn(i2, e2);
-    if (!s4)
-      return null;
-    const n = this.coordinates.map((e3, t5) => {
-      const i3 = e3.clone(), n2 = s4.points[t5];
-      return i3.x = n2[0], i3.y = n2[1], i3;
-    }), o = this.clone(n);
-    return o.spatialReference = e2, o;
-  }
-  static fromGeometry(e2) {
-    const t4 = new x2();
-    if (t4.geometry = e2, t4.spatialReference = e2.spatialReference, e2 instanceof x2)
-      t4.coordinates = e2.coordinates.map((e3) => e3.clone()), t4._exporter = (t5, i2) => {
-        const s4 = e2.clone(t5);
-        return s4.spatialReference = i2, s4;
-      };
-    else
-      switch (e2.type) {
-        case "point": {
-          const i2 = e2, { hasZ: s4, hasM: n } = i2;
-          t4.coordinates = s4 && n ? [new _(i2.x, i2.y, i2.z, i2.m)] : s4 ? [new _(i2.x, i2.y, i2.z)] : n ? [new _(i2.x, i2.y, null, i2.m)] : [new _(i2.x, i2.y)], t4._exporter = (t5, i3) => e2.hasM ? new w2(t5[0].x, t5[0].y, t5[0].z, t5[0].m, i3) : new w2(t5[0].x, t5[0].y, t5[0].z, i3);
-          break;
-        }
-        case "multipoint": {
-          const i2 = e2, { hasZ: s4, hasM: n } = i2;
-          t4.coordinates = s4 && n ? i2.points.map((e3) => new _(e3[0], e3[1], e3[2], e3[3])) : s4 ? i2.points.map((e3) => new _(e3[0], e3[1], e3[2])) : n ? i2.points.map((e3) => new _(e3[0], e3[1], null, e3[2])) : i2.points.map((e3) => new _(e3[0], e3[1])), t4._exporter = (t5, i3) => e2.hasM ? new u({ points: t5.map((e3) => [e3.x, e3.y, e3.z, e3.m]), hasZ: true, hasM: true, spatiaReference: i3 }) : new u(t5.map((e3) => [e3.x, e3.y, e3.z]), i3);
-          break;
-        }
-        case "polyline": {
-          const i2 = e2, s4 = [], n = [], { hasZ: o, hasM: l } = e2;
-          let a = 0;
-          for (const e3 of i2.paths)
-            if (n.push([a, a + e3.length]), a += e3.length, o && l)
-              for (const t5 of e3)
-                s4.push(new _(t5[0], t5[1], t5[2], t5[3]));
-            else if (o)
-              for (const t5 of e3)
-                s4.push(new _(t5[0], t5[1], t5[2]));
-            else if (l)
-              for (const t5 of e3)
-                s4.push(new _(t5[0], t5[1], null, t5[2]));
-            else
-              for (const t5 of e3)
-                s4.push(new _(t5[0], t5[1]));
-          t4.coordinates = s4, t4._exporter = (t5, i3) => {
-            const s5 = e2.hasM ? t5.map((e3) => [e3.x, e3.y, e3.z, e3.m]) : t5.map((e3) => [e3.x, e3.y, e3.z]), o2 = n.map((e3) => s5.slice(e3[0], e3[1]));
-            return new m({ paths: o2, hasM: e2.hasM, hasZ: true, spatialReference: i3 });
-          };
-          break;
-        }
-      }
-    return t4;
-  }
-};
-var _ = class {
-  constructor(e2, t4, i2 = null, s4 = null, n = null, o = null) {
-    this.x = e2, this.y = t4, this.z = i2, this.m = s4, this.tile = n, this.elevationTile = o;
-  }
-  clone() {
-    return new _(this.x, this.y, this.z, this.m);
-  }
-};
-var E2 = class {
-  constructor(e2, t4) {
-    this.layer = e2, this.options = t4;
-  }
-};
-var R3 = class extends E2 {
-  constructor(e2, t4, i2) {
-    super(e2, i2), this.outSpatialReference = t4, this.type = "geometry";
-  }
-  selectTilesAtLOD(e2) {
-    if (e2 < 0)
-      this.geometry.coordinates.forEach((e3) => {
-        e3.tile = null;
-      });
-    else {
-      const t4 = this.layer.tileInfo, i2 = t4.lods[e2].level;
-      this.geometry.coordinates.forEach((e3) => {
-        e3.tile = t4.tileAt(i2, e3.x, e3.y);
-      });
-    }
-  }
-  allElevationTilesFetched() {
-    return !this.geometry.coordinates.some((e2) => !e2.elevationTile);
-  }
-  clearElevationTiles() {
-    for (const e2 of this.geometry.coordinates)
-      e2.elevationTile !== this.outsideExtentTile && (e2.elevationTile = null);
-  }
-  populateElevationTiles(e2) {
-    var _a;
-    for (const t4 of this.geometry.coordinates)
-      !t4.elevationTile && ((_a = t4.tile) == null ? void 0 : _a.id) && (t4.elevationTile = e2[t4.tile.id]);
-  }
-  remapTiles(e2) {
-    var _a;
-    for (const t4 of this.geometry.coordinates) {
-      const i2 = (_a = t4.tile) == null ? void 0 : _a.id;
-      t4.tile = i2 ? e2[i2] : null;
-    }
-  }
-  getTilesToFetch() {
-    var _a;
-    const e2 = {}, t4 = [];
-    for (const i2 of this.geometry.coordinates) {
-      const s4 = i2.tile;
-      if (!s4)
-        continue;
-      const n = (_a = i2.tile) == null ? void 0 : _a.id;
-      i2.elevationTile || !n || e2[n] || (e2[n] = s4, t4.push(s4));
-    }
-    return t4;
-  }
-  forEachTileToFetch(e2) {
-    for (const t4 of this.geometry.coordinates)
-      t4.tile && !t4.elevationTile && e2(t4.tile, () => {
-        t4.tile = null;
-      });
-  }
-};
-var q = class extends E2 {
-  constructor(e2, t4, i2, s4) {
-    super(e2, i2), this.type = "extent", this.elevationTiles = [], this._candidateTiles = [], this._fetchedCandidates = /* @__PURE__ */ new Set(), this.extent = t4.intersection(e2.fullExtent), this.maskExtents = s4;
-  }
-  selectTilesAtLOD(e2, t4) {
-    const i2 = this._maximumLodForRequests(t4), s4 = Math.min(i2, e2);
-    s4 < 0 ? this._candidateTiles.length = 0 : this._selectCandidateTilesCoveringExtentAt(s4);
-  }
-  _maximumLodForRequests(e2) {
-    const t4 = this.layer.tileInfo;
-    if (!e2)
-      return t4.lods.length - 1;
-    const i2 = this.extent;
-    if (t(i2))
-      return -1;
-    for (let s4 = t4.lods.length - 1; s4 >= 0; s4--) {
-      const n = t4.lods[s4], o = n.resolution * t4.size[0], l = n.resolution * t4.size[1];
-      if (Math.ceil(i2.width / o) * Math.ceil(i2.height / l) <= e2)
-        return s4;
-    }
-    return -1;
-  }
-  allElevationTilesFetched() {
-    return this._candidateTiles.length === this.elevationTiles.length;
-  }
-  clearElevationTiles() {
-    this.elevationTiles.length = 0, this._fetchedCandidates.clear();
-  }
-  populateElevationTiles(e2) {
-    for (const t4 of this._candidateTiles) {
-      const i2 = t4.id && e2[t4.id];
-      i2 && (this._fetchedCandidates.add(t4), this.elevationTiles.push(i2));
-    }
-  }
-  remapTiles(e2) {
-    this._candidateTiles = this._uniqueNonOverlappingTiles(this._candidateTiles.map((t4) => e2[t4.id]));
-  }
-  getTilesToFetch() {
-    return this._candidateTiles;
-  }
-  forEachTileToFetch(e2, t4) {
-    const i2 = this._candidateTiles;
-    this._candidateTiles = [], i2.forEach((i3) => {
-      if (this._fetchedCandidates.has(i3))
-        return void (t4 && t4(i3));
-      let s4 = false;
-      e2(i3, () => s4 = true), s4 ? t4 && t4(i3) : this._candidateTiles.push(i3);
-    }), this._candidateTiles = this._uniqueNonOverlappingTiles(this._candidateTiles, t4);
-  }
-  _uniqueNonOverlappingTiles(e2, t4) {
-    const i2 = {}, s4 = [];
-    for (const o of e2) {
-      const e3 = o.id;
-      e3 && !i2[e3] ? (i2[e3] = o, s4.push(o)) : t4 && t4(o);
-    }
-    const n = s4.sort((e3, t5) => e3.level - t5.level);
-    return n.filter((e3, i3) => {
-      for (let s5 = 0; s5 < i3; s5++) {
-        const i4 = n[s5].extent;
-        if (i4 && e3.extent && R(i4, e3.extent))
-          return t4 && t4(e3), false;
-      }
-      return true;
-    });
-  }
-  _selectCandidateTilesCoveringExtentAt(e2) {
-    this._candidateTiles.length = 0;
-    const t4 = this.extent;
-    if (t(t4))
-      return;
-    const i2 = this.layer.tileInfo, n = i2.lods[e2], o = i2.tileAt(n.level, t4.xmin, t4.ymin), l = o.extent;
-    if (t(l))
-      return;
-    const a = n.resolution * i2.size[0], r2 = n.resolution * i2.size[1], c4 = Math.ceil((t4.xmax - l[0]) / a), u4 = Math.ceil((t4.ymax - l[1]) / r2);
-    for (let s4 = 0; s4 < u4; s4++)
-      for (let e3 = 0; e3 < c4; e3++) {
-        const t5 = new t2(null, o.level, o.row - s4, o.col + e3);
-        i2.updateTileInfo(t5), this._tileIsMasked(t5) || this._candidateTiles.push(t5);
-      }
-  }
-  _tileIsMasked(e2) {
-    return !!this.maskExtents && this.maskExtents.some((t4) => e2.extent && R(t4, e2.extent));
-  }
-};
-function I(e2, t4 = 0) {
-  let i2 = e2.lods.length - 1;
-  if (t4 > 0) {
-    const s4 = t4 / $(e2.spatialReference), n = e2.lods.findIndex((e3) => e3.resolution < s4);
-    0 === n ? i2 = 0 : n > 0 && (i2 = n - 1);
-  }
-  return i2;
-}
-var A = { maximumAutoTileRequests: 20, noDataValue: 0, returnSampleInfo: false, demResolution: "auto", minDemResolution: 0 };
-export {
-  g2 as ElevationQuery,
-  x2 as GeometryDescriptor,
-  I as getFinestLodIndex
-};
-//# sourceMappingURL=ElevationQuery-PFI6RXXM.js.map

+ 0 - 96
node_modules/.vite/deps/ElevationSamplerWorker-ETI272ZX.js

@@ -1,96 +0,0 @@
-import {
-  k3 as k
-} from "./chunk-BXBBOCLV.js";
-import "./chunk-IRQMHCT3.js";
-import "./chunk-W3XAGTM6.js";
-import "./chunk-44FMXGSC.js";
-import "./chunk-XFDO4CMR.js";
-import "./chunk-GHN7C53L.js";
-import "./chunk-HIELTLML.js";
-import {
-  h
-} from "./chunk-D5UVUJIX.js";
-import "./chunk-O3JQY77G.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-IIAN3QNN.js";
-import "./chunk-P24XEEHY.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import {
-  has
-} from "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  r
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/geometry/support/meshUtils/ElevationSamplerWorker.js
-var n = class {
-  async createIndex(r2, n2) {
-    const o2 = new Array();
-    if (!r2.vertexAttributes || !r2.vertexAttributes.position)
-      return new h();
-    const s = this._createMeshData(r2), a = r(n2) ? await n2.invoke("createIndexThread", s, { transferList: o2 }) : this.createIndexThread(s).result;
-    return this._createPooledRBush().fromJSON(a);
-  }
-  createIndexThread(e) {
-    const t = new Float64Array(e.position), r2 = this._createPooledRBush();
-    return e.components ? this._createIndexComponentsThread(r2, t, e.components.map((e2) => new Uint32Array(e2))) : this._createIndexAllThread(r2, t);
-  }
-  _createIndexAllThread(e, t) {
-    const r2 = new Array(t.length / 9);
-    let n2 = 0;
-    for (let s = 0; s < t.length; s += 9)
-      r2[n2++] = o(t, s + 0, s + 3, s + 6);
-    return e.load(r2), { result: e.toJSON() };
-  }
-  _createIndexComponentsThread(e, t, r2) {
-    let n2 = 0;
-    for (const o2 of r2)
-      n2 += o2.length / 3;
-    const s = new Array(n2);
-    let a = 0;
-    for (const i of r2)
-      for (let e2 = 0; e2 < i.length; e2 += 3)
-        s[a++] = o(t, 3 * i[e2 + 0], 3 * i[e2 + 1], 3 * i[e2 + 2]);
-    return e.load(s), { result: e.toJSON() };
-  }
-  _createMeshData(e) {
-    const t = (e.transform ? k({ position: e.vertexAttributes.position, normal: null, tangent: null }, e.transform, e.spatialReference).position : e.vertexAttributes.position).buffer;
-    return !e.components || e.components.some((e2) => !e2.faces) ? { position: t } : { position: t, components: e.components.map((e2) => e2.faces) };
-  }
-  _createPooledRBush() {
-    return new h(9, has("esri-csp-restrictions") ? (e) => e : [".minX", ".minY", ".maxX", ".maxY"]);
-  }
-};
-function o(e, t, r2, n2) {
-  return { minX: Math.min(e[t + 0], e[r2 + 0], e[n2 + 0]), maxX: Math.max(e[t + 0], e[r2 + 0], e[n2 + 0]), minY: Math.min(e[t + 1], e[r2 + 1], e[n2 + 1]), maxY: Math.max(e[t + 1], e[r2 + 1], e[n2 + 1]), p0: [e[t + 0], e[t + 1], e[t + 2]], p1: [e[r2 + 0], e[r2 + 1], e[r2 + 2]], p2: [e[n2 + 0], e[n2 + 1], e[n2 + 2]] };
-}
-export {
-  n as default
-};
-//# sourceMappingURL=ElevationSamplerWorker-ETI272ZX.js.map

+ 96 - 0
node_modules/.vite/deps/ElevationSamplerWorker-INHIMYEM.js

@@ -0,0 +1,96 @@
+import {
+  k3 as k
+} from "./chunk-GGZO2MZV.js";
+import "./chunk-IRQMHCT3.js";
+import "./chunk-MP62QTGD.js";
+import "./chunk-44FMXGSC.js";
+import "./chunk-XFDO4CMR.js";
+import "./chunk-GHN7C53L.js";
+import {
+  h
+} from "./chunk-MZG75XMA.js";
+import "./chunk-HIELTLML.js";
+import "./chunk-O3JQY77G.js";
+import "./chunk-IIAN3QNN.js";
+import "./chunk-VYQHMPYW.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-SOSOZIX6.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import {
+  has
+} from "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  r
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/geometry/support/meshUtils/ElevationSamplerWorker.js
+var n = class {
+  async createIndex(r2, n2) {
+    const o2 = new Array();
+    if (!r2.vertexAttributes || !r2.vertexAttributes.position)
+      return new h();
+    const s = this._createMeshData(r2), a = r(n2) ? await n2.invoke("createIndexThread", s, { transferList: o2 }) : this.createIndexThread(s).result;
+    return this._createPooledRBush().fromJSON(a);
+  }
+  createIndexThread(e) {
+    const t = new Float64Array(e.position), r2 = this._createPooledRBush();
+    return e.components ? this._createIndexComponentsThread(r2, t, e.components.map((e2) => new Uint32Array(e2))) : this._createIndexAllThread(r2, t);
+  }
+  _createIndexAllThread(e, t) {
+    const r2 = new Array(t.length / 9);
+    let n2 = 0;
+    for (let s = 0; s < t.length; s += 9)
+      r2[n2++] = o(t, s + 0, s + 3, s + 6);
+    return e.load(r2), { result: e.toJSON() };
+  }
+  _createIndexComponentsThread(e, t, r2) {
+    let n2 = 0;
+    for (const o2 of r2)
+      n2 += o2.length / 3;
+    const s = new Array(n2);
+    let a = 0;
+    for (const i of r2)
+      for (let e2 = 0; e2 < i.length; e2 += 3)
+        s[a++] = o(t, 3 * i[e2 + 0], 3 * i[e2 + 1], 3 * i[e2 + 2]);
+    return e.load(s), { result: e.toJSON() };
+  }
+  _createMeshData(e) {
+    const t = (e.transform ? k({ position: e.vertexAttributes.position, normal: null, tangent: null }, e.transform, e.spatialReference).position : e.vertexAttributes.position).buffer;
+    return !e.components || e.components.some((e2) => !e2.faces) ? { position: t } : { position: t, components: e.components.map((e2) => e2.faces) };
+  }
+  _createPooledRBush() {
+    return new h(9, has("esri-csp-restrictions") ? (e) => e : [".minX", ".minY", ".maxX", ".maxY"]);
+  }
+};
+function o(e, t, r2, n2) {
+  return { minX: Math.min(e[t + 0], e[r2 + 0], e[n2 + 0]), maxX: Math.max(e[t + 0], e[r2 + 0], e[n2 + 0]), minY: Math.min(e[t + 1], e[r2 + 1], e[n2 + 1]), maxY: Math.max(e[t + 1], e[r2 + 1], e[n2 + 1]), p0: [e[t + 0], e[t + 1], e[t + 2]], p1: [e[r2 + 0], e[r2 + 1], e[r2 + 2]], p2: [e[n2 + 0], e[n2 + 1], e[n2 + 2]] };
+}
+export {
+  n as default
+};
+//# sourceMappingURL=ElevationSamplerWorker-INHIMYEM.js.map

+ 0 - 0
node_modules/.vite/deps/ElevationSamplerWorker-ETI272ZX.js.map → node_modules/.vite/deps/ElevationSamplerWorker-INHIMYEM.js.map


+ 0 - 193
node_modules/.vite/deps/FeatureFilter-DOO77BOI.js

@@ -1,193 +0,0 @@
-import {
-  u as u2
-} from "./chunk-IY6TL5XB.js";
-import "./chunk-PHAKVYRM.js";
-import "./chunk-22KBQSDB.js";
-import {
-  n,
-  v
-} from "./chunk-UVQJ7AVD.js";
-import "./chunk-DMVKVC5I.js";
-import {
-  J
-} from "./chunk-Y7BZ6TKQ.js";
-import "./chunk-VEJPYAE4.js";
-import "./chunk-FZSI6IGI.js";
-import "./chunk-QU433TMZ.js";
-import "./chunk-JKFWEHNK.js";
-import "./chunk-IIAN3QNN.js";
-import "./chunk-P24XEEHY.js";
-import "./chunk-WOXHUQGM.js";
-import "./chunk-FMPQIGFA.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-IEU3AM37.js";
-import {
-  x
-} from "./chunk-WD4J43GZ.js";
-import "./chunk-JOYXMSKE.js";
-import "./chunk-JLYTER4T.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-JGBXYDGB.js";
-import "./chunk-QEWF7QPH.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-VGWC3IKZ.js";
-import {
-  u
-} from "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import {
-  c
-} from "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s,
-  s3 as s2
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/2d/layers/features/support/whereUtils.js
-var t2 = s.getLogger("esri.views.2d.layers.features.support.whereUtils");
-var a = { getAttribute: (e, r) => e.field(r) };
-async function s3(r, s4) {
-  const n2 = await import("./WhereClause-32BDBNIA.js");
-  try {
-    const o = n2.WhereClause.create(r, s4);
-    if (!o.isStandardized) {
-      const r2 = new s2("mapview - bad input", "Unable to apply filter's definition expression, as expression is not standardized.", o);
-      t2.error(r2);
-    }
-    return (e) => {
-      const r2 = e.readArcadeFeature();
-      return o.testFeature(r2, a);
-    };
-  } catch (o) {
-    return t2.warn("mapview-bad-where-clause", "Encountered an error when evaluating where clause", r), (e) => true;
-  }
-}
-
-// node_modules/@arcgis/core/views/2d/layers/features/support/FeatureFilter.js
-var m = 1;
-var _ = 2;
-var p = class {
-  constructor(t3) {
-    this._geometryBounds = u(), this._idToVisibility = /* @__PURE__ */ new Map(), this._serviceInfo = t3;
-  }
-  get hash() {
-    return this._hash;
-  }
-  check(t3) {
-    return this._applyFilter(t3);
-  }
-  clear() {
-    const t3 = this._resetAllHiddenIds();
-    return this.update(), { show: t3, hide: [] };
-  }
-  invalidate() {
-    this._idToVisibility.forEach((t3, e) => {
-      this._idToVisibility.set(e, 0);
-    });
-  }
-  setKnownIds(t3) {
-    for (const e of t3)
-      this._idToVisibility.set(e, m);
-  }
-  setTrue(t3) {
-    const e = [], i = [], s4 = new Set(t3);
-    return this._idToVisibility.forEach((t4, r) => {
-      const o = !!(this._idToVisibility.get(r) & m), h = s4.has(r);
-      !o && h ? e.push(r) : o && !h && i.push(r), this._idToVisibility.set(r, h ? m | _ : 0);
-    }), { show: e, hide: i };
-  }
-  createQuery() {
-    const { geometry: t3, spatialRel: e, where: i, timeExtent: s4, objectIds: r } = this;
-    return x.fromJSON({ geometry: t3, spatialRel: e, where: i, timeExtent: s4, objectIds: r });
-  }
-  async update(t3, e) {
-    this._hash = JSON.stringify(t3);
-    const i = await J(t3, null, e);
-    await Promise.all([this._setGeometryFilter(i), this._setIdFilter(i), this._setAttributeFilter(i), this._setTimeFilter(i)]);
-  }
-  async _setAttributeFilter(t3) {
-    if (!t3 || !t3.where)
-      return this._clause = null, void (this.where = null);
-    this._clause = await s3(t3.where, this._serviceInfo.fieldsIndex), this.where = t3.where;
-  }
-  _setIdFilter(t3) {
-    this._idsToShow = t3 && t3.objectIds && new Set(t3.objectIds), this._idsToHide = t3 && t3.hiddenIds && new Set(t3.hiddenIds), this.objectIds = t3 && t3.objectIds;
-  }
-  async _setGeometryFilter(t3) {
-    if (!t3 || !t3.geometry)
-      return this._spatialQueryOperator = null, this.geometry = null, void (this.spatialRel = null);
-    const e = t3.geometry, i = t3.spatialRel || "esriSpatialRelIntersects", s4 = await v(i, e, this._serviceInfo.geometryType, this._serviceInfo.hasZ, this._serviceInfo.hasM);
-    c(this._geometryBounds, e), this._spatialQueryOperator = s4, this.geometry = e, this.spatialRel = i;
-  }
-  _setTimeFilter(i) {
-    if (this.timeExtent = this._timeOperator = null, i && i.timeExtent)
-      if (this._serviceInfo.timeInfo)
-        this.timeExtent = i.timeExtent, this._timeOperator = n(this._serviceInfo.timeInfo, i.timeExtent, u2);
-      else {
-        const s4 = new s2("feature-layer-view:time-filter-not-available", "Unable to apply time filter, as layer doesn't have time metadata.", i.timeExtent);
-        s.getLogger("esri.views.2d.layers.features.controllers.FeatureFilter").error(s4);
-      }
-  }
-  _applyFilter(t3) {
-    return this._filterByGeometry(t3) && this._filterById(t3) && this._filterByTime(t3) && this._filterByExpression(t3);
-  }
-  _filterByExpression(t3) {
-    return !this.where || this._clause(t3);
-  }
-  _filterById(t3) {
-    return (!this._idsToHide || !this._idsToHide.size || !this._idsToHide.has(t3.getObjectId())) && (!this._idsToShow || !this._idsToShow.size || this._idsToShow.has(t3.getObjectId()));
-  }
-  _filterByGeometry(t3) {
-    if (!this.geometry)
-      return true;
-    const e = t3.readHydratedGeometry();
-    return !!e && this._spatialQueryOperator(e);
-  }
-  _filterByTime(t3) {
-    return !!t(this._timeOperator) || this._timeOperator(t3);
-  }
-  _resetAllHiddenIds() {
-    const t3 = [];
-    return this._idToVisibility.forEach((e, i) => {
-      e & m || (this._idToVisibility.set(i, m), t3.push(i));
-    }), t3;
-  }
-};
-export {
-  p as default
-};
-//# sourceMappingURL=FeatureFilter-DOO77BOI.js.map

+ 193 - 0
node_modules/.vite/deps/FeatureFilter-UHAYMQOD.js

@@ -0,0 +1,193 @@
+import {
+  u as u2
+} from "./chunk-BPKEBVHQ.js";
+import "./chunk-7Y5RTA5Y.js";
+import "./chunk-22KBQSDB.js";
+import {
+  n,
+  v
+} from "./chunk-XCIRV7CO.js";
+import "./chunk-DMVKVC5I.js";
+import {
+  J
+} from "./chunk-NFN2M2QU.js";
+import "./chunk-3ZJXLJLL.js";
+import "./chunk-FZSI6IGI.js";
+import "./chunk-QU433TMZ.js";
+import "./chunk-4VZNS7N2.js";
+import "./chunk-IIAN3QNN.js";
+import "./chunk-VYQHMPYW.js";
+import "./chunk-WXUHXYJK.js";
+import "./chunk-NTERQTPO.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-SOSOZIX6.js";
+import {
+  x
+} from "./chunk-K6QDYFZU.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-4PNYPUDB.js";
+import "./chunk-BQHWPTT7.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-VGWC3IKZ.js";
+import {
+  u
+} from "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import {
+  c
+} from "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s,
+  s3 as s2
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/2d/layers/features/support/whereUtils.js
+var t2 = s.getLogger("esri.views.2d.layers.features.support.whereUtils");
+var a = { getAttribute: (e, r) => e.field(r) };
+async function s3(r, s4) {
+  const n2 = await import("./WhereClause-32BDBNIA.js");
+  try {
+    const o = n2.WhereClause.create(r, s4);
+    if (!o.isStandardized) {
+      const r2 = new s2("mapview - bad input", "Unable to apply filter's definition expression, as expression is not standardized.", o);
+      t2.error(r2);
+    }
+    return (e) => {
+      const r2 = e.readArcadeFeature();
+      return o.testFeature(r2, a);
+    };
+  } catch (o) {
+    return t2.warn("mapview-bad-where-clause", "Encountered an error when evaluating where clause", r), (e) => true;
+  }
+}
+
+// node_modules/@arcgis/core/views/2d/layers/features/support/FeatureFilter.js
+var m = 1;
+var _ = 2;
+var p = class {
+  constructor(t3) {
+    this._geometryBounds = u(), this._idToVisibility = /* @__PURE__ */ new Map(), this._serviceInfo = t3;
+  }
+  get hash() {
+    return this._hash;
+  }
+  check(t3) {
+    return this._applyFilter(t3);
+  }
+  clear() {
+    const t3 = this._resetAllHiddenIds();
+    return this.update(), { show: t3, hide: [] };
+  }
+  invalidate() {
+    this._idToVisibility.forEach((t3, e) => {
+      this._idToVisibility.set(e, 0);
+    });
+  }
+  setKnownIds(t3) {
+    for (const e of t3)
+      this._idToVisibility.set(e, m);
+  }
+  setTrue(t3) {
+    const e = [], i = [], s4 = new Set(t3);
+    return this._idToVisibility.forEach((t4, r) => {
+      const o = !!(this._idToVisibility.get(r) & m), h = s4.has(r);
+      !o && h ? e.push(r) : o && !h && i.push(r), this._idToVisibility.set(r, h ? m | _ : 0);
+    }), { show: e, hide: i };
+  }
+  createQuery() {
+    const { geometry: t3, spatialRel: e, where: i, timeExtent: s4, objectIds: r } = this;
+    return x.fromJSON({ geometry: t3, spatialRel: e, where: i, timeExtent: s4, objectIds: r });
+  }
+  async update(t3, e) {
+    this._hash = JSON.stringify(t3);
+    const i = await J(t3, null, e);
+    await Promise.all([this._setGeometryFilter(i), this._setIdFilter(i), this._setAttributeFilter(i), this._setTimeFilter(i)]);
+  }
+  async _setAttributeFilter(t3) {
+    if (!t3 || !t3.where)
+      return this._clause = null, void (this.where = null);
+    this._clause = await s3(t3.where, this._serviceInfo.fieldsIndex), this.where = t3.where;
+  }
+  _setIdFilter(t3) {
+    this._idsToShow = t3 && t3.objectIds && new Set(t3.objectIds), this._idsToHide = t3 && t3.hiddenIds && new Set(t3.hiddenIds), this.objectIds = t3 && t3.objectIds;
+  }
+  async _setGeometryFilter(t3) {
+    if (!t3 || !t3.geometry)
+      return this._spatialQueryOperator = null, this.geometry = null, void (this.spatialRel = null);
+    const e = t3.geometry, i = t3.spatialRel || "esriSpatialRelIntersects", s4 = await v(i, e, this._serviceInfo.geometryType, this._serviceInfo.hasZ, this._serviceInfo.hasM);
+    c(this._geometryBounds, e), this._spatialQueryOperator = s4, this.geometry = e, this.spatialRel = i;
+  }
+  _setTimeFilter(i) {
+    if (this.timeExtent = this._timeOperator = null, i && i.timeExtent)
+      if (this._serviceInfo.timeInfo)
+        this.timeExtent = i.timeExtent, this._timeOperator = n(this._serviceInfo.timeInfo, i.timeExtent, u2);
+      else {
+        const s4 = new s2("feature-layer-view:time-filter-not-available", "Unable to apply time filter, as layer doesn't have time metadata.", i.timeExtent);
+        s.getLogger("esri.views.2d.layers.features.controllers.FeatureFilter").error(s4);
+      }
+  }
+  _applyFilter(t3) {
+    return this._filterByGeometry(t3) && this._filterById(t3) && this._filterByTime(t3) && this._filterByExpression(t3);
+  }
+  _filterByExpression(t3) {
+    return !this.where || this._clause(t3);
+  }
+  _filterById(t3) {
+    return (!this._idsToHide || !this._idsToHide.size || !this._idsToHide.has(t3.getObjectId())) && (!this._idsToShow || !this._idsToShow.size || this._idsToShow.has(t3.getObjectId()));
+  }
+  _filterByGeometry(t3) {
+    if (!this.geometry)
+      return true;
+    const e = t3.readHydratedGeometry();
+    return !!e && this._spatialQueryOperator(e);
+  }
+  _filterByTime(t3) {
+    return !!t(this._timeOperator) || this._timeOperator(t3);
+  }
+  _resetAllHiddenIds() {
+    const t3 = [];
+    return this._idToVisibility.forEach((e, i) => {
+      e & m || (this._idToVisibility.set(i, m), t3.push(i));
+    }), t3;
+  }
+};
+export {
+  p as default
+};
+//# sourceMappingURL=FeatureFilter-UHAYMQOD.js.map

+ 0 - 0
node_modules/.vite/deps/FeatureFilter-DOO77BOI.js.map → node_modules/.vite/deps/FeatureFilter-UHAYMQOD.js.map


+ 0 - 141
node_modules/.vite/deps/FeatureLayer-3WEBJCEM.js

@@ -1,141 +0,0 @@
-import {
-  Ze
-} from "./chunk-WM52QDLS.js";
-import "./chunk-MEZ7BUMM.js";
-import "./chunk-7B57NUGF.js";
-import "./chunk-AOQ55JXI.js";
-import "./chunk-X42TFXOU.js";
-import "./chunk-JFSMKLAQ.js";
-import "./chunk-LXOC7SMQ.js";
-import "./chunk-DN6W4TJU.js";
-import "./chunk-OUUXJOLT.js";
-import "./chunk-PLQUCCQV.js";
-import "./chunk-JZAS4TIG.js";
-import "./chunk-VBR5BOXI.js";
-import "./chunk-NBKUI76A.js";
-import "./chunk-6334AFGG.js";
-import "./chunk-NLLFSKB2.js";
-import "./chunk-LC3GBQ56.js";
-import "./chunk-5GYJGY4C.js";
-import "./chunk-OXF7W4BJ.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-S6EFEKAU.js";
-import "./chunk-2RHPWGZL.js";
-import "./chunk-XEQ4FTFC.js";
-import "./chunk-JM5OVQAD.js";
-import "./chunk-S3GK7VUF.js";
-import "./chunk-TU7WVKU4.js";
-import "./chunk-WWXZOC2Y.js";
-import "./chunk-ZOKNWEG3.js";
-import "./chunk-NQA5XJGK.js";
-import "./chunk-EKYSPJO6.js";
-import "./chunk-JAUFBT5U.js";
-import "./chunk-W6U6FKJ3.js";
-import "./chunk-7C2KDOAI.js";
-import "./chunk-RHFU6KWO.js";
-import "./chunk-3FNKD2EB.js";
-import "./chunk-ZOO4I2U4.js";
-import "./chunk-JPUFJK2B.js";
-import "./chunk-HZ2WKB3G.js";
-import "./chunk-3HCJD762.js";
-import "./chunk-RVCE264D.js";
-import "./chunk-HKJ7X3BD.js";
-import "./chunk-Y74D3LKQ.js";
-import "./chunk-PK4W65H4.js";
-import "./chunk-7C23ILQ4.js";
-import "./chunk-P6VVVEX6.js";
-import "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-IEU3AM37.js";
-import "./chunk-SKKBVHTF.js";
-import "./chunk-DLMAGHHC.js";
-import "./chunk-WD4J43GZ.js";
-import "./chunk-JOYXMSKE.js";
-import "./chunk-SZFMKPVM.js";
-import "./chunk-YZVAB3DF.js";
-import "./chunk-JLYTER4T.js";
-import "./chunk-CRHRHOXH.js";
-import "./chunk-ZSW35JPD.js";
-import "./chunk-JLSNMUQJ.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-PT62335L.js";
-import "./chunk-JGBXYDGB.js";
-import "./chunk-QEWF7QPH.js";
-import "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-FNA5GLRW.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TV3CFJQR.js";
-import "./chunk-TJV6ODRM.js";
-import "./chunk-JUWKPBLS.js";
-import "./chunk-WLSB4F4I.js";
-import "./chunk-GLSWDDR3.js";
-import "./chunk-MIQGEDET.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-GN35O2ZO.js";
-import "./chunk-XTVKPAWY.js";
-import "./chunk-3OSQ6GXO.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-PLWDAYK7.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-HWSWTWZD.js";
-import "./chunk-O6VYMEIX.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-2ZSOO377.js";
-import "./chunk-YUA3AHKR.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import "./chunk-DXVOOCG4.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-export {
-  Ze as default
-};
-//# sourceMappingURL=FeatureLayer-3WEBJCEM.js.map

+ 141 - 0
node_modules/.vite/deps/FeatureLayer-PKSF7I4I.js

@@ -0,0 +1,141 @@
+import {
+  Ze
+} from "./chunk-TD4T5KV5.js";
+import "./chunk-JNNIUZVW.js";
+import "./chunk-6SHVYOIM.js";
+import "./chunk-EFTIWDMB.js";
+import "./chunk-E3VV75EL.js";
+import "./chunk-VIUIPJ2T.js";
+import "./chunk-YW3ZWYRO.js";
+import "./chunk-JZGM5PAU.js";
+import "./chunk-7FZX4UI7.js";
+import "./chunk-IR3DRB65.js";
+import "./chunk-7ZZ4CSFO.js";
+import "./chunk-YVKMCAJV.js";
+import "./chunk-FB243F4I.js";
+import "./chunk-DKAJ6NC2.js";
+import "./chunk-6334AFGG.js";
+import "./chunk-WFHIGLUK.js";
+import "./chunk-IFWO6QLG.js";
+import "./chunk-KAB3V7FU.js";
+import "./chunk-SOSOZIX6.js";
+import "./chunk-FM5OVTDI.js";
+import "./chunk-2RHPWGZL.js";
+import "./chunk-24RR2OSE.js";
+import "./chunk-VICJMAP2.js";
+import "./chunk-ESLFDGN5.js";
+import "./chunk-TU7WVKU4.js";
+import "./chunk-DUH52ME3.js";
+import "./chunk-BFKFNCQC.js";
+import "./chunk-3C3WGWKN.js";
+import "./chunk-5AJSBAUF.js";
+import "./chunk-2QIZS77U.js";
+import "./chunk-OJUMXZ6B.js";
+import "./chunk-F62EJT7L.js";
+import "./chunk-JB2527A3.js";
+import "./chunk-XODJHDJQ.js";
+import "./chunk-O2PIYIHJ.js";
+import "./chunk-2BWPQRLB.js";
+import "./chunk-HPD2S4QL.js";
+import "./chunk-C65ZRRQD.js";
+import "./chunk-3HCJD762.js";
+import "./chunk-GR4RKUNH.js";
+import "./chunk-LTQAWUCK.js";
+import "./chunk-W3SLJVWY.js";
+import "./chunk-PK4W65H4.js";
+import "./chunk-KJZ6SS3P.js";
+import "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import "./chunk-SZFMKPVM.js";
+import "./chunk-K6QDYFZU.js";
+import "./chunk-EY2WJSAJ.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-4PNYPUDB.js";
+import "./chunk-RDMCXRET.js";
+import "./chunk-BQHWPTT7.js";
+import "./chunk-ZSW35JPD.js";
+import "./chunk-DAWQAVQO.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import "./chunk-BWATQC2Y.js";
+import "./chunk-2DSTZVND.js";
+import "./chunk-VXKIGGM4.js";
+import "./chunk-KG45D2XL.js";
+import "./chunk-JYRZQPQI.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-UMJCSYX5.js";
+import "./chunk-UA6W42KP.js";
+import "./chunk-3OSQ6GXO.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-2L5METUC.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-HWSWTWZD.js";
+import "./chunk-O6VYMEIX.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-PIFOHNWC.js";
+import "./chunk-LLO7GCYU.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-O43KLDSX.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+export {
+  Ze as default
+};
+//# sourceMappingURL=FeatureLayer-PKSF7I4I.js.map

+ 0 - 0
node_modules/.vite/deps/FeatureLayer-3WEBJCEM.js.map → node_modules/.vite/deps/FeatureLayer-PKSF7I4I.js.map


+ 0 - 912
node_modules/.vite/deps/FeatureLayerSource-7N3BYJYZ.js

@@ -1,912 +0,0 @@
-import {
-  n as n2,
-  s as s3
-} from "./chunk-UEYSTU4P.js";
-import {
-  o as o4
-} from "./chunk-A6WD5XTM.js";
-import "./chunk-OP2HNSVZ.js";
-import {
-  a,
-  a2
-} from "./chunk-BY5BVC57.js";
-import {
-  i
-} from "./chunk-PLQUCCQV.js";
-import {
-  v as v3
-} from "./chunk-JZAS4TIG.js";
-import {
-  c as c3,
-  d
-} from "./chunk-VBR5BOXI.js";
-import {
-  x as x4
-} from "./chunk-NLLFSKB2.js";
-import {
-  f as f3,
-  t as t2,
-  x as x3
-} from "./chunk-ISHZAVNR.js";
-import {
-  r as r2
-} from "./chunk-OXF7W4BJ.js";
-import "./chunk-XJHQZ4NT.js";
-import "./chunk-CFVLY6NB.js";
-import {
-  pt,
-  rt
-} from "./chunk-JKFWEHNK.js";
-import {
-  v as v2
-} from "./chunk-WOXHUQGM.js";
-import {
-  f as f2
-} from "./chunk-FMPQIGFA.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import {
-  o as o3
-} from "./chunk-SAJAEMIJ.js";
-import {
-  g as g2
-} from "./chunk-7C23ILQ4.js";
-import "./chunk-P6VVVEX6.js";
-import "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-DLMAGHHC.js";
-import {
-  K,
-  x as x2
-} from "./chunk-WD4J43GZ.js";
-import "./chunk-JOYXMSKE.js";
-import {
-  g
-} from "./chunk-SZFMKPVM.js";
-import "./chunk-JLYTER4T.js";
-import "./chunk-ZSW35JPD.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-JGBXYDGB.js";
-import "./chunk-QEWF7QPH.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TV3CFJQR.js";
-import {
-  T
-} from "./chunk-VRLXUHP2.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import {
-  c as c2,
-  v
-} from "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import {
-  m as m2
-} from "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import {
-  s as s2
-} from "./chunk-HZRKBTHJ.js";
-import {
-  U
-} from "./chunk-DVUG3KID.js";
-import {
-  o as o2
-} from "./chunk-FWSQEIAR.js";
-import {
-  G,
-  S,
-  j,
-  nt
-} from "./chunk-VEGAOVMY.js";
-import {
-  w2 as w
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import {
-  k2 as k
-} from "./chunk-PQFTYGF5.js";
-import {
-  e,
-  m,
-  n5 as n,
-  y3 as y2
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  x,
-  y
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s3 as s
-} from "./chunk-E5O6P5I2.js";
-import {
-  has,
-  o
-} from "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  c,
-  e as e2,
-  f,
-  r,
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/layers/graphics/assetEditingSupport.js
-var E;
-!function(E3) {
-  E3[E3.PROJECT_VERTICES = 1] = "PROJECT_VERTICES";
-}(E || (E = {}));
-
-// node_modules/@arcgis/core/rest/query/operations/pbfJSONFeatureSet.js
-function n3(e3, t3) {
-  return t3;
-}
-function a3(e3, t3, r4, s8) {
-  switch (r4) {
-    case 0:
-      return c4(e3, t3 + s8, 0);
-    case 1:
-      return "lowerLeft" === e3.originPosition ? c4(e3, t3 + s8, 1) : l(e3, t3 + s8, 1);
-  }
-}
-function h(e3, t3, r4, s8) {
-  return 2 === r4 ? c4(e3, t3, 2) : a3(e3, t3, r4, s8);
-}
-function u(e3, t3, r4, s8) {
-  return 2 === r4 ? c4(e3, t3, 3) : a3(e3, t3, r4, s8);
-}
-function d2(e3, t3, r4, s8) {
-  return 3 === r4 ? c4(e3, t3, 3) : h(e3, t3, r4, s8);
-}
-function c4({ translate: e3, scale: t3 }, r4, s8) {
-  return e3[s8] + r4 * t3[s8];
-}
-function l({ translate: e3, scale: t3 }, r4, s8) {
-  return e3[s8] - r4 * t3[s8];
-}
-var f4 = class {
-  constructor(e3) {
-    this._options = e3, this.geometryTypes = ["esriGeometryPoint", "esriGeometryMultipoint", "esriGeometryPolyline", "esriGeometryPolygon"], this._previousCoordinate = [0, 0], this._transform = null, this._applyTransform = n3, this._lengths = [], this._currentLengthIndex = 0, this._toAddInCurrentPath = 0, this._vertexDimension = 0, this._coordinateBuffer = null, this._coordinateBufferPtr = 0, this._attributesConstructor = class {
-    };
-  }
-  createFeatureResult() {
-    return { fields: [], features: [] };
-  }
-  finishFeatureResult(t3) {
-    if (this._options.applyTransform && (t3.transform = null), this._attributesConstructor = class {
-    }, this._coordinateBuffer = null, this._lengths.length = 0, !t3.hasZ)
-      return;
-    const r4 = o3(t3.geometryType, this._options.sourceSpatialReference, t3.spatialReference);
-    if (!t(r4))
-      for (const e3 of t3.features)
-        r4(e3.geometry);
-  }
-  createSpatialReference() {
-    return {};
-  }
-  addField(e3, r4) {
-    const s8 = e3.fields;
-    c(s8), s8.push(r4);
-    const o6 = s8.map((e4) => e4.name);
-    this._attributesConstructor = function() {
-      for (const e4 of o6)
-        this[e4] = null;
-    };
-  }
-  addFeature(e3, t3) {
-    e3.features.push(t3);
-  }
-  prepareFeatures(e3) {
-    switch (this._transform = e3.transform, this._options.applyTransform && e3.transform && (this._applyTransform = this._deriveApplyTransform(e3)), this._vertexDimension = 2, e3.hasZ && this._vertexDimension++, e3.hasM && this._vertexDimension++, e3.geometryType) {
-      case "esriGeometryPoint":
-        this.addCoordinate = (e4, t3, r4) => this.addCoordinatePoint(e4, t3, r4), this.createGeometry = (e4) => this.createPointGeometry(e4);
-        break;
-      case "esriGeometryPolygon":
-        this.addCoordinate = (e4, t3, r4) => this._addCoordinatePolygon(e4, t3, r4), this.createGeometry = (e4) => this._createPolygonGeometry(e4);
-        break;
-      case "esriGeometryPolyline":
-        this.addCoordinate = (e4, t3, r4) => this._addCoordinatePolyline(e4, t3, r4), this.createGeometry = (e4) => this._createPolylineGeometry(e4);
-        break;
-      case "esriGeometryMultipoint":
-        this.addCoordinate = (e4, t3, r4) => this._addCoordinateMultipoint(e4, t3, r4), this.createGeometry = (e4) => this._createMultipointGeometry(e4);
-    }
-  }
-  createFeature() {
-    return this._lengths.length = 0, this._currentLengthIndex = 0, this._previousCoordinate[0] = 0, this._previousCoordinate[1] = 0, this._coordinateBuffer = null, this._coordinateBufferPtr = 0, { attributes: new this._attributesConstructor() };
-  }
-  allocateCoordinates() {
-  }
-  addLength(e3, t3, r4) {
-    0 === this._lengths.length && (this._toAddInCurrentPath = t3), this._lengths.push(t3);
-  }
-  addQueryGeometry(e3, t3) {
-    const { queryGeometry: r4, queryGeometryType: s8 } = t3, n8 = pt(r4.clone(), r4, false, false, this._transform), a7 = rt(n8, s8, false, false);
-    e3.queryGeometryType = s8, e3.queryGeometry = { ...a7 };
-  }
-  createPointGeometry(e3) {
-    const t3 = { x: 0, y: 0, spatialReference: e3.spatialReference };
-    return e3.hasZ && (t3.z = 0), e3.hasM && (t3.m = 0), t3;
-  }
-  addCoordinatePoint(e3, t3, s8) {
-    const o6 = f(this._transform, "transform");
-    switch (t3 = this._applyTransform(o6, t3, s8, 0), s8) {
-      case 0:
-        e3.x = t3;
-        break;
-      case 1:
-        e3.y = t3;
-        break;
-      case 2:
-        "z" in e3 ? e3.z = t3 : e3.m = t3;
-        break;
-      case 3:
-        e3.m = t3;
-    }
-  }
-  _transformPathLikeValue(e3, t3) {
-    let s8 = 0;
-    t3 <= 1 && (s8 = this._previousCoordinate[t3], this._previousCoordinate[t3] += e3);
-    const o6 = f(this._transform, "transform");
-    return this._applyTransform(o6, e3, t3, s8);
-  }
-  _addCoordinatePolyline(e3, t3, r4) {
-    this._dehydratedAddPointsCoordinate(e3.paths, t3, r4);
-  }
-  _addCoordinatePolygon(e3, t3, r4) {
-    this._dehydratedAddPointsCoordinate(e3.rings, t3, r4);
-  }
-  _addCoordinateMultipoint(e3, t3, r4) {
-    0 === r4 && e3.points.push([]);
-    const s8 = this._transformPathLikeValue(t3, r4);
-    e3.points[e3.points.length - 1].push(s8);
-  }
-  _createPolygonGeometry(e3) {
-    return { rings: [[]], spatialReference: e3.spatialReference, hasZ: !!e3.hasZ, hasM: !!e3.hasM };
-  }
-  _createPolylineGeometry(e3) {
-    return { paths: [[]], spatialReference: e3.spatialReference, hasZ: !!e3.hasZ, hasM: !!e3.hasM };
-  }
-  _createMultipointGeometry(e3) {
-    return { points: [], spatialReference: e3.spatialReference, hasZ: !!e3.hasZ, hasM: !!e3.hasM };
-  }
-  _dehydratedAddPointsCoordinate(e3, t3, r4) {
-    0 === r4 && 0 == this._toAddInCurrentPath-- && (e3.push([]), this._toAddInCurrentPath = this._lengths[++this._currentLengthIndex] - 1, this._previousCoordinate[0] = 0, this._previousCoordinate[1] = 0);
-    const s8 = this._transformPathLikeValue(t3, r4), o6 = e3[e3.length - 1];
-    0 === r4 && (this._coordinateBufferPtr = 0, this._coordinateBuffer = new Array(this._vertexDimension), o6.push(this._coordinateBuffer)), this._coordinateBuffer[this._coordinateBufferPtr++] = s8;
-  }
-  _deriveApplyTransform(e3) {
-    const { hasZ: t3, hasM: r4 } = e3;
-    return t3 && r4 ? d2 : t3 ? h : r4 ? u : a3;
-  }
-};
-
-// node_modules/@arcgis/core/rest/query/executeQueryPBF.js
-async function n4(o6, s8, n8) {
-  const p3 = f2(o6), i3 = { ...n8 }, u3 = x2.from(s8), m6 = !u3.quantizationParameters, { data: f5 } = await f3(p3, u3, new f4({ sourceSpatialReference: u3.sourceSpatialReference, applyTransform: m6 }), i3);
-  return f5;
-}
-
-// node_modules/@arcgis/core/rest/query/operations/queryAttachments.js
-function n5(t3) {
-  const o6 = t3.toJSON();
-  return o6.attachmentTypes && (o6.attachmentTypes = o6.attachmentTypes.join(",")), o6.keywords && (o6.keywords = o6.keywords.join(",")), o6.globalIds && (o6.globalIds = o6.globalIds.join(",")), o6.objectIds && (o6.objectIds = o6.objectIds.join(",")), o6.size && (o6.size = o6.size.join(",")), o6;
-}
-function a4(o6, r4) {
-  const n8 = {};
-  for (const a7 of o6) {
-    const { parentObjectId: o7, parentGlobalId: c7, attachmentInfos: i3 } = a7;
-    for (const a8 of i3) {
-      const { id: i4 } = a8, m6 = S(o2(`${r4}/${o7}/attachments/${i4}`)), p3 = a2.fromJSON(a8);
-      p3.set({ url: m6, parentObjectId: o7, parentGlobalId: c7 }), n8[o7] ? n8[o7].push(p3) : n8[o7] = [p3];
-    }
-  }
-  return n8;
-}
-function c5(t3, e3, s8) {
-  let a7 = { query: t2({ ...t3.query, f: "json", ...n5(e3) }) };
-  return s8 && (a7 = { ...s8, ...a7, query: { ...s8.query, ...a7.query } }), U(t3.path + "/queryAttachments", a7);
-}
-
-// node_modules/@arcgis/core/rest/query/executeAttachmentQuery.js
-async function a5(a7, m6, n8) {
-  const s8 = f2(a7);
-  return c5(s8, c3.from(m6), { ...n8 }).then((t3) => a4(t3.data.attachmentGroups, s8.path));
-}
-
-// node_modules/@arcgis/core/rest/query/executeForExtent.js
-async function m3(m6, n8, s8) {
-  const p3 = f2(m6);
-  return x3(p3, x2.from(n8), { ...s8 }).then((t3) => ({ count: t3.data.count, extent: w.fromJSON(t3.data.extent) }));
-}
-
-// node_modules/@arcgis/core/rest/query/operations/queryRelatedRecords.js
-function o5(e3, t3) {
-  const o6 = e3.toJSON();
-  return o6.objectIds && (o6.objectIds = o6.objectIds.join(",")), o6.orderByFields && (o6.orderByFields = o6.orderByFields.join(",")), o6.outFields && !(t3 == null ? void 0 : t3.returnCountOnly) ? o6.outFields.includes("*") ? o6.outFields = "*" : o6.outFields = o6.outFields.join(",") : delete o6.outFields, o6.outSpatialReference && (o6.outSR = o6.outSR.wkid || JSON.stringify(o6.outSR.toJSON()), delete o6.outSpatialReference), o6.dynamicDataSource && (o6.layer = JSON.stringify({ source: o6.dynamicDataSource }), delete o6.dynamicDataSource), o6;
-}
-async function r3(e3, t3, o6) {
-  const r4 = await s4(e3, t3, o6), n8 = r4.data, a7 = n8.geometryType, d4 = n8.spatialReference, c7 = {};
-  for (const s8 of n8.relatedRecordGroups) {
-    const e4 = { fields: void 0, objectIdFieldName: void 0, geometryType: a7, spatialReference: d4, hasZ: !!n8.hasZ, hasM: !!n8.hasM, features: s8.relatedRecords };
-    if (null != s8.objectId)
-      c7[s8.objectId] = e4;
-    else
-      for (const t4 in s8)
-        s8.hasOwnProperty(t4) && "relatedRecords" !== t4 && (c7[s8[t4]] = e4);
-  }
-  return { ...r4, data: c7 };
-}
-async function n6(e3, t3, o6) {
-  const r4 = await s4(e3, t3, o6, { returnCountOnly: true }), n8 = r4.data, a7 = {};
-  for (const s8 of n8.relatedRecordGroups)
-    null != s8.objectId && (a7[s8.objectId] = s8.count);
-  return { ...r4, data: a7 };
-}
-async function s4(r4, n8, s8 = {}, a7) {
-  const d4 = t2({ ...r4.query, f: "json", ...a7, ...o5(n8, a7) });
-  return U(r4.path + "/queryRelatedRecords", { ...s8, query: { ...s8.query, ...d4 } });
-}
-
-// node_modules/@arcgis/core/rest/query/executeRelationshipQuery.js
-async function n7(e3, n8, u3) {
-  n8 = d.from(n8);
-  const a7 = f2(e3);
-  return r3(a7, n8, u3).then((t3) => {
-    const r4 = t3.data, e4 = {};
-    return Object.keys(r4).forEach((t4) => e4[t4] = x4.fromJSON(r4[t4])), e4;
-  });
-}
-async function u2(r4, o6, n8) {
-  o6 = d.from(o6);
-  const u3 = f2(r4);
-  return n6(u3, o6, { ...n8 }).then((t3) => t3.data);
-}
-
-// node_modules/@arcgis/core/rest/query/operations/queryTopFeatures.js
-var l2 = "Layer does not support extent calculation.";
-function y3(t3, r4) {
-  var _a, _b;
-  const o6 = t3.geometry, i3 = t3.toJSON(), s8 = i3;
-  if (r(o6) && (s8.geometry = JSON.stringify(o6), s8.geometryType = c2(o6), s8.inSR = o6.spatialReference.wkid || JSON.stringify(o6.spatialReference)), ((_a = i3.topFilter) == null ? void 0 : _a.groupByFields) && (s8.topFilter.groupByFields = i3.topFilter.groupByFields.join(",")), ((_b = i3.topFilter) == null ? void 0 : _b.orderByFields) && (s8.topFilter.orderByFields = i3.topFilter.orderByFields.join(",")), i3.topFilter && (s8.topFilter = JSON.stringify(s8.topFilter)), i3.objectIds && (s8.objectIds = i3.objectIds.join(",")), i3.orderByFields && (s8.orderByFields = i3.orderByFields.join(",")), i3.outFields && !((r4 == null ? void 0 : r4.returnCountOnly) || (r4 == null ? void 0 : r4.returnExtentOnly) || (r4 == null ? void 0 : r4.returnIdsOnly)) ? i3.outFields.includes("*") ? s8.outFields = "*" : s8.outFields = i3.outFields.join(",") : delete s8.outFields, i3.outSR ? s8.outSR = i3.outSR.wkid || JSON.stringify(i3.outSR) : o6 && i3.returnGeometry && (s8.outSR = s8.inSR), i3.returnGeometry && delete i3.returnGeometry, i3.timeExtent) {
-    const t4 = i3.timeExtent, { start: e3, end: r5 } = t4;
-    null == e3 && null == r5 || (s8.time = e3 === r5 ? e3 : `${e3 != null ? e3 : "null"},${r5 != null ? r5 : "null"}`), delete i3.timeExtent;
-  }
-  return s8;
-}
-async function d3(t3, e3, r4, o6) {
-  const n8 = await c6(t3, e3, "json", o6);
-  return r2(e3, r4, n8.data), n8;
-}
-async function m4(t3, r4, o6) {
-  return r(r4.timeExtent) && r4.timeExtent.isEmpty ? { data: { objectIds: [] } } : c6(t3, r4, "json", o6, { returnIdsOnly: true });
-}
-async function p(t3, r4, o6) {
-  return r(r4.timeExtent) && r4.timeExtent.isEmpty ? { data: { count: 0, extent: null } } : c6(t3, r4, "json", o6, { returnExtentOnly: true, returnCountOnly: true }).then((t4) => {
-    const e3 = t4.data;
-    if (e3.hasOwnProperty("extent"))
-      return t4;
-    if (e3.features)
-      throw new Error(l2);
-    if (e3.hasOwnProperty("count"))
-      throw new Error(l2);
-    return t4;
-  });
-}
-function a6(t3, r4, o6) {
-  return r(r4.timeExtent) && r4.timeExtent.isEmpty ? Promise.resolve({ data: { count: 0 } }) : c6(t3, r4, "json", o6, { returnIdsOnly: true, returnCountOnly: true });
-}
-function c6(n8, u3, l3, d4 = {}, m6 = {}) {
-  const p3 = "string" == typeof n8 ? j(n8) : n8, a7 = u3.geometry ? [u3.geometry] : [];
-  return d4.responseType = "pbf" === l3 ? "array-buffer" : "json", v2(a7, null, d4).then((r4) => {
-    const n9 = r4 && r4[0];
-    r(n9) && ((u3 = u3.clone()).geometry = n9);
-    const i3 = t2({ ...p3.query, f: l3, ...m6, ...y3(u3, m6) });
-    return U(G(p3.path, "queryTopFeatures"), { ...d4, query: { ...i3, ...d4.query } });
-  });
-}
-
-// node_modules/@arcgis/core/rest/query/executeTopFeaturesQuery.js
-async function s5(s8, p3, u3, a7) {
-  const m6 = f2(s8), i3 = { ...a7 }, { data: f5 } = await d3(m6, v3.from(p3), u3, i3);
-  return x4.fromJSON(f5);
-}
-
-// node_modules/@arcgis/core/rest/query/executeForTopIds.js
-async function s6(s8, e3, p3) {
-  const a7 = f2(s8);
-  return (await m4(a7, v3.from(e3), { ...p3 })).data.objectIds;
-}
-
-// node_modules/@arcgis/core/rest/query/executeForTopExtents.js
-async function m5(m6, s8, n8) {
-  const p3 = f2(m6), a7 = await p(p3, v3.from(s8), { ...n8 });
-  return { count: a7.data.count, extent: w.fromJSON(a7.data.extent) };
-}
-
-// node_modules/@arcgis/core/rest/query/executeForTopCount.js
-async function s7(s8, e3, p3) {
-  const u3 = f2(s8);
-  return (await a6(u3, v3.from(e3), { ...p3 })).data.count;
-}
-
-// node_modules/@arcgis/core/tasks/Task.js
-var i2 = class extends m {
-  constructor(...r4) {
-    super(...r4), this.requestOptions = null, this.url = null;
-  }
-  normalizeCtorArgs(r4, s8) {
-    return "string" != typeof r4 ? r4 : { url: r4, ...s8 };
-  }
-  get parsedUrl() {
-    return this._parseUrl(this.url);
-  }
-  _parseUrl(r4) {
-    return j(r4);
-  }
-  _encode(r4, s8, t3) {
-    const e3 = {};
-    for (const o6 in r4) {
-      if ("declaredClass" === o6)
-        continue;
-      const i3 = r4[o6];
-      if (null != i3 && "function" != typeof i3)
-        if (Array.isArray(i3)) {
-          e3[o6] = [];
-          for (let r5 = 0; r5 < i3.length; r5++)
-            e3[o6][r5] = this._encode(i3[r5]);
-        } else if ("object" == typeof i3)
-          if (i3.toJSON) {
-            const r5 = i3.toJSON(t3 && t3[o6]);
-            e3[o6] = s8 ? r5 : JSON.stringify(r5);
-          } else
-            e3[o6] = s8 ? i3 : JSON.stringify(i3);
-        else
-          e3[o6] = i3;
-    }
-    return e3;
-  }
-};
-e([y2({ readOnly: true })], i2.prototype, "parsedUrl", null), e([y2()], i2.prototype, "requestOptions", void 0), e([y2({ type: String })], i2.prototype, "url", void 0), i2 = e([n("esri.tasks.Task")], i2);
-var p2 = i2;
-
-// node_modules/@arcgis/core/layers/graphics/sources/support/QueryTask.js
-var q = class extends p2 {
-  constructor(t3) {
-    super(t3), this.dynamicDataSource = null, this.fieldsIndex = null, this.format = "json", this.gdbVersion = null, this.infoFor3D = null, this.sourceSpatialReference = null;
-  }
-  async execute(t3, e3) {
-    const r4 = await this.executeJSON(t3, e3);
-    return this.featureSetFromJSON(t3, r4, e3);
-  }
-  async executeJSON(t3, e3) {
-    var _a;
-    const r4 = { ...this.requestOptions, ...e3 }, o6 = this._normalizeQuery(t3), s8 = null != ((_a = t3.outStatistics) == null ? void 0 : _a[0]), i3 = has("featurelayer-pbf-statistics"), u3 = !s8 || i3;
-    let n8;
-    if ("pbf" === this.format && u3)
-      try {
-        n8 = await n4(this.url, o6, r4);
-      } catch (p3) {
-        if ("query:parsing-pbf" !== p3.name)
-          throw p3;
-        this.format = "json";
-      }
-    return "json" !== this.format && u3 || (n8 = await a(this.url, o6, r4)), this._normalizeFields(n8.fields), n8;
-  }
-  async featureSetFromJSON(t3, e3, o6) {
-    if (!this._queryIs3DObjectFormat(t3) || t(this.infoFor3D) || !e3.assetMaps || !e3.features || !e3.features.length)
-      return x4.fromJSON(e3);
-    const { meshFeatureSetFromJSON: i3 } = await y(import("./meshFeatureSet-4HLNQKAX.js"), o6);
-    return i3(t3, this.infoFor3D, e3);
-  }
-  executeForCount(t3, e3) {
-    const r4 = { ...this.requestOptions, ...e3 }, o6 = this._normalizeQuery(t3);
-    return n2(this.url, o6, r4);
-  }
-  executeForExtent(t3, e3) {
-    const r4 = { ...this.requestOptions, ...e3 }, o6 = this._normalizeQuery(t3);
-    return m3(this.url, o6, r4);
-  }
-  executeForIds(t3, e3) {
-    const r4 = { ...this.requestOptions, ...e3 }, o6 = this._normalizeQuery(t3);
-    return s3(this.url, o6, r4);
-  }
-  executeRelationshipQuery(t3, e3) {
-    t3 = d.from(t3);
-    const r4 = { ...this.requestOptions, ...e3 };
-    return (this.gdbVersion || this.dynamicDataSource) && ((t3 = t3.clone()).gdbVersion = t3.gdbVersion || this.gdbVersion, t3.dynamicDataSource = t3.dynamicDataSource || this.dynamicDataSource), n7(this.url, t3, r4);
-  }
-  executeRelationshipQueryForCount(t3, e3) {
-    t3 = d.from(t3);
-    const r4 = { ...this.requestOptions, ...e3 };
-    return (this.gdbVersion || this.dynamicDataSource) && ((t3 = t3.clone()).gdbVersion = t3.gdbVersion || this.gdbVersion, t3.dynamicDataSource = t3.dynamicDataSource || this.dynamicDataSource), u2(this.url, t3, r4);
-  }
-  executeAttachmentQuery(t3, e3) {
-    const r4 = { ...this.requestOptions, ...e3 };
-    return a5(this.url, t3, r4);
-  }
-  executeTopFeaturesQuery(t3, e3) {
-    const r4 = { ...this.requestOptions, ...e3 };
-    return s5(this.parsedUrl, t3, this.sourceSpatialReference, r4);
-  }
-  executeForTopIds(t3, e3) {
-    const r4 = { ...this.requestOptions, ...e3 };
-    return s6(this.parsedUrl, t3, r4);
-  }
-  executeForTopExtents(t3, e3) {
-    const r4 = { ...this.requestOptions, ...e3 };
-    return m5(this.parsedUrl, t3, r4);
-  }
-  executeForTopCount(t3, e3) {
-    const r4 = { ...this.requestOptions, ...e3 };
-    return s7(this.parsedUrl, t3, r4);
-  }
-  _normalizeQuery(t3) {
-    let s8 = x2.from(t3);
-    if (s8.sourceSpatialReference = s8.sourceSpatialReference || this.sourceSpatialReference, (this.gdbVersion || this.dynamicDataSource) && (s8 = s8 === t3 ? s8.clone() : s8, s8.gdbVersion = t3.gdbVersion || this.gdbVersion, s8.dynamicDataSource = t3.dynamicDataSource ? K.from(t3.dynamicDataSource) : this.dynamicDataSource), r(this.infoFor3D) && this._queryIs3DObjectFormat(t3)) {
-      s8 = s8 === t3 ? s8.clone() : s8, s8.formatOf3DObjects = null;
-      for (const t4 of this.infoFor3D.queryFormats) {
-        if ("3D_glb" === t4) {
-          s8.formatOf3DObjects = t4;
-          break;
-        }
-        "3D_gltf" !== t4 || s8.formatOf3DObjects || (s8.formatOf3DObjects = t4);
-      }
-      if (!s8.formatOf3DObjects)
-        throw new s("query:unsupported-3d-query-formats", "Could not find any supported 3D object query format. Only supported formats are 3D_glb and 3D_gltf");
-      if (t(s8.outFields) || !s8.outFields.includes("*")) {
-        s8 = s8 === t3 ? s8.clone() : s8, t(s8.outFields) && (s8.outFields = []);
-        const { originX: e3, originY: o6, originZ: i3, translationX: u3, translationY: n8, translationZ: a7, scaleX: c7, scaleY: p3, scaleZ: m6, rotationX: f5, rotationY: l3, rotationZ: h2, rotationDeg: d4 } = this.infoFor3D.transformFieldRoles;
-        s8.outFields.push(e3, o6, i3, u3, n8, a7, c7, p3, m6, f5, l3, h2, d4);
-      }
-    }
-    return s8;
-  }
-  _normalizeFields(t3) {
-    if (r(this.fieldsIndex) && r(t3))
-      for (const e3 of t3) {
-        const t4 = this.fieldsIndex.get(e3.name);
-        t4 && Object.assign(e3, t4.toJSON());
-      }
-  }
-  _queryIs3DObjectFormat(t3) {
-    return r(this.infoFor3D) && t3.returnGeometry && "xyFootprint" !== t3.multipatchOption && !t3.outStatistics;
-  }
-};
-e([y2({ type: K })], q.prototype, "dynamicDataSource", void 0), e([y2()], q.prototype, "fieldsIndex", void 0), e([y2()], q.prototype, "format", void 0), e([y2()], q.prototype, "gdbVersion", void 0), e([y2()], q.prototype, "infoFor3D", void 0), e([y2()], q.prototype, "sourceSpatialReference", void 0), q = e([n("esri.tasks.QueryTask")], q);
-var g3 = q;
-
-// node_modules/@arcgis/core/layers/graphics/sources/FeatureLayerSource.js
-var O = new s2({ originalAndCurrentFeatures: "original-and-current-features", none: "none" });
-async function E2(e3) {
-  if ("string" == typeof e3) {
-    const t3 = nt(e3);
-    return t3 || { data: e3 };
-  }
-  return new Promise((t3, s8) => {
-    const a7 = new FileReader();
-    a7.readAsDataURL(e3), a7.onload = () => t3(nt(a7.result)), a7.onerror = (e4) => s8(e4);
-  });
-}
-var S2 = /* @__PURE__ */ new Set(["Feature Layer", "Table"]);
-var j2 = new s2({ Started: "published", Publishing: "publishing", Stopped: "unavailable" });
-var T2 = class extends m2 {
-  constructor() {
-    super(...arguments), this.type = "feature-layer", this.refresh = x(async () => {
-      var _a, _b;
-      await this.load();
-      const e3 = (_a = this.sourceJSON.editingInfo) == null ? void 0 : _a.lastEditDate;
-      if (null == e3)
-        return { dataChanged: true, updates: {} };
-      try {
-        await this._fetchService(null);
-      } catch {
-        return { dataChanged: true, updates: {} };
-      }
-      const t3 = e3 !== ((_b = this.sourceJSON.editingInfo) == null ? void 0 : _b.lastEditDate);
-      return { dataChanged: t3, updates: t3 ? { editingInfo: this.sourceJSON.editingInfo, extent: this.sourceJSON.extent } : null };
-    });
-  }
-  load(e3) {
-    const t3 = r(e3) ? e3.signal : null;
-    return this.addResolvingPromise(this._fetchService(this.layer.sourceJSON, t3)), Promise.resolve(this);
-  }
-  get queryTask() {
-    const { capabilities: { query: { supportsFormatPBF: e3 } }, parsedUrl: t3, dynamicDataSource: s8, infoFor3D: a7, gdbVersion: r4, spatialReference: o6, fieldsIndex: i3 } = this.layer, n8 = has("featurelayer-pbf") && e3 && t(a7) ? "pbf" : "json";
-    return new g3({ url: t3.path, format: n8, fieldsIndex: i3, infoFor3D: a7, dynamicDataSource: s8, gdbVersion: r4, sourceSpatialReference: o6 });
-  }
-  async addAttachment(e3, t3) {
-    await this.load();
-    const a7 = e3.attributes[this.layer.objectIdField], r4 = this.layer.parsedUrl.path + "/" + a7 + "/addAttachment", o6 = this._getLayerRequestOptions(), i3 = this._getFormDataForAttachment(t3, o6.query);
-    try {
-      const e4 = await U(r4, { body: i3 });
-      return this._createFeatureEditResult(e4.data.addAttachmentResult);
-    } catch (n8) {
-      throw this._createAttachmentErrorResult(a7, n8);
-    }
-  }
-  async updateAttachment(e3, t3, a7) {
-    await this.load();
-    const r4 = e3.attributes[this.layer.objectIdField], o6 = this.layer.parsedUrl.path + "/" + r4 + "/updateAttachment", i3 = this._getLayerRequestOptions({ query: { attachmentId: t3 } }), n8 = this._getFormDataForAttachment(a7, i3.query);
-    try {
-      const e4 = await U(o6, { body: n8 });
-      return this._createFeatureEditResult(e4.data.updateAttachmentResult);
-    } catch (u3) {
-      throw this._createAttachmentErrorResult(r4, u3);
-    }
-  }
-  async applyEdits(e3, t3) {
-    await this.load();
-    const a7 = this.layer.infoFor3D, r4 = r(a7), o6 = r4 || (t3 == null ? void 0 : t3.globalIdUsed), i3 = e3.addFeatures.map((e4) => this._serializeFeature(e4, a7)), u3 = e3.updateFeatures.map((e4) => this._serializeFeature(e4, a7)), d4 = this._getFeatureIds(e3.deleteFeatures, o6);
-    i(i3, u3, this.layer.spatialReference);
-    const c7 = [], p3 = [], h2 = [...e3.deleteAttachments];
-    for (const s8 of e3.addAttachments)
-      c7.push(await this._serializeAttachment(s8));
-    for (const s8 of e3.updateAttachments)
-      p3.push(await this._serializeAttachment(s8));
-    const y4 = c7.length || p3.length || h2.length ? { adds: c7, updates: p3, deletes: h2 } : null;
-    let m6, f5 = null;
-    if (r4) {
-      f5 = /* @__PURE__ */ new Map();
-      const t4 = [];
-      for (const a8 of e3.addAssets)
-        t4.push(this._serializeAssetMapEditAndUploadAssets(a8, f5));
-      const s8 = await Promise.all(t4);
-      m6 = s8.length ? { adds: s8, updates: [], deletes: [] } : void 0;
-    }
-    const g4 = { gdbVersion: (t3 == null ? void 0 : t3.gdbVersion) || this.layer.gdbVersion, rollbackOnFailure: t3 == null ? void 0 : t3.rollbackOnFailureEnabled, useGlobalIds: o6, returnEditMoment: t3 == null ? void 0 : t3.returnEditMoment, usePreviousEditMoment: t3 == null ? void 0 : t3.usePreviousEditMoment, sessionId: t3 == null ? void 0 : t3.sessionId };
-    (t3 == null ? void 0 : t3.returnServiceEditsOption) ? (g4.edits = JSON.stringify([{ id: this.layer.layerId, adds: i3, updates: u3, deletes: d4, attachments: y4, assetMaps: e2(m6) }]), g4.returnServiceEditsOption = O.toJSON(t3 == null ? void 0 : t3.returnServiceEditsOption), g4.returnServiceEditsInSourceSR = t3 == null ? void 0 : t3.returnServiceEditsInSourceSR) : (g4.adds = i3.length ? JSON.stringify(i3) : null, g4.updates = u3.length ? JSON.stringify(u3) : null, g4.deletes = d4.length ? o6 ? JSON.stringify(d4) : d4.join(",") : null, g4.attachments = y4 && JSON.stringify(y4), g4.assetMaps = r(m6) ? JSON.stringify(m6) : void 0);
-    const R = this._getLayerRequestOptions({ method: "post", query: g4 }), F = (t3 == null ? void 0 : t3.returnServiceEditsOption) ? this.layer.url : this.layer.parsedUrl.path, b = await U(F + "/applyEdits", R);
-    if (r4 && null != b.data && null != b.data.assetMaps) {
-      const e4 = b.data, t4 = this.layer.objectIdField, a8 = [];
-      for (const s8 of e4.addResults)
-        s8.success && a8.push(s8.objectId);
-      for (const s8 of e4.updateResults)
-        s8.success && a8.push(s8.objectId);
-      const r5 = this._createRequestQueryOptions(), o7 = await U(F + "/query", { ...r5, query: { f: "json", formatOf3DObjects: "3D_glb", where: `OBJECTID IN (${a8.join(",")})`, outFields: `${t4}` } });
-      if (o7 && o7.data && o7.data.assetMaps && r(f5)) {
-        const e5 = o7.data.assetMaps;
-        for (const t5 of e5) {
-          const e6 = f5.get(t5.parentGlobalId).geometry;
-          r(e6) && "mesh" === e6.type && e6.updateExternalSource({ source: [{ name: t5.assetName, source: t5.assetName }], extent: e6.extent });
-        }
-      }
-    }
-    return this._createEditsResult(b);
-  }
-  async deleteAttachments(e3, t3) {
-    await this.load();
-    const a7 = e3.attributes[this.layer.objectIdField], r4 = this.layer.parsedUrl.path + "/" + a7 + "/deleteAttachments";
-    try {
-      return (await U(r4, this._getLayerRequestOptions({ query: { attachmentIds: t3.join(",") }, method: "post" }))).data.deleteAttachmentResults.map(this._createFeatureEditResult);
-    } catch (o6) {
-      throw this._createAttachmentErrorResult(a7, o6);
-    }
-  }
-  fetchRecomputedExtents(e3 = {}) {
-    const t3 = e3.signal;
-    return this.load({ signal: t3 }).then(async () => {
-      const t4 = this._getLayerRequestOptions({ ...e3, query: { returnUpdates: true } }), { layerId: r4, url: o6 } = this.layer, { data: i3 } = await U(`${o6}/${r4}`, t4), { id: n8, extent: u3, fullExtent: l3, timeExtent: d4 } = i3, c7 = u3 || l3;
-      return { id: n8, fullExtent: c7 && w.fromJSON(c7), timeExtent: d4 && T.fromJSON({ start: d4[0], end: d4[1] }) };
-    });
-  }
-  async queryAttachments(e3, t3 = {}) {
-    const { parsedUrl: a7 } = this.layer, r4 = a7.path;
-    await this.load();
-    const o6 = this._getLayerRequestOptions(t3);
-    if (!this.layer.get("capabilities.operations.supportsQueryAttachments")) {
-      const { objectIds: t4 } = e3, a8 = [];
-      for (const e4 of t4) {
-        const t5 = r4 + "/" + e4 + "/attachments";
-        a8.push(U(t5, o6));
-      }
-      return Promise.all(a8).then((e4) => t4.map((t5, s8) => ({ parentObjectId: t5, attachmentInfos: e4[s8].data.attachmentInfos }))).then((e4) => a4(e4, r4));
-    }
-    return this.queryTask.executeAttachmentQuery(e3, o6);
-  }
-  async queryFeatures(e3, t3) {
-    return await this.load(), this.queryTask.execute(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryFeaturesJSON(e3, t3) {
-    return await this.load(), this.queryTask.executeJSON(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryObjectIds(e3, t3) {
-    return await this.load(), this.queryTask.executeForIds(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryFeatureCount(e3, t3) {
-    return await this.load(), this.queryTask.executeForCount(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryExtent(e3, t3) {
-    return await this.load(), this.queryTask.executeForExtent(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryRelatedFeatures(e3, t3) {
-    return await this.load(), this.queryTask.executeRelationshipQuery(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryRelatedFeaturesCount(e3, t3) {
-    return await this.load(), this.queryTask.executeRelationshipQueryForCount(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryTopFeatures(e3, t3) {
-    return await this.load(), this.queryTask.executeTopFeaturesQuery(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryTopObjectIds(e3, t3) {
-    return await this.load(), this.queryTask.executeForTopIds(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryTopExtents(e3, t3) {
-    return await this.load(), this.queryTask.executeForTopExtents(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async queryTopCount(e3, t3) {
-    return await this.load(), this.queryTask.executeForTopCount(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
-  }
-  async fetchPublishingStatus() {
-    if (!g(this.layer.url))
-      return "unavailable";
-    const e3 = G(this.layer.url, "status"), t3 = await U(e3, { query: { f: "json" } });
-    return j2.fromJSON(t3.data.status);
-  }
-  _createRequestQueryOptions(e3) {
-    const t3 = { ...this.layer.customParameters, token: this.layer.apiKey, ...e3 == null ? void 0 : e3.query };
-    return this.layer.datesInUnknownTimezone && (t3.timeReferenceUnknownClient = true), t3;
-  }
-  async _fetchService(e3, t3) {
-    if (!e3) {
-      const { data: a8 } = await U(this.layer.parsedUrl.path, this._getLayerRequestOptions({ query: has("featurelayer-advanced-symbols") ? { returnAdvancedSymbols: true } : {}, signal: t3 }));
-      e3 = a8;
-    }
-    this.sourceJSON = this._patchServiceJSON(e3);
-    const a7 = e3.type;
-    if (!S2.has(a7))
-      throw new s("feature-layer-source:unsupported-type", `Source type "${a7}" is not supported`);
-  }
-  _patchServiceJSON(e3) {
-    var _a;
-    if ("Table" !== e3.type && e3.geometryType && !((_a = e3 == null ? void 0 : e3.drawingInfo) == null ? void 0 : _a.renderer) && !e3.defaultSymbol) {
-      const t3 = o4(e3.geometryType).renderer;
-      o("drawingInfo.renderer", t3, e3);
-    }
-    return "esriGeometryMultiPatch" === e3.geometryType && e3.infoFor3D && (e3.geometryType = "mesh"), e3;
-  }
-  _serializeFeature(e3, t3) {
-    const { geometry: s8, attributes: a7 } = e3;
-    if (r(t3) && r(e3.geometry) && "mesh" === e3.geometry.type) {
-      const s9 = { ...a7 }, r4 = e3.geometry, o6 = r4.origin, i3 = r4.transform;
-      if (s9[t3.transformFieldRoles.originX] = o6.x, s9[t3.transformFieldRoles.originY] = o6.y, s9[t3.transformFieldRoles.originZ] = o6.z, r(i3)) {
-        const e4 = i3.translation, a8 = i3.scale, r5 = i3.rotation;
-        s9[t3.transformFieldRoles.translationX] = e4[0], s9[t3.transformFieldRoles.translationY] = e4[1], s9[t3.transformFieldRoles.translationZ] = e4[2], s9[t3.transformFieldRoles.scaleX] = a8[0], s9[t3.transformFieldRoles.scaleY] = a8[1], s9[t3.transformFieldRoles.scaleZ] = a8[2], s9[t3.transformFieldRoles.rotationX] = r5[0], s9[t3.transformFieldRoles.rotationY] = r5[1], s9[t3.transformFieldRoles.rotationZ] = r5[2], s9[t3.transformFieldRoles.rotationDeg] = r5[3];
-      }
-      return { geometry: null, attributes: s9 };
-    }
-    return t(s8) ? { attributes: a7 } : "mesh" === s8.type || "extent" === s8.type ? null : { geometry: s8.toJSON(), attributes: a7 };
-  }
-  async _serializeAttachment(e3) {
-    const { feature: t3, attachment: s8 } = e3, { globalId: a7, name: r4, contentType: o6, data: i3, uploadId: n8 } = s8, u3 = { globalId: a7, parentGlobalId: null, contentType: null, name: null, uploadId: null, data: null };
-    if (t3 && (u3.parentGlobalId = "attributes" in t3 ? t3.attributes && t3.attributes[this.layer.globalIdField] : t3.globalId), n8)
-      u3.uploadId = n8;
-    else if (i3) {
-      const e4 = await E2(i3);
-      u3.contentType = e4.mediaType, u3.data = e4.data, i3 instanceof File && (u3.name = i3.name);
-    }
-    return r4 && (u3.name = r4), o6 && (u3.contentType = o6), u3;
-  }
-  async _serializeAssetMapEditAndUploadAssets(e3, t3) {
-    const a7 = this.layer.url;
-    let o6 = null;
-    try {
-      const t4 = new Blob([e3.data], { type: e3.mimeType }), i4 = new FormData();
-      i4.append("f", "json"), i4.append("file", t4, `${e3.assetName}`);
-      const n9 = { body: i4, method: "post", responseType: "json" }, { data: u3 } = await U(`${a7}/uploads/upload`, n9);
-      if (!u3.success)
-        throw new s("feature-layer-source:upload-failure", "Expected upload to be successfull.");
-      o6 = { assetType: e3.assetType, assetUploadId: u3.item.itemID };
-    } catch (h2) {
-      o6 = null;
-    }
-    if (t(o6)) {
-      const t4 = await E2(new Blob([e3.data]));
-      if (!t4.isBase64)
-        throw new s("feature-layer-source:uploadAssets-failure", "Expected gltf data in base64 format after conversion.");
-      o6 = { assetType: e3.assetType, assetData: t4.data };
-    }
-    if (t(o6))
-      throw new s("feature-layer-source:uploadAssets-failure", "Unable to prepare uploadAsset request options.");
-    const i3 = { method: "post", query: { f: "json", assets: JSON.stringify([o6]) }, responseType: "json" }, n8 = await U(G(this.layer.parsedUrl.path, "uploadAssets"), i3);
-    if (1 !== n8.data.uploadResults.length || !n8.data.uploadResults[0].success)
-      throw new s("feature-layer-source:uploadAssets-failure", "Bad response.");
-    const l3 = n8.data.uploadResults[0].assetHash, d4 = [];
-    e3.flags & E.PROJECT_VERTICES && d4.push("PROJECT_VERTICES");
-    const c7 = { globalId: e3.assetMapGlobalId, parentGlobalId: e3.featureGlobalId, assetName: e3.assetName, assetHash: l3, flags: d4 };
-    return t3.set(e3.featureGlobalId, e3.feature), c7;
-  }
-  _getFeatureIds(e3, t3) {
-    const s8 = e3[0];
-    return s8 ? this._canUseGlobalIds(t3, e3) ? this._getGlobalIdsFromFeatureIdentifier(e3) : "objectId" in s8 ? this._getObjectIdsFromFeatureIdentifier(e3) : this._getIdsFromFeatures(e3) : [];
-  }
-  _getIdsFromFeatures(e3) {
-    const t3 = this.layer.objectIdField;
-    return e3.map((e4) => e4.attributes && e4.attributes[t3]);
-  }
-  _canUseGlobalIds(e3, t3) {
-    return e3 && "globalId" in t3[0];
-  }
-  _getObjectIdsFromFeatureIdentifier(e3) {
-    return e3.map((e4) => e4.objectId);
-  }
-  _getGlobalIdsFromFeatureIdentifier(e3) {
-    return e3.map((e4) => e4.globalId);
-  }
-  _createEditsResult(e3) {
-    const t3 = e3.data, { layerId: s8 } = this.layer, a7 = [];
-    let r4 = null;
-    if (Array.isArray(t3))
-      for (const n8 of t3)
-        a7.push({ id: n8.id, editedFeatures: n8.editedFeatures }), n8.id === s8 && (r4 = { addResults: n8.addResults, updateResults: n8.updateResults, deleteResults: n8.deleteResults, attachments: n8.attachments, editMoment: n8.editMoment });
-    else
-      r4 = t3;
-    const o6 = r4 == null ? void 0 : r4.attachments, i3 = { addFeatureResults: r4.addResults ? r4.addResults.map(this._createFeatureEditResult, this) : [], updateFeatureResults: r4.updateResults ? r4.updateResults.map(this._createFeatureEditResult, this) : [], deleteFeatureResults: r4.deleteResults ? r4.deleteResults.map(this._createFeatureEditResult, this) : [], addAttachmentResults: o6 && o6.addResults ? o6.addResults.map(this._createFeatureEditResult, this) : [], updateAttachmentResults: o6 && o6.updateResults ? o6.updateResults.map(this._createFeatureEditResult, this) : [], deleteAttachmentResults: o6 && o6.deleteResults ? o6.deleteResults.map(this._createFeatureEditResult, this) : [] };
-    if (r4.editMoment && (i3.editMoment = r4.editMoment), a7.length > 0) {
-      i3.editedFeatureResults = [];
-      for (const e4 of a7) {
-        const { adds: t4, updates: s9, deletes: a8, spatialReference: r5 } = e4.editedFeatures, o7 = r5 ? new k(r5) : null;
-        i3.editedFeatureResults.push({ layerId: e4.id, editedFeatures: { adds: (t4 == null ? void 0 : t4.map((e5) => this._createEditedFeature(e5, o7))) || [], updates: (s9 == null ? void 0 : s9.map((e5) => ({ original: this._createEditedFeature(e5[0], o7), current: this._createEditedFeature(e5[1], o7) }))) || [], deletes: (a8 == null ? void 0 : a8.map((e5) => this._createEditedFeature(e5, o7))) || [], spatialReference: o7 } });
-      }
-    }
-    return i3;
-  }
-  _createEditedFeature(e3, s8) {
-    return new g2({ attributes: e3.attributes, geometry: v({ ...e3.geometry, spatialReference: s8 }) });
-  }
-  _createFeatureEditResult(e3) {
-    const t3 = true === e3.success ? null : e3.error || { code: void 0, description: void 0 };
-    return { objectId: e3.objectId, globalId: e3.globalId, error: t3 ? new s("feature-layer-source:edit-failure", t3.description, { code: t3.code }) : null };
-  }
-  _createAttachmentErrorResult(e3, t3) {
-    const s8 = t3.details.messages && t3.details.messages[0] || t3.message, a7 = t3.details.httpStatus || t3.details.messageCode;
-    return { objectId: e3, globalId: null, error: new s("feature-layer-source:attachment-failure", s8, { code: a7 }) };
-  }
-  _getFormDataForAttachment(e3, t3) {
-    const s8 = e3 instanceof FormData ? e3 : e3 && e3.elements ? new FormData(e3) : null;
-    if (s8)
-      for (const a7 in t3) {
-        const e4 = t3[a7];
-        null != e4 && (s8.set ? s8.set(a7, e4) : s8.append(a7, e4));
-      }
-    return s8;
-  }
-  _getLayerRequestOptions(e3 = {}) {
-    const { parsedUrl: t3, gdbVersion: s8, dynamicDataSource: a7 } = this.layer;
-    return { ...e3, query: { gdbVersion: s8, layer: a7 ? JSON.stringify({ source: a7 }) : void 0, ...t3.query, f: "json", ...this._createRequestQueryOptions(e3) }, responseType: "json" };
-  }
-};
-e([y2()], T2.prototype, "type", void 0), e([y2({ constructOnly: true })], T2.prototype, "layer", void 0), e([y2({ readOnly: true })], T2.prototype, "queryTask", null), T2 = e([n("esri.layers.graphics.sources.FeatureLayerSource")], T2);
-var A = T2;
-export {
-  A as default
-};
-//# sourceMappingURL=FeatureLayerSource-7N3BYJYZ.js.map

+ 912 - 0
node_modules/.vite/deps/FeatureLayerSource-HL2MNKHL.js

@@ -0,0 +1,912 @@
+import {
+  n as n2,
+  s as s3
+} from "./chunk-7UJBFBDS.js";
+import {
+  o as o4
+} from "./chunk-A6WD5XTM.js";
+import "./chunk-OP2HNSVZ.js";
+import {
+  a,
+  a2
+} from "./chunk-QZO3ENIC.js";
+import {
+  i
+} from "./chunk-YVKMCAJV.js";
+import {
+  v as v3
+} from "./chunk-FB243F4I.js";
+import {
+  c as c3,
+  d
+} from "./chunk-DKAJ6NC2.js";
+import {
+  x as x4
+} from "./chunk-WFHIGLUK.js";
+import {
+  pt,
+  rt
+} from "./chunk-4VZNS7N2.js";
+import {
+  f as f3,
+  t as t2,
+  x as x3
+} from "./chunk-BA3WIOU6.js";
+import {
+  r as r2
+} from "./chunk-KAB3V7FU.js";
+import "./chunk-O53KL66E.js";
+import "./chunk-CFVLY6NB.js";
+import {
+  v as v2
+} from "./chunk-WXUHXYJK.js";
+import {
+  f as f2
+} from "./chunk-NTERQTPO.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import {
+  o as o3
+} from "./chunk-SOSOZIX6.js";
+import {
+  g as g2
+} from "./chunk-KJZ6SS3P.js";
+import "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import {
+  g
+} from "./chunk-SZFMKPVM.js";
+import {
+  K,
+  x as x2
+} from "./chunk-K6QDYFZU.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-BQHWPTT7.js";
+import "./chunk-ZSW35JPD.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import {
+  T
+} from "./chunk-AR2YN3E2.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import {
+  c as c2,
+  v
+} from "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import {
+  m as m2
+} from "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import {
+  s as s2
+} from "./chunk-HZRKBTHJ.js";
+import {
+  U
+} from "./chunk-5DMBXPN2.js";
+import {
+  o as o2
+} from "./chunk-QANZ6BFY.js";
+import {
+  G,
+  S,
+  j,
+  nt
+} from "./chunk-VEGAOVMY.js";
+import {
+  w2 as w
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  k2 as k
+} from "./chunk-QCKFNSN2.js";
+import {
+  e,
+  m,
+  n5 as n,
+  y3 as y2
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  x,
+  y
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s3 as s
+} from "./chunk-E5O6P5I2.js";
+import {
+  has,
+  o
+} from "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  c,
+  e as e2,
+  f,
+  r,
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/graphics/assetEditingSupport.js
+var E;
+!function(E3) {
+  E3[E3.PROJECT_VERTICES = 1] = "PROJECT_VERTICES";
+}(E || (E = {}));
+
+// node_modules/@arcgis/core/rest/query/operations/pbfJSONFeatureSet.js
+function n3(e3, t3) {
+  return t3;
+}
+function a3(e3, t3, r4, s8) {
+  switch (r4) {
+    case 0:
+      return c4(e3, t3 + s8, 0);
+    case 1:
+      return "lowerLeft" === e3.originPosition ? c4(e3, t3 + s8, 1) : l(e3, t3 + s8, 1);
+  }
+}
+function h(e3, t3, r4, s8) {
+  return 2 === r4 ? c4(e3, t3, 2) : a3(e3, t3, r4, s8);
+}
+function u(e3, t3, r4, s8) {
+  return 2 === r4 ? c4(e3, t3, 3) : a3(e3, t3, r4, s8);
+}
+function d2(e3, t3, r4, s8) {
+  return 3 === r4 ? c4(e3, t3, 3) : h(e3, t3, r4, s8);
+}
+function c4({ translate: e3, scale: t3 }, r4, s8) {
+  return e3[s8] + r4 * t3[s8];
+}
+function l({ translate: e3, scale: t3 }, r4, s8) {
+  return e3[s8] - r4 * t3[s8];
+}
+var f4 = class {
+  constructor(e3) {
+    this._options = e3, this.geometryTypes = ["esriGeometryPoint", "esriGeometryMultipoint", "esriGeometryPolyline", "esriGeometryPolygon"], this._previousCoordinate = [0, 0], this._transform = null, this._applyTransform = n3, this._lengths = [], this._currentLengthIndex = 0, this._toAddInCurrentPath = 0, this._vertexDimension = 0, this._coordinateBuffer = null, this._coordinateBufferPtr = 0, this._attributesConstructor = class {
+    };
+  }
+  createFeatureResult() {
+    return { fields: [], features: [] };
+  }
+  finishFeatureResult(t3) {
+    if (this._options.applyTransform && (t3.transform = null), this._attributesConstructor = class {
+    }, this._coordinateBuffer = null, this._lengths.length = 0, !t3.hasZ)
+      return;
+    const r4 = o3(t3.geometryType, this._options.sourceSpatialReference, t3.spatialReference);
+    if (!t(r4))
+      for (const e3 of t3.features)
+        r4(e3.geometry);
+  }
+  createSpatialReference() {
+    return {};
+  }
+  addField(e3, r4) {
+    const s8 = e3.fields;
+    c(s8), s8.push(r4);
+    const o6 = s8.map((e4) => e4.name);
+    this._attributesConstructor = function() {
+      for (const e4 of o6)
+        this[e4] = null;
+    };
+  }
+  addFeature(e3, t3) {
+    e3.features.push(t3);
+  }
+  prepareFeatures(e3) {
+    switch (this._transform = e3.transform, this._options.applyTransform && e3.transform && (this._applyTransform = this._deriveApplyTransform(e3)), this._vertexDimension = 2, e3.hasZ && this._vertexDimension++, e3.hasM && this._vertexDimension++, e3.geometryType) {
+      case "esriGeometryPoint":
+        this.addCoordinate = (e4, t3, r4) => this.addCoordinatePoint(e4, t3, r4), this.createGeometry = (e4) => this.createPointGeometry(e4);
+        break;
+      case "esriGeometryPolygon":
+        this.addCoordinate = (e4, t3, r4) => this._addCoordinatePolygon(e4, t3, r4), this.createGeometry = (e4) => this._createPolygonGeometry(e4);
+        break;
+      case "esriGeometryPolyline":
+        this.addCoordinate = (e4, t3, r4) => this._addCoordinatePolyline(e4, t3, r4), this.createGeometry = (e4) => this._createPolylineGeometry(e4);
+        break;
+      case "esriGeometryMultipoint":
+        this.addCoordinate = (e4, t3, r4) => this._addCoordinateMultipoint(e4, t3, r4), this.createGeometry = (e4) => this._createMultipointGeometry(e4);
+    }
+  }
+  createFeature() {
+    return this._lengths.length = 0, this._currentLengthIndex = 0, this._previousCoordinate[0] = 0, this._previousCoordinate[1] = 0, this._coordinateBuffer = null, this._coordinateBufferPtr = 0, { attributes: new this._attributesConstructor() };
+  }
+  allocateCoordinates() {
+  }
+  addLength(e3, t3, r4) {
+    0 === this._lengths.length && (this._toAddInCurrentPath = t3), this._lengths.push(t3);
+  }
+  addQueryGeometry(e3, t3) {
+    const { queryGeometry: r4, queryGeometryType: s8 } = t3, n8 = pt(r4.clone(), r4, false, false, this._transform), a7 = rt(n8, s8, false, false);
+    e3.queryGeometryType = s8, e3.queryGeometry = { ...a7 };
+  }
+  createPointGeometry(e3) {
+    const t3 = { x: 0, y: 0, spatialReference: e3.spatialReference };
+    return e3.hasZ && (t3.z = 0), e3.hasM && (t3.m = 0), t3;
+  }
+  addCoordinatePoint(e3, t3, s8) {
+    const o6 = f(this._transform, "transform");
+    switch (t3 = this._applyTransform(o6, t3, s8, 0), s8) {
+      case 0:
+        e3.x = t3;
+        break;
+      case 1:
+        e3.y = t3;
+        break;
+      case 2:
+        "z" in e3 ? e3.z = t3 : e3.m = t3;
+        break;
+      case 3:
+        e3.m = t3;
+    }
+  }
+  _transformPathLikeValue(e3, t3) {
+    let s8 = 0;
+    t3 <= 1 && (s8 = this._previousCoordinate[t3], this._previousCoordinate[t3] += e3);
+    const o6 = f(this._transform, "transform");
+    return this._applyTransform(o6, e3, t3, s8);
+  }
+  _addCoordinatePolyline(e3, t3, r4) {
+    this._dehydratedAddPointsCoordinate(e3.paths, t3, r4);
+  }
+  _addCoordinatePolygon(e3, t3, r4) {
+    this._dehydratedAddPointsCoordinate(e3.rings, t3, r4);
+  }
+  _addCoordinateMultipoint(e3, t3, r4) {
+    0 === r4 && e3.points.push([]);
+    const s8 = this._transformPathLikeValue(t3, r4);
+    e3.points[e3.points.length - 1].push(s8);
+  }
+  _createPolygonGeometry(e3) {
+    return { rings: [[]], spatialReference: e3.spatialReference, hasZ: !!e3.hasZ, hasM: !!e3.hasM };
+  }
+  _createPolylineGeometry(e3) {
+    return { paths: [[]], spatialReference: e3.spatialReference, hasZ: !!e3.hasZ, hasM: !!e3.hasM };
+  }
+  _createMultipointGeometry(e3) {
+    return { points: [], spatialReference: e3.spatialReference, hasZ: !!e3.hasZ, hasM: !!e3.hasM };
+  }
+  _dehydratedAddPointsCoordinate(e3, t3, r4) {
+    0 === r4 && 0 == this._toAddInCurrentPath-- && (e3.push([]), this._toAddInCurrentPath = this._lengths[++this._currentLengthIndex] - 1, this._previousCoordinate[0] = 0, this._previousCoordinate[1] = 0);
+    const s8 = this._transformPathLikeValue(t3, r4), o6 = e3[e3.length - 1];
+    0 === r4 && (this._coordinateBufferPtr = 0, this._coordinateBuffer = new Array(this._vertexDimension), o6.push(this._coordinateBuffer)), this._coordinateBuffer[this._coordinateBufferPtr++] = s8;
+  }
+  _deriveApplyTransform(e3) {
+    const { hasZ: t3, hasM: r4 } = e3;
+    return t3 && r4 ? d2 : t3 ? h : r4 ? u : a3;
+  }
+};
+
+// node_modules/@arcgis/core/rest/query/executeQueryPBF.js
+async function n4(o6, s8, n8) {
+  const p3 = f2(o6), i3 = { ...n8 }, u3 = x2.from(s8), m6 = !u3.quantizationParameters, { data: f5 } = await f3(p3, u3, new f4({ sourceSpatialReference: u3.sourceSpatialReference, applyTransform: m6 }), i3);
+  return f5;
+}
+
+// node_modules/@arcgis/core/rest/query/operations/queryAttachments.js
+function n5(t3) {
+  const o6 = t3.toJSON();
+  return o6.attachmentTypes && (o6.attachmentTypes = o6.attachmentTypes.join(",")), o6.keywords && (o6.keywords = o6.keywords.join(",")), o6.globalIds && (o6.globalIds = o6.globalIds.join(",")), o6.objectIds && (o6.objectIds = o6.objectIds.join(",")), o6.size && (o6.size = o6.size.join(",")), o6;
+}
+function a4(o6, r4) {
+  const n8 = {};
+  for (const a7 of o6) {
+    const { parentObjectId: o7, parentGlobalId: c7, attachmentInfos: i3 } = a7;
+    for (const a8 of i3) {
+      const { id: i4 } = a8, m6 = S(o2(`${r4}/${o7}/attachments/${i4}`)), p3 = a2.fromJSON(a8);
+      p3.set({ url: m6, parentObjectId: o7, parentGlobalId: c7 }), n8[o7] ? n8[o7].push(p3) : n8[o7] = [p3];
+    }
+  }
+  return n8;
+}
+function c5(t3, e3, s8) {
+  let a7 = { query: t2({ ...t3.query, f: "json", ...n5(e3) }) };
+  return s8 && (a7 = { ...s8, ...a7, query: { ...s8.query, ...a7.query } }), U(t3.path + "/queryAttachments", a7);
+}
+
+// node_modules/@arcgis/core/rest/query/executeAttachmentQuery.js
+async function a5(a7, m6, n8) {
+  const s8 = f2(a7);
+  return c5(s8, c3.from(m6), { ...n8 }).then((t3) => a4(t3.data.attachmentGroups, s8.path));
+}
+
+// node_modules/@arcgis/core/rest/query/executeForExtent.js
+async function m3(m6, n8, s8) {
+  const p3 = f2(m6);
+  return x3(p3, x2.from(n8), { ...s8 }).then((t3) => ({ count: t3.data.count, extent: w.fromJSON(t3.data.extent) }));
+}
+
+// node_modules/@arcgis/core/rest/query/operations/queryRelatedRecords.js
+function o5(e3, t3) {
+  const o6 = e3.toJSON();
+  return o6.objectIds && (o6.objectIds = o6.objectIds.join(",")), o6.orderByFields && (o6.orderByFields = o6.orderByFields.join(",")), o6.outFields && !(t3 == null ? void 0 : t3.returnCountOnly) ? o6.outFields.includes("*") ? o6.outFields = "*" : o6.outFields = o6.outFields.join(",") : delete o6.outFields, o6.outSpatialReference && (o6.outSR = o6.outSR.wkid || JSON.stringify(o6.outSR.toJSON()), delete o6.outSpatialReference), o6.dynamicDataSource && (o6.layer = JSON.stringify({ source: o6.dynamicDataSource }), delete o6.dynamicDataSource), o6;
+}
+async function r3(e3, t3, o6) {
+  const r4 = await s4(e3, t3, o6), n8 = r4.data, a7 = n8.geometryType, d4 = n8.spatialReference, c7 = {};
+  for (const s8 of n8.relatedRecordGroups) {
+    const e4 = { fields: void 0, objectIdFieldName: void 0, geometryType: a7, spatialReference: d4, hasZ: !!n8.hasZ, hasM: !!n8.hasM, features: s8.relatedRecords };
+    if (null != s8.objectId)
+      c7[s8.objectId] = e4;
+    else
+      for (const t4 in s8)
+        s8.hasOwnProperty(t4) && "relatedRecords" !== t4 && (c7[s8[t4]] = e4);
+  }
+  return { ...r4, data: c7 };
+}
+async function n6(e3, t3, o6) {
+  const r4 = await s4(e3, t3, o6, { returnCountOnly: true }), n8 = r4.data, a7 = {};
+  for (const s8 of n8.relatedRecordGroups)
+    null != s8.objectId && (a7[s8.objectId] = s8.count);
+  return { ...r4, data: a7 };
+}
+async function s4(r4, n8, s8 = {}, a7) {
+  const d4 = t2({ ...r4.query, f: "json", ...a7, ...o5(n8, a7) });
+  return U(r4.path + "/queryRelatedRecords", { ...s8, query: { ...s8.query, ...d4 } });
+}
+
+// node_modules/@arcgis/core/rest/query/executeRelationshipQuery.js
+async function n7(e3, n8, u3) {
+  n8 = d.from(n8);
+  const a7 = f2(e3);
+  return r3(a7, n8, u3).then((t3) => {
+    const r4 = t3.data, e4 = {};
+    return Object.keys(r4).forEach((t4) => e4[t4] = x4.fromJSON(r4[t4])), e4;
+  });
+}
+async function u2(r4, o6, n8) {
+  o6 = d.from(o6);
+  const u3 = f2(r4);
+  return n6(u3, o6, { ...n8 }).then((t3) => t3.data);
+}
+
+// node_modules/@arcgis/core/rest/query/operations/queryTopFeatures.js
+var l2 = "Layer does not support extent calculation.";
+function y3(t3, r4) {
+  var _a, _b;
+  const o6 = t3.geometry, i3 = t3.toJSON(), s8 = i3;
+  if (r(o6) && (s8.geometry = JSON.stringify(o6), s8.geometryType = c2(o6), s8.inSR = o6.spatialReference.wkid || JSON.stringify(o6.spatialReference)), ((_a = i3.topFilter) == null ? void 0 : _a.groupByFields) && (s8.topFilter.groupByFields = i3.topFilter.groupByFields.join(",")), ((_b = i3.topFilter) == null ? void 0 : _b.orderByFields) && (s8.topFilter.orderByFields = i3.topFilter.orderByFields.join(",")), i3.topFilter && (s8.topFilter = JSON.stringify(s8.topFilter)), i3.objectIds && (s8.objectIds = i3.objectIds.join(",")), i3.orderByFields && (s8.orderByFields = i3.orderByFields.join(",")), i3.outFields && !((r4 == null ? void 0 : r4.returnCountOnly) || (r4 == null ? void 0 : r4.returnExtentOnly) || (r4 == null ? void 0 : r4.returnIdsOnly)) ? i3.outFields.includes("*") ? s8.outFields = "*" : s8.outFields = i3.outFields.join(",") : delete s8.outFields, i3.outSR ? s8.outSR = i3.outSR.wkid || JSON.stringify(i3.outSR) : o6 && i3.returnGeometry && (s8.outSR = s8.inSR), i3.returnGeometry && delete i3.returnGeometry, i3.timeExtent) {
+    const t4 = i3.timeExtent, { start: e3, end: r5 } = t4;
+    null == e3 && null == r5 || (s8.time = e3 === r5 ? e3 : `${e3 != null ? e3 : "null"},${r5 != null ? r5 : "null"}`), delete i3.timeExtent;
+  }
+  return s8;
+}
+async function d3(t3, e3, r4, o6) {
+  const n8 = await c6(t3, e3, "json", o6);
+  return r2(e3, r4, n8.data), n8;
+}
+async function m4(t3, r4, o6) {
+  return r(r4.timeExtent) && r4.timeExtent.isEmpty ? { data: { objectIds: [] } } : c6(t3, r4, "json", o6, { returnIdsOnly: true });
+}
+async function p(t3, r4, o6) {
+  return r(r4.timeExtent) && r4.timeExtent.isEmpty ? { data: { count: 0, extent: null } } : c6(t3, r4, "json", o6, { returnExtentOnly: true, returnCountOnly: true }).then((t4) => {
+    const e3 = t4.data;
+    if (e3.hasOwnProperty("extent"))
+      return t4;
+    if (e3.features)
+      throw new Error(l2);
+    if (e3.hasOwnProperty("count"))
+      throw new Error(l2);
+    return t4;
+  });
+}
+function a6(t3, r4, o6) {
+  return r(r4.timeExtent) && r4.timeExtent.isEmpty ? Promise.resolve({ data: { count: 0 } }) : c6(t3, r4, "json", o6, { returnIdsOnly: true, returnCountOnly: true });
+}
+function c6(n8, u3, l3, d4 = {}, m6 = {}) {
+  const p3 = "string" == typeof n8 ? j(n8) : n8, a7 = u3.geometry ? [u3.geometry] : [];
+  return d4.responseType = "pbf" === l3 ? "array-buffer" : "json", v2(a7, null, d4).then((r4) => {
+    const n9 = r4 && r4[0];
+    r(n9) && ((u3 = u3.clone()).geometry = n9);
+    const i3 = t2({ ...p3.query, f: l3, ...m6, ...y3(u3, m6) });
+    return U(G(p3.path, "queryTopFeatures"), { ...d4, query: { ...i3, ...d4.query } });
+  });
+}
+
+// node_modules/@arcgis/core/rest/query/executeTopFeaturesQuery.js
+async function s5(s8, p3, u3, a7) {
+  const m6 = f2(s8), i3 = { ...a7 }, { data: f5 } = await d3(m6, v3.from(p3), u3, i3);
+  return x4.fromJSON(f5);
+}
+
+// node_modules/@arcgis/core/rest/query/executeForTopIds.js
+async function s6(s8, e3, p3) {
+  const a7 = f2(s8);
+  return (await m4(a7, v3.from(e3), { ...p3 })).data.objectIds;
+}
+
+// node_modules/@arcgis/core/rest/query/executeForTopExtents.js
+async function m5(m6, s8, n8) {
+  const p3 = f2(m6), a7 = await p(p3, v3.from(s8), { ...n8 });
+  return { count: a7.data.count, extent: w.fromJSON(a7.data.extent) };
+}
+
+// node_modules/@arcgis/core/rest/query/executeForTopCount.js
+async function s7(s8, e3, p3) {
+  const u3 = f2(s8);
+  return (await a6(u3, v3.from(e3), { ...p3 })).data.count;
+}
+
+// node_modules/@arcgis/core/tasks/Task.js
+var i2 = class extends m {
+  constructor(...r4) {
+    super(...r4), this.requestOptions = null, this.url = null;
+  }
+  normalizeCtorArgs(r4, s8) {
+    return "string" != typeof r4 ? r4 : { url: r4, ...s8 };
+  }
+  get parsedUrl() {
+    return this._parseUrl(this.url);
+  }
+  _parseUrl(r4) {
+    return j(r4);
+  }
+  _encode(r4, s8, t3) {
+    const e3 = {};
+    for (const o6 in r4) {
+      if ("declaredClass" === o6)
+        continue;
+      const i3 = r4[o6];
+      if (null != i3 && "function" != typeof i3)
+        if (Array.isArray(i3)) {
+          e3[o6] = [];
+          for (let r5 = 0; r5 < i3.length; r5++)
+            e3[o6][r5] = this._encode(i3[r5]);
+        } else if ("object" == typeof i3)
+          if (i3.toJSON) {
+            const r5 = i3.toJSON(t3 && t3[o6]);
+            e3[o6] = s8 ? r5 : JSON.stringify(r5);
+          } else
+            e3[o6] = s8 ? i3 : JSON.stringify(i3);
+        else
+          e3[o6] = i3;
+    }
+    return e3;
+  }
+};
+e([y2({ readOnly: true })], i2.prototype, "parsedUrl", null), e([y2()], i2.prototype, "requestOptions", void 0), e([y2({ type: String })], i2.prototype, "url", void 0), i2 = e([n("esri.tasks.Task")], i2);
+var p2 = i2;
+
+// node_modules/@arcgis/core/layers/graphics/sources/support/QueryTask.js
+var q = class extends p2 {
+  constructor(t3) {
+    super(t3), this.dynamicDataSource = null, this.fieldsIndex = null, this.format = "json", this.gdbVersion = null, this.infoFor3D = null, this.sourceSpatialReference = null;
+  }
+  async execute(t3, e3) {
+    const r4 = await this.executeJSON(t3, e3);
+    return this.featureSetFromJSON(t3, r4, e3);
+  }
+  async executeJSON(t3, e3) {
+    var _a;
+    const r4 = { ...this.requestOptions, ...e3 }, o6 = this._normalizeQuery(t3), s8 = null != ((_a = t3.outStatistics) == null ? void 0 : _a[0]), i3 = has("featurelayer-pbf-statistics"), u3 = !s8 || i3;
+    let n8;
+    if ("pbf" === this.format && u3)
+      try {
+        n8 = await n4(this.url, o6, r4);
+      } catch (p3) {
+        if ("query:parsing-pbf" !== p3.name)
+          throw p3;
+        this.format = "json";
+      }
+    return "json" !== this.format && u3 || (n8 = await a(this.url, o6, r4)), this._normalizeFields(n8.fields), n8;
+  }
+  async featureSetFromJSON(t3, e3, o6) {
+    if (!this._queryIs3DObjectFormat(t3) || t(this.infoFor3D) || !e3.assetMaps || !e3.features || !e3.features.length)
+      return x4.fromJSON(e3);
+    const { meshFeatureSetFromJSON: i3 } = await y(import("./meshFeatureSet-CS2QCUIR.js"), o6);
+    return i3(t3, this.infoFor3D, e3);
+  }
+  executeForCount(t3, e3) {
+    const r4 = { ...this.requestOptions, ...e3 }, o6 = this._normalizeQuery(t3);
+    return n2(this.url, o6, r4);
+  }
+  executeForExtent(t3, e3) {
+    const r4 = { ...this.requestOptions, ...e3 }, o6 = this._normalizeQuery(t3);
+    return m3(this.url, o6, r4);
+  }
+  executeForIds(t3, e3) {
+    const r4 = { ...this.requestOptions, ...e3 }, o6 = this._normalizeQuery(t3);
+    return s3(this.url, o6, r4);
+  }
+  executeRelationshipQuery(t3, e3) {
+    t3 = d.from(t3);
+    const r4 = { ...this.requestOptions, ...e3 };
+    return (this.gdbVersion || this.dynamicDataSource) && ((t3 = t3.clone()).gdbVersion = t3.gdbVersion || this.gdbVersion, t3.dynamicDataSource = t3.dynamicDataSource || this.dynamicDataSource), n7(this.url, t3, r4);
+  }
+  executeRelationshipQueryForCount(t3, e3) {
+    t3 = d.from(t3);
+    const r4 = { ...this.requestOptions, ...e3 };
+    return (this.gdbVersion || this.dynamicDataSource) && ((t3 = t3.clone()).gdbVersion = t3.gdbVersion || this.gdbVersion, t3.dynamicDataSource = t3.dynamicDataSource || this.dynamicDataSource), u2(this.url, t3, r4);
+  }
+  executeAttachmentQuery(t3, e3) {
+    const r4 = { ...this.requestOptions, ...e3 };
+    return a5(this.url, t3, r4);
+  }
+  executeTopFeaturesQuery(t3, e3) {
+    const r4 = { ...this.requestOptions, ...e3 };
+    return s5(this.parsedUrl, t3, this.sourceSpatialReference, r4);
+  }
+  executeForTopIds(t3, e3) {
+    const r4 = { ...this.requestOptions, ...e3 };
+    return s6(this.parsedUrl, t3, r4);
+  }
+  executeForTopExtents(t3, e3) {
+    const r4 = { ...this.requestOptions, ...e3 };
+    return m5(this.parsedUrl, t3, r4);
+  }
+  executeForTopCount(t3, e3) {
+    const r4 = { ...this.requestOptions, ...e3 };
+    return s7(this.parsedUrl, t3, r4);
+  }
+  _normalizeQuery(t3) {
+    let s8 = x2.from(t3);
+    if (s8.sourceSpatialReference = s8.sourceSpatialReference || this.sourceSpatialReference, (this.gdbVersion || this.dynamicDataSource) && (s8 = s8 === t3 ? s8.clone() : s8, s8.gdbVersion = t3.gdbVersion || this.gdbVersion, s8.dynamicDataSource = t3.dynamicDataSource ? K.from(t3.dynamicDataSource) : this.dynamicDataSource), r(this.infoFor3D) && this._queryIs3DObjectFormat(t3)) {
+      s8 = s8 === t3 ? s8.clone() : s8, s8.formatOf3DObjects = null;
+      for (const t4 of this.infoFor3D.queryFormats) {
+        if ("3D_glb" === t4) {
+          s8.formatOf3DObjects = t4;
+          break;
+        }
+        "3D_gltf" !== t4 || s8.formatOf3DObjects || (s8.formatOf3DObjects = t4);
+      }
+      if (!s8.formatOf3DObjects)
+        throw new s("query:unsupported-3d-query-formats", "Could not find any supported 3D object query format. Only supported formats are 3D_glb and 3D_gltf");
+      if (t(s8.outFields) || !s8.outFields.includes("*")) {
+        s8 = s8 === t3 ? s8.clone() : s8, t(s8.outFields) && (s8.outFields = []);
+        const { originX: e3, originY: o6, originZ: i3, translationX: u3, translationY: n8, translationZ: a7, scaleX: c7, scaleY: p3, scaleZ: m6, rotationX: f5, rotationY: l3, rotationZ: h2, rotationDeg: d4 } = this.infoFor3D.transformFieldRoles;
+        s8.outFields.push(e3, o6, i3, u3, n8, a7, c7, p3, m6, f5, l3, h2, d4);
+      }
+    }
+    return s8;
+  }
+  _normalizeFields(t3) {
+    if (r(this.fieldsIndex) && r(t3))
+      for (const e3 of t3) {
+        const t4 = this.fieldsIndex.get(e3.name);
+        t4 && Object.assign(e3, t4.toJSON());
+      }
+  }
+  _queryIs3DObjectFormat(t3) {
+    return r(this.infoFor3D) && t3.returnGeometry && "xyFootprint" !== t3.multipatchOption && !t3.outStatistics;
+  }
+};
+e([y2({ type: K })], q.prototype, "dynamicDataSource", void 0), e([y2()], q.prototype, "fieldsIndex", void 0), e([y2()], q.prototype, "format", void 0), e([y2()], q.prototype, "gdbVersion", void 0), e([y2()], q.prototype, "infoFor3D", void 0), e([y2()], q.prototype, "sourceSpatialReference", void 0), q = e([n("esri.tasks.QueryTask")], q);
+var g3 = q;
+
+// node_modules/@arcgis/core/layers/graphics/sources/FeatureLayerSource.js
+var O = new s2({ originalAndCurrentFeatures: "original-and-current-features", none: "none" });
+async function E2(e3) {
+  if ("string" == typeof e3) {
+    const t3 = nt(e3);
+    return t3 || { data: e3 };
+  }
+  return new Promise((t3, s8) => {
+    const a7 = new FileReader();
+    a7.readAsDataURL(e3), a7.onload = () => t3(nt(a7.result)), a7.onerror = (e4) => s8(e4);
+  });
+}
+var S2 = /* @__PURE__ */ new Set(["Feature Layer", "Table"]);
+var j2 = new s2({ Started: "published", Publishing: "publishing", Stopped: "unavailable" });
+var T2 = class extends m2 {
+  constructor() {
+    super(...arguments), this.type = "feature-layer", this.refresh = x(async () => {
+      var _a, _b;
+      await this.load();
+      const e3 = (_a = this.sourceJSON.editingInfo) == null ? void 0 : _a.lastEditDate;
+      if (null == e3)
+        return { dataChanged: true, updates: {} };
+      try {
+        await this._fetchService(null);
+      } catch {
+        return { dataChanged: true, updates: {} };
+      }
+      const t3 = e3 !== ((_b = this.sourceJSON.editingInfo) == null ? void 0 : _b.lastEditDate);
+      return { dataChanged: t3, updates: t3 ? { editingInfo: this.sourceJSON.editingInfo, extent: this.sourceJSON.extent } : null };
+    });
+  }
+  load(e3) {
+    const t3 = r(e3) ? e3.signal : null;
+    return this.addResolvingPromise(this._fetchService(this.layer.sourceJSON, t3)), Promise.resolve(this);
+  }
+  get queryTask() {
+    const { capabilities: { query: { supportsFormatPBF: e3 } }, parsedUrl: t3, dynamicDataSource: s8, infoFor3D: a7, gdbVersion: r4, spatialReference: o6, fieldsIndex: i3 } = this.layer, n8 = has("featurelayer-pbf") && e3 && t(a7) ? "pbf" : "json";
+    return new g3({ url: t3.path, format: n8, fieldsIndex: i3, infoFor3D: a7, dynamicDataSource: s8, gdbVersion: r4, sourceSpatialReference: o6 });
+  }
+  async addAttachment(e3, t3) {
+    await this.load();
+    const a7 = e3.attributes[this.layer.objectIdField], r4 = this.layer.parsedUrl.path + "/" + a7 + "/addAttachment", o6 = this._getLayerRequestOptions(), i3 = this._getFormDataForAttachment(t3, o6.query);
+    try {
+      const e4 = await U(r4, { body: i3 });
+      return this._createFeatureEditResult(e4.data.addAttachmentResult);
+    } catch (n8) {
+      throw this._createAttachmentErrorResult(a7, n8);
+    }
+  }
+  async updateAttachment(e3, t3, a7) {
+    await this.load();
+    const r4 = e3.attributes[this.layer.objectIdField], o6 = this.layer.parsedUrl.path + "/" + r4 + "/updateAttachment", i3 = this._getLayerRequestOptions({ query: { attachmentId: t3 } }), n8 = this._getFormDataForAttachment(a7, i3.query);
+    try {
+      const e4 = await U(o6, { body: n8 });
+      return this._createFeatureEditResult(e4.data.updateAttachmentResult);
+    } catch (u3) {
+      throw this._createAttachmentErrorResult(r4, u3);
+    }
+  }
+  async applyEdits(e3, t3) {
+    await this.load();
+    const a7 = this.layer.infoFor3D, r4 = r(a7), o6 = r4 || (t3 == null ? void 0 : t3.globalIdUsed), i3 = e3.addFeatures.map((e4) => this._serializeFeature(e4, a7)), u3 = e3.updateFeatures.map((e4) => this._serializeFeature(e4, a7)), d4 = this._getFeatureIds(e3.deleteFeatures, o6);
+    i(i3, u3, this.layer.spatialReference);
+    const c7 = [], p3 = [], h2 = [...e3.deleteAttachments];
+    for (const s8 of e3.addAttachments)
+      c7.push(await this._serializeAttachment(s8));
+    for (const s8 of e3.updateAttachments)
+      p3.push(await this._serializeAttachment(s8));
+    const y4 = c7.length || p3.length || h2.length ? { adds: c7, updates: p3, deletes: h2 } : null;
+    let m6, f5 = null;
+    if (r4) {
+      f5 = /* @__PURE__ */ new Map();
+      const t4 = [];
+      for (const a8 of e3.addAssets)
+        t4.push(this._serializeAssetMapEditAndUploadAssets(a8, f5));
+      const s8 = await Promise.all(t4);
+      m6 = s8.length ? { adds: s8, updates: [], deletes: [] } : void 0;
+    }
+    const g4 = { gdbVersion: (t3 == null ? void 0 : t3.gdbVersion) || this.layer.gdbVersion, rollbackOnFailure: t3 == null ? void 0 : t3.rollbackOnFailureEnabled, useGlobalIds: o6, returnEditMoment: t3 == null ? void 0 : t3.returnEditMoment, usePreviousEditMoment: t3 == null ? void 0 : t3.usePreviousEditMoment, sessionId: t3 == null ? void 0 : t3.sessionId };
+    (t3 == null ? void 0 : t3.returnServiceEditsOption) ? (g4.edits = JSON.stringify([{ id: this.layer.layerId, adds: i3, updates: u3, deletes: d4, attachments: y4, assetMaps: e2(m6) }]), g4.returnServiceEditsOption = O.toJSON(t3 == null ? void 0 : t3.returnServiceEditsOption), g4.returnServiceEditsInSourceSR = t3 == null ? void 0 : t3.returnServiceEditsInSourceSR) : (g4.adds = i3.length ? JSON.stringify(i3) : null, g4.updates = u3.length ? JSON.stringify(u3) : null, g4.deletes = d4.length ? o6 ? JSON.stringify(d4) : d4.join(",") : null, g4.attachments = y4 && JSON.stringify(y4), g4.assetMaps = r(m6) ? JSON.stringify(m6) : void 0);
+    const R = this._getLayerRequestOptions({ method: "post", query: g4 }), F = (t3 == null ? void 0 : t3.returnServiceEditsOption) ? this.layer.url : this.layer.parsedUrl.path, b = await U(F + "/applyEdits", R);
+    if (r4 && null != b.data && null != b.data.assetMaps) {
+      const e4 = b.data, t4 = this.layer.objectIdField, a8 = [];
+      for (const s8 of e4.addResults)
+        s8.success && a8.push(s8.objectId);
+      for (const s8 of e4.updateResults)
+        s8.success && a8.push(s8.objectId);
+      const r5 = this._createRequestQueryOptions(), o7 = await U(F + "/query", { ...r5, query: { f: "json", formatOf3DObjects: "3D_glb", where: `OBJECTID IN (${a8.join(",")})`, outFields: `${t4}` } });
+      if (o7 && o7.data && o7.data.assetMaps && r(f5)) {
+        const e5 = o7.data.assetMaps;
+        for (const t5 of e5) {
+          const e6 = f5.get(t5.parentGlobalId).geometry;
+          r(e6) && "mesh" === e6.type && e6.updateExternalSource({ source: [{ name: t5.assetName, source: t5.assetName }], extent: e6.extent });
+        }
+      }
+    }
+    return this._createEditsResult(b);
+  }
+  async deleteAttachments(e3, t3) {
+    await this.load();
+    const a7 = e3.attributes[this.layer.objectIdField], r4 = this.layer.parsedUrl.path + "/" + a7 + "/deleteAttachments";
+    try {
+      return (await U(r4, this._getLayerRequestOptions({ query: { attachmentIds: t3.join(",") }, method: "post" }))).data.deleteAttachmentResults.map(this._createFeatureEditResult);
+    } catch (o6) {
+      throw this._createAttachmentErrorResult(a7, o6);
+    }
+  }
+  fetchRecomputedExtents(e3 = {}) {
+    const t3 = e3.signal;
+    return this.load({ signal: t3 }).then(async () => {
+      const t4 = this._getLayerRequestOptions({ ...e3, query: { returnUpdates: true } }), { layerId: r4, url: o6 } = this.layer, { data: i3 } = await U(`${o6}/${r4}`, t4), { id: n8, extent: u3, fullExtent: l3, timeExtent: d4 } = i3, c7 = u3 || l3;
+      return { id: n8, fullExtent: c7 && w.fromJSON(c7), timeExtent: d4 && T.fromJSON({ start: d4[0], end: d4[1] }) };
+    });
+  }
+  async queryAttachments(e3, t3 = {}) {
+    const { parsedUrl: a7 } = this.layer, r4 = a7.path;
+    await this.load();
+    const o6 = this._getLayerRequestOptions(t3);
+    if (!this.layer.get("capabilities.operations.supportsQueryAttachments")) {
+      const { objectIds: t4 } = e3, a8 = [];
+      for (const e4 of t4) {
+        const t5 = r4 + "/" + e4 + "/attachments";
+        a8.push(U(t5, o6));
+      }
+      return Promise.all(a8).then((e4) => t4.map((t5, s8) => ({ parentObjectId: t5, attachmentInfos: e4[s8].data.attachmentInfos }))).then((e4) => a4(e4, r4));
+    }
+    return this.queryTask.executeAttachmentQuery(e3, o6);
+  }
+  async queryFeatures(e3, t3) {
+    return await this.load(), this.queryTask.execute(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryFeaturesJSON(e3, t3) {
+    return await this.load(), this.queryTask.executeJSON(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryObjectIds(e3, t3) {
+    return await this.load(), this.queryTask.executeForIds(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryFeatureCount(e3, t3) {
+    return await this.load(), this.queryTask.executeForCount(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryExtent(e3, t3) {
+    return await this.load(), this.queryTask.executeForExtent(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryRelatedFeatures(e3, t3) {
+    return await this.load(), this.queryTask.executeRelationshipQuery(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryRelatedFeaturesCount(e3, t3) {
+    return await this.load(), this.queryTask.executeRelationshipQueryForCount(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryTopFeatures(e3, t3) {
+    return await this.load(), this.queryTask.executeTopFeaturesQuery(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryTopObjectIds(e3, t3) {
+    return await this.load(), this.queryTask.executeForTopIds(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryTopExtents(e3, t3) {
+    return await this.load(), this.queryTask.executeForTopExtents(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async queryTopCount(e3, t3) {
+    return await this.load(), this.queryTask.executeForTopCount(e3, { ...t3, query: this._createRequestQueryOptions(t3) });
+  }
+  async fetchPublishingStatus() {
+    if (!g(this.layer.url))
+      return "unavailable";
+    const e3 = G(this.layer.url, "status"), t3 = await U(e3, { query: { f: "json" } });
+    return j2.fromJSON(t3.data.status);
+  }
+  _createRequestQueryOptions(e3) {
+    const t3 = { ...this.layer.customParameters, token: this.layer.apiKey, ...e3 == null ? void 0 : e3.query };
+    return this.layer.datesInUnknownTimezone && (t3.timeReferenceUnknownClient = true), t3;
+  }
+  async _fetchService(e3, t3) {
+    if (!e3) {
+      const { data: a8 } = await U(this.layer.parsedUrl.path, this._getLayerRequestOptions({ query: has("featurelayer-advanced-symbols") ? { returnAdvancedSymbols: true } : {}, signal: t3 }));
+      e3 = a8;
+    }
+    this.sourceJSON = this._patchServiceJSON(e3);
+    const a7 = e3.type;
+    if (!S2.has(a7))
+      throw new s("feature-layer-source:unsupported-type", `Source type "${a7}" is not supported`);
+  }
+  _patchServiceJSON(e3) {
+    var _a;
+    if ("Table" !== e3.type && e3.geometryType && !((_a = e3 == null ? void 0 : e3.drawingInfo) == null ? void 0 : _a.renderer) && !e3.defaultSymbol) {
+      const t3 = o4(e3.geometryType).renderer;
+      o("drawingInfo.renderer", t3, e3);
+    }
+    return "esriGeometryMultiPatch" === e3.geometryType && e3.infoFor3D && (e3.geometryType = "mesh"), e3;
+  }
+  _serializeFeature(e3, t3) {
+    const { geometry: s8, attributes: a7 } = e3;
+    if (r(t3) && r(e3.geometry) && "mesh" === e3.geometry.type) {
+      const s9 = { ...a7 }, r4 = e3.geometry, o6 = r4.origin, i3 = r4.transform;
+      if (s9[t3.transformFieldRoles.originX] = o6.x, s9[t3.transformFieldRoles.originY] = o6.y, s9[t3.transformFieldRoles.originZ] = o6.z, r(i3)) {
+        const e4 = i3.translation, a8 = i3.scale, r5 = i3.rotation;
+        s9[t3.transformFieldRoles.translationX] = e4[0], s9[t3.transformFieldRoles.translationY] = e4[1], s9[t3.transformFieldRoles.translationZ] = e4[2], s9[t3.transformFieldRoles.scaleX] = a8[0], s9[t3.transformFieldRoles.scaleY] = a8[1], s9[t3.transformFieldRoles.scaleZ] = a8[2], s9[t3.transformFieldRoles.rotationX] = r5[0], s9[t3.transformFieldRoles.rotationY] = r5[1], s9[t3.transformFieldRoles.rotationZ] = r5[2], s9[t3.transformFieldRoles.rotationDeg] = r5[3];
+      }
+      return { geometry: null, attributes: s9 };
+    }
+    return t(s8) ? { attributes: a7 } : "mesh" === s8.type || "extent" === s8.type ? null : { geometry: s8.toJSON(), attributes: a7 };
+  }
+  async _serializeAttachment(e3) {
+    const { feature: t3, attachment: s8 } = e3, { globalId: a7, name: r4, contentType: o6, data: i3, uploadId: n8 } = s8, u3 = { globalId: a7, parentGlobalId: null, contentType: null, name: null, uploadId: null, data: null };
+    if (t3 && (u3.parentGlobalId = "attributes" in t3 ? t3.attributes && t3.attributes[this.layer.globalIdField] : t3.globalId), n8)
+      u3.uploadId = n8;
+    else if (i3) {
+      const e4 = await E2(i3);
+      u3.contentType = e4.mediaType, u3.data = e4.data, i3 instanceof File && (u3.name = i3.name);
+    }
+    return r4 && (u3.name = r4), o6 && (u3.contentType = o6), u3;
+  }
+  async _serializeAssetMapEditAndUploadAssets(e3, t3) {
+    const a7 = this.layer.url;
+    let o6 = null;
+    try {
+      const t4 = new Blob([e3.data], { type: e3.mimeType }), i4 = new FormData();
+      i4.append("f", "json"), i4.append("file", t4, `${e3.assetName}`);
+      const n9 = { body: i4, method: "post", responseType: "json" }, { data: u3 } = await U(`${a7}/uploads/upload`, n9);
+      if (!u3.success)
+        throw new s("feature-layer-source:upload-failure", "Expected upload to be successfull.");
+      o6 = { assetType: e3.assetType, assetUploadId: u3.item.itemID };
+    } catch (h2) {
+      o6 = null;
+    }
+    if (t(o6)) {
+      const t4 = await E2(new Blob([e3.data]));
+      if (!t4.isBase64)
+        throw new s("feature-layer-source:uploadAssets-failure", "Expected gltf data in base64 format after conversion.");
+      o6 = { assetType: e3.assetType, assetData: t4.data };
+    }
+    if (t(o6))
+      throw new s("feature-layer-source:uploadAssets-failure", "Unable to prepare uploadAsset request options.");
+    const i3 = { method: "post", query: { f: "json", assets: JSON.stringify([o6]) }, responseType: "json" }, n8 = await U(G(this.layer.parsedUrl.path, "uploadAssets"), i3);
+    if (1 !== n8.data.uploadResults.length || !n8.data.uploadResults[0].success)
+      throw new s("feature-layer-source:uploadAssets-failure", "Bad response.");
+    const l3 = n8.data.uploadResults[0].assetHash, d4 = [];
+    e3.flags & E.PROJECT_VERTICES && d4.push("PROJECT_VERTICES");
+    const c7 = { globalId: e3.assetMapGlobalId, parentGlobalId: e3.featureGlobalId, assetName: e3.assetName, assetHash: l3, flags: d4 };
+    return t3.set(e3.featureGlobalId, e3.feature), c7;
+  }
+  _getFeatureIds(e3, t3) {
+    const s8 = e3[0];
+    return s8 ? this._canUseGlobalIds(t3, e3) ? this._getGlobalIdsFromFeatureIdentifier(e3) : "objectId" in s8 ? this._getObjectIdsFromFeatureIdentifier(e3) : this._getIdsFromFeatures(e3) : [];
+  }
+  _getIdsFromFeatures(e3) {
+    const t3 = this.layer.objectIdField;
+    return e3.map((e4) => e4.attributes && e4.attributes[t3]);
+  }
+  _canUseGlobalIds(e3, t3) {
+    return e3 && "globalId" in t3[0];
+  }
+  _getObjectIdsFromFeatureIdentifier(e3) {
+    return e3.map((e4) => e4.objectId);
+  }
+  _getGlobalIdsFromFeatureIdentifier(e3) {
+    return e3.map((e4) => e4.globalId);
+  }
+  _createEditsResult(e3) {
+    const t3 = e3.data, { layerId: s8 } = this.layer, a7 = [];
+    let r4 = null;
+    if (Array.isArray(t3))
+      for (const n8 of t3)
+        a7.push({ id: n8.id, editedFeatures: n8.editedFeatures }), n8.id === s8 && (r4 = { addResults: n8.addResults, updateResults: n8.updateResults, deleteResults: n8.deleteResults, attachments: n8.attachments, editMoment: n8.editMoment });
+    else
+      r4 = t3;
+    const o6 = r4 == null ? void 0 : r4.attachments, i3 = { addFeatureResults: r4.addResults ? r4.addResults.map(this._createFeatureEditResult, this) : [], updateFeatureResults: r4.updateResults ? r4.updateResults.map(this._createFeatureEditResult, this) : [], deleteFeatureResults: r4.deleteResults ? r4.deleteResults.map(this._createFeatureEditResult, this) : [], addAttachmentResults: o6 && o6.addResults ? o6.addResults.map(this._createFeatureEditResult, this) : [], updateAttachmentResults: o6 && o6.updateResults ? o6.updateResults.map(this._createFeatureEditResult, this) : [], deleteAttachmentResults: o6 && o6.deleteResults ? o6.deleteResults.map(this._createFeatureEditResult, this) : [] };
+    if (r4.editMoment && (i3.editMoment = r4.editMoment), a7.length > 0) {
+      i3.editedFeatureResults = [];
+      for (const e4 of a7) {
+        const { adds: t4, updates: s9, deletes: a8, spatialReference: r5 } = e4.editedFeatures, o7 = r5 ? new k(r5) : null;
+        i3.editedFeatureResults.push({ layerId: e4.id, editedFeatures: { adds: (t4 == null ? void 0 : t4.map((e5) => this._createEditedFeature(e5, o7))) || [], updates: (s9 == null ? void 0 : s9.map((e5) => ({ original: this._createEditedFeature(e5[0], o7), current: this._createEditedFeature(e5[1], o7) }))) || [], deletes: (a8 == null ? void 0 : a8.map((e5) => this._createEditedFeature(e5, o7))) || [], spatialReference: o7 } });
+      }
+    }
+    return i3;
+  }
+  _createEditedFeature(e3, s8) {
+    return new g2({ attributes: e3.attributes, geometry: v({ ...e3.geometry, spatialReference: s8 }) });
+  }
+  _createFeatureEditResult(e3) {
+    const t3 = true === e3.success ? null : e3.error || { code: void 0, description: void 0 };
+    return { objectId: e3.objectId, globalId: e3.globalId, error: t3 ? new s("feature-layer-source:edit-failure", t3.description, { code: t3.code }) : null };
+  }
+  _createAttachmentErrorResult(e3, t3) {
+    const s8 = t3.details.messages && t3.details.messages[0] || t3.message, a7 = t3.details.httpStatus || t3.details.messageCode;
+    return { objectId: e3, globalId: null, error: new s("feature-layer-source:attachment-failure", s8, { code: a7 }) };
+  }
+  _getFormDataForAttachment(e3, t3) {
+    const s8 = e3 instanceof FormData ? e3 : e3 && e3.elements ? new FormData(e3) : null;
+    if (s8)
+      for (const a7 in t3) {
+        const e4 = t3[a7];
+        null != e4 && (s8.set ? s8.set(a7, e4) : s8.append(a7, e4));
+      }
+    return s8;
+  }
+  _getLayerRequestOptions(e3 = {}) {
+    const { parsedUrl: t3, gdbVersion: s8, dynamicDataSource: a7 } = this.layer;
+    return { ...e3, query: { gdbVersion: s8, layer: a7 ? JSON.stringify({ source: a7 }) : void 0, ...t3.query, f: "json", ...this._createRequestQueryOptions(e3) }, responseType: "json" };
+  }
+};
+e([y2()], T2.prototype, "type", void 0), e([y2({ constructOnly: true })], T2.prototype, "layer", void 0), e([y2({ readOnly: true })], T2.prototype, "queryTask", null), T2 = e([n("esri.layers.graphics.sources.FeatureLayerSource")], T2);
+var A = T2;
+export {
+  A as default
+};
+//# sourceMappingURL=FeatureLayerSource-HL2MNKHL.js.map

+ 0 - 0
node_modules/.vite/deps/FeatureLayerSource-7N3BYJYZ.js.map → node_modules/.vite/deps/FeatureLayerSource-HL2MNKHL.js.map


+ 0 - 142
node_modules/.vite/deps/FeatureLayerView2D-4F4JQTMI.js

@@ -1,142 +0,0 @@
-import {
-  B
-} from "./chunk-NHCPFH5Y.js";
-import "./chunk-XYIYXU3I.js";
-import "./chunk-T6DJ6UAT.js";
-import "./chunk-WOGDHLUJ.js";
-import "./chunk-YG7DNOY4.js";
-import "./chunk-KUAEOLV3.js";
-import "./chunk-ZLQP3WDC.js";
-import "./chunk-TE2TRGVU.js";
-import "./chunk-AIG57VB7.js";
-import "./chunk-6LE4RPMZ.js";
-import "./chunk-67RFR4NT.js";
-import "./chunk-WPDBODJM.js";
-import "./chunk-5IVP3KUS.js";
-import "./chunk-UCPKJYXN.js";
-import "./chunk-KFLNKWNF.js";
-import "./chunk-YQBYWPBD.js";
-import "./chunk-T2SKWJGU.js";
-import "./chunk-UO3LS2M5.js";
-import "./chunk-H2VOWDMO.js";
-import "./chunk-QISOH77W.js";
-import "./chunk-4HL6BBWO.js";
-import "./chunk-XO5VJRK4.js";
-import "./chunk-ST53DRNI.js";
-import "./chunk-3WXSWAUV.js";
-import "./chunk-27YO3FKC.js";
-import "./chunk-EQNT4A7P.js";
-import "./chunk-4OM3EX6P.js";
-import "./chunk-3OFVLRSL.js";
-import "./chunk-UMUHMVL4.js";
-import "./chunk-YFDOPEEZ.js";
-import "./chunk-IQBIGNPU.js";
-import "./chunk-JFSMKLAQ.js";
-import "./chunk-LXOC7SMQ.js";
-import "./chunk-OUUXJOLT.js";
-import "./chunk-NBKUI76A.js";
-import "./chunk-JEA4MMTV.js";
-import "./chunk-RG3AHHRL.js";
-import "./chunk-XHRNCFJT.js";
-import "./chunk-UDYHZLTE.js";
-import "./chunk-QC7NCR5N.js";
-import "./chunk-JQUWFKNU.js";
-import "./chunk-RWQH5X3O.js";
-import "./chunk-6334AFGG.js";
-import "./chunk-NLLFSKB2.js";
-import "./chunk-TFHLTN6F.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-S6EFEKAU.js";
-import "./chunk-OFTOCPN5.js";
-import "./chunk-TU7WVKU4.js";
-import "./chunk-JAUFBT5U.js";
-import "./chunk-ZOO4I2U4.js";
-import "./chunk-HZ2WKB3G.js";
-import "./chunk-3HCJD762.js";
-import "./chunk-RVCE264D.js";
-import "./chunk-HKJ7X3BD.js";
-import "./chunk-Y74D3LKQ.js";
-import "./chunk-PK4W65H4.js";
-import "./chunk-7C23ILQ4.js";
-import "./chunk-P6VVVEX6.js";
-import "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-IEU3AM37.js";
-import "./chunk-DLMAGHHC.js";
-import "./chunk-WD4J43GZ.js";
-import "./chunk-JOYXMSKE.js";
-import "./chunk-YZVAB3DF.js";
-import "./chunk-JLYTER4T.js";
-import "./chunk-ZSW35JPD.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-JGBXYDGB.js";
-import "./chunk-QEWF7QPH.js";
-import "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-FNA5GLRW.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TV3CFJQR.js";
-import "./chunk-TJV6ODRM.js";
-import "./chunk-GLSWDDR3.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-3OSQ6GXO.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-HWSWTWZD.js";
-import "./chunk-O6VYMEIX.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-export {
-  B as default
-};
-//# sourceMappingURL=FeatureLayerView2D-4F4JQTMI.js.map

+ 142 - 0
node_modules/.vite/deps/FeatureLayerView2D-A2GZH6N4.js

@@ -0,0 +1,142 @@
+import {
+  B
+} from "./chunk-YVPMEPS5.js";
+import "./chunk-RODWSCDL.js";
+import "./chunk-T6DJ6UAT.js";
+import "./chunk-MQOWDNF7.js";
+import "./chunk-ZOTXRPGC.js";
+import "./chunk-WOGDHLUJ.js";
+import "./chunk-2ZACOQZJ.js";
+import "./chunk-F2YXWZUP.js";
+import "./chunk-AIG57VB7.js";
+import "./chunk-ST53DRNI.js";
+import "./chunk-ADR6I4L4.js";
+import "./chunk-7EM3ZPV7.js";
+import "./chunk-WPDBODJM.js";
+import "./chunk-5IVP3KUS.js";
+import "./chunk-UCPKJYXN.js";
+import "./chunk-KFLNKWNF.js";
+import "./chunk-YQBYWPBD.js";
+import "./chunk-T2SKWJGU.js";
+import "./chunk-UO3LS2M5.js";
+import "./chunk-H2VOWDMO.js";
+import "./chunk-QISOH77W.js";
+import "./chunk-3WXSWAUV.js";
+import "./chunk-27YO3FKC.js";
+import "./chunk-EQNT4A7P.js";
+import "./chunk-4HL6BBWO.js";
+import "./chunk-XO5VJRK4.js";
+import "./chunk-4OM3EX6P.js";
+import "./chunk-3OFVLRSL.js";
+import "./chunk-AFVJXEUJ.js";
+import "./chunk-YFDOPEEZ.js";
+import "./chunk-IQBIGNPU.js";
+import "./chunk-VIUIPJ2T.js";
+import "./chunk-YW3ZWYRO.js";
+import "./chunk-7FZX4UI7.js";
+import "./chunk-IR3DRB65.js";
+import "./chunk-JEA4MMTV.js";
+import "./chunk-RG3AHHRL.js";
+import "./chunk-UDYHZLTE.js";
+import "./chunk-XHRNCFJT.js";
+import "./chunk-DGINNG7Z.js";
+import "./chunk-JQUWFKNU.js";
+import "./chunk-RWQH5X3O.js";
+import "./chunk-6334AFGG.js";
+import "./chunk-WFHIGLUK.js";
+import "./chunk-TFHLTN6F.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-FM5OVTDI.js";
+import "./chunk-OFTOCPN5.js";
+import "./chunk-TU7WVKU4.js";
+import "./chunk-2QIZS77U.js";
+import "./chunk-O2PIYIHJ.js";
+import "./chunk-HPD2S4QL.js";
+import "./chunk-3HCJD762.js";
+import "./chunk-GR4RKUNH.js";
+import "./chunk-LTQAWUCK.js";
+import "./chunk-W3SLJVWY.js";
+import "./chunk-PK4W65H4.js";
+import "./chunk-KJZ6SS3P.js";
+import "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import "./chunk-K6QDYFZU.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-4PNYPUDB.js";
+import "./chunk-RDMCXRET.js";
+import "./chunk-BQHWPTT7.js";
+import "./chunk-ZSW35JPD.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import "./chunk-BWATQC2Y.js";
+import "./chunk-KG45D2XL.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-3OSQ6GXO.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-HWSWTWZD.js";
+import "./chunk-O6VYMEIX.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+export {
+  B as default
+};
+//# sourceMappingURL=FeatureLayerView2D-A2GZH6N4.js.map

+ 0 - 0
node_modules/.vite/deps/FeatureLayerView2D-4F4JQTMI.js.map → node_modules/.vite/deps/FeatureLayerView2D-A2GZH6N4.js.map


+ 0 - 1084
node_modules/.vite/deps/FeatureServiceSnappingSourceWorker-ID2DKINZ.js

@@ -1,1084 +0,0 @@
-import {
-  o,
-  u as u2
-} from "./chunk-RDOYANC4.js";
-import {
-  Y
-} from "./chunk-FSIQKOJP.js";
-import "./chunk-OQSZOHTF.js";
-import "./chunk-OP2HNSVZ.js";
-import "./chunk-UVQJ7AVD.js";
-import "./chunk-DMVKVC5I.js";
-import "./chunk-Y7BZ6TKQ.js";
-import "./chunk-VEJPYAE4.js";
-import "./chunk-4GGDRIJK.js";
-import "./chunk-D5UVUJIX.js";
-import "./chunk-PZ7XDUL6.js";
-import "./chunk-ULSPZIPE.js";
-import "./chunk-UMUHMVL4.js";
-import "./chunk-FZSI6IGI.js";
-import {
-  S,
-  c as c4,
-  f as f3,
-  x as x2
-} from "./chunk-ISHZAVNR.js";
-import "./chunk-OXF7W4BJ.js";
-import {
-  a
-} from "./chunk-XJHQZ4NT.js";
-import "./chunk-CFVLY6NB.js";
-import "./chunk-B5O7N7PM.js";
-import "./chunk-KOKTANE6.js";
-import "./chunk-OKUFE7TO.js";
-import {
-  gt,
-  it,
-  lt
-} from "./chunk-JKFWEHNK.js";
-import "./chunk-IIAN3QNN.js";
-import "./chunk-P24XEEHY.js";
-import "./chunk-WOXHUQGM.js";
-import "./chunk-FMPQIGFA.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-SAJAEMIJ.js";
-import {
-  v
-} from "./chunk-JM5OVQAD.js";
-import {
-  c as c5,
-  s as s2,
-  t as t4
-} from "./chunk-OJ2HHY2O.js";
-import {
-  x
-} from "./chunk-WD4J43GZ.js";
-import "./chunk-JOYXMSKE.js";
-import {
-  g
-} from "./chunk-SZFMKPVM.js";
-import {
-  c as c3,
-  d as d2
-} from "./chunk-YZVAB3DF.js";
-import "./chunk-JLYTER4T.js";
-import {
-  e as e3
-} from "./chunk-CRHRHOXH.js";
-import "./chunk-JLSNMUQJ.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-PT62335L.js";
-import "./chunk-JGBXYDGB.js";
-import "./chunk-QEWF7QPH.js";
-import "./chunk-FNA5GLRW.js";
-import "./chunk-MCWCB5IY.js";
-import {
-  U,
-  j as j2,
-  l
-} from "./chunk-TJV6ODRM.js";
-import {
-  j as j3
-} from "./chunk-YLEVJ6UV.js";
-import {
-  t as t3
-} from "./chunk-U2WD23Z5.js";
-import {
-  r as r3,
-  x as x3
-} from "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import {
-  E,
-  c as c2,
-  f as f2,
-  u,
-  y as y3
-} from "./chunk-2H5MD622.js";
-import {
-  L
-} from "./chunk-3RSFVUKZ.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import {
-  d,
-  j
-} from "./chunk-2ZSOO377.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-GSSTTHIT.js";
-import {
-  n as n3
-} from "./chunk-IM3LVQXV.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import {
-  w2
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import {
-  k2 as k
-} from "./chunk-PQFTYGF5.js";
-import {
-  e,
-  m,
-  n2 as n,
-  n5 as n2,
-  t2,
-  y3 as y2
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import {
-  r as r2
-} from "./chunk-SQOPWYIT.js";
-import {
-  A,
-  f,
-  w
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s
-} from "./chunk-E5O6P5I2.js";
-import {
-  c,
-  y
-} from "./chunk-SPWQ3AWG.js";
-import {
-  i
-} from "./chunk-2TIUKVZN.js";
-import {
-  e as e2,
-  r,
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js
-function r4(e5 = false, t7) {
-  if (e5) {
-    const { elevationInfo: e6, alignPointsInFeatures: s4, spatialReference: n6 } = t7;
-    return new l2(e6, s4, n6);
-  }
-  return new c6();
-}
-var c6 = class {
-  async alignCandidates(e5, t7) {
-    return e5;
-  }
-  notifyElevationSourceChange() {
-  }
-};
-var h = 1024;
-var l2 = class {
-  constructor(t7, s4, n6) {
-    this._elevationInfo = t7, this._alignPointsInFeatures = s4, this.spatialReference = n6, this._alignmentsCache = new e3(h), this._cacheVersion = 0, this._metersPerVerticalUnit = L(n6);
-  }
-  async alignCandidates(e5, t7) {
-    const n6 = this._elevationInfo;
-    return r(n6) && "absolute-height" === n6.mode && !n6.featureExpressionInfo ? (this._alignAbsoluteElevationCandidates(e5, n6), e5) : this._alignComputedElevationCandidates(e5, t7);
-  }
-  notifyElevationSourceChange() {
-    this._alignmentsCache.clear(), this._cacheVersion++;
-  }
-  _alignAbsoluteElevationCandidates(e5, t7) {
-    const { offset: s4, unit: o4 } = t7;
-    if (t(s4))
-      return;
-    const i4 = s4 * (r3(o4 != null ? o4 : "meters") / this._metersPerVerticalUnit);
-    for (const n6 of e5)
-      switch (n6.type) {
-        case "edge":
-          n6.start.z += i4, n6.end.z += i4;
-          continue;
-        case "vertex":
-          n6.target.z += i4;
-          continue;
-      }
-  }
-  async _alignComputedElevationCandidates(e5, s4) {
-    const n6 = /* @__PURE__ */ new Map();
-    for (const o4 of e5)
-      r2(n6, o4.objectId, p).push(o4);
-    const [i4, a4, r8] = this._prepareQuery(n6), c9 = await this._alignPointsInFeatures(i4, s4);
-    f(s4);
-    if (r8 !== this._cacheVersion)
-      return this._alignComputedElevationCandidates(e5, s4);
-    this._applyCacheAndResponse(i4, c9, a4);
-    const { drapedObjectIds: h2, failedObjectIds: l3 } = c9, d4 = [];
-    for (const t7 of e5) {
-      const { objectId: e6 } = t7;
-      h2.has(e6) && "edge" === t7.type && (t7.draped = true), l3.has(e6) || d4.push(t7);
-    }
-    return d4;
-  }
-  _prepareQuery(e5) {
-    const t7 = [], s4 = [];
-    for (const [n6, o4] of e5) {
-      const e6 = [];
-      for (const t8 of o4)
-        this._addToQueriesOrCachedResult(n6, t8.target, e6, s4), "edge" === t8.type && (this._addToQueriesOrCachedResult(n6, t8.start, e6, s4), this._addToQueriesOrCachedResult(n6, t8.end, e6, s4));
-      0 !== e6.length && t7.push({ objectId: n6, points: e6 });
-    }
-    return [t7, s4, this._cacheVersion];
-  }
-  _addToQueriesOrCachedResult(e5, t7, n6, o4) {
-    const i4 = u3(e5, t7), a4 = this._alignmentsCache.get(i4);
-    r(a4) ? o4.push(new d3(t7, a4)) : n6.push(t7);
-  }
-  _applyCacheAndResponse(e5, { elevations: t7, drapedObjectIds: s4, failedObjectIds: n6 }, o4) {
-    for (const r8 of o4)
-      r8.apply();
-    let i4 = 0;
-    const a4 = this._alignmentsCache;
-    for (const { objectId: r8, points: c9 } of e5) {
-      if (n6.has(r8)) {
-        i4 += c9.length;
-        continue;
-      }
-      const e6 = !s4.has(r8);
-      for (const s5 of c9) {
-        const n7 = u3(r8, s5), o5 = t7[i4++];
-        s5.z = o5, e6 && a4.put(n7, o5, 1);
-      }
-    }
-  }
-};
-var d3 = class {
-  constructor(e5, t7) {
-    this.point = e5, this.z = t7;
-  }
-  apply() {
-    this.point.z = this.z;
-  }
-};
-function u3(e5, { x: t7, y: s4, z: n6 }) {
-  return `${e5}-${t7}-${s4}-${n6 != null ? n6 : 0}}`;
-}
-function p() {
-  return [];
-}
-
-// node_modules/@arcgis/core/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js
-var t5 = class {
-  filter(t7, n6) {
-    return n6;
-  }
-  notifyElevationSourceChange() {
-  }
-};
-var n4 = class {
-  filter(t7, n6) {
-    const { point: r8, distance: c9 } = t7, { z: i4 } = r8;
-    if (!(null != i4))
-      return n6;
-    if (0 === n6.length)
-      return n6;
-    const o4 = s3(c9), u5 = this._updateCandidatesTo3D(n6, r8, o4).filter(e4);
-    return u5.sort(a2), u5;
-  }
-  _updateCandidatesTo3D(t7, n6, e5) {
-    for (const r8 of t7)
-      switch (r8.type) {
-        case "edge":
-          c7(r8, n6, e5);
-          continue;
-        case "vertex":
-          o2(r8, n6, e5);
-          continue;
-      }
-    return t7;
-  }
-};
-function e4(t7) {
-  return t7.distance <= 1;
-}
-function r5(e5 = false) {
-  return e5 ? new n4() : new t5();
-}
-function c7(t7, n6, { x: e5, y: r8, z: c9 }) {
-  const { start: o4, end: s4, target: a4 } = t7;
-  t7.draped || i2(a4, n6, o4, s4);
-  const u5 = (n6.x - a4.x) / e5, d4 = (n6.y - a4.y) / r8, f4 = (n6.z - a4.z) / c9;
-  t7.distance = Math.sqrt(u5 * u5 + d4 * d4 + f4 * f4);
-}
-function i2(t7, n6, e5, r8) {
-  const c9 = r8.x - e5.x, i4 = r8.y - e5.y, o4 = r8.z - e5.z, s4 = c9 * c9 + i4 * i4 + o4 * o4, a4 = (n6.x - e5.x) * c9 + (n6.y - e5.y) * i4 + o4 * (n6.z - e5.z), u5 = Math.min(1, Math.max(0, a4 / s4)), d4 = e5.x + c9 * u5, f4 = e5.y + i4 * u5, x6 = e5.z + o4 * u5;
-  t7.x = d4, t7.y = f4, t7.z = x6;
-}
-function o2(t7, n6, { x: e5, y: r8, z: c9 }) {
-  const { target: i4 } = t7, o4 = (n6.x - i4.x) / e5, s4 = (n6.y - i4.y) / r8, a4 = (n6.z - i4.z) / c9, u5 = Math.sqrt(o4 * o4 + s4 * s4 + a4 * a4);
-  t7.distance = u5;
-}
-function s3(t7) {
-  return "number" == typeof t7 ? { x: t7, y: t7, z: t7 } : t7;
-}
-function a2(t7, n6) {
-  return t7.distance - n6.distance;
-}
-
-// node_modules/@arcgis/core/views/interactive/snapping/featureSources/symbologySnappingCandidates.js
-function n5(t7 = false, e5) {
-  return t7 ? new i3(e5) : new c8();
-}
-var c8 = class {
-  async fetch() {
-    return [];
-  }
-  notifySymbologyChange() {
-  }
-};
-var r6 = 1024;
-var i3 = class {
-  constructor(t7) {
-    this._getSymbologyCandidates = t7, this._candidatesCache = new e3(r6), this._cacheVersion = 0;
-  }
-  async fetch(e5, o4) {
-    if (0 === e5.length)
-      return [];
-    const n6 = [], c9 = [], r8 = this._candidatesCache;
-    for (const s4 of e5) {
-      const e6 = a3(s4), o5 = r8.get(e6);
-      if (o5)
-        for (const s5 of o5)
-          c9.push(y(s5));
-      else
-        n6.push(s4), r8.put(e6, [], 1);
-    }
-    if (0 === n6.length)
-      return c9;
-    const i4 = this._cacheVersion, { candidates: h2, sourceCandidateIndices: d4 } = await this._getSymbologyCandidates(n6, o4);
-    f(o4);
-    if (i4 !== this._cacheVersion)
-      return this.fetch(e5, o4);
-    const f4 = [], { length: g2 } = h2;
-    for (let s4 = 0; s4 < g2; ++s4) {
-      const e6 = h2[s4], o5 = a3(n6[d4[s4]]), c10 = r8.get(o5);
-      c10.push(e6), r8.put(o5, c10, c10.length), f4.push(y(e6));
-    }
-    return c9.concat(f4);
-  }
-  notifySymbologyChange() {
-    this._candidatesCache.clear(), this._cacheVersion++;
-  }
-};
-function a3(t7) {
-  var _a, _b, _c;
-  switch (t7.type) {
-    case "vertex": {
-      const { objectId: e5, target: s4 } = t7, n6 = `${e5}-vertex-${s4.x}-${s4.y}-${(_a = s4.z) != null ? _a : 0}`;
-      return c(n6).toString();
-    }
-    case "edge": {
-      const { objectId: e5, start: s4, end: n6 } = t7, c9 = `${e5}-edge-${s4.x}-${s4.y}-${(_b = s4.z) != null ? _b : 0}-to-${n6.x}-${n6.y}-${(_c = n6.z) != null ? _c : 0}`;
-      return c(c9).toString();
-    }
-    default:
-      return "";
-  }
-}
-
-// node_modules/@arcgis/core/core/AsyncSequence.js
-var r7 = class extends m {
-  constructor() {
-    super(...arguments), this.updating = false, this._pending = [];
-  }
-  push(s4, t7) {
-    this._pending.push({ promise: s4, callback: t7 }), 1 === this._pending.length && this._process();
-  }
-  _process() {
-    if (!this._pending.length)
-      return void (this.updating = false);
-    this.updating = true;
-    const s4 = this._pending[0];
-    s4.promise.then((t7) => s4.callback(t7)).catch(() => {
-    }).then(() => {
-      this._pending.shift(), this._process();
-    });
-  }
-};
-e([y2()], r7.prototype, "updating", void 0), r7 = e([n2("esri.core.AsyncSequence")], r7);
-
-// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/PendingFeatureTile.js
-var o3 = class {
-  constructor(t7, e5) {
-    this.data = t7, this.resolution = e5, this.state = { type: u4.CREATED }, this.alive = true;
-  }
-  process(t7) {
-    switch (this.state.type) {
-      case u4.CREATED:
-        return this.state = this._gotoFetchCount(this.state, t7), this.state.task.promise.then(t7.resume, t7.resume);
-      case u4.FETCH_COUNT:
-        break;
-      case u4.FETCHED_COUNT:
-        return this.state = this._gotoFetchFeatures(this.state, t7), this.state.task.promise.then(t7.resume, t7.resume);
-      case u4.FETCH_FEATURES:
-        break;
-      case u4.FETCHED_FEATURES:
-        this.state = this._goToDone(this.state, t7);
-      case u4.DONE:
-    }
-    return null;
-  }
-  get debugInfo() {
-    return { data: this.data, featureCount: this._featureCount, state: this._stateToString };
-  }
-  get _featureCount() {
-    switch (this.state.type) {
-      case u4.CREATED:
-      case u4.FETCH_COUNT:
-        return 0;
-      case u4.FETCHED_COUNT:
-        return this.state.featureCount;
-      case u4.FETCH_FEATURES:
-        return this.state.previous.featureCount;
-      case u4.FETCHED_FEATURES:
-        return this.state.features.length;
-      case u4.DONE:
-        return this.state.previous.features.length;
-    }
-  }
-  get _stateToString() {
-    switch (this.state.type) {
-      case u4.CREATED:
-        return "created";
-      case u4.FETCH_COUNT:
-        return "fetch-count";
-      case u4.FETCHED_COUNT:
-        return "fetched-count";
-      case u4.FETCH_FEATURES:
-        return "fetch-features";
-      case u4.FETCHED_FEATURES:
-        return "fetched-features";
-      case u4.DONE:
-        return "done";
-    }
-  }
-  _gotoFetchCount(s4, a4) {
-    return { type: u4.FETCH_COUNT, previous: s4, task: j(async (t7) => {
-      const s5 = await d(a4.fetchCount(this, t7));
-      this.state.type === u4.FETCH_COUNT && (this.state = this._gotoFetchedCount(this.state, s5.ok ? s5.value : 1 / 0));
-    }) };
-  }
-  _gotoFetchedCount(t7, e5) {
-    return { type: u4.FETCHED_COUNT, featureCount: e5, previous: t7 };
-  }
-  _gotoFetchFeatures(s4, a4) {
-    return { type: u4.FETCH_FEATURES, previous: s4, task: j(async (t7) => {
-      const r8 = await d(a4.fetchFeatures(this, s4.featureCount, t7));
-      this.state.type === u4.FETCH_FEATURES && (this.state = this._gotoFetchedFeatures(this.state, r8.ok ? r8.value : []));
-    }) };
-  }
-  _gotoFetchedFeatures(t7, e5) {
-    return { type: u4.FETCHED_FEATURES, previous: t7, features: e5 };
-  }
-  _goToDone(t7, e5) {
-    return e5.finish(this, t7.features), { type: u4.DONE, previous: t7 };
-  }
-  reset() {
-    const t7 = this.state;
-    switch (this.state = { type: u4.CREATED }, t7.type) {
-      case u4.CREATED:
-      case u4.FETCHED_COUNT:
-      case u4.FETCHED_FEATURES:
-      case u4.DONE:
-        break;
-      case u4.FETCH_COUNT:
-      case u4.FETCH_FEATURES:
-        t7.task.abort();
-    }
-  }
-  intersects(t7) {
-    return !(!t(t7) && this.data.extent) || (c2(t7, T), E(this.data.extent, T));
-  }
-};
-var u4;
-!function(t7) {
-  t7[t7.CREATED = 0] = "CREATED", t7[t7.FETCH_COUNT = 1] = "FETCH_COUNT", t7[t7.FETCHED_COUNT = 2] = "FETCHED_COUNT", t7[t7.FETCH_FEATURES = 3] = "FETCH_FEATURES", t7[t7.FETCHED_FEATURES = 4] = "FETCHED_FEATURES", t7[t7.DONE = 5] = "DONE";
-}(u4 || (u4 = {}));
-var T = u();
-
-// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js
-var C = class extends d2 {
-  constructor(e5) {
-    super(e5), this.tilesOfInterest = [], this.availability = 0, this._pendingTiles = /* @__PURE__ */ new Map(), this._pendingEdits = new r7(), this._pendingEditsAbortController = new AbortController();
-  }
-  get _minimumVerticesPerFeature() {
-    var _a;
-    switch ((_a = this.store) == null ? void 0 : _a.featureStore.geometryType) {
-      case "esriGeometryPoint":
-      case "esriGeometryMultipoint":
-        return 1;
-      case "esriGeometryPolygon":
-        return 4;
-      case "esriGeometryPolyline":
-        return 2;
-    }
-  }
-  set filter(e5) {
-    const t7 = this._get("filter"), i4 = this._filterProperties(e5);
-    JSON.stringify(t7) !== JSON.stringify(i4) && this._set("filter", i4);
-  }
-  set customParameters(e5) {
-    const t7 = this._get("customParameters");
-    JSON.stringify(t7) !== JSON.stringify(e5) && this._set("customParameters", e5);
-  }
-  get _configuration() {
-    return { filter: this.filter, customParameters: this.customParameters, tileInfo: this.tileInfo, tileSize: this.tileSize };
-  }
-  set tileInfo(e5) {
-    const t7 = this._get("tileInfo");
-    t7 !== e5 && (r(e5) && r(t7) && JSON.stringify(e5) === JSON.stringify(t7) || (this._set("tileInfo", e5), this.store.tileInfo = e5));
-  }
-  set tileSize(e5) {
-    this._get("tileSize") !== e5 && this._set("tileSize", e5);
-  }
-  get updating() {
-    return this.updatingExcludingEdits || this._pendingEdits.updating;
-  }
-  get updatingExcludingEdits() {
-    return this.updatingHandles.updating;
-  }
-  get hasZ() {
-    return this.store.featureStore.hasZ;
-  }
-  initialize() {
-    this._initializeFetchExtent(), this.updatingHandles.add(() => this._configuration, () => this.refresh()), this.updatingHandles.add(() => this.tilesOfInterest, (e5, i4) => {
-      i(e5, i4, ({ id: e6 }, { id: t7 }) => e6 === t7) || this._process();
-    }, U);
-  }
-  destroy() {
-    this._pendingTiles.forEach((e5) => this._deletePendingTile(e5)), this._pendingTiles.clear(), this.store.destroy(), this.tilesOfInterest.length = 0, this._pendingEditsAbortController.abort(), this._pendingEditsAbortController = null;
-  }
-  refresh() {
-    this.store.refresh(), this._pendingTiles.forEach((e5) => this._deletePendingTile(e5)), this._process();
-  }
-  applyEdits(e5) {
-    this._pendingEdits.push(e5, async (e6) => {
-      if (0 === e6.addedFeatures.length && 0 === e6.updatedFeatures.length && 0 === e6.deletedFeatures.length)
-        return;
-      for (const [, i4] of this._pendingTiles)
-        i4.reset();
-      const t7 = { ...e6, deletedFeatures: e6.deletedFeatures.map(({ objectId: e7, globalId: t8 }) => e7 && -1 !== e7 ? e7 : this._lookupObjectIdByGlobalId(t8)) };
-      await this.updatingHandles.addPromise(this.store.processEdits(t7, (e7, t8) => this._queryFeaturesById(e7, t8), this._pendingEditsAbortController.signal)), this._processPendingTiles();
-    });
-  }
-  _initializeFetchExtent() {
-    if (!this.capabilities.query.supportsExtent || !g(this.url))
-      return;
-    const e5 = j(async (e6) => {
-      var _a;
-      try {
-        const t7 = await x2(this.url, new x({ where: "1=1", outSpatialReference: this.spatialReference, cacheHint: !!this.capabilities.query.supportsCacheHint || void 0 }), { query: this._configuration.customParameters, signal: e6 });
-        this.store.extent = w2.fromJSON((_a = t7.data) == null ? void 0 : _a.extent);
-      } catch (t7) {
-        w(t7), s.getLogger(this.declaredClass).warn("Failed to fetch data extent", t7);
-      }
-    });
-    this.updatingHandles.addPromise(e5.promise.then(() => this._process())), this.handles.add(n(() => e5.abort()));
-  }
-  get debugInfo() {
-    return { numberOfFeatures: this.store.featureStore.numFeatures, tilesOfInterest: this.tilesOfInterest, pendingTiles: Array.from(this._pendingTiles.values()).map((e5) => e5.debugInfo), storedTiles: this.store.debugInfo };
-  }
-  _process() {
-    this._markTilesNotAlive(), this._createPendingTiles(), this._deletePendingTiles(), this._processPendingTiles();
-  }
-  _markTilesNotAlive() {
-    for (const [, e5] of this._pendingTiles)
-      e5.alive = false;
-  }
-  _createPendingTiles() {
-    const e5 = this._collectMissingTilesInfo();
-    if (this._setAvailability(t(e5) ? 1 : e5.coveredArea / e5.fullArea), !t(e5))
-      for (const { data: t7, resolution: i4 } of e5.missingTiles) {
-        const e6 = this._pendingTiles.get(t7.id);
-        e6 ? (e6.resolution = i4, e6.alive = true) : this._createPendingTile(t7, i4);
-      }
-  }
-  _collectMissingTilesInfo() {
-    let e5 = null;
-    for (let t7 = this.tilesOfInterest.length - 1; t7 >= 0; t7--) {
-      const i4 = this.tilesOfInterest[t7], s4 = this.store.process(i4, (e6, t8) => this._verifyTileComplexity(e6, t8));
-      t(e5) ? e5 = s4 : e5.prepend(s4);
-    }
-    return e5;
-  }
-  _deletePendingTiles() {
-    for (const [, e5] of this._pendingTiles)
-      e5.alive || this._deletePendingTile(e5);
-  }
-  _processPendingTiles() {
-    const e5 = { fetchCount: (e6, t7) => this._fetchCount(e6, t7), fetchFeatures: (e6, t7, i4) => this._fetchFeatures(e6, t7, i4), finish: (e6, t7) => this._finishPendingTile(e6, t7), resume: () => this._processPendingTiles() };
-    if (this._ensureFetchAllCounts(e5))
-      for (const [, t7] of this._pendingTiles)
-        this._verifyTileComplexity(this.store.getFeatureCount(t7.data), t7.resolution) && this.updatingHandles.addPromise(t7.process(e5));
-  }
-  _verifyTileComplexity(e5, t7) {
-    return this._verifyVertexComplexity(e5) && this._verifyFeatureDensity(e5, t7);
-  }
-  _verifyVertexComplexity(e5) {
-    return e5 * this._minimumVerticesPerFeature < x4;
-  }
-  _verifyFeatureDensity(e5, t7) {
-    if (t(this.tileInfo))
-      return false;
-    const i4 = this.tileSize * t7;
-    return e5 * (j4 / (i4 * i4)) < w3;
-  }
-  _ensureFetchAllCounts(e5) {
-    let t7 = true;
-    for (const [, i4] of this._pendingTiles)
-      i4.state.type < u4.FETCHED_COUNT && this.updatingHandles.addPromise(i4.process(e5)), i4.state.type <= u4.FETCH_COUNT && (t7 = false);
-    return t7;
-  }
-  _finishPendingTile(e5, t7) {
-    this.store.add(e5.data, t7), this._deletePendingTile(e5), this._updateAvailability();
-  }
-  _updateAvailability() {
-    const e5 = this._collectMissingTilesInfo();
-    this._setAvailability(t(e5) ? 1 : e5.coveredArea / e5.fullArea);
-  }
-  _setAvailability(e5) {
-    this._set("availability", e5);
-  }
-  _createPendingTile(e5, t7) {
-    const i4 = new o3(e5, t7);
-    return this._pendingTiles.set(e5.id, i4), i4;
-  }
-  _deletePendingTile(e5) {
-    e5.reset(), this._pendingTiles.delete(e5.data.id);
-  }
-  async _fetchCount(e5, t7) {
-    return this.store.fetchCount(e5.data, this.url, this._createCountQuery(e5), { query: this.customParameters, timeout: S2, signal: t7 });
-  }
-  async _fetchFeatures(e5, t7, i4) {
-    let s4, r8 = 0, o4 = 0, n6 = t7;
-    for (; ; ) {
-      const a4 = this._createFeaturesQuery(e5), l3 = this._setPagingParameters(a4, r8, n6), { features: c9, exceededTransferLimit: d4 } = await this._queryFeatures(a4, i4);
-      if (l3 && (r8 += e2(a4.num)), o4 += c9.length, s4 = s4 ? s4.concat(c9) : c9, n6 = t7 - o4, !l3 || !d4 || n6 <= 0)
-        return s4;
-    }
-  }
-  _filterProperties(e5) {
-    return t(e5) ? { where: "1=1", gdbVersion: void 0, timeExtent: void 0 } : { where: e5.where || "1=1", timeExtent: e5.timeExtent, gdbVersion: e5.gdbVersion };
-  }
-  _lookupObjectIdByGlobalId(e5) {
-    const t7 = this.globalIdField, i4 = this.objectIdField;
-    if (t(t7))
-      throw new Error("Expected globalIdField to be defined");
-    let s4 = null;
-    if (this.store.featureStore.forEach((r8) => {
-      var _a;
-      e5 === r8.attributes[t7] && (s4 = (_a = r8.objectId) != null ? _a : r8.attributes[i4]);
-    }), t(s4))
-      throw new Error(`Expected to find a feature with globalId ${e5}`);
-    return s4;
-  }
-  _queryFeaturesById(e5, t7) {
-    const i4 = this._createFeaturesQuery();
-    return i4.objectIds = e5, this._queryFeatures(i4, t7);
-  }
-  _queryFeatures(e5, t7) {
-    return this.capabilities.query.supportsFormatPBF ? this._queryFeaturesPBF(e5, t7) : this._queryFeaturesJSON(e5, t7);
-  }
-  async _queryFeaturesPBF(e5, t7) {
-    const { sourceSpatialReference: i4 } = this, { data: s4 } = await f3(this.url, e5, new a({ sourceSpatialReference: i4 }), { query: this._configuration.customParameters, timeout: S2, signal: t7 });
-    return it(s4);
-  }
-  async _queryFeaturesJSON(e5, t7) {
-    const { sourceSpatialReference: i4 } = this, { data: s4 } = await c4(this.url, e5, i4, { query: this._configuration.customParameters, timeout: S2, signal: t7 });
-    return lt(s4, this.objectIdField);
-  }
-  _createCountQuery(e5) {
-    const t7 = this._createBaseQuery(e5);
-    return this.capabilities.query.supportsCacheHint && (t7.cacheHint = true), t7;
-  }
-  _createFeaturesQuery(e5 = null) {
-    const t7 = this._createBaseQuery(e5);
-    return t7.outFields = this.globalIdField ? [this.globalIdField, this.objectIdField] : [this.objectIdField], t7.returnGeometry = true, r(e5) && (this.capabilities.query.supportsResultType ? t7.resultType = "tile" : this.capabilities.query.supportsCacheHint && (t7.cacheHint = true)), t7;
-  }
-  _createBaseQuery(e5) {
-    const t7 = new x({ returnZ: this.hasZ, returnM: false, geometry: r(this.tileInfo) && r(e5) ? f2(e5.data.extent, this.tileInfo.spatialReference) : void 0 }), i4 = this._configuration.filter;
-    return r(i4) && (t7.where = i4.where, t7.gdbVersion = i4.gdbVersion, t7.timeExtent = i4.timeExtent), t7.outSpatialReference = this.spatialReference, t7;
-  }
-  _setPagingParameters(e5, t7, i4) {
-    if (!this.capabilities.query.supportsPagination)
-      return false;
-    const { supportsMaxRecordCountFactor: s4, supportsCacheHint: r8, tileMaxRecordCount: o4, maxRecordCount: n6, supportsResultType: a4 } = this.capabilities.query, l3 = s4 ? x.MAX_MAX_RECORD_COUNT_FACTOR : 1, u5 = l3 * ((a4 || r8) && o4 ? o4 : n6 || E2);
-    return e5.start = t7, s4 ? (e5.maxRecordCountFactor = Math.min(l3, Math.ceil(i4 / u5)), e5.num = Math.min(i4, e5.maxRecordCountFactor * u5)) : e5.num = Math.min(i4, u5), true;
-  }
-};
-e([y2({ constructOnly: true })], C.prototype, "url", void 0), e([y2({ constructOnly: true })], C.prototype, "objectIdField", void 0), e([y2({ constructOnly: true })], C.prototype, "globalIdField", void 0), e([y2({ constructOnly: true })], C.prototype, "capabilities", void 0), e([y2({ constructOnly: true })], C.prototype, "sourceSpatialReference", void 0), e([y2({ constructOnly: true })], C.prototype, "spatialReference", void 0), e([y2({ constructOnly: true })], C.prototype, "store", void 0), e([y2({ readOnly: true })], C.prototype, "_minimumVerticesPerFeature", null), e([y2()], C.prototype, "filter", null), e([y2()], C.prototype, "customParameters", null), e([y2({ readOnly: true })], C.prototype, "_configuration", null), e([y2()], C.prototype, "tileInfo", null), e([y2()], C.prototype, "tileSize", null), e([y2()], C.prototype, "tilesOfInterest", void 0), e([y2({ readOnly: true })], C.prototype, "updating", null), e([y2({ readOnly: true })], C.prototype, "updatingExcludingEdits", null), e([y2({ readOnly: true })], C.prototype, "availability", void 0), e([y2()], C.prototype, "hasZ", null), C = e([n2("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTiledFetcher")], C);
-var E2 = 2e3;
-var S2 = 6e5;
-var x4 = 1e6;
-var j4 = 25;
-var w3 = 1;
-
-// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTileCache.js
-var t6 = class {
-  constructor() {
-    this._store = /* @__PURE__ */ new Map(), this._byteSize = 0;
-  }
-  set(t7, e5) {
-    this.delete(t7), this._store.set(t7, e5), this._byteSize += e5.byteSize;
-  }
-  delete(t7) {
-    const e5 = this._store.get(t7);
-    return !!this._store.delete(t7) && (null != e5 && (this._byteSize -= e5.byteSize), true);
-  }
-  get(t7) {
-    return this._used(t7), this._store.get(t7);
-  }
-  has(t7) {
-    return this._used(t7), this._store.has(t7);
-  }
-  clear() {
-    this._store.clear();
-  }
-  applyByteSizeLimit(t7, e5) {
-    for (const [s4, r8] of this._store) {
-      if (this._byteSize <= t7)
-        break;
-      this.delete(s4), e5(r8);
-    }
-  }
-  values() {
-    return this._store.values();
-  }
-  [Symbol.iterator]() {
-    return this._store[Symbol.iterator]();
-  }
-  _used(t7) {
-    const e5 = this._store.get(t7);
-    e5 && (this._store.delete(t7), this._store.set(t7, e5));
-  }
-};
-
-// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTileStore.js
-var v2 = class extends m {
-  constructor(e5) {
-    super(e5), this.tileInfo = null, this.extent = null, this.maximumByteSize = 10 * s2.MEGABYTES, this._tileBounds = new o(), this._tiles = new t6(), this._refCounts = /* @__PURE__ */ new Map(), this._tileFeatureCounts = /* @__PURE__ */ new Map(), this._tmpBoundingRect = u();
-  }
-  add(e5, t7) {
-    const s4 = [];
-    for (const i4 of t7)
-      this._referenceFeature(i4.objectId) === x5.ADDED && s4.push(i4);
-    this._addTileStorage(e5, new Set(t7.map(({ objectId: e6 }) => e6)), C2(t7)), this.featureStore.addMany(s4), this._tiles.applyByteSizeLimit(this.maximumByteSize, (e6) => this._removeTileStorage(e6));
-  }
-  destroy() {
-    this.clear(), this._tileFeatureCounts.clear();
-  }
-  clear() {
-    this.featureStore.clear(), this._tileBounds.clear(), this._tiles.clear(), this._refCounts.clear();
-  }
-  refresh() {
-    this.clear(), this._tileFeatureCounts.clear();
-  }
-  processEdits(e5, t7, s4) {
-    return this._processEditsDelete(e5.deletedFeatures.concat(e5.updatedFeatures)), this._processEditsRefetch(e5.addedFeatures.concat(e5.updatedFeatures), t7, s4);
-  }
-  _addTileStorage(e5, t7, s4) {
-    this._tiles.set(e5.id, new T2(e5, t7, s4)), this._tileBounds.set(e5.id, e5.extent), this._tileFeatureCounts.set(e5.id, t7.size);
-  }
-  _remove({ id: e5 }) {
-    const t7 = this._tiles.get(e5);
-    t7 && this._removeTileStorage(t7);
-  }
-  _removeTileStorage(e5) {
-    const t7 = [];
-    for (const i4 of e5.objectIds)
-      this._unreferenceFeature(i4) === x5.REMOVED && t7.push(i4);
-    this.featureStore.removeManyById(t7);
-    const s4 = e5.data.id;
-    this._tiles.delete(s4), this._tileBounds.delete(s4);
-  }
-  _processEditsDelete(e5) {
-    this.featureStore.removeManyById(e5);
-    for (const [, t7] of this._tiles) {
-      for (const s4 of e5)
-        t7.objectIds.delete(s4);
-      this._tileFeatureCounts.set(t7.data.id, t7.objectIds.size);
-    }
-    for (const t7 of e5)
-      this._refCounts.delete(t7);
-  }
-  async _processEditsRefetch(e5, t7, s4) {
-    const i4 = (await t7(e5, s4)).features, { hasZ: r8, hasM: n6 } = this.featureStore;
-    for (const l3 of i4) {
-      const e6 = gt(this._tmpBoundingRect, l3.geometry, r8, n6);
-      t(e6) || this._tileBounds.forEachInBounds(e6, (e7) => {
-        const t8 = this._tiles.get(e7);
-        this.featureStore.add(l3), t8.objectIds.has(l3.objectId) || (t8.objectIds.add(l3.objectId), this._referenceFeature(l3.objectId), this._tileFeatureCounts.set(t8.data.id, t8.objectIds.size));
-      });
-    }
-  }
-  process(e5, t7 = () => true) {
-    if (t(this.tileInfo) || !e5.extent || r(this.extent) && !E(c2(this.extent, this._tmpBoundingRect), e5.extent))
-      return new j5(e5);
-    if (this._tiles.has(e5.id))
-      return new j5(e5);
-    const s4 = this._createTileTree(e5, this.tileInfo);
-    return this._simplify(s4, t7, null, 0, 1), this._collectMissingTiles(e5, s4, this.tileInfo);
-  }
-  get debugInfo() {
-    return Array.from(this._tiles.values()).map(({ data: e5 }) => ({ data: e5, featureCount: this._tileFeatureCounts.get(e5.id) || 0 }));
-  }
-  getFeatureCount(e5) {
-    var _a;
-    return (_a = this._tileFeatureCounts.get(e5.id)) != null ? _a : 0;
-  }
-  async fetchCount(e5, t7, s4, i4) {
-    const r8 = this._tileFeatureCounts.get(e5.id);
-    if (null != r8)
-      return r8;
-    const o4 = await S(t7, s4, i4);
-    return this._tileFeatureCounts.set(e5.id, o4.data.count), o4.data.count;
-  }
-  _createTileTree(e5, t7) {
-    const s4 = new I(e5.level, e5.row, e5.col);
-    return t7.updateTileInfo(s4, j3.ExtrapolateOptions.POWER_OF_TWO), this._tileBounds.forEachInBounds(e5.extent, (i4) => {
-      const r8 = this._tiles.get(i4).data;
-      this._tilesAreRelated(e5, r8) && this._populateChildren(s4, r8, t7, this._tileFeatureCounts.get(r8.id) || 0);
-    }), s4;
-  }
-  _tilesAreRelated(e5, t7) {
-    if (!e5 || !t7)
-      return false;
-    if (e5.level === t7.level)
-      return e5.row === t7.row && e5.col === t7.col;
-    const s4 = e5.level < t7.level, i4 = s4 ? e5 : t7, r8 = s4 ? t7 : e5, o4 = 1 << r8.level - i4.level;
-    return Math.floor(r8.row / o4) === i4.row && Math.floor(r8.col / o4) === i4.col;
-  }
-  _populateChildren(e5, t7, s4, i4) {
-    const r8 = t7.level - e5.level - 1;
-    if (r8 < 0)
-      return void (e5.isLeaf = true);
-    const o4 = t7.row >> r8, l3 = t7.col >> r8, a4 = e5.row << 1, c9 = l3 - (e5.col << 1) + (o4 - a4 << 1), h2 = e5.children[c9];
-    if (r(h2))
-      this._populateChildren(h2, t7, s4, i4);
-    else {
-      const r9 = new I(e5.level + 1, o4, l3);
-      s4.updateTileInfo(r9, j3.ExtrapolateOptions.POWER_OF_TWO), e5.children[c9] = r9, this._populateChildren(r9, t7, s4, i4);
-    }
-  }
-  _simplify(e5, t7, s4, i4, r8) {
-    const o4 = r8 * r8;
-    if (e5.isLeaf)
-      return t7(this.getFeatureCount(e5), r8) ? 0 : (this._remove(e5), r(s4) && (s4.children[i4] = null), o4);
-    const l3 = r8 / 2, a4 = l3 * l3;
-    let c9 = 0;
-    for (let h2 = 0; h2 < e5.children.length; h2++) {
-      const s5 = e5.children[h2];
-      c9 += r(s5) ? this._simplify(s5, t7, e5, h2, l3) : a4;
-    }
-    return 0 === c9 ? this._mergeChildren(e5) : 1 - c9 / o4 < w4 && (this._purge(e5), r(s4) && (s4.children[i4] = null), c9 = o4), c9;
-  }
-  _mergeChildren(e5) {
-    const t7 = /* @__PURE__ */ new Set();
-    let s4 = 0;
-    this._forEachLeaf(e5, (e6) => {
-      const i4 = this._tiles.get(e6.id);
-      if (i4) {
-        s4 += i4.byteSize;
-        for (const e7 of i4.objectIds)
-          t7.has(e7) || (t7.add(e7), this._referenceFeature(e7));
-        this._remove(e6);
-      }
-    }), this._addTileStorage(e5, t7, s4), e5.isLeaf = true, e5.children[0] = e5.children[1] = e5.children[2] = e5.children[3] = null, this._tileFeatureCounts.set(e5.id, t7.size);
-  }
-  _forEachLeaf(e5, t7) {
-    for (const s4 of e5.children)
-      t(s4) || (s4.isLeaf ? t7(s4) : this._forEachLeaf(s4, t7));
-  }
-  _purge(e5) {
-    if (!t(e5))
-      if (e5.isLeaf)
-        this._remove(e5);
-      else
-        for (let t7 = 0; t7 < e5.children.length; t7++) {
-          const s4 = e5.children[t7];
-          this._purge(s4), e5.children[t7] = null;
-        }
-  }
-  _collectMissingTiles(e5, t7, s4) {
-    const i4 = new F(s4, e5, this.extent);
-    return this._collectMissingTilesRecurse(t7, i4, 1), i4.info;
-  }
-  _collectMissingTilesRecurse(e5, t7, s4) {
-    if (e5.isLeaf)
-      return;
-    if (!e5.hasChildren)
-      return void t7.addMissing(e5.level, e5.row, e5.col, s4);
-    const i4 = s4 / 2;
-    for (let r8 = 0; r8 < e5.children.length; r8++) {
-      const s5 = e5.children[r8];
-      t(s5) ? t7.addMissing(e5.level + 1, (e5.row << 1) + ((2 & r8) >> 1), (e5.col << 1) + (1 & r8), i4) : this._collectMissingTilesRecurse(s5, t7, i4);
-    }
-  }
-  _referenceFeature(e5) {
-    const t7 = (this._refCounts.get(e5) || 0) + 1;
-    return this._refCounts.set(e5, t7), 1 === t7 ? x5.ADDED : x5.UNCHANGED;
-  }
-  _unreferenceFeature(e5) {
-    const t7 = (this._refCounts.get(e5) || 0) - 1;
-    return 0 === t7 ? (this._refCounts.delete(e5), x5.REMOVED) : (t7 > 0 && this._refCounts.set(e5, t7), x5.UNCHANGED);
-  }
-  get test() {
-    return { tiles: Array.from(this._tiles.values()).map((e5) => `${e5.data.id}:[${Array.from(e5.objectIds)}]`), featureReferences: Array.from(this._refCounts.keys()).map((e5) => `${e5}:${this._refCounts.get(e5)}`) };
-  }
-};
-function C2(e5) {
-  return e5.reduce((e6, t7) => e6 + E3(t7), 0);
-}
-function E3(e5) {
-  return 32 + S3(e5.geometry) + t4(e5.attributes);
-}
-function S3(e5) {
-  if (t(e5))
-    return 0;
-  const t7 = c5(e5.lengths, 4);
-  return 32 + c5(e5.coords, 8) + t7;
-}
-e([y2({ constructOnly: true })], v2.prototype, "featureStore", void 0), e([y2()], v2.prototype, "tileInfo", void 0), e([y2()], v2.prototype, "extent", void 0), e([y2()], v2.prototype, "maximumByteSize", void 0), v2 = e([n2("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTileStore")], v2);
-var T2 = class {
-  constructor(e5, t7, s4) {
-    this.data = e5, this.objectIds = t7, this.byteSize = s4;
-  }
-};
-var I = class {
-  constructor(e5, t7, s4) {
-    this.level = e5, this.row = t7, this.col = s4, this.isLeaf = false, this.extent = null, this.children = [null, null, null, null];
-  }
-  get hasChildren() {
-    return !this.isLeaf && (r(this.children[0]) || r(this.children[1]) || r(this.children[2]) || r(this.children[3]));
-  }
-};
-var j5 = class {
-  constructor(e5, t7 = []) {
-    this.missingTiles = t7, this.fullArea = 0, this.coveredArea = 0, this.fullArea = y3(e5.extent), this.coveredArea = this.fullArea;
-  }
-  prepend(e5) {
-    this.missingTiles = e5.missingTiles.concat(this.missingTiles), this.coveredArea += e5.coveredArea, this.fullArea += e5.fullArea;
-  }
-};
-var F = class {
-  constructor(e5, t7, s4) {
-    this._tileInfo = e5, this._extent = null, this.info = new j5(t7), r(s4) && (this._extent = c2(s4));
-  }
-  addMissing(e5, t7, s4, i4) {
-    const r8 = new t3(null, e5, t7, s4);
-    this._tileInfo.updateTileInfo(r8, j3.ExtrapolateOptions.POWER_OF_TWO), t(r8.extent) || r(this._extent) && !E(this._extent, r8.extent) || (this.info.missingTiles.push({ data: r8, resolution: i4 }), this.info.coveredArea -= y3(r8.extent));
-  }
-};
-var w4 = 0.18751;
-var x5;
-!function(e5) {
-  e5[e5.ADDED = 0] = "ADDED", e5[e5.REMOVED = 1] = "REMOVED", e5[e5.UNCHANGED = 2] = "UNCHANGED";
-}(x5 || (x5 = {}));
-
-// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceSnappingSourceWorker.js
-var E4 = class extends n3.EventedAccessor {
-  constructor() {
-    super(...arguments), this._isInitializing = true, this.remoteClient = null, this._whenSetup = A(), this._elevationAligner = r4(), this._elevationFilter = r5(), this._symbologyCandidatesFetcher = n5(), this._handles = new t2(), this._updatingHandles = new c3(), this._editsUpdatingHandles = new c3(), this._pendingApplyEdits = /* @__PURE__ */ new Map(), this._alignPointsInFeatures = async (e5, t7) => {
-      const i4 = { points: e5 }, s4 = await this.remoteClient.invoke("alignElevation", i4, { signal: t7 });
-      return f(t7), s4;
-    }, this._getSymbologyCandidates = async (e5, t7) => {
-      const i4 = { candidates: e5, spatialReference: this._spatialReference.toJSON() }, s4 = await this.remoteClient.invoke("getSymbologyCandidates", i4, { signal: t7 });
-      return f(t7), s4;
-    };
-  }
-  get updating() {
-    return this.updatingExcludingEdits || this._editsUpdatingHandles.updating || this._featureFetcher.updating;
-  }
-  get updatingExcludingEdits() {
-    return this._featureFetcher.updatingExcludingEdits || this._isInitializing || this._updatingHandles.updating;
-  }
-  destroy() {
-    this._featureFetcher.destroy(), this._queryEngine.destroy(), this._featureStore.clear(), this._handles.destroy();
-  }
-  async setup(e5) {
-    const { geometryType: t7, objectIdField: i4, timeInfo: r8, fields: n6 } = e5.serviceInfo, { hasZ: o4 } = e5, p2 = k.fromJSON(e5.spatialReference);
-    this._spatialReference = p2, this._featureStore = new u2({ ...e5.serviceInfo, hasZ: o4, hasM: false }), this._queryEngine = new Y({ spatialReference: e5.spatialReference, featureStore: this._featureStore, geometryType: t7, fields: n6, hasZ: o4, hasM: false, objectIdField: i4, timeInfo: r8 ? v.fromJSON(r8) : null }), this._featureFetcher = new C({ store: new v2({ featureStore: this._featureStore }), url: e5.serviceInfo.url, objectIdField: e5.serviceInfo.objectIdField, globalIdField: e5.serviceInfo.globalIdField, capabilities: e5.serviceInfo.capabilities, spatialReference: p2, sourceSpatialReference: k.fromJSON(e5.serviceInfo.spatialReference) });
-    const d4 = "3d" === e5.configuration.viewType;
-    return this._elevationAligner = r4(d4, { elevationInfo: r(e5.elevationInfo) ? x3.fromJSON(e5.elevationInfo) : null, alignPointsInFeatures: this._alignPointsInFeatures, spatialReference: p2 }), this._elevationFilter = r5(d4), this._handles.add([l(() => this._featureFetcher.availability, (e6) => this.emit("notify-availability", { availability: e6 }), U), l(() => this.updating, () => this._notifyUpdating())]), this._whenSetup.resolve(), this._isInitializing = false, this.configure(e5.configuration);
-  }
-  async configure(e5) {
-    return await this._updatingHandles.addPromise(this._whenSetup.promise), this._updateFeatureFetcherConfiguration(e5), { result: {} };
-  }
-  async fetchCandidates(e5, t7) {
-    await this._whenSetup.promise, f(t7);
-    const i4 = j6(e5), r8 = r(t7) ? t7.signal : null, a4 = await this._queryEngine.executeQueryForSnapping(i4, r8);
-    f(r8);
-    const o4 = await this._elevationAligner.alignCandidates(a4.candidates, r8);
-    f(r8);
-    const l3 = await this._symbologyCandidatesFetcher.fetch(o4, r8);
-    f(r8);
-    const p2 = 0 === l3.length ? o4 : o4.concat(l3);
-    return { result: { candidates: this._elevationFilter.filter(i4, p2) } };
-  }
-  async updateTiles(e5, t7) {
-    return await this._updatingHandles.addPromise(this._whenSetup.promise), f(t7), this._featureFetcher.tileSize = e5.tileSize, this._featureFetcher.tilesOfInterest = e5.tiles, this._featureFetcher.tileInfo = r(e5.tileInfo) ? j3.fromJSON(e5.tileInfo) : null, C3;
-  }
-  async refresh(e5, t7) {
-    return await this._updatingHandles.addPromise(this._whenSetup.promise), f(t7), this._featureFetcher.refresh(), C3;
-  }
-  async whenNotUpdating(e5, t7) {
-    return await this._updatingHandles.addPromise(this._whenSetup.promise), f(t7), await j2(() => !this.updatingExcludingEdits, t7), f(t7), C3;
-  }
-  async getDebugInfo(e5, t7) {
-    return f(t7), { result: this._featureFetcher.debugInfo };
-  }
-  async beginApplyEdits(e5, t7) {
-    this._updatingHandles.addPromise(this._whenSetup.promise), f(t7);
-    const i4 = A();
-    return this._pendingApplyEdits.set(e5.id, i4), this._featureFetcher.applyEdits(i4.promise), this._editsUpdatingHandles.addPromise(i4.promise), C3;
-  }
-  async endApplyEdits(e5, t7) {
-    const i4 = this._pendingApplyEdits.get(e5.id);
-    return i4 && i4.resolve(e5.edits), f(t7), C3;
-  }
-  async notifyElevationSourceChange(e5, t7) {
-    return this._elevationAligner.notifyElevationSourceChange(), C3;
-  }
-  async notifySymbologyChange(e5, t7) {
-    return C3;
-  }
-  async setSymbologySnappingSupported(e5) {
-    return this._symbologyCandidatesFetcher = n5(e5, this._getSymbologyCandidates), C3;
-  }
-  _updateFeatureFetcherConfiguration(e5) {
-    this._featureFetcher.filter = r(e5.filter) ? x.fromJSON(e5.filter) : null, this._featureFetcher.customParameters = e5.customParameters;
-  }
-  _notifyUpdating() {
-    this.emit("notify-updating", { updating: this.updating });
-  }
-};
-e([y2({ readOnly: true })], E4.prototype, "updating", null), e([y2({ readOnly: true })], E4.prototype, "updatingExcludingEdits", null), e([y2()], E4.prototype, "_isInitializing", void 0), E4 = e([n2("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceSnappingSourceWorker")], E4);
-var b = E4;
-function j6(e5) {
-  return { point: e5.point, distance: e5.distance, types: e5.types, query: r(e5.filter) ? e5.filter : { where: "1=1" } };
-}
-var C3 = { result: {} };
-export {
-  b as default
-};
-//# sourceMappingURL=FeatureServiceSnappingSourceWorker-ID2DKINZ.js.map

+ 1084 - 0
node_modules/.vite/deps/FeatureServiceSnappingSourceWorker-MVB6ESH2.js

@@ -0,0 +1,1084 @@
+import {
+  o,
+  u as u2
+} from "./chunk-5X5UDWFV.js";
+import {
+  Y
+} from "./chunk-3EZOER4E.js";
+import "./chunk-XCIRV7CO.js";
+import "./chunk-DMVKVC5I.js";
+import "./chunk-EL3V6S4N.js";
+import "./chunk-NFN2M2QU.js";
+import "./chunk-3ZJXLJLL.js";
+import "./chunk-OP2HNSVZ.js";
+import "./chunk-4GGDRIJK.js";
+import "./chunk-MZG75XMA.js";
+import "./chunk-REMBDESU.js";
+import "./chunk-CKZZYAPN.js";
+import "./chunk-AFVJXEUJ.js";
+import "./chunk-FZSI6IGI.js";
+import "./chunk-SJGY5U4Q.js";
+import "./chunk-27XWQUQA.js";
+import "./chunk-NX2NCBAF.js";
+import {
+  gt,
+  it,
+  lt
+} from "./chunk-4VZNS7N2.js";
+import "./chunk-IIAN3QNN.js";
+import "./chunk-VYQHMPYW.js";
+import {
+  S,
+  c as c4,
+  f as f3,
+  x as x2
+} from "./chunk-BA3WIOU6.js";
+import "./chunk-KAB3V7FU.js";
+import {
+  a
+} from "./chunk-O53KL66E.js";
+import "./chunk-CFVLY6NB.js";
+import "./chunk-WXUHXYJK.js";
+import "./chunk-NTERQTPO.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-SOSOZIX6.js";
+import {
+  v
+} from "./chunk-VICJMAP2.js";
+import {
+  c as c5,
+  s as s2,
+  t as t4
+} from "./chunk-OJ2HHY2O.js";
+import {
+  g
+} from "./chunk-SZFMKPVM.js";
+import {
+  x
+} from "./chunk-K6QDYFZU.js";
+import {
+  e as e3
+} from "./chunk-EY2WJSAJ.js";
+import "./chunk-YMULPZCD.js";
+import {
+  c as c3,
+  d as d2
+} from "./chunk-RDMCXRET.js";
+import "./chunk-BQHWPTT7.js";
+import "./chunk-DAWQAVQO.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import {
+  U,
+  j as j2,
+  l
+} from "./chunk-BWATQC2Y.js";
+import {
+  j as j3
+} from "./chunk-6URCZZA6.js";
+import {
+  t as t3
+} from "./chunk-U2WD23Z5.js";
+import {
+  r as r3,
+  x as x3
+} from "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import {
+  E,
+  c as c2,
+  f as f2,
+  u,
+  y as y3
+} from "./chunk-SWMSD4RP.js";
+import {
+  L
+} from "./chunk-UKEN2UNL.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import {
+  d,
+  j
+} from "./chunk-PIFOHNWC.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-X4LLOW7U.js";
+import {
+  n as n3
+} from "./chunk-Z4JTBD7M.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import {
+  w2
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  k2 as k
+} from "./chunk-QCKFNSN2.js";
+import {
+  e,
+  m,
+  n2 as n,
+  n5 as n2,
+  t2,
+  y3 as y2
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import {
+  r as r2
+} from "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  A,
+  f,
+  w
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s
+} from "./chunk-E5O6P5I2.js";
+import {
+  c,
+  y
+} from "./chunk-SPWQ3AWG.js";
+import {
+  i
+} from "./chunk-2TIUKVZN.js";
+import {
+  e as e2,
+  r,
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js
+function r4(e5 = false, t7) {
+  if (e5) {
+    const { elevationInfo: e6, alignPointsInFeatures: s4, spatialReference: n6 } = t7;
+    return new l2(e6, s4, n6);
+  }
+  return new c6();
+}
+var c6 = class {
+  async alignCandidates(e5, t7) {
+    return e5;
+  }
+  notifyElevationSourceChange() {
+  }
+};
+var h = 1024;
+var l2 = class {
+  constructor(t7, s4, n6) {
+    this._elevationInfo = t7, this._alignPointsInFeatures = s4, this.spatialReference = n6, this._alignmentsCache = new e3(h), this._cacheVersion = 0, this._metersPerVerticalUnit = L(n6);
+  }
+  async alignCandidates(e5, t7) {
+    const n6 = this._elevationInfo;
+    return r(n6) && "absolute-height" === n6.mode && !n6.featureExpressionInfo ? (this._alignAbsoluteElevationCandidates(e5, n6), e5) : this._alignComputedElevationCandidates(e5, t7);
+  }
+  notifyElevationSourceChange() {
+    this._alignmentsCache.clear(), this._cacheVersion++;
+  }
+  _alignAbsoluteElevationCandidates(e5, t7) {
+    const { offset: s4, unit: o4 } = t7;
+    if (t(s4))
+      return;
+    const i4 = s4 * (r3(o4 != null ? o4 : "meters") / this._metersPerVerticalUnit);
+    for (const n6 of e5)
+      switch (n6.type) {
+        case "edge":
+          n6.start.z += i4, n6.end.z += i4;
+          continue;
+        case "vertex":
+          n6.target.z += i4;
+          continue;
+      }
+  }
+  async _alignComputedElevationCandidates(e5, s4) {
+    const n6 = /* @__PURE__ */ new Map();
+    for (const o4 of e5)
+      r2(n6, o4.objectId, p).push(o4);
+    const [i4, a4, r8] = this._prepareQuery(n6), c9 = await this._alignPointsInFeatures(i4, s4);
+    f(s4);
+    if (r8 !== this._cacheVersion)
+      return this._alignComputedElevationCandidates(e5, s4);
+    this._applyCacheAndResponse(i4, c9, a4);
+    const { drapedObjectIds: h2, failedObjectIds: l3 } = c9, d4 = [];
+    for (const t7 of e5) {
+      const { objectId: e6 } = t7;
+      h2.has(e6) && "edge" === t7.type && (t7.draped = true), l3.has(e6) || d4.push(t7);
+    }
+    return d4;
+  }
+  _prepareQuery(e5) {
+    const t7 = [], s4 = [];
+    for (const [n6, o4] of e5) {
+      const e6 = [];
+      for (const t8 of o4)
+        this._addToQueriesOrCachedResult(n6, t8.target, e6, s4), "edge" === t8.type && (this._addToQueriesOrCachedResult(n6, t8.start, e6, s4), this._addToQueriesOrCachedResult(n6, t8.end, e6, s4));
+      0 !== e6.length && t7.push({ objectId: n6, points: e6 });
+    }
+    return [t7, s4, this._cacheVersion];
+  }
+  _addToQueriesOrCachedResult(e5, t7, n6, o4) {
+    const i4 = u3(e5, t7), a4 = this._alignmentsCache.get(i4);
+    r(a4) ? o4.push(new d3(t7, a4)) : n6.push(t7);
+  }
+  _applyCacheAndResponse(e5, { elevations: t7, drapedObjectIds: s4, failedObjectIds: n6 }, o4) {
+    for (const r8 of o4)
+      r8.apply();
+    let i4 = 0;
+    const a4 = this._alignmentsCache;
+    for (const { objectId: r8, points: c9 } of e5) {
+      if (n6.has(r8)) {
+        i4 += c9.length;
+        continue;
+      }
+      const e6 = !s4.has(r8);
+      for (const s5 of c9) {
+        const n7 = u3(r8, s5), o5 = t7[i4++];
+        s5.z = o5, e6 && a4.put(n7, o5, 1);
+      }
+    }
+  }
+};
+var d3 = class {
+  constructor(e5, t7) {
+    this.point = e5, this.z = t7;
+  }
+  apply() {
+    this.point.z = this.z;
+  }
+};
+function u3(e5, { x: t7, y: s4, z: n6 }) {
+  return `${e5}-${t7}-${s4}-${n6 != null ? n6 : 0}}`;
+}
+function p() {
+  return [];
+}
+
+// node_modules/@arcgis/core/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js
+var t5 = class {
+  filter(t7, n6) {
+    return n6;
+  }
+  notifyElevationSourceChange() {
+  }
+};
+var n4 = class {
+  filter(t7, n6) {
+    const { point: r8, distance: c9 } = t7, { z: i4 } = r8;
+    if (!(null != i4))
+      return n6;
+    if (0 === n6.length)
+      return n6;
+    const o4 = s3(c9), u5 = this._updateCandidatesTo3D(n6, r8, o4).filter(e4);
+    return u5.sort(a2), u5;
+  }
+  _updateCandidatesTo3D(t7, n6, e5) {
+    for (const r8 of t7)
+      switch (r8.type) {
+        case "edge":
+          c7(r8, n6, e5);
+          continue;
+        case "vertex":
+          o2(r8, n6, e5);
+          continue;
+      }
+    return t7;
+  }
+};
+function e4(t7) {
+  return t7.distance <= 1;
+}
+function r5(e5 = false) {
+  return e5 ? new n4() : new t5();
+}
+function c7(t7, n6, { x: e5, y: r8, z: c9 }) {
+  const { start: o4, end: s4, target: a4 } = t7;
+  t7.draped || i2(a4, n6, o4, s4);
+  const u5 = (n6.x - a4.x) / e5, d4 = (n6.y - a4.y) / r8, f4 = (n6.z - a4.z) / c9;
+  t7.distance = Math.sqrt(u5 * u5 + d4 * d4 + f4 * f4);
+}
+function i2(t7, n6, e5, r8) {
+  const c9 = r8.x - e5.x, i4 = r8.y - e5.y, o4 = r8.z - e5.z, s4 = c9 * c9 + i4 * i4 + o4 * o4, a4 = (n6.x - e5.x) * c9 + (n6.y - e5.y) * i4 + o4 * (n6.z - e5.z), u5 = Math.min(1, Math.max(0, a4 / s4)), d4 = e5.x + c9 * u5, f4 = e5.y + i4 * u5, x6 = e5.z + o4 * u5;
+  t7.x = d4, t7.y = f4, t7.z = x6;
+}
+function o2(t7, n6, { x: e5, y: r8, z: c9 }) {
+  const { target: i4 } = t7, o4 = (n6.x - i4.x) / e5, s4 = (n6.y - i4.y) / r8, a4 = (n6.z - i4.z) / c9, u5 = Math.sqrt(o4 * o4 + s4 * s4 + a4 * a4);
+  t7.distance = u5;
+}
+function s3(t7) {
+  return "number" == typeof t7 ? { x: t7, y: t7, z: t7 } : t7;
+}
+function a2(t7, n6) {
+  return t7.distance - n6.distance;
+}
+
+// node_modules/@arcgis/core/views/interactive/snapping/featureSources/symbologySnappingCandidates.js
+function n5(t7 = false, e5) {
+  return t7 ? new i3(e5) : new c8();
+}
+var c8 = class {
+  async fetch() {
+    return [];
+  }
+  notifySymbologyChange() {
+  }
+};
+var r6 = 1024;
+var i3 = class {
+  constructor(t7) {
+    this._getSymbologyCandidates = t7, this._candidatesCache = new e3(r6), this._cacheVersion = 0;
+  }
+  async fetch(e5, o4) {
+    if (0 === e5.length)
+      return [];
+    const n6 = [], c9 = [], r8 = this._candidatesCache;
+    for (const s4 of e5) {
+      const e6 = a3(s4), o5 = r8.get(e6);
+      if (o5)
+        for (const s5 of o5)
+          c9.push(y(s5));
+      else
+        n6.push(s4), r8.put(e6, [], 1);
+    }
+    if (0 === n6.length)
+      return c9;
+    const i4 = this._cacheVersion, { candidates: h2, sourceCandidateIndices: d4 } = await this._getSymbologyCandidates(n6, o4);
+    f(o4);
+    if (i4 !== this._cacheVersion)
+      return this.fetch(e5, o4);
+    const f4 = [], { length: g2 } = h2;
+    for (let s4 = 0; s4 < g2; ++s4) {
+      const e6 = h2[s4], o5 = a3(n6[d4[s4]]), c10 = r8.get(o5);
+      c10.push(e6), r8.put(o5, c10, c10.length), f4.push(y(e6));
+    }
+    return c9.concat(f4);
+  }
+  notifySymbologyChange() {
+    this._candidatesCache.clear(), this._cacheVersion++;
+  }
+};
+function a3(t7) {
+  var _a, _b, _c;
+  switch (t7.type) {
+    case "vertex": {
+      const { objectId: e5, target: s4 } = t7, n6 = `${e5}-vertex-${s4.x}-${s4.y}-${(_a = s4.z) != null ? _a : 0}`;
+      return c(n6).toString();
+    }
+    case "edge": {
+      const { objectId: e5, start: s4, end: n6 } = t7, c9 = `${e5}-edge-${s4.x}-${s4.y}-${(_b = s4.z) != null ? _b : 0}-to-${n6.x}-${n6.y}-${(_c = n6.z) != null ? _c : 0}`;
+      return c(c9).toString();
+    }
+    default:
+      return "";
+  }
+}
+
+// node_modules/@arcgis/core/core/AsyncSequence.js
+var r7 = class extends m {
+  constructor() {
+    super(...arguments), this.updating = false, this._pending = [];
+  }
+  push(s4, t7) {
+    this._pending.push({ promise: s4, callback: t7 }), 1 === this._pending.length && this._process();
+  }
+  _process() {
+    if (!this._pending.length)
+      return void (this.updating = false);
+    this.updating = true;
+    const s4 = this._pending[0];
+    s4.promise.then((t7) => s4.callback(t7)).catch(() => {
+    }).then(() => {
+      this._pending.shift(), this._process();
+    });
+  }
+};
+e([y2()], r7.prototype, "updating", void 0), r7 = e([n2("esri.core.AsyncSequence")], r7);
+
+// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/PendingFeatureTile.js
+var o3 = class {
+  constructor(t7, e5) {
+    this.data = t7, this.resolution = e5, this.state = { type: u4.CREATED }, this.alive = true;
+  }
+  process(t7) {
+    switch (this.state.type) {
+      case u4.CREATED:
+        return this.state = this._gotoFetchCount(this.state, t7), this.state.task.promise.then(t7.resume, t7.resume);
+      case u4.FETCH_COUNT:
+        break;
+      case u4.FETCHED_COUNT:
+        return this.state = this._gotoFetchFeatures(this.state, t7), this.state.task.promise.then(t7.resume, t7.resume);
+      case u4.FETCH_FEATURES:
+        break;
+      case u4.FETCHED_FEATURES:
+        this.state = this._goToDone(this.state, t7);
+      case u4.DONE:
+    }
+    return null;
+  }
+  get debugInfo() {
+    return { data: this.data, featureCount: this._featureCount, state: this._stateToString };
+  }
+  get _featureCount() {
+    switch (this.state.type) {
+      case u4.CREATED:
+      case u4.FETCH_COUNT:
+        return 0;
+      case u4.FETCHED_COUNT:
+        return this.state.featureCount;
+      case u4.FETCH_FEATURES:
+        return this.state.previous.featureCount;
+      case u4.FETCHED_FEATURES:
+        return this.state.features.length;
+      case u4.DONE:
+        return this.state.previous.features.length;
+    }
+  }
+  get _stateToString() {
+    switch (this.state.type) {
+      case u4.CREATED:
+        return "created";
+      case u4.FETCH_COUNT:
+        return "fetch-count";
+      case u4.FETCHED_COUNT:
+        return "fetched-count";
+      case u4.FETCH_FEATURES:
+        return "fetch-features";
+      case u4.FETCHED_FEATURES:
+        return "fetched-features";
+      case u4.DONE:
+        return "done";
+    }
+  }
+  _gotoFetchCount(s4, a4) {
+    return { type: u4.FETCH_COUNT, previous: s4, task: j(async (t7) => {
+      const s5 = await d(a4.fetchCount(this, t7));
+      this.state.type === u4.FETCH_COUNT && (this.state = this._gotoFetchedCount(this.state, s5.ok ? s5.value : 1 / 0));
+    }) };
+  }
+  _gotoFetchedCount(t7, e5) {
+    return { type: u4.FETCHED_COUNT, featureCount: e5, previous: t7 };
+  }
+  _gotoFetchFeatures(s4, a4) {
+    return { type: u4.FETCH_FEATURES, previous: s4, task: j(async (t7) => {
+      const r8 = await d(a4.fetchFeatures(this, s4.featureCount, t7));
+      this.state.type === u4.FETCH_FEATURES && (this.state = this._gotoFetchedFeatures(this.state, r8.ok ? r8.value : []));
+    }) };
+  }
+  _gotoFetchedFeatures(t7, e5) {
+    return { type: u4.FETCHED_FEATURES, previous: t7, features: e5 };
+  }
+  _goToDone(t7, e5) {
+    return e5.finish(this, t7.features), { type: u4.DONE, previous: t7 };
+  }
+  reset() {
+    const t7 = this.state;
+    switch (this.state = { type: u4.CREATED }, t7.type) {
+      case u4.CREATED:
+      case u4.FETCHED_COUNT:
+      case u4.FETCHED_FEATURES:
+      case u4.DONE:
+        break;
+      case u4.FETCH_COUNT:
+      case u4.FETCH_FEATURES:
+        t7.task.abort();
+    }
+  }
+  intersects(t7) {
+    return !(!t(t7) && this.data.extent) || (c2(t7, T), E(this.data.extent, T));
+  }
+};
+var u4;
+!function(t7) {
+  t7[t7.CREATED = 0] = "CREATED", t7[t7.FETCH_COUNT = 1] = "FETCH_COUNT", t7[t7.FETCHED_COUNT = 2] = "FETCHED_COUNT", t7[t7.FETCH_FEATURES = 3] = "FETCH_FEATURES", t7[t7.FETCHED_FEATURES = 4] = "FETCHED_FEATURES", t7[t7.DONE = 5] = "DONE";
+}(u4 || (u4 = {}));
+var T = u();
+
+// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js
+var C = class extends d2 {
+  constructor(e5) {
+    super(e5), this.tilesOfInterest = [], this.availability = 0, this._pendingTiles = /* @__PURE__ */ new Map(), this._pendingEdits = new r7(), this._pendingEditsAbortController = new AbortController();
+  }
+  get _minimumVerticesPerFeature() {
+    var _a;
+    switch ((_a = this.store) == null ? void 0 : _a.featureStore.geometryType) {
+      case "esriGeometryPoint":
+      case "esriGeometryMultipoint":
+        return 1;
+      case "esriGeometryPolygon":
+        return 4;
+      case "esriGeometryPolyline":
+        return 2;
+    }
+  }
+  set filter(e5) {
+    const t7 = this._get("filter"), i4 = this._filterProperties(e5);
+    JSON.stringify(t7) !== JSON.stringify(i4) && this._set("filter", i4);
+  }
+  set customParameters(e5) {
+    const t7 = this._get("customParameters");
+    JSON.stringify(t7) !== JSON.stringify(e5) && this._set("customParameters", e5);
+  }
+  get _configuration() {
+    return { filter: this.filter, customParameters: this.customParameters, tileInfo: this.tileInfo, tileSize: this.tileSize };
+  }
+  set tileInfo(e5) {
+    const t7 = this._get("tileInfo");
+    t7 !== e5 && (r(e5) && r(t7) && JSON.stringify(e5) === JSON.stringify(t7) || (this._set("tileInfo", e5), this.store.tileInfo = e5));
+  }
+  set tileSize(e5) {
+    this._get("tileSize") !== e5 && this._set("tileSize", e5);
+  }
+  get updating() {
+    return this.updatingExcludingEdits || this._pendingEdits.updating;
+  }
+  get updatingExcludingEdits() {
+    return this.updatingHandles.updating;
+  }
+  get hasZ() {
+    return this.store.featureStore.hasZ;
+  }
+  initialize() {
+    this._initializeFetchExtent(), this.updatingHandles.add(() => this._configuration, () => this.refresh()), this.updatingHandles.add(() => this.tilesOfInterest, (e5, i4) => {
+      i(e5, i4, ({ id: e6 }, { id: t7 }) => e6 === t7) || this._process();
+    }, U);
+  }
+  destroy() {
+    this._pendingTiles.forEach((e5) => this._deletePendingTile(e5)), this._pendingTiles.clear(), this.store.destroy(), this.tilesOfInterest.length = 0, this._pendingEditsAbortController.abort(), this._pendingEditsAbortController = null;
+  }
+  refresh() {
+    this.store.refresh(), this._pendingTiles.forEach((e5) => this._deletePendingTile(e5)), this._process();
+  }
+  applyEdits(e5) {
+    this._pendingEdits.push(e5, async (e6) => {
+      if (0 === e6.addedFeatures.length && 0 === e6.updatedFeatures.length && 0 === e6.deletedFeatures.length)
+        return;
+      for (const [, i4] of this._pendingTiles)
+        i4.reset();
+      const t7 = { ...e6, deletedFeatures: e6.deletedFeatures.map(({ objectId: e7, globalId: t8 }) => e7 && -1 !== e7 ? e7 : this._lookupObjectIdByGlobalId(t8)) };
+      await this.updatingHandles.addPromise(this.store.processEdits(t7, (e7, t8) => this._queryFeaturesById(e7, t8), this._pendingEditsAbortController.signal)), this._processPendingTiles();
+    });
+  }
+  _initializeFetchExtent() {
+    if (!this.capabilities.query.supportsExtent || !g(this.url))
+      return;
+    const e5 = j(async (e6) => {
+      var _a;
+      try {
+        const t7 = await x2(this.url, new x({ where: "1=1", outSpatialReference: this.spatialReference, cacheHint: !!this.capabilities.query.supportsCacheHint || void 0 }), { query: this._configuration.customParameters, signal: e6 });
+        this.store.extent = w2.fromJSON((_a = t7.data) == null ? void 0 : _a.extent);
+      } catch (t7) {
+        w(t7), s.getLogger(this.declaredClass).warn("Failed to fetch data extent", t7);
+      }
+    });
+    this.updatingHandles.addPromise(e5.promise.then(() => this._process())), this.handles.add(n(() => e5.abort()));
+  }
+  get debugInfo() {
+    return { numberOfFeatures: this.store.featureStore.numFeatures, tilesOfInterest: this.tilesOfInterest, pendingTiles: Array.from(this._pendingTiles.values()).map((e5) => e5.debugInfo), storedTiles: this.store.debugInfo };
+  }
+  _process() {
+    this._markTilesNotAlive(), this._createPendingTiles(), this._deletePendingTiles(), this._processPendingTiles();
+  }
+  _markTilesNotAlive() {
+    for (const [, e5] of this._pendingTiles)
+      e5.alive = false;
+  }
+  _createPendingTiles() {
+    const e5 = this._collectMissingTilesInfo();
+    if (this._setAvailability(t(e5) ? 1 : e5.coveredArea / e5.fullArea), !t(e5))
+      for (const { data: t7, resolution: i4 } of e5.missingTiles) {
+        const e6 = this._pendingTiles.get(t7.id);
+        e6 ? (e6.resolution = i4, e6.alive = true) : this._createPendingTile(t7, i4);
+      }
+  }
+  _collectMissingTilesInfo() {
+    let e5 = null;
+    for (let t7 = this.tilesOfInterest.length - 1; t7 >= 0; t7--) {
+      const i4 = this.tilesOfInterest[t7], s4 = this.store.process(i4, (e6, t8) => this._verifyTileComplexity(e6, t8));
+      t(e5) ? e5 = s4 : e5.prepend(s4);
+    }
+    return e5;
+  }
+  _deletePendingTiles() {
+    for (const [, e5] of this._pendingTiles)
+      e5.alive || this._deletePendingTile(e5);
+  }
+  _processPendingTiles() {
+    const e5 = { fetchCount: (e6, t7) => this._fetchCount(e6, t7), fetchFeatures: (e6, t7, i4) => this._fetchFeatures(e6, t7, i4), finish: (e6, t7) => this._finishPendingTile(e6, t7), resume: () => this._processPendingTiles() };
+    if (this._ensureFetchAllCounts(e5))
+      for (const [, t7] of this._pendingTiles)
+        this._verifyTileComplexity(this.store.getFeatureCount(t7.data), t7.resolution) && this.updatingHandles.addPromise(t7.process(e5));
+  }
+  _verifyTileComplexity(e5, t7) {
+    return this._verifyVertexComplexity(e5) && this._verifyFeatureDensity(e5, t7);
+  }
+  _verifyVertexComplexity(e5) {
+    return e5 * this._minimumVerticesPerFeature < x4;
+  }
+  _verifyFeatureDensity(e5, t7) {
+    if (t(this.tileInfo))
+      return false;
+    const i4 = this.tileSize * t7;
+    return e5 * (j4 / (i4 * i4)) < w3;
+  }
+  _ensureFetchAllCounts(e5) {
+    let t7 = true;
+    for (const [, i4] of this._pendingTiles)
+      i4.state.type < u4.FETCHED_COUNT && this.updatingHandles.addPromise(i4.process(e5)), i4.state.type <= u4.FETCH_COUNT && (t7 = false);
+    return t7;
+  }
+  _finishPendingTile(e5, t7) {
+    this.store.add(e5.data, t7), this._deletePendingTile(e5), this._updateAvailability();
+  }
+  _updateAvailability() {
+    const e5 = this._collectMissingTilesInfo();
+    this._setAvailability(t(e5) ? 1 : e5.coveredArea / e5.fullArea);
+  }
+  _setAvailability(e5) {
+    this._set("availability", e5);
+  }
+  _createPendingTile(e5, t7) {
+    const i4 = new o3(e5, t7);
+    return this._pendingTiles.set(e5.id, i4), i4;
+  }
+  _deletePendingTile(e5) {
+    e5.reset(), this._pendingTiles.delete(e5.data.id);
+  }
+  async _fetchCount(e5, t7) {
+    return this.store.fetchCount(e5.data, this.url, this._createCountQuery(e5), { query: this.customParameters, timeout: S2, signal: t7 });
+  }
+  async _fetchFeatures(e5, t7, i4) {
+    let s4, r8 = 0, o4 = 0, n6 = t7;
+    for (; ; ) {
+      const a4 = this._createFeaturesQuery(e5), l3 = this._setPagingParameters(a4, r8, n6), { features: c9, exceededTransferLimit: d4 } = await this._queryFeatures(a4, i4);
+      if (l3 && (r8 += e2(a4.num)), o4 += c9.length, s4 = s4 ? s4.concat(c9) : c9, n6 = t7 - o4, !l3 || !d4 || n6 <= 0)
+        return s4;
+    }
+  }
+  _filterProperties(e5) {
+    return t(e5) ? { where: "1=1", gdbVersion: void 0, timeExtent: void 0 } : { where: e5.where || "1=1", timeExtent: e5.timeExtent, gdbVersion: e5.gdbVersion };
+  }
+  _lookupObjectIdByGlobalId(e5) {
+    const t7 = this.globalIdField, i4 = this.objectIdField;
+    if (t(t7))
+      throw new Error("Expected globalIdField to be defined");
+    let s4 = null;
+    if (this.store.featureStore.forEach((r8) => {
+      var _a;
+      e5 === r8.attributes[t7] && (s4 = (_a = r8.objectId) != null ? _a : r8.attributes[i4]);
+    }), t(s4))
+      throw new Error(`Expected to find a feature with globalId ${e5}`);
+    return s4;
+  }
+  _queryFeaturesById(e5, t7) {
+    const i4 = this._createFeaturesQuery();
+    return i4.objectIds = e5, this._queryFeatures(i4, t7);
+  }
+  _queryFeatures(e5, t7) {
+    return this.capabilities.query.supportsFormatPBF ? this._queryFeaturesPBF(e5, t7) : this._queryFeaturesJSON(e5, t7);
+  }
+  async _queryFeaturesPBF(e5, t7) {
+    const { sourceSpatialReference: i4 } = this, { data: s4 } = await f3(this.url, e5, new a({ sourceSpatialReference: i4 }), { query: this._configuration.customParameters, timeout: S2, signal: t7 });
+    return it(s4);
+  }
+  async _queryFeaturesJSON(e5, t7) {
+    const { sourceSpatialReference: i4 } = this, { data: s4 } = await c4(this.url, e5, i4, { query: this._configuration.customParameters, timeout: S2, signal: t7 });
+    return lt(s4, this.objectIdField);
+  }
+  _createCountQuery(e5) {
+    const t7 = this._createBaseQuery(e5);
+    return this.capabilities.query.supportsCacheHint && (t7.cacheHint = true), t7;
+  }
+  _createFeaturesQuery(e5 = null) {
+    const t7 = this._createBaseQuery(e5);
+    return t7.outFields = this.globalIdField ? [this.globalIdField, this.objectIdField] : [this.objectIdField], t7.returnGeometry = true, r(e5) && (this.capabilities.query.supportsResultType ? t7.resultType = "tile" : this.capabilities.query.supportsCacheHint && (t7.cacheHint = true)), t7;
+  }
+  _createBaseQuery(e5) {
+    const t7 = new x({ returnZ: this.hasZ, returnM: false, geometry: r(this.tileInfo) && r(e5) ? f2(e5.data.extent, this.tileInfo.spatialReference) : void 0 }), i4 = this._configuration.filter;
+    return r(i4) && (t7.where = i4.where, t7.gdbVersion = i4.gdbVersion, t7.timeExtent = i4.timeExtent), t7.outSpatialReference = this.spatialReference, t7;
+  }
+  _setPagingParameters(e5, t7, i4) {
+    if (!this.capabilities.query.supportsPagination)
+      return false;
+    const { supportsMaxRecordCountFactor: s4, supportsCacheHint: r8, tileMaxRecordCount: o4, maxRecordCount: n6, supportsResultType: a4 } = this.capabilities.query, l3 = s4 ? x.MAX_MAX_RECORD_COUNT_FACTOR : 1, u5 = l3 * ((a4 || r8) && o4 ? o4 : n6 || E2);
+    return e5.start = t7, s4 ? (e5.maxRecordCountFactor = Math.min(l3, Math.ceil(i4 / u5)), e5.num = Math.min(i4, e5.maxRecordCountFactor * u5)) : e5.num = Math.min(i4, u5), true;
+  }
+};
+e([y2({ constructOnly: true })], C.prototype, "url", void 0), e([y2({ constructOnly: true })], C.prototype, "objectIdField", void 0), e([y2({ constructOnly: true })], C.prototype, "globalIdField", void 0), e([y2({ constructOnly: true })], C.prototype, "capabilities", void 0), e([y2({ constructOnly: true })], C.prototype, "sourceSpatialReference", void 0), e([y2({ constructOnly: true })], C.prototype, "spatialReference", void 0), e([y2({ constructOnly: true })], C.prototype, "store", void 0), e([y2({ readOnly: true })], C.prototype, "_minimumVerticesPerFeature", null), e([y2()], C.prototype, "filter", null), e([y2()], C.prototype, "customParameters", null), e([y2({ readOnly: true })], C.prototype, "_configuration", null), e([y2()], C.prototype, "tileInfo", null), e([y2()], C.prototype, "tileSize", null), e([y2()], C.prototype, "tilesOfInterest", void 0), e([y2({ readOnly: true })], C.prototype, "updating", null), e([y2({ readOnly: true })], C.prototype, "updatingExcludingEdits", null), e([y2({ readOnly: true })], C.prototype, "availability", void 0), e([y2()], C.prototype, "hasZ", null), C = e([n2("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTiledFetcher")], C);
+var E2 = 2e3;
+var S2 = 6e5;
+var x4 = 1e6;
+var j4 = 25;
+var w3 = 1;
+
+// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTileCache.js
+var t6 = class {
+  constructor() {
+    this._store = /* @__PURE__ */ new Map(), this._byteSize = 0;
+  }
+  set(t7, e5) {
+    this.delete(t7), this._store.set(t7, e5), this._byteSize += e5.byteSize;
+  }
+  delete(t7) {
+    const e5 = this._store.get(t7);
+    return !!this._store.delete(t7) && (null != e5 && (this._byteSize -= e5.byteSize), true);
+  }
+  get(t7) {
+    return this._used(t7), this._store.get(t7);
+  }
+  has(t7) {
+    return this._used(t7), this._store.has(t7);
+  }
+  clear() {
+    this._store.clear();
+  }
+  applyByteSizeLimit(t7, e5) {
+    for (const [s4, r8] of this._store) {
+      if (this._byteSize <= t7)
+        break;
+      this.delete(s4), e5(r8);
+    }
+  }
+  values() {
+    return this._store.values();
+  }
+  [Symbol.iterator]() {
+    return this._store[Symbol.iterator]();
+  }
+  _used(t7) {
+    const e5 = this._store.get(t7);
+    e5 && (this._store.delete(t7), this._store.set(t7, e5));
+  }
+};
+
+// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTileStore.js
+var v2 = class extends m {
+  constructor(e5) {
+    super(e5), this.tileInfo = null, this.extent = null, this.maximumByteSize = 10 * s2.MEGABYTES, this._tileBounds = new o(), this._tiles = new t6(), this._refCounts = /* @__PURE__ */ new Map(), this._tileFeatureCounts = /* @__PURE__ */ new Map(), this._tmpBoundingRect = u();
+  }
+  add(e5, t7) {
+    const s4 = [];
+    for (const i4 of t7)
+      this._referenceFeature(i4.objectId) === x5.ADDED && s4.push(i4);
+    this._addTileStorage(e5, new Set(t7.map(({ objectId: e6 }) => e6)), C2(t7)), this.featureStore.addMany(s4), this._tiles.applyByteSizeLimit(this.maximumByteSize, (e6) => this._removeTileStorage(e6));
+  }
+  destroy() {
+    this.clear(), this._tileFeatureCounts.clear();
+  }
+  clear() {
+    this.featureStore.clear(), this._tileBounds.clear(), this._tiles.clear(), this._refCounts.clear();
+  }
+  refresh() {
+    this.clear(), this._tileFeatureCounts.clear();
+  }
+  processEdits(e5, t7, s4) {
+    return this._processEditsDelete(e5.deletedFeatures.concat(e5.updatedFeatures)), this._processEditsRefetch(e5.addedFeatures.concat(e5.updatedFeatures), t7, s4);
+  }
+  _addTileStorage(e5, t7, s4) {
+    this._tiles.set(e5.id, new T2(e5, t7, s4)), this._tileBounds.set(e5.id, e5.extent), this._tileFeatureCounts.set(e5.id, t7.size);
+  }
+  _remove({ id: e5 }) {
+    const t7 = this._tiles.get(e5);
+    t7 && this._removeTileStorage(t7);
+  }
+  _removeTileStorage(e5) {
+    const t7 = [];
+    for (const i4 of e5.objectIds)
+      this._unreferenceFeature(i4) === x5.REMOVED && t7.push(i4);
+    this.featureStore.removeManyById(t7);
+    const s4 = e5.data.id;
+    this._tiles.delete(s4), this._tileBounds.delete(s4);
+  }
+  _processEditsDelete(e5) {
+    this.featureStore.removeManyById(e5);
+    for (const [, t7] of this._tiles) {
+      for (const s4 of e5)
+        t7.objectIds.delete(s4);
+      this._tileFeatureCounts.set(t7.data.id, t7.objectIds.size);
+    }
+    for (const t7 of e5)
+      this._refCounts.delete(t7);
+  }
+  async _processEditsRefetch(e5, t7, s4) {
+    const i4 = (await t7(e5, s4)).features, { hasZ: r8, hasM: n6 } = this.featureStore;
+    for (const l3 of i4) {
+      const e6 = gt(this._tmpBoundingRect, l3.geometry, r8, n6);
+      t(e6) || this._tileBounds.forEachInBounds(e6, (e7) => {
+        const t8 = this._tiles.get(e7);
+        this.featureStore.add(l3), t8.objectIds.has(l3.objectId) || (t8.objectIds.add(l3.objectId), this._referenceFeature(l3.objectId), this._tileFeatureCounts.set(t8.data.id, t8.objectIds.size));
+      });
+    }
+  }
+  process(e5, t7 = () => true) {
+    if (t(this.tileInfo) || !e5.extent || r(this.extent) && !E(c2(this.extent, this._tmpBoundingRect), e5.extent))
+      return new j5(e5);
+    if (this._tiles.has(e5.id))
+      return new j5(e5);
+    const s4 = this._createTileTree(e5, this.tileInfo);
+    return this._simplify(s4, t7, null, 0, 1), this._collectMissingTiles(e5, s4, this.tileInfo);
+  }
+  get debugInfo() {
+    return Array.from(this._tiles.values()).map(({ data: e5 }) => ({ data: e5, featureCount: this._tileFeatureCounts.get(e5.id) || 0 }));
+  }
+  getFeatureCount(e5) {
+    var _a;
+    return (_a = this._tileFeatureCounts.get(e5.id)) != null ? _a : 0;
+  }
+  async fetchCount(e5, t7, s4, i4) {
+    const r8 = this._tileFeatureCounts.get(e5.id);
+    if (null != r8)
+      return r8;
+    const o4 = await S(t7, s4, i4);
+    return this._tileFeatureCounts.set(e5.id, o4.data.count), o4.data.count;
+  }
+  _createTileTree(e5, t7) {
+    const s4 = new I(e5.level, e5.row, e5.col);
+    return t7.updateTileInfo(s4, j3.ExtrapolateOptions.POWER_OF_TWO), this._tileBounds.forEachInBounds(e5.extent, (i4) => {
+      const r8 = this._tiles.get(i4).data;
+      this._tilesAreRelated(e5, r8) && this._populateChildren(s4, r8, t7, this._tileFeatureCounts.get(r8.id) || 0);
+    }), s4;
+  }
+  _tilesAreRelated(e5, t7) {
+    if (!e5 || !t7)
+      return false;
+    if (e5.level === t7.level)
+      return e5.row === t7.row && e5.col === t7.col;
+    const s4 = e5.level < t7.level, i4 = s4 ? e5 : t7, r8 = s4 ? t7 : e5, o4 = 1 << r8.level - i4.level;
+    return Math.floor(r8.row / o4) === i4.row && Math.floor(r8.col / o4) === i4.col;
+  }
+  _populateChildren(e5, t7, s4, i4) {
+    const r8 = t7.level - e5.level - 1;
+    if (r8 < 0)
+      return void (e5.isLeaf = true);
+    const o4 = t7.row >> r8, l3 = t7.col >> r8, a4 = e5.row << 1, c9 = l3 - (e5.col << 1) + (o4 - a4 << 1), h2 = e5.children[c9];
+    if (r(h2))
+      this._populateChildren(h2, t7, s4, i4);
+    else {
+      const r9 = new I(e5.level + 1, o4, l3);
+      s4.updateTileInfo(r9, j3.ExtrapolateOptions.POWER_OF_TWO), e5.children[c9] = r9, this._populateChildren(r9, t7, s4, i4);
+    }
+  }
+  _simplify(e5, t7, s4, i4, r8) {
+    const o4 = r8 * r8;
+    if (e5.isLeaf)
+      return t7(this.getFeatureCount(e5), r8) ? 0 : (this._remove(e5), r(s4) && (s4.children[i4] = null), o4);
+    const l3 = r8 / 2, a4 = l3 * l3;
+    let c9 = 0;
+    for (let h2 = 0; h2 < e5.children.length; h2++) {
+      const s5 = e5.children[h2];
+      c9 += r(s5) ? this._simplify(s5, t7, e5, h2, l3) : a4;
+    }
+    return 0 === c9 ? this._mergeChildren(e5) : 1 - c9 / o4 < w4 && (this._purge(e5), r(s4) && (s4.children[i4] = null), c9 = o4), c9;
+  }
+  _mergeChildren(e5) {
+    const t7 = /* @__PURE__ */ new Set();
+    let s4 = 0;
+    this._forEachLeaf(e5, (e6) => {
+      const i4 = this._tiles.get(e6.id);
+      if (i4) {
+        s4 += i4.byteSize;
+        for (const e7 of i4.objectIds)
+          t7.has(e7) || (t7.add(e7), this._referenceFeature(e7));
+        this._remove(e6);
+      }
+    }), this._addTileStorage(e5, t7, s4), e5.isLeaf = true, e5.children[0] = e5.children[1] = e5.children[2] = e5.children[3] = null, this._tileFeatureCounts.set(e5.id, t7.size);
+  }
+  _forEachLeaf(e5, t7) {
+    for (const s4 of e5.children)
+      t(s4) || (s4.isLeaf ? t7(s4) : this._forEachLeaf(s4, t7));
+  }
+  _purge(e5) {
+    if (!t(e5))
+      if (e5.isLeaf)
+        this._remove(e5);
+      else
+        for (let t7 = 0; t7 < e5.children.length; t7++) {
+          const s4 = e5.children[t7];
+          this._purge(s4), e5.children[t7] = null;
+        }
+  }
+  _collectMissingTiles(e5, t7, s4) {
+    const i4 = new F(s4, e5, this.extent);
+    return this._collectMissingTilesRecurse(t7, i4, 1), i4.info;
+  }
+  _collectMissingTilesRecurse(e5, t7, s4) {
+    if (e5.isLeaf)
+      return;
+    if (!e5.hasChildren)
+      return void t7.addMissing(e5.level, e5.row, e5.col, s4);
+    const i4 = s4 / 2;
+    for (let r8 = 0; r8 < e5.children.length; r8++) {
+      const s5 = e5.children[r8];
+      t(s5) ? t7.addMissing(e5.level + 1, (e5.row << 1) + ((2 & r8) >> 1), (e5.col << 1) + (1 & r8), i4) : this._collectMissingTilesRecurse(s5, t7, i4);
+    }
+  }
+  _referenceFeature(e5) {
+    const t7 = (this._refCounts.get(e5) || 0) + 1;
+    return this._refCounts.set(e5, t7), 1 === t7 ? x5.ADDED : x5.UNCHANGED;
+  }
+  _unreferenceFeature(e5) {
+    const t7 = (this._refCounts.get(e5) || 0) - 1;
+    return 0 === t7 ? (this._refCounts.delete(e5), x5.REMOVED) : (t7 > 0 && this._refCounts.set(e5, t7), x5.UNCHANGED);
+  }
+  get test() {
+    return { tiles: Array.from(this._tiles.values()).map((e5) => `${e5.data.id}:[${Array.from(e5.objectIds)}]`), featureReferences: Array.from(this._refCounts.keys()).map((e5) => `${e5}:${this._refCounts.get(e5)}`) };
+  }
+};
+function C2(e5) {
+  return e5.reduce((e6, t7) => e6 + E3(t7), 0);
+}
+function E3(e5) {
+  return 32 + S3(e5.geometry) + t4(e5.attributes);
+}
+function S3(e5) {
+  if (t(e5))
+    return 0;
+  const t7 = c5(e5.lengths, 4);
+  return 32 + c5(e5.coords, 8) + t7;
+}
+e([y2({ constructOnly: true })], v2.prototype, "featureStore", void 0), e([y2()], v2.prototype, "tileInfo", void 0), e([y2()], v2.prototype, "extent", void 0), e([y2()], v2.prototype, "maximumByteSize", void 0), v2 = e([n2("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTileStore")], v2);
+var T2 = class {
+  constructor(e5, t7, s4) {
+    this.data = e5, this.objectIds = t7, this.byteSize = s4;
+  }
+};
+var I = class {
+  constructor(e5, t7, s4) {
+    this.level = e5, this.row = t7, this.col = s4, this.isLeaf = false, this.extent = null, this.children = [null, null, null, null];
+  }
+  get hasChildren() {
+    return !this.isLeaf && (r(this.children[0]) || r(this.children[1]) || r(this.children[2]) || r(this.children[3]));
+  }
+};
+var j5 = class {
+  constructor(e5, t7 = []) {
+    this.missingTiles = t7, this.fullArea = 0, this.coveredArea = 0, this.fullArea = y3(e5.extent), this.coveredArea = this.fullArea;
+  }
+  prepend(e5) {
+    this.missingTiles = e5.missingTiles.concat(this.missingTiles), this.coveredArea += e5.coveredArea, this.fullArea += e5.fullArea;
+  }
+};
+var F = class {
+  constructor(e5, t7, s4) {
+    this._tileInfo = e5, this._extent = null, this.info = new j5(t7), r(s4) && (this._extent = c2(s4));
+  }
+  addMissing(e5, t7, s4, i4) {
+    const r8 = new t3(null, e5, t7, s4);
+    this._tileInfo.updateTileInfo(r8, j3.ExtrapolateOptions.POWER_OF_TWO), t(r8.extent) || r(this._extent) && !E(this._extent, r8.extent) || (this.info.missingTiles.push({ data: r8, resolution: i4 }), this.info.coveredArea -= y3(r8.extent));
+  }
+};
+var w4 = 0.18751;
+var x5;
+!function(e5) {
+  e5[e5.ADDED = 0] = "ADDED", e5[e5.REMOVED = 1] = "REMOVED", e5[e5.UNCHANGED = 2] = "UNCHANGED";
+}(x5 || (x5 = {}));
+
+// node_modules/@arcgis/core/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceSnappingSourceWorker.js
+var E4 = class extends n3.EventedAccessor {
+  constructor() {
+    super(...arguments), this._isInitializing = true, this.remoteClient = null, this._whenSetup = A(), this._elevationAligner = r4(), this._elevationFilter = r5(), this._symbologyCandidatesFetcher = n5(), this._handles = new t2(), this._updatingHandles = new c3(), this._editsUpdatingHandles = new c3(), this._pendingApplyEdits = /* @__PURE__ */ new Map(), this._alignPointsInFeatures = async (e5, t7) => {
+      const i4 = { points: e5 }, s4 = await this.remoteClient.invoke("alignElevation", i4, { signal: t7 });
+      return f(t7), s4;
+    }, this._getSymbologyCandidates = async (e5, t7) => {
+      const i4 = { candidates: e5, spatialReference: this._spatialReference.toJSON() }, s4 = await this.remoteClient.invoke("getSymbologyCandidates", i4, { signal: t7 });
+      return f(t7), s4;
+    };
+  }
+  get updating() {
+    return this.updatingExcludingEdits || this._editsUpdatingHandles.updating || this._featureFetcher.updating;
+  }
+  get updatingExcludingEdits() {
+    return this._featureFetcher.updatingExcludingEdits || this._isInitializing || this._updatingHandles.updating;
+  }
+  destroy() {
+    this._featureFetcher.destroy(), this._queryEngine.destroy(), this._featureStore.clear(), this._handles.destroy();
+  }
+  async setup(e5) {
+    const { geometryType: t7, objectIdField: i4, timeInfo: r8, fields: n6 } = e5.serviceInfo, { hasZ: o4 } = e5, p2 = k.fromJSON(e5.spatialReference);
+    this._spatialReference = p2, this._featureStore = new u2({ ...e5.serviceInfo, hasZ: o4, hasM: false }), this._queryEngine = new Y({ spatialReference: e5.spatialReference, featureStore: this._featureStore, geometryType: t7, fields: n6, hasZ: o4, hasM: false, objectIdField: i4, timeInfo: r8 ? v.fromJSON(r8) : null }), this._featureFetcher = new C({ store: new v2({ featureStore: this._featureStore }), url: e5.serviceInfo.url, objectIdField: e5.serviceInfo.objectIdField, globalIdField: e5.serviceInfo.globalIdField, capabilities: e5.serviceInfo.capabilities, spatialReference: p2, sourceSpatialReference: k.fromJSON(e5.serviceInfo.spatialReference) });
+    const d4 = "3d" === e5.configuration.viewType;
+    return this._elevationAligner = r4(d4, { elevationInfo: r(e5.elevationInfo) ? x3.fromJSON(e5.elevationInfo) : null, alignPointsInFeatures: this._alignPointsInFeatures, spatialReference: p2 }), this._elevationFilter = r5(d4), this._handles.add([l(() => this._featureFetcher.availability, (e6) => this.emit("notify-availability", { availability: e6 }), U), l(() => this.updating, () => this._notifyUpdating())]), this._whenSetup.resolve(), this._isInitializing = false, this.configure(e5.configuration);
+  }
+  async configure(e5) {
+    return await this._updatingHandles.addPromise(this._whenSetup.promise), this._updateFeatureFetcherConfiguration(e5), { result: {} };
+  }
+  async fetchCandidates(e5, t7) {
+    await this._whenSetup.promise, f(t7);
+    const i4 = j6(e5), r8 = r(t7) ? t7.signal : null, a4 = await this._queryEngine.executeQueryForSnapping(i4, r8);
+    f(r8);
+    const o4 = await this._elevationAligner.alignCandidates(a4.candidates, r8);
+    f(r8);
+    const l3 = await this._symbologyCandidatesFetcher.fetch(o4, r8);
+    f(r8);
+    const p2 = 0 === l3.length ? o4 : o4.concat(l3);
+    return { result: { candidates: this._elevationFilter.filter(i4, p2) } };
+  }
+  async updateTiles(e5, t7) {
+    return await this._updatingHandles.addPromise(this._whenSetup.promise), f(t7), this._featureFetcher.tileSize = e5.tileSize, this._featureFetcher.tilesOfInterest = e5.tiles, this._featureFetcher.tileInfo = r(e5.tileInfo) ? j3.fromJSON(e5.tileInfo) : null, C3;
+  }
+  async refresh(e5, t7) {
+    return await this._updatingHandles.addPromise(this._whenSetup.promise), f(t7), this._featureFetcher.refresh(), C3;
+  }
+  async whenNotUpdating(e5, t7) {
+    return await this._updatingHandles.addPromise(this._whenSetup.promise), f(t7), await j2(() => !this.updatingExcludingEdits, t7), f(t7), C3;
+  }
+  async getDebugInfo(e5, t7) {
+    return f(t7), { result: this._featureFetcher.debugInfo };
+  }
+  async beginApplyEdits(e5, t7) {
+    this._updatingHandles.addPromise(this._whenSetup.promise), f(t7);
+    const i4 = A();
+    return this._pendingApplyEdits.set(e5.id, i4), this._featureFetcher.applyEdits(i4.promise), this._editsUpdatingHandles.addPromise(i4.promise), C3;
+  }
+  async endApplyEdits(e5, t7) {
+    const i4 = this._pendingApplyEdits.get(e5.id);
+    return i4 && i4.resolve(e5.edits), f(t7), C3;
+  }
+  async notifyElevationSourceChange(e5, t7) {
+    return this._elevationAligner.notifyElevationSourceChange(), C3;
+  }
+  async notifySymbologyChange(e5, t7) {
+    return C3;
+  }
+  async setSymbologySnappingSupported(e5) {
+    return this._symbologyCandidatesFetcher = n5(e5, this._getSymbologyCandidates), C3;
+  }
+  _updateFeatureFetcherConfiguration(e5) {
+    this._featureFetcher.filter = r(e5.filter) ? x.fromJSON(e5.filter) : null, this._featureFetcher.customParameters = e5.customParameters;
+  }
+  _notifyUpdating() {
+    this.emit("notify-updating", { updating: this.updating });
+  }
+};
+e([y2({ readOnly: true })], E4.prototype, "updating", null), e([y2({ readOnly: true })], E4.prototype, "updatingExcludingEdits", null), e([y2()], E4.prototype, "_isInitializing", void 0), E4 = e([n2("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceSnappingSourceWorker")], E4);
+var b = E4;
+function j6(e5) {
+  return { point: e5.point, distance: e5.distance, types: e5.types, query: r(e5.filter) ? e5.filter : { where: "1=1" } };
+}
+var C3 = { result: {} };
+export {
+  b as default
+};
+//# sourceMappingURL=FeatureServiceSnappingSourceWorker-MVB6ESH2.js.map

+ 0 - 0
node_modules/.vite/deps/FeatureServiceSnappingSourceWorker-ID2DKINZ.js.map → node_modules/.vite/deps/FeatureServiceSnappingSourceWorker-MVB6ESH2.js.map


+ 0 - 64
node_modules/.vite/deps/FeatureSet-4LFEUCS7.js

@@ -1,64 +0,0 @@
-import {
-  x
-} from "./chunk-NLLFSKB2.js";
-import "./chunk-7C23ILQ4.js";
-import "./chunk-P6VVVEX6.js";
-import "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-DLMAGHHC.js";
-import "./chunk-JOYXMSKE.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-JGBXYDGB.js";
-import "./chunk-QEWF7QPH.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TV3CFJQR.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-export {
-  x as default
-};
-//# sourceMappingURL=FeatureSet-4LFEUCS7.js.map

+ 64 - 0
node_modules/.vite/deps/FeatureSet-NRSMMBOZ.js

@@ -0,0 +1,64 @@
+import {
+  x
+} from "./chunk-WFHIGLUK.js";
+import "./chunk-KJZ6SS3P.js";
+import "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+export {
+  x as default
+};
+//# sourceMappingURL=FeatureSet-NRSMMBOZ.js.map

+ 0 - 0
node_modules/.vite/deps/FeatureSet-4LFEUCS7.js.map → node_modules/.vite/deps/FeatureSet-NRSMMBOZ.js.map


File diff suppressed because it is too large
+ 390 - 0
node_modules/.vite/deps/GeoJSONLayer-74RPAPTA.js


+ 0 - 0
node_modules/.vite/deps/GeoJSONLayer-YDKKKMXQ.js.map → node_modules/.vite/deps/GeoJSONLayer-74RPAPTA.js.map


File diff suppressed because it is too large
+ 0 - 390
node_modules/.vite/deps/GeoJSONLayer-YDKKKMXQ.js


+ 338 - 0
node_modules/.vite/deps/GeoJSONSourceWorker-BYIRP3JE.js

@@ -0,0 +1,338 @@
+import {
+  I,
+  L,
+  T
+} from "./chunk-2H3JYQ2D.js";
+import {
+  a as a2,
+  f as f2,
+  g as g2,
+  m,
+  w
+} from "./chunk-5I3CETHK.js";
+import {
+  a,
+  i as i2,
+  o
+} from "./chunk-A6WD5XTM.js";
+import {
+  u
+} from "./chunk-5X5UDWFV.js";
+import {
+  Y
+} from "./chunk-3EZOER4E.js";
+import "./chunk-XCIRV7CO.js";
+import "./chunk-DMVKVC5I.js";
+import "./chunk-EL3V6S4N.js";
+import "./chunk-NFN2M2QU.js";
+import {
+  f,
+  g
+} from "./chunk-3ZJXLJLL.js";
+import "./chunk-OP2HNSVZ.js";
+import "./chunk-4GGDRIJK.js";
+import "./chunk-MZG75XMA.js";
+import "./chunk-REMBDESU.js";
+import "./chunk-CKZZYAPN.js";
+import "./chunk-AFVJXEUJ.js";
+import "./chunk-FZSI6IGI.js";
+import "./chunk-SJGY5U4Q.js";
+import "./chunk-27XWQUQA.js";
+import "./chunk-NX2NCBAF.js";
+import {
+  X,
+  nt,
+  ot,
+  rt,
+  tt
+} from "./chunk-4VZNS7N2.js";
+import "./chunk-IIAN3QNN.js";
+import "./chunk-VYQHMPYW.js";
+import "./chunk-WXUHXYJK.js";
+import "./chunk-NTERQTPO.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-SOSOZIX6.js";
+import "./chunk-ZSW35JPD.js";
+import {
+  r as r2
+} from "./chunk-DAWQAVQO.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-NKMX5M3L.js";
+import {
+  i
+} from "./chunk-QEWF7QPH.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-BWATQC2Y.js";
+import {
+  M
+} from "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import {
+  j as j2
+} from "./chunk-PIFOHNWC.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import {
+  c as c2
+} from "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-HZRKBTHJ.js";
+import {
+  U
+} from "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  E,
+  c
+} from "./chunk-QCKFNSN2.js";
+import "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  j
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s,
+  s3 as s2
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  r
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/graphics/sources/geojson/GeoJSONSourceWorker.js
+var O = { hasAttachments: false, capabilities: "query, editing, create, delete, update", useStandardizedQueries: true, supportsCoordinatesQuantization: true, supportsReturningQueryGeometry: true, advancedQueryCapabilities: { supportsQueryAttachments: false, supportsStatistics: true, supportsPercentileStatistics: true, supportsReturningGeometryCentroid: true, supportsQueryWithDistance: true, supportsDistinct: true, supportsReturningQueryExtent: true, supportsReturningGeometryProperties: false, supportsHavingClause: true, supportsOrderBy: true, supportsPagination: true, supportsQueryWithResultType: false, supportsSqlExpression: true, supportsDisjointSpatialRel: true } };
+var C = class {
+  constructor() {
+    this._queryEngine = null, this._snapshotFeatures = async (e) => {
+      const t = await this._fetch(e);
+      return this._createFeatures(t);
+    };
+  }
+  destroy() {
+    var _a;
+    (_a = this._queryEngine) == null ? void 0 : _a.destroy(), this._queryEngine = this._fieldsIndex = this._createDefaultAttributes = null;
+  }
+  async load(e, t = {}) {
+    this._loadOptions = { url: e.url, customParameters: e.customParameters };
+    const i3 = [];
+    await this._checkProjection(e.spatialReference);
+    let r3 = null;
+    e.url && (r3 = await this._fetch(t == null ? void 0 : t.signal));
+    const n = L(r3, { geometryType: e.geometryType }), a3 = e.fields || n.fields || [], l = null != e.hasZ ? e.hasZ : n.hasZ, u2 = n.geometryType;
+    let d = e.objectIdField || n.objectIdFieldName || "__OBJECTID";
+    const p = e.spatialReference || c;
+    let c3 = e.timeInfo;
+    a3 === n.fields && n.unknownFields.length > 0 && i3.push({ name: "geojson-layer:unknown-field-types", message: "Some fields types couldn't be inferred from the features and were dropped", details: { unknownFields: n.unknownFields } });
+    let y = new r2(a3).get(d);
+    y ? ("esriFieldTypeString" !== y.type && (y.type = "esriFieldTypeOID"), y.editable = false, y.nullable = false, d = y.name) : (y = { alias: d, name: d, type: "string" === n.objectIdFieldType ? "esriFieldTypeString" : "esriFieldTypeOID", editable: false, nullable: false }, a3.unshift(y));
+    const m2 = {};
+    for (const o2 of a3) {
+      if (null == o2.name && (o2.name = o2.alias), null == o2.alias && (o2.alias = o2.name), !o2.name)
+        throw new s2("geojson-layer:invalid-field-name", "field name is missing", { field: o2 });
+      if (!i.jsonValues.includes(o2.type))
+        throw new s2("geojson-layer:invalid-field-type", `invalid type for field "${o2.name}"`, { field: o2 });
+      if (o2.name !== y.name) {
+        const e2 = M(o2);
+        void 0 !== e2 && (m2[o2.name] = e2);
+      }
+    }
+    this._fieldsIndex = new r2(a3);
+    const f3 = this._fieldsIndex.requiredFields.indexOf(y);
+    if (f3 > -1 && this._fieldsIndex.requiredFields.splice(f3, 1), c3) {
+      if (c3.startTimeField) {
+        const e2 = this._fieldsIndex.get(c3.startTimeField);
+        e2 ? (c3.startTimeField = e2.name, e2.type = "esriFieldTypeDate") : c3.startTimeField = null;
+      }
+      if (c3.endTimeField) {
+        const e2 = this._fieldsIndex.get(c3.endTimeField);
+        e2 ? (c3.endTimeField = e2.name, e2.type = "esriFieldTypeDate") : c3.endTimeField = null;
+      }
+      if (c3.trackIdField) {
+        const e2 = this._fieldsIndex.get(c3.trackIdField);
+        e2 ? c3.trackIdField = e2.name : (c3.trackIdField = null, i3.push({ name: "geojson-layer:invalid-timeInfo-trackIdField", message: "trackIdField is missing", details: { timeInfo: c3 } }));
+      }
+      c3.startTimeField || c3.endTimeField || (i3.push({ name: "geojson-layer:invalid-timeInfo", message: "startTimeField and endTimeField are missing", details: { timeInfo: c3 } }), c3 = null);
+    }
+    const I2 = u2 ? o(u2) : null, j3 = { warnings: i3, featureErrors: [], layerDefinition: { ...O, drawingInfo: I2, templates: a(m2), extent: null, geometryType: u2, objectIdField: d, fields: a3, hasZ: !!l, timeInfo: c3 } };
+    this._queryEngine = new Y({ fields: a3, geometryType: u2, hasM: false, hasZ: l, objectIdField: d, spatialReference: p, timeInfo: c3, featureStore: new u({ geometryType: u2, hasM: false, hasZ: l }), cacheSpatialQueries: true }), this._createDefaultAttributes = i2(m2, d);
+    const w2 = await this._createFeatures(r3);
+    this._objectIdGenerator = this._createObjectIdGenerator(this._queryEngine, w2);
+    const T2 = this._normalizeFeatures(w2, j3.warnings, j3.featureErrors);
+    if (this._queryEngine.featureStore.addMany(T2), j3.layerDefinition.extent = this._queryEngine.fullExtent, j3.layerDefinition.timeInfo) {
+      const { start: e2, end: t2 } = this._queryEngine.timeExtent;
+      j3.layerDefinition.timeInfo.timeExtent = [e2, t2];
+    }
+    return j3;
+  }
+  async applyEdits(e) {
+    const { spatialReference: t, geometryType: s3 } = this._queryEngine;
+    return await Promise.all([w(t, s3), f(e.adds, t), f(e.updates, t)]), await this._waitSnapshotComplete(), this._applyEdits(e);
+  }
+  async queryFeatures(e = {}, t = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQuery(e, t.signal);
+  }
+  async queryFeatureCount(e = {}, t = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForCount(e, t.signal);
+  }
+  async queryObjectIds(e = {}, t = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForIds(e, t.signal);
+  }
+  async queryExtent(e = {}, t = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForExtent(e, t.signal);
+  }
+  async querySnapping(e, t = {}) {
+    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForSnapping(e, t.signal);
+  }
+  async refresh(e) {
+    var _a;
+    return this._loadOptions.customParameters = e, (_a = this._snapshotTask) == null ? void 0 : _a.abort(), this._snapshotTask = j2(this._snapshotFeatures), this._snapshotTask.promise.then((e2) => {
+      this._queryEngine.featureStore.clear(), this._objectIdGenerator = this._createObjectIdGenerator(this._queryEngine, e2);
+      const t = this._normalizeFeatures(e2);
+      t && this._queryEngine.featureStore.addMany(t);
+    }, (e2) => {
+      this._queryEngine.featureStore.clear(), j(e2) || s.getLogger("esri.layers.GeoJSONLayer").error(new s2("geojson-layer:refresh", "An error occurred during refresh", { error: e2 }));
+    }), await this._waitSnapshotComplete(), { extent: this._queryEngine.fullExtent, timeExtent: this._queryEngine.timeExtent };
+  }
+  async _createFeatures(e) {
+    const { geometryType: t, hasZ: s3, objectIdField: i3 } = this._queryEngine, n = I(e, { geometryType: t, hasZ: s3, objectIdField: i3 });
+    if (!E(this._queryEngine.spatialReference, c))
+      for (const a3 of n)
+        r(a3.geometry) && (a3.geometry = nt(g(rt(a3.geometry, this._queryEngine.geometryType, this._queryEngine.hasZ, false), c, this._queryEngine.spatialReference)));
+    return n;
+  }
+  async _waitSnapshotComplete() {
+    if (this._snapshotTask && !this._snapshotTask.finished) {
+      try {
+        await this._snapshotTask.promise;
+      } catch {
+      }
+      return this._waitSnapshotComplete();
+    }
+  }
+  async _fetch(t) {
+    const { url: s3, customParameters: i3 } = this._loadOptions, r3 = (await U(s3, { responseType: "json", query: { ...i3 }, signal: t })).data;
+    return await T(r3), r3;
+  }
+  _normalizeFeatures(e, t, s3) {
+    const { objectIdField: i3 } = this._queryEngine, r3 = [];
+    for (const n of e) {
+      const e2 = this._createDefaultAttributes(), a3 = m(this._fieldsIndex, e2, n.attributes, true, t);
+      a3 ? s3 == null ? void 0 : s3.push(a3) : (this._assignObjectId(e2, n.attributes, true), n.attributes = e2, n.objectId = e2[i3], r3.push(n));
+    }
+    return r3;
+  }
+  _applyEdits(e) {
+    const { adds: t, updates: s3, deletes: i3 } = e, r3 = { addResults: [], deleteResults: [], updateResults: [], uidToObjectId: {} };
+    if (t && t.length && this._applyAddEdits(r3, t), s3 && s3.length && this._applyUpdateEdits(r3, s3), i3 && i3.length) {
+      for (const e2 of i3)
+        r3.deleteResults.push(f2(e2));
+      this._queryEngine.featureStore.removeManyById(i3);
+    }
+    return { extent: this._queryEngine.fullExtent, timeExtent: this._queryEngine.timeExtent, featureEditResults: r3 };
+  }
+  _applyAddEdits(e, t) {
+    var _a;
+    const { addResults: s3 } = e, { geometryType: i3, hasM: n, hasZ: o2, objectIdField: l, spatialReference: u2, featureStore: d } = this._queryEngine, c3 = [];
+    for (const p of t) {
+      if (p.geometry && i3 !== c2(p.geometry)) {
+        s3.push(a2("Incorrect geometry type."));
+        continue;
+      }
+      const t2 = this._createDefaultAttributes(), n2 = m(this._fieldsIndex, t2, p.attributes);
+      if (n2)
+        s3.push(n2);
+      else {
+        if (this._assignObjectId(t2, p.attributes), p.attributes = t2, null != p.uid) {
+          const t3 = p.attributes[l];
+          e.uidToObjectId[p.uid] = t3;
+        }
+        if (r(p.geometry)) {
+          const e2 = (_a = p.geometry.spatialReference) != null ? _a : u2;
+          p.geometry = g(g2(p.geometry, e2), e2, u2);
+        }
+        c3.push(p), s3.push(f2(p.attributes[l]));
+      }
+    }
+    d.addMany(tt([], c3, i3, o2, n, l));
+  }
+  _applyUpdateEdits({ updateResults: e }, t) {
+    var _a;
+    const { geometryType: s3, hasM: i3, hasZ: n, objectIdField: o2, spatialReference: l, featureStore: u2 } = this._queryEngine;
+    for (const d of t) {
+      const { attributes: t2, geometry: p } = d, h = t2 && t2[o2];
+      if (null == h) {
+        e.push(a2(`Identifier field ${o2} missing`));
+        continue;
+      }
+      if (!u2.has(h)) {
+        e.push(a2(`Feature with object id ${h} missing`));
+        continue;
+      }
+      const m2 = ot(u2.getFeature(h), s3, n, i3);
+      if (r(p)) {
+        if (s3 !== c2(p)) {
+          e.push(a2("Incorrect geometry type."));
+          continue;
+        }
+        const t3 = (_a = p.spatialReference) != null ? _a : l;
+        m2.geometry = g(g2(p, t3), t3, l);
+      }
+      if (t2) {
+        const s4 = m(this._fieldsIndex, m2.attributes, t2);
+        if (s4) {
+          e.push(s4);
+          continue;
+        }
+      }
+      u2.add(X(m2, s3, n, i3, o2)), e.push(f2(h));
+    }
+  }
+  _createObjectIdGenerator(e, t) {
+    const s3 = e.fieldsIndex.get(e.objectIdField);
+    if ("esriFieldTypeString" === s3.type)
+      return () => s3.name + "-" + Date.now().toString(16);
+    let i3 = Number.NEGATIVE_INFINITY;
+    for (const r3 of t)
+      r3.objectId && (i3 = Math.max(i3, r3.objectId));
+    return i3 = Math.max(0, i3) + 1, () => i3++;
+  }
+  _assignObjectId(e, t, s3 = false) {
+    const i3 = this._queryEngine.objectIdField;
+    e[i3] = s3 && i3 in t ? t[i3] : this._objectIdGenerator();
+  }
+  async _checkProjection(e) {
+    try {
+      await f(c, e);
+    } catch {
+      throw new s2("geojson-layer", "Projection not supported");
+    }
+  }
+};
+export {
+  C as default
+};
+//# sourceMappingURL=GeoJSONSourceWorker-BYIRP3JE.js.map

+ 0 - 0
node_modules/.vite/deps/GeoJSONSourceWorker-ZQVDDZS5.js.map → node_modules/.vite/deps/GeoJSONSourceWorker-BYIRP3JE.js.map


+ 0 - 338
node_modules/.vite/deps/GeoJSONSourceWorker-ZQVDDZS5.js

@@ -1,338 +0,0 @@
-import {
-  I,
-  L,
-  T
-} from "./chunk-JK76NUHI.js";
-import {
-  a as a2,
-  f as f2,
-  g as g2,
-  m,
-  w
-} from "./chunk-QR6V6X5R.js";
-import {
-  a,
-  i as i2,
-  o
-} from "./chunk-A6WD5XTM.js";
-import {
-  u
-} from "./chunk-RDOYANC4.js";
-import {
-  Y
-} from "./chunk-FSIQKOJP.js";
-import "./chunk-OQSZOHTF.js";
-import "./chunk-OP2HNSVZ.js";
-import "./chunk-UVQJ7AVD.js";
-import "./chunk-DMVKVC5I.js";
-import "./chunk-Y7BZ6TKQ.js";
-import {
-  f,
-  g
-} from "./chunk-VEJPYAE4.js";
-import "./chunk-4GGDRIJK.js";
-import "./chunk-D5UVUJIX.js";
-import "./chunk-PZ7XDUL6.js";
-import "./chunk-ULSPZIPE.js";
-import "./chunk-UMUHMVL4.js";
-import "./chunk-FZSI6IGI.js";
-import "./chunk-B5O7N7PM.js";
-import "./chunk-KOKTANE6.js";
-import "./chunk-OKUFE7TO.js";
-import {
-  X,
-  nt,
-  ot,
-  rt,
-  tt
-} from "./chunk-JKFWEHNK.js";
-import "./chunk-IIAN3QNN.js";
-import "./chunk-P24XEEHY.js";
-import "./chunk-WOXHUQGM.js";
-import "./chunk-FMPQIGFA.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-ZSW35JPD.js";
-import {
-  r as r2
-} from "./chunk-JLSNMUQJ.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-PT62335L.js";
-import {
-  i
-} from "./chunk-QEWF7QPH.js";
-import "./chunk-FNA5GLRW.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TJV6ODRM.js";
-import {
-  M
-} from "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import {
-  j as j2
-} from "./chunk-2ZSOO377.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import {
-  c as c2
-} from "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-HZRKBTHJ.js";
-import {
-  U
-} from "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import {
-  E,
-  c
-} from "./chunk-PQFTYGF5.js";
-import "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  j
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s,
-  s3 as s2
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  r
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/layers/graphics/sources/geojson/GeoJSONSourceWorker.js
-var O = { hasAttachments: false, capabilities: "query, editing, create, delete, update", useStandardizedQueries: true, supportsCoordinatesQuantization: true, supportsReturningQueryGeometry: true, advancedQueryCapabilities: { supportsQueryAttachments: false, supportsStatistics: true, supportsPercentileStatistics: true, supportsReturningGeometryCentroid: true, supportsQueryWithDistance: true, supportsDistinct: true, supportsReturningQueryExtent: true, supportsReturningGeometryProperties: false, supportsHavingClause: true, supportsOrderBy: true, supportsPagination: true, supportsQueryWithResultType: false, supportsSqlExpression: true, supportsDisjointSpatialRel: true } };
-var C = class {
-  constructor() {
-    this._queryEngine = null, this._snapshotFeatures = async (e) => {
-      const t = await this._fetch(e);
-      return this._createFeatures(t);
-    };
-  }
-  destroy() {
-    var _a;
-    (_a = this._queryEngine) == null ? void 0 : _a.destroy(), this._queryEngine = this._fieldsIndex = this._createDefaultAttributes = null;
-  }
-  async load(e, t = {}) {
-    this._loadOptions = { url: e.url, customParameters: e.customParameters };
-    const i3 = [];
-    await this._checkProjection(e.spatialReference);
-    let r3 = null;
-    e.url && (r3 = await this._fetch(t == null ? void 0 : t.signal));
-    const n = L(r3, { geometryType: e.geometryType }), a3 = e.fields || n.fields || [], l = null != e.hasZ ? e.hasZ : n.hasZ, u2 = n.geometryType;
-    let d = e.objectIdField || n.objectIdFieldName || "__OBJECTID";
-    const p = e.spatialReference || c;
-    let c3 = e.timeInfo;
-    a3 === n.fields && n.unknownFields.length > 0 && i3.push({ name: "geojson-layer:unknown-field-types", message: "Some fields types couldn't be inferred from the features and were dropped", details: { unknownFields: n.unknownFields } });
-    let y = new r2(a3).get(d);
-    y ? ("esriFieldTypeString" !== y.type && (y.type = "esriFieldTypeOID"), y.editable = false, y.nullable = false, d = y.name) : (y = { alias: d, name: d, type: "string" === n.objectIdFieldType ? "esriFieldTypeString" : "esriFieldTypeOID", editable: false, nullable: false }, a3.unshift(y));
-    const m2 = {};
-    for (const o2 of a3) {
-      if (null == o2.name && (o2.name = o2.alias), null == o2.alias && (o2.alias = o2.name), !o2.name)
-        throw new s2("geojson-layer:invalid-field-name", "field name is missing", { field: o2 });
-      if (!i.jsonValues.includes(o2.type))
-        throw new s2("geojson-layer:invalid-field-type", `invalid type for field "${o2.name}"`, { field: o2 });
-      if (o2.name !== y.name) {
-        const e2 = M(o2);
-        void 0 !== e2 && (m2[o2.name] = e2);
-      }
-    }
-    this._fieldsIndex = new r2(a3);
-    const f3 = this._fieldsIndex.requiredFields.indexOf(y);
-    if (f3 > -1 && this._fieldsIndex.requiredFields.splice(f3, 1), c3) {
-      if (c3.startTimeField) {
-        const e2 = this._fieldsIndex.get(c3.startTimeField);
-        e2 ? (c3.startTimeField = e2.name, e2.type = "esriFieldTypeDate") : c3.startTimeField = null;
-      }
-      if (c3.endTimeField) {
-        const e2 = this._fieldsIndex.get(c3.endTimeField);
-        e2 ? (c3.endTimeField = e2.name, e2.type = "esriFieldTypeDate") : c3.endTimeField = null;
-      }
-      if (c3.trackIdField) {
-        const e2 = this._fieldsIndex.get(c3.trackIdField);
-        e2 ? c3.trackIdField = e2.name : (c3.trackIdField = null, i3.push({ name: "geojson-layer:invalid-timeInfo-trackIdField", message: "trackIdField is missing", details: { timeInfo: c3 } }));
-      }
-      c3.startTimeField || c3.endTimeField || (i3.push({ name: "geojson-layer:invalid-timeInfo", message: "startTimeField and endTimeField are missing", details: { timeInfo: c3 } }), c3 = null);
-    }
-    const I2 = u2 ? o(u2) : null, j3 = { warnings: i3, featureErrors: [], layerDefinition: { ...O, drawingInfo: I2, templates: a(m2), extent: null, geometryType: u2, objectIdField: d, fields: a3, hasZ: !!l, timeInfo: c3 } };
-    this._queryEngine = new Y({ fields: a3, geometryType: u2, hasM: false, hasZ: l, objectIdField: d, spatialReference: p, timeInfo: c3, featureStore: new u({ geometryType: u2, hasM: false, hasZ: l }), cacheSpatialQueries: true }), this._createDefaultAttributes = i2(m2, d);
-    const w2 = await this._createFeatures(r3);
-    this._objectIdGenerator = this._createObjectIdGenerator(this._queryEngine, w2);
-    const T2 = this._normalizeFeatures(w2, j3.warnings, j3.featureErrors);
-    if (this._queryEngine.featureStore.addMany(T2), j3.layerDefinition.extent = this._queryEngine.fullExtent, j3.layerDefinition.timeInfo) {
-      const { start: e2, end: t2 } = this._queryEngine.timeExtent;
-      j3.layerDefinition.timeInfo.timeExtent = [e2, t2];
-    }
-    return j3;
-  }
-  async applyEdits(e) {
-    const { spatialReference: t, geometryType: s3 } = this._queryEngine;
-    return await Promise.all([w(t, s3), f(e.adds, t), f(e.updates, t)]), await this._waitSnapshotComplete(), this._applyEdits(e);
-  }
-  async queryFeatures(e = {}, t = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQuery(e, t.signal);
-  }
-  async queryFeatureCount(e = {}, t = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForCount(e, t.signal);
-  }
-  async queryObjectIds(e = {}, t = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForIds(e, t.signal);
-  }
-  async queryExtent(e = {}, t = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForExtent(e, t.signal);
-  }
-  async querySnapping(e, t = {}) {
-    return await this._waitSnapshotComplete(), this._queryEngine.executeQueryForSnapping(e, t.signal);
-  }
-  async refresh(e) {
-    var _a;
-    return this._loadOptions.customParameters = e, (_a = this._snapshotTask) == null ? void 0 : _a.abort(), this._snapshotTask = j2(this._snapshotFeatures), this._snapshotTask.promise.then((e2) => {
-      this._queryEngine.featureStore.clear(), this._objectIdGenerator = this._createObjectIdGenerator(this._queryEngine, e2);
-      const t = this._normalizeFeatures(e2);
-      t && this._queryEngine.featureStore.addMany(t);
-    }, (e2) => {
-      this._queryEngine.featureStore.clear(), j(e2) || s.getLogger("esri.layers.GeoJSONLayer").error(new s2("geojson-layer:refresh", "An error occurred during refresh", { error: e2 }));
-    }), await this._waitSnapshotComplete(), { extent: this._queryEngine.fullExtent, timeExtent: this._queryEngine.timeExtent };
-  }
-  async _createFeatures(e) {
-    const { geometryType: t, hasZ: s3, objectIdField: i3 } = this._queryEngine, n = I(e, { geometryType: t, hasZ: s3, objectIdField: i3 });
-    if (!E(this._queryEngine.spatialReference, c))
-      for (const a3 of n)
-        r(a3.geometry) && (a3.geometry = nt(g(rt(a3.geometry, this._queryEngine.geometryType, this._queryEngine.hasZ, false), c, this._queryEngine.spatialReference)));
-    return n;
-  }
-  async _waitSnapshotComplete() {
-    if (this._snapshotTask && !this._snapshotTask.finished) {
-      try {
-        await this._snapshotTask.promise;
-      } catch {
-      }
-      return this._waitSnapshotComplete();
-    }
-  }
-  async _fetch(t) {
-    const { url: s3, customParameters: i3 } = this._loadOptions, r3 = (await U(s3, { responseType: "json", query: { ...i3 }, signal: t })).data;
-    return await T(r3), r3;
-  }
-  _normalizeFeatures(e, t, s3) {
-    const { objectIdField: i3 } = this._queryEngine, r3 = [];
-    for (const n of e) {
-      const e2 = this._createDefaultAttributes(), a3 = m(this._fieldsIndex, e2, n.attributes, true, t);
-      a3 ? s3 == null ? void 0 : s3.push(a3) : (this._assignObjectId(e2, n.attributes, true), n.attributes = e2, n.objectId = e2[i3], r3.push(n));
-    }
-    return r3;
-  }
-  _applyEdits(e) {
-    const { adds: t, updates: s3, deletes: i3 } = e, r3 = { addResults: [], deleteResults: [], updateResults: [], uidToObjectId: {} };
-    if (t && t.length && this._applyAddEdits(r3, t), s3 && s3.length && this._applyUpdateEdits(r3, s3), i3 && i3.length) {
-      for (const e2 of i3)
-        r3.deleteResults.push(f2(e2));
-      this._queryEngine.featureStore.removeManyById(i3);
-    }
-    return { extent: this._queryEngine.fullExtent, timeExtent: this._queryEngine.timeExtent, featureEditResults: r3 };
-  }
-  _applyAddEdits(e, t) {
-    var _a;
-    const { addResults: s3 } = e, { geometryType: i3, hasM: n, hasZ: o2, objectIdField: l, spatialReference: u2, featureStore: d } = this._queryEngine, c3 = [];
-    for (const p of t) {
-      if (p.geometry && i3 !== c2(p.geometry)) {
-        s3.push(a2("Incorrect geometry type."));
-        continue;
-      }
-      const t2 = this._createDefaultAttributes(), n2 = m(this._fieldsIndex, t2, p.attributes);
-      if (n2)
-        s3.push(n2);
-      else {
-        if (this._assignObjectId(t2, p.attributes), p.attributes = t2, null != p.uid) {
-          const t3 = p.attributes[l];
-          e.uidToObjectId[p.uid] = t3;
-        }
-        if (r(p.geometry)) {
-          const e2 = (_a = p.geometry.spatialReference) != null ? _a : u2;
-          p.geometry = g(g2(p.geometry, e2), e2, u2);
-        }
-        c3.push(p), s3.push(f2(p.attributes[l]));
-      }
-    }
-    d.addMany(tt([], c3, i3, o2, n, l));
-  }
-  _applyUpdateEdits({ updateResults: e }, t) {
-    var _a;
-    const { geometryType: s3, hasM: i3, hasZ: n, objectIdField: o2, spatialReference: l, featureStore: u2 } = this._queryEngine;
-    for (const d of t) {
-      const { attributes: t2, geometry: p } = d, h = t2 && t2[o2];
-      if (null == h) {
-        e.push(a2(`Identifier field ${o2} missing`));
-        continue;
-      }
-      if (!u2.has(h)) {
-        e.push(a2(`Feature with object id ${h} missing`));
-        continue;
-      }
-      const m2 = ot(u2.getFeature(h), s3, n, i3);
-      if (r(p)) {
-        if (s3 !== c2(p)) {
-          e.push(a2("Incorrect geometry type."));
-          continue;
-        }
-        const t3 = (_a = p.spatialReference) != null ? _a : l;
-        m2.geometry = g(g2(p, t3), t3, l);
-      }
-      if (t2) {
-        const s4 = m(this._fieldsIndex, m2.attributes, t2);
-        if (s4) {
-          e.push(s4);
-          continue;
-        }
-      }
-      u2.add(X(m2, s3, n, i3, o2)), e.push(f2(h));
-    }
-  }
-  _createObjectIdGenerator(e, t) {
-    const s3 = e.fieldsIndex.get(e.objectIdField);
-    if ("esriFieldTypeString" === s3.type)
-      return () => s3.name + "-" + Date.now().toString(16);
-    let i3 = Number.NEGATIVE_INFINITY;
-    for (const r3 of t)
-      r3.objectId && (i3 = Math.max(i3, r3.objectId));
-    return i3 = Math.max(0, i3) + 1, () => i3++;
-  }
-  _assignObjectId(e, t, s3 = false) {
-    const i3 = this._queryEngine.objectIdField;
-    e[i3] = s3 && i3 in t ? t[i3] : this._objectIdGenerator();
-  }
-  async _checkProjection(e) {
-    try {
-      await f(c, e);
-    } catch {
-      throw new s2("geojson-layer", "Projection not supported");
-    }
-  }
-};
-export {
-  C as default
-};
-//# sourceMappingURL=GeoJSONSourceWorker-ZQVDDZS5.js.map

+ 181 - 0
node_modules/.vite/deps/GeoRSSLayer-GRSYEJZN.js

@@ -0,0 +1,181 @@
+import {
+  S2 as S,
+  m,
+  n as n3,
+  y as y2
+} from "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-NKMX5M3L.js";
+import {
+  a
+} from "./chunk-VLG7MMVR.js";
+import {
+  v
+} from "./chunk-2DSTZVND.js";
+import {
+  c as c2
+} from "./chunk-VXKIGGM4.js";
+import {
+  c,
+  f,
+  j
+} from "./chunk-KG45D2XL.js";
+import {
+  O
+} from "./chunk-JYRZQPQI.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import {
+  p
+} from "./chunk-UMJCSYX5.js";
+import {
+  n as n2
+} from "./chunk-UA6W42KP.js";
+import "./chunk-3OSQ6GXO.js";
+import "./chunk-3WQOA5CB.js";
+import {
+  t
+} from "./chunk-2L5METUC.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-PIFOHNWC.js";
+import "./chunk-LLO7GCYU.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import {
+  b
+} from "./chunk-O43KLDSX.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import {
+  U
+} from "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import {
+  Ut
+} from "./chunk-VEGAOVMY.js";
+import {
+  o,
+  w2
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  G
+} from "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  w
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  r
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/GeoRSSLayer.js
+var L = ["atom", "xml"];
+var R = { base: a, key: "type", typeMap: { "simple-line": m }, errorContext: "symbol" };
+var k = { base: a, key: "type", typeMap: { "picture-marker": n3, "simple-marker": y2 }, errorContext: "symbol" };
+var _ = { base: a, key: "type", typeMap: { "simple-fill": S }, errorContext: "symbol" };
+var w3 = class extends n2(p(c2(v(t(O(b)))))) {
+  constructor(...e2) {
+    super(...e2), this.description = null, this.fullExtent = null, this.legendEnabled = true, this.lineSymbol = null, this.pointSymbol = null, this.polygonSymbol = null, this.operationalLayerType = "GeoRSS", this.url = null, this.type = "geo-rss";
+  }
+  normalizeCtorArgs(e2, o2) {
+    return "string" == typeof e2 ? { url: e2, ...o2 } : e2;
+  }
+  readFeatureCollections(e2, o2) {
+    return o2.featureCollection.layers.forEach((e3) => {
+      var _a;
+      const o3 = e3.layerDefinition.drawingInfo.renderer.symbol;
+      o3 && "esriSFS" === o3.type && ((_a = o3.outline) == null ? void 0 : _a.style.includes("esriSFS")) && (o3.outline.style = "esriSLSSolid");
+    }), o2.featureCollection.layers;
+  }
+  get hasPoints() {
+    return this._hasGeometry("esriGeometryPoint");
+  }
+  get hasPolylines() {
+    return this._hasGeometry("esriGeometryPolyline");
+  }
+  get hasPolygons() {
+    return this._hasGeometry("esriGeometryPolygon");
+  }
+  get title() {
+    const e2 = this._get("title");
+    return e2 && "defaults" !== this.originOf("title") ? e2 : this.url ? Ut(this.url, L) || "GeoRSS" : e2 || "";
+  }
+  set title(e2) {
+    this._set("title", e2);
+  }
+  load(e2) {
+    const o2 = r(e2) ? e2.signal : null;
+    return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["Map Service", "Feature Service", "Feature Collection", "Scene Service"] }, e2).catch(w).then(() => this._fetchService(o2)).then((e3) => {
+      this.read(e3, { origin: "service" });
+    })), Promise.resolve(this);
+  }
+  async hasDataChanged() {
+    const e2 = await this._fetchService();
+    return this.read(e2, { origin: "service", ignoreDefaults: true }), true;
+  }
+  async _fetchService(e2) {
+    var _a;
+    const t2 = this.spatialReference, { data: s2 } = await U(s.geoRSSServiceUrl, { query: { url: this.url, refresh: !!this.loaded || void 0, outSR: G(t2) ? void 0 : (_a = t2.wkid) != null ? _a : JSON.stringify(t2) }, signal: e2 });
+    return s2;
+  }
+  _hasGeometry(e2) {
+    var _a, _b;
+    return (_b = (_a = this.featureCollections) == null ? void 0 : _a.some((o2) => {
+      var _a2, _b2;
+      return ((_a2 = o2.featureSet) == null ? void 0 : _a2.geometryType) === e2 && ((_b2 = o2.featureSet.features) == null ? void 0 : _b2.length) > 0;
+    })) != null ? _b : false;
+  }
+};
+e([y()], w3.prototype, "description", void 0), e([y()], w3.prototype, "featureCollections", void 0), e([o("service", "featureCollections", ["featureCollection.layers"])], w3.prototype, "readFeatureCollections", null), e([y({ type: w2, json: { name: "lookAtExtent" } })], w3.prototype, "fullExtent", void 0), e([y(j)], w3.prototype, "id", void 0), e([y(c)], w3.prototype, "legendEnabled", void 0), e([y({ types: R, json: { write: true } })], w3.prototype, "lineSymbol", void 0), e([y({ type: ["show", "hide"] })], w3.prototype, "listMode", void 0), e([y({ types: k, json: { write: true } })], w3.prototype, "pointSymbol", void 0), e([y({ types: _, json: { write: true } })], w3.prototype, "polygonSymbol", void 0), e([y({ type: ["GeoRSS"] })], w3.prototype, "operationalLayerType", void 0), e([y(f)], w3.prototype, "url", void 0), e([y({ json: { origins: { service: { read: { source: "name", reader: (e2) => e2 || void 0 } } } } })], w3.prototype, "title", null), e([y({ readOnly: true, json: { read: false }, value: "geo-rss" })], w3.prototype, "type", void 0), w3 = e([n("esri.layers.GeoRSSLayer")], w3);
+var F = w3;
+export {
+  F as default
+};
+//# sourceMappingURL=GeoRSSLayer-GRSYEJZN.js.map

+ 0 - 0
node_modules/.vite/deps/GeoRSSLayer-OMFPL5EF.js.map → node_modules/.vite/deps/GeoRSSLayer-GRSYEJZN.js.map


+ 0 - 181
node_modules/.vite/deps/GeoRSSLayer-OMFPL5EF.js

@@ -1,181 +0,0 @@
-import {
-  S2 as S,
-  m,
-  n as n3,
-  y as y2
-} from "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-DLMAGHHC.js";
-import "./chunk-JOYXMSKE.js";
-import "./chunk-ECY35CJI.js";
-import {
-  a
-} from "./chunk-MCWCB5IY.js";
-import {
-  v
-} from "./chunk-JUWKPBLS.js";
-import {
-  c as c2
-} from "./chunk-WLSB4F4I.js";
-import {
-  c,
-  f,
-  j
-} from "./chunk-GLSWDDR3.js";
-import {
-  O
-} from "./chunk-MIQGEDET.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import {
-  p
-} from "./chunk-GN35O2ZO.js";
-import {
-  n as n2
-} from "./chunk-XTVKPAWY.js";
-import "./chunk-3OSQ6GXO.js";
-import "./chunk-3WQOA5CB.js";
-import {
-  t
-} from "./chunk-PLWDAYK7.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-2ZSOO377.js";
-import "./chunk-YUA3AHKR.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import {
-  b
-} from "./chunk-DXVOOCG4.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import {
-  U
-} from "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import {
-  Ut
-} from "./chunk-VEGAOVMY.js";
-import {
-  o,
-  w2
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import {
-  G
-} from "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  w
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  r
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/layers/GeoRSSLayer.js
-var L = ["atom", "xml"];
-var R = { base: a, key: "type", typeMap: { "simple-line": m }, errorContext: "symbol" };
-var k = { base: a, key: "type", typeMap: { "picture-marker": n3, "simple-marker": y2 }, errorContext: "symbol" };
-var _ = { base: a, key: "type", typeMap: { "simple-fill": S }, errorContext: "symbol" };
-var w3 = class extends n2(p(c2(v(t(O(b)))))) {
-  constructor(...e2) {
-    super(...e2), this.description = null, this.fullExtent = null, this.legendEnabled = true, this.lineSymbol = null, this.pointSymbol = null, this.polygonSymbol = null, this.operationalLayerType = "GeoRSS", this.url = null, this.type = "geo-rss";
-  }
-  normalizeCtorArgs(e2, o2) {
-    return "string" == typeof e2 ? { url: e2, ...o2 } : e2;
-  }
-  readFeatureCollections(e2, o2) {
-    return o2.featureCollection.layers.forEach((e3) => {
-      var _a;
-      const o3 = e3.layerDefinition.drawingInfo.renderer.symbol;
-      o3 && "esriSFS" === o3.type && ((_a = o3.outline) == null ? void 0 : _a.style.includes("esriSFS")) && (o3.outline.style = "esriSLSSolid");
-    }), o2.featureCollection.layers;
-  }
-  get hasPoints() {
-    return this._hasGeometry("esriGeometryPoint");
-  }
-  get hasPolylines() {
-    return this._hasGeometry("esriGeometryPolyline");
-  }
-  get hasPolygons() {
-    return this._hasGeometry("esriGeometryPolygon");
-  }
-  get title() {
-    const e2 = this._get("title");
-    return e2 && "defaults" !== this.originOf("title") ? e2 : this.url ? Ut(this.url, L) || "GeoRSS" : e2 || "";
-  }
-  set title(e2) {
-    this._set("title", e2);
-  }
-  load(e2) {
-    const o2 = r(e2) ? e2.signal : null;
-    return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["Map Service", "Feature Service", "Feature Collection", "Scene Service"] }, e2).catch(w).then(() => this._fetchService(o2)).then((e3) => {
-      this.read(e3, { origin: "service" });
-    })), Promise.resolve(this);
-  }
-  async hasDataChanged() {
-    const e2 = await this._fetchService();
-    return this.read(e2, { origin: "service", ignoreDefaults: true }), true;
-  }
-  async _fetchService(e2) {
-    var _a;
-    const t2 = this.spatialReference, { data: s2 } = await U(s.geoRSSServiceUrl, { query: { url: this.url, refresh: !!this.loaded || void 0, outSR: G(t2) ? void 0 : (_a = t2.wkid) != null ? _a : JSON.stringify(t2) }, signal: e2 });
-    return s2;
-  }
-  _hasGeometry(e2) {
-    var _a, _b;
-    return (_b = (_a = this.featureCollections) == null ? void 0 : _a.some((o2) => {
-      var _a2, _b2;
-      return ((_a2 = o2.featureSet) == null ? void 0 : _a2.geometryType) === e2 && ((_b2 = o2.featureSet.features) == null ? void 0 : _b2.length) > 0;
-    })) != null ? _b : false;
-  }
-};
-e([y()], w3.prototype, "description", void 0), e([y()], w3.prototype, "featureCollections", void 0), e([o("service", "featureCollections", ["featureCollection.layers"])], w3.prototype, "readFeatureCollections", null), e([y({ type: w2, json: { name: "lookAtExtent" } })], w3.prototype, "fullExtent", void 0), e([y(j)], w3.prototype, "id", void 0), e([y(c)], w3.prototype, "legendEnabled", void 0), e([y({ types: R, json: { write: true } })], w3.prototype, "lineSymbol", void 0), e([y({ type: ["show", "hide"] })], w3.prototype, "listMode", void 0), e([y({ types: k, json: { write: true } })], w3.prototype, "pointSymbol", void 0), e([y({ types: _, json: { write: true } })], w3.prototype, "polygonSymbol", void 0), e([y({ type: ["GeoRSS"] })], w3.prototype, "operationalLayerType", void 0), e([y(f)], w3.prototype, "url", void 0), e([y({ json: { origins: { service: { read: { source: "name", reader: (e2) => e2 || void 0 } } } } })], w3.prototype, "title", null), e([y({ readOnly: true, json: { read: false }, value: "geo-rss" })], w3.prototype, "type", void 0), w3 = e([n("esri.layers.GeoRSSLayer")], w3);
-var F = w3;
-export {
-  F as default
-};
-//# sourceMappingURL=GeoRSSLayer-OMFPL5EF.js.map

+ 265 - 0
node_modules/.vite/deps/GeoRSSLayerView2D-5DGPHLT2.js

@@ -0,0 +1,265 @@
+import {
+  i
+} from "./chunk-WCBXH67T.js";
+import {
+  oe
+} from "./chunk-QXIGWYMQ.js";
+import "./chunk-BU4ZNN5N.js";
+import "./chunk-RODWSCDL.js";
+import "./chunk-T6DJ6UAT.js";
+import {
+  u,
+  y
+} from "./chunk-ZOTXRPGC.js";
+import "./chunk-KGI3YKHP.js";
+import "./chunk-WOGDHLUJ.js";
+import "./chunk-J2PY6ANL.js";
+import "./chunk-MH3GGTFP.js";
+import "./chunk-2ZACOQZJ.js";
+import "./chunk-JBMHQ5RK.js";
+import "./chunk-WBWQJQK4.js";
+import "./chunk-DBT4KOKX.js";
+import "./chunk-2GP5D74I.js";
+import "./chunk-6XIF2YUL.js";
+import "./chunk-UB42CXQV.js";
+import "./chunk-AIG57VB7.js";
+import "./chunk-7Y5RTA5Y.js";
+import "./chunk-A22ACVMF.js";
+import "./chunk-SCZJ2KEY.js";
+import "./chunk-ST53DRNI.js";
+import "./chunk-PCYFSSBL.js";
+import "./chunk-ADR6I4L4.js";
+import "./chunk-7EM3ZPV7.js";
+import "./chunk-WPDBODJM.js";
+import "./chunk-5IVP3KUS.js";
+import "./chunk-JXYBFGFY.js";
+import "./chunk-EPMXCACW.js";
+import "./chunk-UCPKJYXN.js";
+import "./chunk-KFLNKWNF.js";
+import "./chunk-R24MO4IV.js";
+import "./chunk-YQBYWPBD.js";
+import "./chunk-XBFCIW4K.js";
+import "./chunk-T2SKWJGU.js";
+import "./chunk-UO3LS2M5.js";
+import "./chunk-H2VOWDMO.js";
+import "./chunk-QISOH77W.js";
+import "./chunk-UWKVAZQ6.js";
+import "./chunk-3WXSWAUV.js";
+import "./chunk-27YO3FKC.js";
+import "./chunk-EQNT4A7P.js";
+import "./chunk-4HL6BBWO.js";
+import "./chunk-KUO7OCMN.js";
+import "./chunk-XO5VJRK4.js";
+import "./chunk-DMVKVC5I.js";
+import "./chunk-3ZJXLJLL.js";
+import "./chunk-4OM3EX6P.js";
+import "./chunk-3OFVLRSL.js";
+import "./chunk-AFVJXEUJ.js";
+import "./chunk-FZSI6IGI.js";
+import "./chunk-YFDOPEEZ.js";
+import "./chunk-IQBIGNPU.js";
+import "./chunk-QU433TMZ.js";
+import "./chunk-K7B6OWCU.js";
+import "./chunk-YW3ZWYRO.js";
+import "./chunk-TFW2HQCV.js";
+import "./chunk-BPRMPSTX.js";
+import "./chunk-PQGNKUMB.js";
+import "./chunk-JEA4MMTV.js";
+import "./chunk-RG3AHHRL.js";
+import "./chunk-UDYHZLTE.js";
+import "./chunk-XHRNCFJT.js";
+import "./chunk-DGINNG7Z.js";
+import "./chunk-KK6FUQQU.js";
+import "./chunk-JQUWFKNU.js";
+import "./chunk-RWQH5X3O.js";
+import "./chunk-6334AFGG.js";
+import {
+  x
+} from "./chunk-WFHIGLUK.js";
+import "./chunk-IASFQ7K7.js";
+import "./chunk-TFHLTN6F.js";
+import "./chunk-4VZNS7N2.js";
+import "./chunk-O3JQY77G.js";
+import "./chunk-IIAN3QNN.js";
+import "./chunk-VYQHMPYW.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-WXUHXYJK.js";
+import "./chunk-NTERQTPO.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-SOSOZIX6.js";
+import "./chunk-TU7WVKU4.js";
+import "./chunk-2QIZS77U.js";
+import {
+  p,
+  t
+} from "./chunk-JB2527A3.js";
+import "./chunk-XODJHDJQ.js";
+import "./chunk-O2PIYIHJ.js";
+import "./chunk-2BWPQRLB.js";
+import "./chunk-HPD2S4QL.js";
+import "./chunk-C65ZRRQD.js";
+import "./chunk-3HCJD762.js";
+import "./chunk-GR4RKUNH.js";
+import "./chunk-LTQAWUCK.js";
+import "./chunk-W3SLJVWY.js";
+import "./chunk-PK4W65H4.js";
+import "./chunk-KJZ6SS3P.js";
+import {
+  k
+} from "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import "./chunk-EY2WJSAJ.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-4PNYPUDB.js";
+import "./chunk-RDMCXRET.js";
+import "./chunk-BQHWPTT7.js";
+import "./chunk-ZSW35JPD.js";
+import "./chunk-DAWQAVQO.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import {
+  h,
+  l
+} from "./chunk-BWATQC2Y.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-O6VYMEIX.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import {
+  j
+} from "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/2d/layers/GeoRSSLayerView2D.js
+var y2 = class extends y(u) {
+  constructor() {
+    super(...arguments), this._graphicsViewMap = {}, this._popupTemplates = /* @__PURE__ */ new Map(), this.graphicsViews = [];
+  }
+  async hitTest(e2, r) {
+    if (!this.graphicsViews.length)
+      return null;
+    const s = this.layer;
+    return this.graphicsViews.reverse().map((r2) => {
+      const i2 = this._popupTemplates.get(r2), o = r2.hitTest(e2);
+      for (const e3 of o)
+        e3.layer = s, e3.sourceLayer = s, e3.popupTemplate = i2;
+      return o;
+    }).flat().map((r2) => ({ type: "graphic", graphic: r2, layer: s, mapPoint: e2 }));
+  }
+  update(e2) {
+    if (this.graphicsViews)
+      for (const r of this.graphicsViews)
+        r.processUpdate(e2);
+  }
+  attach() {
+    this.handles.add([l(() => {
+      var _a;
+      return (_a = this.layer) == null ? void 0 : _a.featureCollections;
+    }, (e2) => {
+      this._clear();
+      for (const { popupInfo: i2, featureSet: o, layerDefinition: t2 } of e2) {
+        const e3 = x.fromJSON(o), p2 = new j(e3.features), h2 = t2.drawingInfo, m = i2 ? k.fromJSON(i2) : null, y3 = t(h2.renderer), g2 = new oe({ requestUpdateCallback: () => this.requestUpdate(), view: this.view, graphics: p2, renderer: y3, container: new i(this.view.featuresTilingScheme) });
+        this._graphicsViewMap[e3.geometryType] = g2, this._popupTemplates.set(g2, m), "polygon" !== e3.geometryType || this.layer.polygonSymbol ? "polyline" !== e3.geometryType || this.layer.lineSymbol ? "point" !== e3.geometryType || this.layer.pointSymbol || (this.layer.pointSymbol = y3.symbol) : this.layer.lineSymbol = y3.symbol : this.layer.polygonSymbol = y3.symbol, this.graphicsViews.push(g2), this.container.addChild(g2.container);
+      }
+    }, h), l(() => {
+      var _a;
+      return (_a = this.layer) == null ? void 0 : _a.polygonSymbol;
+    }, (e2) => {
+      this._graphicsViewMap.polygon.renderer = new p({ symbol: e2 });
+    }, h), l(() => {
+      var _a;
+      return (_a = this.layer) == null ? void 0 : _a.lineSymbol;
+    }, (e2) => {
+      this._graphicsViewMap.polyline.renderer = new p({ symbol: e2 });
+    }, h), l(() => {
+      var _a;
+      return (_a = this.layer) == null ? void 0 : _a.pointSymbol;
+    }, (e2) => {
+      this._graphicsViewMap.point.renderer = new p({ symbol: e2 });
+    }, h)], "georsslayerview");
+  }
+  detach() {
+    this.handles.remove("georsslayerview"), this._clear();
+  }
+  moveStart() {
+  }
+  moveEnd() {
+  }
+  viewChange() {
+    for (const e2 of this.graphicsViews)
+      e2.viewChange();
+  }
+  _clear() {
+    this.container.removeAllChildren();
+    for (const e2 of this.graphicsViews)
+      e2.destroy();
+    this._graphicsViewMap = {}, this._popupTemplates.clear(), this.graphicsViews.length = 0;
+  }
+};
+y2 = e([n("esri.views.2d.layers.GeoRSSLayerView2D")], y2);
+var g = y2;
+export {
+  g as default
+};
+//# sourceMappingURL=GeoRSSLayerView2D-5DGPHLT2.js.map

+ 0 - 0
node_modules/.vite/deps/GeoRSSLayerView2D-QWKYU3I4.js.map → node_modules/.vite/deps/GeoRSSLayerView2D-5DGPHLT2.js.map


+ 0 - 265
node_modules/.vite/deps/GeoRSSLayerView2D-QWKYU3I4.js

@@ -1,265 +0,0 @@
-import {
-  i
-} from "./chunk-54V4THCX.js";
-import {
-  oe
-} from "./chunk-DTSCAH2R.js";
-import "./chunk-B5WNDDCF.js";
-import "./chunk-DXEPL3XQ.js";
-import "./chunk-E5TKVDJT.js";
-import "./chunk-XYIYXU3I.js";
-import "./chunk-T6DJ6UAT.js";
-import "./chunk-WOGDHLUJ.js";
-import "./chunk-264YGWEE.js";
-import {
-  u,
-  y
-} from "./chunk-KUAEOLV3.js";
-import "./chunk-ZLQP3WDC.js";
-import "./chunk-JBMHQ5RK.js";
-import "./chunk-WBWQJQK4.js";
-import "./chunk-A22ACVMF.js";
-import "./chunk-TDS6IBMU.js";
-import "./chunk-DBT4KOKX.js";
-import "./chunk-2GP5D74I.js";
-import "./chunk-ZELEU5PN.js";
-import "./chunk-O7E4VYJT.js";
-import "./chunk-AIG57VB7.js";
-import "./chunk-PHAKVYRM.js";
-import "./chunk-IDINBHDV.js";
-import "./chunk-6LE4RPMZ.js";
-import "./chunk-67RFR4NT.js";
-import "./chunk-WPDBODJM.js";
-import "./chunk-5IVP3KUS.js";
-import "./chunk-JXYBFGFY.js";
-import "./chunk-EPMXCACW.js";
-import "./chunk-UCPKJYXN.js";
-import "./chunk-KFLNKWNF.js";
-import "./chunk-R24MO4IV.js";
-import "./chunk-YQBYWPBD.js";
-import "./chunk-UWKVAZQ6.js";
-import "./chunk-XBFCIW4K.js";
-import "./chunk-T2SKWJGU.js";
-import "./chunk-UO3LS2M5.js";
-import "./chunk-H2VOWDMO.js";
-import "./chunk-QISOH77W.js";
-import "./chunk-4HL6BBWO.js";
-import "./chunk-KUO7OCMN.js";
-import "./chunk-XO5VJRK4.js";
-import "./chunk-ST53DRNI.js";
-import "./chunk-3WXSWAUV.js";
-import "./chunk-27YO3FKC.js";
-import "./chunk-EQNT4A7P.js";
-import "./chunk-4OM3EX6P.js";
-import "./chunk-3OFVLRSL.js";
-import "./chunk-DMVKVC5I.js";
-import "./chunk-VEJPYAE4.js";
-import "./chunk-UMUHMVL4.js";
-import "./chunk-FZSI6IGI.js";
-import "./chunk-YFDOPEEZ.js";
-import "./chunk-IQBIGNPU.js";
-import "./chunk-K7B6OWCU.js";
-import "./chunk-LXOC7SMQ.js";
-import "./chunk-QU433TMZ.js";
-import "./chunk-L5DZVCCW.js";
-import "./chunk-WNPL3C7R.js";
-import "./chunk-E7ZLMIQ7.js";
-import "./chunk-JEA4MMTV.js";
-import "./chunk-RG3AHHRL.js";
-import "./chunk-XHRNCFJT.js";
-import "./chunk-UDYHZLTE.js";
-import "./chunk-QC7NCR5N.js";
-import "./chunk-VQXMCZYH.js";
-import "./chunk-JQUWFKNU.js";
-import "./chunk-RWQH5X3O.js";
-import "./chunk-6334AFGG.js";
-import {
-  x
-} from "./chunk-NLLFSKB2.js";
-import "./chunk-CC74Y7ET.js";
-import "./chunk-TFHLTN6F.js";
-import "./chunk-O3JQY77G.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-JKFWEHNK.js";
-import "./chunk-IIAN3QNN.js";
-import "./chunk-P24XEEHY.js";
-import "./chunk-WOXHUQGM.js";
-import "./chunk-FMPQIGFA.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-TU7WVKU4.js";
-import "./chunk-JAUFBT5U.js";
-import {
-  p,
-  t
-} from "./chunk-RHFU6KWO.js";
-import "./chunk-3FNKD2EB.js";
-import "./chunk-ZOO4I2U4.js";
-import "./chunk-JPUFJK2B.js";
-import "./chunk-HZ2WKB3G.js";
-import "./chunk-3HCJD762.js";
-import "./chunk-RVCE264D.js";
-import "./chunk-HKJ7X3BD.js";
-import "./chunk-Y74D3LKQ.js";
-import "./chunk-PK4W65H4.js";
-import "./chunk-7C23ILQ4.js";
-import {
-  k
-} from "./chunk-P6VVVEX6.js";
-import "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-IEU3AM37.js";
-import "./chunk-SKKBVHTF.js";
-import "./chunk-DLMAGHHC.js";
-import "./chunk-JOYXMSKE.js";
-import "./chunk-YZVAB3DF.js";
-import "./chunk-JLYTER4T.js";
-import "./chunk-CRHRHOXH.js";
-import "./chunk-ZSW35JPD.js";
-import "./chunk-JLSNMUQJ.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-PT62335L.js";
-import "./chunk-JGBXYDGB.js";
-import "./chunk-QEWF7QPH.js";
-import "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-FNA5GLRW.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TV3CFJQR.js";
-import {
-  h,
-  l
-} from "./chunk-TJV6ODRM.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-O6VYMEIX.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import {
-  j
-} from "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/2d/layers/GeoRSSLayerView2D.js
-var y2 = class extends y(u) {
-  constructor() {
-    super(...arguments), this._graphicsViewMap = {}, this._popupTemplates = /* @__PURE__ */ new Map(), this.graphicsViews = [];
-  }
-  async hitTest(e2, r) {
-    if (!this.graphicsViews.length)
-      return null;
-    const s = this.layer;
-    return this.graphicsViews.reverse().map((r2) => {
-      const i2 = this._popupTemplates.get(r2), o = r2.hitTest(e2);
-      for (const e3 of o)
-        e3.layer = s, e3.sourceLayer = s, e3.popupTemplate = i2;
-      return o;
-    }).flat().map((r2) => ({ type: "graphic", graphic: r2, layer: s, mapPoint: e2 }));
-  }
-  update(e2) {
-    if (this.graphicsViews)
-      for (const r of this.graphicsViews)
-        r.processUpdate(e2);
-  }
-  attach() {
-    this.handles.add([l(() => {
-      var _a;
-      return (_a = this.layer) == null ? void 0 : _a.featureCollections;
-    }, (e2) => {
-      this._clear();
-      for (const { popupInfo: i2, featureSet: o, layerDefinition: t2 } of e2) {
-        const e3 = x.fromJSON(o), p2 = new j(e3.features), h2 = t2.drawingInfo, m = i2 ? k.fromJSON(i2) : null, y3 = t(h2.renderer), g2 = new oe({ requestUpdateCallback: () => this.requestUpdate(), view: this.view, graphics: p2, renderer: y3, container: new i(this.view.featuresTilingScheme) });
-        this._graphicsViewMap[e3.geometryType] = g2, this._popupTemplates.set(g2, m), "polygon" !== e3.geometryType || this.layer.polygonSymbol ? "polyline" !== e3.geometryType || this.layer.lineSymbol ? "point" !== e3.geometryType || this.layer.pointSymbol || (this.layer.pointSymbol = y3.symbol) : this.layer.lineSymbol = y3.symbol : this.layer.polygonSymbol = y3.symbol, this.graphicsViews.push(g2), this.container.addChild(g2.container);
-      }
-    }, h), l(() => {
-      var _a;
-      return (_a = this.layer) == null ? void 0 : _a.polygonSymbol;
-    }, (e2) => {
-      this._graphicsViewMap.polygon.renderer = new p({ symbol: e2 });
-    }, h), l(() => {
-      var _a;
-      return (_a = this.layer) == null ? void 0 : _a.lineSymbol;
-    }, (e2) => {
-      this._graphicsViewMap.polyline.renderer = new p({ symbol: e2 });
-    }, h), l(() => {
-      var _a;
-      return (_a = this.layer) == null ? void 0 : _a.pointSymbol;
-    }, (e2) => {
-      this._graphicsViewMap.point.renderer = new p({ symbol: e2 });
-    }, h)], "georsslayerview");
-  }
-  detach() {
-    this.handles.remove("georsslayerview"), this._clear();
-  }
-  moveStart() {
-  }
-  moveEnd() {
-  }
-  viewChange() {
-    for (const e2 of this.graphicsViews)
-      e2.viewChange();
-  }
-  _clear() {
-    this.container.removeAllChildren();
-    for (const e2 of this.graphicsViews)
-      e2.destroy();
-    this._graphicsViewMap = {}, this._popupTemplates.clear(), this.graphicsViews.length = 0;
-  }
-};
-y2 = e([n("esri.views.2d.layers.GeoRSSLayerView2D")], y2);
-var g = y2;
-export {
-  g as default
-};
-//# sourceMappingURL=GeoRSSLayerView2D-QWKYU3I4.js.map

+ 249 - 0
node_modules/.vite/deps/GraphicsLayerView2D-RJVVZZVM.js

@@ -0,0 +1,249 @@
+import {
+  i
+} from "./chunk-WCBXH67T.js";
+import {
+  oe
+} from "./chunk-QXIGWYMQ.js";
+import "./chunk-BU4ZNN5N.js";
+import "./chunk-RODWSCDL.js";
+import "./chunk-T6DJ6UAT.js";
+import {
+  u,
+  y as y2
+} from "./chunk-ZOTXRPGC.js";
+import "./chunk-KGI3YKHP.js";
+import "./chunk-WOGDHLUJ.js";
+import "./chunk-J2PY6ANL.js";
+import "./chunk-MH3GGTFP.js";
+import "./chunk-2ZACOQZJ.js";
+import "./chunk-JBMHQ5RK.js";
+import "./chunk-WBWQJQK4.js";
+import "./chunk-DBT4KOKX.js";
+import "./chunk-2GP5D74I.js";
+import "./chunk-6XIF2YUL.js";
+import "./chunk-UB42CXQV.js";
+import "./chunk-AIG57VB7.js";
+import "./chunk-7Y5RTA5Y.js";
+import "./chunk-A22ACVMF.js";
+import "./chunk-SCZJ2KEY.js";
+import "./chunk-ST53DRNI.js";
+import "./chunk-PCYFSSBL.js";
+import "./chunk-ADR6I4L4.js";
+import "./chunk-7EM3ZPV7.js";
+import "./chunk-WPDBODJM.js";
+import "./chunk-5IVP3KUS.js";
+import "./chunk-JXYBFGFY.js";
+import "./chunk-EPMXCACW.js";
+import "./chunk-UCPKJYXN.js";
+import "./chunk-KFLNKWNF.js";
+import "./chunk-R24MO4IV.js";
+import "./chunk-YQBYWPBD.js";
+import "./chunk-XBFCIW4K.js";
+import "./chunk-T2SKWJGU.js";
+import "./chunk-UO3LS2M5.js";
+import "./chunk-H2VOWDMO.js";
+import "./chunk-QISOH77W.js";
+import "./chunk-UWKVAZQ6.js";
+import "./chunk-3WXSWAUV.js";
+import "./chunk-27YO3FKC.js";
+import "./chunk-EQNT4A7P.js";
+import "./chunk-4HL6BBWO.js";
+import "./chunk-KUO7OCMN.js";
+import "./chunk-XO5VJRK4.js";
+import "./chunk-DMVKVC5I.js";
+import "./chunk-3ZJXLJLL.js";
+import "./chunk-4OM3EX6P.js";
+import "./chunk-3OFVLRSL.js";
+import "./chunk-AFVJXEUJ.js";
+import "./chunk-FZSI6IGI.js";
+import "./chunk-YFDOPEEZ.js";
+import "./chunk-IQBIGNPU.js";
+import "./chunk-QU433TMZ.js";
+import "./chunk-K7B6OWCU.js";
+import "./chunk-YW3ZWYRO.js";
+import "./chunk-TFW2HQCV.js";
+import "./chunk-BPRMPSTX.js";
+import "./chunk-PQGNKUMB.js";
+import "./chunk-JEA4MMTV.js";
+import "./chunk-RG3AHHRL.js";
+import "./chunk-UDYHZLTE.js";
+import "./chunk-XHRNCFJT.js";
+import "./chunk-DGINNG7Z.js";
+import "./chunk-KK6FUQQU.js";
+import "./chunk-JQUWFKNU.js";
+import "./chunk-RWQH5X3O.js";
+import "./chunk-6334AFGG.js";
+import "./chunk-IASFQ7K7.js";
+import "./chunk-TFHLTN6F.js";
+import "./chunk-4VZNS7N2.js";
+import "./chunk-O3JQY77G.js";
+import "./chunk-IIAN3QNN.js";
+import "./chunk-VYQHMPYW.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-WXUHXYJK.js";
+import "./chunk-NTERQTPO.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-SOSOZIX6.js";
+import "./chunk-TU7WVKU4.js";
+import "./chunk-2QIZS77U.js";
+import "./chunk-O2PIYIHJ.js";
+import "./chunk-HPD2S4QL.js";
+import "./chunk-3HCJD762.js";
+import "./chunk-GR4RKUNH.js";
+import "./chunk-LTQAWUCK.js";
+import "./chunk-W3SLJVWY.js";
+import "./chunk-PK4W65H4.js";
+import {
+  g
+} from "./chunk-KJZ6SS3P.js";
+import "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import "./chunk-EY2WJSAJ.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-4PNYPUDB.js";
+import "./chunk-RDMCXRET.js";
+import "./chunk-BQHWPTT7.js";
+import "./chunk-ZSW35JPD.js";
+import "./chunk-DAWQAVQO.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import "./chunk-BWATQC2Y.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-O6VYMEIX.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import {
+  j
+} from "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/2d/layers/GraphicsLayerView2D.js
+var g2 = { remove() {
+}, pause() {
+}, resume() {
+} };
+var c = class extends y2(u) {
+  constructor() {
+    super(...arguments), this._highlightIds = /* @__PURE__ */ new Map();
+  }
+  attach() {
+    this.graphicsView = new oe({ requestUpdateCallback: () => this.requestUpdate(), view: this.view, graphics: this.layer.graphics, container: new i(this.view.featuresTilingScheme) }), this._updateHighlight(), this.container.addChild(this.graphicsView.container), this.handles.add(this.layer.on("graphic-update", this.graphicsView.graphicUpdateHandler), "graphicslayerview2d");
+  }
+  detach() {
+    this.container.removeAllChildren(), this.graphicsView.destroy(), this.graphicsView = null, this.handles.remove("graphicslayerview2d");
+  }
+  async hitTest(i2) {
+    return this.graphicsView ? this.graphicsView.hitTest(i2).map((e2) => ({ type: "graphic", graphic: e2, mapPoint: i2, layer: this.layer })) : null;
+  }
+  async fetchPopupFeatures(i2) {
+    if (this.graphicsView)
+      return this.graphicsView.hitTest(i2).filter((i3) => !!i3.popupTemplate);
+  }
+  queryGraphics() {
+    return Promise.resolve(this.graphicsView.graphics);
+  }
+  update(i2) {
+    this.graphicsView.processUpdate(i2);
+  }
+  moveStart() {
+  }
+  viewChange() {
+    this.graphicsView.viewChange();
+  }
+  moveEnd() {
+  }
+  isUpdating() {
+    return !this.graphicsView || this.graphicsView.updating;
+  }
+  highlight(i2) {
+    let s;
+    return "number" == typeof i2 ? s = [i2] : i2 instanceof g ? s = [i2.uid] : Array.isArray(i2) && i2.length > 0 ? s = "number" == typeof i2[0] ? i2 : i2.map((i3) => i3 && i3.uid) : j.isCollection(i2) && i2.length > 0 && (s = i2.map((i3) => i3 && i3.uid).toArray()), s = s == null ? void 0 : s.filter((i3) => null != i3), s.length ? (this._addHighlight(s), { remove: () => this._removeHighlight(s) }) : g2;
+  }
+  _addHighlight(i2) {
+    for (const e2 of i2)
+      if (this._highlightIds.has(e2)) {
+        const i3 = this._highlightIds.get(e2);
+        this._highlightIds.set(e2, i3 + 1);
+      } else
+        this._highlightIds.set(e2, 1);
+    this._updateHighlight();
+  }
+  _removeHighlight(i2) {
+    for (const e2 of i2)
+      if (this._highlightIds.has(e2)) {
+        const i3 = this._highlightIds.get(e2) - 1;
+        0 === i3 ? this._highlightIds.delete(e2) : this._highlightIds.set(e2, i3);
+      }
+    this._updateHighlight();
+  }
+  _updateHighlight() {
+    var _a;
+    (_a = this.graphicsView) == null ? void 0 : _a.setHighlight(Array.from(this._highlightIds.keys()));
+  }
+};
+e([y()], c.prototype, "graphicsView", void 0), c = e([n("esri.views.2d.layers.GraphicsLayerView2D")], c);
+var l = c;
+export {
+  l as default
+};
+//# sourceMappingURL=GraphicsLayerView2D-RJVVZZVM.js.map

+ 0 - 0
node_modules/.vite/deps/GraphicsLayerView2D-UJ2NI47Z.js.map → node_modules/.vite/deps/GraphicsLayerView2D-RJVVZZVM.js.map


+ 0 - 249
node_modules/.vite/deps/GraphicsLayerView2D-UJ2NI47Z.js

@@ -1,249 +0,0 @@
-import {
-  i
-} from "./chunk-54V4THCX.js";
-import {
-  oe
-} from "./chunk-DTSCAH2R.js";
-import "./chunk-B5WNDDCF.js";
-import "./chunk-DXEPL3XQ.js";
-import "./chunk-E5TKVDJT.js";
-import "./chunk-XYIYXU3I.js";
-import "./chunk-T6DJ6UAT.js";
-import "./chunk-WOGDHLUJ.js";
-import "./chunk-264YGWEE.js";
-import {
-  u,
-  y as y2
-} from "./chunk-KUAEOLV3.js";
-import "./chunk-ZLQP3WDC.js";
-import "./chunk-JBMHQ5RK.js";
-import "./chunk-WBWQJQK4.js";
-import "./chunk-A22ACVMF.js";
-import "./chunk-TDS6IBMU.js";
-import "./chunk-DBT4KOKX.js";
-import "./chunk-2GP5D74I.js";
-import "./chunk-ZELEU5PN.js";
-import "./chunk-O7E4VYJT.js";
-import "./chunk-AIG57VB7.js";
-import "./chunk-PHAKVYRM.js";
-import "./chunk-IDINBHDV.js";
-import "./chunk-6LE4RPMZ.js";
-import "./chunk-67RFR4NT.js";
-import "./chunk-WPDBODJM.js";
-import "./chunk-5IVP3KUS.js";
-import "./chunk-JXYBFGFY.js";
-import "./chunk-EPMXCACW.js";
-import "./chunk-UCPKJYXN.js";
-import "./chunk-KFLNKWNF.js";
-import "./chunk-R24MO4IV.js";
-import "./chunk-YQBYWPBD.js";
-import "./chunk-UWKVAZQ6.js";
-import "./chunk-XBFCIW4K.js";
-import "./chunk-T2SKWJGU.js";
-import "./chunk-UO3LS2M5.js";
-import "./chunk-H2VOWDMO.js";
-import "./chunk-QISOH77W.js";
-import "./chunk-4HL6BBWO.js";
-import "./chunk-KUO7OCMN.js";
-import "./chunk-XO5VJRK4.js";
-import "./chunk-ST53DRNI.js";
-import "./chunk-3WXSWAUV.js";
-import "./chunk-27YO3FKC.js";
-import "./chunk-EQNT4A7P.js";
-import "./chunk-4OM3EX6P.js";
-import "./chunk-3OFVLRSL.js";
-import "./chunk-DMVKVC5I.js";
-import "./chunk-VEJPYAE4.js";
-import "./chunk-UMUHMVL4.js";
-import "./chunk-FZSI6IGI.js";
-import "./chunk-YFDOPEEZ.js";
-import "./chunk-IQBIGNPU.js";
-import "./chunk-K7B6OWCU.js";
-import "./chunk-LXOC7SMQ.js";
-import "./chunk-QU433TMZ.js";
-import "./chunk-L5DZVCCW.js";
-import "./chunk-WNPL3C7R.js";
-import "./chunk-E7ZLMIQ7.js";
-import "./chunk-JEA4MMTV.js";
-import "./chunk-RG3AHHRL.js";
-import "./chunk-XHRNCFJT.js";
-import "./chunk-UDYHZLTE.js";
-import "./chunk-QC7NCR5N.js";
-import "./chunk-VQXMCZYH.js";
-import "./chunk-JQUWFKNU.js";
-import "./chunk-RWQH5X3O.js";
-import "./chunk-6334AFGG.js";
-import "./chunk-CC74Y7ET.js";
-import "./chunk-TFHLTN6F.js";
-import "./chunk-O3JQY77G.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-JKFWEHNK.js";
-import "./chunk-IIAN3QNN.js";
-import "./chunk-P24XEEHY.js";
-import "./chunk-WOXHUQGM.js";
-import "./chunk-FMPQIGFA.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-TU7WVKU4.js";
-import "./chunk-JAUFBT5U.js";
-import "./chunk-ZOO4I2U4.js";
-import "./chunk-HZ2WKB3G.js";
-import "./chunk-3HCJD762.js";
-import "./chunk-RVCE264D.js";
-import "./chunk-HKJ7X3BD.js";
-import "./chunk-Y74D3LKQ.js";
-import "./chunk-PK4W65H4.js";
-import {
-  g
-} from "./chunk-7C23ILQ4.js";
-import "./chunk-P6VVVEX6.js";
-import "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-IEU3AM37.js";
-import "./chunk-DLMAGHHC.js";
-import "./chunk-JOYXMSKE.js";
-import "./chunk-YZVAB3DF.js";
-import "./chunk-JLYTER4T.js";
-import "./chunk-CRHRHOXH.js";
-import "./chunk-ZSW35JPD.js";
-import "./chunk-JLSNMUQJ.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-PT62335L.js";
-import "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-FNA5GLRW.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TV3CFJQR.js";
-import "./chunk-TJV6ODRM.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-O6VYMEIX.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import {
-  j
-} from "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/2d/layers/GraphicsLayerView2D.js
-var g2 = { remove() {
-}, pause() {
-}, resume() {
-} };
-var c = class extends y2(u) {
-  constructor() {
-    super(...arguments), this._highlightIds = /* @__PURE__ */ new Map();
-  }
-  attach() {
-    this.graphicsView = new oe({ requestUpdateCallback: () => this.requestUpdate(), view: this.view, graphics: this.layer.graphics, container: new i(this.view.featuresTilingScheme) }), this._updateHighlight(), this.container.addChild(this.graphicsView.container), this.handles.add(this.layer.on("graphic-update", this.graphicsView.graphicUpdateHandler), "graphicslayerview2d");
-  }
-  detach() {
-    this.container.removeAllChildren(), this.graphicsView.destroy(), this.graphicsView = null, this.handles.remove("graphicslayerview2d");
-  }
-  async hitTest(i2) {
-    return this.graphicsView ? this.graphicsView.hitTest(i2).map((e2) => ({ type: "graphic", graphic: e2, mapPoint: i2, layer: this.layer })) : null;
-  }
-  async fetchPopupFeatures(i2) {
-    if (this.graphicsView)
-      return this.graphicsView.hitTest(i2).filter((i3) => !!i3.popupTemplate);
-  }
-  queryGraphics() {
-    return Promise.resolve(this.graphicsView.graphics);
-  }
-  update(i2) {
-    this.graphicsView.processUpdate(i2);
-  }
-  moveStart() {
-  }
-  viewChange() {
-    this.graphicsView.viewChange();
-  }
-  moveEnd() {
-  }
-  isUpdating() {
-    return !this.graphicsView || this.graphicsView.updating;
-  }
-  highlight(i2) {
-    let s;
-    return "number" == typeof i2 ? s = [i2] : i2 instanceof g ? s = [i2.uid] : Array.isArray(i2) && i2.length > 0 ? s = "number" == typeof i2[0] ? i2 : i2.map((i3) => i3 && i3.uid) : j.isCollection(i2) && i2.length > 0 && (s = i2.map((i3) => i3 && i3.uid).toArray()), s = s == null ? void 0 : s.filter((i3) => null != i3), s.length ? (this._addHighlight(s), { remove: () => this._removeHighlight(s) }) : g2;
-  }
-  _addHighlight(i2) {
-    for (const e2 of i2)
-      if (this._highlightIds.has(e2)) {
-        const i3 = this._highlightIds.get(e2);
-        this._highlightIds.set(e2, i3 + 1);
-      } else
-        this._highlightIds.set(e2, 1);
-    this._updateHighlight();
-  }
-  _removeHighlight(i2) {
-    for (const e2 of i2)
-      if (this._highlightIds.has(e2)) {
-        const i3 = this._highlightIds.get(e2) - 1;
-        0 === i3 ? this._highlightIds.delete(e2) : this._highlightIds.set(e2, i3);
-      }
-    this._updateHighlight();
-  }
-  _updateHighlight() {
-    var _a;
-    (_a = this.graphicsView) == null ? void 0 : _a.setHighlight(Array.from(this._highlightIds.keys()));
-  }
-};
-e([y()], c.prototype, "graphicsView", void 0), c = e([n("esri.views.2d.layers.GraphicsLayerView2D")], c);
-var l = c;
-export {
-  l as default
-};
-//# sourceMappingURL=GraphicsLayerView2D-UJ2NI47Z.js.map

+ 186 - 0
node_modules/.vite/deps/GroupLayer-O4E26MJH.js

@@ -0,0 +1,186 @@
+import {
+  a
+} from "./chunk-PNB3LCW5.js";
+import {
+  U,
+  l
+} from "./chunk-BWATQC2Y.js";
+import {
+  v
+} from "./chunk-2DSTZVND.js";
+import {
+  c
+} from "./chunk-VXKIGGM4.js";
+import "./chunk-KG45D2XL.js";
+import {
+  O
+} from "./chunk-JYRZQPQI.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import {
+  n as n3
+} from "./chunk-UA6W42KP.js";
+import "./chunk-3OSQ6GXO.js";
+import "./chunk-3WQOA5CB.js";
+import {
+  t
+} from "./chunk-2L5METUC.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import {
+  d,
+  l as l3,
+  t as t2
+} from "./chunk-KTMBA3TM.js";
+import {
+  y as y2
+} from "./chunk-UTSBIUUP.js";
+import "./chunk-ICWTATWH.js";
+import {
+  n as n2
+} from "./chunk-R7V7MKKV.js";
+import {
+  l as l2
+} from "./chunk-E36TKLKO.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-PIFOHNWC.js";
+import "./chunk-LLO7GCYU.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import {
+  b
+} from "./chunk-O43KLDSX.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  r as r2
+} from "./chunk-QCKFNSN2.js";
+import {
+  e,
+  e2,
+  n5 as n,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  r
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/GroupLayer.js
+var _ = class extends n3(t(c(v(l3(d(O(b))))))) {
+  constructor(i) {
+    super(i), this._visibilityHandles = {}, this.allLayers = new l2({ getCollections: () => [this.layers], getChildrenFunction: (i2) => "layers" in i2 ? i2.layers : null }), this.allTables = t2(this), this.fullExtent = void 0, this.operationalLayerType = "GroupLayer", this.spatialReference = void 0, this.type = "group";
+  }
+  initialize() {
+    this._enforceVisibility(this.visibilityMode, this.visible), this.addHandles(l(() => this.visible, this._onVisibilityChange.bind(this), U));
+  }
+  _writeLayers(i, e3, t3, r3) {
+    const o = [];
+    if (!i)
+      return o;
+    i.forEach((i2) => {
+      const e4 = y2(i2, r3.webmap ? r3.webmap.getLayerJSONFromResourceInfo(i2) : null, r3);
+      r(e4) && e4.layerType && o.push(e4);
+    }), e3.layers = o;
+  }
+  set portalItem(i) {
+    this._set("portalItem", i);
+  }
+  set visibilityMode(i) {
+    const e3 = this._get("visibilityMode") !== i;
+    this._set("visibilityMode", i), e3 && this._enforceVisibility(i, this.visible);
+  }
+  load(i) {
+    return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["Feature Service", "Feature Collection", "Scene Service"], layerModuleTypeMap: a }, i)), Promise.resolve(this);
+  }
+  loadAll() {
+    return n2(this, (i) => {
+      i(this.layers, this.tables);
+    });
+  }
+  layerAdded(i) {
+    i.visible && "exclusive" === this.visibilityMode ? this._turnOffOtherLayers(i) : "inherited" === this.visibilityMode && (i.visible = this.visible), this._visibilityHandles[i.uid] = l(() => i.visible, (e3) => this._onChildVisibilityChange(i, e3), U);
+  }
+  layerRemoved(i) {
+    const e3 = this._visibilityHandles[i.uid];
+    e3 && (e3.remove(), delete this._visibilityHandles[i.uid]), this._enforceVisibility(this.visibilityMode, this.visible);
+  }
+  _turnOffOtherLayers(i) {
+    this.layers.forEach((e3) => {
+      e3 !== i && (e3.visible = false);
+    });
+  }
+  _enforceVisibility(i, e3) {
+    if (!e2(this).initialized)
+      return;
+    const t3 = this.layers;
+    let s = t3.find((i2) => i2.visible);
+    switch (i) {
+      case "exclusive":
+        t3.length && !s && (s = t3.getItemAt(0), s.visible = true), this._turnOffOtherLayers(s);
+        break;
+      case "inherited":
+        t3.forEach((i2) => {
+          i2.visible = e3;
+        });
+    }
+  }
+  _onVisibilityChange(i) {
+    "inherited" === this.visibilityMode && this.layers.forEach((e3) => {
+      e3.visible = i;
+    });
+  }
+  _onChildVisibilityChange(i, e3) {
+    switch (this.visibilityMode) {
+      case "exclusive":
+        e3 ? this._turnOffOtherLayers(i) : this._isAnyLayerVisible() || (i.visible = true);
+        break;
+      case "inherited":
+        i.visible = this.visible;
+    }
+  }
+  _isAnyLayerVisible() {
+    return this.layers.some((i) => i.visible);
+  }
+};
+e([y({ readOnly: true, dependsOn: [] })], _.prototype, "allLayers", void 0), e([y({ readOnly: true })], _.prototype, "allTables", void 0), e([y()], _.prototype, "fullExtent", void 0), e([y({ json: { read: true, write: true } })], _.prototype, "blendMode", void 0), e([y({ json: { read: false, write: { ignoreOrigin: true } } })], _.prototype, "layers", void 0), e([r2("layers")], _.prototype, "_writeLayers", null), e([y({ type: ["GroupLayer"] })], _.prototype, "operationalLayerType", void 0), e([y({ json: { origins: { "web-document": { read: false, write: false } } } })], _.prototype, "portalItem", null), e([y()], _.prototype, "spatialReference", void 0), e([y({ json: { read: false }, readOnly: true, value: "group" })], _.prototype, "type", void 0), e([y({ type: ["independent", "inherited", "exclusive"], value: "independent", json: { write: true, origins: { "web-map": { read: false, write: false } } } })], _.prototype, "visibilityMode", null), _ = e([n("esri.layers.GroupLayer")], _);
+var g = _;
+export {
+  g as default
+};
+//# sourceMappingURL=GroupLayer-O4E26MJH.js.map

+ 0 - 0
node_modules/.vite/deps/GroupLayer-UF4S7J5N.js.map → node_modules/.vite/deps/GroupLayer-O4E26MJH.js.map


+ 0 - 186
node_modules/.vite/deps/GroupLayer-UF4S7J5N.js

@@ -1,186 +0,0 @@
-import {
-  a
-} from "./chunk-7BYZLBFH.js";
-import {
-  U,
-  l
-} from "./chunk-TJV6ODRM.js";
-import {
-  v
-} from "./chunk-JUWKPBLS.js";
-import {
-  c
-} from "./chunk-WLSB4F4I.js";
-import "./chunk-GLSWDDR3.js";
-import {
-  O
-} from "./chunk-MIQGEDET.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import {
-  n as n3
-} from "./chunk-XTVKPAWY.js";
-import "./chunk-3OSQ6GXO.js";
-import "./chunk-3WQOA5CB.js";
-import {
-  t
-} from "./chunk-PLWDAYK7.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import {
-  d,
-  l as l3,
-  t as t2
-} from "./chunk-3TP6BVDH.js";
-import {
-  y as y2
-} from "./chunk-QRRIN2JN.js";
-import "./chunk-ICWTATWH.js";
-import {
-  n as n2
-} from "./chunk-FAOWJMTO.js";
-import {
-  l as l2
-} from "./chunk-CDZENOCQ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-2ZSOO377.js";
-import "./chunk-YUA3AHKR.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import {
-  b
-} from "./chunk-DXVOOCG4.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import {
-  r as r2
-} from "./chunk-PQFTYGF5.js";
-import {
-  e,
-  e2,
-  n5 as n,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  r
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/layers/GroupLayer.js
-var _ = class extends n3(t(c(v(l3(d(O(b))))))) {
-  constructor(i) {
-    super(i), this._visibilityHandles = {}, this.allLayers = new l2({ getCollections: () => [this.layers], getChildrenFunction: (i2) => "layers" in i2 ? i2.layers : null }), this.allTables = t2(this), this.fullExtent = void 0, this.operationalLayerType = "GroupLayer", this.spatialReference = void 0, this.type = "group";
-  }
-  initialize() {
-    this._enforceVisibility(this.visibilityMode, this.visible), this.addHandles(l(() => this.visible, this._onVisibilityChange.bind(this), U));
-  }
-  _writeLayers(i, e3, t3, r3) {
-    const o = [];
-    if (!i)
-      return o;
-    i.forEach((i2) => {
-      const e4 = y2(i2, r3.webmap ? r3.webmap.getLayerJSONFromResourceInfo(i2) : null, r3);
-      r(e4) && e4.layerType && o.push(e4);
-    }), e3.layers = o;
-  }
-  set portalItem(i) {
-    this._set("portalItem", i);
-  }
-  set visibilityMode(i) {
-    const e3 = this._get("visibilityMode") !== i;
-    this._set("visibilityMode", i), e3 && this._enforceVisibility(i, this.visible);
-  }
-  load(i) {
-    return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["Feature Service", "Feature Collection", "Scene Service"], layerModuleTypeMap: a }, i)), Promise.resolve(this);
-  }
-  loadAll() {
-    return n2(this, (i) => {
-      i(this.layers, this.tables);
-    });
-  }
-  layerAdded(i) {
-    i.visible && "exclusive" === this.visibilityMode ? this._turnOffOtherLayers(i) : "inherited" === this.visibilityMode && (i.visible = this.visible), this._visibilityHandles[i.uid] = l(() => i.visible, (e3) => this._onChildVisibilityChange(i, e3), U);
-  }
-  layerRemoved(i) {
-    const e3 = this._visibilityHandles[i.uid];
-    e3 && (e3.remove(), delete this._visibilityHandles[i.uid]), this._enforceVisibility(this.visibilityMode, this.visible);
-  }
-  _turnOffOtherLayers(i) {
-    this.layers.forEach((e3) => {
-      e3 !== i && (e3.visible = false);
-    });
-  }
-  _enforceVisibility(i, e3) {
-    if (!e2(this).initialized)
-      return;
-    const t3 = this.layers;
-    let s = t3.find((i2) => i2.visible);
-    switch (i) {
-      case "exclusive":
-        t3.length && !s && (s = t3.getItemAt(0), s.visible = true), this._turnOffOtherLayers(s);
-        break;
-      case "inherited":
-        t3.forEach((i2) => {
-          i2.visible = e3;
-        });
-    }
-  }
-  _onVisibilityChange(i) {
-    "inherited" === this.visibilityMode && this.layers.forEach((e3) => {
-      e3.visible = i;
-    });
-  }
-  _onChildVisibilityChange(i, e3) {
-    switch (this.visibilityMode) {
-      case "exclusive":
-        e3 ? this._turnOffOtherLayers(i) : this._isAnyLayerVisible() || (i.visible = true);
-        break;
-      case "inherited":
-        i.visible = this.visible;
-    }
-  }
-  _isAnyLayerVisible() {
-    return this.layers.some((i) => i.visible);
-  }
-};
-e([y({ readOnly: true, dependsOn: [] })], _.prototype, "allLayers", void 0), e([y({ readOnly: true })], _.prototype, "allTables", void 0), e([y()], _.prototype, "fullExtent", void 0), e([y({ json: { read: true, write: true } })], _.prototype, "blendMode", void 0), e([y({ json: { read: false, write: { ignoreOrigin: true } } })], _.prototype, "layers", void 0), e([r2("layers")], _.prototype, "_writeLayers", null), e([y({ type: ["GroupLayer"] })], _.prototype, "operationalLayerType", void 0), e([y({ json: { origins: { "web-document": { read: false, write: false } } } })], _.prototype, "portalItem", null), e([y()], _.prototype, "spatialReference", void 0), e([y({ json: { read: false }, readOnly: true, value: "group" })], _.prototype, "type", void 0), e([y({ type: ["independent", "inherited", "exclusive"], value: "independent", json: { write: true, origins: { "web-map": { read: false, write: false } } } })], _.prototype, "visibilityMode", null), _ = e([n("esri.layers.GroupLayer")], _);
-var g = _;
-export {
-  g as default
-};
-//# sourceMappingURL=GroupLayer-UF4S7J5N.js.map

+ 177 - 0
node_modules/.vite/deps/GroupLayerView2D-63UXVU7J.js

@@ -0,0 +1,177 @@
+import {
+  r
+} from "./chunk-MEH62CCE.js";
+import {
+  u,
+  y as y2
+} from "./chunk-ZOTXRPGC.js";
+import "./chunk-MH3GGTFP.js";
+import "./chunk-2ZACOQZJ.js";
+import "./chunk-JBMHQ5RK.js";
+import "./chunk-WBWQJQK4.js";
+import "./chunk-DBT4KOKX.js";
+import "./chunk-2GP5D74I.js";
+import "./chunk-SCZJ2KEY.js";
+import "./chunk-EPMXCACW.js";
+import "./chunk-T2SKWJGU.js";
+import "./chunk-UO3LS2M5.js";
+import "./chunk-H2VOWDMO.js";
+import "./chunk-QISOH77W.js";
+import "./chunk-UWKVAZQ6.js";
+import "./chunk-3WXSWAUV.js";
+import "./chunk-27YO3FKC.js";
+import "./chunk-EQNT4A7P.js";
+import "./chunk-XO5VJRK4.js";
+import "./chunk-4OM3EX6P.js";
+import "./chunk-3OFVLRSL.js";
+import "./chunk-IQBIGNPU.js";
+import "./chunk-K7B6OWCU.js";
+import "./chunk-UDYHZLTE.js";
+import "./chunk-RWQH5X3O.js";
+import "./chunk-4VZNS7N2.js";
+import "./chunk-O3JQY77G.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-RDMCXRET.js";
+import "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import {
+  U,
+  l
+} from "./chunk-BWATQC2Y.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-X4SA4ELJ.js";
+import {
+  n as n2,
+  t as t2
+} from "./chunk-PE24J2I5.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import {
+  j
+} from "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/layers/GroupLayerView.js
+var p = class extends u {
+  constructor(i2) {
+    super(i2), this.type = "group", this.layerViews = new j();
+  }
+  _allLayerViewVisibility(i2) {
+    this.layerViews.forEach((e2) => {
+      e2.visible = i2;
+    });
+  }
+  initialize() {
+    this.handles.add([this.layerViews.on("change", (i2) => this._layerViewsChangeHandler(i2)), l(() => this.layer.visibilityMode, () => this._applyVisibility(() => this._allLayerViewVisibility(this.visible), () => this._applyExclusiveVisibility(null)), U), l(() => this.visible, (i2) => {
+      this._applyVisibility(() => this._allLayerViewVisibility(i2), () => {
+      });
+    }, U)], "grouplayerview"), this._layerViewsChangeHandler({ target: null, added: this.layerViews.toArray(), removed: [], moved: [] });
+  }
+  set layerViews(i2) {
+    this._set("layerViews", n2(i2, this._get("layerViews")));
+  }
+  get updatingProgress() {
+    return 0 === this.layerViews.length ? 1 : this.layerViews.reduce((i2, e2) => i2 + e2.updatingProgress, 0) / this.layerViews.length;
+  }
+  isUpdating() {
+    return this.layerViews.some((i2) => i2.updating);
+  }
+  _hasLayerViewVisibleOverrides() {
+    return this.layerViews.some((i2) => i2._isOverridden("visible"));
+  }
+  _findLayerViewForLayer(i2) {
+    return i2 && this.layerViews.find((e2) => e2.layer === i2);
+  }
+  _firstVisibleOnLayerOrder() {
+    const i2 = this.layer.layers.find((i3) => {
+      var _a;
+      return (_a = this._findLayerViewForLayer(i3)) == null ? void 0 : _a.visible;
+    });
+    return i2 && this._findLayerViewForLayer(i2);
+  }
+  _applyExclusiveVisibility(i2) {
+    t(i2) && (i2 = this._firstVisibleOnLayerOrder(), t(i2) && this.layerViews.length > 0 && (i2 = this._findLayerViewForLayer(this.layer.layers.getItemAt(0)))), this.layerViews.forEach((e2) => {
+      e2.visible = e2 === i2;
+    });
+  }
+  _layerViewsChangeHandler(i2) {
+    this.handles.remove("grouplayerview:visible"), this.handles.add(this.layerViews.map((i3) => l(() => i3.visible, (e3) => this._applyVisibility(() => {
+      e3 !== this.visible && (i3.visible = this.visible);
+    }, () => this._applyExclusiveVisibility(e3 ? i3 : null)), U)).toArray(), "grouplayerview:visible");
+    const e2 = i2.added[i2.added.length - 1];
+    this._applyVisibility(() => this._allLayerViewVisibility(this.visible), () => this._applyExclusiveVisibility((e2 == null ? void 0 : e2.visible) ? e2 : null));
+  }
+  _applyVisibility(i2, e2) {
+    var _a, _b;
+    this._hasLayerViewVisibleOverrides() && ("inherited" === ((_a = this.layer) == null ? void 0 : _a.visibilityMode) ? i2() : "exclusive" === ((_b = this.layer) == null ? void 0 : _b.visibilityMode) && e2());
+  }
+};
+e([y({ cast: t2 })], p.prototype, "layerViews", null), e([y({ readOnly: true })], p.prototype, "updatingProgress", null), e([y()], p.prototype, "view", void 0), p = e([n("esri.views.layers.GroupLayerView")], p);
+var n3 = p;
+
+// node_modules/@arcgis/core/views/2d/layers/GroupLayerView2D.js
+var a = class extends y2(n3) {
+  constructor() {
+    super(...arguments), this.container = new r();
+  }
+  attach() {
+    this._updateStageChildren(), this.handles.add(this.layerViews.on("after-changes", () => this._updateStageChildren()), "grouplayerview2d");
+  }
+  detach() {
+    this.handles.remove("grouplayerview2d"), this.container.removeAllChildren();
+  }
+  update(e2) {
+  }
+  moveStart() {
+  }
+  viewChange() {
+  }
+  moveEnd() {
+  }
+  _updateStageChildren() {
+    this.container.removeAllChildren(), this.layerViews.forEach((e2, r2) => this.container.addChildAt(e2.container, r2));
+  }
+};
+a = e([n("esri.views.2d.layers.GroupLayerView2D")], a);
+var i = a;
+export {
+  i as default
+};
+//# sourceMappingURL=GroupLayerView2D-63UXVU7J.js.map

+ 0 - 0
node_modules/.vite/deps/GroupLayerView2D-NCEDOD3U.js.map → node_modules/.vite/deps/GroupLayerView2D-63UXVU7J.js.map


+ 0 - 177
node_modules/.vite/deps/GroupLayerView2D-NCEDOD3U.js

@@ -1,177 +0,0 @@
-import {
-  r
-} from "./chunk-HBV6JSEI.js";
-import "./chunk-264YGWEE.js";
-import {
-  u,
-  y as y2
-} from "./chunk-KUAEOLV3.js";
-import "./chunk-ZLQP3WDC.js";
-import "./chunk-JBMHQ5RK.js";
-import "./chunk-WBWQJQK4.js";
-import "./chunk-TDS6IBMU.js";
-import "./chunk-DBT4KOKX.js";
-import "./chunk-2GP5D74I.js";
-import "./chunk-EPMXCACW.js";
-import "./chunk-UWKVAZQ6.js";
-import "./chunk-T2SKWJGU.js";
-import "./chunk-UO3LS2M5.js";
-import "./chunk-H2VOWDMO.js";
-import "./chunk-QISOH77W.js";
-import "./chunk-XO5VJRK4.js";
-import "./chunk-3WXSWAUV.js";
-import "./chunk-27YO3FKC.js";
-import "./chunk-EQNT4A7P.js";
-import "./chunk-4OM3EX6P.js";
-import "./chunk-3OFVLRSL.js";
-import "./chunk-IQBIGNPU.js";
-import "./chunk-K7B6OWCU.js";
-import "./chunk-UDYHZLTE.js";
-import "./chunk-RWQH5X3O.js";
-import "./chunk-O3JQY77G.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-JKFWEHNK.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-YZVAB3DF.js";
-import "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import {
-  U,
-  l
-} from "./chunk-TJV6ODRM.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-X4SA4ELJ.js";
-import {
-  n as n2,
-  t as t2
-} from "./chunk-ZAY3CMAZ.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import {
-  j
-} from "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/layers/GroupLayerView.js
-var p = class extends u {
-  constructor(i2) {
-    super(i2), this.type = "group", this.layerViews = new j();
-  }
-  _allLayerViewVisibility(i2) {
-    this.layerViews.forEach((e2) => {
-      e2.visible = i2;
-    });
-  }
-  initialize() {
-    this.handles.add([this.layerViews.on("change", (i2) => this._layerViewsChangeHandler(i2)), l(() => this.layer.visibilityMode, () => this._applyVisibility(() => this._allLayerViewVisibility(this.visible), () => this._applyExclusiveVisibility(null)), U), l(() => this.visible, (i2) => {
-      this._applyVisibility(() => this._allLayerViewVisibility(i2), () => {
-      });
-    }, U)], "grouplayerview"), this._layerViewsChangeHandler({ target: null, added: this.layerViews.toArray(), removed: [], moved: [] });
-  }
-  set layerViews(i2) {
-    this._set("layerViews", n2(i2, this._get("layerViews")));
-  }
-  get updatingProgress() {
-    return 0 === this.layerViews.length ? 1 : this.layerViews.reduce((i2, e2) => i2 + e2.updatingProgress, 0) / this.layerViews.length;
-  }
-  isUpdating() {
-    return this.layerViews.some((i2) => i2.updating);
-  }
-  _hasLayerViewVisibleOverrides() {
-    return this.layerViews.some((i2) => i2._isOverridden("visible"));
-  }
-  _findLayerViewForLayer(i2) {
-    return i2 && this.layerViews.find((e2) => e2.layer === i2);
-  }
-  _firstVisibleOnLayerOrder() {
-    const i2 = this.layer.layers.find((i3) => {
-      var _a;
-      return (_a = this._findLayerViewForLayer(i3)) == null ? void 0 : _a.visible;
-    });
-    return i2 && this._findLayerViewForLayer(i2);
-  }
-  _applyExclusiveVisibility(i2) {
-    t(i2) && (i2 = this._firstVisibleOnLayerOrder(), t(i2) && this.layerViews.length > 0 && (i2 = this._findLayerViewForLayer(this.layer.layers.getItemAt(0)))), this.layerViews.forEach((e2) => {
-      e2.visible = e2 === i2;
-    });
-  }
-  _layerViewsChangeHandler(i2) {
-    this.handles.remove("grouplayerview:visible"), this.handles.add(this.layerViews.map((i3) => l(() => i3.visible, (e3) => this._applyVisibility(() => {
-      e3 !== this.visible && (i3.visible = this.visible);
-    }, () => this._applyExclusiveVisibility(e3 ? i3 : null)), U)).toArray(), "grouplayerview:visible");
-    const e2 = i2.added[i2.added.length - 1];
-    this._applyVisibility(() => this._allLayerViewVisibility(this.visible), () => this._applyExclusiveVisibility((e2 == null ? void 0 : e2.visible) ? e2 : null));
-  }
-  _applyVisibility(i2, e2) {
-    var _a, _b;
-    this._hasLayerViewVisibleOverrides() && ("inherited" === ((_a = this.layer) == null ? void 0 : _a.visibilityMode) ? i2() : "exclusive" === ((_b = this.layer) == null ? void 0 : _b.visibilityMode) && e2());
-  }
-};
-e([y({ cast: t2 })], p.prototype, "layerViews", null), e([y({ readOnly: true })], p.prototype, "updatingProgress", null), e([y()], p.prototype, "view", void 0), p = e([n("esri.views.layers.GroupLayerView")], p);
-var n3 = p;
-
-// node_modules/@arcgis/core/views/2d/layers/GroupLayerView2D.js
-var a = class extends y2(n3) {
-  constructor() {
-    super(...arguments), this.container = new r();
-  }
-  attach() {
-    this._updateStageChildren(), this.handles.add(this.layerViews.on("after-changes", () => this._updateStageChildren()), "grouplayerview2d");
-  }
-  detach() {
-    this.handles.remove("grouplayerview2d"), this.container.removeAllChildren();
-  }
-  update(e2) {
-  }
-  moveStart() {
-  }
-  viewChange() {
-  }
-  moveEnd() {
-  }
-  _updateStageChildren() {
-    this.container.removeAllChildren(), this.layerViews.forEach((e2, r2) => this.container.addChildAt(e2.container, r2));
-  }
-};
-a = e([n("esri.views.2d.layers.GroupLayerView2D")], a);
-var i = a;
-export {
-  i as default
-};
-//# sourceMappingURL=GroupLayerView2D-NCEDOD3U.js.map

+ 117 - 0
node_modules/.vite/deps/HeatmapProcessor-44PJINTD.js

@@ -0,0 +1,117 @@
+import {
+  p
+} from "./chunk-IUM6FPF7.js";
+import {
+  l
+} from "./chunk-KUO7OCMN.js";
+import {
+  o as o2
+} from "./chunk-XO5VJRK4.js";
+import "./chunk-IASFQ7K7.js";
+import "./chunk-TFHLTN6F.js";
+import {
+  m
+} from "./chunk-4PNYPUDB.js";
+import "./chunk-RDMCXRET.js";
+import "./chunk-BQHWPTT7.js";
+import {
+  s
+} from "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-BWATQC2Y.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  o,
+  r
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/2d/layers/features/processors/HeatmapProcessor.js
+var p2 = class {
+  constructor(e2, t) {
+    this.offset = e2, this.extent = t;
+  }
+};
+function c(e2) {
+  const t = e2.key, s2 = /* @__PURE__ */ new Map(), r2 = 256, i = o2, o3 = e2.tileInfoView.tileInfo.isWrappable;
+  return s2.set(l(t, -1, -1, o3).id, new p2([-i, -i], [i - r2, i - r2, i, i])), s2.set(l(t, 0, -1, o3).id, new p2([0, -i], [0, i - r2, i, i])), s2.set(l(t, 1, -1, o3).id, new p2([i, -i], [0, i - r2, r2, i])), s2.set(l(t, -1, 0, o3).id, new p2([-i, 0], [i - r2, 0, i, i])), s2.set(l(t, 1, 0, o3).id, new p2([i, 0], [0, 0, r2, i])), s2.set(l(t, -1, 1, o3).id, new p2([-i, i], [i - r2, 0, i, r2])), s2.set(l(t, 0, 1, o3).id, new p2([0, i], [0, 0, i, r2])), s2.set(l(t, 1, 1, o3).id, new p2([i, i], [0, 0, r2, r2])), s2;
+}
+var l2 = class extends p {
+  constructor() {
+    super(...arguments), this.type = "heatmap", this._tileKeyToFeatureSets = /* @__PURE__ */ new Map();
+  }
+  initialize() {
+    this.handles.add([this.tileStore.on("update", this.onTileUpdate.bind(this))]);
+  }
+  async update(e2, t) {
+    const s2 = t.schema.processors[0];
+    if ("heatmap" !== s2.type)
+      return;
+    m(this._schema, s2) && (e2.mesh = true, this._schema = s2);
+  }
+  onTileUpdate(e2) {
+    for (const t of e2.removed)
+      this._tileKeyToFeatureSets.delete(t.key.id);
+  }
+  onTileClear(e2) {
+    const t = { clear: true };
+    return this._tileKeyToFeatureSets.delete(e2.key.id), this.remoteClient.invoke("tileRenderer.onTileData", { tileKey: e2.id, data: t });
+  }
+  async onTileMessage(e2, r2, i) {
+    this._tileKeyToFeatureSets.has(e2.key.id) || this._tileKeyToFeatureSets.set(e2.key.id, /* @__PURE__ */ new Map());
+    const a = this._tileKeyToFeatureSets.get(e2.key.id);
+    if (r(r2.addOrUpdate) && r2.addOrUpdate.hasFeatures && a.set(r2.addOrUpdate.instance, r2), r2.end) {
+      const t = [], r3 = c(e2);
+      this._tileKeyToFeatureSets.forEach((i2, o3) => {
+        if (o3 === e2.key.id)
+          i2.forEach((e3) => o(e3.addOrUpdate, (e4) => t.push(e4)));
+        else if (r3.has(o3)) {
+          const e3 = r3.get(o3), [a3, n3] = e3.offset;
+          i2.forEach((e4) => o(e4.addOrUpdate, (e5) => {
+            const s2 = e5.transform(a3, n3, 1, 1);
+            t.push(s2);
+          }));
+        }
+      });
+      const a2 = s(t, this._schema.mesh, 512, 512), n2 = { tileKey: e2.key.id, intensityInfo: a2 }, d = [a2.matrix];
+      return this.remoteClient.invoke("tileRenderer.onTileData", n2, { ...i, transferList: d });
+    }
+  }
+  onTileError(e2, t, s2) {
+    return this.remoteClient.invoke("tileRenderer.onTileError", { tileKey: e2.id, error: t }, s2);
+  }
+};
+l2 = e([n("esri.views.2d.layers.features.processors.HeatmapProcessor")], l2);
+var h = l2;
+export {
+  h as default
+};
+//# sourceMappingURL=HeatmapProcessor-44PJINTD.js.map

+ 0 - 0
node_modules/.vite/deps/HeatmapProcessor-ZMETYYQZ.js.map → node_modules/.vite/deps/HeatmapProcessor-44PJINTD.js.map


+ 0 - 117
node_modules/.vite/deps/HeatmapProcessor-ZMETYYQZ.js

@@ -1,117 +0,0 @@
-import {
-  p
-} from "./chunk-MDY6FJJE.js";
-import {
-  l
-} from "./chunk-KUO7OCMN.js";
-import {
-  o as o2
-} from "./chunk-XO5VJRK4.js";
-import "./chunk-CC74Y7ET.js";
-import "./chunk-TFHLTN6F.js";
-import {
-  m
-} from "./chunk-IEU3AM37.js";
-import "./chunk-YZVAB3DF.js";
-import "./chunk-JLYTER4T.js";
-import {
-  s
-} from "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-TJV6ODRM.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  o,
-  r
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/2d/layers/features/processors/HeatmapProcessor.js
-var p2 = class {
-  constructor(e2, t) {
-    this.offset = e2, this.extent = t;
-  }
-};
-function c(e2) {
-  const t = e2.key, s2 = /* @__PURE__ */ new Map(), r2 = 256, i = o2, o3 = e2.tileInfoView.tileInfo.isWrappable;
-  return s2.set(l(t, -1, -1, o3).id, new p2([-i, -i], [i - r2, i - r2, i, i])), s2.set(l(t, 0, -1, o3).id, new p2([0, -i], [0, i - r2, i, i])), s2.set(l(t, 1, -1, o3).id, new p2([i, -i], [0, i - r2, r2, i])), s2.set(l(t, -1, 0, o3).id, new p2([-i, 0], [i - r2, 0, i, i])), s2.set(l(t, 1, 0, o3).id, new p2([i, 0], [0, 0, r2, i])), s2.set(l(t, -1, 1, o3).id, new p2([-i, i], [i - r2, 0, i, r2])), s2.set(l(t, 0, 1, o3).id, new p2([0, i], [0, 0, i, r2])), s2.set(l(t, 1, 1, o3).id, new p2([i, i], [0, 0, r2, r2])), s2;
-}
-var l2 = class extends p {
-  constructor() {
-    super(...arguments), this.type = "heatmap", this._tileKeyToFeatureSets = /* @__PURE__ */ new Map();
-  }
-  initialize() {
-    this.handles.add([this.tileStore.on("update", this.onTileUpdate.bind(this))]);
-  }
-  async update(e2, t) {
-    const s2 = t.schema.processors[0];
-    if ("heatmap" !== s2.type)
-      return;
-    m(this._schema, s2) && (e2.mesh = true, this._schema = s2);
-  }
-  onTileUpdate(e2) {
-    for (const t of e2.removed)
-      this._tileKeyToFeatureSets.delete(t.key.id);
-  }
-  onTileClear(e2) {
-    const t = { clear: true };
-    return this._tileKeyToFeatureSets.delete(e2.key.id), this.remoteClient.invoke("tileRenderer.onTileData", { tileKey: e2.id, data: t });
-  }
-  async onTileMessage(e2, r2, i) {
-    this._tileKeyToFeatureSets.has(e2.key.id) || this._tileKeyToFeatureSets.set(e2.key.id, /* @__PURE__ */ new Map());
-    const a = this._tileKeyToFeatureSets.get(e2.key.id);
-    if (r(r2.addOrUpdate) && r2.addOrUpdate.hasFeatures && a.set(r2.addOrUpdate.instance, r2), r2.end) {
-      const t = [], r3 = c(e2);
-      this._tileKeyToFeatureSets.forEach((i2, o3) => {
-        if (o3 === e2.key.id)
-          i2.forEach((e3) => o(e3.addOrUpdate, (e4) => t.push(e4)));
-        else if (r3.has(o3)) {
-          const e3 = r3.get(o3), [a3, n3] = e3.offset;
-          i2.forEach((e4) => o(e4.addOrUpdate, (e5) => {
-            const s2 = e5.transform(a3, n3, 1, 1);
-            t.push(s2);
-          }));
-        }
-      });
-      const a2 = s(t, this._schema.mesh, 512, 512), n2 = { tileKey: e2.key.id, intensityInfo: a2 }, d = [a2.matrix];
-      return this.remoteClient.invoke("tileRenderer.onTileData", n2, { ...i, transferList: d });
-    }
-  }
-  onTileError(e2, t, s2) {
-    return this.remoteClient.invoke("tileRenderer.onTileError", { tileKey: e2.id, error: t }, s2);
-  }
-};
-l2 = e([n("esri.views.2d.layers.features.processors.HeatmapProcessor")], l2);
-var h = l2;
-export {
-  h as default
-};
-//# sourceMappingURL=HeatmapProcessor-ZMETYYQZ.js.map

+ 0 - 148
node_modules/.vite/deps/HeatmapTileRenderer-OVKMQRO5.js

@@ -1,148 +0,0 @@
-import {
-  n as n2
-} from "./chunk-TJ4DVYZ7.js";
-import {
-  o
-} from "./chunk-IZWQMKDT.js";
-import "./chunk-E5TKVDJT.js";
-import "./chunk-O6KMIRUU.js";
-import "./chunk-264YGWEE.js";
-import "./chunk-ZLQP3WDC.js";
-import "./chunk-JBMHQ5RK.js";
-import "./chunk-WBWQJQK4.js";
-import "./chunk-TDS6IBMU.js";
-import "./chunk-DBT4KOKX.js";
-import "./chunk-2GP5D74I.js";
-import "./chunk-EPMXCACW.js";
-import "./chunk-UWKVAZQ6.js";
-import "./chunk-T2SKWJGU.js";
-import "./chunk-UO3LS2M5.js";
-import "./chunk-H2VOWDMO.js";
-import "./chunk-QISOH77W.js";
-import "./chunk-XO5VJRK4.js";
-import "./chunk-3WXSWAUV.js";
-import "./chunk-27YO3FKC.js";
-import "./chunk-EQNT4A7P.js";
-import "./chunk-4OM3EX6P.js";
-import "./chunk-3OFVLRSL.js";
-import "./chunk-IQBIGNPU.js";
-import "./chunk-K7B6OWCU.js";
-import "./chunk-UDYHZLTE.js";
-import "./chunk-RWQH5X3O.js";
-import "./chunk-TFHLTN6F.js";
-import "./chunk-O3JQY77G.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-JKFWEHNK.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-YZVAB3DF.js";
-import {
-  l,
-  u
-} from "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-TJV6ODRM.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import "./chunk-V6P2MAQQ.js";
-import "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/2d/layers/features/tileRenderers/support/HeatmapSource.js
-var i = class {
-  constructor() {
-    this.gradient = null, this.height = 512, this.width = 512;
-  }
-  render(i2) {
-    l(i2, 512, this.intensities, this.gradient, this.minDensity, this.maxDensity);
-  }
-};
-
-// node_modules/@arcgis/core/views/2d/layers/features/tileRenderers/HeatmapTileRenderer.js
-var o2 = class extends o {
-  constructor(e2) {
-    super(e2), this._intensityInfo = { minDensity: 0, maxDensity: 0 }, this.type = "heatmap", this.featuresView = { attributeView: { initialize: () => {
-    }, requestUpdate: () => {
-    } }, requestRender: () => {
-    } }, this._container = new n2(e2.tileInfoView);
-  }
-  createTile(e2) {
-    const t = this._container.createTile(e2);
-    return this.tileInfoView.getTileCoords(t.bitmap, e2), t.bitmap.resolution = this.tileInfoView.getTileResolution(e2), t;
-  }
-  onConfigUpdate() {
-    const e2 = this.layer.renderer;
-    if ("heatmap" === e2.type) {
-      const { minDensity: t, maxDensity: r, colorStops: s } = e2;
-      this._intensityInfo.minDensity = t, this._intensityInfo.maxDensity = r, this._gradient = u(s), this.tiles.forEach((e3) => {
-        const i2 = e3.bitmap.source;
-        i2 && (i2.minDensity = t, i2.maxDensity = r, i2.gradient = this._gradient, e3.bitmap.invalidateTexture());
-      });
-    }
-  }
-  hitTest() {
-    return Promise.resolve([]);
-  }
-  install(e2) {
-    e2.addChild(this._container);
-  }
-  uninstall(e2) {
-    this._container.removeAllChildren(), e2.removeChild(this._container);
-  }
-  disposeTile(e2) {
-    this._container.removeChild(e2), e2.destroy();
-  }
-  supportsRenderer(e2) {
-    return e2 && "heatmap" === e2.type;
-  }
-  onTileData(e2) {
-    const t = this.tiles.get(e2.tileKey);
-    if (!t)
-      return;
-    const i2 = e2.intensityInfo, { minDensity: r, maxDensity: s } = this._intensityInfo, o3 = t.bitmap.source || new i();
-    o3.intensities = i2 && i2.matrix || null, o3.minDensity = r, o3.maxDensity = s, o3.gradient = this._gradient, t.bitmap.source = o3, this._container.addChild(t), this._container.requestRender(), this.requestUpdate();
-  }
-  onTileError(e2) {
-    console.error(e2);
-  }
-  lockGPUUploads() {
-  }
-  unlockGPUUploads() {
-  }
-  fetchResource(e2, t) {
-    return console.error(e2), Promise.reject();
-  }
-};
-o2 = e([n("esri.views.2d.layers.features.tileRenderers.HeatmapTileRenderer")], o2);
-var a = o2;
-export {
-  a as default
-};
-//# sourceMappingURL=HeatmapTileRenderer-OVKMQRO5.js.map

+ 148 - 0
node_modules/.vite/deps/HeatmapTileRenderer-YZVXNEVA.js

@@ -0,0 +1,148 @@
+import {
+  n as n2
+} from "./chunk-TVRLP2HY.js";
+import "./chunk-QQTL25WV.js";
+import {
+  o
+} from "./chunk-WI2LYPQ6.js";
+import "./chunk-J2PY6ANL.js";
+import "./chunk-MH3GGTFP.js";
+import "./chunk-2ZACOQZJ.js";
+import "./chunk-JBMHQ5RK.js";
+import "./chunk-WBWQJQK4.js";
+import "./chunk-DBT4KOKX.js";
+import "./chunk-2GP5D74I.js";
+import "./chunk-SCZJ2KEY.js";
+import "./chunk-EPMXCACW.js";
+import "./chunk-T2SKWJGU.js";
+import "./chunk-UO3LS2M5.js";
+import "./chunk-H2VOWDMO.js";
+import "./chunk-QISOH77W.js";
+import "./chunk-UWKVAZQ6.js";
+import "./chunk-3WXSWAUV.js";
+import "./chunk-27YO3FKC.js";
+import "./chunk-EQNT4A7P.js";
+import "./chunk-XO5VJRK4.js";
+import "./chunk-4OM3EX6P.js";
+import "./chunk-3OFVLRSL.js";
+import "./chunk-IQBIGNPU.js";
+import "./chunk-K7B6OWCU.js";
+import "./chunk-UDYHZLTE.js";
+import "./chunk-RWQH5X3O.js";
+import "./chunk-TFHLTN6F.js";
+import "./chunk-4VZNS7N2.js";
+import "./chunk-O3JQY77G.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-RDMCXRET.js";
+import {
+  l,
+  u
+} from "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-BWATQC2Y.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/2d/layers/features/tileRenderers/support/HeatmapSource.js
+var i = class {
+  constructor() {
+    this.gradient = null, this.height = 512, this.width = 512;
+  }
+  render(i2) {
+    l(i2, 512, this.intensities, this.gradient, this.minDensity, this.maxDensity);
+  }
+};
+
+// node_modules/@arcgis/core/views/2d/layers/features/tileRenderers/HeatmapTileRenderer.js
+var o2 = class extends o {
+  constructor(e2) {
+    super(e2), this._intensityInfo = { minDensity: 0, maxDensity: 0 }, this.type = "heatmap", this.featuresView = { attributeView: { initialize: () => {
+    }, requestUpdate: () => {
+    } }, requestRender: () => {
+    } }, this._container = new n2(e2.tileInfoView);
+  }
+  createTile(e2) {
+    const t = this._container.createTile(e2);
+    return this.tileInfoView.getTileCoords(t.bitmap, e2), t.bitmap.resolution = this.tileInfoView.getTileResolution(e2), t;
+  }
+  onConfigUpdate() {
+    const e2 = this.layer.renderer;
+    if ("heatmap" === e2.type) {
+      const { minDensity: t, maxDensity: r, colorStops: s } = e2;
+      this._intensityInfo.minDensity = t, this._intensityInfo.maxDensity = r, this._gradient = u(s), this.tiles.forEach((e3) => {
+        const i2 = e3.bitmap.source;
+        i2 && (i2.minDensity = t, i2.maxDensity = r, i2.gradient = this._gradient, e3.bitmap.invalidateTexture());
+      });
+    }
+  }
+  hitTest() {
+    return Promise.resolve([]);
+  }
+  install(e2) {
+    e2.addChild(this._container);
+  }
+  uninstall(e2) {
+    this._container.removeAllChildren(), e2.removeChild(this._container);
+  }
+  disposeTile(e2) {
+    this._container.removeChild(e2), e2.destroy();
+  }
+  supportsRenderer(e2) {
+    return e2 && "heatmap" === e2.type;
+  }
+  onTileData(e2) {
+    const t = this.tiles.get(e2.tileKey);
+    if (!t)
+      return;
+    const i2 = e2.intensityInfo, { minDensity: r, maxDensity: s } = this._intensityInfo, o3 = t.bitmap.source || new i();
+    o3.intensities = i2 && i2.matrix || null, o3.minDensity = r, o3.maxDensity = s, o3.gradient = this._gradient, t.bitmap.source = o3, this._container.addChild(t), this._container.requestRender(), this.requestUpdate();
+  }
+  onTileError(e2) {
+    console.error(e2);
+  }
+  lockGPUUploads() {
+  }
+  unlockGPUUploads() {
+  }
+  fetchResource(e2, t) {
+    return console.error(e2), Promise.reject();
+  }
+};
+o2 = e([n("esri.views.2d.layers.features.tileRenderers.HeatmapTileRenderer")], o2);
+var a = o2;
+export {
+  a as default
+};
+//# sourceMappingURL=HeatmapTileRenderer-YZVXNEVA.js.map

+ 0 - 0
node_modules/.vite/deps/HeatmapTileRenderer-OVKMQRO5.js.map → node_modules/.vite/deps/HeatmapTileRenderer-YZVXNEVA.js.map


File diff suppressed because it is too large
+ 1029 - 0
node_modules/.vite/deps/IdentityManager-BURTBCQ3.js


+ 0 - 0
node_modules/.vite/deps/IdentityManager-RSGL7L3S.js.map → node_modules/.vite/deps/IdentityManager-BURTBCQ3.js.map


File diff suppressed because it is too large
+ 0 - 1029
node_modules/.vite/deps/IdentityManager-RSGL7L3S.js


File diff suppressed because it is too large
+ 0 - 270
node_modules/.vite/deps/ImageryLayer-37D6GXDP.js


File diff suppressed because it is too large
+ 270 - 0
node_modules/.vite/deps/ImageryLayer-Z7TUSLEV.js


+ 0 - 0
node_modules/.vite/deps/ImageryLayer-37D6GXDP.js.map → node_modules/.vite/deps/ImageryLayer-Z7TUSLEV.js.map


+ 0 - 547
node_modules/.vite/deps/ImageryLayerView2D-F5AMDXNA.js

@@ -1,547 +0,0 @@
-import {
-  d as d4,
-  y as y3
-} from "./chunk-XNVWGZWL.js";
-import {
-  n as n2
-} from "./chunk-2L6YYKXA.js";
-import {
-  oe
-} from "./chunk-DTSCAH2R.js";
-import "./chunk-B5WNDDCF.js";
-import "./chunk-DXEPL3XQ.js";
-import "./chunk-E5TKVDJT.js";
-import "./chunk-XYIYXU3I.js";
-import "./chunk-T6DJ6UAT.js";
-import "./chunk-WOGDHLUJ.js";
-import {
-  v
-} from "./chunk-NAWSWIYX.js";
-import {
-  a
-} from "./chunk-BFF4N4R7.js";
-import {
-  i as i3
-} from "./chunk-O6KMIRUU.js";
-import {
-  d as d3,
-  o
-} from "./chunk-264YGWEE.js";
-import {
-  i as i4
-} from "./chunk-YG7DNOY4.js";
-import {
-  u,
-  y as y2
-} from "./chunk-KUAEOLV3.js";
-import {
-  i as i2
-} from "./chunk-ZLQP3WDC.js";
-import "./chunk-JBMHQ5RK.js";
-import "./chunk-WBWQJQK4.js";
-import {
-  s as s3
-} from "./chunk-TE2TRGVU.js";
-import "./chunk-A22ACVMF.js";
-import {
-  J
-} from "./chunk-I623MZCZ.js";
-import {
-  d as d2,
-  x as x3
-} from "./chunk-TLDCDW5L.js";
-import {
-  A
-} from "./chunk-TDS6IBMU.js";
-import "./chunk-DBT4KOKX.js";
-import "./chunk-2GP5D74I.js";
-import "./chunk-ZELEU5PN.js";
-import "./chunk-O7E4VYJT.js";
-import "./chunk-AIG57VB7.js";
-import "./chunk-PHAKVYRM.js";
-import "./chunk-IDINBHDV.js";
-import "./chunk-6LE4RPMZ.js";
-import "./chunk-67RFR4NT.js";
-import "./chunk-WPDBODJM.js";
-import "./chunk-5IVP3KUS.js";
-import "./chunk-JXYBFGFY.js";
-import "./chunk-EPMXCACW.js";
-import "./chunk-UCPKJYXN.js";
-import "./chunk-KFLNKWNF.js";
-import "./chunk-R24MO4IV.js";
-import "./chunk-YQBYWPBD.js";
-import "./chunk-UWKVAZQ6.js";
-import "./chunk-XBFCIW4K.js";
-import "./chunk-T2SKWJGU.js";
-import "./chunk-UO3LS2M5.js";
-import "./chunk-H2VOWDMO.js";
-import "./chunk-QISOH77W.js";
-import "./chunk-4HL6BBWO.js";
-import "./chunk-KUO7OCMN.js";
-import "./chunk-XO5VJRK4.js";
-import "./chunk-ST53DRNI.js";
-import "./chunk-3WXSWAUV.js";
-import "./chunk-27YO3FKC.js";
-import {
-  I
-} from "./chunk-EQNT4A7P.js";
-import "./chunk-4OM3EX6P.js";
-import "./chunk-3OFVLRSL.js";
-import "./chunk-DMVKVC5I.js";
-import "./chunk-VEJPYAE4.js";
-import "./chunk-UMUHMVL4.js";
-import "./chunk-FZSI6IGI.js";
-import "./chunk-YFDOPEEZ.js";
-import {
-  i
-} from "./chunk-BVA3U6FJ.js";
-import "./chunk-IQBIGNPU.js";
-import "./chunk-K7B6OWCU.js";
-import "./chunk-LXOC7SMQ.js";
-import "./chunk-QU433TMZ.js";
-import "./chunk-L5DZVCCW.js";
-import "./chunk-WNPL3C7R.js";
-import "./chunk-E7ZLMIQ7.js";
-import "./chunk-JEA4MMTV.js";
-import "./chunk-RG3AHHRL.js";
-import "./chunk-XHRNCFJT.js";
-import "./chunk-UDYHZLTE.js";
-import "./chunk-QC7NCR5N.js";
-import "./chunk-VQXMCZYH.js";
-import "./chunk-JQUWFKNU.js";
-import "./chunk-RWQH5X3O.js";
-import "./chunk-6334AFGG.js";
-import "./chunk-CC74Y7ET.js";
-import "./chunk-TFHLTN6F.js";
-import "./chunk-O3JQY77G.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-JKFWEHNK.js";
-import "./chunk-IIAN3QNN.js";
-import "./chunk-P24XEEHY.js";
-import "./chunk-WOXHUQGM.js";
-import "./chunk-FMPQIGFA.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-TU7WVKU4.js";
-import "./chunk-JAUFBT5U.js";
-import "./chunk-ZOO4I2U4.js";
-import "./chunk-HZ2WKB3G.js";
-import "./chunk-3HCJD762.js";
-import "./chunk-RVCE264D.js";
-import "./chunk-HKJ7X3BD.js";
-import "./chunk-Y74D3LKQ.js";
-import "./chunk-PK4W65H4.js";
-import {
-  g
-} from "./chunk-7C23ILQ4.js";
-import "./chunk-P6VVVEX6.js";
-import "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-IEU3AM37.js";
-import "./chunk-DLMAGHHC.js";
-import {
-  x as x2
-} from "./chunk-WD4J43GZ.js";
-import "./chunk-JOYXMSKE.js";
-import {
-  d
-} from "./chunk-YZVAB3DF.js";
-import "./chunk-JLYTER4T.js";
-import "./chunk-CRHRHOXH.js";
-import "./chunk-ZSW35JPD.js";
-import "./chunk-JLSNMUQJ.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-PT62335L.js";
-import "./chunk-JGBXYDGB.js";
-import "./chunk-QEWF7QPH.js";
-import "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-FNA5GLRW.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TV3CFJQR.js";
-import {
-  U,
-  l,
-  w
-} from "./chunk-TJV6ODRM.js";
-import "./chunk-YLEVJ6UV.js";
-import "./chunk-U2WD23Z5.js";
-import {
-  g as g2
-} from "./chunk-GLSWDDR3.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-O6VYMEIX.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import {
-  j as j2
-} from "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import {
-  U as U2
-} from "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import {
-  w as w2,
-  w2 as w3
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import {
-  e,
-  m,
-  n5 as n,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  j,
-  x
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s,
-  s3 as s2
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  e as e2,
-  r,
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/2d/layers/imagery/ImageryView2D.js
-var d5 = class extends m {
-  constructor() {
-    super(...arguments), this.attached = false, this.container = new i2(), this.updateRequested = false, this.type = "imagery", this._bitmapView = new a();
-  }
-  destroy() {
-    this.attached && (this.detach(), this.attached = false), this.updateRequested = false;
-  }
-  get updating() {
-    return !this.attached || this.isUpdating();
-  }
-  update(e3) {
-    this.strategy.update(e3).catch((e4) => {
-      j(e4) || s.getLogger(this.declaredClass).error(e4);
-    });
-  }
-  hitTest(e3) {
-    return new g({ attributes: {}, geometry: e3.clone(), layer: this.layer });
-  }
-  attach() {
-    this.container.addChild(this._bitmapView);
-    const e3 = this.layer.version >= 10, t3 = this.layer.version >= 10.1 ? this.layer.imageMaxHeight : 2048, r2 = this.layer.version >= 10.1 ? this.layer.imageMaxWidth : 2048;
-    this.strategy = new v({ container: this._bitmapView, imageNormalizationSupported: e3, imageMaxHeight: t3, imageMaxWidth: r2, fetchSource: this._fetchImage.bind(this), requestUpdate: () => this.requestUpdate() });
-  }
-  detach() {
-    this.strategy.destroy(), this._bitmapView.removeAllChildren(), this.container.removeAllChildren(), this.updateRequested = false;
-  }
-  redraw() {
-    this.strategy.updateExports(async (e3) => {
-      var _a;
-      if (e3.source instanceof HTMLImageElement)
-        return;
-      const t3 = await this.layer.applyRenderer({ extent: e3.source.extent, pixelBlock: (_a = e3.source.originalPixelBlock) != null ? _a : e3.source.pixelBlock }), r2 = e3.source;
-      r2.filter = (e4) => this.layer.pixelFilter ? this.layer.applyFilter(e4) : { ...t3, extent: r2.extent };
-    }).catch((e3) => {
-      j(e3) || s.getLogger(this.declaredClass).error(e3);
-    });
-  }
-  requestUpdate() {
-    this.updateRequested || (this.updateRequested = true, this.view.requestUpdate());
-  }
-  isUpdating() {
-    return this.strategy.updating || this.updateRequested;
-  }
-  getPixelData() {
-    if (this.updating)
-      return null;
-    const e3 = this.strategy.bitmaps;
-    if (1 === e3.length && e3[0].source)
-      return { extent: e3[0].source.extent, pixelBlock: e3[0].source.originalPixelBlock };
-    if (e3.length > 1) {
-      const t3 = this.view.extent, r2 = e3.map((e4) => e4.source).filter((e4) => e4.extent && e4.extent.intersects(t3)).map((e4) => ({ extent: e4.extent, pixelBlock: e4.originalPixelBlock })), i5 = A(r2, t3);
-      return r(i5) ? { extent: i5.extent, pixelBlock: i5.pixelBlock } : null;
-    }
-    return null;
-  }
-  _fetchImage(e3, t3, r2, i5) {
-    return (i5 = i5 || {}).timeExtent = this.timeExtent, i5.requestAsImageElement = true, this.layer.fetchImage(e3, t3, r2, i5).then((e4) => e4.imageOrCanvasElement ? e4.imageOrCanvasElement : this.layer.applyRenderer(e4.pixelData, { signal: i5.signal }).then((t4) => {
-      const r3 = new i3(t4.pixelBlock, t4.extent.clone(), e4.pixelData.pixelBlock);
-      return r3.filter = (e5) => this.layer.applyFilter(e5), r3;
-    }));
-  }
-};
-e([y()], d5.prototype, "attached", void 0), e([y()], d5.prototype, "container", void 0), e([y()], d5.prototype, "layer", void 0), e([y()], d5.prototype, "strategy", void 0), e([y()], d5.prototype, "timeExtent", void 0), e([y()], d5.prototype, "view", void 0), e([y()], d5.prototype, "updateRequested", void 0), e([y()], d5.prototype, "updating", null), e([y()], d5.prototype, "type", void 0), d5 = e([n("esri.views.2d.layers.imagery.ImageryView2D")], d5);
-var u2 = d5;
-
-// node_modules/@arcgis/core/views/2d/engine/imagery/RasterVFContainer.js
-var t2 = class extends o {
-  constructor() {
-    super(...arguments), this.symbolTypes = ["triangle"];
-  }
-  get requiresDedicatedFBO() {
-    return false;
-  }
-  prepareRenderPasses(s4) {
-    const t3 = s4.registerRenderPass({ name: "imagery (vf)", brushes: [d3], target: () => this.children, drawPhase: I.MAP });
-    return [...super.prepareRenderPasses(s4), t3];
-  }
-  doRender(e3) {
-    this.visible && e3.drawPhase === I.MAP && this.symbolTypes.forEach((r2) => {
-      e3.renderPass = r2, super.doRender(e3);
-    });
-  }
-};
-
-// node_modules/@arcgis/core/views/2d/layers/imagery/ImageryVFStrategy.js
-var p = class extends m {
-  constructor(e3) {
-    super(e3), this.update = x((e4, t3) => this._update(e4, t3).catch((e5) => {
-      j(e5) || s.getLogger(this.declaredClass).error(e5);
-    }));
-  }
-  get updating() {
-    return !!this._loading;
-  }
-  redraw(e3) {
-    if (!this.container.children.length)
-      return;
-    const t3 = this.container.children[0];
-    t3.symbolizerParameters = e3, t3.invalidateVAO(), this.container.symbolTypes = "wind_speed" === e3.style ? ["scalar", "triangle"] : "simple_scalar" === e3.style ? ["scalar"] : ["triangle"], this.container.requestRender();
-  }
-  async _update(e3, t3, r2) {
-    if (!e3.stationary)
-      return;
-    const { extent: i5, spatialReference: s4 } = e3.state, o2 = new w3({ xmin: i5.xmin, ymin: i5.ymin, xmax: i5.xmax, ymax: i5.ymax, spatialReference: s4 }), [a2, n3] = e3.state.size;
-    this._loading = this.fetchPixels(o2, a2, n3, r2);
-    const c = await this._loading;
-    this._addToDisplay(c, t3, e3.state), this._loading = null;
-  }
-  _addToDisplay(e3, t3, r2) {
-    if (t(e3.pixelBlock))
-      return this.container.children.forEach((e4) => e4.destroy()), void this.container.removeAllChildren();
-    const { extent: s4, pixelBlock: o2 } = e3, a2 = new y3(o2);
-    a2.offset = [0, 0], a2.symbolizerParameters = t3, a2.rawPixelData = e3, a2.invalidateVAO(), a2.x = s4.xmin, a2.y = s4.ymax, a2.pixelRatio = r2.pixelRatio, a2.rotation = r2.rotation, a2.resolution = r2.resolution, a2.width = o2.width * t3.symbolTileSize, a2.height = o2.height * t3.symbolTileSize, this.container.children.forEach((e4) => e4.destroy()), this.container.removeAllChildren(), this.container.symbolTypes = "wind_speed" === t3.style ? ["scalar", "triangle"] : "simple_scalar" === t3.style ? ["scalar"] : ["triangle"], this.container.addChild(a2);
-  }
-};
-e([y()], p.prototype, "fetchPixels", void 0), e([y()], p.prototype, "container", void 0), e([y()], p.prototype, "_loading", void 0), e([y()], p.prototype, "updating", null), p = e([n("esri.views.2d.layers.imagery.ImageryVFStrategy")], p);
-var m2 = p;
-
-// node_modules/@arcgis/core/views/2d/layers/imagery/VectorFieldView2D.js
-var f = class extends d {
-  constructor() {
-    super(...arguments), this.attached = false, this.container = new t2(), this.type = "imageryVF", this._dataParameters = { exportParametersVersion: 0, bbox: "", symbolTileSize: 0, time: "" }, this._fetchpixels = async (e3, t3, r2, i5) => {
-      const n3 = await this._projectFullExtentPromise, { symbolTileSize: l2 } = this.layer.renderer, { extent: c, width: m4, height: p2 } = x3(e3, t3, r2, l2, n3);
-      if (r(n3) && !n3.intersects(e3))
-        return { extent: c, pixelBlock: null };
-      const h = { bbox: `${c.xmin}, ${c.ymin}, ${c.xmax}, ${c.ymax}`, exportParametersVersion: this.layer.exportImageServiceParameters.version, symbolTileSize: l2, time: JSON.stringify(this.timeExtent || "") };
-      if (this._canReuseVectorFieldData(h)) {
-        const e4 = this.getPixelData();
-        if (r(e4)) {
-          if (`${e4.extent.xmin}, ${e4.extent.ymin}, ${e4.extent.xmax}, ${e4.extent.ymax}` === h.bbox)
-            return e4;
-        }
-      }
-      const { pixelData: u3 } = await this.layer.fetchImage(c, m4, p2, { timeExtent: this.timeExtent, requestAsImageElement: false, signal: i5 });
-      if (this._dataParameters = h, t(u3.pixelBlock))
-        return { extent: c, pixelBlock: null };
-      return { extent: c, pixelBlock: "vector-uv" === this.layer.rasterInfo.dataType ? e2(d2(u3.pixelBlock, "vector-uv")) : u3.pixelBlock };
-    };
-  }
-  get updating() {
-    return !this.attached || this._strategy.updating;
-  }
-  attach() {
-    this._projectFullExtentPromise = this._getProjectedFullExtent(this.view.spatialReference), this._strategy = new m2({ container: this.container, fetchPixels: this._fetchpixels }), this.handles.add(l(() => this.layer.renderer, (e3) => this._updateSymbolizerParams(e3), w), "vector-field-view-update");
-  }
-  detach() {
-    this._strategy.destroy(), this.container.children.forEach((e3) => e3.destroy()), this.container.removeAllChildren(), this.handles.remove("vector-field-view-update"), this._strategy = this.container = this._projectFullExtentPromise = null;
-  }
-  getPixelData() {
-    if (this.updating || !this.container.children.length)
-      return null;
-    const { extent: e3, pixelBlock: t3 } = this.container.children[0].rawPixelData;
-    return { extent: e3, pixelBlock: t3 };
-  }
-  hitTest(e3) {
-    return new g({ attributes: {}, geometry: e3.clone(), layer: this.layer });
-  }
-  update(e3) {
-    this._strategy.update(e3, this._symbolizerParams);
-  }
-  redraw() {
-    this._updateSymbolizerParams(this.layer.renderer), this._strategy.redraw(this._symbolizerParams);
-  }
-  _canReuseVectorFieldData(e3) {
-    const t3 = this._dataParameters.exportParametersVersion === e3.exportParametersVersion, r2 = this._dataParameters.time === e3.time, i5 = this._dataParameters.symbolTileSize === e3.symbolTileSize, s4 = this._dataParameters.bbox === e3.bbox;
-    return t3 && r2 && i5 && s4;
-  }
-  async _getProjectedFullExtent(e3) {
-    try {
-      return await J(this.layer.fullExtent, e3);
-    } catch (t3) {
-      try {
-        const t4 = (await U2(this.layer.url, { query: { option: "footprints", outSR: e3.wkid || JSON.stringify(e3.toJSON()), f: "json" } })).data.featureCollection.layers[0].layerDefinition.extent;
-        return t4 ? w3.fromJSON(t4) : null;
-      } catch {
-        return null;
-      }
-    }
-  }
-  _updateSymbolizerParams(e3) {
-    "vector-field" === e3.type && (this._symbolizerParams = this.layer.symbolizer.generateWebGLParameters({ pixelBlock: null }));
-  }
-};
-e([y()], f.prototype, "attached", void 0), e([y()], f.prototype, "container", void 0), e([y()], f.prototype, "layer", void 0), e([y()], f.prototype, "timeExtent", void 0), e([y()], f.prototype, "type", void 0), e([y()], f.prototype, "view", void 0), e([y()], f.prototype, "updating", null), f = e([n("esri.views.2d.layers.imagery.VectorFieldView2D")], f);
-var g3 = f;
-
-// node_modules/@arcgis/core/views/layers/ImageryLayerView.js
-var m3 = (m4) => {
-  let c = class extends m4 {
-    constructor() {
-      super(...arguments), this.view = null;
-    }
-    async fetchPopupFeatures(e3, s4) {
-      const { layer: p2 } = this;
-      if (!e3)
-        throw new s2("imagerylayerview:fetchPopupFeatures", "Nothing to fetch without area", { layer: p2 });
-      const { popupEnabled: a2 } = p2, m5 = s3(p2, s4);
-      if (!a2 || t(m5))
-        throw new s2("imagerylayerview:fetchPopupFeatures", "Missing required popupTemplate or popupEnabled", { popupEnabled: a2, popupTemplate: m5 });
-      const c2 = await m5.getRequiredFields(), l2 = new x2();
-      l2.timeExtent = this.timeExtent, l2.geometry = e3, l2.outFields = c2, l2.outSpatialReference = e3.spatialReference;
-      const y4 = this.view.resolution, w4 = "2d" === this.view.type ? new w2(y4, y4, this.view.spatialReference) : new w2(0.5 * y4, 0.5 * y4, this.view.spatialReference), { returnTopmostRaster: d6, showNoDataRecords: h } = m5.layerOptions || { returnTopmostRaster: true, showNoDataRecords: false }, f2 = { returnDomainValues: true, returnTopmostRaster: d6, pixelSize: w4, showNoDataRecords: h, signal: r(s4) ? s4.signal : null };
-      return p2.queryVisibleRasters(l2, f2).then((e4) => e4);
-    }
-    canResume() {
-      var _a;
-      return !!super.canResume() && !((_a = this.timeExtent) == null ? void 0 : _a.isEmpty);
-    }
-  };
-  return e([y()], c.prototype, "layer", void 0), e([y()], c.prototype, "suspended", void 0), e([y(g2)], c.prototype, "timeExtent", void 0), e([y()], c.prototype, "view", void 0), c = e([n("esri.views.layers.ImageryLayerView")], c), c;
-};
-
-// node_modules/@arcgis/core/views/2d/layers/ImageryLayerView2D.js
-var g4 = class extends m3(i4(y2(u))) {
-  constructor() {
-    super(...arguments), this._exportImageVersion = -1, this._highlightGraphics = new i(), this.subview = null;
-  }
-  get pixelData() {
-    return this.updating ? null : "getPixelData" in this.subview ? this.subview.getPixelData() : null;
-  }
-  async hitTest(e3, i5) {
-    return this.subview ? [{ type: "graphic", graphic: this.subview.hitTest(e3), layer: this.layer, mapPoint: e3 }] : null;
-  }
-  update(e3) {
-    var _a;
-    (_a = this.subview) == null ? void 0 : _a.update(e3);
-  }
-  attach() {
-    this.layer.increaseRasterJobHandlerUsage(), this._setSubView(), this.view && (this._highlightView = new oe({ view: this.view, graphics: this._highlightGraphics, requestUpdateCallback: () => this.requestUpdate(), container: new n2(this.view.featuresTilingScheme) }), this.container.addChild(this._highlightView.container)), this.handles.add([l(() => {
-      var _a;
-      return (_a = this.layer.blendMode) != null ? _a : "normal";
-    }, (e3) => this.subview.container.blendMode = e3, w), l(() => {
-      var _a;
-      return (_a = this.layer.effect) != null ? _a : null;
-    }, (e3) => this.subview.container.effect = e3, w), l(() => this.layer.exportImageServiceParameters.version, (e3) => {
-      e3 && this._exportImageVersion !== e3 && (this._exportImageVersion = e3, this.requestUpdate());
-    }, U), l(() => this.timeExtent, (e3) => {
-      this.subview.timeExtent = e3, "redraw" in this.subview ? this.requestUpdate() : this.subview.redrawOrRefetch();
-    }, U), this.layer.on("redraw", () => {
-      "redraw" in this.subview ? this.subview.redraw() : this.subview.redrawOrRefetch();
-    }), l(() => this.layer.renderer, () => this._setSubView())], "imagerylayerview-update");
-  }
-  detach() {
-    var _a, _b;
-    this.layer.decreaseRasterJobHandlerUsage(), this.container.removeAllChildren(), this._detachSubview(this.subview), (_a = this.subview) == null ? void 0 : _a.destroy(), this.handles.remove("imagerylayerview-update"), this.subview = null, (_b = this._highlightView) == null ? void 0 : _b.destroy(), this._exportImageVersion = -1;
-  }
-  moveStart() {
-  }
-  viewChange() {
-  }
-  moveEnd() {
-    this.requestUpdate();
-  }
-  highlight(e3, r2) {
-    if (!((Array.isArray(e3) ? e3[0] : j2.isCollection(e3) ? e3.getItemAt(0) : e3) instanceof g))
-      return { remove: () => {
-      } };
-    let s4 = [];
-    return Array.isArray(e3) || j2.isCollection(e3) ? s4 = e3.map((e4) => e4.clone()) : e3 instanceof g && (s4 = [e3.clone()]), this._highlightGraphics.addMany(s4), { remove: () => {
-      this._highlightGraphics.removeMany(s4);
-    } };
-  }
-  async doRefresh() {
-    this.requestUpdate();
-  }
-  isUpdating() {
-    return !this.subview || this.subview.updating;
-  }
-  _setSubView() {
-    var _a, _b;
-    if (!this.view)
-      return;
-    const e3 = (_a = this.layer.renderer) == null ? void 0 : _a.type;
-    let i5 = "imagery";
-    if ("vector-field" === e3 ? i5 = "imageryVF" : "flow" === e3 && (i5 = "flow"), this.subview) {
-      const { type: e4 } = this.subview;
-      if (e4 === i5)
-        return this._attachSubview(this.subview), void ("flow" === e4 ? this.subview.redrawOrRefetch() : "imagery" === e4 && "lerc" === this.layer.format ? this.subview.redraw() : this.requestUpdate());
-      this._detachSubview(this.subview), (_b = this.subview) == null ? void 0 : _b.destroy();
-    }
-    this.subview = "imagery" === i5 ? new u2({ layer: this.layer, view: this.view, timeExtent: this.timeExtent }) : "imageryVF" === i5 ? new g3({ layer: this.layer, view: this.view, timeExtent: this.timeExtent }) : new d4({ layer: this.layer, layerView: this }), this._attachSubview(this.subview), this.requestUpdate();
-  }
-  _attachSubview(e3) {
-    e3 && !e3.attached && (e3.attach(), e3.attached = true, this.container.addChildAt(e3.container, 0), e3.container.blendMode = this.layer.blendMode, e3.container.effect = this.layer.effect);
-  }
-  _detachSubview(e3) {
-    (e3 == null ? void 0 : e3.attached) && (this.container.removeChild(e3.container), e3.detach(), e3.attached = false);
-  }
-};
-e([y()], g4.prototype, "pixelData", null), e([y()], g4.prototype, "subview", void 0), g4 = e([n("esri.views.2d.layers.ImageryLayerView2D")], g4);
-var b = g4;
-export {
-  b as default
-};
-//# sourceMappingURL=ImageryLayerView2D-F5AMDXNA.js.map

+ 547 - 0
node_modules/.vite/deps/ImageryLayerView2D-K3NIEDQI.js

@@ -0,0 +1,547 @@
+import {
+  n as n2
+} from "./chunk-BQAJGDUA.js";
+import {
+  v
+} from "./chunk-IX6RALEM.js";
+import {
+  d as d4,
+  y as y3
+} from "./chunk-3HF3HY4M.js";
+import {
+  a
+} from "./chunk-EUHDLMVO.js";
+import {
+  oe
+} from "./chunk-QXIGWYMQ.js";
+import "./chunk-BU4ZNN5N.js";
+import "./chunk-RODWSCDL.js";
+import "./chunk-T6DJ6UAT.js";
+import {
+  i as i4
+} from "./chunk-MQOWDNF7.js";
+import {
+  u,
+  y as y2
+} from "./chunk-ZOTXRPGC.js";
+import "./chunk-KGI3YKHP.js";
+import "./chunk-WOGDHLUJ.js";
+import {
+  i as i3
+} from "./chunk-QQTL25WV.js";
+import "./chunk-J2PY6ANL.js";
+import {
+  d as d3,
+  o
+} from "./chunk-MH3GGTFP.js";
+import {
+  i as i2
+} from "./chunk-2ZACOQZJ.js";
+import "./chunk-JBMHQ5RK.js";
+import "./chunk-WBWQJQK4.js";
+import {
+  s as s3
+} from "./chunk-F2YXWZUP.js";
+import "./chunk-DBT4KOKX.js";
+import "./chunk-2GP5D74I.js";
+import "./chunk-6XIF2YUL.js";
+import "./chunk-UB42CXQV.js";
+import "./chunk-AIG57VB7.js";
+import "./chunk-7Y5RTA5Y.js";
+import "./chunk-A22ACVMF.js";
+import {
+  J
+} from "./chunk-BQIDHLG4.js";
+import {
+  d as d2,
+  x as x3
+} from "./chunk-NSDRZKZG.js";
+import {
+  A
+} from "./chunk-SCZJ2KEY.js";
+import "./chunk-ST53DRNI.js";
+import "./chunk-PCYFSSBL.js";
+import "./chunk-ADR6I4L4.js";
+import "./chunk-7EM3ZPV7.js";
+import "./chunk-WPDBODJM.js";
+import "./chunk-5IVP3KUS.js";
+import "./chunk-JXYBFGFY.js";
+import "./chunk-EPMXCACW.js";
+import "./chunk-UCPKJYXN.js";
+import "./chunk-KFLNKWNF.js";
+import "./chunk-R24MO4IV.js";
+import "./chunk-YQBYWPBD.js";
+import "./chunk-XBFCIW4K.js";
+import "./chunk-T2SKWJGU.js";
+import "./chunk-UO3LS2M5.js";
+import "./chunk-H2VOWDMO.js";
+import "./chunk-QISOH77W.js";
+import "./chunk-UWKVAZQ6.js";
+import "./chunk-3WXSWAUV.js";
+import "./chunk-27YO3FKC.js";
+import {
+  I
+} from "./chunk-EQNT4A7P.js";
+import "./chunk-4HL6BBWO.js";
+import "./chunk-KUO7OCMN.js";
+import "./chunk-XO5VJRK4.js";
+import "./chunk-DMVKVC5I.js";
+import "./chunk-3ZJXLJLL.js";
+import "./chunk-4OM3EX6P.js";
+import "./chunk-3OFVLRSL.js";
+import "./chunk-AFVJXEUJ.js";
+import "./chunk-FZSI6IGI.js";
+import "./chunk-YFDOPEEZ.js";
+import {
+  i
+} from "./chunk-PFY67F6P.js";
+import "./chunk-IQBIGNPU.js";
+import "./chunk-QU433TMZ.js";
+import "./chunk-K7B6OWCU.js";
+import "./chunk-YW3ZWYRO.js";
+import "./chunk-TFW2HQCV.js";
+import "./chunk-BPRMPSTX.js";
+import "./chunk-PQGNKUMB.js";
+import "./chunk-JEA4MMTV.js";
+import "./chunk-RG3AHHRL.js";
+import "./chunk-UDYHZLTE.js";
+import "./chunk-XHRNCFJT.js";
+import "./chunk-DGINNG7Z.js";
+import "./chunk-KK6FUQQU.js";
+import "./chunk-JQUWFKNU.js";
+import "./chunk-RWQH5X3O.js";
+import "./chunk-6334AFGG.js";
+import "./chunk-IASFQ7K7.js";
+import "./chunk-TFHLTN6F.js";
+import "./chunk-4VZNS7N2.js";
+import "./chunk-O3JQY77G.js";
+import "./chunk-IIAN3QNN.js";
+import "./chunk-VYQHMPYW.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-WXUHXYJK.js";
+import "./chunk-NTERQTPO.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-SOSOZIX6.js";
+import "./chunk-TU7WVKU4.js";
+import "./chunk-2QIZS77U.js";
+import "./chunk-O2PIYIHJ.js";
+import "./chunk-HPD2S4QL.js";
+import "./chunk-3HCJD762.js";
+import "./chunk-GR4RKUNH.js";
+import "./chunk-LTQAWUCK.js";
+import "./chunk-W3SLJVWY.js";
+import "./chunk-PK4W65H4.js";
+import {
+  g
+} from "./chunk-KJZ6SS3P.js";
+import "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import {
+  x as x2
+} from "./chunk-K6QDYFZU.js";
+import "./chunk-EY2WJSAJ.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-4PNYPUDB.js";
+import {
+  d
+} from "./chunk-RDMCXRET.js";
+import "./chunk-BQHWPTT7.js";
+import "./chunk-ZSW35JPD.js";
+import "./chunk-DAWQAVQO.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import {
+  U,
+  l,
+  w
+} from "./chunk-BWATQC2Y.js";
+import "./chunk-6URCZZA6.js";
+import "./chunk-U2WD23Z5.js";
+import {
+  g as g2
+} from "./chunk-KG45D2XL.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-O6VYMEIX.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import {
+  j as j2
+} from "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import {
+  U as U2
+} from "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import {
+  w as w2,
+  w2 as w3
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import {
+  e,
+  m,
+  n5 as n,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  j,
+  x
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s,
+  s3 as s2
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  e as e2,
+  r,
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/2d/layers/imagery/ImageryView2D.js
+var d5 = class extends m {
+  constructor() {
+    super(...arguments), this.attached = false, this.container = new i2(), this.updateRequested = false, this.type = "imagery", this._bitmapView = new a();
+  }
+  destroy() {
+    this.attached && (this.detach(), this.attached = false), this.updateRequested = false;
+  }
+  get updating() {
+    return !this.attached || this.isUpdating();
+  }
+  update(e3) {
+    this.strategy.update(e3).catch((e4) => {
+      j(e4) || s.getLogger(this.declaredClass).error(e4);
+    });
+  }
+  hitTest(e3) {
+    return new g({ attributes: {}, geometry: e3.clone(), layer: this.layer });
+  }
+  attach() {
+    this.container.addChild(this._bitmapView);
+    const e3 = this.layer.version >= 10, t3 = this.layer.version >= 10.1 ? this.layer.imageMaxHeight : 2048, r2 = this.layer.version >= 10.1 ? this.layer.imageMaxWidth : 2048;
+    this.strategy = new v({ container: this._bitmapView, imageNormalizationSupported: e3, imageMaxHeight: t3, imageMaxWidth: r2, fetchSource: this._fetchImage.bind(this), requestUpdate: () => this.requestUpdate() });
+  }
+  detach() {
+    this.strategy.destroy(), this._bitmapView.removeAllChildren(), this.container.removeAllChildren(), this.updateRequested = false;
+  }
+  redraw() {
+    this.strategy.updateExports(async (e3) => {
+      var _a;
+      if (e3.source instanceof HTMLImageElement)
+        return;
+      const t3 = await this.layer.applyRenderer({ extent: e3.source.extent, pixelBlock: (_a = e3.source.originalPixelBlock) != null ? _a : e3.source.pixelBlock }), r2 = e3.source;
+      r2.filter = (e4) => this.layer.pixelFilter ? this.layer.applyFilter(e4) : { ...t3, extent: r2.extent };
+    }).catch((e3) => {
+      j(e3) || s.getLogger(this.declaredClass).error(e3);
+    });
+  }
+  requestUpdate() {
+    this.updateRequested || (this.updateRequested = true, this.view.requestUpdate());
+  }
+  isUpdating() {
+    return this.strategy.updating || this.updateRequested;
+  }
+  getPixelData() {
+    if (this.updating)
+      return null;
+    const e3 = this.strategy.bitmaps;
+    if (1 === e3.length && e3[0].source)
+      return { extent: e3[0].source.extent, pixelBlock: e3[0].source.originalPixelBlock };
+    if (e3.length > 1) {
+      const t3 = this.view.extent, r2 = e3.map((e4) => e4.source).filter((e4) => e4.extent && e4.extent.intersects(t3)).map((e4) => ({ extent: e4.extent, pixelBlock: e4.originalPixelBlock })), i5 = A(r2, t3);
+      return r(i5) ? { extent: i5.extent, pixelBlock: i5.pixelBlock } : null;
+    }
+    return null;
+  }
+  _fetchImage(e3, t3, r2, i5) {
+    return (i5 = i5 || {}).timeExtent = this.timeExtent, i5.requestAsImageElement = true, this.layer.fetchImage(e3, t3, r2, i5).then((e4) => e4.imageOrCanvasElement ? e4.imageOrCanvasElement : this.layer.applyRenderer(e4.pixelData, { signal: i5.signal }).then((t4) => {
+      const r3 = new i3(t4.pixelBlock, t4.extent.clone(), e4.pixelData.pixelBlock);
+      return r3.filter = (e5) => this.layer.applyFilter(e5), r3;
+    }));
+  }
+};
+e([y()], d5.prototype, "attached", void 0), e([y()], d5.prototype, "container", void 0), e([y()], d5.prototype, "layer", void 0), e([y()], d5.prototype, "strategy", void 0), e([y()], d5.prototype, "timeExtent", void 0), e([y()], d5.prototype, "view", void 0), e([y()], d5.prototype, "updateRequested", void 0), e([y()], d5.prototype, "updating", null), e([y()], d5.prototype, "type", void 0), d5 = e([n("esri.views.2d.layers.imagery.ImageryView2D")], d5);
+var u2 = d5;
+
+// node_modules/@arcgis/core/views/2d/engine/imagery/RasterVFContainer.js
+var t2 = class extends o {
+  constructor() {
+    super(...arguments), this.symbolTypes = ["triangle"];
+  }
+  get requiresDedicatedFBO() {
+    return false;
+  }
+  prepareRenderPasses(s4) {
+    const t3 = s4.registerRenderPass({ name: "imagery (vf)", brushes: [d3], target: () => this.children, drawPhase: I.MAP });
+    return [...super.prepareRenderPasses(s4), t3];
+  }
+  doRender(e3) {
+    this.visible && e3.drawPhase === I.MAP && this.symbolTypes.forEach((r2) => {
+      e3.renderPass = r2, super.doRender(e3);
+    });
+  }
+};
+
+// node_modules/@arcgis/core/views/2d/layers/imagery/ImageryVFStrategy.js
+var p = class extends m {
+  constructor(e3) {
+    super(e3), this.update = x((e4, t3) => this._update(e4, t3).catch((e5) => {
+      j(e5) || s.getLogger(this.declaredClass).error(e5);
+    }));
+  }
+  get updating() {
+    return !!this._loading;
+  }
+  redraw(e3) {
+    if (!this.container.children.length)
+      return;
+    const t3 = this.container.children[0];
+    t3.symbolizerParameters = e3, t3.invalidateVAO(), this.container.symbolTypes = "wind_speed" === e3.style ? ["scalar", "triangle"] : "simple_scalar" === e3.style ? ["scalar"] : ["triangle"], this.container.requestRender();
+  }
+  async _update(e3, t3, r2) {
+    if (!e3.stationary)
+      return;
+    const { extent: i5, spatialReference: s4 } = e3.state, o2 = new w3({ xmin: i5.xmin, ymin: i5.ymin, xmax: i5.xmax, ymax: i5.ymax, spatialReference: s4 }), [a2, n3] = e3.state.size;
+    this._loading = this.fetchPixels(o2, a2, n3, r2);
+    const c = await this._loading;
+    this._addToDisplay(c, t3, e3.state), this._loading = null;
+  }
+  _addToDisplay(e3, t3, r2) {
+    if (t(e3.pixelBlock))
+      return this.container.children.forEach((e4) => e4.destroy()), void this.container.removeAllChildren();
+    const { extent: s4, pixelBlock: o2 } = e3, a2 = new y3(o2);
+    a2.offset = [0, 0], a2.symbolizerParameters = t3, a2.rawPixelData = e3, a2.invalidateVAO(), a2.x = s4.xmin, a2.y = s4.ymax, a2.pixelRatio = r2.pixelRatio, a2.rotation = r2.rotation, a2.resolution = r2.resolution, a2.width = o2.width * t3.symbolTileSize, a2.height = o2.height * t3.symbolTileSize, this.container.children.forEach((e4) => e4.destroy()), this.container.removeAllChildren(), this.container.symbolTypes = "wind_speed" === t3.style ? ["scalar", "triangle"] : "simple_scalar" === t3.style ? ["scalar"] : ["triangle"], this.container.addChild(a2);
+  }
+};
+e([y()], p.prototype, "fetchPixels", void 0), e([y()], p.prototype, "container", void 0), e([y()], p.prototype, "_loading", void 0), e([y()], p.prototype, "updating", null), p = e([n("esri.views.2d.layers.imagery.ImageryVFStrategy")], p);
+var m2 = p;
+
+// node_modules/@arcgis/core/views/2d/layers/imagery/VectorFieldView2D.js
+var f = class extends d {
+  constructor() {
+    super(...arguments), this.attached = false, this.container = new t2(), this.type = "imageryVF", this._dataParameters = { exportParametersVersion: 0, bbox: "", symbolTileSize: 0, time: "" }, this._fetchpixels = async (e3, t3, r2, i5) => {
+      const n3 = await this._projectFullExtentPromise, { symbolTileSize: l2 } = this.layer.renderer, { extent: c, width: m4, height: p2 } = x3(e3, t3, r2, l2, n3);
+      if (r(n3) && !n3.intersects(e3))
+        return { extent: c, pixelBlock: null };
+      const h = { bbox: `${c.xmin}, ${c.ymin}, ${c.xmax}, ${c.ymax}`, exportParametersVersion: this.layer.exportImageServiceParameters.version, symbolTileSize: l2, time: JSON.stringify(this.timeExtent || "") };
+      if (this._canReuseVectorFieldData(h)) {
+        const e4 = this.getPixelData();
+        if (r(e4)) {
+          if (`${e4.extent.xmin}, ${e4.extent.ymin}, ${e4.extent.xmax}, ${e4.extent.ymax}` === h.bbox)
+            return e4;
+        }
+      }
+      const { pixelData: u3 } = await this.layer.fetchImage(c, m4, p2, { timeExtent: this.timeExtent, requestAsImageElement: false, signal: i5 });
+      if (this._dataParameters = h, t(u3.pixelBlock))
+        return { extent: c, pixelBlock: null };
+      return { extent: c, pixelBlock: "vector-uv" === this.layer.rasterInfo.dataType ? e2(d2(u3.pixelBlock, "vector-uv")) : u3.pixelBlock };
+    };
+  }
+  get updating() {
+    return !this.attached || this._strategy.updating;
+  }
+  attach() {
+    this._projectFullExtentPromise = this._getProjectedFullExtent(this.view.spatialReference), this._strategy = new m2({ container: this.container, fetchPixels: this._fetchpixels }), this.handles.add(l(() => this.layer.renderer, (e3) => this._updateSymbolizerParams(e3), w), "vector-field-view-update");
+  }
+  detach() {
+    this._strategy.destroy(), this.container.children.forEach((e3) => e3.destroy()), this.container.removeAllChildren(), this.handles.remove("vector-field-view-update"), this._strategy = this.container = this._projectFullExtentPromise = null;
+  }
+  getPixelData() {
+    if (this.updating || !this.container.children.length)
+      return null;
+    const { extent: e3, pixelBlock: t3 } = this.container.children[0].rawPixelData;
+    return { extent: e3, pixelBlock: t3 };
+  }
+  hitTest(e3) {
+    return new g({ attributes: {}, geometry: e3.clone(), layer: this.layer });
+  }
+  update(e3) {
+    this._strategy.update(e3, this._symbolizerParams);
+  }
+  redraw() {
+    this._updateSymbolizerParams(this.layer.renderer), this._strategy.redraw(this._symbolizerParams);
+  }
+  _canReuseVectorFieldData(e3) {
+    const t3 = this._dataParameters.exportParametersVersion === e3.exportParametersVersion, r2 = this._dataParameters.time === e3.time, i5 = this._dataParameters.symbolTileSize === e3.symbolTileSize, s4 = this._dataParameters.bbox === e3.bbox;
+    return t3 && r2 && i5 && s4;
+  }
+  async _getProjectedFullExtent(e3) {
+    try {
+      return await J(this.layer.fullExtent, e3);
+    } catch (t3) {
+      try {
+        const t4 = (await U2(this.layer.url, { query: { option: "footprints", outSR: e3.wkid || JSON.stringify(e3.toJSON()), f: "json" } })).data.featureCollection.layers[0].layerDefinition.extent;
+        return t4 ? w3.fromJSON(t4) : null;
+      } catch {
+        return null;
+      }
+    }
+  }
+  _updateSymbolizerParams(e3) {
+    "vector-field" === e3.type && (this._symbolizerParams = this.layer.symbolizer.generateWebGLParameters({ pixelBlock: null }));
+  }
+};
+e([y()], f.prototype, "attached", void 0), e([y()], f.prototype, "container", void 0), e([y()], f.prototype, "layer", void 0), e([y()], f.prototype, "timeExtent", void 0), e([y()], f.prototype, "type", void 0), e([y()], f.prototype, "view", void 0), e([y()], f.prototype, "updating", null), f = e([n("esri.views.2d.layers.imagery.VectorFieldView2D")], f);
+var g3 = f;
+
+// node_modules/@arcgis/core/views/layers/ImageryLayerView.js
+var m3 = (m4) => {
+  let c = class extends m4 {
+    constructor() {
+      super(...arguments), this.view = null;
+    }
+    async fetchPopupFeatures(e3, s4) {
+      const { layer: p2 } = this;
+      if (!e3)
+        throw new s2("imagerylayerview:fetchPopupFeatures", "Nothing to fetch without area", { layer: p2 });
+      const { popupEnabled: a2 } = p2, m5 = s3(p2, s4);
+      if (!a2 || t(m5))
+        throw new s2("imagerylayerview:fetchPopupFeatures", "Missing required popupTemplate or popupEnabled", { popupEnabled: a2, popupTemplate: m5 });
+      const c2 = await m5.getRequiredFields(), l2 = new x2();
+      l2.timeExtent = this.timeExtent, l2.geometry = e3, l2.outFields = c2, l2.outSpatialReference = e3.spatialReference;
+      const y4 = this.view.resolution, w4 = "2d" === this.view.type ? new w2(y4, y4, this.view.spatialReference) : new w2(0.5 * y4, 0.5 * y4, this.view.spatialReference), { returnTopmostRaster: d6, showNoDataRecords: h } = m5.layerOptions || { returnTopmostRaster: true, showNoDataRecords: false }, f2 = { returnDomainValues: true, returnTopmostRaster: d6, pixelSize: w4, showNoDataRecords: h, signal: r(s4) ? s4.signal : null };
+      return p2.queryVisibleRasters(l2, f2).then((e4) => e4);
+    }
+    canResume() {
+      var _a;
+      return !!super.canResume() && !((_a = this.timeExtent) == null ? void 0 : _a.isEmpty);
+    }
+  };
+  return e([y()], c.prototype, "layer", void 0), e([y()], c.prototype, "suspended", void 0), e([y(g2)], c.prototype, "timeExtent", void 0), e([y()], c.prototype, "view", void 0), c = e([n("esri.views.layers.ImageryLayerView")], c), c;
+};
+
+// node_modules/@arcgis/core/views/2d/layers/ImageryLayerView2D.js
+var g4 = class extends m3(i4(y2(u))) {
+  constructor() {
+    super(...arguments), this._exportImageVersion = -1, this._highlightGraphics = new i(), this.subview = null;
+  }
+  get pixelData() {
+    return this.updating ? null : "getPixelData" in this.subview ? this.subview.getPixelData() : null;
+  }
+  async hitTest(e3, i5) {
+    return this.subview ? [{ type: "graphic", graphic: this.subview.hitTest(e3), layer: this.layer, mapPoint: e3 }] : null;
+  }
+  update(e3) {
+    var _a;
+    (_a = this.subview) == null ? void 0 : _a.update(e3);
+  }
+  attach() {
+    this.layer.increaseRasterJobHandlerUsage(), this._setSubView(), this.view && (this._highlightView = new oe({ view: this.view, graphics: this._highlightGraphics, requestUpdateCallback: () => this.requestUpdate(), container: new n2(this.view.featuresTilingScheme) }), this.container.addChild(this._highlightView.container)), this.handles.add([l(() => {
+      var _a;
+      return (_a = this.layer.blendMode) != null ? _a : "normal";
+    }, (e3) => this.subview.container.blendMode = e3, w), l(() => {
+      var _a;
+      return (_a = this.layer.effect) != null ? _a : null;
+    }, (e3) => this.subview.container.effect = e3, w), l(() => this.layer.exportImageServiceParameters.version, (e3) => {
+      e3 && this._exportImageVersion !== e3 && (this._exportImageVersion = e3, this.requestUpdate());
+    }, U), l(() => this.timeExtent, (e3) => {
+      this.subview.timeExtent = e3, "redraw" in this.subview ? this.requestUpdate() : this.subview.redrawOrRefetch();
+    }, U), this.layer.on("redraw", () => {
+      "redraw" in this.subview ? this.subview.redraw() : this.subview.redrawOrRefetch();
+    }), l(() => this.layer.renderer, () => this._setSubView())], "imagerylayerview-update");
+  }
+  detach() {
+    var _a, _b;
+    this.layer.decreaseRasterJobHandlerUsage(), this.container.removeAllChildren(), this._detachSubview(this.subview), (_a = this.subview) == null ? void 0 : _a.destroy(), this.handles.remove("imagerylayerview-update"), this.subview = null, (_b = this._highlightView) == null ? void 0 : _b.destroy(), this._exportImageVersion = -1;
+  }
+  moveStart() {
+  }
+  viewChange() {
+  }
+  moveEnd() {
+    this.requestUpdate();
+  }
+  highlight(e3, r2) {
+    if (!((Array.isArray(e3) ? e3[0] : j2.isCollection(e3) ? e3.getItemAt(0) : e3) instanceof g))
+      return { remove: () => {
+      } };
+    let s4 = [];
+    return Array.isArray(e3) || j2.isCollection(e3) ? s4 = e3.map((e4) => e4.clone()) : e3 instanceof g && (s4 = [e3.clone()]), this._highlightGraphics.addMany(s4), { remove: () => {
+      this._highlightGraphics.removeMany(s4);
+    } };
+  }
+  async doRefresh() {
+    this.requestUpdate();
+  }
+  isUpdating() {
+    return !this.subview || this.subview.updating;
+  }
+  _setSubView() {
+    var _a, _b;
+    if (!this.view)
+      return;
+    const e3 = (_a = this.layer.renderer) == null ? void 0 : _a.type;
+    let i5 = "imagery";
+    if ("vector-field" === e3 ? i5 = "imageryVF" : "flow" === e3 && (i5 = "flow"), this.subview) {
+      const { type: e4 } = this.subview;
+      if (e4 === i5)
+        return this._attachSubview(this.subview), void ("flow" === e4 ? this.subview.redrawOrRefetch() : "imagery" === e4 && "lerc" === this.layer.format ? this.subview.redraw() : this.requestUpdate());
+      this._detachSubview(this.subview), (_b = this.subview) == null ? void 0 : _b.destroy();
+    }
+    this.subview = "imagery" === i5 ? new u2({ layer: this.layer, view: this.view, timeExtent: this.timeExtent }) : "imageryVF" === i5 ? new g3({ layer: this.layer, view: this.view, timeExtent: this.timeExtent }) : new d4({ layer: this.layer, layerView: this }), this._attachSubview(this.subview), this.requestUpdate();
+  }
+  _attachSubview(e3) {
+    e3 && !e3.attached && (e3.attach(), e3.attached = true, this.container.addChildAt(e3.container, 0), e3.container.blendMode = this.layer.blendMode, e3.container.effect = this.layer.effect);
+  }
+  _detachSubview(e3) {
+    (e3 == null ? void 0 : e3.attached) && (this.container.removeChild(e3.container), e3.detach(), e3.attached = false);
+  }
+};
+e([y()], g4.prototype, "pixelData", null), e([y()], g4.prototype, "subview", void 0), g4 = e([n("esri.views.2d.layers.ImageryLayerView2D")], g4);
+var b = g4;
+export {
+  b as default
+};
+//# sourceMappingURL=ImageryLayerView2D-K3NIEDQI.js.map

+ 0 - 0
node_modules/.vite/deps/ImageryLayerView2D-F5AMDXNA.js.map → node_modules/.vite/deps/ImageryLayerView2D-K3NIEDQI.js.map


+ 0 - 1922
node_modules/.vite/deps/ImageryTileLayer-CTOXD6HK.js

@@ -1,1922 +0,0 @@
-import {
-  a as a3,
-  d as d3,
-  h,
-  m as m6,
-  x as x2
-} from "./chunk-2U5S3G7I.js";
-import {
-  $ as $2,
-  L,
-  V as V2,
-  c as c5,
-  i as i2,
-  j as j5,
-  l as l4,
-  m as m5,
-  n as n5,
-  o as o3,
-  u as u2,
-  w as w4
-} from "./chunk-F3LA3K3M.js";
-import {
-  c as c6,
-  d as d2,
-  f as f6,
-  g as g3,
-  i as i3,
-  m as m4,
-  p as p4,
-  s as s3
-} from "./chunk-F2GA7W55.js";
-import {
-  c as c2,
-  f as f3,
-  i,
-  l as l3,
-  m as m3
-} from "./chunk-XQ6FMY5X.js";
-import {
-  $,
-  C,
-  J,
-  Q,
-  T as T3,
-  U as U2,
-  V,
-  j as j4,
-  ne,
-  oe
-} from "./chunk-I623MZCZ.js";
-import {
-  D,
-  G,
-  N,
-  O as O2,
-  P,
-  S as S2,
-  T as T4,
-  b,
-  g as g2,
-  n as n3,
-  n3 as n4,
-  p as p3,
-  r as r3,
-  r2 as r4,
-  u2 as u
-} from "./chunk-3BKH6ISD.js";
-import {
-  d,
-  f as f2,
-  f2 as f4,
-  m as m2
-} from "./chunk-TLDCDW5L.js";
-import {
-  D as D2,
-  T as T2,
-  W,
-  b as b2,
-  g,
-  j as j3
-} from "./chunk-TDS6IBMU.js";
-import "./chunk-ULSPZIPE.js";
-import "./chunk-I26BWYY3.js";
-import "./chunk-NDUYF7XW.js";
-import "./chunk-OUUXJOLT.js";
-import "./chunk-NBKUI76A.js";
-import "./chunk-XHRNCFJT.js";
-import "./chunk-6334AFGG.js";
-import {
-  x
-} from "./chunk-NLLFSKB2.js";
-import "./chunk-OKUFE7TO.js";
-import "./chunk-P24XEEHY.js";
-import "./chunk-WOXHUQGM.js";
-import "./chunk-FMPQIGFA.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-S6EFEKAU.js";
-import {
-  a as a2
-} from "./chunk-XEQ4FTFC.js";
-import "./chunk-JM5OVQAD.js";
-import {
-  n as n6,
-  z
-} from "./chunk-KTSVAGSV.js";
-import "./chunk-OJ2HHY2O.js";
-import {
-  o as o2
-} from "./chunk-W6U6FKJ3.js";
-import {
-  p as p2
-} from "./chunk-7C2KDOAI.js";
-import "./chunk-3FNKD2EB.js";
-import "./chunk-ZOO4I2U4.js";
-import "./chunk-JPUFJK2B.js";
-import "./chunk-HZ2WKB3G.js";
-import "./chunk-RVCE264D.js";
-import "./chunk-HKJ7X3BD.js";
-import "./chunk-Y74D3LKQ.js";
-import "./chunk-PK4W65H4.js";
-import "./chunk-7C23ILQ4.js";
-import {
-  k as k2
-} from "./chunk-P6VVVEX6.js";
-import "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-IEU3AM37.js";
-import "./chunk-DLMAGHHC.js";
-import "./chunk-JOYXMSKE.js";
-import {
-  S
-} from "./chunk-SZFMKPVM.js";
-import "./chunk-YZVAB3DF.js";
-import "./chunk-CRHRHOXH.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-PT62335L.js";
-import {
-  y as y2
-} from "./chunk-JGBXYDGB.js";
-import "./chunk-QEWF7QPH.js";
-import "./chunk-FNA5GLRW.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TV3CFJQR.js";
-import {
-  l as l2
-} from "./chunk-TJV6ODRM.js";
-import {
-  j as j2
-} from "./chunk-YLEVJ6UV.js";
-import "./chunk-U2WD23Z5.js";
-import {
-  v as v3
-} from "./chunk-JUWKPBLS.js";
-import {
-  c as c4
-} from "./chunk-WLSB4F4I.js";
-import {
-  c as c3,
-  f as f5
-} from "./chunk-GLSWDDR3.js";
-import {
-  O
-} from "./chunk-MIQGEDET.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import {
-  p
-} from "./chunk-GN35O2ZO.js";
-import {
-  n as n2
-} from "./chunk-XTVKPAWY.js";
-import "./chunk-3OSQ6GXO.js";
-import "./chunk-3WQOA5CB.js";
-import {
-  t as t2
-} from "./chunk-PLWDAYK7.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-HWSWTWZD.js";
-import "./chunk-O6VYMEIX.js";
-import "./chunk-X4SA4ELJ.js";
-import {
-  r as r2
-} from "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-2ZSOO377.js";
-import "./chunk-YUA3AHKR.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import {
-  b as b3
-} from "./chunk-DXVOOCG4.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import {
-  m
-} from "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import {
-  U
-} from "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import {
-  j
-} from "./chunk-VEGAOVMY.js";
-import {
-  o,
-  w as w2,
-  w2 as w3
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import {
-  R,
-  k2 as k
-} from "./chunk-PQFTYGF5.js";
-import {
-  e,
-  l3 as l,
-  n5 as n,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import {
-  T,
-  v as v2
-} from "./chunk-SQOPWYIT.js";
-import {
-  E,
-  a,
-  v,
-  w
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s,
-  s3 as s2
-} from "./chunk-E5O6P5I2.js";
-import {
-  has
-} from "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  c,
-  e as e2,
-  f,
-  r,
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/BaseRaster.js
-var V3 = 8;
-var $3 = class extends m(l) {
-  constructor() {
-    super(...arguments), this.rasterJobHandler = null, this.datasetName = null, this.datasetFormat = null, this.rasterInfo = null, this.ioConfig = { sampling: "closest" };
-  }
-  async init() {
-    const t5 = T3();
-    this.addResolvingPromise(t5), await this.when();
-  }
-  normalizeCtorArgs(t5) {
-    return t5 && t5.ioConfig && (t5 = { ...t5, ioConfig: { resolution: null, bandIds: null, sampling: "closest", tileInfo: j2.create(), ...t5.ioConfig } }), t5;
-  }
-  get _isGlobalWrappableSource() {
-    const { rasterInfo: t5 } = this, e4 = U2(t5.spatialReference);
-    return r(e4) && t5.extent.width >= e4 / 2;
-  }
-  set url(t5) {
-    this._set("url", S(t5, s.getLogger(this.declaredClass)));
-  }
-  async open(t5) {
-    throw new s2("BaseRaster:open-not-implemented", "open() is not implemented");
-  }
-  async fetchTile(t5, e4, i5, o5 = {}) {
-    const r6 = o5.tileInfo || this.rasterInfo.storageInfo.tileInfo, n10 = this.getTileExtentFromTileInfo(t5, e4, i5, r6);
-    return this.fetchPixels(n10, r6.size[0], r6.size[1], o5);
-  }
-  async identify(t5, e4 = {}) {
-    var _a, _b;
-    t5 = v2(w2, t5).clone().normalize();
-    const { multidimensionalDefinition: i5, timeExtent: o5 } = e4, { hasMultidimensionalTranspose: r6, multidimensionalInfo: l6 } = this.rasterInfo;
-    let { transposedVariableName: c10 } = e4;
-    const m8 = r(l6) && r6 && (null != o5 || f6(i5));
-    if (m8 && !c10) {
-      c10 = r(i5) && i5.length > 0 ? (_a = i5[0].variableName) != null ? _a : void 0 : l6.variables[0].name, e4 = { ...e4, transposedVariableName: c10 };
-    }
-    e4 = this._getRequestOptionsWithSliceId(e4);
-    const { spatialReference: f9, extent: u5 } = this.rasterInfo, { datumTransformation: p6 } = e4;
-    let d6 = j4(t5, f9, p6);
-    if (!u5.intersects(d6))
-      return { location: d6, value: null };
-    if (r(this.rasterInfo.transform)) {
-      const t6 = this.rasterInfo.transform.inverseTransform(d6);
-      if (!this.rasterInfo.nativeExtent.intersects(t6))
-        return { location: t6, value: null };
-      d6 = t6;
-    }
-    let x4 = 0;
-    const g4 = r(c10) && r(l6) && this.rasterInfo.hasMultidimensionalTranspose;
-    if (!g4) {
-      if (e4.srcResolution) {
-        x4 = oe(e4.srcResolution, this.rasterInfo, this.ioConfig.sampling).pyramidLevel;
-      } else if (x4 = await this.computeBestPyramidLevelForLocation(t5, e4), null == x4)
-        return { location: d6, value: null };
-    }
-    const y5 = this.identifyPixelLocation(d6, x4, null, g4);
-    if (null === y5)
-      return { location: d6, value: null };
-    const { row: R3, col: w7, rowOffset: k3, colOffset: T5, blockWidth: B } = y5, P2 = c10 != null ? c10 : e2(e4.sliceId), W2 = a3(this.url, P2), M = `${x4}/${R3}/${w7}`;
-    let C2 = x2(W2, null, M);
-    t(C2) && (C2 = this.fetchRawTile(x4, R3, w7, e4), h(W2, null, M, C2));
-    const _ = await C2;
-    if (t(_) || !((_b = _.pixels) == null ? void 0 : _b.length))
-      return { location: d6, value: null };
-    const j6 = k3 * B + T5;
-    return this._processIdentifyResult(_, { srcLocation: d6, position: j6, pyramidLevel: x4, useTransposedTile: !!g4, requestSomeSlices: m8, identifyOptions: e4 });
-  }
-  async fetchPixels(t5, e4, i5, o5 = {}) {
-    if (t5 = ne(t5), (o5 = this._getRequestOptionsWithSliceId(o5)).requestRawData)
-      return this._fetchPixels(t5, e4, i5, o5);
-    const r6 = U2(t5.spatialReference), n10 = Q(t5);
-    if (t(r6) || 0 === n10 || 1 === n10 && this._isGlobalWrappableSource)
-      return this._fetchPixels(t5, e4, i5, o5);
-    if (n10 >= 3)
-      return { extent: t5, pixelBlock: null };
-    const s4 = [], { xmin: l6, xmax: c10 } = t5, m8 = Math.round(r6 / (c10 - l6) * e4), f9 = m8 - Math.round((r6 / 2 - l6) / (c10 - l6) * e4);
-    let h3 = 0;
-    const u5 = [];
-    for (let a4 = 0; a4 <= n10; a4++) {
-      const p7 = new w3({ xmin: 0 === a4 ? l6 : -r6 / 2, xmax: a4 === n10 ? c10 - r6 * a4 : r6 / 2, ymin: t5.ymin, ymax: t5.ymax, spatialReference: t5.spatialReference }), d7 = 0 === a4 ? m8 - f9 : a4 === n10 ? e4 - h3 : m8;
-      h3 += d7, u5.push(d7);
-      const x5 = o5.disableWrapAround && a4 > 0 ? null : this._fetchPixels(p7, d7, i5, o5);
-      s4.push(x5);
-    }
-    const p6 = (await Promise.all(s4)).map((t6) => t6 == null ? void 0 : t6.pixelBlock);
-    let d6 = null;
-    const x4 = { width: e4, height: i5 };
-    if (this.rasterJobHandler) {
-      d6 = (await this.rasterJobHandler.mosaicAndTransform({ srcPixelBlocks: p6, srcMosaicSize: x4, destDimension: null, coefs: null, sampleSpacing: null, interpolation: "nearest", alignmentInfo: null, blockWidths: u5 }, o5)).pixelBlock;
-    } else
-      d6 = T2(p6, x4, { blockWidths: u5 });
-    return { extent: t5, srcExtent: J(t5, this.rasterInfo.spatialReference, o5.datumTransformation), pixelBlock: d6 };
-  }
-  async fetchRawPixels(t5, e4, i5, o5 = {}) {
-    e4 = { x: Math.floor(e4.x), y: Math.floor(e4.y) };
-    const r6 = await this._fetchRawTiles(t5, e4, i5, o5), { nativeExtent: s4, nativePixelSize: a4, storageInfo: l6 } = this.rasterInfo, c10 = 2 ** t5, m8 = a4.x * c10, f9 = a4.y * c10, h3 = new w3({ xmin: s4.xmin + m8 * e4.x, xmax: s4.xmin + m8 * (e4.x + i5.width - 1), ymin: s4.ymax - f9 * (e4.y + i5.height - 1), ymax: s4.ymax - f9 * e4.y, spatialReference: s4.spatialReference });
-    if (!r6)
-      return { extent: h3, srcExtent: h3, pixelBlock: null };
-    const { pixelBlocks: u5, mosaicSize: p6 } = r6;
-    if (1 === u5.length && r(u5[0]) && u5[0].width === i5.width && u5[0].height === i5.height)
-      return { extent: h3, srcExtent: h3, pixelBlock: r6.pixelBlocks[0] };
-    const d6 = t5 > 0 ? l6.pyramidBlockWidth : l6.blockWidth, x4 = t5 > 0 ? l6.pyramidBlockHeight : l6.blockHeight, g4 = { x: e4.x % d6, y: e4.y % x4 };
-    let y5;
-    if (this.rasterJobHandler) {
-      y5 = (await this.rasterJobHandler.mosaicAndTransform({ srcPixelBlocks: u5, srcMosaicSize: p6, destDimension: i5, clipOffset: g4, clipSize: i5, coefs: null, sampleSpacing: null, interpolation: o5.interpolation, alignmentInfo: null, blockWidths: null }, o5)).pixelBlock;
-    } else
-      y5 = T2(u5, p6, { clipOffset: g4, clipSize: i5 });
-    return { extent: h3, srcExtent: h3, pixelBlock: y5 };
-  }
-  fetchRawTile(t5, e4, o5, r6) {
-    throw new s2("BaseRaster:read-not-implemented", "fetchRawTile() is not implemented");
-  }
-  computeExtent(t5) {
-    return J(this.rasterInfo.extent, t5);
-  }
-  decodePixelBlock(t5, e4) {
-    return !this.rasterJobHandler || e4.useCanvas ? S2(t5, e4) : this.rasterJobHandler.decode({ data: t5, options: e4 });
-  }
-  async request(t5, i5, o5 = 0) {
-    var _a;
-    const { customFetchParameters: r6 } = this.ioConfig, { range: n10, query: s4, headers: a4 } = i5;
-    o5 = (_a = o5 != null ? o5 : i5.retryCount) != null ? _a : this.ioConfig.retryCount;
-    const l6 = n10 ? { Range: `bytes=${n10.from}-${n10.to}` } : null;
-    try {
-      return await U(t5, { ...i5, query: { ...s4, ...r6 }, headers: { ...a4, ...l6 } });
-    } catch (c10) {
-      if (o5 > 0)
-        return o5--, this.request(t5, i5, o5);
-      throw c10;
-    }
-  }
-  getSliceIndex(t5) {
-    const { multidimensionalInfo: e4 } = this.rasterInfo;
-    return t(e4) || t(t5) || 0 === t5.length ? null : g3(t5, e4);
-  }
-  getTileExtentFromTileInfo(t5, e4, i5, o5) {
-    const r6 = f(o5.lodAt(t5));
-    return this.getTileExtent({ x: r6.resolution, y: r6.resolution }, e4, i5, o5.origin, o5.spatialReference, o5.size);
-  }
-  updateTileInfo() {
-    const { storageInfo: t5, spatialReference: e4, extent: i5, pixelSize: o5 } = this.rasterInfo;
-    if (!t5.tileInfo) {
-      const r6 = [], n10 = t5.maximumPyramidLevel || 0;
-      let s4 = Math.max(o5.x, o5.y), a4 = 1 / 0.0254 * 96 * s4;
-      for (let t6 = 0; t6 <= n10; t6++)
-        r6.push({ level: n10 - t6, resolution: s4, scale: a4 }), s4 *= 2, a4 *= 2;
-      const l6 = new w2({ x: i5.xmin, y: i5.ymax, spatialReference: e4 });
-      t5.tileInfo = new j2({ origin: l6, size: [t5.blockWidth, t5.blockHeight], spatialReference: e4, lods: r6 }), t5.isVirtualTileInfo = true;
-    }
-  }
-  createRemoteDatasetStorageInfo(t5, e4 = 512, i5 = 512, o5) {
-    const { width: r6, height: n10, nativeExtent: s4, pixelSize: a4, spatialReference: l6 } = t5, c10 = new w2({ x: s4.xmin, y: s4.ymax, spatialReference: l6 });
-    null == o5 && (o5 = Math.max(0, Math.round(Math.log(Math.max(r6, n10)) / Math.LN2 - 8)));
-    const m8 = this.computeBlockBoundary(s4, 512, 512, { x: s4.xmin, y: s4.ymax }, [a4], o5);
-    t5.storageInfo = new n4({ blockWidth: e4, blockHeight: i5, pyramidBlockWidth: e4, pyramidBlockHeight: i5, origin: c10, firstPyramidLevel: 1, maximumPyramidLevel: o5, blockBoundary: m8 });
-  }
-  async computeBestPyramidLevelForLocation(t5, e4 = {}) {
-    return 0;
-  }
-  computeBlockBoundary(t5, e4, i5, o5, r6, n10 = 0, s4 = 2) {
-    if (1 === r6.length && n10 > 0) {
-      r6 = [...r6];
-      let { x: t6, y: e5 } = r6[0];
-      for (let i6 = 0; i6 < n10; i6++)
-        t6 *= s4, e5 *= s4, r6.push({ x: t6, y: e5 });
-    }
-    const a4 = [], { x: l6, y: c10 } = o5;
-    for (let m8 = 0; m8 < r6.length; m8++) {
-      const { x: o6, y: n11 } = r6[m8];
-      a4.push({ minCol: Math.floor((t5.xmin - l6 + 0.1 * o6) / e4 / o6), maxCol: Math.floor((t5.xmax - l6 - 0.1 * o6) / e4 / o6), minRow: Math.floor((c10 - t5.ymax + 0.1 * n11) / i5 / n11), maxRow: Math.floor((c10 - t5.ymin - 0.1 * n11) / i5 / n11) });
-    }
-    return a4;
-  }
-  getPyramidPixelSize(t5) {
-    const { nativePixelSize: e4 } = this.rasterInfo, { pyramidResolutions: i5, pyramidScalingFactor: o5 } = this.rasterInfo.storageInfo;
-    if (0 === t5)
-      return e4;
-    if (r(i5) && i5.length)
-      return i5[t5 - 1];
-    const r6 = o5 ** t5;
-    return { x: e4.x * r6, y: e4.y * r6 };
-  }
-  identifyPixelLocation(t5, e4, i5, o5) {
-    const { spatialReference: r6, nativeExtent: s4, storageInfo: a4 } = this.rasterInfo, { maximumPyramidLevel: l6, origin: c10, transposeInfo: m8 } = a4, f9 = o5 && r(m8) ? m8.tileSize[0] : a4.blockWidth, h3 = o5 && r(m8) ? m8.tileSize[1] : a4.blockHeight, u5 = j4(t5, r6, i5);
-    if (!s4.intersects(u5))
-      return null;
-    if (e4 < 0 || e4 > l6)
-      return null;
-    const p6 = this.getPyramidPixelSize(e4), { x: d6, y: x4 } = p6, g4 = (c10.y - u5.y) / x4 / h3, y5 = (u5.x - c10.x) / d6 / f9, I4 = Math.min(h3 - 1, Math.floor((g4 - Math.floor(g4)) * h3)), R3 = Math.min(f9 - 1, Math.floor((y5 - Math.floor(y5)) * f9));
-    return { pyramidLevel: e4, row: Math.floor(g4), col: Math.floor(y5), rowOffset: I4, colOffset: R3, blockWidth: f9, srcLocation: u5 };
-  }
-  getTileExtent(t5, e4, i5, o5, r6, n10) {
-    const [s4, a4] = n10, l6 = o5.x + i5 * s4 * t5.x, c10 = l6 + s4 * t5.x, m8 = o5.y - e4 * a4 * t5.y, f9 = m8 - a4 * t5.y;
-    return new w3({ xmin: l6, xmax: c10, ymin: f9, ymax: m8, spatialReference: r6 });
-  }
-  getBlockWidthHeight(t5) {
-    return { blockWidth: t5 > 0 ? this.rasterInfo.storageInfo.pyramidBlockWidth : this.rasterInfo.storageInfo.blockWidth, blockHeight: t5 > 0 ? this.rasterInfo.storageInfo.pyramidBlockHeight : this.rasterInfo.storageInfo.blockHeight };
-  }
-  isBlockOutside(t5, e4, i5) {
-    const o5 = this.rasterInfo.storageInfo.blockBoundary[t5];
-    return !o5 || o5.maxRow < e4 || o5.maxCol < i5 || o5.minRow > e4 || o5.minCol > i5;
-  }
-  async _fetchPixels(t5, e4, i5, o5 = {}) {
-    let r6 = Q(t5);
-    if (r6 >= 2)
-      return { extent: t5, pixelBlock: null };
-    const a4 = this._getSourceDataInfo(t5, e4, i5, o5), { pyramidLevel: l6, pyramidResolution: c10, srcResolution: m8, srcExtent: f9, srcWidth: h3, srcHeight: u5 } = a4;
-    if (0 === h3 || 0 === u5)
-      return { extent: t5, srcExtent: f9, pixelBlock: null };
-    const p6 = e2(this.rasterInfo.transform), d6 = "gcs-shift" === (p6 == null ? void 0 : p6.type), x4 = r(U2(t5.spatialReference));
-    !d6 && x4 || (r6 = Q(a4.srcExtent, d6));
-    const g4 = this.rasterInfo.storageInfo, y5 = { x: Math.floor((f9.xmin - g4.origin.x) / c10.x + 0.1), y: Math.floor((g4.origin.y - f9.ymax) / c10.y + 0.1) }, I4 = await this._fetchRawTiles(l6, y5, { width: h3, height: u5, wrapCount: r6 }, o5);
-    if (!I4)
-      return { extent: t5, srcExtent: f9, pixelBlock: null };
-    const R3 = l6 > 0 ? g4.pyramidBlockWidth : g4.blockWidth, w7 = l6 > 0 ? g4.pyramidBlockHeight : g4.blockHeight, k3 = R3 === h3 && w7 === u5 && y5.x % R3 == 0 && y5.y % w7 == 0, b5 = new w2({ x: (t5.xmax - t5.xmin) / e4, y: (t5.ymax - t5.ymin) / i5, spatialReference: t5.spatialReference }), v5 = !t5.spatialReference.equals(this.rasterInfo.spatialReference), { datumTransformation: S4 } = o5;
-    if (!v5 && k3 && 1 === I4.pixelBlocks.length && R3 === e4 && w7 === i5 && m8.x === b5.x && m8.y === b5.y)
-      return { extent: t5, srcExtent: f9, pixelBlock: I4.pixelBlocks[0] };
-    const T5 = x4 && r(U2(f9.spatialReference)), B = o5.requestProjectedLocalDirections && this.rasterInfo.dataType.startsWith("vector");
-    B && !this.rasterJobHandler && await T3();
-    const P2 = this.rasterJobHandler ? await this.rasterJobHandler.getProjectionOffsetGrid({ projectedExtent: t5, srcBufferExtent: I4.extent, pixelSize: b5.toJSON(), datumTransformation: S4, rasterTransform: p6, hasWrapAround: r6 > 0 || T5, isAdaptive: false !== this.ioConfig.optimizeProjectionAccuracy, includeGCSGrid: B }, o5) : $({ projectedExtent: t5, srcBufferExtent: I4.extent, pixelSize: b5, datumTransformation: S4, rasterTransform: p6, hasWrapAround: r6 > 0 || T5, isAdaptive: false, includeGCSGrid: B });
-    let H;
-    const E3 = !o5.requestRawData, L2 = { rows: P2.spacing[0], cols: P2.spacing[1] }, z2 = e2(this._getRasterTileAlignmentInfo(l6, I4.extent.xmin)), { pixelBlocks: F3, mosaicSize: O3, isPartiallyFilled: G2 } = I4;
-    let J3 = null;
-    if (this.rasterJobHandler) {
-      const t6 = await this.rasterJobHandler.mosaicAndTransform({ srcPixelBlocks: F3, srcMosaicSize: O3, destDimension: E3 ? { width: e4, height: i5 } : null, coefs: E3 ? P2.coefficients : null, sampleSpacing: E3 ? L2 : null, projectDirections: B, gcsGrid: B ? P2.gcsGrid : null, isUV: "vector-uv" === this.rasterInfo.dataType, interpolation: o5.interpolation, alignmentInfo: z2, blockWidths: null }, o5);
-      ({ pixelBlock: H, localNorthDirections: J3 } = t6);
-    } else {
-      const t6 = T2(F3, O3, { alignmentInfo: z2 });
-      H = E3 ? D2(t6, { width: e4, height: i5 }, P2.coefficients, L2, o5.interpolation) : t6, B && P2.gcsGrid && (J3 = j3({ width: e4, height: i5 }, P2.gcsGrid), H = m2(H, this.rasterInfo.dataType, J3));
-    }
-    return o5.requestRawData || B ? { srcExtent: f9, pixelBlock: H, transformGrid: P2, localNorthDirections: J3, extent: t5, isPartiallyFilled: G2 } : { srcExtent: f9, extent: t5, pixelBlock: H };
-  }
-  async _fetchRawTiles(t5, e4, i5, o5) {
-    const { origin: r6, blockBoundary: s4 } = this.rasterInfo.storageInfo, { blockWidth: a4, blockHeight: l6 } = this.getBlockWidthHeight(t5);
-    let { x: c10, y: m8 } = e4, { width: f9, height: h3, wrapCount: u5 } = i5;
-    const p6 = this._getRasterTileAlignmentInfo(t5, 0);
-    o5.buffer && (c10 -= o5.buffer.cols, m8 -= o5.buffer.rows, f9 += 2 * o5.buffer.cols, h3 += 2 * o5.buffer.rows);
-    let d6 = 0, x4 = 0, g4 = 0;
-    if (u5 && r(p6)) {
-      ({ worldColumnCountFromOrigin: x4, originColumnOffset: g4, rightPadding: d6 } = p6);
-      x4 * p6.blockWidth - d6 >= c10 + f9 && (d6 = 0);
-    }
-    const y5 = Math.floor(c10 / a4), I4 = Math.floor(m8 / l6), R3 = Math.floor((c10 + f9 + d6 - 1) / a4), w7 = Math.floor((m8 + h3 + d6 - 1) / l6), k3 = s4[t5];
-    if (!k3)
-      return null;
-    const { minRow: b5, minCol: v5, maxCol: S4, maxRow: T5 } = k3;
-    if (0 === u5 && (w7 < b5 || R3 < v5 || I4 > T5 || y5 > S4))
-      return null;
-    const B = new Array();
-    let P2 = false;
-    const W2 = null == this.ioConfig.allowPartialFill ? o5.allowPartialFill : this.ioConfig.allowPartialFill;
-    for (let L2 = I4; L2 <= w7; L2++)
-      for (let e5 = y5; e5 <= R3; e5++) {
-        let i6 = e5;
-        if (!o5.disableWrapAround && u5 && r(p6) && x4 <= e5 && (i6 = e5 - x4 - g4), L2 >= b5 && i6 >= v5 && T5 >= L2 && S4 >= i6) {
-          const e6 = this._fetchRawTile(t5, L2, i6, o5);
-          W2 ? B.push(new Promise((t6) => {
-            e6.then((e7) => t6(e7)).catch(() => {
-              P2 = true, t6(null);
-            });
-          })) : B.push(e6);
-        } else
-          B.push(Promise.resolve(null));
-      }
-    if (0 === B.length)
-      return null;
-    const M = await Promise.all(B), C2 = { height: (w7 - I4 + 1) * l6, width: (R3 - y5 + 1) * a4 }, { spatialReference: _ } = this.rasterInfo, j6 = this.getPyramidPixelSize(t5), { x: H, y: E3 } = j6;
-    return { extent: new w3({ xmin: r6.x + y5 * a4 * H, xmax: r6.x + (R3 + 1) * a4 * H, ymin: r6.y - (w7 + 1) * l6 * E3, ymax: r6.y - I4 * l6 * E3, spatialReference: _ }), pixelBlocks: M, mosaicSize: C2, isPartiallyFilled: P2 };
-  }
-  _fetchRawTile(t5, e4, i5, o5) {
-    const r6 = this.rasterInfo.storageInfo.blockBoundary[t5];
-    if (!r6)
-      return Promise.resolve(null);
-    const { minRow: n10, minCol: s4, maxCol: l6, maxRow: c10 } = r6;
-    if (e4 < n10 || i5 < s4 || e4 > c10 || i5 > l6)
-      return Promise.resolve(null);
-    const f9 = a3(this.url, o5.sliceId), h3 = `${t5}/${e4}/${i5}`;
-    let u5 = x2(f9, o5.registryId, h3);
-    if (t(u5)) {
-      const r7 = new AbortController();
-      u5 = this.fetchRawTile(t5, e4, i5, { ...o5, signal: r7.signal }), h(f9, o5.registryId, h3, u5, r7), u5.catch(() => d3(f9, o5.registryId, h3));
-    }
-    return o5.signal && v(o5, () => {
-      m6(f9, o5.registryId, h3);
-    }), u5;
-  }
-  _computeMagDirValues(t5) {
-    var _a;
-    const { bandCount: e4, dataType: i5 } = this.rasterInfo;
-    if (!(2 === e4 && "vector-magdir" === i5 || "vector-uv" === i5) || 2 !== (t5 == null ? void 0 : t5.length) || !((_a = t5[0]) == null ? void 0 : _a.length))
-      return null;
-    const o5 = t5[0].length;
-    if ("vector-magdir" === i5) {
-      const e5 = t5[1].map((t6) => (t6 + 360) % 360);
-      return [t5[0], e5];
-    }
-    const [r6, n10] = t5, s4 = [], a4 = [];
-    for (let l6 = 0; l6 < o5; l6++) {
-      const [t6, e5] = f2([r6[l6], n10[l6]]);
-      s4.push(t6), a4.push(e5);
-    }
-    return [s4, a4];
-  }
-  _getRasterTileAlignmentInfo(t5, e4) {
-    return null == this._rasterTileAlighmentInfo && (this._rasterTileAlighmentInfo = V(this.rasterInfo)), t(this._rasterTileAlighmentInfo.pyramidsInfo) ? null : { startX: e4, halfWorldWidth: this._rasterTileAlighmentInfo.halfWorldWidth, hasGCSSShiftTransform: this._rasterTileAlighmentInfo.hasGCSSShiftTransform, ...this._rasterTileAlighmentInfo.pyramidsInfo[t5] };
-  }
-  _getSourceDataInfo(t5, e4, i5, o5 = {}) {
-    const r6 = { datumTransformation: o5.datumTransformation, pyramidLevel: 0, pyramidResolution: null, srcExtent: null, srcHeight: 0, srcResolution: null, srcWidth: 0 };
-    o5.srcResolution && (r6.srcResolution = o5.srcResolution, this._updateSourceDataInfo(t5, r6));
-    const n10 = this.rasterInfo.storageInfo.maximumPyramidLevel || 0, { srcWidth: s4, srcHeight: a4, pyramidLevel: l6 } = r6, c10 = s4 / e4, m8 = a4 / i5, f9 = l6 < n10 && c10 * m8 >= 16;
-    if (f9 || l6 === n10 && (c10 > V3 || m8 > V3) || (0 === s4 || 0 === a4)) {
-      const s5 = new w2({ x: (t5.xmax - t5.xmin) / e4, y: (t5.ymax - t5.ymin) / i5, spatialReference: t5.spatialReference });
-      let a5 = C(s5, this.rasterInfo.spatialReference, t5, r6.datumTransformation);
-      const h3 = !a5 || o5.srcResolution && a5.x + a5.y < o5.srcResolution.x + o5.srcResolution.y;
-      if (f9 && o5.srcResolution && h3) {
-        const t6 = Math.round(Math.log(Math.max(c10, m8)) / Math.LN2) - 1;
-        if (n10 - l6 + 3 >= t6) {
-          const e5 = 2 ** t6;
-          a5 = { x: o5.srcResolution.x * e5, y: o5.srcResolution.y * e5 };
-        }
-      }
-      a5 && (r6.srcResolution = a5, this._updateSourceDataInfo(t5, r6));
-    }
-    return (r6.srcWidth / e4 > V3 || r6.srcHeight / i5 > V3) && (r6.srcWidth = 0, r6.srcHeight = 0), r6;
-  }
-  _updateSourceDataInfo(t5, e4) {
-    e4.srcWidth = 0, e4.srcHeight = 0;
-    const i5 = this.rasterInfo.spatialReference, { srcResolution: o5, datumTransformation: r6 } = e4, { pyramidLevel: n10, pyramidResolution: a4, excessiveReading: l6 } = oe(o5, this.rasterInfo, this.ioConfig.sampling);
-    if (l6)
-      return;
-    let c10 = e4.srcExtent || J(t5, i5, r6);
-    if (null == c10)
-      return;
-    const m8 = e2(this.rasterInfo.transform);
-    m8 && (c10 = m8.inverseTransform(c10)), e4.srcExtent = c10;
-    const f9 = Math.ceil((c10.xmax - c10.xmin) / a4.x - 0.1), h3 = Math.ceil((c10.ymax - c10.ymin) / a4.y - 0.1);
-    e4.pyramidLevel = n10, e4.pyramidResolution = a4, e4.srcWidth = f9, e4.srcHeight = h3;
-  }
-  _getRequestOptionsWithSliceId(t5) {
-    return r(this.rasterInfo.multidimensionalInfo) && null == t5.sliceId && (t5 = { ...t5, sliceId: this.getSliceIndex(t5.multidimensionalDefinition) }), t5;
-  }
-  _processIdentifyResult(t5, e4) {
-    const { srcLocation: i5, position: o5, pyramidLevel: r6, useTransposedTile: n10 } = e4, l6 = t5.pixels[0].length / t5.width / t5.height;
-    if (!(!t5.mask || t5.mask[o5]))
-      return { location: i5, value: null };
-    const { multidimensionalInfo: c10 } = this.rasterInfo;
-    if (t(c10) || !n10) {
-      const e5 = t5.pixels.map((t6) => t6[o5]), n11 = { location: i5, value: e5, pyramidLevel: r6 }, s4 = this._computeMagDirValues(e5.map((t6) => [t6]));
-      return (s4 == null ? void 0 : s4.length) && (n11.magdirValue = s4.map((t6) => t6[0])), n11;
-    }
-    let m8 = t5.pixels.map((t6) => Array.prototype.slice.call(t6, o5 * l6, o5 * l6 + l6)), f9 = this._computeMagDirValues(m8);
-    const { requestSomeSlices: h3, identifyOptions: u5 } = e4;
-    let p6 = i3(c10, u5.transposedVariableName);
-    if (h3) {
-      const t6 = s3(p6, e2(u5.multidimensionalDefinition), e2(u5.timeExtent));
-      m8 = m8.map((e5) => t6.map((t7) => e5[t7])), f9 = f9 == null ? void 0 : f9.map((e5) => t6.map((t7) => e5[t7])), p6 = t6.map((t7) => p6[t7]);
-    }
-    return { location: i5, value: null, dataSeries: p6.map((t6, e5) => {
-      const i6 = { value: m8.map((t7) => t7[e5]), multidimensionalDefinition: t6.multidimensionalDefinition.map((t7) => new p4({ ...t7, isSlice: true })) };
-      return (f9 == null ? void 0 : f9.length) && (i6.magdirValue = [f9[0][e5], f9[1][e5]]), i6;
-    }), pyramidLevel: r6 };
-  }
-};
-e([y()], $3.prototype, "_rasterTileAlighmentInfo", void 0), e([y({ readOnly: true })], $3.prototype, "_isGlobalWrappableSource", null), e([y(f5)], $3.prototype, "url", null), e([y({ type: String, json: { write: true } })], $3.prototype, "datasetName", void 0), e([y({ type: String, json: { write: true } })], $3.prototype, "datasetFormat", void 0), e([y()], $3.prototype, "rasterInfo", void 0), e([y()], $3.prototype, "ioConfig", void 0), e([y()], $3.prototype, "sourceJSON", void 0), $3 = e([n("esri.layers.support.rasterDatasets.BaseRaster")], $3);
-var U3 = $3;
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/FunctionRaster.js
-var n7 = class extends U3 {
-  constructor() {
-    super(...arguments), this.datasetFormat = "Function", this.tileType = "Raster", this.rasterFunction = null, this._primaryRasters = null;
-  }
-  async open(r6) {
-    var _a;
-    await this.init();
-    const { rasterFunction: s4 } = this, { rasters: e4, rasterIds: o5 } = s4.getPrimaryRasters(), a4 = e4.map((t5) => t5.rasterInfo ? void 0 : t5.open(r6));
-    await Promise.all(a4);
-    const i5 = e4.map(({ rasterInfo: r7 }) => r7), n10 = s4.bind({ rasterInfos: i5, rasterIds: o5 });
-    if (!n10.success)
-      throw new s2("raster-function:open", `cannot bind the function: ${(_a = n10.error) != null ? _a : ""}`);
-    await this.syncJobHandler(), this.set("sourceJSON", e4[0].sourceJSON), this.set("rasterInfo", s4.rasterInfo);
-  }
-  async syncJobHandler() {
-    const { rasterFunction: r6 } = this;
-    if (this._primaryRasters = r6.getPrimaryRasters(), this.rasterJobHandler)
-      return this.rasterJobHandler.updateRasterFunction(r6);
-  }
-  async fetchPixels(r6, t5, o5, a4 = {}) {
-    var _a, _b;
-    const { rasters: i5, rasterIds: n10 } = this._primaryRasters, c10 = i5.map((s4) => s4.fetchPixels(r6, t5, o5, a4)), p6 = await Promise.all(c10), l6 = p6.map((r7) => r7.pixelBlock);
-    if (l6.every((r7) => t(r7)))
-      return p6[0];
-    const m8 = (_b = (_a = p6.find((r7) => r(r7.pixelBlock))) == null ? void 0 : _a.extent) != null ? _b : r6, u5 = this.rasterJobHandler ? await this.rasterJobHandler.process({ extent: m8, primaryPixelBlocks: l6, primaryRasterIds: n10 }) : this.rasterFunction.process({ extent: m8, primaryPixelBlocks: l6, primaryRasterIds: n10 });
-    return { ...p6[0], pixelBlock: u5 };
-  }
-};
-e([y({ type: String, json: { write: true } })], n7.prototype, "datasetFormat", void 0), e([y()], n7.prototype, "tileType", void 0), e([y()], n7.prototype, "rasterFunction", void 0), n7 = e([n("esri.layers.support.rasterDatasets.FunctionRaster")], n7);
-var c7 = n7;
-
-// node_modules/@arcgis/core/layers/mixins/ImageryTileMixin.js
-var w5 = s.getLogger("esri.layers.mixins.ImageryTileMixin");
-var N2 = (s4) => {
-  let N4 = class extends s4 {
-    constructor() {
-      super(...arguments), this._rasterJobHandler = { instance: null, refCount: 0, connectionPromise: null }, this.bandIds = null, this.copyright = null, this.interpolation = "nearest", this.multidimensionalDefinition = null, this.multidimensionalSubset = null, this.raster = null, this.rasterFunction = null, this.sourceJSON = null, this.symbolizer = null;
-    }
-    get fullExtent() {
-      var _a;
-      return (_a = this.rasterInfo) == null ? void 0 : _a.extent;
-    }
-    get rasterInfo() {
-      var _a;
-      return (_a = this.raster) == null ? void 0 : _a.rasterInfo;
-    }
-    get spatialReference() {
-      var _a, _b;
-      return (_b = (_a = this.rasterInfo) == null ? void 0 : _a.spatialReference) != null ? _b : k.WGS84;
-    }
-    get tileInfo() {
-      var _a;
-      return (_a = this.rasterInfo) == null ? void 0 : _a.storageInfo.tileInfo;
-    }
-    set url(e4) {
-      this._set("url", S(e4, w5));
-    }
-    set renderer(e4) {
-      this._set("renderer", e4), this.updateRenderer();
-    }
-    async convertVectorFieldData(e4, t5) {
-      if (t(e4) || !this.rasterInfo)
-        return null;
-      const r6 = this._rasterJobHandler.instance, i5 = this.rasterInfo.dataType;
-      return r6 ? r6.convertVectorFieldData({ pixelBlock: e4, dataType: i5 }, t5) : d(e4, i5);
-    }
-    async createFlowMesh(e4, t5) {
-      const r6 = this._rasterJobHandler.instance;
-      return r6 ? r6.createFlowMesh(e4, t5) : f4(e4.meshType, e4.simulationSettings, e4.flowData, r(t5.signal) ? t5.signal : new AbortController().signal);
-    }
-    normalizeRasterFetchOptions(e4) {
-      var _a, _b, _c;
-      const { multidimensionalInfo: t5 } = (_a = this.rasterInfo) != null ? _a : {};
-      if (t(t5))
-        return e4;
-      let r6 = e4.multidimensionalDefinition || this.multidimensionalDefinition;
-      !t(r6) && r6.length || (r6 = c6(this.raster.rasterInfo, { multidimensionalSubset: this.multidimensionalSubset }));
-      const i5 = e4.timeExtent || this.timeExtent;
-      if (r(r6) && r(i5) && (r(i5.start) || r(i5.end))) {
-        r6 = r6.map((e5) => e5.clone());
-        const s5 = (_c = (_b = t5.variables.find(({ name: e5 }) => e5 === r6[0].variableName)) == null ? void 0 : _b.dimensions) == null ? void 0 : _c.find(({ name: e5 }) => "StdTime" === e5), a4 = r6.find(({ dimensionName: e5 }) => "StdTime" === e5);
-        if (!s5 || !a4)
-          return { ...e4, multidimensionalDefinition: null };
-        const { start: l6, end: m8 } = i5, u5 = t(l6) ? null : l6.getTime(), d6 = t(m8) ? null : m8.getTime(), h3 = u5 != null ? u5 : d6, c10 = d6 != null ? d6 : u5;
-        if (r(s5.values)) {
-          const e5 = s5.values.filter((e6) => {
-            if (Array.isArray(e6)) {
-              if (h3 === c10)
-                return e6[0] <= h3 && e6[1] >= h3;
-              const t6 = e6[0] <= h3 && e6[1] > h3 || e6[0] < c10 && e6[1] >= c10, r7 = e6[0] >= h3 && e6[1] <= c10 || e6[0] < h3 && e6[1] > c10;
-              return t6 || r7;
-            }
-            return h3 === c10 ? e6 === h3 : e6 >= h3 && e6 <= c10;
-          });
-          if (e5.length) {
-            const t6 = e5.sort((e6, t7) => {
-              var _a2, _b2, _c2, _d;
-              if (h3 === c10)
-                return ((_a2 = e6[0]) != null ? _a2 : e6) - ((_b2 = t7[0]) != null ? _b2 : t7);
-              return Math.abs(((_c2 = e6[1]) != null ? _c2 : e6) - c10) - Math.abs(((_d = t7[1]) != null ? _d : t7) - c10);
-            })[0];
-            a4.values = [t6];
-          } else
-            r6 = null;
-        } else if (s5.hasRegularIntervals && s5.extent) {
-          const [e5, t6] = s5.extent;
-          h3 > t6 || c10 < e5 ? r6 = null : a4.values = h3 === c10 ? [h3] : [Math.max(e5, h3), Math.min(t6, c10)];
-        }
-      }
-      return r(r6) && m4(r6, this.multidimensionalSubset) ? { ...e4, multidimensionalDefinition: null } : { ...e4, multidimensionalDefinition: r6 };
-    }
-    async updateRenderer() {
-      const { loaded: e4, symbolizer: t5 } = this;
-      if (!e4 || !t5)
-        return;
-      if (JSON.stringify(this._cachedRendererJson) === JSON.stringify(this.renderer))
-        return;
-      const r6 = this._rasterJobHandler.instance;
-      r6 && (t5.rendererJSON = $2(this.renderer.toJSON()), t5.bind(), await r6.updateSymbolizer(t5), this._cachedRendererJson = this.renderer.toJSON());
-    }
-    async applyRenderer(e4, t5) {
-      var _a;
-      const r6 = e4 && e4.pixelBlock;
-      if (!(r(r6) && r6.pixels && r6.pixels.length > 0))
-        return null;
-      let i5;
-      await this.updateRenderer();
-      const s5 = this._rasterJobHandler.instance, n10 = (_a = this.bandIds) != null ? _a : [];
-      return i5 = s5 ? await s5.symbolize({ ...e4, simpleStretchParams: t5, bandIds: n10 }) : this.symbolizer.symbolize({ ...e4, simpleStretchParams: t5, bandIds: n10 }), i5;
-    }
-    getTileUrl(e4, t5, r6) {
-      var _a;
-      return "RasterTileServer" === ((_a = this.raster) == null ? void 0 : _a.datasetFormat) ? `${this.url}/tile/${e4}/${t5}/${r6}` : "";
-    }
-    getCompatibleTileInfo(e4, t5, r6 = false) {
-      if (!this.loaded || t(t5))
-        return null;
-      if (r6 && e4.equals(this.spatialReference))
-        return this.tileInfo;
-      const i5 = R(e4);
-      return j2.create({ size: 256, spatialReference: e4, origin: i5 ? { x: i5.origin[0], y: i5.origin[1] } : { x: t5.xmin, y: t5.ymax } });
-    }
-    getCompatibleFullExtent(e4) {
-      return this.loaded ? (this._compatibleFullExtent && this._compatibleFullExtent.spatialReference.equals(e4) || (this._compatibleFullExtent = this.raster.computeExtent(e4)), this._compatibleFullExtent) : null;
-    }
-    async fetchTile(e4, t5, i5, s5 = {}) {
-      if (O3(this), s5.requestAsImageElement) {
-        const n10 = this.getTileUrl(e4, t5, i5);
-        return U(n10, { responseType: "image", query: { ...this.refreshParameters, ...this.raster.ioConfig.customFetchParameters }, signal: s5.signal }).then((e5) => e5.data);
-      }
-      if (r(this.rasterInfo.multidimensionalInfo) && (s5 = this.normalizeRasterFetchOptions(s5), t(s5.multidimensionalDefinition))) {
-        const r6 = s5.tileInfo || this.rasterInfo.storageInfo.tileInfo;
-        return { extent: this.raster.getTileExtentFromTileInfo(e4, t5, i5, r6), pixelBlock: null };
-      }
-      return await this._initJobHandler(), await this._updateRasterFunction(), "raster-shaded-relief" === this.renderer.type && (s5 = { ...s5, buffer: { cols: 1, rows: 1 } }), this.raster.fetchTile(e4, t5, i5, s5);
-    }
-    async fetchPixels(e4, t5, r6, i5 = {}) {
-      return r(this.rasterInfo.multidimensionalInfo) && (i5 = this.normalizeRasterFetchOptions(i5), t(i5.multidimensionalDefinition)) ? { extent: e4, pixelBlock: null } : (await this._initJobHandler(), await this._updateRasterFunction(), this.raster.fetchPixels(e4, t5, r6, i5));
-    }
-    async identify(e4, t5 = {}) {
-      if (O3(this), r(this.rasterInfo.multidimensionalInfo)) {
-        if (!(this.rasterInfo.hasMultidimensionalTranspose && !!(f6(t5.multidimensionalDefinition) || t5.transposedVariableName || t5.timeExtent)) && (t5 = this.normalizeRasterFetchOptions(t5), t(t5.multidimensionalDefinition)))
-          return { location: e4, value: null };
-      }
-      return this.raster.identify(e4, t5);
-    }
-    increaseRasterJobHandlerUsage() {
-      this._rasterJobHandler.refCount++;
-    }
-    decreaseRasterJobHandlerUsage() {
-      this._rasterJobHandler.refCount--, this._rasterJobHandler.refCount <= 0 && this._shutdownJobHandler();
-    }
-    hasStandardTime() {
-      var _a, _b, _c;
-      const e4 = (_a = this.rasterInfo) == null ? void 0 : _a.multidimensionalInfo;
-      if (t(e4) || "standard-time" !== ((_b = this.rasterInfo) == null ? void 0 : _b.dataType))
-        return false;
-      const t5 = this.multidimensionalDefinition, r6 = (_c = t5 == null ? void 0 : t5[0]) == null ? void 0 : _c.variableName;
-      return e4.variables.some((e5) => e5.name === r6 && (!(t5 == null ? void 0 : t5[0].dimensionName) || e5.dimensions.some((e6) => "StdTime" === e6.name)));
-    }
-    getStandardTimeValue(e4) {
-      return new Date(24 * (e4 - 25569) * 3600 * 1e3).toString();
-    }
-    getMultidimensionalSubsetVariables(e4) {
-      const t5 = e4 != null ? e4 : this.rasterInfo.multidimensionalInfo;
-      return d2(this.multidimensionalSubset, t5);
-    }
-    _configDefaultSettings() {
-      this._configDefaultInterpolation(), this.multidimensionalDefinition || (this.multidimensionalDefinition = c6(this.raster.rasterInfo, { multidimensionalSubset: this.multidimensionalSubset })), this._configDefaultRenderer();
-    }
-    _initJobHandler() {
-      if (null != this._rasterJobHandler.connectionPromise)
-        return this._rasterJobHandler.connectionPromise;
-      const e4 = new n5();
-      return this._rasterJobHandler.connectionPromise = e4.initialize().then(() => {
-        O3(this), this._rasterJobHandler.instance = e4, this.raster.rasterJobHandler = e4, this.renderer && this.updateRenderer(), "Function" === this.raster.datasetFormat && this.raster.syncJobHandler();
-      }).catch(() => {
-      }), this._rasterJobHandler.connectionPromise;
-    }
-    _shutdownJobHandler() {
-      this._rasterJobHandler.instance && this._rasterJobHandler.instance.destroy(), this._rasterJobHandler.instance = null, this._rasterJobHandler.connectionPromise = null, this._rasterJobHandler.refCount = 0, this._cachedRendererJson = null, this.raster && (this.raster.rasterJobHandler = null);
-    }
-    _configDefaultInterpolation() {
-      var _a;
-      if (null == this.interpolation) {
-        O3(this);
-        const e4 = V2(this.rasterInfo, this.raster.tileType, (_a = this.sourceJSON) == null ? void 0 : _a.defaultResamplingMethod);
-        this._set("interpolation", e4);
-      }
-    }
-    _configDefaultRenderer() {
-      var _a, _b, _c, _d, _e;
-      O3(this);
-      const e4 = this.raster.rasterInfo;
-      if (this.bandIds || (this.bandIds = L(e4)), !this.renderer) {
-        const t6 = j5(e4, { bandIds: this.bandIds, variableName: r(this.multidimensionalDefinition) ? (_a = this.multidimensionalDefinition[0]) == null ? void 0 : _a.variableName : null });
-        "WCSServer" === this.raster.datasetFormat && "raster-stretch" === t6.type && (((_c = (_b = e4.statistics) == null ? void 0 : _b[0].max) != null ? _c : 0) > 1e24 || ((_e = (_d = e4.statistics) == null ? void 0 : _d[0].min) != null ? _e : 0) < -1e24) && (t6.dynamicRangeAdjustment = true, t6.statistics = null, "none" === t6.stretchType && (t6.stretchType = "min-max")), this.renderer = t6;
-      }
-      this.symbolizer ? (this.symbolizer.rendererJSON = $2(this.renderer.toJSON()), this.symbolizer.rasterInfo = e4) : this.symbolizer = new T4({ rendererJSON: this.renderer.toJSON(), rasterInfo: e4 });
-      const t5 = this.symbolizer.bind();
-      t5.success || w5.warn("imagery-tile-mixin", t5.error || "The given renderer is not supported by the layer.");
-    }
-    async _updateRasterFunction() {
-      var _a;
-      if ("imagery-tile" !== this.type || JSON.stringify(this.rasterFunction) === JSON.stringify(this._cachedRasterFunctionJson))
-        return;
-      let e4 = this.raster;
-      if ("Function" === (e4 == null ? void 0 : e4.datasetFormat)) {
-        const t6 = e4.rasterFunction.getPrimaryRasters();
-        e4 = t6.rasters[0];
-      }
-      const { rasterFunction: t5 } = this;
-      if (t5) {
-        const r6 = l3(t5.toJSON(), { raster: e4 }), i5 = new c7({ rasterFunction: r6 });
-        i5.rasterJobHandler = this._rasterJobHandler.instance, await i5.open(), this._cachedRasterFunctionJson = (_a = this.rasterFunction) == null ? void 0 : _a.toJSON(), this.raster = i5;
-      } else
-        this.raster = e4;
-    }
-  };
-  function O3(e4) {
-    if (!e4.raster || !e4.rasterInfo)
-      throw new s2("imagery-tile", "no raster");
-  }
-  return e([y()], N4.prototype, "_cachedRendererJson", void 0), e([y()], N4.prototype, "_cachedRasterFunctionJson", void 0), e([y()], N4.prototype, "_compatibleFullExtent", void 0), e([y()], N4.prototype, "_rasterJobHandler", void 0), e([y()], N4.prototype, "bandIds", void 0), e([y({ json: { origins: { service: { read: { source: "copyrightText" } } } } })], N4.prototype, "copyright", void 0), e([y({ json: { read: false } })], N4.prototype, "fullExtent", null), e([y()], N4.prototype, "interpolation", void 0), e([y()], N4.prototype, "ioConfig", void 0), e([y({ type: [p4] })], N4.prototype, "multidimensionalDefinition", void 0), e([y({ type: c5, json: { write: true } })], N4.prototype, "multidimensionalSubset", void 0), e([y()], N4.prototype, "raster", void 0), e([y({ type: w4 })], N4.prototype, "rasterFunction", void 0), e([y()], N4.prototype, "rasterInfo", null), e([y()], N4.prototype, "sourceJSON", void 0), e([y({ json: { read: false } })], N4.prototype, "spatialReference", null), e([y({ json: { read: false } })], N4.prototype, "tileInfo", null), e([y(f5)], N4.prototype, "url", null), e([y({ types: l4 })], N4.prototype, "renderer", null), e([y()], N4.prototype, "symbolizer", void 0), N4 = e([n("esri.layers.ImageryTileMixin")], N4), N4;
-};
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/DBFParser.js
-function t3(e4) {
-  const t5 = e4.fields, r6 = e4.records, n10 = t5.some((e5) => "oid" === e5.name.toLowerCase()) ? "OBJECTID" : "OID", i5 = [{ name: n10, type: "esriFieldTypeOID", alias: "OID" }].concat(t5.map((e5) => ({ name: e5.name, type: "esriFieldType" + e5.typeName, alias: e5.name }))), s4 = i5.map((e5) => e5.name), a4 = [];
-  let o5 = 0, l6 = 0;
-  return r6.forEach((e5) => {
-    const t6 = {};
-    for (t6[n10] = o5++, l6 = 1; l6 < s4.length; l6++)
-      t6[s4[l6]] = e5[l6 - 1];
-    a4.push({ attributes: t6 });
-  }), { displayFieldName: "", fields: i5, features: a4 };
-}
-var r5 = class {
-  static get supportedVersions() {
-    return [5];
-  }
-  static parse(r6) {
-    const n10 = new DataView(r6), i5 = 3 & n10.getUint8(0);
-    if (3 !== i5)
-      return { header: { version: i5 }, recordSet: null };
-    const s4 = n10.getUint32(4, true), a4 = n10.getUint16(8, true), o5 = n10.getUint16(10, true), l6 = { version: i5, recordCount: s4, headerByteCount: a4, recordByteCount: o5 };
-    let p6 = 32;
-    const g4 = [], u5 = [];
-    let d6;
-    if (3 === i5) {
-      for (; 13 !== n10.getUint8(p6); )
-        d6 = String.fromCharCode(n10.getUint8(p6 + 11)).trim(), g4.push({ name: r3(new Uint8Array(r6, p6, 11)), type: d6, typeName: ["String", "Date", "Double", "Boolean", "String", "Integer"][["C", "D", "F", "L", "M", "N"].indexOf(d6)], length: n10.getUint8(p6 + 16) }), p6 += 32;
-      if (p6 += 1, g4.length > 0)
-        for (; u5.length < s4 && r6.byteLength - p6 > o5; ) {
-          const t5 = [];
-          32 === n10.getUint8(p6) ? (p6 += 1, g4.forEach((n11) => {
-            if ("C" === n11.type)
-              t5.push(r3(new Uint8Array(r6, p6, n11.length)).trim());
-            else if ("N" === n11.type)
-              t5.push(parseInt(String.fromCharCode.apply(null, new Uint8Array(r6, p6, n11.length)).trim(), 10));
-            else if ("F" === n11.type)
-              t5.push(parseFloat(String.fromCharCode.apply(null, new Uint8Array(r6, p6, n11.length)).trim()));
-            else if ("D" === n11.type) {
-              const e4 = String.fromCharCode.apply(null, new Uint8Array(r6, p6, n11.length)).trim();
-              t5.push(new Date(parseInt(e4.substring(0, 4), 10), parseInt(e4.substring(4, 6), 10) - 1, parseInt(e4.substring(6, 8), 10)));
-            }
-            p6 += n11.length;
-          }), u5.push(t5)) : p6 += o5;
-        }
-    }
-    return { header: l6, fields: g4, records: u5, recordSet: t3({ fields: g4, records: u5 }) };
-  }
-};
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/CloudRaster.js
-var y3 = /* @__PURE__ */ new Map();
-y3.set("int16", "esriFieldTypeSmallInteger"), y3.set("int32", "esriFieldTypeInteger"), y3.set("int64", "esriFieldTypeInteger"), y3.set("float32", "esriFieldTypeSingle"), y3.set("float64", "esriFieldTypeDouble"), y3.set("text", "esriFieldTypeString");
-var x3 = 8;
-var S3 = class extends U3 {
-  constructor() {
-    super(...arguments), this.storageInfo = null, this.datasetFormat = "CRF";
-  }
-  async open(e4) {
-    await this.init();
-    const { data: r6 } = await this.request(this.url + "/conf.json", { signal: e4 == null ? void 0 : e4.signal });
-    if (!this._validateHeader(r6))
-      throw new s2("cloudraster:open", "Invalid or unsupported conf.json.");
-    this.datasetName = this.url.slice(this.url.lastIndexOf("/") + 1);
-    const { storageInfo: i5, rasterInfo: o5 } = this._parseHeader(r6);
-    if ("thematic" === o5.dataType) {
-      const e5 = await this._fetchAuxiliaryInformation();
-      o5.attributeTable = e5;
-    }
-    this._set("storageInfo", i5), this._set("rasterInfo", o5), this.ioConfig.retryCount = this.ioConfig.retryCount || 0;
-  }
-  async fetchRawTile(e4, t5, r6, i5 = {}) {
-    const { transposeInfo: o5 } = this.rasterInfo.storageInfo, { transposedVariableName: a4 } = i5, s4 = !(!o5 || !a4), n10 = s4 ? 0 : this.rasterInfo.storageInfo.maximumPyramidLevel - e4;
-    if (n10 < 0)
-      return null;
-    const l6 = this._buildCacheFilePath(n10, t5, r6, i5.multidimensionalDefinition, a4), f9 = this._getIndexRecordFromBundle(t5, r6, s4), m8 = await this.request(l6, { range: { from: 0, to: this.storageInfo.headerSize - 1 }, responseType: "array-buffer", signal: i5.signal });
-    if (!m8)
-      return null;
-    const c10 = new Uint8Array(m8.data), p6 = this._getTileEndAndContentType(c10, f9);
-    if (0 === p6.recordSize)
-      return null;
-    const d6 = await this.request(l6, { range: { from: p6.position, to: p6.position + p6.recordSize }, responseType: "array-buffer", signal: i5.signal });
-    if (!d6)
-      return null;
-    const [u5, h3] = this._getTileSize(s4);
-    return this.decodePixelBlock(d6.data, { width: u5, height: h3, planes: null, pixelType: null, returnInterleaved: s4 });
-  }
-  _validateHeader(e4) {
-    const t5 = ["origin", "extent", "geodataXform", "LODInfos", "blockWidth", "blockHeight", "bandCount", "pixelType", "pixelSizeX", "pixelSizeY", "format", "packetSize"];
-    return e4 && "RasterInfo" === e4.type && !t5.some((t6) => !e4[t6]);
-  }
-  _parseHeader(e4) {
-    var _a, _b;
-    const t5 = ["u1", "u2", "u4", "u8", "s8", "u16", "s16", "u32", "s32", "f32", "f64"][e4.pixelType], { bandCount: r6, histograms: i5, colormap: o5, blockWidth: a4, blockHeight: f9, firstPyramidLevel: m8, maximumPyramidLevel: c10 } = e4, p6 = e4.statistics && e4.statistics.map((e5) => ({ min: e5.min, max: e5.max, avg: e5.mean, stddev: e5.standardDeviation, median: e5.median, mode: e5.mode })), d6 = e4.extent.spatialReference, y5 = (_a = e4.geodataXform) == null ? void 0 : _a.spatialReference, S4 = new k((d6 == null ? void 0 : d6.wkid) || (d6 == null ? void 0 : d6.wkt) ? d6 : y5);
-    let I4 = new w3({ xmin: e4.extent.xmin, ymin: e4.extent.ymin, xmax: e4.extent.xmax, ymax: e4.extent.ymax, spatialReference: S4 });
-    const w7 = new w2({ x: e4.pixelSizeX, y: e4.pixelSizeY, spatialReference: S4 }), _ = Math.round((I4.xmax - I4.xmin) / w7.x), v5 = Math.round((I4.ymax - I4.ymin) / w7.y), b5 = this._parseTransform(e4.geodataXform), z2 = b5 ? I4 : null;
-    b5 && (I4 = b5.forwardTransform(I4), w7.x = (I4.xmax - I4.xmin) / _, w7.y = (I4.ymax - I4.ymin) / v5);
-    const T5 = (_b = e4.properties) != null ? _b : {}, k3 = e4.format.toLowerCase().replace("cache/", ""), j6 = new w2(e4.origin.x, e4.origin.y, S4);
-    let C2, R3, F3, P2;
-    if (o5 && o5.colors)
-      for (C2 = [], R3 = 0; R3 < o5.colors.length; R3++)
-        F3 = o5.colors[R3], P2 = o5.values ? o5.values[R3] : R3, C2.push([P2, 255 & F3, F3 << 16 >>> 24, F3 << 8 >>> 24, F3 >>> 24]);
-    const H = e4.LODInfos, D3 = [];
-    for (R3 = 0; R3 < H.levels.length; R3++)
-      D3.push({ level: H.levels[R3], resolution: H.resolutions[R3], scale: 96 / 0.0254 * H.resolutions[R3] });
-    const L2 = new j2({ dpi: 96, lods: D3, format: k3, origin: j6, size: [a4, f9], spatialReference: S4 }), M = { recordSize: x3, packetSize: e4.packetSize, headerSize: e4.packetSize * e4.packetSize * x3 + 64 }, B = [{ maxCol: Math.ceil(_ / a4) - 1, maxRow: Math.ceil(v5 / f9) - 1, minCol: 0, minRow: 0 }];
-    let O3 = 2;
-    if (c10 > 0)
-      for (R3 = 0; R3 < c10; R3++)
-        B.push({ maxCol: Math.ceil(_ / O3 / a4) - 1, maxRow: Math.ceil(v5 / O3 / f9) - 1, minCol: 0, minRow: 0 }), O3 *= 2;
-    const $4 = e4.mdInfo;
-    let N4 = null;
-    if ($4 && T5._yxs) {
-      const e5 = T5._yxs;
-      N4 = { packetSize: e5.PacketSize, tileSize: [e5.TileXSize, e5.TileYSize] };
-    }
-    return { storageInfo: M, rasterInfo: new u({ width: _, height: v5, pixelType: t5, bandCount: r6, extent: I4, nativeExtent: z2, transform: b5, spatialReference: S4, pixelSize: w7, keyProperties: T5, statistics: p6, histograms: i5, multidimensionalInfo: $4, colormap: C2, storageInfo: new n4({ blockWidth: a4, blockHeight: f9, pyramidBlockWidth: a4, pyramidBlockHeight: f9, origin: j6, tileInfo: L2, transposeInfo: N4, firstPyramidLevel: m8, maximumPyramidLevel: c10, blockBoundary: B }) }) };
-  }
-  _parseTransform(e4) {
-    var _a, _b;
-    if (!f3(e4))
-      throw new s2("cloudraster:open", "the data contains unsupported geodata transform types");
-    const r6 = i(e4);
-    if ("identity" === r6.type)
-      return null;
-    if ("polynomial" !== r6.type || !((_a = r6.forwardCoefficients) == null ? void 0 : _a.length) || !((_b = r6.inverseCoefficients) == null ? void 0 : _b.length))
-      throw new s2("cloudraster:open", "the data contains unsupported geodata transforms - both forward and inverse coefficients are required currently");
-    return r6;
-  }
-  async _fetchAuxiliaryInformation(e4) {
-    const t5 = this.request(this.url + "/conf.vat.json", { signal: e4 }).then((e5) => e5.data).catch(() => null), r6 = this.request(this.url + "/conf.vat.dbf", { responseType: "array-buffer", signal: e4 }).then((e5) => e5.data).catch(() => null), i5 = await Promise.all([t5, r6]);
-    let o5;
-    if (i5[0]) {
-      let e5 = i5[0].fields;
-      const t6 = i5[0].values;
-      if (e5 && t6) {
-        e5 = e5.map((e6) => ({ type: "OID" === e6.name ? "esriFieldTypeOID" : y3.get(e6.type), name: e6.name, alias: e6.alias || e6.name }));
-        const r7 = t6.map((e6) => ({ attributes: e6 }));
-        e5 && t6 && (o5 = { fields: e5, features: r7 });
-      }
-    }
-    if (!o5 && i5[1]) {
-      o5 = r5.parse(i5[1]).recordSet;
-    }
-    return x.fromJSON(o5);
-  }
-  _buildCacheFilePath(e4, t5, i5, o5, a4) {
-    const s4 = this._getPackageSize(!!a4), n10 = Math.floor(t5 / s4) * s4, l6 = Math.floor(i5 / s4) * s4, f9 = "R" + this._toHexString4(n10) + "C" + this._toHexString4(l6);
-    let m8 = "L";
-    m8 += e4 >= 10 ? e4.toString() : "0" + e4.toString();
-    const { multidimensionalInfo: c10 } = this.rasterInfo, p6 = o5 == null ? void 0 : o5[0];
-    if (t(c10) || !p6)
-      return `${this.url}/_alllayers/${m8}/${f9}.bundle`;
-    let d6 = "_yxs";
-    if (!a4) {
-      d6 = c10.variables.find((e6) => e6.name === p6.variableName).dimensions[0].values.indexOf(p6.values[0]).toString(16);
-      const e5 = 4 - d6.length;
-      for (let t6 = 0; t6 < e5; t6++)
-        d6 = "0" + d6;
-      d6 = "S" + d6;
-    }
-    const u5 = this._getVariableFolderName(a4 || p6.variableName);
-    return `${this.url}/_alllayers/${u5}/${d6}/${m8}/${f9}.bundle`;
-  }
-  _getPackageSize(e4 = false) {
-    var _a;
-    const { transposeInfo: t5 } = this.rasterInfo.storageInfo;
-    return e4 && r(t5) ? (_a = t5.packetSize) != null ? _a : 0 : this.storageInfo.packetSize;
-  }
-  _getTileSize(e4 = false) {
-    const { storageInfo: t5 } = this.rasterInfo, { transposeInfo: r6 } = t5;
-    return e4 && r(r6) ? r6.tileSize : t5.tileInfo.size;
-  }
-  _getVariableFolderName(e4) {
-    return "" === (e4 = e4.trim()) ? "_v" : e4.replace(/[\{|\}\-]/g, "_").replace("\\*", "_v");
-  }
-  _getIndexRecordFromBundle(e4, t5, r6 = false) {
-    const i5 = this._getPackageSize(r6), o5 = i5 * (e4 % i5) + t5 % i5;
-    if (o5 < 0)
-      throw "Invalid level / row / col";
-    return 20 + o5 * this.storageInfo.recordSize + 44;
-  }
-  _getTileEndAndContentType(e4, t5) {
-    const r6 = e4.subarray(t5, t5 + 8);
-    let i5, o5 = 0;
-    for (i5 = 0; i5 < 5; i5++)
-      o5 |= (255 & r6[i5]) << 8 * i5;
-    const a4 = 1099511627775 & o5;
-    for (o5 = 0, i5 = 5; i5 < 8; i5++)
-      o5 |= (255 & r6[i5]) << 8 * (i5 - 5);
-    return { position: a4, recordSize: 1099511627775 & o5 };
-  }
-  _toHexString4(e4) {
-    let t5 = e4.toString(16);
-    if (4 !== t5.length) {
-      let e5 = 4 - t5.length;
-      for (; e5-- > 0; )
-        t5 = "0" + t5;
-    }
-    return t5;
-  }
-};
-e([y({ readOnly: true })], S3.prototype, "storageInfo", void 0), e([y({ type: String, json: { write: true } })], S3.prototype, "datasetFormat", void 0), S3 = e([n("esri.layers.support.rasterDatasets.CloudRaster")], S3);
-var I = S3;
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/InMemoryRaster.js
-var h2 = class extends U3 {
-  constructor() {
-    super(...arguments), this.datasetFormat = "MEMORY", this.data = null;
-  }
-  async open(t5) {
-    var _a, _b;
-    await this.init();
-    const e4 = this.data, { pixelBlock: s4, statistics: r6, histograms: i5, name: o5, keyProperties: m8, nativeExtent: n10, transform: l6 } = this.data, { width: h3, height: f9, pixelType: d6 } = s4, u5 = (_a = e4.extent) != null ? _a : new w3({ xmin: -0.5, ymin: 0.5, xmax: h3 - 0.5, ymax: f9 - 0.5, spatialReference: new k({ wkid: 3857 }) }), y5 = (_b = e4.isPseudoSpatialReference) != null ? _b : !e4.extent, x4 = { x: u5.width / h3, y: u5.height / f9 }, g4 = new u({ width: h3, height: f9, pixelType: d6, extent: u5, nativeExtent: n10, transform: l6, pixelSize: x4, spatialReference: u5.spatialReference, bandCount: 3, keyProperties: m8 || {}, statistics: r6, isPseudoSpatialReference: y5, histograms: i5 });
-    this.createRemoteDatasetStorageInfo(g4, 512, 512), this._set("rasterInfo", g4), this.updateTileInfo(), await this._buildInMemoryRaster(s4, { width: 512, height: 512 }, t5), this.datasetName = o5, this.url = "/InMemory/" + o5;
-  }
-  fetchRawTile(t5, e4, s4, r6 = {}) {
-    const i5 = this._pixelBlockTiles.get(`${t5}/${e4}/${s4}`);
-    return Promise.resolve(i5);
-  }
-  async _buildInMemoryRaster(t5, i5, o5) {
-    var _a, _b;
-    const a4 = this.rasterInfo.storageInfo.maximumPyramidLevel, m8 = this.rasterJobHandler ? this.rasterJobHandler.split({ pixelBlock: t5, tileSize: i5, maximumPyramidLevel: a4 }, o5) : Promise.resolve(W(t5, i5, a4)), p6 = r(this.rasterInfo.statistics), c10 = r(this.rasterInfo.histograms), h3 = p6 ? Promise.resolve({ statistics: null, histograms: null }) : this.rasterJobHandler ? this.rasterJobHandler.estimateStatisticsHistograms({ pixelBlock: t5 }, o5) : Promise.resolve(p3(t5)), f9 = await E([m8, h3]);
-    if (!f9[0].value && f9[1].value)
-      throw new s2("inmemory-raster:open", "failed to build in memory raster");
-    this._pixelBlockTiles = f9[0].value, p6 || (this.rasterInfo.statistics = (_a = f9[1].value) == null ? void 0 : _a.statistics), c10 || (this.rasterInfo.histograms = (_b = f9[1].value) == null ? void 0 : _b.histograms);
-  }
-};
-e([y({ type: String, json: { write: true } })], h2.prototype, "datasetFormat", void 0), e([y()], h2.prototype, "data", void 0), h2 = e([n("esri.layers.support.rasterDatasets.InMemoryRaster")], h2);
-var f7 = h2;
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/xmlUtilities.js
-function n8(e4, t5) {
-  if (!e4 || !t5)
-    return [];
-  let l6 = t5;
-  t5.includes("/") ? (l6 = t5.slice(0, t5.indexOf("/")), t5 = t5.slice(t5.indexOf("/") + 1)) : t5 = "";
-  const r6 = [];
-  if (t5) {
-    const u6 = n8(e4, l6);
-    for (let e5 = 0; e5 < u6.length; e5++) {
-      n8(u6[e5], t5).forEach((n10) => r6.push(n10));
-    }
-    return r6;
-  }
-  const u5 = e4.getElementsByTagNameNS("*", l6);
-  if (!u5 || 0 === u5.length)
-    return [];
-  for (let n10 = 0; n10 < u5.length; n10++)
-    r6.push(u5[n10] || u5.item[n10]);
-  return r6;
-}
-function e3(t5, l6) {
-  if (!t5 || !l6)
-    return null;
-  let r6 = l6;
-  l6.includes("/") ? (r6 = l6.slice(0, l6.indexOf("/")), l6 = l6.slice(l6.indexOf("/") + 1)) : l6 = "";
-  const u5 = n8(t5, r6);
-  return u5.length > 0 ? l6 ? e3(u5[0], l6) : u5[0] : null;
-}
-function t4(n10, t5 = null) {
-  const l6 = t5 ? e3(n10, t5) : n10;
-  let r6;
-  return l6 ? (r6 = l6.textContent || l6.nodeValue, r6 ? r6.trim() : null) : null;
-}
-function l5(e4, t5) {
-  const l6 = n8(e4, t5), r6 = [];
-  let u5;
-  for (let n10 = 0; n10 < l6.length; n10++)
-    u5 = l6[n10].textContent || l6[n10].nodeValue, u5 && (u5 = u5.trim(), "" !== u5 && r6.push(u5));
-  return r6;
-}
-function u3(n10, e4) {
-  return l5(n10, e4).map((n11) => Number(n11));
-}
-function o4(n10, e4) {
-  const l6 = t4(n10, e4);
-  return Number(l6);
-}
-function i4(n10, e4) {
-  var _a;
-  const t5 = (_a = n10 == null ? void 0 : n10.nodeName) == null ? void 0 : _a.toLowerCase(), l6 = e4.toLowerCase();
-  return t5.slice(t5.lastIndexOf(":") + 1) === l6;
-}
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/pamParser.js
-function f8(e4, t5) {
-  if (!e4 || !t5)
-    return null;
-  const n10 = [];
-  for (let r6 = 0; r6 < e4.length; r6++)
-    n10.push(e4[r6]), n10.push(t5[r6]);
-  return n10;
-}
-function u4(e4) {
-  var _a;
-  const t5 = e3(e4, "GeodataXform"), r6 = m7(o4(t5, "SpatialReference/WKID") || t4(t5, "SpatialReference/WKT"));
-  if ("typens:PolynomialXform" !== t5.getAttribute("xsi:type"))
-    return { spatialReference: r6, transform: null };
-  const o5 = (_a = o4(t5, "PolynomialOrder")) != null ? _a : 1, u5 = u3(t5, "CoeffX/Double"), c10 = u3(t5, "CoeffY/Double"), d6 = u3(t5, "InverseCoeffX/Double"), p6 = u3(t5, "InverseCoeffY/Double"), S4 = f8(u5, c10), C2 = f8(d6, p6);
-  return { spatialReference: r6, transform: S4 && C2 && S4.length && C2.length ? new m3({ spatialReference: r6, polynomialOrder: o5, forwardCoefficients: S4, inverseCoefficients: C2 }) : null };
-}
-function c8(e4) {
-  var _a;
-  const t5 = o4(e4, "NoDataValue"), i5 = e3(e4, "Histograms/HistItem"), l6 = o4(i5, "HistMin"), o5 = o4(i5, "HistMax"), f9 = o4(i5, "BucketCount"), u5 = (_a = t4(i5, "HistCounts")) == null ? void 0 : _a.split("|").map((e5) => Number(e5));
-  let c10, m8, d6, p6;
-  n8(e4, "Metadata/MDI").forEach((e5) => {
-    var _a2;
-    const t6 = Number((_a2 = e5.textContent) != null ? _a2 : e5.nodeValue);
-    switch (e5.getAttribute("key").toUpperCase()) {
-      case "STATISTICS_MINIMUM":
-        c10 = t6;
-        break;
-      case "STATISTICS_MAXIMUM":
-        m8 = t6;
-        break;
-      case "STATISTICS_MEAN":
-        d6 = t6;
-        break;
-      case "STATISTICS_STDDEV":
-        p6 = t6;
-    }
-  });
-  const S4 = o4(e4, "Metadata/SourceBandIndex");
-  return { noDataValue: t5, histogram: (u5 == null ? void 0 : u5.length) && null != l6 && null != o5 ? { min: l6, max: o5, size: f9 || u5.length, counts: u5 } : null, sourceBandIndex: S4, statistics: null != c10 && null != m8 ? { min: c10, max: m8, avg: d6, stddev: p6 } : null };
-}
-function m7(e4) {
-  if (!e4)
-    return null;
-  let t5 = Number(e4);
-  if (!isNaN(t5) && 0 !== t5)
-    return new k({ wkid: t5 });
-  if ((e4 = String(e4)).startsWith("COMPD_CS")) {
-    if (!e4.includes("VERTCS") || !e4.includes("GEOGCS") && !e4.startsWith("PROJCS"))
-      return null;
-    const n10 = e4.indexOf("VERTCS"), r6 = e4.indexOf("PROJCS"), s4 = r6 > -1 ? r6 : e4.indexOf("GEOGCS");
-    if (-1 === s4)
-      return null;
-    const a4 = e4.slice(s4, e4.lastIndexOf("]", n10) + 1).trim(), i5 = e4.slice(n10, e4.lastIndexOf("]")).trim();
-    t5 = d4(a4);
-    const l6 = new k(t5 ? { wkid: t5 } : { wkt: a4 }), f9 = d4(i5);
-    return f9 && (l6.vcsWkid = f9), l6;
-  }
-  return e4.startsWith("GEOGCS") || e4.startsWith("PROJCS") ? (t5 = d4(e4), new k(0 !== t5 ? { wkid: t5 } : { wkt: e4 })) : null;
-}
-function d4(e4) {
-  var _a;
-  const t5 = e4.replace(/\]/g, "[").replace(/\"/g, "").split("[").map((e5) => e5.trim()).filter((e5) => "" !== e5), n10 = t5[t5.length - 1].split(","), r6 = (_a = n10[0]) == null ? void 0 : _a.toLowerCase();
-  if (("epsg" === r6 || "esri" === r6) && e4.endsWith('"]]')) {
-    const e5 = Number(n10[1]);
-    if (!isNaN(e5) && 0 !== e5)
-      return e5;
-  }
-  return 0;
-}
-function p5(s4) {
-  var _a;
-  if ("pamdataset" !== ((_a = s4 == null ? void 0 : s4.documentElement.tagName) == null ? void 0 : _a.toLowerCase()))
-    return {};
-  const a4 = { spatialReference: null, transform: null, metadata: {}, rasterBands: [], statistics: null, histograms: null };
-  s4.documentElement.childNodes.forEach((e4) => {
-    if (1 === e4.nodeType) {
-      if (i4(e4, "SRS")) {
-        if (!a4.spatialReference) {
-          const t5 = t4(e4);
-          a4.spatialReference = m7(t5);
-        }
-      } else if (i4(e4, "Metadata"))
-        if ("xml:ESRI" === e4.getAttribute("domain")) {
-          const { spatialReference: t5, transform: n10 } = u4(e4);
-          a4.transform = n10, a4.spatialReference || (a4.spatialReference = t5);
-        } else {
-          n8(e4, "MDI").forEach((e5) => a4.metadata[e5.getAttribute("key")] = t4(e5));
-        }
-      else if (i4(e4, "PAMRasterBand")) {
-        const t5 = c8(e4);
-        null != t5.sourceBandIndex && null == a4.rasterBands[t5.sourceBandIndex] ? a4.rasterBands[t5.sourceBandIndex] = t5 : a4.rasterBands.push(t5);
-      }
-    }
-  });
-  const i5 = a4.rasterBands;
-  if (i5.length) {
-    const t5 = !!i5[0].statistics;
-    a4.statistics = t5 ? i5.map((e4) => e4.statistics).filter(r) : null;
-    const n10 = !!i5[0].histogram;
-    a4.histograms = n10 ? i5.map((e4) => e4.histogram).filter(r) : null;
-  }
-  return a4;
-}
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/ImageAuxRaster.js
-var d5 = class extends U3 {
-  async open(t5) {
-    await this.init();
-    const s4 = await this._fetchData(t5);
-    let { spatialReference: e4, statistics: r6, histograms: a4, transform: o5 } = await this._fetchAuxiliaryData(t5);
-    const i5 = !e4;
-    i5 && (e4 = new k({ wkid: 3857 })), (a4 == null ? void 0 : a4.length) && null == r6 && (r6 = g2(a4));
-    const { width: n10, height: l6 } = s4;
-    let p6 = new w3({ xmin: -0.5, ymin: 0.5 - l6, xmax: n10 - 0.5, ymax: 0.5, spatialReference: e4 });
-    const f9 = o5 ? o5.forwardTransform(p6) : p6;
-    let d6 = true;
-    if (o5) {
-      const t6 = o5.forwardCoefficients;
-      d6 = t6 && 0 === t6[1] && 0 === t6[2], d6 && (o5 = null, p6 = f9);
-    }
-    const y5 = new f7({ data: { extent: f9, nativeExtent: p6, transform: o5, pixelBlock: s4, statistics: r6, histograms: a4, keyProperties: { DateType: "Processed" }, isPseudoSpatialReference: i5 } });
-    await y5.open(), y5.data = null, this._set("rasterInfo", y5.rasterInfo), this._inMemoryRaster = y5;
-  }
-  fetchRawTile(t5, s4, e4, r6 = {}) {
-    return this._inMemoryRaster.fetchRawTile(t5, s4, e4, r6);
-  }
-  async _fetchData(t5) {
-    const { data: e4 } = await this.request(this.url, { responseType: "array-buffer", signal: t5 == null ? void 0 : t5.signal }), r6 = P(e4).toUpperCase();
-    if ("JPG" !== r6 && "PNG" !== r6 && "GIF" !== r6 && "BMP" !== r6)
-      throw new s2("image-aux-raster:open", "the data is not a supported format");
-    this._set("datasetFormat", r6);
-    const a4 = r6.toLowerCase(), o5 = "gif" === a4 || "bmp" === a4 || !has("ios");
-    return await this.decodePixelBlock(e4, { format: a4, useCanvas: o5, hasNoZlibMask: true });
-  }
-  async _fetchAuxiliaryData(t5) {
-    var _a, _b;
-    const s4 = e2(t5 == null ? void 0 : t5.signal), o5 = (_a = this.ioConfig.skipExtensions) != null ? _a : [], i5 = o5.includes("aux.xml") ? null : this.request(this.url + ".aux.xml", { responseType: "xml", signal: s4 }), n10 = this.datasetFormat, m8 = "JPG" === n10 ? "jgw" : "PNG" === n10 ? "pgw" : "BMP" === n10 ? "bpw" : null, p6 = m8 && o5.includes(m8) ? null : this.request(this.url.slice(0, this.url.lastIndexOf(".")) + "." + m8, { responseType: "text", signal: s4 }), c10 = await E([i5, p6]);
-    if (s4 == null ? void 0 : s4.aborted)
-      throw a();
-    const u5 = p5((_b = c10[0].value) == null ? void 0 : _b.data);
-    if (!u5.transform) {
-      const t6 = c10[1].value ? c10[1].value.data.split("\n").slice(0, 6).map((t7) => Number(t7)) : null;
-      u5.transform = 6 === (t6 == null ? void 0 : t6.length) ? new m3({ forwardCoefficients: [t6[4], t6[5], t6[0], -t6[1], t6[2], -t6[3]] }) : null;
-    }
-    return u5;
-  }
-};
-e([y({ type: String, json: { write: true } })], d5.prototype, "datasetFormat", void 0), d5 = e([n("esri.layers.support.rasterDatasets.ImageAuxRaster")], d5);
-var y4 = d5;
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/ImageServerRaster.js
-var I2 = class extends U3 {
-  constructor() {
-    super(...arguments), this._levelOffset = 0, this._tilemapCache = null, this._slices = null, this.datasetFormat = "RasterTileServer", this.tileType = null;
-  }
-  async open(e4) {
-    var _a, _b, _c, _d;
-    await this.init();
-    const r6 = e4 && e4.signal, a4 = this.sourceJSON ? { data: this.sourceJSON } : await this.request(this.url, { query: { f: "json" }, signal: r6 });
-    a4.ssl && (this.url = this.url.replace(/^http:/i, "https:"));
-    const o5 = a4.data;
-    if (this.sourceJSON = o5, !o5)
-      throw new s2("imageserverraster:open", "cannot initialize tiled image service, missing service info");
-    if (!o5.tileInfo)
-      throw new s2("imageserverraster:open", "use ImageryLayer to open non-tiled image services");
-    this._fixScaleInServiceInfo();
-    const n10 = ["jpg", "jpeg", "png", "png8", "png24", "png32", "mixed"];
-    this.tileType = o5.cacheType, null == this.tileType && (n10.includes(o5.tileInfo.format.toLowerCase()) ? this.tileType = "Map" : "lerc" === o5.tileInfo.format.toLowerCase() ? this.tileType = "Elevation" : this.tileType = "Raster"), this.datasetName = (_b = (_a = o5.name) == null ? void 0 : _a.slice(o5.name.indexOf("/") + 1)) != null ? _b : "";
-    const c10 = await this._fetchRasterInfo({ signal: r6 });
-    if (t(c10))
-      throw new s2("image-server-raster:open", "cannot initialize image service");
-    const u5 = "Map" === this.tileType ? n6(o5.tileInfo, o5) : j2.fromJSON(o5.tileInfo);
-    c(u5);
-    const [y5, d6] = this._computeMinMaxLOD(c10, u5), { extent: x4, pixelSize: g4 } = c10, v5 = 0.5 / c10.width * g4.x, S4 = Math.max(g4.x, g4.y), { lods: I4 } = u5;
-    ("Map" !== this.tileType && 0 !== o5.maxScale || Math.abs(g4.x - g4.y) > v5 || !I4.some((e5) => Math.abs(e5.resolution - S4) < v5)) && (g4.x = g4.y = y5.resolution, c10.width = Math.ceil((x4.xmax - x4.xmin) / g4.x - 0.1), c10.height = Math.ceil((x4.ymax - x4.ymin) / g4.y - 0.1));
-    const w7 = y5.level - d6.level, [j6, T5] = u5.size, b5 = [];
-    I4.forEach((e5) => {
-      e5.level >= d6.level && e5.level <= y5.level && b5.push({ x: e5.resolution, y: e5.resolution });
-    }), b5.sort((e5, t5) => e5.x - t5.x);
-    const _ = this.computeBlockBoundary(x4, j6, T5, u5.origin, b5, w7), M = b5.length > 1 ? b5.slice(1) : null;
-    let R3;
-    if (o5.transposeInfo && (R3 = { tileSize: [o5.transposeInfo.rows, o5.transposeInfo.cols], packetSize: (_d = (_c = c10.keyProperties) == null ? void 0 : _c._yxs.PacketSize) != null ? _d : 0 }), c10.storageInfo = new n4({ blockWidth: u5.size[0], blockHeight: u5.size[1], pyramidBlockWidth: u5.size[0], pyramidBlockHeight: u5.size[1], pyramidResolutions: M, compression: u5.format, origin: u5.origin, firstPyramidLevel: 1, maximumPyramidLevel: w7, tileInfo: u5, transposeInfo: R3, blockBoundary: _ }), this._fixGCSShift(c10), this._set("rasterInfo", c10), o5.capabilities.toLowerCase().includes("tilemap")) {
-      const e5 = { tileInfo: c10.storageInfo.tileInfo, parsedUrl: j(this.url), url: this.url, tileServers: [], type: "tile" };
-      this._tilemapCache = new z({ layer: e5 });
-    }
-  }
-  async fetchRawTile(e4, t5, i5, s4 = {}) {
-    const { storageInfo: a4, extent: l6 } = this.rasterInfo, { transposeInfo: o5 } = a4, n10 = r(o5) && !!s4.transposedVariableName;
-    if (this._slices && !n10 && null == s4.sliceId)
-      return null;
-    const c10 = n10 ? 0 : a4.maximumPyramidLevel - e4 + this._levelOffset, m8 = `${this.url}/tile/${c10}/${t5}/${i5}`, h3 = this._slices ? n10 ? { variable: s4.transposedVariableName } : { sliceId: s4.sliceId || 0 } : null, { data: f9 } = await this.request(m8, { query: h3, responseType: "array-buffer", signal: s4.signal });
-    if (!f9)
-      return null;
-    const p6 = n10 ? o5.tileSize : a4.tileInfo.size, u5 = await this.decodePixelBlock(f9, { width: p6[0], height: p6[1], planes: null, pixelType: null, isPoint: "Elevation" === this.tileType, returnInterleaved: n10 }), d6 = a4.blockBoundary[e4];
-    if ("jpg" !== a4.compression || i5 > d6.minCol && i5 < d6.maxCol && t5 > d6.minRow && t5 < d6.maxRow)
-      return u5;
-    const { origin: x4, blockWidth: g4, blockHeight: v5 } = a4, { x: S4, y: I4 } = this.getPyramidPixelSize(e4), w7 = Math.round((l6.xmin - x4.x) / S4) % g4, j6 = Math.round((l6.xmax - x4.x) / S4) % g4 || g4, T5 = Math.round((x4.y - l6.ymax) / I4) % v5, b5 = Math.round((x4.y - l6.ymin) / I4) % v5 || v5, _ = i5 === d6.minCol ? w7 : 0, M = t5 === d6.minRow ? T5 : 0, R3 = i5 === d6.maxCol ? j6 : g4, z2 = t5 === d6.maxRow ? b5 : v5;
-    return b2(u5, { x: _, y: M }, { width: R3 - _, height: z2 - M }), u5;
-  }
-  getSliceIndex(e4) {
-    if (!this._slices || t(e4) || 0 === e4.length)
-      return null;
-    const t5 = e4;
-    for (let i5 = 0; i5 < this._slices.length; i5++) {
-      const e5 = this._slices[i5].multidimensionalDefinition;
-      if (e5.length === t5.length && !e5.some((e6) => {
-        const i6 = t5.find((t6) => e6.variableName === t6.variableName && t6.dimensionName === e6.dimensionName);
-        if (!i6)
-          return true;
-        return (Array.isArray(e6.values[0]) ? `${e6.values[0][0]}-${e6.values[0][1]}` : e6.values[0]) !== (Array.isArray(i6.values[0]) ? `${i6.values[0][0]}-${i6.values[0][1]}` : i6.values[0]);
-      }))
-        return i5;
-    }
-    return null;
-  }
-  async fetchVariableStatisticsHistograms(e4, t5) {
-    const i5 = this.request(this.url + "/statistics", { query: { variable: e4, f: "json" }, signal: t5 }).then((e5) => {
-      var _a;
-      return (_a = e5.data) == null ? void 0 : _a.statistics;
-    }), s4 = this.request(this.url + "/histograms", { query: { variable: e4, f: "json" }, signal: t5 }).then((e5) => {
-      var _a;
-      return (_a = e5.data) == null ? void 0 : _a.histograms;
-    }), r6 = await Promise.all([i5, s4]);
-    return r6[0] && r6[0].forEach((e5) => {
-      e5.avg = e5.mean, e5.stddev = e5.standardDeviation;
-    }), { statistics: r6[0] || null, histograms: r6[1] || null };
-  }
-  async computeBestPyramidLevelForLocation(e4, t5 = {}) {
-    if (!this._tilemapCache)
-      return 0;
-    let i5 = this.identifyPixelLocation(e4, 0, e2(t5.datumTransformation));
-    if (null === i5)
-      return null;
-    let s4 = 0;
-    const { maximumPyramidLevel: r6 } = this.rasterInfo.storageInfo;
-    let l6 = r6 - s4 + this._levelOffset;
-    const o5 = i5.srcLocation;
-    for (; l6 >= 0; ) {
-      try {
-        if ("available" === await this._tilemapCache.fetchAvailability(l6, i5.row, i5.col, t5))
-          break;
-      } catch {
-      }
-      if (l6--, s4++, i5 = this.identifyPixelLocation(o5, s4, e2(t5.datumTransformation)), null === i5)
-        return null;
-    }
-    return -1 === l6 || null == i5 ? null : s4;
-  }
-  async _fetchRasterInfo(e4) {
-    const t5 = this.sourceJSON;
-    if ("Map" === this.tileType) {
-      const e5 = t5.fullExtent || t5.extent, i6 = Math.ceil((e5.xmax - e5.xmin) / t5.pixelSizeX - 0.1), s5 = Math.ceil((e5.ymax - e5.ymin) / t5.pixelSizeY - 0.1), r7 = k.fromJSON(t5.spatialReference || e5.spatialReference), a5 = new w2({ x: t5.pixelSizeX, y: t5.pixelSizeY, spatialReference: r7 });
-      return new u({ width: i6, height: s5, bandCount: 3, extent: w3.fromJSON(e5), spatialReference: r7, pixelSize: a5, pixelType: "u8", statistics: null, keyProperties: { DataType: "processed" } });
-    }
-    const { signal: i5 } = e4, s4 = m5(this.url, this.sourceJSON, { signal: i5, query: this.ioConfig.customFetchParameters }), r6 = t5.hasMultidimensions ? this.request(`${this.url}/slices`, { query: { f: "json" }, signal: i5 }).then((e5) => e5.data && e5.data.slices).catch(() => null) : null, a4 = await Promise.all([s4, r6]);
-    return this._slices = a4[1], a4[0];
-  }
-  _fixScaleInServiceInfo() {
-    const { sourceJSON: e4 } = this;
-    e4.minScale && e4.minScale < 0 && (e4.minScale = 0), e4.maxScale && e4.maxScale < 0 && (e4.maxScale = 0);
-  }
-  _fixGCSShift(e4) {
-    const { extent: t5, spatialReference: i5 } = e4;
-    t5.xmin > -1 && t5.xmax > 181 && (i5 == null ? void 0 : i5.wkid) && i5.isGeographic && (e4.nativeExtent = e4.extent, e4.transform = new c2(), e4.extent = e4.transform.forwardTransform(t5));
-  }
-  _computeMinMaxLOD(e4, t5) {
-    var _a, _b, _c;
-    const { pixelSize: i5 } = e4, s4 = 0.5 / e4.width * i5.x, { lods: r6 } = t5, a4 = t5.lodAt(Math.max.apply(null, r6.map((e5) => e5.level))), l6 = t5.lodAt(Math.min.apply(null, r6.map((e5) => e5.level))), { tileType: o5 } = this;
-    if ("Map" === o5)
-      return this._levelOffset = r6[0].level, [a4, l6];
-    if ("Raster" === o5) {
-      return [(_a = r6.find((e5) => e5.resolution === i5.x)) != null ? _a : a4, l6];
-    }
-    const { minScale: n10, maxScale: c10 } = this.sourceJSON;
-    let m8 = a4;
-    c10 > 0 && (m8 = r6.find((e5) => Math.abs(e5.scale - c10) < s4), m8 || (m8 = (_b = r6.filter((e5) => e5.scale > c10).sort((e5, t6) => e5.scale > t6.scale ? 1 : -1)[0]) != null ? _b : a4));
-    let h3 = l6;
-    return n10 > 0 && (h3 = (_c = r6.find((e5) => Math.abs(e5.scale - n10) < s4)) != null ? _c : l6, this._levelOffset = h3.level - l6.level), [m8, h3];
-  }
-};
-e([y({ type: String, json: { write: true } })], I2.prototype, "datasetFormat", void 0), e([y()], I2.prototype, "tileType", void 0), I2 = e([n("esri.layers.support.rasterDatasets.ImageServerRaster")], I2);
-var w6 = I2;
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/MRFRaster.js
-var I3 = /* @__PURE__ */ new Map();
-I3.set("Int8", "s8"), I3.set("UInt8", "u8"), I3.set("Int16", "s16"), I3.set("UInt16", "u16"), I3.set("Int32", "s32"), I3.set("UInt32", "u32"), I3.set("Float32", "f32"), I3.set("Float64", "f32"), I3.set("Double64", "f32");
-var b4 = /* @__PURE__ */ new Map();
-b4.set("none", { blobExtension: ".til", isOneSegment: true, decoderFormat: "bip" }), b4.set("lerc", { blobExtension: ".lrc", isOneSegment: false, decoderFormat: "lerc" }), b4.set("deflate", { blobExtension: ".pzp", isOneSegment: true, decoderFormat: "deflate" }), b4.set("jpeg", { blobExtension: ".pjg", isOneSegment: true, decoderFormat: "jpg" });
-var A = class extends U3 {
-  constructor() {
-    super(...arguments), this._files = null, this._storageIndex = null, this.datasetFormat = "MRF";
-  }
-  async open(t5) {
-    var _a, _b;
-    await this.init(), this.datasetName = this.url.slice(this.url.lastIndexOf("/") + 1);
-    const e4 = t5 ? e2(t5.signal) : null, o5 = await this.request(this.url, { responseType: "xml", signal: e4 }), { rasterInfo: i5, files: a4 } = this._parseHeader(o5.data);
-    if (-1 === ((_a = this.ioConfig.skipExtensions) == null ? void 0 : _a.indexOf("aux.xml"))) {
-      const e5 = await this._fetchAuxiliaryData(t5);
-      null != e5 && (i5.statistics = (_b = e5.statistics) != null ? _b : i5.statistics, i5.histograms = e5.histograms, e5.histograms && t(i5.statistics) && (i5.statistics = g2(e5.histograms)));
-    }
-    this._set("rasterInfo", i5), this._files = a4;
-    const n10 = await this.request(a4.index, { responseType: "array-buffer", signal: e4 });
-    this._storageIndex = this._parseIndex(n10.data);
-    const { blockWidth: l6, blockHeight: f9 } = this.rasterInfo.storageInfo, c10 = this.rasterInfo.storageInfo.pyramidScalingFactor, { width: m8, height: p6 } = this.rasterInfo, h3 = [], u5 = this._getBandSegmentCount();
-    let g4 = 0, y5 = -1;
-    for (; g4 < this._storageIndex.length; ) {
-      y5++;
-      const t6 = Math.ceil(m8 / l6 / c10 ** y5) - 1, e5 = Math.ceil(p6 / f9 / c10 ** y5) - 1;
-      g4 += (t6 + 1) * (e5 + 1) * u5 * 4, h3.push({ maxRow: e5, maxCol: t6, minCol: 0, minRow: 0 });
-    }
-    this.rasterInfo.storageInfo.blockBoundary = h3, y5 > 0 && (this.rasterInfo.storageInfo.firstPyramidLevel = 1, this.rasterInfo.storageInfo.maximumPyramidLevel = y5), this.updateTileInfo();
-  }
-  async fetchRawTile(t5, e4, r6, s4 = {}) {
-    const { blockWidth: i5, blockHeight: a4, blockBoundary: l6 } = this.rasterInfo.storageInfo, f9 = l6[t5];
-    if (!f9 || f9.maxRow < e4 || f9.maxCol < r6 || f9.minRow > e4 || f9.minCol > r6)
-      return null;
-    const { bandCount: c10, pixelType: m8 } = this.rasterInfo, { ranges: p6, actualTileWidth: h3, actualTileHeight: u5 } = this._getTileLocation(t5, e4, r6);
-    if (!p6 || 0 === p6.length)
-      return null;
-    if (0 === p6[0].from && 0 === p6[0].to) {
-      const t6 = new Uint8Array(i5 * a4);
-      return new g({ width: i5, height: a4, pixels: null, mask: t6, validPixelCount: 0 });
-    }
-    const { bandIds: g4 } = this.ioConfig, d6 = this._getBandSegmentCount(), y5 = [];
-    let x4 = 0;
-    for (x4 = 0; x4 < d6; x4++)
-      (!g4 || g4.indexOf[x4] > -1) && y5.push(this.request(this._files.data, { range: { from: p6[x4].from, to: p6[x4].to }, responseType: "array-buffer", signal: s4.signal }));
-    const w7 = await Promise.all(y5), I4 = w7.map((t6) => t6.data.byteLength).reduce((t6, e5) => t6 + e5), A2 = new Uint8Array(I4);
-    let F3 = 0;
-    for (x4 = 0; x4 < d6; x4++)
-      A2.set(new Uint8Array(w7[x4].data), F3), F3 += w7[x4].data.byteLength;
-    const _ = b4.get(this.rasterInfo.storageInfo.compression).decoderFormat, R3 = await this.decodePixelBlock(A2.buffer, { width: i5, height: a4, format: _, planes: (g4 == null ? void 0 : g4.length) || c10, pixelType: m8 });
-    if (r(this.rasterInfo.noDataValue) && "lerc" !== _ && !R3.mask) {
-      const t6 = this.rasterInfo.noDataValue[0];
-      if (null != t6) {
-        const e5 = R3.width * R3.height, r7 = new Uint8Array(e5);
-        if (Math.abs(t6) > 1e24)
-          for (x4 = 0; x4 < e5; x4++)
-            Math.abs((R3.pixels[0][x4] - t6) / t6) > 1e-6 && (r7[x4] = 1);
-        else
-          for (x4 = 0; x4 < e5; x4++)
-            R3.pixels[0][x4] !== t6 && (r7[x4] = 1);
-        R3.mask = r7;
-      }
-    }
-    let S4 = 0, j6 = 0;
-    if (h3 !== i5 || u5 !== a4) {
-      let t6 = R3.mask;
-      if (t6)
-        for (x4 = 0; x4 < a4; x4++)
-          if (j6 = x4 * i5, x4 < u5)
-            for (S4 = h3; S4 < i5; S4++)
-              t6[j6 + S4] = 0;
-          else
-            for (S4 = 0; S4 < i5; S4++)
-              t6[j6 + S4] = 0;
-      else
-        for (t6 = new Uint8Array(i5 * a4), R3.mask = t6, x4 = 0; x4 < u5; x4++)
-          for (j6 = x4 * i5, S4 = 0; S4 < h3; S4++)
-            t6[j6 + S4] = 1;
-    }
-    return R3;
-  }
-  _parseIndex(t5) {
-    if (t5.byteLength % 16 > 0)
-      throw "invalid array buffer must be multiples of 16";
-    let e4, r6, s4, o5, i5, a4;
-    if (r4) {
-      for (r6 = new Uint8Array(t5), o5 = new ArrayBuffer(t5.byteLength), s4 = new Uint8Array(o5), i5 = 0; i5 < t5.byteLength / 4; i5++)
-        for (a4 = 0; a4 < 4; a4++)
-          s4[4 * i5 + a4] = r6[4 * i5 + 3 - a4];
-      e4 = new Uint32Array(o5);
-    } else
-      e4 = new Uint32Array(t5);
-    return e4;
-  }
-  _getBandSegmentCount() {
-    return b4.get(this.rasterInfo.storageInfo.compression).isOneSegment ? 1 : this.rasterInfo.bandCount;
-  }
-  _getTileLocation(t5, e4, r6) {
-    const { blockWidth: s4, blockHeight: o5, pyramidScalingFactor: i5 } = this.rasterInfo.storageInfo, { width: a4, height: n10 } = this.rasterInfo, l6 = this._getBandSegmentCount();
-    let f9, c10, m8, p6 = 0, h3 = 0;
-    for (m8 = 0; m8 < t5; m8++)
-      h3 = i5 ** m8, f9 = Math.ceil(a4 / s4 / h3), c10 = Math.ceil(n10 / o5 / h3), p6 += f9 * c10;
-    h3 = i5 ** t5, f9 = Math.ceil(a4 / s4 / h3), c10 = Math.ceil(n10 / o5 / h3), p6 += e4 * f9 + r6, p6 *= 4 * l6;
-    const u5 = this._storageIndex.subarray(p6, p6 + 4 * l6);
-    let g4 = 0, d6 = 0;
-    const y5 = [];
-    for (let x4 = 0; x4 < l6; x4++)
-      g4 = u5[4 * x4 + 0] * 2 ** 32 + u5[4 * x4 + 1], d6 = g4 + u5[4 * x4 + 2] * 2 ** 32 + u5[4 * x4 + 3], y5.push({ from: g4, to: d6 });
-    return { ranges: y5, actualTileWidth: r6 < f9 - 1 ? s4 : Math.ceil(a4 / h3) - s4 * (f9 - 1), actualTileHeight: e4 < c10 - 1 ? o5 : Math.ceil(n10 / h3) - o5 * (c10 - 1) };
-  }
-  _parseHeader(t5) {
-    var _a;
-    const r6 = e3(t5, "MRF_META/Raster");
-    if (!r6)
-      throw new s2("mrf:open", "not a valid MRF format");
-    const s4 = e3(r6, "Size"), o5 = parseInt(s4.getAttribute("x"), 10), i5 = parseInt(s4.getAttribute("y"), 10), a4 = parseInt(s4.getAttribute("c"), 10), n10 = (t4(r6, "Compression") || "none").toLowerCase();
-    if (!b4.has(n10))
-      throw new s2("mrf:open", "currently does not support compression " + n10);
-    const c10 = t4(r6, "DataType") || "UInt8", p6 = I3.get(c10);
-    if (null == p6)
-      throw new s2("mrf:open", "currently does not support pixel type " + c10);
-    const g4 = e3(r6, "PageSize"), d6 = parseInt(g4.getAttribute("x"), 10), A2 = parseInt(g4.getAttribute("y"), 10), F3 = e3(r6, "DataValues");
-    let _, R3;
-    F3 && (R3 = F3.getAttribute("NoData"), null != R3 && (_ = R3.trim().split(" ").map((t6) => parseFloat(t6))));
-    if (e3(t5, "MRF_META/CachedSource"))
-      throw new s2("mrf:open", "currently does not support MRF referencing other data files");
-    const S4 = e3(t5, "MRF_META/GeoTags"), j6 = e3(S4, "BoundingBox");
-    let k3, M = false;
-    if (null != j6) {
-      const t6 = parseFloat(j6.getAttribute("minx")), e4 = parseFloat(j6.getAttribute("miny")), r7 = parseFloat(j6.getAttribute("maxx")), s5 = parseFloat(j6.getAttribute("maxy")), o6 = t4(S4, "Projection") || "";
-      let i6 = k.WGS84;
-      if ("LOCAL_CS[]" !== o6)
-        if (o6.toLowerCase().startsWith("epsg:")) {
-          const t7 = Number(o6.slice(5));
-          isNaN(t7) || 0 === t7 || (i6 = new k({ wkid: t7 }));
-        } else
-          i6 = (_a = m7(o6)) != null ? _a : k.WGS84;
-      else
-        M = true, i6 = new k({ wkid: 3857 });
-      k3 = new w3(t6, e4, r7, s5), k3.spatialReference = i6;
-    } else
-      M = true, k3 = new w3({ xmin: -0.5, ymin: 0.5 - i5, xmax: o5 - 0.5, ymax: 0.5, spatialReference: new k({ wkid: 3857 }) });
-    const T5 = e3(t5, "MRF_META/Rsets"), C2 = parseInt(T5 && T5.getAttribute("scale") || "2", 10), U4 = k3.spatialReference, B = new n4({ origin: new w2({ x: k3.xmin, y: k3.ymax, spatialReference: U4 }), blockWidth: d6, blockHeight: A2, pyramidBlockWidth: d6, pyramidBlockHeight: A2, compression: n10, pyramidScalingFactor: C2 }), L2 = new w2({ x: k3.width / o5, y: k3.height / i5, spatialReference: U4 }), E3 = new u({ width: o5, height: i5, extent: k3, isPseudoSpatialReference: M, spatialReference: U4, bandCount: a4, pixelType: p6, pixelSize: L2, noDataValue: _, storageInfo: B }), P2 = t4(t5, "datafile"), O3 = t4(t5, "IndexFile");
-    return { rasterInfo: E3, files: { mrf: this.url, index: O3 || this.url.replace(".mrf", ".idx"), data: P2 || this.url.replace(".mrf", b4.get(n10).blobExtension) } };
-  }
-  async _fetchAuxiliaryData(t5) {
-    try {
-      const { data: e4 } = await this.request(this.url + ".aux.xml", { responseType: "xml", signal: t5 == null ? void 0 : t5.signal });
-      return p5(e4);
-    } catch {
-      return null;
-    }
-  }
-};
-e([y()], A.prototype, "_files", void 0), e([y()], A.prototype, "_storageIndex", void 0), e([y({ type: String, json: { write: true } })], A.prototype, "datasetFormat", void 0), A = e([n("esri.layers.support.rasterIO.MRFRaster")], A);
-var F = A;
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/TIFFRaster.js
-var E2 = (e4, t5) => {
-  var _a;
-  return (_a = e4.get(t5)) == null ? void 0 : _a.values;
-};
-var F2 = (e4, t5) => {
-  var _a, _b;
-  return (_b = (_a = e4.get(t5)) == null ? void 0 : _a.values) == null ? void 0 : _b[0];
-};
-var R2 = class extends U3 {
-  constructor() {
-    super(...arguments), this._files = null, this._headerInfo = null, this._bufferSize = 1048576, this.datasetFormat = "TIFF";
-  }
-  async open(e4) {
-    await this.init();
-    const s4 = e4 ? e2(e4.signal) : null, { data: a4 } = await this.request(this.url, { range: { from: 0, to: this._bufferSize }, responseType: "array-buffer", signal: s4 });
-    if (!a4)
-      throw new s2("tiffraster:open", "failed to open url " + this.url);
-    this.datasetName = this.url.slice(this.url.lastIndexOf("/") + 1);
-    const { littleEndian: n10, firstIFDPos: o5, isBigTiff: f9 } = N(a4), l6 = [];
-    await this._readIFDs(l6, a4, n10, o5, 0, f9 ? 8 : 4, s4);
-    const { imageInfo: u5, rasterInfo: p6 } = this._parseIFDs(l6);
-    if (this._headerInfo = { littleEndian: n10, isBigTiff: f9, ifds: l6, ...u5 }, this._set("rasterInfo", p6), !u5.isSupported)
-      throw new s2("tiffraster:open", "this tiff is not supported: " + u5.message);
-    if (!u5.tileWidth)
-      throw new s2("tiffraster:open", "none-tiled tiff is not optimized for access, convert to COG and retry.");
-    const { skipExtensions: m8 = [] } = this.ioConfig;
-    if (!m8.includes("aux.xml")) {
-      const t5 = await this._fetchAuxiliaryMetaData(e4);
-      null != t5 && this._processPAMInfo(t5, p6);
-    }
-    m8.includes("vat.dbf") || 1 !== p6.bandCount || "u8" !== p6.pixelType || (p6.attributeTable = await this._fetchAuxiliaryTable(e4), r(p6.attributeTable) && (p6.keyProperties.DataType = "thematic")), this.updateTileInfo();
-  }
-  async fetchRawTile(e4, t5, r6, i5 = {}) {
-    var _a;
-    if (!((_a = this._headerInfo) == null ? void 0 : _a.isSupported) || this.isBlockOutside(e4, t5, r6))
-      return null;
-    const s4 = this._getTileLocation(e4, t5, r6);
-    if (!s4)
-      return null;
-    const { ranges: a4, actualTileWidth: n10, actualTileHeight: o5, ifd: f9 } = s4, l6 = a4.map((e5) => this.request(this.url, { range: e5, responseType: "array-buffer", signal: i5.signal })), u5 = await Promise.all(l6), p6 = u5.map((e5) => e5.data.byteLength).reduce((e5, t6) => e5 + t6), m8 = 1 === u5.length ? u5[0].data : new ArrayBuffer(p6), c10 = [0], h3 = [0];
-    if (u5.length > 1) {
-      const e5 = new Uint8Array(m8);
-      for (let t6 = 0, r7 = 0; t6 < u5.length; t6++) {
-        const i6 = u5[t6].data;
-        e5.set(new Uint8Array(i6), r7), c10[t6] = r7, r7 += i6.byteLength, h3[t6] = i6.byteLength;
-      }
-    }
-    const { blockWidth: d6, blockHeight: y5 } = this.getBlockWidthHeight(e4), g4 = await this.decodePixelBlock(m8, { format: "tiff", customOptions: { headerInfo: this._headerInfo, ifd: f9, offsets: c10, sizes: h3 }, width: d6, height: y5, planes: null, pixelType: null });
-    let x4, T5, I4;
-    if (n10 !== d6 || o5 !== y5) {
-      let e5 = g4.mask;
-      if (e5)
-        for (x4 = 0; x4 < y5; x4++)
-          if (I4 = x4 * d6, x4 < o5)
-            for (T5 = n10; T5 < d6; T5++)
-              e5[I4 + T5] = 0;
-          else
-            for (T5 = 0; T5 < d6; T5++)
-              e5[I4 + T5] = 0;
-      else
-        for (e5 = new Uint8Array(d6 * y5), g4.mask = e5, x4 = 0; x4 < o5; x4++)
-          for (I4 = x4 * d6, T5 = 0; T5 < n10; T5++)
-            e5[I4 + T5] = 1;
-    }
-    return g4;
-  }
-  _parseIFDs(e4) {
-    var _a, _b;
-    const t5 = D(e4), { width: r6, height: i5, tileWidth: s4, tileHeight: a4, planes: n10, pixelType: l6, compression: u5, firstPyramidLevel: m8, maximumPyramidLevel: c10, pyramidBlockWidth: d6, pyramidBlockHeight: y5, tileBoundary: g4, affine: x4, metadata: T5 } = t5, w7 = ((_a = t5.extent.spatialReference) == null ? void 0 : _a.wkt) || ((_b = t5.extent.spatialReference) == null ? void 0 : _b.wkid);
-    let R3 = m7(w7), v5 = false;
-    null == R3 && (v5 = true, R3 = new k({ wkid: 3857 }));
-    const k3 = new w3({ ...t5.extent, spatialReference: R3 }), D3 = new w2(k3 ? { x: k3.xmin, y: k3.ymax, spatialReference: R3 } : { x: 0, y: 0 }), j6 = new n4({ blockWidth: s4, blockHeight: a4, pyramidBlockWidth: d6, pyramidBlockHeight: y5, compression: u5, origin: D3, firstPyramidLevel: m8, maximumPyramidLevel: c10, blockBoundary: g4 }), O3 = new w2({ x: (k3.xmax - k3.xmin) / r6, y: (k3.ymax - k3.ymin) / i5, spatialReference: R3 }), P2 = T5 ? { BandProperties: T5.bandProperties, DataType: T5.dataType } : {};
-    let B = null;
-    const L2 = F2(e4[0], "PHOTOMETRICINTERPRETATION"), A2 = E2(e4[0], "COLORMAP");
-    if (3 === L2 && (A2 == null ? void 0 : A2.length) > 3 && A2.length % 3 == 0) {
-      B = [];
-      const e5 = A2.length / 3;
-      for (let t6 = 0; t6 < e5; t6++)
-        B.push([t6, A2[t6] >>> 8, A2[t6 + e5] >>> 8, A2[t6 + 2 * e5] >>> 8]);
-    }
-    const z2 = new u({ width: r6, height: i5, bandCount: n10, pixelType: l6, pixelSize: O3, storageInfo: j6, spatialReference: R3, isPseudoSpatialReference: v5, keyProperties: P2, extent: k3, colormap: B, statistics: T5 ? T5.statistics : null });
-    return (x4 == null ? void 0 : x4.length) && (z2.nativeExtent = new w3({ xmin: -0.5, ymin: 0.5 - i5, xmax: r6 - 0.5, ymax: 0.5, spatialReference: R3 }), z2.transform = new m3({ polynomialOrder: 1, forwardCoefficients: [x4[2] + x4[0] / 2, x4[5] - x4[3] / 2, x4[0], x4[3], -x4[1], -x4[4]] }), z2.extent = z2.transform.forwardTransform(z2.nativeExtent), z2.pixelSize = new w2({ x: (k3.xmax - k3.xmin) / r6, y: (k3.ymax - k3.ymin) / i5, spatialReference: R3 }), j6.origin.x = -0.5, j6.origin.y = 0.5), { imageInfo: t5, rasterInfo: z2 };
-  }
-  _processPAMInfo(e4, t5) {
-    var _a;
-    if (t5.statistics = (_a = e4.statistics) != null ? _a : t5.statistics, t5.histograms = e4.histograms, e4.histograms && t(t5.statistics) && (t5.statistics = g2(e4.histograms)), e4.transform && t(t5.transform)) {
-      t5.transform = e4.transform, t5.nativeExtent = t5.extent;
-      const r6 = t5.transform.forwardTransform(t5.nativeExtent);
-      t5.pixelSize = new w2({ x: (r6.xmax - r6.xmin) / t5.width, y: (r6.ymax - r6.ymin) / t5.height, spatialReference: t5.spatialReference }), t5.extent = r6;
-    }
-    t5.spatialReference || (t5.spatialReference = e4.spatialReference);
-  }
-  async _readIFDs(e4, t5, r6, i5, s4, a4 = 4, n10) {
-    if (!i5)
-      return null;
-    if (i5 >= t5.byteLength || i5 < 0) {
-      t5 = (await this.request(this.url, { range: { from: i5 + s4, to: i5 + s4 + this._bufferSize }, responseType: "array-buffer", signal: n10 })).data, s4 = i5 + s4, i5 = 0;
-    }
-    const o5 = await this._readIFD(t5, r6, i5, s4, n3.TIFF_TAGS, a4, n10);
-    if (e4.push(o5.ifd), !o5.nextIFD)
-      return null;
-    await this._readIFDs(e4, t5, r6, o5.nextIFD - s4, s4, a4, n10);
-  }
-  async _readIFD(e4, t5, r6, s4, a4 = n3.TIFF_TAGS, n10 = 4, o5) {
-    var _a, _b;
-    if (!e4)
-      return null;
-    const f9 = G(e4, t5, r6, s4, a4, n10);
-    if (f9.success) {
-      const r7 = [];
-      if ((_a = f9.ifd) == null ? void 0 : _a.forEach((e5) => {
-        e5.values || r7.push(e5);
-      }), r7.length > 0) {
-        const a5 = r7.map((e5) => e5.offlineOffsetSize).filter(r), n11 = Math.min.apply(null, a5.map((e5) => e5[0]));
-        if (Math.min.apply(null, a5.map((e5) => e5[0] + e5[1])) - n11 <= this._bufferSize) {
-          const { data: i5 } = await this.request(this.url, { range: { from: n11, to: n11 + this._bufferSize }, responseType: "array-buffer", signal: o5 });
-          e4 = i5, s4 = n11, r7.forEach((r8) => b(e4, t5, r8, s4));
-        }
-      }
-      if ((_b = f9.ifd) == null ? void 0 : _b.has("GEOKEYDIRECTORY")) {
-        const r8 = f9.ifd.get("GEOKEYDIRECTORY"), i5 = r8 == null ? void 0 : r8.values;
-        if (i5 && i5.length > 4) {
-          const a5 = i5[0] + "." + i5[1] + "." + i5[2], n11 = await this._readIFD(e4, t5, r8.valueOffset + 6 - s4, s4, n3.GEO_KEYS, 2, o5);
-          r8.data = n11.ifd, r8.data && r8.data.set("GEOTIFFVersion", { id: 0, type: 2, valueCount: 1, valueOffset: null, values: [a5] });
-        }
-      }
-      return f9;
-    }
-    if (f9.requiredBufferSize && f9.requiredBufferSize !== e4.byteLength) {
-      const r7 = await this.request(this.url, { range: { from: s4, to: s4 + f9.requiredBufferSize + 4 }, responseType: "array-buffer", signal: o5 });
-      return (e4 = r7.data).byteLength < f9.requiredBufferSize ? null : this._readIFD(e4, t5, 0, s4, n3.TIFF_TAGS, 4, o5);
-    }
-  }
-  _getTileLocation(e4, t5, r6) {
-    var _a;
-    const { firstPyramidLevel: i5, blockBoundary: s4 } = this.rasterInfo.storageInfo, a4 = 0 === e4 ? 0 : e4 - (i5 - 1), n10 = (_a = this._headerInfo) == null ? void 0 : _a.ifds[a4];
-    if (!n10)
-      return null;
-    const o5 = O2(n10, this._headerInfo), f9 = E2(n10, "TILEOFFSETS");
-    if (void 0 === f9)
-      return null;
-    const l6 = E2(n10, "TILEBYTECOUNTS"), { minRow: u5, minCol: p6, maxRow: m8, maxCol: c10 } = s4[a4];
-    if (t5 > m8 || r6 > c10 || t5 < u5 || r6 < p6)
-      return null;
-    const h3 = F2(n10, "IMAGEWIDTH"), d6 = F2(n10, "IMAGELENGTH"), y5 = F2(n10, "TILEWIDTH"), x4 = F2(n10, "TILELENGTH"), T5 = o5 ? this.rasterInfo.bandCount : 1, I4 = T5 * t5 * (c10 + 1) + r6, w7 = [{ from: f9[I4], to: f9[I4 + T5 - 1] + l6[I4 + T5 - 1] - 1 }];
-    if (o5) {
-      let e5 = true;
-      for (let t6 = 0; t6 < T5; t6++)
-        if (f9[I4 + t6] + l6[I4 + t6] !== f9[I4 + t6 + 1]) {
-          e5 = false;
-          break;
-        }
-      if (!e5)
-        for (let t6 = 0; t6 < T5; t6++)
-          w7[t6] = { from: f9[I4 + t6], to: f9[I4 + t6] + l6[I4 + t6] - 1 };
-    }
-    const b5 = f9[I4], _ = l6[I4];
-    if (null == b5 || null == _)
-      return null;
-    return { ranges: w7, ifd: n10, actualTileWidth: r6 === c10 && h3 % y5 || y5, actualTileHeight: t5 === m8 && d6 % x4 || x4 };
-  }
-  async _fetchAuxiliaryMetaData(e4) {
-    try {
-      const { data: t5 } = await this.request(this.url + ".aux.xml", { responseType: "xml", signal: e4 == null ? void 0 : e4.signal });
-      return p5(t5);
-    } catch {
-      return null;
-    }
-  }
-  async _fetchAuxiliaryTable(e4) {
-    try {
-      const { data: t5 } = await this.request(this.url + ".vat.dbf", { responseType: "array-buffer", signal: e4 == null ? void 0 : e4.signal }), r6 = r5.parse(t5);
-      return (r6 == null ? void 0 : r6.recordSet) ? x.fromJSON(r6.recordSet) : null;
-    } catch {
-      return null;
-    }
-  }
-};
-e([y()], R2.prototype, "_files", void 0), e([y()], R2.prototype, "_headerInfo", void 0), e([y()], R2.prototype, "_bufferSize", void 0), e([y({ type: String, json: { write: true } })], R2.prototype, "datasetFormat", void 0), R2 = e([n("esri.layers.support.rasterDatasets.TIFFRaster")], R2);
-var v4 = R2;
-
-// node_modules/@arcgis/core/layers/support/rasterDatasets/RasterFactory.js
-var c9 = /* @__PURE__ */ new Map();
-c9.set("CRF", { desc: "Cloud Raster Format", constructor: I }), c9.set("MRF", { desc: "Meta Raster Format", constructor: F }), c9.set("TIFF", { desc: "GeoTIFF", constructor: v4 }), c9.set("RasterTileServer", { desc: "Raster Tile Server", constructor: w6 }), c9.set("JPG", { desc: "JPG Raster Format", constructor: y4 }), c9.set("PNG", { desc: "PNG Raster Format", constructor: y4 }), c9.set("GIF", { desc: "GIF Raster Format", constructor: y4 }), c9.set("BMP", { desc: "BMP Raster Format", constructor: y4 });
-var n9 = class {
-  static get supportedFormats() {
-    const t5 = /* @__PURE__ */ new Set();
-    return c9.forEach((e4, r6) => t5.add(r6)), t5;
-  }
-  static async open(e4) {
-    const { url: r6, ioConfig: s4, sourceJSON: o5 } = e4;
-    let a4 = e4.datasetFormat;
-    null == a4 && r6.lastIndexOf(".") && (a4 = r6.slice(r6.lastIndexOf(".") + 1).toUpperCase()), "OVR" === a4 || "TIF" === a4 ? a4 = "TIFF" : "JPG" !== a4 && "JPEG" !== a4 && "JFIF" !== a4 || (a4 = "JPG"), r6.toLowerCase().includes("/imageserver") && !r6.toLowerCase().includes("/wcsserver") && (a4 = "RasterTileServer");
-    const n10 = { url: r6, sourceJSON: o5, datasetFormat: a4, ioConfig: s4 != null ? s4 : { bandIds: null, sampling: null } };
-    let l6, i5;
-    if (a4 && this.supportedFormats.has(a4)) {
-      if ("CRF" === a4 && !(s4 == null ? void 0 : s4.enableCRF))
-        throw new s2("rasterfactory:open", `cannot open raster: ${r6}`);
-      return l6 = c9.get(a4).constructor, i5 = new l6(n10), await i5.open({ signal: e4.signal }), i5;
-    }
-    if (a4)
-      throw new s2("rasterfactory:open", "not a supported format " + a4);
-    const u5 = Array.from(c9.keys());
-    let F3 = 0;
-    const m8 = () => (a4 = u5[F3++], a4 && ("CRF" !== a4 || (s4 == null ? void 0 : s4.enableCRF)) ? (l6 = c9.get(a4).constructor, i5 = new l6(n10), i5.open({ signal: e4.signal }).then(() => i5).catch(() => m8())) : null);
-    return m8();
-  }
-  static register(t5, e4, r6) {
-    c9.has(t5.toUpperCase()) || c9.set(t5.toUpperCase(), { desc: e4, constructor: r6 });
-  }
-};
-
-// node_modules/@arcgis/core/layers/ImageryTileLayer.js
-var N3 = class extends n2(t2(c4(v3(o2(N2(a2(p(O(b3))))))))) {
-  constructor(...e4) {
-    super(...e4), this.bandIds = null, this.interpolation = null, this.legendEnabled = true, this.isReference = null, this.listMode = "show", this.sourceJSON = null, this.version = null, this.title = null, this.type = "imagery-tile", this.operationalLayerType = "ArcGISTiledImageServiceLayer", this.popupEnabled = true, this.popupTemplate = null, this.fields = null;
-  }
-  normalizeCtorArgs(e4, r6) {
-    return "string" == typeof e4 ? { url: e4, ...r6 } : e4;
-  }
-  load(e4) {
-    const r6 = r(e4) ? e4.signal : null;
-    return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["Image Service"] }, e4).catch(w).then(() => this._openRaster(r6))), Promise.resolve(this);
-  }
-  get defaultPopupTemplate() {
-    return this.createPopupTemplate();
-  }
-  get rasterFields() {
-    var _a;
-    let e4 = [new y2({ name: "Raster.ServicePixelValue", alias: "Pixel Value", domain: null, editable: false, length: 50, type: "string" })];
-    const { rasterInfo: r6 } = this, { attributeTable: t5 } = r6, o5 = r(t5) ? t5.fields : null, i5 = "Raster.";
-    if (o5) {
-      const r7 = o5.filter((e5) => "oid" !== e5.type && "value" !== e5.name.toLowerCase()).map((e5) => {
-        const r8 = e5.clone();
-        return r8.name = i5 + e5.name, r8;
-      });
-      e4 = e4.concat(r7);
-    }
-    const { dataType: s4, multidimensionalInfo: n10 } = r6;
-    if (("vector-magdir" === s4 || "vector-uv" === s4) && r(n10)) {
-      const r7 = (_a = n10.variables[0].unit) == null ? void 0 : _a.trim(), t6 = "Magnitude" + (r7 ? ` (${r7})` : "");
-      e4.push(new y2({ name: "Raster.Magnitude", alias: t6, domain: null, editable: false, type: "double" })), e4.push(new y2({ name: "Raster.Direction", alias: "Direction (\xB0)", domain: null, editable: false, type: "double" }));
-    }
-    return e4;
-  }
-  set renderer(e4) {
-    this._set("renderer", e4), this.updateRenderer();
-  }
-  readRenderer(e4, r6, o5) {
-    const i5 = r6 && r6.layerDefinition && r6.layerDefinition.drawingInfo && r6.layerDefinition.drawingInfo.renderer, s4 = u2(i5, o5) || void 0;
-    if (null != s4)
-      return s4;
-  }
-  createPopupTemplate(e4) {
-    return p2({ fields: this.rasterFields, title: this.title }, e4);
-  }
-  write(e4, r6) {
-    const { raster: t5 } = this;
-    if (this.loaded ? "RasterTileServer" === t5.datasetFormat && ("Raster" === t5.tileType || "Map" === t5.tileType) : this.url && /\/ImageServer(\/|\/?$)/i.test(this.url))
-      return super.write(e4, r6);
-    if (r6 && r6.messages) {
-      const e5 = `${r6.origin}/${r6.layerContainerType || "operational-layers"}`;
-      r6.messages.push(new s2("layer:unsupported", `Layers (${this.title}, ${this.id}) of type '${this.declaredClass}' are not supported in the context of '${e5}'`, { layer: this }));
-    }
-    return null;
-  }
-  async _openRaster(e4) {
-    if (this.raster)
-      this.raster.rasterInfo || await this.raster.open(), this.url = this.raster.url;
-    else {
-      const r7 = await n9.open({ url: this.url, sourceJSON: this.sourceJSON, ioConfig: { sampling: "closest", ...this.ioConfig, customFetchParameters: this.customParameters }, signal: e4 });
-      if (this.rasterFunction) {
-        const e5 = l3(this.rasterFunction.toJSON(), { raster: r7 }), t5 = new c7({ rasterFunction: e5 });
-        await t5.open(), this.raster = t5;
-      } else
-        this.raster = r7;
-    }
-    const { rasterInfo: r6 } = this.raster;
-    if (!r6)
-      throw new s2("imagery-tile-layer:load", "cannot load resources on " + this.url);
-    if (this.sourceJSON = this.sourceJSON || this.raster.sourceJSON, null != this.sourceJSON) {
-      const e5 = "Map" === this.raster.tileType && null != this.sourceJSON.minLOD && null != this.sourceJSON.maxLOD ? this.sourceJSON : { ...this.sourceJSON, minScale: 0, maxScale: 0 };
-      this.read(e5, { origin: "service" });
-    }
-    null == this.title && (this.title = this.raster.datasetName), "Map" === this.raster.tileType && (this.popupEnabled = false), this._configDefaultSettings(), this.addHandles(l2(() => this.customParameters, (e5) => {
-      this.raster.ioConfig.customFetchParameters = e5;
-    }));
-  }
-};
-e([y({ type: [T], json: { write: { overridePolicy() {
-  var _a;
-  return { enabled: !this.loaded || "Raster" === this.raster.tileType || "0,1,2" !== ((_a = this.bandIds) == null ? void 0 : _a.join(",")) };
-} } } })], N3.prototype, "bandIds", void 0), e([y({ json: { write: { overridePolicy() {
-  return { enabled: !this.loaded || "Raster" === this.raster.tileType || "bilinear" !== this.interpolation };
-} } } }), r2(o3)], N3.prototype, "interpolation", void 0), e([y({ json: { write: true } })], N3.prototype, "multidimensionalDefinition", void 0), e([y(c3)], N3.prototype, "legendEnabled", void 0), e([y({ type: Boolean, json: { read: false, write: { enabled: true, overridePolicy: () => ({ enabled: false }) } } })], N3.prototype, "isReference", void 0), e([y({ type: ["show", "hide"] })], N3.prototype, "listMode", void 0), e([y({ json: { read: true, write: true } })], N3.prototype, "blendMode", void 0), e([y()], N3.prototype, "sourceJSON", void 0), e([y({ readOnly: true, json: { origins: { service: { read: { source: "currentVersion" } } } } })], N3.prototype, "version", void 0), e([y()], N3.prototype, "title", void 0), e([y({ readOnly: true, json: { read: false } })], N3.prototype, "type", void 0), e([y({ type: ["ArcGISTiledImageServiceLayer"] })], N3.prototype, "operationalLayerType", void 0), e([y({ type: Boolean, value: true, json: { read: { source: "disablePopup", reader: (e4, r6) => !r6.disablePopup }, write: { target: "disablePopup", overridePolicy() {
-  return { enabled: !this.loaded || "Raster" === this.raster.tileType };
-}, writer(e4, r6, t5) {
-  r6[t5] = !e4;
-} } } })], N3.prototype, "popupEnabled", void 0), e([y({ type: k2, json: { read: { source: "popupInfo" }, write: { target: "popupInfo", overridePolicy() {
-  return { enabled: !this.loaded || "Raster" === this.raster.tileType };
-} } } })], N3.prototype, "popupTemplate", void 0), e([y({ readOnly: true })], N3.prototype, "defaultPopupTemplate", null), e([y({ readOnly: true, type: [y2] })], N3.prototype, "fields", void 0), e([y({ readOnly: true, type: [y2] })], N3.prototype, "rasterFields", null), e([y({ types: l4, json: { name: "layerDefinition.drawingInfo.renderer", write: { overridePolicy() {
-  var _a;
-  const e4 = "raster-stretch" === ((_a = this.renderer) == null ? void 0 : _a.type) && "none" === this.renderer.stretchType && !this.renderer.useGamma;
-  return { enabled: !this.loaded || "Raster" === this.raster.tileType || !e4 };
-} }, origins: { "web-scene": { types: i2, name: "layerDefinition.drawingInfo.renderer", write: { overridePolicy: (e4) => ({ enabled: e4 && "vector-field" !== e4.type && "flow" !== e4.type }) } } } } })], N3.prototype, "renderer", null), e([o("renderer")], N3.prototype, "readRenderer", null), N3 = e([n("esri.layers.ImageryTileLayer")], N3);
-var J2 = N3;
-export {
-  J2 as default
-};
-//# sourceMappingURL=ImageryTileLayer-CTOXD6HK.js.map

+ 1922 - 0
node_modules/.vite/deps/ImageryTileLayer-IMEVVZAS.js

@@ -0,0 +1,1922 @@
+import {
+  a as a3,
+  d as d3,
+  h,
+  m as m6,
+  x as x2
+} from "./chunk-DEU444AC.js";
+import {
+  $ as $2,
+  L,
+  V as V2,
+  c as c5,
+  i as i2,
+  j as j5,
+  l as l4,
+  m as m5,
+  n as n5,
+  o as o3,
+  u as u2,
+  w as w4
+} from "./chunk-LJNHHRUM.js";
+import {
+  c as c6,
+  d as d2,
+  f as f6,
+  g as g3,
+  i as i3,
+  m as m4,
+  p as p4,
+  s as s3
+} from "./chunk-NWNFS4JJ.js";
+import {
+  c as c2,
+  f as f3,
+  i,
+  l as l3,
+  m as m3
+} from "./chunk-6JSKT5SX.js";
+import {
+  $,
+  C,
+  J,
+  Q,
+  T as T3,
+  U as U2,
+  V,
+  j as j4,
+  ne,
+  oe
+} from "./chunk-BQIDHLG4.js";
+import {
+  D,
+  G,
+  N,
+  O as O2,
+  P,
+  S as S2,
+  T as T4,
+  b,
+  g as g2,
+  n as n3,
+  n3 as n4,
+  p as p3,
+  r as r3,
+  r2 as r4,
+  u2 as u
+} from "./chunk-PZAZIRWA.js";
+import {
+  d,
+  f as f2,
+  f2 as f4,
+  m as m2
+} from "./chunk-NSDRZKZG.js";
+import {
+  D as D2,
+  T as T2,
+  W,
+  b as b2,
+  g,
+  j as j3
+} from "./chunk-SCZJ2KEY.js";
+import "./chunk-CKZZYAPN.js";
+import "./chunk-AUXKKRCB.js";
+import "./chunk-NDUYF7XW.js";
+import "./chunk-7FZX4UI7.js";
+import "./chunk-IR3DRB65.js";
+import "./chunk-XHRNCFJT.js";
+import "./chunk-6334AFGG.js";
+import {
+  x
+} from "./chunk-WFHIGLUK.js";
+import "./chunk-NX2NCBAF.js";
+import "./chunk-VYQHMPYW.js";
+import "./chunk-WXUHXYJK.js";
+import "./chunk-NTERQTPO.js";
+import "./chunk-SOSOZIX6.js";
+import "./chunk-FM5OVTDI.js";
+import {
+  a as a2
+} from "./chunk-24RR2OSE.js";
+import "./chunk-VICJMAP2.js";
+import {
+  n as n6,
+  z
+} from "./chunk-VM66JY35.js";
+import "./chunk-OJ2HHY2O.js";
+import {
+  o as o2
+} from "./chunk-OJUMXZ6B.js";
+import {
+  p as p2
+} from "./chunk-F62EJT7L.js";
+import "./chunk-XODJHDJQ.js";
+import "./chunk-O2PIYIHJ.js";
+import "./chunk-2BWPQRLB.js";
+import "./chunk-HPD2S4QL.js";
+import "./chunk-GR4RKUNH.js";
+import "./chunk-LTQAWUCK.js";
+import "./chunk-W3SLJVWY.js";
+import "./chunk-PK4W65H4.js";
+import "./chunk-KJZ6SS3P.js";
+import {
+  k as k2
+} from "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import {
+  S
+} from "./chunk-SZFMKPVM.js";
+import "./chunk-EY2WJSAJ.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-4PNYPUDB.js";
+import "./chunk-RDMCXRET.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-NKMX5M3L.js";
+import {
+  y as y2
+} from "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import {
+  l as l2
+} from "./chunk-BWATQC2Y.js";
+import {
+  j as j2
+} from "./chunk-6URCZZA6.js";
+import "./chunk-U2WD23Z5.js";
+import {
+  v as v3
+} from "./chunk-2DSTZVND.js";
+import {
+  c as c4
+} from "./chunk-VXKIGGM4.js";
+import {
+  c as c3,
+  f as f5
+} from "./chunk-KG45D2XL.js";
+import {
+  O
+} from "./chunk-JYRZQPQI.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import {
+  p
+} from "./chunk-UMJCSYX5.js";
+import {
+  n as n2
+} from "./chunk-UA6W42KP.js";
+import "./chunk-3OSQ6GXO.js";
+import "./chunk-3WQOA5CB.js";
+import {
+  t as t2
+} from "./chunk-2L5METUC.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-HWSWTWZD.js";
+import "./chunk-O6VYMEIX.js";
+import "./chunk-X4SA4ELJ.js";
+import {
+  r as r2
+} from "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-PIFOHNWC.js";
+import "./chunk-LLO7GCYU.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import {
+  b as b3
+} from "./chunk-O43KLDSX.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import {
+  m
+} from "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import {
+  U
+} from "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import {
+  j
+} from "./chunk-VEGAOVMY.js";
+import {
+  o,
+  w as w2,
+  w2 as w3
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  R,
+  k2 as k
+} from "./chunk-QCKFNSN2.js";
+import {
+  e,
+  l3 as l,
+  n5 as n,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import {
+  T,
+  v as v2
+} from "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  E,
+  a,
+  v,
+  w
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s,
+  s3 as s2
+} from "./chunk-E5O6P5I2.js";
+import {
+  has
+} from "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  c,
+  e as e2,
+  f,
+  r,
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/BaseRaster.js
+var V3 = 8;
+var $3 = class extends m(l) {
+  constructor() {
+    super(...arguments), this.rasterJobHandler = null, this.datasetName = null, this.datasetFormat = null, this.rasterInfo = null, this.ioConfig = { sampling: "closest" };
+  }
+  async init() {
+    const t5 = T3();
+    this.addResolvingPromise(t5), await this.when();
+  }
+  normalizeCtorArgs(t5) {
+    return t5 && t5.ioConfig && (t5 = { ...t5, ioConfig: { resolution: null, bandIds: null, sampling: "closest", tileInfo: j2.create(), ...t5.ioConfig } }), t5;
+  }
+  get _isGlobalWrappableSource() {
+    const { rasterInfo: t5 } = this, e4 = U2(t5.spatialReference);
+    return r(e4) && t5.extent.width >= e4 / 2;
+  }
+  set url(t5) {
+    this._set("url", S(t5, s.getLogger(this.declaredClass)));
+  }
+  async open(t5) {
+    throw new s2("BaseRaster:open-not-implemented", "open() is not implemented");
+  }
+  async fetchTile(t5, e4, i5, o5 = {}) {
+    const r6 = o5.tileInfo || this.rasterInfo.storageInfo.tileInfo, n10 = this.getTileExtentFromTileInfo(t5, e4, i5, r6);
+    return this.fetchPixels(n10, r6.size[0], r6.size[1], o5);
+  }
+  async identify(t5, e4 = {}) {
+    var _a, _b;
+    t5 = v2(w2, t5).clone().normalize();
+    const { multidimensionalDefinition: i5, timeExtent: o5 } = e4, { hasMultidimensionalTranspose: r6, multidimensionalInfo: l6 } = this.rasterInfo;
+    let { transposedVariableName: c10 } = e4;
+    const m8 = r(l6) && r6 && (null != o5 || f6(i5));
+    if (m8 && !c10) {
+      c10 = r(i5) && i5.length > 0 ? (_a = i5[0].variableName) != null ? _a : void 0 : l6.variables[0].name, e4 = { ...e4, transposedVariableName: c10 };
+    }
+    e4 = this._getRequestOptionsWithSliceId(e4);
+    const { spatialReference: f9, extent: u5 } = this.rasterInfo, { datumTransformation: p6 } = e4;
+    let d6 = j4(t5, f9, p6);
+    if (!u5.intersects(d6))
+      return { location: d6, value: null };
+    if (r(this.rasterInfo.transform)) {
+      const t6 = this.rasterInfo.transform.inverseTransform(d6);
+      if (!this.rasterInfo.nativeExtent.intersects(t6))
+        return { location: t6, value: null };
+      d6 = t6;
+    }
+    let x4 = 0;
+    const g4 = r(c10) && r(l6) && this.rasterInfo.hasMultidimensionalTranspose;
+    if (!g4) {
+      if (e4.srcResolution) {
+        x4 = oe(e4.srcResolution, this.rasterInfo, this.ioConfig.sampling).pyramidLevel;
+      } else if (x4 = await this.computeBestPyramidLevelForLocation(t5, e4), null == x4)
+        return { location: d6, value: null };
+    }
+    const y5 = this.identifyPixelLocation(d6, x4, null, g4);
+    if (null === y5)
+      return { location: d6, value: null };
+    const { row: R3, col: w7, rowOffset: k3, colOffset: T5, blockWidth: B } = y5, P2 = c10 != null ? c10 : e2(e4.sliceId), W2 = a3(this.url, P2), M = `${x4}/${R3}/${w7}`;
+    let C2 = x2(W2, null, M);
+    t(C2) && (C2 = this.fetchRawTile(x4, R3, w7, e4), h(W2, null, M, C2));
+    const _ = await C2;
+    if (t(_) || !((_b = _.pixels) == null ? void 0 : _b.length))
+      return { location: d6, value: null };
+    const j6 = k3 * B + T5;
+    return this._processIdentifyResult(_, { srcLocation: d6, position: j6, pyramidLevel: x4, useTransposedTile: !!g4, requestSomeSlices: m8, identifyOptions: e4 });
+  }
+  async fetchPixels(t5, e4, i5, o5 = {}) {
+    if (t5 = ne(t5), (o5 = this._getRequestOptionsWithSliceId(o5)).requestRawData)
+      return this._fetchPixels(t5, e4, i5, o5);
+    const r6 = U2(t5.spatialReference), n10 = Q(t5);
+    if (t(r6) || 0 === n10 || 1 === n10 && this._isGlobalWrappableSource)
+      return this._fetchPixels(t5, e4, i5, o5);
+    if (n10 >= 3)
+      return { extent: t5, pixelBlock: null };
+    const s4 = [], { xmin: l6, xmax: c10 } = t5, m8 = Math.round(r6 / (c10 - l6) * e4), f9 = m8 - Math.round((r6 / 2 - l6) / (c10 - l6) * e4);
+    let h3 = 0;
+    const u5 = [];
+    for (let a4 = 0; a4 <= n10; a4++) {
+      const p7 = new w3({ xmin: 0 === a4 ? l6 : -r6 / 2, xmax: a4 === n10 ? c10 - r6 * a4 : r6 / 2, ymin: t5.ymin, ymax: t5.ymax, spatialReference: t5.spatialReference }), d7 = 0 === a4 ? m8 - f9 : a4 === n10 ? e4 - h3 : m8;
+      h3 += d7, u5.push(d7);
+      const x5 = o5.disableWrapAround && a4 > 0 ? null : this._fetchPixels(p7, d7, i5, o5);
+      s4.push(x5);
+    }
+    const p6 = (await Promise.all(s4)).map((t6) => t6 == null ? void 0 : t6.pixelBlock);
+    let d6 = null;
+    const x4 = { width: e4, height: i5 };
+    if (this.rasterJobHandler) {
+      d6 = (await this.rasterJobHandler.mosaicAndTransform({ srcPixelBlocks: p6, srcMosaicSize: x4, destDimension: null, coefs: null, sampleSpacing: null, interpolation: "nearest", alignmentInfo: null, blockWidths: u5 }, o5)).pixelBlock;
+    } else
+      d6 = T2(p6, x4, { blockWidths: u5 });
+    return { extent: t5, srcExtent: J(t5, this.rasterInfo.spatialReference, o5.datumTransformation), pixelBlock: d6 };
+  }
+  async fetchRawPixels(t5, e4, i5, o5 = {}) {
+    e4 = { x: Math.floor(e4.x), y: Math.floor(e4.y) };
+    const r6 = await this._fetchRawTiles(t5, e4, i5, o5), { nativeExtent: s4, nativePixelSize: a4, storageInfo: l6 } = this.rasterInfo, c10 = 2 ** t5, m8 = a4.x * c10, f9 = a4.y * c10, h3 = new w3({ xmin: s4.xmin + m8 * e4.x, xmax: s4.xmin + m8 * (e4.x + i5.width - 1), ymin: s4.ymax - f9 * (e4.y + i5.height - 1), ymax: s4.ymax - f9 * e4.y, spatialReference: s4.spatialReference });
+    if (!r6)
+      return { extent: h3, srcExtent: h3, pixelBlock: null };
+    const { pixelBlocks: u5, mosaicSize: p6 } = r6;
+    if (1 === u5.length && r(u5[0]) && u5[0].width === i5.width && u5[0].height === i5.height)
+      return { extent: h3, srcExtent: h3, pixelBlock: r6.pixelBlocks[0] };
+    const d6 = t5 > 0 ? l6.pyramidBlockWidth : l6.blockWidth, x4 = t5 > 0 ? l6.pyramidBlockHeight : l6.blockHeight, g4 = { x: e4.x % d6, y: e4.y % x4 };
+    let y5;
+    if (this.rasterJobHandler) {
+      y5 = (await this.rasterJobHandler.mosaicAndTransform({ srcPixelBlocks: u5, srcMosaicSize: p6, destDimension: i5, clipOffset: g4, clipSize: i5, coefs: null, sampleSpacing: null, interpolation: o5.interpolation, alignmentInfo: null, blockWidths: null }, o5)).pixelBlock;
+    } else
+      y5 = T2(u5, p6, { clipOffset: g4, clipSize: i5 });
+    return { extent: h3, srcExtent: h3, pixelBlock: y5 };
+  }
+  fetchRawTile(t5, e4, o5, r6) {
+    throw new s2("BaseRaster:read-not-implemented", "fetchRawTile() is not implemented");
+  }
+  computeExtent(t5) {
+    return J(this.rasterInfo.extent, t5);
+  }
+  decodePixelBlock(t5, e4) {
+    return !this.rasterJobHandler || e4.useCanvas ? S2(t5, e4) : this.rasterJobHandler.decode({ data: t5, options: e4 });
+  }
+  async request(t5, i5, o5 = 0) {
+    var _a;
+    const { customFetchParameters: r6 } = this.ioConfig, { range: n10, query: s4, headers: a4 } = i5;
+    o5 = (_a = o5 != null ? o5 : i5.retryCount) != null ? _a : this.ioConfig.retryCount;
+    const l6 = n10 ? { Range: `bytes=${n10.from}-${n10.to}` } : null;
+    try {
+      return await U(t5, { ...i5, query: { ...s4, ...r6 }, headers: { ...a4, ...l6 } });
+    } catch (c10) {
+      if (o5 > 0)
+        return o5--, this.request(t5, i5, o5);
+      throw c10;
+    }
+  }
+  getSliceIndex(t5) {
+    const { multidimensionalInfo: e4 } = this.rasterInfo;
+    return t(e4) || t(t5) || 0 === t5.length ? null : g3(t5, e4);
+  }
+  getTileExtentFromTileInfo(t5, e4, i5, o5) {
+    const r6 = f(o5.lodAt(t5));
+    return this.getTileExtent({ x: r6.resolution, y: r6.resolution }, e4, i5, o5.origin, o5.spatialReference, o5.size);
+  }
+  updateTileInfo() {
+    const { storageInfo: t5, spatialReference: e4, extent: i5, pixelSize: o5 } = this.rasterInfo;
+    if (!t5.tileInfo) {
+      const r6 = [], n10 = t5.maximumPyramidLevel || 0;
+      let s4 = Math.max(o5.x, o5.y), a4 = 1 / 0.0254 * 96 * s4;
+      for (let t6 = 0; t6 <= n10; t6++)
+        r6.push({ level: n10 - t6, resolution: s4, scale: a4 }), s4 *= 2, a4 *= 2;
+      const l6 = new w2({ x: i5.xmin, y: i5.ymax, spatialReference: e4 });
+      t5.tileInfo = new j2({ origin: l6, size: [t5.blockWidth, t5.blockHeight], spatialReference: e4, lods: r6 }), t5.isVirtualTileInfo = true;
+    }
+  }
+  createRemoteDatasetStorageInfo(t5, e4 = 512, i5 = 512, o5) {
+    const { width: r6, height: n10, nativeExtent: s4, pixelSize: a4, spatialReference: l6 } = t5, c10 = new w2({ x: s4.xmin, y: s4.ymax, spatialReference: l6 });
+    null == o5 && (o5 = Math.max(0, Math.round(Math.log(Math.max(r6, n10)) / Math.LN2 - 8)));
+    const m8 = this.computeBlockBoundary(s4, 512, 512, { x: s4.xmin, y: s4.ymax }, [a4], o5);
+    t5.storageInfo = new n4({ blockWidth: e4, blockHeight: i5, pyramidBlockWidth: e4, pyramidBlockHeight: i5, origin: c10, firstPyramidLevel: 1, maximumPyramidLevel: o5, blockBoundary: m8 });
+  }
+  async computeBestPyramidLevelForLocation(t5, e4 = {}) {
+    return 0;
+  }
+  computeBlockBoundary(t5, e4, i5, o5, r6, n10 = 0, s4 = 2) {
+    if (1 === r6.length && n10 > 0) {
+      r6 = [...r6];
+      let { x: t6, y: e5 } = r6[0];
+      for (let i6 = 0; i6 < n10; i6++)
+        t6 *= s4, e5 *= s4, r6.push({ x: t6, y: e5 });
+    }
+    const a4 = [], { x: l6, y: c10 } = o5;
+    for (let m8 = 0; m8 < r6.length; m8++) {
+      const { x: o6, y: n11 } = r6[m8];
+      a4.push({ minCol: Math.floor((t5.xmin - l6 + 0.1 * o6) / e4 / o6), maxCol: Math.floor((t5.xmax - l6 - 0.1 * o6) / e4 / o6), minRow: Math.floor((c10 - t5.ymax + 0.1 * n11) / i5 / n11), maxRow: Math.floor((c10 - t5.ymin - 0.1 * n11) / i5 / n11) });
+    }
+    return a4;
+  }
+  getPyramidPixelSize(t5) {
+    const { nativePixelSize: e4 } = this.rasterInfo, { pyramidResolutions: i5, pyramidScalingFactor: o5 } = this.rasterInfo.storageInfo;
+    if (0 === t5)
+      return e4;
+    if (r(i5) && i5.length)
+      return i5[t5 - 1];
+    const r6 = o5 ** t5;
+    return { x: e4.x * r6, y: e4.y * r6 };
+  }
+  identifyPixelLocation(t5, e4, i5, o5) {
+    const { spatialReference: r6, nativeExtent: s4, storageInfo: a4 } = this.rasterInfo, { maximumPyramidLevel: l6, origin: c10, transposeInfo: m8 } = a4, f9 = o5 && r(m8) ? m8.tileSize[0] : a4.blockWidth, h3 = o5 && r(m8) ? m8.tileSize[1] : a4.blockHeight, u5 = j4(t5, r6, i5);
+    if (!s4.intersects(u5))
+      return null;
+    if (e4 < 0 || e4 > l6)
+      return null;
+    const p6 = this.getPyramidPixelSize(e4), { x: d6, y: x4 } = p6, g4 = (c10.y - u5.y) / x4 / h3, y5 = (u5.x - c10.x) / d6 / f9, I4 = Math.min(h3 - 1, Math.floor((g4 - Math.floor(g4)) * h3)), R3 = Math.min(f9 - 1, Math.floor((y5 - Math.floor(y5)) * f9));
+    return { pyramidLevel: e4, row: Math.floor(g4), col: Math.floor(y5), rowOffset: I4, colOffset: R3, blockWidth: f9, srcLocation: u5 };
+  }
+  getTileExtent(t5, e4, i5, o5, r6, n10) {
+    const [s4, a4] = n10, l6 = o5.x + i5 * s4 * t5.x, c10 = l6 + s4 * t5.x, m8 = o5.y - e4 * a4 * t5.y, f9 = m8 - a4 * t5.y;
+    return new w3({ xmin: l6, xmax: c10, ymin: f9, ymax: m8, spatialReference: r6 });
+  }
+  getBlockWidthHeight(t5) {
+    return { blockWidth: t5 > 0 ? this.rasterInfo.storageInfo.pyramidBlockWidth : this.rasterInfo.storageInfo.blockWidth, blockHeight: t5 > 0 ? this.rasterInfo.storageInfo.pyramidBlockHeight : this.rasterInfo.storageInfo.blockHeight };
+  }
+  isBlockOutside(t5, e4, i5) {
+    const o5 = this.rasterInfo.storageInfo.blockBoundary[t5];
+    return !o5 || o5.maxRow < e4 || o5.maxCol < i5 || o5.minRow > e4 || o5.minCol > i5;
+  }
+  async _fetchPixels(t5, e4, i5, o5 = {}) {
+    let r6 = Q(t5);
+    if (r6 >= 2)
+      return { extent: t5, pixelBlock: null };
+    const a4 = this._getSourceDataInfo(t5, e4, i5, o5), { pyramidLevel: l6, pyramidResolution: c10, srcResolution: m8, srcExtent: f9, srcWidth: h3, srcHeight: u5 } = a4;
+    if (0 === h3 || 0 === u5)
+      return { extent: t5, srcExtent: f9, pixelBlock: null };
+    const p6 = e2(this.rasterInfo.transform), d6 = "gcs-shift" === (p6 == null ? void 0 : p6.type), x4 = r(U2(t5.spatialReference));
+    !d6 && x4 || (r6 = Q(a4.srcExtent, d6));
+    const g4 = this.rasterInfo.storageInfo, y5 = { x: Math.floor((f9.xmin - g4.origin.x) / c10.x + 0.1), y: Math.floor((g4.origin.y - f9.ymax) / c10.y + 0.1) }, I4 = await this._fetchRawTiles(l6, y5, { width: h3, height: u5, wrapCount: r6 }, o5);
+    if (!I4)
+      return { extent: t5, srcExtent: f9, pixelBlock: null };
+    const R3 = l6 > 0 ? g4.pyramidBlockWidth : g4.blockWidth, w7 = l6 > 0 ? g4.pyramidBlockHeight : g4.blockHeight, k3 = R3 === h3 && w7 === u5 && y5.x % R3 == 0 && y5.y % w7 == 0, b5 = new w2({ x: (t5.xmax - t5.xmin) / e4, y: (t5.ymax - t5.ymin) / i5, spatialReference: t5.spatialReference }), v5 = !t5.spatialReference.equals(this.rasterInfo.spatialReference), { datumTransformation: S4 } = o5;
+    if (!v5 && k3 && 1 === I4.pixelBlocks.length && R3 === e4 && w7 === i5 && m8.x === b5.x && m8.y === b5.y)
+      return { extent: t5, srcExtent: f9, pixelBlock: I4.pixelBlocks[0] };
+    const T5 = x4 && r(U2(f9.spatialReference)), B = o5.requestProjectedLocalDirections && this.rasterInfo.dataType.startsWith("vector");
+    B && !this.rasterJobHandler && await T3();
+    const P2 = this.rasterJobHandler ? await this.rasterJobHandler.getProjectionOffsetGrid({ projectedExtent: t5, srcBufferExtent: I4.extent, pixelSize: b5.toJSON(), datumTransformation: S4, rasterTransform: p6, hasWrapAround: r6 > 0 || T5, isAdaptive: false !== this.ioConfig.optimizeProjectionAccuracy, includeGCSGrid: B }, o5) : $({ projectedExtent: t5, srcBufferExtent: I4.extent, pixelSize: b5, datumTransformation: S4, rasterTransform: p6, hasWrapAround: r6 > 0 || T5, isAdaptive: false, includeGCSGrid: B });
+    let H;
+    const E3 = !o5.requestRawData, L2 = { rows: P2.spacing[0], cols: P2.spacing[1] }, z2 = e2(this._getRasterTileAlignmentInfo(l6, I4.extent.xmin)), { pixelBlocks: F3, mosaicSize: O3, isPartiallyFilled: G2 } = I4;
+    let J3 = null;
+    if (this.rasterJobHandler) {
+      const t6 = await this.rasterJobHandler.mosaicAndTransform({ srcPixelBlocks: F3, srcMosaicSize: O3, destDimension: E3 ? { width: e4, height: i5 } : null, coefs: E3 ? P2.coefficients : null, sampleSpacing: E3 ? L2 : null, projectDirections: B, gcsGrid: B ? P2.gcsGrid : null, isUV: "vector-uv" === this.rasterInfo.dataType, interpolation: o5.interpolation, alignmentInfo: z2, blockWidths: null }, o5);
+      ({ pixelBlock: H, localNorthDirections: J3 } = t6);
+    } else {
+      const t6 = T2(F3, O3, { alignmentInfo: z2 });
+      H = E3 ? D2(t6, { width: e4, height: i5 }, P2.coefficients, L2, o5.interpolation) : t6, B && P2.gcsGrid && (J3 = j3({ width: e4, height: i5 }, P2.gcsGrid), H = m2(H, this.rasterInfo.dataType, J3));
+    }
+    return o5.requestRawData || B ? { srcExtent: f9, pixelBlock: H, transformGrid: P2, localNorthDirections: J3, extent: t5, isPartiallyFilled: G2 } : { srcExtent: f9, extent: t5, pixelBlock: H };
+  }
+  async _fetchRawTiles(t5, e4, i5, o5) {
+    const { origin: r6, blockBoundary: s4 } = this.rasterInfo.storageInfo, { blockWidth: a4, blockHeight: l6 } = this.getBlockWidthHeight(t5);
+    let { x: c10, y: m8 } = e4, { width: f9, height: h3, wrapCount: u5 } = i5;
+    const p6 = this._getRasterTileAlignmentInfo(t5, 0);
+    o5.buffer && (c10 -= o5.buffer.cols, m8 -= o5.buffer.rows, f9 += 2 * o5.buffer.cols, h3 += 2 * o5.buffer.rows);
+    let d6 = 0, x4 = 0, g4 = 0;
+    if (u5 && r(p6)) {
+      ({ worldColumnCountFromOrigin: x4, originColumnOffset: g4, rightPadding: d6 } = p6);
+      x4 * p6.blockWidth - d6 >= c10 + f9 && (d6 = 0);
+    }
+    const y5 = Math.floor(c10 / a4), I4 = Math.floor(m8 / l6), R3 = Math.floor((c10 + f9 + d6 - 1) / a4), w7 = Math.floor((m8 + h3 + d6 - 1) / l6), k3 = s4[t5];
+    if (!k3)
+      return null;
+    const { minRow: b5, minCol: v5, maxCol: S4, maxRow: T5 } = k3;
+    if (0 === u5 && (w7 < b5 || R3 < v5 || I4 > T5 || y5 > S4))
+      return null;
+    const B = new Array();
+    let P2 = false;
+    const W2 = null == this.ioConfig.allowPartialFill ? o5.allowPartialFill : this.ioConfig.allowPartialFill;
+    for (let L2 = I4; L2 <= w7; L2++)
+      for (let e5 = y5; e5 <= R3; e5++) {
+        let i6 = e5;
+        if (!o5.disableWrapAround && u5 && r(p6) && x4 <= e5 && (i6 = e5 - x4 - g4), L2 >= b5 && i6 >= v5 && T5 >= L2 && S4 >= i6) {
+          const e6 = this._fetchRawTile(t5, L2, i6, o5);
+          W2 ? B.push(new Promise((t6) => {
+            e6.then((e7) => t6(e7)).catch(() => {
+              P2 = true, t6(null);
+            });
+          })) : B.push(e6);
+        } else
+          B.push(Promise.resolve(null));
+      }
+    if (0 === B.length)
+      return null;
+    const M = await Promise.all(B), C2 = { height: (w7 - I4 + 1) * l6, width: (R3 - y5 + 1) * a4 }, { spatialReference: _ } = this.rasterInfo, j6 = this.getPyramidPixelSize(t5), { x: H, y: E3 } = j6;
+    return { extent: new w3({ xmin: r6.x + y5 * a4 * H, xmax: r6.x + (R3 + 1) * a4 * H, ymin: r6.y - (w7 + 1) * l6 * E3, ymax: r6.y - I4 * l6 * E3, spatialReference: _ }), pixelBlocks: M, mosaicSize: C2, isPartiallyFilled: P2 };
+  }
+  _fetchRawTile(t5, e4, i5, o5) {
+    const r6 = this.rasterInfo.storageInfo.blockBoundary[t5];
+    if (!r6)
+      return Promise.resolve(null);
+    const { minRow: n10, minCol: s4, maxCol: l6, maxRow: c10 } = r6;
+    if (e4 < n10 || i5 < s4 || e4 > c10 || i5 > l6)
+      return Promise.resolve(null);
+    const f9 = a3(this.url, o5.sliceId), h3 = `${t5}/${e4}/${i5}`;
+    let u5 = x2(f9, o5.registryId, h3);
+    if (t(u5)) {
+      const r7 = new AbortController();
+      u5 = this.fetchRawTile(t5, e4, i5, { ...o5, signal: r7.signal }), h(f9, o5.registryId, h3, u5, r7), u5.catch(() => d3(f9, o5.registryId, h3));
+    }
+    return o5.signal && v(o5, () => {
+      m6(f9, o5.registryId, h3);
+    }), u5;
+  }
+  _computeMagDirValues(t5) {
+    var _a;
+    const { bandCount: e4, dataType: i5 } = this.rasterInfo;
+    if (!(2 === e4 && "vector-magdir" === i5 || "vector-uv" === i5) || 2 !== (t5 == null ? void 0 : t5.length) || !((_a = t5[0]) == null ? void 0 : _a.length))
+      return null;
+    const o5 = t5[0].length;
+    if ("vector-magdir" === i5) {
+      const e5 = t5[1].map((t6) => (t6 + 360) % 360);
+      return [t5[0], e5];
+    }
+    const [r6, n10] = t5, s4 = [], a4 = [];
+    for (let l6 = 0; l6 < o5; l6++) {
+      const [t6, e5] = f2([r6[l6], n10[l6]]);
+      s4.push(t6), a4.push(e5);
+    }
+    return [s4, a4];
+  }
+  _getRasterTileAlignmentInfo(t5, e4) {
+    return null == this._rasterTileAlighmentInfo && (this._rasterTileAlighmentInfo = V(this.rasterInfo)), t(this._rasterTileAlighmentInfo.pyramidsInfo) ? null : { startX: e4, halfWorldWidth: this._rasterTileAlighmentInfo.halfWorldWidth, hasGCSSShiftTransform: this._rasterTileAlighmentInfo.hasGCSSShiftTransform, ...this._rasterTileAlighmentInfo.pyramidsInfo[t5] };
+  }
+  _getSourceDataInfo(t5, e4, i5, o5 = {}) {
+    const r6 = { datumTransformation: o5.datumTransformation, pyramidLevel: 0, pyramidResolution: null, srcExtent: null, srcHeight: 0, srcResolution: null, srcWidth: 0 };
+    o5.srcResolution && (r6.srcResolution = o5.srcResolution, this._updateSourceDataInfo(t5, r6));
+    const n10 = this.rasterInfo.storageInfo.maximumPyramidLevel || 0, { srcWidth: s4, srcHeight: a4, pyramidLevel: l6 } = r6, c10 = s4 / e4, m8 = a4 / i5, f9 = l6 < n10 && c10 * m8 >= 16;
+    if (f9 || l6 === n10 && (c10 > V3 || m8 > V3) || (0 === s4 || 0 === a4)) {
+      const s5 = new w2({ x: (t5.xmax - t5.xmin) / e4, y: (t5.ymax - t5.ymin) / i5, spatialReference: t5.spatialReference });
+      let a5 = C(s5, this.rasterInfo.spatialReference, t5, r6.datumTransformation);
+      const h3 = !a5 || o5.srcResolution && a5.x + a5.y < o5.srcResolution.x + o5.srcResolution.y;
+      if (f9 && o5.srcResolution && h3) {
+        const t6 = Math.round(Math.log(Math.max(c10, m8)) / Math.LN2) - 1;
+        if (n10 - l6 + 3 >= t6) {
+          const e5 = 2 ** t6;
+          a5 = { x: o5.srcResolution.x * e5, y: o5.srcResolution.y * e5 };
+        }
+      }
+      a5 && (r6.srcResolution = a5, this._updateSourceDataInfo(t5, r6));
+    }
+    return (r6.srcWidth / e4 > V3 || r6.srcHeight / i5 > V3) && (r6.srcWidth = 0, r6.srcHeight = 0), r6;
+  }
+  _updateSourceDataInfo(t5, e4) {
+    e4.srcWidth = 0, e4.srcHeight = 0;
+    const i5 = this.rasterInfo.spatialReference, { srcResolution: o5, datumTransformation: r6 } = e4, { pyramidLevel: n10, pyramidResolution: a4, excessiveReading: l6 } = oe(o5, this.rasterInfo, this.ioConfig.sampling);
+    if (l6)
+      return;
+    let c10 = e4.srcExtent || J(t5, i5, r6);
+    if (null == c10)
+      return;
+    const m8 = e2(this.rasterInfo.transform);
+    m8 && (c10 = m8.inverseTransform(c10)), e4.srcExtent = c10;
+    const f9 = Math.ceil((c10.xmax - c10.xmin) / a4.x - 0.1), h3 = Math.ceil((c10.ymax - c10.ymin) / a4.y - 0.1);
+    e4.pyramidLevel = n10, e4.pyramidResolution = a4, e4.srcWidth = f9, e4.srcHeight = h3;
+  }
+  _getRequestOptionsWithSliceId(t5) {
+    return r(this.rasterInfo.multidimensionalInfo) && null == t5.sliceId && (t5 = { ...t5, sliceId: this.getSliceIndex(t5.multidimensionalDefinition) }), t5;
+  }
+  _processIdentifyResult(t5, e4) {
+    const { srcLocation: i5, position: o5, pyramidLevel: r6, useTransposedTile: n10 } = e4, l6 = t5.pixels[0].length / t5.width / t5.height;
+    if (!(!t5.mask || t5.mask[o5]))
+      return { location: i5, value: null };
+    const { multidimensionalInfo: c10 } = this.rasterInfo;
+    if (t(c10) || !n10) {
+      const e5 = t5.pixels.map((t6) => t6[o5]), n11 = { location: i5, value: e5, pyramidLevel: r6 }, s4 = this._computeMagDirValues(e5.map((t6) => [t6]));
+      return (s4 == null ? void 0 : s4.length) && (n11.magdirValue = s4.map((t6) => t6[0])), n11;
+    }
+    let m8 = t5.pixels.map((t6) => Array.prototype.slice.call(t6, o5 * l6, o5 * l6 + l6)), f9 = this._computeMagDirValues(m8);
+    const { requestSomeSlices: h3, identifyOptions: u5 } = e4;
+    let p6 = i3(c10, u5.transposedVariableName);
+    if (h3) {
+      const t6 = s3(p6, e2(u5.multidimensionalDefinition), e2(u5.timeExtent));
+      m8 = m8.map((e5) => t6.map((t7) => e5[t7])), f9 = f9 == null ? void 0 : f9.map((e5) => t6.map((t7) => e5[t7])), p6 = t6.map((t7) => p6[t7]);
+    }
+    return { location: i5, value: null, dataSeries: p6.map((t6, e5) => {
+      const i6 = { value: m8.map((t7) => t7[e5]), multidimensionalDefinition: t6.multidimensionalDefinition.map((t7) => new p4({ ...t7, isSlice: true })) };
+      return (f9 == null ? void 0 : f9.length) && (i6.magdirValue = [f9[0][e5], f9[1][e5]]), i6;
+    }), pyramidLevel: r6 };
+  }
+};
+e([y()], $3.prototype, "_rasterTileAlighmentInfo", void 0), e([y({ readOnly: true })], $3.prototype, "_isGlobalWrappableSource", null), e([y(f5)], $3.prototype, "url", null), e([y({ type: String, json: { write: true } })], $3.prototype, "datasetName", void 0), e([y({ type: String, json: { write: true } })], $3.prototype, "datasetFormat", void 0), e([y()], $3.prototype, "rasterInfo", void 0), e([y()], $3.prototype, "ioConfig", void 0), e([y()], $3.prototype, "sourceJSON", void 0), $3 = e([n("esri.layers.support.rasterDatasets.BaseRaster")], $3);
+var U3 = $3;
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/FunctionRaster.js
+var n7 = class extends U3 {
+  constructor() {
+    super(...arguments), this.datasetFormat = "Function", this.tileType = "Raster", this.rasterFunction = null, this._primaryRasters = null;
+  }
+  async open(r6) {
+    var _a;
+    await this.init();
+    const { rasterFunction: s4 } = this, { rasters: e4, rasterIds: o5 } = s4.getPrimaryRasters(), a4 = e4.map((t5) => t5.rasterInfo ? void 0 : t5.open(r6));
+    await Promise.all(a4);
+    const i5 = e4.map(({ rasterInfo: r7 }) => r7), n10 = s4.bind({ rasterInfos: i5, rasterIds: o5 });
+    if (!n10.success)
+      throw new s2("raster-function:open", `cannot bind the function: ${(_a = n10.error) != null ? _a : ""}`);
+    await this.syncJobHandler(), this.set("sourceJSON", e4[0].sourceJSON), this.set("rasterInfo", s4.rasterInfo);
+  }
+  async syncJobHandler() {
+    const { rasterFunction: r6 } = this;
+    if (this._primaryRasters = r6.getPrimaryRasters(), this.rasterJobHandler)
+      return this.rasterJobHandler.updateRasterFunction(r6);
+  }
+  async fetchPixels(r6, t5, o5, a4 = {}) {
+    var _a, _b;
+    const { rasters: i5, rasterIds: n10 } = this._primaryRasters, c10 = i5.map((s4) => s4.fetchPixels(r6, t5, o5, a4)), p6 = await Promise.all(c10), l6 = p6.map((r7) => r7.pixelBlock);
+    if (l6.every((r7) => t(r7)))
+      return p6[0];
+    const m8 = (_b = (_a = p6.find((r7) => r(r7.pixelBlock))) == null ? void 0 : _a.extent) != null ? _b : r6, u5 = this.rasterJobHandler ? await this.rasterJobHandler.process({ extent: m8, primaryPixelBlocks: l6, primaryRasterIds: n10 }) : this.rasterFunction.process({ extent: m8, primaryPixelBlocks: l6, primaryRasterIds: n10 });
+    return { ...p6[0], pixelBlock: u5 };
+  }
+};
+e([y({ type: String, json: { write: true } })], n7.prototype, "datasetFormat", void 0), e([y()], n7.prototype, "tileType", void 0), e([y()], n7.prototype, "rasterFunction", void 0), n7 = e([n("esri.layers.support.rasterDatasets.FunctionRaster")], n7);
+var c7 = n7;
+
+// node_modules/@arcgis/core/layers/mixins/ImageryTileMixin.js
+var w5 = s.getLogger("esri.layers.mixins.ImageryTileMixin");
+var N2 = (s4) => {
+  let N4 = class extends s4 {
+    constructor() {
+      super(...arguments), this._rasterJobHandler = { instance: null, refCount: 0, connectionPromise: null }, this.bandIds = null, this.copyright = null, this.interpolation = "nearest", this.multidimensionalDefinition = null, this.multidimensionalSubset = null, this.raster = null, this.rasterFunction = null, this.sourceJSON = null, this.symbolizer = null;
+    }
+    get fullExtent() {
+      var _a;
+      return (_a = this.rasterInfo) == null ? void 0 : _a.extent;
+    }
+    get rasterInfo() {
+      var _a;
+      return (_a = this.raster) == null ? void 0 : _a.rasterInfo;
+    }
+    get spatialReference() {
+      var _a, _b;
+      return (_b = (_a = this.rasterInfo) == null ? void 0 : _a.spatialReference) != null ? _b : k.WGS84;
+    }
+    get tileInfo() {
+      var _a;
+      return (_a = this.rasterInfo) == null ? void 0 : _a.storageInfo.tileInfo;
+    }
+    set url(e4) {
+      this._set("url", S(e4, w5));
+    }
+    set renderer(e4) {
+      this._set("renderer", e4), this.updateRenderer();
+    }
+    async convertVectorFieldData(e4, t5) {
+      if (t(e4) || !this.rasterInfo)
+        return null;
+      const r6 = this._rasterJobHandler.instance, i5 = this.rasterInfo.dataType;
+      return r6 ? r6.convertVectorFieldData({ pixelBlock: e4, dataType: i5 }, t5) : d(e4, i5);
+    }
+    async createFlowMesh(e4, t5) {
+      const r6 = this._rasterJobHandler.instance;
+      return r6 ? r6.createFlowMesh(e4, t5) : f4(e4.meshType, e4.simulationSettings, e4.flowData, r(t5.signal) ? t5.signal : new AbortController().signal);
+    }
+    normalizeRasterFetchOptions(e4) {
+      var _a, _b, _c;
+      const { multidimensionalInfo: t5 } = (_a = this.rasterInfo) != null ? _a : {};
+      if (t(t5))
+        return e4;
+      let r6 = e4.multidimensionalDefinition || this.multidimensionalDefinition;
+      !t(r6) && r6.length || (r6 = c6(this.raster.rasterInfo, { multidimensionalSubset: this.multidimensionalSubset }));
+      const i5 = e4.timeExtent || this.timeExtent;
+      if (r(r6) && r(i5) && (r(i5.start) || r(i5.end))) {
+        r6 = r6.map((e5) => e5.clone());
+        const s5 = (_c = (_b = t5.variables.find(({ name: e5 }) => e5 === r6[0].variableName)) == null ? void 0 : _b.dimensions) == null ? void 0 : _c.find(({ name: e5 }) => "StdTime" === e5), a4 = r6.find(({ dimensionName: e5 }) => "StdTime" === e5);
+        if (!s5 || !a4)
+          return { ...e4, multidimensionalDefinition: null };
+        const { start: l6, end: m8 } = i5, u5 = t(l6) ? null : l6.getTime(), d6 = t(m8) ? null : m8.getTime(), h3 = u5 != null ? u5 : d6, c10 = d6 != null ? d6 : u5;
+        if (r(s5.values)) {
+          const e5 = s5.values.filter((e6) => {
+            if (Array.isArray(e6)) {
+              if (h3 === c10)
+                return e6[0] <= h3 && e6[1] >= h3;
+              const t6 = e6[0] <= h3 && e6[1] > h3 || e6[0] < c10 && e6[1] >= c10, r7 = e6[0] >= h3 && e6[1] <= c10 || e6[0] < h3 && e6[1] > c10;
+              return t6 || r7;
+            }
+            return h3 === c10 ? e6 === h3 : e6 >= h3 && e6 <= c10;
+          });
+          if (e5.length) {
+            const t6 = e5.sort((e6, t7) => {
+              var _a2, _b2, _c2, _d;
+              if (h3 === c10)
+                return ((_a2 = e6[0]) != null ? _a2 : e6) - ((_b2 = t7[0]) != null ? _b2 : t7);
+              return Math.abs(((_c2 = e6[1]) != null ? _c2 : e6) - c10) - Math.abs(((_d = t7[1]) != null ? _d : t7) - c10);
+            })[0];
+            a4.values = [t6];
+          } else
+            r6 = null;
+        } else if (s5.hasRegularIntervals && s5.extent) {
+          const [e5, t6] = s5.extent;
+          h3 > t6 || c10 < e5 ? r6 = null : a4.values = h3 === c10 ? [h3] : [Math.max(e5, h3), Math.min(t6, c10)];
+        }
+      }
+      return r(r6) && m4(r6, this.multidimensionalSubset) ? { ...e4, multidimensionalDefinition: null } : { ...e4, multidimensionalDefinition: r6 };
+    }
+    async updateRenderer() {
+      const { loaded: e4, symbolizer: t5 } = this;
+      if (!e4 || !t5)
+        return;
+      if (JSON.stringify(this._cachedRendererJson) === JSON.stringify(this.renderer))
+        return;
+      const r6 = this._rasterJobHandler.instance;
+      r6 && (t5.rendererJSON = $2(this.renderer.toJSON()), t5.bind(), await r6.updateSymbolizer(t5), this._cachedRendererJson = this.renderer.toJSON());
+    }
+    async applyRenderer(e4, t5) {
+      var _a;
+      const r6 = e4 && e4.pixelBlock;
+      if (!(r(r6) && r6.pixels && r6.pixels.length > 0))
+        return null;
+      let i5;
+      await this.updateRenderer();
+      const s5 = this._rasterJobHandler.instance, n10 = (_a = this.bandIds) != null ? _a : [];
+      return i5 = s5 ? await s5.symbolize({ ...e4, simpleStretchParams: t5, bandIds: n10 }) : this.symbolizer.symbolize({ ...e4, simpleStretchParams: t5, bandIds: n10 }), i5;
+    }
+    getTileUrl(e4, t5, r6) {
+      var _a;
+      return "RasterTileServer" === ((_a = this.raster) == null ? void 0 : _a.datasetFormat) ? `${this.url}/tile/${e4}/${t5}/${r6}` : "";
+    }
+    getCompatibleTileInfo(e4, t5, r6 = false) {
+      if (!this.loaded || t(t5))
+        return null;
+      if (r6 && e4.equals(this.spatialReference))
+        return this.tileInfo;
+      const i5 = R(e4);
+      return j2.create({ size: 256, spatialReference: e4, origin: i5 ? { x: i5.origin[0], y: i5.origin[1] } : { x: t5.xmin, y: t5.ymax } });
+    }
+    getCompatibleFullExtent(e4) {
+      return this.loaded ? (this._compatibleFullExtent && this._compatibleFullExtent.spatialReference.equals(e4) || (this._compatibleFullExtent = this.raster.computeExtent(e4)), this._compatibleFullExtent) : null;
+    }
+    async fetchTile(e4, t5, i5, s5 = {}) {
+      if (O3(this), s5.requestAsImageElement) {
+        const n10 = this.getTileUrl(e4, t5, i5);
+        return U(n10, { responseType: "image", query: { ...this.refreshParameters, ...this.raster.ioConfig.customFetchParameters }, signal: s5.signal }).then((e5) => e5.data);
+      }
+      if (r(this.rasterInfo.multidimensionalInfo) && (s5 = this.normalizeRasterFetchOptions(s5), t(s5.multidimensionalDefinition))) {
+        const r6 = s5.tileInfo || this.rasterInfo.storageInfo.tileInfo;
+        return { extent: this.raster.getTileExtentFromTileInfo(e4, t5, i5, r6), pixelBlock: null };
+      }
+      return await this._initJobHandler(), await this._updateRasterFunction(), "raster-shaded-relief" === this.renderer.type && (s5 = { ...s5, buffer: { cols: 1, rows: 1 } }), this.raster.fetchTile(e4, t5, i5, s5);
+    }
+    async fetchPixels(e4, t5, r6, i5 = {}) {
+      return r(this.rasterInfo.multidimensionalInfo) && (i5 = this.normalizeRasterFetchOptions(i5), t(i5.multidimensionalDefinition)) ? { extent: e4, pixelBlock: null } : (await this._initJobHandler(), await this._updateRasterFunction(), this.raster.fetchPixels(e4, t5, r6, i5));
+    }
+    async identify(e4, t5 = {}) {
+      if (O3(this), r(this.rasterInfo.multidimensionalInfo)) {
+        if (!(this.rasterInfo.hasMultidimensionalTranspose && !!(f6(t5.multidimensionalDefinition) || t5.transposedVariableName || t5.timeExtent)) && (t5 = this.normalizeRasterFetchOptions(t5), t(t5.multidimensionalDefinition)))
+          return { location: e4, value: null };
+      }
+      return this.raster.identify(e4, t5);
+    }
+    increaseRasterJobHandlerUsage() {
+      this._rasterJobHandler.refCount++;
+    }
+    decreaseRasterJobHandlerUsage() {
+      this._rasterJobHandler.refCount--, this._rasterJobHandler.refCount <= 0 && this._shutdownJobHandler();
+    }
+    hasStandardTime() {
+      var _a, _b, _c;
+      const e4 = (_a = this.rasterInfo) == null ? void 0 : _a.multidimensionalInfo;
+      if (t(e4) || "standard-time" !== ((_b = this.rasterInfo) == null ? void 0 : _b.dataType))
+        return false;
+      const t5 = this.multidimensionalDefinition, r6 = (_c = t5 == null ? void 0 : t5[0]) == null ? void 0 : _c.variableName;
+      return e4.variables.some((e5) => e5.name === r6 && (!(t5 == null ? void 0 : t5[0].dimensionName) || e5.dimensions.some((e6) => "StdTime" === e6.name)));
+    }
+    getStandardTimeValue(e4) {
+      return new Date(24 * (e4 - 25569) * 3600 * 1e3).toString();
+    }
+    getMultidimensionalSubsetVariables(e4) {
+      const t5 = e4 != null ? e4 : this.rasterInfo.multidimensionalInfo;
+      return d2(this.multidimensionalSubset, t5);
+    }
+    _configDefaultSettings() {
+      this._configDefaultInterpolation(), this.multidimensionalDefinition || (this.multidimensionalDefinition = c6(this.raster.rasterInfo, { multidimensionalSubset: this.multidimensionalSubset })), this._configDefaultRenderer();
+    }
+    _initJobHandler() {
+      if (null != this._rasterJobHandler.connectionPromise)
+        return this._rasterJobHandler.connectionPromise;
+      const e4 = new n5();
+      return this._rasterJobHandler.connectionPromise = e4.initialize().then(() => {
+        O3(this), this._rasterJobHandler.instance = e4, this.raster.rasterJobHandler = e4, this.renderer && this.updateRenderer(), "Function" === this.raster.datasetFormat && this.raster.syncJobHandler();
+      }).catch(() => {
+      }), this._rasterJobHandler.connectionPromise;
+    }
+    _shutdownJobHandler() {
+      this._rasterJobHandler.instance && this._rasterJobHandler.instance.destroy(), this._rasterJobHandler.instance = null, this._rasterJobHandler.connectionPromise = null, this._rasterJobHandler.refCount = 0, this._cachedRendererJson = null, this.raster && (this.raster.rasterJobHandler = null);
+    }
+    _configDefaultInterpolation() {
+      var _a;
+      if (null == this.interpolation) {
+        O3(this);
+        const e4 = V2(this.rasterInfo, this.raster.tileType, (_a = this.sourceJSON) == null ? void 0 : _a.defaultResamplingMethod);
+        this._set("interpolation", e4);
+      }
+    }
+    _configDefaultRenderer() {
+      var _a, _b, _c, _d, _e;
+      O3(this);
+      const e4 = this.raster.rasterInfo;
+      if (this.bandIds || (this.bandIds = L(e4)), !this.renderer) {
+        const t6 = j5(e4, { bandIds: this.bandIds, variableName: r(this.multidimensionalDefinition) ? (_a = this.multidimensionalDefinition[0]) == null ? void 0 : _a.variableName : null });
+        "WCSServer" === this.raster.datasetFormat && "raster-stretch" === t6.type && (((_c = (_b = e4.statistics) == null ? void 0 : _b[0].max) != null ? _c : 0) > 1e24 || ((_e = (_d = e4.statistics) == null ? void 0 : _d[0].min) != null ? _e : 0) < -1e24) && (t6.dynamicRangeAdjustment = true, t6.statistics = null, "none" === t6.stretchType && (t6.stretchType = "min-max")), this.renderer = t6;
+      }
+      this.symbolizer ? (this.symbolizer.rendererJSON = $2(this.renderer.toJSON()), this.symbolizer.rasterInfo = e4) : this.symbolizer = new T4({ rendererJSON: this.renderer.toJSON(), rasterInfo: e4 });
+      const t5 = this.symbolizer.bind();
+      t5.success || w5.warn("imagery-tile-mixin", t5.error || "The given renderer is not supported by the layer.");
+    }
+    async _updateRasterFunction() {
+      var _a;
+      if ("imagery-tile" !== this.type || JSON.stringify(this.rasterFunction) === JSON.stringify(this._cachedRasterFunctionJson))
+        return;
+      let e4 = this.raster;
+      if ("Function" === (e4 == null ? void 0 : e4.datasetFormat)) {
+        const t6 = e4.rasterFunction.getPrimaryRasters();
+        e4 = t6.rasters[0];
+      }
+      const { rasterFunction: t5 } = this;
+      if (t5) {
+        const r6 = l3(t5.toJSON(), { raster: e4 }), i5 = new c7({ rasterFunction: r6 });
+        i5.rasterJobHandler = this._rasterJobHandler.instance, await i5.open(), this._cachedRasterFunctionJson = (_a = this.rasterFunction) == null ? void 0 : _a.toJSON(), this.raster = i5;
+      } else
+        this.raster = e4;
+    }
+  };
+  function O3(e4) {
+    if (!e4.raster || !e4.rasterInfo)
+      throw new s2("imagery-tile", "no raster");
+  }
+  return e([y()], N4.prototype, "_cachedRendererJson", void 0), e([y()], N4.prototype, "_cachedRasterFunctionJson", void 0), e([y()], N4.prototype, "_compatibleFullExtent", void 0), e([y()], N4.prototype, "_rasterJobHandler", void 0), e([y()], N4.prototype, "bandIds", void 0), e([y({ json: { origins: { service: { read: { source: "copyrightText" } } } } })], N4.prototype, "copyright", void 0), e([y({ json: { read: false } })], N4.prototype, "fullExtent", null), e([y()], N4.prototype, "interpolation", void 0), e([y()], N4.prototype, "ioConfig", void 0), e([y({ type: [p4] })], N4.prototype, "multidimensionalDefinition", void 0), e([y({ type: c5, json: { write: true } })], N4.prototype, "multidimensionalSubset", void 0), e([y()], N4.prototype, "raster", void 0), e([y({ type: w4 })], N4.prototype, "rasterFunction", void 0), e([y()], N4.prototype, "rasterInfo", null), e([y()], N4.prototype, "sourceJSON", void 0), e([y({ json: { read: false } })], N4.prototype, "spatialReference", null), e([y({ json: { read: false } })], N4.prototype, "tileInfo", null), e([y(f5)], N4.prototype, "url", null), e([y({ types: l4 })], N4.prototype, "renderer", null), e([y()], N4.prototype, "symbolizer", void 0), N4 = e([n("esri.layers.ImageryTileMixin")], N4), N4;
+};
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/DBFParser.js
+function t3(e4) {
+  const t5 = e4.fields, r6 = e4.records, n10 = t5.some((e5) => "oid" === e5.name.toLowerCase()) ? "OBJECTID" : "OID", i5 = [{ name: n10, type: "esriFieldTypeOID", alias: "OID" }].concat(t5.map((e5) => ({ name: e5.name, type: "esriFieldType" + e5.typeName, alias: e5.name }))), s4 = i5.map((e5) => e5.name), a4 = [];
+  let o5 = 0, l6 = 0;
+  return r6.forEach((e5) => {
+    const t6 = {};
+    for (t6[n10] = o5++, l6 = 1; l6 < s4.length; l6++)
+      t6[s4[l6]] = e5[l6 - 1];
+    a4.push({ attributes: t6 });
+  }), { displayFieldName: "", fields: i5, features: a4 };
+}
+var r5 = class {
+  static get supportedVersions() {
+    return [5];
+  }
+  static parse(r6) {
+    const n10 = new DataView(r6), i5 = 3 & n10.getUint8(0);
+    if (3 !== i5)
+      return { header: { version: i5 }, recordSet: null };
+    const s4 = n10.getUint32(4, true), a4 = n10.getUint16(8, true), o5 = n10.getUint16(10, true), l6 = { version: i5, recordCount: s4, headerByteCount: a4, recordByteCount: o5 };
+    let p6 = 32;
+    const g4 = [], u5 = [];
+    let d6;
+    if (3 === i5) {
+      for (; 13 !== n10.getUint8(p6); )
+        d6 = String.fromCharCode(n10.getUint8(p6 + 11)).trim(), g4.push({ name: r3(new Uint8Array(r6, p6, 11)), type: d6, typeName: ["String", "Date", "Double", "Boolean", "String", "Integer"][["C", "D", "F", "L", "M", "N"].indexOf(d6)], length: n10.getUint8(p6 + 16) }), p6 += 32;
+      if (p6 += 1, g4.length > 0)
+        for (; u5.length < s4 && r6.byteLength - p6 > o5; ) {
+          const t5 = [];
+          32 === n10.getUint8(p6) ? (p6 += 1, g4.forEach((n11) => {
+            if ("C" === n11.type)
+              t5.push(r3(new Uint8Array(r6, p6, n11.length)).trim());
+            else if ("N" === n11.type)
+              t5.push(parseInt(String.fromCharCode.apply(null, new Uint8Array(r6, p6, n11.length)).trim(), 10));
+            else if ("F" === n11.type)
+              t5.push(parseFloat(String.fromCharCode.apply(null, new Uint8Array(r6, p6, n11.length)).trim()));
+            else if ("D" === n11.type) {
+              const e4 = String.fromCharCode.apply(null, new Uint8Array(r6, p6, n11.length)).trim();
+              t5.push(new Date(parseInt(e4.substring(0, 4), 10), parseInt(e4.substring(4, 6), 10) - 1, parseInt(e4.substring(6, 8), 10)));
+            }
+            p6 += n11.length;
+          }), u5.push(t5)) : p6 += o5;
+        }
+    }
+    return { header: l6, fields: g4, records: u5, recordSet: t3({ fields: g4, records: u5 }) };
+  }
+};
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/CloudRaster.js
+var y3 = /* @__PURE__ */ new Map();
+y3.set("int16", "esriFieldTypeSmallInteger"), y3.set("int32", "esriFieldTypeInteger"), y3.set("int64", "esriFieldTypeInteger"), y3.set("float32", "esriFieldTypeSingle"), y3.set("float64", "esriFieldTypeDouble"), y3.set("text", "esriFieldTypeString");
+var x3 = 8;
+var S3 = class extends U3 {
+  constructor() {
+    super(...arguments), this.storageInfo = null, this.datasetFormat = "CRF";
+  }
+  async open(e4) {
+    await this.init();
+    const { data: r6 } = await this.request(this.url + "/conf.json", { signal: e4 == null ? void 0 : e4.signal });
+    if (!this._validateHeader(r6))
+      throw new s2("cloudraster:open", "Invalid or unsupported conf.json.");
+    this.datasetName = this.url.slice(this.url.lastIndexOf("/") + 1);
+    const { storageInfo: i5, rasterInfo: o5 } = this._parseHeader(r6);
+    if ("thematic" === o5.dataType) {
+      const e5 = await this._fetchAuxiliaryInformation();
+      o5.attributeTable = e5;
+    }
+    this._set("storageInfo", i5), this._set("rasterInfo", o5), this.ioConfig.retryCount = this.ioConfig.retryCount || 0;
+  }
+  async fetchRawTile(e4, t5, r6, i5 = {}) {
+    const { transposeInfo: o5 } = this.rasterInfo.storageInfo, { transposedVariableName: a4 } = i5, s4 = !(!o5 || !a4), n10 = s4 ? 0 : this.rasterInfo.storageInfo.maximumPyramidLevel - e4;
+    if (n10 < 0)
+      return null;
+    const l6 = this._buildCacheFilePath(n10, t5, r6, i5.multidimensionalDefinition, a4), f9 = this._getIndexRecordFromBundle(t5, r6, s4), m8 = await this.request(l6, { range: { from: 0, to: this.storageInfo.headerSize - 1 }, responseType: "array-buffer", signal: i5.signal });
+    if (!m8)
+      return null;
+    const c10 = new Uint8Array(m8.data), p6 = this._getTileEndAndContentType(c10, f9);
+    if (0 === p6.recordSize)
+      return null;
+    const d6 = await this.request(l6, { range: { from: p6.position, to: p6.position + p6.recordSize }, responseType: "array-buffer", signal: i5.signal });
+    if (!d6)
+      return null;
+    const [u5, h3] = this._getTileSize(s4);
+    return this.decodePixelBlock(d6.data, { width: u5, height: h3, planes: null, pixelType: null, returnInterleaved: s4 });
+  }
+  _validateHeader(e4) {
+    const t5 = ["origin", "extent", "geodataXform", "LODInfos", "blockWidth", "blockHeight", "bandCount", "pixelType", "pixelSizeX", "pixelSizeY", "format", "packetSize"];
+    return e4 && "RasterInfo" === e4.type && !t5.some((t6) => !e4[t6]);
+  }
+  _parseHeader(e4) {
+    var _a, _b;
+    const t5 = ["u1", "u2", "u4", "u8", "s8", "u16", "s16", "u32", "s32", "f32", "f64"][e4.pixelType], { bandCount: r6, histograms: i5, colormap: o5, blockWidth: a4, blockHeight: f9, firstPyramidLevel: m8, maximumPyramidLevel: c10 } = e4, p6 = e4.statistics && e4.statistics.map((e5) => ({ min: e5.min, max: e5.max, avg: e5.mean, stddev: e5.standardDeviation, median: e5.median, mode: e5.mode })), d6 = e4.extent.spatialReference, y5 = (_a = e4.geodataXform) == null ? void 0 : _a.spatialReference, S4 = new k((d6 == null ? void 0 : d6.wkid) || (d6 == null ? void 0 : d6.wkt) ? d6 : y5);
+    let I4 = new w3({ xmin: e4.extent.xmin, ymin: e4.extent.ymin, xmax: e4.extent.xmax, ymax: e4.extent.ymax, spatialReference: S4 });
+    const w7 = new w2({ x: e4.pixelSizeX, y: e4.pixelSizeY, spatialReference: S4 }), _ = Math.round((I4.xmax - I4.xmin) / w7.x), v5 = Math.round((I4.ymax - I4.ymin) / w7.y), b5 = this._parseTransform(e4.geodataXform), z2 = b5 ? I4 : null;
+    b5 && (I4 = b5.forwardTransform(I4), w7.x = (I4.xmax - I4.xmin) / _, w7.y = (I4.ymax - I4.ymin) / v5);
+    const T5 = (_b = e4.properties) != null ? _b : {}, k3 = e4.format.toLowerCase().replace("cache/", ""), j6 = new w2(e4.origin.x, e4.origin.y, S4);
+    let C2, R3, F3, P2;
+    if (o5 && o5.colors)
+      for (C2 = [], R3 = 0; R3 < o5.colors.length; R3++)
+        F3 = o5.colors[R3], P2 = o5.values ? o5.values[R3] : R3, C2.push([P2, 255 & F3, F3 << 16 >>> 24, F3 << 8 >>> 24, F3 >>> 24]);
+    const H = e4.LODInfos, D3 = [];
+    for (R3 = 0; R3 < H.levels.length; R3++)
+      D3.push({ level: H.levels[R3], resolution: H.resolutions[R3], scale: 96 / 0.0254 * H.resolutions[R3] });
+    const L2 = new j2({ dpi: 96, lods: D3, format: k3, origin: j6, size: [a4, f9], spatialReference: S4 }), M = { recordSize: x3, packetSize: e4.packetSize, headerSize: e4.packetSize * e4.packetSize * x3 + 64 }, B = [{ maxCol: Math.ceil(_ / a4) - 1, maxRow: Math.ceil(v5 / f9) - 1, minCol: 0, minRow: 0 }];
+    let O3 = 2;
+    if (c10 > 0)
+      for (R3 = 0; R3 < c10; R3++)
+        B.push({ maxCol: Math.ceil(_ / O3 / a4) - 1, maxRow: Math.ceil(v5 / O3 / f9) - 1, minCol: 0, minRow: 0 }), O3 *= 2;
+    const $4 = e4.mdInfo;
+    let N4 = null;
+    if ($4 && T5._yxs) {
+      const e5 = T5._yxs;
+      N4 = { packetSize: e5.PacketSize, tileSize: [e5.TileXSize, e5.TileYSize] };
+    }
+    return { storageInfo: M, rasterInfo: new u({ width: _, height: v5, pixelType: t5, bandCount: r6, extent: I4, nativeExtent: z2, transform: b5, spatialReference: S4, pixelSize: w7, keyProperties: T5, statistics: p6, histograms: i5, multidimensionalInfo: $4, colormap: C2, storageInfo: new n4({ blockWidth: a4, blockHeight: f9, pyramidBlockWidth: a4, pyramidBlockHeight: f9, origin: j6, tileInfo: L2, transposeInfo: N4, firstPyramidLevel: m8, maximumPyramidLevel: c10, blockBoundary: B }) }) };
+  }
+  _parseTransform(e4) {
+    var _a, _b;
+    if (!f3(e4))
+      throw new s2("cloudraster:open", "the data contains unsupported geodata transform types");
+    const r6 = i(e4);
+    if ("identity" === r6.type)
+      return null;
+    if ("polynomial" !== r6.type || !((_a = r6.forwardCoefficients) == null ? void 0 : _a.length) || !((_b = r6.inverseCoefficients) == null ? void 0 : _b.length))
+      throw new s2("cloudraster:open", "the data contains unsupported geodata transforms - both forward and inverse coefficients are required currently");
+    return r6;
+  }
+  async _fetchAuxiliaryInformation(e4) {
+    const t5 = this.request(this.url + "/conf.vat.json", { signal: e4 }).then((e5) => e5.data).catch(() => null), r6 = this.request(this.url + "/conf.vat.dbf", { responseType: "array-buffer", signal: e4 }).then((e5) => e5.data).catch(() => null), i5 = await Promise.all([t5, r6]);
+    let o5;
+    if (i5[0]) {
+      let e5 = i5[0].fields;
+      const t6 = i5[0].values;
+      if (e5 && t6) {
+        e5 = e5.map((e6) => ({ type: "OID" === e6.name ? "esriFieldTypeOID" : y3.get(e6.type), name: e6.name, alias: e6.alias || e6.name }));
+        const r7 = t6.map((e6) => ({ attributes: e6 }));
+        e5 && t6 && (o5 = { fields: e5, features: r7 });
+      }
+    }
+    if (!o5 && i5[1]) {
+      o5 = r5.parse(i5[1]).recordSet;
+    }
+    return x.fromJSON(o5);
+  }
+  _buildCacheFilePath(e4, t5, i5, o5, a4) {
+    const s4 = this._getPackageSize(!!a4), n10 = Math.floor(t5 / s4) * s4, l6 = Math.floor(i5 / s4) * s4, f9 = "R" + this._toHexString4(n10) + "C" + this._toHexString4(l6);
+    let m8 = "L";
+    m8 += e4 >= 10 ? e4.toString() : "0" + e4.toString();
+    const { multidimensionalInfo: c10 } = this.rasterInfo, p6 = o5 == null ? void 0 : o5[0];
+    if (t(c10) || !p6)
+      return `${this.url}/_alllayers/${m8}/${f9}.bundle`;
+    let d6 = "_yxs";
+    if (!a4) {
+      d6 = c10.variables.find((e6) => e6.name === p6.variableName).dimensions[0].values.indexOf(p6.values[0]).toString(16);
+      const e5 = 4 - d6.length;
+      for (let t6 = 0; t6 < e5; t6++)
+        d6 = "0" + d6;
+      d6 = "S" + d6;
+    }
+    const u5 = this._getVariableFolderName(a4 || p6.variableName);
+    return `${this.url}/_alllayers/${u5}/${d6}/${m8}/${f9}.bundle`;
+  }
+  _getPackageSize(e4 = false) {
+    var _a;
+    const { transposeInfo: t5 } = this.rasterInfo.storageInfo;
+    return e4 && r(t5) ? (_a = t5.packetSize) != null ? _a : 0 : this.storageInfo.packetSize;
+  }
+  _getTileSize(e4 = false) {
+    const { storageInfo: t5 } = this.rasterInfo, { transposeInfo: r6 } = t5;
+    return e4 && r(r6) ? r6.tileSize : t5.tileInfo.size;
+  }
+  _getVariableFolderName(e4) {
+    return "" === (e4 = e4.trim()) ? "_v" : e4.replace(/[\{|\}\-]/g, "_").replace("\\*", "_v");
+  }
+  _getIndexRecordFromBundle(e4, t5, r6 = false) {
+    const i5 = this._getPackageSize(r6), o5 = i5 * (e4 % i5) + t5 % i5;
+    if (o5 < 0)
+      throw "Invalid level / row / col";
+    return 20 + o5 * this.storageInfo.recordSize + 44;
+  }
+  _getTileEndAndContentType(e4, t5) {
+    const r6 = e4.subarray(t5, t5 + 8);
+    let i5, o5 = 0;
+    for (i5 = 0; i5 < 5; i5++)
+      o5 |= (255 & r6[i5]) << 8 * i5;
+    const a4 = 1099511627775 & o5;
+    for (o5 = 0, i5 = 5; i5 < 8; i5++)
+      o5 |= (255 & r6[i5]) << 8 * (i5 - 5);
+    return { position: a4, recordSize: 1099511627775 & o5 };
+  }
+  _toHexString4(e4) {
+    let t5 = e4.toString(16);
+    if (4 !== t5.length) {
+      let e5 = 4 - t5.length;
+      for (; e5-- > 0; )
+        t5 = "0" + t5;
+    }
+    return t5;
+  }
+};
+e([y({ readOnly: true })], S3.prototype, "storageInfo", void 0), e([y({ type: String, json: { write: true } })], S3.prototype, "datasetFormat", void 0), S3 = e([n("esri.layers.support.rasterDatasets.CloudRaster")], S3);
+var I = S3;
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/InMemoryRaster.js
+var h2 = class extends U3 {
+  constructor() {
+    super(...arguments), this.datasetFormat = "MEMORY", this.data = null;
+  }
+  async open(t5) {
+    var _a, _b;
+    await this.init();
+    const e4 = this.data, { pixelBlock: s4, statistics: r6, histograms: i5, name: o5, keyProperties: m8, nativeExtent: n10, transform: l6 } = this.data, { width: h3, height: f9, pixelType: d6 } = s4, u5 = (_a = e4.extent) != null ? _a : new w3({ xmin: -0.5, ymin: 0.5, xmax: h3 - 0.5, ymax: f9 - 0.5, spatialReference: new k({ wkid: 3857 }) }), y5 = (_b = e4.isPseudoSpatialReference) != null ? _b : !e4.extent, x4 = { x: u5.width / h3, y: u5.height / f9 }, g4 = new u({ width: h3, height: f9, pixelType: d6, extent: u5, nativeExtent: n10, transform: l6, pixelSize: x4, spatialReference: u5.spatialReference, bandCount: 3, keyProperties: m8 || {}, statistics: r6, isPseudoSpatialReference: y5, histograms: i5 });
+    this.createRemoteDatasetStorageInfo(g4, 512, 512), this._set("rasterInfo", g4), this.updateTileInfo(), await this._buildInMemoryRaster(s4, { width: 512, height: 512 }, t5), this.datasetName = o5, this.url = "/InMemory/" + o5;
+  }
+  fetchRawTile(t5, e4, s4, r6 = {}) {
+    const i5 = this._pixelBlockTiles.get(`${t5}/${e4}/${s4}`);
+    return Promise.resolve(i5);
+  }
+  async _buildInMemoryRaster(t5, i5, o5) {
+    var _a, _b;
+    const a4 = this.rasterInfo.storageInfo.maximumPyramidLevel, m8 = this.rasterJobHandler ? this.rasterJobHandler.split({ pixelBlock: t5, tileSize: i5, maximumPyramidLevel: a4 }, o5) : Promise.resolve(W(t5, i5, a4)), p6 = r(this.rasterInfo.statistics), c10 = r(this.rasterInfo.histograms), h3 = p6 ? Promise.resolve({ statistics: null, histograms: null }) : this.rasterJobHandler ? this.rasterJobHandler.estimateStatisticsHistograms({ pixelBlock: t5 }, o5) : Promise.resolve(p3(t5)), f9 = await E([m8, h3]);
+    if (!f9[0].value && f9[1].value)
+      throw new s2("inmemory-raster:open", "failed to build in memory raster");
+    this._pixelBlockTiles = f9[0].value, p6 || (this.rasterInfo.statistics = (_a = f9[1].value) == null ? void 0 : _a.statistics), c10 || (this.rasterInfo.histograms = (_b = f9[1].value) == null ? void 0 : _b.histograms);
+  }
+};
+e([y({ type: String, json: { write: true } })], h2.prototype, "datasetFormat", void 0), e([y()], h2.prototype, "data", void 0), h2 = e([n("esri.layers.support.rasterDatasets.InMemoryRaster")], h2);
+var f7 = h2;
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/xmlUtilities.js
+function n8(e4, t5) {
+  if (!e4 || !t5)
+    return [];
+  let l6 = t5;
+  t5.includes("/") ? (l6 = t5.slice(0, t5.indexOf("/")), t5 = t5.slice(t5.indexOf("/") + 1)) : t5 = "";
+  const r6 = [];
+  if (t5) {
+    const u6 = n8(e4, l6);
+    for (let e5 = 0; e5 < u6.length; e5++) {
+      n8(u6[e5], t5).forEach((n10) => r6.push(n10));
+    }
+    return r6;
+  }
+  const u5 = e4.getElementsByTagNameNS("*", l6);
+  if (!u5 || 0 === u5.length)
+    return [];
+  for (let n10 = 0; n10 < u5.length; n10++)
+    r6.push(u5[n10] || u5.item[n10]);
+  return r6;
+}
+function e3(t5, l6) {
+  if (!t5 || !l6)
+    return null;
+  let r6 = l6;
+  l6.includes("/") ? (r6 = l6.slice(0, l6.indexOf("/")), l6 = l6.slice(l6.indexOf("/") + 1)) : l6 = "";
+  const u5 = n8(t5, r6);
+  return u5.length > 0 ? l6 ? e3(u5[0], l6) : u5[0] : null;
+}
+function t4(n10, t5 = null) {
+  const l6 = t5 ? e3(n10, t5) : n10;
+  let r6;
+  return l6 ? (r6 = l6.textContent || l6.nodeValue, r6 ? r6.trim() : null) : null;
+}
+function l5(e4, t5) {
+  const l6 = n8(e4, t5), r6 = [];
+  let u5;
+  for (let n10 = 0; n10 < l6.length; n10++)
+    u5 = l6[n10].textContent || l6[n10].nodeValue, u5 && (u5 = u5.trim(), "" !== u5 && r6.push(u5));
+  return r6;
+}
+function u3(n10, e4) {
+  return l5(n10, e4).map((n11) => Number(n11));
+}
+function o4(n10, e4) {
+  const l6 = t4(n10, e4);
+  return Number(l6);
+}
+function i4(n10, e4) {
+  var _a;
+  const t5 = (_a = n10 == null ? void 0 : n10.nodeName) == null ? void 0 : _a.toLowerCase(), l6 = e4.toLowerCase();
+  return t5.slice(t5.lastIndexOf(":") + 1) === l6;
+}
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/pamParser.js
+function f8(e4, t5) {
+  if (!e4 || !t5)
+    return null;
+  const n10 = [];
+  for (let r6 = 0; r6 < e4.length; r6++)
+    n10.push(e4[r6]), n10.push(t5[r6]);
+  return n10;
+}
+function u4(e4) {
+  var _a;
+  const t5 = e3(e4, "GeodataXform"), r6 = m7(o4(t5, "SpatialReference/WKID") || t4(t5, "SpatialReference/WKT"));
+  if ("typens:PolynomialXform" !== t5.getAttribute("xsi:type"))
+    return { spatialReference: r6, transform: null };
+  const o5 = (_a = o4(t5, "PolynomialOrder")) != null ? _a : 1, u5 = u3(t5, "CoeffX/Double"), c10 = u3(t5, "CoeffY/Double"), d6 = u3(t5, "InverseCoeffX/Double"), p6 = u3(t5, "InverseCoeffY/Double"), S4 = f8(u5, c10), C2 = f8(d6, p6);
+  return { spatialReference: r6, transform: S4 && C2 && S4.length && C2.length ? new m3({ spatialReference: r6, polynomialOrder: o5, forwardCoefficients: S4, inverseCoefficients: C2 }) : null };
+}
+function c8(e4) {
+  var _a;
+  const t5 = o4(e4, "NoDataValue"), i5 = e3(e4, "Histograms/HistItem"), l6 = o4(i5, "HistMin"), o5 = o4(i5, "HistMax"), f9 = o4(i5, "BucketCount"), u5 = (_a = t4(i5, "HistCounts")) == null ? void 0 : _a.split("|").map((e5) => Number(e5));
+  let c10, m8, d6, p6;
+  n8(e4, "Metadata/MDI").forEach((e5) => {
+    var _a2;
+    const t6 = Number((_a2 = e5.textContent) != null ? _a2 : e5.nodeValue);
+    switch (e5.getAttribute("key").toUpperCase()) {
+      case "STATISTICS_MINIMUM":
+        c10 = t6;
+        break;
+      case "STATISTICS_MAXIMUM":
+        m8 = t6;
+        break;
+      case "STATISTICS_MEAN":
+        d6 = t6;
+        break;
+      case "STATISTICS_STDDEV":
+        p6 = t6;
+    }
+  });
+  const S4 = o4(e4, "Metadata/SourceBandIndex");
+  return { noDataValue: t5, histogram: (u5 == null ? void 0 : u5.length) && null != l6 && null != o5 ? { min: l6, max: o5, size: f9 || u5.length, counts: u5 } : null, sourceBandIndex: S4, statistics: null != c10 && null != m8 ? { min: c10, max: m8, avg: d6, stddev: p6 } : null };
+}
+function m7(e4) {
+  if (!e4)
+    return null;
+  let t5 = Number(e4);
+  if (!isNaN(t5) && 0 !== t5)
+    return new k({ wkid: t5 });
+  if ((e4 = String(e4)).startsWith("COMPD_CS")) {
+    if (!e4.includes("VERTCS") || !e4.includes("GEOGCS") && !e4.startsWith("PROJCS"))
+      return null;
+    const n10 = e4.indexOf("VERTCS"), r6 = e4.indexOf("PROJCS"), s4 = r6 > -1 ? r6 : e4.indexOf("GEOGCS");
+    if (-1 === s4)
+      return null;
+    const a4 = e4.slice(s4, e4.lastIndexOf("]", n10) + 1).trim(), i5 = e4.slice(n10, e4.lastIndexOf("]")).trim();
+    t5 = d4(a4);
+    const l6 = new k(t5 ? { wkid: t5 } : { wkt: a4 }), f9 = d4(i5);
+    return f9 && (l6.vcsWkid = f9), l6;
+  }
+  return e4.startsWith("GEOGCS") || e4.startsWith("PROJCS") ? (t5 = d4(e4), new k(0 !== t5 ? { wkid: t5 } : { wkt: e4 })) : null;
+}
+function d4(e4) {
+  var _a;
+  const t5 = e4.replace(/\]/g, "[").replace(/\"/g, "").split("[").map((e5) => e5.trim()).filter((e5) => "" !== e5), n10 = t5[t5.length - 1].split(","), r6 = (_a = n10[0]) == null ? void 0 : _a.toLowerCase();
+  if (("epsg" === r6 || "esri" === r6) && e4.endsWith('"]]')) {
+    const e5 = Number(n10[1]);
+    if (!isNaN(e5) && 0 !== e5)
+      return e5;
+  }
+  return 0;
+}
+function p5(s4) {
+  var _a;
+  if ("pamdataset" !== ((_a = s4 == null ? void 0 : s4.documentElement.tagName) == null ? void 0 : _a.toLowerCase()))
+    return {};
+  const a4 = { spatialReference: null, transform: null, metadata: {}, rasterBands: [], statistics: null, histograms: null };
+  s4.documentElement.childNodes.forEach((e4) => {
+    if (1 === e4.nodeType) {
+      if (i4(e4, "SRS")) {
+        if (!a4.spatialReference) {
+          const t5 = t4(e4);
+          a4.spatialReference = m7(t5);
+        }
+      } else if (i4(e4, "Metadata"))
+        if ("xml:ESRI" === e4.getAttribute("domain")) {
+          const { spatialReference: t5, transform: n10 } = u4(e4);
+          a4.transform = n10, a4.spatialReference || (a4.spatialReference = t5);
+        } else {
+          n8(e4, "MDI").forEach((e5) => a4.metadata[e5.getAttribute("key")] = t4(e5));
+        }
+      else if (i4(e4, "PAMRasterBand")) {
+        const t5 = c8(e4);
+        null != t5.sourceBandIndex && null == a4.rasterBands[t5.sourceBandIndex] ? a4.rasterBands[t5.sourceBandIndex] = t5 : a4.rasterBands.push(t5);
+      }
+    }
+  });
+  const i5 = a4.rasterBands;
+  if (i5.length) {
+    const t5 = !!i5[0].statistics;
+    a4.statistics = t5 ? i5.map((e4) => e4.statistics).filter(r) : null;
+    const n10 = !!i5[0].histogram;
+    a4.histograms = n10 ? i5.map((e4) => e4.histogram).filter(r) : null;
+  }
+  return a4;
+}
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/ImageAuxRaster.js
+var d5 = class extends U3 {
+  async open(t5) {
+    await this.init();
+    const s4 = await this._fetchData(t5);
+    let { spatialReference: e4, statistics: r6, histograms: a4, transform: o5 } = await this._fetchAuxiliaryData(t5);
+    const i5 = !e4;
+    i5 && (e4 = new k({ wkid: 3857 })), (a4 == null ? void 0 : a4.length) && null == r6 && (r6 = g2(a4));
+    const { width: n10, height: l6 } = s4;
+    let p6 = new w3({ xmin: -0.5, ymin: 0.5 - l6, xmax: n10 - 0.5, ymax: 0.5, spatialReference: e4 });
+    const f9 = o5 ? o5.forwardTransform(p6) : p6;
+    let d6 = true;
+    if (o5) {
+      const t6 = o5.forwardCoefficients;
+      d6 = t6 && 0 === t6[1] && 0 === t6[2], d6 && (o5 = null, p6 = f9);
+    }
+    const y5 = new f7({ data: { extent: f9, nativeExtent: p6, transform: o5, pixelBlock: s4, statistics: r6, histograms: a4, keyProperties: { DateType: "Processed" }, isPseudoSpatialReference: i5 } });
+    await y5.open(), y5.data = null, this._set("rasterInfo", y5.rasterInfo), this._inMemoryRaster = y5;
+  }
+  fetchRawTile(t5, s4, e4, r6 = {}) {
+    return this._inMemoryRaster.fetchRawTile(t5, s4, e4, r6);
+  }
+  async _fetchData(t5) {
+    const { data: e4 } = await this.request(this.url, { responseType: "array-buffer", signal: t5 == null ? void 0 : t5.signal }), r6 = P(e4).toUpperCase();
+    if ("JPG" !== r6 && "PNG" !== r6 && "GIF" !== r6 && "BMP" !== r6)
+      throw new s2("image-aux-raster:open", "the data is not a supported format");
+    this._set("datasetFormat", r6);
+    const a4 = r6.toLowerCase(), o5 = "gif" === a4 || "bmp" === a4 || !has("ios");
+    return await this.decodePixelBlock(e4, { format: a4, useCanvas: o5, hasNoZlibMask: true });
+  }
+  async _fetchAuxiliaryData(t5) {
+    var _a, _b;
+    const s4 = e2(t5 == null ? void 0 : t5.signal), o5 = (_a = this.ioConfig.skipExtensions) != null ? _a : [], i5 = o5.includes("aux.xml") ? null : this.request(this.url + ".aux.xml", { responseType: "xml", signal: s4 }), n10 = this.datasetFormat, m8 = "JPG" === n10 ? "jgw" : "PNG" === n10 ? "pgw" : "BMP" === n10 ? "bpw" : null, p6 = m8 && o5.includes(m8) ? null : this.request(this.url.slice(0, this.url.lastIndexOf(".")) + "." + m8, { responseType: "text", signal: s4 }), c10 = await E([i5, p6]);
+    if (s4 == null ? void 0 : s4.aborted)
+      throw a();
+    const u5 = p5((_b = c10[0].value) == null ? void 0 : _b.data);
+    if (!u5.transform) {
+      const t6 = c10[1].value ? c10[1].value.data.split("\n").slice(0, 6).map((t7) => Number(t7)) : null;
+      u5.transform = 6 === (t6 == null ? void 0 : t6.length) ? new m3({ forwardCoefficients: [t6[4], t6[5], t6[0], -t6[1], t6[2], -t6[3]] }) : null;
+    }
+    return u5;
+  }
+};
+e([y({ type: String, json: { write: true } })], d5.prototype, "datasetFormat", void 0), d5 = e([n("esri.layers.support.rasterDatasets.ImageAuxRaster")], d5);
+var y4 = d5;
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/ImageServerRaster.js
+var I2 = class extends U3 {
+  constructor() {
+    super(...arguments), this._levelOffset = 0, this._tilemapCache = null, this._slices = null, this.datasetFormat = "RasterTileServer", this.tileType = null;
+  }
+  async open(e4) {
+    var _a, _b, _c, _d;
+    await this.init();
+    const r6 = e4 && e4.signal, a4 = this.sourceJSON ? { data: this.sourceJSON } : await this.request(this.url, { query: { f: "json" }, signal: r6 });
+    a4.ssl && (this.url = this.url.replace(/^http:/i, "https:"));
+    const o5 = a4.data;
+    if (this.sourceJSON = o5, !o5)
+      throw new s2("imageserverraster:open", "cannot initialize tiled image service, missing service info");
+    if (!o5.tileInfo)
+      throw new s2("imageserverraster:open", "use ImageryLayer to open non-tiled image services");
+    this._fixScaleInServiceInfo();
+    const n10 = ["jpg", "jpeg", "png", "png8", "png24", "png32", "mixed"];
+    this.tileType = o5.cacheType, null == this.tileType && (n10.includes(o5.tileInfo.format.toLowerCase()) ? this.tileType = "Map" : "lerc" === o5.tileInfo.format.toLowerCase() ? this.tileType = "Elevation" : this.tileType = "Raster"), this.datasetName = (_b = (_a = o5.name) == null ? void 0 : _a.slice(o5.name.indexOf("/") + 1)) != null ? _b : "";
+    const c10 = await this._fetchRasterInfo({ signal: r6 });
+    if (t(c10))
+      throw new s2("image-server-raster:open", "cannot initialize image service");
+    const u5 = "Map" === this.tileType ? n6(o5.tileInfo, o5) : j2.fromJSON(o5.tileInfo);
+    c(u5);
+    const [y5, d6] = this._computeMinMaxLOD(c10, u5), { extent: x4, pixelSize: g4 } = c10, v5 = 0.5 / c10.width * g4.x, S4 = Math.max(g4.x, g4.y), { lods: I4 } = u5;
+    ("Map" !== this.tileType && 0 !== o5.maxScale || Math.abs(g4.x - g4.y) > v5 || !I4.some((e5) => Math.abs(e5.resolution - S4) < v5)) && (g4.x = g4.y = y5.resolution, c10.width = Math.ceil((x4.xmax - x4.xmin) / g4.x - 0.1), c10.height = Math.ceil((x4.ymax - x4.ymin) / g4.y - 0.1));
+    const w7 = y5.level - d6.level, [j6, T5] = u5.size, b5 = [];
+    I4.forEach((e5) => {
+      e5.level >= d6.level && e5.level <= y5.level && b5.push({ x: e5.resolution, y: e5.resolution });
+    }), b5.sort((e5, t5) => e5.x - t5.x);
+    const _ = this.computeBlockBoundary(x4, j6, T5, u5.origin, b5, w7), M = b5.length > 1 ? b5.slice(1) : null;
+    let R3;
+    if (o5.transposeInfo && (R3 = { tileSize: [o5.transposeInfo.rows, o5.transposeInfo.cols], packetSize: (_d = (_c = c10.keyProperties) == null ? void 0 : _c._yxs.PacketSize) != null ? _d : 0 }), c10.storageInfo = new n4({ blockWidth: u5.size[0], blockHeight: u5.size[1], pyramidBlockWidth: u5.size[0], pyramidBlockHeight: u5.size[1], pyramidResolutions: M, compression: u5.format, origin: u5.origin, firstPyramidLevel: 1, maximumPyramidLevel: w7, tileInfo: u5, transposeInfo: R3, blockBoundary: _ }), this._fixGCSShift(c10), this._set("rasterInfo", c10), o5.capabilities.toLowerCase().includes("tilemap")) {
+      const e5 = { tileInfo: c10.storageInfo.tileInfo, parsedUrl: j(this.url), url: this.url, tileServers: [], type: "tile" };
+      this._tilemapCache = new z({ layer: e5 });
+    }
+  }
+  async fetchRawTile(e4, t5, i5, s4 = {}) {
+    const { storageInfo: a4, extent: l6 } = this.rasterInfo, { transposeInfo: o5 } = a4, n10 = r(o5) && !!s4.transposedVariableName;
+    if (this._slices && !n10 && null == s4.sliceId)
+      return null;
+    const c10 = n10 ? 0 : a4.maximumPyramidLevel - e4 + this._levelOffset, m8 = `${this.url}/tile/${c10}/${t5}/${i5}`, h3 = this._slices ? n10 ? { variable: s4.transposedVariableName } : { sliceId: s4.sliceId || 0 } : null, { data: f9 } = await this.request(m8, { query: h3, responseType: "array-buffer", signal: s4.signal });
+    if (!f9)
+      return null;
+    const p6 = n10 ? o5.tileSize : a4.tileInfo.size, u5 = await this.decodePixelBlock(f9, { width: p6[0], height: p6[1], planes: null, pixelType: null, isPoint: "Elevation" === this.tileType, returnInterleaved: n10 }), d6 = a4.blockBoundary[e4];
+    if ("jpg" !== a4.compression || i5 > d6.minCol && i5 < d6.maxCol && t5 > d6.minRow && t5 < d6.maxRow)
+      return u5;
+    const { origin: x4, blockWidth: g4, blockHeight: v5 } = a4, { x: S4, y: I4 } = this.getPyramidPixelSize(e4), w7 = Math.round((l6.xmin - x4.x) / S4) % g4, j6 = Math.round((l6.xmax - x4.x) / S4) % g4 || g4, T5 = Math.round((x4.y - l6.ymax) / I4) % v5, b5 = Math.round((x4.y - l6.ymin) / I4) % v5 || v5, _ = i5 === d6.minCol ? w7 : 0, M = t5 === d6.minRow ? T5 : 0, R3 = i5 === d6.maxCol ? j6 : g4, z2 = t5 === d6.maxRow ? b5 : v5;
+    return b2(u5, { x: _, y: M }, { width: R3 - _, height: z2 - M }), u5;
+  }
+  getSliceIndex(e4) {
+    if (!this._slices || t(e4) || 0 === e4.length)
+      return null;
+    const t5 = e4;
+    for (let i5 = 0; i5 < this._slices.length; i5++) {
+      const e5 = this._slices[i5].multidimensionalDefinition;
+      if (e5.length === t5.length && !e5.some((e6) => {
+        const i6 = t5.find((t6) => e6.variableName === t6.variableName && t6.dimensionName === e6.dimensionName);
+        if (!i6)
+          return true;
+        return (Array.isArray(e6.values[0]) ? `${e6.values[0][0]}-${e6.values[0][1]}` : e6.values[0]) !== (Array.isArray(i6.values[0]) ? `${i6.values[0][0]}-${i6.values[0][1]}` : i6.values[0]);
+      }))
+        return i5;
+    }
+    return null;
+  }
+  async fetchVariableStatisticsHistograms(e4, t5) {
+    const i5 = this.request(this.url + "/statistics", { query: { variable: e4, f: "json" }, signal: t5 }).then((e5) => {
+      var _a;
+      return (_a = e5.data) == null ? void 0 : _a.statistics;
+    }), s4 = this.request(this.url + "/histograms", { query: { variable: e4, f: "json" }, signal: t5 }).then((e5) => {
+      var _a;
+      return (_a = e5.data) == null ? void 0 : _a.histograms;
+    }), r6 = await Promise.all([i5, s4]);
+    return r6[0] && r6[0].forEach((e5) => {
+      e5.avg = e5.mean, e5.stddev = e5.standardDeviation;
+    }), { statistics: r6[0] || null, histograms: r6[1] || null };
+  }
+  async computeBestPyramidLevelForLocation(e4, t5 = {}) {
+    if (!this._tilemapCache)
+      return 0;
+    let i5 = this.identifyPixelLocation(e4, 0, e2(t5.datumTransformation));
+    if (null === i5)
+      return null;
+    let s4 = 0;
+    const { maximumPyramidLevel: r6 } = this.rasterInfo.storageInfo;
+    let l6 = r6 - s4 + this._levelOffset;
+    const o5 = i5.srcLocation;
+    for (; l6 >= 0; ) {
+      try {
+        if ("available" === await this._tilemapCache.fetchAvailability(l6, i5.row, i5.col, t5))
+          break;
+      } catch {
+      }
+      if (l6--, s4++, i5 = this.identifyPixelLocation(o5, s4, e2(t5.datumTransformation)), null === i5)
+        return null;
+    }
+    return -1 === l6 || null == i5 ? null : s4;
+  }
+  async _fetchRasterInfo(e4) {
+    const t5 = this.sourceJSON;
+    if ("Map" === this.tileType) {
+      const e5 = t5.fullExtent || t5.extent, i6 = Math.ceil((e5.xmax - e5.xmin) / t5.pixelSizeX - 0.1), s5 = Math.ceil((e5.ymax - e5.ymin) / t5.pixelSizeY - 0.1), r7 = k.fromJSON(t5.spatialReference || e5.spatialReference), a5 = new w2({ x: t5.pixelSizeX, y: t5.pixelSizeY, spatialReference: r7 });
+      return new u({ width: i6, height: s5, bandCount: 3, extent: w3.fromJSON(e5), spatialReference: r7, pixelSize: a5, pixelType: "u8", statistics: null, keyProperties: { DataType: "processed" } });
+    }
+    const { signal: i5 } = e4, s4 = m5(this.url, this.sourceJSON, { signal: i5, query: this.ioConfig.customFetchParameters }), r6 = t5.hasMultidimensions ? this.request(`${this.url}/slices`, { query: { f: "json" }, signal: i5 }).then((e5) => e5.data && e5.data.slices).catch(() => null) : null, a4 = await Promise.all([s4, r6]);
+    return this._slices = a4[1], a4[0];
+  }
+  _fixScaleInServiceInfo() {
+    const { sourceJSON: e4 } = this;
+    e4.minScale && e4.minScale < 0 && (e4.minScale = 0), e4.maxScale && e4.maxScale < 0 && (e4.maxScale = 0);
+  }
+  _fixGCSShift(e4) {
+    const { extent: t5, spatialReference: i5 } = e4;
+    t5.xmin > -1 && t5.xmax > 181 && (i5 == null ? void 0 : i5.wkid) && i5.isGeographic && (e4.nativeExtent = e4.extent, e4.transform = new c2(), e4.extent = e4.transform.forwardTransform(t5));
+  }
+  _computeMinMaxLOD(e4, t5) {
+    var _a, _b, _c;
+    const { pixelSize: i5 } = e4, s4 = 0.5 / e4.width * i5.x, { lods: r6 } = t5, a4 = t5.lodAt(Math.max.apply(null, r6.map((e5) => e5.level))), l6 = t5.lodAt(Math.min.apply(null, r6.map((e5) => e5.level))), { tileType: o5 } = this;
+    if ("Map" === o5)
+      return this._levelOffset = r6[0].level, [a4, l6];
+    if ("Raster" === o5) {
+      return [(_a = r6.find((e5) => e5.resolution === i5.x)) != null ? _a : a4, l6];
+    }
+    const { minScale: n10, maxScale: c10 } = this.sourceJSON;
+    let m8 = a4;
+    c10 > 0 && (m8 = r6.find((e5) => Math.abs(e5.scale - c10) < s4), m8 || (m8 = (_b = r6.filter((e5) => e5.scale > c10).sort((e5, t6) => e5.scale > t6.scale ? 1 : -1)[0]) != null ? _b : a4));
+    let h3 = l6;
+    return n10 > 0 && (h3 = (_c = r6.find((e5) => Math.abs(e5.scale - n10) < s4)) != null ? _c : l6, this._levelOffset = h3.level - l6.level), [m8, h3];
+  }
+};
+e([y({ type: String, json: { write: true } })], I2.prototype, "datasetFormat", void 0), e([y()], I2.prototype, "tileType", void 0), I2 = e([n("esri.layers.support.rasterDatasets.ImageServerRaster")], I2);
+var w6 = I2;
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/MRFRaster.js
+var I3 = /* @__PURE__ */ new Map();
+I3.set("Int8", "s8"), I3.set("UInt8", "u8"), I3.set("Int16", "s16"), I3.set("UInt16", "u16"), I3.set("Int32", "s32"), I3.set("UInt32", "u32"), I3.set("Float32", "f32"), I3.set("Float64", "f32"), I3.set("Double64", "f32");
+var b4 = /* @__PURE__ */ new Map();
+b4.set("none", { blobExtension: ".til", isOneSegment: true, decoderFormat: "bip" }), b4.set("lerc", { blobExtension: ".lrc", isOneSegment: false, decoderFormat: "lerc" }), b4.set("deflate", { blobExtension: ".pzp", isOneSegment: true, decoderFormat: "deflate" }), b4.set("jpeg", { blobExtension: ".pjg", isOneSegment: true, decoderFormat: "jpg" });
+var A = class extends U3 {
+  constructor() {
+    super(...arguments), this._files = null, this._storageIndex = null, this.datasetFormat = "MRF";
+  }
+  async open(t5) {
+    var _a, _b;
+    await this.init(), this.datasetName = this.url.slice(this.url.lastIndexOf("/") + 1);
+    const e4 = t5 ? e2(t5.signal) : null, o5 = await this.request(this.url, { responseType: "xml", signal: e4 }), { rasterInfo: i5, files: a4 } = this._parseHeader(o5.data);
+    if (-1 === ((_a = this.ioConfig.skipExtensions) == null ? void 0 : _a.indexOf("aux.xml"))) {
+      const e5 = await this._fetchAuxiliaryData(t5);
+      null != e5 && (i5.statistics = (_b = e5.statistics) != null ? _b : i5.statistics, i5.histograms = e5.histograms, e5.histograms && t(i5.statistics) && (i5.statistics = g2(e5.histograms)));
+    }
+    this._set("rasterInfo", i5), this._files = a4;
+    const n10 = await this.request(a4.index, { responseType: "array-buffer", signal: e4 });
+    this._storageIndex = this._parseIndex(n10.data);
+    const { blockWidth: l6, blockHeight: f9 } = this.rasterInfo.storageInfo, c10 = this.rasterInfo.storageInfo.pyramidScalingFactor, { width: m8, height: p6 } = this.rasterInfo, h3 = [], u5 = this._getBandSegmentCount();
+    let g4 = 0, y5 = -1;
+    for (; g4 < this._storageIndex.length; ) {
+      y5++;
+      const t6 = Math.ceil(m8 / l6 / c10 ** y5) - 1, e5 = Math.ceil(p6 / f9 / c10 ** y5) - 1;
+      g4 += (t6 + 1) * (e5 + 1) * u5 * 4, h3.push({ maxRow: e5, maxCol: t6, minCol: 0, minRow: 0 });
+    }
+    this.rasterInfo.storageInfo.blockBoundary = h3, y5 > 0 && (this.rasterInfo.storageInfo.firstPyramidLevel = 1, this.rasterInfo.storageInfo.maximumPyramidLevel = y5), this.updateTileInfo();
+  }
+  async fetchRawTile(t5, e4, r6, s4 = {}) {
+    const { blockWidth: i5, blockHeight: a4, blockBoundary: l6 } = this.rasterInfo.storageInfo, f9 = l6[t5];
+    if (!f9 || f9.maxRow < e4 || f9.maxCol < r6 || f9.minRow > e4 || f9.minCol > r6)
+      return null;
+    const { bandCount: c10, pixelType: m8 } = this.rasterInfo, { ranges: p6, actualTileWidth: h3, actualTileHeight: u5 } = this._getTileLocation(t5, e4, r6);
+    if (!p6 || 0 === p6.length)
+      return null;
+    if (0 === p6[0].from && 0 === p6[0].to) {
+      const t6 = new Uint8Array(i5 * a4);
+      return new g({ width: i5, height: a4, pixels: null, mask: t6, validPixelCount: 0 });
+    }
+    const { bandIds: g4 } = this.ioConfig, d6 = this._getBandSegmentCount(), y5 = [];
+    let x4 = 0;
+    for (x4 = 0; x4 < d6; x4++)
+      (!g4 || g4.indexOf[x4] > -1) && y5.push(this.request(this._files.data, { range: { from: p6[x4].from, to: p6[x4].to }, responseType: "array-buffer", signal: s4.signal }));
+    const w7 = await Promise.all(y5), I4 = w7.map((t6) => t6.data.byteLength).reduce((t6, e5) => t6 + e5), A2 = new Uint8Array(I4);
+    let F3 = 0;
+    for (x4 = 0; x4 < d6; x4++)
+      A2.set(new Uint8Array(w7[x4].data), F3), F3 += w7[x4].data.byteLength;
+    const _ = b4.get(this.rasterInfo.storageInfo.compression).decoderFormat, R3 = await this.decodePixelBlock(A2.buffer, { width: i5, height: a4, format: _, planes: (g4 == null ? void 0 : g4.length) || c10, pixelType: m8 });
+    if (r(this.rasterInfo.noDataValue) && "lerc" !== _ && !R3.mask) {
+      const t6 = this.rasterInfo.noDataValue[0];
+      if (null != t6) {
+        const e5 = R3.width * R3.height, r7 = new Uint8Array(e5);
+        if (Math.abs(t6) > 1e24)
+          for (x4 = 0; x4 < e5; x4++)
+            Math.abs((R3.pixels[0][x4] - t6) / t6) > 1e-6 && (r7[x4] = 1);
+        else
+          for (x4 = 0; x4 < e5; x4++)
+            R3.pixels[0][x4] !== t6 && (r7[x4] = 1);
+        R3.mask = r7;
+      }
+    }
+    let S4 = 0, j6 = 0;
+    if (h3 !== i5 || u5 !== a4) {
+      let t6 = R3.mask;
+      if (t6)
+        for (x4 = 0; x4 < a4; x4++)
+          if (j6 = x4 * i5, x4 < u5)
+            for (S4 = h3; S4 < i5; S4++)
+              t6[j6 + S4] = 0;
+          else
+            for (S4 = 0; S4 < i5; S4++)
+              t6[j6 + S4] = 0;
+      else
+        for (t6 = new Uint8Array(i5 * a4), R3.mask = t6, x4 = 0; x4 < u5; x4++)
+          for (j6 = x4 * i5, S4 = 0; S4 < h3; S4++)
+            t6[j6 + S4] = 1;
+    }
+    return R3;
+  }
+  _parseIndex(t5) {
+    if (t5.byteLength % 16 > 0)
+      throw "invalid array buffer must be multiples of 16";
+    let e4, r6, s4, o5, i5, a4;
+    if (r4) {
+      for (r6 = new Uint8Array(t5), o5 = new ArrayBuffer(t5.byteLength), s4 = new Uint8Array(o5), i5 = 0; i5 < t5.byteLength / 4; i5++)
+        for (a4 = 0; a4 < 4; a4++)
+          s4[4 * i5 + a4] = r6[4 * i5 + 3 - a4];
+      e4 = new Uint32Array(o5);
+    } else
+      e4 = new Uint32Array(t5);
+    return e4;
+  }
+  _getBandSegmentCount() {
+    return b4.get(this.rasterInfo.storageInfo.compression).isOneSegment ? 1 : this.rasterInfo.bandCount;
+  }
+  _getTileLocation(t5, e4, r6) {
+    const { blockWidth: s4, blockHeight: o5, pyramidScalingFactor: i5 } = this.rasterInfo.storageInfo, { width: a4, height: n10 } = this.rasterInfo, l6 = this._getBandSegmentCount();
+    let f9, c10, m8, p6 = 0, h3 = 0;
+    for (m8 = 0; m8 < t5; m8++)
+      h3 = i5 ** m8, f9 = Math.ceil(a4 / s4 / h3), c10 = Math.ceil(n10 / o5 / h3), p6 += f9 * c10;
+    h3 = i5 ** t5, f9 = Math.ceil(a4 / s4 / h3), c10 = Math.ceil(n10 / o5 / h3), p6 += e4 * f9 + r6, p6 *= 4 * l6;
+    const u5 = this._storageIndex.subarray(p6, p6 + 4 * l6);
+    let g4 = 0, d6 = 0;
+    const y5 = [];
+    for (let x4 = 0; x4 < l6; x4++)
+      g4 = u5[4 * x4 + 0] * 2 ** 32 + u5[4 * x4 + 1], d6 = g4 + u5[4 * x4 + 2] * 2 ** 32 + u5[4 * x4 + 3], y5.push({ from: g4, to: d6 });
+    return { ranges: y5, actualTileWidth: r6 < f9 - 1 ? s4 : Math.ceil(a4 / h3) - s4 * (f9 - 1), actualTileHeight: e4 < c10 - 1 ? o5 : Math.ceil(n10 / h3) - o5 * (c10 - 1) };
+  }
+  _parseHeader(t5) {
+    var _a;
+    const r6 = e3(t5, "MRF_META/Raster");
+    if (!r6)
+      throw new s2("mrf:open", "not a valid MRF format");
+    const s4 = e3(r6, "Size"), o5 = parseInt(s4.getAttribute("x"), 10), i5 = parseInt(s4.getAttribute("y"), 10), a4 = parseInt(s4.getAttribute("c"), 10), n10 = (t4(r6, "Compression") || "none").toLowerCase();
+    if (!b4.has(n10))
+      throw new s2("mrf:open", "currently does not support compression " + n10);
+    const c10 = t4(r6, "DataType") || "UInt8", p6 = I3.get(c10);
+    if (null == p6)
+      throw new s2("mrf:open", "currently does not support pixel type " + c10);
+    const g4 = e3(r6, "PageSize"), d6 = parseInt(g4.getAttribute("x"), 10), A2 = parseInt(g4.getAttribute("y"), 10), F3 = e3(r6, "DataValues");
+    let _, R3;
+    F3 && (R3 = F3.getAttribute("NoData"), null != R3 && (_ = R3.trim().split(" ").map((t6) => parseFloat(t6))));
+    if (e3(t5, "MRF_META/CachedSource"))
+      throw new s2("mrf:open", "currently does not support MRF referencing other data files");
+    const S4 = e3(t5, "MRF_META/GeoTags"), j6 = e3(S4, "BoundingBox");
+    let k3, M = false;
+    if (null != j6) {
+      const t6 = parseFloat(j6.getAttribute("minx")), e4 = parseFloat(j6.getAttribute("miny")), r7 = parseFloat(j6.getAttribute("maxx")), s5 = parseFloat(j6.getAttribute("maxy")), o6 = t4(S4, "Projection") || "";
+      let i6 = k.WGS84;
+      if ("LOCAL_CS[]" !== o6)
+        if (o6.toLowerCase().startsWith("epsg:")) {
+          const t7 = Number(o6.slice(5));
+          isNaN(t7) || 0 === t7 || (i6 = new k({ wkid: t7 }));
+        } else
+          i6 = (_a = m7(o6)) != null ? _a : k.WGS84;
+      else
+        M = true, i6 = new k({ wkid: 3857 });
+      k3 = new w3(t6, e4, r7, s5), k3.spatialReference = i6;
+    } else
+      M = true, k3 = new w3({ xmin: -0.5, ymin: 0.5 - i5, xmax: o5 - 0.5, ymax: 0.5, spatialReference: new k({ wkid: 3857 }) });
+    const T5 = e3(t5, "MRF_META/Rsets"), C2 = parseInt(T5 && T5.getAttribute("scale") || "2", 10), U4 = k3.spatialReference, B = new n4({ origin: new w2({ x: k3.xmin, y: k3.ymax, spatialReference: U4 }), blockWidth: d6, blockHeight: A2, pyramidBlockWidth: d6, pyramidBlockHeight: A2, compression: n10, pyramidScalingFactor: C2 }), L2 = new w2({ x: k3.width / o5, y: k3.height / i5, spatialReference: U4 }), E3 = new u({ width: o5, height: i5, extent: k3, isPseudoSpatialReference: M, spatialReference: U4, bandCount: a4, pixelType: p6, pixelSize: L2, noDataValue: _, storageInfo: B }), P2 = t4(t5, "datafile"), O3 = t4(t5, "IndexFile");
+    return { rasterInfo: E3, files: { mrf: this.url, index: O3 || this.url.replace(".mrf", ".idx"), data: P2 || this.url.replace(".mrf", b4.get(n10).blobExtension) } };
+  }
+  async _fetchAuxiliaryData(t5) {
+    try {
+      const { data: e4 } = await this.request(this.url + ".aux.xml", { responseType: "xml", signal: t5 == null ? void 0 : t5.signal });
+      return p5(e4);
+    } catch {
+      return null;
+    }
+  }
+};
+e([y()], A.prototype, "_files", void 0), e([y()], A.prototype, "_storageIndex", void 0), e([y({ type: String, json: { write: true } })], A.prototype, "datasetFormat", void 0), A = e([n("esri.layers.support.rasterIO.MRFRaster")], A);
+var F = A;
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/TIFFRaster.js
+var E2 = (e4, t5) => {
+  var _a;
+  return (_a = e4.get(t5)) == null ? void 0 : _a.values;
+};
+var F2 = (e4, t5) => {
+  var _a, _b;
+  return (_b = (_a = e4.get(t5)) == null ? void 0 : _a.values) == null ? void 0 : _b[0];
+};
+var R2 = class extends U3 {
+  constructor() {
+    super(...arguments), this._files = null, this._headerInfo = null, this._bufferSize = 1048576, this.datasetFormat = "TIFF";
+  }
+  async open(e4) {
+    await this.init();
+    const s4 = e4 ? e2(e4.signal) : null, { data: a4 } = await this.request(this.url, { range: { from: 0, to: this._bufferSize }, responseType: "array-buffer", signal: s4 });
+    if (!a4)
+      throw new s2("tiffraster:open", "failed to open url " + this.url);
+    this.datasetName = this.url.slice(this.url.lastIndexOf("/") + 1);
+    const { littleEndian: n10, firstIFDPos: o5, isBigTiff: f9 } = N(a4), l6 = [];
+    await this._readIFDs(l6, a4, n10, o5, 0, f9 ? 8 : 4, s4);
+    const { imageInfo: u5, rasterInfo: p6 } = this._parseIFDs(l6);
+    if (this._headerInfo = { littleEndian: n10, isBigTiff: f9, ifds: l6, ...u5 }, this._set("rasterInfo", p6), !u5.isSupported)
+      throw new s2("tiffraster:open", "this tiff is not supported: " + u5.message);
+    if (!u5.tileWidth)
+      throw new s2("tiffraster:open", "none-tiled tiff is not optimized for access, convert to COG and retry.");
+    const { skipExtensions: m8 = [] } = this.ioConfig;
+    if (!m8.includes("aux.xml")) {
+      const t5 = await this._fetchAuxiliaryMetaData(e4);
+      null != t5 && this._processPAMInfo(t5, p6);
+    }
+    m8.includes("vat.dbf") || 1 !== p6.bandCount || "u8" !== p6.pixelType || (p6.attributeTable = await this._fetchAuxiliaryTable(e4), r(p6.attributeTable) && (p6.keyProperties.DataType = "thematic")), this.updateTileInfo();
+  }
+  async fetchRawTile(e4, t5, r6, i5 = {}) {
+    var _a;
+    if (!((_a = this._headerInfo) == null ? void 0 : _a.isSupported) || this.isBlockOutside(e4, t5, r6))
+      return null;
+    const s4 = this._getTileLocation(e4, t5, r6);
+    if (!s4)
+      return null;
+    const { ranges: a4, actualTileWidth: n10, actualTileHeight: o5, ifd: f9 } = s4, l6 = a4.map((e5) => this.request(this.url, { range: e5, responseType: "array-buffer", signal: i5.signal })), u5 = await Promise.all(l6), p6 = u5.map((e5) => e5.data.byteLength).reduce((e5, t6) => e5 + t6), m8 = 1 === u5.length ? u5[0].data : new ArrayBuffer(p6), c10 = [0], h3 = [0];
+    if (u5.length > 1) {
+      const e5 = new Uint8Array(m8);
+      for (let t6 = 0, r7 = 0; t6 < u5.length; t6++) {
+        const i6 = u5[t6].data;
+        e5.set(new Uint8Array(i6), r7), c10[t6] = r7, r7 += i6.byteLength, h3[t6] = i6.byteLength;
+      }
+    }
+    const { blockWidth: d6, blockHeight: y5 } = this.getBlockWidthHeight(e4), g4 = await this.decodePixelBlock(m8, { format: "tiff", customOptions: { headerInfo: this._headerInfo, ifd: f9, offsets: c10, sizes: h3 }, width: d6, height: y5, planes: null, pixelType: null });
+    let x4, T5, I4;
+    if (n10 !== d6 || o5 !== y5) {
+      let e5 = g4.mask;
+      if (e5)
+        for (x4 = 0; x4 < y5; x4++)
+          if (I4 = x4 * d6, x4 < o5)
+            for (T5 = n10; T5 < d6; T5++)
+              e5[I4 + T5] = 0;
+          else
+            for (T5 = 0; T5 < d6; T5++)
+              e5[I4 + T5] = 0;
+      else
+        for (e5 = new Uint8Array(d6 * y5), g4.mask = e5, x4 = 0; x4 < o5; x4++)
+          for (I4 = x4 * d6, T5 = 0; T5 < n10; T5++)
+            e5[I4 + T5] = 1;
+    }
+    return g4;
+  }
+  _parseIFDs(e4) {
+    var _a, _b;
+    const t5 = D(e4), { width: r6, height: i5, tileWidth: s4, tileHeight: a4, planes: n10, pixelType: l6, compression: u5, firstPyramidLevel: m8, maximumPyramidLevel: c10, pyramidBlockWidth: d6, pyramidBlockHeight: y5, tileBoundary: g4, affine: x4, metadata: T5 } = t5, w7 = ((_a = t5.extent.spatialReference) == null ? void 0 : _a.wkt) || ((_b = t5.extent.spatialReference) == null ? void 0 : _b.wkid);
+    let R3 = m7(w7), v5 = false;
+    null == R3 && (v5 = true, R3 = new k({ wkid: 3857 }));
+    const k3 = new w3({ ...t5.extent, spatialReference: R3 }), D3 = new w2(k3 ? { x: k3.xmin, y: k3.ymax, spatialReference: R3 } : { x: 0, y: 0 }), j6 = new n4({ blockWidth: s4, blockHeight: a4, pyramidBlockWidth: d6, pyramidBlockHeight: y5, compression: u5, origin: D3, firstPyramidLevel: m8, maximumPyramidLevel: c10, blockBoundary: g4 }), O3 = new w2({ x: (k3.xmax - k3.xmin) / r6, y: (k3.ymax - k3.ymin) / i5, spatialReference: R3 }), P2 = T5 ? { BandProperties: T5.bandProperties, DataType: T5.dataType } : {};
+    let B = null;
+    const L2 = F2(e4[0], "PHOTOMETRICINTERPRETATION"), A2 = E2(e4[0], "COLORMAP");
+    if (3 === L2 && (A2 == null ? void 0 : A2.length) > 3 && A2.length % 3 == 0) {
+      B = [];
+      const e5 = A2.length / 3;
+      for (let t6 = 0; t6 < e5; t6++)
+        B.push([t6, A2[t6] >>> 8, A2[t6 + e5] >>> 8, A2[t6 + 2 * e5] >>> 8]);
+    }
+    const z2 = new u({ width: r6, height: i5, bandCount: n10, pixelType: l6, pixelSize: O3, storageInfo: j6, spatialReference: R3, isPseudoSpatialReference: v5, keyProperties: P2, extent: k3, colormap: B, statistics: T5 ? T5.statistics : null });
+    return (x4 == null ? void 0 : x4.length) && (z2.nativeExtent = new w3({ xmin: -0.5, ymin: 0.5 - i5, xmax: r6 - 0.5, ymax: 0.5, spatialReference: R3 }), z2.transform = new m3({ polynomialOrder: 1, forwardCoefficients: [x4[2] + x4[0] / 2, x4[5] - x4[3] / 2, x4[0], x4[3], -x4[1], -x4[4]] }), z2.extent = z2.transform.forwardTransform(z2.nativeExtent), z2.pixelSize = new w2({ x: (k3.xmax - k3.xmin) / r6, y: (k3.ymax - k3.ymin) / i5, spatialReference: R3 }), j6.origin.x = -0.5, j6.origin.y = 0.5), { imageInfo: t5, rasterInfo: z2 };
+  }
+  _processPAMInfo(e4, t5) {
+    var _a;
+    if (t5.statistics = (_a = e4.statistics) != null ? _a : t5.statistics, t5.histograms = e4.histograms, e4.histograms && t(t5.statistics) && (t5.statistics = g2(e4.histograms)), e4.transform && t(t5.transform)) {
+      t5.transform = e4.transform, t5.nativeExtent = t5.extent;
+      const r6 = t5.transform.forwardTransform(t5.nativeExtent);
+      t5.pixelSize = new w2({ x: (r6.xmax - r6.xmin) / t5.width, y: (r6.ymax - r6.ymin) / t5.height, spatialReference: t5.spatialReference }), t5.extent = r6;
+    }
+    t5.spatialReference || (t5.spatialReference = e4.spatialReference);
+  }
+  async _readIFDs(e4, t5, r6, i5, s4, a4 = 4, n10) {
+    if (!i5)
+      return null;
+    if (i5 >= t5.byteLength || i5 < 0) {
+      t5 = (await this.request(this.url, { range: { from: i5 + s4, to: i5 + s4 + this._bufferSize }, responseType: "array-buffer", signal: n10 })).data, s4 = i5 + s4, i5 = 0;
+    }
+    const o5 = await this._readIFD(t5, r6, i5, s4, n3.TIFF_TAGS, a4, n10);
+    if (e4.push(o5.ifd), !o5.nextIFD)
+      return null;
+    await this._readIFDs(e4, t5, r6, o5.nextIFD - s4, s4, a4, n10);
+  }
+  async _readIFD(e4, t5, r6, s4, a4 = n3.TIFF_TAGS, n10 = 4, o5) {
+    var _a, _b;
+    if (!e4)
+      return null;
+    const f9 = G(e4, t5, r6, s4, a4, n10);
+    if (f9.success) {
+      const r7 = [];
+      if ((_a = f9.ifd) == null ? void 0 : _a.forEach((e5) => {
+        e5.values || r7.push(e5);
+      }), r7.length > 0) {
+        const a5 = r7.map((e5) => e5.offlineOffsetSize).filter(r), n11 = Math.min.apply(null, a5.map((e5) => e5[0]));
+        if (Math.min.apply(null, a5.map((e5) => e5[0] + e5[1])) - n11 <= this._bufferSize) {
+          const { data: i5 } = await this.request(this.url, { range: { from: n11, to: n11 + this._bufferSize }, responseType: "array-buffer", signal: o5 });
+          e4 = i5, s4 = n11, r7.forEach((r8) => b(e4, t5, r8, s4));
+        }
+      }
+      if ((_b = f9.ifd) == null ? void 0 : _b.has("GEOKEYDIRECTORY")) {
+        const r8 = f9.ifd.get("GEOKEYDIRECTORY"), i5 = r8 == null ? void 0 : r8.values;
+        if (i5 && i5.length > 4) {
+          const a5 = i5[0] + "." + i5[1] + "." + i5[2], n11 = await this._readIFD(e4, t5, r8.valueOffset + 6 - s4, s4, n3.GEO_KEYS, 2, o5);
+          r8.data = n11.ifd, r8.data && r8.data.set("GEOTIFFVersion", { id: 0, type: 2, valueCount: 1, valueOffset: null, values: [a5] });
+        }
+      }
+      return f9;
+    }
+    if (f9.requiredBufferSize && f9.requiredBufferSize !== e4.byteLength) {
+      const r7 = await this.request(this.url, { range: { from: s4, to: s4 + f9.requiredBufferSize + 4 }, responseType: "array-buffer", signal: o5 });
+      return (e4 = r7.data).byteLength < f9.requiredBufferSize ? null : this._readIFD(e4, t5, 0, s4, n3.TIFF_TAGS, 4, o5);
+    }
+  }
+  _getTileLocation(e4, t5, r6) {
+    var _a;
+    const { firstPyramidLevel: i5, blockBoundary: s4 } = this.rasterInfo.storageInfo, a4 = 0 === e4 ? 0 : e4 - (i5 - 1), n10 = (_a = this._headerInfo) == null ? void 0 : _a.ifds[a4];
+    if (!n10)
+      return null;
+    const o5 = O2(n10, this._headerInfo), f9 = E2(n10, "TILEOFFSETS");
+    if (void 0 === f9)
+      return null;
+    const l6 = E2(n10, "TILEBYTECOUNTS"), { minRow: u5, minCol: p6, maxRow: m8, maxCol: c10 } = s4[a4];
+    if (t5 > m8 || r6 > c10 || t5 < u5 || r6 < p6)
+      return null;
+    const h3 = F2(n10, "IMAGEWIDTH"), d6 = F2(n10, "IMAGELENGTH"), y5 = F2(n10, "TILEWIDTH"), x4 = F2(n10, "TILELENGTH"), T5 = o5 ? this.rasterInfo.bandCount : 1, I4 = T5 * t5 * (c10 + 1) + r6, w7 = [{ from: f9[I4], to: f9[I4 + T5 - 1] + l6[I4 + T5 - 1] - 1 }];
+    if (o5) {
+      let e5 = true;
+      for (let t6 = 0; t6 < T5; t6++)
+        if (f9[I4 + t6] + l6[I4 + t6] !== f9[I4 + t6 + 1]) {
+          e5 = false;
+          break;
+        }
+      if (!e5)
+        for (let t6 = 0; t6 < T5; t6++)
+          w7[t6] = { from: f9[I4 + t6], to: f9[I4 + t6] + l6[I4 + t6] - 1 };
+    }
+    const b5 = f9[I4], _ = l6[I4];
+    if (null == b5 || null == _)
+      return null;
+    return { ranges: w7, ifd: n10, actualTileWidth: r6 === c10 && h3 % y5 || y5, actualTileHeight: t5 === m8 && d6 % x4 || x4 };
+  }
+  async _fetchAuxiliaryMetaData(e4) {
+    try {
+      const { data: t5 } = await this.request(this.url + ".aux.xml", { responseType: "xml", signal: e4 == null ? void 0 : e4.signal });
+      return p5(t5);
+    } catch {
+      return null;
+    }
+  }
+  async _fetchAuxiliaryTable(e4) {
+    try {
+      const { data: t5 } = await this.request(this.url + ".vat.dbf", { responseType: "array-buffer", signal: e4 == null ? void 0 : e4.signal }), r6 = r5.parse(t5);
+      return (r6 == null ? void 0 : r6.recordSet) ? x.fromJSON(r6.recordSet) : null;
+    } catch {
+      return null;
+    }
+  }
+};
+e([y()], R2.prototype, "_files", void 0), e([y()], R2.prototype, "_headerInfo", void 0), e([y()], R2.prototype, "_bufferSize", void 0), e([y({ type: String, json: { write: true } })], R2.prototype, "datasetFormat", void 0), R2 = e([n("esri.layers.support.rasterDatasets.TIFFRaster")], R2);
+var v4 = R2;
+
+// node_modules/@arcgis/core/layers/support/rasterDatasets/RasterFactory.js
+var c9 = /* @__PURE__ */ new Map();
+c9.set("CRF", { desc: "Cloud Raster Format", constructor: I }), c9.set("MRF", { desc: "Meta Raster Format", constructor: F }), c9.set("TIFF", { desc: "GeoTIFF", constructor: v4 }), c9.set("RasterTileServer", { desc: "Raster Tile Server", constructor: w6 }), c9.set("JPG", { desc: "JPG Raster Format", constructor: y4 }), c9.set("PNG", { desc: "PNG Raster Format", constructor: y4 }), c9.set("GIF", { desc: "GIF Raster Format", constructor: y4 }), c9.set("BMP", { desc: "BMP Raster Format", constructor: y4 });
+var n9 = class {
+  static get supportedFormats() {
+    const t5 = /* @__PURE__ */ new Set();
+    return c9.forEach((e4, r6) => t5.add(r6)), t5;
+  }
+  static async open(e4) {
+    const { url: r6, ioConfig: s4, sourceJSON: o5 } = e4;
+    let a4 = e4.datasetFormat;
+    null == a4 && r6.lastIndexOf(".") && (a4 = r6.slice(r6.lastIndexOf(".") + 1).toUpperCase()), "OVR" === a4 || "TIF" === a4 ? a4 = "TIFF" : "JPG" !== a4 && "JPEG" !== a4 && "JFIF" !== a4 || (a4 = "JPG"), r6.toLowerCase().includes("/imageserver") && !r6.toLowerCase().includes("/wcsserver") && (a4 = "RasterTileServer");
+    const n10 = { url: r6, sourceJSON: o5, datasetFormat: a4, ioConfig: s4 != null ? s4 : { bandIds: null, sampling: null } };
+    let l6, i5;
+    if (a4 && this.supportedFormats.has(a4)) {
+      if ("CRF" === a4 && !(s4 == null ? void 0 : s4.enableCRF))
+        throw new s2("rasterfactory:open", `cannot open raster: ${r6}`);
+      return l6 = c9.get(a4).constructor, i5 = new l6(n10), await i5.open({ signal: e4.signal }), i5;
+    }
+    if (a4)
+      throw new s2("rasterfactory:open", "not a supported format " + a4);
+    const u5 = Array.from(c9.keys());
+    let F3 = 0;
+    const m8 = () => (a4 = u5[F3++], a4 && ("CRF" !== a4 || (s4 == null ? void 0 : s4.enableCRF)) ? (l6 = c9.get(a4).constructor, i5 = new l6(n10), i5.open({ signal: e4.signal }).then(() => i5).catch(() => m8())) : null);
+    return m8();
+  }
+  static register(t5, e4, r6) {
+    c9.has(t5.toUpperCase()) || c9.set(t5.toUpperCase(), { desc: e4, constructor: r6 });
+  }
+};
+
+// node_modules/@arcgis/core/layers/ImageryTileLayer.js
+var N3 = class extends n2(t2(c4(v3(o2(N2(a2(p(O(b3))))))))) {
+  constructor(...e4) {
+    super(...e4), this.bandIds = null, this.interpolation = null, this.legendEnabled = true, this.isReference = null, this.listMode = "show", this.sourceJSON = null, this.version = null, this.title = null, this.type = "imagery-tile", this.operationalLayerType = "ArcGISTiledImageServiceLayer", this.popupEnabled = true, this.popupTemplate = null, this.fields = null;
+  }
+  normalizeCtorArgs(e4, r6) {
+    return "string" == typeof e4 ? { url: e4, ...r6 } : e4;
+  }
+  load(e4) {
+    const r6 = r(e4) ? e4.signal : null;
+    return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["Image Service"] }, e4).catch(w).then(() => this._openRaster(r6))), Promise.resolve(this);
+  }
+  get defaultPopupTemplate() {
+    return this.createPopupTemplate();
+  }
+  get rasterFields() {
+    var _a;
+    let e4 = [new y2({ name: "Raster.ServicePixelValue", alias: "Pixel Value", domain: null, editable: false, length: 50, type: "string" })];
+    const { rasterInfo: r6 } = this, { attributeTable: t5 } = r6, o5 = r(t5) ? t5.fields : null, i5 = "Raster.";
+    if (o5) {
+      const r7 = o5.filter((e5) => "oid" !== e5.type && "value" !== e5.name.toLowerCase()).map((e5) => {
+        const r8 = e5.clone();
+        return r8.name = i5 + e5.name, r8;
+      });
+      e4 = e4.concat(r7);
+    }
+    const { dataType: s4, multidimensionalInfo: n10 } = r6;
+    if (("vector-magdir" === s4 || "vector-uv" === s4) && r(n10)) {
+      const r7 = (_a = n10.variables[0].unit) == null ? void 0 : _a.trim(), t6 = "Magnitude" + (r7 ? ` (${r7})` : "");
+      e4.push(new y2({ name: "Raster.Magnitude", alias: t6, domain: null, editable: false, type: "double" })), e4.push(new y2({ name: "Raster.Direction", alias: "Direction (\xB0)", domain: null, editable: false, type: "double" }));
+    }
+    return e4;
+  }
+  set renderer(e4) {
+    this._set("renderer", e4), this.updateRenderer();
+  }
+  readRenderer(e4, r6, o5) {
+    const i5 = r6 && r6.layerDefinition && r6.layerDefinition.drawingInfo && r6.layerDefinition.drawingInfo.renderer, s4 = u2(i5, o5) || void 0;
+    if (null != s4)
+      return s4;
+  }
+  createPopupTemplate(e4) {
+    return p2({ fields: this.rasterFields, title: this.title }, e4);
+  }
+  write(e4, r6) {
+    const { raster: t5 } = this;
+    if (this.loaded ? "RasterTileServer" === t5.datasetFormat && ("Raster" === t5.tileType || "Map" === t5.tileType) : this.url && /\/ImageServer(\/|\/?$)/i.test(this.url))
+      return super.write(e4, r6);
+    if (r6 && r6.messages) {
+      const e5 = `${r6.origin}/${r6.layerContainerType || "operational-layers"}`;
+      r6.messages.push(new s2("layer:unsupported", `Layers (${this.title}, ${this.id}) of type '${this.declaredClass}' are not supported in the context of '${e5}'`, { layer: this }));
+    }
+    return null;
+  }
+  async _openRaster(e4) {
+    if (this.raster)
+      this.raster.rasterInfo || await this.raster.open(), this.url = this.raster.url;
+    else {
+      const r7 = await n9.open({ url: this.url, sourceJSON: this.sourceJSON, ioConfig: { sampling: "closest", ...this.ioConfig, customFetchParameters: this.customParameters }, signal: e4 });
+      if (this.rasterFunction) {
+        const e5 = l3(this.rasterFunction.toJSON(), { raster: r7 }), t5 = new c7({ rasterFunction: e5 });
+        await t5.open(), this.raster = t5;
+      } else
+        this.raster = r7;
+    }
+    const { rasterInfo: r6 } = this.raster;
+    if (!r6)
+      throw new s2("imagery-tile-layer:load", "cannot load resources on " + this.url);
+    if (this.sourceJSON = this.sourceJSON || this.raster.sourceJSON, null != this.sourceJSON) {
+      const e5 = "Map" === this.raster.tileType && null != this.sourceJSON.minLOD && null != this.sourceJSON.maxLOD ? this.sourceJSON : { ...this.sourceJSON, minScale: 0, maxScale: 0 };
+      this.read(e5, { origin: "service" });
+    }
+    null == this.title && (this.title = this.raster.datasetName), "Map" === this.raster.tileType && (this.popupEnabled = false), this._configDefaultSettings(), this.addHandles(l2(() => this.customParameters, (e5) => {
+      this.raster.ioConfig.customFetchParameters = e5;
+    }));
+  }
+};
+e([y({ type: [T], json: { write: { overridePolicy() {
+  var _a;
+  return { enabled: !this.loaded || "Raster" === this.raster.tileType || "0,1,2" !== ((_a = this.bandIds) == null ? void 0 : _a.join(",")) };
+} } } })], N3.prototype, "bandIds", void 0), e([y({ json: { write: { overridePolicy() {
+  return { enabled: !this.loaded || "Raster" === this.raster.tileType || "bilinear" !== this.interpolation };
+} } } }), r2(o3)], N3.prototype, "interpolation", void 0), e([y({ json: { write: true } })], N3.prototype, "multidimensionalDefinition", void 0), e([y(c3)], N3.prototype, "legendEnabled", void 0), e([y({ type: Boolean, json: { read: false, write: { enabled: true, overridePolicy: () => ({ enabled: false }) } } })], N3.prototype, "isReference", void 0), e([y({ type: ["show", "hide"] })], N3.prototype, "listMode", void 0), e([y({ json: { read: true, write: true } })], N3.prototype, "blendMode", void 0), e([y()], N3.prototype, "sourceJSON", void 0), e([y({ readOnly: true, json: { origins: { service: { read: { source: "currentVersion" } } } } })], N3.prototype, "version", void 0), e([y()], N3.prototype, "title", void 0), e([y({ readOnly: true, json: { read: false } })], N3.prototype, "type", void 0), e([y({ type: ["ArcGISTiledImageServiceLayer"] })], N3.prototype, "operationalLayerType", void 0), e([y({ type: Boolean, value: true, json: { read: { source: "disablePopup", reader: (e4, r6) => !r6.disablePopup }, write: { target: "disablePopup", overridePolicy() {
+  return { enabled: !this.loaded || "Raster" === this.raster.tileType };
+}, writer(e4, r6, t5) {
+  r6[t5] = !e4;
+} } } })], N3.prototype, "popupEnabled", void 0), e([y({ type: k2, json: { read: { source: "popupInfo" }, write: { target: "popupInfo", overridePolicy() {
+  return { enabled: !this.loaded || "Raster" === this.raster.tileType };
+} } } })], N3.prototype, "popupTemplate", void 0), e([y({ readOnly: true })], N3.prototype, "defaultPopupTemplate", null), e([y({ readOnly: true, type: [y2] })], N3.prototype, "fields", void 0), e([y({ readOnly: true, type: [y2] })], N3.prototype, "rasterFields", null), e([y({ types: l4, json: { name: "layerDefinition.drawingInfo.renderer", write: { overridePolicy() {
+  var _a;
+  const e4 = "raster-stretch" === ((_a = this.renderer) == null ? void 0 : _a.type) && "none" === this.renderer.stretchType && !this.renderer.useGamma;
+  return { enabled: !this.loaded || "Raster" === this.raster.tileType || !e4 };
+} }, origins: { "web-scene": { types: i2, name: "layerDefinition.drawingInfo.renderer", write: { overridePolicy: (e4) => ({ enabled: e4 && "vector-field" !== e4.type && "flow" !== e4.type }) } } } } })], N3.prototype, "renderer", null), e([o("renderer")], N3.prototype, "readRenderer", null), N3 = e([n("esri.layers.ImageryTileLayer")], N3);
+var J2 = N3;
+export {
+  J2 as default
+};
+//# sourceMappingURL=ImageryTileLayer-IMEVVZAS.js.map

+ 0 - 0
node_modules/.vite/deps/ImageryTileLayer-CTOXD6HK.js.map → node_modules/.vite/deps/ImageryTileLayer-IMEVVZAS.js.map


+ 734 - 0
node_modules/.vite/deps/ImageryTileLayerView2D-SIAMUTWD.js

@@ -0,0 +1,734 @@
+import {
+  d as d3,
+  y as y4
+} from "./chunk-3HF3HY4M.js";
+import {
+  r as r4
+} from "./chunk-T6DJ6UAT.js";
+import {
+  i as i3
+} from "./chunk-MQOWDNF7.js";
+import {
+  u as u3,
+  y as y3
+} from "./chunk-ZOTXRPGC.js";
+import {
+  i as i2,
+  r as r3
+} from "./chunk-J2PY6ANL.js";
+import {
+  d as d2,
+  n3 as n2,
+  p
+} from "./chunk-MH3GGTFP.js";
+import "./chunk-2ZACOQZJ.js";
+import "./chunk-JBMHQ5RK.js";
+import {
+  a,
+  f,
+  g as g4,
+  u as u2
+} from "./chunk-DEU444AC.js";
+import {
+  m
+} from "./chunk-NWNFS4JJ.js";
+import "./chunk-WBWQJQK4.js";
+import {
+  s as s5
+} from "./chunk-F2YXWZUP.js";
+import "./chunk-DBT4KOKX.js";
+import "./chunk-2GP5D74I.js";
+import {
+  J,
+  U as U2,
+  ie,
+  v
+} from "./chunk-BQIDHLG4.js";
+import {
+  j as j3
+} from "./chunk-NSDRZKZG.js";
+import {
+  g as g2,
+  s as s4
+} from "./chunk-SCZJ2KEY.js";
+import "./chunk-EPMXCACW.js";
+import "./chunk-T2SKWJGU.js";
+import "./chunk-UO3LS2M5.js";
+import "./chunk-H2VOWDMO.js";
+import "./chunk-QISOH77W.js";
+import "./chunk-UWKVAZQ6.js";
+import "./chunk-3WXSWAUV.js";
+import "./chunk-27YO3FKC.js";
+import {
+  I
+} from "./chunk-EQNT4A7P.js";
+import "./chunk-XO5VJRK4.js";
+import "./chunk-4OM3EX6P.js";
+import "./chunk-3OFVLRSL.js";
+import {
+  mt
+} from "./chunk-KUWFZDWB.js";
+import {
+  l as l2
+} from "./chunk-YFDOPEEZ.js";
+import {
+  e as e3
+} from "./chunk-IQBIGNPU.js";
+import "./chunk-AJFR3FGC.js";
+import "./chunk-K7B6OWCU.js";
+import "./chunk-TFW2HQCV.js";
+import {
+  r as r2
+} from "./chunk-BPRMPSTX.js";
+import {
+  y as y2
+} from "./chunk-PQGNKUMB.js";
+import "./chunk-RG3AHHRL.js";
+import "./chunk-UDYHZLTE.js";
+import "./chunk-DGINNG7Z.js";
+import {
+  h as h2
+} from "./chunk-KK6FUQQU.js";
+import "./chunk-JQUWFKNU.js";
+import "./chunk-RWQH5X3O.js";
+import "./chunk-6334AFGG.js";
+import "./chunk-TFHLTN6F.js";
+import "./chunk-4VZNS7N2.js";
+import {
+  i,
+  s as s3
+} from "./chunk-O3JQY77G.js";
+import "./chunk-VYQHMPYW.js";
+import "./chunk-E3G7BRZB.js";
+import "./chunk-EDHROVWI.js";
+import "./chunk-3IRT3YKJ.js";
+import "./chunk-SOSOZIX6.js";
+import {
+  g
+} from "./chunk-KJZ6SS3P.js";
+import "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import "./chunk-YMULPZCD.js";
+import {
+  d
+} from "./chunk-RDMCXRET.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import {
+  U,
+  h,
+  l,
+  w
+} from "./chunk-BWATQC2Y.js";
+import {
+  j as j2
+} from "./chunk-6URCZZA6.js";
+import "./chunk-U2WD23Z5.js";
+import {
+  g as g3
+} from "./chunk-KG45D2XL.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import "./chunk-3WQOA5CB.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import {
+  u
+} from "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import "./chunk-VEGAOVMY.js";
+import {
+  w as w2,
+  w2 as w3
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  E,
+  j,
+  x
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s2 as s,
+  s3 as s2
+} from "./chunk-E5O6P5I2.js";
+import "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  e as e2,
+  r,
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/views/2d/engine/imagery/RasterTile.js
+var i4 = class extends r3 {
+  constructor(t2, e4, i5, r6, a2, n6, m2 = null) {
+    super(t2, e4, i5, r6, a2, n6), this.bitmap = new p(m2, null, null), this.bitmap.coordScale = [a2, n6], this.bitmap.once("isReady", () => this.ready());
+  }
+  destroy() {
+    super.destroy(), this.bitmap.destroy(), this.bitmap = null, this.stage = null;
+  }
+  set stencilRef(t2) {
+    this.bitmap.stencilRef = t2;
+  }
+  get stencilRef() {
+    return this.bitmap.stencilRef;
+  }
+  setTransform(t2) {
+    super.setTransform(t2), this.bitmap.transforms.dvs = this.transforms.dvs;
+  }
+  _createTransforms() {
+    return { dvs: e3(), tileMat3: e3() };
+  }
+  onAttach() {
+    this.bitmap.stage = this.stage;
+  }
+  onDetach() {
+    this.bitmap.stage = null;
+  }
+};
+
+// node_modules/@arcgis/core/views/2d/engine/imagery/RasterTileContainer.js
+var n3 = class extends i2 {
+  constructor() {
+    super(...arguments), this.isCustomTilingScheme = false;
+  }
+  createTile(e4) {
+    const s6 = this._getTileBounds(e4), [i5, r6] = this._tileInfoView.tileInfo.size, o2 = this._tileInfoView.getTileResolution(e4.level);
+    return new i4(e4, o2, s6[0], s6[3], i5, r6);
+  }
+  prepareRenderPasses(e4) {
+    const s6 = e4.registerRenderPass({ name: "imagery (tile)", brushes: [n2.raster], target: () => this.children.map((e5) => e5.bitmap), drawPhase: I.MAP });
+    return [...super.prepareRenderPasses(e4), s6];
+  }
+  doRender(e4) {
+    this.visible && e4.drawPhase === I.MAP && super.doRender(e4);
+  }
+  _getTileBounds(i5) {
+    const t2 = this._tileInfoView.getTileBounds(u(), i5);
+    if (this.isCustomTilingScheme && i5.world) {
+      const { tileInfo: e4 } = this._tileInfoView, r6 = mt(e4.spatialReference);
+      if (r6) {
+        const { resolution: s6 } = e4.lodAt(i5.level), o2 = r6 / s6 % e4.size[0], n6 = o2 ? (e4.size[0] - o2) * s6 : 0;
+        t2[0] -= n6 * i5.world, t2[2] -= n6 * i5.world;
+      }
+    }
+    return t2;
+  }
+};
+
+// node_modules/@arcgis/core/views/2d/layers/imagery/BaseImageryTileSubView2D.js
+var v2 = [0, 0];
+var T = class extends d {
+  constructor() {
+    super(...arguments), this._emptyTilePixelBlock = null, this._tileStrategy = null, this._tileInfoView = null, this._fetchQueue = null, this._blockCacheRegistryUrl = null, this._blockCacheRegistryId = null, this._srcResolutions = null, this.previousLOD = null, this._needBlockCacheUpdate = false, this._globalSymbolizerParams = null, this._symbolizerParams = null, this._abortController = null, this._isCustomTilingScheme = false, this._globalUpdateRequested = false, this.attached = false, this.container = null, this.layer = null, this.timeExtent = null, this.redrawOrRefetch = x((e4, t2) => !this.previousLOD || this.layerView.suspended ? Promise.resolve() : e4 ? this.updatingHandles.addPromise(this.doRefresh()) : this.updatingHandles.addPromise(this._redrawImage(t2)));
+  }
+  get useWebGLForProcessing() {
+    var _a;
+    return (_a = this._get("useWebGLForProcessing")) != null ? _a : true;
+  }
+  set useWebGLForProcessing(e4) {
+    this._set("useWebGLForProcessing", e4);
+  }
+  get useProgressiveUpdate() {
+    return null == this._get("useProgressiveUpdate") || this._get("useProgressiveUpdate");
+  }
+  set useProgressiveUpdate(e4) {
+    if (this._tileStrategy && this.useProgressiveUpdate !== e4) {
+      this._tileStrategy.destroy(), this.container.removeAllChildren();
+      const t2 = this._getCacheSize(e4);
+      this._tileStrategy = new r2({ cachePolicy: "purge", acquireTile: (e5) => this.acquireTile(e5), releaseTile: (e5) => this.releaseTile(e5), cacheSize: t2, tileInfoView: this._tileInfoView }), this._set("useProgressiveUpdate", e4), this.layerView.requestUpdate();
+    }
+  }
+  update(e4) {
+    var _a;
+    this._fetchQueue.pause(), this._fetchQueue.state = e4.state, this._tileStrategy.update(e4), this._fetchQueue.resume();
+    const { extent: t2, resolution: i5, scale: s6 } = e4.state, r6 = this._tileInfoView.getClosestInfoForScale(s6);
+    if (this.layer.raster) {
+      if (!this.useProgressiveUpdate || this._needBlockCacheUpdate) {
+        const e5 = this._srcResolutions[r6.level], s7 = t2.toJSON ? t2 : w3.fromJSON(t2);
+        g4(this._blockCacheRegistryUrl, this._blockCacheRegistryId, s7, i5, e5, this.layer.raster.ioConfig.sampling);
+      }
+      this._needBlockCacheUpdate = false, ((_a = this.previousLOD) == null ? void 0 : _a.level) !== r6.level && (this.previousLOD = r6, null == this._symbolizerParams || this.layerView.hasTilingEffects || this._updateSymbolizerParams(), this._tileStrategy.updateCacheSize(0));
+    }
+  }
+  moveEnd() {
+    !this.layerView.hasTilingEffects && this.useProgressiveUpdate || (this._abortController && this._abortController.abort(), this._abortController = new AbortController(), 0 === this._fetchQueue.length && this._redrawImage(this._abortController.signal).then(() => {
+      this._globalUpdateRequested = false, this.layerView.requestUpdate();
+    }));
+    const e4 = this._getCacheSize(this.useProgressiveUpdate);
+    this._tileStrategy.updateCacheSize(e4), this.layerView.requestUpdate();
+  }
+  get updating() {
+    var _a;
+    return ((_a = this._fetchQueue) == null ? void 0 : _a.updating) || this._globalUpdateRequested || !(!this.updatingHandles || !this.updatingHandles.updating);
+  }
+  attach() {
+    l2("2d").supportsTextureFloat || (this.useWebGLForProcessing = false), this._initializeTileInfo(), this._tileInfoView = new h2(this.layerView.tileInfo, this.layerView.fullExtent);
+    const e4 = this._computeFetchConcurrency();
+    this._fetchQueue = new y2({ tileInfoView: this._tileInfoView, concurrency: e4, process: (e5, t3) => this._fetchTile1(e5, t3) });
+    const t2 = this._getCacheSize(this.useProgressiveUpdate);
+    this._tileStrategy = new r2({ cachePolicy: "purge", acquireTile: (e5) => this.acquireTile(e5), releaseTile: (e5) => this.releaseTile(e5), cacheSize: t2, tileInfoView: this._tileInfoView }), this._updateBlockCacheRegistry();
+  }
+  detach() {
+    this._tileStrategy.destroy(), this._fetchQueue.clear(), this.container.removeAllChildren(), this._fetchQueue = this._tileStrategy = this._tileInfoView = null, f(this._blockCacheRegistryUrl, this._blockCacheRegistryId), this._blockCacheRegistryUrl = this._blockCacheRegistryId = null;
+  }
+  acquireTile(e4) {
+    const t2 = this.container.createTile(e4);
+    return this._enqueueTileFetch(t2), this.layerView.requestUpdate(), this._needBlockCacheUpdate = true, this._globalUpdateRequested = this.layerView.hasTilingEffects || !this.useProgressiveUpdate, t2;
+  }
+  releaseTile(e4) {
+    this._fetchQueue.abort(e4.key.id), this.container.removeChild(e4), e4.once("detach", () => {
+      e4.destroy(), this.layerView.requestUpdate();
+    }), this.layerView.requestUpdate();
+  }
+  createEmptyTilePixelBlock(e4 = null) {
+    const t2 = null == e4 || e4.join(",") === this._tileInfoView.tileInfo.size.join(",");
+    if (t2 && r(this._emptyTilePixelBlock))
+      return this._emptyTilePixelBlock;
+    e4 = e4 || this._tileInfoView.tileInfo.size;
+    const [i5, r6] = e4, l4 = new g2({ width: i5, height: r6, pixels: [new Uint8Array(i5 * r6)], mask: new Uint8Array(i5 * r6), pixelType: "u8" });
+    return t2 && (this._emptyTilePixelBlock = l4), l4;
+  }
+  _fetchTile1(e4, t2) {
+    const i5 = r(t2) && t2.signal, l4 = this.canUseWebGLForProcessing(), { layerView: a2 } = this, o2 = !a2.tileInfo.isWrappable && r(U2(a2.view.spatialReference)), h3 = { allowPartialFill: true, datumTransformation: a2.datumTransformation, interpolation: l4 ? "nearest" : this.layer.interpolation, registryId: this._blockCacheRegistryId, requestRawData: l4, signal: e2(i5), srcResolution: this._srcResolutions[e4.level], timeExtent: a2.timeExtent, tileInfo: a2.tileInfo, disableWrapAround: o2 };
+    return this.fetchTile(e4, h3);
+  }
+  _getCacheSize(e4) {
+    return e4 ? 40 : 0;
+  }
+  _initializeTileInfo() {
+    const e4 = this.layerView.view.spatialReference, t2 = new w2({ x: this.layerView.fullExtent.xmin, y: this.layerView.fullExtent.ymax, spatialReference: e4 }), { scales: i5, srcResolutions: s6, isCustomTilingScheme: r6 } = ie(this.layer.rasterInfo, e4), l4 = j2.create({ spatialReference: e4, size: 512, scales: i5 });
+    (0 === l4.origin.x || l4.origin.x > t2.x) && (l4.origin = t2), this._isCustomTilingScheme = r6, this.layerView.set("tileInfo", l4), this._srcResolutions = s6 != null ? s6 : [];
+  }
+  _computeFetchConcurrency() {
+    const { blockBoundary: e4 } = this.layer.rasterInfo.storageInfo, t2 = e4[e4.length - 1];
+    return (t2.maxCol - t2.minCol + 1) * (t2.maxRow - t2.minRow + 1) > 64 ? 2 : 10;
+  }
+  async _enqueueTileFetch(e4, t2) {
+    this.updatingHandles.addPromise(this._enqueueTileFetch1(e4, t2));
+  }
+  async _enqueueTileFetch1(e4, t2) {
+    if (!this._fetchQueue.has(e4.key.id)) {
+      try {
+        const t3 = await this._fetchQueue.push(e4.key), { bandIds: r6 } = this.layer;
+        let l4 = !this.useProgressiveUpdate || this.layerView.hasTilingEffects && !this._globalSymbolizerParams;
+        if (this._globalUpdateRequested && !this.layerView.moving && 0 === this._fetchQueue.length) {
+          l4 = false;
+          try {
+            await this._redrawImage(this._abortController && this._abortController.signal);
+          } catch (s6) {
+            j(s6) && s.getLogger(this.declaredClass).error(s6);
+          }
+          this._globalUpdateRequested = false;
+        }
+        !this.canUseWebGLForProcessing() && "rasterVF" !== this.type || this.layerView.hasTilingEffects || null != this._symbolizerParams || this._updateSymbolizerParams();
+        const o2 = this._tileInfoView.getTileCoords(v2, e4.key), h3 = this._tileInfoView.getTileResolution(e4.key);
+        await this.updateTileSource(e4, { source: t3, symbolizerParams: this._symbolizerParams, globalSymbolizerParams: this._globalSymbolizerParams, suspended: l4, bandIds: r6, coords: o2, resolution: h3 }), e4.once("attach", () => this.layerView.requestUpdate()), this.container.addChild(e4);
+      } catch (s6) {
+        j(s6) || s.getLogger(this.declaredClass).error(s6);
+      }
+      this.layerView.requestUpdate();
+    }
+  }
+  async _redrawImage(e4) {
+    if (0 === this.container.children.length)
+      return;
+    await this.layer.updateRenderer(), this.layerView.hasTilingEffects ? await this._updateGlobalSymbolizerParams(e4) : (this._updateSymbolizerParams(), this._globalSymbolizerParams = null);
+    const t2 = this.container.children.map(async (e5) => this.updateTileSymbolizerParameters(e5, { local: this._symbolizerParams, global: this._globalSymbolizerParams }));
+    await E(t2), this.container.requestRender();
+  }
+  async _updateGlobalSymbolizerParams(e4) {
+    const t2 = { srcResolution: this._srcResolutions[this.previousLOD.level], registryId: this._blockCacheRegistryId, signal: e4 }, i5 = await this.layer.fetchPixels(this.layerView.view.extent, this.layerView.view.width, this.layerView.view.height, t2);
+    if (!i5 || !i5.pixelBlock)
+      return;
+    const s6 = this.layer.symbolizer.generateWebGLParameters({ pixelBlock: s4(i5.pixelBlock, this.layer.bandIds), isGCS: this.layerView.view.spatialReference.isGeographic, resolution: { x: this.previousLOD.resolution, y: this.previousLOD.resolution }, bandIds: this.layer.bandIds });
+    !this.canUseWebGLForProcessing() && s6 && "stretch" === s6.type && this.layer.renderer && "raster-stretch" === this.layer.renderer.type && (s6.factor = s6.factor.map((e5) => 255 * e5), s6.outMin = Math.round(255 * s6.outMin), s6.outMax = Math.round(255 * s6.outMax)), this._globalSymbolizerParams = s6;
+  }
+  _updateSymbolizerParams() {
+    this._symbolizerParams = this.layer.symbolizer.generateWebGLParameters({ pixelBlock: null, isGCS: this.layerView.view.spatialReference.isGeographic, resolution: { x: this.previousLOD.resolution, y: this.previousLOD.resolution }, bandIds: this.layer.bandIds });
+  }
+  _updateBlockCacheRegistry(e4 = false) {
+    const { url: t2, rasterInfo: i5, raster: s6 } = this.layer, { multidimensionalDefinition: r6 } = this.layer.normalizeRasterFetchOptions({ multidimensionalDefinition: this.layer.multidimensionalDefinition, timeExtent: this.layerView.timeExtent }), l4 = (i5 == null ? void 0 : i5.multidimensionalInfo) ? s6.getSliceIndex(r6) : null, a2 = a(t2, l4);
+    if (a2 !== this._blockCacheRegistryUrl) {
+      if (null != this._blockCacheRegistryUrl && f(this._blockCacheRegistryUrl, this._blockCacheRegistryId), this._blockCacheRegistryId = u2(a2, this.layer.raster.rasterInfo), e4) {
+        const e5 = this._tileInfoView.getClosestInfoForScale(this.layerView.view.scale), t3 = this._srcResolutions[e5.level];
+        g4(a2, this._blockCacheRegistryId, this.layerView.view.extent, this.layerView.view.resolution, t3, this.layer.raster.ioConfig.sampling);
+      }
+      this._blockCacheRegistryUrl = a2;
+    }
+  }
+  async doRefresh() {
+    if (!this.attached)
+      return;
+    await this.layer.updateRenderer(), this.layerView.hasTilingEffects || this._updateSymbolizerParams(), this._updateBlockCacheRegistry(true), this._fetchQueue.reset();
+    const e4 = [];
+    this._globalUpdateRequested = this.layerView.hasTilingEffects || !this.useProgressiveUpdate, this._tileStrategy.tiles.forEach((t2) => e4.push(this._enqueueTileFetch(t2))), await E(e4);
+  }
+};
+e([y()], T.prototype, "_fetchQueue", void 0), e([y()], T.prototype, "_globalUpdateRequested", void 0), e([y()], T.prototype, "attached", void 0), e([y()], T.prototype, "container", void 0), e([y()], T.prototype, "layer", void 0), e([y()], T.prototype, "layerView", void 0), e([y()], T.prototype, "type", void 0), e([y()], T.prototype, "useWebGLForProcessing", null), e([y()], T.prototype, "useProgressiveUpdate", null), e([y()], T.prototype, "timeExtent", void 0), e([y()], T.prototype, "updating", null), T = e([n("esri.views.2d.layers.imagery.BaseImageryTileSubView2D")], T);
+
+// node_modules/@arcgis/core/views/2d/layers/imagery/ImageryTileView2D.js
+var l3 = class extends T {
+  constructor() {
+    super(...arguments), this.container = null, this.layer = null, this.type = "raster";
+  }
+  attach() {
+    super.attach(), this.container = new n3(this._tileInfoView), this.container.isCustomTilingScheme = this._isCustomTilingScheme;
+  }
+  detach() {
+    super.detach(), this.container.removeAllChildren(), this.container = null;
+  }
+  canUseWebGLForProcessing() {
+    return this.useWebGLForProcessing && this.layer.symbolizer.canRenderInWebGL && !("majority" === this.layer.interpolation && r4(this.layer));
+  }
+  fetchTile(e4, r6) {
+    return this.layer.fetchTile(e4.level, e4.row, e4.col, r6);
+  }
+  async updateTileSource(e4, t2) {
+    const { bandIds: s6 } = this.layer, i5 = this._getLayerInterpolation(), o2 = this.canUseWebGLForProcessing(), { source: a2, globalSymbolizerParams: l4, suspended: n6, coords: c2, resolution: p2 } = t2, u4 = this.layerView.hasTilingEffects ? l4 : t2.symbolizerParams, { bitmap: d4 } = e4;
+    if ([d4.x, d4.y] = c2, d4.resolution = p2, a2 && r(a2) && r(a2.pixelBlock)) {
+      const e5 = { extent: a2.extent, pixelBlock: a2.pixelBlock };
+      if (d4.rawPixelData = e5, o2)
+        d4.source = a2.pixelBlock, d4.isRendereredSource = false;
+      else {
+        const r6 = await this.layer.applyRenderer(e5, "stretch" === (l4 == null ? void 0 : l4.type) ? l4 : null);
+        d4.source = r6, d4.isRendereredSource = true;
+      }
+      d4.symbolizerParameters = o2 ? u4 : null, o2 ? d4.transformGrid || (d4.transformGrid = a2.transformGrid) : d4.transformGrid = null;
+    } else {
+      const e5 = this.createEmptyTilePixelBlock();
+      d4.source = e5, d4.symbolizerParameters = o2 ? u4 : null, d4.transformGrid = null;
+    }
+    d4.bandIds = o2 ? s6 : null, d4.width = this._tileInfoView.tileInfo.size[0], d4.height = this._tileInfoView.tileInfo.size[1], d4.interpolation = i5, d4.suspended = n6, d4.invalidateTexture();
+  }
+  async updateTileSymbolizerParameters(e4, t2) {
+    const { local: s6, global: i5 } = t2, { bandIds: o2 } = this.layer, a2 = this._getLayerInterpolation(), l4 = this.canUseWebGLForProcessing(), { bitmap: n6 } = e4, { rawPixelData: c2 } = n6;
+    !l4 && r(c2) ? (n6.source = await this.layer.applyRenderer(c2, "stretch" === (i5 == null ? void 0 : i5.type) ? i5 : null), n6.isRendereredSource = true) : (n6.isRendereredSource && r(c2) && (n6.source = c2.pixelBlock), n6.isRendereredSource = false), n6.symbolizerParameters = l4 ? this.layerView.hasTilingEffects ? i5 : s6 : null, n6.bandIds = l4 ? o2 : null, n6.interpolation = a2, n6.suspended = false;
+  }
+  _getLayerInterpolation() {
+    const e4 = this.layer.renderer.type;
+    if ("raster-colormap" === e4 || "unique-value" === e4 || "class-breaks" === e4)
+      return "nearest";
+    const { interpolation: r6 } = this.layer, { renderer: t2 } = this.layer;
+    return "raster-stretch" === t2.type && null != t2.colorRamp ? "bilinear" === r6 || "cubic" === r6 ? "bilinear" : "nearest" : r6;
+  }
+};
+e([y()], l3.prototype, "container", void 0), e([y()], l3.prototype, "layer", void 0), e([y()], l3.prototype, "type", void 0), l3 = e([n("esri.views.2d.layers.imagery.ImageryTileView2D")], l3);
+var n4 = l3;
+
+// node_modules/@arcgis/core/views/2d/engine/imagery/RasterVFTile.js
+var r5 = class extends r3 {
+  constructor(t2, s6, e4, a2, r6, o2, l4 = null) {
+    super(t2, s6, e4, a2, r6, o2), this.tileData = new y4(l4), this.tileData.coordScale = [r6, o2], this.tileData.once("isReady", () => this.ready());
+  }
+  destroy() {
+    super.destroy(), this.tileData.destroy(), this.tileData = null, this.stage = null;
+  }
+  set stencilRef(t2) {
+    this.tileData.stencilRef = t2;
+  }
+  get stencilRef() {
+    return this.tileData.stencilRef;
+  }
+  _createTransforms() {
+    return { dvs: e3(), tileMat3: e3() };
+  }
+  setTransform(e4) {
+    super.setTransform(e4);
+    const i5 = this.resolution / (e4.resolution * e4.pixelRatio), a2 = this.transforms.tileMat3, [r6, o2] = this.tileData.offset, l4 = [this.x + r6 * this.resolution, this.y - o2 * this.resolution], [h3, n6] = e4.toScreenNoRotation([0, 0], l4), { symbolTileSize: f4 } = this.tileData.symbolizerParameters, m2 = Math.round((this.width - this.tileData.offset[0]) / f4) * f4, c2 = Math.round((this.height - this.tileData.offset[1]) / f4) * f4, u4 = m2 / this.rangeX * i5, D = c2 / this.rangeY * i5;
+    s3(a2, u4, 0, 0, 0, D, 0, h3, n6, 1), i(this.transforms.dvs, e4.displayViewMat3, a2), this.tileData.transforms.dvs = this.transforms.dvs;
+  }
+  onAttach() {
+    this.tileData.stage = this.stage;
+  }
+  onDetach() {
+    this.tileData.stage = null;
+  }
+};
+
+// node_modules/@arcgis/core/views/2d/engine/imagery/RasterVFTileContainer.js
+var o = class extends i2 {
+  constructor() {
+    super(...arguments), this.isCustomTilingScheme = false, this.symbolTypes = ["triangle"];
+  }
+  createTile(s6) {
+    const t2 = this._tileInfoView.getTileBounds(u(), s6), [i5, o2] = this._tileInfoView.tileInfo.size, n6 = this._tileInfoView.getTileResolution(s6.level);
+    return new r5(s6, n6, t2[0], t2[3], i5, o2);
+  }
+  prepareRenderPasses(e4) {
+    const r6 = e4.registerRenderPass({ name: "imagery (vf tile)", brushes: [d2], target: () => this.children.map((e5) => e5.tileData), drawPhase: I.MAP });
+    return [...super.prepareRenderPasses(e4), r6];
+  }
+  doRender(e4) {
+    this.visible && e4.drawPhase === I.MAP && this.symbolTypes.forEach((s6) => {
+      e4.renderPass = s6, super.doRender(e4);
+    });
+  }
+};
+
+// node_modules/@arcgis/core/views/2d/layers/imagery/VectorFieldTileView2D.js
+var n5 = class extends T {
+  constructor() {
+    super(...arguments), this._handle = null, this.container = null, this.layer = null, this.type = "rasterVF";
+  }
+  canUseWebGLForProcessing() {
+    return false;
+  }
+  async fetchTile(e4, t2) {
+    t2 = { ...t2, interpolation: "nearest", requestProjectedLocalDirections: true };
+    const i5 = await this.layer.fetchTile(e4.level, e4.row, e4.col, t2);
+    return "vector-magdir" === this.layer.rasterInfo.dataType && (i5 == null ? void 0 : i5.pixelBlock) && (i5.pixelBlock = await this.layer.convertVectorFieldData(i5.pixelBlock, t2)), i5;
+  }
+  updateTileSource(e4, i5) {
+    const r6 = i5.symbolizerParams, { tileData: o2 } = e4;
+    o2.key = e4.key, o2.width = this._tileInfoView.tileInfo.size[0], o2.height = this._tileInfoView.tileInfo.size[1];
+    const { symbolTileSize: s6 } = r6, { source: l4 } = i5;
+    if (o2.offset = this._getTileSymbolOffset(o2.key, s6), r(l4) && r(l4.pixelBlock)) {
+      const e5 = { extent: l4.extent, pixelBlock: l4.pixelBlock };
+      o2.rawPixelData = e5, o2.symbolizerParameters = r6, o2.source = this._sampleVectorFieldData(l4.pixelBlock, r6, o2.offset);
+    } else {
+      const e5 = [Math.round((this._tileInfoView.tileInfo[0] - o2.offset[0]) / s6), Math.round((this._tileInfoView.tileInfo[1] - o2.offset[1]) / s6)], t2 = this.createEmptyTilePixelBlock(e5);
+      o2.source = t2, o2.symbolizerParameters = r6;
+    }
+    return o2.invalidateVAO(), Promise.resolve(null);
+  }
+  updateTileSymbolizerParameters(e4, i5) {
+    var _a;
+    const r6 = i5.local, { symbolTileSize: o2 } = r6, { tileData: s6 } = e4;
+    s6.offset = this._getTileSymbolOffset(s6.key, o2);
+    const l4 = s6.symbolizerParameters.symbolTileSize;
+    return s6.symbolizerParameters = r6, r((_a = s6.rawPixelData) == null ? void 0 : _a.pixelBlock) && l4 !== o2 && (s6.source = this._sampleVectorFieldData(s6.rawPixelData.pixelBlock, s6.symbolizerParameters, s6.offset)), Promise.resolve(null);
+  }
+  attach() {
+    super.attach(), this.container = new o(this._tileInfoView), this.container.isCustomTilingScheme = this._isCustomTilingScheme, this._updateSymbolType(this.layer.renderer), this._handle = l(() => this.layer.renderer, (e4) => this._updateSymbolType(e4));
+  }
+  detach() {
+    super.detach(), this.container.removeAllChildren(), this._handle.remove(), this._handle = null;
+  }
+  _getTileSymbolOffset(e4, t2) {
+    const i5 = e4.col * this._tileInfoView.tileInfo.size[0] % t2, r6 = e4.row * this._tileInfoView.tileInfo.size[1] % t2;
+    return [i5 > t2 / 2 ? t2 - i5 : -i5, r6 > t2 / 2 ? t2 - r6 : -r6];
+  }
+  _sampleVectorFieldData(e4, t2, i5) {
+    const { symbolTileSize: r6 } = t2;
+    return j3(e4, "vector-uv", r6, i5);
+  }
+  _updateSymbolType(e4) {
+    "vector-field" === e4.type && (this.container.symbolTypes = "wind-barb" === e4.style ? ["scalar", "triangle"] : "simple-scalar" === e4.style ? ["scalar"] : ["triangle"]);
+  }
+};
+e([y()], n5.prototype, "container", void 0), e([y()], n5.prototype, "layer", void 0), e([y()], n5.prototype, "type", void 0), n5 = e([n("esri.views.2d.layers.imagery.VectorFieldTileView2D")], n5);
+var c = n5;
+
+// node_modules/@arcgis/core/views/layers/ImageryTileLayerView.js
+var f2 = (f4) => {
+  let m2 = class extends f4 {
+    constructor() {
+      super(...arguments), this._rasterFieldPrefix = "Raster.", this.layer = null, this.view = null, this.tileInfo = null;
+    }
+    get fullExtent() {
+      return this._getfullExtent();
+    }
+    _getfullExtent() {
+      return this.projectFullExtent(this.view.spatialReference);
+    }
+    get hasTilingEffects() {
+      return this.layer.renderer && "dynamicRangeAdjustment" in this.layer.renderer && this.layer.renderer.dynamicRangeAdjustment;
+    }
+    get datumTransformation() {
+      return v(e2(this.layer.fullExtent), this.view.spatialReference, true);
+    }
+    supportsSpatialReference(e4) {
+      return !!this.projectFullExtent(e4);
+    }
+    projectFullExtent(e4) {
+      const t2 = e2(this.layer.fullExtent), r6 = v(t2, e4, false);
+      return J(t2, e4, r6);
+    }
+    async fetchPopupFeatures(e4, o2) {
+      const { layer: a2 } = this;
+      if (!e4)
+        throw new s2("imageryTileLayerView:fetchPopupFeatures", "Nothing to fetch without area", { layer: a2 });
+      const { popupEnabled: n6 } = a2, l4 = s5(a2, o2);
+      if (!n6 || t(l4))
+        throw new s2("imageryTileLayerView:fetchPopupFeatures", "Missing required popupTemplate or popupEnabled", { popupEnabled: n6, popupTemplate: l4 });
+      const p2 = [], { value: u4, magdirValue: f5 } = await a2.identify(e4, { timeExtent: this.timeExtent });
+      let m3 = "";
+      if (u4 && u4.length) {
+        m3 = "imagery-tile" === a2.type && a2.hasStandardTime() && null != u4[0] ? u4.map((e6) => a2.getStandardTimeValue(e6)).join(", ") : u4.join(", ");
+        const e5 = { ObjectId: 0 };
+        e5["Raster.ServicePixelValue"] = m3;
+        const r6 = a2.rasterInfo.attributeTable;
+        if (r(r6)) {
+          const { fields: t2, features: o4 } = r6, s7 = t2.find(({ name: e6 }) => "value" === e6.toLowerCase()), i5 = s7 ? o4.find((e6) => String(e6.attributes[s7.name]) === m3) : null;
+          if (i5) {
+            for (const r7 in i5.attributes)
+              if (i5.attributes.hasOwnProperty(r7)) {
+                e5[this._rasterFieldPrefix + r7] = i5.attributes[r7];
+              }
+          }
+        }
+        const o3 = a2.rasterInfo.dataType;
+        "vector-magdir" !== o3 && "vector-uv" !== o3 || (e5["Raster.Magnitude"] = f5 == null ? void 0 : f5[0], e5["Raster.Direction"] = f5 == null ? void 0 : f5[1]);
+        const s6 = new g(this.fullExtent.clone(), null, e5);
+        s6.layer = a2, s6.sourceLayer = s6.layer, p2.push(s6);
+      }
+      return p2;
+    }
+  };
+  return e([y()], m2.prototype, "layer", void 0), e([y(g3)], m2.prototype, "timeExtent", void 0), e([y()], m2.prototype, "view", void 0), e([y()], m2.prototype, "fullExtent", null), e([y()], m2.prototype, "tileInfo", void 0), e([y({ readOnly: true })], m2.prototype, "hasTilingEffects", null), m2 = e([n("esri.views.layers.ImageryTileLayerView")], m2), m2;
+};
+
+// node_modules/@arcgis/core/views/2d/layers/ImageryTileLayerView2D.js
+var f3 = class extends f2(i3(y3(u3))) {
+  constructor() {
+    super(...arguments), this._useWebGLForProcessing = true, this._useProgressiveUpdate = true, this.subview = null;
+  }
+  get useWebGLForProcessing() {
+    return this._useWebGLForProcessing;
+  }
+  set useWebGLForProcessing(e4) {
+    this._useWebGLForProcessing = e4, this.subview && "useWebGLForProcessing" in this.subview && (this.subview.useWebGLForProcessing = e4);
+  }
+  get useProgressiveUpdate() {
+    return this._useWebGLForProcessing;
+  }
+  set useProgressiveUpdate(e4) {
+    this._useProgressiveUpdate = e4, this.subview && "useProgressiveUpdate" in this.subview && (this.subview.useProgressiveUpdate = e4);
+  }
+  update(e4) {
+    this.subview.update(e4), this.notifyChange("updating");
+  }
+  isUpdating() {
+    return !this.subview || this.subview.updating;
+  }
+  attach() {
+    this.layer.increaseRasterJobHandlerUsage(), this._updateSubview(), this.handles.add([l(() => {
+      const { layer: e4 } = this;
+      return { bandIds: e4.bandIds, renderer: e4.renderer, interpolation: e4.interpolation, multidimensionalDefinition: e4.multidimensionalDefinition, rasterFunction: "imagery-tile" === e4.type ? e4.rasterFunction : null };
+    }, (e4, t2) => {
+      var _a, _b;
+      const s6 = e4.interpolation !== t2.interpolation && ("majority" === e4.interpolation || "majority" === t2.interpolation) && r4(this.layer), o2 = e4.renderer !== t2.renderer && ((_a = t2.renderer) == null ? void 0 : _a.type) !== ((_b = e4.renderer) == null ? void 0 : _b.type);
+      o2 && this._updateSubview();
+      const a2 = e4.multidimensionalDefinition !== t2.multidimensionalDefinition, n6 = e4.rasterFunction !== t2.rasterFunction, u4 = a2 || s6 || o2 || n6;
+      this.subview.redrawOrRefetch(u4).catch((e5) => {
+        j(e5) || s.getLogger(this.declaredClass).error(e5);
+      }), this.notifyChange("updating");
+    }), l(() => {
+      var _a;
+      return (_a = this.layer.blendMode) != null ? _a : "normal";
+    }, (e4) => {
+      this.subview.container.blendMode = e4;
+    }, w), l(() => {
+      var _a;
+      return (_a = this.layer.effect) != null ? _a : null;
+    }, (e4) => {
+      this.subview.container.effect = e4;
+    }, w), l(() => {
+      var _a;
+      return (_a = this.layer.multidimensionalSubset) != null ? _a : null;
+    }, (e4, t2) => {
+      const { multidimensionalDefinition: o2 } = this.layer;
+      r(o2) && m(o2, e4) !== m(o2, t2) && (this.subview.redrawOrRefetch(true).catch((e5) => {
+        j(e5) || s.getLogger(this.declaredClass).error(e5);
+      }), this.notifyChange("updating"));
+    }, U), l(() => this.timeExtent, () => {
+      this.subview.timeExtent = this.timeExtent, this.subview.redrawOrRefetch(true).catch((e4) => {
+        j(e4) || s.getLogger(this.declaredClass).error(e4);
+      });
+    }, h)], "attach");
+  }
+  detach() {
+    var _a;
+    this.handles.remove("attach"), this.layer.decreaseRasterJobHandlerUsage(), this._detachSubview(this.subview), (_a = this.subview) == null ? void 0 : _a.destroy(), this.subview = null;
+  }
+  moveStart() {
+    this.requestUpdate();
+  }
+  viewChange() {
+    this.requestUpdate();
+  }
+  moveEnd() {
+    this.subview.moveEnd();
+  }
+  async hitTest(e4, i5) {
+    return [{ type: "graphic", layer: this.layer, mapPoint: e4, graphic: new g({ attributes: {}, geometry: e4.clone() }) }];
+  }
+  doRefresh() {
+    var _a;
+    return (_a = this.subview) == null ? void 0 : _a.doRefresh();
+  }
+  _updateSubview() {
+    var _a;
+    const e4 = "vector-field" === this.layer.renderer.type ? "rasterVF" : "flow" === this.layer.renderer.type ? "flow" : "raster";
+    if (this.subview) {
+      if (this.subview.type === e4)
+        return void this._attachSubview(this.subview);
+      this._detachSubview(this.subview), (_a = this.subview) == null ? void 0 : _a.destroy(), this.subview = null;
+    }
+    const { layer: t2 } = this;
+    let i5;
+    i5 = "rasterVF" === e4 ? new c({ layer: t2, layerView: this }) : "flow" === e4 ? new d3({ layer: t2, layerView: this }) : new n4({ layer: t2, layerView: this }), "useWebGLForProcessing" in i5 && (i5.useWebGLForProcessing = this._useWebGLForProcessing), "useProgressiveUpdate" in i5 && (i5.useProgressiveUpdate = this._useProgressiveUpdate), "previousLOD" in i5 && (i5.previousLOD = this.subview && "previousLOD" in this.subview && this.subview.previousLOD), this._attachSubview(i5), this.subview = i5, this.requestUpdate();
+  }
+  _attachSubview(e4) {
+    e4 && !e4.attached && (e4.attach(), e4.attached = true, this.container.addChildAt(e4.container, 0), e4.container.blendMode = this.layer.blendMode, e4.container.effect = this.layer.effect);
+  }
+  _detachSubview(e4) {
+    (e4 == null ? void 0 : e4.attached) && (this.container.removeChild(e4.container), e4.detach(), e4.attached = false);
+  }
+};
+e([y()], f3.prototype, "subview", void 0), e([y()], f3.prototype, "useWebGLForProcessing", null), e([y()], f3.prototype, "useProgressiveUpdate", null), f3 = e([n("esri.views.2d.layers.ImageryTileLayerView2D")], f3);
+var L = f3;
+export {
+  L as default
+};
+//# sourceMappingURL=ImageryTileLayerView2D-SIAMUTWD.js.map

+ 0 - 0
node_modules/.vite/deps/ImageryTileLayerView2D-UUVVNIWQ.js.map → node_modules/.vite/deps/ImageryTileLayerView2D-SIAMUTWD.js.map


+ 0 - 734
node_modules/.vite/deps/ImageryTileLayerView2D-UUVVNIWQ.js

@@ -1,734 +0,0 @@
-import {
-  d as d3,
-  y as y4
-} from "./chunk-XNVWGZWL.js";
-import {
-  i as i2,
-  r as r3
-} from "./chunk-E5TKVDJT.js";
-import {
-  r as r4
-} from "./chunk-T6DJ6UAT.js";
-import {
-  d as d2,
-  n3 as n2,
-  p
-} from "./chunk-264YGWEE.js";
-import {
-  i as i3
-} from "./chunk-YG7DNOY4.js";
-import {
-  u as u3,
-  y as y3
-} from "./chunk-KUAEOLV3.js";
-import "./chunk-ZLQP3WDC.js";
-import "./chunk-JBMHQ5RK.js";
-import {
-  a,
-  f,
-  g as g4,
-  u as u2
-} from "./chunk-2U5S3G7I.js";
-import {
-  m
-} from "./chunk-F2GA7W55.js";
-import "./chunk-WBWQJQK4.js";
-import {
-  s as s5
-} from "./chunk-TE2TRGVU.js";
-import {
-  J,
-  U as U2,
-  ie,
-  v
-} from "./chunk-I623MZCZ.js";
-import {
-  j as j3
-} from "./chunk-TLDCDW5L.js";
-import {
-  g as g2,
-  s as s4
-} from "./chunk-TDS6IBMU.js";
-import "./chunk-DBT4KOKX.js";
-import "./chunk-2GP5D74I.js";
-import "./chunk-EPMXCACW.js";
-import "./chunk-UWKVAZQ6.js";
-import "./chunk-T2SKWJGU.js";
-import "./chunk-UO3LS2M5.js";
-import "./chunk-H2VOWDMO.js";
-import "./chunk-QISOH77W.js";
-import "./chunk-XO5VJRK4.js";
-import "./chunk-3WXSWAUV.js";
-import "./chunk-27YO3FKC.js";
-import {
-  I
-} from "./chunk-EQNT4A7P.js";
-import "./chunk-4OM3EX6P.js";
-import "./chunk-3OFVLRSL.js";
-import {
-  mt
-} from "./chunk-PTEMIS7J.js";
-import {
-  l as l2
-} from "./chunk-YFDOPEEZ.js";
-import {
-  e as e3
-} from "./chunk-IQBIGNPU.js";
-import "./chunk-AJFR3FGC.js";
-import "./chunk-K7B6OWCU.js";
-import "./chunk-L5DZVCCW.js";
-import {
-  r as r2
-} from "./chunk-WNPL3C7R.js";
-import {
-  y as y2
-} from "./chunk-E7ZLMIQ7.js";
-import "./chunk-RG3AHHRL.js";
-import "./chunk-UDYHZLTE.js";
-import "./chunk-QC7NCR5N.js";
-import {
-  h as h2
-} from "./chunk-VQXMCZYH.js";
-import "./chunk-JQUWFKNU.js";
-import "./chunk-RWQH5X3O.js";
-import "./chunk-6334AFGG.js";
-import "./chunk-TFHLTN6F.js";
-import {
-  i,
-  s as s3
-} from "./chunk-O3JQY77G.js";
-import "./chunk-E3G7BRZB.js";
-import "./chunk-JKFWEHNK.js";
-import "./chunk-P24XEEHY.js";
-import "./chunk-EDHROVWI.js";
-import "./chunk-3IRT3YKJ.js";
-import "./chunk-SAJAEMIJ.js";
-import {
-  g
-} from "./chunk-7C23ILQ4.js";
-import "./chunk-P6VVVEX6.js";
-import "./chunk-3Z755LKF.js";
-import "./chunk-LTZ5XXDV.js";
-import "./chunk-DLMAGHHC.js";
-import "./chunk-JOYXMSKE.js";
-import {
-  d
-} from "./chunk-YZVAB3DF.js";
-import "./chunk-ECY35CJI.js";
-import "./chunk-PJNBFKPF.js";
-import "./chunk-C7742RNZ.js";
-import "./chunk-MCWCB5IY.js";
-import "./chunk-TV3CFJQR.js";
-import {
-  U,
-  h,
-  l,
-  w
-} from "./chunk-TJV6ODRM.js";
-import {
-  j as j2
-} from "./chunk-YLEVJ6UV.js";
-import "./chunk-U2WD23Z5.js";
-import {
-  g as g3
-} from "./chunk-GLSWDDR3.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import "./chunk-3WQOA5CB.js";
-import "./chunk-FZQZIM7U.js";
-import "./chunk-CZBRZ6SU.js";
-import "./chunk-VGWC3IKZ.js";
-import {
-  u
-} from "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-UVVU4UUO.js";
-import "./chunk-X4SA4ELJ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-ZAY3CMAZ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-ZYRIJWLX.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import "./chunk-VCH45Q2I.js";
-import "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import "./chunk-VEGAOVMY.js";
-import {
-  w as w2,
-  w2 as w3
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import "./chunk-PQFTYGF5.js";
-import {
-  e,
-  n5 as n,
-  y3 as y
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  E,
-  j,
-  x
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s2 as s,
-  s3 as s2
-} from "./chunk-E5O6P5I2.js";
-import "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  e as e2,
-  r,
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/views/2d/engine/imagery/RasterTile.js
-var i4 = class extends r3 {
-  constructor(t2, e4, i5, r6, a2, n6, m2 = null) {
-    super(t2, e4, i5, r6, a2, n6), this.bitmap = new p(m2, null, null), this.bitmap.coordScale = [a2, n6], this.bitmap.once("isReady", () => this.ready());
-  }
-  destroy() {
-    super.destroy(), this.bitmap.destroy(), this.bitmap = null, this.stage = null;
-  }
-  set stencilRef(t2) {
-    this.bitmap.stencilRef = t2;
-  }
-  get stencilRef() {
-    return this.bitmap.stencilRef;
-  }
-  setTransform(t2) {
-    super.setTransform(t2), this.bitmap.transforms.dvs = this.transforms.dvs;
-  }
-  _createTransforms() {
-    return { dvs: e3(), tileMat3: e3() };
-  }
-  onAttach() {
-    this.bitmap.stage = this.stage;
-  }
-  onDetach() {
-    this.bitmap.stage = null;
-  }
-};
-
-// node_modules/@arcgis/core/views/2d/engine/imagery/RasterTileContainer.js
-var n3 = class extends i2 {
-  constructor() {
-    super(...arguments), this.isCustomTilingScheme = false;
-  }
-  createTile(e4) {
-    const s6 = this._getTileBounds(e4), [i5, r6] = this._tileInfoView.tileInfo.size, o2 = this._tileInfoView.getTileResolution(e4.level);
-    return new i4(e4, o2, s6[0], s6[3], i5, r6);
-  }
-  prepareRenderPasses(e4) {
-    const s6 = e4.registerRenderPass({ name: "imagery (tile)", brushes: [n2.raster], target: () => this.children.map((e5) => e5.bitmap), drawPhase: I.MAP });
-    return [...super.prepareRenderPasses(e4), s6];
-  }
-  doRender(e4) {
-    this.visible && e4.drawPhase === I.MAP && super.doRender(e4);
-  }
-  _getTileBounds(i5) {
-    const t2 = this._tileInfoView.getTileBounds(u(), i5);
-    if (this.isCustomTilingScheme && i5.world) {
-      const { tileInfo: e4 } = this._tileInfoView, r6 = mt(e4.spatialReference);
-      if (r6) {
-        const { resolution: s6 } = e4.lodAt(i5.level), o2 = r6 / s6 % e4.size[0], n6 = o2 ? (e4.size[0] - o2) * s6 : 0;
-        t2[0] -= n6 * i5.world, t2[2] -= n6 * i5.world;
-      }
-    }
-    return t2;
-  }
-};
-
-// node_modules/@arcgis/core/views/2d/layers/imagery/BaseImageryTileSubView2D.js
-var v2 = [0, 0];
-var T = class extends d {
-  constructor() {
-    super(...arguments), this._emptyTilePixelBlock = null, this._tileStrategy = null, this._tileInfoView = null, this._fetchQueue = null, this._blockCacheRegistryUrl = null, this._blockCacheRegistryId = null, this._srcResolutions = null, this.previousLOD = null, this._needBlockCacheUpdate = false, this._globalSymbolizerParams = null, this._symbolizerParams = null, this._abortController = null, this._isCustomTilingScheme = false, this._globalUpdateRequested = false, this.attached = false, this.container = null, this.layer = null, this.timeExtent = null, this.redrawOrRefetch = x((e4, t2) => !this.previousLOD || this.layerView.suspended ? Promise.resolve() : e4 ? this.updatingHandles.addPromise(this.doRefresh()) : this.updatingHandles.addPromise(this._redrawImage(t2)));
-  }
-  get useWebGLForProcessing() {
-    var _a;
-    return (_a = this._get("useWebGLForProcessing")) != null ? _a : true;
-  }
-  set useWebGLForProcessing(e4) {
-    this._set("useWebGLForProcessing", e4);
-  }
-  get useProgressiveUpdate() {
-    return null == this._get("useProgressiveUpdate") || this._get("useProgressiveUpdate");
-  }
-  set useProgressiveUpdate(e4) {
-    if (this._tileStrategy && this.useProgressiveUpdate !== e4) {
-      this._tileStrategy.destroy(), this.container.removeAllChildren();
-      const t2 = this._getCacheSize(e4);
-      this._tileStrategy = new r2({ cachePolicy: "purge", acquireTile: (e5) => this.acquireTile(e5), releaseTile: (e5) => this.releaseTile(e5), cacheSize: t2, tileInfoView: this._tileInfoView }), this._set("useProgressiveUpdate", e4), this.layerView.requestUpdate();
-    }
-  }
-  update(e4) {
-    var _a;
-    this._fetchQueue.pause(), this._fetchQueue.state = e4.state, this._tileStrategy.update(e4), this._fetchQueue.resume();
-    const { extent: t2, resolution: i5, scale: s6 } = e4.state, r6 = this._tileInfoView.getClosestInfoForScale(s6);
-    if (this.layer.raster) {
-      if (!this.useProgressiveUpdate || this._needBlockCacheUpdate) {
-        const e5 = this._srcResolutions[r6.level], s7 = t2.toJSON ? t2 : w3.fromJSON(t2);
-        g4(this._blockCacheRegistryUrl, this._blockCacheRegistryId, s7, i5, e5, this.layer.raster.ioConfig.sampling);
-      }
-      this._needBlockCacheUpdate = false, ((_a = this.previousLOD) == null ? void 0 : _a.level) !== r6.level && (this.previousLOD = r6, null == this._symbolizerParams || this.layerView.hasTilingEffects || this._updateSymbolizerParams(), this._tileStrategy.updateCacheSize(0));
-    }
-  }
-  moveEnd() {
-    !this.layerView.hasTilingEffects && this.useProgressiveUpdate || (this._abortController && this._abortController.abort(), this._abortController = new AbortController(), 0 === this._fetchQueue.length && this._redrawImage(this._abortController.signal).then(() => {
-      this._globalUpdateRequested = false, this.layerView.requestUpdate();
-    }));
-    const e4 = this._getCacheSize(this.useProgressiveUpdate);
-    this._tileStrategy.updateCacheSize(e4), this.layerView.requestUpdate();
-  }
-  get updating() {
-    var _a;
-    return ((_a = this._fetchQueue) == null ? void 0 : _a.updating) || this._globalUpdateRequested || !(!this.updatingHandles || !this.updatingHandles.updating);
-  }
-  attach() {
-    l2("2d").supportsTextureFloat || (this.useWebGLForProcessing = false), this._initializeTileInfo(), this._tileInfoView = new h2(this.layerView.tileInfo, this.layerView.fullExtent);
-    const e4 = this._computeFetchConcurrency();
-    this._fetchQueue = new y2({ tileInfoView: this._tileInfoView, concurrency: e4, process: (e5, t3) => this._fetchTile1(e5, t3) });
-    const t2 = this._getCacheSize(this.useProgressiveUpdate);
-    this._tileStrategy = new r2({ cachePolicy: "purge", acquireTile: (e5) => this.acquireTile(e5), releaseTile: (e5) => this.releaseTile(e5), cacheSize: t2, tileInfoView: this._tileInfoView }), this._updateBlockCacheRegistry();
-  }
-  detach() {
-    this._tileStrategy.destroy(), this._fetchQueue.clear(), this.container.removeAllChildren(), this._fetchQueue = this._tileStrategy = this._tileInfoView = null, f(this._blockCacheRegistryUrl, this._blockCacheRegistryId), this._blockCacheRegistryUrl = this._blockCacheRegistryId = null;
-  }
-  acquireTile(e4) {
-    const t2 = this.container.createTile(e4);
-    return this._enqueueTileFetch(t2), this.layerView.requestUpdate(), this._needBlockCacheUpdate = true, this._globalUpdateRequested = this.layerView.hasTilingEffects || !this.useProgressiveUpdate, t2;
-  }
-  releaseTile(e4) {
-    this._fetchQueue.abort(e4.key.id), this.container.removeChild(e4), e4.once("detach", () => {
-      e4.destroy(), this.layerView.requestUpdate();
-    }), this.layerView.requestUpdate();
-  }
-  createEmptyTilePixelBlock(e4 = null) {
-    const t2 = null == e4 || e4.join(",") === this._tileInfoView.tileInfo.size.join(",");
-    if (t2 && r(this._emptyTilePixelBlock))
-      return this._emptyTilePixelBlock;
-    e4 = e4 || this._tileInfoView.tileInfo.size;
-    const [i5, r6] = e4, l4 = new g2({ width: i5, height: r6, pixels: [new Uint8Array(i5 * r6)], mask: new Uint8Array(i5 * r6), pixelType: "u8" });
-    return t2 && (this._emptyTilePixelBlock = l4), l4;
-  }
-  _fetchTile1(e4, t2) {
-    const i5 = r(t2) && t2.signal, l4 = this.canUseWebGLForProcessing(), { layerView: a2 } = this, o2 = !a2.tileInfo.isWrappable && r(U2(a2.view.spatialReference)), h3 = { allowPartialFill: true, datumTransformation: a2.datumTransformation, interpolation: l4 ? "nearest" : this.layer.interpolation, registryId: this._blockCacheRegistryId, requestRawData: l4, signal: e2(i5), srcResolution: this._srcResolutions[e4.level], timeExtent: a2.timeExtent, tileInfo: a2.tileInfo, disableWrapAround: o2 };
-    return this.fetchTile(e4, h3);
-  }
-  _getCacheSize(e4) {
-    return e4 ? 40 : 0;
-  }
-  _initializeTileInfo() {
-    const e4 = this.layerView.view.spatialReference, t2 = new w2({ x: this.layerView.fullExtent.xmin, y: this.layerView.fullExtent.ymax, spatialReference: e4 }), { scales: i5, srcResolutions: s6, isCustomTilingScheme: r6 } = ie(this.layer.rasterInfo, e4), l4 = j2.create({ spatialReference: e4, size: 512, scales: i5 });
-    (0 === l4.origin.x || l4.origin.x > t2.x) && (l4.origin = t2), this._isCustomTilingScheme = r6, this.layerView.set("tileInfo", l4), this._srcResolutions = s6 != null ? s6 : [];
-  }
-  _computeFetchConcurrency() {
-    const { blockBoundary: e4 } = this.layer.rasterInfo.storageInfo, t2 = e4[e4.length - 1];
-    return (t2.maxCol - t2.minCol + 1) * (t2.maxRow - t2.minRow + 1) > 64 ? 2 : 10;
-  }
-  async _enqueueTileFetch(e4, t2) {
-    this.updatingHandles.addPromise(this._enqueueTileFetch1(e4, t2));
-  }
-  async _enqueueTileFetch1(e4, t2) {
-    if (!this._fetchQueue.has(e4.key.id)) {
-      try {
-        const t3 = await this._fetchQueue.push(e4.key), { bandIds: r6 } = this.layer;
-        let l4 = !this.useProgressiveUpdate || this.layerView.hasTilingEffects && !this._globalSymbolizerParams;
-        if (this._globalUpdateRequested && !this.layerView.moving && 0 === this._fetchQueue.length) {
-          l4 = false;
-          try {
-            await this._redrawImage(this._abortController && this._abortController.signal);
-          } catch (s6) {
-            j(s6) && s.getLogger(this.declaredClass).error(s6);
-          }
-          this._globalUpdateRequested = false;
-        }
-        !this.canUseWebGLForProcessing() && "rasterVF" !== this.type || this.layerView.hasTilingEffects || null != this._symbolizerParams || this._updateSymbolizerParams();
-        const o2 = this._tileInfoView.getTileCoords(v2, e4.key), h3 = this._tileInfoView.getTileResolution(e4.key);
-        await this.updateTileSource(e4, { source: t3, symbolizerParams: this._symbolizerParams, globalSymbolizerParams: this._globalSymbolizerParams, suspended: l4, bandIds: r6, coords: o2, resolution: h3 }), e4.once("attach", () => this.layerView.requestUpdate()), this.container.addChild(e4);
-      } catch (s6) {
-        j(s6) || s.getLogger(this.declaredClass).error(s6);
-      }
-      this.layerView.requestUpdate();
-    }
-  }
-  async _redrawImage(e4) {
-    if (0 === this.container.children.length)
-      return;
-    await this.layer.updateRenderer(), this.layerView.hasTilingEffects ? await this._updateGlobalSymbolizerParams(e4) : (this._updateSymbolizerParams(), this._globalSymbolizerParams = null);
-    const t2 = this.container.children.map(async (e5) => this.updateTileSymbolizerParameters(e5, { local: this._symbolizerParams, global: this._globalSymbolizerParams }));
-    await E(t2), this.container.requestRender();
-  }
-  async _updateGlobalSymbolizerParams(e4) {
-    const t2 = { srcResolution: this._srcResolutions[this.previousLOD.level], registryId: this._blockCacheRegistryId, signal: e4 }, i5 = await this.layer.fetchPixels(this.layerView.view.extent, this.layerView.view.width, this.layerView.view.height, t2);
-    if (!i5 || !i5.pixelBlock)
-      return;
-    const s6 = this.layer.symbolizer.generateWebGLParameters({ pixelBlock: s4(i5.pixelBlock, this.layer.bandIds), isGCS: this.layerView.view.spatialReference.isGeographic, resolution: { x: this.previousLOD.resolution, y: this.previousLOD.resolution }, bandIds: this.layer.bandIds });
-    !this.canUseWebGLForProcessing() && s6 && "stretch" === s6.type && this.layer.renderer && "raster-stretch" === this.layer.renderer.type && (s6.factor = s6.factor.map((e5) => 255 * e5), s6.outMin = Math.round(255 * s6.outMin), s6.outMax = Math.round(255 * s6.outMax)), this._globalSymbolizerParams = s6;
-  }
-  _updateSymbolizerParams() {
-    this._symbolizerParams = this.layer.symbolizer.generateWebGLParameters({ pixelBlock: null, isGCS: this.layerView.view.spatialReference.isGeographic, resolution: { x: this.previousLOD.resolution, y: this.previousLOD.resolution }, bandIds: this.layer.bandIds });
-  }
-  _updateBlockCacheRegistry(e4 = false) {
-    const { url: t2, rasterInfo: i5, raster: s6 } = this.layer, { multidimensionalDefinition: r6 } = this.layer.normalizeRasterFetchOptions({ multidimensionalDefinition: this.layer.multidimensionalDefinition, timeExtent: this.layerView.timeExtent }), l4 = (i5 == null ? void 0 : i5.multidimensionalInfo) ? s6.getSliceIndex(r6) : null, a2 = a(t2, l4);
-    if (a2 !== this._blockCacheRegistryUrl) {
-      if (null != this._blockCacheRegistryUrl && f(this._blockCacheRegistryUrl, this._blockCacheRegistryId), this._blockCacheRegistryId = u2(a2, this.layer.raster.rasterInfo), e4) {
-        const e5 = this._tileInfoView.getClosestInfoForScale(this.layerView.view.scale), t3 = this._srcResolutions[e5.level];
-        g4(a2, this._blockCacheRegistryId, this.layerView.view.extent, this.layerView.view.resolution, t3, this.layer.raster.ioConfig.sampling);
-      }
-      this._blockCacheRegistryUrl = a2;
-    }
-  }
-  async doRefresh() {
-    if (!this.attached)
-      return;
-    await this.layer.updateRenderer(), this.layerView.hasTilingEffects || this._updateSymbolizerParams(), this._updateBlockCacheRegistry(true), this._fetchQueue.reset();
-    const e4 = [];
-    this._globalUpdateRequested = this.layerView.hasTilingEffects || !this.useProgressiveUpdate, this._tileStrategy.tiles.forEach((t2) => e4.push(this._enqueueTileFetch(t2))), await E(e4);
-  }
-};
-e([y()], T.prototype, "_fetchQueue", void 0), e([y()], T.prototype, "_globalUpdateRequested", void 0), e([y()], T.prototype, "attached", void 0), e([y()], T.prototype, "container", void 0), e([y()], T.prototype, "layer", void 0), e([y()], T.prototype, "layerView", void 0), e([y()], T.prototype, "type", void 0), e([y()], T.prototype, "useWebGLForProcessing", null), e([y()], T.prototype, "useProgressiveUpdate", null), e([y()], T.prototype, "timeExtent", void 0), e([y()], T.prototype, "updating", null), T = e([n("esri.views.2d.layers.imagery.BaseImageryTileSubView2D")], T);
-
-// node_modules/@arcgis/core/views/2d/layers/imagery/ImageryTileView2D.js
-var l3 = class extends T {
-  constructor() {
-    super(...arguments), this.container = null, this.layer = null, this.type = "raster";
-  }
-  attach() {
-    super.attach(), this.container = new n3(this._tileInfoView), this.container.isCustomTilingScheme = this._isCustomTilingScheme;
-  }
-  detach() {
-    super.detach(), this.container.removeAllChildren(), this.container = null;
-  }
-  canUseWebGLForProcessing() {
-    return this.useWebGLForProcessing && this.layer.symbolizer.canRenderInWebGL && !("majority" === this.layer.interpolation && r4(this.layer));
-  }
-  fetchTile(e4, r6) {
-    return this.layer.fetchTile(e4.level, e4.row, e4.col, r6);
-  }
-  async updateTileSource(e4, t2) {
-    const { bandIds: s6 } = this.layer, i5 = this._getLayerInterpolation(), o2 = this.canUseWebGLForProcessing(), { source: a2, globalSymbolizerParams: l4, suspended: n6, coords: c2, resolution: p2 } = t2, u4 = this.layerView.hasTilingEffects ? l4 : t2.symbolizerParams, { bitmap: d4 } = e4;
-    if ([d4.x, d4.y] = c2, d4.resolution = p2, a2 && r(a2) && r(a2.pixelBlock)) {
-      const e5 = { extent: a2.extent, pixelBlock: a2.pixelBlock };
-      if (d4.rawPixelData = e5, o2)
-        d4.source = a2.pixelBlock, d4.isRendereredSource = false;
-      else {
-        const r6 = await this.layer.applyRenderer(e5, "stretch" === (l4 == null ? void 0 : l4.type) ? l4 : null);
-        d4.source = r6, d4.isRendereredSource = true;
-      }
-      d4.symbolizerParameters = o2 ? u4 : null, o2 ? d4.transformGrid || (d4.transformGrid = a2.transformGrid) : d4.transformGrid = null;
-    } else {
-      const e5 = this.createEmptyTilePixelBlock();
-      d4.source = e5, d4.symbolizerParameters = o2 ? u4 : null, d4.transformGrid = null;
-    }
-    d4.bandIds = o2 ? s6 : null, d4.width = this._tileInfoView.tileInfo.size[0], d4.height = this._tileInfoView.tileInfo.size[1], d4.interpolation = i5, d4.suspended = n6, d4.invalidateTexture();
-  }
-  async updateTileSymbolizerParameters(e4, t2) {
-    const { local: s6, global: i5 } = t2, { bandIds: o2 } = this.layer, a2 = this._getLayerInterpolation(), l4 = this.canUseWebGLForProcessing(), { bitmap: n6 } = e4, { rawPixelData: c2 } = n6;
-    !l4 && r(c2) ? (n6.source = await this.layer.applyRenderer(c2, "stretch" === (i5 == null ? void 0 : i5.type) ? i5 : null), n6.isRendereredSource = true) : (n6.isRendereredSource && r(c2) && (n6.source = c2.pixelBlock), n6.isRendereredSource = false), n6.symbolizerParameters = l4 ? this.layerView.hasTilingEffects ? i5 : s6 : null, n6.bandIds = l4 ? o2 : null, n6.interpolation = a2, n6.suspended = false;
-  }
-  _getLayerInterpolation() {
-    const e4 = this.layer.renderer.type;
-    if ("raster-colormap" === e4 || "unique-value" === e4 || "class-breaks" === e4)
-      return "nearest";
-    const { interpolation: r6 } = this.layer, { renderer: t2 } = this.layer;
-    return "raster-stretch" === t2.type && null != t2.colorRamp ? "bilinear" === r6 || "cubic" === r6 ? "bilinear" : "nearest" : r6;
-  }
-};
-e([y()], l3.prototype, "container", void 0), e([y()], l3.prototype, "layer", void 0), e([y()], l3.prototype, "type", void 0), l3 = e([n("esri.views.2d.layers.imagery.ImageryTileView2D")], l3);
-var n4 = l3;
-
-// node_modules/@arcgis/core/views/2d/engine/imagery/RasterVFTile.js
-var r5 = class extends r3 {
-  constructor(t2, s6, e4, a2, r6, o2, l4 = null) {
-    super(t2, s6, e4, a2, r6, o2), this.tileData = new y4(l4), this.tileData.coordScale = [r6, o2], this.tileData.once("isReady", () => this.ready());
-  }
-  destroy() {
-    super.destroy(), this.tileData.destroy(), this.tileData = null, this.stage = null;
-  }
-  set stencilRef(t2) {
-    this.tileData.stencilRef = t2;
-  }
-  get stencilRef() {
-    return this.tileData.stencilRef;
-  }
-  _createTransforms() {
-    return { dvs: e3(), tileMat3: e3() };
-  }
-  setTransform(e4) {
-    super.setTransform(e4);
-    const i5 = this.resolution / (e4.resolution * e4.pixelRatio), a2 = this.transforms.tileMat3, [r6, o2] = this.tileData.offset, l4 = [this.x + r6 * this.resolution, this.y - o2 * this.resolution], [h3, n6] = e4.toScreenNoRotation([0, 0], l4), { symbolTileSize: f4 } = this.tileData.symbolizerParameters, m2 = Math.round((this.width - this.tileData.offset[0]) / f4) * f4, c2 = Math.round((this.height - this.tileData.offset[1]) / f4) * f4, u4 = m2 / this.rangeX * i5, D = c2 / this.rangeY * i5;
-    s3(a2, u4, 0, 0, 0, D, 0, h3, n6, 1), i(this.transforms.dvs, e4.displayViewMat3, a2), this.tileData.transforms.dvs = this.transforms.dvs;
-  }
-  onAttach() {
-    this.tileData.stage = this.stage;
-  }
-  onDetach() {
-    this.tileData.stage = null;
-  }
-};
-
-// node_modules/@arcgis/core/views/2d/engine/imagery/RasterVFTileContainer.js
-var o = class extends i2 {
-  constructor() {
-    super(...arguments), this.isCustomTilingScheme = false, this.symbolTypes = ["triangle"];
-  }
-  createTile(s6) {
-    const t2 = this._tileInfoView.getTileBounds(u(), s6), [i5, o2] = this._tileInfoView.tileInfo.size, n6 = this._tileInfoView.getTileResolution(s6.level);
-    return new r5(s6, n6, t2[0], t2[3], i5, o2);
-  }
-  prepareRenderPasses(e4) {
-    const r6 = e4.registerRenderPass({ name: "imagery (vf tile)", brushes: [d2], target: () => this.children.map((e5) => e5.tileData), drawPhase: I.MAP });
-    return [...super.prepareRenderPasses(e4), r6];
-  }
-  doRender(e4) {
-    this.visible && e4.drawPhase === I.MAP && this.symbolTypes.forEach((s6) => {
-      e4.renderPass = s6, super.doRender(e4);
-    });
-  }
-};
-
-// node_modules/@arcgis/core/views/2d/layers/imagery/VectorFieldTileView2D.js
-var n5 = class extends T {
-  constructor() {
-    super(...arguments), this._handle = null, this.container = null, this.layer = null, this.type = "rasterVF";
-  }
-  canUseWebGLForProcessing() {
-    return false;
-  }
-  async fetchTile(e4, t2) {
-    t2 = { ...t2, interpolation: "nearest", requestProjectedLocalDirections: true };
-    const i5 = await this.layer.fetchTile(e4.level, e4.row, e4.col, t2);
-    return "vector-magdir" === this.layer.rasterInfo.dataType && (i5 == null ? void 0 : i5.pixelBlock) && (i5.pixelBlock = await this.layer.convertVectorFieldData(i5.pixelBlock, t2)), i5;
-  }
-  updateTileSource(e4, i5) {
-    const r6 = i5.symbolizerParams, { tileData: o2 } = e4;
-    o2.key = e4.key, o2.width = this._tileInfoView.tileInfo.size[0], o2.height = this._tileInfoView.tileInfo.size[1];
-    const { symbolTileSize: s6 } = r6, { source: l4 } = i5;
-    if (o2.offset = this._getTileSymbolOffset(o2.key, s6), r(l4) && r(l4.pixelBlock)) {
-      const e5 = { extent: l4.extent, pixelBlock: l4.pixelBlock };
-      o2.rawPixelData = e5, o2.symbolizerParameters = r6, o2.source = this._sampleVectorFieldData(l4.pixelBlock, r6, o2.offset);
-    } else {
-      const e5 = [Math.round((this._tileInfoView.tileInfo[0] - o2.offset[0]) / s6), Math.round((this._tileInfoView.tileInfo[1] - o2.offset[1]) / s6)], t2 = this.createEmptyTilePixelBlock(e5);
-      o2.source = t2, o2.symbolizerParameters = r6;
-    }
-    return o2.invalidateVAO(), Promise.resolve(null);
-  }
-  updateTileSymbolizerParameters(e4, i5) {
-    var _a;
-    const r6 = i5.local, { symbolTileSize: o2 } = r6, { tileData: s6 } = e4;
-    s6.offset = this._getTileSymbolOffset(s6.key, o2);
-    const l4 = s6.symbolizerParameters.symbolTileSize;
-    return s6.symbolizerParameters = r6, r((_a = s6.rawPixelData) == null ? void 0 : _a.pixelBlock) && l4 !== o2 && (s6.source = this._sampleVectorFieldData(s6.rawPixelData.pixelBlock, s6.symbolizerParameters, s6.offset)), Promise.resolve(null);
-  }
-  attach() {
-    super.attach(), this.container = new o(this._tileInfoView), this.container.isCustomTilingScheme = this._isCustomTilingScheme, this._updateSymbolType(this.layer.renderer), this._handle = l(() => this.layer.renderer, (e4) => this._updateSymbolType(e4));
-  }
-  detach() {
-    super.detach(), this.container.removeAllChildren(), this._handle.remove(), this._handle = null;
-  }
-  _getTileSymbolOffset(e4, t2) {
-    const i5 = e4.col * this._tileInfoView.tileInfo.size[0] % t2, r6 = e4.row * this._tileInfoView.tileInfo.size[1] % t2;
-    return [i5 > t2 / 2 ? t2 - i5 : -i5, r6 > t2 / 2 ? t2 - r6 : -r6];
-  }
-  _sampleVectorFieldData(e4, t2, i5) {
-    const { symbolTileSize: r6 } = t2;
-    return j3(e4, "vector-uv", r6, i5);
-  }
-  _updateSymbolType(e4) {
-    "vector-field" === e4.type && (this.container.symbolTypes = "wind-barb" === e4.style ? ["scalar", "triangle"] : "simple-scalar" === e4.style ? ["scalar"] : ["triangle"]);
-  }
-};
-e([y()], n5.prototype, "container", void 0), e([y()], n5.prototype, "layer", void 0), e([y()], n5.prototype, "type", void 0), n5 = e([n("esri.views.2d.layers.imagery.VectorFieldTileView2D")], n5);
-var c = n5;
-
-// node_modules/@arcgis/core/views/layers/ImageryTileLayerView.js
-var f2 = (f4) => {
-  let m2 = class extends f4 {
-    constructor() {
-      super(...arguments), this._rasterFieldPrefix = "Raster.", this.layer = null, this.view = null, this.tileInfo = null;
-    }
-    get fullExtent() {
-      return this._getfullExtent();
-    }
-    _getfullExtent() {
-      return this.projectFullExtent(this.view.spatialReference);
-    }
-    get hasTilingEffects() {
-      return this.layer.renderer && "dynamicRangeAdjustment" in this.layer.renderer && this.layer.renderer.dynamicRangeAdjustment;
-    }
-    get datumTransformation() {
-      return v(e2(this.layer.fullExtent), this.view.spatialReference, true);
-    }
-    supportsSpatialReference(e4) {
-      return !!this.projectFullExtent(e4);
-    }
-    projectFullExtent(e4) {
-      const t2 = e2(this.layer.fullExtent), r6 = v(t2, e4, false);
-      return J(t2, e4, r6);
-    }
-    async fetchPopupFeatures(e4, o2) {
-      const { layer: a2 } = this;
-      if (!e4)
-        throw new s2("imageryTileLayerView:fetchPopupFeatures", "Nothing to fetch without area", { layer: a2 });
-      const { popupEnabled: n6 } = a2, l4 = s5(a2, o2);
-      if (!n6 || t(l4))
-        throw new s2("imageryTileLayerView:fetchPopupFeatures", "Missing required popupTemplate or popupEnabled", { popupEnabled: n6, popupTemplate: l4 });
-      const p2 = [], { value: u4, magdirValue: f5 } = await a2.identify(e4, { timeExtent: this.timeExtent });
-      let m3 = "";
-      if (u4 && u4.length) {
-        m3 = "imagery-tile" === a2.type && a2.hasStandardTime() && null != u4[0] ? u4.map((e6) => a2.getStandardTimeValue(e6)).join(", ") : u4.join(", ");
-        const e5 = { ObjectId: 0 };
-        e5["Raster.ServicePixelValue"] = m3;
-        const r6 = a2.rasterInfo.attributeTable;
-        if (r(r6)) {
-          const { fields: t2, features: o4 } = r6, s7 = t2.find(({ name: e6 }) => "value" === e6.toLowerCase()), i5 = s7 ? o4.find((e6) => String(e6.attributes[s7.name]) === m3) : null;
-          if (i5) {
-            for (const r7 in i5.attributes)
-              if (i5.attributes.hasOwnProperty(r7)) {
-                e5[this._rasterFieldPrefix + r7] = i5.attributes[r7];
-              }
-          }
-        }
-        const o3 = a2.rasterInfo.dataType;
-        "vector-magdir" !== o3 && "vector-uv" !== o3 || (e5["Raster.Magnitude"] = f5 == null ? void 0 : f5[0], e5["Raster.Direction"] = f5 == null ? void 0 : f5[1]);
-        const s6 = new g(this.fullExtent.clone(), null, e5);
-        s6.layer = a2, s6.sourceLayer = s6.layer, p2.push(s6);
-      }
-      return p2;
-    }
-  };
-  return e([y()], m2.prototype, "layer", void 0), e([y(g3)], m2.prototype, "timeExtent", void 0), e([y()], m2.prototype, "view", void 0), e([y()], m2.prototype, "fullExtent", null), e([y()], m2.prototype, "tileInfo", void 0), e([y({ readOnly: true })], m2.prototype, "hasTilingEffects", null), m2 = e([n("esri.views.layers.ImageryTileLayerView")], m2), m2;
-};
-
-// node_modules/@arcgis/core/views/2d/layers/ImageryTileLayerView2D.js
-var f3 = class extends f2(i3(y3(u3))) {
-  constructor() {
-    super(...arguments), this._useWebGLForProcessing = true, this._useProgressiveUpdate = true, this.subview = null;
-  }
-  get useWebGLForProcessing() {
-    return this._useWebGLForProcessing;
-  }
-  set useWebGLForProcessing(e4) {
-    this._useWebGLForProcessing = e4, this.subview && "useWebGLForProcessing" in this.subview && (this.subview.useWebGLForProcessing = e4);
-  }
-  get useProgressiveUpdate() {
-    return this._useWebGLForProcessing;
-  }
-  set useProgressiveUpdate(e4) {
-    this._useProgressiveUpdate = e4, this.subview && "useProgressiveUpdate" in this.subview && (this.subview.useProgressiveUpdate = e4);
-  }
-  update(e4) {
-    this.subview.update(e4), this.notifyChange("updating");
-  }
-  isUpdating() {
-    return !this.subview || this.subview.updating;
-  }
-  attach() {
-    this.layer.increaseRasterJobHandlerUsage(), this._updateSubview(), this.handles.add([l(() => {
-      const { layer: e4 } = this;
-      return { bandIds: e4.bandIds, renderer: e4.renderer, interpolation: e4.interpolation, multidimensionalDefinition: e4.multidimensionalDefinition, rasterFunction: "imagery-tile" === e4.type ? e4.rasterFunction : null };
-    }, (e4, t2) => {
-      var _a, _b;
-      const s6 = e4.interpolation !== t2.interpolation && ("majority" === e4.interpolation || "majority" === t2.interpolation) && r4(this.layer), o2 = e4.renderer !== t2.renderer && ((_a = t2.renderer) == null ? void 0 : _a.type) !== ((_b = e4.renderer) == null ? void 0 : _b.type);
-      o2 && this._updateSubview();
-      const a2 = e4.multidimensionalDefinition !== t2.multidimensionalDefinition, n6 = e4.rasterFunction !== t2.rasterFunction, u4 = a2 || s6 || o2 || n6;
-      this.subview.redrawOrRefetch(u4).catch((e5) => {
-        j(e5) || s.getLogger(this.declaredClass).error(e5);
-      }), this.notifyChange("updating");
-    }), l(() => {
-      var _a;
-      return (_a = this.layer.blendMode) != null ? _a : "normal";
-    }, (e4) => {
-      this.subview.container.blendMode = e4;
-    }, w), l(() => {
-      var _a;
-      return (_a = this.layer.effect) != null ? _a : null;
-    }, (e4) => {
-      this.subview.container.effect = e4;
-    }, w), l(() => {
-      var _a;
-      return (_a = this.layer.multidimensionalSubset) != null ? _a : null;
-    }, (e4, t2) => {
-      const { multidimensionalDefinition: o2 } = this.layer;
-      r(o2) && m(o2, e4) !== m(o2, t2) && (this.subview.redrawOrRefetch(true).catch((e5) => {
-        j(e5) || s.getLogger(this.declaredClass).error(e5);
-      }), this.notifyChange("updating"));
-    }, U), l(() => this.timeExtent, () => {
-      this.subview.timeExtent = this.timeExtent, this.subview.redrawOrRefetch(true).catch((e4) => {
-        j(e4) || s.getLogger(this.declaredClass).error(e4);
-      });
-    }, h)], "attach");
-  }
-  detach() {
-    var _a;
-    this.handles.remove("attach"), this.layer.decreaseRasterJobHandlerUsage(), this._detachSubview(this.subview), (_a = this.subview) == null ? void 0 : _a.destroy(), this.subview = null;
-  }
-  moveStart() {
-    this.requestUpdate();
-  }
-  viewChange() {
-    this.requestUpdate();
-  }
-  moveEnd() {
-    this.subview.moveEnd();
-  }
-  async hitTest(e4, i5) {
-    return [{ type: "graphic", layer: this.layer, mapPoint: e4, graphic: new g({ attributes: {}, geometry: e4.clone() }) }];
-  }
-  doRefresh() {
-    var _a;
-    return (_a = this.subview) == null ? void 0 : _a.doRefresh();
-  }
-  _updateSubview() {
-    var _a;
-    const e4 = "vector-field" === this.layer.renderer.type ? "rasterVF" : "flow" === this.layer.renderer.type ? "flow" : "raster";
-    if (this.subview) {
-      if (this.subview.type === e4)
-        return void this._attachSubview(this.subview);
-      this._detachSubview(this.subview), (_a = this.subview) == null ? void 0 : _a.destroy(), this.subview = null;
-    }
-    const { layer: t2 } = this;
-    let i5;
-    i5 = "rasterVF" === e4 ? new c({ layer: t2, layerView: this }) : "flow" === e4 ? new d3({ layer: t2, layerView: this }) : new n4({ layer: t2, layerView: this }), "useWebGLForProcessing" in i5 && (i5.useWebGLForProcessing = this._useWebGLForProcessing), "useProgressiveUpdate" in i5 && (i5.useProgressiveUpdate = this._useProgressiveUpdate), "previousLOD" in i5 && (i5.previousLOD = this.subview && "previousLOD" in this.subview && this.subview.previousLOD), this._attachSubview(i5), this.subview = i5, this.requestUpdate();
-  }
-  _attachSubview(e4) {
-    e4 && !e4.attached && (e4.attach(), e4.attached = true, this.container.addChildAt(e4.container, 0), e4.container.blendMode = this.layer.blendMode, e4.container.effect = this.layer.effect);
-  }
-  _detachSubview(e4) {
-    (e4 == null ? void 0 : e4.attached) && (this.container.removeChild(e4.container), e4.detach(), e4.attached = false);
-  }
-};
-e([y()], f3.prototype, "subview", void 0), e([y()], f3.prototype, "useWebGLForProcessing", null), e([y()], f3.prototype, "useProgressiveUpdate", null), f3 = e([n("esri.views.2d.layers.ImageryTileLayerView2D")], f3);
-var L = f3;
-export {
-  L as default
-};
-//# sourceMappingURL=ImageryTileLayerView2D-UUVVNIWQ.js.map

+ 0 - 250
node_modules/.vite/deps/IntegratedMeshLayer-7YTE5FG5.js

@@ -1,250 +0,0 @@
-import {
-  g
-} from "./chunk-IN44RUPP.js";
-import {
-  l as l2,
-  m,
-  s as s2,
-  u as u2
-} from "./chunk-NXF22CVW.js";
-import {
-  L,
-  N
-} from "./chunk-DRPR56GA.js";
-import "./chunk-LX2NI53X.js";
-import "./chunk-IZUZZJS7.js";
-import "./chunk-56OWH4DC.js";
-import "./chunk-7B57NUGF.js";
-import {
-  An,
-  mn
-} from "./chunk-P24XEEHY.js";
-import "./chunk-SAJAEMIJ.js";
-import "./chunk-I4RYNNL6.js";
-import {
-  i
-} from "./chunk-WWXZOC2Y.js";
-import {
-  p
-} from "./chunk-ZOKNWEG3.js";
-import "./chunk-SZFMKPVM.js";
-import {
-  U,
-  a
-} from "./chunk-TJV6ODRM.js";
-import {
-  v as v2
-} from "./chunk-JUWKPBLS.js";
-import {
-  c as c2
-} from "./chunk-WLSB4F4I.js";
-import {
-  d
-} from "./chunk-GLSWDDR3.js";
-import {
-  O
-} from "./chunk-MIQGEDET.js";
-import "./chunk-DUEMJ5XS.js";
-import "./chunk-VRLXUHP2.js";
-import "./chunk-3LVSQLWJ.js";
-import {
-  c
-} from "./chunk-4ONPMX2F.js";
-import "./chunk-CRGY2SDS.js";
-import "./chunk-4T5ZGMEN.js";
-import {
-  t as t4
-} from "./chunk-PLWDAYK7.js";
-import "./chunk-VGWC3IKZ.js";
-import "./chunk-2H5MD622.js";
-import "./chunk-3RSFVUKZ.js";
-import "./chunk-5N7JLUJJ.js";
-import "./chunk-P3XKUGLS.js";
-import "./chunk-2ZSOO377.js";
-import "./chunk-YUA3AHKR.js";
-import "./chunk-LU5IJZB4.js";
-import "./chunk-7IBV2TRE.js";
-import "./chunk-ZLNEXZAN.js";
-import "./chunk-5UVJ64RB.js";
-import "./chunk-SFEFRQCL.js";
-import {
-  b
-} from "./chunk-DXVOOCG4.js";
-import "./chunk-3GZSQU56.js";
-import "./chunk-RYY6632W.js";
-import "./chunk-DW42UVIT.js";
-import "./chunk-YAEIHDJH.js";
-import "./chunk-TJNOJH33.js";
-import "./chunk-OSHI574D.js";
-import "./chunk-ETGAZ7LF.js";
-import "./chunk-75U5LM2V.js";
-import "./chunk-RMDDCMKS.js";
-import {
-  v2 as v
-} from "./chunk-VCH45Q2I.js";
-import {
-  j
-} from "./chunk-LBW34VZ2.js";
-import "./chunk-GSSTTHIT.js";
-import "./chunk-YFSLJIO4.js";
-import "./chunk-IM3LVQXV.js";
-import "./chunk-55RWC67C.js";
-import "./chunk-HZRKBTHJ.js";
-import {
-  U as U2
-} from "./chunk-DVUG3KID.js";
-import "./chunk-FWSQEIAR.js";
-import {
-  j as j2
-} from "./chunk-VEGAOVMY.js";
-import {
-  o
-} from "./chunk-6T6G6LCQ.js";
-import "./chunk-YEJL5NEF.js";
-import {
-  r as r2
-} from "./chunk-PQFTYGF5.js";
-import {
-  e,
-  l3 as l,
-  n5 as n,
-  t2,
-  t5 as t3,
-  u2 as u,
-  y3 as y2
-} from "./chunk-2Z2TG5CU.js";
-import "./chunk-6KZ2LTDA.js";
-import "./chunk-U2XHEJM7.js";
-import "./chunk-SQOPWYIT.js";
-import {
-  w
-} from "./chunk-V6P2MAQQ.js";
-import {
-  s3 as s
-} from "./chunk-E5O6P5I2.js";
-import {
-  y
-} from "./chunk-SPWQ3AWG.js";
-import "./chunk-2TIUKVZN.js";
-import {
-  q,
-  r,
-  t
-} from "./chunk-YXWMMD76.js";
-import "./chunk-S5KM4IGW.js";
-
-// node_modules/@arcgis/core/layers/support/SceneModification.js
-var m2;
-var y3 = m2 = class extends l {
-  constructor(e2) {
-    super(e2), this.geometry = null, this.type = "clip";
-  }
-  writeGeometry(e2, r3, o2, s3) {
-    if (s3.layer && s3.layer.spatialReference && !s3.layer.spatialReference.equals(this.geometry.spatialReference)) {
-      if (!An(e2.spatialReference, s3.layer.spatialReference))
-        return void (s3 && s3.messages && s3.messages.push(new t3("scenemodification:unsupported", "Scene modifications with incompatible spatial references are not supported", { modification: this, spatialReference: s3.layer.spatialReference, context: s3 })));
-      const p2 = new v();
-      mn(e2, p2, s3.layer.spatialReference), r3[o2] = p2.toJSON(s3);
-    } else
-      r3[o2] = e2.toJSON(s3);
-    delete r3[o2].spatialReference;
-  }
-  clone() {
-    return new m2({ geometry: y(this.geometry), type: this.type });
-  }
-};
-e([y2({ type: v }), g()], y3.prototype, "geometry", void 0), e([r2(["web-scene", "portal-item"], "geometry")], y3.prototype, "writeGeometry", null), e([y2({ type: ["clip", "mask", "replace"], nonNullable: true }), g()], y3.prototype, "type", void 0), y3 = m2 = e([n("esri.layers.support.SceneModification")], y3);
-var f = y3;
-
-// node_modules/@arcgis/core/layers/support/SceneModifications.js
-var a2;
-var n2 = a2 = class extends u(j.ofType(f)) {
-  constructor(r3) {
-    super(r3), this.url = null;
-  }
-  clone() {
-    return new a2({ url: this.url, items: this.items.map((r3) => r3.clone()) });
-  }
-  toJSON(r3) {
-    return this.toArray().map((o2) => o2.toJSON(r3)).filter((r4) => !!r4.geometry);
-  }
-  static fromJSON(r3, o2) {
-    const t5 = new a2();
-    for (const e2 of r3)
-      t5.add(f.fromJSON(e2, o2));
-    return t5;
-  }
-  static async fromUrl(r3, t5, e2) {
-    const c3 = { url: j2(r3), origin: "service" }, p2 = await U2(r3, { responseType: "json", signal: q(e2, "signal") }), n3 = t5.toJSON(), l4 = [];
-    for (const o2 of p2.data)
-      l4.push(f.fromJSON({ ...o2, geometry: { ...o2.geometry, spatialReference: n3 } }, c3));
-    return new a2({ url: r3, items: l4 });
-  }
-};
-e([y2({ type: String })], n2.prototype, "url", void 0), n2 = a2 = e([n("esri.layers.support.SceneModifications")], n2);
-var l3 = n2;
-
-// node_modules/@arcgis/core/layers/IntegratedMeshLayer.js
-var b2 = class extends N(p(c2(v2(t4(O(i(b))))))) {
-  constructor(...e2) {
-    super(...e2), this._handles = new t2(), this.geometryType = "mesh", this.operationalLayerType = "IntegratedMeshLayer", this.type = "integrated-mesh", this.nodePages = null, this.materialDefinitions = null, this.textureSetDefinitions = null, this.geometryDefinitions = null, this.serviceUpdateTimeStamp = null, this.profile = "mesh-pyramids", this.modifications = null, this._modificationsSource = null, this.elevationInfo = null, this.path = null;
-  }
-  destroy() {
-    this._handles.destroy();
-  }
-  initialize() {
-    this._handles.add(a(() => this.modifications, "after-changes", () => this.modifications = this.modifications, U));
-  }
-  normalizeCtorArgs(e2, t5) {
-    return "string" == typeof e2 ? { url: e2, ...t5 } : e2;
-  }
-  readModifications(e2, t5, r3) {
-    this._modificationsSource = { url: c(e2, r3), context: r3 };
-  }
-  async load(e2) {
-    return this.addResolvingPromise(this._doLoad(e2)), this;
-  }
-  async _doLoad(e2) {
-    const t5 = q(e2, "signal");
-    try {
-      await this.loadFromPortal({ supportedTypes: ["Scene Service"] }, e2);
-    } catch (r3) {
-      w(r3);
-    }
-    if (await this._fetchService(t5), r(this._modificationsSource)) {
-      const t6 = await l3.fromUrl(this._modificationsSource.url, this.spatialReference, e2);
-      this.setAtOrigin("modifications", t6, this._modificationsSource.context.origin), this._modificationsSource = null;
-    }
-    await this._fetchIndexAndUpdateExtent(this.nodePages, t5);
-  }
-  beforeSave() {
-    if (!t(this._modificationsSource))
-      return this.load().then(() => {
-      }, () => {
-      });
-  }
-  async saveAs(e2, t5) {
-    return this._debouncedSaveOperations(L.SAVE_AS, { ...t5, getTypeKeywords: () => this._getTypeKeywords(), portalItemLayerType: "integrated-mesh" }, e2);
-  }
-  async save() {
-    const e2 = { getTypeKeywords: () => this._getTypeKeywords(), portalItemLayerType: "integrated-mesh" };
-    return this._debouncedSaveOperations(L.SAVE, e2);
-  }
-  validateLayer(e2) {
-    if (e2.layerType && "IntegratedMesh" !== e2.layerType)
-      throw new s("integrated-mesh-layer:layer-type-not-supported", "IntegratedMeshLayer does not support this layer type", { layerType: e2.layerType });
-    if (isNaN(this.version.major) || isNaN(this.version.minor))
-      throw new s("layer:service-version-not-supported", "Service version is not supported.", { serviceVersion: this.version.versionString, supportedVersions: "1.x" });
-    if (this.version.major > 1)
-      throw new s("layer:service-version-too-new", "Service version is too new.", { serviceVersion: this.version.versionString, supportedVersions: "1.x" });
-  }
-  _getTypeKeywords() {
-    return ["IntegratedMeshLayer"];
-  }
-};
-e([y2({ type: String, readOnly: true })], b2.prototype, "geometryType", void 0), e([y2({ type: ["show", "hide"] })], b2.prototype, "listMode", void 0), e([y2({ type: ["IntegratedMeshLayer"] })], b2.prototype, "operationalLayerType", void 0), e([y2({ json: { read: false }, readOnly: true })], b2.prototype, "type", void 0), e([y2({ type: s2, readOnly: true })], b2.prototype, "nodePages", void 0), e([y2({ type: [l2], readOnly: true })], b2.prototype, "materialDefinitions", void 0), e([y2({ type: [u2], readOnly: true })], b2.prototype, "textureSetDefinitions", void 0), e([y2({ type: [m], readOnly: true })], b2.prototype, "geometryDefinitions", void 0), e([y2({ readOnly: true })], b2.prototype, "serviceUpdateTimeStamp", void 0), e([y2({ type: l3 }), g({ origins: ["web-scene", "portal-item"], type: "resource", prefix: "modifications" })], b2.prototype, "modifications", void 0), e([o(["web-scene", "portal-item"], "modifications")], b2.prototype, "readModifications", null), e([y2(d)], b2.prototype, "elevationInfo", void 0), e([y2({ type: String, json: { origins: { "web-scene": { read: true, write: true }, "portal-item": { read: true, write: true } }, read: false } })], b2.prototype, "path", void 0), b2 = e([n("esri.layers.IntegratedMeshLayer")], b2);
-var A = b2;
-export {
-  A as default
-};
-//# sourceMappingURL=IntegratedMeshLayer-7YTE5FG5.js.map

+ 250 - 0
node_modules/.vite/deps/IntegratedMeshLayer-B7PIXZS2.js

@@ -0,0 +1,250 @@
+import {
+  g
+} from "./chunk-OLXMUZBB.js";
+import {
+  l as l2,
+  m,
+  s as s2,
+  u as u2
+} from "./chunk-XPM6MV6B.js";
+import {
+  L,
+  N
+} from "./chunk-SB62IOA2.js";
+import "./chunk-LX2NI53X.js";
+import "./chunk-IZUZZJS7.js";
+import "./chunk-OQLLPV4D.js";
+import "./chunk-6SHVYOIM.js";
+import {
+  An,
+  mn
+} from "./chunk-VYQHMPYW.js";
+import "./chunk-SOSOZIX6.js";
+import "./chunk-I4RYNNL6.js";
+import {
+  i
+} from "./chunk-DUH52ME3.js";
+import {
+  p
+} from "./chunk-BFKFNCQC.js";
+import "./chunk-SZFMKPVM.js";
+import {
+  U,
+  a
+} from "./chunk-BWATQC2Y.js";
+import {
+  v as v2
+} from "./chunk-2DSTZVND.js";
+import {
+  c as c2
+} from "./chunk-VXKIGGM4.js";
+import {
+  d
+} from "./chunk-KG45D2XL.js";
+import {
+  O
+} from "./chunk-JYRZQPQI.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import {
+  c
+} from "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import {
+  t as t4
+} from "./chunk-2L5METUC.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-PIFOHNWC.js";
+import "./chunk-LLO7GCYU.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import {
+  b
+} from "./chunk-O43KLDSX.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import {
+  v2 as v
+} from "./chunk-RZK6A2GY.js";
+import {
+  j
+} from "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import "./chunk-BDA6VH2A.js";
+import "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import {
+  U as U2
+} from "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import {
+  j as j2
+} from "./chunk-VEGAOVMY.js";
+import {
+  o
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  r as r2
+} from "./chunk-QCKFNSN2.js";
+import {
+  e,
+  l3 as l,
+  n5 as n,
+  t2,
+  t5 as t3,
+  u2 as u,
+  y3 as y2
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  w
+} from "./chunk-V6P2MAQQ.js";
+import {
+  s3 as s
+} from "./chunk-E5O6P5I2.js";
+import {
+  y
+} from "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  q,
+  r,
+  t
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/support/SceneModification.js
+var m2;
+var y3 = m2 = class extends l {
+  constructor(e2) {
+    super(e2), this.geometry = null, this.type = "clip";
+  }
+  writeGeometry(e2, r3, o2, s3) {
+    if (s3.layer && s3.layer.spatialReference && !s3.layer.spatialReference.equals(this.geometry.spatialReference)) {
+      if (!An(e2.spatialReference, s3.layer.spatialReference))
+        return void (s3 && s3.messages && s3.messages.push(new t3("scenemodification:unsupported", "Scene modifications with incompatible spatial references are not supported", { modification: this, spatialReference: s3.layer.spatialReference, context: s3 })));
+      const p2 = new v();
+      mn(e2, p2, s3.layer.spatialReference), r3[o2] = p2.toJSON(s3);
+    } else
+      r3[o2] = e2.toJSON(s3);
+    delete r3[o2].spatialReference;
+  }
+  clone() {
+    return new m2({ geometry: y(this.geometry), type: this.type });
+  }
+};
+e([y2({ type: v }), g()], y3.prototype, "geometry", void 0), e([r2(["web-scene", "portal-item"], "geometry")], y3.prototype, "writeGeometry", null), e([y2({ type: ["clip", "mask", "replace"], nonNullable: true }), g()], y3.prototype, "type", void 0), y3 = m2 = e([n("esri.layers.support.SceneModification")], y3);
+var f = y3;
+
+// node_modules/@arcgis/core/layers/support/SceneModifications.js
+var a2;
+var n2 = a2 = class extends u(j.ofType(f)) {
+  constructor(r3) {
+    super(r3), this.url = null;
+  }
+  clone() {
+    return new a2({ url: this.url, items: this.items.map((r3) => r3.clone()) });
+  }
+  toJSON(r3) {
+    return this.toArray().map((o2) => o2.toJSON(r3)).filter((r4) => !!r4.geometry);
+  }
+  static fromJSON(r3, o2) {
+    const t5 = new a2();
+    for (const e2 of r3)
+      t5.add(f.fromJSON(e2, o2));
+    return t5;
+  }
+  static async fromUrl(r3, t5, e2) {
+    const c3 = { url: j2(r3), origin: "service" }, p2 = await U2(r3, { responseType: "json", signal: q(e2, "signal") }), n3 = t5.toJSON(), l4 = [];
+    for (const o2 of p2.data)
+      l4.push(f.fromJSON({ ...o2, geometry: { ...o2.geometry, spatialReference: n3 } }, c3));
+    return new a2({ url: r3, items: l4 });
+  }
+};
+e([y2({ type: String })], n2.prototype, "url", void 0), n2 = a2 = e([n("esri.layers.support.SceneModifications")], n2);
+var l3 = n2;
+
+// node_modules/@arcgis/core/layers/IntegratedMeshLayer.js
+var b2 = class extends N(p(c2(v2(t4(O(i(b))))))) {
+  constructor(...e2) {
+    super(...e2), this._handles = new t2(), this.geometryType = "mesh", this.operationalLayerType = "IntegratedMeshLayer", this.type = "integrated-mesh", this.nodePages = null, this.materialDefinitions = null, this.textureSetDefinitions = null, this.geometryDefinitions = null, this.serviceUpdateTimeStamp = null, this.profile = "mesh-pyramids", this.modifications = null, this._modificationsSource = null, this.elevationInfo = null, this.path = null;
+  }
+  destroy() {
+    this._handles.destroy();
+  }
+  initialize() {
+    this._handles.add(a(() => this.modifications, "after-changes", () => this.modifications = this.modifications, U));
+  }
+  normalizeCtorArgs(e2, t5) {
+    return "string" == typeof e2 ? { url: e2, ...t5 } : e2;
+  }
+  readModifications(e2, t5, r3) {
+    this._modificationsSource = { url: c(e2, r3), context: r3 };
+  }
+  async load(e2) {
+    return this.addResolvingPromise(this._doLoad(e2)), this;
+  }
+  async _doLoad(e2) {
+    const t5 = q(e2, "signal");
+    try {
+      await this.loadFromPortal({ supportedTypes: ["Scene Service"] }, e2);
+    } catch (r3) {
+      w(r3);
+    }
+    if (await this._fetchService(t5), r(this._modificationsSource)) {
+      const t6 = await l3.fromUrl(this._modificationsSource.url, this.spatialReference, e2);
+      this.setAtOrigin("modifications", t6, this._modificationsSource.context.origin), this._modificationsSource = null;
+    }
+    await this._fetchIndexAndUpdateExtent(this.nodePages, t5);
+  }
+  beforeSave() {
+    if (!t(this._modificationsSource))
+      return this.load().then(() => {
+      }, () => {
+      });
+  }
+  async saveAs(e2, t5) {
+    return this._debouncedSaveOperations(L.SAVE_AS, { ...t5, getTypeKeywords: () => this._getTypeKeywords(), portalItemLayerType: "integrated-mesh" }, e2);
+  }
+  async save() {
+    const e2 = { getTypeKeywords: () => this._getTypeKeywords(), portalItemLayerType: "integrated-mesh" };
+    return this._debouncedSaveOperations(L.SAVE, e2);
+  }
+  validateLayer(e2) {
+    if (e2.layerType && "IntegratedMesh" !== e2.layerType)
+      throw new s("integrated-mesh-layer:layer-type-not-supported", "IntegratedMeshLayer does not support this layer type", { layerType: e2.layerType });
+    if (isNaN(this.version.major) || isNaN(this.version.minor))
+      throw new s("layer:service-version-not-supported", "Service version is not supported.", { serviceVersion: this.version.versionString, supportedVersions: "1.x" });
+    if (this.version.major > 1)
+      throw new s("layer:service-version-too-new", "Service version is too new.", { serviceVersion: this.version.versionString, supportedVersions: "1.x" });
+  }
+  _getTypeKeywords() {
+    return ["IntegratedMeshLayer"];
+  }
+};
+e([y2({ type: String, readOnly: true })], b2.prototype, "geometryType", void 0), e([y2({ type: ["show", "hide"] })], b2.prototype, "listMode", void 0), e([y2({ type: ["IntegratedMeshLayer"] })], b2.prototype, "operationalLayerType", void 0), e([y2({ json: { read: false }, readOnly: true })], b2.prototype, "type", void 0), e([y2({ type: s2, readOnly: true })], b2.prototype, "nodePages", void 0), e([y2({ type: [l2], readOnly: true })], b2.prototype, "materialDefinitions", void 0), e([y2({ type: [u2], readOnly: true })], b2.prototype, "textureSetDefinitions", void 0), e([y2({ type: [m], readOnly: true })], b2.prototype, "geometryDefinitions", void 0), e([y2({ readOnly: true })], b2.prototype, "serviceUpdateTimeStamp", void 0), e([y2({ type: l3 }), g({ origins: ["web-scene", "portal-item"], type: "resource", prefix: "modifications" })], b2.prototype, "modifications", void 0), e([o(["web-scene", "portal-item"], "modifications")], b2.prototype, "readModifications", null), e([y2(d)], b2.prototype, "elevationInfo", void 0), e([y2({ type: String, json: { origins: { "web-scene": { read: true, write: true }, "portal-item": { read: true, write: true } }, read: false } })], b2.prototype, "path", void 0), b2 = e([n("esri.layers.IntegratedMeshLayer")], b2);
+var A = b2;
+export {
+  A as default
+};
+//# sourceMappingURL=IntegratedMeshLayer-B7PIXZS2.js.map

+ 0 - 0
node_modules/.vite/deps/IntegratedMeshLayer-7YTE5FG5.js.map → node_modules/.vite/deps/IntegratedMeshLayer-B7PIXZS2.js.map


+ 287 - 0
node_modules/.vite/deps/KMLLayer-G2W3Z42K.js

@@ -0,0 +1,287 @@
+import {
+  S,
+  d,
+  g,
+  j as j3
+} from "./chunk-XDR4MMPA.js";
+import "./chunk-WFHIGLUK.js";
+import "./chunk-JB2527A3.js";
+import "./chunk-XODJHDJQ.js";
+import "./chunk-O2PIYIHJ.js";
+import "./chunk-2BWPQRLB.js";
+import "./chunk-HPD2S4QL.js";
+import "./chunk-C65ZRRQD.js";
+import "./chunk-GR4RKUNH.js";
+import "./chunk-LTQAWUCK.js";
+import "./chunk-W3SLJVWY.js";
+import "./chunk-PK4W65H4.js";
+import "./chunk-KJZ6SS3P.js";
+import "./chunk-OER54WCN.js";
+import "./chunk-HOCLACFL.js";
+import "./chunk-3MLCBRBA.js";
+import "./chunk-WTRZAXRY.js";
+import "./chunk-EY2WJSAJ.js";
+import "./chunk-YMULPZCD.js";
+import "./chunk-4PNYPUDB.js";
+import "./chunk-73AMYZFU.js";
+import "./chunk-NKMX5M3L.js";
+import "./chunk-MGUVQY3Q.js";
+import "./chunk-QEWF7QPH.js";
+import "./chunk-PJNBFKPF.js";
+import "./chunk-C7742RNZ.js";
+import "./chunk-SQ2SY4BX.js";
+import "./chunk-VLG7MMVR.js";
+import "./chunk-TV3CFJQR.js";
+import {
+  U,
+  a,
+  j as j2,
+  l
+} from "./chunk-BWATQC2Y.js";
+import {
+  v
+} from "./chunk-2DSTZVND.js";
+import {
+  c
+} from "./chunk-VXKIGGM4.js";
+import {
+  f
+} from "./chunk-KG45D2XL.js";
+import {
+  O
+} from "./chunk-JYRZQPQI.js";
+import "./chunk-3HZQM2NK.js";
+import "./chunk-AR2YN3E2.js";
+import "./chunk-U3LEOWJX.js";
+import "./chunk-4ONPMX2F.js";
+import "./chunk-47NSA4T4.js";
+import "./chunk-FUODOQDM.js";
+import {
+  p
+} from "./chunk-UMJCSYX5.js";
+import {
+  n as n3
+} from "./chunk-UA6W42KP.js";
+import "./chunk-3OSQ6GXO.js";
+import "./chunk-3WQOA5CB.js";
+import {
+  t
+} from "./chunk-2L5METUC.js";
+import "./chunk-FZQZIM7U.js";
+import "./chunk-CZBRZ6SU.js";
+import "./chunk-VGWC3IKZ.js";
+import "./chunk-SWMSD4RP.js";
+import "./chunk-UKEN2UNL.js";
+import "./chunk-UVVU4UUO.js";
+import {
+  l as l2
+} from "./chunk-E36TKLKO.js";
+import "./chunk-O6VYMEIX.js";
+import "./chunk-X4SA4ELJ.js";
+import "./chunk-XJCUT65M.js";
+import "./chunk-PE24J2I5.js";
+import "./chunk-P3XKUGLS.js";
+import "./chunk-PIFOHNWC.js";
+import "./chunk-LLO7GCYU.js";
+import "./chunk-U7RKABRB.js";
+import "./chunk-X7CNGECX.js";
+import "./chunk-PSEI52P3.js";
+import "./chunk-ZLNEXZAN.js";
+import "./chunk-5UVJ64RB.js";
+import {
+  b as b2
+} from "./chunk-O43KLDSX.js";
+import "./chunk-AUOH2VSO.js";
+import "./chunk-ZYRIJWLX.js";
+import "./chunk-RYY6632W.js";
+import "./chunk-DW42UVIT.js";
+import "./chunk-TJNOJH33.js";
+import "./chunk-YAEIHDJH.js";
+import "./chunk-OSHI574D.js";
+import "./chunk-44GMIOGP.js";
+import "./chunk-75U5LM2V.js";
+import "./chunk-ZHRAUKVQ.js";
+import "./chunk-RZK6A2GY.js";
+import {
+  j
+} from "./chunk-4NQ74ZR6.js";
+import "./chunk-X4LLOW7U.js";
+import {
+  m
+} from "./chunk-BDA6VH2A.js";
+import {
+  n as n2
+} from "./chunk-Z4JTBD7M.js";
+import "./chunk-MSBIHK67.js";
+import "./chunk-HZRKBTHJ.js";
+import "./chunk-5DMBXPN2.js";
+import "./chunk-QANZ6BFY.js";
+import {
+  Ut
+} from "./chunk-VEGAOVMY.js";
+import {
+  o,
+  w2
+} from "./chunk-CXCDYJ5R.js";
+import "./chunk-GAOW3WRZ.js";
+import {
+  k2 as k,
+  r as r2
+} from "./chunk-QCKFNSN2.js";
+import {
+  e,
+  n5 as n,
+  u2,
+  y3 as y
+} from "./chunk-6SOHRC7T.js";
+import "./chunk-U2XHEJM7.js";
+import {
+  b
+} from "./chunk-SQOPWYIT.js";
+import "./chunk-6KZ2LTDA.js";
+import {
+  w
+} from "./chunk-V6P2MAQQ.js";
+import "./chunk-E5O6P5I2.js";
+import {
+  u
+} from "./chunk-SPWQ3AWG.js";
+import "./chunk-2TIUKVZN.js";
+import {
+  r
+} from "./chunk-YXWMMD76.js";
+import "./chunk-S5KM4IGW.js";
+
+// node_modules/@arcgis/core/layers/support/KMLSublayer.js
+var S2;
+var k2 = S2 = class extends n2.EventedMixin(u2(m)) {
+  constructor(...e2) {
+    super(...e2), this.description = null, this.id = null, this.networkLink = null, this.sublayers = null, this.title = null, this.sourceJSON = null, this.fullExtent = null, this.addHandles([a(() => this.sublayers, "after-add", ({ item: e3 }) => {
+      e3.parent = this, e3.layer = this.layer;
+    }, U), a(() => this.sublayers, "after-remove", ({ item: e3 }) => {
+      e3.layer = e3.parent = null;
+    }, U), l(() => this.sublayers, (e3, t2) => {
+      if (t2)
+        for (const r3 of t2)
+          r3.layer = r3.parent = null;
+      if (e3)
+        for (const r3 of e3)
+          r3.parent = this, r3.layer = this.layer;
+    }, U)]);
+  }
+  initialize() {
+    j2(() => this.networkLink).then(() => j2(() => true === this.visible)).then(() => this.load());
+  }
+  load(e2) {
+    var _a, _b;
+    if (!this.networkLink)
+      return;
+    if (this.networkLink.viewFormat)
+      return;
+    const r3 = r(e2) ? e2.signal : null, s = this._fetchService((_b = (_a = this._get("networkLink")) == null ? void 0 : _a.href) != null ? _b : "", r3).then((e3) => {
+      var _a2;
+      const r4 = j3(e3.sublayers);
+      this.fullExtent = w2.fromJSON(r4), this.sourceJSON = e3;
+      const s2 = b(j.ofType(S2), S(S2, e3));
+      this.sublayers ? this.sublayers.addMany(s2) : this.sublayers = s2, (_a2 = this.layer) == null ? void 0 : _a2.emit("sublayer-update"), this.layer && this.layer.notifyChange("visibleSublayers");
+    });
+    return this.addResolvingPromise(s), Promise.resolve(this);
+  }
+  get visible() {
+    return this._get("visible");
+  }
+  set visible(e2) {
+    this._get("visible") !== e2 && (this._set("visible", e2), this.layer && this.layer.notifyChange("visibleSublayers"));
+  }
+  readVisible(e2, t2) {
+    return !!t2.visibility;
+  }
+  set layer(e2) {
+    this._set("layer", e2), this.sublayers && this.sublayers.forEach((t2) => t2.layer = e2);
+  }
+  _fetchService(e2, t2) {
+    return g(e2, this.layer.outSpatialReference, this.layer.refreshInterval, t2).then((e3) => d(e3.data));
+  }
+};
+e([y()], k2.prototype, "description", void 0), e([y()], k2.prototype, "id", void 0), e([y({ readOnly: true, value: null })], k2.prototype, "networkLink", void 0), e([y({ json: { write: { allowNull: true } } })], k2.prototype, "parent", void 0), e([y({ type: j.ofType(S2), json: { write: { allowNull: true } } })], k2.prototype, "sublayers", void 0), e([y({ value: null, json: { read: { source: "name", reader: (e2) => u(e2) } } })], k2.prototype, "title", void 0), e([y({ value: true })], k2.prototype, "visible", null), e([o("visible", ["visibility"])], k2.prototype, "readVisible", null), e([y()], k2.prototype, "sourceJSON", void 0), e([y({ value: null })], k2.prototype, "layer", null), e([y({ type: w2 })], k2.prototype, "fullExtent", void 0), k2 = S2 = e([n("esri.layers.support.KMLSublayer")], k2);
+var g2 = k2;
+
+// node_modules/@arcgis/core/layers/KMLLayer.js
+var F = ["kml", "xml"];
+var O2 = class extends n3(p(t(c(v(O(b2)))))) {
+  constructor(...e2) {
+    super(...e2), this._visibleFolders = [], this.allSublayers = new l2({ getCollections: () => [this.sublayers], getChildrenFunction: (e3) => e3.sublayers }), this.outSpatialReference = k.WGS84, this.path = null, this.legendEnabled = false, this.operationalLayerType = "KML", this.sublayers = null, this.type = "kml", this.url = null;
+  }
+  initialize() {
+    this.addHandles([l(() => this.sublayers, (e2, r3) => {
+      r3 && r3.forEach((e3) => {
+        e3.parent = null, e3.layer = null;
+      }), e2 && e2.forEach((e3) => {
+        e3.parent = this, e3.layer = this;
+      });
+    }, U), this.on("sublayer-update", () => this.notifyChange("fullExtent"))]);
+  }
+  normalizeCtorArgs(e2, r3) {
+    return "string" == typeof e2 ? { url: e2, ...r3 } : e2;
+  }
+  readSublayersFromItemOrWebMap(e2, r3) {
+    this._visibleFolders = r3.visibleFolders;
+  }
+  readSublayers(e2, r3, t2) {
+    return S(g2, r3, t2, this._visibleFolders);
+  }
+  writeSublayers(e2, r3) {
+    const t2 = [], o2 = e2.toArray();
+    for (; o2.length; ) {
+      const e3 = o2[0];
+      e3.networkLink || (e3.visible && t2.push(e3.id), e3.sublayers && o2.push(...e3.sublayers.toArray())), o2.shift();
+    }
+    r3.visibleFolders = t2;
+  }
+  get title() {
+    const e2 = this._get("title");
+    return e2 && "defaults" !== this.originOf("title") ? e2 : this.url ? Ut(this.url, F) || "KML" : e2 || "";
+  }
+  set title(e2) {
+    this._set("title", e2);
+  }
+  get visibleSublayers() {
+    const e2 = this.sublayers, r3 = [], t2 = (e3) => {
+      e3.visible && (r3.push(e3), e3.sublayers && e3.sublayers.forEach(t2));
+    };
+    return e2 && e2.forEach(t2), r3;
+  }
+  get fullExtent() {
+    return this._recomputeFullExtent();
+  }
+  load(e2) {
+    const r3 = r(e2) ? e2.signal : null;
+    return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["KML"], supportsData: false }, e2).catch(w).then(() => this._fetchService(r3))), Promise.resolve(this);
+  }
+  destroy() {
+    super.destroy(), this.allSublayers.destroy();
+  }
+  async _fetchService(e2) {
+    const r3 = await Promise.resolve().then(() => {
+      var _a;
+      return this.resourceInfo ? { ssl: false, data: this.resourceInfo } : g((_a = this.url) != null ? _a : "", this.outSpatialReference, this.refreshInterval, e2);
+    }), t2 = d(r3.data);
+    t2 && this.read(t2, { origin: "service" });
+  }
+  _recomputeFullExtent() {
+    let e2 = null;
+    r(this.extent) && (e2 = this.extent.clone());
+    const r3 = (t2) => {
+      if (t2.sublayers)
+        for (const s of t2.sublayers.items)
+          r3(s), s.visible && s.fullExtent && (r(e2) ? e2.union(s.fullExtent) : e2 = s.fullExtent.clone());
+    };
+    return r3(this), e2;
+  }
+};
+e([y({ readOnly: true })], O2.prototype, "allSublayers", void 0), e([y({ type: k })], O2.prototype, "outSpatialReference", void 0), e([y({ type: String, json: { origins: { "web-scene": { read: true, write: true } }, read: false } })], O2.prototype, "path", void 0), e([y({ readOnly: true, json: { read: false, write: false } })], O2.prototype, "legendEnabled", void 0), e([y({ type: ["show", "hide", "hide-children"] })], O2.prototype, "listMode", void 0), e([y({ type: ["KML"] })], O2.prototype, "operationalLayerType", void 0), e([y({})], O2.prototype, "resourceInfo", void 0), e([y({ type: j.ofType(g2), json: { write: { ignoreOrigin: true } } })], O2.prototype, "sublayers", void 0), e([o(["web-map", "portal-item"], "sublayers", ["visibleFolders"])], O2.prototype, "readSublayersFromItemOrWebMap", null), e([o("service", "sublayers", ["sublayers"])], O2.prototype, "readSublayers", null), e([r2("sublayers")], O2.prototype, "writeSublayers", null), e([y({ readOnly: true, json: { read: false } })], O2.prototype, "type", void 0), e([y({ json: { origins: { "web-map": { read: { source: "title" } } }, write: { ignoreOrigin: true } } })], O2.prototype, "title", null), e([y(f)], O2.prototype, "url", void 0), e([y({ readOnly: true })], O2.prototype, "visibleSublayers", null), e([y({ type: w2 })], O2.prototype, "extent", void 0), e([y()], O2.prototype, "fullExtent", null), O2 = e([n("esri.layers.KMLLayer")], O2);
+var M = O2;
+export {
+  M as default
+};
+//# sourceMappingURL=KMLLayer-G2W3Z42K.js.map

Some files were not shown because too many files changed in this diff