@arcgis/coding-components 4.31.5 → 4.31.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +1 -1
  3. package/dist/arcgis-coding-components/index.esm.js +2 -2
  4. package/dist/arcgis-coding-components/{p-f627e723.js → p-0e1fbd8a.js} +1 -1
  5. package/dist/arcgis-coding-components/{p-255cb727.entry.js → p-23c494e7.entry.js} +2 -2
  6. package/dist/arcgis-coding-components/{p-3fb08b49.js → p-3407848d.js} +1 -1
  7. package/dist/arcgis-coding-components/{p-03bf19d2.js → p-4ae6ac05.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-0914e437.js → p-53e3b4ac.js} +2 -2
  9. package/dist/arcgis-coding-components/{p-a6b682c4.entry.js → p-66fcf2fd.entry.js} +2 -2
  10. package/dist/arcgis-coding-components/{p-199ba340.entry.js → p-734becde.entry.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-daf061ab.js → p-73844468.js} +2 -2
  12. package/dist/arcgis-coding-components/{p-aa99056d.js → p-82a15bcf.js} +2 -2
  13. package/dist/arcgis-coding-components/{p-b1f96803.js → p-8e2a8522.js} +2 -2
  14. package/dist/arcgis-coding-components/{p-bfc1bca8.js → p-98b3a749.js} +10 -10
  15. package/dist/arcgis-coding-components/{p-a4f29db0.js → p-9a87e0be.js} +2 -2
  16. package/dist/arcgis-coding-components/{p-a8bca87a.js → p-a2967dd6.js} +1 -1
  17. package/dist/arcgis-coding-components/{p-f4d57e7f.js → p-a49b800e.js} +2 -2
  18. package/dist/arcgis-coding-components/{p-398c21cf.js → p-d18fab08.js} +3 -3
  19. package/dist/arcgis-coding-components/{p-1101b0e4.js → p-e33e73c7.js} +2 -2
  20. package/dist/arcgis-coding-components/{p-0395fbb3.js → p-e9ae57c5.js} +2 -2
  21. package/dist/arcgis-coding-components/{p-ac06d96a.js → p-f81d34bb.js} +2 -2
  22. package/dist/cjs/{app-globals-6f525f70.js → app-globals-2c54b2b6.js} +1 -1
  23. package/dist/cjs/{arcade-defaults-c1f0857c.js → arcade-defaults-eebcc938.js} +3 -3
  24. package/dist/cjs/{arcade-mode-58825bba.js → arcade-mode-be827eb4.js} +3 -3
  25. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
  26. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  27. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
  28. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
  29. package/dist/cjs/{css-6b94c5fd.js → css-14a24649.js} +1 -1
  30. package/dist/cjs/{cssMode-ce367250.js → cssMode-9fa64d31.js} +3 -3
  31. package/dist/cjs/{html-e43436b1.js → html-e1c07d55.js} +3 -3
  32. package/dist/cjs/{htmlMode-dd65c4cb.js → htmlMode-3e701990.js} +3 -3
  33. package/dist/cjs/{index-a193f422.js → index-8eb4e2d1.js} +1 -1
  34. package/dist/cjs/index.cjs.js +4 -4
  35. package/dist/cjs/{javascript-1cae57eb.js → javascript-95a0b242.js} +4 -4
  36. package/dist/cjs/{jsonMode-37c1dfcd.js → jsonMode-f6fa032f.js} +3 -3
  37. package/dist/cjs/loader.cjs.js +3 -3
  38. package/dist/cjs/{sql-expr-defaults-c6bd0d1b.js → sql-expr-defaults-508276bc.js} +10 -10
  39. package/dist/cjs/{sql-expr-mode-6a98f850.js → sql-expr-mode-8a1c9f15.js} +3 -3
  40. package/dist/cjs/{tsMode-ca34d120.js → tsMode-0994fa26.js} +3 -3
  41. package/dist/cjs/{typescript-afa63033.js → typescript-297b72e8.js} +3 -3
  42. package/dist/cjs/{useT9n-2e938278.js → useT9n-d3c22597.js} +3 -3
  43. package/dist/components/arcade-defaults.js +1 -1
  44. package/dist/components/arcade-mode.js +1 -1
  45. package/dist/components/arcade-results.js +1 -1
  46. package/dist/components/arcade-suggestions.js +1 -1
  47. package/dist/components/arcgis-arcade-editor.js +1 -1
  48. package/dist/components/arcgis-arcade-results.js +1 -1
  49. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  50. package/dist/components/arcgis-assets.d.ts +1 -1
  51. package/dist/components/arcgis-assets.js +1 -1
  52. package/dist/components/arcgis-code-editor.js +1 -1
  53. package/dist/components/arcgis-editor-variables.js +1 -1
  54. package/dist/components/arcgis-language-api-panel.js +1 -1
  55. package/dist/components/arcgis-sql-expression-editor.js +1 -1
  56. package/dist/components/arcgis-sql-expression-fields.js +1 -1
  57. package/dist/components/chunk-UFIZBDFE.js +1 -1
  58. package/dist/components/code-editor.js +1 -1
  59. package/dist/components/editor-variables.js +1 -1
  60. package/dist/components/fields.js +1 -1
  61. package/dist/components/index.js +1 -1
  62. package/dist/components/index2.js +1 -1
  63. package/dist/components/language-api-panel.js +1 -1
  64. package/dist/components/markdown.js +1 -1
  65. package/dist/components/sql-expr-defaults.js +1 -1
  66. package/dist/components/sql-expr-mode.js +1 -1
  67. package/dist/components/useT9n.js +1 -1
  68. package/dist/components/utilities.js +1 -1
  69. package/dist/esm/{app-globals-8c223bb3.js → app-globals-016737a8.js} +1 -1
  70. package/dist/esm/{arcade-defaults-8b60f649.js → arcade-defaults-8895ea07.js} +3 -3
  71. package/dist/esm/{arcade-mode-5bece6a4.js → arcade-mode-3502091e.js} +3 -3
  72. package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
  73. package/dist/esm/arcgis-coding-components.js +4 -4
  74. package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
  75. package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
  76. package/dist/esm/{css-e0a3902d.js → css-33ba16f7.js} +1 -1
  77. package/dist/esm/{cssMode-a882cbe6.js → cssMode-4afc8a45.js} +3 -3
  78. package/dist/esm/{html-dfd00b6f.js → html-0c302211.js} +3 -3
  79. package/dist/esm/{htmlMode-ac8bc52b.js → htmlMode-5e85eb85.js} +3 -3
  80. package/dist/esm/{index-862f6e02.js → index-07000579.js} +1 -1
  81. package/dist/esm/index.js +4 -4
  82. package/dist/esm/{javascript-b416aac7.js → javascript-d496a490.js} +4 -4
  83. package/dist/esm/{jsonMode-d349ad7e.js → jsonMode-5a0104ea.js} +3 -3
  84. package/dist/esm/loader.js +4 -4
  85. package/dist/esm/{sql-expr-defaults-e2c7f032.js → sql-expr-defaults-68a11ad1.js} +10 -10
  86. package/dist/esm/{sql-expr-mode-41e80592.js → sql-expr-mode-14fb2806.js} +3 -3
  87. package/dist/esm/{tsMode-abbc733a.js → tsMode-de7e136d.js} +3 -3
  88. package/dist/esm/{typescript-6235d9d8.js → typescript-7de42909.js} +3 -3
  89. package/dist/esm/{useT9n-f0fb04ee.js → useT9n-66de25eb.js} +3 -3
  90. package/dist/loader/cdn.js +1 -1
  91. package/dist/loader/index.cjs.js +1 -1
  92. package/dist/loader/index.es2017.js +1 -1
  93. package/dist/loader/index.js +1 -1
  94. package/package.json +6 -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.31/esri/copyright.txt for details.
4
- * v4.31.5
4
+ * v4.31.6
5
5
  */
6
- import{p as e,b as i}from"./p-3fb08b49.js";export{s as setNonce}from"./p-3fb08b49.js";import{g as a}from"./p-f627e723.js";(()=>{const i=import.meta.url,a={};return""!==i&&(a.resourcesUrl=new URL(".",i).href),e(a)})().then((async e=>(await a(),i([["p-255cb727",[[0,"arcgis-arcade-editor",{profile:[16],script:[1025],testData:[16],suggestions:[16],snippets:[16],hideDocumentationActions:[4,"hide-documentation-actions"],hideSideBar:[4,"hide-side-bar"],sideActionBarExpanded:[1540,"side-action-bar-expanded"],openedSidePanel:[1537,"opened-side-panel"],editorOptions:[16],editorInstance:[16],_preparingArcade:[32],_editorProfile:[32],_apiLibrary:[32],_showExecutionPanel:[32],_resultPanel:[32],_executingScript:[32],_consoleLogs:[32],_executionResult:[32],messages:[32],getScript:[64],setFocus:[64],getEditorInstance:[64],getTestResult:[64]},null,{messages:["_messagesChanged"],profile:["_profileChanged"],testData:["_testDataChanged"],snippets:["_snippetChanged"]}],[1,"arcgis-arcade-results",{loading:[4],openedResultPanel:[1537,"opened-result-panel"],result:[16],consoleLogs:[16]}],[1,"arcgis-arcade-suggestions",{suggestions:[16],_selectedSuggestion:[32],_filterValue:[32],_colorizeStyle:[32]},null,{suggestions:["suggestionsPropChanged"]}],[0,"arcgis-code-editor",{value:[1],language:[1],modelId:[1,"model-id"],editorOptions:[16],editorInstance:[16],getValue:[64],setValue:[64],insertText:[64],insertSnippet:[64],getEditorInstance:[64],setFocus:[64]},null,{language:["languagePropChange"],modelId:["modelIdPropChange"],editorOptions:["editorOptionsPropChange"]}],[1,"arcgis-editor-variables",{loading:[4],modelId:[1,"model-id"],variable:[16],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32],_mode:[32]},null,{modelId:["modelIdPropChanged"],variable:["_variableChanged"]}],[1,"arcgis-language-api-panel",{hideDocumentationActions:[4,"hide-documentation-actions"],loading:[4],apiLibrary:[16],_selectedApiItem:[32],_filterValue:[32],_colorizeStyle:[32]},null,{apiLibrary:["_apiLibraryChanged"]}]]],["p-199ba340",[[0,"arcgis-sql-expression-editor",{profile:[16],script:[1025],hideSideBar:[4,"hide-side-bar"],_preparing:[32],_editorProfile:[32],_activeAction:[32],_apiLibrary:[32],sideActionBarExpanded:[32],messages:[32]},null,{messages:["_messagesChanged"],profile:["_profileChanged"]}]]],["p-a6b682c4",[[1,"arcgis-sql-expression-fields",{loading:[4],modelId:[1,"model-id"],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32]},null,{modelId:["modelIdPropChanged"]}]]]],e))));
6
+ import{p as e,b as i}from"./p-3407848d.js";export{s as setNonce}from"./p-3407848d.js";import{g as a}from"./p-0e1fbd8a.js";(()=>{const i=import.meta.url,a={};return""!==i&&(a.resourcesUrl=new URL(".",i).href),e(a)})().then((async e=>(await a(),i([["p-23c494e7",[[0,"arcgis-arcade-editor",{profile:[16],script:[1025],testData:[16],suggestions:[16],snippets:[16],hideDocumentationActions:[4,"hide-documentation-actions"],hideSideBar:[4,"hide-side-bar"],sideActionBarExpanded:[1540,"side-action-bar-expanded"],openedSidePanel:[1537,"opened-side-panel"],editorOptions:[16],editorInstance:[16],_preparingArcade:[32],_editorProfile:[32],_apiLibrary:[32],_showExecutionPanel:[32],_resultPanel:[32],_executingScript:[32],_consoleLogs:[32],_executionResult:[32],messages:[32],getScript:[64],setFocus:[64],getEditorInstance:[64],getTestResult:[64]},null,{messages:["_messagesChanged"],profile:["_profileChanged"],testData:["_testDataChanged"],snippets:["_snippetChanged"]}],[1,"arcgis-arcade-results",{loading:[4],openedResultPanel:[1537,"opened-result-panel"],result:[16],consoleLogs:[16]}],[1,"arcgis-arcade-suggestions",{suggestions:[16],_selectedSuggestion:[32],_filterValue:[32],_colorizeStyle:[32]},null,{suggestions:["suggestionsPropChanged"]}],[0,"arcgis-code-editor",{value:[1],language:[1],modelId:[1,"model-id"],editorOptions:[16],editorInstance:[16],getValue:[64],setValue:[64],insertText:[64],insertSnippet:[64],getEditorInstance:[64],setFocus:[64]},null,{language:["languagePropChange"],modelId:["modelIdPropChange"],editorOptions:["editorOptionsPropChange"]}],[1,"arcgis-editor-variables",{loading:[4],modelId:[1,"model-id"],variable:[16],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32],_mode:[32]},null,{modelId:["modelIdPropChanged"],variable:["_variableChanged"]}],[1,"arcgis-language-api-panel",{hideDocumentationActions:[4,"hide-documentation-actions"],loading:[4],apiLibrary:[16],_selectedApiItem:[32],_filterValue:[32],_colorizeStyle:[32]},null,{apiLibrary:["_apiLibraryChanged"]}]]],["p-734becde",[[0,"arcgis-sql-expression-editor",{profile:[16],script:[1025],hideSideBar:[4,"hide-side-bar"],_preparing:[32],_editorProfile:[32],_activeAction:[32],_apiLibrary:[32],sideActionBarExpanded:[32],messages:[32]},null,{messages:["_messagesChanged"],profile:["_profileChanged"]}]]],["p-66fcf2fd",[[1,"arcgis-sql-expression-fields",{loading:[4],modelId:[1,"model-id"],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32]},null,{modelId:["modelIdPropChanged"]}]]]],e))));
@@ -3,7 +3,7 @@
3
3
  \u2699\uFE0F Version: ${i}`),o&&(c+=`
4
4
  \u{1F517} See ${o} for more details.`),IU(e,c,s)}}var JE,O_=U(()=>{gt();JE=new WeakMap});function N_(e){return e!=null&&typeof e[Symbol.iterator]=="function"}var XE=U(()=>{});function R0(e){return e||"_default_"}function QE(e){for(let t of e)t instanceof Xf?t.removeAll():t.remove()}function KE(e){return e!=null&&(!!e.remove||e instanceof Xf)}var Xf,eT=U(()=>{XE();Xf=class{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let t=0;return this._groups.forEach(r=>{t+=r.length}),t}add(t,r){if(N_(t)){let n=this._getOrCreateGroup(r);for(let i of t)KE(i)&&n.push(i)}else KE(t)&&this._getOrCreateGroup(r).push(t);return this}forEach(t,r){if(typeof t=="function")this._groups.forEach(n=>n.forEach(t));else{let n=this._getGroup(t);n&&r&&n.forEach(r)}}has(t){return this._groups.has(R0(t))}remove(t){if(typeof t!="string"&&N_(t)){for(let r of t)this.remove(r);return this}return this.has(t)?(QE(this._getGroup(t)),this._groups.delete(R0(t)),this):this}removeAll(){return this._groups.forEach(QE),this._groups.clear(),this}removeReference(t){return this._groups.delete(t),this}_getOrCreateGroup(t){if(this.has(t))return this._getGroup(t);let r=[];return this._groups.set(R0(t),r),r}_getGroup(t){return this._groups.get(R0(t))}}});function gh(e){return e?.destroy(),null}function wh(e){return e?.remove(),null}function tT(e){return e?.abort(),null}var Ql=U(()=>{});function LU(e){return e?.release&&typeof e.release=="function"}function kU(e){return e?.acquire&&typeof e.acquire=="function"}var fo,yh=U(()=>{fo=class e{constructor(t,r,n,i=1,o=0){this._ctor=t,this._acquireFunction=r,this._releaseFunction=n,this.allocationSize=i,this._pool=new Array(o),this._initialSize=o;for(let s=0;s<o;s++)this._pool[s]=new this._ctor;this.allocationSize=Math.max(i,1)}destroy(){this.prune(0)}acquire(...t){let r;if(e.test.disabled)r=new this._ctor;else{if(this._pool.length===0){let n=this.allocationSize;for(let i=0;i<n;i++)this._pool[i]=new this._ctor}r=this._pool.pop()}return this._acquireFunction?this._acquireFunction(r,...t):kU(r)&&r.acquire(...t),r}release(t){t&&!e.test.disabled&&(this._releaseFunction?this._releaseFunction(t):LU(t)&&t.release(),this._pool.push(t))}prune(t=this._initialSize){if(!(t>=this._pool.length)){for(let r=t;r<this._pool.length;++r){let n=this._pool[r];this._dispose(n)}this._pool.length=t}}_dispose(t){t.dispose&&typeof t.dispose=="function"&&t.dispose()}};fo.test={disabled:!1}});var D0,rT=U(()=>{Ra();D0=class{constructor(t,r){this._observers=t,this._observer=r}remove(){P6(this._observers,this._observer)}}});var Qf,OU,R_=U(()=>{Xn();rT();Qf=class{constructor(){this._observers=null,this.destroyed=!1}observe(t){if(this.destroyed||t.destroyed)return OU;this._observers==null&&(this._observers=[]);let r=this._observers,n=!1,i=!1,o=r.length;for(let s=0;s<o;++s){let c=r[s];if(c.destroyed)i=!0;else if(c===t){n=!0;break}}return n||(r.push(t),i&&this._removeDestroyedObservers()),new D0(r,t)}_removeDestroyedObservers(){let t=this._observers;if(!t||t.length===0)return;let r=t.length,n=0;for(let i=0;i<r;++i){for(;i+n<r&&t[i+n].destroyed;)++n;if(n>0){if(!(i+n<r))break;t[i]=t[i+n]}}t.length=r-n}destroy(){if(this.destroyed)return;this.destroyed=!0;let t=this._observers;if(t!=null){for(let r of t)r.onCommitted();this._observers=null}}},OU=yt()});function $0(e){switch(e){case"defaults":return ct.DEFAULTS;case"service":return ct.SERVICE;case"portal-item":return ct.PORTAL_ITEM;case"web-scene":return ct.WEB_SCENE;case"web-map":return ct.WEB_MAP;case"link-chart":return ct.LINK_CHART;case"user":return ct.USER;default:return null}}function F0(e){switch(e){case ct.DEFAULTS:return"defaults";case ct.SERVICE:return"service";case ct.PORTAL_ITEM:return"portal-item";case ct.WEB_SCENE:return"web-scene";case ct.WEB_MAP:return"web-map";case ct.LINK_CHART:return"link-chart";case ct.USER:return"user"}}function nT(e){return F0(e)}var ct,mae,Kl=U(()=>{(function(e){e[e.DEFAULTS=0]="DEFAULTS",e[e.COMPUTED=1]="COMPUTED",e[e.SERVICE=2]="SERVICE",e[e.PORTAL_ITEM=3]="PORTAL_ITEM",e[e.WEB_SCENE=4]="WEB_SCENE",e[e.WEB_MAP=5]="WEB_MAP",e[e.LINK_CHART=6]="LINK_CHART",e[e.USER=7]="USER"})(ct||(ct={}));mae=ct.USER+1});var bh,iT=U(()=>{R_();Kl();Xl();T0();dh();bh=class extends Qf{constructor(t,r){super(),this.propertyName=t,this.metadata=r,this.trackingTarget=new Zo(this),this.flags=0,this.flags=at.Dirty|(r.nonNullable?at.NonNullable:0)|(r.hasOwnProperty("value")?at.HasDefaultValue:0)|(r.get===void 0?at.DepTrackingInitialized:0)|(r.dependsOn===void 0?at.AutoTracked:0)}destroy(){this.flags&at.Dirty&&this.onCommitted(),super.destroy(),this.trackingTarget.destroy()}getComputed(t){t.mutable&&qe(this);let r=t.store,n=this.propertyName,i=this.flags,o=r.get(n);if(i&at.Computing||~i&at.Dirty&&r.has(n))return o;this.flags|=at.Computing;let s=t.host,c;i&at.AutoTracked?c=uo(this.trackingTarget,this.metadata.get,s):(S_(s,this),c=this.metadata.get.call(s)),this.flags|=at.DepTrackingInitialized,r.set(n,c,ct.COMPUTED);let a=r.get(n);return a===o?this.flags&=~at.Dirty:TE(this.commit,this),this.flags&=~at.Computing,a}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~at.Dirty,this.onCommitted()}onInvalidated(){~this.flags&at.Overridden&&(this.flags|=at.Dirty);let t=this._observers;if(t&&t.length>0)for(let r of t)r.onInvalidated()}onCommitted(){let t=this._observers;if(t&&t.length>0){let r=t.slice();for(let n of r)n.onCommitted()}}}});var U0,oT=U(()=>{jr();Kl();U0=class e{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){let r=new e;return this._values.forEach((n,i)=>{t&&t.has(i)||r.set(i,it(n))}),r}get(t){return this._values.get(t)}originOf(){return ct.USER}keys(){return[...this._values.keys()]}set(t,r){this._values.set(t,r)}delete(t){this._values.delete(t)}has(t){return this._values.has(t)}forEach(t){this._values.forEach(t)}}});function V0(e,t,r){return e!==void 0}function sT(e,t,r,n){return e!==void 0&&(!(r==null&&e.flags&at.NonNullable)||(n.lifecycle,Xr.INITIALIZING,!1))}var z0,$_,D_,aT=U(()=>{gt();jr();_t();yh();uh();iT();Kl();oT();Xl();T0();dh();z0=class{constructor(t){this.host=t,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=Xr.INITIALIZING,this.store=new U0,this.mutable=!0,this._origin=ct.USER;let r=this.host.constructor.__accessorMetadata__;for(let n in r){let i=new bh(n,r[n]);this.propertiesByName.set(n,i)}this.metadata=r}initialize(){this.lifecycle=Xr.CONSTRUCTING}constructed(){this.lifecycle=Xr.CONSTRUCTED}destroy(){this.lifecycle=Xr.DESTROYED,this.propertiesByName.forEach(t=>t.destroy())}get initialized(){return this.lifecycle!==Xr.INITIALIZING}get(t){let r=this.propertiesByName.get(t);if(r.metadata.get)return r.getComputed(this);this.mutable&&qe(r);let n=this.store;return n.has(t)?n.get(t):r.metadata.value}originOf(t){let r=this.store.originOf(t);if(r===void 0){let n=this.propertiesByName.get(t);if(n!==void 0&&n.flags&at.HasDefaultValue)return"defaults"}return F0(r)}has(t){return this.propertiesByName.has(t)&&this.store.has(t)}keys(){return[...this.propertiesByName.keys()]}internalGet(t){let r=this.propertiesByName.get(t);if(V0(r))return this.store.has(t)?this.store.get(t):r.metadata.value}internalSet(t,r){let n=this.propertiesByName.get(t);V0(n)&&this._internalSet(n,r)}getDependsInfo(t,r,n){let i=this.propertiesByName.get(r);if(!V0(i))return"";let o=new Zo,s=uo(o,()=>i.metadata.get?.call(t)),c=`${n}${t.declaredClass.split(".").pop()}.${r}: ${s}
5
5
  `,a=o.accessed??new Set;if(a.size===0)return c;n+=" ";for(let d of a)d instanceof bh&&(c+=`${n}${d.propertyName}: undefined
