@arcgis/core 4.33.0-next.20250429 → 4.33.0-next.20250430

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 (201) hide show
  1. package/analysis/AreaMeasurementAnalysis.js +1 -1
  2. package/applications/Components/baUtils.js +5 -0
  3. package/assets/components/assets/icon/mosaicMethodBlend16.json +1 -1
  4. package/assets/components/assets/icon/mosaicMethodBlend24.json +1 -1
  5. package/assets/components/assets/icon/mosaicMethodBlend32.json +1 -1
  6. package/assets/components/assets/icon/mosaicMethodNorthWest32.json +1 -1
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/{9a1c058d3ecd1db0e996.js → 0c338364cb55afdbd580.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{4351b3e54b309935faed.js → 173737c60fa54f7d82bb.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{90dc783a617ff053e862.js → 181ad3cee0b30a72e7c7.js} +1 -1
  11. package/assets/esri/core/workers/chunks/210e057fe5e66abea984.js +1 -0
  12. package/assets/esri/core/workers/chunks/{9850ff14bd9c7da81c65.js → 23c76963481e38f39653.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{b1473d15c75fc560ea4a.js → 2ad47c0ba1680f7d5e03.js} +1 -1
  14. package/assets/esri/core/workers/chunks/2c3920ad82b9d86c3f05.js +1 -0
  15. package/assets/esri/core/workers/chunks/{4da99f058cca83937e9b.js → 2c92f6f268aa2de5432c.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{12c9dd3932218238033b.js → 3a205f87f100832ef9f5.js} +1 -1
  17. package/assets/esri/core/workers/chunks/543eb46b55cacd6e1dbc.js.LICENSE.txt +1 -1
  18. package/assets/esri/core/workers/chunks/{2fd5b48976cefe7cc0ab.js → 581180668e0229dcdc14.js} +1 -1
  19. package/assets/esri/core/workers/chunks/5c2299f22a69e58cc4dd.js +1 -0
  20. package/assets/esri/core/workers/chunks/60eb6dd09080da5653a1.js +1 -0
  21. package/assets/esri/core/workers/chunks/6210346dc9d064ac90af.js +1 -0
  22. package/assets/esri/core/workers/chunks/{3cf001abca8ad933bccf.js → 670a66617249f2d15a62.js} +2 -2
  23. package/assets/esri/core/workers/chunks/{3cf001abca8ad933bccf.js.LICENSE.txt → 670a66617249f2d15a62.js.LICENSE.txt} +1 -1
  24. package/assets/esri/core/workers/chunks/710e03feaa25e357f17a.js +1 -0
  25. package/assets/esri/core/workers/chunks/{a6de903f22f76d875005.js → 7496c4c33c2d8f60a434.js} +1 -1
  26. package/assets/esri/core/workers/chunks/7b4523ab392966624d97.js +2 -0
  27. package/assets/esri/core/workers/chunks/{30551c1d3e4fa7be86c1.js.LICENSE.txt → 7b4523ab392966624d97.js.LICENSE.txt} +1 -1
  28. package/assets/esri/core/workers/chunks/{50ffb2620cdbcfd75723.js → 81b3351ea9627bb631d4.js} +1 -1
  29. package/assets/esri/core/workers/chunks/84d7ed2cf5fe23a0888f.js +1 -0
  30. package/assets/esri/core/workers/chunks/84f972d7851d982701a0.js +319 -0
  31. package/assets/esri/core/workers/chunks/{f52e597dca4b32a81881.js → 867c6c5b2ee1db977c99.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{c5d786166a5609b85276.js → 8a87c181b85d0b86b9bb.js} +2 -2
  33. package/assets/esri/core/workers/chunks/{c5d786166a5609b85276.js.LICENSE.txt → 8a87c181b85d0b86b9bb.js.LICENSE.txt} +1 -1
  34. package/assets/esri/core/workers/chunks/{a0c51c4c30a5f749dfc6.js → 8bf2e2fe5e3e8b4a1fa0.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{213adc87c843d627c5d6.js → 8f2e0277c66247bd40b4.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{a600194cfe26aedc21dd.js → 9d32f41f8f69b8a507c3.js} +1 -1
  37. package/assets/esri/core/workers/chunks/ac9c6779771ec855da79.js.LICENSE.txt +1 -1
  38. package/assets/esri/core/workers/chunks/{899f197556b6ced6eddf.js → ad9b4e0164706c53b872.js} +2 -2
  39. package/assets/esri/core/workers/chunks/{1a6d2d090b643a87408a.js → b780c7062b1b18a5ae19.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{72097a8247101018dcdf.js → ba4aafa8dfa76006c3e7.js} +1 -1
  41. package/assets/esri/core/workers/chunks/c2594024d72133d3ed7b.js +2 -0
  42. package/assets/esri/core/workers/chunks/{e524462c63834fae7e01.js.LICENSE.txt → c2594024d72133d3ed7b.js.LICENSE.txt} +1 -1
  43. package/assets/esri/core/workers/chunks/{5a821b7bf58eebb9062c.js → c607d618b64d3accecc4.js} +1 -1
  44. package/assets/esri/core/workers/chunks/c819535525e9a27bae1f.js +39 -0
  45. package/assets/esri/core/workers/chunks/{c3033f148213c960b906.js → cb25b45a6b385e60c68d.js} +307 -309
  46. package/assets/esri/core/workers/chunks/{577f24923fa4d08360e4.js → ce9de24cb96b56d20562.js} +2 -2
  47. package/assets/esri/core/workers/chunks/{577f24923fa4d08360e4.js.LICENSE.txt → ce9de24cb96b56d20562.js.LICENSE.txt} +1 -1
  48. package/assets/esri/core/workers/chunks/d30fae6233d3426615ed.js +1 -0
  49. package/assets/esri/core/workers/chunks/d8dc922f7466300b668f.js.LICENSE.txt +1 -1
  50. package/assets/esri/core/workers/chunks/{28317c8d7fa2eeeaf997.js → d92ea6b0674f34206ab6.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{345993291540433d3d92.js → e93222c65bd28203ddf7.js} +1 -1
  52. package/assets/esri/themes/base/widgets/_SelectionList.scss +5 -17
  53. package/assets/esri/themes/dark/main.css +1 -1
  54. package/assets/esri/themes/light/main.css +1 -1
  55. package/assets/esri/themes/light/view.css +1 -1
  56. package/chunks/BloomBlur.glsl.js +1 -1
  57. package/chunks/BloomComposition.glsl.js +2 -2
  58. package/chunks/ChapmanAtmosphere.glsl.js +1 -1
  59. package/chunks/CloudsComposition.glsl.js +1 -1
  60. package/chunks/ComponentShader.glsl.js +33 -33
  61. package/chunks/DefaultMaterial.glsl.js +22 -22
  62. package/chunks/Fog.glsl.js +3 -3
  63. package/chunks/Haze.glsl.js +1 -1
  64. package/chunks/Path.glsl.js +22 -18
  65. package/chunks/RealisticTree.glsl.js +9 -9
  66. package/chunks/RibbonLine.glsl.js +1 -1
  67. package/chunks/ShadowCastAccumulate.glsl.js +5 -5
  68. package/chunks/ShadowHighlight.glsl.js +3 -3
  69. package/chunks/Terrain.glsl.js +1 -1
  70. package/chunks/Viewshed.glsl.js +1 -1
  71. package/geometry/support/PolylineBuilder.js +1 -1
  72. package/geometry/support/curves/bezierCurveUtils.js +5 -0
  73. package/geometry/support/curves/circleUtils.js +5 -0
  74. package/geometry/support/curves/circularArcUtils.js +5 -0
  75. package/geometry/support/curves/closestPointOnCurve.js +5 -0
  76. package/geometry/support/curves/curveUtils.js +5 -0
  77. package/geometry/support/curves/densifyCurvedGeometry.js +5 -0
  78. package/geometry/support/curves/ellipticArc4Utils.js +5 -0
  79. package/geometry/support/curves/ellipticArc7Utils.js +5 -0
  80. package/geometry/support/curves/mathUtils.js +5 -0
  81. package/geometry/support/curves/splitCurveAtPoint.js +5 -0
  82. package/interfaces.d.ts +452 -17
  83. package/layers/VideoLayer.js +1 -1
  84. package/package.json +1 -1
  85. package/portal/schemas/definitions.js +1 -1
  86. package/rest/knowledgeGraph/GraphAddNamedTypesResult.js +5 -0
  87. package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.js +5 -0
  88. package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.js +1 -1
  89. package/rest/knowledgeGraph/wasmInterface/updateToWasmEncodedFactories.js +1 -1
  90. package/rest/knowledgeGraph/wasmInterface/wasmToDataModelChangeResponseFactories.js +5 -0
  91. package/rest/knowledgeGraph/wasmInterface/wasmUtils.js +1 -1
  92. package/rest/knowledgeGraphService.js +1 -1
  93. package/support/revision.js +1 -1
  94. package/symbols/cim/CIMOperators.js +1 -1
  95. package/symbols/cim/effects/EffectSuppress.js +5 -0
  96. package/symbols/cim/effects/EffectTaperedPolygon.js +1 -1
  97. package/views/2d/layers/MediaLayerView2D.js +1 -1
  98. package/views/2d/layers/TileLayerView2D.js +1 -1
  99. package/views/2d/layers/VideoLayerView2D.js +1 -1
  100. package/views/2d/layers/graphics/GraphicStoreItem.js +1 -1
  101. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  102. package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.js +1 -1
  103. package/views/3d/environment/ChapmanAtmosphereTechniqueConfiguration.js +1 -1
  104. package/views/3d/environment/EnvironmentManager.js +1 -1
  105. package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DTool.js +1 -1
  106. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +1 -1
  107. package/views/3d/layers/graphics/pipeline/Feature3DPipeline.js +1 -1
  108. package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorker.js +1 -1
  109. package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorkerHandle.js +1 -1
  110. package/views/3d/layers/graphics/pipeline/FeatureProcessingContext.js +1 -1
  111. package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +5 -0
  112. package/views/3d/layers/graphics/pipeline/symbolization/ObjectSymbolLayerRenderer.js +5 -0
  113. package/views/3d/layers/graphics/pipeline/symbolization/Point3DSymbolRenderer.js +5 -0
  114. package/views/3d/layers/graphics/pipeline/symbolization/SimpleFeatureRenderer.js +1 -1
  115. package/views/3d/layers/graphics/pipeline/symbolization/UniqueValueFeatureRenderer.js +1 -1
  116. package/views/3d/layers/graphics/pipeline/symbolization/factoryUtils.js +5 -0
  117. package/views/3d/layers/graphics/pipeline/symbolization/primitiveObjectUtils.js +1 -1
  118. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  119. package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentShader.glsl.js +1 -1
  120. package/views/3d/webgl-engine/core/shaderLibrary/shading/AnalyticalSkyModel.glsl.js +3 -3
  121. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateAmbientOcclusion.glsl.js +2 -2
  122. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +15 -15
  123. package/views/3d/webgl-engine/core/shaderLibrary/shading/FoamRendering.glsl.js +3 -3
  124. package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +1 -1
  125. package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRendering.glsl.js +10 -11
  126. package/views/3d/webgl-engine/core/shaderLibrary/shading/PiUtils.glsl.js +1 -1
  127. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +3 -3
  128. package/views/3d/webgl-engine/core/shaderLibrary/shading/Water.glsl.js +8 -8
  129. package/views/3d/webgl-engine/core/shaderLibrary/shading/WaterDistortion.glsl.js +1 -1
  130. package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadow.glsl.js +27 -0
  131. package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadowFromDepth.glsl.js +28 -0
  132. package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
  133. package/views/3d/webgl-engine/effects/haze/HazeTechniqueConfiguration.js +1 -1
  134. package/views/3d/webgl-engine/effects/weather/SnowCover.glsl.js +12 -0
  135. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  136. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  137. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  138. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  139. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  140. package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
  141. package/views/3d/webgl-engine/materials/WaterTechniqueConfiguration.js +1 -1
  142. package/views/3d/webgl-engine/shaders/CheckerBoardTechniqueConfiguration.js +1 -1
  143. package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
  144. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  145. package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
  146. package/views/3d/webgl-engine/shaders/ImageMaterialTechniqueConfiguration.js +1 -1
  147. package/views/3d/webgl-engine/shaders/LineMarkerTechniqueConfiguration.js +1 -1
  148. package/views/3d/webgl-engine/shaders/OutputColorHighlightOID.glsl.js +9 -9
  149. package/views/3d/webgl-engine/shaders/Path.glsl.js +1 -1
  150. package/views/3d/webgl-engine/shaders/PatternTechniqueConfiguration.js +1 -1
  151. package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
  152. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechniqueConfiguration.js +1 -1
  153. package/views/3d/webgl-engine/shaders/ShadowCastAccumulate.glsl.js +1 -1
  154. package/views/3d/webgl-engine/shaders/ShadowHighlight.glsl.js +1 -1
  155. package/views/3d/webgl-engine/shaders/ToneMapping.glsl.js +2 -20
  156. package/views/VideoView.js +1 -1
  157. package/webscene/support/FeatureReference.d.ts +4 -0
  158. package/webscene/support/FeatureReference.js +5 -0
  159. package/webscene/support/FeatureReferenceGlobalId.d.ts +4 -0
  160. package/webscene/support/FeatureReferenceGlobalId.js +5 -0
  161. package/webscene/support/FeatureReferenceId.d.ts +4 -0
  162. package/webscene/support/FeatureReferenceId.js +5 -0
  163. package/webscene/support/FeatureReferenceObjectId.d.ts +4 -0
  164. package/webscene/support/FeatureReferenceObjectId.js +5 -0
  165. package/webscene/support/LayerReference.d.ts +4 -0
  166. package/webscene/support/LayerReference.js +5 -0
  167. package/webscene/support/SlideElements.js +1 -1
  168. package/webscene/support/SlidePopupInfo.d.ts +4 -0
  169. package/webscene/support/SlidePopupInfo.js +5 -0
  170. package/webscene/support/featureReferenceUtils.js +5 -0
  171. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
  172. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
  173. package/widgets/FeatureTable.js +1 -1
  174. package/widgets/LayerList/LayerListItem.js +1 -1
  175. package/widgets/LayerList/ListItemPanel.js +1 -1
  176. package/widgets/TableList/ListItemPanel.js +1 -1
  177. package/widgets/VideoPlayer.js +1 -1
  178. package/widgets/support/SelectionList/FeatureItem.js +1 -1
  179. package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
  180. package/widgets/support/SelectionList.js +1 -1
  181. package/assets/esri/core/workers/chunks/2e3019ce49e972a815ca.js +0 -1
  182. package/assets/esri/core/workers/chunks/30551c1d3e4fa7be86c1.js +0 -2
  183. package/assets/esri/core/workers/chunks/3293b4041c222299428f.js +0 -1
  184. package/assets/esri/core/workers/chunks/626ba3a7dee952308566.js +0 -1
  185. package/assets/esri/core/workers/chunks/97eedd6b90c6a9c67947.js +0 -1
  186. package/assets/esri/core/workers/chunks/b1e420cb425a3625170e.js +0 -319
  187. package/assets/esri/core/workers/chunks/bf4947fe446dcb477031.js +0 -1
  188. package/assets/esri/core/workers/chunks/cd2927b922444880566d.js +0 -1
  189. package/assets/esri/core/workers/chunks/d3a74087e076a3ae76ca.js +0 -1
  190. package/assets/esri/core/workers/chunks/def182fff5a0244b1c2c.js +0 -1
  191. package/assets/esri/core/workers/chunks/e524462c63834fae7e01.js +0 -2
  192. package/assets/esri/core/workers/chunks/e64e0c3240f8e577a61c.js +0 -39
  193. package/geometry/support/curveUtils.js +0 -5
  194. package/geometry/support/densifyUtils.js +0 -5
  195. package/views/3d/layers/graphics/pipeline/symbolization/Factory.js +0 -5
  196. package/views/3d/layers/graphics/pipeline/symbolization/TestObjectSymbol.js +0 -5
  197. package/views/3d/layers/graphics/pipeline/symbolization/TestSymbol.js +0 -5
  198. package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadow.js +0 -38
  199. package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadowFromDepth.js +0 -35
  200. package/views/3d/webgl-engine/effects/bloom/BloomCompositionTechniqueConfiguration.js +0 -5
  201. package/widgets/support/InteractiveAnalysisViewModel.js +0 -5
@@ -0,0 +1,2 @@
1
+ /*! For license information please see c2594024d72133d3ed7b.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7292],{7804:(t,e,i)=>{i.d(e,{OA:()=>o,WL:()=>n,u$:()=>s});const o={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},s=t=>(...e)=>({_$litDirective$:t,values:e});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},14813:(t,e,i)=>{i.d(e,{Qu:()=>n,qu:()=>s});var o=i(34088);let s=!1;const n=t=>{s=!0,(0,o.s)(t)}},18504:(t,e,i)=>{i.d(e,{Rt:()=>n,mY:()=>a});var o=i(36752);const{I:s}=o.ge,n=t=>void 0===t.strings,r={},a=(t,e=r)=>t._$AH=e},18964:(t,e,i)=>{i.d(e,{WF:()=>x,lh:()=>A,le:()=>$,s6:()=>L,CP:()=>E,zl:()=>C,Bq:()=>S,pf:()=>O});var o=i(62590);Event,Event;var s=i(98015),n=i(28760);n.W3,n.Ec;var r=(t=>(t[t.ATTRIBUTE=1]="ATTRIBUTE",t[t.REFLECT=2]="REFLECT",t[t.BOOLEAN=4]="BOOLEAN",t[t.NUMBER=8]="NUMBER",t[t.STATE=16]="STATE",t[t.READ_ONLY=32]="READ_ONLY",t[t.NO_ACCESSOR=64]="NO_ACCESSOR",t))(r||{});function a(t){let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){const i=e;return i.manager?.loadedCalled||i._offspring.push(t),i._postLoad.promise}return!1}const c=Object.defineProperty;const l=globalThis.HTMLElement??function(t){const e=t.split(":");return 1===e.length?[e[0],(0,s.j1)(e[0])]:e};class h extends l{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new s.cY,this._postLoaded=new s.cY,this._offspring=[],this._saveInstanceProperties();const t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(u).then(this._initializeComponent.bind(this)).catch((t=>{this._postLoaded.reject(t),setTimeout((()=>{throw t}))}))}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){c(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){c(this.prototype,t,{async value(...e){this._litElement||await this._postLoaded.promise;const i=this._litElement;return await i[t](...e)},configurable:!0})}static _bindSync(t){c(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){const t=this.constructor,e=this;t._properties?.forEach((t=>{Object.hasOwn(this,t)&&(this._store[t]=e[t],delete e[t])}))}attributeChangedCallback(t,e,i){this._litElement?.attributeChangedCallback(t,e,i),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask((()=>{this._ancestorLoad=a(this)}))}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){const e=this.constructor,i=e._name,o=this._store,s=Object.values(t).find((t=>t.tagName===i)),n=`${i}--lazy`;let r=s;for(;r&&!Object.hasOwn(r,"lumina");)r=Object.getPrototypeOf(r);!function(t){const e=t.prototype,i=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(t,e){i.setAttribute.call(this.el,t,e)},e.removeAttribute=function(t){i.removeAttribute.call(this.el,t)},c(e,"isConnected",{get(){return Reflect.get(i,"isConnected",this.el)}}))}(r),!e._LitConstructor&&(e._LitConstructor=s,customElements.define(n,s)),s.lazy=this;const a=document.createElement(n);s.lazy=void 0,this._litElement=a,this._store=a,this._pendingAttributes.forEach((t=>{const e=this.getAttribute(t);a.attributeChangedCallback(t,null,e)})),Object.entries(o).forEach(d,a);const l=this.isConnected;(l||this._ancestorLoad)&&(a.connectedCallback?.(),l||a.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}}function d([t,e]){this[t]=e}const u=async t=>(await t.$$,t),p={};var f=i(46337),g=i(36752),m=i(7804);const y=(0,m.u$)(class extends m.WL{constructor(t){if(super(t),t.type!==m.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const i=t.element.classList;for(const t of this.st)t in e||(i.remove(t),this.st.delete(t));for(const t in e){const o=!!e[t];o===this.st.has(t)||this.nt?.has(t)||(o?(i.add(t),this.st.add(t)):(i.remove(t),this.st.delete(t)))}return g.c0}}),b="important",v=" !"+b,_=(0,m.u$)(class extends m.WL{constructor(t){if(super(t),t.type!==m.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(v);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?b:""):i[t]=o}}return g.c0}});i(56328);const w=(t="",e={},i=(0,o.Gk)())=>{const s={emit:s=>{""===t&&(0,o.hq)();const n=new CustomEvent(t,{detail:s,cancelable:!0,bubbles:!0,composed:!0,...e});return i.el.dispatchEvent(n),n}};return""===t&&(0,o.Nh)(void 0,(e=>{t=e.key}),s),s},A=w.bind(null,""),k=()=>{};class x extends f.WF{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=(0,o.lr)(this),this._postLoad=this.constructor.lazy?._postLoad??new s.cY,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new s.cY,this._enableUpdating=this.enableUpdating,this.enableUpdating=k;const t=x.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),f.S$&&this.el.setAttribute(this.constructor.runtime.hydratedAttribute,"")}static finalizeStyles(t){const e=super.finalizeStyles(t),i=this.shadowRootOptions===p;return void 0===this.runtime?.commonStyles||i?e:[this.runtime.commonStyles,...e]}static createProperty(t,e){const i="number"==typeof e?e:Array.isArray(e)?e[0]:0,o=Array.isArray(e)?e[1]:void 0;super.createProperty(t,{attribute:!!(i&r.ATTRIBUTE&&"string"==typeof t)&&(0,s.j1)(t),reflect:!!(i&r.REFLECT),type:i&r.BOOLEAN?Boolean:i&r.NUMBER?Number:void 0,state:!!(i&r.STATE),readOnly:!!(i&r.READ_ONLY),noAccessor:!!(i&r.NO_ACCESSOR),...o})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;const t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask((()=>this._load().catch((t=>{this._postLoaded.reject(t),setTimeout((()=>{throw t}))}))))}createRenderRoot(){const t=this.el.shadowRoot,e=this.constructor,i=e.shadowRootOptions,o=t??(i===p?this.el:this.el.attachShadow(i));if(t)return f.WF.prototype.createRenderRoot.call(this),t;if(this.isConnected){const t=o.getRootNode();t.adoptedStyleSheets=[...t.adoptedStyleSheets,...e.elementStyles.map((t=>"styleSheet"in t?t.styleSheet:t))]}return o}async _load(){const t=this.el._ancestorLoad??a(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();const e=this._offspring.filter((t=>!t.manager?.loadedCalled));e.length&&await Promise.allSettled(e.map((async t=>await t.componentOnReady()))),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,e,i){const o=e?.bind(this)??e;this.manager.onLifecycle((()=>(this.el.addEventListener(t,o,i),()=>this.el.removeEventListener(t,o,i))))}listenOn(t,e,i,o){const s=i?.bind(this)??i;this.manager.onLifecycle((()=>(t.addEventListener(e,s,o),()=>t.removeEventListener(e,s,o))))}async componentOnReady(){return await this._postLoaded.promise,this}}function $(t){let e;const i=t=>{e=new URL(t,globalThis.location?.href||void 0).href},o={...t,getAssetPath(t){const i=new URL(t,e);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:i,customElement(t,e){e.runtime=o,e.tagName=t,customElements.get(t)||customElements.define(t,e)}};return i(t.defaultAssetPath),o}x.$createEvent=w;const E=t=>"object"==typeof t&&null!=t?y(t):t,C=t=>"object"==typeof t&&null!=t?_(t):t,L=g.s6;function S(t,e,i){null==i?t.removeAttribute(e):t.setAttribute(e,i)}const O={toAttribute:t=>!0===t?"":!1===t?null:t}},28760:(t,e,i)=>{i.d(e,{Ec:()=>m,W3:()=>g,mN:()=>b});var o=i(33826);const{is:s,defineProperty:n,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getOwnPropertySymbols:c,getPrototypeOf:l}=Object,h=globalThis,d=h.trustedTypes,u=d?d.emptyScript:"",p=h.reactiveElementPolyfillSupport,f=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},m=(t,e)=>!s(t,e),y={attribute:!0,type:String,converter:g,reflect:!1,useDefault:!1,hasChanged:m};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),o=this.getPropertyDescriptor(t,i,e);void 0!==o&&n(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:s}=r(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:o,set(e){const n=o?.call(this);s?.call(this,e),this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(f("elementProperties")))return;const t=l(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(f("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(f("properties"))){const t=this.properties,e=[...a(t),...c(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift((0,o.sk)(t))}else void 0!==t&&e.push((0,o.sk)(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,o.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){const i=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,i);if(void 0!==o&&!0===i.reflect){const s=(void 0!==i.converter?.toAttribute?i.converter:g).toAttribute(e,i.type);this._$Em=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,e){const i=this.constructor,o=i._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=i.getPropertyOptions(o),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:g;this._$Em=o,this[o]=s.fromAttribute(e,t.type)??this._$Ej?.get(o)??null,this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){const o=this.constructor,s=this[t];if(i??=o.getPropertyOptions(t),!((i.hasChanged??m)(s,e)||i.useDefault&&i.reflect&&s===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,i))))return;this.C(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:i,reflect:o,wrapped:s},n){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),!0!==s||void 0!==n)||(this._$AL.has(t)||(this.hasUpdated||i||(e=void 0),this._$AL.set(t,e)),!0===o&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t){const{wrapped:t}=i,o=this[e];!0!==t||this._$AL.has(e)||void 0===o||this.C(e,void 0,i,o)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[f("elementProperties")]=new Map,b[f("finalized")]=new Map,p?.({ReactiveElement:b}),(h.reactiveElementVersions??=[]).push("2.1.0")},33826:(t,e,i)=>{i.d(e,{AH:()=>c,Rf:()=>l,sk:()=>h});const o=globalThis,s=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class a{constructor(t,e,i){if(this._$cssResult$=!0,i!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&r.set(e,t))}return t}toString(){return this.cssText}}const c=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new a(i,t,n)},l=(t,e)=>{if(s)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),s=o.litNonce;void 0!==s&&e.setAttribute("nonce",s),e.textContent=i.cssText,t.appendChild(e)}},h=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,n))(e)})(t):t},34088:(t,e,i)=>{i.d(e,{C:()=>a,D:()=>c,a:()=>l,c:()=>m,f:()=>u,g:()=>y,l:()=>p,s:()=>b});var o=i(18964),s=i(46337);const n="calcite-mode-auto",r="calcite-mode-dark",a={autoMode:n,darkMode:r,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},c={filter:250,nextTick:0,resize:150,reposition:100},l=25;function h(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,i=()=>t.contains(r)||t.contains(n)&&e?"dark":"light",o=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),s=t=>{a!==t&&o(t),a=t};let a=i();o(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(t=>s(t.matches?"dark":"light"))),new MutationObserver((()=>s(i()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const d=globalThis.calciteConfig,u=d?.focusTrapStack||[],p=d?.logLevel||"info",f="3.2.0-next.33";s.S$||("interactive"===document.readyState?h():document.addEventListener("DOMContentLoaded",(()=>h()),{once:!0})),function(){if(d&&d.version)return;console.info(`Using Calcite Components ${f} [Date: 2025-04-29, Revision: 79666ae73]`);const t=d||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:f,writable:!1}),globalThis.calciteConfig=t}();const g=(0,o.le)({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.2.0-next.33/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:m,getAssetPath:y,setAssetPath:b}=g},36752:(t,e,i)=>{i.d(e,{JW:()=>$,XX:()=>B,c0:()=>C,ej:()=>E,ge:()=>W,qy:()=>x,s6:()=>L});const o=globalThis,s=o.trustedTypes,n=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,r="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+a,l=`<${c}>`,h=document,d=()=>h.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,f=t=>p(t)||"function"==typeof t?.[Symbol.iterator],g="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,b=/>/g,v=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,w=/"/g,A=/^(?:script|style|textarea|title)$/i,k=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),x=k(1),$=k(2),E=k(3),C=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),S=new WeakMap,O=h.createTreeWalker(h,129);function T(t,e){if(!p(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==n?n.createHTML(e):e}const U=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":3===e?"<math>":"",c=m;for(let e=0;e<i;e++){const i=t[e];let h,d,u=-1,p=0;for(;p<i.length&&(c.lastIndex=p,d=c.exec(i),null!==d);)p=c.lastIndex,c===m?"!--"===d[1]?c=y:void 0!==d[1]?c=b:void 0!==d[2]?(A.test(d[2])&&(s=RegExp("</"+d[2],"g")),c=v):void 0!==d[3]&&(c=v):c===v?">"===d[0]?(c=s??m,u=-1):void 0===d[1]?u=-2:(u=c.lastIndex-d[2].length,h=d[1],c=void 0===d[3]?v:'"'===d[3]?w:_):c===w||c===_?c=v:c===y||c===b?c=m:(c=v,s=void 0);const f=c===v&&t[e+1].startsWith("/>")?" ":"";n+=c===m?i+l:u>=0?(o.push(h),i.slice(0,u)+r+i.slice(u)+a+f):i+a+(-2===u?e:f)}return[T(t,n+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),o]};class P{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,l=0;const h=t.length-1,u=this.parts,[p,f]=U(t,e);if(this.el=P.createElement(p,i),O.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=O.nextNode())&&u.length<h;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(r)){const e=f[l++],i=o.getAttribute(t).split(a),s=/([.?@])?(.*)/.exec(e);u.push({type:1,index:n,name:s[2],strings:i,ctor:"."===s[1]?N:"?"===s[1]?I:"@"===s[1]?z:M}),o.removeAttribute(t)}else t.startsWith(a)&&(u.push({type:6,index:n}),o.removeAttribute(t));if(A.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=s?s.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],d()),O.nextNode(),u.push({type:2,index:++n});o.append(t[e],d())}}}else if(8===o.nodeType)if(o.data===c)u.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)u.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const i=h.createElement("template");return i.innerHTML=t,i}}function j(t,e,i=t,o){if(e===C)return e;let s=void 0!==o?i._$Co?.[o]:i._$Cl;const n=u(e)?void 0:e._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),void 0===n?s=void 0:(s=new n(t),s._$AT(t,i,o)),void 0!==o?(i._$Co??=[])[o]=s:i._$Cl=s),void 0!==s&&(e=j(t,s._$AS(t,e.values),s,o)),e}class R{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,o=(t?.creationScope??h).importNode(e,!0);O.currentNode=o;let s=O.nextNode(),n=0,r=0,a=i[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new D(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new F(s,this,t)),this._$AV.push(e),a=i[++r]}n!==a?.index&&(s=O.nextNode(),n++)}return O.currentNode=h,o}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=j(this,t,e),u(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==C&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):f(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==L&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(h.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=P.createElement(T(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new R(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=S.get(t.strings);return void 0===e&&S.set(t.strings,e=new P(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new D(this.O(d()),this.O(d()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class M{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,s){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=L}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=j(this,t,e,0),n=!u(t)||t!==this._$AH&&t!==C,n&&(this._$AH=t);else{const o=t;let r,a;for(t=s[0],r=0;r<s.length-1;r++)a=j(this,o[i+r],e,r),a===C&&(a=this._$AH[r]),n||=!u(a)||a!==this._$AH[r],a===L?t=L:t!==L&&(t+=(a??"")+s[r+1]),this._$AH[r]=a}n&&!o&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class N extends M{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}}class I extends M{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==L)}}class z extends M{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){if((t=j(this,t,e,0)??L)===C)return;const i=this._$AH,o=t===L&&i!==L||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,s=t!==L&&(i===L||o);o&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class F{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}}const W={M:r,P:a,A:c,C:1,L:U,R,D:f,V:j,I:D,H:M,N:I,U:z,B:N,F},H=o.litHtmlPolyfillSupport;H?.(P,D),(o.litHtmlVersions??=[]).push("3.2.1");const B=(t,e,i)=>{const o=i?.renderBefore??e;let s=o._$litPart$;if(void 0===s){const t=i?.renderBefore??null;o._$litPart$=s=new D(e.insertBefore(d(),t),t,void 0,i??{})}return s._$AI(t),s}},37330:(t,e,i)=>{i.d(e,{I:()=>rt});var o=function(){return o=Object.assign||function(t){for(var e,i=1,o=arguments.length;i<o;i++)for(var s in e=arguments[i])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t},o.apply(this,arguments)},s={exports:{}},n={},r={exports:{}},a={};function c(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}var l=/javascript\s*\:/gim;a.whiteList={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1},a.getDefaultWhiteList=c,a.onAttr=function(t,e,i){},a.onIgnoreAttr=function(t,e,i){},a.safeAttrValue=function(t,e){return l.test(e)?"":e};var h=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},d=function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")},u=a,p=function(t,e){";"!==(t=d(t))[t.length-1]&&(t+=";");var i=t.length,o=!1,s=0,n=0,r="";function a(){if(!o){var i=h(t.slice(s,n)),a=i.indexOf(":");if(-1!==a){var c=h(i.slice(0,a)),l=h(i.slice(a+1));if(c){var d=e(s,r.length,c,l,i);d&&(r+=d+"; ")}}}s=n+1}for(;n<i;n++){var c=t[n];if("/"===c&&"*"===t[n+1]){var l=t.indexOf("*/",n+2);if(-1===l)break;s=(n=l+1)+1,o=!1}else"("===c?o=!0:")"===c?o=!1:";"===c?o||a():"\n"===c&&a()}return h(r)};function f(t){return null==t}function g(t){(t=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{})).whiteList=t.whiteList||u.whiteList,t.onAttr=t.onAttr||u.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||u.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||u.safeAttrValue,this.options=t}g.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,i=e.whiteList,o=e.onAttr,s=e.onIgnoreAttr,n=e.safeAttrValue;return p(t,(function(t,e,r,a,c){var l=i[r],h=!1;if(!0===l?h=l:"function"==typeof l?h=l(a):l instanceof RegExp&&(h=l.test(a)),!0!==h&&(h=!1),a=n(r,a)){var d,u={position:e,sourcePosition:t,source:c,isWhite:h};return h?f(d=o(r,a,u))?r+":"+a:d:f(d=s(r,a,u))?void 0:d}}))};var m=g;!function(t,e){var i=a,o=m;for(var s in(e=t.exports=function(t,e){return new o(e).process(t)}).FilterCSS=o,i)e[s]=i[s]}(r,r.exports);var y=r.exports,b={indexOf:function(t,e){var i,o;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,o=t.length;i<o;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var o,s;if(Array.prototype.forEach)return t.forEach(e,i);for(o=0,s=t.length;o<s;o++)e.call(i,t[o],o,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/.exec(t);return e?e.index:-1}},v=y.FilterCSS,_=y.getDefaultWhiteList,w=b;var A=new v;function k(t){return t.replace(x,"&lt;").replace($,"&gt;")}var x=/</g,$=/>/g,E=/"/g,C=/&quot;/g,L=/&#([a-zA-Z0-9]*);?/gim,S=/&colon;?/gim,O=/&newline;?/gim,T=/((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,U=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,P=/u\s*r\s*l\s*\(.*/gi;function j(t){return t.replace(E,"&quot;")}function R(t){return t.replace(C,'"')}function D(t){return t.replace(L,(function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))}))}function M(t){return t.replace(S,":").replace(O," ")}function N(t){for(var e="",i=0,o=t.length;i<o;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return w.trim(e)}function I(t){return N(t=M(t=D(t=R(t))))}function z(t){return k(t=j(t))}n.whiteList={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"]},n.getDefaultWhiteList=function(){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"]}},n.onTag=function(t,e,i){},n.onIgnoreTag=function(t,e,i){},n.onTagAttr=function(t,e,i){},n.onIgnoreTagAttr=function(t,e,i){},n.safeAttrValue=function(t,e,i,o){if(i=I(i),"href"===e||"src"===e){if("#"===(i=w.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===e){if(T.lastIndex=0,T.test(i))return""}else if("style"===e){if(U.lastIndex=0,U.test(i))return"";if(P.lastIndex=0,P.test(i)&&(T.lastIndex=0,T.test(i)))return"";!1!==o&&(i=(o=o||A).process(i))}return z(i)},n.escapeHtml=k,n.escapeQuote=j,n.unescapeQuote=R,n.escapeHtmlEntities=D,n.escapeDangerHtml5Entities=M,n.clearNonPrintableCharacter=N,n.friendlyAttrValue=I,n.escapeAttrValue=z,n.onIgnoreTagStripAll=function(){return""},n.StripTagBody=function(t,e){"function"!=typeof e&&(e=function(){});var i=!Array.isArray(t),o=[],s=!1;return{onIgnoreTag:function(n,r,a){if(function(e){return!!i||-1!==w.indexOf(t,e)}(n)){if(a.isClosing){var c=a.position+10;return o.push([!1!==s?s:a.position,c]),s=!1,"[/removed]"}return s||(s=a.position),"[removed]"}return e(n,r,a)},remove:function(t){var e="",i=0;return w.forEach(o,(function(o){e+=t.slice(i,o[0]),i=o[1]})),e+=t.slice(i)}}},n.stripCommentTag=function(t){for(var e="",i=0;i<t.length;){var o=t.indexOf("\x3c!--",i);if(-1===o){e+=t.slice(i);break}e+=t.slice(i,o);var s=t.indexOf("--\x3e",o);if(-1===s)break;i=s+3}return e},n.stripBlankChar=function(t){var e=t.split("");return(e=e.filter((function(t){var e=t.charCodeAt(0);return!(127===e||e<=31&&10!==e&&13!==e)}))).join("")},n.cssFilter=A,n.getDefaultCSSWhiteList=_;var F={},W=b;function H(t){var e,i=W.spaceIndex(t);return e=-1===i?t.slice(1,-1):t.slice(1,i+1),"/"===(e=W.trim(e).toLowerCase()).slice(0,1)&&(e=e.slice(1)),"/"===e.slice(-1)&&(e=e.slice(0,-1)),e}function B(t){return"</"===t.slice(0,2)}var V=/[^a-zA-Z0-9\\_:.-]/gim;function q(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"="===i?e:-1}}function Y(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"'"===i||'"'===i?e:-1}}function X(t,e){for(;e>0;e--){var i=t[e];if(" "!==i)return"="===i?e:-1}}function Z(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}F.parseTag=function(t,e,i){var o="",s=0,n=!1,r=!1,a=0,c=t.length,l="",h="";t:for(a=0;a<c;a++){var d=t.charAt(a);if(!1===n){if("<"===d){n=a;continue}}else if(!1===r){if("<"===d){o+=i(t.slice(s,a)),n=a,s=a;continue}if(">"===d){o+=i(t.slice(s,n)),l=H(h=t.slice(n,a+1)),o+=e(n,o.length,l,h,B(h)),s=a+1,n=!1;continue}if('"'===d||"'"===d)for(var u=1,p=t.charAt(a-u);""===p.trim()||"="===p;){if("="===p){r=d;continue t}p=t.charAt(a-++u)}}else if(d===r){r=!1;continue}}return s<t.length&&(o+=i(t.substr(s))),o},F.parseAttr=function(t,e){var i=0,o=0,s=[],n=!1,r=t.length;function a(t,i){if(!((t=(t=W.trim(t)).replace(V,"").toLowerCase()).length<1)){var o=e(t,i||"");o&&s.push(o)}}for(var c=0;c<r;c++){var l,h=t.charAt(c);if(!1!==n||"="!==h)if(!1===n||c!==o){if(/\s|\n|\t/.test(h)){if(t=t.replace(/\s|\n|\t/g," "),!1===n){if(-1===(l=q(t,c))){a(W.trim(t.slice(i,c))),n=!1,i=c+1;continue}c=l-1;continue}if(-1===(l=X(t,c-1))){a(n,Z(W.trim(t.slice(i,c)))),n=!1,i=c+1;continue}}}else{if(-1===(l=t.indexOf(h,c+1)))break;a(n,W.trim(t.slice(o+1,l))),n=!1,i=(c=l)+1}else n=t.slice(i,c),i=c+1,o='"'===t.charAt(i)||"'"===t.charAt(i)?i:Y(t,c+1)}return i<t.length&&(!1===n?a(t.slice(i)):a(n,Z(W.trim(t.slice(i))))),W.trim(s.join(" "))};var G=y.FilterCSS,K=n,J=F,Q=J.parseTag,tt=J.parseAttr,et=b;function it(t){return null==t}function ot(t){(t=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{})).stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=K.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=function(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map((function(t){return t.toLowerCase()})):e[i.toLowerCase()]=t[i];return e}(t.whiteList||t.allowList):t.whiteList=K.whiteList,t.onTag=t.onTag||K.onTag,t.onTagAttr=t.onTagAttr||K.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||K.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||K.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||K.safeAttrValue,t.escapeHtml=t.escapeHtml||K.escapeHtml,this.options=t,!1===t.css?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new G(t.css))}ot.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,i=e.whiteList,o=e.onTag,s=e.onIgnoreTag,n=e.onTagAttr,r=e.onIgnoreTagAttr,a=e.safeAttrValue,c=e.escapeHtml,l=this.cssFilter;e.stripBlankChar&&(t=K.stripBlankChar(t)),e.allowCommentTag||(t=K.stripCommentTag(t));var h=!1;e.stripIgnoreTagBody&&(h=K.StripTagBody(e.stripIgnoreTagBody,s),s=h.onIgnoreTag);var d=Q(t,(function(t,e,h,d,u){var p={sourcePosition:t,position:e,isClosing:u,isWhite:Object.prototype.hasOwnProperty.call(i,h)},f=o(h,d,p);if(!it(f))return f;if(p.isWhite){if(p.isClosing)return"</"+h+">";var g=function(t){var e=et.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var i="/"===(t=et.trim(t.slice(e+1,-1)))[t.length-1];return i&&(t=et.trim(t.slice(0,-1))),{html:t,closing:i}}(d),m=i[h],y=tt(g.html,(function(t,e){var i=-1!==et.indexOf(m,t),o=n(h,t,e,i);return it(o)?i?(e=a(h,t,e,l))?t+'="'+e+'"':t:it(o=r(h,t,e,i))?void 0:o:o}));return d="<"+h,y&&(d+=" "+y),g.closing&&(d+=" /"),d+">"}return it(f=s(h,d,p))?c(d):f}),c);return h&&(d=h.remove(d)),d};var st=ot;!function(t,e){var i=n,o=F,s=st;function r(t,e){return new s(e).process(t)}(e=t.exports=r).filterXSS=r,e.FilterXSS=s,function(){for(var t in i)e[t]=i[t];for(var s in o)e[s]=o[s]}(),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)}(s,s.exports);var nt=s.exports,rt=function(){function t(t,e){var i,s=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=o(o({},nt.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(t,e,i,o){return"a"===t&&"href"===e||("img"===t||"source"===t)&&"src"===e?s.sanitizeUrl(i):nt.safeAttrValue(t,e,i,o)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"},t&&!e?i=t:t&&e?((i=Object.create(this.arcgisFilterOptions)).css={whiteList:this.arcgisCSSWhiteList},Object.keys(t).forEach((function(e){if("whiteList"===e)i.whiteList=s._extendObjectOfArrays([s.arcgisWhiteList,t.whiteList||{}]);else if("css"===e){var o=t.css.whiteList;null!=o&&t.css instanceof Object&&Object.keys(o).forEach((function(t){return i.css.whiteList[t]=o[t]}))}else i[e]=t[e]}))):((i=Object.create(this.arcgisFilterOptions)).whiteList=this.arcgisWhiteList,i.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=i,this._xssFilter=new nt.FilterXSS(i)}return t.prototype.sanitize=function(t,e){switch(void 0===e&&(e={}),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,e);default:if(e.allowUndefined&&void 0===t)return;return null}},t.prototype.sanitizeUrl=function(t,e){var i=(null!=e?e:{}).isProtocolRequired,o=void 0===i||i,s=this._trim(t.substring(0,t.indexOf(":"))),n="/"===t,r=/^#/.test(t),a=s&&this.allowedProtocols.indexOf(s.toLowerCase())>-1;return n||r||a?nt.escapeAttrValue(t):s||o?"":nt.escapeAttrValue("https://".concat(t))},t.prototype.sanitizeHTMLAttribute=function(t,e,i,o){return"function"==typeof this.xssFilterOptions.safeAttrValue?this.xssFilterOptions.safeAttrValue(t,e,i,o):nt.safeAttrValue(t,e,i,o)},t.prototype.validate=function(t,e){void 0===e&&(e={});var i=this.sanitize(t,e);return{isValid:t===i,sanitized:i}},t.prototype.encodeHTML=function(t){var e=this;return String(t).replace(/[&<>"'\/]/g,(function(t){return e._entityMap[t]}))},t.prototype.encodeAttrValue=function(t){var e=/^[a-zA-Z0-9]$/;return String(t).replace(/[\x00-\xFF]/g,(function(i,o){return e.test(i)?i:"&#x".concat(Number(t.charCodeAt(o)).toString(16),";")}))},t.prototype._extendObjectOfArrays=function(t){var e={};return t.forEach((function(t){Object.keys(t).forEach((function(i){Array.isArray(t[i])&&Array.isArray(e[i])?e[i]=e[i].concat(t[i]):e[i]=t[i]}))})),e},t.prototype._iterateOverObject=function(t,e){var i=this;void 0===e&&(e={});try{var o=!1,s=void 0;if(Array.isArray(t))s=t.reduce((function(t,s){var n=i.validate(s,e);return n.isValid?t.concat([s]):(o=!0,t.concat([n.sanitized]))}),[]);else{if(!function(t){if("object"!=typeof t||null===t)return!1;if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t)){if(e.allowUndefined&&void 0===t)return;return null}s=Object.keys(t).reduce((function(s,n){var r=t[n],a=i.validate(r,e);return a.isValid?s[n]=r:(o=!0,s[n]=a.sanitized),s}),{})}return o?s:t}catch(t){return null}},t.prototype._trim=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},t}()},46337:(t,e,i)=>{i.d(e,{WF:()=>n,qy:()=>s.qy,S$:()=>a,s6:()=>s.s6,JW:()=>s.JW});var o=i(28760),s=i(36752);class n extends o.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,s.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return s.c0}}n._$litElement$=!0,n.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:n});const r=globalThis.litElementPolyfillSupport;r?.({LitElement:n}),(globalThis.litElementVersions??=[]).push("4.1.1");const a=!1},56328:(t,e,i)=>{i.d(e,{V:()=>r});var o=i(36752),s=i(7804),n=i(18504);const r=(0,s.u$)(class extends s.WL{constructor(t){if(super(t),t.type!==s.OA.PROPERTY&&t.type!==s.OA.ATTRIBUTE&&t.type!==s.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,n.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===o.c0||e===o.s6)return e;const i=t.element,r=t.name;if(t.type===s.OA.PROPERTY){if(e===i[r])return o.c0}else if(t.type===s.OA.BOOLEAN_ATTRIBUTE){if(!!e===i.hasAttribute(r))return o.c0}else if(t.type===s.OA.ATTRIBUTE&&i.getAttribute(r)===e+"")return o.c0;return(0,n.mY)(t),e}})},62590:(t,e,i)=>{i.d(e,{hq:()=>$,aK:()=>B,yr:()=>Z,Gk:()=>c,Nh:()=>T,lr:()=>U,oW:()=>Y});var o=i(98015),s=(t=>(t[t.String=1]="String",t[t.Number=2]="Number",t[t.Boolean=4]="Boolean",t[t.Any=8]="Any",t[t.Unknown=16]="Unknown",t[t.State=32]="State",t[t.Method=64]="Method",t[t.Event=128]="Event",t[t.Element=256]="Element",t[t.ReflectAttr=512]="ReflectAttr",t[t.Mutable=1024]="Mutable",t[t.Prop=31]="Prop",t[t.HasAttribute=15]="HasAttribute",t[t.PropLike=63]="PropLike",t[t.ReadOnly=2048]="ReadOnly",t))(s||{});const n=Symbol.for("controller");let r;function a(t){r!==t&&(r=t,queueMicrotask((()=>{r===t&&(r=void 0)})))}function c(t){return r}let l,h=[];function d(t){if(void 0===t)return void(h=[]);const e=h.indexOf(t);h=-1===e?[...h,t]:h.slice(0,e+1),queueMicrotask((()=>{h=[]}))}function u(){return h}const p=async(t,e)=>{const i=g(t);if(void 0===i)return t;if(await i.ready,"function"==typeof e){const t=i.watchExports((i=>e(i,t)))}return i.exports},f=async t=>{const e=g(t);return await e.ready,e},g=t=>{const e=c().manager.internals.resolveExports(t);if(void 0!==e)return e;if((t=>"object"==typeof t&&null!==t&&(n in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t))return t;const i=function(){const t=l;return l=void 0,t}();return void 0!==i?i:void 0},m={setter:!1,getter:!1,readOnly:!1},y=new WeakMap;var b;b=n;class v{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new o.cY,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[b]=!0,this.ready=this._ready.promise,this._exports=A(this),this._exportWatchers=new Set;const e=t??c(new.target.name);this.component=e,this.component.addController(this),void 0===this.component.manager||(d(this),queueMicrotask((()=>this.catchUpLifecycle())))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t._loadCalled||this.triggerLoad().then((()=>{!t.loadedCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){const e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(o.UF),this.connectedCalled&&!1!==this.assignedProperty&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?A(t):t,this._exportWatchers.forEach(o.UF)}watchExports(t){const e=()=>t(this._exports);return this._exportWatchers.add(e),()=>{this._exportWatchers.delete(e)}}get use(){return a(this.component),p}get useRef(){return a(this.component),f}get useRefSync(){return a(this.component),g}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&(0,o.UF)(t.hostConnected,t),this._callbacks.hostConnected.forEach(o.UF),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&(0,o.UF)(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(o.UF),this._lifecycleCleanups.forEach(o.UF),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;const t=this;t.hostLoad&&await(0,o.ao)(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(o.ao)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;const t=this;t.hostLoaded&&(0,o.UF)(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(o.UF),this.loadedCalled=!0}triggerUpdate(t){const e=this;e.hostUpdate&&(0,o.UF)(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(_,t)}triggerUpdated(t){const e=this;e.hostUpdated&&(0,o.UF)(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(_,t)}triggerDestroy(){const t=this;t.hostDestroy&&(0,o.UF)(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(o.UF)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){a(this.component);const e=(0,o.UF)(t);(Array.isArray(e)?e:[e]).forEach((t=>{"function"==typeof t?this._lifecycleCleanups.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleCleanups.push(t.remove)}))}}function _(t){(0,o.UF)(t,void 0,this)}const w=v;function A(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const e=new Proxy(t,{get(t,i,o){if(!k.has(i)||!(i in t)||t[i]!==e)return i in t||i in Promise.prototype||"symbol"==typeof i?"function"==typeof t?t[i]:Reflect.get(t,i,o):void 0},set:(t,e,i,o)=>Reflect.set(t,e,i,o)});return e}const k=new Set(["exports","_exports"]);let x;function $(){Array.from(x?.entries()??[]).forEach((([t,{callbacks:e}])=>{const i=Object.keys(t);e.forEach((t=>t(i)))})),x=void 0}class E{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;const t=this.component.manager.internals;Object.entries(t.members).forEach((([e,[i]])=>{var o;i&s.ReadOnly&&((o=t.setters)[e]??(o[e]=[]),t.setters[e].push(t.readonlySetter))}))},this.trackedValue=S,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,e,i)=>{if(m.readOnly)return t;throw new Error(`Cannot assign to read-only property "${i}" of ${this.component.el.localName}. Trying to assign "${String(t)}"`)},this.component=t}firePropTrackers(t,e){const i=this.keyTrackers;this.trackedValue=S,this.keyTrackers=[],i.forEach((i=>i(t,e)))}getSetProxy(t){const e=this.component,i=e.constructor.prototype;if(this._getSetProxy(i,t,"class"),e.manager.isLit)return;const o=e.el.constructor.prototype;i!==o&&this._getSetProxy(o,t,"html")}_getSetProxy(t,e,i){const o=(s=this.component,n=e,s.manager.internals.members?.[n]?.[0]);var s,n;let r;do{r=Object.getOwnPropertyDescriptor(t,e)}while(!r&&(t=Object.getPrototypeOf(t)));if(!r)return;const a=r.get,c=r.set,l=L in a,h=L in c;if(l&&h)return;const d=!l,u=!h,p=d?function(){let t=a.call(this);const i=y.get(this);if(m.getter||void 0===i)return t;const o=i.manager.internals;t=o.accessorGetter[e](t,e);const s=o.getters[e]??C;for(let i=0;i<s.length;i++)t=s[i](t,e);return t}:a,f=u?function(t){const i=a.call(this),s=y.get(this);if(void 0===s)return void c.call(this,t);let n=s.manager.isLit?t??void 0:function(t,e=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&e?"false"!==t&&(""===t||!!t):2&e?Number.parseFloat(t):1&e?String(t):t}(t,o);const r=s.manager.internals;if(n===i)c.call(this,n);else{const t=m.setter?C:r.setters[e]??C;for(let o=0;o<t.length&&(n=t[o](n,i,e),n!==i);o++);n=r.accessorSetter[e](n,i,e),c.call(this,n),n!==i&&r.enabledWatchers[e]?.forEach((t=>t(n,i,e)))}r.keyTrackers.length>0&&r?.firePropTrackers(e,t)}:c;d&&(p[L]=!0),u&&(f[L]=!0),Object.defineProperty(t,e,{...r,get:p,set:f})}markExports(t,e){("object"==typeof e&&null!==e||"function"==typeof e)&&this._exports.set(e,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}}const C=[],L=Symbol(),S=Symbol();function O(t,e,i){var s;const n=e,r=t.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);const a=r.allWatchers[n],c=i,l=(t,e,i)=>(0,o.UF)(c,null,t,e,i);return a.push(l),()=>{const t=a.indexOf(l);-1!==t&&a.splice(t,1)}}function T(t=[c(),...u()],e,i){const s=Array.isArray(t)?t:[t];let n=s.length+1;const r=t=>{n-=1,void 0!==t&&(n=Math.min(n,0)),0===n&&e(t)};s.forEach((t=>function(t,e,i){const s=Object.keys(t),n=s.length;void 0===x&&queueMicrotask($),x??(x=new Map);let r=x.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},x.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach((t=>t(s))),r.callbacks=[],r.keyCount=n),r.callbacks.push((s=>{const r=t=>(0,o.UF)(e,null,t),a=s[n];void 0===a?r(void 0):t[a]===i?r(a):r(void 0)})),i}(t,(e=>r(void 0===e?void 0:{key:e,host:t,isReactive:!1})),i)));const a=s.find((t=>"manager"in t&&"object"==typeof t.manager&&t.manager.component===t));return a&&function(t,e,i){const s=t.manager.internals;s.trackedValue!==S&&s.trackedValue!==i&&s.firePropTrackers(void 0,void 0),0===s.keyTrackers.length&&queueMicrotask((()=>s.firePropTrackers(void 0,void 0))),s.trackedValue=i,s.keyTrackers.push(((t,s)=>(0,o.UF)(e,void 0,i===s?t:void 0)))}(a,(t=>r(void 0===t?void 0:{key:t,host:a,isReactive:!0})),i),i}const U=(t,e)=>new P(t,e);class P extends w{constructor(t,e){const i="addController"in t,s=new Set,r=t;if(r.addController=function(e){s.add(e),!(n in e)&&t.renderRoot&&t.el.isConnected&&e.hostConnected?.()},r.removeController=function(t){s.delete(t),t.controllerRemoved?.()},!i){const i=e??t.constructor.__forceUpdate;r.requestUpdate=()=>i(t)}super(t),this.internals=new E(this.component),this.destroyed=!1,this._updatePromise=new o.cY,this._originalLifecycles={},this.isLit=i,this.component.manager=this,function(t,e){if(e){const e=t.constructor.elementProperties;t.manager.internals.members=Object.fromEntries(Array.from(e,(([t,e])=>e.noAccessor?void 0:[t,[(e.readOnly?2048:0)|(e.state?32:16)]])).filter(o.EA))}else{const e=t.constructor,i=e.__registerControllers?.(t)??void 0;if(e.__registerControllers=void 0,"object"!=typeof i)throw new Error("Failed to retrieve component meta");t.manager.internals.members=Object.fromEntries(Object.entries(i).filter((([t,[e]])=>!!(63&e))))}}(t,i),this._controllers=s,this.exports=void 0,this.hasDestroy=j in this.component&&"function"==typeof this.component.destroy,this._bindLifecycleMethods();const c=this.internals;Object.keys(c.members).forEach((t=>{c.accessorGetter[t]=D,c.accessorSetter[t]=D,c.getSetProxy(t)})),i?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(t,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),a(t),y.set(t.el,t),y.set(t,t)}_bindLifecycleMethods(){const t=this.component,e=this.isLit,i=t.el===t;this._originalLifecycles={_connectedCallback:e||i?void 0:t.connectedCallback,_disconnectedCallback:e||i?void 0:t.disconnectedCallback,_load:e?t.load:t.componentWillLoad,_loaded:e?t.loaded:t.componentDidLoad,_willUpdate:e?void 0:t.componentWillUpdate,_updated:e?void 0:t.componentDidUpdate,_destroy:t.destroy};const o=this._connectedCallback.bind(this),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),r=this._updated.bind(this);e?t.constructor.prototype.addController.call(t,{hostConnected:o,hostDisconnected:s,hostUpdate:n,hostUpdated:r}):(t.connectedCallback=o,t.disconnectedCallback=s,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=n,t.componentDidUpdate=r),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){const t=this.component.el.localName;throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${j} prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout);const t=this.internals;t.enabledWatchers=t.allWatchers,$(),t.enableReadonly?.(),this._controllers.forEach(M),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(N),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,I)),await(this._originalLifecycles._load?.call(this.component)),this.hasDestroy&&O(this.component,j,(()=>this._setAutoDestroyTimeout()))}_loaded(){this._controllers.forEach(z),this._originalLifecycles._loaded?.call(this.component)}_update(){const t=this.component;return this._controllers.forEach(F,t.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){const t=this.component;if(this._controllers.forEach(W,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{const t=this._updatePromise;this._updatePromise=new o.cY,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(H),this._controllers.clear(),await(this._originalLifecycles._destroy?.call(this.component))}}_setAutoDestroyTimeout(){if(void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){const t=()=>{this.destroy().catch(console.error)};this._autoDestroyTimeout=(0,o.oK)(t,R)}}}const j="autoDestroyDisabled";let R=1e3;const D=t=>t;function M(t){"triggerConnected"in t?t.triggerConnected():(0,o.UF)(t.hostConnected,t)}function N(t){"triggerDisconnected"in t?t.triggerDisconnected():(0,o.UF)(t.hostDisconnected,t)}async function I(t){"triggerLoad"in t?await t.triggerLoad():await(0,o.ao)(t.hostLoad,t)}function z(t){"triggerLoaded"in t?t.triggerLoaded():(0,o.UF)(t.hostLoaded,t)}function F(t){"triggerUpdate"in t?t.triggerUpdate(this):(0,o.UF)(t.hostUpdate,t,this)}function W(t){"triggerUpdated"in t?t.triggerUpdated(this):(0,o.UF)(t.hostUpdated,t,this)}function H(t){"triggerDestroy"in t?t.triggerDestroy():(0,o.UF)(t.hostDestroy,t)}const B=t=>e=>V(e,t),V=(q=class extends v{constructor(t,e){super(t);const i=this.exports;try{a(this.component);const t=e(this.component,this),s=this.exports!==i;if(o=t,"function"==typeof o?.then){s||this.setProvisionalExports(t);const e=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await e))}else s&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}var o}catchUpLifecycle(){}},(...t)=>{const e=u(),i=new q(...t),o=i.exports;d(e.at(-1));const s=i.component.manager.internals;var n;return s.markExports(i,o),i.watchExports((t=>s.markExports(i,t))),l!==(n=i)&&(l=n,queueMicrotask((()=>{l===n&&(l=void 0)}))),T([i.component,...e].reverse(),(t=>void 0===t?void 0:function(t,{host:e,key:i,isReactive:o},s){const n=e,r=n[i]!==t.exports,a=n[i]!==s,c=s!==t.exports;r&&!a&&c&&(n[i]=t.exports);if(e===t.component){if(o){const e=t.component.manager.internals;a&&e.markExports(t,n[i]),O(t.component,i,(i=>{i!==t.exports&&e.markExports(t,i)}))}t.assignedProperty=o?void 0:i}t.watchExports((()=>{if(n[i]===t.exports)return;const e=t.component.manager,o=e.internals.setters[i]?.includes(e.internals.readonlySetter);o?function(){m.readOnly=!0;try{return void(n[i]=t.exports)}finally{m.readOnly=!1}}():n[i]=t.exports}))}(i,t,o)),o)});var q;const Y=(t,e)=>new X(t,e);class X extends v{constructor(t,e){super(),this._attributes=t,this._callback=e,this._observer=new MutationObserver((i=>{i.forEach((i=>{t.includes(i.attributeName)&&e.call(this.component,this.component.el.getAttribute(i.attributeName),i.oldValue,i.attributeName)}))}))}hostConnected(){this._attributes.forEach((t=>{this.component.el.hasAttribute(t)&&this._callback.call(this.component,null,this.component.el.getAttribute(t),t)})),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}}const Z=t=>(e={})=>V(void 0,((i,s)=>{const n=(0,o.kn)(i.el),r={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},a=i;function c(t){const e=s.exports,i=e._original??e,o=G(i,t);t&&(o._original=i),s.exports=o}return s.onLifecycle((()=>(0,o.hd)(i.el,(()=>t("./assets")),(({t9nLocale:t,t9nStrings:e,lang:o})=>{const n={...e,_lang:o,_t9nLocale:t,_loading:!1};s.exports=n;const r=e.componentLabel;"string"==typeof r&&"label"in i&&null==i.label&&(i.label??(i.label=r)),c(a.messageOverrides)}),e.name))),"messageOverrides"in a&&s.onLifecycle((()=>O(a,"messageOverrides",c))),e.blocking?(s.setProvisionalExports(r,!1),s.ready):r}));function G(t,e){if(!e)return t;const i={...t};return Object.entries(e).forEach((([e,o])=>{i[e]="object"==typeof o?G(t[e],o):o??t[e]})),i}},98015:(t,e,i)=>{i.d(e,{EA:()=>k,UF:()=>r,ao:()=>a,cY:()=>o,hd:()=>m,j1:()=>y,kn:()=>f,oK:()=>v});class o{resolve(t){}reject(t){}constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const s={};function n(t,e,i){const o=function(t,e){let i=t;for(;i;){const t=i.closest?.(e);if(t)return t;const o=i.getRootNode?.();if(o===globalThis.document)return null;i=o.host}return null}(t,`[${e}]`);return o?.getAttribute(e)??i}function r(t,e,...i){try{return t?.call(e,...i)}catch(e){console.error(e,t)}}async function a(t,e,...i){try{const o=t?.call(e,...i);return o instanceof Promise?await o:o}catch(e){console.error(e,t)}}const c=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),l="en",h={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"};async function d(t,e,i=""){const o=`${e}/${i}`,s=`${o}${t}.json`;return u[s]??(u[s]=p(t,o)),await u[s]}const u={};async function p(t,e){const i=`${e}${t}.json`;try{const t=await fetch(i);if(t.ok)return await t.json()}catch(t){return console.error(t),{}}return t===l?{}:await p(l,e)}function f(t){const e=n(t,"lang",globalThis.navigator?.language||l);return{lang:e,t9nLocale:g(e)}}function g(t){const[e,i]=t.split("-"),o=e.toLowerCase();let s=o;return i&&(s=`${o}-${i.toUpperCase()}`),s=h[s]??s,c.has(s)?s:i?g(o):l}function m(t,e,i,o){let n;const r=()=>{(async function(t,e,i=t.localName.split("-").slice(1).join("-")){const{lang:o,t9nLocale:s}=f(t),n=`${e}/${i}/t9n`;return{lang:o,t9nLocale:s,t9nStrings:null===i?{}:await d(s,n,"messages.")}})(t,e(),o).then((t=>{n?.lang===t.lang&&n.t9nLocale===t.t9nLocale&&n.t9nStrings===t.t9nStrings||i(t),n=t})).catch(console.error)};return queueMicrotask(r),function(t,e,i){const{subscribe:o}=function(t){const e=t.join(","),i=s[e];if(void 0!==i)return i;const o=new Set,n=new MutationObserver((t=>o.forEach((e=>e(t)))));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});const r={subscribe:t=>(o.add(t),()=>{o.delete(t),0===o.size&&(n.disconnect(),s[e]=void 0)})};return s[e]=r,r}(e);return o((e=>{const o=e.some((e=>function(t,e){let i=t;for(;i;){if(i===e)return!0;if(!i.parentNode)return!1;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1}(t,e.target)));o&&i()}))}(t,["lang"],r)}const y=t=>t.replace(b,((t,e)=>`${0===e?"":"-"}${t.toLowerCase()}`)),b=/[A-Z]+(?![a-z])|[A-Z]/gu;function v(t,e){const i=e>_?w:e/A;let o=0;const s=setInterval((()=>{o+=i,o>=e&&(clearInterval(s),t())}),i);return s}const _=4e3,w=2e3,A=4;function k(t){return void 0!==t}}}]);
@@ -26,7 +26,7 @@ PERFORMANCE OF THIS SOFTWARE.
26
26
 
27
27
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
28
28
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
29
- v3.2.0-next.25 */
29
+ v3.2.0-next.33 */
30
30
 
31
31
  /**
32
32
  * @license
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9933],{39933:(e,t,l)=>{l.r(t),l.d(t,{build:()=>s.b}),l(46686),l(32680),l(49255),l(76591),l(76597),l(60864),l(96336),l(71955),l(53466),l(92700),l(35640),l(40261),l(85417),l(10688),l(98619),l(22393),l(59469),l(43766),l(96598),l(42398),l(58614),l(27950),l(20693),l(33079),l(71988),l(20304),l(31821),l(63761),l(46540),l(60517),l(14113);var s=l(57323)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9933],{39933:(e,t,l)=>{l.r(t),l.d(t,{build:()=>s.b}),l(46686),l(32680),l(49255),l(76591),l(76597),l(60864),l(96336),l(71955),l(53466),l(92700),l(35640),l(40261),l(85417),l(89390),l(98619),l(22393),l(59469),l(3800),l(96598),l(42398),l(58614),l(27950),l(20693),l(33079),l(71988),l(20304),l(31821),l(63761),l(46540),l(60517),l(14113);var s=l(57323)}}]);
@@ -0,0 +1,39 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1349],{4341:(e,t,r)=>{r.d(t,{I:()=>o});var n=r(26390);class o{constructor(e){this._allocator=e,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,n.d)((()=>this._reset())),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const e=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*s);this._items.length=Math.min(e,this._items.length),this._itemsPtr=0}_grow(){for(let e=0;e<Math.max(8,Math.min(this._items.length,s));e++)this._items.push(this._allocator())}}const s=1024},15976:(e,t,r)=>{r.d(t,{o:()=>s});var n=r(69270),o=r(74333);class s extends o.n{constructor(e,t){super(e,"sampler2D",n.c.Draw,((r,n,o)=>r.bindTexture(e,t(n,o))))}}},16943:(e,t,r)=>{r.d(t,{E:()=>o});var n=r(44208);function o(){return!!(0,n.A)("enable-feature:objectAndLayerId-rendering")}},21015:(e,t,r)=>{r.d(t,{R:()=>c});var n=r(78888),o=r(60999),s=r(49186),i=r(74887),a=r(84952);class c{constructor(e){this._streamDataRequester=e}async loadJSON(e,t){return this._load("json",e,t)}async loadBinary(e,t){return(0,a.DB)(e)?((0,i.Te)(t),(0,a.lJ)(e)):this._load("binary",e,t)}async loadImage(e,t){return this._load("image",e,t)}async _load(e,t,r){if(null==this._streamDataRequester)return(await(0,n.A)(t,{responseType:u[e]})).data;const a=await(0,o.Ke)(this._streamDataRequester.request(t,e,r));if(!0===a.ok)return a.value;throw(0,i.QP)(a.error),new s.A("glt-loader-request-error",`Request for resource failed: ${a.error}`)}}const u={image:"image",binary:"array-buffer",json:"json","image+type":void 0}},26425:(e,t,r)=>{r.d(t,{u:()=>s});var n=r(33094),o=r(31821);function s({code:e,uniforms:t},r){t.add(new n.U("dpDummy",(()=>1))),e.add(o.H`vec3 dpAdd(vec3 hiA, vec3 loA, vec3 hiB, vec3 loB) {
2
+ vec3 hiD = hiA + hiB;
3
+ vec3 loD = loA + loB;
4
+ return dpDummy * hiD + loD;
5
+ }`)}},31821:(e,t,r)=>{function n(e,...t){let r="";for(let n=0;n<t.length;n++)r+=e[n]+t[n];return r+=e[e.length-1],r}function o(e,t,r=""){return e?t:r}r.d(t,{H:()=>n,If:()=>o}),function(e){e.int=function(e){return Math.round(e).toString()},e.float=function(e){return e.toPrecision(8)}}(n)},33079:(e,t,r)=>{r.d(t,{t:()=>s});var n=r(69270),o=r(74333);class s extends o.n{constructor(e,t){super(e,"vec3",n.c.Pass,((r,n,o)=>r.setUniform3fv(e,t(n,o))))}}},33094:(e,t,r)=>{r.d(t,{U:()=>s});var n=r(69270),o=r(74333);class s extends o.n{constructor(e,t){super(e,"float",n.c.Bind,((r,n)=>r.setUniform1f(e,t(n))))}}},35644:(e,t,r)=>{r.d(t,{k:()=>s});var n=r(69270),o=r(74333);class s extends o.n{constructor(e,t){super(e,"mat3",n.c.Pass,((r,n,o)=>r.setUniformMatrix3fv(e,t(n,o))))}}},40710:(e,t,r)=>{r.d(t,{W:()=>s});var n=r(69270),o=r(74333);class s extends o.n{constructor(e,t){super(e,"vec3",n.c.Draw,((r,n,o,s)=>r.setUniform3fv(e,t(n,o,s))))}}},42583:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(66104),o=r(31821);function s(e){e.vertex.code.add(o.H`
6
+ vec4 decodeSymbolColor(vec4 symbolColor, out int colorMixMode) {
7
+ float symbolAlpha = 0.0;
8
+
9
+ const float maxTint = 85.0;
10
+ const float maxReplace = 170.0;
11
+ const float scaleAlpha = 3.0;
12
+
13
+ if (symbolColor.a > maxReplace) {
14
+ colorMixMode = ${o.H.int(n.k5.Multiply)};
15
+ symbolAlpha = scaleAlpha * (symbolColor.a - maxReplace);
16
+ } else if (symbolColor.a > maxTint) {
17
+ colorMixMode = ${o.H.int(n.k5.Replace)};
18
+ symbolAlpha = scaleAlpha * (symbolColor.a - maxTint);
19
+ } else if (symbolColor.a > 0.0) {
20
+ colorMixMode = ${o.H.int(n.k5.Tint)};
21
+ symbolAlpha = scaleAlpha * symbolColor.a;
22
+ } else {
23
+ colorMixMode = ${o.H.int(n.k5.Multiply)};
24
+ symbolAlpha = 0.0;
25
+ }
26
+
27
+ return vec4(symbolColor.r, symbolColor.g, symbolColor.b, symbolAlpha);
28
+ }
29
+ `)}},43609:(e,t,r)=>{r.d(t,{a:()=>s,f:()=>i,n:()=>o});var n=r(34275);function o(e,t){s(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function s(e,t,r=2,o=r){const s=t.length/2;let i=0,a=0;if(!(0,n.iu)(t)||(0,n.dk)(t)){for(let n=0;n<s;++n)e[i]=t[a],e[i+1]=t[a+1],i+=r,a+=o;return}const c=(0,n.a3)(t);if((0,n.JI)(t))for(let n=0;n<s;++n)e[i]=Math.max(t[a]/c,-1),e[i+1]=Math.max(t[a+1]/c,-1),i+=r,a+=o;else for(let n=0;n<s;++n)e[i]=t[a]/c,e[i+1]=t[a+1]/c,i+=r,a+=o}function i(e,t,r,n){const o=e.typedBuffer,s=e.typedBufferStride,i=n?.count??e.count;let a=(n?.dstIndex??0)*s;for(let e=0;e<i;++e)o[a]=t,o[a+1]=r,a+=s}Object.freeze(Object.defineProperty({__proto__:null,fill:i,normalizeIntegerBuffer:s,normalizeIntegerBufferView:o},Symbol.toStringTag,{value:"Module"}))},49255:(e,t,r)=>{var n;function o(e){return e===n.Shadow||e===n.ShadowHighlight||e===n.ShadowExcludeHighlight||e===n.ViewshedShadow}function s(e){return function(e){return function(e){return c(e)||a(e)}(e)||f(e)}(e)||e===n.Normal}function i(e){return function(e){return l(e)||f(e)}(e)||e===n.Normal}function a(e){return e===n.Highlight||e===n.ObjectAndLayerIdColor}function c(e){return e===n.Color}function u(e){return c(e)||d(e)}function l(e){return u(e)||a(e)}function f(e){return e===n.Depth}function d(e){return e===n.ColorEmission}r.d(t,{LG:()=>d,Mb:()=>l,PJ:()=>o,RN:()=>u,V:()=>n,XY:()=>s,iq:()=>i}),function(e){e[e.Color=0]="Color",e[e.ColorEmission=1]="ColorEmission",e[e.Depth=2]="Depth",e[e.Normal=3]="Normal",e[e.Shadow=4]="Shadow",e[e.ShadowHighlight=5]="ShadowHighlight",e[e.ShadowExcludeHighlight=6]="ShadowExcludeHighlight",e[e.ViewshedShadow=7]="ViewshedShadow",e[e.Highlight=8]="Highlight",e[e.ObjectAndLayerIdColor=9]="ObjectAndLayerIdColor",e[e.COUNT=10]="COUNT"}(n||(n={}))},51530:(e,t,r)=>{r.d(t,{KB:()=>a,Xi:()=>s,pn:()=>c,x3:()=>i});var n=r(44208),o=r(89192);class s{constructor(e){this.data=e,this.type="encoded-mesh-texture",this.encoding=o.JS.KTX2_ENCODING}}function i(e){return"encoded-mesh-texture"===e?.type}async function a(e){const t=new Blob([e]),r=await t.text();return JSON.parse(r)}async function c(e,t){if(t===o.JS.KTX2_ENCODING)return new s(e);const r=new Blob([e],{type:t});let i=URL.createObjectURL(r);switch(t){case"image/jpeg":i+="#.jpg";break;case"image/png":i+="#.png"}const a=new Image;if((0,n.A)("esri-iPhone"))return new Promise(((e,t)=>{const r=()=>{o(),e(a)},n=e=>{o(),t(e)},o=()=>{URL.revokeObjectURL(i),a.removeEventListener("load",r),a.removeEventListener("error",n)};a.addEventListener("load",r),a.addEventListener("error",n),a.src=i}));try{a.src=i,await a.decode()}catch(e){console.warn("Failed decoding HTMLImageElement")}return URL.revokeObjectURL(i),a}},58029:(e,t,r)=>{r.d(t,{F:()=>s});var n=r(69270),o=r(74333);class s extends o.n{constructor(e,t){super(e,"mat4",n.c.Bind,((r,n)=>r.setUniformMatrix4fv(e,t(n))))}}},61473:(e,t,r)=>{function n(e){return e=e||globalThis.location.hostname,u.some((t=>null!=e?.match(t)))}function o(e,t){return e?(t=t||globalThis.location.hostname)?null!=t.match(s)||null!=t.match(a)?e.replace("static.arcgis.com","staticdev.arcgis.com"):null!=t.match(i)||null!=t.match(c)?e.replace("static.arcgis.com","staticqa.arcgis.com"):e:e:null}r.d(t,{EM:()=>o,b5:()=>n});const s=/^devext\.arcgis\.com$/,i=/^qaext\.arcgis\.com$/,a=/^[\w-]*\.mapsdevext\.arcgis\.com$/,c=/^[\w-]*\.mapsqa\.arcgis\.com$/,u=[/^([\w-]*\.)?[\w-]*\.zrh-dev-local\.esri\.com$/,s,i,/^jsapps\.esri\.com$/,a,c]},64304:(e,t,r)=>{r.d(t,{fetch:()=>Z});var n=r(40876),o=r(61473),s=r(34727),i=r(77690),a=r(29242),c=r(58083),u=r(9093),l=r(48163),f=r(38954),d=r(51850),m=r(70328),h=r(11868),p=r(13030),g=r(73354),y=r(65686),v=r(43609),b=r(21015),x=r(84498),w=r(51530),M=r(88340);function T(e){if(null==e)return null;const t=null!=e.offset?e.offset:M.uY,r=null!=e.rotation?e.rotation:0,n=null!=e.scale?e.scale:M.Un,o=(0,a.fA)(1,0,0,0,1,0,t[0],t[1],1),s=(0,a.fA)(Math.cos(r),-Math.sin(r),0,Math.sin(r),Math.cos(r),0,0,0,1),c=(0,a.fA)(n[0],0,0,0,n[1],0,0,0,1),u=(0,a.vt)();return(0,i.lw)(u,s,c),(0,i.lw)(u,o,u),u}class B{constructor(){this.geometries=new Array,this.materials=new Array,this.textures=new Array}}class S{constructor(e,t,r){this.name=e,this.lodThreshold=t,this.pivotOffset=r,this.stageResources=new B,this.numberOfVertices=0}}var A=r(78888),R=r(60999),_=r(49186),C=r(53966),P=r(69397);class O{constructor(){this._outer=new Map}clear(){this._outer.clear()}get empty(){return 0===this._outer.size}get(e,t){return this._outer.get(e)?.get(t)}getInner(e){return this._outer.get(e)}set(e,t,r){const n=this._outer.get(e);n?n.set(t,r):this._outer.set(e,new Map([[t,r]]))}delete(e,t){const r=this._outer.get(e);r&&(r.delete(t),0===r.size&&this._outer.delete(e))}forEach(e){this._outer.forEach(((t,r)=>e(t,r)))}forAll(e){for(const t of this._outer.values())for(const r of t.values())e(r)}}var E=r(74887),I=r(46140),U=r(97146),q=r(99677),N=r(46610),k=r(89192),D=r(87170),L=r(31006),j=r(46540),V=r(88076),F=r(63907);const z=()=>C.A.getLogger("esri.views.3d.layers.graphics.objectResourceUtils");class H{constructor(e,t,r){this.resource=e,this.textures=t,this.cachedMemory=r}}function $(e){throw new _.A("",`Request for object resource failed: ${e}`)}function G(e){const t=e.params,r=t.topology;let n=!0;switch(t.vertexAttributes||(z().warn("Geometry must specify vertex attributes"),n=!1),t.topology){case"PerAttributeArray":break;case"Indexed":case null:case void 0:{const e=t.faces;if(e){if(t.vertexAttributes)for(const r in t.vertexAttributes){const t=e[r];t?.values?(null!=t.valueType&&"UInt32"!==t.valueType&&(z().warn(`Unsupported indexed geometry indices type '${t.valueType}', only UInt32 is currently supported`),n=!1),null!=t.valuesPerElement&&1!==t.valuesPerElement&&(z().warn(`Unsupported indexed geometry values per element '${t.valuesPerElement}', only 1 is currently supported`),n=!1)):(z().warn(`Indexed geometry does not specify face indices for '${r}' attribute`),n=!1)}}else z().warn("Indexed geometries must specify faces"),n=!1;break}default:z().warn(`Unsupported topology '${r}'`),n=!1}e.params.material||(z().warn("Geometry requires material"),n=!1);const o=e.params.vertexAttributes;for(const e in o)o[e].values||(z().warn("Geometries with externally defined attributes are not yet supported"),n=!1);return n}function W(e){const t=(0,m.Ie)();return e.forEach((e=>{const r=e.boundingInfo;null!=r&&((0,m.iT)(t,r.bbMin),(0,m.iT)(t,r.bbMax))})),t}function X(e){switch(e){case"mask":return k.sf.Mask;case"maskAndTransparency":return k.sf.MaskBlend;case"none":return k.sf.Opaque;default:return k.sf.Blend}}function Y(e){const t=e.params;return{id:1,material:t.material,texture:t.texture,region:t.texture}}const J=new I.R(1,2,"wosr");var K=r(96336),Q=r(74810);async function Z(e,t){const a=function(e){const t=e.match(/(.*\.(gltf|glb))(\?lod=([0-9]+))?$/);return t?{fileType:"gltf",url:t[1],specifiedLodIndex:null!=t[4]?Number(t[4]):null}:e.match(/(.*\.(json|json\.gz))$/)?{fileType:"wosr",url:e,specifiedLodIndex:null}:{fileType:"unknown",url:e,specifiedLodIndex:null}}((0,o.EM)(e));if("wosr"===a.fileType){const e=await(t.cache?t.cache.loadWOSR(a.url,t):async function(e,t){const r=await async function(e,t){const r=t?.streamDataRequester;if(r)return async function(e,t,r){const n=await(0,R.Ke)(t.request(e,"json",r));if(!0===n.ok)return n.value;(0,E.QP)(n.error),$(n.error.details.url)}(e,r,t);const n=await(0,R.Ke)((0,A.A)(e,t));if(!0===n.ok)return n.value.data;(0,E.QP)(n.error),$(n.error)}(e,t),n=await async function(e,t){const r=new Array;for(const n in e){const o=e[n],s=o.images[0].data;if(!s){z().warn("Externally referenced texture data is not yet supported");continue}const i=o.encoding+";base64,"+s,a="/textureDefinitions/"+n,c="rgba"===o.channels?o.alphaChannelUsage||"transparency":"none",u={noUnpackFlip:!0,wrap:{s:F.pF.REPEAT,t:F.pF.REPEAT},preMultiplyAlpha:X(c)!==k.sf.Opaque},l=t?.disableTextures?Promise.resolve(null):(0,q.D)(i,t);r.push(l.then((e=>({refId:a,image:e,parameters:u,alphaChannelUsage:c}))))}const n=await Promise.all(r),o={};for(const e of n)o[e.refId]=e;return o}(r.textureDefinitions??{},t);let o=0;for(const e in n)if(n.hasOwnProperty(e)){const t=n[e];o+=t?.image?t.image.width*t.image.height*4:0}return new H(r,n,o+(0,P.Qh)(r))}(a.url,t)),{engineResources:r,referenceBoundingBox:n}=function(e,t){const r=new Array,n=new Array,o=new Array,s=new O,i=e.resource,a=I.R.parse(i.version||"1.0","wosr");J.validate(a);const c=i.model.name,u=i.model.geometries,l=i.materialDefinitions??{},f=e.textures;let m=0;const h=new Map;for(let e=0;e<u.length;e++){const i=u[e];if(!G(i))continue;const a=Y(i),c=i.params.vertexAttributes,p=[],g=e=>{if("PerAttributeArray"===i.params.topology)return null;const t=i.params.faces;for(const r in t)if(r===e)return t[r].values;return null},y=c[j.r.POSITION],v=y.values.length/y.valuesPerElement;for(const e in c){const t=c[e],r=t.values,n=g(e)??(0,U.tM)(v);p.push([e,new N.n(r,n,t.valuesPerElement,!0)])}const b=a.texture,x=f&&f[b];if(x&&!h.has(b)){const{image:e,parameters:t}=x,r=new L.g(e,t);n.push(r),h.set(b,r)}const w=h.get(b),M=w?w.id:void 0,T=a.material;let B=s.get(T,b);if(null==B){const e=l[T.slice(T.lastIndexOf("/")+1)].params;1===e.transparency&&(e.transparency=0);const r=x?X(x.alphaChannelUsage):void 0,n={ambient:(0,d.ci)(e.diffuse),diffuse:(0,d.ci)(e.diffuse),opacity:1-(e.transparency||0),textureAlphaMode:r,textureAlphaCutoff:.33,textureId:M,doubleSided:!0,cullFace:k.s2.None,colorMixMode:e.externalColorMixMode||"tint",textureAlphaPremultiplied:x?.parameters.preMultiplyAlpha??!1};t?.materialParameters&&Object.assign(n,t.materialParameters),B=new V.$U(n,t),s.set(T,b,B)}o.push(B);const S=new D.V(B,p);m+=p.find((e=>e[0]===j.r.POSITION))?.[1]?.indices.length??0,r.push(S)}return{engineResources:[{name:c,stageResources:{textures:n,materials:o,geometries:r},pivotOffset:i.model.pivotOffset,numberOfVertices:m,lodThreshold:null}],referenceBoundingBox:W(r)}}(e,t);return{lods:r,referenceBoundingBox:n,isEsriSymbolResource:!1,isWosr:!0}}let M;if(t.cache)M=await t.cache.loadGLTF(a.url,t,!!t.usePBR);else{const{loadGLTF:e}=await r.e(4399).then(r.bind(r,4399));M=await e(new b.R(t.streamDataRequester),a.url,t,t.usePBR)}const B=M.model.meta?.ESRI_proxyEllipsoid,_=M.meta.isEsriSymbolResource&&null!=B&&"EsriRealisticTreesStyle"===M.meta.ESRI_webstyle;_&&!M.customMeta.esriTreeRendering&&(M.customMeta.esriTreeRendering=!0,function(e,t){for(let r=0;r<e.model.lods.length;++r){const o=e.model.lods[r];for(const s of o.parts){const o=s.attributes.normal;if(null==o)return;const i=s.attributes.position,a=i.count,l=(0,d.vt)(),m=(0,d.vt)(),h=(0,d.vt)(),g=new Float32Array(4*a),y=new Float32Array(3*a),v=(0,c.B8)((0,u.vt)(),s.transform);let b=0,x=0;for(let c=0;c<a;c++){i.getVec(c,m),o.getVec(c,l),(0,f.t)(m,m,s.transform),(0,f.d)(h,m,t.center),(0,f.E)(h,h,t.radius);const a=h[2],u=(0,f.l)(h),d=Math.min(.45+.55*u*u,1)**n.Tf;(0,f.E)(h,h,t.radius),null!==v&&(0,f.t)(h,h,v),(0,f.n)(h,h),r+1!==e.model.lods.length&&e.model.lods.length>1&&(0,f.m)(h,h,l,a>-1?.2:Math.min(-4*a-3.8,1)),y[b]=h[0],y[b+1]=h[1],y[b+2]=h[2],b+=3,g[x]=d,g[x+1]=d,g[x+2]=d,g[x+3]=1,x+=4}s.attributes.normal=new p.xs(y),s.attributes.color=new p.Eq(g)}}}(M,B));const C=!!t.usePBR,Z=M.meta.isEsriSymbolResource?{usePBR:C,isSchematic:!1,treeRendering:_,mrrFactors:Q.SY}:{usePBR:C,isSchematic:!1,treeRendering:!1,mrrFactors:Q.mb},te={...t.materialParameters,treeRendering:_},{engineResources:re,referenceBoundingBox:ne}=function(e,t,r,o,a,c){const u=e.model,f=new Array,d=new Map,b=new Map,M=u.lods.length,B=(0,m.Ie)();return u.lods.forEach(((e,A)=>{const R=!0===o.skipHighLods&&(M>1&&0===A||M>3&&1===A)||!1===o.skipHighLods&&null!=a&&A!==a;if(R&&0!==A)return;const _=new S(e.name,e.lodThreshold,[0,0,0]);e.parts.forEach((e=>{const a=R?new V.$U({},o):function(e,t,r,o,s,i,a,c,u){const f=e.materials.get(t.material);if(null==f)return null;const{normal:d,color:m,texCoord0:h,tangent:p}=t.attributes,g=t.material+(d?"_normal":"")+(m?"_color":"")+(h?"_texCoord0":"")+(p?"_tangent":""),y=null!=t.attributes.texCoord0,v=null!=t.attributes.normal,b=function(e){switch(e){case"BLEND":return k.sf.Blend;case"MASK":return k.sf.Mask;case"OPAQUE":case null:case void 0:return k.sf.Opaque}}(f.alphaMode);if(!i.has(g)){if(y){const t=(t,r=!1,n=!1)=>{if(null!=t&&!a.has(t)){const o=e.textures.get(t);if(o){const e=o.data,s=r&&!(0,w.x3)(e);a.set(t,new L.g((0,w.x3)(e)?e.data:e,{...o.parameters,preMultiplyAlpha:!(0,w.x3)(e)&&n,encoding:(0,w.x3)(e)?e.encoding:void 0,compressionHandle:s?c.compressionHandle:void 0,compressionCallback:s?c.compressionCallback:void 0}))}}},r=b!==k.sf.Opaque&&!u;t(f.colorTexture,r,b!==k.sf.Opaque),t(f.normalTexture),t(f.occlusionTexture,!0),t(f.emissiveTexture),t(f.metallicRoughnessTexture,!0)}const r=1/n.Tf,d=f.color[0]**r,m=f.color[1]**r,h=f.color[2]**r,p=f.emissiveFactor[0]**r,x=f.emissiveFactor[1]**r,M=f.emissiveFactor[2]**r,B=null!=f.colorTexture&&y?a.get(f.colorTexture):null,S=(0,Q.Jr)(f),A=null!=f.normalTextureTransform?.scale?f.normalTextureTransform?.scale:l.Un;i.set(g,new V.$U({...o,customDepthTest:k.it.Lequal,textureAlphaMode:b,textureAlphaCutoff:f.alphaCutoff,diffuse:[d,m,h],ambient:[d,m,h],opacity:"OPAQUE"===f.alphaMode?1:f.opacity,doubleSided:f.doubleSided,doubleSidedType:"winding-order",cullFace:f.doubleSided?k.s2.None:k.s2.Back,hasVertexColors:!!t.attributes.color,hasVertexTangents:!!t.attributes.tangent,normalType:v?K.W.Attribute:K.W.ScreenDerivative,castShadows:!0,receiveShadows:f.receiveShadows,receiveAmbientOcclusion:f.receiveAmbientOcclustion,textureId:null!=B?B.id:void 0,colorMixMode:f.colorMixMode,normalTextureId:null!=f.normalTexture&&y?a.get(f.normalTexture).id:void 0,textureAlphaPremultiplied:null!=B&&!!B.parameters.preMultiplyAlpha,occlusionTextureId:null!=f.occlusionTexture&&y?a.get(f.occlusionTexture).id:void 0,emissiveTextureId:null!=f.emissiveTexture&&y?a.get(f.emissiveTexture).id:void 0,metallicRoughnessTextureId:null!=f.metallicRoughnessTexture&&y?a.get(f.metallicRoughnessTexture).id:void 0,emissiveBaseColor:[p,x,M],mrrFactors:S?Q.Bt:[f.metallicFactor,f.roughnessFactor,o.mrrFactors[2]],isSchematic:S,colorTextureTransformMatrix:T(f.colorTextureTransform),normalTextureTransformMatrix:T(f.normalTextureTransform),scale:[A[0],A[1]],occlusionTextureTransformMatrix:T(f.occlusionTextureTransform),emissiveTextureTransformMatrix:T(f.emissiveTextureTransform),metallicRoughnessTextureTransformMatrix:T(f.metallicRoughnessTextureTransform),...s},c))}const x=i.get(g);if(r.stageResources.materials.push(x),y){const e=e=>{null!=e&&r.stageResources.textures.push(a.get(e))};e(f.colorTexture),e(f.normalTexture),e(f.occlusionTexture),e(f.emissiveTexture),e(f.metallicRoughnessTexture)}return x}(u,e,_,t,r,d,b,o,c),{geometry:f,vertexCount:M}=function(e,t){const r=e.attributes.position.count,n=(0,x.x)(e.indices||r,e.primitiveType),o=(0,h.oe)(3*r),{typedBuffer:a,typedBufferStride:c}=e.attributes.position;(0,g.t)(o,a,e.transform,3,c);const u=[[j.r.POSITION,new N.n(o,n,3,!0)]];if(null!=e.attributes.normal){const t=(0,h.oe)(3*r),{typedBuffer:o,typedBufferStride:a}=e.attributes.normal;(0,i.Ge)(ee,e.transform),(0,g.b)(t,o,ee,3,a),(0,s.or)(ee)&&(0,g.n)(t,t),u.push([j.r.NORMAL,new N.n(t,n,3,!0)])}if(null!=e.attributes.tangent){const t=(0,h.oe)(4*r),{typedBuffer:o,typedBufferStride:a}=e.attributes.tangent;(0,i.z0)(ee,e.transform),(0,y.t)(t,o,ee,4,a),(0,s.or)(ee)&&(0,g.n)(t,t,4),u.push([j.r.TANGENT,new N.n(t,n,4,!0)])}if(null!=e.attributes.texCoord0){const t=(0,h.oe)(2*r),{typedBuffer:o,typedBufferStride:s}=e.attributes.texCoord0;(0,v.a)(t,o,2,s),u.push([j.r.UV0,new N.n(t,n,2,!0)])}const l=e.attributes.color;if(null!=l){const t=new Uint8Array(4*r);4===l.elementCount?l instanceof p.Eq?(0,y.b)(t,l,1,255):(l instanceof p.XP||l instanceof p.Uz)&&(0,y.b)(t,l,1/255,255):(t.fill(255),l instanceof p.xs?(0,g.f)(t,l.typedBuffer,1,255,4,l.typedBufferStride):(e.attributes.color instanceof p.eI||e.attributes.color instanceof p.nS)&&(0,g.f)(t,l.typedBuffer,1/255,255,4,e.attributes.color.typedBufferStride)),u.push([j.r.COLOR,new N.n(t,n,4,!0)])}return{geometry:new D.V(t,u),vertexCount:r}}(e,a??new V.$U({},o)),S=f.boundingInfo;null!=S&&0===A&&((0,m.iT)(B,S.bbMin),(0,m.iT)(B,S.bbMax)),null!=a&&(_.stageResources.geometries.push(f),_.numberOfVertices+=M)})),R||f.push(_)})),{engineResources:f,referenceBoundingBox:B}}(M,Z,te,t,a.specifiedLodIndex,_);return{lods:re,referenceBoundingBox:ne,isEsriSymbolResource:M.meta.isEsriSymbolResource,isWosr:!1}}const ee=(0,a.vt)()},65686:(e,t,r)=>{r.d(t,{a:()=>s,b:()=>l,l:()=>u,n:()=>a,t:()=>i});var n=r(40876),o=(r(44208),r(53966));function s(e,t,r){i(e.typedBuffer,t.typedBuffer,r,e.typedBufferStride,t.typedBufferStride)}function i(e,t,r,n=4,o=n){if(e.length/n!=t.length/o)return;const s=e.length/n,i=r[0],a=r[1],c=r[2],u=r[3],l=r[4],f=r[5],d=r[6],m=r[7],h=r[8];let p=0,g=0;for(let r=0;r<s;r++){const r=t[p],s=t[p+1],y=t[p+2],v=t[p+3];e[g]=i*r+u*s+d*y,e[g+1]=a*r+l*s+m*y,e[g+2]=c*r+f*s+h*y,e[g+3]=v,p+=o,g+=n}}function a(e,t){const r=Math.min(e.count,t.count),n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,i=t.typedBufferStride;for(let e=0;e<r;e++){const t=e*o,r=e*i,a=s[r],c=s[r+1],u=s[r+2],l=a*a+c*c+u*u;if(l>0){const e=1/Math.sqrt(l);n[t]=e*a,n[t+1]=e*c,n[t+2]=e*u}}}function c(e,t,r,n=4){const o=Math.min(e.length/n,t.count),s=t.typedBuffer,i=t.typedBufferStride;let a=0,c=0;for(let t=0;t<o;t++)e[c]=r*s[a],e[c+1]=r*s[a+1],e[c+2]=r*s[a+2],e[c+3]=r*s[a+3],a+=i,c+=n}function u(e,t,r,n){l(e.typedBuffer,t,r,n,e.typedBufferStride)}function l(e,t,r,o,s=4){const i=Math.min(e.length/s,t.count),a=t.typedBuffer,c=t.typedBufferStride;let u=0,l=0;const f=1/n.Tf;for(let t=0;t<i;t++)e[l]=o*(r*a[u])**f,e[l+1]=o*(r*a[u+1])**f,e[l+2]=o*(r*a[u+2])**f,e[l+3]=o*r*a[u+3],u+=c,l+=s}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:l,linearToSRGBView:u,normalize:a,scale:c,scaleView:function(e,t,r){c(e.typedBuffer,t,r,e.typedBufferStride)},transformMat3:i,transformMat3View:s,transformMat4:function(e,t,r,n=4,s=n){if(e.length/n!=t.length/s)return void o.A.getLogger("esri.views.3d.support.buffer.math").error("source and destination buffers need to have the same number of elements");const i=e.length/n,a=r[0],c=r[1],u=r[2],l=r[3],f=r[4],d=r[5],m=r[6],h=r[7],p=r[8],g=r[9],y=r[10],v=r[11],b=r[12],x=r[13],w=r[14],M=r[15];let T=0,B=0;for(let r=0;r<i;r++){const r=t[T],o=t[T+1],i=t[T+2],S=t[T+3];e[B]=a*r+f*o+p*i+b*S,e[B+1]=c*r+d*o+g*i+x*S,e[B+2]=u*r+m*o+y*i+w*S,e[B+3]=l*r+h*o+v*i+M*S,T+=s,B+=n}},transformMat4View:function(e,t,r){if(e.count!==t.count)return;const n=e.count,o=r[0],s=r[1],i=r[2],a=r[3],c=r[4],u=r[5],l=r[6],f=r[7],d=r[8],m=r[9],h=r[10],p=r[11],g=r[12],y=r[13],v=r[14],b=r[15],x=e.typedBuffer,w=e.typedBufferStride,M=t.typedBuffer,T=t.typedBufferStride;for(let e=0;e<n;e++){const t=e*w,r=e*T,n=M[r],B=M[r+1],S=M[r+2],A=M[r+3];x[t]=o*n+c*B+d*S+g*A,x[t+1]=s*n+u*B+m*S+y*A,x[t+2]=i*n+l*B+h*S+v*A,x[t+3]=a*n+f*B+p*S+b*A}}},Symbol.toStringTag,{value:"Module"}))},66104:(e,t,r)=>{var n,o;r.d(t,{k5:()=>n}),r(34727),(o=n||(n={}))[o.Multiply=1]="Multiply",o[o.Ignore=2]="Ignore",o[o.Replace=3]="Replace",o[o.Tint=4]="Tint"},69270:(e,t,r)=>{var n;r.d(t,{c:()=>n}),function(e){e[e.Bind=0]="Bind",e[e.Pass=1]="Pass",e[e.Draw=2]="Draw"}(n||(n={}))},71351:(e,t,r)=>{r.d(t,{C:()=>f,Cr:()=>d,LV:()=>l,kb:()=>m,oC:()=>h,vt:()=>c}),r(4576);var n=r(4341),o=(r(77690),r(29242)),s=r(38954),i=r(51850),a=r(32114);function c(e){return e?u((0,i.o8)(e.origin),(0,i.o8)(e.direction)):u((0,i.vt)(),(0,i.vt)())}function u(e,t){return{origin:e,direction:t}}function l(e,t){const r=p.get();return r.origin=e,r.direction=t,r}function f(e,t=c()){return function(e,t,r=c()){return(0,s.c)(r.origin,e),(0,s.c)(r.direction,t),r}(e.origin,e.direction,t)}function d(e,t,r=c()){return(0,s.c)(r.origin,e),(0,s.d)(r.direction,t,e),r}function m(e,t){const r=(0,s.e)(a.rq.get(),(0,s.n)(a.rq.get(),e.direction),(0,s.d)(a.rq.get(),t,e.origin));return(0,s.f)(r,r)}function h(e,t,r){const n=(0,s.f)(e.direction,(0,s.d)(r,t,e.origin));return(0,s.g)(r,e.origin,(0,s.h)(r,e.direction,n)),r}const p=new n.I((()=>c()));(0,i.vt)(),(0,i.vt)(),(0,i.vt)(),(0,o.vt)()},73354:(e,t,r)=>{r.d(t,{a:()=>f,b:()=>a,c:()=>i,d:()=>o,e:()=>d,f:()=>l,l:()=>u,n:()=>m,t:()=>s});var n=r(40876);function o(e,t,r){s(e.typedBuffer,t.typedBuffer,r,e.typedBufferStride,t.typedBufferStride)}function s(e,t,r,n=3,o=n){if(e.length/n!==Math.ceil(t.length/o))return e;const s=e.length/n,i=r[0],a=r[1],c=r[2],u=r[4],l=r[5],f=r[6],d=r[8],m=r[9],h=r[10],p=r[12],g=r[13],y=r[14];let v=0,b=0;for(let r=0;r<s;r++){const r=t[v],s=t[v+1],x=t[v+2];e[b]=i*r+u*s+d*x+p,e[b+1]=a*r+l*s+m*x+g,e[b+2]=c*r+f*s+h*x+y,v+=o,b+=n}return e}function i(e,t,r){a(e.typedBuffer,t.typedBuffer,r,e.typedBufferStride,t.typedBufferStride)}function a(e,t,r,n=3,o=n){if(e.length/n!==Math.ceil(t.length/o))return;const s=e.length/n,i=r[0],a=r[1],c=r[2],u=r[3],l=r[4],f=r[5],d=r[6],m=r[7],h=r[8];let p=0,g=0;for(let r=0;r<s;r++){const r=t[p],s=t[p+1],y=t[p+2];e[g]=i*r+u*s+d*y,e[g+1]=a*r+l*s+m*y,e[g+2]=c*r+f*s+h*y,p+=o,g+=n}}function c(e,t,r,n=3,o=n){const s=Math.min(e.length/n,t.length/o);let i=0,a=0;for(let c=0;c<s;c++)e[a]=r*t[i],e[a+1]=r*t[i+1],e[a+2]=r*t[i+2],i+=o,a+=n;return e}function u(e,t,r,n){l(e.typedBuffer,t.typedBuffer,r,n,e.typedBufferStride,t.typedBufferStride)}function l(e,t,r,o,s=3,i=s){const a=Math.min(e.length/s,t.length/i);let c=0,u=0;const l=1/n.Tf;for(let n=0;n<a;n++)e[u]=o*(r*t[c])**l,e[u+1]=o*(r*t[c+1])**l,e[u+2]=o*(r*t[c+2])**l,c+=i,u+=s}function f(e,t,r,n=3,o=n){const s=e.length/n;if(s!==Math.ceil(t.length/o))return e;let i=0,a=0;for(let c=0;c<s;c++)e[a]=t[i]+r[0],e[a+1]=t[i+1]+r[1],e[a+2]=t[i+2]+r[2],i+=o,a+=n;return e}function d(e,t){m(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function m(e,t,r=3,n=r){const o=Math.min(e.length/r,t.length/n);let s=0,i=0;for(let a=0;a<o;a++){const o=t[s],a=t[s+1],c=t[s+2],u=o*o+a*a+c*c;if(u>0){const t=1/Math.sqrt(u);e[i]=t*o,e[i+1]=t*a,e[i+2]=t*c}s+=n,i+=r}}r(44208),r(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:l,linearToSRGBView:u,normalize:m,normalizeView:d,scale:c,scaleView:function(e,t,r){c(e.typedBuffer,t.typedBuffer,r,e.typedBufferStride,t.typedBufferStride)},shiftRight:function(e,t,r){const n=Math.min(e.count,t.count),o=e.typedBuffer,s=e.typedBufferStride,i=t.typedBuffer,a=t.typedBufferStride;let c=0,u=0;for(let e=0;e<n;e++)o[u]=i[c]>>r,o[u+1]=i[c+1]>>r,o[u+2]=i[c+2]>>r,c+=a,u+=s},transformMat3:a,transformMat3View:i,transformMat4:s,transformMat4View:o,translate:f},Symbol.toStringTag,{value:"Module"}))},74333:(e,t,r)=>{r.d(t,{n:()=>o}),r(44208);var n=r(69270);class o{constructor(e,t,r,o,s=null){if(this.name=e,this.type=t,this.arraySize=s,this.bind={[n.c.Bind]:null,[n.c.Pass]:null,[n.c.Draw]:null},o)switch(r){case void 0:break;case n.c.Bind:this.bind[n.c.Bind]=o;break;case n.c.Pass:this.bind[n.c.Pass]=o;break;case n.c.Draw:this.bind[n.c.Draw]=o}}equals(e){return this.type===e.type&&this.name===e.name&&this.arraySize===e.arraySize}}},84498:(e,t,r)=>{r.d(t,{x:()=>i});var n=r(34275),o=r(97146),s=r(63907);function i(e,t){switch(t){case s.WR.TRIANGLES:return"number"==typeof(r=e)?(0,o.tM)(r):(0,n.mg)(r)?new Uint16Array(r):r;case s.WR.TRIANGLE_STRIP:return function(e){const t="number"==typeof e?e:e.length;if(t<3)return[];const r=t-2,n=(0,o.my)(3*r);if("number"==typeof e){let e=0;for(let t=0;t<r;t+=1)t%2==0?(n[e++]=t,n[e++]=t+1,n[e++]=t+2):(n[e++]=t+1,n[e++]=t,n[e++]=t+2)}else{let t=0;for(let o=0;o<r;o+=1)o%2==0?(n[t++]=e[o],n[t++]=e[o+1],n[t++]=e[o+2]):(n[t++]=e[o+1],n[t++]=e[o],n[t++]=e[o+2])}return n}(e);case s.WR.TRIANGLE_FAN:return function(e){const t="number"==typeof e?e:e.length;if(t<3)return new Uint16Array(0);const r=t-2,n=r<=65536?new Uint16Array(3*r):new Uint32Array(3*r);if("number"==typeof e){let e=0;for(let t=0;t<r;++t)n[e++]=0,n[e++]=t+1,n[e++]=t+2;return n}const o=e[0];let s=e[1],i=0;for(let t=0;t<r;++t){const r=e[t+2];n[i++]=o,n[i++]=s,n[i++]=r,s=r}return n}(e)}var r}},88340:(e,t,r)=>{function n(){return new Float32Array(2)}function o(e,t){const r=new Float32Array(2);return r[0]=e,r[1]=t,r}function s(){return n()}function i(){return o(1,1)}function a(){return o(1,0)}function c(){return o(0,1)}r.d(t,{Un:()=>l,fA:()=>o,uY:()=>u,vt:()=>n});const u=s(),l=i(),f=a(),d=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_X:f,UNIT_Y:d,ZEROS:u,clone:function(e){const t=new Float32Array(2);return t[0]=e[0],t[1]=e[1],t},create:n,fromValues:o,ones:i,unitX:a,unitY:c,zeros:s},Symbol.toStringTag,{value:"Module"}))},96336:(e,t,r)=>{r.d(t,{W:()=>n,Y:()=>c});var n,o,s=r(21818),i=r(31821),a=r(46540);function c(e,t){switch(t.normalType){case n.Compressed:e.attributes.add(a.r.NORMALCOMPRESSED,"vec2"),e.vertex.code.add(i.H`vec3 decompressNormal(vec2 normal) {
30
+ float z = 1.0 - abs(normal.x) - abs(normal.y);
31
+ return vec3(normal + sign(normal) * min(z, 0.0), z);
32
+ }
33
+ vec3 normalModel() {
34
+ return decompressNormal(normalCompressed);
35
+ }`);break;case n.Attribute:e.attributes.add(a.r.NORMAL,"vec3"),e.vertex.code.add(i.H`vec3 normalModel() {
36
+ return normal;
37
+ }`);break;case n.ScreenDerivative:e.fragment.code.add(i.H`vec3 screenDerivativeNormal(vec3 positionView) {
38
+ return normalize(cross(dFdx(positionView), dFdy(positionView)));
39
+ }`);break;default:(0,s.Xb)(t.normalType);case n.COUNT:}}(o=n||(n={}))[o.Attribute=0]="Attribute",o[o.Compressed=1]="Compressed",o[o.ScreenDerivative=2]="ScreenDerivative",o[o.COUNT=3]="COUNT"},97937:(e,t,r)=>{r.d(t,{a:()=>w,c:()=>g,e:()=>b,f:()=>M,g:()=>x,i:()=>R,o:()=>U,s:()=>k}),r(44208),r(53966);var n=r(34727),o=r(58083),s=r(38954),i=r(51850),a=r(87317),c=r(91829),u=r(34304),l=r(88582),f=r(71351);function d(e,t){const r=(0,s.l)(e),o=(0,n.YN)(e[2]/r),i=Math.atan2(e[1]/r,e[0]/r);return(0,s.i)(t,r,o,i),t}var m=r(44280),h=r(32114);const p=g();function g(){return(0,c.vt)()}const y=a.e,v=a.e;function b(e,t){return(0,a.c)(t,e)}function x(e){return e[3]}function w(e){return e}function M(e,t,r,n){return(0,c.fA)(e,t,r,n)}function T(e,t,r){if(null==t)return!1;if(!S(e,t,B))return!1;let{t0:n,t1:o}=B;if((n<0||o<n&&o>0)&&(n=o),n<0)return!1;if(r){const{origin:e,direction:o}=t;r[0]=e[0]+o[0]*n,r[1]=e[1]+o[1]*n,r[2]=e[2]+o[2]*n}return!0}const B={t0:0,t1:0};function S(e,t,r){const{origin:n,direction:o}=t,s=A;s[0]=n[0]-e[0],s[1]=n[1]-e[1],s[2]=n[2]-e[2];const i=o[0]*o[0]+o[1]*o[1]+o[2]*o[2];if(0===i)return!1;const a=2*(o[0]*s[0]+o[1]*s[1]+o[2]*s[2]),c=a*a-4*i*(s[0]*s[0]+s[1]*s[1]+s[2]*s[2]-e[3]*e[3]);if(c<0)return!1;const u=Math.sqrt(c);return r.t0=(-a-u)/(2*i),r.t1=(-a+u)/(2*i),!0}const A=(0,i.vt)();function R(e,t){return T(e,t,null)}function _(e,t,r){const n=h.rq.get(),i=h.Rc.get();(0,s.e)(n,t.origin,t.direction);const a=x(e);(0,s.e)(r,n,t.origin),(0,s.h)(r,r,1/(0,s.l)(r)*a);const c=P(e,t.origin),u=(0,m.g7)(t.origin,r);return(0,o.$0)(i,u+c,n),(0,s.t)(r,r,i),r}function C(e,t,r){const n=(0,s.d)(h.rq.get(),t,e),o=(0,s.h)(h.rq.get(),n,e[3]/(0,s.l)(n));return(0,s.g)(r,o,e)}function P(e,t){const r=(0,s.d)(h.rq.get(),t,e),o=(0,s.l)(r),i=x(e),a=i+Math.abs(i-o);return(0,n.XM)(i/a)}const O=(0,i.vt)();function E(e,t,r,n){const o=(0,s.d)(O,t,e);switch(r){case l._.X:{const e=d(o,O)[2];return(0,s.i)(n,-Math.sin(e),Math.cos(e),0)}case l._.Y:{const e=d(o,O),t=e[1],r=e[2],i=Math.sin(t);return(0,s.i)(n,-i*Math.cos(r),-i*Math.sin(r),Math.cos(t))}case l._.Z:return(0,s.n)(n,o);default:return}}function I(e,t){const r=(0,s.d)(q,t,e);return(0,s.l)(r)-e[3]}function U(e,t){const r=(0,s.s)(e,t),n=x(e);return r<=n*n}const q=(0,i.vt)(),N=g(),k=Object.freeze(Object.defineProperty({__proto__:null,NullSphere:p,altitudeAt:I,angleToSilhouette:P,axisAt:E,cameraFrustumCoverage:function(e,t,r,n){const o=x(e),s=o*o,i=t+.5*Math.PI,a=r*r+s-2*Math.cos(i)*r*o,c=Math.sqrt(a),u=a-s;if(u<=0)return.5;const l=Math.sqrt(u),f=Math.acos(l/c)-Math.asin(o/(c/Math.sin(i)));return Math.min(1,(f+.5*n)/n)},clear:function(e){e[0]=e[1]=e[2]=e[3]=0},closestPoint:function(e,t,r){return T(e,t,r)?r:((0,f.oC)(t,e,r),C(e,r,r))},closestPointOnSilhouette:_,containsPoint:U,copy:b,create:g,distanceToSilhouette:function(e,t){const r=(0,s.d)(h.rq.get(),t,e),n=(0,s.k)(r),o=e[3]*e[3];return Math.sqrt(Math.abs(n-o))},elevate:function(e,t,r){return e!==r&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),r[3]=e[3]+t,r},equals:v,exactEquals:y,fromCenterAndRadius:function(e,t){return(0,c.fA)(e[0],e[1],e[2],t)},fromRadius:function(e,t){return e[0]=e[1]=e[2]=0,e[3]=t,e},fromValues:M,getCenter:w,getExtent:function(e,t){return t},getRadius:x,intersectLine:function(e,t,r){const n=(0,f.Cr)(t,r);if(!S(e,n,B))return[];const{origin:o,direction:a}=n,{t0:c,t1:l}=B,d=t=>{const r=(0,i.vt)();return(0,s.b)(r,o,a,t),C(e,r,r)};return Math.abs(c-l)<(0,u.FD)()?[d(c)]:[d(c),d(l)]},intersectRay:T,intersectRayClosestSilhouette:function(e,t,r){if(T(e,t,r))return r;const n=_(e,t,h.rq.get());return(0,s.g)(r,t.origin,(0,s.h)(h.rq.get(),t.direction,(0,s.j)(t.origin,n)/(0,s.l)(t.direction))),r},intersectsRay:R,projectPoint:C,setAltitudeAt:function(e,t,r,n){const o=I(e,t),i=E(e,t,l._.Z,q),a=(0,s.h)(q,i,r-o);return(0,s.g)(n,t,a)},setExtent:function(e,t,r){return e!==r&&b(e,r),r},tmpSphere:N,union:function(e,t,r=(0,c.vt)()){const n=(0,s.j)(e,t),o=e[3],i=t[3];return n+i<o?((0,a.c)(r,e),r):n+o<i?((0,a.c)(r,t),r):((0,s.m)(r,e,t,(n+i-o)/(2*n)),r[3]=(n+o+i)/2,r)},wrap:function(e){return e}},Symbol.toStringTag,{value:"Module"}))},98353:(e,t,r)=>{r.d(t,{h:()=>s});var n=r(69270),o=r(74333);class s extends o.n{constructor(e,t){super(e,"mat3",n.c.Draw,((r,n,o)=>r.setUniformMatrix3fv(e,t(n,o))))}}}}]);