@arcgis/map-components 4.32.0-next.19 → 4.32.0-next.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/dist/arcgis-map-components/{E7LJYP2B.js → 32NTW4SQ.js} +2 -2
  2. package/dist/arcgis-map-components/{62W2DHKK.js → 36IFNAX2.js} +2 -2
  3. package/dist/arcgis-map-components/{44QLS5EZ.js → 3F7DW3N2.js} +2 -2
  4. package/dist/arcgis-map-components/{256BBVO5.js → 4E6LETTC.js} +1 -1
  5. package/dist/arcgis-map-components/{HSQABDHI.js → 4SBEOIGA.js} +2 -2
  6. package/dist/arcgis-map-components/{5FTHANYR.js → 4SYTH7P3.js} +2 -2
  7. package/dist/arcgis-map-components/{2NLQP3QD.js → 5FUZCMHF.js} +2 -2
  8. package/dist/arcgis-map-components/{TFQMILXQ.js → 5LV7RNPY.js} +2 -2
  9. package/dist/arcgis-map-components/{R7SHBW4U.js → 6E2U7XGV.js} +2 -2
  10. package/dist/arcgis-map-components/{5ZHV4MI6.js → 6LOYHRNG.js} +2 -2
  11. package/dist/arcgis-map-components/{NVKXNIWB.js → 6QL7QAA5.js} +2 -2
  12. package/dist/arcgis-map-components/{2MXWTMBY.js → 6XYS7PCB.js} +2 -2
  13. package/dist/arcgis-map-components/{ERKOO5BN.js → 6Z3UBYKO.js} +2 -2
  14. package/dist/arcgis-map-components/{WZNF6W6L.js → 7B75CFKS.js} +1 -1
  15. package/dist/arcgis-map-components/{H6LV76L4.js → 7OQN5GKF.js} +2 -2
  16. package/dist/arcgis-map-components/{ASUYNTL3.js → BVQCG65I.js} +2 -2
  17. package/dist/arcgis-map-components/{LKIFEBZL.js → C6ZSDFBZ.js} +2 -2
  18. package/dist/arcgis-map-components/{YXVQPSAZ.js → CKQ4UHRE.js} +2 -2
  19. package/dist/arcgis-map-components/{DPOYABQA.js → CPU2FVJE.js} +3 -3
  20. package/dist/arcgis-map-components/{TS56COQG.js → DLPALYE6.js} +2 -2
  21. package/dist/arcgis-map-components/{4XZYK3KY.js → DOHCAWQ3.js} +2 -2
  22. package/dist/arcgis-map-components/{2DYWD235.js → E5D4CPWV.js} +2 -2
  23. package/dist/arcgis-map-components/{YCUVJHLE.js → EEKI6XV3.js} +2 -2
  24. package/dist/arcgis-map-components/{5ZSG2UB2.js → EMZ5HVE6.js} +2 -2
  25. package/dist/arcgis-map-components/{6EMACOAJ.js → FDJ6HKAX.js} +2 -2
  26. package/dist/arcgis-map-components/{A7ZPAKSZ.js → FG4TP4PA.js} +2 -2
  27. package/dist/arcgis-map-components/{5ONFIJGT.js → FW4F6TTR.js} +2 -2
  28. package/dist/arcgis-map-components/{GOUMS4YG.js → FXA7BOUX.js} +2 -2
  29. package/dist/arcgis-map-components/{ZGJHC36B.js → GMV6BWDH.js} +2 -2
  30. package/dist/arcgis-map-components/{PO3LUFND.js → GN3KL52J.js} +2 -2
  31. package/dist/arcgis-map-components/{X2ZGDTAR.js → HG5527TM.js} +2 -2
  32. package/dist/arcgis-map-components/{GIYMDDBU.js → HHG2IOJJ.js} +2 -2
  33. package/dist/arcgis-map-components/{DXTUUJE3.js → HQR3WRHD.js} +2 -2
  34. package/dist/arcgis-map-components/{UQ47FXQC.js → I255SXDT.js} +2 -2
  35. package/dist/arcgis-map-components/{YAZXYPWZ.js → IFCTYPYU.js} +2 -2
  36. package/dist/arcgis-map-components/{TJFR6CFE.js → IPUO6QSO.js} +2 -2
  37. package/dist/arcgis-map-components/{2JMY4NQG.js → J2GCXAKR.js} +2 -2
  38. package/dist/arcgis-map-components/{JN7ETABN.js → J6662W2O.js} +2 -2
  39. package/dist/arcgis-map-components/{XWTT7DLI.js → J7KTF33Y.js} +2 -2
  40. package/dist/arcgis-map-components/{FKUNLSA2.js → JCX6ASIV.js} +1 -1
  41. package/dist/arcgis-map-components/{UWPWRZBH.js → JWSVGXMH.js} +2 -2
  42. package/dist/arcgis-map-components/{KY5ZYLSK.js → K32NOVJH.js} +2 -2
  43. package/dist/arcgis-map-components/{THOWHVRI.js → KYBMXL3Y.js} +2 -2
  44. package/dist/arcgis-map-components/{EGQKSPOH.js → L4XNUK5O.js} +2 -2
  45. package/dist/arcgis-map-components/{W5L6EJY3.js → LOKWMMAC.js} +2 -2
  46. package/dist/arcgis-map-components/{EWRI6NZ7.js → LVYYU2DM.js} +2 -2
  47. package/dist/arcgis-map-components/{H64PS3XF.js → MEB7IANZ.js} +2 -2
  48. package/dist/arcgis-map-components/{D3XBVMBK.js → MVTDXCAM.js} +2 -2
  49. package/dist/arcgis-map-components/{Q63Q5GYF.js → NBQX2PVV.js} +2 -2
  50. package/dist/arcgis-map-components/{QH4YXJ74.js → NMXKPS7A.js} +2 -2
  51. package/dist/arcgis-map-components/{2OVSETC2.js → OOW4UPZL.js} +2 -2
  52. package/dist/arcgis-map-components/{LCNSVNTN.js → P46JNE5Z.js} +2 -2
  53. package/dist/arcgis-map-components/{S7HNYGG4.js → PNZ2G4N2.js} +2 -2
  54. package/dist/arcgis-map-components/{M2OIDSGR.js → QPTWIZO7.js} +2 -2
  55. package/dist/arcgis-map-components/{77I7DIGO.js → QVBQLBOQ.js} +2 -2
  56. package/dist/arcgis-map-components/{XJR4HOIG.js → SZ5WCSH6.js} +2 -2
  57. package/dist/arcgis-map-components/{G5NQPEQS.js → TRKDXUIA.js} +2 -2
  58. package/dist/arcgis-map-components/{KJAOTUKE.js → TVVAEM4M.js} +2 -2
  59. package/dist/arcgis-map-components/{4CWV4R7T.js → U3BDOFGB.js} +2 -2
  60. package/dist/arcgis-map-components/{JI4AFTM7.js → V73BVBXS.js} +2 -2
  61. package/dist/arcgis-map-components/{QQUPHANS.js → VHPA56IK.js} +2 -2
  62. package/dist/arcgis-map-components/{IS2S4AEG.js → WAVJUW46.js} +2 -2
  63. package/dist/arcgis-map-components/{TEZBVXAZ.js → WKQGYL5T.js} +2 -2
  64. package/dist/arcgis-map-components/{BLU5OMPU.js → XG63H5X7.js} +2 -2
  65. package/dist/arcgis-map-components/{AOZO2MCH.js → XKUOXI7R.js} +2 -2
  66. package/dist/arcgis-map-components/{CSFXNT5A.js → XS54DQEB.js} +2 -2
  67. package/dist/arcgis-map-components/{UMSR7O73.js → XXMG2AON.js} +2 -2
  68. package/dist/arcgis-map-components/{WA7B6GSP.js → YQKQAATS.js} +2 -2
  69. package/dist/arcgis-map-components/{BN6IBZM4.js → Z3KQ55OO.js} +2 -2
  70. package/dist/arcgis-map-components/{ZWBPOVKQ.js → ZF5CP5WV.js} +2 -2
  71. package/dist/arcgis-map-components/{DQLN7C5I.js → ZJENKLNZ.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/runtime.js +1 -1
  77. package/dist/chunks/useViewModel.js +1 -1
  78. package/dist/chunks/useWidget.js +1 -1
  79. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  80. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  81. package/dist/components/arcgis-attachments/customElement.js +1 -1
  82. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  83. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  84. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  85. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  86. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  87. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  88. package/dist/components/arcgis-compass/customElement.js +1 -1
  89. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  90. package/dist/components/arcgis-daylight/customElement.js +1 -1
  91. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  92. package/dist/components/arcgis-directions/customElement.js +1 -1
  93. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  94. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  95. package/dist/components/arcgis-editor/customElement.js +1 -1
  96. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  97. package/dist/components/arcgis-expand/customElement.js +1 -1
  98. package/dist/components/arcgis-feature/customElement.js +1 -1
  99. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  100. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  101. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  102. package/dist/components/arcgis-features/customElement.js +1 -1
  103. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  104. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  105. package/dist/components/arcgis-histogram/customElement.js +1 -1
  106. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  107. package/dist/components/arcgis-home/customElement.js +1 -1
  108. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  109. package/dist/components/arcgis-legend/customElement.js +1 -1
  110. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  111. package/dist/components/arcgis-locate/customElement.js +1 -1
  112. package/dist/components/arcgis-map/customElement.js +1 -1
  113. package/dist/components/arcgis-measurement/customElement.js +1 -1
  114. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  115. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  116. package/dist/components/arcgis-placement/customElement.js +1 -1
  117. package/dist/components/arcgis-print/customElement.js +1 -1
  118. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  119. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  120. package/dist/components/arcgis-scene/customElement.js +1 -1
  121. package/dist/components/arcgis-search/customElement.js +1 -1
  122. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  123. package/dist/components/arcgis-sketch/customElement.js +1 -1
  124. package/dist/components/arcgis-slice/customElement.js +1 -1
  125. package/dist/components/arcgis-slider/customElement.js +1 -1
  126. package/dist/components/arcgis-swipe/customElement.js +1 -1
  127. package/dist/components/arcgis-table-list/customElement.js +1 -1
  128. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  129. package/dist/components/arcgis-track/customElement.js +1 -1
  130. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  131. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  132. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  133. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  134. package/dist/components/arcgis-version-management/customElement.js +1 -1
  135. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  136. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  137. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  138. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  139. package/dist/components/arcgis-weather/customElement.js +1 -1
  140. package/dist/components/arcgis-zoom/customElement.js +1 -1
  141. package/dist/docs/api.json +2 -2
  142. package/dist/docs/docs.json +2 -2
  143. package/dist/docs/web-types.json +1 -1
  144. package/dist/index.js +1 -1
  145. package/dist/loader.js +1 -1
  146. package/package.json +5 -5
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- function zo(...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 Re(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 Me(e,t,r){let{subscribe:o}=je(t);return o(s=>{s.some(i=>Re(e,i.target))&&r()})}var bt={};function je(e){let t=e.join(","),r=bt[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(),bt[t]=void 0)}}}};return bt[t]=n,n}function Ve(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 Ie(e,t,r){return Ve(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function W(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var ze=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],He=new Set(ze),tt="en",We={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Be(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return _t[s]??(_t[s]=Mt(e,o)),await _t[s]}var _t={};async function Mt(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 Mt(tt,t)}function Et(e,t){let r=Ie(e,"lang",globalThis.navigator?.language||tt);return{lang:r,t9nLocale:jt(r,t)}}function jt(e,t){let[r,o]=e.split("-"),s=r.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=We[n]??n,t&&n==="nb"?"no":He.has(n)?n:o?jt(s):tt}function Vt(e,t,r,o,s){let n,i=()=>void Fe(e,t,o,s).then(c=>{(n?.lang!==c.lang||n.t9nLocale!==c.t9nLocale||n.t9nStrings!==c.t9nStrings)&&r(c),n=c}).catch(console.error);return i(),Me(e,["lang"],i)}async function Fe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-"),o){let{lang:s,t9nLocale:n}=Et(e,o),i=`${t}/${r}/t9n`,c=`${r}.t9n.`,a=r===null?{}:await Be(n,i,c);return{lang:s,t9nLocale:n,t9nStrings:a}}var et=e=>e.replace(Ge,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;function It(e,t){let r=t>qe?Ke:t/Je,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var qe=4e3,Ke=2e3,Je=4;function zt(e){return e!==void 0}function Ht(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(zt))}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 Wt(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 Bt=(e,t)=>e.manager.internals.members?.[t]?.[0];var rt=Symbol.for("controller");var qt=e=>typeof e=="object"&&e!==null&&(rt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var B;function x(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function I(e){return B}var P=[];function st(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Kt(){return P}var V;function Ye(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function Qe(){let e=V;return V=void 0,e}var Ze=async(e,t)=>{let r=At(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},Xe=async e=>{let t=At(e);return await t.ready,t},At=e=>{let t=Qe();if(t!==void 0)return t;let o=I().manager.internals.resolveExports(e);if(o!==void 0)return o;if(qt(e))return e},$={setter:!1,getter:!1,readOnly:!1},F=new WeakMap,Jt;Jt=rt;var wt=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[Jt]=!0,this.ready=this._ready.promise,this._exports=Gt(this),this._exportWatchers=new Set;let t=e??I(new.target.name);this.component=t,this.component.addController(this),st(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,t=!0){this._exports=t?Gt(e):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 x(this.component),Ze}get useRef(){return x(this.component),Xe}get useRefSync(){return x(this.component),At}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 W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),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(Ft,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Ft,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){x(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 Ft(e){p(e,void 0,this)}var Yt=wt;function Gt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(to.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 to=new Set(["exports","_exports"]);function nt(e,t,r){let o=Object.keys(e),s=o.length;T===void 0&&queueMicrotask(G),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},T.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 T=void 0;function G(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),T=void 0}function q(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 Qt=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=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,r,o)=>{if($.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=$t,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=Bt(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),E=F.get(this);if($.getter||E===void 0)return v;let j=E.manager.internals;v=j.accessorGetter[t](v,t);let g=j.getters[t]??Ct;for(let C=0;C<g.length;C++)v=g[C](v,t);return v}:i,y=h?function(v){let E=i.call(this),j=F.get(this);if(j===void 0){c.call(this,v);return}let g=j.manager.isLit?v??void 0:Wt(v,s),C=j.manager.internals;if(g===E)c.call(this,g);else{let Rt=$.setter?Ct:C.setters[t]??Ct;for(let H=0;H<Rt.length&&(g=Rt[H](g,E,t),g!==E);H++);g=C.accessorSetter[t](g,E,t),c.call(this,g),g!==E&&C.enabledWatchers[t]?.forEach(H=>H(g,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,v)}:c;d&&(f[ot]=!0),h&&(y[ot]=!0),Object.defineProperty(e,t,{...n,get:f,set:y})}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)}},Ct=[],ot=Symbol(),$t=Symbol();function Zt(e,t,r){let o=e.manager.internals;return o.trackedValue!==$t&&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 Xt(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=>nt(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&&Zt(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:!0}),r),r}function eo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function oo(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function te(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ee=e=>(...t)=>{let r=Kt(),o=new e(...t),s=o.exports;st(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(c=>n.markExports(o,c)),Ye(o);let i=[o.component,...r].reverse();return Xt(i,c=>c===void 0?void 0:ro(o,c,s),s)};function ro(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]),q(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)?te(()=>{n[r]=e.exports}):n[r]=e.exports})}var se=(e,t)=>new so(e,t),so=class extends Yt{constructor(e,t){let r="addController"in e,o=new Set;function s(a){o.add(a),!(rt 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 Qt(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,Ht(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=Lt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=oe,c.accessorSetter[a]=oe,c.getSetProxy(a)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),st(void 0),x(e),F.set(e.el,e),F.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 ${Lt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,G(),e.enableReadonly?.(),this._controllers.forEach(io),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(ao),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,co)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&q(this.component,Lt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(lo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(ho,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(po,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(uo),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=It(e,no)}}},Lt="autoDestroyDisabled",no=1e3;var oe=e=>e;function io(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function ao(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function co(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function lo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function ho(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function po(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function uo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var ne=e=>mo(void 0,e);var fo=class extends wt{constructor(e,t){super(e);let r=this.exports;try{x(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(){}},mo=ee(fo);var cr=ne;var hr=(e,t)=>(r={})=>ne((o,s)=>{let n=Et(o.el),i={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},c=o;queueMicrotask(()=>s.onLifecycle(()=>Vt(o.el,e("./assets"),({t9nLocale:l,t9nStrings:d,lang:h})=>{let f={...d,_lang:h,_t9nLocale:l,_loading:!1};s.exports=f;let y=d.componentLabel??d.widgetLabel;typeof y=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=y)),a(c.messageOverrides)},r.name,t)));function a(l){let d=s.exports,h=d._original??d,f=ie(h,l);l&&(f._original=h),s.exports=f}return"messageOverrides"in c&&s.onLifecycle(()=>q(c,"messageOverrides",a)),r.blocking?(s.setProvisionalExports(i,!1),s.ready):i});function ie(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=ie(e[o],s):r[o]=s??e[o]}),r}var dr=e=>yo,re="arcgisPropertyChange";function yo(...e){let t=I(),o=t[re];return t.manager.isLit&&(o=t.constructor.$createEvent(re,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(s=>q(t,s,()=>o.emit({name:s}))))),o}var it=globalThis,at=it.ShadowRoot&&(it.ShadyCSS===void 0||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),ae=new WeakMap,K=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==Ot)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(at&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=ae.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ae.set(r,t))}return t}toString(){return this.cssText}},ce=e=>new K(typeof e=="string"?e:e+"",void 0,Ot),go=(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 K(r,e,Ot)},St=(e,t)=>{if(at)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=it.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},ct=at?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return ce(r)})(e):e;var Tt=globalThis,lt=Tt.trustedTypes,le=lt?lt.createPolicy("lit-html",{createHTML:e=>e}):void 0,xt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Nt="?"+A,vo=`<${Nt}>`,k=document,Y=()=>k.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Dt=Array.isArray,me=e=>Dt(e)||typeof e?.[Symbol.iterator]=="function",Pt=`[
6
+ function zo(...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 Re(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 Me(e,t,r){let{subscribe:o}=je(t);return o(s=>{s.some(i=>Re(e,i.target))&&r()})}var bt={};function je(e){let t=e.join(","),r=bt[t];if(r!==void 0)return r;let o=new Set,s=new MutationObserver(i=>o.forEach(a=>a(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(),bt[t]=void 0)}}}};return bt[t]=n,n}function Ve(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 Ie(e,t,r){return Ve(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function W(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var ze=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],He=new Set(ze),tt="en",We={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Be(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return _t[s]??(_t[s]=Mt(e,o)),await _t[s]}var _t={};async function Mt(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 Mt(tt,t)}function Et(e,t){let r=Ie(e,"lang",globalThis.navigator?.language||tt);return{lang:r,t9nLocale:jt(r,t)}}function jt(e,t){let[r,o]=e.split("-"),s=r.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=We[n]??n,t&&n==="nb"?"no":He.has(n)?n:o?jt(s):tt}function Vt(e,t,r,o,s){let n,i=()=>void Fe(e,t,o,s).then(a=>{(n?.lang!==a.lang||n.t9nLocale!==a.t9nLocale||n.t9nStrings!==a.t9nStrings)&&r(a),n=a}).catch(console.error);return i(),Me(e,["lang"],i)}async function Fe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-"),o){let{lang:s,t9nLocale:n}=Et(e,o),i=`${t}/${r}/t9n`,a=`${r}.t9n.`,c=r===null?{}:await Be(n,i,a);return{lang:s,t9nLocale:n,t9nStrings:c}}var et=e=>e.replace(Ge,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;function It(e,t){let r=t>qe?Ke:t/Je,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var qe=4e3,Ke=2e3,Je=4;function zt(e){return e!==void 0}function Ht(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(zt))}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 Wt(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 Bt=(e,t)=>e.manager.internals.members?.[t]?.[0];var rt=Symbol.for("controller");var qt=e=>typeof e=="object"&&e!==null&&(rt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var B;function x(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function I(e){return B}var P=[];function st(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Kt(){return P}var V;function Ye(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function Qe(){let e=V;return V=void 0,e}var Ze=async(e,t)=>{let r=At(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},Xe=async e=>{let t=At(e);return await t.ready,t},At=e=>{let t=Qe();if(t!==void 0)return t;let o=I().manager.internals.resolveExports(e);if(o!==void 0)return o;if(qt(e))return e},$={setter:!1,getter:!1,readOnly:!1},F=new WeakMap,Jt;Jt=rt;var wt=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[Jt]=!0,this.ready=this._ready.promise,this._exports=Gt(this),this._exportWatchers=new Set;let t=e??I(new.target.name);this.component=t,this.component.addController(this),st(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,t=!0){this._exports=t?Gt(e):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 x(this.component),Ze}get useRef(){return x(this.component),Xe}get useRefSync(){return x(this.component),At}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 W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),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(Ft,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Ft,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){x(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 Ft(e){p(e,void 0,this)}var Yt=wt;function Gt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(to.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 to=new Set(["exports","_exports"]);function nt(e,t,r){let o=Object.keys(e),s=o.length;T===void 0&&queueMicrotask(G),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},T.set(e,n)),n.keyCount!==s&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=s),n.callbacks.push(i=>{let a=l=>p(t,null,l),c=i[s];c===void 0?a(void 0):e[c]===r?a(c):a(void 0)}),r}var T=void 0;function G(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),T=void 0}function q(e,t,r){var o;let s=t,n=e.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);let i=n.allWatchers[s],a=r,c=(l,h,d)=>p(a,null,l,h,d);return i.push(c),()=>{let l=i.indexOf(c);l!==-1&&i.splice(l,1)}}var Qt=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=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,r,o)=>{if($.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=$t,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=Bt(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,a=n.set,c=ot in i,l=ot in a;if(c&&l)return;let h=!c,d=!l,f=h?function(){let v=i.call(this),E=F.get(this);if($.getter||E===void 0)return v;let j=E.manager.internals;v=j.accessorGetter[t](v,t);let g=j.getters[t]??Ct;for(let C=0;C<g.length;C++)v=g[C](v,t);return v}:i,y=d?function(v){let E=i.call(this),j=F.get(this);if(j===void 0){a.call(this,v);return}let g=j.manager.isLit?v??void 0:Wt(v,s),C=j.manager.internals;if(g===E)a.call(this,g);else{let Rt=$.setter?Ct:C.setters[t]??Ct;for(let H=0;H<Rt.length&&(g=Rt[H](g,E,t),g!==E);H++);g=C.accessorSetter[t](g,E,t),a.call(this,g),g!==E&&C.enabledWatchers[t]?.forEach(H=>H(g,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,v)}:a;h&&(f[ot]=!0),d&&(y[ot]=!0),Object.defineProperty(e,t,{...n,get:f,set:y})}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)}},Ct=[],ot=Symbol(),$t=Symbol();function Zt(e,t,r){let o=e.manager.internals;return o.trackedValue!==$t&&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 Xt(e,t,r){let o=Array.isArray(e)?e:[e],s=o.length+1,n=a=>{s-=1,a!==void 0&&(s=Math.min(s,0)),s===0&&t(a)};o.forEach(a=>nt(a,c=>n(c===void 0?void 0:{key:c,host:a,isReactive:!1}),r));let i=o.find(a=>"manager"in a&&typeof a.manager=="object"&&a.manager.component===a);return i&&Zt(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!0}),r),r}function eo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function oo(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function te(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ee=e=>(...t)=>{let r=Kt(),o=new e(...t),s=o.exports;st(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(a=>n.markExports(o,a)),Ye(o);let i=[o.component,...r].reverse();return Xt(i,a=>a===void 0?void 0:ro(o,a,s),s)};function ro(e,{host:t,key:r,isReactive:o},s){let n=t,i=n[r]!==e.exports,a=n[r]!==s,c=s!==e.exports;if(i&&!a&&c&&(n[r]=e.exports),t===e.component){if(o){let h=e.component.manager.internals;a&&h.markExports(e,n[r]),q(e.component,r,d=>{d!==e.exports&&h.markExports(e,d)})}e.assignedProperty=o?void 0:r}e.watchExports(()=>{if(n[r]===e.exports)return;let h=e.component.manager;h.internals.setters[r]?.includes(h.internals.readonlySetter)?te(()=>{n[r]=e.exports}):n[r]=e.exports})}var se=(e,t)=>new so(e,t),so=class extends Yt{constructor(e,t){let r="addController"in e,o=new Set;function s(c){o.add(c),!(rt in c)&&e.renderRoot&&e.el.isConnected&&c.hostConnected?.()}function n(c){o.delete(c),c.controllerRemoved?.()}let i=e;if(i.addController=s,i.removeController=n,!r){let c=t??e.constructor.__forceUpdate;i.requestUpdate=()=>c(e)}super(e),this.internals=new Qt(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,Ht(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=Lt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let a=this.internals;Object.keys(a.members).forEach(c=>{a.accessorGetter[c]=oe,a.accessorSetter[c]=oe,a.getSetProxy(c)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(a.enableReadonly),st(void 0),x(e),F.set(e.el,e),F.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 ${Lt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,G(),e.enableReadonly?.(),this._controllers.forEach(io),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(ao),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,co)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&q(this.component,Lt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(lo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(ho,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(po,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(uo),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=It(e,no)}}},Lt="autoDestroyDisabled",no=1e3;var oe=e=>e;function io(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function ao(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function co(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function lo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function ho(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function po(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function uo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var ne=e=>mo(void 0,e);var fo=class extends wt{constructor(e,t){super(e);let r=this.exports;try{x(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(){}},mo=ee(fo);var cr=ne;var hr=(e,t)=>(r={})=>ne((o,s)=>{let n=Et(o.el),i={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},a=o;queueMicrotask(()=>s.onLifecycle(()=>Vt(o.el,e("./assets"),({t9nLocale:l,t9nStrings:h,lang:d})=>{let f={...h,_lang:d,_t9nLocale:l,_loading:!1};s.exports=f;let y=h.componentLabel??h.widgetLabel;typeof y=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=y)),c(a.messageOverrides)},r.name,t)));function c(l){let h=s.exports,d=h._original??h,f=ie(d,l);l&&(f._original=d),s.exports=f}return"messageOverrides"in a&&s.onLifecycle(()=>q(a,"messageOverrides",c)),r.blocking?(s.setProvisionalExports(i,!1),s.ready):i});function ie(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=ie(e[o],s):r[o]=s??e[o]}),r}var dr=e=>yo,re="arcgisPropertyChange";function yo(...e){let t=I(),o=t[re];return t.manager.isLit&&(o=t.constructor.$createEvent(re,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(s=>q(t,s,()=>o.emit({name:s}))))),o}var it=globalThis,at=it.ShadowRoot&&(it.ShadyCSS===void 0||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),ae=new WeakMap,K=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==Ot)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(at&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=ae.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ae.set(r,t))}return t}toString(){return this.cssText}},ce=e=>new K(typeof e=="string"?e:e+"",void 0,Ot),go=(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 K(r,e,Ot)},St=(e,t)=>{if(at)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=it.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},ct=at?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return ce(r)})(e):e;var Tt=globalThis,lt=Tt.trustedTypes,le=lt?lt.createPolicy("lit-html",{createHTML:e=>e}):void 0,xt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Nt="?"+A,vo=`<${Nt}>`,k=document,Y=()=>k.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Dt=Array.isArray,me=e=>Dt(e)||typeof e?.[Symbol.iterator]=="function",Pt=`[
7
7
  \f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,he=/-->/g,de=/>/g,N=RegExp(`>|${Pt}(?:([^\\s"'>=/]+)(${Pt}*=${Pt}*(?:[^
8
- \f\r"'\`<>=]|("|')|))|$)`,"g"),pe=/'/g,ue=/"/g,ye=/^(?:script|style|textarea|title)$/i,kt=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),yr=kt(1),gr=kt(2),vr=kt(3),m=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),fe=new WeakMap,D=k.createTreeWalker(k,129);function ge(e,t){if(!Dt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return le!==void 0?le.createHTML(t):t}var ve=(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=he:d[1]!==void 0?i=de:d[2]!==void 0?(ye.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]==='"'?ue:pe):i===ue||i===pe?i=N:i===he||i===de?i=J:(i=N,s=void 0);let y=i===N&&e[c+1].startsWith("/>")?" ":"";n+=i===J?a+vo:h>=0?(o.push(l),a.slice(0,h)+xt+a.slice(h)+A+y):a+A+(h===-2?c:y)}return[ge(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]=ve(t,r);if(this.el=e.createElement(l,o),D.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=D.nextNode())!==null&&a.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(let h of s.getAttributeNames())if(h.endsWith(xt)){let f=d[i++],y=s.getAttribute(h).split(A),S=/([.?@])?(.*)/.exec(f);a.push({type:1,index:n,name:S[2],strings:y,ctor:S[1]==="."?dt:S[1]==="?"?pt:S[1]==="@"?ut:R}),s.removeAttribute(h)}else h.startsWith(A)&&(a.push({type:6,index:n}),s.removeAttribute(h));if(ye.test(s.tagName)){let h=s.textContent.split(A),f=h.length-1;if(f>0){s.textContent=lt?lt.emptyScript:"";for(let y=0;y<f;y++)s.append(h[y],Y()),D.nextNode(),a.push({type:2,index:++n});s.append(h[f],Y())}}}else if(s.nodeType===8)if(s.data===Nt)a.push({type:2,index:n});else{let h=-1;for(;(h=s.data.indexOf(A,h+1))!==-1;)a.push({type:7,index:n}),h+=A.length-1}n++}}static createElement(t,r){let o=k.createElement("template");return o.innerHTML=t,o}};function U(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=U(e,s._$AS(e,t.values),s,o)),t}var ht=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??k).importNode(r,!0);D.currentNode=s;let n=D.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 ft(n,this,t)),this._$AV.push(l),a=o[++c]}i!==a?.index&&(n=D.nextNode(),i++)}return D.currentNode=k,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=U(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):me(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(k.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(ge(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===s)this._$AH.p(r);else{let n=new ht(s,this),i=n.u(this.options);n.p(r),this.T(i),this._$AH=n}}_$AC(t){let r=fe.get(t.strings);return r===void 0&&fe.set(t.strings,r=new Z(t)),r}k(t){Dt(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))}},R=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=U(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=U(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??"")}},dt=class extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},pt=class extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ut=class extends R{constructor(t,r,o,s,n){super(t,r,o,s,n),this.type=5}_$AI(t,r=this){if((t=U(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)}},ft=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){U(this,t)}},be={M:xt,P:A,A:Nt,C:1,L:ve,R:ht,D:me,V:U,I:z,H:R,N:pt,U:ut,B:dt,F:ft},bo=Tt.litHtmlPolyfillSupport;bo?.(Z,z),(Tt.litHtmlVersions??=[]).push("3.2.0");var _e=(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:_o,defineProperty:Eo,getOwnPropertyDescriptor:Co,getOwnPropertyNames:$o,getOwnPropertySymbols:Ao,getPrototypeOf:wo}=Object,yt=globalThis,Ee=yt.trustedTypes,Lo=Ee?Ee.emptyScript:"",Oo=yt.reactiveElementPolyfillSupport,X=(e,t)=>e,mt={toAttribute(e,t){switch(t){case Boolean:e=e?Lo: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}},Ut=(e,t)=>!_o(e,t),Ce={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:Ut};Symbol.metadata??=Symbol("metadata"),yt.litPropertyMetadata??=new WeakMap;var w=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=Ce){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&&Eo(this.prototype,t,s)}}static getPropertyDescriptor(t,r,o){let{get:s,set:n}=Co(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)??Ce}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=wo(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=[...$o(r),...Ao(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(ct(s))}else t!==void 0&&r.push(ct(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 St(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:mt).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:mt;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??Ut)(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){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[X("elementProperties")]=new Map,w[X("finalized")]=new Map,Oo?.({ReactiveElement:w}),(yt.reactiveElementVersions??=[]).push("2.0.4");var L=class extends w{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=_e(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return m}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var So=globalThis.litElementPolyfillSupport;So?.({LitElement:L});(globalThis.litElementVersions??=[]).push("4.1.0");var _={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},M=e=>(...t)=>({_$litDirective$:e,values:t}),O=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 $e=";",gt=",",Ae=":";var we=M(class extends O{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 Le="important",To=" !"+Le,Oe=M(class extends O{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(To);o.includes("-")||n?r.setProperty(o,n?s.slice(0,-11):s,n?Le:""):r[o]=s}}return m}});var{I:Qr}=be;var Se=e=>e.strings===void 0;var xo={},Pe=(e,t=xo)=>e._$AH=t;var No=M(class extends O{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(!Se(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 Pe(e),t}});var xe=(e="",t={},r=I())=>{let o={emit:s=>{e===""&&G();let n=new CustomEvent(e,{detail:s,cancelable:!0,bubbles:!0,composed:!0,...t});return r.el.dispatchEvent(n),n}};return e===""&&nt(r,s=>{e=s},o),o},as=xe.bind(null,"");function Ne(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 Te={},ds=(e,t)=>function(o,s){if(!globalThis.customElements)return;let i=(s??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(ko)};function ko([e,[t,r=""]]){if(customElements.get(e))return;let[o,s,n]=r.split($e),i=o?o?.split(gt).map(De):void 0,c=i?.map(([l])=>l),a=class extends Ro{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=s?s?.split(gt):void 0}static{this._syncMethods=n?.split(gt)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var vt=Object.defineProperty;function De(e){let t=e.split(Ae);return t.length===1?[t[0],et(t[0])]:t}var Uo=globalThis.HTMLElement??De,Ro=class extends Uo{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=>{this._postLoaded.reject(t),setTimeout(()=>{throw 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){vt(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){vt(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){vt(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=Ne(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_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)},vt(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(Mo,i),this._store=i;let c=this.isConnected;(c||this._ancestorLoad)&&(i.connectedCallback?.(),c||i.disconnectedCallback())}};function Mo([e,t]){this[e]=t}var jo=()=>{},Vo=class ke extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=se(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=jo;let t=ke.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let r=super.finalizeStyles(t),o=this.shadowRootOptions===Te;return this.runtime?.commonStyles===void 0||o?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=>{this._postLoaded.reject(r),setTimeout(()=>{throw r})}))}createRenderRoot(){let t=this.el.shadowRoot,r=this.constructor,o=r.shadowRootOptions,n=t??(o===Te?this.el:this.el.attachShadow(o));if(Object.defineProperty(this,"shadowRoot",{value:n}),t)return L.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??Ne(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}};Vo.$createEvent=xe;function Ue(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 bs=e=>typeof e=="object"&&e!=null?we(e):e,_s=e=>typeof e=="object"&&e!=null?Oe(e):e;var Cs=u;var Io=Ue({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:Os,getAssetPath:Ss,setAssetPath:Ps}=Io;export{zo as a,et as b,It as c,zt as d,I as e,Yt as f,q as g,Zt as h,Xt as i,eo as j,oo as k,ee as l,cr as m,hr as n,dr as o,go as p,yr as q,gr as r,vr as s,u as t,_ as u,M as v,O as w,Se as x,as as y,Te as z,ds as A,Vo as B,bs as C,_s as D,Cs as E,Io as F,Os as G,Ss as H};
8
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),pe=/'/g,ue=/"/g,ye=/^(?:script|style|textarea|title)$/i,kt=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),yr=kt(1),gr=kt(2),vr=kt(3),m=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),fe=new WeakMap,D=k.createTreeWalker(k,129);function ge(e,t){if(!Dt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return le!==void 0?le.createHTML(t):t}var ve=(e,t)=>{let r=e.length-1,o=[],s,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let a=0;a<r;a++){let c=e[a],l,h,d=-1,f=0;for(;f<c.length&&(i.lastIndex=f,h=i.exec(c),h!==null);)f=i.lastIndex,i===J?h[1]==="!--"?i=he:h[1]!==void 0?i=de:h[2]!==void 0?(ye.test(h[2])&&(s=RegExp("</"+h[2],"g")),i=N):h[3]!==void 0&&(i=N):i===N?h[0]===">"?(i=s??J,d=-1):h[1]===void 0?d=-2:(d=i.lastIndex-h[2].length,l=h[1],i=h[3]===void 0?N:h[3]==='"'?ue:pe):i===ue||i===pe?i=N:i===he||i===de?i=J:(i=N,s=void 0);let y=i===N&&e[a+1].startsWith("/>")?" ":"";n+=i===J?c+vo:d>=0?(o.push(l),c.slice(0,d)+xt+c.slice(d)+A+y):c+A+(d===-2?a:y)}return[ge(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,a=t.length-1,c=this.parts,[l,h]=ve(t,r);if(this.el=e.createElement(l,o),D.currentNode=this.el.content,r===2||r===3){let d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(s=D.nextNode())!==null&&c.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(let d of s.getAttributeNames())if(d.endsWith(xt)){let f=h[i++],y=s.getAttribute(d).split(A),S=/([.?@])?(.*)/.exec(f);c.push({type:1,index:n,name:S[2],strings:y,ctor:S[1]==="."?dt:S[1]==="?"?pt:S[1]==="@"?ut:R}),s.removeAttribute(d)}else d.startsWith(A)&&(c.push({type:6,index:n}),s.removeAttribute(d));if(ye.test(s.tagName)){let d=s.textContent.split(A),f=d.length-1;if(f>0){s.textContent=lt?lt.emptyScript:"";for(let y=0;y<f;y++)s.append(d[y],Y()),D.nextNode(),c.push({type:2,index:++n});s.append(d[f],Y())}}}else if(s.nodeType===8)if(s.data===Nt)c.push({type:2,index:n});else{let d=-1;for(;(d=s.data.indexOf(A,d+1))!==-1;)c.push({type:7,index:n}),d+=A.length-1}n++}}static createElement(t,r){let o=k.createElement("template");return o.innerHTML=t,o}};function U(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=U(e,s._$AS(e,t.values),s,o)),t}var ht=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??k).importNode(r,!0);D.currentNode=s;let n=D.nextNode(),i=0,a=0,c=o[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new z(n,n.nextSibling,this,t):c.type===1?l=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(l=new ft(n,this,t)),this._$AV.push(l),c=o[++a]}i!==c?.index&&(n=D.nextNode(),i++)}return D.currentNode=k,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=U(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):me(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(k.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(ge(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===s)this._$AH.p(r);else{let n=new ht(s,this),i=n.u(this.options);n.p(r),this.T(i),this._$AH=n}}_$AC(t){let r=fe.get(t.strings);return r===void 0&&fe.set(t.strings,r=new Z(t)),r}k(t){Dt(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))}},R=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=U(this,t,r,0),i=!Q(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let a=t,c,l;for(t=n[0],c=0;c<n.length-1;c++)l=U(this,a[o+c],r,c),l===m&&(l=this._$AH[c]),i||=!Q(l)||l!==this._$AH[c],l===u?t=u:t!==u&&(t+=(l??"")+n[c+1]),this._$AH[c]=l}i&&!s&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dt=class extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},pt=class extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ut=class extends R{constructor(t,r,o,s,n){super(t,r,o,s,n),this.type=5}_$AI(t,r=this){if((t=U(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)}},ft=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){U(this,t)}},be={M:xt,P:A,A:Nt,C:1,L:ve,R:ht,D:me,V:U,I:z,H:R,N:pt,U:ut,B:dt,F:ft},bo=Tt.litHtmlPolyfillSupport;bo?.(Z,z),(Tt.litHtmlVersions??=[]).push("3.2.0");var _e=(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:_o,defineProperty:Eo,getOwnPropertyDescriptor:Co,getOwnPropertyNames:$o,getOwnPropertySymbols:Ao,getPrototypeOf:wo}=Object,yt=globalThis,Ee=yt.trustedTypes,Lo=Ee?Ee.emptyScript:"",Oo=yt.reactiveElementPolyfillSupport,X=(e,t)=>e,mt={toAttribute(e,t){switch(t){case Boolean:e=e?Lo: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}},Ut=(e,t)=>!_o(e,t),Ce={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:Ut};Symbol.metadata??=Symbol("metadata"),yt.litPropertyMetadata??=new WeakMap;var w=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=Ce){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&&Eo(this.prototype,t,s)}}static getPropertyDescriptor(t,r,o){let{get:s,set:n}=Co(this.prototype,t)??{get(){return this[r]},set(i){this[r]=i}};return{get(){return s?.call(this)},set(i){let a=s?.call(this);n.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ce}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=wo(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=[...$o(r),...Ao(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(ct(s))}else t!==void 0&&r.push(ct(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 St(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:mt).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:mt;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??Ut)(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){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[X("elementProperties")]=new Map,w[X("finalized")]=new Map,Oo?.({ReactiveElement:w}),(yt.reactiveElementVersions??=[]).push("2.0.4");var L=class extends w{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=_e(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return m}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var So=globalThis.litElementPolyfillSupport;So?.({LitElement:L});(globalThis.litElementVersions??=[]).push("4.1.0");var _={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},M=e=>(...t)=>({_$litDirective$:e,values:t}),O=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 $e=";",gt=",",Ae=":";var we=M(class extends O{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 Le="important",To=" !"+Le,Oe=M(class extends O{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(To);o.includes("-")||n?r.setProperty(o,n?s.slice(0,-11):s,n?Le:""):r[o]=s}}return m}});var{I:Qr}=be;var Se=e=>e.strings===void 0;var xo={},Pe=(e,t=xo)=>e._$AH=t;var No=M(class extends O{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(!Se(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 Pe(e),t}});var xe=(e="",t={},r=I())=>{let o={emit:s=>{e===""&&G();let n=new CustomEvent(e,{detail:s,cancelable:!0,bubbles:!0,composed:!0,...t});return r.el.dispatchEvent(n),n}};return e===""&&nt(r,s=>{e=s},o),o},as=xe.bind(null,"");function Ne(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 Te={},ds=(e,t)=>function(o,s){if(!globalThis.customElements)return;let i=(s??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(ko)};function ko([e,[t,r=""]]){if(customElements.get(e))return;let[o,s,n]=r.split($e),i=o?o?.split(gt).map(De):void 0,a=i?.map(([l])=>l),c=class extends Ro{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=a}static{this._asyncMethods=s?s?.split(gt):void 0}static{this._syncMethods=n?.split(gt)}static{this._name=e}constructor(){!c._loadPromise&&(c._loadPromise=t(),c._initializePrototype()),super()}};customElements.define(e,c)}var vt=Object.defineProperty;function De(e){let t=e.split(Ae);return t.length===1?[t[0],et(t[0])]:t}var Uo=globalThis.HTMLElement??De,Ro=class extends Uo{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=>{this._postLoaded.reject(t),setTimeout(()=>{throw 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){vt(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){vt(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){vt(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=Ne(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,r=t._name,o=this._store,s=Object.values(e).find(l=>l.tagName===r),n=`${r}--lazy`;!t._LitConstructor&&(t._LitConstructor=s,s.prototype.removeAttribute=function(l){HTMLElement.prototype.removeAttribute.call(this.el,l)},s.prototype.setAttribute=function(l,h){HTMLElement.prototype.setAttribute.call(this.el,l,h)},vt(s.prototype,"isConnected",{get(){return this.el.isConnected}}),customElements.define(n,s)),s.lazy=this;let a=document.createElement(n);s.lazy=void 0,this._litElement=a,this._store=a,this._pendingAttributes.forEach(l=>{let h=this.getAttribute(l);a.attributeChangedCallback(l,null,h)}),Object.entries(o).forEach(Mo,a);let c=this.isConnected;(c||this._ancestorLoad)&&(a.connectedCallback?.(),c||a.disconnectedCallback())}};function Mo([e,t]){this[e]=t}var jo=()=>{},Vo=class ke extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=se(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=jo;let t=ke.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let r=super.finalizeStyles(t),o=this.shadowRootOptions===Te;return this.runtime?.commonStyles===void 0||o?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=>{this._postLoaded.reject(r),setTimeout(()=>{throw r})}))}createRenderRoot(){let t=this.el.shadowRoot,r=this.constructor,o=r.shadowRootOptions,n=t??(o===Te?this.el:this.el.attachShadow(o));if(Object.defineProperty(this,"shadowRoot",{value:n}),t)return L.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...r.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return n}async _load(){let t=this.el._ancestorLoad??Ne(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}};Vo.$createEvent=xe;function Ue(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 bs=e=>typeof e=="object"&&e!=null?we(e):e,_s=e=>typeof e=="object"&&e!=null?Oe(e):e;var Cs=u;var Io=Ue({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:Os,getAssetPath:Ss,setAssetPath:Ps}=Io;export{zo as a,et as b,It as c,zt as d,I as e,Yt as f,q as g,Zt as h,Xt as i,eo as j,oo as k,ee as l,cr as m,hr as n,dr as o,go as p,yr as q,gr as r,vr as s,u as t,_ as u,M as v,O as w,Se as x,as as y,Te as z,ds as A,Vo as B,bs as C,_s as D,Cs as E,Io as F,Os as G,Ss as H};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as w}from"./LCNSVNTN.js";import{b as c}from"./H64PS3XF.js";import{ea as h}from"./256BBVO5.js";import{b as l,c as d,i as n}from"./WZNF6W6L.js";import{B as o,G as r,q as e,y as a,z as s}from"./DPOYABQA.js";var i=class extends o{constructor(){super(...arguments),this._watchHandles=[],this.extentToValidate="current",this.position="bottom-left",this.arcgisReady=a()}static{this.properties={extentToValidate:1,position:1,referenceElement:1,utilityNetwork:0,view:0,widget:0}}static{this.shadowRootOptions=s}willUpdate(t){t.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),t.has("extentToValidate")&&this.extentToValidateWatcher(this.extentToValidate),t.has("utilityNetwork")&&this.utilityNetworkWatcher(this.utilityNetwork),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),m=await h(t);this.widget=m,this._addContainer(),d(this),l(this)}disconnectedCallback(){super.disconnectedCallback(),w(this)}referenceElementWatcher(t){n(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&t&&(this.widget.utilityNetwork=t)}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return this.extentToValidate!==void 0&&(t.extentToValidate=this.extentToValidate),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return e`<div ${c(t=>this.el.childElem=t)}></div>`}};r("arcgis-utility-network-validate-topology",i);export{i as ArcgisUtilityNetworkValidateTopology};
6
+ import{a as w}from"./P46JNE5Z.js";import{b as c}from"./MEB7IANZ.js";import{ea as h}from"./4E6LETTC.js";import{b as l,c as d,i as n}from"./7B75CFKS.js";import{B as o,G as r,q as e,y as a,z as s}from"./CPU2FVJE.js";var i=class extends o{constructor(){super(...arguments),this._watchHandles=[],this.extentToValidate="current",this.position="bottom-left",this.arcgisReady=a()}static{this.properties={extentToValidate:1,position:1,referenceElement:1,utilityNetwork:0,view:0,widget:0}}static{this.shadowRootOptions=s}willUpdate(t){t.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),t.has("extentToValidate")&&this.extentToValidateWatcher(this.extentToValidate),t.has("utilityNetwork")&&this.utilityNetworkWatcher(this.utilityNetwork),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),m=await h(t);this.widget=m,this._addContainer(),d(this),l(this)}disconnectedCallback(){super.disconnectedCallback(),w(this)}referenceElementWatcher(t){n(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&t&&(this.widget.utilityNetwork=t)}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return this.extentToValidate!==void 0&&(t.extentToValidate=this.extentToValidate),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return e`<div ${c(t=>this.el.childElem=t)}></div>`}};r("arcgis-utility-network-validate-topology",i);export{i as ArcgisUtilityNetworkValidateTopology};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as l}from"./44QLS5EZ.js";import"./ERKOO5BN.js";import{z as r}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as h,G as n,o as i,p as e,y as s,z as o}from"./DPOYABQA.js";var a=e`arcgis-elevation-profile{display:block}`,d=l(r),t=class extends h{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.effectiveUnits=this.viewModel.effectiveUnits,this.hideChart=this.widget.visibleElements.chart,this.hideClearButton=this.widget.visibleElements.clearButton,this.hideLegend=this.widget.visibleElements.legend,this.hideSelectButton=this.widget.visibleElements.selectButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideSketchButton=this.widget.visibleElements.sketchButton,this.hideUniformChartScalingToggle=this.widget.visibleElements.uniformChartScalingToggle,this.hideUnitSelector=this.widget.visibleElements.unitSelector,this.highlightEnabled=this.viewModel.highlightEnabled,this.hoveredChartPosition=this.viewModel.hoveredChartPosition,this.icon=this.widget.icon,this.input=this.widget.input,this.label=this.widget.label,this.position="bottom-left",this.profiles=this.widget.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("input","effectiveUnits","progress","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,effectiveUnits:0,hideChart:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideSketchButton:5,hideUniformChartScalingToggle:5,hideUnitSelector:5,highlightEnabled:5,hoveredChartPosition:9,icon:1,input:0,label:1,position:1,profiles:0,progress:8,referenceElement:1,state:3,uniformChartScaling:5,unit:1,unitOptions:0}}static{this.shadowRootOptions=o}static{this.styles=a}async destroy(){await this.manager.destroy()}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}};n("arcgis-elevation-profile",t);export{t as ArcgisElevationProfile};
6
+ import{a as l}from"./3F7DW3N2.js";import"./6Z3UBYKO.js";import{z as r}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as h,G as n,o as i,p as e,y as s,z as o}from"./CPU2FVJE.js";var a=e`arcgis-elevation-profile{display:block}`,d=l(r),t=class extends h{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.effectiveUnits=this.viewModel.effectiveUnits,this.hideChart=this.widget.visibleElements.chart,this.hideClearButton=this.widget.visibleElements.clearButton,this.hideLegend=this.widget.visibleElements.legend,this.hideSelectButton=this.widget.visibleElements.selectButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideSketchButton=this.widget.visibleElements.sketchButton,this.hideUniformChartScalingToggle=this.widget.visibleElements.uniformChartScalingToggle,this.hideUnitSelector=this.widget.visibleElements.unitSelector,this.highlightEnabled=this.viewModel.highlightEnabled,this.hoveredChartPosition=this.viewModel.hoveredChartPosition,this.icon=this.widget.icon,this.input=this.widget.input,this.label=this.widget.label,this.position="bottom-left",this.profiles=this.widget.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("input","effectiveUnits","progress","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,effectiveUnits:0,hideChart:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideSketchButton:5,hideUniformChartScalingToggle:5,hideUnitSelector:5,highlightEnabled:5,hoveredChartPosition:9,icon:1,input:0,label:1,position:1,profiles:0,progress:8,referenceElement:1,state:3,uniformChartScaling:5,unit:1,unitOptions:0}}static{this.shadowRootOptions=o}static{this.styles=a}async destroy(){await this.manager.destroy()}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}};n("arcgis-elevation-profile",t);export{t as ArcgisElevationProfile};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{B as p,E as v,G as h,q as o,y as m,z as g}from"./DPOYABQA.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=g}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=o`<calcite-action .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return o`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||a&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
6
+ import{B as p,E as v,G as h,q as o,y as m,z as g}from"./CPU2FVJE.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=g}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=o`<calcite-action .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return o`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||a&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as d}from"./44QLS5EZ.js";import{d as h}from"./ERKOO5BN.js";import{q as r}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as a,G as l,o as e,p as i,y as s,z as o}from"./DPOYABQA.js";var n=i`arcgis-catalog-layer-list{display:block}`,c=d(r),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=o}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};l("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
6
+ import{a as d}from"./3F7DW3N2.js";import{d as h}from"./6Z3UBYKO.js";import{q as r}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as a,G as l,o as e,p as i,y as s,z as o}from"./CPU2FVJE.js";var n=i`arcgis-catalog-layer-list{display:block}`,c=d(r),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=o}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};l("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as h}from"./44QLS5EZ.js";import"./ERKOO5BN.js";import{R as l,c as n}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as o,G as d,o as t,p as a,y as s,z as r}from"./DPOYABQA.js";var y=a`arcgis-oriented-imagery-viewer{display:block}`,c=h(l),e=class extends o{constructor(){super(...arguments),this.widget=c(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.position="bottom-left",this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=t()("imageGalleryEnabled","layer"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,currentCoverageVisible:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.shadowRootOptions=r}static{this.styles=y}async destroy(){await this.manager.destroy()}willUpdate(g){if(g.has("orientedImageryLayerItemId")){let i=this.orientedImageryLayerItemId;i&&this.widget&&n({portalItem:{id:i}}).then(m=>{this.layer=m,this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0}).catch(console.error)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?(this.widget.view?.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1):this.el.addEventListener("arcgisReady",()=>{this.widget.view.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1},{once:!0}))}};d("arcgis-oriented-imagery-viewer",e);export{e as ArcgisOrientedImageryViewer};
6
+ import{a as h}from"./3F7DW3N2.js";import"./6Z3UBYKO.js";import{R as l,c as n}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as o,G as d,o as t,p as a,y as s,z as r}from"./CPU2FVJE.js";var y=a`arcgis-oriented-imagery-viewer{display:block}`,c=h(l),e=class extends o{constructor(){super(...arguments),this.widget=c(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.position="bottom-left",this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=t()("imageGalleryEnabled","layer"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,currentCoverageVisible:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.shadowRootOptions=r}static{this.styles=y}async destroy(){await this.manager.destroy()}willUpdate(g){if(g.has("orientedImageryLayerItemId")){let i=this.orientedImageryLayerItemId;i&&this.widget&&n({portalItem:{id:i}}).then(m=>{this.layer=m,this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0}).catch(console.error)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?(this.widget.view?.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1):this.el.addEventListener("arcgisReady",()=>{this.widget.view.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1},{once:!0}))}};d("arcgis-oriented-imagery-viewer",e);export{e as ArcgisOrientedImageryViewer};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{b as n,c as a,i as c}from"./WZNF6W6L.js";import{B as o,G as r,p as i,y as s,z as l}from"./DPOYABQA.js";var h=i`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=s(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=l}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&c(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
6
+ import{b as n,c as a,i as c}from"./7B75CFKS.js";import{B as o,G as r,p as i,y as s,z as l}from"./CPU2FVJE.js";var h=i`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=s(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=l}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&c(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as u}from"./44QLS5EZ.js";import{d as i}from"./ERKOO5BN.js";import{E as c,b as n}from"./256BBVO5.js";import{d as m}from"./WZNF6W6L.js";import{B as r,G as g,o as h,p as d,y as l,z as a}from"./DPOYABQA.js";var w=d`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`,b=u(c),o=class extends r{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=h()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=l(),this.arcgisSelectionChange=l()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:0,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:0,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:0,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:0,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(m(this.layerItemId)?this.layer=null:this.layerItemId&&n().then(async t=>await t.fromPortalItem({portalItem:{id:this.layerItemId}})).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?n().then(s=>s.fromArcGISServerUrl({url:t})).then(s=>{this.layer=s}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};g("arcgis-feature-table",o);export{o as ArcgisFeatureTable};
6
+ import{a as u}from"./3F7DW3N2.js";import{d as i}from"./6Z3UBYKO.js";import{E as c,b as n}from"./4E6LETTC.js";import{d as m}from"./7B75CFKS.js";import{B as r,G as g,o as h,p as d,y as l,z as a}from"./CPU2FVJE.js";var w=d`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`,b=u(c),o=class extends r{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=h()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=l(),this.arcgisSelectionChange=l()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:0,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:0,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:0,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:0,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(m(this.layerItemId)?this.layer=null:this.layerItemId&&n().then(async t=>await t.fromPortalItem({portalItem:{id:this.layerItemId}})).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?n().then(s=>s.fromArcGISServerUrl({url:t})).then(s=>{this.layer=s}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};g("arcgis-feature-table",o);export{o as ArcgisFeatureTable};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as d}from"./44QLS5EZ.js";import{d as e}from"./ERKOO5BN.js";import{S as n}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as l,G as h,o as s,p as a,y as r,z as o}from"./DPOYABQA.js";var m=a`arcgis-print{display:block}`,p=d(n),i=class extends l{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.allowedFormats=this.widget.allowedFormats,this.allowedLayouts=this.widget.allowedLayouts,this.autoDestroyDisabled=!1,this.exportedLinks=this.widget.exportedLinks,this.extraParameters=this.widget.extraParameters,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.includeDefaultTemplatesDisabled=this.widget.includeDefaultTemplates,this.label=this.widget.label,this.portal=this.widget.portal,this.position="bottom-left",this.printServiceUrl=this.widget.printServiceUrl,this.showPrintAreaEnabled=this.widget.showPrintAreaEnabled,this.state=this.viewModel.state,this.templateCustomTextElements=this.widget.templateCustomTextElements,this.templateOptions=this.widget.templateOptions,this.arcgisComplete=e(()=>this.widget,"complete"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=r(),this.arcgisSubmit=e(()=>this.widget,"submit")}static{this.properties={allowedFormats:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],allowedLayouts:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],autoDestroyDisabled:5,exportedLinks:0,extraParameters:1,headingLevel:9,icon:1,includeDefaultTemplatesDisabled:5,label:1,portal:0,position:1,printServiceUrl:1,referenceElement:1,showPrintAreaEnabled:7,state:3,templateCustomTextElements:0,templateOptions:0}}static{this.shadowRootOptions=o}static{this.styles=m}async destroy(){await this.manager.destroy()}};h("arcgis-print",i);export{i as ArcgisPrint};
6
+ import{a as d}from"./3F7DW3N2.js";import{d as e}from"./6Z3UBYKO.js";import{S as n}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as l,G as h,o as s,p as a,y as r,z as o}from"./CPU2FVJE.js";var m=a`arcgis-print{display:block}`,p=d(n),i=class extends l{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.allowedFormats=this.widget.allowedFormats,this.allowedLayouts=this.widget.allowedLayouts,this.autoDestroyDisabled=!1,this.exportedLinks=this.widget.exportedLinks,this.extraParameters=this.widget.extraParameters,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.includeDefaultTemplatesDisabled=this.widget.includeDefaultTemplates,this.label=this.widget.label,this.portal=this.widget.portal,this.position="bottom-left",this.printServiceUrl=this.widget.printServiceUrl,this.showPrintAreaEnabled=this.widget.showPrintAreaEnabled,this.state=this.viewModel.state,this.templateCustomTextElements=this.widget.templateCustomTextElements,this.templateOptions=this.widget.templateOptions,this.arcgisComplete=e(()=>this.widget,"complete"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=r(),this.arcgisSubmit=e(()=>this.widget,"submit")}static{this.properties={allowedFormats:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],allowedLayouts:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],autoDestroyDisabled:5,exportedLinks:0,extraParameters:1,headingLevel:9,icon:1,includeDefaultTemplatesDisabled:5,label:1,portal:0,position:1,printServiceUrl:1,referenceElement:1,showPrintAreaEnabled:7,state:3,templateCustomTextElements:0,templateOptions:0}}static{this.shadowRootOptions=o}static{this.styles=m}async destroy(){await this.manager.destroy()}};h("arcgis-print",i);export{i as ArcgisPrint};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as g}from"./44QLS5EZ.js";import{d as t}from"./ERKOO5BN.js";import{V as o}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as l,G as c,o as i,p as a,y as r,z as h}from"./DPOYABQA.js";var d=a`arcgis-search{display:block}`,u=g(o),e=class extends l{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.activeMenu=this.widget.activeMenu,this.activeSource=this.widget.activeSource,this.activeSourceIndex=this.widget.activeSourceIndex,this.allPlaceholder=this.widget.allPlaceholder,this.allSources=this.widget.allSources,this.autoDestroyDisabled=!1,this.autoSelectDisabled=this.widget.autoSelect,this.defaultSources=this.widget.defaultSources,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.includeDefaultSourcesDisabled=this.widget.includeDefaultSources,this.label=this.widget.label,this.locationDisabled=this.widget.locationEnabled,this.maxResults=this.widget.maxResults,this.maxSuggestions=this.widget.maxSuggestions,this.minSuggestCharacters=this.widget.minSuggestCharacters,this.popupDisabled=this.widget.popupEnabled,this.popupTemplate=this.widget.popupTemplate,this.portal=this.widget.portal,this.position="top-right",this.resultGraphic=this.widget.resultGraphic,this.resultGraphicDisabled=this.widget.resultGraphicEnabled,this.results=this.widget.results,this.searchAllDisabled=this.widget.searchAllEnabled,this.searchTerm=this.widget.searchTerm,this.selectedResult=this.widget.selectedResult,this.sources=this.widget.sources,this.state=this.viewModel.state,this.suggestions=this.widget.suggestions,this.suggestionsDisabled=this.widget.suggestionsEnabled,this.arcgisBlur=t(()=>this.widget,"search-blur"),this.arcgisClear=t(()=>this.widget,"search-clear"),this.arcgisComplete=t(()=>this.widget,"search-complete"),this.arcgisFocus=t(()=>this.widget,"search-focus"),this.arcgisPropertyChange=i()("state"),this.arcgisReady=r(),this.arcgisSelectResult=t(()=>this.widget,"select-result"),this.arcgisStart=t(()=>this.widget,"search-start"),this.arcgisSuggestComplete=t(()=>this.widget,"suggest-complete"),this.arcgisSuggestStart=t(()=>this.widget,"suggest-start")}static{this.properties={activeMenu:1,activeSource:0,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoDestroyDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:7,icon:1,includeDefaultSourcesDisabled:5,label:1,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,position:1,referenceElement:1,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,state:3,suggestions:0,suggestionsDisabled:5}}static{this.shadowRootOptions=h}static{this.styles=d}async blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async focusSearch(){this.widget?.focus()}async search(s){return await this.widget?.search(s)}async suggest(s){return await this.widget?.suggest(s)}};c("arcgis-search",e);export{e as ArcgisSearch};
6
+ import{a as g}from"./3F7DW3N2.js";import{d as t}from"./6Z3UBYKO.js";import{V as o}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as l,G as c,o as i,p as a,y as r,z as h}from"./CPU2FVJE.js";var d=a`arcgis-search{display:block}`,u=g(o),e=class extends l{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.activeMenu=this.widget.activeMenu,this.activeSource=this.widget.activeSource,this.activeSourceIndex=this.widget.activeSourceIndex,this.allPlaceholder=this.widget.allPlaceholder,this.allSources=this.widget.allSources,this.autoDestroyDisabled=!1,this.autoSelectDisabled=this.widget.autoSelect,this.defaultSources=this.widget.defaultSources,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.includeDefaultSourcesDisabled=this.widget.includeDefaultSources,this.label=this.widget.label,this.locationDisabled=this.widget.locationEnabled,this.maxResults=this.widget.maxResults,this.maxSuggestions=this.widget.maxSuggestions,this.minSuggestCharacters=this.widget.minSuggestCharacters,this.popupDisabled=this.widget.popupEnabled,this.popupTemplate=this.widget.popupTemplate,this.portal=this.widget.portal,this.position="top-right",this.resultGraphic=this.widget.resultGraphic,this.resultGraphicDisabled=this.widget.resultGraphicEnabled,this.results=this.widget.results,this.searchAllDisabled=this.widget.searchAllEnabled,this.searchTerm=this.widget.searchTerm,this.selectedResult=this.widget.selectedResult,this.sources=this.widget.sources,this.state=this.viewModel.state,this.suggestions=this.widget.suggestions,this.suggestionsDisabled=this.widget.suggestionsEnabled,this.arcgisBlur=t(()=>this.widget,"search-blur"),this.arcgisClear=t(()=>this.widget,"search-clear"),this.arcgisComplete=t(()=>this.widget,"search-complete"),this.arcgisFocus=t(()=>this.widget,"search-focus"),this.arcgisPropertyChange=i()("state"),this.arcgisReady=r(),this.arcgisSelectResult=t(()=>this.widget,"select-result"),this.arcgisStart=t(()=>this.widget,"search-start"),this.arcgisSuggestComplete=t(()=>this.widget,"suggest-complete"),this.arcgisSuggestStart=t(()=>this.widget,"suggest-start")}static{this.properties={activeMenu:1,activeSource:0,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoDestroyDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:7,icon:1,includeDefaultSourcesDisabled:5,label:1,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,position:1,referenceElement:1,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,state:3,suggestions:0,suggestionsDisabled:5}}static{this.shadowRootOptions=h}static{this.styles=d}async blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async focusSearch(){this.widget?.focus()}async search(s){return await this.widget?.search(s)}async suggest(s){return await this.widget?.suggest(s)}};c("arcgis-search",e);export{e as ArcgisSearch};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as d}from"./44QLS5EZ.js";import"./ERKOO5BN.js";import{J as n}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as r,G as o,o as i,p as e,y as s,z as a}from"./DPOYABQA.js";var l=e`arcgis-histogram-range-slider{display:block}`,g=d(n),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(h){return this.widget.generateWhereClause(h)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
6
+ import{a as d}from"./3F7DW3N2.js";import"./6Z3UBYKO.js";import{J as n}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as r,G as o,o as i,p as e,y as s,z as a}from"./CPU2FVJE.js";var l=e`arcgis-histogram-range-slider{display:block}`,g=d(n),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(h){return this.widget.generateWhereClause(h)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as t}from"./FKUNLSA2.js";import{a as p,b}from"./BN6IBZM4.js";import"./ERKOO5BN.js";import{ia as z}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as h,C as o,E as i,G as u,a,o as l,p as n,q as m,y as c,z as d}from"./DPOYABQA.js";var g={base:"esri-zoom",horizontalLayout:"esri-zoom--horizontal"},v=n`arcgis-zoom{display:block}.esri-zoom{display:flex;flex-flow:column nowrap}.esri-zoom .esri-widget--button{box-shadow:none}.esri-zoom .esri-widget--button:first-child{margin-bottom:0}.esri-zoom .esri-widget--button:last-child{border-top:solid 1px var(--calcite-color-border-1)}.esri-zoom.esri-zoom--horizontal{flex-flow:row-reverse nowrap}.esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-top:none}.esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-left:solid 1px var(--calcite-color-border-1)}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-top:none}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-left:solid 1px var(--calcite-color-border-1)}`,$=b(z),s=class extends h{constructor(){super(...arguments),this.messages=p({}),this.viewModel=$(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let w={[g.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:f,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${o(a(g.base,t.widget,w))}><calcite-button class=${o(t.widgetButton)} .disabled=${!f} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${o(t.widgetButton)} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};u("arcgis-zoom",s);export{s as ArcgisZoom};
6
+ import{a as t}from"./JCX6ASIV.js";import{a as p,b}from"./Z3KQ55OO.js";import"./6Z3UBYKO.js";import{ia as z}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as h,C as o,E as i,G as u,a,o as l,p as n,q as m,y as c,z as d}from"./CPU2FVJE.js";var g={base:"esri-zoom",horizontalLayout:"esri-zoom--horizontal"},v=n`arcgis-zoom{display:block}.esri-zoom{display:flex;flex-flow:column nowrap}.esri-zoom .esri-widget--button{box-shadow:none}.esri-zoom .esri-widget--button:first-child{margin-bottom:0}.esri-zoom .esri-widget--button:last-child{border-top:solid 1px var(--calcite-color-border-1)}.esri-zoom.esri-zoom--horizontal{flex-flow:row-reverse nowrap}.esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-top:none}.esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-left:solid 1px var(--calcite-color-border-1)}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-top:none}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-left:solid 1px var(--calcite-color-border-1)}`,$=b(z),s=class extends h{constructor(){super(...arguments),this.messages=p({}),this.viewModel=$(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let w={[g.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:f,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${o(a(g.base,t.widget,w))}><calcite-button class=${o(t.widgetButton)} .disabled=${!f} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${o(t.widgetButton)} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};u("arcgis-zoom",s);export{s as ArcgisZoom};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as g}from"./44QLS5EZ.js";import{d as t}from"./ERKOO5BN.js";import{C as m}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as o,G as h,o as i,p as s,y as a,z as r}from"./DPOYABQA.js";var l=s`arcgis-feature-form{display:block}`,n=g(m),e=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=r}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}};h("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
6
+ import{a as g}from"./3F7DW3N2.js";import{d as t}from"./6Z3UBYKO.js";import{C as m}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as o,G as h,o as i,p as s,y as a,z as r}from"./CPU2FVJE.js";var l=s`arcgis-feature-form{display:block}`,n=g(m),e=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=r}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}};h("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as v,b as m}from"./H64PS3XF.js";import{B as p,G as f,q as n,y as o}from"./DPOYABQA.js";var l=class extends p{constructor(){super(...arguments),this._filterInputElement=v(),this.currentPage=1,this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,versionListElementProps:0}}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,versionListElementProps:{closable:i,currentUser:t,currentVersionIdentifier:c,executionError:h,hasAdvEditingUte:d,heading:u,isVersionAdministrator:V,isVersioningApiAvailable:g,pageSize:s,serviceName:I,serviceUrl:a,state:_,strings:{headers:E},strings:r,versionInfos:$}}=this,P=n`<calcite-block .heading=${E.currentVersion} .description=${c.name} overlay-positioning=fixed></calcite-block>`,x=n`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>{this.arcgisGetVersions.emit({serviceUrl:a})}} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${r.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>s?this._paginate(this._filteredVersionInfos,s,e):this._filteredVersionInfos;let b=this._filteredVersionInfos.length>s?n`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/s)}></calcite-pagination>`:void 0,C=this._paginate(this._paginatedVersionInfos,s,1).map(k=>n`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:t,currentVersionIdentifier:c,isCurrentVersionCard:!1,hasAdvEditingUte:d,isVersionAdministrator:V,isVersioningApiAvailable:g,serviceUrl:a,strings:r,versionInfo:k}}></arcgis-version-management-version-item>`),U=$.length>s?n`<calcite-block heading open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${r.actions.searchVersions} ${m(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,L=n`<calcite-list>${C}</calcite-list>`,w=g&&d?n`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${r.actions.newVersion} @click=${()=>{this.arcgisNewVersion.emit({serviceUrl:a})}}></calcite-fab>`:void 0,A=h?n`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(h)}</div></calcite-notice>`:void 0;return n`<calcite-flow-item .closable=${i} .description=${I} .heading=${u}><calcite-panel .loading=${_==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${r.headers.manageVersions} (${this._filteredVersionInfos.length})`:r.headers.manageVersions}>${x}${U}${L}${w}</calcite-panel>${b}${A}</calcite-panel></calcite-flow-item>`}};f("arcgis-version-management-version-list",l);export{l as ArcgisVersionManagementVersionList};
6
+ import{a as v,b as m}from"./MEB7IANZ.js";import{B as p,G as f,q as n,y as o}from"./CPU2FVJE.js";var l=class extends p{constructor(){super(...arguments),this._filterInputElement=v(),this.currentPage=1,this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,versionListElementProps:0}}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,versionListElementProps:{closable:i,currentUser:t,currentVersionIdentifier:c,executionError:h,hasAdvEditingUte:d,heading:u,isVersionAdministrator:V,isVersioningApiAvailable:g,pageSize:s,serviceName:I,serviceUrl:a,state:_,strings:{headers:E},strings:r,versionInfos:$}}=this,P=n`<calcite-block .heading=${E.currentVersion} .description=${c.name} overlay-positioning=fixed></calcite-block>`,x=n`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>{this.arcgisGetVersions.emit({serviceUrl:a})}} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${r.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>s?this._paginate(this._filteredVersionInfos,s,e):this._filteredVersionInfos;let b=this._filteredVersionInfos.length>s?n`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/s)}></calcite-pagination>`:void 0,C=this._paginate(this._paginatedVersionInfos,s,1).map(k=>n`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:t,currentVersionIdentifier:c,isCurrentVersionCard:!1,hasAdvEditingUte:d,isVersionAdministrator:V,isVersioningApiAvailable:g,serviceUrl:a,strings:r,versionInfo:k}}></arcgis-version-management-version-item>`),U=$.length>s?n`<calcite-block heading open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${r.actions.searchVersions} ${m(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,L=n`<calcite-list>${C}</calcite-list>`,w=g&&d?n`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${r.actions.newVersion} @click=${()=>{this.arcgisNewVersion.emit({serviceUrl:a})}}></calcite-fab>`:void 0,A=h?n`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(h)}</div></calcite-notice>`:void 0;return n`<calcite-flow-item .closable=${i} .description=${I} .heading=${u}><calcite-panel .loading=${_==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${r.headers.manageVersions} (${this._filteredVersionInfos.length})`:r.headers.manageVersions}>${x}${U}${L}${w}</calcite-panel>${b}${A}</calcite-panel></calcite-flow-item>`}};f("arcgis-version-management-version-list",l);export{l as ArcgisVersionManagementVersionList};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as c}from"./44QLS5EZ.js";import{d as t}from"./ERKOO5BN.js";import{fa as r}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as h,G as n,o as s,p as e,y as a,z as o}from"./DPOYABQA.js";var l=e`arcgis-value-picker{display:block}`,p=c(r),i=class extends h{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=s()("values"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=o}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};n("arcgis-value-picker",i);export{i as ArcgisValuePicker};
6
+ import{a as c}from"./3F7DW3N2.js";import{d as t}from"./6Z3UBYKO.js";import{fa as r}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as h,G as n,o as s,p as e,y as a,z as o}from"./CPU2FVJE.js";var l=e`arcgis-value-picker{display:block}`,p=c(r),i=class extends h{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=s()("values"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=o}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};n("arcgis-value-picker",i);export{i as ArcgisValuePicker};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as m}from"./44QLS5EZ.js";import{d as n}from"./ERKOO5BN.js";import{$ as r}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as a,G as o,o as e,p as i,y as s,z as l}from"./DPOYABQA.js";var d=i`arcgis-table-list{display:block}`,h=m(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=l}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",t);export{t as ArcgisTableList};
6
+ import{a as m}from"./3F7DW3N2.js";import{d as n}from"./6Z3UBYKO.js";import{$ as r}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as a,G as o,o as e,p as i,y as s,z as l}from"./CPU2FVJE.js";var d=i`arcgis-table-list{display:block}`,h=m(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=l}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",t);export{t as ArcgisTableList};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as c}from"./44QLS5EZ.js";import"./ERKOO5BN.js";import{P as n}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as o,G as r,o as e,p as i,y as s,z as a}from"./DPOYABQA.js";var h=i`arcgis-measurement{display:block}`,d=c(n),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=e()("activeTool","state"),this.arcgisReady=s()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};r("arcgis-measurement",t);export{t as ArcgisMeasurement};
6
+ import{a as c}from"./3F7DW3N2.js";import"./6Z3UBYKO.js";import{P as n}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as o,G as r,o as e,p as i,y as s,z as a}from"./CPU2FVJE.js";var h=i`arcgis-measurement{display:block}`,d=c(n),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=e()("activeTool","state"),this.arcgisReady=s()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};r("arcgis-measurement",t);export{t as ArcgisMeasurement};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.19
4
+ * v4.32.0-next.20
5
5
  */
6
- import{a as r}from"./FKUNLSA2.js";import{a as M,b as k}from"./BN6IBZM4.js";import{d as o}from"./ERKOO5BN.js";import{ba as f}from"./256BBVO5.js";import"./WZNF6W6L.js";import{B as v,C as s,E as w,G as u,a as d,o as h,p as g,q as e,y as p,z as m}from"./DPOYABQA.js";var $=g`arcgis-track{display:block}`,O={base:"esri-track"},D=k(f),a=class extends v{constructor(){super(...arguments),this.messages=M(),this.viewModel=D(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=o(()=>this.viewModel,"track"),this.arcgisError=o(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=m}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(b?n?.stopTracking:n?.startTracking)??"",T=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${s(d(O.base,r.widget))}>${!T&&e`<calcite-button class=${s(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??w}></calcite-button>`||""}${c?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>`:null}</div>`}};u("arcgis-track",a);export{a as ArcgisTrack};
6
+ import{a as r}from"./JCX6ASIV.js";import{a as M,b as k}from"./Z3KQ55OO.js";import{d as o}from"./6Z3UBYKO.js";import{ba as f}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as v,C as s,E as w,G as u,a as d,o as h,p as g,q as e,y as p,z as m}from"./CPU2FVJE.js";var $=g`arcgis-track{display:block}`,O={base:"esri-track"},D=k(f),a=class extends v{constructor(){super(...arguments),this.messages=M(),this.viewModel=D(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=o(()=>this.viewModel,"track"),this.arcgisError=o(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=m}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(b?n?.stopTracking:n?.startTracking)??"",T=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${s(d(O.base,r.widget))}>${!T&&e`<calcite-button class=${s(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??w}></calcite-button>`||""}${c?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>`:null}</div>`}};u("arcgis-track",a);export{a as ArcgisTrack};