6
- `);return c}setAtOrigin(t,r,n){let i=this.propertiesByName.get(t);if(V0(i))return this._setAtOrigin(i,r,n)}isOverridden(t){let r=this.propertiesByName.get(t);return r!==void 0&&!!(r.flags&at.Overridden)}clearOverride(t){let r=this.propertiesByName.get(t);r&&r.flags&at.Overridden&&(r.flags&=~at.Overridden,r.notifyChange())}override(t,r){let n=this.propertiesByName.get(t);if(!sT(n,t,r,this))return;let i=n.metadata.cast;if(i){let o=this._cast(i,r),{valid:s,value:c}=o;if(D_.release(o),!s)return;r=c}n.flags|=at.Overridden,this._internalSet(n,r)}set(t,r){let n=this.propertiesByName.get(t);if(!sT(n,t,r,this))return;let i=n.metadata.cast;if(i){let s=this._cast(i,r),{valid:c,value:a}=s;if(D_.release(s),!c)return;r=a}let o=n.metadata.set;o?o.call(this.host,r):this._internalSet(n,r)}setDefaultOrigin(t){this._origin=$0(t)}getDefaultOrigin(){return F0(this._origin)}notifyChange(t){let r=this.propertiesByName.get(t);r!==void 0&&r.notifyChange()}invalidate(t){let r=this.propertiesByName.get(t);r!==void 0&&r.invalidate()}commit(t){let r=this.propertiesByName.get(t);r!==void 0&&r.commit()}_internalSet(t,r){let n=this.lifecycle!==Xr.INITIALIZING?this._origin:ct.DEFAULTS;this._setAtOrigin(t,r,n)}_setAtOrigin(t,r,n){let i=this.store,o=t.propertyName;i.has(o,n)&&Sm(r,i.get(o))&&~t.flags&at.Overridden&&n===i.originOf(o)||(t.invalidate(),i.set(o,r,n),t.commit(),__(this.host,t))}_cast(t,r){let n=D_.acquire();return n.valid=!0,n.value=r,t&&(n.value=t.call(this.host,r,n)),n}},$_=class{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}},D_=new fo($_)});function F_(){return NU}var NU,cT,lT=U(()=>{(function(e){e[e.Ignore=0]="Ignore",e[e.Destroy=1]="Destroy",e[e.ThrowError=2]="ThrowError"})(cT||(cT={}))});function RU(e){e.length=0}var zn,U_,W0=U(()=>{yh();zn=class{constructor(t=50,r=50){this._pool=new fo(Array,void 0,RU,r,t)}acquire(){return this._pool.acquire()}release(t){this._pool.release(t)}prune(){this._pool.prune(0)}static acquire(){return U_.acquire()}static release(t){return U_.release(t)}static prune(){U_.prune()}},U_=new zn(100)});var B0,uT=U(()=>{yh();B0=class extends fo{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...t){let r=super.acquire(...t);return this._set.delete(r),r}release(t){t&&!this._set.has(t)&&(super.release(t),this._set.add(t))}_dispose(t){this._set.delete(t),super._dispose(t)}}});function V_(e){G0.push(e),G0.length===1&&queueMicrotask(()=>{let t=G0.slice();G0.length=0;for(let r of t)r()})}var G0,dT=U(()=>{G0=[]});var vh,fT=U(()=>{vh=class{constructor(t,r=30){this.name=t,this._counter=0,this._samples=new Array(r)}push(t){t!=null&&(this._samples[++this._counter%this._samples.length]=t)}set(t){t!=null&&(this._samples[this._counter%this._samples.length]=t)}get median(){return this._samples.slice().sort((t,r)=>t-r)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((t,r)=>t+r,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}});var z_,W_,pT=U(()=>{(function(e){let t=(o,s,c,a)=>{let d=s,h=s,g=c>>>1,v=o[d-1];for(;h<=g;){h=d<<1,h<c&&a(o[h-1],o[h])<0&&++h;let S=o[h-1];if(a(S,v)<=0)break;o[d-1]=S,d=h}o[d-1]=v},r=(o,s)=>o<s?-1:o>s?1:0;function n(o,s,c,a){s===void 0&&(s=0),c===void 0&&(c=o.length),a===void 0&&(a=r);for(let h=c>>>1;h>s;h--)t(o,h,c,a);let d=s+1;for(let h=c-1;h>s;h--){let g=o[s];o[s]=o[h],o[h]=g,t(o,d,h,a)}}function*i(o,s,c,a){s===void 0&&(s=0),c===void 0&&(c=o.length),a===void 0&&(a=r);for(let h=c>>>1;h>s;h--)t(o,h,c,a),yield;let d=s+1;for(let h=c-1;h>s;h--){let g=o[s];o[s]=o[h],o[h]=g,t(o,d,h,a),yield}}e.sort=n,e.iterableSort=i})(z_||(z_={}));W_=z_});function mT(e){e.data.length>DU*e.length&&(e.data.length=Math.floor(e.length*$U))}var DU,$U,_h,hT=U(()=>{Ra();pT();DU=1.5,$U=1.1,_h=class{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new _m,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),t.deallocator!==void 0&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>mT(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){let r=new Array;for(let n=0;n<this._length;n++){let i=this.data[n];t(i)&&r.push(i)}return r}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,r){let n=this.data.indexOf(t,r);return n!==-1&&n<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let r=t;r<this._length;++r)this.data[r]=this._deallocator(this.data[r]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,r=t.length){for(let n=0;n<r;n++)this.data[this._length++]=t[n]}fill(t,r){for(let n=0;n<r;n++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,mT(this)}pop(){if(this.length===0)return;let t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){let r=mv(this.data,t,this.length,this._hint);if(r!==-1)return this.data.splice(r,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex(mv(this.data,t,this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,r=t.length,n){this.length=M6(this.data,t,this.length,r,this._hint,n),this._shrink()}front(){if(this.length!==0)return this.data[0]}back(){if(this.length!==0)return this.data[this.length-1]}swapElements(t,r){if(t>=this.length||r>=this.length||t===r)return;let n=this.data[t];this.data[t]=this.data[r],this.data[r]=n}sort(t){W_.sort(this.data,0,this.length,t)}iterableSort(t){return W_.iterableSort(this.data,0,this.length,t)}some(t,r){for(let n=0;n<this.length;++n)if(t.call(r,this.data[n],n,this.data))return!0;return!1}find(t,r){let{data:n,length:i}=this;for(let o=0;o<i;++o)if(t.call(r,n[o]))return n[o]}filterInPlace(t,r){let n=0;for(let i=0;i<this._length;++i){let o=this.data[i];t.call(r,o,i,this.data)&&(this.data[i]=this.data[n],this.data[n]=o,n++)}if(this._deallocator)for(let i=n;i<this._length;i++)this.data[i]=this._deallocator(this.data[i]);return this._length=n,this._shrink(),this}forAll(t,r){let{data:n,length:i}=this;for(let o=0;o<i;++o)t.call(r,n[o],o,n)}forEach(t,r){this.data.slice(0,this.length).forEach(t,r)}map(t,r){let n=new Array(this.length);for(let i=0;i<this.length;++i)n[i]=t.call(r,this.data[i],i,this.data);return n}reduce(t,r){let n=r;for(let i=0;i<this.length;++i)n=t(n,this.data[i],i,this.data);return n}has(t){let r=this.length,n=this.data;for(let i=0;i<r;++i)if(n[i]===t)return!0;return!1}*[Symbol.iterator](){for(let t=0;t<this.length;t++)yield this.data[t]}}});function FU(e){return{setTimeout:(t,r)=>{let n=e.setTimeout(t,r);return yt(()=>e.clearTimeout(n))}}}var gT,wT=U(()=>{Xn();gT=FU(globalThis)});function Sh(e){return UU(e)||yT(e)}function UU(e){return e!=null&&typeof e=="object"&&"on"in e&&typeof e.on=="function"}function yT(e){return e!=null&&typeof e=="object"&&"addEventListener"in e&&typeof e.addEventListener=="function"}function tc(e,t,r){if(!Sh(e))throw new TypeError("target is not a Evented or EventTarget object");return yT(e)?VU(e,t,r):e.on(t,r)}function VU(e,t,r,n){if(Array.isArray(t)){let i=t.slice();for(let o of i)e.addEventListener(o,r,n);return yt(()=>{for(let o of i)e.removeEventListener(o,r,n)})}return e.addEventListener(t,r,n),yt(()=>e.removeEventListener(t,r,n))}function bT(e,t,r){if(!Sh(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);let n=tc(e,t,i=>{n.remove(),r.call(e,i)});return n}var xh=U(()=>{Xn()});function Yo(e="Aborted"){return new Ve("AbortError",e)}function j0(e){return e instanceof AbortSignal?e:e?.signal??void 0}function ks(e){let t=j0(e);return t!=null&&t.aborted}function B_(e){if(!Ch(e))throw e}function fi(e,t){let r=j0(e);if(r!=null){if(!r.aborted)return bT(r,"abort",()=>t());t()}}function Ch(e){return e?.name==="AbortError"}function zU(e,t=void 0,r){let n=new AbortController;return fi(r,()=>n.abort()),new Promise((i,o)=>{let s=setTimeout(()=>{s=0,i(t)},e);fi(n,()=>{s&&(clearTimeout(s),o(Yo()))})})}function WU(e){return e&&typeof e.then=="function"}function vT(e){return WU(e)?e:Promise.resolve(e)}function _T(e,t=-1){let r,n,i,o,s=null,c=(...a)=>{if(r){n=a,o&&o.reject(Yo()),o=Qn();let v=o.promise;if(s){let S=s;s=null,S.abort()}return v}if(i=o||Qn(),o=null,t>0){let v=new AbortController;r=vT(e(...a,v.signal));let S=r;zU(t).then(()=>{r===S&&(o?v.abort():s=v)})}else r=1,r=vT(e(...a));let d=()=>{let v=n;n=i=r=s=null,v!=null&&c(...v)},h=r,g=i;return h.then(d,d),h.then(g.resolve,g.reject),g.promise};return c}function Qn(){let e,t,r=new Promise((i,o)=>{e=i,t=o}),n=i=>{e(i)};return n.resolve=i=>e(i),n.reject=i=>t(i),n.timeout=(i,o)=>gT.setTimeout(()=>n.reject(o),i),n.promise=r,n}var po=U(()=>{wT();Sn();xh();_t();Ql()});var ST=U(()=>{});function BU(){Th!=null&&(cancelAnimationFrame(Th),Th=requestAnimationFrame(ET))}function Z0(e){let t=new G_(e);return H_.push(t),q0.willDispatch||(q0.willDispatch=!0,V_(MT)),t}function GU(e=!1){Kf.forAll(t=>{t.removed=!0}),e&&TT()}function ET(){let e=performance.now();Th=null,Th=Kf.length>0?requestAnimationFrame(ET):null,q0.executeFrameTasks(e)}function jU(e){let t=e-xT;xT=e;let r=CT>0?CT:1e3/60,n=Math.max(0,t-r);Eh.time=e,Eh.frameDuration=r-n;for(let i=0;i<j_.length;i++){let o=performance.now(),s=j_[i];Kf.forAll(c=>{c.paused||c.removed||(i===0&&c.ticks++,c.phases[s]&&(Eh.elapsedFrameTime=performance.now()-e,Eh.deltaTime=c.ticks===0?0:t,c.phases[s]?.call(c,Eh)))}),ZU[i].push(performance.now()-o)}TT(),YU.push(performance.now()-e)}function TT(){Kf.forAll(e=>{e.removed&&H0.push(e)}),Kf.removeUnorderedMany(H0.data,H0.length),H0.clear()}function MT(){for(;H_.length;){let e=H_.shift();e.isActive&&e.callback()}q0.willDispatch=!1}function HU(e=1,t){let r=Qn(),n=()=>{ks(t)?r.reject(Yo()):e===0?r():(--e,V_(()=>n()))};return n(),r.promise}function qU(e){return HU(1,e)}async function PT(e){await qU(e),await new Promise(t=>requestAnimationFrame(()=>{e?.aborted||t()}))}var G_,xT,CT,Eh,j_,H_,Kf,q0,Th,H0,ZU,YU,Y0=U(()=>{dT();fT();hT();po();ST();G_=class{constructor(t){this.callback=t,this.isActive=!0}remove(){this.isActive=!1}},xT=0,CT=0,Eh={time:0,deltaTime:0,elapsedFrameTime:0,frameDuration:0},j_=["prepare","preRender","render","postRender","update","finish"],H_=[],Kf=new _h;q0={frameTasks:Kf,willDispatch:!1,clearFrameTasks:GU,dispatch:MT,executeFrameTasks:jU,reschedule:BU};Th=null;H0=new _h;ZU=j_.map(e=>new vh(e)),YU=new vh("total")});function IT(e,t){if(!t)return e;for(let r of t)r!=null&&e.add(r);return e}function AT(e,t){let r=new Set;return IT(r,e),IT(r,t),r}var q_=U(()=>{});function J0(){return++JU}var JU,LT=U(()=>{JU=0});function XU(){}var eu,Z_,kT,Y_=U(()=>{dh();eu=class extends Zo{constructor(t){super(new Z_(t)),this._observer&&kT.register(this,new WeakRef(this._observer),this)}destroy(){this._observer&&kT.unregister(this._observer),this.accessed?.clear(),this.clear(),this._observer?.destroy()}},Z_=class{constructor(t){this._notify=t,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;let t=this._invalidCount;if(t===1)return this._invalidCount=0,void this._notify();this._invalidCount=t>0?t-1:0}destroy(){this.destroyed=!0,this._notify=XU}},kT=new FinalizationRegistry(e=>{e.deref()?.destroy()})});function X_(e,t){let r=new eu(o),n=null,i=!1;function o(){if(!r||i)return;if(J_)return void QU(o);let c=n;r.clear(),J_=!0,i=!0,n=uo(r,e),i=!1,J_=!1,t(n,c),KU()}function s(){r&&(r.destroy(),r=null,n=null)}return i=!0,n=uo(r,e),i=!1,yt(s)}function Q_(e,t){let r=new eu(i),n=null;function i(){t(n,s)}function o(){r&&(r.destroy(),r=null),n=null}function s(){return r?(r.clear(),n=uo(r,e),n):null}return s(),yt(o)}function QU(e){X0.includes(e)||X0.unshift(e)}function KU(){for(;X0.length;)X0.pop()()}var J_,X0,K_=U(()=>{Xn();Xl();Y_();J_=!1,X0=[]});function ew(e){rc.delete(e),rc.add(e),K0||(K0=Z0(tV))}function eV(e){if(e.removed)return;let t=e.oldValue,r=e.getValue();e.equals(t,r)||(e.oldValue=r,e.notify(r,t))}function OT(e){for(let t of rc.values())t.target===e&&(t.removed=!0)}function tV(){let e=10;for(;K0&&e--;){K0=null;let t=rV(),r=Q0.acquire();for(let n of t){let i=n.uid;eV(n),i===n.uid&&n.removed&&r.push(n)}for(let n of rc)n.removed&&(r.push(n),rc.delete(n));for(let n of r)tu.pool.release(n);Q0.release(r),Q0.release(t),nV.forEach(n=>n())}}function rV(){let e=Q0.acquire();e.length=rc.size;let t=0;for(let r of rc)e[t]=r,++t;return rc.clear(),e}function iV(e,t,r){let n=h_(e,t,r,(i,o,s)=>{let c,a,d=Q_(()=>Yl(i,o),(h,g)=>{i.__accessor__?.lifecycle===Xr.DESTROYED||c&&c.uid!==a?n.remove():(c||(c=tu.acquireUntracked(h,s,g,i,o),a=c.uid),ew(c))});return yt(()=>{d.remove(),c&&(c.uid!==a||c.removed||(c.removed=!0,ew(c)),c=null),n=d=null})});return n}function oV(e,t,r){let n=h_(e,t,r,(i,o,s)=>{let c=!1;return X_(()=>Yl(i,o),(a,d)=>{i.__accessor__.lifecycle!==Xr.DESTROYED?c||(c=!0,Sm(d,a)||s.call(i,a,d,o,i),c=!1):n.remove()})});return n}function NT(e,t,r,n=!1){return e.__accessor__&&e.__accessor__.lifecycle!==Xr.DESTROYED?n?oV(e,t,r):iV(e,t,r):yt()}function sV(e,t,r){let n,i,o=Q_(e,(s,c)=>{n&&n.uid!==i?o.remove():(n||(n=tu.acquireTracked(s,t,c,r),i=n.uid),ew(n))});return yt(()=>{o.remove(),n&&(n.uid!==i||n.removed||(n.removed=!0,ew(n)),n=null),o=null})}function aV(e,t,r){let n=!1;return X_(e,(i,o)=>{n||(n=!0,r(o,i)||t(i,o),n=!1)})}function RT(e,t,r=!1,n=W6){return r?aV(e,t,n):sV(e,t,n)}var Mh,tu,Q0,rc,K0,nV,eS=U(()=>{W0();Xn();jr();uT();Y0();q_();LT();Jl();uh();K_();Ka();(function(e){e[e.Untracked=0]="Untracked",e[e.Tracked=1]="Tracked"})(Mh||(Mh={}));tu=class{constructor(){this.uid=J0(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static acquireUntracked(t,r,n,i,o){return this.pool.acquire(Mh.Untracked,t,r,n,i,o,Sm)}static acquireTracked(t,r,n,i){return this.pool.acquire(Mh.Tracked,t,r,n,null,null,i)}notify(t,r){this.type===Mh.Untracked?this.callback.call(this.target,t,r,this.path,this.target):this.callback.call(null,t,r,void 0,void 0)}acquire(t,r,n,i,o,s,c){this.uid=J0(),this.removed=!1,this.type=t,this.oldValue=r,this.callback=n,this.getValue=i,this.target=o,this.path=s,this.equals=c}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=J0(),this.removed=!0}};tu.pool=new B0(tu);Q0=new zn,rc=new Set;nV=new Set});function cV(e){if(e==null)return{value:e};if(Array.isArray(e))return{type:[e[0]],value:null};switch(typeof e){case"object":return e.constructor?.__accessorMetadata__||e instanceof Date?{type:e.constructor,value:e}:e;case"boolean":return{type:Boolean,value:e};case"string":return{type:String,value:e};case"number":return{type:Number,value:e};case"function":return{type:e,value:null};default:return}}var DT,$T,Jo,tS,un,ru=U(()=>{O_();eT();_t();Ql();b_();Jl();uh();Zf();aT();y_();lT();eS();Jr();Ar();Jo=Symbol("Accessor-Handles"),tS=Symbol("Accessor-Initialized"),un=class e{static createSubclass(t={}){if(Array.isArray(t))throw new Error("Multi-inheritance unsupported since 4.16");let{properties:r,declaredClass:n,constructor:i}=t;delete t.declaredClass,delete t.properties,delete t.constructor;let o=this;class s extends o{constructor(...a){super(...a),this.inherited=null,i&&i.apply(this,a)}}ec(s.prototype);for(let c in t){let a=t[c];s.prototype[c]=typeof a=="function"?function(...d){let h=this.inherited,g;this.inherited=function(...v){if(o.prototype[c])return o.prototype[c].apply(this,v)};try{g=a.apply(this,d)}catch(v){throw this.inherited=h,v}return this.inherited=h,g}:t[c]}for(let c in r){let a=cV(r[c]);ce(a)(s.prototype,c)}return nt(n)(s)}static freeze(t){return t instanceof e?t.__accessor__.mutable=!1:Object.freeze(t),t}static isFrozen(t){return t instanceof e?!t.__accessor__.mutable:Object.isFrozen(t)}constructor(...t){if(this[DT]=null,this[$T]=!1,this.constructor===e)throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");let r=new z0(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:r}),t.length>0&&(r.ctorArgs=this.normalizeCtorArgs?.apply(this,t)??t[0]),F_()?.onInstanceConstruct(this)}postscript(){let t=this.__accessor__,r=t.ctorArgs;t.initialize(),r&&(this.set(r),t.ctorArgs=null),t.constructed(),this.initialize(),this[tS]=!0}initialize(){}[E0](){this[Jo]=gh(this[Jo])}destroy(){this.destroyed||(OT(this),this.__accessor__.destroy(),F_()?.onInstanceDestroy(this))}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[tS]}get destroyed(){return this.__accessor__?.lifecycle===Xr.DESTROYED||!1}commitProperty(t){lo(this,t)}get(t){return N0(Xe.getLogger(this),"`Accessor.get` is deprecated in favor of using optional chaining",{version:"4.28",see:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining"}),lo(this,t)}hasOwnProperty(t){return this.__accessor__?this.__accessor__.has(t):Object.prototype.hasOwnProperty.call(this,t)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(t,r){return Jf(this,t,r),this}watch(t,r,n){return NT(this,t,r,n)}addHandles(t,r){if(this.destroyed){let n=Array.isArray(t)?t:[t];for(let i of n)i.remove();return}(this[Jo]??(this[Jo]=new Xf)).add(t,r)}removeHandles(t){this[Jo]?.remove(t)}removeAllHandles(){this[Jo]?.removeAll()}removeHandlesReference(t){this[Jo]?.removeReference(t)}hasHandles(t){return this[Jo]?.has(t)===!0}_override(t,r){r===void 0?this.__accessor__.clearOverride(t):this.__accessor__.override(t,r)}_clearOverride(t){return this.__accessor__.clearOverride(t)}_overrideIfSome(t,r){r==null?this.__accessor__.clearOverride(t):this.__accessor__.override(t,r)}_isOverridden(t){return this.__accessor__.isOverridden(t)}notifyChange(t){this.__accessor__.notifyChange(t)}_get(t){return this.__accessor__.internalGet(t)}_set(t,r){return this.__accessor__.internalSet(t,r),this}};DT=Jo,$T=tS});var tw,rS,FT=U(()=>{jr();Kl();tw=class e{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){let r=new e;return this._values.forEach((n,i)=>{t&&t.has(i)||r.set(i,it(n.value),n.origin)}),r}get(t,r){r=this._normalizeOrigin(r);let n=this._values.get(t);return r==null||n?.origin===r?n?.value:void 0}originOf(t){return this._values.get(t)?.origin??ct.USER}keys(t){t=this._normalizeOrigin(t);let r=[...this._values.keys()];return t==null?r:r.filter(n=>this._values.get(n)?.origin===t)}set(t,r,n){if((n=this._normalizeOrigin(n))===ct.DEFAULTS){let i=this._values.get(t);if(i?.origin!=null&&i.origin>n)return}this._values.set(t,new rS(r,n))}delete(t,r){(r=this._normalizeOrigin(r))!=null&&this._values.get(t)?.origin!==r||this._values.delete(t)}has(t,r){return(r=this._normalizeOrigin(r))!=null?this._values.get(t)?.origin===r:this._values.has(t)}forEach(t){this._values.forEach(({value:r},n)=>t(r,n))}_normalizeOrigin(t){if(t!=null)return t===ct.DEFAULTS?t:ct.USER}},rS=class{constructor(t,r){this.value=t,this.origin=r}}});function UT(e,t,r){t.keys().forEach(i=>{r.set(i,t.get(i),ct.DEFAULTS)});let n=e.metadata;Object.keys(n).forEach(i=>{e.internalGet(i)&&r.set(i,e.internalGet(i),ct.DEFAULTS)})}var VT=U(()=>{Kl()});function lV(e,t,r){if(!e?.read||e.read.enabled===!1||!e.read.source)return!1;let n=e.read.source;if(typeof n=="string"){if(n===t||n.includes(".")&&n.indexOf(t)===0&&g_(n,r))return!0}else for(let i of n)if(i===t||i.includes(".")&&i.indexOf(t)===0&&g_(i,r))return!0;return!1}function uV(e){return e&&(!e.read||e.read.enabled!==!1&&!e.read.source)}function dV(e,t,r,n,i){let o=k0(t[r],i);uV(o)&&(e[r]=!0);for(let s of Object.getOwnPropertyNames(t))o=k0(t[s],i),lV(o,r,n)&&(e[s]=!0)}function fV(e,t,r,n){let i=r.metadata,o=jE(i[t],n),s=o?.default;if(s===void 0)return;let c=typeof s=="function"?s.call(e,t,n):s;c!==void 0&&r.set(t,c)}function zT(e,t,r=pV){if(!t||typeof t!="object")return;let n=qo(e),i=n.metadata,o={};for(let s of Object.getOwnPropertyNames(t))dV(o,i,s,t,r);n.setDefaultOrigin(r.origin);for(let s of Object.getOwnPropertyNames(o)){let c=k0(i[s],r).read,a=c?.source,d;d=a&&typeof a=="string"?Yl(t,a):t[s],c?.reader&&(d=c.reader.call(e,d,t,r)),d!==void 0&&n.set(s,d)}if(!r||!r.ignoreDefaults){n.setDefaultOrigin("defaults");for(let s of Object.getOwnPropertyNames(i))o[s]||fV(e,s,n,r)}n.setDefaultOrigin("user")}var pV,WT=U(()=>{Jl();Ka();O0();pV={origin:"service"}});function mV(e,t,r,n,i){let o={};return t.write?.writer?.call(e,n,o,r,i),o}function hV(e,t,r,n,i,o){if(!n?.write)return!1;let s=lo(e,r);if(!i&&n.write.overridePolicy){let c=n.write.overridePolicy.call(e,s,r,o??void 0);c!==void 0&&(i=c)}if(i||(i=n.write),!i||i.enabled===!1||i.layerContainerTypes&&o?.layerContainerType&&!i.layerContainerTypes.includes(o.layerContainerType))return!1;if((s===null&&!i.allowNull&&!i.writerEnsuresNonNull||s===void 0)&&i.isRequired){let c=new Ve("web-document-write:property-required",`Missing value for required property '${r}' on '${e.declaredClass}'`,{propertyName:r,target:e});return c&&o?.messages?o.messages.push(c):c&&!o&&Xe.getLogger("esri.core.accessorSupport.write").error(c.name,c.message),!1}return!(s===void 0||s===null&&!i.allowNull&&!i.writerEnsuresNonNull||!i.alwaysWriteDefaults&&(!t.store.multipleOriginsSupported||t.store.originOf(r)===ct.DEFAULTS)&&gV(e,r,o,n,s)||!i.ignoreOrigin&&o?.origin&&t.store.multipleOriginsSupported&&t.store.originOf(r)<$0(o.origin))}function gV(e,t,r,n,i){let o=n.default;if(o===void 0)return!1;if(n.defaultEquals!=null)return n.defaultEquals(i);if(typeof o=="function"){if(Array.isArray(i)){let s=o.call(e,t,r??void 0);return Na(s,i)}return!1}return o===i}function BT(e,t,r){if(e&&typeof e.toJSON=="function"&&(!e.toJSON.isDefaultToJSON||!e.write))return Hf(t,e.toJSON(r));let n=qo(e),i=n.metadata;for(let o in i){let s=HE(i[o],r);if(!hV(e,n,o,s,void 0,r))continue;let c=lo(e,o),a=mV(e,s,s.write&&typeof s.write.target=="string"?s.write.target:o,c,r);Object.keys(a).length>0&&(t=Hf(t,a),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>Hf(t,a,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:e,propName:o,oldOrigin:nT(n.store.originOf(o)),newOrigin:r.origin}))}return t}var GT=U(()=>{Ra();Sn();_t();Jl();Kl();Ka();O0()});function yV(e,t){if(!e)return null;if(e.declaredClass)throw new Error("JSON object is already hydrated");let r=new this;return r.read(e,t),r}function Ph(e){return e&&typeof e=="object"&&"toJSON"in e&&typeof e.toJSON=="function"}var wV,Xo,nu=U(()=>{Yr();ru();FT();VT();WT();Ka();GT();Ar();wV=e=>{let t=class extends e{constructor(...r){super(...r);let n=qo(this),i=n.store,o=new tw;n.store=o,UT(n,i,o)}read(r,n){zT(this,r,n)}write(r,n){return BT(this,r??{},n)}toJSON(r){return this.write({},r)}static fromJSON(r,n){return yV.call(this,r,n)}};return t=K([nt("esri.core.JSONSupport")],t),t.prototype.toJSON.isDefaultToJSON=!0,t};Xo=class extends wV(un){};Xo=K([nt("esri.core.JSONSupport")],Xo)});function rw(e,t,r){let n,i;return t===void 0||Array.isArray(t)?(i=e,r=t,n=[void 0]):(i=t,n=Array.isArray(e)?e:[e]),(o,s)=>{let c=o.constructor.prototype;n.forEach(a=>{let d=C0(o,a,i);d.read&&typeof d.read=="object"||(d.read={}),d.read.reader=c[s],r&&(d.read.source=(d.read.source||[]).concat(r))})}}var nS=U(()=>{Jr()});function bV(e){let t={};for(let r in e)t[e[r]]=r;return t}function jT(e){let t=[];for(let r in e)t.push(r);return t.sort(),t}function Qo(){return function(e,t){return new iS(e,{ignoreUnknown:!0,...t})}}var iS,nw=U(()=>{Go();iS=class{constructor(t,r={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=t,this._options=r,this.apiValues=[],this.jsonValues=[],this._apiToJSON=bV(t),this.apiValues=jT(this._apiToJSON),this.jsonValues=jT(this._jsonToAPI),this.read=n=>this.fromJSON(n),this.write=(n,i,o)=>{let s=this.toJSON(n);s!==void 0&&Ts(o,s,i)},this.write.isJSONMapWriter=!0}toJSON(t){if(t==null)return null;if(this._apiToJSON.hasOwnProperty(t)){let r=this._apiToJSON[t];return this._options.useNumericKeys?+r:r}return this._options.ignoreUnknown?void 0:t}fromJSON(t){return t!=null&&this._jsonToAPI.hasOwnProperty(t)?this._jsonToAPI[t]:this._options.ignoreUnknown?void 0:t}}});var Ih,mo,iw,ow,sw=U(()=>{Ih=class{constructor(t,r,n,i,o,s){this.semiMajorAxis=t,this.flattening=r,this.outerAtmosphereRimWidth=n,this.atmosphereHeight=i,this.scaleHeight=o;let c=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*c,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=s||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}},mo=new Ih(6378137,1/298.257223563,3e5,1e5,.085,.006694379990137799),iw=new Ih(3396190,1/169.8944472236118,23e4,6e4,.111),ow=new Ih(1737400,0,0,0,0)});function aw(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}function oS(e){let t=/^https?:\/\/(?:cdn|[a-z\d-]+\.maps)\.arcgis\.com/i,r=/^https?:\/\/(?:cdndev|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,n=/^https?:\/\/(?:cdnqa|[a-z\d-]+\.mapsqa)\.arcgis\.com/i;return t.test(e)?e=e.replace(t,"https://www.arcgis.com"):r.test(e)?e=e.replace(r,"https://devext.arcgis.com"):n.test(e)&&(e=e.replace(n,"https://qaext.arcgis.com")),e}var cw=U(()=>{});function HT(e){let t=new Uint8Array(e),r="";for(let n=0;n<t.length;n++)r+=String.fromCharCode(t[n]);return btoa(r)}var qT=U(()=>{});function AV(){let e=xn.path,t=e.slice(0,e.lastIndexOf("/")+1);return`${`${xn.scheme}://${xn.host}${xn.port!=null?`:${xn.port}`:""}`}${t}`}function nc(e){if(!e)return null;let t={path:null,query:null},r=new Cn(e),n=e.indexOf("?");return r.query===null?t.path=e:(t.path=e.slice(0,n),t.query=ic(r.query)),r.fragment&&(t.hash=r.fragment,r.query===null&&(t.path=t.path.slice(0,t.path.length-(r.fragment.length+1)))),t}function ic(e){let t=e.split("&"),r={};for(let n of t){if(!n)continue;let i=n.indexOf("="),o,s;i<0?(o=decodeURIComponent(n),s=""):(o=decodeURIComponent(n.slice(0,i)),s=decodeURIComponent(n.slice(i+1)));let c=r[o];typeof c=="string"&&(c=r[o]=[c]),Array.isArray(c)?c.push(s):r[o]=s}return r}function iu(e,t){return e?t&&typeof t=="function"?Object.keys(e).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r]))).join("&"):Object.keys(e).map(r=>{let n=e[r];if(n==null)return"";let i=encodeURIComponent(r)+"=",o=t?.[r];return o?i+encodeURIComponent(o(n)):Array.isArray(n)?n.map(s=>Ph(s)?i+encodeURIComponent(JSON.stringify(s)):i+encodeURIComponent(s)).join("&"):Ph(n)?i+encodeURIComponent(JSON.stringify(n)):i+encodeURIComponent(n)}).filter(r=>r).join("&"):""}function XT(e=!1){let t,r=ep.proxyUrl;if(typeof e=="string"){t=kV(e);let n=tp(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw vV().warn(ZT),new Ve("urlUtils:proxy-not-set",ZT);return t&&sS()&&(r=gw(r)),nc(r)}function QT(e){let t=e.indexOf("?");return t!==-1?(Ah.path=e.slice(0,t),Ah.query=e.slice(t+1)):(Ah.path=e,Ah.query=null),Ah}function KT(e){return e=(e=r8(e=$V(e=QT(e).path),!0)).toLowerCase()}function e8(e){let t={proxyUrl:e.proxyUrl,urlPrefix:KT(e.urlPrefix)},r=ep.proxyRules,n=t.urlPrefix,i=r.length;for(let o=0;o<r.length;o++){let s=r[o].urlPrefix;if(n.indexOf(s)===0){if(n.length===s.length)return-1;i=o;break}s.indexOf(n)===0&&(i=o+1)}return r.splice(i,0,t),i}function tp(e){let t=ep.proxyRules,r=KT(e);for(let n=0;n<t.length;n++)if(r.indexOf(t[n].urlPrefix)===0)return t[n]}function cS(e,t=ep.interceptors){let r=n=>n==null||n instanceof RegExp&&n.test(e)||typeof n=="string"&&e.startsWith(n);if(t){for(let n of t)if(Array.isArray(n.urls)){if(n.urls.some(r))return n}else if(r(n.urls))return n}return null}function Wn(e,t,r=!1){if(!e||!t)return!1;let n=aS(e),i=aS(t);return!(!r&&n.scheme!==i.scheme)&&n.host!=null&&i.host!=null&&n.host.toLowerCase()===i.host.toLowerCase()&&n.port===i.port}function dw(e){if(typeof e=="string"){if(!t8(e))return!0;e=aS(e)}if(Wn(e,xn))return!0;let t=ep.trustedServers||[];for(let r=0;r<t.length;r++){let n=LV(t[r]);for(let i=0;i<n.length;i++)if(Wn(e,n[i]))return!0}return!1}function LV(e){return lw[e]||(uS(e)||sc(e)?lw[e]=[new Cn(oc(e))]:lw[e]=[new Cn(`http://${e}`),new Cn(`https://${e}`)]),lw[e]}function oc(e,t=IV,r){return sc(e)?r?.preserveProtocolRelative?e:xn.scheme==="http"&&xn.authority===Kn(e).slice(2)?`http:${e}`:`https:${e}`:uS(e)?e:lS(e[0]==="/"?DV(t):t,e)}function fw(e){return e=VV(e=UV(e=FV(e=oc(e=e.trim()))))}function lS(...e){let t=e.filter(I6);if(!t?.length)return;let r=[];if(t8(t[0])){let i=t[0],o=i.indexOf("//");o!==-1&&(r.push(i.slice(0,o+1)),NV(t[0])&&(r[0]+="/"),t[0]=i.slice(o+2))}else t[0][0]==="/"&&r.push("");let n=t.reduce((i,o)=>o?i.concat(o.split("/")):i,[]);for(let i=0;i<n.length;i++){let o=n[i];o===".."&&r.length>0&&r[r.length-1]!==".."?r.pop():(!o&&i===n.length-1||o&&(o!=="."||r.length===0))&&r.push(o)}return r.join("/")}function Kn(e,t=!1){if(e==null||pw(e)||mw(e))return null;let r=e.indexOf("://");if(r===-1&&sc(e))r=2;else{if(r===-1)return null;r+=3}let n=e.indexOf("/",r);return n!==-1&&(e=e.slice(0,n)),t&&(e=r8(e,!0)),e}function t8(e){return sc(e)||uS(e)}function pw(e){return e!=null&&e.slice(0,5)==="blob:"}function mw(e){return e!=null&&e.slice(0,5)==="data:"}function hw(e){return HT(e).replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function sc(e){return e!=null&&e[0]==="/"&&e[1]==="/"}function uS(e){return e!=null&&YT.test(e)}function kV(e){return e!=null&&_V.test(e)||xn.scheme==="https"&&sc(e)}function OV(e){return e!=null&&JT.test(e)||xn.scheme==="http"&&sc(e)}function NV(e){return e!=null&&SV.test(e)}function gw(e){return sc(e)?`https:${e}`:e.replace(JT,"https:")}function RV(){return xn.scheme==="http"}function sS(){return xn.scheme==="https"}function r8(e,t=!1){return sc(e)?e.slice(2):(e=e.replace(YT,""),t&&e.length>1&&e[0]==="/"&&e[1]==="/"&&(e=e.slice(2)),e)}function DV(e){let t=e.indexOf("//"),r=e.indexOf("/",t+2);return r===-1?e:e.slice(0,r)}function $V(e){return e.endsWith("/")?e:`${e}/`}function FV(e){if(/^https?:\/\//i.test(e)){let t=QT(e);e=(e=t.path.replaceAll(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}function UV(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}function VV(e){let t=ep.httpsDomains;if(!OV(e))return e;let r=e.indexOf("/",7),n;if(n=r===-1?e:e.slice(0,r),n=n.toLowerCase().slice(7),xV.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return RV()&&n===xn.authority&&!CV.test(e)||(sS()&&n===xn.authority||t&&t.some(i=>n===i||n.endsWith(`.${i}`))||sS()&&!tp(e))&&(e=gw(e)),e}function aS(e){return typeof e=="string"?new Cn(oc(e)):(e.scheme||(e.scheme=xn.scheme),e)}function rp(e,t){if(!t)return e;let r=nc(e),n=r.query||{};for(let[o,s]of Object.entries(t))s!=null&&(n[o]=s);let i=iu(n);return i?`${r.path}?${i}`:r.path}var vV,ep,ZT,YT,JT,_V,SV,xV,CV,EV,TV,Cn,lw,MV,xn,PV,IV,uw,Ah,ac=U(()=>{Ja();Ra();Sn();nu();_t();cw();qT();vV=()=>Xe.getLogger("esri.core.urlUtils"),ep=vt.request,ZT="esri/config: esriConfig.request.proxyUrl is not set.",YT=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,JT=/^\s*http:/i,_V=/^\s*https:/i,SV=/^\s*file:/i,xV=/:\d+$/,CV=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,EV=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),TV=new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$"),Cn=class{constructor(t=""){this.uri=t,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let r=this.uri.match(EV);this.scheme=r[2]||(r[1]?"":null),this.authority=r[4]||(r[3]?"":null),this.path=r[5],this.query=r[7]||(r[6]?"":null),this.fragment=r[9]||(r[8]?"":null),this.authority!=null&&(r=this.authority.match(TV),this.user=r[3]||null,this.password=r[4]||null,this.host=r[6]||r[7],this.port=r[9]||null)}toString(){return this.uri}},lw={},MV=new Cn(vt.applicationUrl),xn=MV,PV=AV(),IV=PV,uw=()=>xn;Ah={path:"",query:""}});var n8=U(()=>{});function i8(e){Lr=e}var zV,Lr,WV,ww=U(()=>{gt();ac();n8();Symbol.dispose??(Symbol.dispose=Symbol("Symbol.dispose")),Symbol.asyncDispose??(Symbol.asyncDispose=Symbol("Symbol.asyncDispose"));zV="4.31",WV=zV;WV="4.31.2";me("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),me("host-webworker")});function GV(e){let t=Kn(e,!0);return!!t&&t.endsWith(".arcgis.com")&&!BV.has(t)&&!e.endsWith("/sharing/rest/generateToken")}function o8(e,t){return!(!t&&!vt.apiKey||!GV(e))}var BV,s8=U(()=>{Ja();ac();BV=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"])});function c8(e,t,r=!1,n){return new Promise((i,o)=>{if(ks(n))return void o(a8());let s=()=>{d(),o(new Error(`Unable to load ${t}`))},c=()=>{let h=e;d(),i(h)},a=()=>{if(!e)return;let h=e;d(),h.src="",o(a8())},d=()=>{me("esri-image-decode")||(e.removeEventListener("error",s),e.removeEventListener("load",c)),s=null,c=null,e=null,n?.removeEventListener("abort",a),a=null,r&&URL.revokeObjectURL(t)};n?.addEventListener("abort",a),me("esri-image-decode")?e.decode().then(c,s):(e.addEventListener("error",s),e.addEventListener("load",c))})}function a8(){try{return new DOMException("Aborted","AbortError")}catch{let e=new Error;return e.name="AbortError",e}}function l8(){return new Error(jV)}function u8(e){vt.request.crossOriginNoCorsDomains||(vt.request.crossOriginNoCorsDomains={});let t=vt.request.crossOriginNoCorsDomains;for(let r of e)r=r.toLowerCase(),/^https?:\/\//.test(r)?t[Kn(r)??""]=0:(t[Kn("http://"+r)??""]=0,t[Kn("https://"+r)??""]=0)}function d8(e){let t=vt.request.crossOriginNoCorsDomains;if(t){let r=Kn(e);if(r)return r=r.toLowerCase(),!Wn(r,uw())&&t[r]<Date.now()-36e5}return!1}async function f8(e){let t=nc(e);e=t.path,t.query?.f==="json"&&(e+="?f=json");try{await fetch(e,{mode:"no-cors",credentials:"include"})}catch{}let r=vt.request.crossOriginNoCorsDomains,n=Kn(e);r&&n&&(r[n.toLowerCase()]=Date.now())}var jV,p8=U(()=>{Ja();gt();po();ac();jV="Timeout exceeded"});var m8={};Fo(m8,{execute:()=>HV});function HV(e,t){let r=t.responseType;r?r!=="array-buffer"&&r!=="blob"&&r!=="json"&&r!=="native"&&r!=="native-request-init"&&r!=="text"&&(r="text"):r="json",t.responseType=r;let n=t.signal;return delete t.signal,globalThis.invokeStaticMessage("request",{url:e,options:t},{signal:n}).then(async i=>{let o,s,c,a,d;if(i.data)if(i.data instanceof ArrayBuffer){if(!(r!=="json"&&r!=="text"&&r!=="blob"||(o=new Blob([i.data]),r!=="json"&&r!=="text"||(a=await o.text(),r!=="json")))){try{s=JSON.parse(a||null)}catch(h){let g={...h,url:e,requestOptions:t};throw new Ve("request:server",h.message,g)}if(s.error){let h={...s.error,url:e,requestOptions:t};throw new Ve("request:server",s.error.message,h)}}}else r==="native"&&(i.data.signal=n,c=await fetch(i.data.url,i.data),i.httpStatus=c.status);switch(r){case"blob":d=o;break;case"json":d=s;break;case"native":d=c;break;case"text":d=a;break;default:d=i.data}return{data:d,httpStatus:i.httpStatus,requestOptions:t,ssl:i.ssl,url:e}})}var h8=U(()=>{Sn()});var np,ou,yw=U(()=>{Yr();ru();Xn();Ar();np=class e{constructor(){this._emitter=new e.EventEmitter(this)}emit(t,r){return this._emitter.emit(t,r)}on(t,r){return this._emitter.on(t,r)}once(t,r){return this._emitter.once(t,r)}hasEventListener(t){return this._emitter.hasEventListener(t)}};(function(e){class t{constructor(i=null){this._target=i,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(i,o){let s=this._listenersMap?.get(i);if(!s)return!1;let c=this._target||this,a=!1;for(let d of s.slice()){let h="deref"in d?d.deref():d;h?h?.call(c,o):a=!0}return a&&(s=s.filter(d=>!("deref"in d)||d.deref()!=null),this._listenersMap.set(i,s)),s.length>0}on(i,o){if(Array.isArray(i)){let c=i.map(a=>this.on(a,o));return Zl(c)}if(i.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??(this._listenersMap=new Map);let s=this._listenersMap.get(i)||[];return s.push(o),this._listenersMap.set(i,s),yt(()=>{let c=this._listenersMap?.get(i),a=c?.indexOf(o)??-1;a>=0&&c.splice(a,1)})}once(i,o){let s=this.on(i,c=>{s.remove(),("deref"in o?o.deref():o)?.call(null,c)});return s}hasEventListener(i){let o=this._listenersMap?.get(i);return o!=null&&o.length>0}}e.EventEmitter=t,e.EventedMixin=n=>{let i=class extends n{constructor(){super(...arguments),this._emitter=new t}destroy(){this._emitter.clear()}emit(o,s){return this._emitter.emit(o,s)}on(o,s){return this._emitter.on(o,s)}once(o,s){return this._emitter.once(o,s)}hasEventListener(o){return this._emitter.hasEventListener(o)}};return i=K([nt("esri.core.Evented")],i),i};let r=class extends un{constructor(){super(...arguments),this._emitter=new np.EventEmitter(this)}destroy(){this._emitter.clear()}emit(n,i){return this._emitter.emit(n,i)}on(n,i){return this._emitter.on(n,i)}once(n,i){return this._emitter.once(n,i)}hasEventListener(n){return this._emitter.hasEventListener(n)}};r=K([nt("esri.core.Evented.EventedAccessor")],r),e.EventedAccessor=r})(np||(np={}));ou=np});var dS,g8=U(()=>{dS=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]])});function qV(e){return"timeZoneIANA"in e}function ZV(e){return e.startsWith("UTC")}function bw(e,t=Lh){return e?qV(e)?e.timeZoneIANA:YV(e,t):t}function YV(e,t=Lh){if(!e||!dS.has(e.timeZone))return t;let r=dS.get(e.timeZone);return ZV(e.timeZone)||e.respectsDaylightSaving?r:JV(r)}function JV(e){let t=Ce.local().setZone(e),r=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return r===0?"Etc/UTC":`Etc/GMT${bt.instance(-r).formatOffset(0,"narrow")}`}var Lh,su,au,w8,vw=U(()=>{g8();Vn();Lh="system",su="unknown",au="UTC",w8=Intl.DateTimeFormat().resolvedOptions().timeZone});function ez(e){let t=fS.get(e);if(!t){let r=di(),n=QV[r]||r,i=tz(e.timeZone??Lh),o={...e,timeZone:i};t=new Intl.DateTimeFormat(n,o),fS.set(e,t)}return t}function lu(e,t=KV){return ez(t).format(e)}function tz(e){switch(e){case Lh:return w8;case su:return au;default:return e}}var Ko,kh,Oh,Nh,cc,cu,y8,Rh,Dh,XV,yue,QV,fS,KV,_w=U(()=>{nw();Ls();vw();Vn();Ko={year:"numeric",month:"numeric",day:"numeric"},kh={year:"numeric",month:"long",day:"numeric"},Oh={year:"numeric",month:"short",day:"numeric"},Nh={year:"numeric",month:"long",weekday:"long",day:"numeric"},cc={hour:"numeric",minute:"numeric"},cu={...cc,second:"numeric"},y8={hourCycle:"h23"},Rh={...cc,...y8},Dh={...cu,...y8},XV={"short-date":Ko,"short-date-short-time":{...Ko,...cc},"short-date-short-time-24":{...Ko,...Rh},"short-date-long-time":{...Ko,...cu},"short-date-long-time-24":{...Ko,...Dh},"short-date-le":Ko,"short-date-le-short-time":{...Ko,...cc},"short-date-le-short-time-24":{...Ko,...Rh},"short-date-le-long-time":{...Ko,...cu},"short-date-le-long-time-24":{...Ko,...Dh},"long-month-day-year":kh,"long-month-day-year-short-time":{...kh,...cc},"long-month-day-year-short-time-24":{...kh,...Rh},"long-month-day-year-long-time":{...kh,...cu},"long-month-day-year-long-time-24":{...kh,...Dh},"day-short-month-year":Oh,"day-short-month-year-short-time":{...Oh,...cc},"day-short-month-year-short-time-24":{...Oh,...Rh},"day-short-month-year-long-time":{...Oh,...cu},"day-short-month-year-long-time-24":{...Oh,...Dh},"long-date":Nh,"long-date-short-time":{...Nh,...cc},"long-date-short-time-24":{...Nh,...Rh},"long-date-long-time":{...Nh,...cu},"long-date-long-time-24":{...Nh,...Dh},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":cc,"long-time":cu},yue=Qo()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),QV={ar:"ar-u-nu-latn-ca-gregory"},fS=new WeakMap,KV=XV["short-date-short-time"];Bf(()=>{fS=new WeakMap})});function nz(e){let t=e||b8;if(!Sw.has(t)){let r=di(),n=rz[di()]||r;Sw.set(t,new Intl.NumberFormat(n,e))}return Sw.get(t)}function ip(e,t){return Object.is(e,-0)&&(e=0),nz(t).format(e)}var rz,Sw,b8,pS=U(()=>{Ls();rz={ar:"ar-u-nu-latn"},Sw=new WeakMap,b8={};Bf(()=>{Sw=new WeakMap,b8={}})});function mS(e,t,r={}){let{format:n={}}=r;return jo(e,i=>iz(i,t,n))}function iz(e,t,r){let n,i,o=e.indexOf(":");if(o===-1?n=e.trim():(n=e.slice(0,o).trim(),i=e.slice(o+1).trim()),!n)return"";let s=Li(n,t);if(s==null)return"";let c=(i?r?.[i]:null)??r?.[n];return c?oz(s,c):i?sz(s,i):hS(s)}function oz(e,t){switch(t.type){case"date":return lu(e,t.intlOptions);case"number":return ip(e,t.intlOptions);default:return v8().warn("missing format descriptor for key {key}"),hS(e)}}function sz(e,t){switch(t.toLowerCase()){case"dateformat":return lu(e);case"numberformat":return ip(e);default:return v8().warn(`inline format is unsupported since 4.12: ${t}`),/^(dateformat|datestring)/i.test(t)?lu(e):/^numberformat/i.test(t)?ip(e):hS(e)}}function hS(e){switch(typeof e){case"string":return e;case"number":return ip(e);case"boolean":return""+e;default:return e instanceof Date?lu(e):""}}var v8,gS=U(()=>{_t();Go();$a();_w();pS();v8=()=>Xe.getLogger("esri.intl.substitute")});function S8(e){return e in az}function x8(e){for(let t of op.keys())E8(e.pattern,t)&&op.delete(t)}function C8(e){return $h.includes(e)||(x8(e),$h.unshift(e)),yt(()=>{let t=$h.indexOf(e);t>-1&&($h.splice(t,1),x8(e))})}async function wS(e){let t=di();op.has(e)||op.set(e,cz(e,t));let r=op.get(e);return r&&await lz.add(r),r}function yS(e){if(!_8.test(e))return null;let t=_8.exec(e);if(t===null)return null;let[,r,n]=t,i=r+(n?"-"+n.toUpperCase():"");return S8(i)?i:S8(r)?r:null}async function cz(e,t){let r=[];for(let n of $h)if(E8(n.pattern,e))try{return await n.fetchMessageBundle(e,t)}catch(i){r.push(i)}throw r.length?new Ve("intl:message-bundle-error",`Errors occurred while loading "${e}"`,{errors:r}):new Ve("intl:no-message-bundle-loader",`No loader found for message bundle "${e}"`)}function E8(e,t){return typeof e=="string"?t.startsWith(e):e.test(t)}var _8,az,$h,op,lz,Fh=U(()=>{Sn();Xn();po();Ls();_8=/^([a-z]{2})(?:[-_]([A-Za-z]{2}))?$/,az={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:!0,nl:!0,pl:!0,"pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,"zh-CN":!0,"zh-HK":!0,"zh-TW":!0};$h=[],op=new Map;Bf(()=>{op.clear()});lz=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(e){return this._increase(),e.then(()=>this._decrease(),()=>this._decrease()),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=Qn())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&this._numLoading===0&&(this._dfd.resolve(),this._dfd=null)}}});async function uz(e,t,r,n){let i=t.exec(r);if(!i)throw new Ve("esri-intl:invalid-bundle",`Bundle id "${r}" is not compatible with the pattern "${t}"`);let o=i[1]?`${i[1]}/`:"",s=i[2],c=yS(n),a=`${o}${s}.json`,d=c?`${o}${s}_${c}.json`:a,h;try{h=await T8(e(d))}catch(g){if(d===a)throw new Ve("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:g});try{h=await T8(e(a))}catch(v){throw new Ve("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:v})}}return h}async function T8(e){if(M8.fetchBundleAsset!=null)return M8.fetchBundleAsset(e);let t=await Jt(e,{responseType:"text"});return JSON.parse(t.data)}function P8(e){return new bS(e)}var bS,M8,I8=U(()=>{xw();Sn();Fh();bS=class{constructor({base:t="",pattern:r,location:n=new URL(window.location.href)}){let i;i=typeof n=="string"?o=>new URL(o,new URL(n,window.location.href)).href:n instanceof URL?o=>new URL(o,n).href:n,this.pattern=typeof r=="string"?new RegExp(`^${r}`):r,this.getAssetUrl=i,t=t?t.endsWith("/")?t:t+"/":"",this.matcher=new RegExp(`^${t}(?:(.*)\\/)?(.*)$`)}fetchMessageBundle(t,r){return uz(this.getAssetUrl,this.matcher,t,r)}};M8={}});var Ew=U(()=>{_w();pS();gS();Ls();Fh();Fh();I8();Cw();C8(P8({pattern:"esri/",location:sp}))});function A8(e){return typeof e=="string"?document.getElementById(e):e??null}var L8=U(()=>{});var lc,vS,_S,k8,O8=U(()=>{Yr();ru();po();Ar();(function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"})(lc||(lc={}));vS=class{constructor(){this._resolver=Qn(),this._status=lc.PENDING,this._resolvingPromises=[],this._resolver.promise.then(()=>{this._status=lc.RESOLVED,this._cleanUp()},()=>{this._status=lc.REJECTED,this._cleanUp()}),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(t){this._resolvingPromises.push(t),this._tryResolve()}isResolved(){return this._status===lc.RESOLVED}isRejected(){return this._status===lc.REJECTED}isFulfilled(){return this._status!==lc.PENDING}abort(){this._resolver.reject(Yo())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;let t=Qn(),r=[...this._resolvingPromises,t.promise],n=this._allPromise=Promise.all(r);n.then(()=>{this.isFulfilled()||this._allPromise!==n||this._resolver.resolve()},i=>{this.isFulfilled()||this._allPromise!==n||Ch(i)||this._resolver.reject(i)}),t.resolve()}},_S=e=>{let t=class extends e{constructor(...r){super(...r),this._promiseProps=new vS,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(r,n){return this._promiseProps.promise.then(()=>this).then(r,n)}catch(r){return this.when(null,r)}addResolvingPromise(r){r&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in r?r.when():r)}};return t=K([nt("esri.core.Promise")],t),t},k8=class extends _S(un){};k8=K([nt("esri.core.Promise")],k8)});function hz(e){return{ok:!0,value:e}}function gz(e){return{ok:!1,error:e}}function wz(e){return e!=null&&e.ok===!0?e.value:null}function yz(e){return e!=null&&e.ok===!1?e.error:null}var uu,N8=U(()=>{Yr();ru();Ql();po();Jr();Ar();uu=class extends un{get value(){return wz(this._result)}get error(){return yz(this._result)}get finished(){return this._result!=null}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=tT(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:r}=this._abortController;this.promise=e(r),this.promise.then(n=>{this._result=hz(n),this._cleanup()},n=>{this._result=gz(n),this._cleanup()}),this._abortHandle=fi(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=wh(this._abortHandle),this._abortController=null}};K([ce()],uu.prototype,"value",null),K([ce()],uu.prototype,"error",null),K([ce()],uu.prototype,"finished",null),K([ce()],uu.prototype,"promise",void 0),K([ce()],uu.prototype,"_result",void 0),uu=K([nt("esri.core.asyncUtils.ReactiveTask")],uu)});var dt,R8=U(()=>{(function(e){e[e.ADD=1]="ADD",e[e.REMOVE=2]="REMOVE",e[e.MOVE=4]="MOVE"})(dt||(dt={}))});function D8(e){return(t,r)=>{t[r]=e}}var $8=U(()=>{});var Tw,F8=U(()=>{R_();Tw=class extends Qf{notify(){let t=this._observers;if(t&&t.length>0){let r=t.slice();for(let n of r)n.onInvalidated(),n.onCommitted()}}}});function U8(e){e&&typeof e=="object"&&"destroy"in e&&typeof e.destroy=="function"&&e.destroy()}function SS(e){return e?e instanceof pc?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function xS(e){if(e?.length)return e[0]}function bz(e,t,r,n){let i=Math.min(e.length-r,t.length-n),o=0;for(;o<i&&e[r+o]===t[n+o];)o++;return o}function V8(e,t,r,n){t&&t.forEach((i,o,s)=>{e.push(i),V8(e,r.call(n,i,o,s),r,n)})}var Os,ES,TS,Di,uc,dc,fc,CS,vz,pc,z8=U(()=>{Yr();W0();yw();Xn();jr();yh();R8();Y0();Qa();Xl();Jr();$8();Ar();F8();ES=class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(t){this.defaultPrevented=!1,this.item=t}},TS=class{constructor(t,r,n,i,o){this.target=t,this.added=r,this.removed=n,this.start=i,this.deleteCount=o}},Di=new fo(ES,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});uc=new Set,dc=new Set,fc=new Set,CS=new Map,vz=0,pc=Os=class extends ou.EventedAccessor{static isCollection(e){return e!=null&&e instanceof Os}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new Tw,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:vz++})}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof Os?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),this._emitter.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get items(){return qe(this._observable),this._items}set items(e){this._emitBeforeChanges(dt.ADD)||(this._splice(0,this.length,SS(e)),this._emitAfterChanges(dt.ADD))}hasEventListener(e){return!this.destroyed&&(e==="change"?this._chgListeners.length>0:this._emitter.hasEventListener(e))}on(e,t){if(this.destroyed)return yt();if(e==="change"){let r=this._chgListeners,n={removed:!1,callback:t};return r.push(n),this._notifications&&this._notifications.push({listeners:r.slice(),items:this._items.slice(),changes:[]}),yt(()=>{n.removed=!0,r.splice(r.indexOf(n),1)})}return this._emitter.on(e,t)}once(e,t){let r="deref"in t?()=>t.deref():()=>t,n=this.on(e,i=>{r()?.call(null,i),n.remove()});return n}add(e,t){if(qe(this._observable),this._emitBeforeChanges(dt.ADD))return this;let r=this.getNextIndex(t??null);return this._splice(r,0,[e]),this._emitAfterChanges(dt.ADD),this}addMany(e,t=this._items.length){if(qe(this._observable),!e?.length)return this;if(this._emitBeforeChanges(dt.ADD))return this;let r=this.getNextIndex(t);return this._splice(r,0,SS(e)),this._emitAfterChanges(dt.ADD),this}at(e){if(qe(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.REMOVE))return[];let e=this._removeAllRaw();return this._emitAfterChanges(dt.REMOVE),e}_removeAllRaw(){return this.length===0?[]:this._splice(0,this.length)||[]}clone(){return qe(this._observable),this._createNewInstance({items:this._items.map(it)})}concat(...e){qe(this._observable);let t=e.map(SS);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.REMOVE))return;let r=this._splice(0,this.length),n=r.length;for(let i=0;i<n;i++)e.call(t,r[i],i,r);this._emitAfterChanges(dt.REMOVE)}destroyAll(){this.drain(U8)}destroyMany(e){let t=this.removeMany(e);return t.forEach(U8),t}every(e,t){return qe(this._observable),this._items.every(e,t)}filter(e,t){let r;return qe(this._observable),r=arguments.length===2?this._items.filter(e,t):this._items.filter(e),this._createNewInstance({items:r})}find(e,t){return qe(this._observable),this._items.find(e,t)}findIndex(e,t){return qe(this._observable),this._items.findIndex(e,t)}flatten(e,t){qe(this._observable);let r=[];return V8(r,this,e,t),new Os(r)}forEach(e,t){return qe(this._observable),this._items.forEach(e,t)}getItemAt(e){return qe(this._observable),this._items[e]}getNextIndex(e){qe(this._observable);let t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return qe(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return qe(this._observable),this._items.indexOf(e,t)}join(e=","){return qe(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return qe(this._observable),this._items.lastIndexOf(e,t)}map(e,t){qe(this._observable);let r=this._items.map(e,t);return new Os({items:r})}reorder(e,t=this.length-1){qe(this._observable);let r=this.indexOf(e);if(r!==-1){if(t<0?t=0:t>=this.length&&(t=this.length-1),r!==t){if(this._emitBeforeChanges(dt.MOVE))return e;this._splice(r,1),this._splice(t,0,[e]),this._emitAfterChanges(dt.MOVE)}return e}}pop(){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.REMOVE))return;let e=xS(this._splice(this.length-1,1));return this._emitAfterChanges(dt.REMOVE),e}push(...e){return qe(this._observable),this._emitBeforeChanges(dt.ADD)||(this._splice(this.length,0,e),this._emitAfterChanges(dt.ADD)),this.length}reduce(e,t){qe(this._observable);let r=this._items;return arguments.length===2?r.reduce(e,t):r.reduce(e)}reduceRight(e,t){qe(this._observable);let r=this._items;return arguments.length===2?r.reduceRight(e,t):r.reduceRight(e)}remove(e){return qe(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if(qe(this._observable),e<0||e>=this.length||this._emitBeforeChanges(dt.REMOVE))return;let t=xS(this._splice(e,1));return this._emitAfterChanges(dt.REMOVE),t}removeMany(e){if(qe(this._observable),!e?.length||this._emitBeforeChanges(dt.REMOVE))return[];let t=e instanceof Os?e.toArray():e,r=this._items,n=[],i=t.length;for(let o=0;o<i;o++){let s=t[o],c=r.indexOf(s);if(c>-1){let a=1+bz(t,r,o+1,c+1),d=this._splice(c,a);d&&d.length>0&&n.push.apply(n,d),o+=a-1}}return this._emitAfterChanges(dt.REMOVE),n}reverse(){if(qe(this._observable),this._emitBeforeChanges(dt.MOVE))return this;let e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(dt.MOVE),this}shift(){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.REMOVE))return;let e=xS(this._splice(0,1));return this._emitAfterChanges(dt.REMOVE),e}slice(e=0,t=this.length){return qe(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return qe(this._observable),this._items.some(e,t)}sort(e){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.MOVE))return this;let t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(dt.MOVE),this}splice(e,t,...r){qe(this._observable);let n=(t?dt.REMOVE:0)|(r.length?dt.ADD:0);if(this._emitBeforeChanges(n))return[];let i=this._splice(e,t,r)||[];return this._emitAfterChanges(n),i}toArray(){return qe(this._observable),this._items.slice()}toJSON(){return qe(this._observable),this.toArray()}toLocaleString(){return qe(this._observable),this._items.toLocaleString()}toString(){return qe(this._observable),this._items.toString()}unshift(...e){return qe(this._observable),!e.length||this._emitBeforeChanges(dt.ADD)||(this._splice(0,0,e),this._emitAfterChanges(dt.ADD)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,r){let n=this._items,i=this.itemType,o,s;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=Z0(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(s=n.splice(e,t),this.hasEventListener("before-remove")){let c=Di.acquire();c.target=this,c.cancellable=!0;for(let a=0,d=s.length;a<d;a++)o=s[a],c.reset(o),this.emit("before-remove",c),c.defaultPrevented&&(s.splice(a,1),n.splice(e,0,o),e+=1,a-=1,d-=1);Di.release(c)}if(this.length=this._items.length,this.hasEventListener("after-remove")){let c=Di.acquire();c.target=this,c.cancellable=!1;let a=s.length;for(let d=0;d<a;d++)c.reset(s[d]),this.emit("after-remove",c);Di.release(c)}}if(r?.length){if(i){let h=[];for(let g of r){let v=i.ensureType(g);v==null&&g!=null||h.push(v)}r=h}let c=this.hasEventListener("before-add"),a=this.hasEventListener("after-add"),d=e===this.length;if(c||a){let h=Di.acquire();h.target=this,h.cancellable=!0;let g=Di.acquire();g.target=this,g.cancellable=!1;for(let v of r)c?(h.reset(v),this.emit("before-add",h),h.defaultPrevented||(d?n.push(v):n.splice(e++,0,v),this._set("length",n.length),a&&(g.reset(v),this.emit("after-add",g)))):(d?n.push(v):n.splice(e++,0,v),this._set("length",n.length),g.reset(v),this.emit("after-add",g));Di.release(g),Di.release(h)}else{if(d)for(let h of r)n.push(h);else n.splice(e,0,...r);this._set("length",n.length)}}if((r?.length||s?.length)&&this._notifyChangeEvent(r,s),this.hasEventListener("after-splice")){let c=new TS(this,r,s,e,t);this.emit("after-splice",c)}return s}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){let r=Di.acquire();r.target=this,r.cancellable=!0,r.type=e,this.emit("before-changes",r),t=r.defaultPrevented,Di.release(r)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){let t=Di.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),Di.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;let e=this._notifications;this._notifications=null;for(let t of e){let r=t.changes;uc.clear(),dc.clear(),fc.clear();for(let{added:a,removed:d}of r){if(a)if(fc.size===0&&dc.size===0)for(let h of a)uc.add(h);else for(let h of a)dc.has(h)?(fc.add(h),dc.delete(h)):fc.has(h)||uc.add(h);if(d)if(fc.size===0&&uc.size===0)for(let h of d)dc.add(h);else for(let h of d)uc.has(h)?uc.delete(h):(fc.delete(h),dc.add(h))}let n=zn.acquire();uc.forEach(a=>{n.push(a)});let i=zn.acquire();dc.forEach(a=>{i.push(a)});let o=this._items,s=t.items,c=zn.acquire();if(fc.forEach(a=>{s.indexOf(a)!==o.indexOf(a)&&c.push(a)}),t.listeners&&(n.length||i.length||c.length)){let a={target:this,added:n,removed:i,moved:c},d=t.listeners.length;for(let h=0;h<d;h++){let g=t.listeners[h];g.removed||g.callback.call(this,a)}}zn.release(n),zn.release(i),zn.release(c)}uc.clear(),dc.clear(),fc.clear()}};pc.ofType=e=>{if(!e)return Os;if(CS.has(e))return CS.get(e);let t=null;if(typeof e=="function")t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(let n in e.typeMap){let i=e.typeMap[n].prototype.declaredClass;t?t+=` | ${i}`:t=i}let r=class extends Os{};return K([D8({Type:e,ensureType:typeof e=="function"?Ri(e):Xa(e)})],r.prototype,"itemType",void 0),r=K([nt(`esri.core.Collection<${t}>`)],r),CS.set(e,r),r},K([ce()],pc.prototype,"_updating",void 0),K([ce()],pc.prototype,"length",void 0),K([ce()],pc.prototype,"items",null),K([ce({readOnly:!0})],pc.prototype,"updating",null),pc=Os=K([nt("esri.core.Collection")],pc)});function Uh(e,t,r={}){return B8(e,t,r,_z)}function W8(e,t,r={}){return B8(e,t,r,Sz)}function B8(e,t,r={},n){let i=null,o=r.once?(s,c)=>{n(s)&&(wh(i),t(s,c))}:(s,c)=>{n(s)&&t(s,c)};if(i=RT(e,o,r.sync,r.equals),r.initial){let s=e();o(s,s)}return i}function _z(e){return!0}function Sz(e){return!!e}var Mw,MS=U(()=>{N8();z8();xh();Xn();Ql();po();eS();K_();Mw={sync:!0,initial:!0}});function G8(){if(xz)return crypto.randomUUID();let e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;let t=r=>e[r].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}var xz,j8=U(()=>{xz="randomUUID"in crypto});function Ez(e){let t="__accessorMetadata__"in e?Ri(e):e;return function(...r){if(r.push(t),typeof r[2]=="number")throw new Error("Using @cast has parameter decorator is not supported since 4.16");return Tz.apply(this,r)}}function Tz(e,t,r,n){qf(e,t).cast=n}function Mz(e){return(t,r)=>{qf(t,e).cast=t[r]}}function Pw(...e){if(e.length!==3||typeof e[1]!="string")return e.length===1&&Cz.call(e[0])==="[object Function]"?Ez(e[0]):e.length===1&&typeof e[0]=="string"?Mz(e[0]):void 0}var Cz,PS=U(()=>{Qa();Zf();Cz=Object.prototype.toString});function J8(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function Pz(e,t,r){}function Iz(e,t,r){}function Lz(e,t){return Az.test(t)?"":t}function Oz(e,t){e=Vh.trimRight(e),e[e.length-1]!==";"&&(e+=";");var r=e.length,n=!1,i=0,o=0,s="";function c(){if(!n){var h=Vh.trim(e.slice(i,o)),g=h.indexOf(":");if(g!==-1){var v=Vh.trim(h.slice(0,g)),S=Vh.trim(h.slice(g+1));if(v){var M=t(i,s.length,v,S,h);M&&(s+=M+"; ")}}}i=o+1}for(;o<r;o++){var a=e[o];if(a==="/"&&e[o+1]==="*"){var d=e.indexOf("*/",o+2);if(d===-1)break;o=d+1,i=o+1,n=!1}else a==="("?n=!0:a===")"?n=!1:a===";"?n||c():a===`
6
+ `);return c}setAtOrigin(t,r,n){let i=this.propertiesByName.get(t);if(V0(i))return this._setAtOrigin(i,r,n)}isOverridden(t){let r=this.propertiesByName.get(t);return r!==void 0&&!!(r.flags&at.Overridden)}clearOverride(t){let r=this.propertiesByName.get(t);r&&r.flags&at.Overridden&&(r.flags&=~at.Overridden,r.notifyChange())}override(t,r){let n=this.propertiesByName.get(t);if(!sT(n,t,r,this))return;let i=n.metadata.cast;if(i){let o=this._cast(i,r),{valid:s,value:c}=o;if(D_.release(o),!s)return;r=c}n.flags|=at.Overridden,this._internalSet(n,r)}set(t,r){let n=this.propertiesByName.get(t);if(!sT(n,t,r,this))return;let i=n.metadata.cast;if(i){let s=this._cast(i,r),{valid:c,value:a}=s;if(D_.release(s),!c)return;r=a}let o=n.metadata.set;o?o.call(this.host,r):this._internalSet(n,r)}setDefaultOrigin(t){this._origin=$0(t)}getDefaultOrigin(){return F0(this._origin)}notifyChange(t){let r=this.propertiesByName.get(t);r!==void 0&&r.notifyChange()}invalidate(t){let r=this.propertiesByName.get(t);r!==void 0&&r.invalidate()}commit(t){let r=this.propertiesByName.get(t);r!==void 0&&r.commit()}_internalSet(t,r){let n=this.lifecycle!==Xr.INITIALIZING?this._origin:ct.DEFAULTS;this._setAtOrigin(t,r,n)}_setAtOrigin(t,r,n){let i=this.store,o=t.propertyName;i.has(o,n)&&Sm(r,i.get(o))&&~t.flags&at.Overridden&&n===i.originOf(o)||(t.invalidate(),i.set(o,r,n),t.commit(),__(this.host,t))}_cast(t,r){let n=D_.acquire();return n.valid=!0,n.value=r,t&&(n.value=t.call(this.host,r,n)),n}},$_=class{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}},D_=new fo($_)});function F_(){return NU}var NU,cT,lT=U(()=>{(function(e){e[e.Ignore=0]="Ignore",e[e.Destroy=1]="Destroy",e[e.ThrowError=2]="ThrowError"})(cT||(cT={}))});function RU(e){e.length=0}var zn,U_,W0=U(()=>{yh();zn=class{constructor(t=50,r=50){this._pool=new fo(Array,void 0,RU,r,t)}acquire(){return this._pool.acquire()}release(t){this._pool.release(t)}prune(){this._pool.prune(0)}static acquire(){return U_.acquire()}static release(t){return U_.release(t)}static prune(){U_.prune()}},U_=new zn(100)});var B0,uT=U(()=>{yh();B0=class extends fo{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...t){let r=super.acquire(...t);return this._set.delete(r),r}release(t){t&&!this._set.has(t)&&(super.release(t),this._set.add(t))}_dispose(t){this._set.delete(t),super._dispose(t)}}});function V_(e){G0.push(e),G0.length===1&&queueMicrotask(()=>{let t=G0.slice();G0.length=0;for(let r of t)r()})}var G0,dT=U(()=>{G0=[]});var vh,fT=U(()=>{vh=class{constructor(t,r=30){this.name=t,this._counter=0,this._samples=new Array(r)}push(t){t!=null&&(this._samples[++this._counter%this._samples.length]=t)}set(t){t!=null&&(this._samples[this._counter%this._samples.length]=t)}get median(){return this._samples.slice().sort((t,r)=>t-r)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((t,r)=>t+r,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}});var z_,W_,pT=U(()=>{(function(e){let t=(o,s,c,a)=>{let d=s,h=s,g=c>>>1,v=o[d-1];for(;h<=g;){h=d<<1,h<c&&a(o[h-1],o[h])<0&&++h;let S=o[h-1];if(a(S,v)<=0)break;o[d-1]=S,d=h}o[d-1]=v},r=(o,s)=>o<s?-1:o>s?1:0;function n(o,s,c,a){s===void 0&&(s=0),c===void 0&&(c=o.length),a===void 0&&(a=r);for(let h=c>>>1;h>s;h--)t(o,h,c,a);let d=s+1;for(let h=c-1;h>s;h--){let g=o[s];o[s]=o[h],o[h]=g,t(o,d,h,a)}}function*i(o,s,c,a){s===void 0&&(s=0),c===void 0&&(c=o.length),a===void 0&&(a=r);for(let h=c>>>1;h>s;h--)t(o,h,c,a),yield;let d=s+1;for(let h=c-1;h>s;h--){let g=o[s];o[s]=o[h],o[h]=g,t(o,d,h,a),yield}}e.sort=n,e.iterableSort=i})(z_||(z_={}));W_=z_});function mT(e){e.data.length>DU*e.length&&(e.data.length=Math.floor(e.length*$U))}var DU,$U,_h,hT=U(()=>{Ra();pT();DU=1.5,$U=1.1,_h=class{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new _m,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),t.deallocator!==void 0&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>mT(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){let r=new Array;for(let n=0;n<this._length;n++){let i=this.data[n];t(i)&&r.push(i)}return r}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,r){let n=this.data.indexOf(t,r);return n!==-1&&n<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let r=t;r<this._length;++r)this.data[r]=this._deallocator(this.data[r]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,r=t.length){for(let n=0;n<r;n++)this.data[this._length++]=t[n]}fill(t,r){for(let n=0;n<r;n++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,mT(this)}pop(){if(this.length===0)return;let t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){let r=mv(this.data,t,this.length,this._hint);if(r!==-1)return this.data.splice(r,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex(mv(this.data,t,this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,r=t.length,n){this.length=M6(this.data,t,this.length,r,this._hint,n),this._shrink()}front(){if(this.length!==0)return this.data[0]}back(){if(this.length!==0)return this.data[this.length-1]}swapElements(t,r){if(t>=this.length||r>=this.length||t===r)return;let n=this.data[t];this.data[t]=this.data[r],this.data[r]=n}sort(t){W_.sort(this.data,0,this.length,t)}iterableSort(t){return W_.iterableSort(this.data,0,this.length,t)}some(t,r){for(let n=0;n<this.length;++n)if(t.call(r,this.data[n],n,this.data))return!0;return!1}find(t,r){let{data:n,length:i}=this;for(let o=0;o<i;++o)if(t.call(r,n[o]))return n[o]}filterInPlace(t,r){let n=0;for(let i=0;i<this._length;++i){let o=this.data[i];t.call(r,o,i,this.data)&&(this.data[i]=this.data[n],this.data[n]=o,n++)}if(this._deallocator)for(let i=n;i<this._length;i++)this.data[i]=this._deallocator(this.data[i]);return this._length=n,this._shrink(),this}forAll(t,r){let{data:n,length:i}=this;for(let o=0;o<i;++o)t.call(r,n[o],o,n)}forEach(t,r){this.data.slice(0,this.length).forEach(t,r)}map(t,r){let n=new Array(this.length);for(let i=0;i<this.length;++i)n[i]=t.call(r,this.data[i],i,this.data);return n}reduce(t,r){let n=r;for(let i=0;i<this.length;++i)n=t(n,this.data[i],i,this.data);return n}has(t){let r=this.length,n=this.data;for(let i=0;i<r;++i)if(n[i]===t)return!0;return!1}*[Symbol.iterator](){for(let t=0;t<this.length;t++)yield this.data[t]}}});function FU(e){return{setTimeout:(t,r)=>{let n=e.setTimeout(t,r);return yt(()=>e.clearTimeout(n))}}}var gT,wT=U(()=>{Xn();gT=FU(globalThis)});function Sh(e){return UU(e)||yT(e)}function UU(e){return e!=null&&typeof e=="object"&&"on"in e&&typeof e.on=="function"}function yT(e){return e!=null&&typeof e=="object"&&"addEventListener"in e&&typeof e.addEventListener=="function"}function tc(e,t,r){if(!Sh(e))throw new TypeError("target is not a Evented or EventTarget object");return yT(e)?VU(e,t,r):e.on(t,r)}function VU(e,t,r,n){if(Array.isArray(t)){let i=t.slice();for(let o of i)e.addEventListener(o,r,n);return yt(()=>{for(let o of i)e.removeEventListener(o,r,n)})}return e.addEventListener(t,r,n),yt(()=>e.removeEventListener(t,r,n))}function bT(e,t,r){if(!Sh(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);let n=tc(e,t,i=>{n.remove(),r.call(e,i)});return n}var xh=U(()=>{Xn()});function Yo(e="Aborted"){return new Ve("AbortError",e)}function j0(e){return e instanceof AbortSignal?e:e?.signal??void 0}function ks(e){let t=j0(e);return t!=null&&t.aborted}function B_(e){if(!Ch(e))throw e}function fi(e,t){let r=j0(e);if(r!=null){if(!r.aborted)return bT(r,"abort",()=>t());t()}}function Ch(e){return e?.name==="AbortError"}function zU(e,t=void 0,r){let n=new AbortController;return fi(r,()=>n.abort()),new Promise((i,o)=>{let s=setTimeout(()=>{s=0,i(t)},e);fi(n,()=>{s&&(clearTimeout(s),o(Yo()))})})}function WU(e){return e&&typeof e.then=="function"}function vT(e){return WU(e)?e:Promise.resolve(e)}function _T(e,t=-1){let r,n,i,o,s=null,c=(...a)=>{if(r){n=a,o&&o.reject(Yo()),o=Qn();let v=o.promise;if(s){let S=s;s=null,S.abort()}return v}if(i=o||Qn(),o=null,t>0){let v=new AbortController;r=vT(e(...a,v.signal));let S=r;zU(t).then(()=>{r===S&&(o?v.abort():s=v)})}else r=1,r=vT(e(...a));let d=()=>{let v=n;n=i=r=s=null,v!=null&&c(...v)},h=r,g=i;return h.then(d,d),h.then(g.resolve,g.reject),g.promise};return c}function Qn(){let e,t,r=new Promise((i,o)=>{e=i,t=o}),n=i=>{e(i)};return n.resolve=i=>e(i),n.reject=i=>t(i),n.timeout=(i,o)=>gT.setTimeout(()=>n.reject(o),i),n.promise=r,n}var po=U(()=>{wT();Sn();xh();_t();Ql()});var ST=U(()=>{});function BU(){Th!=null&&(cancelAnimationFrame(Th),Th=requestAnimationFrame(ET))}function Z0(e){let t=new G_(e);return H_.push(t),q0.willDispatch||(q0.willDispatch=!0,V_(MT)),t}function GU(e=!1){Kf.forAll(t=>{t.removed=!0}),e&&TT()}function ET(){let e=performance.now();Th=null,Th=Kf.length>0?requestAnimationFrame(ET):null,q0.executeFrameTasks(e)}function jU(e){let t=e-xT;xT=e;let r=CT>0?CT:1e3/60,n=Math.max(0,t-r);Eh.time=e,Eh.frameDuration=r-n;for(let i=0;i<j_.length;i++){let o=performance.now(),s=j_[i];Kf.forAll(c=>{c.paused||c.removed||(i===0&&c.ticks++,c.phases[s]&&(Eh.elapsedFrameTime=performance.now()-e,Eh.deltaTime=c.ticks===0?0:t,c.phases[s]?.call(c,Eh)))}),ZU[i].push(performance.now()-o)}TT(),YU.push(performance.now()-e)}function TT(){Kf.forAll(e=>{e.removed&&H0.push(e)}),Kf.removeUnorderedMany(H0.data,H0.length),H0.clear()}function MT(){for(;H_.length;){let e=H_.shift();e.isActive&&e.callback()}q0.willDispatch=!1}function HU(e=1,t){let r=Qn(),n=()=>{ks(t)?r.reject(Yo()):e===0?r():(--e,V_(()=>n()))};return n(),r.promise}function qU(e){return HU(1,e)}async function PT(e){await qU(e),await new Promise(t=>requestAnimationFrame(()=>{e?.aborted||t()}))}var G_,xT,CT,Eh,j_,H_,Kf,q0,Th,H0,ZU,YU,Y0=U(()=>{dT();fT();hT();po();ST();G_=class{constructor(t){this.callback=t,this.isActive=!0}remove(){this.isActive=!1}},xT=0,CT=0,Eh={time:0,deltaTime:0,elapsedFrameTime:0,frameDuration:0},j_=["prepare","preRender","render","postRender","update","finish"],H_=[],Kf=new _h;q0={frameTasks:Kf,willDispatch:!1,clearFrameTasks:GU,dispatch:MT,executeFrameTasks:jU,reschedule:BU};Th=null;H0=new _h;ZU=j_.map(e=>new vh(e)),YU=new vh("total")});function IT(e,t){if(!t)return e;for(let r of t)r!=null&&e.add(r);return e}function AT(e,t){let r=new Set;return IT(r,e),IT(r,t),r}var q_=U(()=>{});function J0(){return++JU}var JU,LT=U(()=>{JU=0});function XU(){}var eu,Z_,kT,Y_=U(()=>{dh();eu=class extends Zo{constructor(t){super(new Z_(t)),this._observer&&kT.register(this,new WeakRef(this._observer),this)}destroy(){this._observer&&kT.unregister(this._observer),this.accessed?.clear(),this.clear(),this._observer?.destroy()}},Z_=class{constructor(t){this._notify=t,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;let t=this._invalidCount;if(t===1)return this._invalidCount=0,void this._notify();this._invalidCount=t>0?t-1:0}destroy(){this.destroyed=!0,this._notify=XU}},kT=new FinalizationRegistry(e=>{e.deref()?.destroy()})});function X_(e,t){let r=new eu(o),n=null,i=!1;function o(){if(!r||i)return;if(J_)return void QU(o);let c=n;r.clear(),J_=!0,i=!0,n=uo(r,e),i=!1,J_=!1,t(n,c),KU()}function s(){r&&(r.destroy(),r=null,n=null)}return i=!0,n=uo(r,e),i=!1,yt(s)}function Q_(e,t){let r=new eu(i),n=null;function i(){t(n,s)}function o(){r&&(r.destroy(),r=null),n=null}function s(){return r?(r.clear(),n=uo(r,e),n):null}return s(),yt(o)}function QU(e){X0.includes(e)||X0.unshift(e)}function KU(){for(;X0.length;)X0.pop()()}var J_,X0,K_=U(()=>{Xn();Xl();Y_();J_=!1,X0=[]});function ew(e){rc.delete(e),rc.add(e),K0||(K0=Z0(tV))}function eV(e){if(e.removed)return;let t=e.oldValue,r=e.getValue();e.equals(t,r)||(e.oldValue=r,e.notify(r,t))}function OT(e){for(let t of rc.values())t.target===e&&(t.removed=!0)}function tV(){let e=10;for(;K0&&e--;){K0=null;let t=rV(),r=Q0.acquire();for(let n of t){let i=n.uid;eV(n),i===n.uid&&n.removed&&r.push(n)}for(let n of rc)n.removed&&(r.push(n),rc.delete(n));for(let n of r)tu.pool.release(n);Q0.release(r),Q0.release(t),nV.forEach(n=>n())}}function rV(){let e=Q0.acquire();e.length=rc.size;let t=0;for(let r of rc)e[t]=r,++t;return rc.clear(),e}function iV(e,t,r){let n=h_(e,t,r,(i,o,s)=>{let c,a,d=Q_(()=>Yl(i,o),(h,g)=>{i.__accessor__?.lifecycle===Xr.DESTROYED||c&&c.uid!==a?n.remove():(c||(c=tu.acquireUntracked(h,s,g,i,o),a=c.uid),ew(c))});return yt(()=>{d.remove(),c&&(c.uid!==a||c.removed||(c.removed=!0,ew(c)),c=null),n=d=null})});return n}function oV(e,t,r){let n=h_(e,t,r,(i,o,s)=>{let c=!1;return X_(()=>Yl(i,o),(a,d)=>{i.__accessor__.lifecycle!==Xr.DESTROYED?c||(c=!0,Sm(d,a)||s.call(i,a,d,o,i),c=!1):n.remove()})});return n}function NT(e,t,r,n=!1){return e.__accessor__&&e.__accessor__.lifecycle!==Xr.DESTROYED?n?oV(e,t,r):iV(e,t,r):yt()}function sV(e,t,r){let n,i,o=Q_(e,(s,c)=>{n&&n.uid!==i?o.remove():(n||(n=tu.acquireTracked(s,t,c,r),i=n.uid),ew(n))});return yt(()=>{o.remove(),n&&(n.uid!==i||n.removed||(n.removed=!0,ew(n)),n=null),o=null})}function aV(e,t,r){let n=!1;return X_(e,(i,o)=>{n||(n=!0,r(o,i)||t(i,o),n=!1)})}function RT(e,t,r=!1,n=W6){return r?aV(e,t,n):sV(e,t,n)}var Mh,tu,Q0,rc,K0,nV,eS=U(()=>{W0();Xn();jr();uT();Y0();q_();LT();Jl();uh();K_();Ka();(function(e){e[e.Untracked=0]="Untracked",e[e.Tracked=1]="Tracked"})(Mh||(Mh={}));tu=class{constructor(){this.uid=J0(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static acquireUntracked(t,r,n,i,o){return this.pool.acquire(Mh.Untracked,t,r,n,i,o,Sm)}static acquireTracked(t,r,n,i){return this.pool.acquire(Mh.Tracked,t,r,n,null,null,i)}notify(t,r){this.type===Mh.Untracked?this.callback.call(this.target,t,r,this.path,this.target):this.callback.call(null,t,r,void 0,void 0)}acquire(t,r,n,i,o,s,c){this.uid=J0(),this.removed=!1,this.type=t,this.oldValue=r,this.callback=n,this.getValue=i,this.target=o,this.path=s,this.equals=c}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=J0(),this.removed=!0}};tu.pool=new B0(tu);Q0=new zn,rc=new Set;nV=new Set});function cV(e){if(e==null)return{value:e};if(Array.isArray(e))return{type:[e[0]],value:null};switch(typeof e){case"object":return e.constructor?.__accessorMetadata__||e instanceof Date?{type:e.constructor,value:e}:e;case"boolean":return{type:Boolean,value:e};case"string":return{type:String,value:e};case"number":return{type:Number,value:e};case"function":return{type:e,value:null};default:return}}var DT,$T,Jo,tS,un,ru=U(()=>{O_();eT();_t();Ql();b_();Jl();uh();Zf();aT();y_();lT();eS();Jr();Ar();Jo=Symbol("Accessor-Handles"),tS=Symbol("Accessor-Initialized"),un=class e{static createSubclass(t={}){if(Array.isArray(t))throw new Error("Multi-inheritance unsupported since 4.16");let{properties:r,declaredClass:n,constructor:i}=t;delete t.declaredClass,delete t.properties,delete t.constructor;let o=this;class s extends o{constructor(...a){super(...a),this.inherited=null,i&&i.apply(this,a)}}ec(s.prototype);for(let c in t){let a=t[c];s.prototype[c]=typeof a=="function"?function(...d){let h=this.inherited,g;this.inherited=function(...v){if(o.prototype[c])return o.prototype[c].apply(this,v)};try{g=a.apply(this,d)}catch(v){throw this.inherited=h,v}return this.inherited=h,g}:t[c]}for(let c in r){let a=cV(r[c]);ce(a)(s.prototype,c)}return nt(n)(s)}static freeze(t){return t instanceof e?t.__accessor__.mutable=!1:Object.freeze(t),t}static isFrozen(t){return t instanceof e?!t.__accessor__.mutable:Object.isFrozen(t)}constructor(...t){if(this[DT]=null,this[$T]=!1,this.constructor===e)throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");let r=new z0(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:r}),t.length>0&&(r.ctorArgs=this.normalizeCtorArgs?.apply(this,t)??t[0]),F_()?.onInstanceConstruct(this)}postscript(){let t=this.__accessor__,r=t.ctorArgs;t.initialize(),r&&(this.set(r),t.ctorArgs=null),t.constructed(),this.initialize(),this[tS]=!0}initialize(){}[E0](){this[Jo]=gh(this[Jo])}destroy(){this.destroyed||(OT(this),this.__accessor__.destroy(),F_()?.onInstanceDestroy(this))}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[tS]}get destroyed(){return this.__accessor__?.lifecycle===Xr.DESTROYED||!1}commitProperty(t){lo(this,t)}get(t){return N0(Xe.getLogger(this),"`Accessor.get` is deprecated in favor of using optional chaining",{version:"4.28",see:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining"}),lo(this,t)}hasOwnProperty(t){return this.__accessor__?this.__accessor__.has(t):Object.prototype.hasOwnProperty.call(this,t)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(t,r){return Jf(this,t,r),this}watch(t,r,n){return NT(this,t,r,n)}addHandles(t,r){if(this.destroyed){let n=Array.isArray(t)?t:[t];for(let i of n)i.remove();return}(this[Jo]??(this[Jo]=new Xf)).add(t,r)}removeHandles(t){this[Jo]?.remove(t)}removeAllHandles(){this[Jo]?.removeAll()}removeHandlesReference(t){this[Jo]?.removeReference(t)}hasHandles(t){return this[Jo]?.has(t)===!0}_override(t,r){r===void 0?this.__accessor__.clearOverride(t):this.__accessor__.override(t,r)}_clearOverride(t){return this.__accessor__.clearOverride(t)}_overrideIfSome(t,r){r==null?this.__accessor__.clearOverride(t):this.__accessor__.override(t,r)}_isOverridden(t){return this.__accessor__.isOverridden(t)}notifyChange(t){this.__accessor__.notifyChange(t)}_get(t){return this.__accessor__.internalGet(t)}_set(t,r){return this.__accessor__.internalSet(t,r),this}};DT=Jo,$T=tS});var tw,rS,FT=U(()=>{jr();Kl();tw=class e{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){let r=new e;return this._values.forEach((n,i)=>{t&&t.has(i)||r.set(i,it(n.value),n.origin)}),r}get(t,r){r=this._normalizeOrigin(r);let n=this._values.get(t);return r==null||n?.origin===r?n?.value:void 0}originOf(t){return this._values.get(t)?.origin??ct.USER}keys(t){t=this._normalizeOrigin(t);let r=[...this._values.keys()];return t==null?r:r.filter(n=>this._values.get(n)?.origin===t)}set(t,r,n){if((n=this._normalizeOrigin(n))===ct.DEFAULTS){let i=this._values.get(t);if(i?.origin!=null&&i.origin>n)return}this._values.set(t,new rS(r,n))}delete(t,r){(r=this._normalizeOrigin(r))!=null&&this._values.get(t)?.origin!==r||this._values.delete(t)}has(t,r){return(r=this._normalizeOrigin(r))!=null?this._values.get(t)?.origin===r:this._values.has(t)}forEach(t){this._values.forEach(({value:r},n)=>t(r,n))}_normalizeOrigin(t){if(t!=null)return t===ct.DEFAULTS?t:ct.USER}},rS=class{constructor(t,r){this.value=t,this.origin=r}}});function UT(e,t,r){t.keys().forEach(i=>{r.set(i,t.get(i),ct.DEFAULTS)});let n=e.metadata;Object.keys(n).forEach(i=>{e.internalGet(i)&&r.set(i,e.internalGet(i),ct.DEFAULTS)})}var VT=U(()=>{Kl()});function lV(e,t,r){if(!e?.read||e.read.enabled===!1||!e.read.source)return!1;let n=e.read.source;if(typeof n=="string"){if(n===t||n.includes(".")&&n.indexOf(t)===0&&g_(n,r))return!0}else for(let i of n)if(i===t||i.includes(".")&&i.indexOf(t)===0&&g_(i,r))return!0;return!1}function uV(e){return e&&(!e.read||e.read.enabled!==!1&&!e.read.source)}function dV(e,t,r,n,i){let o=k0(t[r],i);uV(o)&&(e[r]=!0);for(let s of Object.getOwnPropertyNames(t))o=k0(t[s],i),lV(o,r,n)&&(e[s]=!0)}function fV(e,t,r,n){let i=r.metadata,o=jE(i[t],n),s=o?.default;if(s===void 0)return;let c=typeof s=="function"?s.call(e,t,n):s;c!==void 0&&r.set(t,c)}function zT(e,t,r=pV){if(!t||typeof t!="object")return;let n=qo(e),i=n.metadata,o={};for(let s of Object.getOwnPropertyNames(t))dV(o,i,s,t,r);n.setDefaultOrigin(r.origin);for(let s of Object.getOwnPropertyNames(o)){let c=k0(i[s],r).read,a=c?.source,d;d=a&&typeof a=="string"?Yl(t,a):t[s],c?.reader&&(d=c.reader.call(e,d,t,r)),d!==void 0&&n.set(s,d)}if(!r||!r.ignoreDefaults){n.setDefaultOrigin("defaults");for(let s of Object.getOwnPropertyNames(i))o[s]||fV(e,s,n,r)}n.setDefaultOrigin("user")}var pV,WT=U(()=>{Jl();Ka();O0();pV={origin:"service"}});function mV(e,t,r,n,i){let o={};return t.write?.writer?.call(e,n,o,r,i),o}function hV(e,t,r,n,i,o){if(!n?.write)return!1;let s=lo(e,r);if(!i&&n.write.overridePolicy){let c=n.write.overridePolicy.call(e,s,r,o??void 0);c!==void 0&&(i=c)}if(i||(i=n.write),!i||i.enabled===!1||i.layerContainerTypes&&o?.layerContainerType&&!i.layerContainerTypes.includes(o.layerContainerType))return!1;if((s===null&&!i.allowNull&&!i.writerEnsuresNonNull||s===void 0)&&i.isRequired){let c=new Ve("web-document-write:property-required",`Missing value for required property '${r}' on '${e.declaredClass}'`,{propertyName:r,target:e});return c&&o?.messages?o.messages.push(c):c&&!o&&Xe.getLogger("esri.core.accessorSupport.write").error(c.name,c.message),!1}return!(s===void 0||s===null&&!i.allowNull&&!i.writerEnsuresNonNull||!i.alwaysWriteDefaults&&(!t.store.multipleOriginsSupported||t.store.originOf(r)===ct.DEFAULTS)&&gV(e,r,o,n,s)||!i.ignoreOrigin&&o?.origin&&t.store.multipleOriginsSupported&&t.store.originOf(r)<$0(o.origin))}function gV(e,t,r,n,i){let o=n.default;if(o===void 0)return!1;if(n.defaultEquals!=null)return n.defaultEquals(i);if(typeof o=="function"){if(Array.isArray(i)){let s=o.call(e,t,r??void 0);return Na(s,i)}return!1}return o===i}function BT(e,t,r){if(e&&typeof e.toJSON=="function"&&(!e.toJSON.isDefaultToJSON||!e.write))return Hf(t,e.toJSON(r));let n=qo(e),i=n.metadata;for(let o in i){let s=HE(i[o],r);if(!hV(e,n,o,s,void 0,r))continue;let c=lo(e,o),a=mV(e,s,s.write&&typeof s.write.target=="string"?s.write.target:o,c,r);Object.keys(a).length>0&&(t=Hf(t,a),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>Hf(t,a,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:e,propName:o,oldOrigin:nT(n.store.originOf(o)),newOrigin:r.origin}))}return t}var GT=U(()=>{Ra();Sn();_t();Jl();Kl();Ka();O0()});function yV(e,t){if(!e)return null;if(e.declaredClass)throw new Error("JSON object is already hydrated");let r=new this;return r.read(e,t),r}function Ph(e){return e&&typeof e=="object"&&"toJSON"in e&&typeof e.toJSON=="function"}var wV,Xo,nu=U(()=>{Yr();ru();FT();VT();WT();Ka();GT();Ar();wV=e=>{let t=class extends e{constructor(...r){super(...r);let n=qo(this),i=n.store,o=new tw;n.store=o,UT(n,i,o)}read(r,n){zT(this,r,n)}write(r,n){return BT(this,r??{},n)}toJSON(r){return this.write({},r)}static fromJSON(r,n){return yV.call(this,r,n)}};return t=K([nt("esri.core.JSONSupport")],t),t.prototype.toJSON.isDefaultToJSON=!0,t};Xo=class extends wV(un){};Xo=K([nt("esri.core.JSONSupport")],Xo)});function rw(e,t,r){let n,i;return t===void 0||Array.isArray(t)?(i=e,r=t,n=[void 0]):(i=t,n=Array.isArray(e)?e:[e]),(o,s)=>{let c=o.constructor.prototype;n.forEach(a=>{let d=C0(o,a,i);d.read&&typeof d.read=="object"||(d.read={}),d.read.reader=c[s],r&&(d.read.source=(d.read.source||[]).concat(r))})}}var nS=U(()=>{Jr()});function bV(e){let t={};for(let r in e)t[e[r]]=r;return t}function jT(e){let t=[];for(let r in e)t.push(r);return t.sort(),t}function Qo(){return function(e,t){return new iS(e,{ignoreUnknown:!0,...t})}}var iS,nw=U(()=>{Go();iS=class{constructor(t,r={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=t,this._options=r,this.apiValues=[],this.jsonValues=[],this._apiToJSON=bV(t),this.apiValues=jT(this._apiToJSON),this.jsonValues=jT(this._jsonToAPI),this.read=n=>this.fromJSON(n),this.write=(n,i,o)=>{let s=this.toJSON(n);s!==void 0&&Ts(o,s,i)},this.write.isJSONMapWriter=!0}toJSON(t){if(t==null)return null;if(this._apiToJSON.hasOwnProperty(t)){let r=this._apiToJSON[t];return this._options.useNumericKeys?+r:r}return this._options.ignoreUnknown?void 0:t}fromJSON(t){return t!=null&&this._jsonToAPI.hasOwnProperty(t)?this._jsonToAPI[t]:this._options.ignoreUnknown?void 0:t}}});var Ih,mo,iw,ow,sw=U(()=>{Ih=class{constructor(t,r,n,i,o,s){this.semiMajorAxis=t,this.flattening=r,this.outerAtmosphereRimWidth=n,this.atmosphereHeight=i,this.scaleHeight=o;let c=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*c,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=s||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}},mo=new Ih(6378137,1/298.257223563,3e5,1e5,.085,.006694379990137799),iw=new Ih(3396190,1/169.8944472236118,23e4,6e4,.111),ow=new Ih(1737400,0,0,0,0)});function aw(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}function oS(e){let t=/^https?:\/\/(?:cdn|[a-z\d-]+\.maps)\.arcgis\.com/i,r=/^https?:\/\/(?:cdndev|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,n=/^https?:\/\/(?:cdnqa|[a-z\d-]+\.mapsqa)\.arcgis\.com/i;return t.test(e)?e=e.replace(t,"https://www.arcgis.com"):r.test(e)?e=e.replace(r,"https://devext.arcgis.com"):n.test(e)&&(e=e.replace(n,"https://qaext.arcgis.com")),e}var cw=U(()=>{});function HT(e){let t=new Uint8Array(e),r="";for(let n=0;n<t.length;n++)r+=String.fromCharCode(t[n]);return btoa(r)}var qT=U(()=>{});function AV(){let e=xn.path,t=e.slice(0,e.lastIndexOf("/")+1);return`${`${xn.scheme}://${xn.host}${xn.port!=null?`:${xn.port}`:""}`}${t}`}function nc(e){if(!e)return null;let t={path:null,query:null},r=new Cn(e),n=e.indexOf("?");return r.query===null?t.path=e:(t.path=e.slice(0,n),t.query=ic(r.query)),r.fragment&&(t.hash=r.fragment,r.query===null&&(t.path=t.path.slice(0,t.path.length-(r.fragment.length+1)))),t}function ic(e){let t=e.split("&"),r={};for(let n of t){if(!n)continue;let i=n.indexOf("="),o,s;i<0?(o=decodeURIComponent(n),s=""):(o=decodeURIComponent(n.slice(0,i)),s=decodeURIComponent(n.slice(i+1)));let c=r[o];typeof c=="string"&&(c=r[o]=[c]),Array.isArray(c)?c.push(s):r[o]=s}return r}function iu(e,t){return e?t&&typeof t=="function"?Object.keys(e).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r]))).join("&"):Object.keys(e).map(r=>{let n=e[r];if(n==null)return"";let i=encodeURIComponent(r)+"=",o=t?.[r];return o?i+encodeURIComponent(o(n)):Array.isArray(n)?n.map(s=>Ph(s)?i+encodeURIComponent(JSON.stringify(s)):i+encodeURIComponent(s)).join("&"):Ph(n)?i+encodeURIComponent(JSON.stringify(n)):i+encodeURIComponent(n)}).filter(r=>r).join("&"):""}function XT(e=!1){let t,r=ep.proxyUrl;if(typeof e=="string"){t=kV(e);let n=tp(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw vV().warn(ZT),new Ve("urlUtils:proxy-not-set",ZT);return t&&sS()&&(r=gw(r)),nc(r)}function QT(e){let t=e.indexOf("?");return t!==-1?(Ah.path=e.slice(0,t),Ah.query=e.slice(t+1)):(Ah.path=e,Ah.query=null),Ah}function KT(e){return e=(e=r8(e=$V(e=QT(e).path),!0)).toLowerCase()}function e8(e){let t={proxyUrl:e.proxyUrl,urlPrefix:KT(e.urlPrefix)},r=ep.proxyRules,n=t.urlPrefix,i=r.length;for(let o=0;o<r.length;o++){let s=r[o].urlPrefix;if(n.indexOf(s)===0){if(n.length===s.length)return-1;i=o;break}s.indexOf(n)===0&&(i=o+1)}return r.splice(i,0,t),i}function tp(e){let t=ep.proxyRules,r=KT(e);for(let n=0;n<t.length;n++)if(r.indexOf(t[n].urlPrefix)===0)return t[n]}function cS(e,t=ep.interceptors){let r=n=>n==null||n instanceof RegExp&&n.test(e)||typeof n=="string"&&e.startsWith(n);if(t){for(let n of t)if(Array.isArray(n.urls)){if(n.urls.some(r))return n}else if(r(n.urls))return n}return null}function Wn(e,t,r=!1){if(!e||!t)return!1;let n=aS(e),i=aS(t);return!(!r&&n.scheme!==i.scheme)&&n.host!=null&&i.host!=null&&n.host.toLowerCase()===i.host.toLowerCase()&&n.port===i.port}function dw(e){if(typeof e=="string"){if(!t8(e))return!0;e=aS(e)}if(Wn(e,xn))return!0;let t=ep.trustedServers||[];for(let r=0;r<t.length;r++){let n=LV(t[r]);for(let i=0;i<n.length;i++)if(Wn(e,n[i]))return!0}return!1}function LV(e){return lw[e]||(uS(e)||sc(e)?lw[e]=[new Cn(oc(e))]:lw[e]=[new Cn(`http://${e}`),new Cn(`https://${e}`)]),lw[e]}function oc(e,t=IV,r){return sc(e)?r?.preserveProtocolRelative?e:xn.scheme==="http"&&xn.authority===Kn(e).slice(2)?`http:${e}`:`https:${e}`:uS(e)?e:lS(e[0]==="/"?DV(t):t,e)}function fw(e){return e=VV(e=UV(e=FV(e=oc(e=e.trim()))))}function lS(...e){let t=e.filter(I6);if(!t?.length)return;let r=[];if(t8(t[0])){let i=t[0],o=i.indexOf("//");o!==-1&&(r.push(i.slice(0,o+1)),NV(t[0])&&(r[0]+="/"),t[0]=i.slice(o+2))}else t[0][0]==="/"&&r.push("");let n=t.reduce((i,o)=>o?i.concat(o.split("/")):i,[]);for(let i=0;i<n.length;i++){let o=n[i];o===".."&&r.length>0&&r[r.length-1]!==".."?r.pop():(!o&&i===n.length-1||o&&(o!=="."||r.length===0))&&r.push(o)}return r.join("/")}function Kn(e,t=!1){if(e==null||pw(e)||mw(e))return null;let r=e.indexOf("://");if(r===-1&&sc(e))r=2;else{if(r===-1)return null;r+=3}let n=e.indexOf("/",r);return n!==-1&&(e=e.slice(0,n)),t&&(e=r8(e,!0)),e}function t8(e){return sc(e)||uS(e)}function pw(e){return e!=null&&e.slice(0,5)==="blob:"}function mw(e){return e!=null&&e.slice(0,5)==="data:"}function hw(e){return HT(e).replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function sc(e){return e!=null&&e[0]==="/"&&e[1]==="/"}function uS(e){return e!=null&&YT.test(e)}function kV(e){return e!=null&&_V.test(e)||xn.scheme==="https"&&sc(e)}function OV(e){return e!=null&&JT.test(e)||xn.scheme==="http"&&sc(e)}function NV(e){return e!=null&&SV.test(e)}function gw(e){return sc(e)?`https:${e}`:e.replace(JT,"https:")}function RV(){return xn.scheme==="http"}function sS(){return xn.scheme==="https"}function r8(e,t=!1){return sc(e)?e.slice(2):(e=e.replace(YT,""),t&&e.length>1&&e[0]==="/"&&e[1]==="/"&&(e=e.slice(2)),e)}function DV(e){let t=e.indexOf("//"),r=e.indexOf("/",t+2);return r===-1?e:e.slice(0,r)}function $V(e){return e.endsWith("/")?e:`${e}/`}function FV(e){if(/^https?:\/\//i.test(e)){let t=QT(e);e=(e=t.path.replaceAll(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}function UV(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}function VV(e){let t=ep.httpsDomains;if(!OV(e))return e;let r=e.indexOf("/",7),n;if(n=r===-1?e:e.slice(0,r),n=n.toLowerCase().slice(7),xV.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return RV()&&n===xn.authority&&!CV.test(e)||(sS()&&n===xn.authority||t&&t.some(i=>n===i||n.endsWith(`.${i}`))||sS()&&!tp(e))&&(e=gw(e)),e}function aS(e){return typeof e=="string"?new Cn(oc(e)):(e.scheme||(e.scheme=xn.scheme),e)}function rp(e,t){if(!t)return e;let r=nc(e),n=r.query||{};for(let[o,s]of Object.entries(t))s!=null&&(n[o]=s);let i=iu(n);return i?`${r.path}?${i}`:r.path}var vV,ep,ZT,YT,JT,_V,SV,xV,CV,EV,TV,Cn,lw,MV,xn,PV,IV,uw,Ah,ac=U(()=>{Ja();Ra();Sn();nu();_t();cw();qT();vV=()=>Xe.getLogger("esri.core.urlUtils"),ep=vt.request,ZT="esri/config: esriConfig.request.proxyUrl is not set.",YT=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,JT=/^\s*http:/i,_V=/^\s*https:/i,SV=/^\s*file:/i,xV=/:\d+$/,CV=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,EV=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),TV=new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$"),Cn=class{constructor(t=""){this.uri=t,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let r=this.uri.match(EV);this.scheme=r[2]||(r[1]?"":null),this.authority=r[4]||(r[3]?"":null),this.path=r[5],this.query=r[7]||(r[6]?"":null),this.fragment=r[9]||(r[8]?"":null),this.authority!=null&&(r=this.authority.match(TV),this.user=r[3]||null,this.password=r[4]||null,this.host=r[6]||r[7],this.port=r[9]||null)}toString(){return this.uri}},lw={},MV=new Cn(vt.applicationUrl),xn=MV,PV=AV(),IV=PV,uw=()=>xn;Ah={path:"",query:""}});var n8=U(()=>{});function i8(e){Lr=e}var zV,Lr,WV,ww=U(()=>{gt();ac();n8();Symbol.dispose??(Symbol.dispose=Symbol("Symbol.dispose")),Symbol.asyncDispose??(Symbol.asyncDispose=Symbol("Symbol.asyncDispose"));zV="4.31",WV=zV;WV="4.31.4";me("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),me("host-webworker")});function GV(e){let t=Kn(e,!0);return!!t&&t.endsWith(".arcgis.com")&&!BV.has(t)&&!e.endsWith("/sharing/rest/generateToken")}function o8(e,t){return!(!t&&!vt.apiKey||!GV(e))}var BV,s8=U(()=>{Ja();ac();BV=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"])});function c8(e,t,r=!1,n){return new Promise((i,o)=>{if(ks(n))return void o(a8());let s=()=>{d(),o(new Error(`Unable to load ${t}`))},c=()=>{let h=e;d(),i(h)},a=()=>{if(!e)return;let h=e;d(),h.src="",o(a8())},d=()=>{me("esri-image-decode")||(e.removeEventListener("error",s),e.removeEventListener("load",c)),s=null,c=null,e=null,n?.removeEventListener("abort",a),a=null,r&&URL.revokeObjectURL(t)};n?.addEventListener("abort",a),me("esri-image-decode")?e.decode().then(c,s):(e.addEventListener("error",s),e.addEventListener("load",c))})}function a8(){try{return new DOMException("Aborted","AbortError")}catch{let e=new Error;return e.name="AbortError",e}}function l8(){return new Error(jV)}function u8(e){vt.request.crossOriginNoCorsDomains||(vt.request.crossOriginNoCorsDomains={});let t=vt.request.crossOriginNoCorsDomains;for(let r of e)r=r.toLowerCase(),/^https?:\/\//.test(r)?t[Kn(r)??""]=0:(t[Kn("http://"+r)??""]=0,t[Kn("https://"+r)??""]=0)}function d8(e){let t=vt.request.crossOriginNoCorsDomains;if(t){let r=Kn(e);if(r)return r=r.toLowerCase(),!Wn(r,uw())&&t[r]<Date.now()-36e5}return!1}async function f8(e){let t=nc(e);e=t.path,t.query?.f==="json"&&(e+="?f=json");try{await fetch(e,{mode:"no-cors",credentials:"include"})}catch{}let r=vt.request.crossOriginNoCorsDomains,n=Kn(e);r&&n&&(r[n.toLowerCase()]=Date.now())}var jV,p8=U(()=>{Ja();gt();po();ac();jV="Timeout exceeded"});var m8={};Fo(m8,{execute:()=>HV});function HV(e,t){let r=t.responseType;r?r!=="array-buffer"&&r!=="blob"&&r!=="json"&&r!=="native"&&r!=="native-request-init"&&r!=="text"&&(r="text"):r="json",t.responseType=r;let n=t.signal;return delete t.signal,globalThis.invokeStaticMessage("request",{url:e,options:t},{signal:n}).then(async i=>{let o,s,c,a,d;if(i.data)if(i.data instanceof ArrayBuffer){if(!(r!=="json"&&r!=="text"&&r!=="blob"||(o=new Blob([i.data]),r!=="json"&&r!=="text"||(a=await o.text(),r!=="json")))){try{s=JSON.parse(a||null)}catch(h){let g={...h,url:e,requestOptions:t};throw new Ve("request:server",h.message,g)}if(s.error){let h={...s.error,url:e,requestOptions:t};throw new Ve("request:server",s.error.message,h)}}}else r==="native"&&(i.data.signal=n,c=await fetch(i.data.url,i.data),i.httpStatus=c.status);switch(r){case"blob":d=o;break;case"json":d=s;break;case"native":d=c;break;case"text":d=a;break;default:d=i.data}return{data:d,httpStatus:i.httpStatus,requestOptions:t,ssl:i.ssl,url:e}})}var h8=U(()=>{Sn()});var np,ou,yw=U(()=>{Yr();ru();Xn();Ar();np=class e{constructor(){this._emitter=new e.EventEmitter(this)}emit(t,r){return this._emitter.emit(t,r)}on(t,r){return this._emitter.on(t,r)}once(t,r){return this._emitter.once(t,r)}hasEventListener(t){return this._emitter.hasEventListener(t)}};(function(e){class t{constructor(i=null){this._target=i,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(i,o){let s=this._listenersMap?.get(i);if(!s)return!1;let c=this._target||this,a=!1;for(let d of s.slice()){let h="deref"in d?d.deref():d;h?h?.call(c,o):a=!0}return a&&(s=s.filter(d=>!("deref"in d)||d.deref()!=null),this._listenersMap.set(i,s)),s.length>0}on(i,o){if(Array.isArray(i)){let c=i.map(a=>this.on(a,o));return Zl(c)}if(i.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??(this._listenersMap=new Map);let s=this._listenersMap.get(i)||[];return s.push(o),this._listenersMap.set(i,s),yt(()=>{let c=this._listenersMap?.get(i),a=c?.indexOf(o)??-1;a>=0&&c.splice(a,1)})}once(i,o){let s=this.on(i,c=>{s.remove(),("deref"in o?o.deref():o)?.call(null,c)});return s}hasEventListener(i){let o=this._listenersMap?.get(i);return o!=null&&o.length>0}}e.EventEmitter=t,e.EventedMixin=n=>{let i=class extends n{constructor(){super(...arguments),this._emitter=new t}destroy(){this._emitter.clear()}emit(o,s){return this._emitter.emit(o,s)}on(o,s){return this._emitter.on(o,s)}once(o,s){return this._emitter.once(o,s)}hasEventListener(o){return this._emitter.hasEventListener(o)}};return i=K([nt("esri.core.Evented")],i),i};let r=class extends un{constructor(){super(...arguments),this._emitter=new np.EventEmitter(this)}destroy(){this._emitter.clear()}emit(n,i){return this._emitter.emit(n,i)}on(n,i){return this._emitter.on(n,i)}once(n,i){return this._emitter.once(n,i)}hasEventListener(n){return this._emitter.hasEventListener(n)}};r=K([nt("esri.core.Evented.EventedAccessor")],r),e.EventedAccessor=r})(np||(np={}));ou=np});var dS,g8=U(()=>{dS=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]])});function qV(e){return"timeZoneIANA"in e}function ZV(e){return e.startsWith("UTC")}function bw(e,t=Lh){return e?qV(e)?e.timeZoneIANA:YV(e,t):t}function YV(e,t=Lh){if(!e||!dS.has(e.timeZone))return t;let r=dS.get(e.timeZone);return ZV(e.timeZone)||e.respectsDaylightSaving?r:JV(r)}function JV(e){let t=Ce.local().setZone(e),r=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return r===0?"Etc/UTC":`Etc/GMT${bt.instance(-r).formatOffset(0,"narrow")}`}var Lh,su,au,w8,vw=U(()=>{g8();Vn();Lh="system",su="unknown",au="UTC",w8=Intl.DateTimeFormat().resolvedOptions().timeZone});function ez(e){let t=fS.get(e);if(!t){let r=di(),n=QV[r]||r,i=tz(e.timeZone??Lh),o={...e,timeZone:i};t=new Intl.DateTimeFormat(n,o),fS.set(e,t)}return t}function lu(e,t=KV){return ez(t).format(e)}function tz(e){switch(e){case Lh:return w8;case su:return au;default:return e}}var Ko,kh,Oh,Nh,cc,cu,y8,Rh,Dh,XV,yue,QV,fS,KV,_w=U(()=>{nw();Ls();vw();Vn();Ko={year:"numeric",month:"numeric",day:"numeric"},kh={year:"numeric",month:"long",day:"numeric"},Oh={year:"numeric",month:"short",day:"numeric"},Nh={year:"numeric",month:"long",weekday:"long",day:"numeric"},cc={hour:"numeric",minute:"numeric"},cu={...cc,second:"numeric"},y8={hourCycle:"h23"},Rh={...cc,...y8},Dh={...cu,...y8},XV={"short-date":Ko,"short-date-short-time":{...Ko,...cc},"short-date-short-time-24":{...Ko,...Rh},"short-date-long-time":{...Ko,...cu},"short-date-long-time-24":{...Ko,...Dh},"short-date-le":Ko,"short-date-le-short-time":{...Ko,...cc},"short-date-le-short-time-24":{...Ko,...Rh},"short-date-le-long-time":{...Ko,...cu},"short-date-le-long-time-24":{...Ko,...Dh},"long-month-day-year":kh,"long-month-day-year-short-time":{...kh,...cc},"long-month-day-year-short-time-24":{...kh,...Rh},"long-month-day-year-long-time":{...kh,...cu},"long-month-day-year-long-time-24":{...kh,...Dh},"day-short-month-year":Oh,"day-short-month-year-short-time":{...Oh,...cc},"day-short-month-year-short-time-24":{...Oh,...Rh},"day-short-month-year-long-time":{...Oh,...cu},"day-short-month-year-long-time-24":{...Oh,...Dh},"long-date":Nh,"long-date-short-time":{...Nh,...cc},"long-date-short-time-24":{...Nh,...Rh},"long-date-long-time":{...Nh,...cu},"long-date-long-time-24":{...Nh,...Dh},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":cc,"long-time":cu},yue=Qo()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),QV={ar:"ar-u-nu-latn-ca-gregory"},fS=new WeakMap,KV=XV["short-date-short-time"];Bf(()=>{fS=new WeakMap})});function nz(e){let t=e||b8;if(!Sw.has(t)){let r=di(),n=rz[di()]||r;Sw.set(t,new Intl.NumberFormat(n,e))}return Sw.get(t)}function ip(e,t){return Object.is(e,-0)&&(e=0),nz(t).format(e)}var rz,Sw,b8,pS=U(()=>{Ls();rz={ar:"ar-u-nu-latn"},Sw=new WeakMap,b8={};Bf(()=>{Sw=new WeakMap,b8={}})});function mS(e,t,r={}){let{format:n={}}=r;return jo(e,i=>iz(i,t,n))}function iz(e,t,r){let n,i,o=e.indexOf(":");if(o===-1?n=e.trim():(n=e.slice(0,o).trim(),i=e.slice(o+1).trim()),!n)return"";let s=Li(n,t);if(s==null)return"";let c=(i?r?.[i]:null)??r?.[n];return c?oz(s,c):i?sz(s,i):hS(s)}function oz(e,t){switch(t.type){case"date":return lu(e,t.intlOptions);case"number":return ip(e,t.intlOptions);default:return v8().warn("missing format descriptor for key {key}"),hS(e)}}function sz(e,t){switch(t.toLowerCase()){case"dateformat":return lu(e);case"numberformat":return ip(e);default:return v8().warn(`inline format is unsupported since 4.12: ${t}`),/^(dateformat|datestring)/i.test(t)?lu(e):/^numberformat/i.test(t)?ip(e):hS(e)}}function hS(e){switch(typeof e){case"string":return e;case"number":return ip(e);case"boolean":return""+e;default:return e instanceof Date?lu(e):""}}var v8,gS=U(()=>{_t();Go();$a();_w();pS();v8=()=>Xe.getLogger("esri.intl.substitute")});function S8(e){return e in az}function x8(e){for(let t of op.keys())E8(e.pattern,t)&&op.delete(t)}function C8(e){return $h.includes(e)||(x8(e),$h.unshift(e)),yt(()=>{let t=$h.indexOf(e);t>-1&&($h.splice(t,1),x8(e))})}async function wS(e){let t=di();op.has(e)||op.set(e,cz(e,t));let r=op.get(e);return r&&await lz.add(r),r}function yS(e){if(!_8.test(e))return null;let t=_8.exec(e);if(t===null)return null;let[,r,n]=t,i=r+(n?"-"+n.toUpperCase():"");return S8(i)?i:S8(r)?r:null}async function cz(e,t){let r=[];for(let n of $h)if(E8(n.pattern,e))try{return await n.fetchMessageBundle(e,t)}catch(i){r.push(i)}throw r.length?new Ve("intl:message-bundle-error",`Errors occurred while loading "${e}"`,{errors:r}):new Ve("intl:no-message-bundle-loader",`No loader found for message bundle "${e}"`)}function E8(e,t){return typeof e=="string"?t.startsWith(e):e.test(t)}var _8,az,$h,op,lz,Fh=U(()=>{Sn();Xn();po();Ls();_8=/^([a-z]{2})(?:[-_]([A-Za-z]{2}))?$/,az={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:!0,nl:!0,pl:!0,"pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,"zh-CN":!0,"zh-HK":!0,"zh-TW":!0};$h=[],op=new Map;Bf(()=>{op.clear()});lz=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(e){return this._increase(),e.then(()=>this._decrease(),()=>this._decrease()),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=Qn())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&this._numLoading===0&&(this._dfd.resolve(),this._dfd=null)}}});async function uz(e,t,r,n){let i=t.exec(r);if(!i)throw new Ve("esri-intl:invalid-bundle",`Bundle id "${r}" is not compatible with the pattern "${t}"`);let o=i[1]?`${i[1]}/`:"",s=i[2],c=yS(n),a=`${o}${s}.json`,d=c?`${o}${s}_${c}.json`:a,h;try{h=await T8(e(d))}catch(g){if(d===a)throw new Ve("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:g});try{h=await T8(e(a))}catch(v){throw new Ve("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:v})}}return h}async function T8(e){if(M8.fetchBundleAsset!=null)return M8.fetchBundleAsset(e);let t=await Jt(e,{responseType:"text"});return JSON.parse(t.data)}function P8(e){return new bS(e)}var bS,M8,I8=U(()=>{xw();Sn();Fh();bS=class{constructor({base:t="",pattern:r,location:n=new URL(window.location.href)}){let i;i=typeof n=="string"?o=>new URL(o,new URL(n,window.location.href)).href:n instanceof URL?o=>new URL(o,n).href:n,this.pattern=typeof r=="string"?new RegExp(`^${r}`):r,this.getAssetUrl=i,t=t?t.endsWith("/")?t:t+"/":"",this.matcher=new RegExp(`^${t}(?:(.*)\\/)?(.*)$`)}fetchMessageBundle(t,r){return uz(this.getAssetUrl,this.matcher,t,r)}};M8={}});var Ew=U(()=>{_w();pS();gS();Ls();Fh();Fh();I8();Cw();C8(P8({pattern:"esri/",location:sp}))});function A8(e){return typeof e=="string"?document.getElementById(e):e??null}var L8=U(()=>{});var lc,vS,_S,k8,O8=U(()=>{Yr();ru();po();Ar();(function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"})(lc||(lc={}));vS=class{constructor(){this._resolver=Qn(),this._status=lc.PENDING,this._resolvingPromises=[],this._resolver.promise.then(()=>{this._status=lc.RESOLVED,this._cleanUp()},()=>{this._status=lc.REJECTED,this._cleanUp()}),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(t){this._resolvingPromises.push(t),this._tryResolve()}isResolved(){return this._status===lc.RESOLVED}isRejected(){return this._status===lc.REJECTED}isFulfilled(){return this._status!==lc.PENDING}abort(){this._resolver.reject(Yo())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;let t=Qn(),r=[...this._resolvingPromises,t.promise],n=this._allPromise=Promise.all(r);n.then(()=>{this.isFulfilled()||this._allPromise!==n||this._resolver.resolve()},i=>{this.isFulfilled()||this._allPromise!==n||Ch(i)||this._resolver.reject(i)}),t.resolve()}},_S=e=>{let t=class extends e{constructor(...r){super(...r),this._promiseProps=new vS,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(r,n){return this._promiseProps.promise.then(()=>this).then(r,n)}catch(r){return this.when(null,r)}addResolvingPromise(r){r&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in r?r.when():r)}};return t=K([nt("esri.core.Promise")],t),t},k8=class extends _S(un){};k8=K([nt("esri.core.Promise")],k8)});function hz(e){return{ok:!0,value:e}}function gz(e){return{ok:!1,error:e}}function wz(e){return e!=null&&e.ok===!0?e.value:null}function yz(e){return e!=null&&e.ok===!1?e.error:null}var uu,N8=U(()=>{Yr();ru();Ql();po();Jr();Ar();uu=class extends un{get value(){return wz(this._result)}get error(){return yz(this._result)}get finished(){return this._result!=null}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=tT(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:r}=this._abortController;this.promise=e(r),this.promise.then(n=>{this._result=hz(n),this._cleanup()},n=>{this._result=gz(n),this._cleanup()}),this._abortHandle=fi(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=wh(this._abortHandle),this._abortController=null}};K([ce()],uu.prototype,"value",null),K([ce()],uu.prototype,"error",null),K([ce()],uu.prototype,"finished",null),K([ce()],uu.prototype,"promise",void 0),K([ce()],uu.prototype,"_result",void 0),uu=K([nt("esri.core.asyncUtils.ReactiveTask")],uu)});var dt,R8=U(()=>{(function(e){e[e.ADD=1]="ADD",e[e.REMOVE=2]="REMOVE",e[e.MOVE=4]="MOVE"})(dt||(dt={}))});function D8(e){return(t,r)=>{t[r]=e}}var $8=U(()=>{});var Tw,F8=U(()=>{R_();Tw=class extends Qf{notify(){let t=this._observers;if(t&&t.length>0){let r=t.slice();for(let n of r)n.onInvalidated(),n.onCommitted()}}}});function U8(e){e&&typeof e=="object"&&"destroy"in e&&typeof e.destroy=="function"&&e.destroy()}function SS(e){return e?e instanceof pc?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function xS(e){if(e?.length)return e[0]}function bz(e,t,r,n){let i=Math.min(e.length-r,t.length-n),o=0;for(;o<i&&e[r+o]===t[n+o];)o++;return o}function V8(e,t,r,n){t&&t.forEach((i,o,s)=>{e.push(i),V8(e,r.call(n,i,o,s),r,n)})}var Os,ES,TS,Di,uc,dc,fc,CS,vz,pc,z8=U(()=>{Yr();W0();yw();Xn();jr();yh();R8();Y0();Qa();Xl();Jr();$8();Ar();F8();ES=class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(t){this.defaultPrevented=!1,this.item=t}},TS=class{constructor(t,r,n,i,o){this.target=t,this.added=r,this.removed=n,this.start=i,this.deleteCount=o}},Di=new fo(ES,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});uc=new Set,dc=new Set,fc=new Set,CS=new Map,vz=0,pc=Os=class extends ou.EventedAccessor{static isCollection(e){return e!=null&&e instanceof Os}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new Tw,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:vz++})}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof Os?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),this._emitter.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get items(){return qe(this._observable),this._items}set items(e){this._emitBeforeChanges(dt.ADD)||(this._splice(0,this.length,SS(e)),this._emitAfterChanges(dt.ADD))}hasEventListener(e){return!this.destroyed&&(e==="change"?this._chgListeners.length>0:this._emitter.hasEventListener(e))}on(e,t){if(this.destroyed)return yt();if(e==="change"){let r=this._chgListeners,n={removed:!1,callback:t};return r.push(n),this._notifications&&this._notifications.push({listeners:r.slice(),items:this._items.slice(),changes:[]}),yt(()=>{n.removed=!0,r.splice(r.indexOf(n),1)})}return this._emitter.on(e,t)}once(e,t){let r="deref"in t?()=>t.deref():()=>t,n=this.on(e,i=>{r()?.call(null,i),n.remove()});return n}add(e,t){if(qe(this._observable),this._emitBeforeChanges(dt.ADD))return this;let r=this.getNextIndex(t??null);return this._splice(r,0,[e]),this._emitAfterChanges(dt.ADD),this}addMany(e,t=this._items.length){if(qe(this._observable),!e?.length)return this;if(this._emitBeforeChanges(dt.ADD))return this;let r=this.getNextIndex(t);return this._splice(r,0,SS(e)),this._emitAfterChanges(dt.ADD),this}at(e){if(qe(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.REMOVE))return[];let e=this._removeAllRaw();return this._emitAfterChanges(dt.REMOVE),e}_removeAllRaw(){return this.length===0?[]:this._splice(0,this.length)||[]}clone(){return qe(this._observable),this._createNewInstance({items:this._items.map(it)})}concat(...e){qe(this._observable);let t=e.map(SS);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.REMOVE))return;let r=this._splice(0,this.length),n=r.length;for(let i=0;i<n;i++)e.call(t,r[i],i,r);this._emitAfterChanges(dt.REMOVE)}destroyAll(){this.drain(U8)}destroyMany(e){let t=this.removeMany(e);return t.forEach(U8),t}every(e,t){return qe(this._observable),this._items.every(e,t)}filter(e,t){let r;return qe(this._observable),r=arguments.length===2?this._items.filter(e,t):this._items.filter(e),this._createNewInstance({items:r})}find(e,t){return qe(this._observable),this._items.find(e,t)}findIndex(e,t){return qe(this._observable),this._items.findIndex(e,t)}flatten(e,t){qe(this._observable);let r=[];return V8(r,this,e,t),new Os(r)}forEach(e,t){return qe(this._observable),this._items.forEach(e,t)}getItemAt(e){return qe(this._observable),this._items[e]}getNextIndex(e){qe(this._observable);let t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return qe(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return qe(this._observable),this._items.indexOf(e,t)}join(e=","){return qe(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return qe(this._observable),this._items.lastIndexOf(e,t)}map(e,t){qe(this._observable);let r=this._items.map(e,t);return new Os({items:r})}reorder(e,t=this.length-1){qe(this._observable);let r=this.indexOf(e);if(r!==-1){if(t<0?t=0:t>=this.length&&(t=this.length-1),r!==t){if(this._emitBeforeChanges(dt.MOVE))return e;this._splice(r,1),this._splice(t,0,[e]),this._emitAfterChanges(dt.MOVE)}return e}}pop(){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.REMOVE))return;let e=xS(this._splice(this.length-1,1));return this._emitAfterChanges(dt.REMOVE),e}push(...e){return qe(this._observable),this._emitBeforeChanges(dt.ADD)||(this._splice(this.length,0,e),this._emitAfterChanges(dt.ADD)),this.length}reduce(e,t){qe(this._observable);let r=this._items;return arguments.length===2?r.reduce(e,t):r.reduce(e)}reduceRight(e,t){qe(this._observable);let r=this._items;return arguments.length===2?r.reduceRight(e,t):r.reduceRight(e)}remove(e){return qe(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if(qe(this._observable),e<0||e>=this.length||this._emitBeforeChanges(dt.REMOVE))return;let t=xS(this._splice(e,1));return this._emitAfterChanges(dt.REMOVE),t}removeMany(e){if(qe(this._observable),!e?.length||this._emitBeforeChanges(dt.REMOVE))return[];let t=e instanceof Os?e.toArray():e,r=this._items,n=[],i=t.length;for(let o=0;o<i;o++){let s=t[o],c=r.indexOf(s);if(c>-1){let a=1+bz(t,r,o+1,c+1),d=this._splice(c,a);d&&d.length>0&&n.push.apply(n,d),o+=a-1}}return this._emitAfterChanges(dt.REMOVE),n}reverse(){if(qe(this._observable),this._emitBeforeChanges(dt.MOVE))return this;let e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(dt.MOVE),this}shift(){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.REMOVE))return;let e=xS(this._splice(0,1));return this._emitAfterChanges(dt.REMOVE),e}slice(e=0,t=this.length){return qe(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return qe(this._observable),this._items.some(e,t)}sort(e){if(qe(this._observable),!this.length||this._emitBeforeChanges(dt.MOVE))return this;let t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(dt.MOVE),this}splice(e,t,...r){qe(this._observable);let n=(t?dt.REMOVE:0)|(r.length?dt.ADD:0);if(this._emitBeforeChanges(n))return[];let i=this._splice(e,t,r)||[];return this._emitAfterChanges(n),i}toArray(){return qe(this._observable),this._items.slice()}toJSON(){return qe(this._observable),this.toArray()}toLocaleString(){return qe(this._observable),this._items.toLocaleString()}toString(){return qe(this._observable),this._items.toString()}unshift(...e){return qe(this._observable),!e.length||this._emitBeforeChanges(dt.ADD)||(this._splice(0,0,e),this._emitAfterChanges(dt.ADD)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,r){let n=this._items,i=this.itemType,o,s;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=Z0(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(s=n.splice(e,t),this.hasEventListener("before-remove")){let c=Di.acquire();c.target=this,c.cancellable=!0;for(let a=0,d=s.length;a<d;a++)o=s[a],c.reset(o),this.emit("before-remove",c),c.defaultPrevented&&(s.splice(a,1),n.splice(e,0,o),e+=1,a-=1,d-=1);Di.release(c)}if(this.length=this._items.length,this.hasEventListener("after-remove")){let c=Di.acquire();c.target=this,c.cancellable=!1;let a=s.length;for(let d=0;d<a;d++)c.reset(s[d]),this.emit("after-remove",c);Di.release(c)}}if(r?.length){if(i){let h=[];for(let g of r){let v=i.ensureType(g);v==null&&g!=null||h.push(v)}r=h}let c=this.hasEventListener("before-add"),a=this.hasEventListener("after-add"),d=e===this.length;if(c||a){let h=Di.acquire();h.target=this,h.cancellable=!0;let g=Di.acquire();g.target=this,g.cancellable=!1;for(let v of r)c?(h.reset(v),this.emit("before-add",h),h.defaultPrevented||(d?n.push(v):n.splice(e++,0,v),this._set("length",n.length),a&&(g.reset(v),this.emit("after-add",g)))):(d?n.push(v):n.splice(e++,0,v),this._set("length",n.length),g.reset(v),this.emit("after-add",g));Di.release(g),Di.release(h)}else{if(d)for(let h of r)n.push(h);else n.splice(e,0,...r);this._set("length",n.length)}}if((r?.length||s?.length)&&this._notifyChangeEvent(r,s),this.hasEventListener("after-splice")){let c=new TS(this,r,s,e,t);this.emit("after-splice",c)}return s}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){let r=Di.acquire();r.target=this,r.cancellable=!0,r.type=e,this.emit("before-changes",r),t=r.defaultPrevented,Di.release(r)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){let t=Di.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),Di.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;let e=this._notifications;this._notifications=null;for(let t of e){let r=t.changes;uc.clear(),dc.clear(),fc.clear();for(let{added:a,removed:d}of r){if(a)if(fc.size===0&&dc.size===0)for(let h of a)uc.add(h);else for(let h of a)dc.has(h)?(fc.add(h),dc.delete(h)):fc.has(h)||uc.add(h);if(d)if(fc.size===0&&uc.size===0)for(let h of d)dc.add(h);else for(let h of d)uc.has(h)?uc.delete(h):(fc.delete(h),dc.add(h))}let n=zn.acquire();uc.forEach(a=>{n.push(a)});let i=zn.acquire();dc.forEach(a=>{i.push(a)});let o=this._items,s=t.items,c=zn.acquire();if(fc.forEach(a=>{s.indexOf(a)!==o.indexOf(a)&&c.push(a)}),t.listeners&&(n.length||i.length||c.length)){let a={target:this,added:n,removed:i,moved:c},d=t.listeners.length;for(let h=0;h<d;h++){let g=t.listeners[h];g.removed||g.callback.call(this,a)}}zn.release(n),zn.release(i),zn.release(c)}uc.clear(),dc.clear(),fc.clear()}};pc.ofType=e=>{if(!e)return Os;if(CS.has(e))return CS.get(e);let t=null;if(typeof e=="function")t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(let n in e.typeMap){let i=e.typeMap[n].prototype.declaredClass;t?t+=` | ${i}`:t=i}let r=class extends Os{};return K([D8({Type:e,ensureType:typeof e=="function"?Ri(e):Xa(e)})],r.prototype,"itemType",void 0),r=K([nt(`esri.core.Collection<${t}>`)],r),CS.set(e,r),r},K([ce()],pc.prototype,"_updating",void 0),K([ce()],pc.prototype,"length",void 0),K([ce()],pc.prototype,"items",null),K([ce({readOnly:!0})],pc.prototype,"updating",null),pc=Os=K([nt("esri.core.Collection")],pc)});function Uh(e,t,r={}){return B8(e,t,r,_z)}function W8(e,t,r={}){return B8(e,t,r,Sz)}function B8(e,t,r={},n){let i=null,o=r.once?(s,c)=>{n(s)&&(wh(i),t(s,c))}:(s,c)=>{n(s)&&t(s,c)};if(i=RT(e,o,r.sync,r.equals),r.initial){let s=e();o(s,s)}return i}function _z(e){return!0}function Sz(e){return!!e}var Mw,MS=U(()=>{N8();z8();xh();Xn();Ql();po();eS();K_();Mw={sync:!0,initial:!0}});function G8(){if(xz)return crypto.randomUUID();let e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;let t=r=>e[r].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}var xz,j8=U(()=>{xz="randomUUID"in crypto});function Ez(e){let t="__accessorMetadata__"in e?Ri(e):e;return function(...r){if(r.push(t),typeof r[2]=="number")throw new Error("Using @cast has parameter decorator is not supported since 4.16");return Tz.apply(this,r)}}function Tz(e,t,r,n){qf(e,t).cast=n}function Mz(e){return(t,r)=>{qf(t,e).cast=t[r]}}function Pw(...e){if(e.length!==3||typeof e[1]!="string")return e.length===1&&Cz.call(e[0])==="[object Function]"?Ez(e[0]):e.length===1&&typeof e[0]=="string"?Mz(e[0]):void 0}var Cz,PS=U(()=>{Qa();Zf();Cz=Object.prototype.toString});function J8(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function Pz(e,t,r){}function Iz(e,t,r){}function Lz(e,t){return Az.test(t)?"":t}function Oz(e,t){e=Vh.trimRight(e),e[e.length-1]!==";"&&(e+=";");var r=e.length,n=!1,i=0,o=0,s="";function c(){if(!n){var h=Vh.trim(e.slice(i,o)),g=h.indexOf(":");if(g!==-1){var v=Vh.trim(h.slice(0,g)),S=Vh.trim(h.slice(g+1));if(v){var M=t(i,s.length,v,S,h);M&&(s+=M+"; ")}}}i=o+1}for(;o<r;o++){var a=e[o];if(a==="/"&&e[o+1]==="*"){var d=e.indexOf("*/",o+2);if(d===-1)break;o=d+1,i=o+1,n=!1}else a==="("?n=!0:a===")"?n=!1:a===";"?n||c():a===`
7
7
  `&&c()}return Vh.trim(s)}function H8(e){return e==null}function Dz(e){var t={};for(var r in e)t[r]=e[r];return t}function X8(e){e=Dz(e||{}),e.whiteList=e.whiteList||Iw.whiteList,e.onAttr=e.onAttr||Iw.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Iw.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Iw.safeAttrValue,this.options=e}function Q8(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}function Vz(e,t,r){}function zz(e,t,r){}function Wz(e,t,r){}function Bz(e,t,r){}function eM(e){return e.replace(jz,"&lt;").replace(Hz,"&gt;")}function Gz(e,t,r,n){if(r=sM(r),t==="href"||t==="src"){if(r=Nw.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(t==="background"){if(Aw.lastIndex=0,Aw.test(r))return""}else if(t==="style"){if(q8.lastIndex=0,q8.test(r)||(Z8.lastIndex=0,Z8.test(r)&&(Aw.lastIndex=0,Aw.test(r))))return"";n!==!1&&(n=n||K8,r=n.process(r))}return r=aM(r),r}function tM(e){return e.replace(qz,"&quot;")}function rM(e){return e.replace(Zz,'"')}function nM(e){return e.replace(Yz,function(r,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function iM(e){return e.replace(Jz,":").replace(Xz," ")}function oM(e){for(var t="",r=0,n=e.length;r<n;r++)t+=e.charCodeAt(r)<32?" ":e.charAt(r);return Nw.trim(t)}function sM(e){return e=rM(e),e=nM(e),e=iM(e),e=oM(e),e}function aM(e){return e=tM(e),e=eM(e),e}function Qz(){return""}function Kz(e,t){typeof t!="function"&&(t=function(){});var r=!Array.isArray(e);function n(s){return r?!0:Nw.indexOf(e,s)!==-1}var i=[],o=!1;return{onIgnoreTag:function(s,c,a){if(n(s))if(a.isClosing){var d="[/removed]",h=a.position+d.length;return i.push([o!==!1?o:a.position,h]),o=!1,d}else return o||(o=a.position),"[removed]";else return t(s,c,a)},remove:function(s){var c="",a=0;return Nw.forEach(i,function(d){c+=s.slice(a,d[0]),a=d[1]}),c+=s.slice(a),c}}}function eW(e){for(var t="",r=0;r<e.length;){var n=e.indexOf("<!--",r);if(n===-1){t+=e.slice(r);break}t+=e.slice(r,n);var i=e.indexOf("-->",n);if(i===-1)break;r=i+3}return t}function tW(e){var t=e.split("");return t=t.filter(function(r){var n=r.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),t.join("")}function rW(e){var t=mc.spaceIndex(e),r;return t===-1?r=e.slice(1,-1):r=e.slice(1,t+1),r=mc.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function nW(e){return e.slice(0,2)==="</"}function iW(e,t,r){var n="",i=0,o=!1,s=!1,c=0,a=e.length,d="",h="";e:for(c=0;c<a;c++){var g=e.charAt(c);if(o===!1){if(g==="<"){o=c;continue}}else if(s===!1){if(g==="<"){n+=r(e.slice(i,c)),o=c,i=c;continue}if(g===">"){n+=r(e.slice(i,o)),h=e.slice(o,c+1),d=rW(h),n+=t(o,n.length,d,h,nW(h)),i=c+1,o=!1;continue}if(g==='"'||g==="'")for(var v=1,S=e.charAt(c-v);S.trim()===""||S==="=";){if(S==="="){s=g;continue e}S=e.charAt(c-++v)}}else if(g===s){s=!1;continue}}return i<e.length&&(n+=r(e.substr(i))),n}function sW(e,t){var r=0,n=0,i=[],o=!1,s=e.length;function c(v,S){if(v=mc.trim(v),v=v.replace(oW,"").toLowerCase(),!(v.length<1)){var M=t(v,S||"");M&&i.push(M)}}for(var a=0;a<s;a++){var d=e.charAt(a),h,g;if(o===!1&&d==="="){o=e.slice(r,a),r=a+1,n=e.charAt(r)==='"'||e.charAt(r)==="'"?r:cW(e,a+1);continue}if(o!==!1&&a===n){if(g=e.indexOf(d,a+1),g===-1)break;h=mc.trim(e.slice(n+1,g)),c(o,h),o=!1,a=g,r=a+1;continue}if(/\s|\n|\t/.test(d))if(e=e.replace(/\s|\n|\t/g," "),o===!1)if(g=aW(e,a),g===-1){h=mc.trim(e.slice(r,a)),c(h),o=!1,r=a+1;continue}else{a=g-1;continue}else if(g=lW(e,a-1),g===-1){h=mc.trim(e.slice(r,a)),h=Y8(h),c(o,h),o=!1,r=a+1;continue}else continue}return r<e.length&&(o===!1?c(e.slice(r)):c(o,Y8(mc.trim(e.slice(r))))),mc.trim(i.join(" "))}function aW(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="="?t:-1}}function cW(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="'"||r==='"'?t:-1}}function lW(e,t){for(;t>0;t--){var r=e[t];if(r!==" ")return r==="="?t:-1}}function uW(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function Y8(e){return uW(e)?e.substr(1,e.length-2):e}function Lw(e){return e==null}function mW(e){var t=kw.spaceIndex(e);if(t===-1)return{html:"",closing:e[e.length-2]==="/"};e=kw.trim(e.slice(t+1,-1));var r=e[e.length-1]==="/";return r&&(e=kw.trim(e.slice(0,-1))),{html:e,closing:r}}function hW(e){var t={};for(var r in e)t[r]=e[r];return t}function gW(e){var t={};for(var r in e)Array.isArray(e[r])?t[r.toLowerCase()]=e[r].map(function(n){return n.toLowerCase()}):t[r.toLowerCase()]=e[r];return t}function lM(e){e=hW(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=ho.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=gW(e.whiteList||e.allowList):e.whiteList=ho.whiteList,e.onTag=e.onTag||ho.onTag,e.onTagAttr=e.onTagAttr||ho.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||ho.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||ho.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||ho.safeAttrValue,e.escapeHtml=e.escapeHtml||ho.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new dW(e.css))}var Ow,IS,Xt,AS,du,Az,kz,Vh,Nz,Iw,Rz,$z,LS,kS,Fz,Uz,Nw,K8,jz,Hz,qz,Zz,Yz,Jz,Xz,Aw,q8,Z8,Rw,mc,oW,dW,ho,cM,fW,pW,kw,wW,ap,yW,uM,dM=U(()=>{Ow=function(){return Ow=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Ow.apply(this,arguments)},IS={exports:{}},Xt={},AS={exports:{}},du={};Az=/javascript\s*\:/img;du.whiteList=J8();du.getDefaultWhiteList=J8;du.onAttr=Pz;du.onIgnoreAttr=Iz;du.safeAttrValue=Lz;kz={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,i;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Vh=kz;Nz=Oz,Iw=du,Rz=Nz;X8.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,n=r.whiteList,i=r.onAttr,o=r.onIgnoreAttr,s=r.safeAttrValue,c=Rz(e,function(a,d,h,g,v){var S=n[h],M=!1;if(S===!0?M=S:typeof S=="function"?M=S(g):S instanceof RegExp&&(M=S.test(g)),M!==!0&&(M=!1),g=s(h,g),!!g){var I={position:d,sourcePosition:a,source:v,isWhite:M};if(M){var N=i(h,g,I);return H8(N)?h+":"+g:N}else{var N=o(h,g,I);if(!H8(N))return N}}});return c};$z=X8;(function(e,t){var r=du,n=$z;function i(s,c){var a=new n(c);return a.process(s)}t=e.exports=i,t.FilterCSS=n;for(var o in r)t[o]=r[o]})(AS,AS.exports);LS=AS.exports,kS={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,i;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,r=t.exec(e);return r?r.index:-1}},Fz=LS.FilterCSS,Uz=LS.getDefaultWhiteList,Nw=kS;K8=new Fz;jz=/</g,Hz=/>/g,qz=/"/g,Zz=/&quot;/g,Yz=/&#([a-zA-Z0-9]*);?/gim,Jz=/&colon;?/gim,Xz=/&newline;?/gim,Aw=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,q8=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Z8=/u\s*r\s*l\s*\(.*/gi;Xt.whiteList=Q8();Xt.getDefaultWhiteList=Q8;Xt.onTag=Vz;Xt.onIgnoreTag=zz;Xt.onTagAttr=Wz;Xt.onIgnoreTagAttr=Bz;Xt.safeAttrValue=Gz;Xt.escapeHtml=eM;Xt.escapeQuote=tM;Xt.unescapeQuote=rM;Xt.escapeHtmlEntities=nM;Xt.escapeDangerHtml5Entities=iM;Xt.clearNonPrintableCharacter=oM;Xt.friendlyAttrValue=sM;Xt.escapeAttrValue=aM;Xt.onIgnoreTagStripAll=Qz;Xt.StripTagBody=Kz;Xt.stripCommentTag=eW;Xt.stripBlankChar=tW;Xt.cssFilter=K8;Xt.getDefaultCSSWhiteList=Uz;Rw={},mc=kS;oW=/[^a-zA-Z0-9\\_:.-]/gim;Rw.parseTag=iW;Rw.parseAttr=sW;dW=LS.FilterCSS,ho=Xt,cM=Rw,fW=cM.parseTag,pW=cM.parseAttr,kw=kS;lM.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,n=r.whiteList,i=r.onTag,o=r.onIgnoreTag,s=r.onTagAttr,c=r.onIgnoreTagAttr,a=r.safeAttrValue,d=r.escapeHtml,h=t.cssFilter;r.stripBlankChar&&(e=ho.stripBlankChar(e)),r.allowCommentTag||(e=ho.stripCommentTag(e));var g=!1;r.stripIgnoreTagBody&&(g=ho.StripTagBody(r.stripIgnoreTagBody,o),o=g.onIgnoreTag);var v=fW(e,function(S,M,I,N,z){var $={sourcePosition:S,position:M,isClosing:z,isWhite:Object.prototype.hasOwnProperty.call(n,I)},W=i(I,N,$);if(!Lw(W))return W;if($.isWhite){if($.isClosing)return"</"+I+">";var Z=mW(N),te=n[I],de=pW(Z.html,function(V,he){var Ae=kw.indexOf(te,V)!==-1,Se=s(I,V,he,Ae);return Lw(Se)?Ae?(he=a(I,V,he,h),he?V+'="'+he+'"':V):(Se=c(I,V,he,Ae),Lw(Se)?void 0:Se):Se});return N="<"+I,de&&(N+=" "+de),Z.closing&&(N+=" /"),N+=">",N}else return W=o(I,N,$),Lw(W)?d(N):W},d);return g&&(v=g.remove(v)),v};wW=lM;(function(e,t){var r=Xt,n=Rw,i=wW;function o(c,a){var d=new i(a);return d.process(c)}t=e.exports=o,t.filterXSS=o,t.FilterXSS=i,function(){for(var c in r)t[c]=r[c];for(var a in n)t[a]=n[a]}();function s(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}s()&&(self.filterXSS=e.exports)})(IS,IS.exports);ap=IS.exports,yW=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},uM=function(){function e(t,r){var n=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Ow(Ow({},ap.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(o,s,c,a){return o==="a"&&s==="href"||(o==="img"||o==="source")&&s==="src"?n.sanitizeUrl(c):ap.safeAttrValue(o,s,c,a)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var i;t&&!r?i=t:t&&r?(i=Object.create(this.arcgisFilterOptions),i.css={whiteList:this.arcgisCSSWhiteList},Object.keys(t).forEach(function(o){if(o==="whiteList")i.whiteList=n._extendObjectOfArrays([n.arcgisWhiteList,t.whiteList||{}]);else if(o==="css"){var s=t.css.whiteList;s!=null&&t.css instanceof Object&&Object.keys(s).forEach(function(c){return i.css.whiteList[c]=s[c]})}else i[o]=t[o]})):(i=Object.create(this.arcgisFilterOptions),i.whiteList=this.arcgisWhiteList,i.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=i,this._xssFilter=new ap.FilterXSS(i)}return e.prototype.sanitize=function(t,r){switch(r===void 0&&(r={}),typeof t){case"number":return isNaN(t)||!isFinite(t)?null:t;case"boolean":return t;case"string":return this._xssFilter.process(t);case"object":return this._iterateOverObject(t,r);default:return r.allowUndefined&&typeof t>"u"?void 0:null}},e.prototype.sanitizeUrl=function(t,r){var n=(r??{}).isProtocolRequired,i=n===void 0?!0:n,o=this._trim(t.substring(0,t.indexOf(":"))),s=t==="/",c=/^#/.test(t),a=o&&this.allowedProtocols.indexOf(o.toLowerCase())>-1;return s||c||a?ap.escapeAttrValue(t):!o&&!i?ap.escapeAttrValue("https://".concat(t)):""},e.prototype.sanitizeHTMLAttribute=function(t,r,n,i){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(t,r,n,i):ap.safeAttrValue(t,r,n,i)},e.prototype.validate=function(t,r){r===void 0&&(r={});var n=this.sanitize(t,r);return{isValid:t===n,sanitized:n}},e.prototype.encodeHTML=function(t){var r=this;return String(t).replace(/[&<>"'\/]/g,function(n){return r._entityMap[n]})},e.prototype.encodeAttrValue=function(t){var r=/^[a-zA-Z0-9]$/;return String(t).replace(/[\x00-\xFF]/g,function(n,i){return r.test(n)?n:"&#x".concat(Number(t.charCodeAt(i)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(t){var r={};return t.forEach(function(n){Object.keys(n).forEach(function(i){Array.isArray(n[i])&&Array.isArray(r[i])?r[i]=r[i].concat(n[i]):r[i]=n[i]})}),r},e.prototype._iterateOverObject=function(t,r){var n=this;r===void 0&&(r={});try{var i=!1,o=void 0;if(Array.isArray(t))o=t.reduce(function(c,a){var d=n.validate(a,r);return d.isValid?c.concat([a]):(i=!0,c.concat([d.sanitized]))},[]);else if(yW(t)){var s=Object.keys(t);o=s.reduce(function(c,a){var d=t[a],h=n.validate(d,r);return h.isValid?c[a]=d:(i=!0,c[a]=h.sanitized),c},{})}else return r.allowUndefined&&typeof t>"u"?void 0:null;return i?o:t}catch{return null}},e.prototype._trim=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},e}()});function $w(){Dw.clear()}function fM(e){return Dw.get(e)}function pM(e,t){Dw.set(e,t)}function Fw(e){Dw.delete(e)}var Dw,OS=U(()=>{Dw=new Map});function mM(...e){let t=zn.acquire();for(let n=0;n<e.length;n++){let i=e[n],o=typeof i;if(o==="string")t.push(i);else if(Array.isArray(i))t.push.apply(t,i);else if(o==="object")for(let s in i)i[s]&&t.push(s)}let r=t.join(" ");return zn.release(t),r}async function hM(e,t){await PT(j0(t));let r=typeof e=="function"?e():e;r&&("setFocus"in r&&typeof r.setFocus=="function"?await r.setFocus():r instanceof HTMLElement&&r.focus())}var ufe,bW,vW,_W,NS,Uw=U(()=>{dM();W0();Xn();gt();_t();po();MS();Y0();OS();ufe=(()=>{let e=new Map,t=new ResizeObserver(n=>{$w();for(let i of n)e.get(i.target)?.(i)}),r=(n,i,o)=>(e.set(n,i),t.observe(n,o),yt(()=>{t.unobserve(n),e.delete(n)}));return(n,i,o)=>{let s=null;return Zl([Uh(()=>typeof n=="function"?n():n,c=>{s?.remove(),c&&(s=r(c,i,o))},Mw),yt(()=>s?.remove())])}})(),bW=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"],vW=bW.reduce((e,t)=>(e[t]=[],e),{}),_W=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],NS=new uM({whiteList:vW,onTagAttr:(e,t,r)=>{let n=`${t}="${r}"`;if(_W.includes(t))return n},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0)});function FS(e){if(!(e instanceof Element&&e.tagName.includes("-")))return!1;let t=window.customElements.get(e.tagName.toLowerCase());return!!t&&e instanceof t}var vM,zw,_M,gM,Ww,VS,SM,SW,RS,xW,DS,$S,xM,wM,yM,bM,CW,Vw,EW,zS,fu,US,TW,MW,cp,CM=U(()=>{Uw();vM="http://www.w3.org/",zw=`${vM}2000/svg`,_M=`${vM}1999/xlink`,gM=[],Ww=(e,t)=>{let r={};return Object.keys(e).forEach(n=>{r[n]=e[n]}),t&&Object.keys(t).forEach(n=>{r[n]=t[n]}),r},VS=(e,t)=>e.vnodeSelector===t.vnodeSelector&&(e.properties&&t.properties?e.properties.key===t.properties.key&&e.properties.bind===t.properties.bind:!e.properties&&!t.properties),SM=e=>{if(typeof e!="string")throw new Error("Style values must be strings")},SW=(e,t,r)=>{if(t.vnodeSelector!==""){for(let n=r;n<e.length;n++)if(VS(e[n],t))return n}return-1},RS=(e,t,r,n)=>{let i=e[t];if(i.vnodeSelector==="")return;let o=i.properties;if(!(o&&(o.key===void 0?o.bind:o.key))){for(let s=0;s<e.length;s++)if(s!==t){let c=e[s];if(VS(c,i))throw new Error(`${r.vnodeSelector} had a ${i.vnodeSelector} child ${n==="added"?n:"removed"}, but there is now more than one. You must add unique key properties to make them distinguishable.`)}}},xW=e=>{if(e.properties){let t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},DS=[],$S=!1,xM=e=>{(e.children||[]).forEach(xM),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},wM=()=>{$S=!1,DS.forEach(xM),DS.length=0},yM=e=>{DS.push(e),$S||($S=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(wM,{timeout:16}):setTimeout(wM,16))},bM=e=>{let t=e.domNode;if(e.properties){let r=e.properties.exitAnimation;if(r)return t.style.pointerEvents="none",void r(t,()=>{t.parentNode&&(t.parentNode.removeChild(t),yM(e))},e.properties)}t.parentNode&&(t.parentNode.removeChild(t),yM(e))},CW=(e,t,r)=>{if(!t)return;let n=r.eventHandlerInterceptor,i=Object.keys(t),o=i.length;for(let s=0;s<o;s++){let c=i[s],a=t[c];if(c==="className")throw new Error('Property "className" is not supported, use "class".');if(c==="class")US(e,a,!0);else if(c==="classes"){let d=Object.keys(a),h=d.length;for(let g=0;g<h;g++){let v=d[g];a[v]&&e.classList.add(v)}}else if(c==="styles"){let d=Object.keys(a),h=d.length;for(let g=0;g<h;g++){let v=d[g],S=a[v];S&&(SM(S),r.styleApplyer(e,v,S))}}else if(c!=="key"&&a!=null){let d=typeof a;d==="function"?(c.lastIndexOf("on",0)===0&&(n&&(a=n(c,a,e,t)),c==="oninput"&&function(){let h=a;a=function(g){h.apply(this,[g]),g.target["oninput-value"]=g.target.value}}()),e[c]=a):r.namespace===zw?c==="href"?e.setAttributeNS(_M,c,a):e.setAttribute(c,a):d==="string"&&c!=="value"?c==="innerHTML"?e[c]=NS.sanitize(a):FS(e)&&c in e?e[c]=a:e.setAttribute(c,a):e[c]=a}}};EW=(e,t,r)=>{if(t)for(let n of t)fu(n,e,void 0,r)},zS=(e,t,r)=>{EW(e,t.children,r),t.text&&(e.textContent=t.text),CW(e,t.properties,r),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,r,t.vnodeSelector,t.properties,t.children])},fu=(e,t,r,n)=>{let i,o=0,s=e.vnodeSelector,c=t.ownerDocument;if(s==="")i=e.domNode=c.createTextNode(e.text),r!==void 0?t.insertBefore(i,r):t.appendChild(i);else{for(let a=0;a<=s.length;++a){let d=s.charAt(a);if(a===s.length||d==="."||d==="#"){let h=s.charAt(o-1),g=s.slice(o,a);h==="."?i.classList.add(g):h==="#"?i.id=g:(g==="svg"&&(n=Ww(n,{namespace:zw})),n.namespace!==void 0?i=e.domNode=c.createElementNS(n.namespace,g):(i=e.domNode=e.domNode||c.createElement(g),g==="input"&&e.properties&&e.properties.type!==void 0&&i.setAttribute("type",e.properties.type)),r!==void 0?t.insertBefore(i,r):i.parentNode!==t&&t.appendChild(i)),o=a+1}}zS(i,e,n)}},US=(e,t,r)=>{t&&t.split(" ").forEach(n=>{n&&e.classList.toggle(n,r)})},TW=(e,t,r,n)=>{if(!r)return;let i=!1,o=Object.keys(r),s=o.length;for(let c=0;c<s;c++){let a=o[c],d=r[a],h=t[a];if(a==="class")h!==d&&(US(e,h,!1),US(e,d,!0));else if(a==="classes"){let g=e.classList,v=Object.keys(d),S=v.length;for(let M=0;M<S;M++){let I=v[M],N=!!d[I];N!==!!h[I]&&(i=!0,N?g.add(I):g.remove(I))}}else if(a==="styles"){let g=Object.keys(d),v=g.length;for(let S=0;S<v;S++){let M=g[S],I=d[M];I!==h[M]&&(i=!0,I?(SM(I),n.styleApplyer(e,M,I)):n.styleApplyer(e,M,""))}}else if(d||typeof h!="string"||(d=""),a!=="value"||FS(e)){if(d!==h){let g=typeof d;g==="function"&&n.eventHandlerInterceptor||(n.namespace===zw?a==="href"?e.setAttributeNS(_M,a,d):e.setAttribute(a,d):g==="string"?a==="innerHTML"?e[a]=NS.sanitize(d):a==="role"&&d===""?e.removeAttribute(a):FS(e)&&a in e?e[a]=d:e.setAttribute(a,d):e[a]!==d&&(e[a]=d),i=!0)}}else{let g=e[a];g!==d&&(e["oninput-value"]?g===e["oninput-value"]:d!==h)&&(e[a]=d,e["oninput-value"]=void 0),d!==h&&(i=!0)}}return i},MW=(e,t,r,n,i)=>{if(r===n)return!1;n=n||gM;let o,s=(r=r||gM).length,c=n.length,a=0,d=0,h=!1;for(;d<c;){let g=a<s?r[a]:void 0,v=n[d];if(g!==void 0&&VS(g,v))h=Vw(g,v,i)||h,a++;else{let S=SW(r,v,a+1);if(S>=0){for(o=a;o<S;o++)bM(r[o]),RS(r,o,e,"removed");h=Vw(r[S],v,i)||h,a=S+1}else fu(v,t,a<s?r[a].domNode:void 0,i),xW(v),RS(n,d,e,"added")}d++}if(s>a)for(o=a;o<s;o++)bM(r[o]),RS(r,o,e,"removed");return h};Vw=(e,t,r)=>{let n=e.domNode,i=!1;if(e===t)return!1;let o=!1;if(t.vnodeSelector===""){if(t.text!==e.text){let s=n.ownerDocument.createTextNode(t.text);return n.parentNode.replaceChild(s,n),t.domNode=s,i=!0,i}t.domNode=n}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(r=Ww(r,{namespace:zw})),e.text!==t.text&&(o=!0,t.text===void 0?n.removeChild(n.firstChild):n.textContent=t.text),t.domNode=n,o=MW(t,n,e.children,t.children,r)||o,o=TW(n,e.properties,t.properties,r)||o,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[n,r,t.vnodeSelector,t.properties,t.children]);return o&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(n,t.properties,e.properties),i};cp=(e,t)=>({getLastRender:()=>e,update:r=>{if(e.vnodeSelector!==r.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");let n=e;e=r,Vw(n,r,t)},domNode:e.domNode})});var PW,lp,up,WS=U(()=>{CM();PW={namespace:void 0,performanceLogger:()=>{},eventHandlerInterceptor:void 0,styleApplyer:(e,t,r)=>{t.charAt(0)==="-"?e.style.setProperty(t,r):e.style[t]=r}},lp=e=>Ww(PW,e),up={create:(e,t)=>(t=lp(t),fu(e,document.createElement("div"),void 0,t),cp(e,t)),append:(e,t,r)=>(r=lp(r),fu(t,e,void 0,r),cp(t,r)),insertBefore:(e,t,r)=>(r=lp(r),fu(t,e.parentNode,e,r),cp(t,r)),merge:(e,t,r)=>(r=lp(r),t.domNode=e,zS(e,t,r),cp(t,r)),replace:(e,t,r)=>(r=lp(r),fu(t,e.parentNode,e,r),e.parentNode.removeChild(e),cp(t,r))}});var IW,EM=U(()=>{WS();IW=Array.prototype.find?(e,t)=>e.find(t):(e,t)=>e.filter(t)[0]});var TM,MM=U(()=>{TM={handleInterceptedEvent:(e,t,r,n)=>(e.scheduleRender(),t.properties[`on${n.type}`].apply(t.properties.bind||r,[n]))}});var AW,PM,IM=U(()=>{AW={namespace:void 0,performanceLogger:()=>{},eventHandlerInterceptor:void 0,styleApplyer:(e,t,r)=>{t.charAt(0)==="-"?e.style.setProperty(t,r):e.style[t]=r}},PM=e=>({...AW,...e})});var LW,kW,AM,LM,kM=U(()=>{WS();EM();MM();IM();LW=(e,t)=>{let r=[];for(;e&&e!==t;)r.push(e),e=e.parentNode;return r},kW=(e,t)=>e.find(t),AM=(e,t,r=!1)=>{let n=e;return t.forEach((i,o)=>{let s=n?.children?kW(n.children,c=>c.domNode===i):void 0;r&&!s&&o!==t.length-1||(n=s)}),n},LM=e=>{let t,r={...TM,...e},n=PM(r),i=n.performanceLogger,o,s=!0,c=!1,a=[],d=[],h=(v,S,M)=>{let I;n.eventHandlerInterceptor=(z,$,W,Z)=>function(te){let de;i("domEvent",te);let V=LW(te.currentTarget,I.domNode),he=V.some(Se=>customElements.get(Se?.tagName?.toLowerCase()));if(te.eventPhase===Event.CAPTURING_PHASE||!he)V.reverse(),de=AM(I.getLastRender(),V);else{let Se=te.composedPath(),Le=Se.slice(Se.indexOf(te.currentTarget),Se.indexOf(I.domNode)).reverse();de=AM(I.getLastRender(),Le,!0)}let Ae;return de&&(Ae=r.handleInterceptedEvent(t,de,this,te)),i("domEventProcessed",te),Ae},r.postProcessProjectionOptions?.(n);let N=M();I=v(S,N,n),n.eventHandlerInterceptor=void 0,a.push(I),d.push(M),r.afterFirstVNodeRendered&&r.afterFirstVNodeRendered(I,N)},g=()=>{if(o=void 0,s){s=!1,i("renderStart",void 0);for(let v=0;v<a.length;v++){let S=d[v]();i("rendered",void 0);try{a[v].update(S)}catch(M){console.error(M)}i("patched",void 0)}i("renderDone",void 0),s=!0}};return r.modifyDoRenderImplementation&&(g=r.modifyDoRenderImplementation(g,a,d)),t={renderNow:g,scheduleRender:()=>{o||c||(o=requestAnimationFrame(g))},stop:()=>{o&&(cancelAnimationFrame(o),o=void 0),c=!0},resume:()=>{c=!1,s=!0,t.scheduleRender()},append:(v,S)=>{h(up.append,v,S)},insertBefore:(v,S)=>{h(up.insertBefore,v,S)},merge:(v,S)=>{h(up.merge,v,S)},replace:(v,S)=>{h(up.replace,v,S)},detach:v=>{for(let S=0;S<d.length;S++)if(d[S]===v)return d.splice(S,1),a.splice(S,1)[0];throw new Error("renderFunction was not found")}},t}});var BS,GS,OW,zh,jS,dp=U(()=>{BS="calcite-mode-auto",GS="calcite-mode-dark",OW="calcite-mode-light",zh={autoMode:BS,darkMode:GS,lightMode:OW,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"},jS={filter:250,nextTick:0,resize:150,reposition:100}});var R,Bw,Vt=U(()=>{R={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Bw="app"});var gB,HS=U(()=>{gB=l3({})});var UM={};Fo(UM,{scopeCss:()=>hB});var NW,RW,DW,Wh,OM,NM,ZS,$W,FW,UW,pu,VW,zW,WW,Gw,YS,BW,GW,jW,HW,qW,ZW,YW,JW,XW,QW,KW,eB,jw,tB,rB,nB,RM,DM,iB,oB,sB,aB,cB,lB,uB,$M,dB,fB,pB,FM,mB,qS,hB,VM=U(()=>{NW=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");RW=e=>{let t=[],r=0;return e=e.replace(/(\[[^\]]*\])/g,(o,s)=>{let c=`__ph-${r}__`;return t.push(s),r++,c}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(o,s,c)=>{let a=`__ph-${r}__`;return t.push(c),r++,s+a}),placeholders:t}},DW=(e,t)=>t.replace(/__ph-(\d+)__/g,(r,n)=>e[+n]),Wh="-shadowcsshost",OM="-shadowcssslotted",NM="-shadowcsscontext",ZS=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",$W=new RegExp("("+Wh+ZS,"gim"),FW=new RegExp("("+NM+ZS,"gim"),UW=new RegExp("("+OM+ZS,"gim"),pu=Wh+"-no-combinator",VW=/-shadowcsshost-no-combinator([^\s]*)/,zW=[/::shadow/g,/::content/g],WW="([>\\s~+[.,{:][\\s\\S]*)?$",Gw=/-shadowcsshost/gim,YS=e=>new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${e}\\b)`,"gim"),BW=YS("::slotted"),GW=YS(":host"),jW=YS(":host-context"),HW=/\/\*\s*[\s\S]*?\*\//g,qW=e=>e.replace(HW,""),ZW=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,YW=e=>e.match(ZW)||[],JW=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,XW=/([{}])/g,QW=/(^.*?[^\\])??((:+)(.*)|$)/,KW="{",eB="}",jw="%BLOCK%",tB=(e,t)=>{let r=rB(e),n=0;return r.escapedString.replace(JW,(...i)=>{let o=i[2],s="",c=i[4],a="";c&&c.startsWith("{"+jw)&&(s=r.blocks[n++],c=c.substring(jw.length+1),a="{");let h=t({selector:o,content:s});return`${i[1]}${h.selector}${i[3]}${a}${h.content}${c}`})},rB=e=>{let t=e.split(XW),r=[],n=[],i=0,o=[];for(let c=0;c<t.length;c++){let a=t[c];a===eB&&i--,i>0?o.push(a):(o.length>0&&(n.push(o.join("")),r.push(jw),o=[]),r.push(a)),a===KW&&i++}return o.length>0&&(n.push(o.join("")),r.push(jw)),{escapedString:r.join(""),blocks:n}},nB=e=>(e=e.replace(jW,`$1${NM}`).replace(GW,`$1${Wh}`).replace(BW,`$1${OM}`),e),RM=(e,t,r)=>e.replace(t,(...n)=>{if(n[2]){let i=n[2].split(","),o=[];for(let s=0;s<i.length;s++){let c=i[s].trim();if(!c)break;o.push(r(pu,c,n[3]))}return o.join(",")}else return pu+n[3]}),DM=(e,t,r)=>e+t.replace(Wh,"")+r,iB=e=>RM(e,$W,DM),oB=(e,t,r)=>t.indexOf(Wh)>-1?DM(e,t,r):e+t+r+", "+t+" "+e+r,sB=(e,t)=>{let r="."+t+" > ",n=[];return e=e.replace(UW,(...i)=>{if(i[2]){let o=i[2].trim(),s=i[3],c=r+o+s,a="";for(let g=i[4]-1;g>=0;g--){let v=i[5][g];if(v==="}"||v===",")break;a=v+a}let d=(a+c).trim(),h=`${a.trimEnd()}${c.trim()}`.trim();if(d!==h){let g=`${h}, ${d}`;n.push({orgSelector:d,updatedSelector:g})}return c}else return pu+i[3]}),{selectors:n,cssText:e}},aB=e=>RM(e,FW,oB),cB=e=>zW.reduce((t,r)=>t.replace(r," "),e),lB=e=>{let t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+WW,"m")},uB=(e,t)=>!lB(t).test(e),$M=(e,t)=>e.replace(QW,(r,n="",i,o="",s="")=>n+t+o+s),dB=(e,t,r)=>{if(Gw.lastIndex=0,Gw.test(e)){let n=`.${r}`;return e.replace(VW,(i,o)=>$M(o,n)).replace(Gw,n+" ")}return t+" "+e},fB=(e,t,r)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(M,...I)=>I[0]);let i="."+t,o=M=>{let I=M.trim();if(!I)return"";if(M.indexOf(pu)>-1)I=dB(M,t,r);else{let N=M.replace(Gw,"");N.length>0&&(I=$M(N,i))}return I},s=RW(e);e=s.content;let c="",a=0,d,h=/( |>|\+|~(?!=))\s*/g,v=!(e.indexOf(pu)>-1);for(;(d=h.exec(e))!==null;){let M=d[1],I=e.slice(a,d.index).trim();v=v||I.indexOf(pu)>-1;let N=v?o(I):I;c+=`${N} ${M} `,a=h.lastIndex}let S=e.substring(a);return v=v||S.indexOf(pu)>-1,c+=v?o(S):S,DW(s.placeholders,c)},pB=(e,t,r,n)=>e.split(",").map(i=>n&&i.indexOf("."+n)>-1?i.trim():uB(i,t)?fB(i,t,r).trim():i.trim()).join(", "),FM=(e,t,r,n)=>tB(e,i=>{let o=i.selector,s=i.content;return i.selector[0]!=="@"?o=pB(i.selector,t,r,n):(i.selector.startsWith("@media")||i.selector.startsWith("@supports")||i.selector.startsWith("@page")||i.selector.startsWith("@document"))&&(s=FM(i.content,t,r,n)),{selector:o.replace(/\s{2,}/g," ").trim(),content:s}}),mB=(e,t,r,n)=>{e=nB(e),e=iB(e),e=aB(e);let i=sB(e,n);return e=i.cssText,e=cB(e),t&&(e=FM(e,t,r,n)),e=qS(e,r),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:i.selectors.map(o=>({orgSelector:qS(o.orgSelector,r),updatedSelector:qS(o.updatedSelector,r)}))}},qS=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),hB=(e,t)=>{let r=t+"-h",n=t+"-s",i=YW(e);e=qW(e);let o=mB(e,t,r,n);return e=[o.cssText,...i].join(`
