@arcgis/core 6.0.0-next.55 → 6.0.0-next.56

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 (205) hide show
  1. package/arcgisGlobal.d.ts +1 -0
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/033b9fcd9833db3b6e7d.js +1 -0
  4. package/assets/esri/core/workers/chunks/0978e12dd6a1cbc50b80.js +1 -0
  5. package/assets/esri/core/workers/chunks/{e956845255bce0910944.js → 1507297550c3cd1268e2.js} +1 -1
  6. package/assets/esri/core/workers/chunks/1c0f5c42331fb6fc26cb.js +1 -0
  7. package/assets/esri/core/workers/chunks/2cd2fcf4a37d180d5d5c.js +1 -0
  8. package/assets/esri/core/workers/chunks/2f9adf0b809ce8797ebf.js +1 -0
  9. package/assets/esri/core/workers/chunks/3982409149571a827390.js +1 -0
  10. package/assets/esri/core/workers/chunks/3d851710f7fcc27c5b60.js +2 -0
  11. package/assets/esri/core/workers/chunks/3e8d70039800f2395d66.js +1 -0
  12. package/assets/esri/core/workers/chunks/4d8539674fc2e4fea03c.js +1 -0
  13. package/assets/esri/core/workers/chunks/{e61082f56c08abe54b3a.js → 5954f02c3901b28d8e73.js} +1 -1
  14. package/assets/esri/core/workers/chunks/5ba6007c3c49a8153256.js +1 -0
  15. package/assets/esri/core/workers/chunks/5bdd95eeb8f34dbf26f2.js +2 -0
  16. package/assets/esri/core/workers/chunks/{ced5dfb2bf46fc5eac8c.js → 5e47026c681238038955.js} +2 -2
  17. package/assets/esri/core/workers/chunks/{2baf35b1b19482d603b5.js → 5f7505ada0991cfbdd84.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{976303f47c342b9d1cc0.js → 62ddd3a82864e26f009a.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{542a9c414c99d84d52ab.js → 6a202ef9ba9b89e09153.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{0826feebdca8a31eb630.js → 6ba6fece5c11fe2a6ace.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{5eb69e2895e5aec81051.js → 6fd10891506925560443.js} +1 -1
  22. package/assets/esri/core/workers/chunks/7b6fd287e7043ad50f4e.js +1 -0
  23. package/assets/esri/core/workers/chunks/7baa49055bc31618b56e.js +1 -0
  24. package/assets/esri/core/workers/chunks/8570e3df90fb76a8741a.js +1 -0
  25. package/assets/esri/core/workers/chunks/{c3c0f24a9e0047232ae1.js → 8679dfc0c53355b6feb0.js} +1 -1
  26. package/assets/esri/core/workers/chunks/8a636dc51372e14c98f5.js +1 -0
  27. package/assets/esri/core/workers/chunks/{14259910f44c08fd5bbd.js → 9117c9b720c9ba6e7a6e.js} +1 -1
  28. package/assets/esri/core/workers/chunks/a22458e5272332d86cb9.js +1 -0
  29. package/assets/esri/core/workers/chunks/{3ea480cebf8ee56228a5.js → a7dfca326883384d2751.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{723d8316f5d4b6ce2942.js → a9539393e2f1812a973a.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{be0b8bb4f09aae6ff5de.js → ab784764ddf9d7f693a1.js} +1 -1
  32. package/assets/esri/core/workers/chunks/b38b6fe08a367e9de4f5.js +1 -0
  33. package/assets/esri/core/workers/chunks/{4e651869e9a196494694.js → b6e628b5d2643af4c19b.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{b37ab6b1cb4cfc85cd9d.js → b7828d7e2c5b75644057.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{ec465abb0344ad719e9d.js → bd8e329ec74d921d311a.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{56e6e70aa40e51827290.js → c3f94024c6c9eed9f273.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{6d17b45022dfd2548098.js → c5ddf8b347c31fe772a3.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{ee9af58ae202b803bba7.js → c7a0c4ca37ebd1d98cf1.js} +1 -1
  39. package/assets/esri/core/workers/chunks/d7763c42754152510e13.js +2 -0
  40. package/assets/esri/core/workers/chunks/{9e508f930086d2ef5f22.js → dfa1b0308e5e82d1ddfe.js} +40 -41
  41. package/assets/esri/core/workers/chunks/e566102c7ed7a8ebf89e.js +1 -0
  42. package/assets/esri/core/workers/chunks/e74586b074d0fa6abb4b.js +1 -0
  43. package/assets/esri/core/workers/chunks/e7dff025780726d5feae.js +1 -0
  44. package/assets/esri/core/workers/chunks/e96fa029acba59c04e4e.js +2 -0
  45. package/assets/esri/core/workers/chunks/{4401b3f8ebb658abe789.js → efd6ea0966f60ab19520.js} +1 -1
  46. package/assets/esri/core/workers/chunks/fdfbd201be372d3796bf.js +2 -0
  47. package/assets/esri/core/workers/chunks/ff0a0819bba5e8264c47.js +1 -0
  48. package/chunks/BlendLayers.glsl.js +1 -1
  49. package/chunks/ColorMaterial.glsl.js +14 -14
  50. package/chunks/Component.glsl.js +37 -37
  51. package/chunks/DefaultMaterial.glsl.js +15 -15
  52. package/chunks/HUDMaterial.glsl.js +3 -3
  53. package/chunks/Path.glsl.js +15 -15
  54. package/chunks/Pattern.glsl.js +20 -20
  55. package/chunks/RasterColorizer.glsl.js +1 -1
  56. package/chunks/ShadowHighlight.glsl.js +1 -1
  57. package/chunks/Terrain.glsl.js +24 -24
  58. package/chunks/Water.glsl.js +29 -20
  59. package/chunks/pdf.js +57 -0
  60. package/config.js +1 -1
  61. package/core/accessorSupport/write.js +1 -1
  62. package/core/scheduling.js +1 -1
  63. package/kernel.js +1 -1
  64. package/layers/VoxelWasmPerSceneView.js +1 -1
  65. package/layers/geospatialPDF/GeospatialPDFFrame.js +1 -1
  66. package/layers/geospatialPDF/GeospatialPDFLayerWorker.js +1 -56
  67. package/layers/geospatialPDF/GeospatialPDFWorkerClient.js +1 -1
  68. package/layers/geospatialPDF/parserUtils.js +2 -0
  69. package/layers/support/ControlPoint.js +1 -1
  70. package/layers/support/ControlPointsGeoreference.js +1 -1
  71. package/layers/support/commonProperties.js +1 -1
  72. package/layers/support/geospatialPDFUtils.d.ts +63 -0
  73. package/layers/support/geospatialPDFUtils.js +2 -0
  74. package/package.json +5 -5
  75. package/symbols/CIMSymbol.d.ts +9 -9
  76. package/symbols/PathSymbol3DLayer.d.ts +1 -1
  77. package/symbols/WaterSymbol3DLayer.d.ts +13 -1
  78. package/symbols/WaterSymbol3DLayer.js +1 -1
  79. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  80. package/views/3d/analysis/Viewshed/ViewshedObserverManipulatedObject3D.js +1 -1
  81. package/views/3d/camera/constraintUtils/tilt.js +1 -1
  82. package/views/3d/camera/intersectionUtils.js +1 -1
  83. package/views/3d/environment/EnvironmentView.js +1 -1
  84. package/views/3d/input/handlers/ground/GroundNavigation.js +1 -1
  85. package/views/3d/interactive/Manipulator3D.js +1 -1
  86. package/views/3d/interactive/Manipulator3DBase.js +1 -1
  87. package/views/3d/interactive/editingTools/dragEventPipeline3D.js +1 -1
  88. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DView.js +1 -1
  89. package/views/3d/interactive/visualElements/Object3DVisualElement.js +1 -1
  90. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  91. package/views/3d/layers/BuildingSceneLayerView3D.js +1 -1
  92. package/views/3d/layers/DrapedSubView3D.js +1 -1
  93. package/views/3d/layers/DynamicLayerView3D.js +1 -1
  94. package/views/3d/layers/FeatureLikeLayerViewBase3D.js +1 -1
  95. package/views/3d/layers/FlowSubView3D.js +1 -1
  96. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  97. package/views/3d/layers/I3SMeshView3D.js +1 -1
  98. package/views/3d/layers/RouteLayerView3D.js +1 -1
  99. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  100. package/views/3d/layers/VectorTileLayerView3D.js +1 -1
  101. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  102. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  103. package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
  104. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  105. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  106. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  107. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  108. package/views/3d/layers/i3s/I3SIndex.js +1 -1
  109. package/views/3d/layers/i3s/I3SUtil.js +1 -1
  110. package/views/3d/layers/support/Tiles3DBVH.js +1 -1
  111. package/views/3d/layers/support/createTileBVHForLayer.js +1 -1
  112. package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
  113. package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
  114. package/views/3d/state/controllers/RotateController.js +1 -1
  115. package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
  116. package/views/3d/state/controllers/ZoomStepControllerGlobal.js +1 -1
  117. package/views/3d/state/utils/groundNavigationUtils.js +1 -1
  118. package/views/3d/state/utils/navigationUtils.js +1 -1
  119. package/views/3d/support/QualityProfile.js +1 -1
  120. package/views/3d/support/QualitySettings.js +1 -1
  121. package/views/3d/support/flow/StreamlineResources3DShape.js +1 -1
  122. package/views/3d/terrain/BlendLayersTechniqueConfiguration.js +1 -1
  123. package/views/3d/terrain/OverlayManager.js +1 -1
  124. package/views/3d/terrain/PatchGeometryFactory.js +1 -1
  125. package/views/3d/terrain/RasterColorizerTechniqueConfiguration.js +1 -1
  126. package/views/3d/terrain/TerrainSurface.js +1 -1
  127. package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
  128. package/views/3d/webgl-engine/core/shaderLibrary/clampShadowPosition.glsl.js +2 -0
  129. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +14 -14
  130. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +1 -1
  131. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TileComposite.glsl.js +2 -3
  132. package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
  133. package/views/3d/webgl-engine/lib/BufferGeometry.js +1 -1
  134. package/views/3d/webgl-engine/lib/BufferObject3D.js +1 -1
  135. package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
  136. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  137. package/views/3d/webgl-engine/lib/Program.js +1 -1
  138. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  139. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  140. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  141. package/views/3d/webgl-engine/materials/DefaultLayouts.js +1 -1
  142. package/views/3d/webgl-engine/materials/Path.glsl.js +1 -1
  143. package/views/3d/webgl-engine/materials/Water.glsl.js +1 -1
  144. package/views/3d/webgl-engine/materials/WaterMaterial.js +1 -1
  145. package/views/3d/webgl-engine/parts/Model.js +1 -1
  146. package/views/3d/webgl-engine/shaders/ColorMaterial.glsl.js +1 -1
  147. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  148. package/views/3d/webgl-engine/shaders/Pattern.glsl.js +1 -1
  149. package/views/3d/webgl-engine/shaders/Terrain.glsl.js +1 -1
  150. package/views/Attribution.js +5 -5
  151. package/views/DOMContainer.d.ts +2 -1
  152. package/views/SceneView.js +1 -1
  153. package/views/draw/DrawGraphicTool.js +1 -1
  154. package/views/draw/support/surfaceCoordinateSystems.js +1 -1
  155. package/views/webgl/Program.js +3 -3
  156. package/views/webgl/ShaderBuilder.js +23 -23
  157. package/webscene/Slide.js +1 -1
  158. package/webscene/VirtualLighting.d.ts +2 -4
  159. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +17 -1
  160. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  161. package/widgets/BatchAttributeForm/inputs/support/inputUtils.d.ts +7 -0
  162. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  163. package/widgets/BatchAttributeForm.js +1 -1
  164. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  165. package/widgets/Sketch/SketchViewModel.js +1 -1
  166. package/widgets/Weather/WeatherViewModel.js +1 -1
  167. package/widgets/support/ContingentValuesManager.js +1 -1
  168. package/widgets/support/forms/types.d.ts +23 -1
  169. package/assets/esri/core/workers/chunks/144f18a3dd2c8cf07cf7.js +0 -1
  170. package/assets/esri/core/workers/chunks/23fc1c1ed483ed3b2298.js +0 -1
  171. package/assets/esri/core/workers/chunks/249a687ce1b6d0815242.js +0 -1
  172. package/assets/esri/core/workers/chunks/2634927d26cb1139c6d0.js +0 -1
  173. package/assets/esri/core/workers/chunks/2d1b8154ee40afc9d40b.js +0 -1
  174. package/assets/esri/core/workers/chunks/4a41bf3d1e2e9bb79771.js +0 -2
  175. package/assets/esri/core/workers/chunks/5f324d88785ffcb73ae0.js +0 -1
  176. package/assets/esri/core/workers/chunks/70695e0fb53018d48e7b.js +0 -2
  177. package/assets/esri/core/workers/chunks/723c9ad4c25be2b82476.js +0 -1
  178. package/assets/esri/core/workers/chunks/766a1357be2ed7f4e125.js +0 -1
  179. package/assets/esri/core/workers/chunks/844c593754b2692257f4.js +0 -1
  180. package/assets/esri/core/workers/chunks/846248697c398468d8e6.js +0 -1
  181. package/assets/esri/core/workers/chunks/89e55895683369b5277a.js +0 -1
  182. package/assets/esri/core/workers/chunks/8c94e987754b3919181e.js +0 -1
  183. package/assets/esri/core/workers/chunks/919115788da38049aea7.js +0 -2
  184. package/assets/esri/core/workers/chunks/a116dd204921e7464944.js +0 -1
  185. package/assets/esri/core/workers/chunks/b33e7e74cf8fa3926617.js +0 -1
  186. package/assets/esri/core/workers/chunks/bb2af16e55cb39163827.js +0 -1
  187. package/assets/esri/core/workers/chunks/d5bb9f9b7b341c671525.js +0 -1
  188. package/assets/esri/core/workers/chunks/d96e63d66f7b1f4ea54a.js +0 -2
  189. package/assets/esri/core/workers/chunks/e3bcd2e356f75afc316a.js +0 -1
  190. package/assets/esri/core/workers/chunks/e80526571f1a34de3278.js +0 -1
  191. package/assets/esri/core/workers/chunks/ea71850ba87ae6038000.js +0 -1
  192. package/assets/esri/core/workers/chunks/f537a5e808dc546813c7.js +0 -1
  193. package/assets/esri/core/workers/chunks/fe811d651d201f698b8f.js +0 -2
  194. package/chunks/NativeLine.glsl.js +0 -8
  195. package/layers/geospatialPDF/geospatialPDFParserUtils.js +0 -2
  196. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +0 -2
  197. package/views/3d/webgl-engine/shaders/NativeLine.glsl.js +0 -2
  198. package/views/3d/webgl-engine/shaders/NativeLineTechnique.js +0 -2
  199. package/views/3d/webgl-engine/shaders/NativeLineTechniqueConfiguration.js +0 -2
  200. /package/assets/esri/core/workers/chunks/{919115788da38049aea7.js.LICENSE.txt → 3d851710f7fcc27c5b60.js.LICENSE.txt} +0 -0
  201. /package/assets/esri/core/workers/chunks/{fe811d651d201f698b8f.js.LICENSE.txt → 5bdd95eeb8f34dbf26f2.js.LICENSE.txt} +0 -0
  202. /package/assets/esri/core/workers/chunks/{ced5dfb2bf46fc5eac8c.js.LICENSE.txt → 5e47026c681238038955.js.LICENSE.txt} +0 -0
  203. /package/assets/esri/core/workers/chunks/{4a41bf3d1e2e9bb79771.js.LICENSE.txt → d7763c42754152510e13.js.LICENSE.txt} +0 -0
  204. /package/assets/esri/core/workers/chunks/{d96e63d66f7b1f4ea54a.js.LICENSE.txt → e96fa029acba59c04e4e.js.LICENSE.txt} +0 -0
  205. /package/assets/esri/core/workers/chunks/{70695e0fb53018d48e7b.js.LICENSE.txt → fdfbd201be372d3796bf.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[6023],{52106(e,t,r){r.d(t,{A:()=>C});var i,s,l=r(32198),a=r(91429),o=r(69540),n=r(51447),u=r(25482),p=r(53966),h=r(36708),y=r(12195),d=r(24326),m=r(65864),g=r(50498),f=r(55156),c=r(60950),b=r(54339),v=r(40124),M=r(94128),x=r(33910);const S=Symbol("meshGeometryHandles");function w(e){if(null==e)return null;let t={};for(let r in e){let i=e[r];i&&(t[r]=i.toJSON())}return 0===Object.keys(t).length?null:t}let C=class extends((0,o.OU)(u.o)){static{i=M.Z}static{s=this}constructor(e){super(e),this[i]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperties(this,{uid:{value:(0,d.c)(),configurable:!0},_lastMeshTransform:{value:{},configurable:!0,writable:!0,enumerable:!1}}),arguments.length>1&&(0,n.eF)(p.A.getLogger(this),"Graphic",{version:"4.30"})}set aggregateGeometries(e){let t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){let t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){let t=this._get("geometry");t!==e&&(this._set("geometry",e),this._watchMeshGeometryChanges(),this._notifyLayer("geometry",t,e))}set popupTemplate(e){let t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){let t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){let t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new s({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;let t=(0,c.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;let r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(let t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){let r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){let e=(0,f.I)(this.origin);if(e)return(0,b.r)(this,e);let t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){let e=(0,f.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);let t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){let e={aggregateGeometries:w(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,y.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){let{geometry:t}=this;if("mesh"===t?.type){let r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;let s={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(s.action=i),"attributes"===e&&(s.attributeName=i),this.layer.graphicChanged(s)}_watchMeshGeometryChanges(){this.removeHandles(S);let e=this.geometry;"mesh"===e?.type&&this.addHandles([(0,h.z7)(()=>e.vertexSpace.origin?{localMatrix:e.transform?.localMatrix,origin:e.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{(this._lastMeshTransform.localMatrix!==e||this._lastMeshTransform.origin!==t)&&(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,h.z7)(()=>({vertexAttributes:e.vertexAttributes}),()=>{e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",e,e)},{equals:(e,t)=>e===t,sync:!0})],S)}};(0,l.Cg)([(0,a.MZ)({value:null,json:{read:function(e){if(!e)return null;let t={};for(let r in e){let i=(0,m.rS)(e[r]);i&&(t[r]=i)}return 0===Object.keys(t).length?null:t}}})],C.prototype,"aggregateGeometries",null),(0,l.Cg)([(0,a.MZ)({value:null})],C.prototype,"attributes",null),(0,l.Cg)([(0,a.MZ)({value:null,types:g.yR,json:{read:m.rS}})],C.prototype,"geometry",null),(0,l.Cg)([(0,a.MZ)()],C.prototype,"distance",void 0),(0,l.Cg)([(0,a.MZ)({type:Boolean})],C.prototype,"isAggregate",void 0),(0,l.Cg)([(0,a.MZ)({clonable:!1})],C.prototype,"layer",void 0),(0,l.Cg)([(0,a.MZ)({clonable:"reference"})],C.prototype,"origin",void 0),(0,l.Cg)([(0,a.MZ)({type:v.A,value:null})],C.prototype,"popupTemplate",null),(0,l.Cg)([(0,a.MZ)({clonable:"reference"})],C.prototype,"sourceLayer",void 0),(0,l.Cg)([(0,a.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],C.prototype,"statisticsAggregatedIds",void 0),(0,l.Cg)([(0,a.MZ)({value:null,types:x.Es})],C.prototype,"symbol",null),(0,l.Cg)([(0,a.MZ)({clonable:!1,json:{read:!1,write:!1}})],C.prototype,"_version",void 0),(0,l.Cg)([(0,a.MZ)({type:Boolean,value:!0})],C.prototype,"visible",null),C=s=(0,l.Cg)([(0,a.$K)("esri.Graphic")],C)},69052(e,t,r){r.d(t,{hr:()=>s});var i=r(34727);class s{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,r=!1){return l(this.range,this.min,this.max,e,t,r)}clamp(e,t=0){return(0,i.qE)(e-t,this.min,this.max)+t}monotonic(e,t,r){return e<t?t:t+a(this.range,e-t,r)}minimalMonotonic(e,t,r){return l(this.range,e,e+this.range,t,r)}center(e,t,r){return t=this.monotonic(e,t,r),this.normalize((e+t)/2,r)}diff(e,t,r){return this.monotonic(e,t,r)-e}shortestSignedDiff(e,t){e=this.normalize(e);let r=(t=this.normalize(t))-e,i=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(r)<Math.abs(i)?r:i}contains(e,t,r){return t=this.minimalMonotonic(e,t),(r=this.minimalMonotonic(e,r))>e&&r<t}}function l(e,t,r,i,s=0,l=!1){return(i-=s)<t?i+=a(e,t-i):i>r&&(i-=a(e,i-r)),l&&i===r&&(i=t),i+s}function a(e,t,r=0){return Math.ceil((t-r)/e)*e+r}const o=new s(0,2*Math.PI),n=(new s(-Math.PI,Math.PI),new s(0,360));r.d(t,["ie",0,n,"uC",0,o])},18370(e,t,r){r.d(t,{z:()=>s});class i{constructor(e){this._import=e,this.module=null,this._promise=null}getImportPromise(){return this._promise??=this._import().then(async e=>(this.module=e,e)),this._promise}}function s(e){return new i(e)}},52039(e,t,r){r.d(t,{O7:()=>y,Y_:()=>m,el:()=>u});var i=r(69052),s=(r(49186),r(18370)),l=r(17676),a=(r(5443),r(39829)),o=(r(82799),r(16930)),n=(r(80754),r(21325));async function u(e,t,r){Array.isArray(e)||(e=[e]),"object"==typeof t&&t&&"authMode"in t&&(r=t);let i=null;for(let t of e)i??=t?.spatialReference;if(!i)return e;let s=(0,n.Vp)(i);if(!s)return e;if(1===e.length&&"extent"===e[0]?.type){let t=e[0].clone().normalizeAsSingleGeometry(s);return["xmin"in t?t:new a.A(t)]}let[o,u]=s.valid,y=!1;for(let t of e){if(!t)continue;if("point"===t.type){y||=t.x>=u,y||=t.x<=o;continue}let{extent:e}=t;if(null==e){y=!0;break}y||=e.xmin>=u,y||=e.xmin<=o,y||=e.xmax>=u,y||=e.xmax<=o}if(!y)return e;let[{foldInto360Range:d},m]=await(0,l.qr)(Promise.all([p.getImportPromise(),h.getImportPromise()]),r),g=m.fromSpatialReference(i);return e.map(e=>{if(null==e||"mesh"===e.type)return e;let t=m.fromGeometry(e),r=m.toGeometry(d(t,g),i);return"extent"===e.type&&1===r?.rings.length?r.extent:r})}const p=(0,s.z)(()=>r.e(4144).then(()=>r(4144)).then(e=>e.load().then(()=>e))),h=(0,s.z)(()=>Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(3299),r.e(1550)]).then(()=>r(78125)));function y(e,t,r){let i=(0,n.Vp)(r);if(null==i)return e;let[s,l]=i.valid,a=2*l,o=0,u=0;t>l?o=Math.ceil(Math.abs(t-l)/a):t<s&&(o=-Math.ceil(Math.abs(t-s)/a)),e>l?u=Math.ceil(Math.abs(e-l)/a):e<s&&(u=-Math.ceil(Math.abs(e-s)/a));let p=e+(o-u)*a,h=p-t;return h>l?p-=a:h<s&&(p+=a),p}function d(e){let t=(0,n.Vp)(e);if(null==t)return null;let[r,s]=t.valid;return new i.hr(r,s)}const m=d(o.A.WGS84);d(o.A.WebMercator)},80754(e,t,r){r.d(t,{j7:()=>o,kS:()=>u,kd:()=>n});var i=r(82799),s=r(16930),l=r(52006),a=r(60408);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator}),minus180Line:new i.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.A({paths:[[[180,-180],[180,180]]],spatialReference:s.A.WGS84}),minus180Line:new i.A({paths:[[[-180,-180],[-180,180]]],spatialReference:s.A.WGS84})}};function n(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,l.Ed)(e))for(let r of function(e){return(0,a.Bi)(e)?e.curveRings:e.curvePaths}(e))for(let e of r)if((0,l.aO)(e)){let[r,i]=e.c;r[0]+=t,i[0]+=t}else if((0,l.FG)(e)){let[r,i]=e.a;r[0]+=t,i[0]+=t}else if((0,l.n1)(e)){let[r,i,s]=e.b;r[0]+=t,i[0]+=t,s[0]+=t}else e[0]+=t;for(let r of function(e){return(0,a.Bi)(e)?e.rings:e.paths}(e))for(let e of r)e[0]+=t;return e}},55156(e,t,r){r.d(t,{I:()=>s});const i=Symbol("idFieldsProviderSymbol");function s(e){return(t=e)&&i in t?e[i]:void 0;var t}r.d(t,["e",0,i])},7656(e,t,r){r.r(t),r.d(t,{default:()=>B});var i=r(32198),s=r(91429),l=r(56507),a=r(35666),o=r(7762),n=r(49186),u=r(81583),p=r(34727),h=r(25728),y=r(17676),d=r(5443),m=r(83960),g=r(21325),f=r(78888),c=r(88625),b=r(79677),v=r(56400),M=r(4146),x=r(52136),S=r(98534),w=r(18768),C=r(63074),I=r(69208),A=r(34287),O=r(8303),_=r(54310),Z=r(25036),T=r(91921),P=r(82935),L=r(10873),N=r(56372),F=r(39516);function j(e,t){return"floorInfo"in t&&t.floorInfo?.floorField?function(e,t){if(!e?.length)return null;let r=e.filter(e=>""!==e).map(e=>`'${e}'`);return r.push("''"),`${t} IN (${r.join(",")}) OR ${t} IS NULL`}(e,t.floorInfo.floorField):null}var R=r(63389);const J={visible:"visibleSublayers",definitionExpression:"layerDefs",labelingInfo:"hasDynamicLayers",labelsVisible:"hasDynamicLayers",opacity:"hasDynamicLayers",minScale:"visibleSublayers",maxScale:"visibleSublayers",renderer:"hasDynamicLayers",source:"hasDynamicLayers"};let G=class extends N.A{constructor(e){super(e),this.floors=null,this.scale=0}destroy(){this.layer=null}get dynamicLayers(){if(!this.hasDynamicLayers)return null;let e=this.visibleSublayers.map(e=>{let t=j(this.floors,e);return e.toExportImageJSON(t)});return e.length?JSON.stringify(e):null}get hasDynamicLayers(){return this.layer&&(0,R.Sk)(this.visibleSublayers,this.layer.serviceSublayers,this.layer.gdbVersion)}set layer(e){this._get("layer")!==e&&(this._set("layer",e),this.removeHandles("layer"),e&&this.addHandles([e.allSublayers.on("change",()=>this.notifyChange("visibleSublayers")),e.on("sublayer-update",e=>this.notifyChange(J[e.propertyName]))],"layer"))}get layers(){let e=this.visibleSublayers;return e?e.length?"show:"+e.map(e=>e.id).join(","):"show:-1":null}get layerDefs(){let e=!!this.floors?.length,t=this.visibleSublayers.filter(t=>null!=t.definitionExpression||e&&null!=t.floorInfo);return t.length?JSON.stringify(t.reduce((e,t)=>{let r=j(this.floors,t),i=(0,F.mA)(r,t.definitionExpression);return null!=i&&(e[t.id]=i),e},{})):null}get version(){this.commitProperty("layers"),this.commitProperty("layerDefs"),this.commitProperty("dynamicLayers");let e=this.layer;return e&&(e.commitProperty("dpi"),e.commitProperty("imageFormat"),e.commitProperty("imageTransparency"),e.commitProperty("gdbVersion")),(this._get("version")||0)+1}get visibleSublayers(){let e=[];if(!this.layer)return e;let t=this.layer.sublayers,r=this.scale,i=t=>{t.visible&&(0===r||(0,m.zx)(r,t.minScale,t.maxScale))&&(t.sublayers?t.sublayers.forEach(i):e.unshift(t))};t?.forEach(i);let s=this._get("visibleSublayers");return!s||s.length!==e.length||s.some((t,r)=>e[r]!==t)?e:s}toJSON(){let e=this.layer,t={dpi:e.dpi,format:e.imageFormat,transparent:e.imageTransparency,gdbVersion:e.gdbVersion||null};return this.hasDynamicLayers&&this.dynamicLayers?t.dynamicLayers=this.dynamicLayers:t={...t,layers:this.layers,layerDefs:this.layerDefs},t}};(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"dynamicLayers",null),(0,i.Cg)([(0,s.MZ)()],G.prototype,"floors",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"hasDynamicLayers",null),(0,i.Cg)([(0,s.MZ)()],G.prototype,"layer",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"layers",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"layerDefs",null),(0,i.Cg)([(0,s.MZ)({type:Number})],G.prototype,"scale",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"version",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"visibleSublayers",null),G=(0,i.Cg)([(0,s.$K)("esri.layers.support.ExportImageParameters")],G);var q=r(33446),z=r(15775),E=r(91908),D=r(36005),k=r(43937);let V=class extends((0,C.dM)((0,P.e)((0,Z.j)((0,T.I)((0,S.V)((0,w.b)((0,A.q)((0,O.A)((0,h.M)((0,_.J)((0,x.p)((0,I.d)(M.A))))))))))))){constructor(e){super(e),this._exportImageParameters=new G({layer:this}),this.dateFieldsTimeZone=null,this.datesInUnknownTimezone=!1,this.dpi=96,this.elevationInfo=new c.A({mode:"on-the-ground"}),this.gdbVersion=null,this.imageFormat="png24",this.imageMaxHeight=2048,this.imageMaxWidth=2048,this.imageTransparency=!0,this.isReference=null,this.labelsVisible=!1,this.operationalLayerType="ArcGISMapServiceLayer",this.preferredTimeZone=null,this.sourceJSON=null,this.sublayers=null,this.type="map-image",this.url=null,this._debouncedSaveOperations=(0,y.sg)(async(e,t,i)=>{let{save:s,saveAs:l}=await r.e(390).then(()=>r(10390));switch(e){case 0:return s(this,t);case 1:return l(this,i,t)}})}load(e){let t=null==e?null:e.signal;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service"]},e).catch(y.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}destroy(){this._exportImageParameters.destroy()}readImageFormat(e,t){let r=t.supportedImageFormatTypes;return r&&r.includes("PNG32")?"png32":"png24"}get loaded(){return super.loaded}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}writeSublayers(e,t,r,i){if(!this.loaded||!e)return;let s,l=e.slice().reverse().flatten(({sublayers:e})=>e&&e.toArray().reverse()).toArray(),o=!1,n=(0,a.aB)(i.origin);if(this.capabilities?.operations.supportsExportMap&&this.capabilities?.exportMap?.supportsDynamicLayers)if(3===n){let e=this.createSublayersForOrigin("service").sublayers;o=(0,R.Zx)(l,e,2)}else if(n>3){let e=this.createSublayersForOrigin("portal-item");o=(0,R.Zx)(l,e.sublayers,(0,a.aB)(e.origin)),s=e.originWithPartialOverrides}let u=[],p={writeSublayerStructure:o,...i,minimumWritableOrigin:s},h=o||this.hasVisibleLayersForOrigin(n);l.forEach(e=>{let t=e.write({},p);u.push(t),h||="user"===e.originOf("visible")}),u.some(e=>Object.keys(e).length>1)&&(t.layers=u),h&&(t.visibleLayers=l.filter(e=>e.visible).map(e=>e.id))}createExportImageParameters(e,t,r,i){let s=i?.pixelRatio??1;e&&this.version>=10&&(e=e.clone().shiftCentralMeridian()),this._exportImageParameters.floors=i?.floors??null,this._exportImageParameters.scale=i?.scale??(0,m.X_)({extent:e,width:t})*s;let l=this._exportImageParameters.toJSON(),a=!i?.rotation||this.version<10.3?{}:{rotation:-i.rotation},o=e?.spatialReference,n=(0,g.YX)(o),u=this._exportImageParameters.scale/(0,m.X_)({extent:e,width:t});u=(0,p.Sp)(u,s)?s:u,l.dpi*=u;let h={};if(i?.timeExtent){let{start:e,end:t}=i.timeExtent.toJSON();h.time=e&&t&&e===t?""+e:`${e??"null"},${t??"null"}`}else this.timeInfo&&!this.timeInfo.hasLiveData&&(h.time="null,null");return{bbox:e?e.xmin+","+e.ymin+","+e.xmax+","+e.ymax:void 0,bboxSR:n,imageSR:n,size:t+","+r,mapScale:this._exportImageParameters.scale,...l,...a,...h}}async fetchImage(e,t,r,i){let{data:s}=await this._fetchImage("image",e,t,r,i);return s}async fetchImageBitmap(e,t,r,i){let{data:s,url:l}=await this._fetchImage("blob",e,t,r,i);return(0,q.mn)(s,l,i)}async fetchRecomputedExtents(e={}){let t={...e,query:{returnUpdates:!0,f:"json",...this.customParameters,token:this.apiKey}},{data:r}=await(0,f.A)(this.url,t),{extent:i,fullExtent:s,timeExtent:l}=r,a=i||s;return{fullExtent:a&&d.A.fromJSON(a),timeExtent:l&&b.A.fromJSON({start:l[0],end:l[1]})}}loadAll(){return(0,u.g)(this,e=>{e(this.allSublayers),e(this.subtables)})}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}serviceSupportsSpatialReference(e){return(0,E.D)(this,e)}async _fetchImage(e,t,r,i,s){let l={responseType:e,signal:s?.signal??null,query:{...this.parsedUrl.query,...this.createExportImageParameters(t,r,i,s),f:"image",...this.refreshParameters,...this.customParameters,token:this.apiKey}},a=this.parsedUrl.path+"/export";if(null!=l.query?.dynamicLayers&&!this.capabilities?.exportMap?.supportsDynamicLayers)throw new n.A("mapimagelayer:dynamiclayer-not-supported",`service ${this.url} doesn't support dynamic layers, which is required to be able to change the sublayer's order, rendering, labeling or source.`,{query:l.query});try{let{data:e}=await(0,f.A)(a,l);return{data:e,url:a}}catch(e){throw(0,y.zf)(e)?e:new n.A("mapimagelayer:image-fetch-error",`Unable to load image: ${a}`,{error:e})}}async _fetchService(e){if(this.sourceJSON)return void this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl});let{data:t,ssl:r}=await(0,f.A)(this.parsedUrl.path,{query:{f:"json",...this.parsedUrl.query,...this.customParameters,token:this.apiKey},signal:e});r&&(this.url=this.url.replace(/^http:/i,"https:")),this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})}hasVisibleLayersForOrigin(e){return!(null==e||!this.sublayersSourceJSON[e]?.visibleLayers)}};(0,i.Cg)([(0,s.MZ)((0,v.P6)("dateFieldsTimeReference"))],V.prototype,"dateFieldsTimeZone",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean})],V.prototype,"datesInUnknownTimezone",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"dpi",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"imageFormat",void 0),(0,i.Cg)([(0,D.w)("imageFormat",["supportedImageFormatTypes"])],V.prototype,"readImageFormat",null),(0,i.Cg)([(0,s.MZ)({json:{origins:{service:{read:{source:"maxImageHeight"}}}}})],V.prototype,"imageMaxHeight",void 0),(0,i.Cg)([(0,s.MZ)({json:{origins:{service:{read:{source:"maxImageWidth"}}}}})],V.prototype,"imageMaxWidth",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"imageTransparency",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],V.prototype,"isReference",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],V.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,s.MZ)({type:["ArcGISMapServiceLayer"]})],V.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],V.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,s.MZ)((0,v.P6)("preferredTimeReference"))],V.prototype,"preferredTimeZone",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,s.MZ)({type:o.A.ofType(z.A),json:{write:{ignoreOrigin:!0}}})],V.prototype,"sublayers",void 0),(0,i.Cg)([(0,k.K)("sublayers",{layers:{type:[z.A]},visibleLayers:{type:[l.jz]}})],V.prototype,"writeSublayers",null),(0,i.Cg)([(0,s.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],V.prototype,"listMode",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1},readOnly:!0,value:"map-image"})],V.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)(L.OZ)],V.prototype,"url",void 0),V=(0,i.Cg)([(0,s.$K)("esri.layers.MapImageLayer")],V);const B=V},54339(e,t,r){function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{let r=[];for(let i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function s(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];let r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>s})},82935(e,t,r){var i=r(32198),s=r(91429),l=r(73133),a=r(79677),o=r(10184),n=r(30524),u=r(96184),p=r(36005);const h={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"}}};r.d(t,["B",0,h,"e",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){let r=t.timeInfo.exportOptions;if(!r)return null;let i=r.timeOffset,s=l.j.fromJSON(r.timeOffsetUnits);return i&&s?new o.A({value:i,unit:s}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,n.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i.Cg)([(0,s.MZ)({type:a.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,i.Cg)([(0,s.MZ)({type:o.A})],r.prototype,"timeOffset",void 0),(0,i.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,i.Cg)([(0,s.MZ)({value:null,type:u.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,i.Cg)([(0,s.MZ)(h)],r.prototype,"useViewTime",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.TemporalLayer")],r),r}])},91908(e,t,r){r.d(t,{D:()=>l});var i=r(60694);const s=[];function l(e,t){if((0,i.Wo)(e.url??""))return!0;let{wkid:r}=t;for(let t of s){if((e.version??0)>=t[0])return!0;if("function"==typeof t[1]&&(t[1]=t[1]()),t[1].has(r))return!1}return!0}s.push([10.91,()=>{let e=new Set([9709,9716,9741,9761,9766]);for(let t=9712;t<=9713;t++)e.add(t);for(let t=9748;t<=9749;t++)e.add(t);for(let t=20904;t<=20932;t++)e.add(t);for(let t=21004;t<=21032;t++)e.add(t);for(let t=21207;t<=21264;t++)e.add(t);for(let t=21307;t<=21364;t++)e.add(t);for(let t=23301;t<=23333;t++)e.add(t);for(let t=102759;t<=102760;t++)e.add(t);for(let t=102934;t<=102955;t++)e.add(t);return e}]),s.push([10.9,()=>{let e=new Set([9300,9354,9364,9367,9373,9377,9387,9456,9473,9498,9678,9680,29874,103599,103872,104028]);for(let t=9356;t<=9360;t++)e.add(t);for(let t=9404;t<=9407;t++)e.add(t);for(let t=9476;t<=9482;t++)e.add(t);for(let t=9487;t<=9494;t++)e.add(t);for(let t=9697;t<=9699;t++)e.add(t);return e}]),s.push([10.81,()=>{let e=new Set([9265,9333,103598,103699]);for(let t=9248;t<=9254;t++)e.add(t);for(let t=9271;t<=9273;t++)e.add(t);for(let t=9284;t<=9285;t++)e.add(t);for(let t=21453;t<=21463;t++)e.add(t);return e}]),s.push([10.8,()=>{let e=new Set([8088,8395,8428,8433,8531,8687,8692,8694,8699,8900,9003,9006,9009,9012,9017,9191]);for(let t=8035;t<=8036;t++)e.add(t);for(let t=8455;t<=8456;t++)e.add(t);for(let t=8518;t<=8529;t++)e.add(t);for(let t=8533;t<=8536;t++)e.add(t);for(let t=8538;t<=8540;t++)e.add(t);for(let t=8677;t<=8679;t++)e.add(t);for(let t=8902;t<=8903;t++)e.add(t);for(let t=8907;t<=8910;t++)e.add(t);for(let t=8949;t<=8951;t++)e.add(t);for(let t=8972;t<=8987;t++)e.add(t);for(let t=9039;t<=9040;t++)e.add(t);for(let t=9068;t<=9069;t++)e.add(t);for(let t=9140;t<=9141;t++)e.add(t);for(let t=9148;t<=9150;t++)e.add(t);for(let t=9153;t<=9159;t++)e.add(t);for(let t=9205;t<=9218;t++)e.add(t);for(let t=9221;t<=9222;t++)e.add(t);for(let t=54098;t<=54101;t++)e.add(t);return e}]),s.push([10.71,()=>{let e=new Set([6316]);for(let t=8351;t<=8353;t++)e.add(t);for(let t=9294;t<=9297;t++)e.add(t);for(let t=22619;t<=22621;t++)e.add(t);for(let t=103586;t<=103594;t++)e.add(t);return e}])},22671(e,t,r){r.d(t,{A:()=>b});var i,s=r(32198),l=r(91429),a=r(66552),o=r(25482),n=r(4718),u=r(16930),p=r(60408),h=r(65864),y=r(50498),d=r(52106),m=r(20437),g=r(36005),f=r(43937);const c=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=i=class extends o.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,d.A)}writeGeometryType(e,t,r,i){if(e)return void c.write(e,t,r,i);let{features:s}=this;if(s)for(let e of s)if(null!=e?.geometry)return void c.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;let r=!!e.spatialReference,i=(0,h.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=u.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());let{features:r}=this;if(r)for(let e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,n.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){let t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){let i=t.features[r];i.geometry&&=(e?.[r])?.toJSON()||i.geometry}return t}quantize(e){let{scale:[t,r],translate:[i,s]}=e,l=this.features,a=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((s-e)/r));for(let e=0,t=l.length;e<t;e++)a?.(l[e].geometry)||(l.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){let{geometryType:e,features:t,transform:r}=this;if(!r)return this;let{translate:[i,s],scale:[l,a]}=r,o=null,n=null;if(this.hasZ&&null!=r?.scale?.[2]){let{translate:[,,e],scale:[,,t]}=r;o=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){let{translate:[,,,e],scale:[,,,t]}=r;n=r=>null==r?r:r*t+e}let u=this._getHydrationFunction(e,e=>e*l+i,e=>s-e*a,o,n);for(let{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){let i=u.A.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){let l=e[t],a=r.fromJSON(l),o=l.geometry?.spatialReference;null!=a.geometry&&!o&&(a.geometry.spatialReference=i);let n=l.aggregateGeometries,u=a.aggregateGeometries;if(n&&null!=u)for(let e in u){let t=u[e],r=n[e]?.spatialReference;null!=t&&!r&&(t.spatialReference=i)}s.push(a)}return s}_quantizePoints(e,t,r){let i,s,l=[];for(let a=0,o=e.length;a<o;a++){let o=e[a];if(a>0){let e=t(o[0]),a=r(o[1]);(e!==i||a!==s)&&(l.push([e-i,a-s]),i=e,s=a)}else i=t(o[0]),s=r(o[1]),l.push([i,s])}return l.length>0?l:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{let i=(0,p.Bi)(e)?e.rings:e.paths,s=[];for(let e=0,l=i.length;e<l;e++){let l=i[e],a=this._quantizePoints(l,t,r);a&&s.push(a)}return s.length>0?((0,p.Bi)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{let i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,s){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{let l,a,o=(0,p.Bi)(e)?e.rings:e.paths;for(let e=0,i=o.length;e<i;e++){let i=o[e];for(let e=0,s=i.length;e<s;e++){let s=i[e];e>0?(l+=s[0],a+=s[1]):(l=s[0],a=s[1]),s[0]=t(l),s[1]=r(a)}}if(i&&s)for(let e=0,t=o.length;e<t;e++){let t=o[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2]),r[3]=s(r[3])}}else if(i)for(let e=0,t=o.length;e<t;e++){let t=o[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2])}}else if(s)for(let e=0,t=o.length;e<t;e++){let t=o[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=s(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),s&&null!=e.mmax&&null!=e.mmin&&(e.mmax=s(e.mmax),e.mmin=s(e.mmin))}:"multipoint"===e?e=>{let l,a,o=e.points;for(let e=0,i=o.length;e<i;e++){let i=o[e];e>0?(l+=i[0],a+=i[1]):(l=i[0],a=i[1]),i[0]=t(l),i[1]=r(a)}if(i&&s)for(let e=0,t=o.length;e<t;e++){let t=o[e];t[2]=i(t[2]),t[3]=s(t[3])}else if(i)for(let e=0,t=o.length;e<t;e++){let t=o[e];t[2]=i(t[2])}else if(s)for(let e=0,t=o.length;e<t;e++){let t=o[e];t[2]=s(t[2])}}:null}};(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,s.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,s.Cg)([(0,l.MZ)({type:[d.A],json:{write:!0}})],b.prototype,"features",void 0),(0,s.Cg)([(0,g.w)("features")],b.prototype,"readFeatures",null),(0,s.Cg)([(0,l.MZ)({type:[m.A],json:{write:!0}})],b.prototype,"fields",void 0),(0,s.Cg)([(0,l.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:c.read}}})],b.prototype,"geometryType",void 0),(0,s.Cg)([(0,f.K)("geometryType")],b.prototype,"writeGeometryType",null),(0,s.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,s.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,s.Cg)([(0,l.MZ)({types:y.yR,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,s.Cg)([(0,g.w)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,s.Cg)([(0,l.MZ)({type:u.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,s.Cg)([(0,f.K)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,s.Cg)([(0,l.MZ)({json:{write:!0}})],b.prototype,"transform",void 0),b=i=(0,s.Cg)([(0,l.$K)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0},2272(e,t,r){r.d(t,{Dl:()=>u,gf:()=>h,jV:()=>n,lF:()=>p});var i=r(92602),s=r(4718),l=r(84952),a=r(70333),o=r(926);function n(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,l.An)(e):(0,s.o8)(e)}function p(e,t,r){let i={};for(let s in e){if("declaredClass"===s)continue;let l=e[s];if(null!=l&&"function"!=typeof l)if(Array.isArray(l))i[s]=l.map(e=>p(e));else if("object"==typeof l)if(l.toJSON){let e=l.toJSON(r?.[s]);i[s]=t?e:JSON.stringify(e)}else i[s]=t?l:JSON.stringify(l);else i[s]=l}return i}async function h(e,t,s){return function(e,t){return e?t&&(0,o.Qc)(e)?t:(0,o.getApiKey)(e)??a.id?.findCredential(e)?.token:null}(e,t)||(!a.id&&i.A.request.useIdentity&&await Promise.all([r.e(8673),r.e(7956),r.e(4189)]).then(()=>r(98232)),(await a.id.getCredential(e,s))?.token)}}}]);
1
+ "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[6023],{52106(e,t,r){r.d(t,{A:()=>C});var i,s,l=r(32198),a=r(91429),o=r(69540),n=r(51447),u=r(25482),p=r(53966),h=r(36708),y=r(12195),d=r(24326),m=r(65864),g=r(50498),f=r(55156),c=r(60950),b=r(54339),v=r(40124),M=r(94128),x=r(33910);const S=Symbol("meshGeometryHandles");function w(e){if(null==e)return null;let t={};for(let r in e){let i=e[r];i&&(t[r]=i.toJSON())}return 0===Object.keys(t).length?null:t}let C=class extends((0,o.OU)(u.o)){static{i=M.Z}static{s=this}constructor(e){super(e),this[i]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperties(this,{uid:{value:(0,d.c)(),configurable:!0},_lastMeshTransform:{value:{},configurable:!0,writable:!0,enumerable:!1}}),arguments.length>1&&(0,n.eF)(p.A.getLogger(this),"Graphic",{version:"4.30"})}set aggregateGeometries(e){let t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){let t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){let t=this._get("geometry");t!==e&&(this._set("geometry",e),this._watchMeshGeometryChanges(),this._notifyLayer("geometry",t,e))}set popupTemplate(e){let t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){let t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){let t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new s({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;let t=(0,c.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;let r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(let t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){let r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){let e=(0,f.I)(this.origin);if(e)return(0,b.r)(this,e);let t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){let e=(0,f.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);let t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){let e={aggregateGeometries:w(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,y.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){let{geometry:t}=this;if("mesh"===t?.type){let r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;let s={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(s.action=i),"attributes"===e&&(s.attributeName=i),this.layer.graphicChanged(s)}_watchMeshGeometryChanges(){this.removeHandles(S);let e=this.geometry;"mesh"===e?.type&&this.addHandles([(0,h.z7)(()=>e.vertexSpace.origin?{localMatrix:e.transform?.localMatrix,origin:e.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{(this._lastMeshTransform.localMatrix!==e||this._lastMeshTransform.origin!==t)&&(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,h.z7)(()=>({vertexAttributes:e.vertexAttributes}),()=>{e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",e,e)},{equals:(e,t)=>e===t,sync:!0})],S)}};(0,l.Cg)([(0,a.MZ)({value:null,json:{read:function(e){if(!e)return null;let t={};for(let r in e){let i=(0,m.rS)(e[r]);i&&(t[r]=i)}return 0===Object.keys(t).length?null:t}}})],C.prototype,"aggregateGeometries",null),(0,l.Cg)([(0,a.MZ)({value:null})],C.prototype,"attributes",null),(0,l.Cg)([(0,a.MZ)({value:null,types:g.yR,json:{read:m.rS}})],C.prototype,"geometry",null),(0,l.Cg)([(0,a.MZ)()],C.prototype,"distance",void 0),(0,l.Cg)([(0,a.MZ)({type:Boolean})],C.prototype,"isAggregate",void 0),(0,l.Cg)([(0,a.MZ)({clonable:!1})],C.prototype,"layer",void 0),(0,l.Cg)([(0,a.MZ)({clonable:"reference"})],C.prototype,"origin",void 0),(0,l.Cg)([(0,a.MZ)({type:v.A,value:null})],C.prototype,"popupTemplate",null),(0,l.Cg)([(0,a.MZ)({clonable:"reference"})],C.prototype,"sourceLayer",void 0),(0,l.Cg)([(0,a.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],C.prototype,"statisticsAggregatedIds",void 0),(0,l.Cg)([(0,a.MZ)({value:null,types:x.Es})],C.prototype,"symbol",null),(0,l.Cg)([(0,a.MZ)({clonable:!1,json:{read:!1,write:!1}})],C.prototype,"_version",void 0),(0,l.Cg)([(0,a.MZ)({type:Boolean,value:!0})],C.prototype,"visible",null),C=s=(0,l.Cg)([(0,a.$K)("esri.Graphic")],C)},69052(e,t,r){r.d(t,{hr:()=>s});var i=r(34727);class s{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,r=!1){return l(this.range,this.min,this.max,e,t,r)}clamp(e,t=0){return(0,i.qE)(e-t,this.min,this.max)+t}monotonic(e,t,r){return e<t?t:t+a(this.range,e-t,r)}minimalMonotonic(e,t,r){return l(this.range,e,e+this.range,t,r)}center(e,t,r){return t=this.monotonic(e,t,r),this.normalize((e+t)/2,r)}diff(e,t,r){return this.monotonic(e,t,r)-e}shortestSignedDiff(e,t){e=this.normalize(e);let r=(t=this.normalize(t))-e,i=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(r)<Math.abs(i)?r:i}contains(e,t,r){return t=this.minimalMonotonic(e,t),(r=this.minimalMonotonic(e,r))>e&&r<t}}function l(e,t,r,i,s=0,l=!1){return(i-=s)<t?i+=a(e,t-i):i>r&&(i-=a(e,i-r)),l&&i===r&&(i=t),i+s}function a(e,t,r=0){return Math.ceil((t-r)/e)*e+r}const o=new s(0,2*Math.PI),n=(new s(-Math.PI,Math.PI),new s(0,360));r.d(t,["ie",0,n,"uC",0,o])},18370(e,t,r){r.d(t,{z:()=>s});class i{constructor(e){this._import=e,this.module=null,this._promise=null}getImportPromise(){return this._promise??=this._import().then(async e=>(this.module=e,e)),this._promise}}function s(e){return new i(e)}},52039(e,t,r){r.d(t,{O7:()=>y,Y_:()=>m,el:()=>u});var i=r(69052),s=(r(49186),r(18370)),l=r(17676),a=(r(5443),r(39829)),o=(r(82799),r(16930)),n=(r(80754),r(21325));async function u(e,t,r){Array.isArray(e)||(e=[e]),"object"==typeof t&&t&&"authMode"in t&&(r=t);let i=null;for(let t of e)i??=t?.spatialReference;if(!i)return e;let s=(0,n.Vp)(i);if(!s)return e;if(1===e.length&&"extent"===e[0]?.type){let t=e[0].clone().normalizeAsSingleGeometry(s);return["xmin"in t?t:new a.A(t)]}let[o,u]=s.valid,y=!1;for(let t of e){if(!t)continue;if("point"===t.type){y||=t.x>=u,y||=t.x<=o;continue}let{extent:e}=t;if(null==e){y=!0;break}y||=e.xmin>=u,y||=e.xmin<=o,y||=e.xmax>=u,y||=e.xmax<=o}if(!y)return e;let[{foldInto360Range:d},m]=await(0,l.qr)(Promise.all([p.getImportPromise(),h.getImportPromise()]),r),g=m.fromSpatialReference(i);return e.map(e=>{if(null==e||"mesh"===e.type)return e;let t=m.fromGeometry(e),r=m.toGeometry(d(t,g),i);return"extent"===e.type&&1===r?.rings.length?r.extent:r})}const p=(0,s.z)(()=>r.e(4144).then(()=>r(4144)).then(e=>e.load().then(()=>e))),h=(0,s.z)(()=>Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(3299),r.e(1550)]).then(()=>r(78125)));function y(e,t,r){let i=(0,n.Vp)(r);if(null==i)return e;let[s,l]=i.valid,a=2*l,o=0,u=0;t>l?o=Math.ceil(Math.abs(t-l)/a):t<s&&(o=-Math.ceil(Math.abs(t-s)/a)),e>l?u=Math.ceil(Math.abs(e-l)/a):e<s&&(u=-Math.ceil(Math.abs(e-s)/a));let p=e+(o-u)*a,h=p-t;return h>l?p-=a:h<s&&(p+=a),p}function d(e){let t=(0,n.Vp)(e);if(null==t)return null;let[r,s]=t.valid;return new i.hr(r,s)}const m=d(o.A.WGS84);d(o.A.WebMercator)},80754(e,t,r){r.d(t,{j7:()=>o,kS:()=>u,kd:()=>n});var i=r(82799),s=r(16930),l=r(52006),a=r(60408);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator}),minus180Line:new i.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.A({paths:[[[180,-180],[180,180]]],spatialReference:s.A.WGS84}),minus180Line:new i.A({paths:[[[-180,-180],[-180,180]]],spatialReference:s.A.WGS84})}};function n(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,l.Ed)(e))for(let r of function(e){return(0,a.Bi)(e)?e.curveRings:e.curvePaths}(e))for(let e of r)if((0,l.aO)(e)){let[r,i]=e.c;r[0]+=t,i[0]+=t}else if((0,l.FG)(e)){let[r,i]=e.a;r[0]+=t,i[0]+=t}else if((0,l.n1)(e)){let[r,i,s]=e.b;r[0]+=t,i[0]+=t,s[0]+=t}else e[0]+=t;for(let r of function(e){return(0,a.Bi)(e)?e.rings:e.paths}(e))for(let e of r)e[0]+=t;return e}},55156(e,t,r){r.d(t,{I:()=>s});const i=Symbol("idFieldsProviderSymbol");function s(e){return(t=e)&&i in t?e[i]:void 0;var t}r.d(t,["e",0,i])},7656(e,t,r){r.r(t),r.d(t,{default:()=>B});var i=r(32198),s=r(91429),l=r(56507),a=r(35666),o=r(7762),n=r(49186),u=r(81583),p=r(34727),h=r(25728),y=r(17676),d=r(5443),m=r(83960),g=r(21325),f=r(78888),c=r(88625),b=r(79677),v=r(56400),M=r(4146),x=r(52136),S=r(98534),w=r(18768),C=r(63074),I=r(69208),A=r(34287),O=r(8303),_=r(54310),Z=r(25036),T=r(91921),P=r(82935),L=r(10873),N=r(56372),F=r(39516);function j(e,t){return"floorInfo"in t&&t.floorInfo?.floorField?function(e,t){if(!e?.length)return null;let r=e.filter(e=>""!==e).map(e=>`'${e}'`);return r.push("''"),`${t} IN (${r.join(",")}) OR ${t} IS NULL`}(e,t.floorInfo.floorField):null}var R=r(63389);const J={visible:"visibleSublayers",definitionExpression:"layerDefs",labelingInfo:"hasDynamicLayers",labelsVisible:"hasDynamicLayers",opacity:"hasDynamicLayers",minScale:"visibleSublayers",maxScale:"visibleSublayers",renderer:"hasDynamicLayers",source:"hasDynamicLayers"};let G=class extends N.A{constructor(e){super(e),this.floors=null,this.scale=0}destroy(){this.layer=null}get dynamicLayers(){if(!this.hasDynamicLayers)return null;let e=this.visibleSublayers.map(e=>{let t=j(this.floors,e);return e.toExportImageJSON(t)});return e.length?JSON.stringify(e):null}get hasDynamicLayers(){return this.layer&&(0,R.Sk)(this.visibleSublayers,this.layer.serviceSublayers,this.layer.gdbVersion)}set layer(e){this._get("layer")!==e&&(this._set("layer",e),this.removeHandles("layer"),e&&this.addHandles([e.allSublayers.on("change",()=>this.notifyChange("visibleSublayers")),e.on("sublayer-update",e=>this.notifyChange(J[e.propertyName]))],"layer"))}get layers(){let e=this.visibleSublayers;return e?e.length?"show:"+e.map(e=>e.id).join(","):"show:-1":null}get layerDefs(){let e=!!this.floors?.length,t=this.visibleSublayers.filter(t=>null!=t.definitionExpression||e&&null!=t.floorInfo);return t.length?JSON.stringify(t.reduce((e,t)=>{let r=j(this.floors,t),i=(0,F.mA)(r,t.definitionExpression);return null!=i&&(e[t.id]=i),e},{})):null}get version(){this.commitProperty("layers"),this.commitProperty("layerDefs"),this.commitProperty("dynamicLayers");let e=this.layer;return e&&(e.commitProperty("dpi"),e.commitProperty("imageFormat"),e.commitProperty("imageTransparency"),e.commitProperty("gdbVersion")),(this._get("version")||0)+1}get visibleSublayers(){let e=[];if(!this.layer)return e;let t=this.layer.sublayers,r=this.scale,i=t=>{t.visible&&(0===r||(0,m.zx)(r,t.minScale,t.maxScale))&&(t.sublayers?t.sublayers.forEach(i):e.unshift(t))};t?.forEach(i);let s=this._get("visibleSublayers");return!s||s.length!==e.length||s.some((t,r)=>e[r]!==t)?e:s}toJSON(){let e=this.layer,t={dpi:e.dpi,format:e.imageFormat,transparent:e.imageTransparency,gdbVersion:e.gdbVersion||null};return this.hasDynamicLayers&&this.dynamicLayers?t.dynamicLayers=this.dynamicLayers:t={...t,layers:this.layers,layerDefs:this.layerDefs},t}};(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"dynamicLayers",null),(0,i.Cg)([(0,s.MZ)()],G.prototype,"floors",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"hasDynamicLayers",null),(0,i.Cg)([(0,s.MZ)()],G.prototype,"layer",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"layers",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"layerDefs",null),(0,i.Cg)([(0,s.MZ)({type:Number})],G.prototype,"scale",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"version",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],G.prototype,"visibleSublayers",null),G=(0,i.Cg)([(0,s.$K)("esri.layers.support.ExportImageParameters")],G);var q=r(33446),z=r(15775),E=r(91908),D=r(36005),k=r(43937);let V=class extends((0,C.dM)((0,P.e)((0,Z.j)((0,T.I)((0,S.V)((0,w.b)((0,A.q)((0,O.A)((0,h.M)((0,_.J)((0,x.p)((0,I.d)(M.A))))))))))))){constructor(e){super(e),this._exportImageParameters=new G({layer:this}),this.dateFieldsTimeZone=null,this.datesInUnknownTimezone=!1,this.dpi=96,this.elevationInfo=new c.A({mode:"on-the-ground"}),this.gdbVersion=null,this.imageFormat="png24",this.imageMaxHeight=2048,this.imageMaxWidth=2048,this.imageTransparency=!0,this.isReference=null,this.labelsVisible=!1,this.operationalLayerType="ArcGISMapServiceLayer",this.preferredTimeZone=null,this.sourceJSON=null,this.sublayers=null,this.type="map-image",this.url=null,this._debouncedSaveOperations=(0,y.sg)(async(e,t,i)=>{let{save:s,saveAs:l}=await r.e(390).then(()=>r(10390));switch(e){case 0:return s(this,t);case 1:return l(this,i,t)}})}load(e){let t=null==e?null:e.signal;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service"]},e).catch(y.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}destroy(){this._exportImageParameters.destroy()}readImageFormat(e,t){let r=t.supportedImageFormatTypes;return r&&r.includes("PNG32")?"png32":"png24"}get loaded(){return super.loaded}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}writeSublayers(e,t,r,i){if(!this.loaded||!e)return;let s,l=e.slice().reverse().flatten(({sublayers:e})=>e&&e.toArray().reverse()).toArray(),o=!1,n=(0,a.aB)(i.origin);if(this.capabilities?.operations.supportsExportMap&&this.capabilities?.exportMap?.supportsDynamicLayers)if(3===n){let e=this.createSublayersForOrigin("service").sublayers;o=(0,R.Zx)(l,e,2)}else if(n>3){let e=this.createSublayersForOrigin("portal-item");o=(0,R.Zx)(l,e.sublayers,(0,a.aB)(e.origin)),s=e.originWithPartialOverrides}let u=[],p={writeSublayerStructure:o,...i,minimumWritableOrigin:s},h=o||this.hasVisibleLayersForOrigin(n);l.forEach(e=>{let t=e.write({},p);u.push(t),h||="user"===e.originOf("visible")}),u.some(e=>Object.keys(e).length>1)&&(t.layers=u),h&&(t.visibleLayers=l.filter(e=>e.visible).map(e=>e.id))}createExportImageParameters(e,t,r,i){let s=i?.pixelRatio??1;e&&this.version>=10&&(e=e.clone().shiftCentralMeridian()),this._exportImageParameters.floors=i?.floors??null,this._exportImageParameters.scale=i?.scale??(0,m.X_)({extent:e,width:t})*s;let l=this._exportImageParameters.toJSON(),a=!i?.rotation||this.version<10.3?{}:{rotation:-i.rotation},o=e?.spatialReference,n=(0,g.YX)(o),u=this._exportImageParameters.scale/(0,m.X_)({extent:e,width:t});u=(0,p.Sp)(u,s)?s:u,l.dpi*=u;let h={};if(i?.timeExtent){let{start:e,end:t}=i.timeExtent.toJSON();h.time=e&&t&&e===t?""+e:`${e??"null"},${t??"null"}`}else this.timeInfo&&!this.timeInfo.hasLiveData&&(h.time="null,null");return{bbox:e?e.xmin+","+e.ymin+","+e.xmax+","+e.ymax:void 0,bboxSR:n,imageSR:n,size:t+","+r,mapScale:this._exportImageParameters.scale,...l,...a,...h}}async fetchImage(e,t,r,i){let{data:s}=await this._fetchImage("image",e,t,r,i);return s}async fetchImageBitmap(e,t,r,i){let{data:s,url:l}=await this._fetchImage("blob",e,t,r,i);return(0,q.mn)(s,l,i)}async fetchRecomputedExtents(e={}){let t={...e,query:{returnUpdates:!0,f:"json",...this.customParameters,token:this.apiKey}},{data:r}=await(0,f.A)(this.url,t),{extent:i,fullExtent:s,timeExtent:l}=r,a=i||s;return{fullExtent:a&&d.A.fromJSON(a),timeExtent:l&&b.A.fromJSON({start:l[0],end:l[1]})}}loadAll(){return(0,u.g)(this,e=>{e(this.allSublayers),e(this.subtables)})}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}serviceSupportsSpatialReference(e){return(0,E.D)(this,e)}async _fetchImage(e,t,r,i,s){let l={responseType:e,signal:s?.signal??null,query:{...this.parsedUrl.query,...this.createExportImageParameters(t,r,i,s),f:"image",...this.refreshParameters,...this.customParameters,token:this.apiKey}},a=this.parsedUrl.path+"/export";if(null!=l.query?.dynamicLayers&&!this.capabilities?.exportMap?.supportsDynamicLayers)throw new n.A("mapimagelayer:dynamiclayer-not-supported",`service ${this.url} doesn't support dynamic layers, which is required to be able to change the sublayer's order, rendering, labeling or source.`,{query:l.query});try{let{data:e}=await(0,f.A)(a,l);return{data:e,url:a}}catch(e){throw(0,y.zf)(e)?e:new n.A("mapimagelayer:image-fetch-error",`Unable to load image: ${a}`,{error:e})}}async _fetchService(e){if(this.sourceJSON)return void this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl});let{data:t,ssl:r}=await(0,f.A)(this.parsedUrl.path,{query:{f:"json",...this.parsedUrl.query,...this.customParameters,token:this.apiKey},signal:e});r&&(this.url=this.url.replace(/^http:/i,"https:")),this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})}hasVisibleLayersForOrigin(e){return!(null==e||!this.sublayersSourceJSON[e]?.visibleLayers)}};(0,i.Cg)([(0,s.MZ)((0,v.P6)("dateFieldsTimeReference"))],V.prototype,"dateFieldsTimeZone",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean})],V.prototype,"datesInUnknownTimezone",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"dpi",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"imageFormat",void 0),(0,i.Cg)([(0,D.w)("imageFormat",["supportedImageFormatTypes"])],V.prototype,"readImageFormat",null),(0,i.Cg)([(0,s.MZ)({json:{origins:{service:{read:{source:"maxImageHeight"}}}}})],V.prototype,"imageMaxHeight",void 0),(0,i.Cg)([(0,s.MZ)({json:{origins:{service:{read:{source:"maxImageWidth"}}}}})],V.prototype,"imageMaxWidth",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"imageTransparency",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],V.prototype,"isReference",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],V.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,s.MZ)({type:["ArcGISMapServiceLayer"]})],V.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],V.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,s.MZ)((0,v.P6)("preferredTimeReference"))],V.prototype,"preferredTimeZone",void 0),(0,i.Cg)([(0,s.MZ)()],V.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,s.MZ)({type:o.A.ofType(z.A),json:{write:{ignoreOrigin:!0}}})],V.prototype,"sublayers",void 0),(0,i.Cg)([(0,k.K)("sublayers",{layers:{type:[z.A]},visibleLayers:{type:[l.jz]}})],V.prototype,"writeSublayers",null),(0,i.Cg)([(0,s.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],V.prototype,"listMode",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1},readOnly:!0,value:"map-image"})],V.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)(L.OZ)],V.prototype,"url",void 0),V=(0,i.Cg)([(0,s.$K)("esri.layers.MapImageLayer")],V);const B=V},54339(e,t,r){function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{let r=[];for(let i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function s(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];let r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>s})},82935(e,t,r){var i=r(32198),s=r(91429),l=r(73133),a=r(79677),o=r(10184),n=r(30524),u=r(96184),p=r(36005);const h={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"}}};r.d(t,["B",0,h,"e",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){let r=t.timeInfo.exportOptions;if(!r)return null;let i=r.timeOffset,s=l.j.fromJSON(r.timeOffsetUnits);return i&&s?new o.A({value:i,unit:s}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,n.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i.Cg)([(0,s.MZ)({type:a.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,i.Cg)([(0,s.MZ)({type:o.A})],r.prototype,"timeOffset",void 0),(0,i.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,i.Cg)([(0,s.MZ)({value:null,type:u.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,i.Cg)([(0,s.MZ)(h)],r.prototype,"useViewTime",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.TemporalLayer")],r),r}])},91908(e,t,r){r.d(t,{D:()=>l});var i=r(60694);const s=[];function l(e,t){if((0,i.Wo)(e.url??""))return!0;let{wkid:r}=t;for(let t of s){if((e.version??0)>=t[0])return!0;if("function"==typeof t[1]&&(t[1]=t[1]()),t[1].has(r))return!1}return!0}s.push([10.91,()=>{let e=new Set([9709,9716,9741,9761,9766]);for(let t=9712;t<=9713;t++)e.add(t);for(let t=9748;t<=9749;t++)e.add(t);for(let t=20904;t<=20932;t++)e.add(t);for(let t=21004;t<=21032;t++)e.add(t);for(let t=21207;t<=21264;t++)e.add(t);for(let t=21307;t<=21364;t++)e.add(t);for(let t=23301;t<=23333;t++)e.add(t);for(let t=102759;t<=102760;t++)e.add(t);for(let t=102934;t<=102955;t++)e.add(t);return e}]),s.push([10.9,()=>{let e=new Set([9300,9354,9364,9367,9373,9377,9387,9456,9473,9498,9678,9680,29874,103599,103872,104028]);for(let t=9356;t<=9360;t++)e.add(t);for(let t=9404;t<=9407;t++)e.add(t);for(let t=9476;t<=9482;t++)e.add(t);for(let t=9487;t<=9494;t++)e.add(t);for(let t=9697;t<=9699;t++)e.add(t);return e}]),s.push([10.81,()=>{let e=new Set([9265,9333,103598,103699]);for(let t=9248;t<=9254;t++)e.add(t);for(let t=9271;t<=9273;t++)e.add(t);for(let t=9284;t<=9285;t++)e.add(t);for(let t=21453;t<=21463;t++)e.add(t);return e}]),s.push([10.8,()=>{let e=new Set([8088,8395,8428,8433,8531,8687,8692,8694,8699,8900,9003,9006,9009,9012,9017,9191]);for(let t=8035;t<=8036;t++)e.add(t);for(let t=8455;t<=8456;t++)e.add(t);for(let t=8518;t<=8529;t++)e.add(t);for(let t=8533;t<=8536;t++)e.add(t);for(let t=8538;t<=8540;t++)e.add(t);for(let t=8677;t<=8679;t++)e.add(t);for(let t=8902;t<=8903;t++)e.add(t);for(let t=8907;t<=8910;t++)e.add(t);for(let t=8949;t<=8951;t++)e.add(t);for(let t=8972;t<=8987;t++)e.add(t);for(let t=9039;t<=9040;t++)e.add(t);for(let t=9068;t<=9069;t++)e.add(t);for(let t=9140;t<=9141;t++)e.add(t);for(let t=9148;t<=9150;t++)e.add(t);for(let t=9153;t<=9159;t++)e.add(t);for(let t=9205;t<=9218;t++)e.add(t);for(let t=9221;t<=9222;t++)e.add(t);for(let t=54098;t<=54101;t++)e.add(t);return e}]),s.push([10.71,()=>{let e=new Set([6316]);for(let t=8351;t<=8353;t++)e.add(t);for(let t=9294;t<=9297;t++)e.add(t);for(let t=22619;t<=22621;t++)e.add(t);for(let t=103586;t<=103594;t++)e.add(t);return e}])},22671(e,t,r){r.d(t,{A:()=>b});var i,s=r(32198),l=r(91429),a=r(66552),o=r(25482),n=r(4718),u=r(16930),p=r(60408),h=r(65864),y=r(50498),d=r(52106),m=r(20437),g=r(36005),f=r(43937);const c=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=i=class extends o.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,d.A)}writeGeometryType(e,t,r,i){if(e)return void c.write(e,t,r,i);let{features:s}=this;if(s)for(let e of s)if(null!=e?.geometry)return void c.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;let r=!!e.spatialReference,i=(0,h.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=u.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());let{features:r}=this;if(r)for(let e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,n.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){let t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){let i=t.features[r];i.geometry&&=(e?.[r])?.toJSON()||i.geometry}return t}quantize(e){let{scale:[t,r],translate:[i,s]}=e,l=this.features,a=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((s-e)/r));for(let e=0,t=l.length;e<t;e++)a?.(l[e].geometry)||(l.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){let{geometryType:e,features:t,transform:r}=this;if(!r)return this;let{translate:[i,s],scale:[l,a]}=r,o=null,n=null;if(this.hasZ&&null!=r?.scale?.[2]){let{translate:[,,e],scale:[,,t]}=r;o=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){let{translate:[,,,e],scale:[,,,t]}=r;n=r=>null==r?r:r*t+e}let u=this._getHydrationFunction(e,e=>e*l+i,e=>s-e*a,o,n);for(let{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){let i=u.A.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){let l=e[t],a=r.fromJSON(l),o=l.geometry?.spatialReference;null!=a.geometry&&!o&&(a.geometry.spatialReference=i);let n=l.aggregateGeometries,u=a.aggregateGeometries;if(n&&null!=u)for(let e in u){let t=u[e],r=n[e]?.spatialReference;null!=t&&!r&&(t.spatialReference=i)}s.push(a)}return s}_quantizePoints(e,t,r){let i,s,l=[];for(let a=0,o=e.length;a<o;a++){let o=e[a];if(a>0){let e=t(o[0]),a=r(o[1]);(e!==i||a!==s)&&(l.push([e-i,a-s]),i=e,s=a)}else i=t(o[0]),s=r(o[1]),l.push([i,s])}return l.length>0?l:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{let i=(0,p.Bi)(e)?e.rings:e.paths,s=[];for(let e=0,l=i.length;e<l;e++){let l=i[e],a=this._quantizePoints(l,t,r);a&&s.push(a)}return s.length>0?((0,p.Bi)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{let i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,s){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{let l,a,o=(0,p.Bi)(e)?e.rings:e.paths;for(let e=0,i=o.length;e<i;e++){let i=o[e];for(let e=0,s=i.length;e<s;e++){let s=i[e];e>0?(l+=s[0],a+=s[1]):(l=s[0],a=s[1]),s[0]=t(l),s[1]=r(a)}}if(i&&s)for(let e=0,t=o.length;e<t;e++){let t=o[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2]),r[3]=s(r[3])}}else if(i)for(let e=0,t=o.length;e<t;e++){let t=o[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2])}}else if(s)for(let e=0,t=o.length;e<t;e++){let t=o[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=s(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),s&&null!=e.mmax&&null!=e.mmin&&(e.mmax=s(e.mmax),e.mmin=s(e.mmin))}:"multipoint"===e?e=>{let l,a,o=e.points;for(let e=0,i=o.length;e<i;e++){let i=o[e];e>0?(l+=i[0],a+=i[1]):(l=i[0],a=i[1]),i[0]=t(l),i[1]=r(a)}if(i&&s)for(let e=0,t=o.length;e<t;e++){let t=o[e];t[2]=i(t[2]),t[3]=s(t[3])}else if(i)for(let e=0,t=o.length;e<t;e++){let t=o[e];t[2]=i(t[2])}else if(s)for(let e=0,t=o.length;e<t;e++){let t=o[e];t[2]=s(t[2])}}:null}};(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,s.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,s.Cg)([(0,l.MZ)({type:[d.A],json:{write:!0}})],b.prototype,"features",void 0),(0,s.Cg)([(0,g.w)("features")],b.prototype,"readFeatures",null),(0,s.Cg)([(0,l.MZ)({type:[m.A],json:{write:!0}})],b.prototype,"fields",void 0),(0,s.Cg)([(0,l.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:c.read}}})],b.prototype,"geometryType",void 0),(0,s.Cg)([(0,f.K)("geometryType")],b.prototype,"writeGeometryType",null),(0,s.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,s.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,s.Cg)([(0,l.MZ)({types:y.yR,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,s.Cg)([(0,g.w)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,s.Cg)([(0,l.MZ)({type:u.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,s.Cg)([(0,f.K)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,s.Cg)([(0,l.MZ)({json:{write:!0}})],b.prototype,"transform",void 0),b=i=(0,s.Cg)([(0,l.$K)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0},2272(e,t,r){r.d(t,{Dl:()=>u,gf:()=>h,jV:()=>n,lF:()=>p});var i=r(92602),s=r(4718),l=r(84952),a=r(70333),o=r(926);function n(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,l.An)(e):(0,s.o8)(e)}function p(e,t,r){let i={};for(let s in e){if("declaredClass"===s)continue;let l=e[s];if(null!=l&&"function"!=typeof l)if(Array.isArray(l))i[s]=l.map(e=>p(e));else if("object"==typeof l)if(l.toJSON){let e=l.toJSON(r?.[s]);i[s]=t?e:JSON.stringify(e)}else i[s]=t?l:JSON.stringify(l);else i[s]=l}return i}async function h(e,t,s){return function(e,t){return e?t&&(0,o.Qc)(e)?t:(0,o.getApiKey)(e)??a.id?.findCredential(e)?.token:null}(e,t)||(!a.id&&i.A.request.useIdentity&&await Promise.all([r.e(8673),r.e(37),r.e(4189)]).then(()=>r(98232)),(await a.id.getCredential(e,s))?.token)}}}]);
@@ -1 +1 @@
1
- "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[9358],{56372(e,t,r){r.d(t,{A:()=>P});var i=r(56454),n=r(10107),s=r(64108),o=r(16649),a=r(85537),l=r(96156),u=(r(44208),r(4718)),c=r(53966),h=r(93687),f=r(30801),d=r(62788),p=r(47328),y=r(67867);const g=new WeakMap;class _ extends f.T{get trackingTarget(){return this._trackingTarget??=new y.R(this)}constructor(e,t){super(),this.propertyName=e,this.metadata=t,this.flags=function(e){let t=g.get(e);if(null!=t)return t;let r=p.i.Dirty|(e.nonNullable?p.i.NonNullable:0)|(e.hasOwnProperty("value")?p.i.HasDefaultValue:0)|(void 0===e.get?p.i.DepTrackingInitialized:0)|(void 0===e.dependsOn?p.i.AutoTracked:0);return g.set(e,r),r}(t)}destroy(){this.flags&p.i.Dirty&&this.onCommitted(),super.destroy(),this._trackingTarget?.destroy()}getComputed(e,t){e.mutable&&(0,d.gc)(this);let r=e.store,i=this.propertyName,n=this.flags,s=r.get(i);if(n&p.i.Computing||!(n&p.i.Dirty)&&r.has(i))return s;this.flags|=p.i.Computing;let o,{host:a}=e;n&p.i.AutoTracked?o=(0,d.a)(this.trackingTarget,t,a):((0,d.Xr)(a,this),o=t.call(a)),this.flags|=p.i.DepTrackingInitialized,r.set(i,o,1);let l=r.get(i);return l===s?this.flags&=~p.i.Dirty:(0,d.F_)(this.commit,this),this.flags&=~p.i.Computing,l}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~p.i.Dirty,this.onCommitted()}onInvalidated(){~this.flags&p.i.Overridden&&(this.flags|=p.i.Dirty);let e=this._observers;if(e&&e.length>0)for(let t of e)t.onInvalidated()}onCommitted(){let e=this._observers;if(e&&e.length>0){if(1===e.length)return void e[0].onCommitted();let t=e.slice();for(let e of t)e.onCommitted()}}}var v=r(35666);class m{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new m;return this._values.forEach((r,i)=>{e&&e.has(i)||t.set(i,(0,u.o8)(r))}),t}get(e){return this._values.get(e)}originOf(){return 7}keys(){return[...this._values.keys()]}set(e,t){this._values.set(e,t)}delete(e){this._values.delete(e)}has(e){return this._values.has(e)}isAtOrigin(e,t){return this.has(e)}isBelowOrigin(e,t){return!this.has(e)}forEach(e){this._values.forEach(e)}}function w(e,t,r){return void 0!==e}function b(e,t,r,i){return!(void 0===e||null==r&&e.flags&p.i.NonNullable&&(i.lifecycle,a.v.INITIALIZING,1))}class A{constructor(e){this.host=e,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=a.v.INITIALIZING,this.store=new m,this.mutable=!0,this._origin=7;let t=this.host.constructor.__accessorMetadata__;for(let e in t){let r=new _(e,t[e]);this.propertiesByName.set(e,r)}this.metadata=t}initialize(){this.lifecycle=a.v.CONSTRUCTING}constructed(){this.lifecycle=a.v.CONSTRUCTED}destroy(){this.lifecycle=a.v.DESTROYED,this.propertiesByName.forEach(e=>e.destroy())}get initialized(){return this.lifecycle!==a.v.INITIALIZING}get(e){let t=this.propertiesByName.get(e);if(!w(t))return;let r=t.metadata.get;if(r)return t.getComputed(this,r);this.mutable&&(0,d.gc)(t);let i=this.store;return i.has(e)?i.get(e):t.metadata.value}originOf(e){let t=this.store.originOf(e);if(void 0===t){let t=this.propertiesByName.get(e);if(void 0!==t&&t.flags&p.i.HasDefaultValue)return"defaults"}return(0,v.OL)(t)}has(e){return this.propertiesByName.has(e)&&this.store.has(e)}keys(){return[...this.propertiesByName.keys()]}internalGet(e){let t=this.propertiesByName.get(e);if(w(t))return this.store.has(e)?this.store.get(e):t.metadata.value}internalSet(e,t){let r=this.propertiesByName.get(e);w(r)&&this._internalSet(r,t)}getDependsInfo(e,t,r){let i=this.propertiesByName.get(t);if(!w(i))return"";let n=new y.R,s=(0,d.a)(n,()=>i.metadata.get?.call(e)),o=`${r}${e.declaredClass.split(".").pop()}.${t}: ${s}\n`,a=n.accessed??new Set;if(0===a.size)return o;r+=" ";for(let e of a)e instanceof _&&(o+=`${r}${e.propertyName}: undefined\n`);return o}setAtOrigin(e,t,r){let i=this.propertiesByName.get(e);if(w(i))return this._setAtOrigin(i,t,r)}isOverridden(e){let t=this.propertiesByName.get(e);return void 0!==t&&!!(t.flags&p.i.Overridden)}clearOrigin(e,t){let r=this.store,i=this.propertiesByName.get(e);if(!w(i))return;let n=r.isAtOrigin(e,t)&&!(i.flags&p.i.Overridden);r.delete(e,t),n&&i.notifyChange()}clearOverride(e){let t=this.propertiesByName.get(e);t&&t.flags&p.i.Overridden&&(t.flags&=~p.i.Overridden,t.notifyChange())}override(e,t){let r=this.propertiesByName.get(e);if(!b(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(N.release(e),!r)return;t=n}r.flags|=p.i.Overridden,this._internalSet(r,t)}set(e,t){let r=this.propertiesByName.get(e);if(!b(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(N.release(e),!r)return;t=n}let n=r.metadata.set;n?n.call(this.host,t):this._internalSet(r,t)}setDefaultOrigin(e){this._origin=(0,v.aB)(e)}getDefaultOrigin(){return(0,v.OL)(this._origin)}notifyChange(e){this.propertiesByName.get(e)?.notifyChange()}invalidate(e){this.propertiesByName.get(e)?.invalidate()}commit(e){this.propertiesByName.get(e)?.commit()}_internalSet(e,t){let r=this.lifecycle===a.v.INITIALIZING?0:this._origin;this._setAtOrigin(e,t,r)}_setAtOrigin(e,t,r){let i=this.store,n=e.propertyName,s=i.isAtOrigin(n,r);if(s&&~e.flags&p.i.Overridden&&(0,u.aI)(t,i.get(n)))return;let o=s||i.isBelowOrigin(n,r);o&&e.invalidate(),i.set(n,t,r),o&&e.commit(),(0,d.fE)(this.host,e)}_cast(e,t){let r=N.acquire();return r.valid=!0,r.value=t,e&&(r.value=e.call(this.host,t,r)),r}}class O{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}}const N=new h.A(()=>new O);var k,S,T=r(47821),j=r(53842),C=r(14012),D=r(51447),E=r(71511),$=r(97768);function I(e){if(null==e)return{value:e};if(Array.isArray(e))return{type:[e[0]],value:null};switch(typeof e){case"object":return e.constructor?.__accessorMetadata__||e instanceof Date?{type:e.constructor,value:e}:e;case"boolean":return{type:Boolean,value:e};case"string":return{type:String,value:e};case"number":return{type:Number,value:e};case"function":return{type:e,value:null};default:return}}const M=Symbol("Accessor-Handles"),z=Symbol("Accessor-Initialized");class P{static{k=M,S=z}static createSubclass(e={}){let{properties:t,declaredClass:r,constructor:i}=e;delete e.declaredClass,delete e.properties,delete e.constructor;let o=this;class a extends o{constructor(...e){super(...e),this.inherited=null,i&&i.apply(this,e)}}(0,l.tD)(a.prototype);for(let t in e){let r=e[t];if("function"==typeof r){let e=function(...e){if(o.prototype[t])return o.prototype[t].apply(this,e)};a.prototype[t]=function(...t){let i,n=this.inherited;this.inherited=e;try{i=r.apply(this,t)}catch(e){throw this.inherited=n,e}return this.inherited=n,i}}else a.prototype[t]=e[t]}for(let e in t){let r=I(t[e]);(0,n.MZ)(r)(a.prototype,e)}return(0,s.$K)(r)(a)}static freeze(e){return e instanceof P?e.__accessor__.mutable=!1:Object.freeze(e),e}static isFrozen(e){return e instanceof P?!e.__accessor__.mutable:Object.isFrozen(e)}constructor(e){if(this[k]=null,this[S]=!1,new.target===P)throw Error("[accessor] cannot instantiate Accessor directly.");let t=new A(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:t}),arguments.length>0&&(t.ctorArgs=e),(0,j.Z)()?.onInstanceConstruct(this)}postscript(){let e=this.__accessor__,t=e.ctorArgs;e.initialize(),t&&(this.set(t),e.ctorArgs=null),e.constructed(),this.initialize(),this[z]=!0}initialize(){}[i.G](){this[M]=(0,$.pR)(this[M])}destroy(){this.destroyed||((0,C.iS)(this),this.__accessor__.destroy(),(0,j.Z)()?.onInstanceDestroy(this))}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[z]}get destroyed(){return this.__accessor__?.lifecycle===a.v.DESTROYED||!1}get destroying(){return this.__accessor__?.lifecycle===a.v.DESTROYING||!1}commitProperty(e){(0,o.Jt)(this,e)}hasOwnProperty(e){return this.__accessor__?this.__accessor__.has(e):Object.prototype.hasOwnProperty.call(this,e)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(e,t){return(0,T.h)(this,e,t),this}watch(e,t,r){return(0,D.eO)(c.A.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://arcg.is/1vaqf42#watch",warnOnce:!0}),(0,C.wB)(this,e,t,r)}addHandles(e,t){if(this.destroyed){let t=Array.isArray(e)?e:[e];for(let e of t)e.remove()}else(this[M]??=new E.A).add(e,t)}removeHandles(e){this[M]?.remove(e)}removeAllHandles(){this[M]?.removeAll()}removeHandlesReference(e){this[M]?.removeReference(e)}hasHandles(e){return!0===this[M]?.has(e)}_override(e,t){void 0===t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_clearOverride(e){return this.__accessor__.clearOverride(e)}_overrideIfSome(e,t){null==t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_isOverridden(e){return this.__accessor__.isOverridden(e)}notifyChange(e){this.__accessor__.notifyChange(e)}_get(e){return this.__accessor__.internalGet(e)}_set(e,t){return this.__accessor__.internalSet(e,t),this}}},98291(e,t,r){r.d(t,{A:()=>s});var i=r(93687);function n(e){e.length=0}class s{constructor(e=50,t=50){this._pool=new i.A(()=>[],void 0,n,t,e)}acquire(){return this._pool.acquire()}release(e){this._pool.release(e)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(e){return o.release(e)}static prune(){o.prune()}}const o=new s(100)},71511(e,t,r){r.d(t,{A:()=>n});var i=r(5479);class n{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let e=0;return this._groups.forEach(t=>{e+=t.length}),e}add(e,t){if((0,i.xZ)(e)){let r=this._getOrCreateGroup(t);for(let t of e)a(t)&&r.push(t)}else a(e)&&this._getOrCreateGroup(t).push(e);return this}forEach(e,t){if("function"==typeof e)this._groups.forEach(t=>t.forEach(e));else{let r=this._getGroup(e);r&&t&&r.forEach(t)}}has(e){return this._groups.has(s(e))}remove(e){if("string"!=typeof e&&(0,i.xZ)(e)){for(let t of e)this.remove(t);return this}return this.has(e)&&(o(this._getGroup(e)),this._groups.delete(s(e))),this}removeAll(){return this._groups.forEach(o),this._groups.clear(),this}removeReference(e){return this._groups.delete(e),this}_getOrCreateGroup(e){if(this.has(e))return this._getGroup(e);let t=[];return this._groups.set(s(e),t),t}_getGroup(e){return this._groups.get(s(e))}}function s(e){return e||"_default_"}function o(e){for(let t of e)t instanceof n?t.removeAll():t.remove()}function a(e){return null!=e&&(!!e.remove||e instanceof n)}},25482(e,t,r){r.d(t,{o:()=>y,T:()=>d});var i=r(32198),n=r(56372),s=r(64108),o=r(4718);class a{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new a;return this._values.forEach((r,i)=>{e&&e.has(i)||t.set(i,(0,o.o8)(r.value),r.origin)}),t}get(e,t){t=this._normalizeOrigin(t);let r=this._values.get(e);return null==t||r?.origin===t?r?.value:void 0}originOf(e){return this._values.get(e)?.origin??7}keys(e){e=this._normalizeOrigin(e);let t=[...this._values.keys()];return null==e?t:t.filter(t=>this._values.get(t)?.origin===e)}set(e,t,r){if(0===(r=this._normalizeOrigin(r))){let t=this._values.get(e);if(null!=t?.origin&&t.origin>r)return}this._values.set(e,new l(t,r))}delete(e,t){(null==(t=this._normalizeOrigin(t))||this._values.get(e)?.origin===t)&&this._values.delete(e)}has(e,t){return null==(t=this._normalizeOrigin(t))?this._values.has(e):this._values.get(e)?.origin===t}isAtOrigin(e,t){return null!=(t=this._normalizeOrigin(t))&&this._values.get(e)?.origin===t}isBelowOrigin(e,t){return t=this._normalizeOrigin(t),!this.has(e)||this.originOf(e)<t}forEach(e){this._values.forEach(({value:t},r)=>e(t,r))}_normalizeOrigin(e){if(null!=e)return 0===e?e:7}}class l{constructor(e,t){this.value=e,this.origin=t}}var u=r(76953),c=r(45917),h=r(88620),f=r(49422);const d=e=>{let t=e,r=class extends t{constructor(...e){super(...e);let t=(0,h.oY)(this),r=t.store,i=new a;t.store=i,(0,u.k)(t,r,i)}read(e,t){(0,c.L)(this,e,t)}write(e,t){return(0,f.M)(this,e??{},t)}toJSON(e){return this.write({},e)}static fromJSON(e,t){return p.call(this,e,t)}};return r=(0,i.Cg)([(0,s.$K)("esri.core.JSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function p(e,t){if(!e)return null;if(e.declaredClass)throw Error("JSON object is already hydrated");let r=new this;return r.read(e,t),r}const y=d(n.A)},93687(e,t,r){r.d(t,{A:()=>s});var i=r(44208);const n=()=>!!(0,i.A)("esri-tests-disable-memory-pools");class s{constructor(e,t,r,i=1,n=0){this._creator=e,this._acquireFunction=t,this._releaseFunction=r,this.allocationSize=i,this._pool=Array(n),this._initialSize=n;for(let e=0;e<n;e++)this._pool[e]=this._creator();this.allocationSize=Math.max(i,1)}destroy(){this.prune(0)}acquire(...e){let t;if(n())t=this._creator();else{if(0===this._pool.length){let e=this.allocationSize;for(let t=0;t<e;t++)this._pool[t]=this._creator()}t=this._pool.pop()}return this._acquireFunction?this._acquireFunction(t,...e):function(e){return e?.acquire&&"function"==typeof e.acquire}(t)&&t.acquire(...e),t}release(e){e&&!n()&&(this._releaseFunction?this._releaseFunction(e):function(e){return e?.release&&"function"==typeof e.release}(e)&&e.release(),this._pool.push(e))}prune(e=this._initialSize){if(!(e>=this._pool.length)){for(let t=e;t<this._pool.length;++t){let e=this._pool[t];this._dispose(e)}this._pool.length=e}}_dispose(e){"function"==typeof e.dispose&&e.dispose()}}},15142(e,t,r){r.d(t,{A:()=>u});var i=r(4576),n=r(21818);const s=(e,t,r,i)=>{let n=t,s=t,o=r>>>1,a=e[n-1];for(;s<=o;){s=n<<1,s<r&&i(e[s-1],e[s])<0&&++s;let t=e[s-1];if(i(t,a)<=0)break;e[n-1]=t,n=s}e[n-1]=a},o=(e,t)=>e<t?-1:+(e>t);function a(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i);let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i)}}function*l(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i),yield;let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i),yield}}class u{constructor(e){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new i.vW,e&&(e.initialSize&&(this.data=Array(e.initialSize)),e.allocator&&(this._allocator=e.allocator),void 0!==e.deallocator&&(this._deallocator=e.deallocator),e.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(e){let t=[];for(let r=0;r<this._length;r++){let i=this.data[r];e(i)&&t.push(i)}return t}at(e){if((e=Math.trunc(e)||0)<0&&(e+=this._length),!(e<0||e>=this._length))return this.data[e]}includes(e,t){let r=this.data.indexOf(e,t);return-1!==r&&r<this.length}get length(){return this._length}set length(e){if(e>this._length){if(this._allocator){for(;this._length<e;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=e}else{if(this._deallocator)for(let t=e;t<this._length;++t)this.data[t]=this._deallocator(this.data[t]);this._length=e,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(e){this.data[this._length++]=e}pushArray(e,t=e.length){for(let r=0;r<t;r++)this.data[this._length++]=e[r]}pushAll(e){for(let t of e)this.data[this._length++]=t}fill(e,t){for(let r=0;r<t;r++)this.data[this._length++]=e}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let e=this.data[this._length];return++this._length,e}unshift(e){this.data.unshift(e),this._length++,c(this)}pop(){if(0===this.length)return;let e=this.data[this.length-1];return--this.length,this._shrink(),e}remove(e){let t=(0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint);if(-1!==t)return this.data.splice(t,1),--this.length,e}removeUnordered(e){return this.removeUnorderedIndex((0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint))}removeUnorderedIndex(e){if(!(e>=this.length||e<0))return this.swapElements(e,this.length-1),this.pop()}removeUnorderedMany(e,t=e.length,r){this.length=(0,i.mW)(this.data,e,this.length,t,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(e,t){if(e>=this.length||t>=this.length||e===t)return;let r=this.data[e];this.data[e]=this.data[t],this.data[t]=r}sort(e){a(this.data,0,this.length,e)}stableSort(e){let t=this.toArray().sort(e);for(let e=0;e<t.length;++e)this.data[e]=t[e]}iterableSort(e){return l(this.data,0,this.length,e)}some(e,t){for(let r=0;r<this.length;++r)if(e.call(t,this.data[r],r,this.data))return!0;return!1}find(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)if(e.call(t,r[n]))return r[n]}filterInPlace(e,t){let r=0;for(let i=0;i<this._length;++i){let n=this.data[i];e.call(t,n,i,this.data)&&(this.data[i]=this.data[r],this.data[r]=n,r++)}if(this._deallocator)for(let e=r;e<this._length;e++)this.data[e]=this._deallocator(this.data[e]);return this._length=r,this._shrink(),this}forAll(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)e.call(t,r[n],n,r)}forEach(e,t){this.data.slice(0,this.length).forEach(e,t)}map(e,t){let r=Array(this.length);for(let i=0;i<this.length;++i)r[i]=e.call(t,this.data[i],i,this.data);return r}reduce(e,t){let r=t;for(let t=0;t<this.length;++t)r=e(r,this.data[t],t,this.data);return r}has(e){let t=this.length,r=this.data;for(let i=0;i<t;++i)if(r[i]===e)return!0;return!1}*[Symbol.iterator](){for(let e=0;e<this.length;++e)yield this.data[e]}}function c(e){e.data.length>1.5*e.length&&(e.data.length=Math.floor(1.1*e.length))}},67076(e,t,r){r.d(t,{A:()=>n});var i=r(799);class n{constructor(e,t,r){this.name=e,this.details=r,this.type="warning",this.message=t?(0,i.V2)(t,r):""}toString(){let{name:e,message:t}=this;return`[${e}]: ${t}`}}},85537(e,t,r){r.d(t,["v",0,{INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}])},30801(e,t,r){r.d(t,{T:()=>a});var i=r(36563),n=r(16187);const s=Symbol("ObservableBase");function o(e){return s in e}class a{constructor(){this._observers=null,this.destroyed=!1}static observeForTracking(e,t,r){if(o(e)){let i=e.observe;if(i===u)return e._addObserver(t)??l;let n=r?.length?i.call(e,t,r.pop()):i.call(e,t);return Array.isArray(n)?c(n):n}let i=e.observe(t);return Array.isArray(i)||(0,n.b4)(i)?c(i):i}get[s](){return!0}observe(e,t){let r=this._addObserver(e);return r?t?t.rebind(r,e):new n.fk(r,e):l}_addObserver(e){if(this.destroyed||e.destroyed)return;let t=this._observers;if(null==t)return this._observers=[e];let r=!1;for(let i of t)if(i.destroyed)r=!0;else if(i===e)return t;return t.push(e),r&&this._removeDestroyedObservers(),t}_removeDestroyedObservers(){let e=this._observers;if(!e)return;let t=e.length;if(0===t)return;let r=0;for(let i=0;i<t;++i){for(;i+r<t&&e[i+r].destroyed;)++r;if(r>0){if(!(i+r<t))break;e[i]=e[i+r]}}e.length=t-r}destroy(){if(this.destroyed)return;this.destroyed=!0;let e=this._observers;if(null!=e){for(let t of e)t.onCommitted();this._observers=null}}}const l=(0,i.hA)(),u=a.prototype.observe;function c(e){return{remove:()=>e.remove()}}},35666(e,t,r){function i(e){switch(e){case"defaults":return 0;case"service":return 2;case"portal-item":return 3;case"web-scene":return 4;case"web-map":return 5;case"link-chart":return 6;case"user":return 7;default:return null}}function n(e){switch(e){case 0:return"defaults";case 2:return"service";case 3:return"portal-item";case 4:return"web-scene";case 5:return"web-map";case 6:return"link-chart";case 7:return"user"}}function s(e){return n(e)}r.d(t,{OL:()=>n,aB:()=>i,in:()=>s})},56454(e,t,r){const i=Symbol("Accessor-beforeDestroy");r.d(t,["G",0,i])},91429(e,t,r){r.d(t,{wg:()=>l,MZ:()=>o,$K:()=>a});var i=r(10107),n=r(79901),s=r(64108);r(93223),r(36005),r(43937);const o=i.MZ,a=s.$K;function l(...e){return(0,n.w)(...e)}},79901(e,t,r){r.d(t,{w:()=>l});var i=r(56507),n=r(96156);const s=Object.prototype.toString;function o(e){let t="__accessorMetadata__"in e?(0,i.dp)(e):e;return function(...e){if(e.push(t),"number"==typeof e[2])throw Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,e)}}function a(e,t,r,i){(0,n.z4)(e,t).cast=i}function l(...e){if(3!==e.length||"string"!=typeof e[1]){if(1===e.length&&"[object Function]"===s.call(e[0]))return o(e[0]);if(1===e.length&&"string"==typeof e[0])return function(e){return(t,r)=>{(0,n.z4)(t,e).cast=t[r]}}(e[0])}}},93223(e,t,r){r.d(t,{e:()=>s});var i=r(66552),n=r(10107);function s(e,t={}){let r=e instanceof i.J?e:new i.J(e,t),{alwaysWriteDefaults:s,default:o,ignoreUnknown:a=!0,name:l,nonNullable:u,readOnly:c=!1}=t;return(0,n.MZ)({type:a?r.apiValues:String,json:{type:r.jsonValues,default:o,name:l,read:!c&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:s}},nonNullable:u,readOnly:c})}},10107(e,t,r){r.d(t,{MZ:()=>l,rM:()=>u});var i=r(53966),n=r(56507),s=r(16649),o=r(96156),a=r(47821);function l(e={}){return(t,r)=>{if(t===Function.prototype)throw Error(`Inappropriate use of @property() on a static field: ${t.name}.${r}. Accessor does not support static properties.`);let l=Object.getOwnPropertyDescriptor(t,r),u=(0,o.z4)(t,r);l&&(l.get||l.set?(u.get=l.get||u.get,u.set=l.set||u.set):"value"in l&&("value"in e&&i.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${t.constructor.name}" already defined in the metadata`,e),u.value=e.value=l.value)),null!=e.readOnly&&(u.readOnly=e.readOnly);let c=e.aliasOf;if(c){let e,t="string"==typeof c?c:c.source,i="string"==typeof c?null:!0===c.overridable;u.dependsOn=[t],u.get=function(){let r=(0,s.Jt)(this,t);if("function"==typeof r){e||=t.split(".").slice(0,-1).join(".");let i=(0,s.Jt)(this,e);i&&(r=r.bind(i))}return r},u.readOnly||(u.set=i?function(e){this._override(r,e)}:function(e){(0,a.h)(this,t,e)})}let h=e.type,f=e.types;if(!u.cast){let t;h&&!1!==e.useTypeForAutocast?t=function(e){let t=0,r=e;if((0,n.Zu)(e))return(0,n.Nd)(e);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],t++;let i=r;if((0,n.EK)(i))return 0===t?(0,n.MB)(i):(0,n._e)((0,n.MB)(i),t);if(1===t)return(0,n.eC)(i);if(t>1)return(0,n.e6)(i,t);let s=e;return s.from?s.from:(0,n.dp)(s)}(h):f&&(t=Array.isArray(f)?(0,n.wB)((0,n.aq)(f[0])):(0,n.aq)(f)),e.cast=function(e,t){if(e||t)return e?t?(r,i)=>t(e(r,i),i):e:t}(e.cast,t)}(0,o.CX)(u,e),e.range&&(u.cast=(0,n.Qp)(u.cast,e.range))}}function u(e,t,r){let i=(0,o.z4)(e,r);i.json||={};let n=i.json;return void 0!==t&&(n.origins||(n.origins={}),n.origins[t]||(n.origins[t]={}),n=n.origins[t]),n}},36005(e,t,r){r.d(t,{w:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t||Array.isArray(t)?(s=e,r=t,n=[void 0]):(s=t,n=Array.isArray(e)?e:[e]),(e,t)=>{let o=e.constructor.prototype;n.forEach(n=>{let a=(0,i.rM)(e,n,s);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=o[t],r&&(a.read.source=(a.read.source||[]).concat(r))})}}},64108(e,t,r){r.d(t,{$K:()=>m}),r(44208);var i=r(53966),n=r(56454),s=r(56507),o=r(90360);function a(e){e.name&&(e.read&&"object"==typeof e.read?void 0===e.read.source&&(e.read.source=e.name):e.read={source:e.name},e.write&&"object"==typeof e.write?void 0===e.write.target&&(e.write.target=e.name):e.write={target:e.name})}function l(e){"boolean"==typeof e.read?e.read={enabled:e.read}:"function"==typeof e.read?e.read={enabled:!0,reader:e.read}:e.read&&"object"==typeof e.read&&void 0===e.read.enabled&&(e.read.enabled=!0)}function u(e){"boolean"==typeof e.write?e.write={enabled:e.write}:"function"==typeof e.write?e.write={enabled:!0,writer:e.write}:e.write&&"object"==typeof e.write&&void 0===e.write.enabled&&(e.write.enabled=!0)}var c=r(67124);function h(e){return e.type?f(e):d(e)}function f(e){if(!e.type)return;let t=0,r=e.type;for(;Array.isArray(r)&&!(0,s.EK)(r);)r=r[0],t++;return{type:r,ndimArray:t}}function d(e){if(!e.types)return;let t=0,r=e.types;for(;Array.isArray(r);)r=r[0],t++;return{types:r,ndimArray:t}}function p(e){(function(e){if(e.json||={},l(e.json),u(e.json),a(e.json),e.json.origins)for(let t in e.json.origins)l(e.json.origins[t]),u(e.json.origins[t]),a(e.json.origins[t]);return!0})(e)&&(function(e){if(e.json&&e.json.origins){let t=e.json.origins,r={"web-document":["web-scene","web-map"]};for(let e in r)if(t[e]){let i=t[e];r[e].forEach(e=>{t[e]=i}),delete t[e]}}}(e),function(e){let t=function(e){return e.json.types?d(e.json):e.type?f(e):d(e)}(e);if(e.json.origins)for(let r in e.json.origins){let i=e.json.origins[r],n=i.types?h(i):t;(0,o.v)(n,i,!1),i.types&&!i.write&&e.json.write?.enabled&&(i.write={...e.json.write}),(0,c.v)(n,i)}(0,o.v)(t,e.json,!0),(0,c.v)(t,e.json)}(e))}var y=r(85537),g=r(96156),_=r(62788);const v=new WeakMap;function m(e){return t=>{e??="esri.core.Accessor",t.prototype.declaredClass=e,function(e){let t=e.prototype,r=(0,g.tD)(t),i={};for(let e of Object.getOwnPropertyNames(r)){let t=r[e];p(t),i[e]={enumerable:!0,configurable:!0,get:A(e,t),set:N(e,t)}}Object.defineProperties(e.prototype,i)}(t);let r=class extends t{constructor(...e){super(...e),this.constructor===r&&"function"==typeof this.postscript&&this.postscript()}};if("function"==typeof t.prototype.postscript){Object.defineProperty(r.prototype,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}});let e=Object.getPrototypeOf(t.prototype),i=Object.hasOwn(t.prototype,"initialize")?t.prototype.initialize:void 0,s=b(e,"initialize");(i||!w(e?.initialize))&&(r.prototype.initialize=function(){s&&s.call(this),i&&i.call(this)},v.set(r.prototype.initialize,r.prototype.initialize));let o=Object.hasOwn(t.prototype,"destroy")?t.prototype.destroy:void 0,a=b(e,"destroy");if(o||!w(e?.destroy)){let e=function(){o&&o.call(this),a&&a.call(this)};r.prototype.destroy=function(){let t=this.__accessor__;t.lifecycle!==y.v.DESTROYING&&t.lifecycle!==y.v.DESTROYED&&(t.lifecycle=y.v.DESTROYING,this[n.G](),e.call(this))},v.set(r.prototype.destroy,e)}}r.__accessorMetadata__=(0,g.tD)(t.prototype),r.prototype.declaredClass=e;let i=(e||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(r.prototype,Symbol.toStringTag,{value:i,configurable:!0,writable:!0,enumerable:!1}),r}}function w(e){return void 0!==e&&v.has(e)}function b(e,t){if(!e)return;let r=Object.hasOwn(e,t)?e[t]:void 0,i=r&&v.get(r);if(i)return i;let n=b(Object.getPrototypeOf(e),t);return r?n?"initialize"===t?function(){n.call(this),r.call(this)}:"destroy"===t?function(){r.call(this),n.call(this)}:void 0:r:n}function A(e,{get:t,value:r}){return null==t?function(){let t=this.__accessor__,i=t.propertiesByName.get(e);if(void 0===i)return;t.mutable&&(0,_.gc)(i);let n=t.store;return n.has(e)?n.get(e):r}:function(){let r=this.__accessor__;return r.propertiesByName.get(e)?.getComputed(r,t)}}function O(e,t,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r})}function N(e,t){return t.readOnly&&t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);if(i.lifecycle===y.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else O(this,e,r)}:t.readOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);i.set(e,r)}}else O(this,e,r)}:t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.lifecycle===y.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else O(this,e,r)}:function(t){let r=this.__accessor__;r?r.mutable&&r.set(e,t):O(this,e,t)}}const k=(e,t)=>{i.A.getLogger("esri.core.Accessor").error(`cannot assign to ${e} property '${t}'`)}},43937(e,t,r){r.d(t,{K:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t?(s=e,n=[void 0]):"string"==typeof t?(s=t,n=Array.isArray(e)?e:[e]):(s=e,n=[void 0],r=t),(e,t)=>{let o=e.constructor.prototype;for(let a of n){let n=(0,i.rM)(e,a,s);n.write&&"object"==typeof n.write||(n.write={}),r&&(n.write.target=r),n.write.writer=o[t]}}}},76953(e,t,r){function i(e,t,r){t.keys().forEach(e=>{r.set(e,t.get(e),0)});let i=e.metadata;Object.keys(i).forEach(t=>{e.internalGet(t)&&r.set(t,e.internalGet(t),0)})}r.d(t,{k:()=>i})},56507(e,t,r){r.d(t,{EK:()=>C,GB:()=>u,GX:()=>l,MB:()=>D,Nd:()=>P,PZ:()=>v,Qp:()=>f,Uv:()=>I,Vr:()=>c,Zu:()=>z,_e:()=>T,aq:()=>E,dp:()=>A,e6:()=>j,eC:()=>k,gK:()=>M,jz:()=>$,qf:()=>O,wB:()=>N});var i=r(53966),n=r(91869);const s=()=>i.A.getLogger("esri.core.accessorSupport.ensureTypes");function o(e){if(null==e)return e;let t=new Date(e);return isNaN(t.getTime())?(s().error("Accessor#set",`Invalid date value: '${e}', falling back to current date`),new Date):t}function a(e){return null==e?e:!!e}function l(e){return null==e?e:e.toString()}function u(e,t=0){return null==e?e:(e=parseFloat(e),isNaN(e)?t:e)}function c(e){return null==e?e:Math.round(parseFloat(e))}function h(e){return null}function f(e,t){return r=>{let i=e(r);return null!=t.step&&(i=Math.round(i/t.step)*t.step),null!=t.min&&(i=Math.max(t.min,i)),null!=t.max&&(i=Math.min(t.max,i)),i}}function d(e){return e?.constructor&&void 0!==e.constructor.__accessorMetadata__}function p(e,t){return null!=t&&e&&!(t instanceof e)}function y(e){return e&&"isCollection"in e}function g(e){return e?.Type?"function"==typeof e.Type?e.Type:e.Type.base:null}function _(e,t){return!!d(t)&&(s().error("Accessor#set","Assigning an instance of '"+(t.declaredClass||"unknown")+"' which is not a subclass of '"+m(e)+"'"),!0)}function v(e,t){return null==t?t:y(e)?function(e,t){if(!t?.constructor||!y(t.constructor))return _(e,t)?t:new e(t);let r=g(e.prototype.itemType),i=g(t.constructor.prototype.itemType);return r?i?r===i?t:r.prototype.isPrototypeOf(i.prototype)?new e(t):(_(e,t),t):new e(t):t}(e,t):p(e,t)?_(e,t)?t:new e(t):t}function m(e){return e?.prototype?.declaredClass||"unknown"}const w=new WeakMap;function b(e){switch(e){case Number:return e=>u(e);case $:return c;case Boolean:return a;case String:return l;case Date:return o;case I:return h;default:return(0,n.tE)(w,e,()=>v.bind(null,e))}}function A(e,t){let r=b(e);return 1===arguments.length?r:r(t)}function O(e){let t=b(e);return e=>t(e)}function N(e,t,r){return 1===arguments.length?N.bind(null,e):t&&(Array.isArray(t)?t.map(t=>e(t,r)):[e(t,r)])}function k(e,t){return 1===arguments.length?N(t=>A(e,t)):N(t=>A(e,t),t)}function S(e,t,r){return 0!==t&&Array.isArray(r)?r.map(r=>S(e,t-1,r)):e(r)}function T(e,t,r){if(2===arguments.length)return r=>T(e,t,r);if(!r)return r;r=S(e,t,r);let i=t,n=r;for(;i>0&&Array.isArray(n);)i--,n=n[0];if(void 0!==n)for(let e=0;e<i;e++)r=[r];return r}function j(e,t,r){return 2===arguments.length?T(t=>A(e,t),t):T(t=>A(e,t),t,r)}function C(e){return!!Array.isArray(e)&&!e.some(t=>{let r=typeof t;return!("string"===r||"number"===r||"function"===r&&e.length>1)})}function D(e,t){if(2===arguments.length)return D(e).call(null,t);let r=new Set,i=e.filter(e=>"function"!=typeof e),n=e.filter(e=>"function"==typeof e);for(let t of e)("string"==typeof t||"number"==typeof t)&&r.add(t);let o=null,a=null;return(e,t)=>{if(null==e)return e;let l=typeof e,u="string"===l||"number"===l;return u&&(r.has(e)||n.some(e=>"string"===l&&e===String||"number"===l&&e===Number))||"object"===l&&n.some(t=>!p(t,e))?e:(u&&i.length?(o||=i.map(e=>"string"==typeof e?`'${e}'`:`${e}`).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, only the following values are valid: ${o}`)):"object"==typeof e&&n.length?(a||=n.map(e=>m(e)).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, value must be one of ${a}`)):s().error("Accessor#set",`'${e}' is not a valid value for this property`),t&&(t.valid=!1),null)}}function E(e,t){if(2===arguments.length)return E(e).call(null,t);let r={},i=[],n=[];for(let t in e.typeMap){let s=e.typeMap[t];r[t]=A(s),i.push(m(s)),n.push(t)}let o=()=>`'${i.join("', '")}'`,a=()=>`'${n.join("', '")}'`,l="string"==typeof e.key?t=>t[e.key]:e.key;return t=>{if(e.base&&!p(e.base,t)||null==t)return t;let i=l(t)||e.defaultKeyValue,n=r[i];if(!n)return s().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!p(e.typeMap[i],t))return t;if("string"==typeof e.key&&!d(t)){let r={};for(let i in t)i!==e.key&&(r[i]=t[i]);return n(r)}return n(t)}}class ${}class I{}const M={native:e=>({type:"native",value:e}),array:e=>({type:"array",value:e}),oneOf:e=>({type:"one-of",values:e})};function z(e){if(!e||"object"!=typeof e&&"function"!=typeof e||!("type"in e))return!1;switch(e.type){case"native":case"array":case"one-of":return!0}return!1}function P(e){switch(e.type){case"native":return A(e.value);case"array":return N(P(e.value));case"one-of":return function(e){let t=null;return(r,i)=>B(r,e)?r:(t??=q(e),s().error("Accessor#set",`Invalid property value, value needs to be of type ${t}`),i&&(i.valid=!1),null)}(e);default:return null}}function q(e){switch(e.type){case"native":switch(e.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case $:return"integer";case Date:return"date";case I:return"null";default:return m(e.value)}case"array":return`array of ${q(e.value)}`;case"one-of":{let t=e.values.map(e=>q(e));return`one of ${t.slice(0,-1)} or ${t[t.length-1]}`}}return"unknown"}function B(e,t){if(null==e)return!0;switch(t.type){case"native":switch(t.value){case Number:case $:return"number"==typeof e;case Boolean:return"boolean"==typeof e;case String:return"string"==typeof e;case I:return null===e}return e instanceof t.value;case"array":return!!Array.isArray(e)&&!e.some(e=>!B(e,t.value));case"one-of":return t.values.some(t=>B(e,t))}}},90360(e,t,r){r.d(t,{C:()=>h,v:()=>c});var i=r(59923),n=r(53966),s=r(93637),o=r(96156),a=r(15903),l=r(7142);const u=()=>n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function c(e,t,r){e&&(!r&&!t.read||t.read?.reader||!1===t.read?.enabled||function(e){return"types"in e?_(e.types):g(e.type)}(e)&&(0,s.sM)("read.reader",h(e),t))}function h(e){let t=e.ndimArray??0;if(t>1)return function(e){let t=f(e),r=d.bind(null,t),i=e.ndimArray??0;return(e,t,n)=>{if(null==e)return e;e=r(e,n,i);let s=i,o=e;for(;s>0&&Array.isArray(o);)s--,o=o[0];if(void 0!==o)for(let t=0;t<s;t++)e=[e];return e}}(e);if(1===t)return p(e);if("type"in e&&y(e.type)){let t=e.type.prototype?.itemType?.Type,r=p("function"==typeof t?{type:t}:{types:t});return(t,i,n)=>{let s=r(t,i,n);return s&&new e.type(s)}}return f(e)}function f(e){return"type"in e?function(e){return e.prototype.read?(t,r,i)=>{if(null==t)return t;let n=typeof t;if("object"!==n)return void u().error(`Expected JSON value of type 'object' to deserialize type '${e.prototype.declaredClass}', but got '${n}'`);let s=new e;return s.read(t,i),s}:e.fromJSON}(e.type):function(e){let t=null,r=e.errorContext??"type",n=e.validate;return(s,a,c)=>{if(null==s)return s;let h=typeof s;if("object"!==h)return void u().error(`Expected JSON value of type 'object' to deserialize, but got '${h}'`);t||=function(e){let t={};for(let r in e.typeMap){let i=e.typeMap[r],n=(0,o.tD)(i.prototype);if("function"==typeof e.key)continue;let s=n[e.key];if(!s)continue;if(s.json?.type&&Array.isArray(s.json.type)&&1===s.json.type.length&&"string"==typeof s.json.type[0]){t[s.json.type[0]]=i;continue}let a=s.json?.write;if(!a?.writer){t[r]=i;continue}let l=a.target,u="string"==typeof l?l:e.key,c={};a.writer(r,c,u),c[u]&&(t[c[u]]=i)}return t}(e);let f=e.key;if("string"!=typeof f)return;let d=s[function(e,t,r){let i=Object.values(t)[0],n=(0,o.tD)(i.prototype)[e],s=(0,l.N5)(n,r)?.read?.source;return s&&"string"==typeof s?s:e}(f,t,c)],p=d?t[d]:e.defaultKeyValue?e.typeMap[e.defaultKeyValue]:void 0;if(!p){let e=`Type '${d||"unknown"}' is not supported`;return c?.messages&&s&&(0,i.Yc)(c,"warning",r,e,{definition:s,context:c}),void u().error(e)}let y=new p;return y.read(s,c),n?n(y):y}}(e.types)}function d(e,t,r,i){return 0!==i&&Array.isArray(t)?t.map(t=>d(e,t,r,i-1)):e(t,void 0,r)}function p(e){let t=f(e);return(e,r,i)=>{if(null==e)return e;if(Array.isArray(e)){let r=[];for(let n of e){let e=t(n,void 0,i);void 0!==e&&r.push(e)}return r}let n=t(e,void 0,i);return void 0===n?void 0:[n]}}function y(e){if(!(0,a.P)(e))return!1;let t=e.prototype.itemType;return!(!t||!t.Type)&&("function"==typeof t.Type?g(t.Type):_(t.Type))}function g(e){return!Array.isArray(e)&&!!e&&("object"==typeof e||"function"==typeof e)&&e.prototype&&("read"in e.prototype||"fromJSON"in e||y(e))}function _(e){for(let t in e.typeMap)if(!g(e.typeMap[t]))return!1;return!0}},15903(e,t,r){function i(e){return!!e&&e.prototype?.declaredClass&&0===e.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(t,{P:()=>i})},7142(e,t,r){function i(e,t){return o(e,"any",t?.origin)}function n(e,t){return o(e,"read",t?.origin)}function s(e,t){return o(e,"write",t?.origin)}function o(e,t,r){let i=e?.json;if(i?.origins&&r){let e;e="link-chart"===r?i.origins[r]&&("any"===t||t in i.origins[r])?i.origins[r]:i.origins["web-map"]:i.origins[r],e&&("any"===t||t in e)&&(i=e)}return i}r.d(t,{N5:()=>n,k4:()=>s,xF:()=>i})},67124(e,t,r){r.d(t,{B:()=>h,v:()=>a});var i=r(59923),n=r(53966),s=r(93637),o=r(15903);function a(e,t){if(!t.write||t.write.writer||!1===t.write.enabled&&!t.write.overridePolicy)return;let r=e?.ndimArray??0;e&&(1===r||"type"in e&&(0,o.P)(e.type))?t.write.writer=f:r>1?t.write.writer=function(e){return(t,r,i,n)=>{let o;if(null===t)o=null;else{o=d(t,n,e);let r=e,i=o;for(;r>0&&Array.isArray(i);)r--,i=i[0];if(void 0!==i)for(let e=0;e<r;e++)o=[o]}(0,s.sM)(i,o,r)}}(r):t.types?Array.isArray(t.types)?t.write.writer=function(e){return(t,r,i,n)=>u(t&&Array.isArray(t)?t.filter(t=>l(t,e,n)):t,r,i,n)}(t.types[0]):t.write.writer=function(e){return(t,r,i,n)=>{if(!t||l(t,e,n))return u(t,r,i,n)}}(t.types):t.write.writer=u}function l(e,t,r){for(let r in t.typeMap)if(e instanceof t.typeMap[r])return!0;if(r?.messages){let s=t.errorContext??"type",o=`Values of type '${("function"==typeof t.key?e.declaredClass:e[t.key])??"Unknown"}' cannot be written`;r&&r.messages&&e&&(0,i.Yc)(r,"error",s,o,{definition:e,context:r}),n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(o)}return!1}function u(e,t,r,i){(0,s.sM)(r,c(e,i),t)}function c(e,t){return e&&"function"==typeof e.write?e.write({},t):e&&"function"==typeof e.toJSON?e.toJSON():"number"==typeof e?h(e):e}function h(e){return e===-1/0?-Number.MAX_VALUE:e===1/0?Number.MAX_VALUE:isNaN(e)?null:e}function f(e,t,r,i){let n;null===e?n=null:e&&"function"==typeof e.map?(n=e.map(e=>c(e,i)),"function"==typeof n.toArray&&(n=n.toArray())):n=[c(e,i)],(0,s.sM)(r,n,t)}function d(e,t,r){return 0!==r&&Array.isArray(e)?e.map(e=>d(e,t,r-1)):c(e,t)}},16649(e,t,r){r.d(t,{Jt:()=>a,RP:()=>o,t2:()=>l});var i=r(88620);function n(e,t){let r=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){let e=parseInt(r,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}let n=(0,i.oY)(t);return(0,i.yh)(n,r)?n.get(r):t[r]}function s(e,t,r){if(null==e)return e;let i=n(t[r],e);return!i&&r<t.length-1?void 0:r===t.length-1?i:s(i,t,r+1)}function o(e,t,r=0){return"string"!=typeof t||t.includes(".")?s(e,(0,i.AH)(t),r):n(t,e)}function a(e,t){return o(e,t)}function l(e,t){return void 0!==o(t,e)}},96156(e,t,r){r.d(t,{CX:()=>a,tD:()=>s,z4:()=>o});var i=r(4718),n=r(88620);function s(e){let t=e.constructor.__accessorMetadata__,r=Object.prototype.hasOwnProperty.call(e.constructor,"__accessorMetadata__");if(t){if(!r){t=Object.create(t);for(let e in t)t[e]=(0,i.o8)(t[e]);Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0})}}else t={},Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0});return e.constructor.__accessorMetadata__}function o(e,t){let r=s(e),i=r[t];return i||=r[t]={},i}function a(e,t){return(0,n.h1)(e,t,u)}const l=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function u(e){return l.test(e)?"replace":"merge"}},45917(e,t,r){r.d(t,{L:()=>c,t:()=>h});var i=r(7142),n=r(16649),s=r(88620);function o(e,t,r){if(!e?.read||!1===e.read.enabled||!e.read.source)return!1;let i=e.read.source;if("string"==typeof i){if(i===t||i.includes(".")&&i.startsWith(t)&&(0,n.t2)(i,r))return!0}else for(let e of i)if(e===t||e.includes(".")&&e.startsWith(t)&&(0,n.t2)(e,r))return!0;return!1}function a(e,t,r,n,s){let a=(0,i.N5)(t[r],s);var l;(l=a)&&(!l.read||!1!==l.read.enabled&&!l.read.source)&&(e[r]=!0);for(let l of Object.getOwnPropertyNames(t))a=(0,i.N5)(t[l],s),o(a,r,n)&&(e[l]=!0)}function l(e,t,r,n){let s=r.metadata,o=(0,i.xF)(s[t],n)?.default;if(void 0===o)return;let a="function"==typeof o?o.call(e,t,n):o;void 0!==a&&r.set(t,a)}const u={origin:"service"};function c(e,t,r=u){if(!t||"object"!=typeof t)return;let o=(0,s.oY)(e),c=o.metadata,h={};for(let e of Object.getOwnPropertyNames(t))a(h,c,e,t,r);o.setDefaultOrigin(r.origin);for(let s of Object.getOwnPropertyNames(h)){let a,l=(0,i.N5)(c[s],r).read,u=l?.source;a=u&&"string"==typeof u?(0,n.RP)(t,u):t[s],l?.reader&&(a=l.reader.call(e,a,t,r)),void 0!==a&&o.set(s,a)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(let t of Object.getOwnPropertyNames(c))h[t]||l(e,t,o,r)}o.setDefaultOrigin("user")}function h(e,t,r,i=u){let n={...i,messages:[]};r(n),n.messages?.forEach(t=>{"warning"!==t.type||e.loaded?i?.messages&&i.messages.push(t):e.loadWarnings.push(t)})}},47821(e,t,r){r.d(t,{h:()=>o});var i=r(49186),n=r(44208),s=(r(53966),r(16649));function o(e,t,r){if(e&&t)if("object"==typeof t)for(let r of Object.getOwnPropertyNames(t))o(e,r,t[r]);else{if(t.includes(".")){let i=t.split("."),n=i.splice(-1,1)[0];return void o((0,s.Jt)(e,i),n,r)}let a=e.__accessor__;null!=a&&function(e,t){if((0,n.A)("esri-unknown-property-errors")&&!function(e,t){return null!=t.metadata[e]}(e,t))throw new i.A("set:unknown-property",function(e,t){return"setting unknown property '"+e+"' on instance of "+t.host.declaredClass}(e,t))}(t,a),e[t]=r}}},53842(e,t,r){function i(){}r.d(t,{Z:()=>i})},62788(e,t,r){r.d(t,{F_:()=>p,Xr:()=>m,a:()=>d,fE:()=>_,gc:()=>c}),r(44208);var i=r(53966),n=r(47328),s=r(67867),o=r(88620);const a=new s.R,l=[];let u=a;function c(e){u.onAccessed(e)}let h=!1,f=!1;function d(e,t,r){if(h)return y(e,t,r);let n;if(f){u=e,l.push(e);try{n=t.call(r)}catch(e){throw i.A.getLogger("esri.core.accessorSupport.tracking").error(e),e}finally{g()}}else{u=e,l.push(e);try{n=t.call(r)}finally{g()}}return n}function p(e,t){return d(a,e,t)}function y(e,t,r){let n,s=h;h=!0,u=e,l.push(e);try{n=t.call(r)}catch(e){f&&i.A.getLogger("esri.core.accessorSupport.tracking").error(e)}return g(),h=s,n}function g(){let e=l.length;if(e>1){let t=l.pop();u=l[e-2],t.onTrackingEnd()}else if(1===e){let e=l.pop();u=a,e.onTrackingEnd()}else u=a}function _(e,t){if(t.flags&n.i.DepTrackingInitialized)return;t.flags|=n.i.DepTrackingInitialized;let r=f;f=!1,t.flags&n.i.AutoTracked?y(t.trackingTarget,t.metadata.get,e):m(e,t),f=r}const v=[];function m(e,t){t.flags&n.i.ExplicitlyTracking||(t.flags|=n.i.ExplicitlyTracking,y(t.trackingTarget,()=>{let r=t.metadata.dependsOn||v;for(let t of r)if("string"!=typeof t||t.includes(".")){let r=(0,o.AH)(t);for(let t=0,i=e;t<r.length&&"object"==typeof i&&i;++t)i=w(i,r[t],t!==r.length-1)}else w(e,t,!1)}),t.flags&=~n.i.ExplicitlyTracking)}function w(e,t,r){let i=t.endsWith("?")?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){let t=parseInt(i,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}let n=(0,o.oY)(e);if(n){let t=n.propertiesByName.get(i);t&&(c(t),_(e,t))}return r?e[i]:void 0}},47328(e,t,r){r.d(t,["i",0,{Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}])},16187(e,t,r){r.d(t,{b4:()=>n,fk:()=>s,ll:()=>o});const i=Symbol("ObservationHandle");function n(e){return i in e}class s{get[i](){return!0}constructor(e,t){this._observers=e,this._observer=t}rebind(e,t){return this._observers=e,this._observer=t,this}remove(){o(this._observers,this._observer)}}function o(e,t){if(e[e.length-1]===t)return void e.pop();let r=e.indexOf(t);-1!==r&&e.splice(r,1)}},71429(e,t,r){r.d(t,{r:()=>n});var i=r(67867);class n extends i.R{constructor(e){super(new s(e)),this._observer&&o.register(this,new WeakRef(this._observer),this)}destroy(){let e=this._observer;e&&o.unregister(this),this.accessed?.clear(),super.destroy(),e?.destroy()}}class s{constructor(e){this._notify=e,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;let e=this._invalidCount;1===e?(this._invalidCount=0,this._notify()):this._invalidCount=e>0?e-1:0}destroy(){this.destroyed=!0,this._notify=a}}const o=new FinalizationRegistry(e=>{e.deref()?.destroy()});function a(){}},67867(e,t,r){r.d(t,{R:()=>s});var i=r(30801),n=r(16187);class s{constructor(e){this.accessed=void 0,this._handles=void 0,this._reusableHandles=void 0,this._observer=e}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(e){null!=this._observer&&e!==this._observer&&(this.accessed??=new Set,this.accessed.add(e))}onTrackingEnd(){let e=this._observer;if(null!=e)try{this._unsubscribe(!0);let t=this.accessed;if(!t?.size)return;let r=this._handles??=[];for(let n of t){let t=i.T.observeForTracking(n,e,this._reusableHandles);if(this._observer!==e){o(t,e);break}r.push(t)}t.clear()}finally{this._reusableHandles?.length&&(this._reusableHandles.length=0)}}_unsubscribe(e){let t=this._handles;if(t)for(;t.length;){let r=t.pop();o(r,this._observer),e&&!Array.isArray(r)&&(0,n.b4)(r)&&(this._reusableHandles??=[]).push(r)}}clear(){this._reusableHandles?.length&&(this._reusableHandles.length=0),this._unsubscribe(!1)}}function o(e,t){Array.isArray(e)?(0,n.ll)(e,t):e.remove()}},80559(e,t,r){r.d(t,{Df:()=>c,fm:()=>h,mJ:()=>u});var i=r(36563),n=r(53966),s=r(62788),o=r(71429);let a=!1;const l=[];function u(e,t){let r=new o.r(function i(){if(!r||l)return;if(a)return void f(i);let o,u=n;r.clear(),a=!0,l=!0;try{try{n=(0,s.a)(r,e)}finally{l=!1,a=!1}t(n,u)}catch(u){o=p(u,t)}d(o)}),n=null,l=!1;return l=!0,n=(0,s.a)(r,e),l=!1,(0,i.hA)(function(){r&&(r.destroy(),r=null,n=null)})}function c(e,t){let r=new o.r(function(){t(n,a)}),n=null;function a(){return r?(r.clear(),n=(0,s.a)(r,e),n):null}return a(),(0,i.hA)(function(){r&&=(r.destroy(),null),n=null})}function h(e,t){let r=!1,n=!1,l=!!t?.sync,u=new o.r(()=>{!r&&!n&&(n=!0,l?c():queueMicrotask(c))});function c(){if(n=!1,!u||r)return;if(a)return void f(c);let t;u.clear(),a=!0,r=!0;try{try{(0,s.a)(u,e)}finally{r=!1,a=!1}}catch(r){t=p(r,e)}d(t)}return r=!0,(0,s.a)(u,e),r=!1,(0,i.hA)(function(){u&&=(u.destroy(),null)})}function f(e){l.includes(e)||l.unshift(e)}function d(e){for(;l.length;)try{l.pop()()}catch(t){e??={error:t}}if(e)throw e.error}function p(e,t){return n.A.getLogger("esri.core.Accessor").error("Reactive notification failed",{error:e,callback:t,pendingNotifications:l.length}),{error:e}}},88620(e,t,r){r.d(t,{AH:()=>u,h1:()=>a,oY:()=>s,qg:()=>h,yh:()=>o});var i=r(36563),n=r(4718);function s(e){return e.__accessor__??null}function o(e,t){return null!=e?.metadata?.[t]}function a(e,t,r){return l(e,t,r?{policy:r,path:""}:null)}function l(e,t,r){return t?Object.keys(t).reduce((e,i)=>{let s=i;if("__proto__"===s)return e;let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${i}`:i,a=r.policy(o)),"replace"===a||"replace-arrays"===a&&Array.isArray(e[s]))return e[s]=t[s],e;if(void 0===e[s])return e[s]=(0,n.o8)(t[s]),e;let u=e[s],c=t[s];if(u===c)return e;if(Array.isArray(c)||Array.isArray(e))u=e[s]=u?Array.isArray(u)?u.slice():[u]:[],c&&(Array.isArray(c)||(c=[c]),c.forEach(e=>{u.includes(e)||u.push(e)}));else if(c&&"object"==typeof c)if(r){let t=r.path;r.path=o,e[s]=l(u,c,r),r.path=t}else e[s]=l(u,c,null);else(!e.hasOwnProperty(i)||t.hasOwnProperty(i))&&(e[s]=c);return e},e||{}):e}function u(e){return Array.isArray(e)?e:e.split(".")}function c(e){return e.includes(",")?e.split(",").map(e=>e.trim()):[e.trim()]}function h(e,t,r,n){let s=function(e){if(Array.isArray(e)){let t=[];for(let r of e)t.push(...c(r));return t}return c(e)}(t);if(1!==s.length){let t=s.map(t=>n(e,t,r));return(0,i.vE)(t)}return n(e,s[0],r)}},14012(e,t,r){r.d(t,{iS:()=>A,wB:()=>S,Cn:()=>T});var i=r(98291),n=r(36563),s=r(4718),o=r(44208),a=r(93687);class l extends a.A{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...e){let t=super.acquire(...e);return this._set.delete(t),t}release(e){!e||(0,o.A)("esri-tests-disable-memory-pools")||this._set.has(e)||(super.release(e),this._set.add(e))}_dispose(e){this._set.delete(e),super._dispose(e)}}var u=r(76030),c=r(24326),h=r(16649),f=r(85537),d=r(80559),p=r(88620);class y{constructor(){this.uid=(0,c.c)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static{this.pool=new l(()=>new y)}static acquireUntracked(e,t,r,i,n){return this.pool.acquire(0,e,t,r,i,n,s.aI)}static acquireTracked(e,t,r,i){return this.pool.acquire(1,e,t,r,null,null,i)}notify(e,t){0===this.type?this.callback.call(this.target,e,t,this.path,this.target):this.callback.call(null,e,t,void 0,void 0)}acquire(e,t,r,i,n,s,o){this.uid=(0,c.c)(),this.removed=!1,this.type=e,this.oldValue=t,this.callback=r,this.getValue=i,this.target=n,this.path=s,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,c.c)(),this.removed=!0}}const g=new i.A,_=new Set,v=new Set;let m;function w(e){_.delete(e),_.add(e),null!==e.target&&v.add(e.target),m||=(0,u._)(O)}function b(e){if(e.removed)return;let t=e.oldValue,r=e.getValue();e.equals(t,r)||(e.oldValue=r,e.notify(r,t))}function A(e){if(v.has(e))for(let t of _.values())t.target===e&&(t.removed=!0)}function O(){let e=10;for(;m&&e--;){m=null;let e=N(),t=g.acquire();for(let r of e){let e=r.uid;b(r),e===r.uid&&r.removed&&t.push(r)}for(let e of _)e.removed&&(t.push(e),_.delete(e));for(let e of t)y.pool.release(e);g.release(t),g.release(e),k.forEach(e=>e())}}function N(){let e=g.acquire();e.length=_.size;let t=0;for(let r of _)e[t]=r,++t;return _.clear(),v.clear(),e}const k=new Set;function S(e,t,r,i=!1){return e.__accessor__&&e.__accessor__.lifecycle!==f.v.DESTROYED?i?function(e,t,r){let i=(0,p.qg)(e,t,r,(e,t,r)=>{let n=!1;return(0,d.mJ)(()=>(0,h.RP)(e,t),(o,a)=>{if(e.__accessor__.lifecycle===f.v.DESTROYED)i.remove();else if(!n){n=!0;try{(0,s.aI)(a,o)||r.call(e,o,a,t,e)}finally{n=!1}}})});return i}(e,t,r):function(e,t,r){let i=(0,p.qg)(e,t,r,(e,t,r)=>{let s,o,a=(0,d.Df)(()=>(0,h.RP)(e,t),(n,a)=>{e.__accessor__?.lifecycle===f.v.DESTROYED||s&&s.uid!==o?i.remove():(s||(s=y.acquireUntracked(n,r,a,e,t),o=s.uid),w(s))});return(0,n.hA)(()=>{a.remove(),s&&=(s.uid===o&&!s.removed&&(s.removed=!0,w(s)),null),i=a=null})});return i}(e,t,r):(0,n.hA)()}function T(e,t,r=!1,i=s.gh){return r?function(e,t,r){let i=!1;return(0,d.mJ)(e,(e,n)=>{if(!i){i=!0;try{r(n,e)||t(e,n)}finally{i=!1}}})}(e,t,i):function(e,t,r){let i,s,o=(0,d.Df)(e,(e,n)=>{i&&i.uid!==s?o.remove():(i||(i=y.acquireTracked(e,t,n,r),s=i.uid),w(i))});return(0,n.hA)(()=>{o.remove(),i&&=(i.uid===s&&!i.removed&&(i.removed=!0,w(i)),null),o=null})}(e,t,i)}},49422(e,t,r){r.d(t,{M:()=>d,R:()=>f});var i=r(4576),n=r(49186),s=r(53966),o=r(7142),a=r(16649),l=r(35666),u=r(88620);function c(e,t,r,i,n){let s={};return t.write?.writer?.call(e,i,s,r,n),s}function h(e,t,r,o,u,c){if(!o?.write)return!1;let h=(0,a.Jt)(e,r);if(!u&&o.write.overridePolicy){let t=o.write.overridePolicy.call(e,h,r,c??void 0);void 0!==t&&(u=t)}if(u||=o.write,!u||!1===u.enabled||u.layerContainerTypes&&c?.layerContainerType&&!u.layerContainerTypes.includes(c.layerContainerType))return!1;if((null===h&&!u.allowNull&&!u.writerEnsuresNonNull||void 0===h)&&u.isRequired){let t=new n.A("web-document-write:property-required",`Missing value for required property '${r}' on '${e.declaredClass}'`,{propertyName:r,target:e});return t&&c?.messages?c.messages.push(t):t&&!c&&s.A.getLogger("esri.core.accessorSupport.write").error(t.name,t.message),!1}return!(void 0===h||null===h&&!u.allowNull&&!u.writerEnsuresNonNull||!u.alwaysWriteDefaults&&(!t.store.multipleOriginsSupported||0===t.store.originOf(r))&&function(e,t,r,n,s){let o=n.default;if(void 0===o)return!1;if(null!=n.defaultEquals)return n.defaultEquals(s);if("function"==typeof o){if(Array.isArray(s)){let n=o.call(e,t,r??void 0);return(0,i.aI)(n,s)}return!1}return o===s}(e,r,c,o,h)||!u.ignoreOrigin&&c?.origin&&t.store.multipleOriginsSupported&&t.store.originOf(r)<(0,l.aB)(c.origin))}function f(e,t,r,i){let n=(0,u.oY)(e),s=n.metadata,a=(0,o.k4)(s[t],i);return!!a&&h(e,n,t,a,r,i)}function d(e,t,r){if(e&&"function"==typeof e.toJSON&&(!e.toJSON.isDefaultToJSON||!e.write))return(0,u.h1)(t,e.toJSON(r));let i=(0,u.oY)(e),n=i.metadata;for(let s in n){let f=(0,o.k4)(n[s],r);if(!h(e,i,s,f,void 0,r))continue;let d=(0,a.Jt)(e,s),p=c(e,f,f.write&&"string"==typeof f.write.target?f.write.target:s,d,r);Object.keys(p).length>0&&(t=(0,u.h1)(t,p),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>(0,u.h1)(t,p,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:e,propName:s,oldOrigin:(0,l.in)(i.store.originOf(s)),newOrigin:r.origin}))}return t}},5479(e,t,r){function i(e){let t=[];return function*(){yield*t;let r,i=t.length;for(;!(r=e.next()).done;)for(t.push(r.value),yield r.value;++i<t.length;)yield t[i]}}r.d(t,{I6:()=>o,N5:()=>s,PP:()=>i,xZ:()=>l,zN:()=>a});const n=Object.freeze({done:!0,value:void 0});function s(e){let t=[],r=null,i=null,s=!1;async function o(){if(s)return n;if(null!=i)return i;i=e.next();try{let e=await i;return i=null,e.done?(s=!0,n):(t.push(e.value),e)}catch(e){throw s=!0,i=null,r=e,e}}return async function*(){yield*t;let e,i=t.length;for(;!(e=await o()).done;)for(yield e.value;++i<t.length;)yield t[i];if(null!=r)throw r}}function o(e,t){for(let r of e)if(null!=r&&t(r))return r}function a(e,t){for(let r of e)if(t(r))return!0;return!1}function l(e){return null!=e&&"function"==typeof e[Symbol.iterator]}},66552(e,t,r){r.d(t,{J:()=>n,O:()=>o});var i=r(93637);class n{constructor(e,t={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=e,this._options=t,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(e){let t={};for(let r in e)t[e[r]]=r;return t}(e),this.apiValues=s(this._apiToJSON),this.jsonValues=s(this._jsonToAPI),this.read=e=>this.fromJSON(e),this.write=(e,t,r)=>{let n=this.toJSON(e);void 0!==n&&(0,i.sM)(r,n,t)},this.write.isJSONMapWriter=!0}toJSON(e){if(null==e)return null;if(this._apiToJSON.hasOwnProperty(e)){let t=this._apiToJSON[e];return this._options.useNumericKeys?+t:t}return this._options.ignoreUnknown?null:e}fromJSON(e){return null!=e&&this._jsonToAPI.hasOwnProperty(e)?this._jsonToAPI[e]:this._options.ignoreUnknown?void 0:e}}function s(e){let t=[];for(let r in e)t.push(r);return t.sort(),t}function o(){return function(e,t){return new n(e,{ignoreUnknown:!0,...t})}}},26390(e,t,r){r.d(t,{d:()=>n});const i=[];function n(e){i.push(e),1===i.length&&queueMicrotask(()=>{let e=i.slice();i.length=0;for(let t of e)t()})}},76030(e,t,r){r.d(t,{_:()=>g,$m:()=>O,md:()=>A});var i=r(26390);function n(e,t,r,i,n){console.timeStamp(e,t,r,n,i)}class s{constructor(e,t=30){this.name=e,this._counter=0,this._samples=Array(t)}push(e){null!=e&&(this._samples[++this._counter%this._samples.length]=e)}set(e){null!=e&&(this._samples[this._counter%this._samples.length]=e)}get median(){return this._samples.slice().sort((e,t)=>e-t)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((e,t)=>e+t,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var o=r(15142),a=r(17676),l=r(78659);class u{constructor(e){this.callback=e,this.isActive=!0}remove(){this.isActive=!1}}let c=0;const h={time:(0,l.l5)(0),deltaTime:(0,l.l5)(0),elapsedFrameTime:(0,l.l5)(0),frameDuration:(0,l.l5)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.A,y={frameTasks:p,willDispatch:!1,clearFrameTasks:function(e=!1){p.forAll(e=>{e.removed=!0}),e&&w()},dispatch:b,executeFrameTasks:function(e){let t=(0,l.l5)(e-c);c=e;let r=1e3/60,i=Math.max(0,t-r);h.time=e,h.frameDuration=(0,l.l5)(r-i);for(let r=0;r<f.length;r++){let i=performance.now(),s=f[r];p.forAll(i=>{i.paused||i.removed||(0===r&&i.ticks++,!i.phases[s])||(h.elapsedFrameTime=(0,l.l5)(performance.now()-e),h.deltaTime=0===i.ticks?(0,l.l5)(0):t,i.phases[s]?.call(i,h))});let o=performance.now();N[r].push(o-i),n(s,i,o,"Maps SDK","Scheduling")}w();let s=performance.now();k.push(s-e),n("Animation Frame",e,s,"Maps SDK","Scheduling")},reschedule:function(){null!=_&&(cancelAnimationFrame(_),_=requestAnimationFrame(v))}};function g(e){let t=new u(e);return d.push(t),y.willDispatch||(y.willDispatch=!0,(0,i.d)(b)),t}let _=null;function v(){let e=performance.now();_=null,_=p.some(e=>!e.paused&&!e.removed)?requestAnimationFrame(v):null,y.executeFrameTasks(e)}const m=new o.A;function w(){p.forAll(e=>{e.removed&&m.push(e)}),p.removeUnorderedMany(m.data,m.length),m.clear()}function b(){for(;d.length;){let e=d.shift();e.isActive&&e.callback()}y.willDispatch=!1}function A(e=1,t){let r=Promise.withResolvers(),n=()=>{(0,a.G4)(t)?r.reject((0,a.NK)()):0===e?r.resolve():(--e,(0,i.d)(()=>n()))};return n(),r.promise}async function O(e){await function(e){return A(1,e)}(e),await new Promise(t=>requestAnimationFrame(()=>{e?.aborted||t()}))}const N=f.map(e=>new s(e)),k=new s("total")},78659(e,t,r){function i(e){return e}function n(e){return 1e3*e}function s(e){return e}r.d(t,{Kp:()=>s,gr:()=>n,l5:()=>i})},24326(e,t,r){r.d(t,{c:()=>n});let i=0;function n(){return++i}},59923(e,t,r){r.d(t,{GL:()=>h,MG:()=>o,U4:()=>a,Yc:()=>c,bA:()=>u,qt:()=>l});var i=r(49186),n=r(67076);const s=["layer","property","renderer","symbol","symbol-layer","url","visual-variable","type","elevation-profile-line","field-configuration-field-format","parquet-data"].map(e=>`${e}:unsupported`),o=new Set(s);function a(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("layer",`Layer (${t.title}, ${t.id}) of type '${t.declaredClass}' is not supported in the context of '${i}'${r?`: ${r}`:""}`,{layer:t}))}function l(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("property",`Property '${t}' is not supported in the context of '${i}'${r?`: ${r}`:""}`))}function u(e,t,r,i){if(!e)return;let n=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("symbol",`Symbol '${t.declaredClass}' is not supported in the context of '${n}'${r?`: ${r}`:""}`,i))}function c(e,t,r,s,o){e&&e?.messages?.push(f("warning"===t?n.A:i.A,r,s,o))}function h(e,t,r){return f(i.A,e,t,r)}function f(e,t,r,i){return new e(`${t}:unsupported`,r,i)}}}]);
1
+ "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[9358],{56372(e,t,r){r.d(t,{A:()=>P});var i=r(56454),n=r(10107),s=r(64108),o=r(16649),a=r(85537),l=r(96156),u=(r(44208),r(4718)),c=r(53966),h=r(93687),f=r(30801),d=r(62788),p=r(47328),y=r(67867);const g=new WeakMap;class _ extends f.T{get trackingTarget(){return this._trackingTarget??=new y.R(this)}constructor(e,t){super(),this.propertyName=e,this.metadata=t,this.flags=function(e){let t=g.get(e);if(null!=t)return t;let r=p.i.Dirty|(e.nonNullable?p.i.NonNullable:0)|(e.hasOwnProperty("value")?p.i.HasDefaultValue:0)|(void 0===e.get?p.i.DepTrackingInitialized:0)|(void 0===e.dependsOn?p.i.AutoTracked:0);return g.set(e,r),r}(t)}destroy(){this.flags&p.i.Dirty&&this.onCommitted(),super.destroy(),this._trackingTarget?.destroy()}getComputed(e,t){e.mutable&&(0,d.gc)(this);let r=e.store,i=this.propertyName,n=this.flags,s=r.get(i);if(n&p.i.Computing||!(n&p.i.Dirty)&&r.has(i))return s;this.flags|=p.i.Computing;let o,{host:a}=e;n&p.i.AutoTracked?o=(0,d.a)(this.trackingTarget,t,a):((0,d.Xr)(a,this),o=t.call(a)),this.flags|=p.i.DepTrackingInitialized,r.set(i,o,1);let l=r.get(i);return l===s?this.flags&=~p.i.Dirty:(0,d.F_)(this.commit,this),this.flags&=~p.i.Computing,l}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~p.i.Dirty,this.onCommitted()}onInvalidated(){~this.flags&p.i.Overridden&&(this.flags|=p.i.Dirty);let e=this._observers;if(e&&e.length>0)for(let t of e)t.onInvalidated()}onCommitted(){let e=this._observers;if(e&&e.length>0){if(1===e.length)return void e[0].onCommitted();let t=e.slice();for(let e of t)e.onCommitted()}}}var v=r(35666);class m{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new m;return this._values.forEach((r,i)=>{e&&e.has(i)||t.set(i,(0,u.o8)(r))}),t}get(e){return this._values.get(e)}originOf(){return 7}keys(){return[...this._values.keys()]}set(e,t){this._values.set(e,t)}delete(e){this._values.delete(e)}has(e){return this._values.has(e)}isAtOrigin(e,t){return this.has(e)}isBelowOrigin(e,t){return!this.has(e)}forEach(e){this._values.forEach(e)}}function w(e,t,r){return void 0!==e}function b(e,t,r,i){return!(void 0===e||null==r&&e.flags&p.i.NonNullable&&(i.lifecycle,a.v.INITIALIZING,1))}class A{constructor(e){this.host=e,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=a.v.INITIALIZING,this.store=new m,this.mutable=!0,this._origin=7;let t=this.host.constructor.__accessorMetadata__;for(let e in t){let r=new _(e,t[e]);this.propertiesByName.set(e,r)}this.metadata=t}initialize(){this.lifecycle=a.v.CONSTRUCTING}constructed(){this.lifecycle=a.v.CONSTRUCTED}destroy(){this.lifecycle=a.v.DESTROYED,this.propertiesByName.forEach(e=>e.destroy())}get initialized(){return this.lifecycle!==a.v.INITIALIZING}get(e){let t=this.propertiesByName.get(e);if(!w(t))return;let r=t.metadata.get;if(r)return t.getComputed(this,r);this.mutable&&(0,d.gc)(t);let i=this.store;return i.has(e)?i.get(e):t.metadata.value}originOf(e){let t=this.store.originOf(e);if(void 0===t){let t=this.propertiesByName.get(e);if(void 0!==t&&t.flags&p.i.HasDefaultValue)return"defaults"}return(0,v.OL)(t)}has(e){return this.propertiesByName.has(e)&&this.store.has(e)}keys(){return[...this.propertiesByName.keys()]}internalGet(e){let t=this.propertiesByName.get(e);if(w(t))return this.store.has(e)?this.store.get(e):t.metadata.value}internalSet(e,t){let r=this.propertiesByName.get(e);w(r)&&this._internalSet(r,t)}getDependsInfo(e,t,r){let i=this.propertiesByName.get(t);if(!w(i))return"";let n=new y.R,s=(0,d.a)(n,()=>i.metadata.get?.call(e)),o=`${r}${e.declaredClass.split(".").pop()}.${t}: ${s}\n`,a=n.accessed??new Set;if(0===a.size)return o;r+=" ";for(let e of a)e instanceof _&&(o+=`${r}${e.propertyName}: undefined\n`);return o}setAtOrigin(e,t,r){let i=this.propertiesByName.get(e);if(w(i))return this._setAtOrigin(i,t,r)}isOverridden(e){let t=this.propertiesByName.get(e);return void 0!==t&&!!(t.flags&p.i.Overridden)}clearOrigin(e,t){let r=this.store,i=this.propertiesByName.get(e);if(!w(i))return;let n=r.isAtOrigin(e,t)&&!(i.flags&p.i.Overridden);r.delete(e,t),n&&i.notifyChange()}clearOverride(e){let t=this.propertiesByName.get(e);t&&t.flags&p.i.Overridden&&(t.flags&=~p.i.Overridden,t.notifyChange())}override(e,t){let r=this.propertiesByName.get(e);if(!b(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(N.release(e),!r)return;t=n}r.flags|=p.i.Overridden,this._internalSet(r,t)}set(e,t){let r=this.propertiesByName.get(e);if(!b(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(N.release(e),!r)return;t=n}let n=r.metadata.set;n?n.call(this.host,t):this._internalSet(r,t)}setDefaultOrigin(e){this._origin=(0,v.aB)(e)}getDefaultOrigin(){return(0,v.OL)(this._origin)}notifyChange(e){this.propertiesByName.get(e)?.notifyChange()}invalidate(e){this.propertiesByName.get(e)?.invalidate()}commit(e){this.propertiesByName.get(e)?.commit()}_internalSet(e,t){let r=this.lifecycle===a.v.INITIALIZING?0:this._origin;this._setAtOrigin(e,t,r)}_setAtOrigin(e,t,r){let i=this.store,n=e.propertyName,s=i.isAtOrigin(n,r);if(s&&~e.flags&p.i.Overridden&&(0,u.aI)(t,i.get(n)))return;let o=s||i.isBelowOrigin(n,r);o&&e.invalidate(),i.set(n,t,r),o&&e.commit(),(0,d.fE)(this.host,e)}_cast(e,t){let r=N.acquire();return r.valid=!0,r.value=t,e&&(r.value=e.call(this.host,t,r)),r}}class O{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}}const N=new h.A(()=>new O);var k,S,T=r(47821),j=r(53842),C=r(14012),D=r(51447),E=r(71511),$=r(97768);function I(e){if(null==e)return{value:e};if(Array.isArray(e))return{type:[e[0]],value:null};switch(typeof e){case"object":return e.constructor?.__accessorMetadata__||e instanceof Date?{type:e.constructor,value:e}:e;case"boolean":return{type:Boolean,value:e};case"string":return{type:String,value:e};case"number":return{type:Number,value:e};case"function":return{type:e,value:null};default:return}}const M=Symbol("Accessor-Handles"),z=Symbol("Accessor-Initialized");class P{static{k=M,S=z}static createSubclass(e={}){let{properties:t,declaredClass:r,constructor:i}=e;delete e.declaredClass,delete e.properties,delete e.constructor;let o=this;class a extends o{constructor(...e){super(...e),this.inherited=null,i&&i.apply(this,e)}}(0,l.tD)(a.prototype);for(let t in e){let r=e[t];if("function"==typeof r){let e=function(...e){if(o.prototype[t])return o.prototype[t].apply(this,e)};a.prototype[t]=function(...t){let i,n=this.inherited;this.inherited=e;try{i=r.apply(this,t)}catch(e){throw this.inherited=n,e}return this.inherited=n,i}}else a.prototype[t]=e[t]}for(let e in t){let r=I(t[e]);(0,n.MZ)(r)(a.prototype,e)}return(0,s.$K)(r)(a)}static freeze(e){return e instanceof P?e.__accessor__.mutable=!1:Object.freeze(e),e}static isFrozen(e){return e instanceof P?!e.__accessor__.mutable:Object.isFrozen(e)}constructor(e){if(this[k]=null,this[S]=!1,new.target===P)throw Error("[accessor] cannot instantiate Accessor directly.");let t=new A(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:t}),arguments.length>0&&(t.ctorArgs=e),(0,j.Z)()?.onInstanceConstruct(this)}postscript(){let e=this.__accessor__,t=e.ctorArgs;e.initialize(),t&&(this.set(t),e.ctorArgs=null),e.constructed(),this.initialize(),this[z]=!0}initialize(){}[i.G](){this[M]=(0,$.pR)(this[M])}destroy(){this.destroyed||((0,C.iS)(this),this.__accessor__.destroy(),(0,j.Z)()?.onInstanceDestroy(this))}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[z]}get destroyed(){return this.__accessor__?.lifecycle===a.v.DESTROYED||!1}get destroying(){return this.__accessor__?.lifecycle===a.v.DESTROYING||!1}commitProperty(e){(0,o.Jt)(this,e)}hasOwnProperty(e){return this.__accessor__?this.__accessor__.has(e):Object.prototype.hasOwnProperty.call(this,e)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(e,t){return(0,T.h)(this,e,t),this}watch(e,t,r){return(0,D.eO)(c.A.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://arcg.is/1vaqf42#watch",warnOnce:!0}),(0,C.wB)(this,e,t,r)}addHandles(e,t){if(this.destroyed){let t=Array.isArray(e)?e:[e];for(let e of t)e.remove()}else(this[M]??=new E.A).add(e,t)}removeHandles(e){this[M]?.remove(e)}removeAllHandles(){this[M]?.removeAll()}removeHandlesReference(e){this[M]?.removeReference(e)}hasHandles(e){return!0===this[M]?.has(e)}_override(e,t){void 0===t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_clearOverride(e){return this.__accessor__.clearOverride(e)}_overrideIfSome(e,t){null==t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_isOverridden(e){return this.__accessor__.isOverridden(e)}notifyChange(e){this.__accessor__.notifyChange(e)}_get(e){return this.__accessor__.internalGet(e)}_set(e,t){return this.__accessor__.internalSet(e,t),this}}},98291(e,t,r){r.d(t,{A:()=>s});var i=r(93687);function n(e){e.length=0}class s{constructor(e=50,t=50){this._pool=new i.A(()=>[],void 0,n,t,e)}acquire(){return this._pool.acquire()}release(e){this._pool.release(e)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(e){return o.release(e)}static prune(){o.prune()}}const o=new s(100)},71511(e,t,r){r.d(t,{A:()=>n});var i=r(5479);class n{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let e=0;return this._groups.forEach(t=>{e+=t.length}),e}add(e,t){if((0,i.xZ)(e)){let r=this._getOrCreateGroup(t);for(let t of e)a(t)&&r.push(t)}else a(e)&&this._getOrCreateGroup(t).push(e);return this}forEach(e,t){if("function"==typeof e)this._groups.forEach(t=>t.forEach(e));else{let r=this._getGroup(e);r&&t&&r.forEach(t)}}has(e){return this._groups.has(s(e))}remove(e){if("string"!=typeof e&&(0,i.xZ)(e)){for(let t of e)this.remove(t);return this}return this.has(e)&&(o(this._getGroup(e)),this._groups.delete(s(e))),this}removeAll(){return this._groups.forEach(o),this._groups.clear(),this}removeReference(e){return this._groups.delete(e),this}_getOrCreateGroup(e){if(this.has(e))return this._getGroup(e);let t=[];return this._groups.set(s(e),t),t}_getGroup(e){return this._groups.get(s(e))}}function s(e){return e||"_default_"}function o(e){for(let t of e)t instanceof n?t.removeAll():t.remove()}function a(e){return null!=e&&(!!e.remove||e instanceof n)}},25482(e,t,r){r.d(t,{o:()=>y,T:()=>d});var i=r(32198),n=r(56372),s=r(64108),o=r(4718);class a{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new a;return this._values.forEach((r,i)=>{e&&e.has(i)||t.set(i,(0,o.o8)(r.value),r.origin)}),t}get(e,t){t=this._normalizeOrigin(t);let r=this._values.get(e);return null==t||r?.origin===t?r?.value:void 0}originOf(e){return this._values.get(e)?.origin??7}keys(e){e=this._normalizeOrigin(e);let t=[...this._values.keys()];return null==e?t:t.filter(t=>this._values.get(t)?.origin===e)}set(e,t,r){if(0===(r=this._normalizeOrigin(r))){let t=this._values.get(e);if(null!=t?.origin&&t.origin>r)return}this._values.set(e,new l(t,r))}delete(e,t){(null==(t=this._normalizeOrigin(t))||this._values.get(e)?.origin===t)&&this._values.delete(e)}has(e,t){return null==(t=this._normalizeOrigin(t))?this._values.has(e):this._values.get(e)?.origin===t}isAtOrigin(e,t){return null!=(t=this._normalizeOrigin(t))&&this._values.get(e)?.origin===t}isBelowOrigin(e,t){return t=this._normalizeOrigin(t),!this.has(e)||this.originOf(e)<t}forEach(e){this._values.forEach(({value:t},r)=>e(t,r))}_normalizeOrigin(e){if(null!=e)return 0===e?e:7}}class l{constructor(e,t){this.value=e,this.origin=t}}var u=r(76953),c=r(45917),h=r(88620),f=r(49422);const d=e=>{let t=e,r=class extends t{constructor(...e){super(...e);let t=(0,h.oY)(this),r=t.store,i=new a;t.store=i,(0,u.k)(t,r,i)}read(e,t){(0,c.L)(this,e,t)}write(e,t){return(0,f.M)(this,e??{},t)}toJSON(e){return this.write({},e)}static fromJSON(e,t){return p.call(this,e,t)}};return r=(0,i.Cg)([(0,s.$K)("esri.core.JSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function p(e,t){if(!e)return null;if(e.declaredClass)throw Error("JSON object is already hydrated");let r=new this;return r.read(e,t),r}const y=d(n.A)},93687(e,t,r){r.d(t,{A:()=>s});var i=r(44208);const n=()=>!!(0,i.A)("esri-tests-disable-memory-pools");class s{constructor(e,t,r,i=1,n=0){this._creator=e,this._acquireFunction=t,this._releaseFunction=r,this.allocationSize=i,this._pool=Array(n),this._initialSize=n;for(let e=0;e<n;e++)this._pool[e]=this._creator();this.allocationSize=Math.max(i,1)}destroy(){this.prune(0)}acquire(...e){let t;if(n())t=this._creator();else{if(0===this._pool.length){let e=this.allocationSize;for(let t=0;t<e;t++)this._pool[t]=this._creator()}t=this._pool.pop()}return this._acquireFunction?this._acquireFunction(t,...e):function(e){return e?.acquire&&"function"==typeof e.acquire}(t)&&t.acquire(...e),t}release(e){e&&!n()&&(this._releaseFunction?this._releaseFunction(e):function(e){return e?.release&&"function"==typeof e.release}(e)&&e.release(),this._pool.push(e))}prune(e=this._initialSize){if(!(e>=this._pool.length)){for(let t=e;t<this._pool.length;++t){let e=this._pool[t];this._dispose(e)}this._pool.length=e}}_dispose(e){"function"==typeof e.dispose&&e.dispose()}}},15142(e,t,r){r.d(t,{A:()=>u});var i=r(4576),n=r(21818);const s=(e,t,r,i)=>{let n=t,s=t,o=r>>>1,a=e[n-1];for(;s<=o;){s=n<<1,s<r&&i(e[s-1],e[s])<0&&++s;let t=e[s-1];if(i(t,a)<=0)break;e[n-1]=t,n=s}e[n-1]=a},o=(e,t)=>e<t?-1:+(e>t);function a(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i);let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i)}}function*l(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i),yield;let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i),yield}}class u{constructor(e){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new i.vW,e&&(e.initialSize&&(this.data=Array(e.initialSize)),e.allocator&&(this._allocator=e.allocator),void 0!==e.deallocator&&(this._deallocator=e.deallocator),e.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(e){let t=[];for(let r=0;r<this._length;r++){let i=this.data[r];e(i)&&t.push(i)}return t}at(e){if((e=Math.trunc(e)||0)<0&&(e+=this._length),!(e<0||e>=this._length))return this.data[e]}includes(e,t){let r=this.data.indexOf(e,t);return-1!==r&&r<this.length}get length(){return this._length}set length(e){if(e>this._length){if(this._allocator){for(;this._length<e;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=e}else{if(this._deallocator)for(let t=e;t<this._length;++t)this.data[t]=this._deallocator(this.data[t]);this._length=e,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(e){this.data[this._length++]=e}pushArray(e,t=e.length){for(let r=0;r<t;r++)this.data[this._length++]=e[r]}pushAll(e){for(let t of e)this.data[this._length++]=t}fill(e,t){for(let r=0;r<t;r++)this.data[this._length++]=e}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let e=this.data[this._length];return++this._length,e}unshift(e){this.data.unshift(e),this._length++,c(this)}pop(){if(0===this.length)return;let e=this.data[this.length-1];return--this.length,this._shrink(),e}remove(e){let t=(0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint);if(-1!==t)return this.data.splice(t,1),--this.length,e}removeUnordered(e){return this.removeUnorderedIndex((0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint))}removeUnorderedIndex(e){if(!(e>=this.length||e<0))return this.swapElements(e,this.length-1),this.pop()}removeUnorderedMany(e,t=e.length,r){this.length=(0,i.mW)(this.data,e,this.length,t,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(e,t){if(e>=this.length||t>=this.length||e===t)return;let r=this.data[e];this.data[e]=this.data[t],this.data[t]=r}sort(e){a(this.data,0,this.length,e)}stableSort(e){let t=this.toArray().sort(e);for(let e=0;e<t.length;++e)this.data[e]=t[e]}iterableSort(e){return l(this.data,0,this.length,e)}some(e,t){for(let r=0;r<this.length;++r)if(e.call(t,this.data[r],r,this.data))return!0;return!1}find(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)if(e.call(t,r[n]))return r[n]}filterInPlace(e,t){let r=0;for(let i=0;i<this._length;++i){let n=this.data[i];e.call(t,n,i,this.data)&&(this.data[i]=this.data[r],this.data[r]=n,r++)}if(this._deallocator)for(let e=r;e<this._length;e++)this.data[e]=this._deallocator(this.data[e]);return this._length=r,this._shrink(),this}forAll(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)e.call(t,r[n],n,r)}forEach(e,t){this.data.slice(0,this.length).forEach(e,t)}map(e,t){let r=Array(this.length);for(let i=0;i<this.length;++i)r[i]=e.call(t,this.data[i],i,this.data);return r}reduce(e,t){let r=t;for(let t=0;t<this.length;++t)r=e(r,this.data[t],t,this.data);return r}has(e){let t=this.length,r=this.data;for(let i=0;i<t;++i)if(r[i]===e)return!0;return!1}*[Symbol.iterator](){for(let e=0;e<this.length;++e)yield this.data[e]}}function c(e){e.data.length>1.5*e.length&&(e.data.length=Math.floor(1.1*e.length))}},67076(e,t,r){r.d(t,{A:()=>n});var i=r(799);class n{constructor(e,t,r){this.name=e,this.details=r,this.type="warning",this.message=t?(0,i.V2)(t,r):""}toString(){let{name:e,message:t}=this;return`[${e}]: ${t}`}}},85537(e,t,r){r.d(t,["v",0,{INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}])},30801(e,t,r){r.d(t,{T:()=>a});var i=r(36563),n=r(16187);const s=Symbol("ObservableBase");function o(e){return s in e}class a{constructor(){this._observers=null,this.destroyed=!1}static observeForTracking(e,t,r){if(o(e)){let i=e.observe;if(i===u)return e._addObserver(t)??l;let n=r?.length?i.call(e,t,r.pop()):i.call(e,t);return Array.isArray(n)?c(n):n}let i=e.observe(t);return Array.isArray(i)||(0,n.b4)(i)?c(i):i}get[s](){return!0}observe(e,t){let r=this._addObserver(e);return r?t?t.rebind(r,e):new n.fk(r,e):l}_addObserver(e){if(this.destroyed||e.destroyed)return;let t=this._observers;if(null==t)return this._observers=[e];let r=!1;for(let i of t)if(i.destroyed)r=!0;else if(i===e)return t;return t.push(e),r&&this._removeDestroyedObservers(),t}_removeDestroyedObservers(){let e=this._observers;if(!e)return;let t=e.length;if(0===t)return;let r=0;for(let i=0;i<t;++i){for(;i+r<t&&e[i+r].destroyed;)++r;if(r>0){if(!(i+r<t))break;e[i]=e[i+r]}}e.length=t-r}destroy(){if(this.destroyed)return;this.destroyed=!0;let e=this._observers;if(null!=e){for(let t of e)t.onCommitted();this._observers=null}}}const l=(0,i.hA)(),u=a.prototype.observe;function c(e){return{remove:()=>e.remove()}}},35666(e,t,r){function i(e){switch(e){case"defaults":return 0;case"service":return 2;case"portal-item":return 3;case"web-scene":return 4;case"web-map":return 5;case"link-chart":return 6;case"user":return 7;default:return null}}function n(e){switch(e){case 0:return"defaults";case 2:return"service";case 3:return"portal-item";case 4:return"web-scene";case 5:return"web-map";case 6:return"link-chart";case 7:return"user"}}function s(e){return n(e)}r.d(t,{OL:()=>n,aB:()=>i,in:()=>s})},56454(e,t,r){const i=Symbol("Accessor-beforeDestroy");r.d(t,["G",0,i])},91429(e,t,r){r.d(t,{wg:()=>l,MZ:()=>o,$K:()=>a});var i=r(10107),n=r(79901),s=r(64108);r(93223),r(36005),r(43937);const o=i.MZ,a=s.$K;function l(...e){return(0,n.w)(...e)}},79901(e,t,r){r.d(t,{w:()=>l});var i=r(56507),n=r(96156);const s=Object.prototype.toString;function o(e){let t="__accessorMetadata__"in e?(0,i.dp)(e):e;return function(...e){if(e.push(t),"number"==typeof e[2])throw Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,e)}}function a(e,t,r,i){(0,n.z4)(e,t).cast=i}function l(...e){if(3!==e.length||"string"!=typeof e[1]){if(1===e.length&&"[object Function]"===s.call(e[0]))return o(e[0]);if(1===e.length&&"string"==typeof e[0])return function(e){return(t,r)=>{(0,n.z4)(t,e).cast=t[r]}}(e[0])}}},93223(e,t,r){r.d(t,{e:()=>s});var i=r(66552),n=r(10107);function s(e,t={}){let r=e instanceof i.J?e:new i.J(e,t),{alwaysWriteDefaults:s,default:o,ignoreUnknown:a=!0,name:l,nonNullable:u,readOnly:c=!1}=t;return(0,n.MZ)({type:a?r.apiValues:String,json:{type:r.jsonValues,default:o,name:l,read:!c&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:s}},nonNullable:u,readOnly:c})}},10107(e,t,r){r.d(t,{MZ:()=>l,rM:()=>u});var i=r(53966),n=r(56507),s=r(16649),o=r(96156),a=r(47821);function l(e={}){return(t,r)=>{if(t===Function.prototype)throw Error(`Inappropriate use of @property() on a static field: ${t.name}.${r}. Accessor does not support static properties.`);let l=Object.getOwnPropertyDescriptor(t,r),u=(0,o.z4)(t,r);l&&(l.get||l.set?(u.get=l.get||u.get,u.set=l.set||u.set):"value"in l&&("value"in e&&i.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${t.constructor.name}" already defined in the metadata`,e),u.value=e.value=l.value)),null!=e.readOnly&&(u.readOnly=e.readOnly);let c=e.aliasOf;if(c){let e,t="string"==typeof c?c:c.source,i="string"==typeof c?null:!0===c.overridable;u.dependsOn=[t],u.get=function(){let r=(0,s.Jt)(this,t);if("function"==typeof r){e||=t.split(".").slice(0,-1).join(".");let i=(0,s.Jt)(this,e);i&&(r=r.bind(i))}return r},u.readOnly||(u.set=i?function(e){this._override(r,e)}:function(e){(0,a.h)(this,t,e)})}let h=e.type,f=e.types;if(!u.cast){let t;h&&!1!==e.useTypeForAutocast?t=function(e){let t=0,r=e;if((0,n.Zu)(e))return(0,n.Nd)(e);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],t++;let i=r;if((0,n.EK)(i))return 0===t?(0,n.MB)(i):(0,n._e)((0,n.MB)(i),t);if(1===t)return(0,n.eC)(i);if(t>1)return(0,n.e6)(i,t);let s=e;return s.from?s.from:(0,n.dp)(s)}(h):f&&(t=Array.isArray(f)?(0,n.wB)((0,n.aq)(f[0])):(0,n.aq)(f)),e.cast=function(e,t){if(e||t)return e?t?(r,i)=>t(e(r,i),i):e:t}(e.cast,t)}(0,o.CX)(u,e),e.range&&(u.cast=(0,n.Qp)(u.cast,e.range))}}function u(e,t,r){let i=(0,o.z4)(e,r);i.json||={};let n=i.json;return void 0!==t&&(n.origins||(n.origins={}),n.origins[t]||(n.origins[t]={}),n=n.origins[t]),n}},36005(e,t,r){r.d(t,{w:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t||Array.isArray(t)?(s=e,r=t,n=[void 0]):(s=t,n=Array.isArray(e)?e:[e]),(e,t)=>{let o=e.constructor.prototype;n.forEach(n=>{let a=(0,i.rM)(e,n,s);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=o[t],r&&(a.read.source=(a.read.source||[]).concat(r))})}}},64108(e,t,r){r.d(t,{$K:()=>m}),r(44208);var i=r(53966),n=r(56454),s=r(56507),o=r(90360);function a(e){e.name&&(e.read&&"object"==typeof e.read?void 0===e.read.source&&(e.read.source=e.name):e.read={source:e.name},e.write&&"object"==typeof e.write?void 0===e.write.target&&(e.write.target=e.name):e.write={target:e.name})}function l(e){"boolean"==typeof e.read?e.read={enabled:e.read}:"function"==typeof e.read?e.read={enabled:!0,reader:e.read}:e.read&&"object"==typeof e.read&&void 0===e.read.enabled&&(e.read.enabled=!0)}function u(e){"boolean"==typeof e.write?e.write={enabled:e.write}:"function"==typeof e.write?e.write={enabled:!0,writer:e.write}:e.write&&"object"==typeof e.write&&void 0===e.write.enabled&&(e.write.enabled=!0)}var c=r(67124);function h(e){return e.type?f(e):d(e)}function f(e){if(!e.type)return;let t=0,r=e.type;for(;Array.isArray(r)&&!(0,s.EK)(r);)r=r[0],t++;return{type:r,ndimArray:t}}function d(e){if(!e.types)return;let t=0,r=e.types;for(;Array.isArray(r);)r=r[0],t++;return{types:r,ndimArray:t}}function p(e){(function(e){if(e.json||={},l(e.json),u(e.json),a(e.json),e.json.origins)for(let t in e.json.origins)l(e.json.origins[t]),u(e.json.origins[t]),a(e.json.origins[t]);return!0})(e)&&(function(e){if(e.json&&e.json.origins){let t=e.json.origins,r={"web-document":["web-scene","web-map"]};for(let e in r)if(t[e]){let i=t[e];r[e].forEach(e=>{t[e]=i}),delete t[e]}}}(e),function(e){let t=function(e){return e.json.types?d(e.json):e.type?f(e):d(e)}(e);if(e.json.origins)for(let r in e.json.origins){let i=e.json.origins[r],n=i.types?h(i):t;(0,o.v)(n,i,!1),i.types&&!i.write&&e.json.write?.enabled&&(i.write={...e.json.write}),(0,c.v)(n,i)}(0,o.v)(t,e.json,!0),(0,c.v)(t,e.json)}(e))}var y=r(85537),g=r(96156),_=r(62788);const v=new WeakMap;function m(e){return t=>{e??="esri.core.Accessor",t.prototype.declaredClass=e,function(e){let t=e.prototype,r=(0,g.tD)(t),i={};for(let e of Object.getOwnPropertyNames(r)){let t=r[e];p(t),i[e]={enumerable:!0,configurable:!0,get:A(e,t),set:N(e,t)}}Object.defineProperties(e.prototype,i)}(t);let r=class extends t{constructor(...e){super(...e),this.constructor===r&&"function"==typeof this.postscript&&this.postscript()}};if("function"==typeof t.prototype.postscript){Object.defineProperty(r.prototype,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}});let e=Object.getPrototypeOf(t.prototype),i=Object.hasOwn(t.prototype,"initialize")?t.prototype.initialize:void 0,s=b(e,"initialize");(i||!w(e?.initialize))&&(r.prototype.initialize=function(){s&&s.call(this),i&&i.call(this)},v.set(r.prototype.initialize,r.prototype.initialize));let o=Object.hasOwn(t.prototype,"destroy")?t.prototype.destroy:void 0,a=b(e,"destroy");if(o||!w(e?.destroy)){let e=function(){o&&o.call(this),a&&a.call(this)};r.prototype.destroy=function(){let t=this.__accessor__;t.lifecycle!==y.v.DESTROYING&&t.lifecycle!==y.v.DESTROYED&&(t.lifecycle=y.v.DESTROYING,this[n.G](),e.call(this))},v.set(r.prototype.destroy,e)}}r.__accessorMetadata__=(0,g.tD)(t.prototype),r.prototype.declaredClass=e;let i=(e||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(r.prototype,Symbol.toStringTag,{value:i,configurable:!0,writable:!0,enumerable:!1}),r}}function w(e){return void 0!==e&&v.has(e)}function b(e,t){if(!e)return;let r=Object.hasOwn(e,t)?e[t]:void 0,i=r&&v.get(r);if(i)return i;let n=b(Object.getPrototypeOf(e),t);return r?n?"initialize"===t?function(){n.call(this),r.call(this)}:"destroy"===t?function(){r.call(this),n.call(this)}:void 0:r:n}function A(e,{get:t,value:r}){return null==t?function(){let t=this.__accessor__,i=t.propertiesByName.get(e);if(void 0===i)return;t.mutable&&(0,_.gc)(i);let n=t.store;return n.has(e)?n.get(e):r}:function(){let r=this.__accessor__;return r.propertiesByName.get(e)?.getComputed(r,t)}}function O(e,t,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r})}function N(e,t){return t.readOnly&&t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);if(i.lifecycle===y.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else O(this,e,r)}:t.readOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);i.set(e,r)}}else O(this,e,r)}:t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.lifecycle===y.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else O(this,e,r)}:function(t){let r=this.__accessor__;r?r.mutable&&r.set(e,t):O(this,e,t)}}const k=(e,t)=>{i.A.getLogger("esri.core.Accessor").error(`cannot assign to ${e} property '${t}'`)}},43937(e,t,r){r.d(t,{K:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t?(s=e,n=[void 0]):"string"==typeof t?(s=t,n=Array.isArray(e)?e:[e]):(s=e,n=[void 0],r=t),(e,t)=>{let o=e.constructor.prototype;for(let a of n){let n=(0,i.rM)(e,a,s);n.write&&"object"==typeof n.write||(n.write={}),r&&(n.write.target=r),n.write.writer=o[t]}}}},76953(e,t,r){function i(e,t,r){t.keys().forEach(e=>{r.set(e,t.get(e),0)});let i=e.metadata;Object.keys(i).forEach(t=>{e.internalGet(t)&&r.set(t,e.internalGet(t),0)})}r.d(t,{k:()=>i})},56507(e,t,r){r.d(t,{EK:()=>C,GB:()=>u,GX:()=>l,MB:()=>D,Nd:()=>P,PZ:()=>v,Qp:()=>f,Uv:()=>I,Vr:()=>c,Zu:()=>z,_e:()=>T,aq:()=>E,dp:()=>A,e6:()=>j,eC:()=>k,gK:()=>M,jz:()=>$,qf:()=>O,wB:()=>N});var i=r(53966),n=r(91869);const s=()=>i.A.getLogger("esri.core.accessorSupport.ensureTypes");function o(e){if(null==e)return e;let t=new Date(e);return isNaN(t.getTime())?(s().error("Accessor#set",`Invalid date value: '${e}', falling back to current date`),new Date):t}function a(e){return null==e?e:!!e}function l(e){return null==e?e:e.toString()}function u(e,t=0){return null==e?e:(e=parseFloat(e),isNaN(e)?t:e)}function c(e){return null==e?e:Math.round(parseFloat(e))}function h(e){return null}function f(e,t){return r=>{let i=e(r);return null!=t.step&&(i=Math.round(i/t.step)*t.step),null!=t.min&&(i=Math.max(t.min,i)),null!=t.max&&(i=Math.min(t.max,i)),i}}function d(e){return e?.constructor&&void 0!==e.constructor.__accessorMetadata__}function p(e,t){return null!=t&&e&&!(t instanceof e)}function y(e){return e&&"isCollection"in e}function g(e){return e?.Type?"function"==typeof e.Type?e.Type:e.Type.base:null}function _(e,t){return!!d(t)&&(s().error("Accessor#set","Assigning an instance of '"+(t.declaredClass||"unknown")+"' which is not a subclass of '"+m(e)+"'"),!0)}function v(e,t){return null==t?t:y(e)?function(e,t){if(!t?.constructor||!y(t.constructor))return _(e,t)?t:new e(t);let r=g(e.prototype.itemType),i=g(t.constructor.prototype.itemType);return r?i?r===i?t:r.prototype.isPrototypeOf(i.prototype)?new e(t):(_(e,t),t):new e(t):t}(e,t):p(e,t)?_(e,t)?t:new e(t):t}function m(e){return e?.prototype?.declaredClass||"unknown"}const w=new WeakMap;function b(e){switch(e){case Number:return e=>u(e);case $:return c;case Boolean:return a;case String:return l;case Date:return o;case I:return h;default:return(0,n.tE)(w,e,()=>v.bind(null,e))}}function A(e,t){let r=b(e);return 1===arguments.length?r:r(t)}function O(e){let t=b(e);return e=>t(e)}function N(e,t,r){return 1===arguments.length?N.bind(null,e):t&&(Array.isArray(t)?t.map(t=>e(t,r)):[e(t,r)])}function k(e,t){return 1===arguments.length?N(t=>A(e,t)):N(t=>A(e,t),t)}function S(e,t,r){return 0!==t&&Array.isArray(r)?r.map(r=>S(e,t-1,r)):e(r)}function T(e,t,r){if(2===arguments.length)return r=>T(e,t,r);if(!r)return r;r=S(e,t,r);let i=t,n=r;for(;i>0&&Array.isArray(n);)i--,n=n[0];if(void 0!==n)for(let e=0;e<i;e++)r=[r];return r}function j(e,t,r){return 2===arguments.length?T(t=>A(e,t),t):T(t=>A(e,t),t,r)}function C(e){return!!Array.isArray(e)&&!e.some(t=>{let r=typeof t;return!("string"===r||"number"===r||"function"===r&&e.length>1)})}function D(e,t){if(2===arguments.length)return D(e).call(null,t);let r=new Set,i=e.filter(e=>"function"!=typeof e),n=e.filter(e=>"function"==typeof e);for(let t of e)("string"==typeof t||"number"==typeof t)&&r.add(t);let o=null,a=null;return(e,t)=>{if(null==e)return e;let l=typeof e,u="string"===l||"number"===l;return u&&(r.has(e)||n.some(e=>"string"===l&&e===String||"number"===l&&e===Number))||"object"===l&&n.some(t=>!p(t,e))?e:(u&&i.length?(o||=i.map(e=>"string"==typeof e?`'${e}'`:`${e}`).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, only the following values are valid: ${o}`)):"object"==typeof e&&n.length?(a||=n.map(e=>m(e)).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, value must be one of ${a}`)):s().error("Accessor#set",`'${e}' is not a valid value for this property`),t&&(t.valid=!1),null)}}function E(e,t){if(2===arguments.length)return E(e).call(null,t);let r={},i=[],n=[];for(let t in e.typeMap){let s=e.typeMap[t];r[t]=A(s),i.push(m(s)),n.push(t)}let o=()=>`'${i.join("', '")}'`,a=()=>`'${n.join("', '")}'`,l="string"==typeof e.key?t=>t[e.key]:e.key;return t=>{if(e.base&&!p(e.base,t)||null==t)return t;let i=l(t)||e.defaultKeyValue,n=r[i];if(!n)return s().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!p(e.typeMap[i],t))return t;if("string"==typeof e.key&&!d(t)){let r={};for(let i in t)i!==e.key&&(r[i]=t[i]);return n(r)}return n(t)}}class ${}class I{}const M={native:e=>({type:"native",value:e}),array:e=>({type:"array",value:e}),oneOf:e=>({type:"one-of",values:e})};function z(e){if(!e||"object"!=typeof e&&"function"!=typeof e||!("type"in e))return!1;switch(e.type){case"native":case"array":case"one-of":return!0}return!1}function P(e){switch(e.type){case"native":return A(e.value);case"array":return N(P(e.value));case"one-of":return function(e){let t=null;return(r,i)=>B(r,e)?r:(t??=q(e),s().error("Accessor#set",`Invalid property value, value needs to be of type ${t}`),i&&(i.valid=!1),null)}(e);default:return null}}function q(e){switch(e.type){case"native":switch(e.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case $:return"integer";case Date:return"date";case I:return"null";default:return m(e.value)}case"array":return`array of ${q(e.value)}`;case"one-of":{let t=e.values.map(e=>q(e));return`one of ${t.slice(0,-1)} or ${t[t.length-1]}`}}return"unknown"}function B(e,t){if(null==e)return!0;switch(t.type){case"native":switch(t.value){case Number:case $:return"number"==typeof e;case Boolean:return"boolean"==typeof e;case String:return"string"==typeof e;case I:return null===e}return e instanceof t.value;case"array":return!!Array.isArray(e)&&!e.some(e=>!B(e,t.value));case"one-of":return t.values.some(t=>B(e,t))}}},90360(e,t,r){r.d(t,{C:()=>h,v:()=>c});var i=r(59923),n=r(53966),s=r(93637),o=r(96156),a=r(15903),l=r(7142);const u=()=>n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function c(e,t,r){e&&(!r&&!t.read||t.read?.reader||!1===t.read?.enabled||function(e){return"types"in e?_(e.types):g(e.type)}(e)&&(0,s.sM)("read.reader",h(e),t))}function h(e){let t=e.ndimArray??0;if(t>1)return function(e){let t=f(e),r=d.bind(null,t),i=e.ndimArray??0;return(e,t,n)=>{if(null==e)return e;e=r(e,n,i);let s=i,o=e;for(;s>0&&Array.isArray(o);)s--,o=o[0];if(void 0!==o)for(let t=0;t<s;t++)e=[e];return e}}(e);if(1===t)return p(e);if("type"in e&&y(e.type)){let t=e.type.prototype?.itemType?.Type,r=p("function"==typeof t?{type:t}:{types:t});return(t,i,n)=>{let s=r(t,i,n);return s&&new e.type(s)}}return f(e)}function f(e){return"type"in e?function(e){return e.prototype.read?(t,r,i)=>{if(null==t)return t;let n=typeof t;if("object"!==n)return void u().error(`Expected JSON value of type 'object' to deserialize type '${e.prototype.declaredClass}', but got '${n}'`);let s=new e;return s.read(t,i),s}:e.fromJSON}(e.type):function(e){let t=null,r=e.errorContext??"type",n=e.validate;return(s,a,c)=>{if(null==s)return s;let h=typeof s;if("object"!==h)return void u().error(`Expected JSON value of type 'object' to deserialize, but got '${h}'`);t||=function(e){let t={};for(let r in e.typeMap){let i=e.typeMap[r],n=(0,o.tD)(i.prototype);if("function"==typeof e.key)continue;let s=n[e.key];if(!s)continue;if(s.json?.type&&Array.isArray(s.json.type)&&1===s.json.type.length&&"string"==typeof s.json.type[0]){t[s.json.type[0]]=i;continue}let a=s.json?.write;if(!a?.writer){t[r]=i;continue}let l=a.target,u="string"==typeof l?l:e.key,c={};a.writer(r,c,u),c[u]&&(t[c[u]]=i)}return t}(e);let f=e.key;if("string"!=typeof f)return;let d=s[function(e,t,r){let i=Object.values(t)[0],n=(0,o.tD)(i.prototype)[e],s=(0,l.N5)(n,r)?.read?.source;return s&&"string"==typeof s?s:e}(f,t,c)],p=d?t[d]:e.defaultKeyValue?e.typeMap[e.defaultKeyValue]:void 0;if(!p){let e=`Type '${d||"unknown"}' is not supported`;return c?.messages&&s&&(0,i.Yc)(c,"warning",r,e,{definition:s,context:c}),void u().error(e)}let y=new p;return y.read(s,c),n?n(y):y}}(e.types)}function d(e,t,r,i){return 0!==i&&Array.isArray(t)?t.map(t=>d(e,t,r,i-1)):e(t,void 0,r)}function p(e){let t=f(e);return(e,r,i)=>{if(null==e)return e;if(Array.isArray(e)){let r=[];for(let n of e){let e=t(n,void 0,i);void 0!==e&&r.push(e)}return r}let n=t(e,void 0,i);return void 0===n?void 0:[n]}}function y(e){if(!(0,a.P)(e))return!1;let t=e.prototype.itemType;return!(!t||!t.Type)&&("function"==typeof t.Type?g(t.Type):_(t.Type))}function g(e){return!Array.isArray(e)&&!!e&&("object"==typeof e||"function"==typeof e)&&e.prototype&&("read"in e.prototype||"fromJSON"in e||y(e))}function _(e){for(let t in e.typeMap)if(!g(e.typeMap[t]))return!1;return!0}},15903(e,t,r){function i(e){return!!e&&e.prototype?.declaredClass&&0===e.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(t,{P:()=>i})},7142(e,t,r){function i(e,t){return o(e,"any",t?.origin)}function n(e,t){return o(e,"read",t?.origin)}function s(e,t){return o(e,"write",t?.origin)}function o(e,t,r){let i=e?.json;if(i?.origins&&r){let e;e="link-chart"===r?i.origins[r]&&("any"===t||t in i.origins[r])?i.origins[r]:i.origins["web-map"]:i.origins[r],e&&("any"===t||t in e)&&(i=e)}return i}r.d(t,{N5:()=>n,k4:()=>s,xF:()=>i})},67124(e,t,r){r.d(t,{B:()=>h,v:()=>a});var i=r(59923),n=r(53966),s=r(93637),o=r(15903);function a(e,t){if(!t.write||t.write.writer||!1===t.write.enabled&&!t.write.overridePolicy)return;let r=e?.ndimArray??0;e&&(1===r||"type"in e&&(0,o.P)(e.type))?t.write.writer=f:r>1?t.write.writer=function(e){return(t,r,i,n)=>{let o;if(null===t)o=null;else{o=d(t,n,e);let r=e,i=o;for(;r>0&&Array.isArray(i);)r--,i=i[0];if(void 0!==i)for(let e=0;e<r;e++)o=[o]}(0,s.sM)(i,o,r)}}(r):t.types?Array.isArray(t.types)?t.write.writer=function(e){return(t,r,i,n)=>u(t&&Array.isArray(t)?t.filter(t=>l(t,e,n)):t,r,i,n)}(t.types[0]):t.write.writer=function(e){return(t,r,i,n)=>{if(!t||l(t,e,n))return u(t,r,i,n)}}(t.types):t.write.writer=u}function l(e,t,r){for(let r in t.typeMap)if(e instanceof t.typeMap[r])return!0;if(r?.messages){let s=t.errorContext??"type",o=`Values of type '${("function"==typeof t.key?e.declaredClass:e[t.key])??"Unknown"}' cannot be written`;r&&r.messages&&e&&(0,i.Yc)(r,"error",s,o,{definition:e,context:r}),n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(o)}return!1}function u(e,t,r,i){(0,s.sM)(r,c(e,i),t)}function c(e,t){return e&&"function"==typeof e.write?e.write({},t):e&&"function"==typeof e.toJSON?e.toJSON():"number"==typeof e?h(e):e}function h(e){return e===-1/0?-Number.MAX_VALUE:e===1/0?Number.MAX_VALUE:isNaN(e)?null:e}function f(e,t,r,i){let n;null===e?n=null:e&&"function"==typeof e.map?(n=e.map(e=>c(e,i)),"function"==typeof n.toArray&&(n=n.toArray())):n=[c(e,i)],(0,s.sM)(r,n,t)}function d(e,t,r){return 0!==r&&Array.isArray(e)?e.map(e=>d(e,t,r-1)):c(e,t)}},16649(e,t,r){r.d(t,{Jt:()=>a,RP:()=>o,t2:()=>l});var i=r(88620);function n(e,t){let r=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){let e=parseInt(r,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}let n=(0,i.oY)(t);return(0,i.yh)(n,r)?n.get(r):t[r]}function s(e,t,r){if(null==e)return e;let i=n(t[r],e);return!i&&r<t.length-1?void 0:r===t.length-1?i:s(i,t,r+1)}function o(e,t,r=0){return"string"!=typeof t||t.includes(".")?s(e,(0,i.AH)(t),r):n(t,e)}function a(e,t){return o(e,t)}function l(e,t){return void 0!==o(t,e)}},96156(e,t,r){r.d(t,{CX:()=>a,tD:()=>s,z4:()=>o});var i=r(4718),n=r(88620);function s(e){let t=e.constructor.__accessorMetadata__,r=Object.prototype.hasOwnProperty.call(e.constructor,"__accessorMetadata__");if(t){if(!r){t=Object.create(t);for(let e in t)t[e]=(0,i.o8)(t[e]);Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0})}}else t={},Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0});return e.constructor.__accessorMetadata__}function o(e,t){let r=s(e),i=r[t];return i||=r[t]={},i}function a(e,t){return(0,n.h1)(e,t,u)}const l=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function u(e){return l.test(e)?"replace":"merge"}},45917(e,t,r){r.d(t,{L:()=>c,t:()=>h});var i=r(7142),n=r(16649),s=r(88620);function o(e,t,r){if(!e?.read||!1===e.read.enabled||!e.read.source)return!1;let i=e.read.source;if("string"==typeof i){if(i===t||i.includes(".")&&i.startsWith(t)&&(0,n.t2)(i,r))return!0}else for(let e of i)if(e===t||e.includes(".")&&e.startsWith(t)&&(0,n.t2)(e,r))return!0;return!1}function a(e,t,r,n,s){let a=(0,i.N5)(t[r],s);var l;(l=a)&&(!l.read||!1!==l.read.enabled&&!l.read.source)&&(e[r]=!0);for(let l of Object.getOwnPropertyNames(t))a=(0,i.N5)(t[l],s),o(a,r,n)&&(e[l]=!0)}function l(e,t,r,n){let s=r.metadata,o=(0,i.xF)(s[t],n)?.default;if(void 0===o)return;let a="function"==typeof o?o.call(e,t,n):o;void 0!==a&&r.set(t,a)}const u={origin:"service"};function c(e,t,r=u){if(!t||"object"!=typeof t)return;let o=(0,s.oY)(e),c=o.metadata,h={};for(let e of Object.getOwnPropertyNames(t))a(h,c,e,t,r);o.setDefaultOrigin(r.origin);for(let s of Object.getOwnPropertyNames(h)){let a,l=(0,i.N5)(c[s],r).read,u=l?.source;a=u&&"string"==typeof u?(0,n.RP)(t,u):t[s],l?.reader&&(a=l.reader.call(e,a,t,r)),void 0!==a&&o.set(s,a)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(let t of Object.getOwnPropertyNames(c))h[t]||l(e,t,o,r)}o.setDefaultOrigin("user")}function h(e,t,r,i=u){let n={...i,messages:[]};r(n),n.messages?.forEach(t=>{"warning"!==t.type||e.loaded?i?.messages&&i.messages.push(t):e.loadWarnings.push(t)})}},47821(e,t,r){r.d(t,{h:()=>o});var i=r(49186),n=r(44208),s=(r(53966),r(16649));function o(e,t,r){if(e&&t)if("object"==typeof t)for(let r of Object.getOwnPropertyNames(t))o(e,r,t[r]);else{if(t.includes(".")){let i=t.split("."),n=i.splice(-1,1)[0];return void o((0,s.Jt)(e,i),n,r)}let a=e.__accessor__;null!=a&&function(e,t){if((0,n.A)("esri-unknown-property-errors")&&!function(e,t){return null!=t.metadata[e]}(e,t))throw new i.A("set:unknown-property",function(e,t){return"setting unknown property '"+e+"' on instance of "+t.host.declaredClass}(e,t))}(t,a),e[t]=r}}},53842(e,t,r){function i(){}r.d(t,{Z:()=>i})},62788(e,t,r){r.d(t,{F_:()=>p,Xr:()=>m,a:()=>d,fE:()=>_,gc:()=>c}),r(44208);var i=r(53966),n=r(47328),s=r(67867),o=r(88620);const a=new s.R,l=[];let u=a;function c(e){u.onAccessed(e)}let h=!1,f=!1;function d(e,t,r){if(h)return y(e,t,r);let n;if(f){u=e,l.push(e);try{n=t.call(r)}catch(e){throw i.A.getLogger("esri.core.accessorSupport.tracking").error(e),e}finally{g()}}else{u=e,l.push(e);try{n=t.call(r)}finally{g()}}return n}function p(e,t){return d(a,e,t)}function y(e,t,r){let n,s=h;h=!0,u=e,l.push(e);try{n=t.call(r)}catch(e){f&&i.A.getLogger("esri.core.accessorSupport.tracking").error(e)}return g(),h=s,n}function g(){let e=l.length;if(e>1){let t=l.pop();u=l[e-2],t.onTrackingEnd()}else if(1===e){let e=l.pop();u=a,e.onTrackingEnd()}else u=a}function _(e,t){if(t.flags&n.i.DepTrackingInitialized)return;t.flags|=n.i.DepTrackingInitialized;let r=f;f=!1,t.flags&n.i.AutoTracked?y(t.trackingTarget,t.metadata.get,e):m(e,t),f=r}const v=[];function m(e,t){t.flags&n.i.ExplicitlyTracking||(t.flags|=n.i.ExplicitlyTracking,y(t.trackingTarget,()=>{let r=t.metadata.dependsOn||v;for(let t of r)if("string"!=typeof t||t.includes(".")){let r=(0,o.AH)(t);for(let t=0,i=e;t<r.length&&"object"==typeof i&&i;++t)i=w(i,r[t],t!==r.length-1)}else w(e,t,!1)}),t.flags&=~n.i.ExplicitlyTracking)}function w(e,t,r){let i=t.endsWith("?")?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){let t=parseInt(i,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}let n=(0,o.oY)(e);if(n){let t=n.propertiesByName.get(i);t&&(c(t),_(e,t))}return r?e[i]:void 0}},47328(e,t,r){r.d(t,["i",0,{Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}])},16187(e,t,r){r.d(t,{b4:()=>n,fk:()=>s,ll:()=>o});const i=Symbol("ObservationHandle");function n(e){return i in e}class s{get[i](){return!0}constructor(e,t){this._observers=e,this._observer=t}rebind(e,t){return this._observers=e,this._observer=t,this}remove(){o(this._observers,this._observer)}}function o(e,t){if(e[e.length-1]===t)return void e.pop();let r=e.indexOf(t);-1!==r&&e.splice(r,1)}},71429(e,t,r){r.d(t,{r:()=>n});var i=r(67867);class n extends i.R{constructor(e){super(new s(e)),this._observer&&o.register(this,new WeakRef(this._observer),this)}destroy(){let e=this._observer;e&&o.unregister(this),this.accessed?.clear(),super.destroy(),e?.destroy()}}class s{constructor(e){this._notify=e,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;let e=this._invalidCount;1===e?(this._invalidCount=0,this._notify()):this._invalidCount=e>0?e-1:0}destroy(){this.destroyed=!0,this._notify=a}}const o=new FinalizationRegistry(e=>{e.deref()?.destroy()});function a(){}},67867(e,t,r){r.d(t,{R:()=>s});var i=r(30801),n=r(16187);class s{constructor(e){this.accessed=void 0,this._handles=void 0,this._reusableHandles=void 0,this._observer=e}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(e){null!=this._observer&&e!==this._observer&&(this.accessed??=new Set,this.accessed.add(e))}onTrackingEnd(){let e=this._observer;if(null!=e)try{this._unsubscribe(!0);let t=this.accessed;if(!t?.size)return;let r=this._handles??=[];for(let n of t){let t=i.T.observeForTracking(n,e,this._reusableHandles);if(this._observer!==e){o(t,e);break}r.push(t)}t.clear()}finally{this._reusableHandles?.length&&(this._reusableHandles.length=0)}}_unsubscribe(e){let t=this._handles;if(t)for(;t.length;){let r=t.pop();o(r,this._observer),e&&!Array.isArray(r)&&(0,n.b4)(r)&&(this._reusableHandles??=[]).push(r)}}clear(){this._reusableHandles?.length&&(this._reusableHandles.length=0),this._unsubscribe(!1)}}function o(e,t){Array.isArray(e)?(0,n.ll)(e,t):e.remove()}},80559(e,t,r){r.d(t,{Df:()=>c,fm:()=>h,mJ:()=>u});var i=r(36563),n=r(53966),s=r(62788),o=r(71429);let a=!1;const l=[];function u(e,t){let r=new o.r(function i(){if(!r||l)return;if(a)return void f(i);let o,u=n;r.clear(),a=!0,l=!0;try{try{n=(0,s.a)(r,e)}finally{l=!1,a=!1}t(n,u)}catch(u){o=p(u,t)}d(o)}),n=null,l=!1;return l=!0,n=(0,s.a)(r,e),l=!1,(0,i.hA)(function(){r&&(r.destroy(),r=null,n=null)})}function c(e,t){let r=new o.r(function(){t(n,a)}),n=null;function a(){return r?(r.clear(),n=(0,s.a)(r,e),n):null}return a(),(0,i.hA)(function(){r&&=(r.destroy(),null),n=null})}function h(e,t){let r=!1,n=!1,l=!!t?.sync,u=new o.r(()=>{!r&&!n&&(n=!0,l?c():queueMicrotask(c))});function c(){if(n=!1,!u||r)return;if(a)return void f(c);let t;u.clear(),a=!0,r=!0;try{try{(0,s.a)(u,e)}finally{r=!1,a=!1}}catch(r){t=p(r,e)}d(t)}return r=!0,(0,s.a)(u,e),r=!1,(0,i.hA)(function(){u&&=(u.destroy(),null)})}function f(e){l.includes(e)||l.unshift(e)}function d(e){for(;l.length;)try{l.pop()()}catch(t){e??={error:t}}if(e)throw e.error}function p(e,t){return n.A.getLogger("esri.core.Accessor").error("Reactive notification failed",{error:e,callback:t,pendingNotifications:l.length}),{error:e}}},88620(e,t,r){r.d(t,{AH:()=>u,h1:()=>a,oY:()=>s,qg:()=>h,yh:()=>o});var i=r(36563),n=r(4718);function s(e){return e.__accessor__??null}function o(e,t){return null!=e?.metadata?.[t]}function a(e,t,r){return l(e,t,r?{policy:r,path:""}:null)}function l(e,t,r){return t?Object.keys(t).reduce((e,i)=>{let s=i;if("__proto__"===s)return e;let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${i}`:i,a=r.policy(o)),"replace"===a||"replace-arrays"===a&&Array.isArray(e[s]))return e[s]=t[s],e;if(void 0===e[s])return e[s]=(0,n.o8)(t[s]),e;let u=e[s],c=t[s];if(u===c)return e;if(Array.isArray(c)||Array.isArray(e))u=e[s]=u?Array.isArray(u)?u.slice():[u]:[],c&&(Array.isArray(c)||(c=[c]),c.forEach(e=>{u.includes(e)||u.push(e)}));else if(c&&"object"==typeof c)if(r){let t=r.path;r.path=o,e[s]=l(u,c,r),r.path=t}else e[s]=l(u,c,null);else(!e.hasOwnProperty(i)||t.hasOwnProperty(i))&&(e[s]=c);return e},e||{}):e}function u(e){return Array.isArray(e)?e:e.split(".")}function c(e){return e.includes(",")?e.split(",").map(e=>e.trim()):[e.trim()]}function h(e,t,r,n){let s=function(e){if(Array.isArray(e)){let t=[];for(let r of e)t.push(...c(r));return t}return c(e)}(t);if(1!==s.length){let t=s.map(t=>n(e,t,r));return(0,i.vE)(t)}return n(e,s[0],r)}},14012(e,t,r){r.d(t,{iS:()=>A,wB:()=>S,Cn:()=>T});var i=r(98291),n=r(36563),s=r(4718),o=r(44208),a=r(93687);class l extends a.A{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...e){let t=super.acquire(...e);return this._set.delete(t),t}release(e){!e||(0,o.A)("esri-tests-disable-memory-pools")||this._set.has(e)||(super.release(e),this._set.add(e))}_dispose(e){this._set.delete(e),super._dispose(e)}}var u=r(76030),c=r(24326),h=r(16649),f=r(85537),d=r(80559),p=r(88620);class y{constructor(){this.uid=(0,c.c)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static{this.pool=new l(()=>new y)}static acquireUntracked(e,t,r,i,n){return this.pool.acquire(0,e,t,r,i,n,s.aI)}static acquireTracked(e,t,r,i){return this.pool.acquire(1,e,t,r,null,null,i)}notify(e,t){0===this.type?this.callback.call(this.target,e,t,this.path,this.target):this.callback.call(null,e,t,void 0,void 0)}acquire(e,t,r,i,n,s,o){this.uid=(0,c.c)(),this.removed=!1,this.type=e,this.oldValue=t,this.callback=r,this.getValue=i,this.target=n,this.path=s,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,c.c)(),this.removed=!0}}const g=new i.A,_=new Set,v=new Set;let m;function w(e){_.delete(e),_.add(e),null!==e.target&&v.add(e.target),m||=(0,u._)(O)}function b(e){if(e.removed)return;let t=e.oldValue,r=e.getValue();e.equals(t,r)||(e.oldValue=r,e.notify(r,t))}function A(e){if(v.has(e))for(let t of _.values())t.target===e&&(t.removed=!0)}function O(){let e=10;for(;m&&e--;){m=null;let e=N(),t=g.acquire();for(let r of e){let e=r.uid;b(r),e===r.uid&&r.removed&&t.push(r)}for(let e of _)e.removed&&(t.push(e),_.delete(e));for(let e of t)y.pool.release(e);g.release(t),g.release(e),k.forEach(e=>e())}}function N(){let e=g.acquire();e.length=_.size;let t=0;for(let r of _)e[t]=r,++t;return _.clear(),v.clear(),e}const k=new Set;function S(e,t,r,i=!1){return e.__accessor__&&e.__accessor__.lifecycle!==f.v.DESTROYED?i?function(e,t,r){let i=(0,p.qg)(e,t,r,(e,t,r)=>{let n=!1;return(0,d.mJ)(()=>(0,h.RP)(e,t),(o,a)=>{if(e.__accessor__.lifecycle===f.v.DESTROYED)i.remove();else if(!n){n=!0;try{(0,s.aI)(a,o)||r.call(e,o,a,t,e)}finally{n=!1}}})});return i}(e,t,r):function(e,t,r){let i=(0,p.qg)(e,t,r,(e,t,r)=>{let s,o,a=(0,d.Df)(()=>(0,h.RP)(e,t),(n,a)=>{e.__accessor__?.lifecycle===f.v.DESTROYED||s&&s.uid!==o?i.remove():(s||(s=y.acquireUntracked(n,r,a,e,t),o=s.uid),w(s))});return(0,n.hA)(()=>{a.remove(),s&&=(s.uid===o&&!s.removed&&(s.removed=!0,w(s)),null),i=a=null})});return i}(e,t,r):(0,n.hA)()}function T(e,t,r=!1,i=s.gh){return r?function(e,t,r){let i=!1;return(0,d.mJ)(e,(e,n)=>{if(!i){i=!0;try{r(n,e)||t(e,n)}finally{i=!1}}})}(e,t,i):function(e,t,r){let i,s,o=(0,d.Df)(e,(e,n)=>{i&&i.uid!==s?o.remove():(i||(i=y.acquireTracked(e,t,n,r),s=i.uid),w(i))});return(0,n.hA)(()=>{o.remove(),i&&=(i.uid===s&&!i.removed&&(i.removed=!0,w(i)),null),o=null})}(e,t,i)}},49422(e,t,r){r.d(t,{M:()=>d,R:()=>f});var i=r(4576),n=r(49186),s=r(53966),o=r(7142),a=r(16649),l=r(35666),u=r(88620);function c(e,t,r,i,n){let s={};return t.write?.writer?.call(e,i,s,r,n),s}function h(e,t,r,o,u,c){if(!o?.write)return!1;let h=(0,a.Jt)(e,r);if(!u&&o.write.overridePolicy){let t=o.write.overridePolicy.call(e,h,r,c??void 0);void 0!==t&&(u=t)}if(u||=o.write,!u||!1===u.enabled||u.layerContainerTypes&&c?.layerContainerType&&!u.layerContainerTypes.includes(c.layerContainerType))return!1;if((null===h&&!u.allowNull&&!u.writerEnsuresNonNull||void 0===h)&&u.isRequired){let t=new n.A("web-document-write:property-required",`Missing value for required property '${r}' on '${e.declaredClass}'`,{propertyName:r,target:e});return t&&c?.messages?c.messages.push(t):t&&!c&&s.A.getLogger("esri.core.accessorSupport.write").error(t.name,t.message),!1}if(void 0===h||null===h&&!u.allowNull&&!u.writerEnsuresNonNull)return!1;let f=t.store.multipleOriginsSupported?t.store.originOf(r):null;return void 0===o.default||null!==f&&0!==f?null===f||!c?.origin||!!u.ignoreOrigin||f>=(0,l.aB)(c.origin):!!u.alwaysWriteDefaults||!function(e,t,r,n,s){let o=n.default;if(null!=n.defaultEquals)return n.defaultEquals(s);if("function"==typeof o){if(Array.isArray(s)){let n=o.call(e,t,r??void 0);return(0,i.aI)(n,s)}return!1}return o===s}(e,r,c,o,h)}function f(e,t,r,i){let n=(0,u.oY)(e),s=n.metadata,a=(0,o.k4)(s[t],i);return!!a&&h(e,n,t,a,r,i)}function d(e,t,r){if(e&&"function"==typeof e.toJSON&&(!e.toJSON.isDefaultToJSON||!e.write))return(0,u.h1)(t,e.toJSON(r));let i=(0,u.oY)(e),n=i.metadata;for(let s in n){let f=(0,o.k4)(n[s],r);if(!h(e,i,s,f,void 0,r))continue;let d=(0,a.Jt)(e,s),p=c(e,f,f.write&&"string"==typeof f.write.target?f.write.target:s,d,r);Object.keys(p).length>0&&(t=(0,u.h1)(t,p),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>(0,u.h1)(t,p,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:e,propName:s,oldOrigin:(0,l.in)(i.store.originOf(s)),newOrigin:r.origin}))}return t}},5479(e,t,r){function i(e){let t=[];return function*(){yield*t;let r,i=t.length;for(;!(r=e.next()).done;)for(t.push(r.value),yield r.value;++i<t.length;)yield t[i]}}r.d(t,{I6:()=>o,N5:()=>s,PP:()=>i,xZ:()=>l,zN:()=>a});const n=Object.freeze({done:!0,value:void 0});function s(e){let t=[],r=null,i=null,s=!1;async function o(){if(s)return n;if(null!=i)return i;i=e.next();try{let e=await i;return i=null,e.done?(s=!0,n):(t.push(e.value),e)}catch(e){throw s=!0,i=null,r=e,e}}return async function*(){yield*t;let e,i=t.length;for(;!(e=await o()).done;)for(yield e.value;++i<t.length;)yield t[i];if(null!=r)throw r}}function o(e,t){for(let r of e)if(null!=r&&t(r))return r}function a(e,t){for(let r of e)if(t(r))return!0;return!1}function l(e){return null!=e&&"function"==typeof e[Symbol.iterator]}},66552(e,t,r){r.d(t,{J:()=>n,O:()=>o});var i=r(93637);class n{constructor(e,t={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=e,this._options=t,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(e){let t={};for(let r in e)t[e[r]]=r;return t}(e),this.apiValues=s(this._apiToJSON),this.jsonValues=s(this._jsonToAPI),this.read=e=>this.fromJSON(e),this.write=(e,t,r)=>{let n=this.toJSON(e);void 0!==n&&(0,i.sM)(r,n,t)},this.write.isJSONMapWriter=!0}toJSON(e){if(null==e)return null;if(this._apiToJSON.hasOwnProperty(e)){let t=this._apiToJSON[e];return this._options.useNumericKeys?+t:t}return this._options.ignoreUnknown?null:e}fromJSON(e){return null!=e&&this._jsonToAPI.hasOwnProperty(e)?this._jsonToAPI[e]:this._options.ignoreUnknown?void 0:e}}function s(e){let t=[];for(let r in e)t.push(r);return t.sort(),t}function o(){return function(e,t){return new n(e,{ignoreUnknown:!0,...t})}}},26390(e,t,r){r.d(t,{d:()=>n});const i=[];function n(e){i.push(e),1===i.length&&queueMicrotask(()=>{let e=i.slice();i.length=0;for(let t of e)t()})}},76030(e,t,r){r.d(t,{_:()=>g,$m:()=>O,md:()=>A});var i=r(26390);function n(e,t,r,i,n){console.timeStamp(e,t,r,n,i)}class s{constructor(e,t=30){this.name=e,this._counter=0,this._samples=Array(t)}push(e){null!=e&&(this._samples[++this._counter%this._samples.length]=e)}set(e){null!=e&&(this._samples[this._counter%this._samples.length]=e)}get median(){return this._samples.slice().sort((e,t)=>e-t)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((e,t)=>e+t,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var o=r(15142),a=r(17676),l=r(78659);class u{constructor(e){this.callback=e,this.isActive=!0}remove(){this.isActive=!1}}let c=0;const h={time:(0,l.l5)(0),deltaTime:(0,l.l5)(0),elapsedFrameTime:(0,l.l5)(0),frameDuration:(0,l.l5)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.A,y={frameTasks:p,willDispatch:!1,clearFrameTasks:function(e=!1){p.forAll(e=>{e.removed=!0}),e&&w()},dispatch:b,executeFrameTasks:function(e){let t=(0,l.l5)(e-c);c=e;let r=1e3/60,i=Math.max(0,t-r);h.time=e,h.frameDuration=(0,l.l5)(r-i);for(let r=0;r<f.length;r++){let i=performance.now(),s=f[r];p.forAll(i=>{i.paused||i.removed||(0===r&&i.ticks++,!i.phases[s])||(h.elapsedFrameTime=(0,l.l5)(performance.now()-e),h.deltaTime=0===i.ticks?(0,l.l5)(0):t,i.phases[s]?.call(i,h))});let o=performance.now();N[r].push(o-i),n(s,i,o,"Maps SDK","Scheduling")}w();let s=performance.now();k.push(s-e),n("Animation Frame",e,s,"Maps SDK","Scheduling")},reschedule:function(){null!=_&&(cancelAnimationFrame(_),_=requestAnimationFrame(v))}};function g(e){let t=new u(e);return d.push(t),y.willDispatch||(y.willDispatch=!0,(0,i.d)(b)),t}let _=null;function v(){let e=performance.now();_=null,_=p.some(e=>!e.paused&&!e.removed)?requestAnimationFrame(v):null,y.executeFrameTasks(e)}const m=new o.A;function w(){p.forAll(e=>{e.removed&&m.push(e)}),p.removeUnorderedMany(m.data,m.length),m.clear()}function b(){for(;d.length;){let e=d.shift();e.isActive&&e.callback()}y.willDispatch=!1}function A(e=1,t){let r=Promise.withResolvers(),n=()=>{(0,a.G4)(t)?r.reject((0,a.NK)()):0===e?r.resolve():(--e,(0,i.d)(()=>n()))};return n(),r.promise}async function O(e){await function(e){return A(1,e)}(e),await new Promise(t=>requestAnimationFrame(()=>{e?.aborted||t()}))}const N=f.map(e=>new s(e)),k=new s("total")},78659(e,t,r){function i(e){return e}function n(e){return 1e3*e}function s(e){return e}r.d(t,{Kp:()=>s,gr:()=>n,l5:()=>i})},24326(e,t,r){r.d(t,{c:()=>n});let i=0;function n(){return++i}},59923(e,t,r){r.d(t,{GL:()=>h,MG:()=>o,U4:()=>a,Yc:()=>c,bA:()=>u,qt:()=>l});var i=r(49186),n=r(67076);const s=["layer","property","renderer","symbol","symbol-layer","url","visual-variable","type","elevation-profile-line","field-configuration-field-format","parquet-data"].map(e=>`${e}:unsupported`),o=new Set(s);function a(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("layer",`Layer (${t.title}, ${t.id}) of type '${t.declaredClass}' is not supported in the context of '${i}'${r?`: ${r}`:""}`,{layer:t}))}function l(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("property",`Property '${t}' is not supported in the context of '${i}'${r?`: ${r}`:""}`))}function u(e,t,r,i){if(!e)return;let n=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("symbol",`Symbol '${t.declaredClass}' is not supported in the context of '${n}'${r?`: ${r}`:""}`,i))}function c(e,t,r,s,o){e&&e?.messages?.push(f("warning"===t?n.A:i.A,r,s,o))}function h(e,t,r){return f(i.A,e,t,r)}function f(e,t,r,i){return new e(`${t}:unsupported`,r,i)}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see d7763c42754152510e13.js.LICENSE.txt */
2
+ "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[858,6749,8477],{77173(e,t,i){i.d(t,{t:()=>c});var a=i(12664);function o(e){return function(e){return void 0!==e.openProp}(e)?e[e.openProp]:e.open}async function c(e){await e.updateComplete,o(e)?e.onBeforeOpen():e.onBeforeClose(),await e.updateComplete;const t=e.transitionRef?.value??e.transitionEl;t&&await(0,a.w)(t,e.transitionProp),o(e)?e.onOpen():e.onClose()}},13584(e,t,i){i.d(t,{K:()=>a,a:()=>o,i:()=>c});const a={brand:"lightbulb",danger:"exclamationMarkTriangle",info:"information",success:"checkCircle",warning:"exclamationMarkTriangle"},o={danger:"exclamationMarkTriangleF",info:"informationF",success:"checkCircleF",warning:"exclamationMarkTriangleF"};function c(e){return t=>t?.localName===e}},30437(e,t,i){var a=i(13584);const o="calcite-action",c={button:e=>`${o}-${e}-button`,indicator:e=>`${o}-${e}-indicator`},n=(0,a.i)("calcite-action");i.d(t,["C",0,{button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible",indicatorWithIcon:"indicator-with-icon",indicatorWithoutIcon:"indicator-without-icon"},"I",0,c,"i",0,n])},10820(e,t,i){i(2709),i(19919);var a=i(27080),o=i(58933),c=i(41656),n=i(83435),r=i(83978),l=i(87555),s=i(55907),d=i(40967),h=i(57108),u=i(47387),p=i(8415),v=i(30005),b=i(30437);const g=o.AH`.screen-reader-text{position:absolute;inline-size:var(--calcite-border-width-sm);block-size:var(--calcite-border-width-sm);padding:0;margin:calc(-1 * var(--calcite-border-width-sm));overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}`;var m=i(24543);const f=o.AH`:host{box-sizing:border-box;background-color:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1));color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-min-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-min-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-min-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius-xs)))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;outline-color:transparent;box-sizing:border-box;background-color:var(--calcite-action-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal));line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height, var(--calcite-internal-action-min-height));max-block-size:var(--calcite-internal-action-height, none);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-theme-color-surface-3, var(--calcite-color-foreground-2)));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}.button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3))))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition-property:opacity;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3))))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px;--calcite-loader-progress-color-inline: var(--calcite-action-loader-color)}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([appearance=transparent]) .button{transition-property:box-shadow;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);background-color:var(--calcite-action-background-color, var(--calcite-color-transparent))}:host([appearance=transparent]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}:host([appearance=transparent]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([selection-appearance=highlight]):host([active]) .button{background-color:var(--calcite-color-surface-highlight);color:var(--calcite-color-text-highlight)}:host([active-descendant]) .button{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.indicator-with-icon{position:relative}.indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-without-icon{margin-inline:.25rem;inline-size:1rem;position:relative}.indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}:host([scale=s]) .indicator-with-icon{position:relative}:host([scale=s]) .indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.125rem;inset-inline-end:-.125rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([scale=s]) .indicator-without-icon{position:relative}:host([scale=s]) .indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.175rem;inset-inline-end:-.175rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;class k extends r.WF{constructor(){super(),this.guid=(0,l.g)(),this.buttonRef=(0,n._)(),this.buttonId=b.I.button(this.guid),this.mutationObserver=(0,s.c)("mutation",()=>this.requestUpdate()),this.messages=(0,h.u)({blocking:!0}),this.focusSetter=(0,u.u)()(this),this.indicatorRef=(0,n._)(),this.interactiveContainer=(0,p.u)(this),this.labelElRef=(0,n._)(),this.active=!1,this.activeDescendant=!1,this.appearance="transparent",this.compact=!1,this.disabled=!1,this.dragHandle=!1,this.iconFlipRtl=!1,this.indicator=!1,this.loading=!1,this.overflowDisabled=!1,this.scale="m",this.width="auto",this.textEnabled=!1,this.type="button",(0,v.u)()(this)}static{this.properties={aria:[0,{},{attribute:!1}],active:[7,{},{reflect:!0,type:Boolean}],activeDescendant:[7,{},{reflect:!0,type:Boolean}],alignment:[3,{},{reflect:!0}],appearance:[3,{},{reflect:!0}],compact:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],dragHandle:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],icon:[3,{},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],indicator:[7,{},{reflect:!0,type:Boolean}],label:1,loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],overflowDisabled:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}],text:1,textEnabled:[7,{},{reflect:!0,type:Boolean}],type:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.formAssociated=!0}static{this.styles=[f,g]}async setFocus(e){return this.focusSetter(()=>this.buttonRef.value,e)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}getAccessibleLabel(){const e=this.label||this.text||"";return this.indicator?this.messages.indicatorLabel.replace("{label}",e):e}getLabelledByElements(){const e=[...this.labelElRef.value?[this.labelElRef.value]:[],...this.aria?.labelledByElements??[]];return e.length?e:void 0}renderTextContainer(){const{text:e,textEnabled:t}=this,i={[b.C.textContainer]:!0,[b.C.textContainerVisible]:t};return e?(0,c.D)("text-container",o.qy`<div aria-hidden=true class=${(0,r.CP)(i)}>${e}</div>`):null}renderIndicatorText(){const{indicator:e,messages:t,buttonId:i}=this;return o.qy`<div aria-labelledby=${i??r.s6} aria-live=polite class=${(0,r.CP)(a.C.screenReaderText)} role=region ${(0,n.K)(this.indicatorRef)}>${e?t.indicator:null}</div>`}renderIconContainer(){const{loading:e,icon:t,scale:i,el:a,iconFlipRtl:n,indicator:l}=this,s="l"===i?"l":"m",h=e?o.qy`<calcite-loader inline .label=${this.messages.loading} .scale=${s}></calcite-loader>`:null,u=t?o.qy`<calcite-icon class=${(0,r.CP)({[b.C.indicatorWithIcon]:l})} .flipRtl=${n} .icon=${t} .scale=${(0,d.g)(this.scale)}></calcite-icon>`:null,p=h||u,v=p||a.children?.length,g=o.qy`<div class=${(0,r.CP)({[b.C.slotContainer]:!0,[b.C.slotContainerHidden]:e})}><slot></slot></div>`;return v?(0,c.D)("icon-container",o.qy`<div aria-hidden=true class=${(0,r.CP)(b.C.iconContainer)}>${p}${g}</div>`):null}renderLabel(){const e=this.getAccessibleLabel();return e?o.qy`<span class=${(0,r.CP)(a.C.screenReaderText)} ${(0,n.K)(this.labelElRef)}>${e}</span>`:null}renderButton(){const{compact:e,disabled:t,icon:i,loading:a,textEnabled:l,indicator:s,indicatorRef:d,buttonId:h}=this,u=this.getLabelledByElements(),p={[b.C.button]:!0,[b.C.buttonTextVisible]:l,[b.C.buttonCompact]:e},v=o.qy`${this.renderIconContainer()}${this.renderTextContainer()}${!i&&s&&(0,c.D)("indicator-no-icon",o.qy`<div class=${(0,r.CP)(b.C.indicatorWithoutIcon)}></div>`)||""}${this.renderLabel()}`,g=s&&d.value?[d.value]:[],f=[...this.aria?.controlsElements??[],...g];return this.dragHandle?o.qy`<span .ariaBusy=${(0,m.t)(a,void 0)} .ariaControlsElements=${f} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${u} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,r.CP)(p)} id=${h??r.s6} role=button tabindex=${(this.disabled?void 0:0)??r.s6} ${(0,n.K)(this.buttonRef)}>${v}</span>`:o.qy`<button .ariaBusy=${(0,m.t)(a,void 0)} .ariaChecked=${this.aria?.checked} .ariaControlsElements=${f} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${u} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,r.CP)(p)} .disabled=${t} id=${h??r.s6} .role=${this.aria?.role} type=${this.type??r.s6} ${(0,n.K)(this.buttonRef)}>${v}</button>`}render(){return this.interactiveContainer({disabled:this.disabled,children:o.qy`${this.renderButton()}${this.renderIndicatorText()}`})}}(0,a.c)("calcite-action",k)},45204(e,t,i){i.r(t),i.d(t,{Notice:()=>b}),i(10820),i(19919);var a=i(27080),o=i(58933),c=i(83435),n=i(83978),r=i(64336),l=i(12664),s=i(13584),d=i(77173),h=i(40967),u=i(57108),p=i(47387);const v=o.AH`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .notice-close{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]) .actions-end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));gap:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-radius:var(--calcite-notice-corner-radius, var(--calcite-corner-radius-sm));box-shadow:var(--calcite-notice-shadow, var(--calcite-shadow-none))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;overflow:visible}@starting-style{:host([open]) .container{opacity:0;max-block-size:0}}:host([open][appearance=outline-fill]) .container{border:var(--calcite-border-width-sm) solid}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=title]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=title]){color:var(--calcite-notice-title-text-color, var(--calcite-color-text-inverse))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=message]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=message]){color:var(--calcite-notice-content-text-color, var(--calcite-color-text-inverse))}.notice-content{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-sizing:border-box;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-large)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-sizing:border-box;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;padding-inline:var(--calcite-notice-spacing-token-small)}.notice-close{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-theme-space-xs, var(--calcite-spacing-xs));--calcite-action-background-color: var(--calcite-notice-close-background-color);--calcite-action-background-color-hover: var( --calcite-notice-close-background-color-hover, var(--calcite-notice-close-background-color-focus) );--calcite-action-background-color-press: var(--calcite-notice-close-background-color-press);--calcite-action-text-color: var(--calcite-notice-close-icon-color, var(--calcite-color-text-3));--calcite-action-text-color-press: var(--calcite-notice-close-icon-color-hover)}.actions-end{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-theme-space-xs, var(--calcite-spacing-xs));gap:var(--calcite-theme-space-xs, var(--calcite-spacing-xs))}:host([kind=brand][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-brand) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-brand) 5%, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))))}:host([kind=brand][appearance=outline-fill]) .notice-icon,:host([kind=brand][appearance=transparent]) .notice-icon{color:var(--calcite-color-brand)}:host([kind=info][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-info) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-info) 5%, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))))}:host([kind=info][appearance=outline-fill]) .notice-icon,:host([kind=info][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-danger) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 5%, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))))}:host([kind=danger][appearance=outline-fill]) .notice-icon,:host([kind=danger][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-success) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-success) 5%, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))))}:host([kind=success][appearance=outline-fill]) .notice-icon,:host([kind=success][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-warning) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-warning) 5%, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))))}:host([kind=warning][appearance=outline-fill]) .notice-icon,:host([kind=warning][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-warning)}:host([kind=neutral][appearance=outline-fill]) .container{border-color:var(--calcite-color-border-2);background-color:var(--calcite-notice-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}:host([kind=neutral]) .notice-icon{color:var(--calcite-color-text-3)}:host([appearance=transparent]) .container{background-color:transparent}:host([hidden]){display:none}[hidden]{display:none}`;class b extends n.WF{constructor(){super(...arguments),this.closeButtonRef=(0,c._)(),this.transitionProp="opacity",this.transitionRef=(0,c._)(),this.messages=(0,u.u)(),this.focusSetter=(0,p.u)()(this),this.hasActionEnd=!1,this.appearance="outline-fill",this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=(0,r.b)({cancelable:!1}),this.calciteNoticeBeforeOpen=(0,r.b)({cancelable:!1}),this.calciteNoticeClose=(0,r.b)({cancelable:!1}),this.calciteNoticeOpen=(0,r.b)({cancelable:!1})}static{this.properties={hasActionEnd:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],closable:[7,{},{reflect:!0,type:Boolean}],icon:[3,{converter:n.pf},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],kind:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=v}async setFocus(e){return this.focusSetter(()=>this.el.querySelector("calcite-link")||this.closeButtonRef.value,e)}async load(){this.kindIcons={...s.a,brand:s.K.brand},this.requestedIcon=(0,l.v)(this.kindIcons,this.icon,this.kind)}willUpdate(e){e.has("open")&&(this.hasUpdated||!1!==this.open)&&(0,d.t)(this),(e.has("icon")||e.has("kind")&&(this.hasUpdated||"brand"!==this.kind))&&(this.requestedIcon=(0,l.v)(this.kindIcons,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}close(){this.open=!1}handleActionsEndSlotChange(e){this.hasActionEnd=(0,l.s)(e)}render(){const e=o.qy`<calcite-action class=${(0,n.CP)("notice-close")} icon=x @click=${this.close} .scale=${this.scale} .text=${this.messages.close} ${(0,c.K)(this.closeButtonRef)}></calcite-action>`;return o.qy`<div class=${(0,n.CP)("container")} ${(0,c.K)(this.transitionRef)}>${this.requestedIcon?o.qy`<div class=${(0,n.CP)("notice-icon")}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${(0,h.g)(this.scale)}></calcite-icon></div>`:null}<div class=${(0,n.CP)("notice-content")}><slot name=${"title"}></slot><slot name=${"message"}></slot><slot name=${"link"}></slot></div><div class=${(0,n.CP)("actions-end")} .hidden=${!this.hasActionEnd}><slot name=${"actions-end"} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?e:null}</div>`}}(0,a.c)("calcite-notice",b)},41656(e,t,i){i.d(t,{D:()=>n});var a=i(7261),o=i(66567),c=i(58887);const n=(0,o.u$)(class extends o.WL{constructor(){super(...arguments),this.key=a.s6}render(e,t){return this.key=e,t}update(e,[t,i]){return t!==this.key&&((0,c.mY)(e),this.key=t),i}})},30858(e,t,i){i.d(t,{Dk:()=>g,aK:()=>m,yr:()=>z,jH:()=>$,oW:()=>y});var a=i(64336),o=i(59231);var c=i(58933),n=i(49411),r=i(44613);const l="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".split(","),s=new Set(l),d="en",h={pt:"pt-BR",nb:"no",nn:"no",zh:"zh-CN"},u={},p=async(e,t)=>{const i=`${t}${e}.json`;try{const e=await fetch(i);if(e.ok)return await e.json()}catch(e){return(0,r.Rm)("error","intl",`An unknown error occurred while fetching localization strings at ${i}`,{detail:{error:e}}),{}}return e===d?{}:await p(d,t)},v=e=>{const[t,i]=e.split("-"),a=t.toLowerCase();let o=a;return i&&(o=`${a}-${i.toUpperCase()}`),o=h[o]??o,s.has(o)?o:i?v(a):d},b=e=>{const t=(0,n.Zj)(e,"lang",globalThis.navigator?.language||"en");return{lang:t,t9nLocale:v(t)}},g=e=>k(void 0,e),m=e=>t=>k(t,e);class f extends a.C{constructor(e,t){super(e);const i=this.exports;try{(0,o.s)(this.component);const e=t(this.component,this),a=this.exports!==i;if((0,o.i)(e)){a||this.setProvisionalExports(e);const t=e.then(e=>{this.exports=e,super.catchUpLifecycle()}).catch(e=>{this.P.reject(e)});this.onLoad(async()=>await t)}else a&&void 0===e||(this.exports=e),queueMicrotask(()=>super.catchUpLifecycle())}catch(e){this.P.reject(e)}}catchUpLifecycle(){}}const k=(x=f,(...e)=>{const t=(0,o.b)(),i=new x(...e),c=i.exports;(0,o.a)(t.at(-1));const n=i.component.manager;n.W(i,c),i.watchExports(n.W.bind(n,i)),(0,o.f)(i);const r=[i.component,...t].reverse();return(0,a.a)(r,e=>void 0===e?void 0:((e,{host:t,key:i,isReactive:a},c)=>{const n=t,r=n[i]!==e.exports,l=n[i]!==c,s=c!==e.exports;if(r&&!l&&s&&(n[i]=e.exports),t===e.component){if(a){const t=e.component.manager;l&&t.W(e,n[i]),e.onUpdate(a=>{if(a.has(i)){const a=n[i];a!==e.exports&&t.W(e,a)}})}e.O=a?void 0:i}const d=e.component.constructor.elementProperties.get(i)?.readOnly;e.watchExports(()=>{n[i]!==e.exports&&(d?(0,o.c)(()=>{n[i]=e.exports}):n[i]=e.exports)})})(i,e,c),c)});var x;const y=(e,t)=>new w(e,t);class w extends a.C{#e;#t;#i;constructor(e,t){super(),c.S$||(this.#t=e,this.#i=t,this.#e=new MutationObserver(i=>{i.forEach(i=>{e.includes(i.attributeName)&&t.call(this.component,this.component.el.getAttribute(i.attributeName),i.oldValue,i.attributeName)})}))}hostConnected(){this.#t.forEach(e=>{this.component.el.hasAttribute(e)&&this.#i.call(this.component,this.component.el.getAttribute(e),null,e)}),this.#e.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this.#t})}hostDisconnected(){this.#e.disconnect()}}const $=()=>g((e,t)=>{t.exports="ltr",t.onLifecycle(()=>{const i=()=>{const i=(0,n.Zj)(e.el,"dir","ltr");t.exports="rtl"===i?"rtl":"ltr"};return i(),(0,n.Yt)(e.el,["dir"],i)})}),z=e=>(t={})=>g((i,a)=>{const o=b(i.el),c={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},l=i;a.onLifecycle(()=>((t,o,c,d)=>{let h;const v=()=>(async(e,t,i=e.localName.split("-").slice(1).join("-"))=>{const{lang:a,t9nLocale:o}=b(e),c=`${t}/${i}/t9n`,n=null===i?{}:await(async(e,t,i="")=>{const a=`${t}/${i}`,o=`${a}${e}.json`;return u[o]??=p(e,a),await u[o]})(o,c,"messages.");return{lang:a,t9nLocale:o,t9nStrings:n}})(t,e("./assets"),d).then(e=>{h?.lang===e.lang&&h.t9nLocale===e.t9nLocale&&h.t9nStrings===e.t9nStrings||(({t9nLocale:e,t9nStrings:t,lang:o})=>{const c={...t,_lang:o,_t9nLocale:e,_loading:!1};a.exports=c;const n=t.componentLabel;"string"==typeof n&&"label"in i&&null==i.label&&(i.label??=n),s(l.messageOverrides)})(e),h=e}).catch(e=>{(0,r.Rm)("error","intl","Error updating component locale state",{detail:{error:e}})});return queueMicrotask(v),(0,n.Yt)(t,["lang"],v)})(i.el,0,0,t.name));const s=e=>{const t=a.exports,i=t._original??t,o=C(i,e);e&&(o._original=i),a.exports=o};return"messageOverrides"in l&&a.onUpdate(e=>{e.has("messageOverrides")&&s(l.messageOverrides)}),t.blocking?(a.setProvisionalExports(c,!1),a.ready):c}),C=(e,t)=>{if(!t)return e;const i={...e};return Object.entries(t).forEach(([t,a])=>{void 0!==e[t]&&(i[t]="object"==typeof a?C(e[t],a):a??e[t])}),i}}}]);