@arcgis/map-components 4.32.0-next.2 → 4.32.0-next.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{YAS7GDPA.js → 2IEUTOD2.js} +2 -2
- package/dist/arcgis-map-components/{JD3NDKYH.js → 2TU4K4ZK.js} +2 -2
- package/dist/arcgis-map-components/{73ZPAYZL.js → 37EH3GXO.js} +2 -2
- package/dist/arcgis-map-components/{74DFQCVS.js → 3LSJILGF.js} +2 -2
- package/dist/arcgis-map-components/{EFVHFMSS.js → 4G7Q6XPC.js} +2 -2
- package/dist/arcgis-map-components/{YRMMQFCN.js → 4PIDQHBD.js} +2 -2
- package/dist/arcgis-map-components/{KRNTNUDC.js → 5C7V6I7B.js} +2 -2
- package/dist/arcgis-map-components/{FKQWYYJJ.js → 5QGKKOO2.js} +2 -2
- package/dist/arcgis-map-components/{TOG7VHWN.js → 6FOWAKPD.js} +2 -2
- package/dist/arcgis-map-components/{KGEFWFO6.js → 6GJAHGDQ.js} +2 -2
- package/dist/arcgis-map-components/{QMWMI2KR.js → 745T3RMX.js} +1 -1
- package/dist/arcgis-map-components/{2V6UXU6P.js → 7J2BBHTZ.js} +2 -2
- package/dist/arcgis-map-components/7VSQNBF3.js +6 -0
- package/dist/arcgis-map-components/7WW23BF5.js +6 -0
- package/dist/arcgis-map-components/{BODCRIXB.js → A2X5ZPAH.js} +2 -2
- package/dist/arcgis-map-components/ABQRV7US.js +6 -0
- package/dist/arcgis-map-components/{Z6FLHF4Y.js → BRXBPWDR.js} +2 -2
- package/dist/arcgis-map-components/BUWT2W52.js +6 -0
- package/dist/arcgis-map-components/{3R7EOYY3.js → CH2Z5YBN.js} +2 -2
- package/dist/arcgis-map-components/{P3X6SURG.js → CP2BAVYK.js} +2 -2
- package/dist/arcgis-map-components/{674RWNZK.js → E4ACVVM2.js} +2 -2
- package/dist/arcgis-map-components/{WLPAGIVE.js → EFFYUWHZ.js} +2 -2
- package/dist/arcgis-map-components/{T73URWJF.js → FJ62N2XU.js} +2 -2
- package/dist/arcgis-map-components/{WAIK2ZZN.js → GHNDYLBV.js} +2 -2
- package/dist/arcgis-map-components/{XRJ6T3QX.js → H5DMP6GW.js} +2 -2
- package/dist/arcgis-map-components/{QCYUUWJP.js → HX2TQK64.js} +2 -2
- package/dist/arcgis-map-components/{YYYNB4EI.js → I4UR5YDE.js} +2 -2
- package/dist/arcgis-map-components/{HNDOGSLA.js → IZGA4O3A.js} +2 -2
- package/dist/arcgis-map-components/{RVUHEIL2.js → JBY7SKZO.js} +2 -2
- package/dist/arcgis-map-components/{6ZWNHYVL.js → KISEOPFS.js} +2 -2
- package/dist/arcgis-map-components/{74C4V7KH.js → KNYSVWCR.js} +2 -2
- package/dist/arcgis-map-components/L3XQEWHE.js +8 -0
- package/dist/arcgis-map-components/{MOMHFVR6.js → LKUQFQV7.js} +2 -2
- package/dist/arcgis-map-components/{577SG2LO.js → MOB7HD5O.js} +2 -2
- package/dist/arcgis-map-components/{G6YHMY2X.js → MRJXVNGR.js} +2 -2
- package/dist/arcgis-map-components/{XL42GVGB.js → MXRSWKTA.js} +2 -2
- package/dist/arcgis-map-components/{EQTBXL27.js → NNKT3ZIQ.js} +2 -2
- package/dist/arcgis-map-components/{327OXNT5.js → NOH2I5QA.js} +2 -2
- package/dist/arcgis-map-components/{KF46FZNO.js → OLSCWJ46.js} +2 -2
- package/dist/arcgis-map-components/{LDDW6F6M.js → PE2B6HSL.js} +2 -2
- package/dist/arcgis-map-components/{VURDEWQI.js → PJWTTRNK.js} +2 -2
- package/dist/arcgis-map-components/{MCZ4R2D2.js → PPFSBSO6.js} +2 -2
- package/dist/arcgis-map-components/{HEBIFCHW.js → PZ5ZSV6X.js} +2 -2
- package/dist/arcgis-map-components/{MXAGX7OA.js → RBC6EMOK.js} +2 -2
- package/dist/arcgis-map-components/{D4XIASG2.js → RBLBRQU7.js} +1 -1
- package/dist/arcgis-map-components/{XAOANEKX.js → RX2GG6WZ.js} +2 -2
- package/dist/arcgis-map-components/{C7HA6EHC.js → RXXYBCBD.js} +2 -2
- package/dist/arcgis-map-components/{U3A7NBMN.js → RYLPL2QP.js} +2 -2
- package/dist/arcgis-map-components/{W5BYKY5K.js → SLP6HRCX.js} +2 -2
- package/dist/arcgis-map-components/SUBG4KNV.js +6 -0
- package/dist/arcgis-map-components/{B6Z3K5E6.js → TCMGOO25.js} +2 -2
- package/dist/arcgis-map-components/{MPO7H3FA.js → TDHEAF7T.js} +2 -2
- package/dist/arcgis-map-components/{QJE6C2KB.js → TSEJTJGB.js} +2 -2
- package/dist/arcgis-map-components/{3R2MPXOH.js → TYTFYYYO.js} +2 -2
- package/dist/arcgis-map-components/{AHIVLV3N.js → U7M4HU4O.js} +2 -2
- package/dist/arcgis-map-components/{SPLN4VXX.js → UUSC7Z5K.js} +2 -2
- package/dist/arcgis-map-components/{26RVOVEC.js → VE7TQ3U7.js} +2 -2
- package/dist/arcgis-map-components/{NAY7H67N.js → VUQRGZNU.js} +2 -2
- package/dist/arcgis-map-components/{GMTDFL22.js → W22D5PHH.js} +2 -2
- package/dist/arcgis-map-components/W72GKZOE.js +6 -0
- package/dist/arcgis-map-components/{SOKO6DPY.js → WSU47LM5.js} +2 -2
- package/dist/arcgis-map-components/{GGMK22ZD.js → X5BO5HYN.js} +2 -2
- package/dist/arcgis-map-components/{6TSLGWQT.js → XK4K5FLG.js} +2 -2
- package/dist/arcgis-map-components/{Y7DD72RA.js → XNE3HH7U.js} +2 -2
- package/dist/arcgis-map-components/XWTZLYTG.js +6 -0
- package/dist/arcgis-map-components/{OUFCLRMG.js → Y53UGIKL.js} +2 -2
- package/dist/arcgis-map-components/{QWQXCAI5.js → YEPK6QME.js} +2 -2
- package/dist/arcgis-map-components/{OTOXD6WT.js → YRZXRBP4.js} +2 -2
- package/dist/arcgis-map-components/{TOS6QE45.js → ZLZMFYTA.js} +2 -2
- package/dist/arcgis-map-components/{ZATBD4AU.js → ZQZ6FPWL.js} +2 -2
- package/dist/arcgis-map-components/{ZJDGS42S.js → ZUA5WCPQ.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +3 -3
- package/dist/components/arcgis-bookmarks/customElement.js +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.js +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +2 -2
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.js +2 -2
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.js +3 -3
- package/dist/components/arcgis-histogram/customElement.js +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +1 -3
- package/dist/components/arcgis-map/customElement.js +9 -9
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +2 -2
- package/dist/components/arcgis-scale-bar/customElement.js +18 -18
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.js +2 -2
- package/dist/components/arcgis-search/customElement.js +2 -2
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.js +6 -6
- package/dist/components/arcgis-slice/customElement.js +2 -2
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.js +6 -6
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +4 -4
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.js +4 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +2 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +3 -3
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +2 -2
- package/dist/components/arcgis-weather/customElement.js +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/docs/docs.json +2 -28
- package/dist/docs/manifest.json +2 -23
- package/dist/docs/web-types.json +1 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +14 -14
- package/dist/arcgis-map-components/3CKLCOIH.js +0 -6
- package/dist/arcgis-map-components/46EZ5CLU.js +0 -6
- package/dist/arcgis-map-components/DQK27YBW.js +0 -6
- package/dist/arcgis-map-components/JHGXWM55.js +0 -6
- package/dist/arcgis-map-components/LMZOA6VS.js +0 -8
- package/dist/arcgis-map-components/LQPFVUFQ.js +0 -6
- package/dist/arcgis-map-components/RHLWBYBO.js +0 -6
- package/dist/arcgis-map-components/TY4LRMYB.js +0 -6
- package/dist/chunks/index.js +0 -728
@@ -1,8 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.2
|
5
|
-
*/
|
6
|
-
function Qo(...e){let t=[];for(let o=0;o<e.length;o++){let s=e[o];if(typeof s=="string")t.push(s);else if(Array.isArray(s))t.push.apply(t,s);else if(typeof s=="object")for(let n in s)s[n]&&t.push(n)}let r=t.join(" ");return t.length=0,r}var b=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function ze(e,t){let r=e;for(;r;){if(r===t)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function We(e,t,r){let{subscribe:o}=Be(t);return o(s=>{s.some(i=>ze(e,i.target))&&r()})}var _t={};function Be(e){let t=e.join(","),r=_t[t];if(r!==void 0)return r;let o=new Set,s=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(s.disconnect(),_t[t]=void 0)}}}};return _t[t]=n,n}function Fe(e,t){let r=e;for(;r;){let o=r.closest?.(t);if(o)return o;let s=r.getRootNode?.();if(s===globalThis.document)return null;r=s.host}return null}function Ge(e,t,r){return Fe(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function H(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var Ke=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],qe=new Set(Ke),tt="en",Je={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Ye(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return Et[s]??(Et[s]=Wt(e,o)),await Et[s]}var Et={};async function Wt(e,t){let r=`${t}${e}.json`;try{let o=await fetch(r);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await Wt(tt,t)}function Ct(e){let t=Ge(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:Bt(t)}}function Bt(e){let[t,r]=e.split("-"),o=t.toLowerCase(),s=o;return r&&(s=`${o}-${r.toUpperCase()}`),s=Je[s]??s,qe.has(s)?s:r?Bt(o):tt}function Ft(e,t,r,o){let s,n=()=>void Qe(e,t,o).then(i=>{(s?.lang!==i.lang||s.t9nLocale!==i.t9nLocale||s.t9nStrings!==i.t9nStrings)&&r(i),s=i}).catch(console.error);return n(),We(e,["lang"],n)}async function Qe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:o,t9nLocale:s}=Ct(e),n=`${t}/${r}/t9n`,i=`${r}.t9n.`,c=r===null?{}:await Ye(s,n,i);return{lang:o,t9nLocale:s,t9nStrings:c}}var et=e=>e.replace(Ze,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ze=/[A-Z]+(?![a-z])|[A-Z]/gu;function Gt(e,t){let r=t>Xe?to:t/eo,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var Xe=4e3,to=2e3,eo=4;function Kt(e){return e!==void 0}function qt(e,t){if(t){let r=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(r,([o,s])=>s.noAccessor?void 0:[o,[(s.readOnly?2048:0)|(s.state?32:16)]]).filter(Kt))}else{let r=e.constructor,o=r.__registerControllers?.(e)??void 0;if(r.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([s,[n]])=>(n&63)!==0))}}function Jt(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var $t=(e,t)=>e.manager.internals.members?.[t]?.[0];var st=Symbol.for("controller");var Xt=e=>typeof e=="object"&&e!==null&&(st in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var B;function D(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function F(e){return B}var T=[];function nt(e){if(e===void 0){T=[];return}let t=T.indexOf(e);T=t===-1?[...T,e]:T.slice(0,t+1),queueMicrotask(()=>{T=[]})}function te(){return T}var I;function oo(e){I!==e&&(I=e,queueMicrotask(()=>{I===e&&(I=void 0)}))}function ro(){let e=I;return I=void 0,e}var so=async(e,t)=>{let r=Ot(e);if(r===void 0)return e;if(await r.ready,typeof t=="function"){let o=r.watchExports(s=>t(s,o))}return r.exports},no=async e=>{let t=Ot(e);return await t.ready,t},Ot=e=>{let t=ro();if(t!==void 0)return t;let o=F().manager.internals.resolveExports(e);if(o!==void 0)return o;if(Xt(e))return e},A={setter:!1,getter:!1,readOnly:!1},rt=new WeakMap,ee;ee=st;var St=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=Qt(this),this._exportWatchers=new Set;let t=e??F(new.target.name);this.component=t,this.component.addController(this),nt(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e){this._exports=Qt(e),this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return D(this.component),so}get useRef(){return D(this.component),no}get useRefSync(){return D(this.component),Ot}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await H(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(H)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Yt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Yt,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){D(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(o=>{typeof o=="function"?this._lifecycleCleanups.push(o):typeof o=="object"&&typeof o.remove=="function"&&this._lifecycleCleanups.push(o.remove)})}};function Yt(e){p(e,void 0,this)}var oe=St;function Qt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(io.has(o)&&o in r&&r[o]===t)&&(o in r||o in Promise.prototype||typeof o=="symbol"))return typeof r=="function"?r[o]:Reflect.get(r,o,s)},set:(r,o,s,n)=>Reflect.set(r,o,s,n)});return t}var io=new Set(["exports","_exports"]);function it(e,t,r){let o=Object.keys(e),s=o.length;x===void 0&&queueMicrotask(G),x??(x=new Map);let n=x.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},x.set(e,n)),n.keyCount!==s&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=s),n.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[s];a===void 0?c(void 0):e[a]===r?c(a):c(void 0)}),r}var x=void 0;function G(){Array.from(x?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),x=void 0}function K(e,t,r){var o;let s=t,n=e.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);let i=n.allWatchers[s],c=r,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var ao=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([r,[o]])=>{var s;o&2048&&((s=t.setters)[r]??(s[r]=[]),t.setters[r].push(t.readonlySetter))})},this.trackedValue=Lt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,this.readonlySetter=(t,r,o)=>{if(A.readOnly)return t;throw new Error(`Cannot assign to read-only property "${o}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let r=this.keyTrackers;this.trackedValue=Lt,this.keyTrackers=[],r.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,r=t.constructor.prototype;if(this._getSetProxy(r,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;r!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,r){let o=this.component,s=$t(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,c=n.set,a=ot in i,l=ot in c;if(a&&l)return;let d=!a,h=!l,f=d?function(){let v=i.call(this),C=rt.get(this);if(A.getter||C===void 0)return v;let V=C.manager.internals;v=V.accessorGetter[t](v,t);let y=V.getters[t]??At;for(let $=0;$<y.length;$++)v=y[$](v,t);return v}:i,g=h?function(v){let C=i.call(this),V=rt.get(this);if(V===void 0){c.call(this,v);return}let y=V.manager.isLit?v??void 0:Jt(v,s),$=V.manager.internals;if(y===C)c.call(this,y);else{let zt=A.setter?At:$.setters[t]??At;for(let W=0;W<zt.length&&(y=zt[W](y,C,t),y!==C);W++);let Ie=y;c.call(this,y),y=$.accessorSetter[t](y,C,t),y!==Ie&&c.call(this,y),y!==C&&$.enabledWatchers[t]?.forEach(W=>W(y,C,t))}$.keyTrackers.length>0&&$?.firePropTrackers(t,v)}:c;d&&(f[ot]=!0),h&&(g[ot]=!0),Object.defineProperty(e,t,{...n,get:f,set:g})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},At=[],ot=Symbol(),Lt=Symbol(),Pt=(e,t)=>new co(e,t),co=class extends oe{constructor(e,t){let r="addController"in e,o=new Set;function s(a){o.add(a),!(st in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=s,i.removeController=n,!r){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new ao(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,qt(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=wt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=Zt,c.accessorSetter[a]=Zt,c.getSetProxy(a)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),nt(void 0),D(e),rt.set(e.el,e),rt.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,r=e.el===e;this._originalLifecycles={_connectedCallback:t||r?void 0:e.connectedCallback,_disconnectedCallback:t||r?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let o=this._connectedCallback.bind(this),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:s,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=s,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${wt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,G(),e.enableReadonly?.(),this._controllers.forEach(ho),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(po),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){let e=this.internals.reactiveUtilsIntegrations;if(e.size>0)for(let t of e)"triggerLoad"in t?await t.triggerLoad():await H(t.hostLoad,t);await Promise.allSettled(Array.from(this._controllers,uo,e)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&K(this.component,wt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(fo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(mo,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(yo,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new b,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(go),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Gt(e,lo)}}},wt="autoDestroyDisabled",lo=1e3;var Zt=e=>e;function ho(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function po(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function uo(e){this.has(e)||("triggerLoad"in e?await e.triggerLoad():await H(e.hostLoad,e))}function fo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function mo(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function yo(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function go(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}function re(e,t,r){let o=e.manager.internals;return o.trackedValue!==Lt&&o.trackedValue!==r&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=r,o.keyTrackers.push((s,n)=>p(t,void 0,r===n?s:void 0)),r}function se(e,t,r){let o=Array.isArray(e)?e:[e],s=o.length+1,n=c=>{s-=1,c!==void 0&&(s=Math.min(s,0)),s===0&&t(c)};o.forEach(c=>it(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),r));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&re(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:$t(i,c)!==void 0}),r),r}function vo(e){A.setter=!0;try{return e()}finally{A.setter=!1}}function bo(e){A.getter=!0;try{return e()}finally{A.getter=!1}}function ne(e){A.readOnly=!0;try{return e()}finally{A.readOnly=!1}}var ie=e=>(...t)=>{let r=te(),o=new e(...t),s=o.exports;nt(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(c=>n.markExports(o,c)),oo(o);let i=[o.component,...r].reverse();return se(i,c=>c===void 0?void 0:_o(o,c,s),s)};function _o(e,{host:t,key:r,isReactive:o},s){let n=t,i=n[r]!==e.exports,c=n[r]!==s,a=s!==e.exports;if(i&&!c&&a&&(n[r]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,n[r]),K(e.component,r,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=o?void 0:r}e.watchExports(()=>{if(n[r]===e.exports)return;let d=e.component.manager;d.internals.setters[r]?.includes(d.internals.readonlySetter)?ne(()=>{n[r]=e.exports}):n[r]=e.exports})}var Tt=e=>Co(void 0,e);var Eo=class extends St{constructor(e,t){super(e);let r=this.exports;try{D(this.component);let o=t(this.component,this),s=this.exports!==r;if(o instanceof Promise){s||this.setProvisionalExports(o);let n=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},Co=ie(Eo);var vr=Tt;var _r=e=>(t={})=>Tt((r,o)=>{let s=r;o.onLifecycle(()=>Ft(r.el,e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};o.exports=h;let f=l.componentLabel??l.widgetLabel;typeof f=="string"&&"label"in r&&r.label==null&&(r.label??(r.label=f)),n(s.messageOverrides)},t.name));function n(a){let l=o.exports,d=l._original??l,h=ce(d,a);a&&(h._original=d),o.exports=h}if("messageOverrides"in s&&o.onLifecycle(()=>K(s,"messageOverrides",n)),t.blocking)return o.ready;let i=Ct(r.el);return{_lang:i.lang,_t9nLocale:i.t9nLocale,_loading:!0}});function ce(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=ce(e[o],s):r[o]=s??e[o]}),r}var Er=e=>$o,ae="arcgisPropertyChange",$o=(...e)=>Tt((t,r)=>{let s=t[ae];return t.manager.isLit&&(s=t.constructor.$createEvent(ae,void 0,t)),r.onLoad(()=>r.onLifecycle(()=>e.map(n=>K(t,n,()=>s.emit({name:n}))))),s});var at=globalThis,ct=at.ShadowRoot&&(at.ShadyCSS===void 0||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),le=new WeakMap,q=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(ct&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=le.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&le.set(r,t))}return t}toString(){return this.cssText}},he=e=>new q(typeof e=="string"?e:e+"",void 0,xt),Ao=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,s,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+e[n+1],e[0]);return new q(r,e,xt)},Dt=(e,t)=>{if(ct)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=at.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},lt=ct?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return he(r)})(e):e;var kt=globalThis,ht=kt.trustedTypes,de=ht?ht.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ut="$lit$",w=`lit$${Math.random().toFixed(9).slice(2)}$`,Rt="?"+w,wo=`<${Rt}>`,U=document,Y=()=>U.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Mt=Array.isArray,ge=e=>Mt(e)||typeof e?.[Symbol.iterator]=="function",Nt=`[
|
7
|
-
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pe=/-->/g,ue=/>/g,N=RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
|
8
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),fe=/'/g,me=/"/g,ve=/^(?:script|style|textarea|title)$/i,jt=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),wr=jt(1),Lr=jt(2),Or=jt(3),m=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),ye=new WeakMap,k=U.createTreeWalker(U,129);function be(e,t){if(!Mt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return de!==void 0?de.createHTML(t):t}var _e=(e,t)=>{let r=e.length-1,o=[],s,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let c=0;c<r;c++){let a=e[c],l,d,h=-1,f=0;for(;f<a.length&&(i.lastIndex=f,d=i.exec(a),d!==null);)f=i.lastIndex,i===J?d[1]==="!--"?i=pe:d[1]!==void 0?i=ue:d[2]!==void 0?(ve.test(d[2])&&(s=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=s??J,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?me:fe):i===me||i===fe?i=N:i===pe||i===ue?i=J:(i=N,s=void 0);let g=i===N&&e[c+1].startsWith("/>")?" ":"";n+=i===J?a+wo:h>=0?(o.push(l),a.slice(0,h)+Ut+a.slice(h)+w+g):a+w+(h===-2?c:g)}return[be(e,n+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:r},o){let s;this.parts=[];let n=0,i=0,c=t.length-1,a=this.parts,[l,d]=_e(t,r);if(this.el=e.createElement(l,o),k.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=k.nextNode())!==null&&a.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(let h of s.getAttributeNames())if(h.endsWith(Ut)){let f=d[i++],g=s.getAttribute(h).split(w),P=/([.?@])?(.*)/.exec(f);a.push({type:1,index:n,name:P[2],strings:g,ctor:P[1]==="."?pt:P[1]==="?"?ut:P[1]==="@"?ft:M}),s.removeAttribute(h)}else h.startsWith(w)&&(a.push({type:6,index:n}),s.removeAttribute(h));if(ve.test(s.tagName)){let h=s.textContent.split(w),f=h.length-1;if(f>0){s.textContent=ht?ht.emptyScript:"";for(let g=0;g<f;g++)s.append(h[g],Y()),k.nextNode(),a.push({type:2,index:++n});s.append(h[f],Y())}}}else if(s.nodeType===8)if(s.data===Rt)a.push({type:2,index:n});else{let h=-1;for(;(h=s.data.indexOf(w,h+1))!==-1;)a.push({type:7,index:n}),h+=w.length-1}n++}}static createElement(t,r){let o=U.createElement("template");return o.innerHTML=t,o}};function R(e,t,r=e,o){if(t===m)return t;let s=o!==void 0?r.o?.[o]:r.l,n=Q(t)?void 0:t._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),n===void 0?s=void 0:(s=new n(e),s._$AT(e,r,o)),o!==void 0?(r.o??=[])[o]=s:r.l=s),s!==void 0&&(t=R(e,s._$AS(e,t.values),s,o)),t}var dt=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,s=(t?.creationScope??U).importNode(r,!0);k.currentNode=s;let n=k.nextNode(),i=0,c=0,a=o[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new z(n,n.nextSibling,this,t):a.type===1?l=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(l=new mt(n,this,t)),this._$AV.push(l),a=o[++c]}i!==a?.index&&(n=k.nextNode(),i++)}return k.currentNode=U,s}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},z=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,r,o,s){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=s,this.v=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=R(this,t,r),Q(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ge(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==u&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,s=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement(be(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===s)this._$AH.p(r);else{let n=new dt(s,this),i=n.u(this.options);n.p(r),this.T(i),this._$AH=n}}_$AC(t){let r=ye.get(t.strings);return r===void 0&&ye.set(t.strings,r=new Z(t)),r}k(t){Mt(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,s=0;for(let n of t)s===r.length?r.push(o=new e(this.O(Y()),this.O(Y()),this,this.options)):o=r[s],o._$AI(n),s++;s<r.length&&(this._$AR(o&&o._$AB.nextSibling,s),r.length=s)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},M=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,s,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=r,this._$AM=s,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=u}_$AI(t,r=this,o,s){let n=this.strings,i=!1;if(n===void 0)t=R(this,t,r,0),i=!Q(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let c=t,a,l;for(t=n[0],a=0;a<n.length-1;a++)l=R(this,c[o+a],r,a),l===m&&(l=this._$AH[a]),i||=!Q(l)||l!==this._$AH[a],l===u?t=u:t!==u&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!s&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends M{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},ut=class extends M{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ft=class extends M{constructor(t,r,o,s,n){super(t,r,o,s,n),this.type=5}_$AI(t,r=this){if((t=R(this,t,r,0)??u)===m)return;let o=this._$AH,s=t===u&&o!==u||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==u&&(o===u||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}},Ee={M:Ut,P:w,A:Rt,C:1,L:_e,R:dt,D:ge,V:R,I:z,H:M,N:ut,U:ft,B:pt,F:mt},Lo=kt.litHtmlPolyfillSupport;Lo?.(Z,z),(kt.litHtmlVersions??=[]).push("3.2.0");var Ce=(e,t,r)=>{let o=r?.renderBefore??t,s=o._$litPart$;if(s===void 0){let n=r?.renderBefore??null;o._$litPart$=s=new z(t.insertBefore(Y(),n),n,void 0,r??{})}return s._$AI(e),s};var{is:Oo,defineProperty:So,getOwnPropertyDescriptor:Po,getOwnPropertyNames:To,getOwnPropertySymbols:xo,getPrototypeOf:Do}=Object,gt=globalThis,$e=gt.trustedTypes,No=$e?$e.emptyScript:"",ko=gt.reactiveElementPolyfillSupport,X=(e,t)=>e,yt={toAttribute(e,t){switch(t){case Boolean:e=e?No:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Vt=(e,t)=>!Oo(e,t),Ae={attribute:!0,type:String,converter:yt,reflect:!1,hasChanged:Vt};Symbol.metadata??=Symbol("metadata"),gt.litPropertyMetadata??=new WeakMap;var L=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ae){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),s=this.getPropertyDescriptor(t,o,r);s!==void 0&&So(this.prototype,t,s)}}static getPropertyDescriptor(t,r,o){let{get:s,set:n}=Po(this.prototype,t)??{get(){return this[r]},set(i){this[r]=i}};return{get(){return s?.call(this)},set(i){let c=s?.call(this);n.call(this,i),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ae}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=Do(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let r=this.properties,o=[...To(r),...xo(r)];for(let s of o)this.createProperty(s,r[s])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,s]of r)this.elementProperties.set(o,s)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let s=this._$Eu(r,o);s!==void 0&&this._$Eh.set(s,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let s of o)r.unshift(lt(s))}else t!==void 0&&r.push(lt(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Dt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,o){this._$AK(t,o)}_$EC(t,r){let o=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,o);if(s!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:yt).toAttribute(r,o.type);this._$Em=t,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,r){let o=this.constructor,s=o._$Eh.get(t);if(s!==void 0&&this._$Em!==s){let n=o.getPropertyOptions(s),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:yt;this._$Em=s,this[s]=i.fromAttribute(r,n.type),this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Vt)(this[t],r))return;this.P(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,r,o){this._$AL.has(t)||this._$AL.set(t,r),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[s,n]of this._$Ep)this[s]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[s,n]of o)n.wrapped!==!0||this._$AL.has(s)||this[s]===void 0||this.P(s,this[s],n)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EC(r,this[r])),this._$EU()}updated(t){}firstUpdated(t){}};L.elementStyles=[],L.shadowRootOptions={mode:"open"},L[X("elementProperties")]=new Map,L[X("finalized")]=new Map,ko?.({ReactiveElement:L}),(gt.reactiveElementVersions??=[]).push("2.0.4");var O=class extends L{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=Ce(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return m}};O._$litElement$=!0,O.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:O});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:O});(globalThis.litElementVersions??=[]).push("4.1.0");var we=";",vt=",",Le=":",Oe=!0,Se=!0,Pe=!0;var _={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},S=e=>(...t)=>({_$litDirective$:e,values:t}),E=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this.t=t,this._$AM=r,this.i=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var Te=S(class extends E{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let s=!!t[o];s===this.st.has(o)||this.nt?.has(o)||(s?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return m}});var xe="important",Mo=" !"+xe,De=S(class extends E{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let s=t[o];if(s!=null){this.ft.add(o);let n=typeof s=="string"&&s.endsWith(Mo);o.includes("-")||n?r.setProperty(o,n?s.slice(0,-11):s,n?xe:""):r[o]=s}}return m}});var{I:is}=Ee;var Ne=e=>e.strings===void 0;var jo={},ke=(e,t=jo)=>e._$AH=t;var Vo=S(class extends E{constructor(e){if(super(e),e.type!==_.PROPERTY&&e.type!==_.ATTRIBUTE&&e.type!==_.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ne(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===m||t===u)return t;let r=e.element,o=e.name;if(e.type===_.PROPERTY){if(t===r[o])return m}else if(e.type===_.BOOLEAN_ATTRIBUTE){if(!!t===r.hasAttribute(o))return m}else if(e.type===_.ATTRIBUTE&&r.getAttribute(o)===t+"")return m;return ke(e),t}});var Re=(e="",t={},r=F())=>{let o={emit:s=>{e===""&&G();let n=new CustomEvent(e,{detail:s,cancelable:Se,bubbles:Oe,composed:Pe,...t});return r.el.dispatchEvent(n),n}};return e===""&&it(r,s=>{e=s},o),o},ys=Re.bind(null,"");function Me(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let r=t;return r.manager?.loadedCalled||r._offspring.push(e),r._postLoad.promise}return!1}var Ue={},_s=(e,t)=>function(o,s){if(!globalThis.customElements)return;let i=(s??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(Io)};function Io([e,[t,r=""]]){if(customElements.get(e))return;let[o,s,n]=r.split(we),i=o?o?.split(vt).map(je):void 0,c=i?.map(([l])=>l),a=class extends j{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=s?s?.split(vt):void 0}static{this._syncMethods=n?.split(vt)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var bt=Object.defineProperty;function je(e){let t=e.split(Le);return t.length===1?[t[0],et(t[0])]:t}var zo=globalThis.HTMLElement??je,j=class extends zo{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new b,this._postLoaded=new b,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{console.error(t),this._postLoaded.reject(t)})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(e){bt(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){bt(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){bt(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(r=>{Object.hasOwn(this,r)&&(this._store[r]=t[r],delete t[r])})}attributeChangedCallback(e,t,r){this._litElement?.attributeChangedCallback(e,t,r),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback():queueMicrotask(()=>{this._ancestorLoad=Me(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback()}async componentOnReady(){return await this._postLoaded.promise,this._litElement}_initializeComponent(e){let t=this.constructor,r=t._name,o=Object.values(e).find(a=>a.tagName===r),s=`${r}--lazy`;!t._LitConstructor&&(t._LitConstructor=o,o.prototype.removeAttribute=function(a){HTMLElement.prototype.removeAttribute.call(this.el,a)},o.prototype.setAttribute=function(a,l){HTMLElement.prototype.setAttribute.call(this.el,a,l)},bt(o.prototype,"isConnected",{get(){return this.el.isConnected}}),customElements.define(s,o)),o.lazy=this;let i=document.createElement(s);o.lazy=void 0,this._litElement=i,this._pendingAttributes.forEach(a=>{let l=this.getAttribute(a);i.attributeChangedCallback(a,null,l)}),Object.entries(this._store).forEach(Wo,i),this._store=i;let c=this.isConnected;(c||this._ancestorLoad)&&(i.connectedCallback?.(),c||i.disconnectedCallback())}};function Wo([e,t]){this[e]=t}var Ht=Symbol.for("@arcgis/lumina:observedAttributes"),It=globalThis,Bo=Ht in It;It[Ht]??={};var Fo=It[Ht];if(!Bo){let e=t=>function(o,...s){if(Fo[this.tagName.toLowerCase()]?.manuallyObserved?.has(o)){let i=this.getAttribute(o),c=t.call(this,o,...s),a=this.getAttribute(o);return this.attributeChangedCallback(o,i,a),c}else return t.call(this,o,...s)};j.prototype.setAttribute=e(j.prototype.setAttribute),j.prototype.toggleAttribute=e(j.prototype.toggleAttribute),j.prototype.removeAttribute=e(j.prototype.removeAttribute)}var Go=()=>{},Ko=class Ve extends O{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=Pt(this),this._postLoad=this.constructor.lazy?._postLoad??new b,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new b,this._enableUpdating=this.enableUpdating,this.enableUpdating=Go;let t=Ve.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let r=super.finalizeStyles(t),s=this.constructor.shadowRootOptions===Ue;return this.runtime?.commonStyles===void 0||s?r:[this.runtime.commonStyles,...r]}static createProperty(t,r){let o=typeof r=="number"?r:Array.isArray(r)?r[0]:0,s=Array.isArray(r)?r[1]:void 0;super.createProperty(t,{attribute:o&1&&typeof t=="string"?et(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),...s})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(r=>{console.error(r),this._postLoaded.reject(r)}))}createRenderRoot(){let t=this.el.shadowRoot,r=this.constructor,o=r.shadowRootOptions,n=t??(o===Ue?this.el:this.el.attachShadow(o));if(Object.defineProperty(this,"shadowRoot",{value:n}),t)return O.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...r.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return n}async _load(){let t=this.el._ancestorLoad??Me(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let r=this._offspring.filter(o=>!o.manager?.loadedCalled);r.length&&await Promise.allSettled(r.map(async o=>await o.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,r,o){let s=r?.bind(this)??r;this.manager.onLifecycle(()=>(this.el.addEventListener(t,s,o),()=>this.el.removeEventListener(t,s,o)))}listenOn(t,r,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(r,n,s),()=>t.removeEventListener(r,n,s)))}async componentOnReady(){return await this._postLoaded.promise,this}};Ko.$createEvent=Re;function He(e){let t,r=s=>{t=new URL(s,globalThis.location?.href).href},o={...e,getAssetPath(s){let n=new URL(s,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:r,customElement(s,n){n.runtime=o,n.tagName=s,customElements.get(s)||customElements.define(s,n)}};return r(e.defaultAssetPath),o}var Ps=e=>typeof e=="object"&&e!=null?Te(e):e,Ts=e=>typeof e=="object"&&e!=null?De(e):e,qo=S,Jo=class extends E{update(e,[t,r]){let o=e.element,s=o.tagName;(t==="value"?s==="INPUT":s==="BUTTON"||s==="DATA")?o[t]!==r&&(o[t]=r):r!=null?o.setAttribute("value",r):o.removeAttribute("value")}},xs=qo(Jo);var Ns=u;var Yo=He({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:Vs,getAssetPath:Hs,setAssetPath:Is}=Yo;export{Qo as a,et as b,Gt as c,Kt as d,F as e,St as f,oe as g,K as h,Zt as i,re as j,se as k,vo as l,bo as m,ie as n,vr as o,_r as p,Er as q,Ao as r,wr as s,Lr as t,Or as u,u as v,_ as w,S as x,E as y,Ne as z,ys as A,Ue as B,_s as C,Ko as D,Ps as E,Ts as F,Ns as G,Yo as H,Vs as I,Hs as J};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.2
|
5
|
-
*/
|
6
|
-
import{a as h}from"./WAIK2ZZN.js";import{d as l}from"./RHLWBYBO.js";import{q as r}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as i,B as s,D as o,I as a,q as e}from"./LMZOA6VS.js";var d=h(r),t=class extends o{constructor(){super(...arguments),this.widget=d(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=i(),this.arcgisTriggerAction=l(()=>this.widget,"triggerAction")}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=s}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};a("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.2
|
5
|
-
*/
|
6
|
-
import{b as C,d as $,e as L,f as V,g as R,i as m,j as b,k as h,l as P,m as I,n as W}from"./LMZOA6VS.js";var y=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function g(t){return t.default!==void 0}async function F(){if(y)return await window.$arcgis.import("esri/core/Accessor");let t=await import("@arcgis/core/core/Accessor.js");return g(t)?t.default:t}async function T(){if(y)return await window.$arcgis.import("esri/core/accessorSupport/decorators");let t=await import("@arcgis/core/core/accessorSupport/decorators.js");return g(t)?t.default:t}async function G(){if(y)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return g(t)?t.default:t}var S;async function A(){return S??(S=G()),await S}var v=Promise.all([F(),T()]),D=class extends V{async hostLoad(){let[t,{subclass:e,property:n}]=await v;class i extends t{}function u(w,d){return a[d],w}function r(w,d,l){return a!==void 0&&(a[l]=w),w}let p=this.component,s=p.manager.internals,o=[];if(Object.keys(s.members).forEach(w=>{s.accessorSetter[w]===m&&(o.push(w),s.accessorGetter[w]=u,s.accessorSetter[w]=r,n()(i.prototype,w))}),this._enabledMembers=o,o.length===0)return;let c=e(p.el.tagName)(i),a=new c;this._instance=a}controllerRemoved(){super.controllerRemoved();let t=this.component.manager.internals;this._instance?.destroy(),this._enabledMembers?.forEach(e=>{t.accessorGetter[e]=m,t.accessorSetter[e]=m})}},_=(t,e)=>(n,i)=>k(n,t,i),E=class extends R{constructor(t,e,n){super(t),this._loadAccessor=e,this._options=n,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(M.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches));let i=t.manager.internals.reactiveUtilsIntegrations;i.add(this);let u=Array.from(i).find(r=>r instanceof D);u&&i.delete(u),i.add(u??new D(this.component)),b(t,r=>{r&&(this._instancePropName=r)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await A();let t=this.component,e=this._gatherParameters(),n=this._options?.editConstructorProperties?.call(t,e)??e,i=n instanceof Promise?await n:n,u=t,r=typeof this._instancePropName=="string"?u[this._instancePropName]:void 0;r!=null&&r!==this.exports?(this._instance=r,r.set(i)):this._instance=await this._createInstance(i),!t.manager.destroyed&&(M.watchComponentUpdates(this,this._instance,this._watchedProperties),M.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([n,i])=>[i,this.component[n]]).filter(([,n])=>n!==void 0))}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},k=W(E),M={makeGetterProxy:(t,e,n,i)=>new Proxy({},{has:(u,r)=>typeof r=="string"||r in u,get:(u,r)=>{let p=Reflect.get(u,r);if(typeof r=="symbol"||r in Promise.prototype)return p;let s=r in u,o=n?.value??!0;return s||!o?p:h(t,c=>{c!==void 0&&e.set(c.key,r)},p)}}),watchComponentUpdates(t,e,n){function i(s,o){let c=n.get(o),a=e[c];return typeof a=="boolean"&&c!==o&&o.toLowerCase().includes("disable")?!a:a}let u=(s,o,c)=>{let a=n.get(c),w=e[a],d=typeof w=="boolean"&&a!==c&&c.toLowerCase().includes("disable");if((d?!w:r.manager.isLit?w??void 0:w)===s)return s;e[a]=d?!s:s;let f=e[a];return d?!f:f},r=t.component,p=r.manager.internals;n.forEach((s,o)=>{p.accessorGetter[o]=i,p.accessorSetter[o]=u})},watchAccessorUpdates(t,e,n){let{component:i}=t,u=i,r=e,p=B(e);I(()=>n.forEach((s,o)=>{if(p.has(s))return;let c=u[o],a=r[s];i.manager.isLit&&(a??(a=void 0));let d=typeof c=="boolean"&&s!==o&&o.toLowerCase().includes("disable")?!c:c;d!=null&&a!==d&&(r[s]=d)})),t.onLifecycle(()=>{if(!e.destroyed)return Array.from(n,([s,o])=>t.reactiveUtils.watch(()=>r[o],()=>{let c=r[o],w=typeof c=="boolean"&&o!==s&&s.toLowerCase().includes("disable")?!c:c;P(()=>{u[s]=w})},{initial:!0}))})},reEmitAccessorEvents(t,e,n,i){if(!("on"in e&&typeof e.on=="function"))return;let r=Object.entries(t.component).map(([o,c])=>{let a=c;if(!o.startsWith(i)||o===i||typeof a!="object"||a===null||!("emit"in a)||typeof a.emit!="function")return;let w=a.emit,d=o.slice(i.length);return[C(d).toLowerCase(),w]}).filter($);if(r.length===0)return;let p=e,s=()=>p;t.onLifecycle(()=>{if(!e.destroyed)return r.map(([o,c])=>n.on(s,o,c))})},async reCreate(t,e){let n=e.manager.useRefSync(t);n!==void 0&&await n.reCreate()}};function B(t){let n=Object.entries(t.__accessor__?.metadata??{});return new Set(n.filter(([i,u])=>u?.readOnly===!0).map(([i])=>i))}function q(t,e){let n=L(),i=A(),u=n.manager;u.onLoaded(()=>{i.then(p=>u.onLifecycle(()=>p.on(t,e,r.emit)))});let r=n.constructor.$createEvent(e,void 0,n);return r}export{_ as a,E as b,M as c,q as d};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.2
|
5
|
-
*/
|
6
|
-
var n=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function a(t){return t.default!==void 0}async function r(){if(n)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await import("@arcgis/core/layers/GraphicsLayer.js");return a(t)?t.default:t}async function dt(t){let i=await r();return new i(t)}async function mt(){if(n)return await window.$arcgis.import("esri/layers/Layer");let t=await import("@arcgis/core/layers/Layer.js");return a(t)?t.default:t}async function e(){if(n)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await import("@arcgis/core/layers/OrientedImageryLayer.js");return a(t)?t.default:t}async function pt(t){let i=await e();return new i(t)}async function s(){if(n)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await import("@arcgis/core/layers/RouteLayer.js");return a(t)?t.default:t}async function yt(t){let i=await s();return new i(t)}async function o(){if(n)return await window.$arcgis.import("esri/views/MapView");let t=await import("@arcgis/core/views/MapView.js");return a(t)?t.default:t}async function gt(t){let i=await o();return new i(t)}async function c(){if(n)return await window.$arcgis.import("esri/views/SceneView");let t=await import("@arcgis/core/views/SceneView.js");return a(t)?t.default:t}async function lt(t){let i=await c();return new i(t)}async function w(){if(n)return await window.$arcgis.import("esri/WebMap");let t=await import("@arcgis/core/WebMap.js");return a(t)?t.default:t}async function $t(t){let i=await w();return new i(t)}async function u(){if(n)return await window.$arcgis.import("esri/WebScene");let t=await import("@arcgis/core/WebScene.js");return a(t)?t.default:t}async function Mt(t){let i=await u();return new i(t)}async function f(){if(n)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return a(t)?t.default:t}async function Lt(t){let i=await f();return new i(t)}async function d(){if(n)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return a(t)?t.default:t}async function St(t){let i=await d();return new i(t)}async function m(){if(n)return await window.$arcgis.import("esri/widgets/Attachments");let t=await import("@arcgis/core/widgets/Attachments.js");return a(t)?t.default:t}async function Vt(t){let i=await m();return new i(t)}async function p(){if(n)return await window.$arcgis.import("esri/widgets/BasemapGallery");let t=await import("@arcgis/core/widgets/BasemapGallery.js");return a(t)?t.default:t}async function Tt(t){let i=await p();return new i(t)}async function y(){if(n)return await window.$arcgis.import("esri/widgets/BasemapLayerList");let t=await import("@arcgis/core/widgets/BasemapLayerList.js");return a(t)?t.default:t}async function Dt(t){let i=await y();return new i(t)}async function g(){if(n)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");let t=await import("@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js");return a(t)?t.default:t}async function Ft(t){let i=await g();return new i(t)}async function l(){if(n)return await window.$arcgis.import("esri/widgets/Bookmarks");let t=await import("@arcgis/core/widgets/Bookmarks.js");return a(t)?t.default:t}async function kt(t){let i=await l();return new i(t)}async function $(){if(n)return await window.$arcgis.import("esri/widgets/BuildingExplorer");let t=await import("@arcgis/core/widgets/BuildingExplorer.js");return a(t)?t.default:t}async function Ct(t){let i=await $();return new i(t)}async function M(){if(n)return await window.$arcgis.import("esri/widgets/CatalogLayerList");let t=await import("@arcgis/core/widgets/CatalogLayerList.js");return a(t)?t.default:t}async function ht(t){let i=await M();return new i(t)}async function L(){if(n)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");let t=await import("@arcgis/core/widgets/Compass/CompassViewModel.js");return a(t)?t.default:t}async function vt(t){let i=await L();return new i(t)}async function S(){if(n)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await import("@arcgis/core/widgets/CoordinateConversion.js");return a(t)?t.default:t}async function Bt(t){let i=await S();return new i(t)}async function V(){if(n)return await window.$arcgis.import("esri/widgets/Daylight");let t=await import("@arcgis/core/widgets/Daylight.js");return a(t)?t.default:t}async function bt(t){let i=await V();return new i(t)}async function T(){if(n)return await window.$arcgis.import("esri/widgets/DirectionalPad");let t=await import("@arcgis/core/widgets/DirectionalPad.js");return a(t)?t.default:t}async function Ut(t){let i=await T();return new i(t)}async function D(){if(n)return await window.$arcgis.import("esri/widgets/Directions");let t=await import("@arcgis/core/widgets/Directions.js");return a(t)?t.default:t}async function Et(t){let i=await D();return new i(t)}async function F(){if(n)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return a(t)?t.default:t}async function At(t){let i=await F();return new i(t)}async function k(){if(n)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");let t=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return a(t)?t.default:t}async function Ht(t){let i=await k();return new i(t)}async function C(){if(n)return await window.$arcgis.import("esri/widgets/Editor");let t=await import("@arcgis/core/widgets/Editor.js");return a(t)?t.default:t}async function Nt(t){let i=await C();return new i(t)}async function h(){if(n)return await window.$arcgis.import("esri/widgets/ElevationProfile");let t=await import("@arcgis/core/widgets/ElevationProfile.js");return a(t)?t.default:t}async function Pt(t){let i=await h();return new i(t)}async function v(){if(n)return await window.$arcgis.import("esri/widgets/Expand");let t=await import("@arcgis/core/widgets/Expand.js");return a(t)?t.default:t}async function Wt(t){let i=await v();return new i(t)}async function B(){if(n)return await window.$arcgis.import("esri/widgets/Feature");let t=await import("@arcgis/core/widgets/Feature.js");return a(t)?t.default:t}async function xt(t){let i=await B();return new i(t)}async function b(){if(n)return await window.$arcgis.import("esri/widgets/FeatureForm");let t=await import("@arcgis/core/widgets/FeatureForm.js");return a(t)?t.default:t}async function Ot(t){let i=await b();return new i(t)}async function U(){if(n)return await window.$arcgis.import("esri/widgets/Features");let t=await import("@arcgis/core/widgets/Features.js");return a(t)?t.default:t}async function Rt(t){let i=await U();return new i(t)}async function E(){if(n)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await import("@arcgis/core/widgets/FeatureTable.js");return a(t)?t.default:t}async function Gt(t){let i=await E();return new i(t)}async function A(){if(n)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await import("@arcgis/core/widgets/FeatureTemplates.js");return a(t)?t.default:t}async function It(t){let i=await A();return new i(t)}async function H(){if(n)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await import("@arcgis/core/widgets/FloorFilter.js");return a(t)?t.default:t}async function Zt(t){let i=await H();return new i(t)}async function N(){if(n)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");let t=await import("@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js");return a(t)?t.default:t}async function jt(t){let i=await N();return new i(t)}async function P(){if(n)return await window.$arcgis.import("esri/widgets/Histogram");let t=await import("@arcgis/core/widgets/Histogram.js");return a(t)?t.default:t}async function qt(t){let i=await P();return new i(t)}async function W(){if(n)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");let t=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return a(t)?t.default:t}async function zt(t){let i=await W();return new i(t)}async function x(){if(n)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");let t=await import("@arcgis/core/widgets/Home/HomeViewModel.js");return a(t)?t.default:t}async function Jt(t){let i=await x();return new i(t)}async function O(){if(n)return await window.$arcgis.import("esri/widgets/LayerList");let t=await import("@arcgis/core/widgets/LayerList.js");return a(t)?t.default:t}async function Kt(t){let i=await O();return new i(t)}async function R(){if(n)return await window.$arcgis.import("esri/widgets/Legend");let t=await import("@arcgis/core/widgets/Legend.js");return a(t)?t.default:t}async function Qt(t){let i=await R();return new i(t)}async function G(){if(n)return await window.$arcgis.import("esri/widgets/LineOfSight");let t=await import("@arcgis/core/widgets/LineOfSight.js");return a(t)?t.default:t}async function Xt(t){let i=await G();return new i(t)}async function I(){if(n)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");let t=await import("@arcgis/core/widgets/Locate/LocateViewModel.js");return a(t)?t.default:t}async function Yt(t){let i=await I();return new i(t)}async function Z(){if(n)return await window.$arcgis.import("esri/widgets/Measurement");let t=await import("@arcgis/core/widgets/Measurement.js");return a(t)?t.default:t}async function _t(t){let i=await Z();return new i(t)}async function j(){if(n)return await window.$arcgis.import("esri/widgets/NavigationToggle");let t=await import("@arcgis/core/widgets/NavigationToggle.js");return a(t)?t.default:t}async function ti(t){let i=await j();return new i(t)}async function q(){if(n)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");let t=await import("@arcgis/core/widgets/OrientedImageryViewer.js");return a(t)?t.default:t}async function ii(t){let i=await q();return new i(t)}async function z(){if(n)return await window.$arcgis.import("esri/widgets/Print");let t=await import("@arcgis/core/widgets/Print.js");return a(t)?t.default:t}async function ni(t){let i=await z();return new i(t)}async function J(){if(n)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");let t=await import("@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js");return a(t)?t.default:t}async function ai(t){let i=await J();return new i(t)}async function K(){if(n)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");let t=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return a(t)?t.default:t}async function ri(t){let i=await K();return new i(t)}async function Q(){if(n)return await window.$arcgis.import("esri/widgets/Search");let t=await import("@arcgis/core/widgets/Search.js");return a(t)?t.default:t}async function ei(t){let i=await Q();return new i(t)}async function X(){if(n)return await window.$arcgis.import("esri/widgets/ShadowCast");let t=await import("@arcgis/core/widgets/ShadowCast.js");return a(t)?t.default:t}async function si(t){let i=await X();return new i(t)}async function Y(){if(n)return await window.$arcgis.import("esri/widgets/Sketch");let t=await import("@arcgis/core/widgets/Sketch.js");return a(t)?t.default:t}async function oi(t){let i=await Y();return new i(t)}async function _(){if(n)return await window.$arcgis.import("esri/widgets/Slice");let t=await import("@arcgis/core/widgets/Slice.js");return a(t)?t.default:t}async function ci(t){let i=await _();return new i(t)}async function tt(){if(n)return await window.$arcgis.import("esri/widgets/Slider");let t=await import("@arcgis/core/widgets/Slider.js");return a(t)?t.default:t}async function wi(t){let i=await tt();return new i(t)}async function it(){if(n)return await window.$arcgis.import("esri/widgets/Swipe");let t=await import("@arcgis/core/widgets/Swipe.js");return a(t)?t.default:t}async function ui(t){let i=await it();return new i(t)}async function nt(){if(n)return await window.$arcgis.import("esri/widgets/TableList");let t=await import("@arcgis/core/widgets/TableList.js");return a(t)?t.default:t}async function fi(t){let i=await nt();return new i(t)}async function at(){if(n)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await import("@arcgis/core/widgets/TimeSlider.js");return a(t)?t.default:t}async function di(t){let i=await at();return new i(t)}async function rt(){if(n)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await import("@arcgis/core/widgets/Track/TrackViewModel.js");return a(t)?t.default:t}async function mi(t){let i=await rt();return new i(t)}async function et(){if(n)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return a(t)?t.default:t}async function pi(t){let i=await et();return new i(t)}async function st(){if(n)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return a(t)?t.default:t}async function yi(t){let i=await st();return new i(t)}async function ot(){if(n)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return a(t)?t.default:t}async function gi(t){let i=await ot();return new i(t)}async function ct(){if(n)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await import("@arcgis/core/widgets/ValuePicker.js");return a(t)?t.default:t}async function li(t){let i=await ct();return new i(t)}async function wt(){if(n)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return a(t)?t.default:t}async function $i(t){let i=await wt();return new i(t)}async function ut(){if(n)return await window.$arcgis.import("esri/widgets/Weather");let t=await import("@arcgis/core/widgets/Weather.js");return a(t)?t.default:t}async function Mi(t){let i=await ut();return new i(t)}async function ft(){if(n)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await import("@arcgis/core/widgets/Zoom/ZoomViewModel.js");return a(t)?t.default:t}async function Li(t){let i=await ft();return new i(t)}async function Si(){if(n)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return a(t)?t.default:t}async function Vi(){if(n)return await window.$arcgis.import("esri/intl");let t=await import("@arcgis/core/intl.js");return a(t)?t.default:t}async function Ti(){if(n)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await import("@arcgis/core/applications/Components/getDefaultUnits.js");return a(t)?t.default:t}async function Di(){if(n)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await import("@arcgis/core/applications/Components/basemapUtils.js");return a(t)?t.default:t}export{dt as a,mt as b,pt as c,yt as d,gt as e,lt as f,$t as g,Mt as h,Lt as i,St as j,Vt as k,Tt as l,Dt as m,Ft as n,kt as o,Ct as p,ht as q,vt as r,Bt as s,bt as t,Ut as u,Et as v,At as w,Ht as x,Nt as y,Pt as z,Wt as A,xt as B,Ot as C,Rt as D,Gt as E,It as F,Zt as G,jt as H,qt as I,zt as J,Jt as K,Kt as L,Qt as M,Xt as N,Yt as O,_t as P,ti as Q,ii as R,ni as S,ai as T,ri as U,ei as V,si as W,oi as X,ci as Y,wi as Z,ui as _,fi as $,di as aa,mi as ba,pi as ca,yi as da,gi as ea,li as fa,$i as ga,Mi as ha,Li as ia,Si as ja,Vi as ka,Ti as la,Di as ma};
|