8
8
  `),o.slottedSelectors.forEach(s=>{let c=new RegExp(NW(s.orgSelector),"g");e=e.replace(c,s.updatedSelector)}),e}});function DB(e){var t,r,n;return(n=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?n:void 0}function FB(e,t){if(e.isOk){let r=t(e.value);return r instanceof Promise?r.then(n=>e4(n)):e4(r)}if(e.isErr){let r=e.value;return dP(r)}throw"should never get here"}function KM(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var wB,yB,hu,aP,$i,bB,zM,vB,$s,cP,Zw,Gh,WM,_B,Yw,SB,xB,CB,EB,TB,KS,BM,GM,MB,jM,PB,wp,dn,kt,Lt,gu,IB,AB,LB,JS,Jw,qw,mu,XS,lP,HM,qM,Xw,ey,uP,kB,wu,l4,ZM,OB,NB,RB,u4,$B,e4,dP,UB,VB,zB,Ds,WB,Y,hp,kr,t4,BB,YM,GB,jB,HB,r4,n4,qB,ZB,YB,Tt,d4,JM,JB,i4,XB,fP,XM,QB,QM,pP,KB,mP,fp,o4,Rs,Bh,Qw,ty,pi,Kw,hP,jh,gP,wP,eG,Hw,f4,yP,pp,ry,Ns,bP,eP,vP,ei,_P,p4,tP,tG,rG,SP,ny,nG,rP,iG,oG,nP,iP,oP,Fi,sG,es,mp,xP,CP,aG,cG,EP,sP,s4,lG,uG,QS,dG,fG,TP,MP,pG,mG,hG,gG,wG,yG,PP,IP,a4,AP,gp,m4,Ot,LP,c4,bG,vG,_G,Dt=U(()=>{Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();Vt();HS();wB=Object.defineProperty,yB=(e,t)=>{for(var r in t)wB(e,r,{get:t[r],enumerable:!0})},hu={isDev:!!R.isDev,isBrowser:!0,isServer:!1,isTesting:!!R.isTesting},aP=R.hotModuleReplacement?window.__STENCIL_HOSTREFS__||(window.__STENCIL_HOSTREFS__=new WeakMap):new WeakMap,$i=e=>aP.get(e),bB=(e,t)=>{let r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return R.isDev&&(r.$renderCount$=0),R.method&&R.lazyLoad&&(r.$onInstancePromise$=new Promise(n=>r.$onInstanceResolve$=n)),R.asyncLoading&&(r.$onReadyPromise$=new Promise(n=>r.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[]),aP.set(e,r)},zM=(e,t)=>t in e,$s=(e,t)=>(vB||console.error)(e,t),cP=R.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],Zw=(...e)=>console.error(...cP,...e),Gh=(...e)=>console.warn(...cP,...e),WM=new Map,_B=(e,t,r)=>{let n=e.$tagName$.replace(/-/g,"_"),i=e.$lazyBundleId$;if(R.isDev&&typeof i!="string"){Zw(`Trying to lazily load component <${e.$tagName$}> with style mode "${t.$modeName$}", but it does not exist.`);return}else if(!i)return;let o=R.hotModuleReplacement?!1:WM.get(i);if(o)return o[n];return gB(`./${i}.entry.js${R.hotModuleReplacement&&r?"?s-hmr="+r:""}`).then(s=>(R.hotModuleReplacement||WM.set(i,s),s[n]),$s)},Yw=new Map,SB=[],xB="r",CB="o",EB="s",TB="t",KS="s-id",BM="sty-id",GM="c-id",MB="slot-fb{display:contents}slot-fb[hidden]{display:none}",jM="http://www.w3.org/1999/xlink",PB=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],wp=typeof window<"u"?window:{},dn=wp.document||{head:{}},kt=wp.HTMLElement||class{},Lt={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,n)=>e.addEventListener(t,r,n),rel:(e,t,r,n)=>e.removeEventListener(t,r,n),ce:(e,t)=>new CustomEvent(e,t)},gu=R.shadowDom,IB=(()=>{let e=!1;try{dn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),AB=e=>Promise.resolve(e),LB=R.constructableCSS?(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})():!1,JS=0,Jw=!1,qw=[],mu=[],XS=[],lP=(e,t)=>r=>{e.push(r),Jw||(Jw=!0,t&&Lt.$flags$&4?ey(Xw):Lt.raf(Xw))},HM=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){$s(r)}e.length=0},qM=(e,t)=>{let r=0,n=0;for(;r<e.length&&(n=performance.now())<t;)try{e[r++](n)}catch(i){$s(i)}r===e.length?e.length=0:r!==0&&e.splice(0,r)},Xw=()=>{if(R.asyncQueue&&JS++,HM(qw),R.asyncQueue){let e=(Lt.$flags$&6)===2?performance.now()+14*Math.ceil(JS*.1):1/0;qM(mu,e),qM(XS,e),mu.length>0&&(XS.push(...mu),mu.length=0),(Jw=qw.length+mu.length+XS.length>0)?Lt.raf(Xw):JS=0}else HM(mu),(Jw=qw.length>0)&&Lt.raf(Xw)},ey=e=>AB().then(e),uP=lP(qw,!1),kB=lP(mu,!0),wu=e=>{let t=new URL(e,Lt.$resourcesUrl$);return t.origin!==wp.location.origin?t.href:t.pathname},l4=e=>Lt.$resourcesUrl$=e,ZM={},OB="http://www.w3.org/2000/svg",NB="http://www.w3.org/1999/xhtml",RB=e=>e!=null,u4=e=>(e=typeof e,e==="object"||e==="function");$B={};yB($B,{err:()=>dP,map:()=>FB,ok:()=>e4,unwrap:()=>UB,unwrapErr:()=>VB});e4=e=>({isOk:!0,isErr:!1,value:e}),dP=e=>({isOk:!1,isErr:!0,value:e});UB=e=>{if(e.isOk)return e.value;throw e.value},VB=e=>{if(e.isErr)return e.value;throw e.value},zB=0,Ds=(e,t="")=>{if(R.profile&&performance.mark){let r=`st:${e}:${t}:${zB++}`;return performance.mark(r),()=>performance.measure(`[Stencil] ${e}() <${t}>`,r)}else return()=>{}},WB=(e,t)=>R.profile&&performance.mark?(performance.getEntriesByName(e,"mark").length===0&&performance.mark(e),()=>{performance.getEntriesByName(t,"measure").length===0&&performance.measure(t,e)}):()=>{},Y=(e,t,...r)=>{let n=null,i=null,o=null,s=!1,c=!1,a=[],d=g=>{for(let v=0;v<g.length;v++)n=g[v],Array.isArray(n)?d(n):n!=null&&typeof n!="boolean"&&((s=typeof e!="function"&&!u4(n))?n=String(n):R.isDev&&typeof e!="function"&&n.$flags$===void 0&&Zw(`vNode passed as children has unexpected type.
9
9
  Make sure it's using the correct h() function.
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.5
4
+ * v4.31.6
5
5
  */
6
- export{a as arcade}from"./p-0914e437.js";export{s as sqlExpression}from"./p-bfc1bca8.js";import"./p-3fb08b49.js";
6
+ export{a as arcade}from"./p-53e3b4ac.js";export{s as sqlExpression}from"./p-98b3a749.js";import"./p-3407848d.js";
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.5
4
+ * v4.31.6
5
5
  */
6
6
  const o=()=>{};export{o as g}