@arcgis/map-components 4.32.0-next.2 → 4.32.0-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/arcgis-map-components/{EQTBXL27.js → 27GM6TMI.js} +2 -2
  2. package/dist/arcgis-map-components/{TY4LRMYB.js → 2QCUAEYR.js} +1 -1
  3. package/dist/arcgis-map-components/{B6Z3K5E6.js → 2QNOIF3U.js} +2 -2
  4. package/dist/arcgis-map-components/{DQK27YBW.js → 2V3FF3OU.js} +2 -2
  5. package/dist/arcgis-map-components/{HEBIFCHW.js → 33JP7447.js} +2 -2
  6. package/dist/arcgis-map-components/{327OXNT5.js → 3DSKXAXC.js} +2 -2
  7. package/dist/arcgis-map-components/{HNDOGSLA.js → 3GXNNJO6.js} +2 -2
  8. package/dist/arcgis-map-components/{3R7EOYY3.js → 3N74S77Y.js} +2 -2
  9. package/dist/arcgis-map-components/{KF46FZNO.js → 3SPCVWDW.js} +2 -2
  10. package/dist/arcgis-map-components/{KRNTNUDC.js → 443N6XGY.js} +2 -2
  11. package/dist/arcgis-map-components/{Z6FLHF4Y.js → 4ONG4MQT.js} +2 -2
  12. package/dist/arcgis-map-components/{26RVOVEC.js → 4TCWP63S.js} +2 -2
  13. package/dist/arcgis-map-components/{D4XIASG2.js → 4UXCF4OM.js} +1 -1
  14. package/dist/arcgis-map-components/{G6YHMY2X.js → 5SEPUASD.js} +2 -2
  15. package/dist/arcgis-map-components/{XL42GVGB.js → 5TUO2PJB.js} +2 -2
  16. package/dist/arcgis-map-components/{MXAGX7OA.js → 62KCQDGE.js} +2 -2
  17. package/dist/arcgis-map-components/{JHGXWM55.js → 6QELDRLR.js} +2 -2
  18. package/dist/arcgis-map-components/6V7GUT2B.js +8 -0
  19. package/dist/arcgis-map-components/{W5BYKY5K.js → 727Y4EHZ.js} +2 -2
  20. package/dist/arcgis-map-components/{ZATBD4AU.js → 73XACXR7.js} +2 -2
  21. package/dist/arcgis-map-components/{RVUHEIL2.js → 7QAPWEN2.js} +2 -2
  22. package/dist/arcgis-map-components/{WLPAGIVE.js → 7R2QORO5.js} +2 -2
  23. package/dist/arcgis-map-components/{Y7DD72RA.js → 7T3FSXQW.js} +2 -2
  24. package/dist/arcgis-map-components/{OUFCLRMG.js → ASAHKP4M.js} +2 -2
  25. package/dist/arcgis-map-components/{TOS6QE45.js → BECLJD75.js} +2 -2
  26. package/dist/arcgis-map-components/{YYYNB4EI.js → BJV7COFA.js} +2 -2
  27. package/dist/arcgis-map-components/{P3X6SURG.js → BLKWSBBC.js} +2 -2
  28. package/dist/arcgis-map-components/{GMTDFL22.js → BLY2ABPE.js} +2 -2
  29. package/dist/arcgis-map-components/{MCZ4R2D2.js → C7QHC5XF.js} +2 -2
  30. package/dist/arcgis-map-components/{73ZPAYZL.js → CJE6T4C4.js} +2 -2
  31. package/dist/arcgis-map-components/{U3A7NBMN.js → CKYC5GML.js} +2 -2
  32. package/dist/arcgis-map-components/{QJE6C2KB.js → CXXLK64M.js} +2 -2
  33. package/dist/arcgis-map-components/{WAIK2ZZN.js → E4A6DD7W.js} +2 -2
  34. package/dist/arcgis-map-components/{MOMHFVR6.js → ED2X3KMJ.js} +2 -2
  35. package/dist/arcgis-map-components/{XAOANEKX.js → FLIQGWQE.js} +2 -2
  36. package/dist/arcgis-map-components/{LDDW6F6M.js → GEEPX5R5.js} +2 -2
  37. package/dist/arcgis-map-components/{2V6UXU6P.js → HI2KTAFJ.js} +2 -2
  38. package/dist/arcgis-map-components/{YRMMQFCN.js → I2RWV7WW.js} +2 -2
  39. package/dist/arcgis-map-components/{TOG7VHWN.js → ISHF2ZKS.js} +2 -2
  40. package/dist/arcgis-map-components/{LQPFVUFQ.js → ITCPQV4W.js} +2 -2
  41. package/dist/arcgis-map-components/{ZJDGS42S.js → IUEFMVKN.js} +2 -2
  42. package/dist/arcgis-map-components/{6TSLGWQT.js → J3HCS7H5.js} +2 -2
  43. package/dist/arcgis-map-components/{FKQWYYJJ.js → JL3UO3KO.js} +2 -2
  44. package/dist/arcgis-map-components/{QCYUUWJP.js → JZVQISNS.js} +2 -2
  45. package/dist/arcgis-map-components/{46EZ5CLU.js → LMTZHUBA.js} +2 -2
  46. package/dist/arcgis-map-components/{3R2MPXOH.js → MXTMPFAC.js} +2 -2
  47. package/dist/arcgis-map-components/{MPO7H3FA.js → N2XIIREH.js} +2 -2
  48. package/dist/arcgis-map-components/{3CKLCOIH.js → NWPR6F5M.js} +2 -2
  49. package/dist/arcgis-map-components/{EFVHFMSS.js → OXL7PTVB.js} +2 -2
  50. package/dist/arcgis-map-components/{GGMK22ZD.js → P7RGEXXO.js} +2 -2
  51. package/dist/arcgis-map-components/{74DFQCVS.js → PQWYNCT6.js} +2 -2
  52. package/dist/arcgis-map-components/{JD3NDKYH.js → Q3VEG4LZ.js} +2 -2
  53. package/dist/arcgis-map-components/{VURDEWQI.js → QXMZ555H.js} +2 -2
  54. package/dist/arcgis-map-components/{OTOXD6WT.js → SNV65KM3.js} +2 -2
  55. package/dist/arcgis-map-components/{RHLWBYBO.js → TL2O77FA.js} +2 -2
  56. package/dist/arcgis-map-components/{SPLN4VXX.js → TPVWPS2P.js} +2 -2
  57. package/dist/arcgis-map-components/{XRJ6T3QX.js → TQXQLXXI.js} +2 -2
  58. package/dist/arcgis-map-components/{QWQXCAI5.js → TVI3FCBK.js} +2 -2
  59. package/dist/arcgis-map-components/{C7HA6EHC.js → TXCD4CDR.js} +2 -2
  60. package/dist/arcgis-map-components/{QMWMI2KR.js → UF3GQO25.js} +1 -1
  61. package/dist/arcgis-map-components/{YAS7GDPA.js → UMTYNFPZ.js} +2 -2
  62. package/dist/arcgis-map-components/{BODCRIXB.js → XAGDSS6M.js} +2 -2
  63. package/dist/arcgis-map-components/{KGEFWFO6.js → XLLCOPOL.js} +2 -2
  64. package/dist/arcgis-map-components/{AHIVLV3N.js → XYXKVL6L.js} +2 -2
  65. package/dist/arcgis-map-components/{74C4V7KH.js → YKPN7EV6.js} +2 -2
  66. package/dist/arcgis-map-components/{6ZWNHYVL.js → YOIY3V4Q.js} +2 -2
  67. package/dist/arcgis-map-components/{T73URWJF.js → YORHXSHC.js} +2 -2
  68. package/dist/arcgis-map-components/{674RWNZK.js → YXWDKDOD.js} +2 -2
  69. package/dist/arcgis-map-components/{SOKO6DPY.js → ZAYVEXCC.js} +2 -2
  70. package/dist/arcgis-map-components/{577SG2LO.js → ZNPPQB57.js} +2 -2
  71. package/dist/arcgis-map-components/{NAY7H67N.js → ZZVNYAFB.js} +2 -2
  72. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  73. package/dist/chunks/component-utils.js +1 -1
  74. package/dist/chunks/disconnected.js +1 -1
  75. package/dist/chunks/globalCss.js +1 -1
  76. package/dist/chunks/index.js +1 -1
  77. package/dist/chunks/runtime.js +1 -1
  78. package/dist/chunks/useViewModel.js +1 -1
  79. package/dist/chunks/useWidget.js +1 -1
  80. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  81. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  82. package/dist/components/arcgis-attachments/customElement.js +1 -1
  83. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  84. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  85. package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
  86. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  87. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  88. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  89. package/dist/components/arcgis-compass/customElement.js +1 -1
  90. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  91. package/dist/components/arcgis-daylight/customElement.js +1 -1
  92. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  93. package/dist/components/arcgis-directions/customElement.js +1 -1
  94. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  95. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  96. package/dist/components/arcgis-editor/customElement.js +1 -1
  97. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  98. package/dist/components/arcgis-expand/customElement.js +1 -1
  99. package/dist/components/arcgis-feature/customElement.js +1 -1
  100. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  101. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  102. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  103. package/dist/components/arcgis-features/customElement.js +1 -1
  104. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  105. package/dist/components/arcgis-fullscreen/customElement.js +2 -2
  106. package/dist/components/arcgis-histogram/customElement.js +1 -1
  107. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  108. package/dist/components/arcgis-home/customElement.js +1 -1
  109. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  110. package/dist/components/arcgis-legend/customElement.js +1 -1
  111. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  112. package/dist/components/arcgis-locate/customElement.js +1 -1
  113. package/dist/components/arcgis-map/customElement.js +1 -1
  114. package/dist/components/arcgis-measurement/customElement.js +1 -1
  115. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  116. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  117. package/dist/components/arcgis-placement/customElement.js +1 -1
  118. package/dist/components/arcgis-print/customElement.js +1 -1
  119. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  120. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  121. package/dist/components/arcgis-scene/customElement.js +1 -1
  122. package/dist/components/arcgis-search/customElement.js +1 -1
  123. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  124. package/dist/components/arcgis-sketch/customElement.js +1 -1
  125. package/dist/components/arcgis-slice/customElement.js +1 -1
  126. package/dist/components/arcgis-slider/customElement.js +1 -1
  127. package/dist/components/arcgis-swipe/customElement.js +1 -1
  128. package/dist/components/arcgis-table-list/customElement.js +1 -1
  129. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  130. package/dist/components/arcgis-track/customElement.js +1 -1
  131. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  132. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  133. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  134. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  135. package/dist/components/arcgis-version-management/customElement.js +3 -3
  136. package/dist/components/arcgis-version-management-service-item/customElement.js +2 -2
  137. package/dist/components/arcgis-version-management-version-item/customElement.js +3 -3
  138. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  139. package/dist/components/arcgis-version-management-version-properties/customElement.js +2 -2
  140. package/dist/components/arcgis-weather/customElement.js +1 -1
  141. package/dist/components/arcgis-zoom/customElement.js +1 -1
  142. package/dist/docs/docs.json +2 -2
  143. package/dist/docs/manifest.json +2 -2
  144. package/dist/docs/web-types.json +1 -1
  145. package/dist/index.js +1 -1
  146. package/dist/loader.js +1 -1
  147. package/package.json +14 -14
  148. package/dist/arcgis-map-components/LMZOA6VS.js +0 -8
