@arcgis/map-components 4.32.0-next.4 → 4.32.0-next.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{RX2GG6WZ.js → 24SNAQFB.js} +2 -2
- package/dist/arcgis-map-components/{2TU4K4ZK.js → 2SMPC5MW.js} +2 -2
- package/dist/arcgis-map-components/{7J2BBHTZ.js → 2SYOLQYX.js} +2 -2
- package/dist/arcgis-map-components/36IQXPWS.js +6 -0
- package/dist/arcgis-map-components/{RBC6EMOK.js → 3DQCBGVY.js} +2 -2
- package/dist/arcgis-map-components/{LKUQFQV7.js → 3KZVLYAO.js} +2 -2
- package/dist/arcgis-map-components/3MR7CVQG.js +6 -0
- package/dist/arcgis-map-components/{TSEJTJGB.js → 4HIIFIM3.js} +2 -2
- package/dist/arcgis-map-components/{X5BO5HYN.js → 4TMX3TR6.js} +2 -2
- package/dist/arcgis-map-components/{NOH2I5QA.js → 4TTQIPVW.js} +2 -2
- package/dist/arcgis-map-components/{BRXBPWDR.js → 5CI7SDNV.js} +2 -2
- package/dist/arcgis-map-components/{MOB7HD5O.js → 5D3VCFGX.js} +2 -2
- package/dist/arcgis-map-components/637HEB3H.js +6 -0
- package/dist/arcgis-map-components/{RYLPL2QP.js → 66TL7NFF.js} +2 -2
- package/dist/arcgis-map-components/{KNYSVWCR.js → 73JPRVSI.js} +2 -2
- package/dist/arcgis-map-components/{MRJXVNGR.js → 7D2YNTSB.js} +2 -2
- package/dist/arcgis-map-components/{WSU47LM5.js → 7EGR4Y2J.js} +2 -2
- package/dist/arcgis-map-components/{NNKT3ZIQ.js → 7RXDJC5R.js} +2 -2
- package/dist/arcgis-map-components/7VYUFIXI.js +6 -0
- package/dist/arcgis-map-components/{HX2TQK64.js → 7YMDQUB6.js} +2 -2
- package/dist/arcgis-map-components/{CP2BAVYK.js → BRHXNTWB.js} +2 -2
- package/dist/arcgis-map-components/{PZ5ZSV6X.js → CETQ53ZP.js} +2 -2
- package/dist/arcgis-map-components/{745T3RMX.js → CJJMVT5E.js} +1 -1
- package/dist/arcgis-map-components/{Y53UGIKL.js → CLVHTWNY.js} +2 -2
- package/dist/arcgis-map-components/{A2X5ZPAH.js → DFXQARET.js} +2 -2
- package/dist/arcgis-map-components/E36YZN6W.js +6 -0
- package/dist/arcgis-map-components/{RBLBRQU7.js → E5H5HR6J.js} +1 -1
- package/dist/arcgis-map-components/{5C7V6I7B.js → EGJMTV56.js} +2 -2
- package/dist/arcgis-map-components/{OLSCWJ46.js → EVT2VRE5.js} +2 -2
- package/dist/arcgis-map-components/{EFFYUWHZ.js → FW3T6ECC.js} +2 -2
- package/dist/arcgis-map-components/{5QGKKOO2.js → GMM2W3HQ.js} +2 -2
- package/dist/arcgis-map-components/{XK4K5FLG.js → HBFLM7YV.js} +2 -2
- package/dist/arcgis-map-components/{XNE3HH7U.js → HE7XC6AR.js} +2 -2
- package/dist/arcgis-map-components/{RXXYBCBD.js → HJCXP2WK.js} +2 -2
- package/dist/arcgis-map-components/{KISEOPFS.js → ISHWWNY2.js} +2 -2
- package/dist/arcgis-map-components/{PJWTTRNK.js → J4TMVI4E.js} +2 -2
- package/dist/arcgis-map-components/J6KFG7TN.js +6 -0
- package/dist/arcgis-map-components/{PE2B6HSL.js → J6NJKKTI.js} +2 -2
- package/dist/arcgis-map-components/JJDY7KSD.js +8 -0
- package/dist/arcgis-map-components/JNEZWGBE.js +6 -0
- package/dist/arcgis-map-components/{37EH3GXO.js → KSBRMLEN.js} +2 -2
- package/dist/arcgis-map-components/{U7M4HU4O.js → LBEXXOWO.js} +2 -2
- package/dist/arcgis-map-components/{ZUA5WCPQ.js → LQUYTA7I.js} +2 -2
- package/dist/arcgis-map-components/{6FOWAKPD.js → LRCZBJDH.js} +2 -2
- package/dist/arcgis-map-components/{ZQZ6FPWL.js → LW3HUFWO.js} +2 -2
- package/dist/arcgis-map-components/{PPFSBSO6.js → NCEH2ZMS.js} +2 -2
- package/dist/arcgis-map-components/{JBY7SKZO.js → O5BSYHSV.js} +2 -2
- package/dist/arcgis-map-components/{VUQRGZNU.js → P3SSBSQT.js} +2 -2
- package/dist/arcgis-map-components/{I4UR5YDE.js → PSXNJOML.js} +2 -2
- package/dist/arcgis-map-components/{FJ62N2XU.js → QCMZM4AF.js} +2 -2
- package/dist/arcgis-map-components/{YEPK6QME.js → QKDBLRHF.js} +2 -2
- package/dist/arcgis-map-components/{E4ACVVM2.js → SZETGIRJ.js} +2 -2
- package/dist/arcgis-map-components/{3LSJILGF.js → TD2XY3FY.js} +2 -2
- package/dist/arcgis-map-components/TLO6WHPT.js +6 -0
- package/dist/arcgis-map-components/{2IEUTOD2.js → TOKGIVAQ.js} +2 -2
- package/dist/arcgis-map-components/TQHM63NN.js +6 -0
- package/dist/arcgis-map-components/{4G7Q6XPC.js → TX7RUHO3.js} +2 -2
- package/dist/arcgis-map-components/{4PIDQHBD.js → U3QQOGCX.js} +2 -2
- package/dist/arcgis-map-components/UQULOYX4.js +6 -0
- package/dist/arcgis-map-components/VG3S52TV.js +6 -0
- package/dist/arcgis-map-components/{ZLZMFYTA.js → VLFUOMW6.js} +2 -2
- package/dist/arcgis-map-components/{MXRSWKTA.js → VSWD2TKY.js} +2 -2
- package/dist/arcgis-map-components/{SLP6HRCX.js → WUVZNI3C.js} +2 -2
- package/dist/arcgis-map-components/{6GJAHGDQ.js → XI5JYUM4.js} +2 -2
- package/dist/arcgis-map-components/{CH2Z5YBN.js → XK5OY4CK.js} +2 -2
- package/dist/arcgis-map-components/{TCMGOO25.js → YCY6NWIF.js} +2 -2
- package/dist/arcgis-map-components/{UUSC7Z5K.js → YIXZSQXR.js} +2 -2
- package/dist/arcgis-map-components/{TYTFYYYO.js → YR736BSI.js} +2 -2
- package/dist/arcgis-map-components/{YRZXRBP4.js → YWSTONNA.js} +2 -2
- package/dist/arcgis-map-components/{IZGA4O3A.js → YYOBGXDU.js} +2 -2
- package/dist/arcgis-map-components/{TDHEAF7T.js → ZZMIFGIK.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 +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +6 -6
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +3 -3
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/docs.json +2 -2
- package/dist/docs/manifest.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +12 -12
- package/dist/arcgis-map-components/7VSQNBF3.js +0 -6
- package/dist/arcgis-map-components/7WW23BF5.js +0 -6
- package/dist/arcgis-map-components/ABQRV7US.js +0 -6
- package/dist/arcgis-map-components/BUWT2W52.js +0 -6
- package/dist/arcgis-map-components/GHNDYLBV.js +0 -6
- package/dist/arcgis-map-components/H5DMP6GW.js +0 -6
- package/dist/arcgis-map-components/L3XQEWHE.js +0 -8
- package/dist/arcgis-map-components/SUBG4KNV.js +0 -6
- package/dist/arcgis-map-components/VE7TQ3U7.js +0 -6
- package/dist/arcgis-map-components/W22D5PHH.js +0 -6
- package/dist/arcgis-map-components/W72GKZOE.js +0 -6
- package/dist/arcgis-map-components/XWTZLYTG.js +0 -6
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{I as r}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as a,G as o,o as i,y as e,z as s}from"./JJDY7KSD.js";var h=n(r),t=class extends a{constructor(){super(...arguments),this.widget=h(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.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};o("arcgis-histogram",t);export{t as ArcgisHistogram};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as N,b as _}from"./
|
6
|
+
import{a as N,b as _}from"./NCEH2ZMS.js";import{a as C,b as M}from"./4TMX3TR6.js";import"./JNEZWGBE.js";import{ga as y,ja as P}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as V,C as L,G as S,m as E,p as I,q as v,y as w,z as u}from"./JJDY7KSD.js";var F=I`.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,b=M(y),f=class extends V{constructor(){super(...arguments),this.flowElement=N(),this.messages=C({blocking:!0}),this.reactiveUtils=E(P),this.viewModel=b(this),this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=w(),this.arcgisVersioningStateChanged=w()}static{this.properties={allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.shadowRootOptions=u}static{this.styles=F}async destroy(){await this.manager.destroy()}load(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.viewModel.state,i=>{let{flowElement:{value:r}}=this,o=r?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=r?.getElementsByTagName("arcgis-version-management-version-list")[0];if(i==="disabled"){o&&this._removeVersionPropertiesFlowItem(r),t&&this._removeVersionListFlowItem(r);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:i}),o&&(o.versionPropertiesElementProps={...o.versionPropertiesElementProps,state:i})})])}_createVersionPropertiesFlowItem(e,i){let{closable:r,flowElement:{value:o},viewModel:t,viewModel:{state:a}}=this,s=document.createElement("arcgis-version-management-version-properties");return s.versionPropertiesElementProps={closable:r,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),serviceUrl:e,state:a,strings:this.messages,versionInfo:i},s.addEventListener("arcgisCreateVersion",n=>{let{createVersionParameters:l,switchToVersion:m}=n.detail;t.createVersion(l).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:c.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),m&&await this.viewModel.changeVersion(e,c.versionIdentifier.name,c.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:c.versionIdentifier,versioningState:t.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{o&&this._removeVersionPropertiesFlowItem(o)})}),s.addEventListener("arcgisAlterVersion",async n=>{let{flowElement:{value:l}}=this,{alterVersionParameters:m}=n.detail;await t.alterVersion(m).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:m.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{l&&this._removeVersionPropertiesFlowItem(l)})}),s.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),s.addEventListener("calciteFlowItemBack",n=>{n.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value)}),s.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),s}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:r,versionInfo:o}=e.detail,{viewModel:t,flowElement:a}=this;switch(i){case"changeVersion":{t.changeVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(s=>{s&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(r)});let n=a.value?.getElementsByTagName("arcgis-version-management-version-list")[0];n&&n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{t.deleteVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(async s=>{s&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(r)}),await this._refreshVersionList(r)});break}case"editVersion":{let s=this._createVersionPropertiesFlowItem(r,o);a.value?.appendChild(s);break}}}async _refreshVersionList(e){let{flowElement:{value:i},viewModel:r}=this;if(i){let o=await r.getVersionInfos(e),t=i.getElementsByTagName("arcgis-version-management-service-item");for(let s of t)s.serviceItemElementProps.serviceUrl===e&&(s.serviceItemElementProps={...s.serviceItemElementProps,versionInfos:o});let a=i.getElementsByTagName("arcgis-version-management-version-list")[0];a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:r.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:o})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&e.removeChild(i),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i),i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(i.getElementsByTagName("calcite-flow-item")[0].hidden=!1)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:r},label:o,messages:t,pageSize:a,viewModel:s,viewModel:{loadError:n,state:l}}=this,m=Array.from(s.serviceNameLookup,([d,h])=>({url:d,name:h})),c=l!=="disabled"?m.map(d=>{let h={allowEditing:!e,closable:i,currentUser:s.userLookup.get(d.url),currentVersionIdentifier:s.versioningStateLookup.get(d.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:r,hasAdvEditingUte:s.advancedEditingUserTypeExtensionLookup.get(d.url),heading:o,isVersioningApiAvailable:(s.serverVersionLookup.get(d.url)??0)>=11.2,pageSize:a,serviceName:d.name,state:l,serviceUrl:d.url,strings:t,versionInfos:s.versioningStateLookup.get(d.url)?.versionInfos??[]};return v`<arcgis-version-management-service-item .serviceItemElementProps=${h} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{r&&this._removeVersionListFlowItem(r)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${p=>{let k=this._createVersionPropertiesFlowItem(p.detail.serviceUrl,void 0);r?.appendChild(k)}}></arcgis-version-management-service-item>`}):void 0,g=l==="disabled"?v`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(n)}</div></calcite-notice>`:void 0;return v`<calcite-flow class=${L(this.mode==="dialog"?"":"calcite-flow-widget")} ${_(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${(o??void 0)||""} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}}><calcite-panel .loading=${l==="loading"||l==="executing"||""}>${c}${g}</calcite-panel></calcite-flow-item></calcite-flow>`}};S("arcgis-version-management",f);export{f as ArcgisVersionManagement};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as o}from"./
|
6
|
+
import{a as o}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{U as n}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as a,G as l,o as i,y as t,z as s}from"./JJDY7KSD.js";var h=o(n),e=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.position="bottom-left",this.region=this.widget.region,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=t()}static{this.properties={autoDestroyDisabled:5,disabled:7,hidePreview:5,hideScaleMenusMaxScaleMenu:5,hideScaleMenusMinScaleMenu:5,icon:1,label:1,layer:0,maxScale:9,maxScaleLimit:9,minScale:9,minScaleLimit:9,mode:1,position:1,referenceElement:1,region:1,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};l("arcgis-scale-range-slider",e);export{e as ArcgisScaleRangeSlider};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as g}from"./
|
6
|
+
import{a as g}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{Q as r}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as o,G as a,o as i,y as s,z as e}from"./JJDY7KSD.js";var n=g(r),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("layout","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,layout:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}async toggle(){this.widget?.toggle()}};a("arcgis-navigation-toggle",t);export{t as ArcgisNavigationToggle};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{M as o}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as a,G as r,o as i,y as t,z as s}from"./JJDY7KSD.js";var h=n(o),e=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=t()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};r("arcgis-legend",e);export{e as ArcgisLegend};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./E36YZN6W.js";import{d as n}from"./JNEZWGBE.js";import{D as h}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as o,G as r,o as i,y as s,z as a}from"./JJDY7KSD.js";var c=d(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=i()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"triggerAction")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,l){return await this.widget?.fetchFeatures(e,l)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};r("arcgis-features",t);export{t as ArcgisFeatures};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{A as n}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as o,G as a,p as e,y as i,z as s}from"./JJDY7KSD.js";var d=e`arcgis-expand{pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`,p=c(n),t=class extends o{constructor(){super(),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoCollapse=this.widget.autoCollapse,this.autoDestroyDisabled=!1,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.content=this.widget.content,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.expanded=this.widget.expanded,this.group=this.widget.group,this.icon=this.widget.icon,this.iconNumber=this.widget.iconNumber,this.label=this.widget.label,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.arcgisReady=i(),this.content??=document.createElement("div")}static{this.properties={autoCollapse:5,autoDestroyDisabled:5,closeOnEsc:5,collapseIcon:1,collapseTooltip:1,content:1,expandIcon:1,expandTooltip:1,expanded:7,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=s}static{this.styles=d}async collapse(){this.widget?.collapse()}async destroy(){await this.manager.destroy()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}};a("arcgis-expand",t);export{t as ArcgisExpand};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{j as r}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as a,G as o,o as s,y as i,z as e}from"./JJDY7KSD.js";var h=n(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=i()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
|
@@ -0,0 +1,6 @@
|
|
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.5
|
5
|
+
*/
|
6
|
+
import{a as p}from"./E5H5HR6J.js";import{a as S,b as k}from"./4TMX3TR6.js";import"./JNEZWGBE.js";import{ma as M,n as x}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as f,C as a,D as d,E as o,G as T,a as m,m as y,o as _,q as l,y as w,z as B}from"./JJDY7KSD.js";var s="esri-basemap-toggle",n="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${n} ${s}__container`,image:`${n}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${n}__overlay ${s}__image-overlay`,title:`${n}__title ${s}__title`,overlayScrim:`${n}__overlay-scrim`},L=k(x),g=class extends f{constructor(){super(...arguments),this.basemapUtils=y(M),this.messages=S(),this.viewModel=L(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("nextBasemap","state"),this.arcgisReady=w()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=B}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let r=this.basemapUtils.getBasemapThumbnailUrl(t);return r?{backgroundImage:`url(${r})`}:{backgroundImage:""}}render(){let t=this.viewModel,r=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,C=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,I=b||u,A=this._getThumbnailStyles(r),D=this._getThumbnailStyles(i);return I&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,p.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${(this.label??void 0)||""} @click=${()=>void this.toggle()} title=${((this.label??void 0)||"")??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${d(A)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${d(D)}>${$||C?l`<calcite-scrim><span aria-hidden=true class=${a(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};T("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as v,b as m}from"./
|
6
|
+
import{a as v,b as m}from"./NCEH2ZMS.js";import{B as p,G as f,q as n,y as o}from"./JJDY7KSD.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,isVersioningApiAvailable:g,pageSize:s,serviceName:V,serviceUrl:a,state:I,strings:{headers:_},strings:r,versionInfos:E}}=this,$=n`<calcite-block .heading=${_.currentVersion} .description=${c.name} overlay-positioning=fixed></calcite-block>`,P=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 x=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,b=this._paginate(this._paginatedVersionInfos,s,1).map(k=>n`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:t,currentVersionIdentifier:c,isCurrentVersionCard:!1,hasAdvEditingUte:d,isVersioningApiAvailable:g,serviceUrl:a,strings:r,versionInfo:k}}></arcgis-version-management-version-item>`),C=E.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>${b}</calcite-list>`,U=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,w=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=${V} .heading=${u}><calcite-panel .loading=${I==="executing"}>${$}<calcite-panel .heading=${this._filteredVersionInfos.length?`${r.headers.manageVersions} (${this._filteredVersionInfos.length})`:r.headers.manageVersions}>${P}${C}${L}${U}</calcite-panel>${x}${w}</calcite-panel></calcite-flow-item>`}};f("arcgis-version-management-version-list",l);export{l as ArcgisVersionManagementVersionList};
|
@@ -0,0 +1,8 @@
|
|
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.5
|
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 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 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),et="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]=zt(e,o)),await Et[s]}var Et={};async function zt(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===et?{}:await zt(et,t)}function Ct(e){let t=Ge(e,"lang",globalThis.navigator?.language||et);return{lang:t,t9nLocale:Wt(t)}}function Wt(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?Wt(o):et}function Bt(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 ot=e=>e.replace(Ze,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ze=/[A-Z]+(?![a-z])|[A-Z]/gu;function Ft(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 Gt(e){return e!==void 0}function Kt(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(Gt))}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 qt(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 Qt=e=>typeof e=="object"&&e!==null&&(st 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 G(e){return B}var P=[];function nt(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 Zt(){return P}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=Lt(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=Lt(e);return await t.ready,t},Lt=e=>{let t=ro();if(t!==void 0)return t;let o=G().manager.internals.resolveExports(e);if(o!==void 0)return o;if(Qt(e))return e},$={setter:!1,getter:!1,readOnly:!1},F=new WeakMap,Xt;Xt=st;var Ot=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[Xt]=!0,this.ready=this._ready.promise,this._exports=Yt(this),this._exportWatchers=new Set;let t=e??G(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,t=!0){this._exports=t?Yt(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),so}get useRef(){return x(this.component),no}get useRefSync(){return x(this.component),Lt}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(Jt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Jt,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 Jt(e){p(e,void 0,this)}var te=Ot;function Yt(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;T===void 0&&queueMicrotask(K),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 K(){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 ee=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=wt,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=wt,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=rt in i,l=rt 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 V=E.manager.internals;v=V.accessorGetter[t](v,t);let y=V.getters[t]??At;for(let C=0;C<y.length;C++)v=y[C](v,t);return v}:i,g=h?function(v){let E=i.call(this),V=F.get(this);if(V===void 0){c.call(this,v);return}let y=V.manager.isLit?v??void 0:qt(v,s),C=V.manager.internals;if(y===E)c.call(this,y);else{let Ht=$.setter?At:C.setters[t]??At;for(let z=0;z<Ht.length&&(y=Ht[z](y,E,t),y!==E);z++);y=C.accessorSetter[t](y,E,t),c.call(this,y),y!==E&&C.enabledWatchers[t]?.forEach(z=>z(y,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,v)}:c;d&&(f[rt]=!0),h&&(g[rt]=!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=[],rt=Symbol(),wt=Symbol();function oe(e,t,r){let o=e.manager.internals;return o.trackedValue!==wt&&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 re(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&&oe(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:$t(i,c)!==void 0}),r),r}function ao(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function co(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function se(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ne=e=>(...t)=>{let r=Zt(),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 re(i,c=>c===void 0?void 0:lo(o,c,s),s)};function lo(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)?se(()=>{n[r]=e.exports}):n[r]=e.exports})}var ce=(e,t)=>new ho(e,t),ho=class extends te{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 ee(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,Kt(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=St in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=ie,c.accessorSetter[a]=ie,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),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 ${St} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,K(),e.enableReadonly?.(),this._controllers.forEach(uo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(fo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,mo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&q(this.component,St,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(yo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(go,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(vo,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(bo),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=Ft(e,po)}}},St="autoDestroyDisabled",po=1e3;var ie=e=>e;function uo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function fo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function mo(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function yo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function go(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function vo(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function bo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var Pt=e=>Eo(void 0,e);var _o=class extends Ot{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(){}},Eo=ne(_o);var mr=Pt;var gr=e=>(t={})=>Pt((r,o)=>{let s=Ct(r.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=r;o.onLifecycle(()=>Bt(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)),c(i.messageOverrides)},t.name));function c(a){let l=o.exports,d=l._original??l,h=le(d,a);a&&(h._original=d),o.exports=h}if("messageOverrides"in i&&o.onLifecycle(()=>q(i,"messageOverrides",c)),t.blocking){o.setProvisionalExports(n,!1);return}else return n});function le(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=le(e[o],s):r[o]=s??e[o]}),r}var vr=e=>Co,ae="arcgisPropertyChange",Co=(...e)=>Pt((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=>q(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,Tt=Symbol(),he=new WeakMap,J=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==Tt)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=he.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&he.set(r,t))}return t}toString(){return this.cssText}},de=e=>new J(typeof e=="string"?e:e+"",void 0,Tt),$o=(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 J(r,e,Tt)},xt=(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 de(r)})(e):e;var Dt=globalThis,ht=Dt.trustedTypes,pe=ht?ht.createPolicy("lit-html",{createHTML:e=>e}):void 0,kt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Ut="?"+A,Ao=`<${Ut}>`,k=document,Q=()=>k.createComment(""),Z=e=>e===null||typeof e!="object"&&typeof e!="function",Rt=Array.isArray,ve=e=>Rt(e)||typeof e?.[Symbol.iterator]=="function",Nt=`[
|
7
|
+
\f\r]`,Y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ue=/-->/g,fe=/>/g,N=RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
|
8
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),me=/'/g,ye=/"/g,be=/^(?:script|style|textarea|title)$/i,Mt=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),$r=Mt(1),Ar=Mt(2),wr=Mt(3),m=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),ge=new WeakMap,D=k.createTreeWalker(k,129);function _e(e,t){if(!Rt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return pe!==void 0?pe.createHTML(t):t}var Ee=(e,t)=>{let r=e.length-1,o=[],s,n=t===2?"<svg>":t===3?"<math>":"",i=Y;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===Y?d[1]==="!--"?i=ue:d[1]!==void 0?i=fe:d[2]!==void 0?(be.test(d[2])&&(s=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=s??Y,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]==='"'?ye:me):i===ye||i===me?i=N:i===ue||i===fe?i=Y:(i=N,s=void 0);let g=i===N&&e[c+1].startsWith("/>")?" ":"";n+=i===Y?a+Ao:h>=0?(o.push(l),a.slice(0,h)+kt+a.slice(h)+A+g):a+A+(h===-2?c:g)}return[_e(e,n+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},X=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]=Ee(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(kt)){let f=d[i++],g=s.getAttribute(h).split(A),S=/([.?@])?(.*)/.exec(f);a.push({type:1,index:n,name:S[2],strings:g,ctor:S[1]==="."?pt:S[1]==="?"?ut:S[1]==="@"?ft:R}),s.removeAttribute(h)}else h.startsWith(A)&&(a.push({type:6,index:n}),s.removeAttribute(h));if(be.test(s.tagName)){let h=s.textContent.split(A),f=h.length-1;if(f>0){s.textContent=ht?ht.emptyScript:"";for(let g=0;g<f;g++)s.append(h[g],Q()),D.nextNode(),a.push({type:2,index:++n});s.append(h[f],Q())}}}else if(s.nodeType===8)if(s.data===Ut)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=Z(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 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??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 H(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=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++}},H=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),Z(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):ve(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&&Z(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=X.createElement(_e(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=ge.get(t.strings);return r===void 0&&ge.set(t.strings,r=new X(t)),r}k(t){Rt(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(Q()),this.O(Q()),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=!Z(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||=!Z(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 R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},ut=class extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ft=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)}},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){U(this,t)}},Ce={M:kt,P:A,A:Ut,C:1,L:Ee,R:dt,D:ve,V:U,I:H,H:R,N:ut,U:ft,B:pt,F:mt},wo=Dt.litHtmlPolyfillSupport;wo?.(X,H),(Dt.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 H(t.insertBefore(Q(),n),n,void 0,r??{})}return s._$AI(e),s};var{is:Lo,defineProperty:Oo,getOwnPropertyDescriptor:So,getOwnPropertyNames:Po,getOwnPropertySymbols:To,getPrototypeOf:xo}=Object,gt=globalThis,Ae=gt.trustedTypes,No=Ae?Ae.emptyScript:"",Do=gt.reactiveElementPolyfillSupport,tt=(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}},jt=(e,t)=>!Lo(e,t),we={attribute:!0,type:String,converter:yt,reflect:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),gt.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=we){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&&Oo(this.prototype,t,s)}}static getPropertyDescriptor(t,r,o){let{get:s,set:n}=So(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)??we}static _$Ei(){if(this.hasOwnProperty(tt("elementProperties")))return;let t=xo(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(tt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tt("properties"))){let r=this.properties,o=[...Po(r),...To(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 xt(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??jt)(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[tt("elementProperties")]=new Map,w[tt("finalized")]=new Map,Do?.({ReactiveElement:w}),(gt.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 ko=globalThis.litElementPolyfillSupport;ko?.({LitElement:L});(globalThis.litElementVersions??=[]).push("4.1.0");var Le=";",vt=",",Oe=":",Se=!0,Pe=!0,Te=!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 xe=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 Ne="important",Ro=" !"+Ne,De=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(Ro);o.includes("-")||n?r.setProperty(o,n?s.slice(0,-11):s,n?Ne:""):r[o]=s}}return m}});var{I:ss}=Ce;var ke=e=>e.strings===void 0;var Mo={},Ue=(e,t=Mo)=>e._$AH=t;var jo=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(!ke(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 Ue(e),t}});var Me=(e="",t={},r=G())=>{let o={emit:s=>{e===""&&K();let n=new CustomEvent(e,{detail:s,cancelable:Pe,bubbles:Se,composed:Te,...t});return r.el.dispatchEvent(n),n}};return e===""&&it(r,s=>{e=s},o),o},fs=Me.bind(null,"");function je(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 Re={},vs=(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(Le),i=o?o?.split(vt).map(Ve):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 Ve(e){let t=e.split(Oe);return t.length===1?[t[0],ot(t[0])]:t}var Ho=globalThis.HTMLElement??Ve,j=class extends Ho{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){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=je(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(zo,i),this._store=i;let c=this.isConnected;(c||this._ancestorLoad)&&(i.connectedCallback?.(),c||i.disconnectedCallback())}};function zo([e,t]){this[e]=t}var Vt=Symbol.for("@arcgis/lumina:observedAttributes"),It=globalThis,Wo=Vt in It;It[Vt]??={};var Bo=It[Vt];if(!Wo){let e=t=>function(o,...s){if(Bo[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 Fo=()=>{},Go=class Ie extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=ce(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=Fo;let t=Ie.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===Re;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"?ot(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===Re?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??je(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}};Go.$createEvent=Me;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 Ls=e=>typeof e=="object"&&e!=null?xe(e):e,Os=e=>typeof e=="object"&&e!=null?De(e):e;var Ps=u;var Ko=He({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:ks,getAssetPath:Us,setAssetPath:Rs}=Ko;export{qo as a,ot as b,Ft as c,Gt as d,G as e,te as f,q as g,oe as h,re as i,ao as j,co as k,ne as l,mr as m,gr as n,vr as o,$o as p,$r as q,Ar as r,wr as s,u as t,_ as u,M as v,O as w,ke as x,fs as y,Re as z,vs as A,Go as B,Ls as C,Os as D,Ps as E,Ko as F,ks as G,Us as H};
|
@@ -0,0 +1,6 @@
|
|
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.5
|
5
|
+
*/
|
6
|
+
import{ja as L}from"./TLO6WHPT.js";import{b as v,d as y,e as w,f as E,h as _,i as g,j as P,k as C,l as b}from"./JJDY7KSD.js";var m;async function N(){return m??(m=L()),await m}var W=(e,o)=>(t,n)=>D(t,e,n),A=class extends E{constructor(e,o,t){super(e),this._loadAccessor=o,this._options=t,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(f.makeGetterProxy(e,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),_(e,n=>{n&&(this._instancePropName=n)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await N();let e=this.component,o=this._gatherParameters(),t=this._options?.editConstructorProperties?.call(e,o)??o,n=t instanceof Promise?await t:t,l=e,r=typeof this._instancePropName=="string"?l[this._instancePropName]:void 0;r!=null&&r!==this.exports?(this._instance=r,r.set(n)):this._instance=await this._createInstance(n),!e.manager.destroyed&&(f.watchComponentUpdates(this,this._instance,this._watchedProperties),f.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([t,n])=>[n,this.component[t]]).filter(([,t])=>t!==void 0))}async _createInstance(e){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(e):await this._loadAccessor(e)}_isAccessorConstructor(e){return"prototype"in e&&"declaredClass"in e.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},D=b(A),f={makeGetterProxy:(e,o,t,n)=>new Proxy({},{has:(l,r)=>typeof r=="string"||r in l,get:(l,r)=>{let p=Reflect.get(l,r);if(typeof r=="symbol"||r in Promise.prototype)return p;let c=r in l,s=t?.value??!0;return c||!s?p:g(e,i=>{i!==void 0&&o.set(i.key,r)},p)}}),watchComponentUpdates(e,o,t){function n(c,s){let i=t.get(s),a=o[i];return typeof a=="boolean"&&i!==s&&s.toLowerCase().includes("disable")?!a:a}let l=(c,s,i)=>{let a=t.get(i),d=o[a],h=typeof d=="boolean"&&a!==i&&i.toLowerCase().includes("disable");if((h?!d:r.manager.isLit?d??void 0:d)===c)return c;o[a]=h?!c:c;let u=o[a];return h?!u:u},r=e.component,p=r.manager.internals;t.forEach((c,s)=>{p.accessorGetter[s]=n,p.accessorSetter[s]=l})},watchAccessorUpdates(e,o,t){let{component:n}=e,l=n,r=o,p=V(o);C(()=>t.forEach((c,s)=>{if(p.has(c))return;let i=l[s],a=r[c];n.manager.isLit&&(a??(a=void 0));let h=typeof i=="boolean"&&c!==s&&s.toLowerCase().includes("disable")?!i:i;h!=null&&a!==h&&(r[c]=h)})),e.onLifecycle(()=>{if(!o.destroyed)return Array.from(t,([c,s])=>e.reactiveUtils.watch(()=>r[s],()=>{let i=r[s],d=typeof i=="boolean"&&s!==c&&c.toLowerCase().includes("disable")?!i:i;P(()=>{l[c]=d})},{initial:!0}))})},reEmitAccessorEvents(e,o,t,n){if(!("on"in o&&typeof o.on=="function"))return;let r=Object.entries(e.component).map(([s,i])=>{let a=i;if(!s.startsWith(n)||s===n||typeof a!="object"||a===null||!("emit"in a)||typeof a.emit!="function")return;let d=a.emit,h=s.slice(n.length);return[v(h).toLowerCase(),d]}).filter(y);if(r.length===0)return;let p=o,c=()=>p;e.onLifecycle(()=>{if(!o.destroyed)return r.map(([s,i])=>t.on(c,s,i))})},async reCreate(e,o){let t=o.manager.useRefSync(e);t!==void 0&&await t.reCreate()}};function V(e){let t=Object.entries(e.__accessor__?.metadata??{});return new Set(t.filter(([n,l])=>l?.readOnly===!0).map(([n])=>n))}function R(e,o){let t=w(),n=t.manager,l=N();n.onLoaded(()=>{l.then(p=>n.onLifecycle(()=>p.on(e,o,r.emit)))});let r=t.constructor.$createEvent();return r}export{W as a,A as b,f as c,R as d};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{c as w}from"./
|
6
|
+
import{c as w}from"./JJDY7KSD.js";function o(e){e.el.childElem?e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el.childElem):e.widget?.view&&e.widget.view.ui.remove(e.el.childElem),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy()):w(()=>{e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el):e.widget?.view&&e.widget.view.ui.remove(e.el),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy())},1e3)}export{o as a};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{P as r}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as a,G as o,o as e,y as i,z as s}from"./JJDY7KSD.js";var h=n(r),t=class extends a{constructor(){super(...arguments),this.widget=h(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=i()}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=s}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};o("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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{x as r}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as o,G as a,o as s,y as i,z as e}from"./JJDY7KSD.js";var h=n(r),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};a("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{B as h}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as n,G as o,o as i,y as s,z as a}from"./JJDY7KSD.js";var r=d(h),e=class extends n{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3}}static{this.shadowRootOptions=a}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,l){this.widget?.setActiveMedia(t,l)}};o("arcgis-feature",e);export{e as ArcgisFeature};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as b,b as y}from"./
|
6
|
+
import{a as b,b as y}from"./NCEH2ZMS.js";import{a as t}from"./E5H5HR6J.js";import{a as v,b as k}from"./4TMX3TR6.js";import{d as s}from"./JNEZWGBE.js";import{O as f}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as g,C as r,E as u,G as w,a as d,o as h,q as e,y as p,z as m}from"./JJDY7KSD.js";var L={arrowDown:"esri-icon-arrow-down",arrowUp:"esri-icon-arrow-up",basemap:"esri-icon-basemap",bookmark:"esri-icon-bookmark",calendar:"esri-icon-calendar",checkMark:"esri-icon-check-mark",checkboxUnchecked:"esri-icon-checkbox-unchecked",close:"esri-icon-close",collapse:"esri-icon-collapse",defaultAction:"esri-icon-default-action",description:"esri-icon-description",directions:"esri-icon-directions",dockBottom:"esri-icon-dock-bottom",dockLeft:"esri-icon-dock-left",dockRight:"esri-icon-dock-right",down:"esri-icon-down",downArrow:"esri-icon-down-arrow",download:"esri-icon-download",dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical",duplicate:"esri-icon-duplicate",edit:"esri-icon-edit",elevationProfile:"esri-icon-elevation-profile",environmentSettings:"esri-icon-environment-settings",erase:"esri-icon-erase",error:"esri-icon-error",expand:"esri-icon-expand",fontFallbackText:"esri-icon-font-fallback-text",forward:"esri-icon-forward",gear:"esri-icon-gear",handleHorizontal:"esri-icon-handle-horizontal",handleVertical:"esri-icon-handle-vertical",home:"esri-icon-home",icon:"esri-icon",launchLinkExternal:"esri-icon-launch-link-external",layerList:"esri-icon-layer-list",layers:"esri-icon-layers",left:"esri-icon-left",leftArrows:"esri-icon-left-arrow",leftTriangleArrow:"esri-icon-left-triangle-arrow",lineOfSight:"esri-icon-line-of-sight",link:"esri-icon-link",linkExternal:"esri-icon-link-external",linkHorizontal:"esri-icon-link-horizontal",loadingIndicator:"esri-icon-loading-indicator",locate:"esri-icon-locate",locateCircled:"esri-icon-locate-circled",locked:"esri-icon-locked",mapPin:"esri-icon-map-pin",maximize:"esri-icon-maximize",measure:"esri-icon-measure",measureArea:"esri-icon-measure-area",measureBuildingHeightShadow:"esri-icon-measure-building-height-shadow",measureLine:"esri-icon-measure-line",menu:"esri-icon-menu",minimize:"esri-icon-minimize",minus:"esri-icon-minus",nonVisible:"esri-icon-non-visible",northNavigation:"esri-icon-north-navigation",noticeTriangle:"esri-icon-notice-triangle",organization:"esri-icon-organization",pan:"esri-icon-pan",pan2:"esri-icon-pan2",partlyCloudy:"esri-icon-partly-cloudy",pause:"esri-icon-pause",play:"esri-icon-play",playCircled:"esri-icon-play-circled",plus:"esri-icon-plus",polyline:"esri-icon-polyline",printer:"esri-icon-printer",radioChecked:"esri-icon-radio-checked",radioUnchecked:"esri-icon-radio-unchecked",refresh:"esri-icon-refresh",reverse:"esri-icon-reverse",right:"esri-icon-right",rightArrow:"esri-icon-right-arrow",rightTriangleArrow:"esri-icon-right-triangle-arrow",rotate:"esri-icon-rotate",save:"esri-icon-save",search:"esri-icon-search",settings2:"esri-icon-settings2",slice:"esri-icon-slice",swap:"esri-icon-swap",table:"esri-icon-table",timeClock:"esri-icon-time-clock",tracking:"esri-icon-tracking",trash:"esri-icon-trash",unlockedLinkHorizontal:"esri-icon-unlocked-link-horizontal",up:"esri-icon-up",upArrow:"esri-icon-up-arrow",upDownArrows:"esri-icon-up-down-arrows",urbanModel:"esri-icon-urban-model",vertexGps:"esri-icon-vertex-gps",visible:"esri-icon-visible",zoomInFixed:"esri-icon-zoom-in-fixed",zoomInMagnifyingGlass:"esri-icon-zoom-in-magnifying-glass",zoomOutFixed:"esri-icon-zoom-out-fixed",zoomToObject:"esri-icon-zoom-to-object"},T={base:"esri-locate"},E="gps-off",D=k(f),n=class extends g{constructor(){super(...arguments),this.messages=v(),this.viewModel=D(this),this._calciteButton=b(),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=E,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=s(()=>this.viewModel,"locateError"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p(),this.arcgisSuccess=s(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:3,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=m}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}updated(){if(this._calciteButton.value)if(this.viewModel.state==="locating"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_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}_locate(){let{viewModel:i}=this;i.state==="locating"?i.cancelLocate():i.locate().catch(()=>{})}render(){let{viewModel:i,icon:z}=this,{state:o}=i,a=o==="locating",c=a?this.messages.cancel:this.messages.title,M=o==="feature-unsupported",x=L===void 0?E:void 0,l=this._localizeError(this.viewModel?.error);return e`<div class=${r(d(T.base,t.widget))}>${!M&&e`<calcite-button class=${r(t.widgetButton)} .disabled=${o==="disabled"} .iconStart=${a?void 0:z??x} kind=neutral .label=${c} @click=${this._locate} title=${c??u} ${y(this._calciteButton)}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};w("arcgis-locate",n);export{n as ArcgisLocate};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{
|
6
|
+
import{t as c,u as A,v as d,w as _,x as v}from"./JJDY7KSD.js";var o=(t,s)=>{let e=t._$AN;if(e===void 0)return!1;for(let i of e)i._$AO?.(s,!1),o(i,s);return!0},n=t=>{let s,e;do{if((s=t._$AM)===void 0)break;e=s._$AN,e.delete(t),t=s}while(e?.size===0)},$=t=>{for(let s;s=t._$AM;t=s){let e=s._$AN;if(e===void 0)s._$AN=e=new Set;else if(e.has(t))break;e.add(t),m(s)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,$(this)):this._$AM=t}function u(t,s=!1,e=0){let i=this._$AH,f=this._$AN;if(f!==void 0&&f.size!==0)if(s)if(Array.isArray(i))for(let h=e;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==A.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(s,e,i){super._$AT(s,e,i),$(this),this.isConnected=s._$AU}_$AO(s,e=!0){s!==this.isConnected&&(this.isConnected=s,s?this.reconnected?.():this.disconnected?.()),e&&(o(this,s),n(this))}setValue(s){if(v(this.t))this.t._$AI(s,this);else{let e=[...this.t._$AH];e[this.i]=s,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var M=()=>new l,l=class{},a=new WeakMap,T=d(class extends r{render(t){return c}update(t,[s]){let e=s!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=s,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let s=this.ht??globalThis,e=a.get(s);e===void 0&&(e=new WeakMap,a.set(s,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{M as a,T as b};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{
|
6
|
+
import{B as p,E as v,G as h,q as o,y as g,z as m}from"./JJDY7KSD.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=g()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=m}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersioningApiAvailable:b,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,u=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&b&&f,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>`,I=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=${u} .value=${l}>${x}${I}<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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as l}from"./
|
6
|
+
import{a as l}from"./E36YZN6W.js";import"./JNEZWGBE.js";import{Y as r}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as a,G as o,o as t,y as s,z as i}from"./JJDY7KSD.js";var d=l(r),e=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=t()("analysis","state"),this.arcgisReady=s()}static{this.properties={analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=i}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-slice",e);export{e as ArcgisSlice};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as l}from"./
|
6
|
+
import{a as l}from"./E36YZN6W.js";import{d as t}from"./JNEZWGBE.js";import{o as d}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as a,G as h,o as e,y as s,z as o}from"./JJDY7KSD.js";var r=l(d),i=class extends a{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.hideFlow=this.widget.visibleElements.flow,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.state=this.viewModel.state,this.arcgisEdit=t(()=>this.widget,"bookmarkEdit"),this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisSelect=t(()=>this.widget,"bookmarkSelect")}static{this.properties={autoDestroyDisabled:5,bookmarks:0,defaultCreateOptions:0,defaultEditOptions:0,disabled:7,dragEnabled:5,filterPlaceholder:1,filterText:1,hideFlow:5,hideThumbnail:5,hideTime:5,icon:1,label:1,position:1,referenceElement:1,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,showHeading:5,state:3}}static{this.shadowRootOptions=o}async destroy(){await this.manager.destroy()}};h("arcgis-bookmarks",i);export{i as ArcgisBookmarks};
|
@@ -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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as t}from"./
|
6
|
+
import{a as t}from"./E5H5HR6J.js";import{a as p,b}from"./4TMX3TR6.js";import"./JNEZWGBE.js";import{ia as z}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as h,C as o,E as s,G as u,a,o as l,p as n,q as m,y as c,z as d}from"./JJDY7KSD.js";var g={base:"esri-zoom",horizontalLayout:"esri-zoom--horizontal"},v=n`.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),i=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??s}></calcite-button><calcite-button class=${o(t.widgetButton)} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??s}></calcite-button></div>`}};u("arcgis-zoom",i);export{i 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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{b as n,c as a,i as h}from"./
|
6
|
+
import{b as n,c as a,i as h}from"./CJJMVT5E.js";import{B as o,G as r,p as i,y as s,z as l}from"./JJDY7KSD.js";var c=i`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:flex}`,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=c}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&h(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.
|
4
|
+
* v4.32.0-next.5
|
5
5
|
*/
|
6
|
-
import{a as o}from"./
|
6
|
+
import{a as o}from"./E36YZN6W.js";import{d as t}from"./JNEZWGBE.js";import{V as c}from"./TLO6WHPT.js";import"./CJJMVT5E.js";import{B as h,G as l,o as i,y as a,z as r}from"./JJDY7KSD.js";var g=o(c),s=class extends h{constructor(){super(...arguments),this.widget=g(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,"searchBlur"),this.arcgisClear=t(()=>this.widget,"searchClear"),this.arcgisComplete=t(()=>this.widget,"searchComplete"),this.arcgisFocus=t(()=>this.widget,"searchFocus"),this.arcgisPropertyChange=i()("state"),this.arcgisReady=a(),this.arcgisSelectResult=t(()=>this.widget,"selectResult"),this.arcgisStart=t(()=>this.widget,"searchStart"),this.arcgisSuggestComplete=t(()=>this.widget,"suggestComplete"),this.arcgisSuggestStart=t(()=>this.widget,"suggestStart")}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=r}async blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async focusSearch(){this.widget?.focus()}async search(e){return await this.widget?.search(e)}async suggest(e){return await this.widget?.suggest(e)}};l("arcgis-search",s);export{s as ArcgisSearch};
|