@@ -10,7 +10,7 @@ import { LitElement as D, createEvent as R, noShadowRoot as x, safeClassMap as a
10
10
  /*!
11
11
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
13
- * v4.32.0-next.2
13
+ * v4.32.0-next.3
14
14
  */
15
15
  const r = "esri-scale-bar", t = {
16
16
  base: r,
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as l, noShadowRoot as n } from "@arcgis/lu
6
6
  /*!
7
7
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.2
9
+ * v4.32.0-next.3
10
10
  */
11
11
  const o = s(i);
12
12
  class h extends a {
@@ -8,7 +8,7 @@ import { css as u } from "@lit/reactive-element/css-tag.js";
8
8
  /*!
9
9
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
11
- * v4.32.0-next.2
11
+ * v4.32.0-next.3
12
12
  */
13
13
  const f = u`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`, _ = o(v, {}), C = o(l, {});
14
14
  class E extends p {
@@ -7,7 +7,7 @@ import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
7
7
  /*!
8
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- * v4.32.0-next.2
10
+ * v4.32.0-next.3
11
11
  */
12
12
  const o = r(a);
13
13
  class g extends h {
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as h, noShadowRoot as d } from "@arcgis/lu
6
6
  /*!
7
7
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.2
9
+ * v4.32.0-next.3
10
10
  */
11
11
  const n = o(e);
12
12
  class r extends a {
@@ -7,7 +7,7 @@ import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
7
7
  /*!
8
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- * v4.32.0-next.2
10
+ * v4.32.0-next.3
11
11
  */
12
12
  const g = n(l);
13
13
  class p extends d {
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as o, noShadowRoot as l } from "@arcgis/lu
6
6
  /*!
7
7
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.2
9
+ * v4.32.0-next.3
10
10
  */
11
11
  const r = s(t);
12
12
  class d extends a {
@@ -8,7 +8,7 @@ import { css as m } from "@lit/reactive-element/css-tag.js";
8
8
  /*!
9
9
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
11
- * v4.32.0-next.2
11
+ * v4.32.0-next.3
12
12
  */
13
13
  const r = m`arcgis-slider{min-width:200px;min-height:25px}`, d = a(s);
14
14
  class c extends h {
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lu
6
6
  /*!
7
7
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.2
9
+ * v4.32.0-next.3
10
10
  */
11
11
  const n = s(i);
12
12
  class d extends a {
@@ -7,7 +7,7 @@ import { reEmitEvent as o } from "@arcgis/components-controllers/accessor";
7
7
  /*!
8
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- * v4.32.0-next.2
10
+ * v4.32.0-next.3
11
11
  */
12
12
  const n = s(i);
13
13
  class m extends l {
@@ -7,7 +7,7 @@ import { reEmitEvent as d } from "@arcgis/components-controllers/accessor";
7
7
  /*!
8
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- * v4.32.0-next.2
10
+ * v4.32.0-next.3
11
11
  */
12
12
  const l = o(e);
13
13
  class r extends a {
@@ -10,7 +10,7 @@ import { reEmitEvent as c } from "@arcgis/components-controllers/accessor";
10
10
  /*!
11
11
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
13
- * v4.32.0-next.2
13
+ * v4.32.0-next.3
14
14
  */
15
15
  const b = {
16
16
  base: "esri-track"
@@ -8,7 +8,7 @@ import { LitElement as h, createEvent as A, noShadowRoot as m } from "@arcgis/lu
8
8
  /*!
9
9
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
11
- * v4.32.0-next.2
11
+ * v4.32.0-next.3
12
12
  */
13
13
  class v extends h {
14
14
  constructor() {
@@ -8,7 +8,7 @@ import { LitElement as f, createEvent as t, noShadowRoot as w } from "@arcgis/lu
8
8
  /*!
9
9
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
11
- * v4.32.0-next.2
11
+ * v4.32.0-next.3
12
12
  */
13
13
  class g extends f {
14
14
  constructor() {
@@ -8,7 +8,7 @@ import { LitElement as n, createEvent as w, noShadowRoot as c } from "@arcgis/lu
8
8
  /*!
9
9
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
11
- * v4.32.0-next.2
11
+ * v4.32.0-next.3
12
12
  */
13
13
  class m extends n {
14
14
  constructor() {
@@ -7,7 +7,7 @@ import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
7
7
  /*!
8
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- * v4.32.0-next.2
10
+ * v4.32.0-next.3
11
11
  */
12
12
  const r = s(e);
13
13
  class l extends o {
@@ -9,7 +9,7 @@ import { css as F } from "@lit/reactive-element/css-tag.js";
9
9
  /*!
10
10
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
12
- * v4.32.0-next.2
12
+ * v4.32.0-next.3
13
13
  */
14
14
  const k = F`.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`, _ = S(V);
15
15
  class b extends C {
@@ -210,9 +210,9 @@ class b extends C {
210
210
  o?.appendChild(w);
211
211
  }}></arcgis-version-management-service-item>`;
212
212
  }) : void 0, g = l === "disabled" ? f`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(r)}</div></calcite-notice>` : void 0;
213
- return f`<calcite-flow class=${N(this.mode === "dialog" ? "" : "calcite-flow-widget")} ${P(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${n ?? void 0} @calciteFlowItemClose=${() => {
213
+ return f`<calcite-flow class=${N(this.mode === "dialog" ? "" : "calcite-flow-widget")} ${P(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${(n ?? void 0) || ""} @calciteFlowItemClose=${() => {
214
214
  this._handleFlowItemClose();
215
- }}><calcite-panel .loading=${l === "loading" || l === "executing"}>${c}${g}</calcite-panel></calcite-flow-item></calcite-flow>`;
215
+ }}><calcite-panel .loading=${l === "loading" || l === "executing" || ""}>${c}${g}</calcite-panel></calcite-flow-item></calcite-flow>`;
216
216
  }
217
217
  }
218
218
  E("arcgis-version-management", b);
@@ -4,7 +4,7 @@ import { LitElement as I, createEvent as r, noShadowRoot as M } from "@arcgis/lu
4
4
  /*!
5
5
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
7
- * v4.32.0-next.2
7
+ * v4.32.0-next.3
8
8
  */
9
9
  class k extends I {
10
10
  constructor() {
@@ -44,7 +44,7 @@ class k extends I {
44
44
  const f = n`<calcite-combobox clear-disabled .label=${t} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${(i) => {
45
45
  const w = i.target, u = o.find(($) => $.versionIdentifier.guid === w.value);
46
46
  this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: g, versionInfo: u });
47
- }}>${o ? o.map((i) => n`<calcite-combobox-item .selected=${l.guid === i.versionIdentifier.guid && l.name === i.versionIdentifier.name} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`) : void 0}</calcite-combobox>`;
47
+ }}>${o ? o.map((i) => n`<calcite-combobox-item .selected=${l.guid === i.versionIdentifier.guid && l.name === i.versionIdentifier.name || ""} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`) : void 0}</calcite-combobox>`;
48
48
  let d, v;
49
49
  return e && (d = n`<calcite-action .id=${`actionManageVersions_${t}`} icon=list scale=s slot=control text @click=${async () => {
50
50
  s = document.createElement("arcgis-version-management-version-list"), s.versionListElementProps = {
@@ -4,7 +4,7 @@ import { LitElement as v, createEvent as b, noShadowRoot as f, nothing as x } fr
4
4
  /*!
5
5
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
7
- * v4.32.0-next.2
7
+ * v4.32.0-next.3
8
8
  */
9
9
  class I extends v {
10
10
  constructor() {
@@ -24,9 +24,9 @@ class I extends v {
24
24
  }} slot=actions-start></calcite-action>`, $ = i ? void 0 : c`<calcite-tooltip overlay-positioning=fixed .referenceElement=${l}><span>${n.switchToVersion}</span></calcite-tooltip>`;
25
25
  return c`<calcite-list-item .description=${a} .label=${h} .value=${r}>${V}${$}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${() => {
26
26
  this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: t, versionInfo: e });
27
- }} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o || i} icon=code-branch-edit @click=${() => {
27
+ }} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o || i || ""} icon=code-branch-edit @click=${() => {
28
28
  this.arcgisManageVersion.emit({ actionType: "editVersion", serviceUrl: t, versionInfo: e });
29
- }} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o || o && i} icon=trash @click=${() => {
29
+ }} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o || o && i || ""} icon=trash @click=${() => {
30
30
  this.arcgisManageVersion.emit({ actionType: "deleteVersion", serviceUrl: t, versionInfo: e });
31
31
  }} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`;
32
32
  }
@@ -5,7 +5,7 @@ import { LitElement as k, createEvent as a } from "@arcgis/lumina";
5
5
  /*!
6
6
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
8
- * v4.32.0-next.2
8
+ * v4.32.0-next.3
9
9
  */
10
10
  class U extends k {
11
11
  constructor() {
@@ -5,7 +5,7 @@ import { LitElement as V, createEvent as p, noShadowRoot as w } from "@arcgis/lu
5
5
  /*!
6
6
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
8
- * v4.32.0-next.2
8
+ * v4.32.0-next.3
9
9
  */
10
10
  class $ extends V {
11
11
  constructor() {
@@ -84,7 +84,7 @@ class $ extends V {
84
84
  // #endregion
85
85
  // #region Rendering
86
86
  render() {
87
- const { versionPropertiesElementProps: { closable: e, currentUser: i, hasAdvEditingUte: h, state: m, strings: t, versionInfo: r }, _mode: a, _ownerName: c, _versionName: s } = this, n = l`<div><calcite-button appearance=outline slot=footer width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button slot=footer width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`, o = l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a === "edit" && r.access === "public" || a === "create"} value=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "protected"} value=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "private"} value=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`, v = l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a === "edit" ? r.description : ""}></calcite-text-area></calcite-label>`, f = l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a === "edit" ? s : ""} ${u(this._versionNameInputElement)}></calcite-input-text></calcite-label>`, _ = l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!h} .value=${a === "edit" ? c : i}></calcite-input-text></calcite-label>`, b = a === "create" ? l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${u(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>` : void 0;
87
+ const { versionPropertiesElementProps: { closable: e, currentUser: i, hasAdvEditingUte: h, state: m, strings: t, versionInfo: r }, _mode: a, _ownerName: c, _versionName: s } = this, n = l`<div><calcite-button appearance=outline slot=footer width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button slot=footer width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`, o = l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a === "edit" && r.access === "public" || a === "create" || ""} value=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "protected" || ""} value=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "private" || ""} value=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`, v = l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a === "edit" ? r.description : ""}></calcite-text-area></calcite-label>`, f = l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a === "edit" ? s : ""} ${u(this._versionNameInputElement)}></calcite-input-text></calcite-label>`, _ = l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!h} .value=${a === "edit" ? c : i}></calcite-input-text></calcite-label>`, b = a === "create" ? l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${u(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>` : void 0;
88
88
  return l`<calcite-flow-item .closable=${e} .description=${r ? r.versionIdentifier.name : ""} .heading=${r ? t.actions.editVersion : t.actions.newVersion} @calciteFlowItemClose=${this._handleClose}><calcite-panel .loading=${m === "executing"}><calcite-block heading open>${f}${v}${o}${_}${b}${n}</calcite-block></calcite-panel></calcite-flow-item>`;
89
89
  }
90
90
  }
@@ -6,7 +6,7 @@ import { LitElement as o, createEvent as a, noShadowRoot as r } from "@arcgis/lu
6
6
  /*!
7
7
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.2
9
+ * v4.32.0-next.3
10
10
  */
11
11
  const h = s(t);
12
12
  class d extends o {
@@ -10,7 +10,7 @@ import { css as f } from "@lit/reactive-element/css-tag.js";
10
10
  /*!
11
11
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
13
- * v4.32.0-next.2
13
+ * v4.32.0-next.3
14
14
  */
15
15
  const r = {
16
16
  base: "esri-zoom",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2024-10-04T17:21:09",
2
+ "timestamp": "2024-10-08T04:11:05",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.32.0-next.2",
5
+ "version": "4.32.0-next.3",
6
6
  "typescriptVersion": "5.4.5"
7
7
  },
8
8
  "components": [
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2024-10-04T17:21:09",
2
+ "timestamp": "2024-10-08T04:11:05",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.32.0-next.2",
5
+ "version": "4.32.0-next.3",
6
6
  "typescriptVersion": "5.4.5"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@arcgis/map-components",
4
- "version": "4.32.0-next.2",
4
+ "version": "4.32.0-next.3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { g as e, s as a } from "./chunks/runtime.js";
2
2
  /*!
3
3
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
5
- * v4.32.0-next.2
5
+ * v4.32.0-next.3
6
6
  */
7
7
  export {
8
8
  e as getAssetPath,
package/dist/loader.js CHANGED
@@ -3,7 +3,7 @@ import { makeDefineCustomElements as t } from "@arcgis/lumina";
3
3
  /*!
4
4
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
6
- * v4.32.0-next.2
6
+ * v4.32.0-next.3
7
7
  */
8
8
  const a = t(e, {
9
9
  "arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;destroy"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "4.32.0-next.2",
3
+ "version": "4.32.0-next.3",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -58,21 +58,21 @@
58
58
  "clean": "rimraf ./node_modules ./storybook-static ./storybook-static-external ./turbo ./dist"
59
59
  },
60
60
  "dependencies": {
61
- "@arcgis/components-controllers": "4.32.0-next.2",
62
- "@arcgis/components-utils": "4.32.0-next.2",
63
- "@arcgis/lumina": "4.32.0-next.2",
61
+ "@arcgis/components-build-utils": "4.32.0-next.3",
62
+ "@arcgis/components-controllers": "4.32.0-next.3",
63
+ "@arcgis/components-utils": "4.32.0-next.3",
64
+ "@arcgis/lumina": "4.32.0-next.3",
64
65
  "tslib": "^2.7.0"
65
66
  },
66
67
  "devDependencies": {
67
- "@arcgis/components-build-utils": "4.32.0-next.2",
68
- "@arcgis/components-plugins": "4.32.0-next.2",
68
+ "@arcgis/components-plugins": "4.32.0-next.3",
69
69
  "@arcgis/core": ">=4.31.0-next <4.32",
70
- "@arcgis/core-adapter": "4.32.0-next.2",
71
- "@arcgis/lumina-compiler": "4.32.0-next.2",
72
- "@arcgis/stencil-to-lumina": "4.32.0-next.2",
73
- "@arcgis/storybook-utils": "4.32.0-next.2",
74
- "@arcgis/typescript-config": "4.32.0-next.2",
75
- "@esri/calcite-components": "^2.12.1",
70
+ "@arcgis/core-adapter": "4.32.0-next.3",
71
+ "@arcgis/lumina-compiler": "4.32.0-next.3",
72
+ "@arcgis/stencil-to-lumina": "4.32.0-next.3",
73
+ "@arcgis/storybook-utils": "4.32.0-next.3",
74
+ "@arcgis/typescript-config": "4.32.0-next.3",
75
+ "@esri/calcite-components": "^2.13.0",
76
76
  "@testing-library/dom": "^10.4.0",
77
77
  "@types/jest": "^29.5.0",
78
78
  "@vitest/browser": "^2.1.2",
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "peerDependencies": {
95
95
  "@arcgis/core": ">=4.31.0-next <4.32",
96
- "@esri/calcite-components": "^2.12.1"
96
+ "@esri/calcite-components": ">=2.13.0 <3.0.0"
97
97
  },
98
98
  "css.customData": [
99
99
  "dist/docs/vscode.css-custom-data.json"
@@ -108,5 +108,5 @@
108
108
  "storybook-static": "builds"
109
109
  }
110
110
  },
111
- "gitHead": "8c9d6f7c0e88ea1b6ddbc00ebdb1c89069b0cbbf"
111
+ "gitHead": "afc83258caec2a09162da0def77c2ff3867212c1"
112
112
  }
@@ -1,8 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
5
- */
6
- function Qo(...e){let t=[];for(let o=0;o<e.length;o++){let s=e[o];if(typeof s=="string")t.push(s);else if(Array.isArray(s))t.push.apply(t,s);else if(typeof s=="object")for(let n in s)s[n]&&t.push(n)}let r=t.join(" ");return t.length=0,r}var b=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function ze(e,t){let r=e;for(;r;){if(r===t)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function We(e,t,r){let{subscribe:o}=Be(t);return o(s=>{s.some(i=>ze(e,i.target))&&r()})}var _t={};function Be(e){let t=e.join(","),r=_t[t];if(r!==void 0)return r;let o=new Set,s=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(s.disconnect(),_t[t]=void 0)}}}};return _t[t]=n,n}function Fe(e,t){let r=e;for(;r;){let o=r.closest?.(t);if(o)return o;let s=r.getRootNode?.();if(s===globalThis.document)return null;r=s.host}return null}function Ge(e,t,r){return Fe(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function H(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var Ke=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],qe=new Set(Ke),tt="en",Je={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Ye(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return Et[s]??(Et[s]=Wt(e,o)),await Et[s]}var Et={};async function Wt(e,t){let r=`${t}${e}.json`;try{let o=await fetch(r);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await Wt(tt,t)}function Ct(e){let t=Ge(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:Bt(t)}}function Bt(e){let[t,r]=e.split("-"),o=t.toLowerCase(),s=o;return r&&(s=`${o}-${r.toUpperCase()}`),s=Je[s]??s,qe.has(s)?s:r?Bt(o):tt}function Ft(e,t,r,o){let s,n=()=>void Qe(e,t,o).then(i=>{(s?.lang!==i.lang||s.t9nLocale!==i.t9nLocale||s.t9nStrings!==i.t9nStrings)&&r(i),s=i}).catch(console.error);return n(),We(e,["lang"],n)}async function Qe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:o,t9nLocale:s}=Ct(e),n=`${t}/${r}/t9n`,i=`${r}.t9n.`,c=r===null?{}:await Ye(s,n,i);return{lang:o,t9nLocale:s,t9nStrings:c}}var et=e=>e.replace(Ze,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ze=/[A-Z]+(?![a-z])|[A-Z]/gu;function Gt(e,t){let r=t>Xe?to:t/eo,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var Xe=4e3,to=2e3,eo=4;function Kt(e){return e!==void 0}function qt(e,t){if(t){let r=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(r,([o,s])=>s.noAccessor?void 0:[o,[(s.readOnly?2048:0)|(s.state?32:16)]]).filter(Kt))}else{let r=e.constructor,o=r.__registerControllers?.(e)??void 0;if(r.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([s,[n]])=>(n&63)!==0))}}function Jt(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var $t=(e,t)=>e.manager.internals.members?.[t]?.[0];var st=Symbol.for("controller");var Xt=e=>typeof e=="object"&&e!==null&&(st in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var B;function D(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function F(e){return B}var T=[];function nt(e){if(e===void 0){T=[];return}let t=T.indexOf(e);T=t===-1?[...T,e]:T.slice(0,t+1),queueMicrotask(()=>{T=[]})}function te(){return T}var I;function oo(e){I!==e&&(I=e,queueMicrotask(()=>{I===e&&(I=void 0)}))}function ro(){let e=I;return I=void 0,e}var so=async(e,t)=>{let r=Ot(e);if(r===void 0)return e;if(await r.ready,typeof t=="function"){let o=r.watchExports(s=>t(s,o))}return r.exports},no=async e=>{let t=Ot(e);return await t.ready,t},Ot=e=>{let t=ro();if(t!==void 0)return t;let o=F().manager.internals.resolveExports(e);if(o!==void 0)return o;if(Xt(e))return e},A={setter:!1,getter:!1,readOnly:!1},rt=new WeakMap,ee;ee=st;var St=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=Qt(this),this._exportWatchers=new Set;let t=e??F(new.target.name);this.component=t,this.component.addController(this),nt(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e){this._exports=Qt(e),this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return D(this.component),so}get useRef(){return D(this.component),no}get useRefSync(){return D(this.component),Ot}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await H(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(H)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Yt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Yt,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){D(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(o=>{typeof o=="function"?this._lifecycleCleanups.push(o):typeof o=="object"&&typeof o.remove=="function"&&this._lifecycleCleanups.push(o.remove)})}};function Yt(e){p(e,void 0,this)}var oe=St;function Qt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(io.has(o)&&o in r&&r[o]===t)&&(o in r||o in Promise.prototype||typeof o=="symbol"))return typeof r=="function"?r[o]:Reflect.get(r,o,s)},set:(r,o,s,n)=>Reflect.set(r,o,s,n)});return t}var io=new Set(["exports","_exports"]);function it(e,t,r){let o=Object.keys(e),s=o.length;x===void 0&&queueMicrotask(G),x??(x=new Map);let n=x.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},x.set(e,n)),n.keyCount!==s&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=s),n.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[s];a===void 0?c(void 0):e[a]===r?c(a):c(void 0)}),r}var x=void 0;function G(){Array.from(x?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),x=void 0}function K(e,t,r){var o;let s=t,n=e.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);let i=n.allWatchers[s],c=r,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var ao=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([r,[o]])=>{var s;o&2048&&((s=t.setters)[r]??(s[r]=[]),t.setters[r].push(t.readonlySetter))})},this.trackedValue=Lt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,this.readonlySetter=(t,r,o)=>{if(A.readOnly)return t;throw new Error(`Cannot assign to read-only property "${o}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let r=this.keyTrackers;this.trackedValue=Lt,this.keyTrackers=[],r.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,r=t.constructor.prototype;if(this._getSetProxy(r,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;r!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,r){let o=this.component,s=$t(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,c=n.set,a=ot in i,l=ot in c;if(a&&l)return;let d=!a,h=!l,f=d?function(){let v=i.call(this),C=rt.get(this);if(A.getter||C===void 0)return v;let V=C.manager.internals;v=V.accessorGetter[t](v,t);let y=V.getters[t]??At;for(let $=0;$<y.length;$++)v=y[$](v,t);return v}:i,g=h?function(v){let C=i.call(this),V=rt.get(this);if(V===void 0){c.call(this,v);return}let y=V.manager.isLit?v??void 0:Jt(v,s),$=V.manager.internals;if(y===C)c.call(this,y);else{let zt=A.setter?At:$.setters[t]??At;for(let W=0;W<zt.length&&(y=zt[W](y,C,t),y!==C);W++);let Ie=y;c.call(this,y),y=$.accessorSetter[t](y,C,t),y!==Ie&&c.call(this,y),y!==C&&$.enabledWatchers[t]?.forEach(W=>W(y,C,t))}$.keyTrackers.length>0&&$?.firePropTrackers(t,v)}:c;d&&(f[ot]=!0),h&&(g[ot]=!0),Object.defineProperty(e,t,{...n,get:f,set:g})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},At=[],ot=Symbol(),Lt=Symbol(),Pt=(e,t)=>new co(e,t),co=class extends oe{constructor(e,t){let r="addController"in e,o=new Set;function s(a){o.add(a),!(st in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=s,i.removeController=n,!r){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new ao(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,qt(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=wt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=Zt,c.accessorSetter[a]=Zt,c.getSetProxy(a)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),nt(void 0),D(e),rt.set(e.el,e),rt.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,r=e.el===e;this._originalLifecycles={_connectedCallback:t||r?void 0:e.connectedCallback,_disconnectedCallback:t||r?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let o=this._connectedCallback.bind(this),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:s,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=s,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${wt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,G(),e.enableReadonly?.(),this._controllers.forEach(ho),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(po),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){let e=this.internals.reactiveUtilsIntegrations;if(e.size>0)for(let t of e)"triggerLoad"in t?await t.triggerLoad():await H(t.hostLoad,t);await Promise.allSettled(Array.from(this._controllers,uo,e)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&K(this.component,wt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(fo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(mo,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(yo,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new b,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(go),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Gt(e,lo)}}},wt="autoDestroyDisabled",lo=1e3;var Zt=e=>e;function ho(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function po(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function uo(e){this.has(e)||("triggerLoad"in e?await e.triggerLoad():await H(e.hostLoad,e))}function fo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function mo(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function yo(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function go(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}function re(e,t,r){let o=e.manager.internals;return o.trackedValue!==Lt&&o.trackedValue!==r&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=r,o.keyTrackers.push((s,n)=>p(t,void 0,r===n?s:void 0)),r}function se(e,t,r){let o=Array.isArray(e)?e:[e],s=o.length+1,n=c=>{s-=1,c!==void 0&&(s=Math.min(s,0)),s===0&&t(c)};o.forEach(c=>it(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),r));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&re(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:$t(i,c)!==void 0}),r),r}function vo(e){A.setter=!0;try{return e()}finally{A.setter=!1}}function bo(e){A.getter=!0;try{return e()}finally{A.getter=!1}}function ne(e){A.readOnly=!0;try{return e()}finally{A.readOnly=!1}}var ie=e=>(...t)=>{let r=te(),o=new e(...t),s=o.exports;nt(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(c=>n.markExports(o,c)),oo(o);let i=[o.component,...r].reverse();return se(i,c=>c===void 0?void 0:_o(o,c,s),s)};function _o(e,{host:t,key:r,isReactive:o},s){let n=t,i=n[r]!==e.exports,c=n[r]!==s,a=s!==e.exports;if(i&&!c&&a&&(n[r]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,n[r]),K(e.component,r,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=o?void 0:r}e.watchExports(()=>{if(n[r]===e.exports)return;let d=e.component.manager;d.internals.setters[r]?.includes(d.internals.readonlySetter)?ne(()=>{n[r]=e.exports}):n[r]=e.exports})}var Tt=e=>Co(void 0,e);var Eo=class extends St{constructor(e,t){super(e);let r=this.exports;try{D(this.component);let o=t(this.component,this),s=this.exports!==r;if(o instanceof Promise){s||this.setProvisionalExports(o);let n=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},Co=ie(Eo);var vr=Tt;var _r=e=>(t={})=>Tt((r,o)=>{let s=r;o.onLifecycle(()=>Ft(r.el,e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};o.exports=h;let f=l.componentLabel??l.widgetLabel;typeof f=="string"&&"label"in r&&r.label==null&&(r.label??(r.label=f)),n(s.messageOverrides)},t.name));function n(a){let l=o.exports,d=l._original??l,h=ce(d,a);a&&(h._original=d),o.exports=h}if("messageOverrides"in s&&o.onLifecycle(()=>K(s,"messageOverrides",n)),t.blocking)return o.ready;let i=Ct(r.el);return{_lang:i.lang,_t9nLocale:i.t9nLocale,_loading:!0}});function ce(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=ce(e[o],s):r[o]=s??e[o]}),r}var Er=e=>$o,ae="arcgisPropertyChange",$o=(...e)=>Tt((t,r)=>{let s=t[ae];return t.manager.isLit&&(s=t.constructor.$createEvent(ae,void 0,t)),r.onLoad(()=>r.onLifecycle(()=>e.map(n=>K(t,n,()=>s.emit({name:n}))))),s});var at=globalThis,ct=at.ShadowRoot&&(at.ShadyCSS===void 0||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),le=new WeakMap,q=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(ct&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=le.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&le.set(r,t))}return t}toString(){return this.cssText}},he=e=>new q(typeof e=="string"?e:e+"",void 0,xt),Ao=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,s,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+e[n+1],e[0]);return new q(r,e,xt)},Dt=(e,t)=>{if(ct)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=at.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},lt=ct?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return he(r)})(e):e;var kt=globalThis,ht=kt.trustedTypes,de=ht?ht.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ut="$lit$",w=`lit$${Math.random().toFixed(9).slice(2)}$`,Rt="?"+w,wo=`<${Rt}>`,U=document,Y=()=>U.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Mt=Array.isArray,ge=e=>Mt(e)||typeof e?.[Symbol.iterator]=="function",Nt=`[
7
- \f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pe=/-->/g,ue=/>/g,N=RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
8
- \f\r"'\`<>=]|("|')|))|$)`,"g"),fe=/'/g,me=/"/g,ve=/^(?:script|style|textarea|title)$/i,jt=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),wr=jt(1),Lr=jt(2),Or=jt(3),m=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),ye=new WeakMap,k=U.createTreeWalker(U,129);function be(e,t){if(!Mt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return de!==void 0?de.createHTML(t):t}var _e=(e,t)=>{let r=e.length-1,o=[],s,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let c=0;c<r;c++){let a=e[c],l,d,h=-1,f=0;for(;f<a.length&&(i.lastIndex=f,d=i.exec(a),d!==null);)f=i.lastIndex,i===J?d[1]==="!--"?i=pe:d[1]!==void 0?i=ue:d[2]!==void 0?(ve.test(d[2])&&(s=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=s??J,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?me:fe):i===me||i===fe?i=N:i===pe||i===ue?i=J:(i=N,s=void 0);let g=i===N&&e[c+1].startsWith("/>")?" ":"";n+=i===J?a+wo:h>=0?(o.push(l),a.slice(0,h)+Ut+a.slice(h)+w+g):a+w+(h===-2?c:g)}return[be(e,n+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:r},o){let s;this.parts=[];let n=0,i=0,c=t.length-1,a=this.parts,[l,d]=_e(t,r);if(this.el=e.createElement(l,o),k.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=k.nextNode())!==null&&a.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(let h of s.getAttributeNames())if(h.endsWith(Ut)){let f=d[i++],g=s.getAttribute(h).split(w),P=/([.?@])?(.*)/.exec(f);a.push({type:1,index:n,name:P[2],strings:g,ctor:P[1]==="."?pt:P[1]==="?"?ut:P[1]==="@"?ft:M}),s.removeAttribute(h)}else h.startsWith(w)&&(a.push({type:6,index:n}),s.removeAttribute(h));if(ve.test(s.tagName)){let h=s.textContent.split(w),f=h.length-1;if(f>0){s.textContent=ht?ht.emptyScript:"";for(let g=0;g<f;g++)s.append(h[g],Y()),k.nextNode(),a.push({type:2,index:++n});s.append(h[f],Y())}}}else if(s.nodeType===8)if(s.data===Rt)a.push({type:2,index:n});else{let h=-1;for(;(h=s.data.indexOf(w,h+1))!==-1;)a.push({type:7,index:n}),h+=w.length-1}n++}}static createElement(t,r){let o=U.createElement("template");return o.innerHTML=t,o}};function R(e,t,r=e,o){if(t===m)return t;let s=o!==void 0?r.o?.[o]:r.l,n=Q(t)?void 0:t._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),n===void 0?s=void 0:(s=new n(e),s._$AT(e,r,o)),o!==void 0?(r.o??=[])[o]=s:r.l=s),s!==void 0&&(t=R(e,s._$AS(e,t.values),s,o)),t}var dt=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,s=(t?.creationScope??U).importNode(r,!0);k.currentNode=s;let n=k.nextNode(),i=0,c=0,a=o[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new z(n,n.nextSibling,this,t):a.type===1?l=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(l=new mt(n,this,t)),this._$AV.push(l),a=o[++c]}i!==a?.index&&(n=k.nextNode(),i++)}return k.currentNode=U,s}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},z=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,r,o,s){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=s,this.v=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=R(this,t,r),Q(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ge(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==u&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,s=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement(be(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===s)this._$AH.p(r);else{let n=new dt(s,this),i=n.u(this.options);n.p(r),this.T(i),this._$AH=n}}_$AC(t){let r=ye.get(t.strings);return r===void 0&&ye.set(t.strings,r=new Z(t)),r}k(t){Mt(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,s=0;for(let n of t)s===r.length?r.push(o=new e(this.O(Y()),this.O(Y()),this,this.options)):o=r[s],o._$AI(n),s++;s<r.length&&(this._$AR(o&&o._$AB.nextSibling,s),r.length=s)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},M=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,s,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=r,this._$AM=s,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=u}_$AI(t,r=this,o,s){let n=this.strings,i=!1;if(n===void 0)t=R(this,t,r,0),i=!Q(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let c=t,a,l;for(t=n[0],a=0;a<n.length-1;a++)l=R(this,c[o+a],r,a),l===m&&(l=this._$AH[a]),i||=!Q(l)||l!==this._$AH[a],l===u?t=u:t!==u&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!s&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends M{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},ut=class extends M{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ft=class extends M{constructor(t,r,o,s,n){super(t,r,o,s,n),this.type=5}_$AI(t,r=this){if((t=R(this,t,r,0)??u)===m)return;let o=this._$AH,s=t===u&&o!==u||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==u&&(o===u||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}},Ee={M:Ut,P:w,A:Rt,C:1,L:_e,R:dt,D:ge,V:R,I:z,H:M,N:ut,U:ft,B:pt,F:mt},Lo=kt.litHtmlPolyfillSupport;Lo?.(Z,z),(kt.litHtmlVersions??=[]).push("3.2.0");var Ce=(e,t,r)=>{let o=r?.renderBefore??t,s=o._$litPart$;if(s===void 0){let n=r?.renderBefore??null;o._$litPart$=s=new z(t.insertBefore(Y(),n),n,void 0,r??{})}return s._$AI(e),s};var{is:Oo,defineProperty:So,getOwnPropertyDescriptor:Po,getOwnPropertyNames:To,getOwnPropertySymbols:xo,getPrototypeOf:Do}=Object,gt=globalThis,$e=gt.trustedTypes,No=$e?$e.emptyScript:"",ko=gt.reactiveElementPolyfillSupport,X=(e,t)=>e,yt={toAttribute(e,t){switch(t){case Boolean:e=e?No:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Vt=(e,t)=>!Oo(e,t),Ae={attribute:!0,type:String,converter:yt,reflect:!1,hasChanged:Vt};Symbol.metadata??=Symbol("metadata"),gt.litPropertyMetadata??=new WeakMap;var L=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ae){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),s=this.getPropertyDescriptor(t,o,r);s!==void 0&&So(this.prototype,t,s)}}static getPropertyDescriptor(t,r,o){let{get:s,set:n}=Po(this.prototype,t)??{get(){return this[r]},set(i){this[r]=i}};return{get(){return s?.call(this)},set(i){let c=s?.call(this);n.call(this,i),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ae}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=Do(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let r=this.properties,o=[...To(r),...xo(r)];for(let s of o)this.createProperty(s,r[s])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,s]of r)this.elementProperties.set(o,s)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let s=this._$Eu(r,o);s!==void 0&&this._$Eh.set(s,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let s of o)r.unshift(lt(s))}else t!==void 0&&r.push(lt(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Dt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,o){this._$AK(t,o)}_$EC(t,r){let o=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,o);if(s!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:yt).toAttribute(r,o.type);this._$Em=t,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,r){let o=this.constructor,s=o._$Eh.get(t);if(s!==void 0&&this._$Em!==s){let n=o.getPropertyOptions(s),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:yt;this._$Em=s,this[s]=i.fromAttribute(r,n.type),this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Vt)(this[t],r))return;this.P(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,r,o){this._$AL.has(t)||this._$AL.set(t,r),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[s,n]of this._$Ep)this[s]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[s,n]of o)n.wrapped!==!0||this._$AL.has(s)||this[s]===void 0||this.P(s,this[s],n)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EC(r,this[r])),this._$EU()}updated(t){}firstUpdated(t){}};L.elementStyles=[],L.shadowRootOptions={mode:"open"},L[X("elementProperties")]=new Map,L[X("finalized")]=new Map,ko?.({ReactiveElement:L}),(gt.reactiveElementVersions??=[]).push("2.0.4");var O=class extends L{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=Ce(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return m}};O._$litElement$=!0,O.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:O});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:O});(globalThis.litElementVersions??=[]).push("4.1.0");var we=";",vt=",",Le=":",Oe=!0,Se=!0,Pe=!0;var _={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},S=e=>(...t)=>({_$litDirective$:e,values:t}),E=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this.t=t,this._$AM=r,this.i=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var Te=S(class extends E{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let s=!!t[o];s===this.st.has(o)||this.nt?.has(o)||(s?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return m}});var xe="important",Mo=" !"+xe,De=S(class extends E{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let s=t[o];if(s!=null){this.ft.add(o);let n=typeof s=="string"&&s.endsWith(Mo);o.includes("-")||n?r.setProperty(o,n?s.slice(0,-11):s,n?xe:""):r[o]=s}}return m}});var{I:is}=Ee;var Ne=e=>e.strings===void 0;var jo={},ke=(e,t=jo)=>e._$AH=t;var Vo=S(class extends E{constructor(e){if(super(e),e.type!==_.PROPERTY&&e.type!==_.ATTRIBUTE&&e.type!==_.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ne(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===m||t===u)return t;let r=e.element,o=e.name;if(e.type===_.PROPERTY){if(t===r[o])return m}else if(e.type===_.BOOLEAN_ATTRIBUTE){if(!!t===r.hasAttribute(o))return m}else if(e.type===_.ATTRIBUTE&&r.getAttribute(o)===t+"")return m;return ke(e),t}});var Re=(e="",t={},r=F())=>{let o={emit:s=>{e===""&&G();let n=new CustomEvent(e,{detail:s,cancelable:Se,bubbles:Oe,composed:Pe,...t});return r.el.dispatchEvent(n),n}};return e===""&&it(r,s=>{e=s},o),o},ys=Re.bind(null,"");function Me(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let r=t;return r.manager?.loadedCalled||r._offspring.push(e),r._postLoad.promise}return!1}var Ue={},_s=(e,t)=>function(o,s){if(!globalThis.customElements)return;let i=(s??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(Io)};function Io([e,[t,r=""]]){if(customElements.get(e))return;let[o,s,n]=r.split(we),i=o?o?.split(vt).map(je):void 0,c=i?.map(([l])=>l),a=class extends j{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=s?s?.split(vt):void 0}static{this._syncMethods=n?.split(vt)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var bt=Object.defineProperty;function je(e){let t=e.split(Le);return t.length===1?[t[0],et(t[0])]:t}var zo=globalThis.HTMLElement??je,j=class extends zo{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new b,this._postLoaded=new b,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{console.error(t),this._postLoaded.reject(t)})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(e){bt(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){bt(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){bt(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(r=>{Object.hasOwn(this,r)&&(this._store[r]=t[r],delete t[r])})}attributeChangedCallback(e,t,r){this._litElement?.attributeChangedCallback(e,t,r),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback():queueMicrotask(()=>{this._ancestorLoad=Me(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback()}async componentOnReady(){return await this._postLoaded.promise,this._litElement}_initializeComponent(e){let t=this.constructor,r=t._name,o=Object.values(e).find(a=>a.tagName===r),s=`${r}--lazy`;!t._LitConstructor&&(t._LitConstructor=o,o.prototype.removeAttribute=function(a){HTMLElement.prototype.removeAttribute.call(this.el,a)},o.prototype.setAttribute=function(a,l){HTMLElement.prototype.setAttribute.call(this.el,a,l)},bt(o.prototype,"isConnected",{get(){return this.el.isConnected}}),customElements.define(s,o)),o.lazy=this;let i=document.createElement(s);o.lazy=void 0,this._litElement=i,this._pendingAttributes.forEach(a=>{let l=this.getAttribute(a);i.attributeChangedCallback(a,null,l)}),Object.entries(this._store).forEach(Wo,i),this._store=i;let c=this.isConnected;(c||this._ancestorLoad)&&(i.connectedCallback?.(),c||i.disconnectedCallback())}};function Wo([e,t]){this[e]=t}var Ht=Symbol.for("@arcgis/lumina:observedAttributes"),It=globalThis,Bo=Ht in It;It[Ht]??={};var Fo=It[Ht];if(!Bo){let e=t=>function(o,...s){if(Fo[this.tagName.toLowerCase()]?.manuallyObserved?.has(o)){let i=this.getAttribute(o),c=t.call(this,o,...s),a=this.getAttribute(o);return this.attributeChangedCallback(o,i,a),c}else return t.call(this,o,...s)};j.prototype.setAttribute=e(j.prototype.setAttribute),j.prototype.toggleAttribute=e(j.prototype.toggleAttribute),j.prototype.removeAttribute=e(j.prototype.removeAttribute)}var Go=()=>{},Ko=class Ve extends O{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=Pt(this),this._postLoad=this.constructor.lazy?._postLoad??new b,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new b,this._enableUpdating=this.enableUpdating,this.enableUpdating=Go;let t=Ve.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let r=super.finalizeStyles(t),s=this.constructor.shadowRootOptions===Ue;return this.runtime?.commonStyles===void 0||s?r:[this.runtime.commonStyles,...r]}static createProperty(t,r){let o=typeof r=="number"?r:Array.isArray(r)?r[0]:0,s=Array.isArray(r)?r[1]:void 0;super.createProperty(t,{attribute:o&1&&typeof t=="string"?et(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),...s})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(r=>{console.error(r),this._postLoaded.reject(r)}))}createRenderRoot(){let t=this.el.shadowRoot,r=this.constructor,o=r.shadowRootOptions,n=t??(o===Ue?this.el:this.el.attachShadow(o));if(Object.defineProperty(this,"shadowRoot",{value:n}),t)return O.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...r.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return n}async _load(){let t=this.el._ancestorLoad??Me(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let r=this._offspring.filter(o=>!o.manager?.loadedCalled);r.length&&await Promise.allSettled(r.map(async o=>await o.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,r,o){let s=r?.bind(this)??r;this.manager.onLifecycle(()=>(this.el.addEventListener(t,s,o),()=>this.el.removeEventListener(t,s,o)))}listenOn(t,r,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(r,n,s),()=>t.removeEventListener(r,n,s)))}async componentOnReady(){return await this._postLoaded.promise,this}};Ko.$createEvent=Re;function He(e){let t,r=s=>{t=new URL(s,globalThis.location?.href).href},o={...e,getAssetPath(s){let n=new URL(s,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:r,customElement(s,n){n.runtime=o,n.tagName=s,customElements.get(s)||customElements.define(s,n)}};return r(e.defaultAssetPath),o}var Ps=e=>typeof e=="object"&&e!=null?Te(e):e,Ts=e=>typeof e=="object"&&e!=null?De(e):e,qo=S,Jo=class extends E{update(e,[t,r]){let o=e.element,s=o.tagName;(t==="value"?s==="INPUT":s==="BUTTON"||s==="DATA")?o[t]!==r&&(o[t]=r):r!=null?o.setAttribute("value",r):o.removeAttribute("value")}},xs=qo(Jo);var Ns=u;var Yo=He({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:Vs,getAssetPath:Hs,setAssetPath:Is}=Yo;export{Qo as a,et as b,Gt as c,Kt as d,F as e,St as f,oe as g,K as h,Zt as i,re as j,se as k,vo as l,bo as m,ie as n,vr as o,_r as p,Er as q,Ao as r,wr as s,Lr as t,Or as u,u as v,_ as w,S as x,E as y,Ne as z,ys as A,Ue as B,_s as C,Ko as D,Ps as E,Ts as F,Ns as G,Yo as H,Vs as I,Hs as J};