@arcgis/core 4.33.0-next.20250429 → 4.33.0-next.20250430
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analysis/AreaMeasurementAnalysis.js +1 -1
- package/applications/Components/baUtils.js +5 -0
- package/assets/components/assets/icon/mosaicMethodBlend16.json +1 -1
- package/assets/components/assets/icon/mosaicMethodBlend24.json +1 -1
- package/assets/components/assets/icon/mosaicMethodBlend32.json +1 -1
- package/assets/components/assets/icon/mosaicMethodNorthWest32.json +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{9a1c058d3ecd1db0e996.js → 0c338364cb55afdbd580.js} +1 -1
- package/assets/esri/core/workers/chunks/{4351b3e54b309935faed.js → 173737c60fa54f7d82bb.js} +1 -1
- package/assets/esri/core/workers/chunks/{90dc783a617ff053e862.js → 181ad3cee0b30a72e7c7.js} +1 -1
- package/assets/esri/core/workers/chunks/210e057fe5e66abea984.js +1 -0
- package/assets/esri/core/workers/chunks/{9850ff14bd9c7da81c65.js → 23c76963481e38f39653.js} +1 -1
- package/assets/esri/core/workers/chunks/{b1473d15c75fc560ea4a.js → 2ad47c0ba1680f7d5e03.js} +1 -1
- package/assets/esri/core/workers/chunks/2c3920ad82b9d86c3f05.js +1 -0
- package/assets/esri/core/workers/chunks/{4da99f058cca83937e9b.js → 2c92f6f268aa2de5432c.js} +1 -1
- package/assets/esri/core/workers/chunks/{12c9dd3932218238033b.js → 3a205f87f100832ef9f5.js} +1 -1
- package/assets/esri/core/workers/chunks/543eb46b55cacd6e1dbc.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/{2fd5b48976cefe7cc0ab.js → 581180668e0229dcdc14.js} +1 -1
- package/assets/esri/core/workers/chunks/5c2299f22a69e58cc4dd.js +1 -0
- package/assets/esri/core/workers/chunks/60eb6dd09080da5653a1.js +1 -0
- package/assets/esri/core/workers/chunks/6210346dc9d064ac90af.js +1 -0
- package/assets/esri/core/workers/chunks/{3cf001abca8ad933bccf.js → 670a66617249f2d15a62.js} +2 -2
- package/assets/esri/core/workers/chunks/{3cf001abca8ad933bccf.js.LICENSE.txt → 670a66617249f2d15a62.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/710e03feaa25e357f17a.js +1 -0
- package/assets/esri/core/workers/chunks/{a6de903f22f76d875005.js → 7496c4c33c2d8f60a434.js} +1 -1
- package/assets/esri/core/workers/chunks/7b4523ab392966624d97.js +2 -0
- package/assets/esri/core/workers/chunks/{30551c1d3e4fa7be86c1.js.LICENSE.txt → 7b4523ab392966624d97.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{50ffb2620cdbcfd75723.js → 81b3351ea9627bb631d4.js} +1 -1
- package/assets/esri/core/workers/chunks/84d7ed2cf5fe23a0888f.js +1 -0
- package/assets/esri/core/workers/chunks/84f972d7851d982701a0.js +319 -0
- package/assets/esri/core/workers/chunks/{f52e597dca4b32a81881.js → 867c6c5b2ee1db977c99.js} +1 -1
- package/assets/esri/core/workers/chunks/{c5d786166a5609b85276.js → 8a87c181b85d0b86b9bb.js} +2 -2
- package/assets/esri/core/workers/chunks/{c5d786166a5609b85276.js.LICENSE.txt → 8a87c181b85d0b86b9bb.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{a0c51c4c30a5f749dfc6.js → 8bf2e2fe5e3e8b4a1fa0.js} +1 -1
- package/assets/esri/core/workers/chunks/{213adc87c843d627c5d6.js → 8f2e0277c66247bd40b4.js} +1 -1
- package/assets/esri/core/workers/chunks/{a600194cfe26aedc21dd.js → 9d32f41f8f69b8a507c3.js} +1 -1
- package/assets/esri/core/workers/chunks/ac9c6779771ec855da79.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/{899f197556b6ced6eddf.js → ad9b4e0164706c53b872.js} +2 -2
- package/assets/esri/core/workers/chunks/{1a6d2d090b643a87408a.js → b780c7062b1b18a5ae19.js} +1 -1
- package/assets/esri/core/workers/chunks/{72097a8247101018dcdf.js → ba4aafa8dfa76006c3e7.js} +1 -1
- package/assets/esri/core/workers/chunks/c2594024d72133d3ed7b.js +2 -0
- package/assets/esri/core/workers/chunks/{e524462c63834fae7e01.js.LICENSE.txt → c2594024d72133d3ed7b.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{5a821b7bf58eebb9062c.js → c607d618b64d3accecc4.js} +1 -1
- package/assets/esri/core/workers/chunks/c819535525e9a27bae1f.js +39 -0
- package/assets/esri/core/workers/chunks/{c3033f148213c960b906.js → cb25b45a6b385e60c68d.js} +307 -309
- package/assets/esri/core/workers/chunks/{577f24923fa4d08360e4.js → ce9de24cb96b56d20562.js} +2 -2
- package/assets/esri/core/workers/chunks/{577f24923fa4d08360e4.js.LICENSE.txt → ce9de24cb96b56d20562.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/d30fae6233d3426615ed.js +1 -0
- package/assets/esri/core/workers/chunks/d8dc922f7466300b668f.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/{28317c8d7fa2eeeaf997.js → d92ea6b0674f34206ab6.js} +1 -1
- package/assets/esri/core/workers/chunks/{345993291540433d3d92.js → e93222c65bd28203ddf7.js} +1 -1
- package/assets/esri/themes/base/widgets/_SelectionList.scss +5 -17
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/BloomBlur.glsl.js +1 -1
- package/chunks/BloomComposition.glsl.js +2 -2
- package/chunks/ChapmanAtmosphere.glsl.js +1 -1
- package/chunks/CloudsComposition.glsl.js +1 -1
- package/chunks/ComponentShader.glsl.js +33 -33
- package/chunks/DefaultMaterial.glsl.js +22 -22
- package/chunks/Fog.glsl.js +3 -3
- package/chunks/Haze.glsl.js +1 -1
- package/chunks/Path.glsl.js +22 -18
- package/chunks/RealisticTree.glsl.js +9 -9
- package/chunks/RibbonLine.glsl.js +1 -1
- package/chunks/ShadowCastAccumulate.glsl.js +5 -5
- package/chunks/ShadowHighlight.glsl.js +3 -3
- package/chunks/Terrain.glsl.js +1 -1
- package/chunks/Viewshed.glsl.js +1 -1
- package/geometry/support/PolylineBuilder.js +1 -1
- package/geometry/support/curves/bezierCurveUtils.js +5 -0
- package/geometry/support/curves/circleUtils.js +5 -0
- package/geometry/support/curves/circularArcUtils.js +5 -0
- package/geometry/support/curves/closestPointOnCurve.js +5 -0
- package/geometry/support/curves/curveUtils.js +5 -0
- package/geometry/support/curves/densifyCurvedGeometry.js +5 -0
- package/geometry/support/curves/ellipticArc4Utils.js +5 -0
- package/geometry/support/curves/ellipticArc7Utils.js +5 -0
- package/geometry/support/curves/mathUtils.js +5 -0
- package/geometry/support/curves/splitCurveAtPoint.js +5 -0
- package/interfaces.d.ts +452 -17
- package/layers/VideoLayer.js +1 -1
- package/package.json +1 -1
- package/portal/schemas/definitions.js +1 -1
- package/rest/knowledgeGraph/GraphAddNamedTypesResult.js +5 -0
- package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.js +5 -0
- package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/updateToWasmEncodedFactories.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToDataModelChangeResponseFactories.js +5 -0
- package/rest/knowledgeGraph/wasmInterface/wasmUtils.js +1 -1
- package/rest/knowledgeGraphService.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/CIMOperators.js +1 -1
- package/symbols/cim/effects/EffectSuppress.js +5 -0
- package/symbols/cim/effects/EffectTaperedPolygon.js +1 -1
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/VideoLayerView2D.js +1 -1
- package/views/2d/layers/graphics/GraphicStoreItem.js +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
- package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.js +1 -1
- package/views/3d/environment/ChapmanAtmosphereTechniqueConfiguration.js +1 -1
- package/views/3d/environment/EnvironmentManager.js +1 -1
- package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DTool.js +1 -1
- package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +1 -1
- package/views/3d/layers/graphics/pipeline/Feature3DPipeline.js +1 -1
- package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorker.js +1 -1
- package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorkerHandle.js +1 -1
- package/views/3d/layers/graphics/pipeline/FeatureProcessingContext.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +5 -0
- package/views/3d/layers/graphics/pipeline/symbolization/ObjectSymbolLayerRenderer.js +5 -0
- package/views/3d/layers/graphics/pipeline/symbolization/Point3DSymbolRenderer.js +5 -0
- package/views/3d/layers/graphics/pipeline/symbolization/SimpleFeatureRenderer.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/UniqueValueFeatureRenderer.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/factoryUtils.js +5 -0
- package/views/3d/layers/graphics/pipeline/symbolization/primitiveObjectUtils.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentShader.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/AnalyticalSkyModel.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateAmbientOcclusion.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +15 -15
- package/views/3d/webgl-engine/core/shaderLibrary/shading/FoamRendering.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRendering.glsl.js +10 -11
- package/views/3d/webgl-engine/core/shaderLibrary/shading/PiUtils.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Water.glsl.js +8 -8
- package/views/3d/webgl-engine/core/shaderLibrary/shading/WaterDistortion.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadow.glsl.js +27 -0
- package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadowFromDepth.glsl.js +28 -0
- package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
- package/views/3d/webgl-engine/effects/haze/HazeTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/effects/weather/SnowCover.glsl.js +12 -0
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/WaterTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/CheckerBoardTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/ImageMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarkerTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOID.glsl.js +9 -9
- package/views/3d/webgl-engine/shaders/Path.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/PatternTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowCastAccumulate.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowHighlight.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ToneMapping.glsl.js +2 -20
- package/views/VideoView.js +1 -1
- package/webscene/support/FeatureReference.d.ts +4 -0
- package/webscene/support/FeatureReference.js +5 -0
- package/webscene/support/FeatureReferenceGlobalId.d.ts +4 -0
- package/webscene/support/FeatureReferenceGlobalId.js +5 -0
- package/webscene/support/FeatureReferenceId.d.ts +4 -0
- package/webscene/support/FeatureReferenceId.js +5 -0
- package/webscene/support/FeatureReferenceObjectId.d.ts +4 -0
- package/webscene/support/FeatureReferenceObjectId.js +5 -0
- package/webscene/support/LayerReference.d.ts +4 -0
- package/webscene/support/LayerReference.js +5 -0
- package/webscene/support/SlideElements.js +1 -1
- package/webscene/support/SlidePopupInfo.d.ts +4 -0
- package/webscene/support/SlidePopupInfo.js +5 -0
- package/webscene/support/featureReferenceUtils.js +5 -0
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/LayerList/LayerListItem.js +1 -1
- package/widgets/LayerList/ListItemPanel.js +1 -1
- package/widgets/TableList/ListItemPanel.js +1 -1
- package/widgets/VideoPlayer.js +1 -1
- package/widgets/support/SelectionList/FeatureItem.js +1 -1
- package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
- package/widgets/support/SelectionList.js +1 -1
- package/assets/esri/core/workers/chunks/2e3019ce49e972a815ca.js +0 -1
- package/assets/esri/core/workers/chunks/30551c1d3e4fa7be86c1.js +0 -2
- package/assets/esri/core/workers/chunks/3293b4041c222299428f.js +0 -1
- package/assets/esri/core/workers/chunks/626ba3a7dee952308566.js +0 -1
- package/assets/esri/core/workers/chunks/97eedd6b90c6a9c67947.js +0 -1
- package/assets/esri/core/workers/chunks/b1e420cb425a3625170e.js +0 -319
- package/assets/esri/core/workers/chunks/bf4947fe446dcb477031.js +0 -1
- package/assets/esri/core/workers/chunks/cd2927b922444880566d.js +0 -1
- package/assets/esri/core/workers/chunks/d3a74087e076a3ae76ca.js +0 -1
- package/assets/esri/core/workers/chunks/def182fff5a0244b1c2c.js +0 -1
- package/assets/esri/core/workers/chunks/e524462c63834fae7e01.js +0 -2
- package/assets/esri/core/workers/chunks/e64e0c3240f8e577a61c.js +0 -39
- package/geometry/support/curveUtils.js +0 -5
- package/geometry/support/densifyUtils.js +0 -5
- package/views/3d/layers/graphics/pipeline/symbolization/Factory.js +0 -5
- package/views/3d/layers/graphics/pipeline/symbolization/TestObjectSymbol.js +0 -5
- package/views/3d/layers/graphics/pipeline/symbolization/TestSymbol.js +0 -5
- package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadow.js +0 -38
- package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadowFromDepth.js +0 -35
- package/views/3d/webgl-engine/effects/bloom/BloomCompositionTechniqueConfiguration.js +0 -5
- package/widgets/support/InteractiveAnalysisViewModel.js +0 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see
|
|
2
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[224],{87843:(e,t,n)=>{n.r(t),n.d(t,{Label:()=>r});var l=n(34088),a=n(46337),i=n(18964),s=n(93174),c=n(33826);const o=c.AH`: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{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class r extends i.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,i.lh)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{reflect:!0}],for:[3,{reflect:!0}],layout:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=o}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(s.l))}willUpdate(e){e.has("for")&&(0,s.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(s.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return a.qy`<div class=${(0,i.CP)("container")}><slot></slot></div>`}}(0,l.c)("calcite-label",r)},93174:(e,t,n)=>{n.d(t,{a:()=>k,b:()=>s,c:()=>m,d:()=>f,g:()=>g,l:()=>i});var l=n(79e3);const a="calciteInternalLabelClick",i="calciteInternalLabelConnected",s="calciteInternalLabelDisconnected",c="calcite-label",o=new WeakMap,r=new WeakMap,d=new WeakMap,b=new WeakMap,h=new Set,u=e=>{const{id:t}=e,n=t&&(0,l.q)(e,{selector:`${c}[for="${t}"]`});if(n)return n;const a=(0,l.
|
|
1
|
+
/*! For license information please see ce9de24cb96b56d20562.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[224],{87843:(e,t,n)=>{n.r(t),n.d(t,{Label:()=>r});var l=n(34088),a=n(46337),i=n(18964),s=n(93174),c=n(33826);const o=c.AH`: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{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class r extends i.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,i.lh)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{reflect:!0}],for:[3,{reflect:!0}],layout:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=o}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(s.l))}willUpdate(e){e.has("for")&&(0,s.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(s.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return a.qy`<div class=${(0,i.CP)("container")}><slot></slot></div>`}}(0,l.c)("calcite-label",r)},93174:(e,t,n)=>{n.d(t,{a:()=>k,b:()=>s,c:()=>m,d:()=>f,g:()=>g,l:()=>i});var l=n(79e3);const a="calciteInternalLabelClick",i="calciteInternalLabelConnected",s="calciteInternalLabelDisconnected",c="calcite-label",o=new WeakMap,r=new WeakMap,d=new WeakMap,b=new WeakMap,h=new Set,u=e=>{const{id:t}=e,n=t&&(0,l.q)(e,{selector:`${c}[for="${t}"]`});if(n)return n;const a=(0,l.l)(e,c);return!a||function(e,t){let n;const l="custom-element-ancestor-check",a=l=>{l.stopImmediatePropagation();const a=l.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};e.addEventListener(l,a,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,a);return n.filter((n=>n!==t&&n!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(a,e)?null:a};function m(e){if(!e)return;const t=u(e.el);if(r.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=y.bind(e);if(t){e.labelEl=t;const l=o.get(t)||[];l.push(e),o.set(t,l.sort(p)),r.has(e.labelEl)||(r.set(e.labelEl,v),e.labelEl.addEventListener(a,v)),h.delete(e),document.removeEventListener(i,d.get(e)),b.set(e,n),document.addEventListener(s,n)}else h.has(e)||(n(),document.removeEventListener(s,b.get(e)))}function f(e){if(!e)return;if(h.delete(e),document.removeEventListener(i,d.get(e)),document.removeEventListener(s,b.get(e)),d.delete(e),b.delete(e),!e.labelEl)return;const t=o.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(a,r.get(e.labelEl)),r.delete(e.labelEl)),o.set(e.labelEl,t.filter((t=>t!==e)).sort(p)),e.labelEl=null}function p(e,t){return(0,l.m)(e.el,t.el)?-1:1}function g(e){return e.label||e.labelEl?.textContent?.trim()||""}function v(e){const t=e.detail.sourceEvent.target,n=o.get(this),l=n.find((e=>e.el===t));if(n.includes(l))return;const a=n[0];a.disabled||a.onLabelClick(e)}function E(){h.has(this)&&m(this)}function y(){h.add(this);const e=d.get(this)||E.bind(this);d.set(this,e),document.addEventListener(i,e)}async function k(e){if(await e.componentOnReady(),o.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of h)if(e.el===t){m(e);break}}))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2106],{3904:(e,t,o)=>{o.d(t,{A:()=>y});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(43937);let a=class extends s.A{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r._)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r._)([(0,n.K)("enabled")],a.prototype,"writeEnabled",null),(0,r._)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,r._)([(0,l.$)("esri.symbols.Symbol3DLayer")],a);const y=a},3955:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.A{constructor(e){super(e),this.type="style"}clone(){throw new Error("Subclasses of Pattern3D should implement their own clone method.")}};(0,r._)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.$)("esri.symbols.patterns.Pattern3D")],n);const a=n},4595:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.A{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r._)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],n.prototype,"type",void 0),(0,r._)([(0,i.MZ)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r._)([(0,l.$)("esri.symbols.callouts.Callout3D")],n);const a=n},4792:(e,t,o)=>{o.d(t,{A:()=>h});var r=o(90237),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(40608)),p=o(67222);let c=class extends i.A{constructor(e){super(e),this.color=new s.A([0,0,0,1]),this.extensionLength=0,this.size=(0,n.PN)(1)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r._)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],c.prototype,"type",void 0),(0,r._)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],c.prototype,"color",void 0),(0,r._)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],c.prototype,"extensionLength",void 0),(0,r._)([(0,a.MZ)(p.pI)],c.prototype,"size",void 0),c=(0,r._)([(0,y.$)("esri.symbols.edges.Edges3D")],c);const h=c},4900:(e,t,o)=>{o.d(t,{A:()=>p});var r,s=o(90237),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.A{constructor(e){super(e),this.screenLength=0,this.minWorldLength=0,this.maxWorldLength=null}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s._)([(0,l.MZ)({...a.pI,json:{write:{isRequired:!0}}})],y.prototype,"screenLength",void 0),(0,s._)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],y.prototype,"minWorldLength",void 0),(0,s._)([(0,l.MZ)({type:Number,json:{write:!0}})],y.prototype,"maxWorldLength",void 0),y=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DVerticalOffset")],y);const p=y},6847:(e,t,o)=>{o.d(t,{i:()=>m,r:()=>b});var r,s=o(90237),i=o(66552),l=o(25482),n=o(84952),a=o(10107),y=(o(44208),o(53966),o(87811),o(93223)),p=o(36005),c=o(40608),h=o(43937),u=o(97159);const d=(0,i.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let m=r=class extends l.A{constructor(e){super(e)}readHref(e,t,o){return e?(0,u.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,u.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],m.prototype,"href",void 0),(0,s._)([(0,p.w)("href")],m.prototype,"readHref",null),(0,s._)([(0,h.K)("href",{href:{type:String},dataURI:{type:String}})],m.prototype,"writeHref",null),(0,s._)([(0,y.e)(d)],m.prototype,"primitive",void 0),m=r=(0,s._)([(0,c.$)("esri.symbols.support.IconSymbol3DLayerResource")],m);const b="circle"},8887:(e,t,o)=>{o.d(t,{Bb:()=>i,Fq:()=>y,M4:()=>p,Nv:()=>c,e:()=>h}),o(44208);var r=o(51850),s=o(70328);function i(e,{isPrimitive:t,width:o,depth:s,height:i}){const l=t?10:1;if(null==o&&null==i&&null==s)return[l*e[0],l*e[1],l*e[2]];const n=(0,r.fA)(o,s,i);let a;for(let t=0;t<3;t++){const o=n[t];if(null!=o){a=o/e[t];break}}for(let t=0;t<3;t++)null==n[t]&&(n[t]=e[t]*a);return n}const l=(0,s.fA)(-.5,-.5,-.5,.5,.5,.5),n=(0,s.fA)(-.5,-.5,0,.5,.5,1),a=(0,s.fA)(-.5,-.5,0,.5,.5,.5);function y(e){switch(e){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const p=["butt","square","round"],c=[...p,"none"],h=["miter","bevel","round"]},8893:(e,t,o)=>{o.d(t,{A:()=>v});var r,s=o(90237),i=o(68197),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(4595),h=o(25482),u=o(67222);let d=r=class extends h.A{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s._)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],d.prototype,"color",void 0),d=r=(0,s._)([(0,p.$)("esri.symbols.callouts.LineCallout3DBorder")],d);const m=d;var b;let g=b=class extends c.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.size=(0,n.PN)(1),this.border=null}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new b({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s._)([(0,y.e)({line:"line"})],g.prototype,"type",void 0),(0,s._)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],g.prototype,"color",void 0),(0,s._)([(0,a.MZ)({...u.pI,json:{write:{isRequired:!0}}})],g.prototype,"size",void 0),(0,s._)([(0,a.MZ)({type:m,json:{write:!0}})],g.prototype,"border",void 0),(0,s._)([(0,a.MZ)({readOnly:!0})],g.prototype,"visible",null),g=b=(0,s._)([(0,p.$)("esri.symbols.callouts.LineCallout3D")],g);const v=g},10224:(e,t,o)=>{o.d(t,{A:()=>M});var r,s=o(90237),i=o(4718),l=o(10107),n=(o(44208),o(53966),o(93223)),a=o(40608),y=o(43937),p=o(11831),c=o(3904),h=o(67222),u=o(68197),d=o(25482);let m=r=class extends d.A{constructor(){super(...arguments),this.color=new u.A([0,0,0,1]),this.size=0}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s._)([(0,l.MZ)((0,h.EW)())],m.prototype,"color",void 0),(0,s._)([(0,l.MZ)(h.pI)],m.prototype,"size",void 0),m=r=(0,s._)([(0,a.$)("esri.symbols.support.Symbol3DHalo")],m);var b=o(28975),g=o(69540);o(87811);let v=class extends(g.A.ClonableMixin(d.A)){constructor(e){super(e),this.color=null}};(0,s._)([(0,l.MZ)((0,h.EW)())],v.prototype,"color",void 0),v=(0,s._)([(0,a.$)("esri.symbols.support.Symbol3DTextBackground")],v);var f,w=o(5760);let _=class extends c.A{static{f=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline"}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=e,null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new f({enabled:this.enabled,font:this.font&&(0,i.o8)(this.font),halo:this.halo&&(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new f({font:null!=e.font?e.font.clone():new p.A,halo:A(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new b.N({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new v({color:e.backgroundColor.clone()}):null})}};function A(e,t){return e&&null!=t&&t>0?new m({color:(0,i.o8)(e),size:t}):null}(0,s._)([(0,l.MZ)({type:p.A,json:{write:!0}})],_.prototype,"font",null),(0,s._)([(0,y.K)("font")],_.prototype,"writeFont",null),(0,s._)([(0,l.MZ)({type:m,json:{write:!0}})],_.prototype,"halo",void 0),(0,s._)([(0,l.MZ)({...w.rM,json:{default:"center",write:!0}})],_.prototype,"horizontalAlignment",void 0),(0,s._)([(0,l.MZ)({...w.Tb,json:{default:1,write:!0}})],_.prototype,"lineHeight",void 0),(0,s._)([(0,l.MZ)({type:b.N,json:{write:!0}})],_.prototype,"material",void 0),(0,s._)([(0,l.MZ)({type:v,json:{write:!0}})],_.prototype,"background",void 0),(0,s._)([(0,l.MZ)(h.pI)],_.prototype,"size",null),(0,s._)([(0,l.MZ)({type:String,json:{write:!0}})],_.prototype,"text",void 0),(0,s._)([(0,n.e)({Text:"text"},{readOnly:!0})],_.prototype,"type",void 0),(0,s._)([(0,l.MZ)({...w.x0,json:{default:"baseline",write:!0}})],_.prototype,"verticalAlignment",void 0),_=f=(0,s._)([(0,a.$)("esri.symbols.TextSymbol3DLayer")],_);const M=_},11506:(e,t,o)=>{o.d(t,{A:()=>S});var r=o(90237),s=o(90629),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(68197),y=o(69540),p=o(25482),c=o(56507),h=o(83213);let u=class extends(y.A.ClonableMixin(p.A)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r._)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],u.prototype,"type",void 0),(0,r._)([(0,i.MZ)({type:h.x,json:{default:"begin-end",write:!0}})],u.prototype,"placement",void 0),(0,r._)([(0,i.MZ)({type:h.z,json:{default:"arrow",write:!0}})],u.prototype,"style",void 0),(0,r._)([(0,i.MZ)({type:a.A,json:{type:[c.jz],default:null,write:!0}})],u.prototype,"color",void 0),u=(0,r._)([(0,n.$)("esri.symbols.LineStyleMarker3D")],u);const d=u;var m,b=o(3904),g=o(44633),v=o(20603),f=o(33386),w=o(67222),_=o(28975),A=o(8887);let M=class extends b.A{static{m=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,s.PN)(1),this.pattern=null,this.marker=null}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new m(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new g.A({style:e.style}):null,material:new _.N({color:(e.color||f.ON).clone()}),marker:e.marker?new d({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new m(t)}};(0,r._)([(0,i.MZ)({type:_.N,json:{write:!0}})],M.prototype,"material",void 0),(0,r._)([(0,l.e)({Line:"line"},{readOnly:!0})],M.prototype,"type",void 0),(0,r._)([(0,i.MZ)({type:A.e,json:{write:!0,default:"miter"}})],M.prototype,"join",void 0),(0,r._)([(0,i.MZ)({type:A.M4,json:{write:!0,default:"butt"}})],M.prototype,"cap",void 0),(0,r._)([(0,i.MZ)({...w.pI,json:{write:{isRequired:!0}}})],M.prototype,"size",void 0),(0,r._)([(0,i.MZ)(v.v)],M.prototype,"pattern",void 0),(0,r._)([(0,i.MZ)({types:{key:"type",base:d,typeMap:{style:d}},json:{write:!0}})],M.prototype,"marker",void 0),M=m=(0,r._)([(0,n.$)("esri.symbols.LineSymbol3DLayer")],M);const S=M},13313:(e,t,o)=>{o.d(t,{A:()=>b});var r,s=o(90237),i=o(5503),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(58185),c=o(10224),h=o(59483),u=o(4900);const d=i.A.ofType({base:null,key:"type",typeMap:{text:c.A}});let m=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new d,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail),callout:(0,l.o8)(this.callout),verticalOffset:(0,l.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([c.A.fromTextSymbol(e)])})}};(0,s._)([(0,n.MZ)({type:u.A,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s._)([(0,n.MZ)(h.oG)],m.prototype,"callout",void 0),(0,s._)([(0,n.MZ)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s._)([(0,n.MZ)({type:d})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s._)([(0,y.$)("esri.symbols.LabelSymbol3D")],m);const b=m},16264:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(3955);let a=r=class extends n.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){return new r({style:this.style})}};(0,s._)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],a.prototype,"style",void 0),a=r=(0,s._)([(0,l.$)("esri.symbols.patterns.StylePattern3D")],a);const y=a},18574:(e,t,o)=>{o.d(t,{A:()=>x});var r,s=o(90237),i=o(4718),l=o(53966),n=o(84952),a=o(10107),y=(o(44208),o(93223)),p=o(40608),c=o(3904),h=o(33386),u=o(6847),d=o(67222),m=o(69622);o(87811);let b=r=class extends m.A{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new r({x:this.x,y:this.y})}};(0,s._)([(0,a.MZ)({type:Number})],b.prototype,"x",void 0),(0,s._)([(0,a.MZ)({type:Number})],b.prototype,"y",void 0),b=r=(0,s._)([(0,p.$)("esri.symbols.support.Symbol3DAnchorPosition2D")],b);var g,v=o(68197),f=o(25482),w=o(90629);let _=g=class extends f.A{constructor(e){super(e),this.color=new v.A([0,0,0,1]),this.size=(0,w.PN)(1)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new g(e)}};(0,s._)([(0,a.MZ)((0,d.EW)({colorRequiredOnWrite:!0}))],_.prototype,"color",void 0),(0,s._)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],_.prototype,"size",void 0),_=g=(0,s._)([(0,p.$)("esri.symbols.support.Symbol3DIconOutline")],_);var A,M=o(28975);let S=class extends c.A{static{A=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0}clone(){return new A({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size})}static fromSimpleMarkerSymbol(e){const t=e.color||h.ON,o=Z(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||h.ON).clone()}:null;return new A({size:e.size,angle:e.angle,resource:{primitive:O((()=>l.A.getLogger(this.prototype)),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,h.U9)(e.color)?h.ON:e.color,o=Z(e);return new A({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(e){return new A({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};(0,s._)([(0,a.MZ)({type:M.N,json:{write:!0}})],S.prototype,"material",void 0),(0,s._)([(0,a.MZ)({type:u.i,json:{write:!0}})],S.prototype,"resource",void 0),(0,s._)([(0,y.e)({Icon:"icon"},{readOnly:!0})],S.prototype,"type",void 0),(0,s._)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],S.prototype,"size",void 0),(0,s._)([(0,y.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],S.prototype,"anchor",void 0),(0,s._)([(0,a.MZ)({type:b,json:{type:[Number],read:{reader:e=>new b({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],S.prototype,"anchorPosition",void 0),(0,s._)([(0,a.MZ)({type:_,json:{write:!0}})],S.prototype,"outline",void 0),(0,s._)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],S.prototype,"angle",void 0),S=A=(0,s._)([(0,p.$)("esri.symbols.IconSymbol3DLayer")],S);const x=S;function Z(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=j(e.xoffset),s=j(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function j(e){return isFinite(e)?e:0}const L={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function O(e,t){return L[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},20603:(e,t,o)=>{o.d(t,{r:()=>n,v:()=>a});var r=o(36533),s=o(44633),i=o(3955),l=o(16264);const n={types:{key:"type",base:i.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},26449:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(28975);let c=class extends a.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,s._)([(0,l.e)({Extrude:"extrude"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],c.prototype,"size",void 0),(0,s._)([(0,i.MZ)({type:p.N,json:{write:!0}})],c.prototype,"material",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s._)([(0,i.MZ)(y.J)],c.prototype,"edges",void 0),c=r=(0,s._)([(0,n.$)("esri.symbols.ExtrudeSymbol3DLayer")],c);const h=c},27845:(e,t,o)=>{o.d(t,{A:()=>x});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(44633),c=o(16264),h=o(20603),u=o(33386),d=(o(49186),o(28975));let m=r=class extends d.N{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:this.color?.clone()??null,colorMixMode:this.colorMixMode,emissive:this.emissive?.clone()??null};return new r(e)}};(0,s._)([(0,l.e)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DFillMaterial")],m);var b,g=o(68197),v=o(25482),f=o(90629),w=o(67222),_=o(8887);let A=b=class extends v.A{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.size=(0,f.PN)(1),this.pattern=null,this.patternCap="butt"}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new b(e)}};var M;(0,s._)([(0,i.MZ)((0,w.EW)({colorRequiredOnWrite:!0}))],A.prototype,"color",void 0),(0,s._)([(0,i.MZ)({...w.pI,json:{write:{isRequired:!0}}})],A.prototype,"size",void 0),(0,s._)([(0,i.MZ)(h.v)],A.prototype,"pattern",void 0),(0,s._)([(0,i.MZ)({type:_.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],A.prototype,"patternCap",void 0),A=b=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DOutline")],A);let S=class extends a.A{static{M=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new M(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new p.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??u.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new M({material:new m({color:(e.color??u.u7).clone()}),pattern:e.style&&"solid"!==e.style?new c.A({style:e.style}):null,outline:o})}};(0,s._)([(0,l.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:m,json:{write:!0}})],S.prototype,"material",void 0),(0,s._)([(0,i.MZ)(h.r)],S.prototype,"pattern",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,s._)([(0,i.MZ)({type:A,json:{write:!0}})],S.prototype,"outline",void 0),(0,s._)([(0,i.MZ)(y.J)],S.prototype,"edges",void 0),S=M=(0,s._)([(0,n.$)("esri.symbols.FillSymbol3DLayer")],S);const x=S},28975:(e,t,o)=>{o.d(t,{N:()=>c});var r,s=o(90237),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.A{constructor(){super(...arguments),this.strength=null,this.source="emissive"}clone(){const e={strength:this.strength,source:this.source};return new r(e)}};var p;(0,s._)([(0,l.MZ)({json:{write:!1}})],y.prototype,"strength",void 0),(0,s._)([(0,l.MZ)({json:{write:!1}})],y.prototype,"source",void 0),y=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DEmissive")],y);let c=p=class extends i.A{constructor(e){super(e),this.color=null,this.emissive=new y({source:"emissive"})}clone(){const e={color:this.color?.clone()??null,emissive:this.emissive?.clone()??null};return new p(e)}};(0,s._)([(0,l.MZ)((0,a.EW)())],c.prototype,"color",void 0),(0,s._)([(0,l.MZ)({type:y,json:{write:!1}})],c.prototype,"emissive",void 0),c=p=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DMaterial")],c)},30809:(e,t,o)=>{o.d(t,{E:()=>h,r:()=>u});var r,s=o(90237),i=o(66552),l=o(25482),n=o(10107),a=(o(44208),o(53966),o(87811),o(93223)),y=o(40608),p=o(97159);const c=(0,i.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let h=r=class extends l.A{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,n.MZ)({type:String,json:{read:p.r,write:p.w}})],h.prototype,"href",void 0),(0,s._)([(0,a.e)(c)],h.prototype,"primitive",void 0),h=r=(0,s._)([(0,y.$)("esri.symbols.support.ObjectSymbol3DLayerResource")],h);const u="sphere"},33386:(e,t,o)=>{o.d(t,{ON:()=>s,U9:()=>l,u7:()=>i});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},33910:(e,t,o)=>{o.d(t,{dp:()=>I,$y:()=>O,wk:()=>z,Y7:()=>D,wC:()=>k,Ac:()=>C,Bu:()=>P,Es:()=>N,q8:()=>$,em:()=>R,Rv:()=>W,xK:()=>T,On:()=>q});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),y=o(68548),p=o(90237),c=o(4718),h=o(90629),u=o(10107),d=(o(44208),o(53966),o(93223)),m=o(40608),b=o(65851),g=o(77040);let v=r=class extends b.A{constructor(...e){super(...e),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.width=12,this.height=12,this.xoffset=0,this.yoffset=0,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,h.cr)(o)),null!=r&&(s.height=(0,h.cr)(r)),s}clone(){const e=new r({color:(0,c.o8)(this.color),height:this.height,outline:(0,c.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,c.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,p._)([(0,d.e)({esriPFS:"picture-fill"},{readOnly:!0})],v.prototype,"type",void 0),(0,p._)([(0,u.MZ)(g.ku)],v.prototype,"url",void 0),(0,p._)([(0,u.MZ)({type:Number,json:{write:!0}})],v.prototype,"xscale",void 0),(0,p._)([(0,u.MZ)({type:Number,json:{write:!0}})],v.prototype,"yscale",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"width",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"height",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"xoffset",void 0),(0,p._)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],v.prototype,"yoffset",void 0),(0,p._)([(0,u.MZ)(g.k7)],v.prototype,"source",void 0),v=r=(0,p._)([(0,m.$)("esri.symbols.PictureFillSymbol")],v);const f=v;var w=o(58592),_=o(75981),A=o(65365),M=o(94985),S=o(31593),x=o(53930),Z=o(20378),j=o(68249),L=o(37757);function O(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function z(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const N={base:Z.A,key:"type",typeMap:{"simple-fill":M.A,"picture-fill":f,"picture-marker":w.A,"simple-line":S.A,"simple-marker":x.A,text:j.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":_.A,"polygon-3d":A.A,"web-style":L.A,cim:l.A},errorContext:"symbol"},k=(Z.A,M.A,l.A,{base:Z.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":x.A,"point-3d":_.A,cim:l.A},errorContext:"symbol"}),D={base:Z.A,key:"type",typeMap:{"simple-line":S.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},C={base:Z.A,key:"type",typeMap:{"simple-fill":M.A,"picture-fill":f,"polygon-3d":A.A,cim:l.A},errorContext:"symbol"},$={base:Z.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":x.A,text:j.A,"web-style":L.A,cim:l.A},errorContext:"symbol"},P=(0,i.C)({types:N}),T={base:Z.A,key:"type",typeMap:{"simple-fill":M.A,"picture-fill":f,"picture-marker":w.A,"simple-line":S.A,"simple-marker":x.A,text:j.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":_.A,"polygon-3d":A.A,"web-style":L.A,cim:l.A},errorContext:"symbol"},R={base:Z.A,key:"type",typeMap:{text:j.A,"label-3d":n.A},errorContext:"symbol"},q=(Z.A,n.A,a.A,y.A,_.A,A.A,L.A,{base:Z.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":y.A,"point-3d":_.A,"polygon-3d":A.A,"web-style":L.A,cim:l.A},errorContext:"symbol"}),W={base:Z.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},I=(0,s.aq)(N)},34723:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(90237),i=o(68197),l=o(4718),n=o(10107),a=o(56507),y=o(93223),p=o(40608),c=o(3904);let h=class extends c.A{static{r=this}constructor(e){super(e),this.color=d.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:(0,l.o8)(this.color),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s._)([(0,n.MZ)({type:i.A,nonNullable:!0,json:{type:[a.jz],write:(e,t,o)=>t[o]=e.toArray(i.A.AlphaMode.UNLESS_OPAQUE),default:()=>d.clone(),defaultEquals:e=>e.toCss(!0)===d.toCss(!0)}})],h.prototype,"color",void 0),(0,s._)([(0,y.e)({Water:"water"},{readOnly:!0})],h.prototype,"type",void 0),(0,s._)([(0,n.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],h.prototype,"waterbodySize",void 0),(0,s._)([(0,n.MZ)({type:Number,json:{write:!0,default:null}})],h.prototype,"waveDirection",void 0),(0,s._)([(0,n.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],h.prototype,"waveStrength",void 0),h=r=(0,s._)([(0,p.$)("esri.symbols.WaterSymbol3DLayer")],h);const u=h,d=new i.A([0,119,190])},36533:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(90237),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.A{constructor(e){super(e)}clone(){throw new Error("Subclasses of LinePattern3D should implement their own clone method.")}};(0,r._)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.$)("esri.symbols.patterns.LinePattern3D")],n);const a=n},37757:(e,t,o)=>{o.d(t,{A:()=>g});var r,s=o(90237),i=o(51447),l=o(49186),n=o(53966),a=o(74887),y=o(10107),p=(o(44208),o(87811),o(93223)),c=o(40608),h=o(20655),u=o(97159),d=o(20378),m=o(57212);let b=r=class extends d.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:h.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async fetchCIMSymbol(e){(0,i.eO)(n.A.getLogger(this),"WebStyleSymbol.fetchCIMSymbol is deprecated in favour of WebStyleSymbol.fetchSymbol which now supports both web and cim symbology",{version:"4.33",replacement:"WebStyleSymbol.fetchSymbol",see:"https://arcg.is/0CXPTr#fetchSymbol",warnOnce:!0});const t=await this._fetchSymbol({...e,acceptedFormats:["cim"]});if("cim"!==t?.type)throw new l.A("webstylesymbol:fetchCIMSymbol","Resolved web style symbol is not of type 'cim'");return t}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:s}=await o.e(7883).then(o.bind(o,27883));(0,a.Te)(e);const i=s(this,{portal:this.portal},e);i.catch((e=>{n.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)}));const l=await i;return null!=t&&t.set(r,l.clone()),l}};(0,s._)([(0,y.MZ)({json:{write:!1}})],b.prototype,"color",void 0),(0,s._)([(0,y.MZ)({type:String,json:{write:!0}})],b.prototype,"styleName",void 0),(0,s._)([(0,y.MZ)({type:h.A,json:{write:!1}})],b.prototype,"portal",void 0),(0,s._)([(0,y.MZ)({type:String,json:{read:u.r,write:u.w}})],b.prototype,"styleUrl",void 0),(0,s._)([(0,y.MZ)({type:m.V,json:{read:!1}})],b.prototype,"thumbnail",void 0),(0,s._)([(0,y.MZ)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,s._)([(0,p.e)({styleSymbolReference:"web-style"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,y.MZ)()],b.prototype,"_fetchCacheKey",null),b=r=(0,s._)([(0,c.$)("esri.symbols.WebStyleSymbol")],b);const g=b},39065:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(90237),i=(o(53966),o(44208),o(87811),o(49186),o(93223)),l=o(40608),n=o(4792);let a=r=class extends n.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,s._)([(0,i.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s._)([(0,l.$)("esri.symbols.edges.SolidEdges3D")],a);const y=a},40863:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(90237),i=o(4718),l=o(799),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(43937),h=o(30524),u=o(20378);let d=r=class extends u.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map((o=>{const r=o.valueExpressionInfo;return r?(0,h.Dx)(e,t,r.expression):null}));await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s._)([(0,n.MZ)({json:{write:!1}})],d.prototype,"color",void 0),(0,s._)([(0,n.MZ)({json:{write:!0}})],d.prototype,"data",void 0),(0,s._)([(0,y.w)("data",["symbol"])],d.prototype,"readData",null),(0,s._)([(0,c.K)("data",{})],d.prototype,"writeData",null),(0,s._)([(0,a.e)({CIMSymbolReference:"cim"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s._)([(0,p.$)("esri.symbols.CIMSymbol")],d);const m=d},44633:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(90237),i=o(66552),l=o(10107),n=(o(44208),o(53966),o(87811),o(93223)),a=o(40608),y=o(36533);const p=(0,i.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let c=r=class extends y.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new r(e)}};(0,s._)([(0,l.MZ)({type:["style"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,s._)([(0,n.e)(p),(0,l.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],c.prototype,"style",void 0),c=r=(0,s._)([(0,a.$)("esri.symbols.patterns.LineStylePattern3D")],c);const h=c},51734:(e,t,o)=>{o.d(t,{J:()=>c});var r,s=o(4792),i=o(90237),l=(o(53966),o(44208),o(87811),o(49186),o(93223)),n=o(40608);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i._)([(0,l.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i._)([(0,n.$)("esri.symbols.edges.SketchEdges3D")],a);const y=a;var p=o(39065);const c={types:{key:"type",base:s.A,typeMap:{solid:p.A,sketch:y}},json:{write:!0}}},52106:(e,t,o)=>{o.d(t,{A:()=>w});var r,s=o(90237),i=o(13874),l=o(69540),n=o(51447),a=o(25482),y=o(53966),p=o(36708),c=o(24326),h=o(10107),u=(o(44208),o(87811),o(40608)),d=o(12195),m=o(65864),b=o(50498),g=o(33910);function v(e){if(null==e)return null;const t={};for(const o in e){const r=e[o];r&&(t[o]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let f=class extends(l.A.ClonableMixin(a.A)){static{r=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.popupTemplate=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,c.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,n.eF)(y.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new r({aggregateGeometries:this.aggregateGeometries,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;const t=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const o of[t,this.sourceLayer,this.layer])if(o){if("popupTemplate"in o&&o.popupTemplate)return o.popupTemplate;if(e&&"defaultPopupTemplate"in o&&null!=o.defaultPopupTemplate)return o.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const o=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",o,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{aggregateGeometries:v(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,d.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const o={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",o,o,e.action)}}_notifyLayer(e,t,o,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const s={graphic:this,property:e,oldValue:t,newValue:o};"origin-transform"===e&&(s.action=r),"attributes"===e&&(s.attributeName=r),this.layer.graphicChanged(s)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)((()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.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,p.z7)((()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0),(()=>{const e=this.geometry;"mesh"===e?.type&&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",this.geometry,this.geometry)}),{equals:(e,t)=>e===t,sync:!0})])}};(0,s._)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const o in e){const r=(0,m.rS)(e[o]);r&&(t[o]=r)}return 0!==Object.keys(t).length?t:null}}})],f.prototype,"aggregateGeometries",null),(0,s._)([(0,h.MZ)({value:null})],f.prototype,"attributes",null),(0,s._)([(0,h.MZ)({value:null,types:b.yR,json:{read:m.rS}})],f.prototype,"geometry",null),(0,s._)([(0,h.MZ)({type:Boolean})],f.prototype,"isAggregate",void 0),(0,s._)([(0,h.MZ)({clonable:"reference"})],f.prototype,"layer",void 0),(0,s._)([(0,h.MZ)({clonable:"reference"})],f.prototype,"origin",void 0),(0,s._)([(0,h.MZ)({type:i.A})],f.prototype,"popupTemplate",void 0),(0,s._)([(0,h.MZ)({clonable:"reference"})],f.prototype,"sourceLayer",void 0),(0,s._)([(0,h.MZ)({value:null,types:g.Es})],f.prototype,"symbol",null),(0,s._)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],f.prototype,"_version",void 0),(0,s._)([(0,h.MZ)({type:Boolean,value:!0})],f.prototype,"visible",null),f=r=(0,s._)([(0,u.$)("esri.Graphic")],f);const w=f},57212:(e,t,o)=>{o.d(t,{V:()=>a});var r,s=o(90237),i=o(69622),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608));let a=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s._)([(0,l.MZ)({type:String})],a.prototype,"url",void 0),a=r=(0,s._)([(0,n.$)("esri.symbols.support.Thumbnail")],a)},58185:(e,t,o)=>{o.d(t,{A:()=>N});var r=o(90237),s=o(5503),i=o(62885),l=o(53966),n=o(84952),a=o(67076),y=o(10107),p=o(79901),c=(o(44208),o(87811),o(36005)),h=o(40608),u=o(43937),d=o(20655),m=o(97159),b=o(26449),g=o(27845),v=o(18574),f=o(11506),w=o(87403),_=o(66525),A=o(20378),M=o(3904),S=o(10224),x=o(34723),Z=o(98751),j=o(57212);const L={icon:v.A,object:w.A,line:f.A,path:_.A,fill:g.A,extrude:b.A,text:S.A,water:x.A},O=s.A.ofType({base:M.A,key:"type",typeMap:L,errorContext:"symbol-layer"});let z=class extends A.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,m.f)(e.styleUrl,o);return new Z.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new Z.A({portal:o?.portal||d.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,m.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof M.A||e&&L[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r._)([(0,y.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r._)([(0,y.MZ)({type:O,nonNullable:!0,json:{write:!0}}),(0,p.w)(i.H)],z.prototype,"symbolLayers",null),(0,r._)([(0,y.MZ)({type:Z.A})],z.prototype,"styleOrigin",void 0),(0,r._)([(0,c.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r._)([(0,u.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r._)([(0,y.MZ)({type:j.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r._)([(0,y.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r._)([(0,h.$)("esri.symbols.Symbol3D")],z);const N=z},58592:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(90237),i=o(4718),l=o(90629),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(89420),h=o(77040);let u=r=class extends c.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}readHeight(e,t){return t.size||e}readWidth(e,t){return t.size||e}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s._)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s._)([(0,a.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,s._)([(0,n.MZ)(h.ku)],u.prototype,"url",void 0),(0,s._)([(0,n.MZ)(h.k7)],u.prototype,"source",void 0),(0,s._)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",void 0),(0,s._)([(0,y.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,s._)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",void 0),(0,s._)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",void 0),u=r=(0,s._)([(0,p.$)("esri.symbols.PictureMarkerSymbol")],u);const d=u},59483:(e,t,o)=>{o.d(t,{LH:()=>l,Yq:()=>i,oG:()=>n});var r=o(4595),s=o(8893);function i(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}}},62885:(e,t,o)=>{o.d(t,{H:()=>i,V:()=>s});var r=o(5503);function s(e,t,o=r.A){return t||(t=new o),t===e||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},65365:(e,t,o)=>{o.d(t,{A:()=>M});var r,s=o(90237),i=o(5503),l=o(51447),n=o(4718),a=o(53966),y=o(36708),p=o(10107),c=(o(44208),o(93223)),h=o(40608),u=o(26449),d=o(27845),m=o(18574),b=o(11506),g=o(87403),v=o(58185),f=o(10224),w=o(34723);const _=i.A.ofType({base:null,key:"type",typeMap:{extrude:u.A,fill:d.A,icon:m.A,line:b.A,object:g.A,text:f.A,water:w.A}});let A=r=class extends v.A{constructor(e){super(e),this.symbolLayers=new _,this.type="polygon-3d"}initialize(){const e=e=>{"line"===e.type&&(0,l.io)(a.A.getLogger(this),"LineSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use FillSymbol3DLayer.outline instead.",version:"4.28"}),"text"===e.type&&(0,l.io)(a.A.getLogger(this),"TextSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use Labels instead.",version:"4.28"})};for(const t of this.symbolLayers)e(t);this.addHandles((0,y.on)((()=>this.symbolLayers),"after-add",(({item:t})=>e(t)),y.OH))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;if(t.read(e),2===t.symbolLayers.length&&"fill"===t.symbolLayers.at(0).type&&"line"===t.symbolLayers.at(1).type){const o=t.symbolLayers.at(0),r=t.symbolLayers.at(1);!r.enabled||e.symbolLayers?.[1]&&!1===e.symbolLayers[1].enable||(o.outline={size:r.size,color:null!=r.material?r.material.color:null}),t.symbolLayers.removeAt(1)}return t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([d.A.fromSimpleFillSymbol(e)])})}};(0,s._)([(0,p.MZ)({type:_,json:{write:!0}})],A.prototype,"symbolLayers",void 0),(0,s._)([(0,c.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],A.prototype,"type",void 0),A=r=(0,s._)([(0,h.$)("esri.symbols.PolygonSymbol3D")],A);const M=A},66525:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(36005),a=o(40608),y=o(3904),p=o(28975),c=o(8887);let h=class extends y.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s._)([(0,i.MZ)({type:p.N,json:{write:!0}})],h.prototype,"material",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,s._)([(0,l.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:["circle","quad"],json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,s._)([(0,i.MZ)({type:c.e,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,s._)([(0,i.MZ)({type:c.Nv,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,s._)([(0,n.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,s._)([(0,n.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,s._)([(0,i.MZ)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,s._)([(0,i.MZ)({type:["heading","all"],json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,s._)([(0,a.$)("esri.symbols.PathSymbol3DLayer")],h);const u=h},67222:(e,t,o)=>{o.d(t,{EW:()=>y,YJ:()=>c,pI:()=>p});var r=o(68197),s=o(90629),i=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function y(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[i.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[i.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:i.jz}},writer:a}}}}const p={type:Number,cast:s.cr,json:{write:!0}};var c,h;(h=c||(c={}))[h.Emissive=0]="Emissive",h[h.Color=1]="Color"},68548:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(90237),i=o(5503),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(27845),c=o(58185);const h=i.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let u=r=class extends c.A{constructor(e){super(e),this.symbolLayers=new h,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s._)([(0,n.MZ)({type:h})],u.prototype,"symbolLayers",void 0),(0,s._)([(0,a.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s._)([(0,y.$)("esri.symbols.MeshSymbol3D")],u);const d=u},75981:(e,t,o)=>{o.d(t,{A:()=>w});var r,s=o(90237),i=o(68197),l=o(5503),n=o(4718),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(18574),h=o(87403),u=o(58185),d=o(10224),m=o(59483),b=o(8893),g=o(4900);const v=l.A.ofType({base:null,key:"type",typeMap:{icon:c.A,object:h.A,text:d.A}});let f=r=class extends u.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new v,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,m.LH)(this)}hasVisibleVerticalOffset(){return(0,m.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([c.A.fromCIMSymbol(e)]),callout:new b.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new g.A({screenLength:40})}:{symbolLayers:new l.A([c.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([d.A.fromTextSymbol(e)])})}};(0,s._)([(0,a.MZ)({type:g.A,json:{write:!0}})],f.prototype,"verticalOffset",void 0),(0,s._)([(0,a.MZ)(m.oG)],f.prototype,"callout",void 0),(0,s._)([(0,a.MZ)({type:v,json:{origins:{"web-scene":{write:!0}}}})],f.prototype,"symbolLayers",void 0),(0,s._)([(0,y.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=r=(0,s._)([(0,p.$)("esri.symbols.PointSymbol3D")],f);const w=f},77040:(e,t,o)=>{o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}}},87403:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(90237),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(30809),p=o(69622);let c=r=class extends p.A{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new r({x:this.x,y:this.y,z:this.z})}};(0,s._)([(0,i.MZ)({type:Number})],c.prototype,"x",void 0),(0,s._)([(0,i.MZ)({type:Number})],c.prototype,"y",void 0),(0,s._)([(0,i.MZ)({type:Number})],c.prototype,"z",void 0),c=r=(0,s._)([(0,n.$)("esri.symbols.support.Symbol3DAnchorPosition3D")],c);var h,u=o(28975);let d=class extends a.A{static{h=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new h({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s._)([(0,i.MZ)({type:u.N,json:{write:!0}})],d.prototype,"material",void 0),(0,s._)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,s._)([(0,i.MZ)({type:y.E,json:{write:!0}})],d.prototype,"resource",void 0),(0,s._)([(0,l.e)({Object:"object"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"depth",void 0),(0,s._)([(0,l.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],d.prototype,"anchor",void 0),(0,s._)([(0,i.MZ)({type:c,json:{type:[Number],read:{reader:e=>new c({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],d.prototype,"anchorPosition",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"heading",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"tilt",void 0),(0,s._)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"roll",void 0),(0,s._)([(0,i.MZ)({readOnly:!0})],d.prototype,"isPrimitive",null),d=h=(0,s._)([(0,n.$)("esri.symbols.ObjectSymbol3DLayer")],d);const m=d},97887:(e,t,o)=>{o.d(t,{A:()=>b});var r,s=o(90237),i=o(5503),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(11506),c=o(66525),h=o(58185);const u=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}}),d=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}});let m=r=class extends h.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleLineSymbol(e)])})}};(0,s._)([(0,n.MZ)({type:u,json:{type:d}})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s._)([(0,y.$)("esri.symbols.LineSymbol3D")],m);const b=m},98751:(e,t,o)=>{o.d(t,{A:()=>p});var r,s=o(90237),i=o(69622),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(20655);let y=r=class extends i.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s._)([(0,l.MZ)({type:String})],y.prototype,"name",void 0),(0,s._)([(0,l.MZ)({type:String})],y.prototype,"styleUrl",void 0),(0,s._)([(0,l.MZ)({type:String})],y.prototype,"styleName",void 0),(0,s._)([(0,l.MZ)({type:a.A})],y.prototype,"portal",void 0),y=r=(0,s._)([(0,n.$)("esri.symbols.support.StyleOrigin")],y);const p=y}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7445],{1873:(e,t,r)=>{r.d(t,{$y:()=>B,Ak:()=>G,FM:()=>v,G_:()=>y,Rw:()=>z,Vb:()=>p,b3:()=>O,gJ:()=>m,jM:()=>U,lv:()=>C,oZ:()=>D,qg:()=>b,sU:()=>R,z9:()=>g,zS:()=>k});var i=r(9760),n=r(84892);const s="<Null>",a="equal-interval",l=1,o=5,c=10,u=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,d=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),h=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),f=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function m(e){return null==e||"string"==typeof e&&!e?s:e}function p(e){const t=null!=e.normalizationField||null!=e.normalizationType,r=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!r&&!i}function g(e){const{outStatisticTypes:t}=e,r=e.returnDistinct?[...new Set(e.values)]:e.values,i=r.filter((e=>null!=e)).sort(),n=i.length,s={count:n,min:i[0],max:i[n-1]};return e.supportsNullCount&&(s.nullcount=r.length-n),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(s.median=b(r,e.percentileParams)),s}function y(e){const{values:t,useSampleStdDev:r,supportsNullCount:i,outStatisticTypes:n}=e;let s=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,l=null,o=null,c=null,u=null,d=0;const h=null==e.minValue?-1/0:e.minValue,f=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=h&&e<=f&&(l=null===l?e:l+e,s=Math.min(s,e),a=Math.max(a,e),d++):"string"==typeof e&&d++;if(d&&null!=l){o=l/d;let e=0;for(const r of t)Number.isFinite(r)&&r>=h&&r<=f&&(e+=(r-o)**2);u=r?d>1?e/(d-1):0:d>0?e/d:0,c=Math.sqrt(u)}else s=null,a=null;const m={avg:o,count:d,max:a,min:s,stddev:c,sum:l,variance:u};return i&&(m.nullcount=t.length-d),!e.percentileParams||n?.include?.length&&!n.include.includes("median")||n?.exclude?.length&&n.exclude.includes("median")||(m.median=b(t,e.percentileParams)),m}function b(e,t){const{fieldType:r,value:i,orderBy:n,isDiscrete:s}=t,a=v(r,"desc"===n);if(0===(e=[...e].filter((e=>null!=e)).sort(((e,t)=>a(e,t)))).length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];const l=(e.length-1)*i,o=Math.floor(l),c=o+1,u=l%1,d=e[o],h=e[c];return c>=e.length||s||"string"==typeof d||"string"==typeof h?d:d*(1-u)+h*u}function v(e,t){if(e){if(d.has(e))return F(t);if(h.has(e))return x(t,!1);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?w:T}(t);const r=x(t,!0);if("esriFieldTypeString"===e)return r;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>r(E(e),E(t))}const r=t?1:-1,i=F(t),n=x(t,!0),s=S(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?i(e,t):"string"==typeof e&&"string"==typeof t?n(e,t):s(e,t)??r}const _=(e,t)=>null==e?null==t?0:1:null==t?-1:null,M=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function S(e){return e?_:M}const T=(e,t)=>M(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),w=(e,t)=>_(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),I=(e,t)=>M(e,t)??(e===t?0:e<t?-1:1),L=(e,t)=>_(e,t)??(e===t?0:e<t?1:-1);function x(e,t){if(!t)return e?L:I;const r=S(e);return e?(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0}:(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}}const A=(e,t)=>_(e,t)??t-e,V=(e,t)=>M(e,t)??e-t;function F(e){return e?A:V}function E(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function D(e,t,r){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:f.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return r?(["avg","stddev","variance"].forEach((t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))})),e):e}function O(e){const t={};for(let r of e)(null==r||"string"==typeof r&&""===r.trim())&&(r=null),null==t[r]?t[r]={count:1,data:r}:t[r].count++;return{count:t}}function N(e){return"coded-value"!==e?.type?[]:e.codedValues.map((e=>e.code))}function C(e,t,r,i){const n=e.count,s=[];if(r&&t){const e=[],r=N(t[0]);for(const n of r)if(t[1]){const r=N(t[1]);for(const s of r)if(t[2]){const r=N(t[2]);for(const t of r)e.push(`${m(n)}${i}${m(s)}${i}${m(t)}`)}else e.push(`${m(n)}${i}${m(s)}`)}else e.push(n);for(const t of e)n.hasOwnProperty(t)||(n[t]={data:t,count:0})}for(const e in n){const t=n[e];s.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:s}}function k(e,t,r,i){let n=null;switch(t){case"log":0!==e&&(n=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(n=e/i*100);break;case"field":Number.isFinite(r)&&0!==r&&(n=e/r);break;case"natural-log":e>0&&(n=Math.log(e));break;case"square-root":e>0&&(n=e**.5)}return n}function z(e,t,r){const i=$({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||o});return e=function(e,t,r){const i=t??-1/0,n=r??1/0;return e.filter((e=>Number.isFinite(e)&&e>=i&&e<=n))}(e,t.minValue,t.maxValue),(0,n.t)({definition:i,values:e,normalizationTotal:t.normalizationTotal},r)}function $(e){const{breakCount:t,field:r,normalizationField:n,normalizationType:s}=e,o=e.classificationMethod||a,c="standard-deviation"===o?e.standardDeviationInterval||l:void 0,u="defined-interval"===o?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:r,classificationMethod:o,normalizationField:"field"===s?n:void 0,normalizationType:s,standardDeviationInterval:c,definedInterval:u})}function U(e,t){let r=e.classBreaks;const i=r.length,n=r[0]?.minValue,s=r[i-1]?.maxValue,a="standard-deviation"===t,l=u;return r=r.map((e=>{const t=e.label,r={minValue:e.minValue,maxValue:e.maxValue,label:t};if(a&&t){const e=t.match(l),i=e?.map((e=>+e.trim()))??[];2===i.length?(r.minStdDev=i[0],r.maxStdDev=i[1],i[0]<0&&i[1]>0&&(r.hasAvg=!0)):1===i.length&&(t.includes("<")?(r.minStdDev=null,r.maxStdDev=i[0]):t.includes(">")&&(r.minStdDev=i[0],r.maxStdDev=null))}return r})),{minValue:n,maxValue:s,classBreakInfos:r,normalizationTotal:e.normalizationTotal}}function B(e,t){const r=R(e,t);if(null==r.min&&null==r.max)return{bins:[],minValue:r.min,maxValue:r.max,normalizationTotal:t.normalizationTotal};const i=r.intervals,n=r.min??0,s=r.max??0,a=i.map(((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0})));for(const t of e)if(null!=t&&t>=n&&t<=s){const e=G(i,t);e>-1&&a[e].count++}return{bins:a,minValue:n,maxValue:s,normalizationTotal:t.normalizationTotal}}function R(e,t,r=!1){const{field:i,classificationMethod:n,standardDeviationInterval:s,definedInterval:a,normalizationType:l,normalizationField:o,normalizationTotal:u,minValue:d,maxValue:h}=t,f=t.numBins||c;let m=null,g=null,b=null;if(n&&"equal-interval"!==n||l){const{classBreaks:t}=z(e,{field:i,normalizationType:l,normalizationField:o,normalizationTotal:u,classificationMethod:n,standardDeviationInterval:s,definedInterval:a,minValue:d,maxValue:h,numClasses:f},null!=d&&null!=h?[d,h]:void 0);m=t[0]?.minValue,g=t[t.length-1]?.maxValue,b=t.map((e=>[e.minValue,e.maxValue]))}else{if(null!=d&&null!=h)m=d,g=h;else{const t=y({values:e,minValue:d,maxValue:h,useSampleStdDev:!l,supportsNullCount:p({normalizationType:l,normalizationField:o,minValue:d,maxValue:h})});m=t.min??null,g=t.max??null}b=function(e,t,r){const i=(t-e)/r,n=[];let s,a=e;for(let e=1;e<=r;e++)s=a+i,s=Number(s.toFixed(16)),n.push([a,e===r?t:s]),a=s;return n}(m??0,g??0,f)}if(r){const e=b.at(-1)[1];b.push([e,e])}return{min:m,max:g,intervals:b}}function G(e,t){let r=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){r=i;break}return r}},3483:(e,t,r)=>{function i(e,t){for(const r of e.values())if(t(r))return!0;return!1}function n(e,t){if(!t)return e;for(const r of t)null!=r&&e.add(r);return e}function s(e,t){return null!=t&&e.add(t),e}function a(e,t){const r=new Set;return n(r,e),n(r,t),r}function l(e,t){const r=new Set;for(const i of t)e.has(i)&&r.add(i);return r}function o(e,t){if(!e||!t)return!1;if(e===t)return!0;for(const r of e)if(!t.has(r))return!1;return!0}function c(e,t){if(null==e&&null==t)return!0;if(null==e||null==t||e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}function u(e,t){const r=new Set(e);for(const e of t)r.delete(e);return r}r.d(t,{E$:()=>l,FB:()=>n,KC:()=>a,Yy:()=>o,aI:()=>c,bw:()=>i,iv:()=>u,kb:()=>s})},4560:(e,t,r)=>{r.d(t,{i0:()=>o,fs:()=>l});var i=r(97770),n=r(30524);r(5503),r(84952),r(27865),r(43281);var s=r(98623),a=r(56400);function l(e){return(0,n.vE)(e)||(0,n.zD)(e)||(0,n.Ah)(e)}function o(e,t){const{format:r,timeZoneOptions:n,fieldType:l}=t??{};let o,c;if(n&&({timeZone:o,timeZoneName:c}=(0,a.hv)(n.layerTimeZone,n.datesInUnknownTimezone,n.viewTimeZone,(0,i.J2)(r||"short-date-short-time"),l)),"string"==typeof e&&isNaN(Date.parse("time-only"===l?`1970-01-01T${e}Z`:e)))return e;switch(l){case"date-only":{const t=(0,i.J2)(r||"short-date");return"string"==typeof e?(0,i.iS)(e,{...t}):(0,i.Yq)(e,{...t,timeZone:s.n$})}case"time-only":{const t=(0,i.J2)(r||"short-time");return"string"==typeof e?(0,i.F8)(e,t):(0,i.Yq)(e,{...t,timeZone:s.n$})}case"timestamp-offset":{if(!o&&"string"==typeof e&&new Date(e).toISOString()!==e)return e;const t=r||n?(0,i.J2)(r||"short-date-short-time"):void 0,s=t?{...t,timeZone:o,timeZoneName:c}:void 0;return"string"==typeof e?(0,i.Ey)(e,s):(0,i.Yq)(e,s)}default:{const t=r||n?(0,i.J2)(r||"short-date-short-time"):void 0;return(0,i.Yq)("string"==typeof e?new Date(e):e,t?{...t,timeZone:o,timeZoneName:c}:void 0)}}}new Set(["integer","small-integer"])},5503:(e,t,r)=>{r.d(t,{A:()=>D});var i,n=r(90237),s=r(98291),a=r(65529),l=r(36563),o=r(4718),c=r(93687);!function(e){e[e.ADD=1]="ADD",e[e.REMOVE=2]="REMOVE",e[e.MOVE=4]="MOVE"}(i||(i={}));var u,d=r(11932),h=r(56507),f=r(62788),m=r(10107),p=r(7695),g=r(40608),y=r(95488),b=r(12195);class v{constructor(e,t,r,i,n){this.target=e,this.added=t,this.removed=r,this.start=i,this.deleteCount=n}}const _=new c.A(class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}},void 0,(e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1}));function M(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function S(e){return e?e instanceof E?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function T(e){if(e?.length)return e[0]}function w(e,t,r,i){const n=Math.min(e.length-r,t.length-i);let s=0;for(;s<n&&e[r+s]===t[i+s];)s++;return s}function I(e,t,r,i){t&&t.forEach(((t,n,s)=>{e.push(t),I(e,r.call(i,t,n,s),r,i)}))}const L=new Set,x=new Set,A=new Set,V=new Map;let F=0,E=class extends a.A.EventedAccessor{static{u=this}static{this.ofType=e=>{if(!e)return u;if(V.has(e))return V.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const r in e.typeMap){const i=e.typeMap[r].prototype.declaredClass;t?t+=` | ${i}`:t=i}let r=class extends u{};return(0,n._)([(0,p.u)({Type:e,ensureType:"function"==typeof e?(0,h.dp)(e):(0,h.aq)(e)})],r.prototype,"itemType",void 0),r=(0,n._)([(0,g.$)(`esri.core.Collection<${t}>`)],r),V.set(e,r),r}}static isCollection(e){return null!=e&&e instanceof u}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new y.I,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:F++})}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof u?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),this._emitter.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get items(){return(0,f.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(i.ADD)||(this._splice(0,this.length,S(e)),this._emitAfterChanges(i.ADD))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:this._emitter.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,l.hA)();if("change"===e){const e=this._chgListeners,r={removed:!1,callback:t};return e.push(r),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,l.hA)((()=>{r.removed=!0,e.splice(e.indexOf(r),1)}))}return this._emitter.on(e,t)}once(e,t){const r="deref"in t?()=>t.deref():()=>t,i=this.on(e,(e=>{r()?.call(null,e),i.remove()}));return i}add(e,t){if((0,f.gc)(this._observable),this._emitBeforeChanges(i.ADD))return this;const r=this.getNextIndex(t??null);return this._splice(r,0,[e]),this._emitAfterChanges(i.ADD),this}addMany(e,t=this._items.length){if((0,f.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(i.ADD))return this;const r=this.getNextIndex(t);return this._splice(r,0,S(e)),this._emitAfterChanges(i.ADD),this}at(e){if((0,f.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return[];const e=this._removeAllRaw();return this._emitAfterChanges(i.REMOVE),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.map(o.o8)})}concat(...e){(0,f.gc)(this._observable);const t=e.map(S);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return;const r=this._splice(0,this.length),n=r.length;for(let i=0;i<n;i++)e.call(t,r[i],i,r);this._emitAfterChanges(i.REMOVE)}destroyAll(){this.drain(M)}destroyMany(e){const t=this.removeMany(e);return t.forEach(M),t}every(e,t){return(0,f.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,f.gc)(this._observable);const r=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:r})}find(e,t){return(0,f.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,f.gc)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,f.gc)(this._observable);const r=[];return I(r,this,e,t),new u(r)}forEach(e,t){return(0,f.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,f.gc)(this._observable),this._items[e]}getNextIndex(e){(0,f.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,f.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,f.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,f.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,f.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,f.gc)(this._observable);const r=this._items.map(e,t);return new u({items:r})}reorder(e,t=this.length-1){(0,f.gc)(this._observable);const r=this.indexOf(e);if(-1!==r){if(t<0?t=0:t>=this.length&&(t=this.length-1),r!==t){if(this._emitBeforeChanges(i.MOVE))return e;this._splice(r,1),this._splice(t,0,[e]),this._emitAfterChanges(i.MOVE)}return e}}pop(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return;const e=T(this._splice(this.length-1,1));return this._emitAfterChanges(i.REMOVE),e}push(...e){return(0,f.gc)(this._observable),this._emitBeforeChanges(i.ADD)||(this._splice(this.length,0,e),this._emitAfterChanges(i.ADD)),this.length}reduce(e,t){(0,f.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduce(e,t):r.reduce(e)}reduceRight(e,t){(0,f.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduceRight(e,t):r.reduceRight(e)}remove(e){return(0,f.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,f.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(i.REMOVE))return;const t=T(this._splice(e,1));return this._emitAfterChanges(i.REMOVE),t}removeMany(e){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(i.REMOVE))return[];const t=e instanceof u?e.toArray():e,r=this._items,n=[],s=t.length;for(let e=0;e<s;e++){const i=t[e],s=r.indexOf(i);if(s>-1){const i=1+w(t,r,e+1,s+1),a=this._splice(s,i);a&&a.length>0&&n.push.apply(n,a),e+=i-1}}return this._emitAfterChanges(i.REMOVE),n}reverse(){if((0,f.gc)(this._observable),this._emitBeforeChanges(i.MOVE))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(i.MOVE),this}shift(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return;const e=T(this._splice(0,1));return this._emitAfterChanges(i.REMOVE),e}slice(e=0,t=this.length){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,f.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.MOVE)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(i.MOVE),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let r=0;r<t;r++)if(e(this.items[r],this.items[r+1])>0)return!0;return!1}splice(e,t,...r){(0,f.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const n=(t?i.REMOVE:0)|(r.length?i.ADD:0);if(this._emitBeforeChanges(n))return[];const s=this._splice(e,t,r)||[];return this._emitAfterChanges(n),s}toArray(){return(0,f.gc)(this._observable),this._items.slice()}toJSON(e){return(0,f.gc)(this._observable),this.toArray().map((t=>(0,b.W)(t)?t.toJSON(e):t))}toLocaleString(){return(0,f.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,f.gc)(this._observable),this._items.toString()}unshift(...e){return(0,f.gc)(this._observable),!e.length||this._emitBeforeChanges(i.ADD)||(this._splice(0,0,e),this._emitAfterChanges(i.ADD)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,r){const i=this._items,n=this.itemType;let s,a;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,d._)((()=>this._dispatchChange()))),e<0&&(e+=this.length),t){if(a=i.splice(e,t),this.hasEventListener("before-remove")){const t=_.acquire();t.target=this,t.cancellable=!0;for(let r=0,n=a.length;r<n;r++)s=a[r],t.reset(s),this.emit("before-remove",t),t.defaultPrevented&&(a.splice(r,1),i.splice(e,0,s),e+=1,r-=1,n-=1);_.release(t)}if(this.length=this._items.length,this.hasEventListener("after-remove")){const e=_.acquire();e.target=this,e.cancellable=!1;const t=a.length;for(let r=0;r<t;r++)e.reset(a[r]),this.emit("after-remove",e);_.release(e)}}if(r?.length){if(n){const e=[];for(const t of r){const r=n.ensureType(t);null==r&&null!=t||e.push(r)}r=e}const t=this.hasEventListener("before-add"),s=this.hasEventListener("after-add"),a=e===this.length;if(t||s){const n=_.acquire();n.target=this,n.cancellable=!0;const l=_.acquire();l.target=this,l.cancellable=!1;for(const o of r)t?(n.reset(o),this.emit("before-add",n),n.defaultPrevented||(a?i.push(o):i.splice(e++,0,o),this._set("length",i.length),s&&(l.reset(o),this.emit("after-add",l)))):(a?i.push(o):i.splice(e++,0,o),this._set("length",i.length),l.reset(o),this.emit("after-add",l));_.release(l),_.release(n)}else{if(a)for(const e of r)i.push(e);else i.splice(e,0,...r);this._set("length",i.length)}}if((r?.length||a?.length)&&this._notifyChangeEvent(r,a),this.hasEventListener("after-splice")){const i=new v(this,r,a,e,t);this.emit("after-splice",i)}return a}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const r=_.acquire();r.target=this,r.cancellable=!0,r.type=e,this.emit("before-changes",r),t=r.defaultPrevented,_.release(r)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=_.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),_.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;L.clear(),x.clear(),A.clear();for(const{added:t,removed:r}of e){if(t)if(0===A.size&&0===x.size)for(const e of t)L.add(e);else for(const e of t)x.has(e)?(A.add(e),x.delete(e)):A.has(e)||L.add(e);if(r)if(0===A.size&&0===L.size)for(const e of r)x.add(e);else for(const e of r)L.has(e)?L.delete(e):(A.delete(e),x.add(e))}const r=s.A.acquire();L.forEach((e=>{r.push(e)}));const i=s.A.acquire();x.forEach((e=>{i.push(e)}));const n=this._items,a=t.items,l=s.A.acquire();if(A.forEach((e=>{a.indexOf(e)!==n.indexOf(e)&&l.push(e)})),t.listeners&&(r.length||i.length||l.length)){const e={target:this,added:r,removed:i,moved:l},n=t.listeners.length;for(let r=0;r<n;r++){const i=t.listeners[r];i.removed||i.callback.call(this,e)}}s.A.release(r),s.A.release(i),s.A.release(l)}L.clear(),x.clear(),A.clear()}};(0,n._)([(0,m.MZ)()],E.prototype,"_updating",void 0),(0,n._)([(0,m.MZ)()],E.prototype,"length",void 0),(0,n._)([(0,m.MZ)()],E.prototype,"items",null),(0,n._)([(0,m.MZ)({readOnly:!0})],E.prototype,"updating",null),E=u=(0,n._)([(0,g.$)("esri.core.Collection")],E);const D=E},7695:(e,t,r)=>{function i(e){return(t,r)=>{t[r]=e}}r.d(t,{u:()=>i})},9760:(e,t,r)=>{r.d(t,{A:()=>h});var i=r(90237),n=r(66552),s=r(25482),a=r(10107),l=(r(44208),r(53966),r(87811),r(93223)),o=r(40608);const c=new n.J({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),u=new n.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let d=class extends s.A{constructor(e){super(e),this.type="class-breaks-definition",this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,i._)([(0,l.e)({classBreaksDef:"class-breaks-definition"})],d.prototype,"type",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"breakCount",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"classificationField",void 0),(0,i._)([(0,a.MZ)({type:String,json:{read:c.read,write:c.write}})],d.prototype,"classificationMethod",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"normalizationField",void 0),(0,i._)([(0,a.MZ)({json:{read:u.read,write:u.write}})],d.prototype,"normalizationType",void 0),(0,i._)([(0,a.MZ)({value:null,json:{write:!0}})],d.prototype,"standardDeviationInterval",null),(0,i._)([(0,a.MZ)({value:null,json:{write:!0}})],d.prototype,"definedInterval",null),d=(0,i._)([(0,o.$)("esri.rest.support.ClassBreaksDefinition")],d);const h=d},27865:(e,t,r)=>{r.d(t,{O9:()=>s,dw:()=>a,mj:()=>n});var i=r(59247);function n(e,t){const r=e.length>t.length?e:t;return(e.length>t.length?t:e).every(((e,t)=>e.type===r[t].type))}function s(e,t){const r=e.length>t.length?e:t,n=e.length>t.length?t:e;for(let e=n.length;e<r.length;e++)n.push((0,i.sK)(r[e]))}function a(e){const t=e[0];return!!t&&"type"in t}},30524:(e,t,r)=>{r.d(t,{Ah:()=>J,Bz:()=>D,CJ:()=>re,DB:()=>b,Dx:()=>S,JL:()=>de,Kl:()=>ue,OG:()=>K,OH:()=>Y,R$:()=>E,R3:()=>j,WA:()=>P,WX:()=>te,Xz:()=>H,_b:()=>N,_w:()=>v,eX:()=>I,hL:()=>M,lD:()=>O,mB:()=>T,nw:()=>he,rS:()=>d,rq:()=>_,sv:()=>g,te:()=>X,uo:()=>ce,vE:()=>Z,yM:()=>q,yp:()=>m,zD:()=>W}),r(49186);var i=r(93637),n=r(3483),s=r(68463),a=r(69309),l=r(54218),o=r(43668);const c=/^([0-9_])/,u=/[^a-z0-9_\u0080-\uffff]+/gi;function d(e){return null==e?null:e.trim().replaceAll(u,"_").replace(c,"F$1")||null}const h=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],f=["field","normalizationField"];function m(e,t){if(null!=e&&null!=t)for(const r of Array.isArray(e)?e:[e])if(p(h,r,t),"visualVariables"in r&&r.visualVariables)for(const e of r.visualVariables)p(f,e,t)}function p(e,t,r){if(e)for(const n of e){const e=(0,i.wc)(n,t),s=e&&"function"!=typeof e&&r.get(e);s&&(0,i.sM)(n,s.name,t)}}function g(e,t){if(null!=e&&t?.fields?.length)if("startField"in e){const r=t.get(e.startField),i=t.get(e.endField);e.startField=r?.name??null,e.endField=i?.name??null}else{const r=t.get(e.startTimeField),i=t.get(e.endTimeField);e.startTimeField=r?.name??null,e.endTimeField=i?.name??null}}const y=new Set;function b(e,t){return e&&t?(y.clear(),v(y,e,t),Array.from(y).sort()):[]}function v(e,t,r){if(r)if(t?.fields?.length)if(r.includes("*"))for(const{name:r}of t.fields)e.add(r);else for(const i of r)_(e,t,i);else{if(r.includes("*"))return e.clear(),void e.add("*");for(const t of r)null!=t&&e.add(t)}}function _(e,t,r){if("string"==typeof r)if(t){const i=t.get(r);i&&e.add(i.name)}else e.add(r)}function M(e,t){return null==t||null==e?[]:t.includes("*")?(e.fields??[]).map((e=>e.name)):t}async function S(e,t,r){if(!r)return;let i;const n=(0,a.o)(r);if(n)i=[n];else{const{arcadeUtils:e}=await(0,o.l)();i=e.extractFieldNames(r,t?.fields?.map((e=>e.name)))}for(const r of i)_(e,t,r)}function T({displayField:e,fields:t}){return e||(t?.length?w(t,"name-or-title")||w(t,"unique-identifier")||w(t,"type-or-category")||function(e){for(const t of e){if(!t?.name)continue;const e=t.name.toLowerCase();if(e.includes("name")||e.includes("title"))return t.name}return null}(t):null)}function w(e,t){for(const r of e)if(r?.valueType&&r.valueType===t)return r.name;return null}function I(e){return e?b(e.fieldsIndex,V(e)):[]}const L=new Set(["oid","global-id","guid"]),x=new Set(["oid","global-id"]),A=[/^fnode_$/i,/^tnode_$/i,/^lpoly_$/i,/^rpoly_$/i,/^poly_$/i,/^shape$/i,/^shape_$/i,/^subclass$/i,/^subclass_$/i,/^rings_ok$/i,/^rings_nok$/i,/perimeter/i,/objectid/i,/_i$/i];function V(e){if(!e)return[];const t="editFieldsInfo"in e&&e.editFieldsInfo;if(!t)return[];const{creationDateField:r,creatorField:i,editDateField:n,editorField:s}=t;return[r,i,n,s].filter(Boolean)}function F(e){return V(e).map((e=>e.toLowerCase()))}function E(e,t){return e.editable&&!L.has(e.type)&&!F(t).includes(e.name?.toLowerCase()??"")}function D(e,t){const r=e.name?.toLowerCase()??"";return!(null!=t?.objectIdField&&r===t.objectIdField.toLowerCase()||null!=t?.globalIdField&&r===t.globalIdField.toLowerCase()||function(e){const t=new Set;F(e).forEach((e=>t.add(e))),function(e){if(!e)return[];const t=e.geometryFieldsInfo;return t?b(e.fieldsIndex,[t.shapeAreaField,t.shapeLengthField]):[]}(e).forEach((e=>t.add(e.toLowerCase())));const r=e&&"infoFor3D"in e?e.infoFor3D:void 0;return r&&(Object.values(r.assetMapFieldRoles).forEach((e=>t.add(e.toLowerCase()))),Object.values(r.transformFieldRoles).forEach((e=>t.add(e.toLowerCase())))),Array.from(t)}(t).includes(r)||x.has(e.type)||A.some((e=>e.test(r))))}function O(e){const t=e.defaultValue;return void 0!==t&&U(e,t)?t:e.nullable?null:void 0}function N(e){const t="string"==typeof e?{type:e}:e;return q(t)?255:"esriFieldTypeDate"===t.type||"date"===t.type?8:void 0}function C(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function k(e){return null===e||C(e)}function z(e){return null===e||Number.isInteger(e)}function $(){return!0}function U(e,t){let r;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"big-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":case"esriFieldTypeBigInteger":r=e.nullable?z:Number.isInteger;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":r=e.nullable?k:C;break;case"string":case"esriFieldTypeString":r=e.nullable?l.CO:l.Kg;break;default:r=$}return 1===arguments.length?r:r(t)}const B=new Set(["integer","small-integer","big-integer","long","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]),R=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]),G=(0,n.KC)(B,R);function j(e){return null!=e&&B.has(e.type)}function P(e){return null!=e&&G.has(e.type)}function q(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}function Z(e){return null!=e&&("date"===e.type||"esriFieldTypeDate"===e.type)}function W(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function J(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function Y(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}function X(e){return null!=e&&("oid"===e.type||"esriFieldTypeOID"===e.type)}function H(e){return null!=e&&("global-id"===e.type||"esriFieldTypeGlobalID"===e.type)}function K(e,t){return null===re(e,t)}var Q,ee;function te(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function re(e,t){return null==e||e.nullable&&null===t?null:U(e,t)?P(e)&&!function(e,t){const r="string"==typeof e?ie(e):e;if(!r)return!1;const i=r.min,n=r.max;return r.isInteger?Number.isInteger(t)&&t>=i&&t<=n:t>=i&&t<=n}(e.type,Number(t))?Q.OUT_OF_RANGE:null:ee.INVALID_TYPE}function ie(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return ne;case"esriFieldTypeInteger":case"esriFieldTypeLong":case"integer":case"long":return se;case"esriFieldTypeBigInteger":case"big-integer":return ae;case"esriFieldTypeSingle":case"single":return le;case"esriFieldTypeDouble":case"double":return oe}}(Q||(Q={})).OUT_OF_RANGE="numeric-range-validation-error::out-of-range",function(e){e.INVALID_TYPE="type-validation-error::invalid-type"}(ee||(ee={}));const ne={min:-32768,max:32767,isInteger:!0,rawMin:-32768,rawMax:32767},se={min:-2147483648,max:2147483647,isInteger:!0,rawMin:-2147483648,rawMax:2147483647},ae={min:-Number.MAX_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,isInteger:!0,rawMin:-Number.MAX_SAFE_INTEGER,rawMax:Number.MAX_SAFE_INTEGER},le={min:-34e37,max:12e37,isInteger:!1,rawMin:-34e37,rawMax:12e37},oe={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1,rawMin:-Number.MAX_VALUE,rawMax:Number.MAX_VALUE};function ce(e,t,r){switch(e){case s.Mh.INVALID_CODED_VALUE:return`Value ${r} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case s.Mh.VALUE_OUT_OF_RANGE:return`Value ${r} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case ee.INVALID_TYPE:return`Value ${r} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case Q.OUT_OF_RANGE:{const{min:e,max:i}=ie(t.type);return`Value ${r} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${i}`}}}function ue(e,t){return!function(e,t){if(!t?.attributes||!e)return!0;const r=new Set(Object.keys(t.attributes));let i=!1;for(const t of e)if(!r.has(t)){i=!0;break}return i}(e,t)}function de(e){return!!e&&["raster.itempixelvalue","raster.servicepixelvalue"].some((t=>e.toLowerCase().startsWith(t)))}function he(e){const t=e?.match(/{[^}]+}/g);return t?t.map((e=>e.slice(1,-1).split(":")[0].trim())):[]}},43281:(e,t,r)=>{r.d(t,{H:()=>a,q:()=>s});var i=r(2741),n=r(10838);async function s(e){if(!e)return;const t=e.includes("-vector")?e.slice(0,e.indexOf("-vector")):e.includes("-3d")?e.slice(0,e.indexOf("-3d")):e,r=await(0,n.ud)("esri/t9n/basemaps");return r[e]||r[t]}const a={satellite:{id:"satellite",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/satellite.jpg")},baseMapLayers:[{id:"satellite-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Imagery",showLegend:!1,visibility:!0,opacity:1}]},hybrid:{id:"hybrid",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/hybrid.jpg")},baseMapLayers:[{id:"hybrid-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Imagery",showLegend:!1,visibility:!0,opacity:1},{id:"hybrid-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/30d6b8271e1849cd9c3042060001f425/resources/styles/root.json",layerType:"VectorTileLayer",title:"Hybrid Reference Layer",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},terrain:{id:"terrain",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/terrain.jpg")},baseMapLayers:[{id:"terrain-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Terrain Base",showLegend:!1,visibility:!0,opacity:1},{id:"terrain-reference-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Reference Overlay",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},oceans:{id:"oceans",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/oceans.jpg")},baseMapLayers:[{id:"oceans-base-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Ocean Base",showLegend:!1,visibility:!0,opacity:1},{id:"oceans-reference-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Ocean Reference",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},osm:{id:"osm",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/osm.jpg")},baseMapLayers:[{id:"osm-base-layer",layerType:"OpenStreetMap",title:"Open Street Map",showLegend:!1,visibility:!0,opacity:1}]},"dark-gray-vector":{id:"dark-gray-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/dark-gray-vector.jpg")},baseMapLayers:[{id:"dark-gray-base-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/5e9b3685f4c24d8781073dd928ebda50/resources/styles/root.json",layerType:"VectorTileLayer",title:"Dark Gray Base",visibility:!0,opacity:1},{id:"dark-gray-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/747cb7a5329c478cbe6981076cc879c5/resources/styles/root.json",layerType:"VectorTileLayer",title:"Dark Gray Reference",isReference:!0,visibility:!0,opacity:1}]},get"dark-gray"(){return{...this["dark-gray-vector"],id:"dark-gray"}},"gray-vector":{id:"gray-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/gray-vector.jpg")},baseMapLayers:[{id:"gray-base-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/291da5eab3a0412593b66d384379f89f/resources/styles/root.json",layerType:"VectorTileLayer",title:"Light Gray Base",visibility:!0,opacity:1},{id:"gray-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/1768e8369a214dfab4e2167d5c5f2454/resources/styles/root.json",layerType:"VectorTileLayer",title:"Light Gray Reference",isReference:!0,visibility:!0,opacity:1}]},get gray(){return{...this["gray-vector"],id:"gray"}},"streets-vector":{id:"streets-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-vector.jpg")},baseMapLayers:[{id:"streets-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/de26a3cf4cc9451298ea173c4b324736/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets",visibility:!0,opacity:1}]},get streets(){return{...this["streets-vector"],id:"streets"}},"topo-vector":{id:"topo-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/topo-vector.jpg")},baseMapLayers:[{id:"world-hillshade-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Hillshade",showLegend:!1,visibility:!0,opacity:1},{id:"topo-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Topo",visibility:!0,opacity:1}]},get topo(){return{...this["topo-vector"],id:"topo"}},"streets-night-vector":{id:"streets-night-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-night.jpg")},baseMapLayers:[{id:"streets-night-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/86f556a2d1fd468181855a35e344567f/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets Night",visibility:!0,opacity:1}]},"streets-relief-vector":{id:"streets-relief-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-relief.jpg")},baseMapLayers:[{id:"world-hillshade-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Hillshade",showLegend:!1,visibility:!0,opacity:1},{id:"streets-relief-vector-base-layer",styleUrl:"//www.arcgis.com/sharing/rest/content/items/b266e6d17fc345b498345613930fbd76/resources/styles/root.json",title:"World Streets Relief",layerType:"VectorTileLayer",visibility:!0,opacity:1}]},"streets-navigation-vector":{id:"streets-navigation-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-navigation.jpg")},baseMapLayers:[{id:"streets-navigation-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets Navigation",visibility:!0,opacity:1}]},"topo-3d":{id:"topo-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/topo-3d.png")},baseMapLayers:[{id:"topo-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/1e7d1784d1ef4b79ba6764d0bd6c3150/resources/styles/root.json",layerType:"VectorTileLayer",title:"Topographic",visibility:!0,opacity:1},{id:"topo-3d-trees",title:"Trees",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Trees_Thematic_v1/SceneServer",itemId:"f75fef56b2d944fe92ef9f7737b4f953",layerType:"ArcGISSceneServiceLayer"},{id:"topo-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"topo-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"navigation-3d":{id:"navigation-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/navigation-3d.jpg")},baseMapLayers:[{id:"navigation-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/ccc904ff872b4144b94934e55e32784b/resources/styles/root.json",layerType:"VectorTileLayer",title:"Navigation",visibility:!0,opacity:1},{id:"navigation-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"navigation-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"streets-3d":{id:"streets-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-3d.png")},baseMapLayers:[{id:"streets-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/198298c4c64c4cb19de5b46aa00c198d/resources/styles/root.json",layerType:"VectorTileLayer",title:"Streets",visibility:!0,opacity:1},{id:"streets-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"streets-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"osm-3d":{id:"osm-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/osm-3d.png")},baseMapLayers:[{id:"osm-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/8628d259c9d14bdc848771c23c513940/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap",visibility:!0,opacity:1},{id:"osm-3d-trees",title:"Trees",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Trees_Thematic_v1/SceneServer",itemId:"f75fef56b2d944fe92ef9f7737b4f953",layerType:"ArcGISSceneServiceLayer"},{id:"osm-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"osm-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"gray-3d":{id:"gray-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/gray-3d.png")},baseMapLayers:[{id:"gray-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/01a14b466345455ba4176d2e6390db92/resources/styles/root.json",layerType:"VectorTileLayer",title:"Streets",visibility:!0,opacity:1},{id:"gray-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"gray-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"navigation-dark-3d":{id:"navigation-dark-3d",itemId:"5a1365328b4943f09a54cf5fd1205707",is3d:!0,baseMapLayers:[{id:"navigation-dark-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/451a1777ab3f4bf095fae24a117439d9/resources/styles/root.json",layerType:"VectorTileLayer",title:"Navigation Dark"},{id:"navigation-dark-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer/layers/0",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"navigation-dark-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"streets-dark-3d":{id:"streets-dark-3d",itemId:"8a4efa2c20484ec9b4557895e65736ff",is3d:!0,baseMapLayers:[{id:"streets-dark-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/bc599b6d741a4ac084b7eea7bf8c5938/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap Streets Night (for 3D)"},{id:"streets-dark-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"streets-dark-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"dark-gray-3d":{id:"dark-gray-3d",itemId:"a8b7322a5fe94002bb0f5e0eeb0c5c18",is3d:!0,baseMapLayers:[{id:"dark-gray-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/4178f71acb934fb89f169e7d667c20c6/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap Dark Gray Canvas (for 3D)"},{id:"dark-gray-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer/layers/0",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"dark-gray-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]}}},43668:(e,t,r)=>{let i;function n(){return i||(i=(async()=>{const e=await Promise.all([r.e(3720),r.e(254),r.e(655),r.e(3766)]).then(r.bind(r,21385));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature,Voxel:e.Voxel}})()),i}r.d(t,{l:()=>n})},54218:(e,t,r)=>{function i(e){return"number"==typeof e}function n(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function s(e){return"boolean"==typeof e}function a(e){return"string"==typeof e||e instanceof String}function l(e){return null==e||a(e)}function o(e){return Array.isArray(e)}function c(e){return"esri.Graphic"===e?.declaredClass}function u(e){return e instanceof Date}r.d(t,{$P:()=>u,CO:()=>l,DU:()=>c,Et:()=>i,Fq:()=>n,Kg:()=>a,Lm:()=>s,cy:()=>o})},59247:(e,t,r)=>{r.d(t,{bv:()=>o,Fk:()=>c,yG:()=>u,$b:()=>d,Nd:()=>h,jm:()=>f,sK:()=>g});var i=r(40876),n=r(90629);function s(){const e=new Float32Array(16);return e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}const a=s();Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:function(e){const t=new Float32Array(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},create:s,fromValues:function(e,t,r,i,n,s,a,l,o,c,u,d,h,f,m,p){const g=new Float32Array(16);return g[0]=e,g[1]=t,g[2]=r,g[3]=i,g[4]=n,g[5]=s,g[6]=a,g[7]=l,g[8]=o,g[9]=c,g[10]=u,g[11]=d,g[12]=h,g[13]=f,g[14]=m,g[15]=p,g}},Symbol.toStringTag,{value:"Module"}));var l=r(58083);class o{constructor(e,t,r){this.strength=e,this.radius=t,this.threshold=r,this.type="bloom"}interpolate(e,t,r){this.strength=m(e.strength,t.strength,r),this.radius=m(e.radius,t.radius,r),this.threshold=m(e.threshold,t.threshold,r)}clone(){return new o(this.strength,this.radius,this.threshold)}toJSON(){return{type:"bloom",radius:p(this.radius),strength:this.strength,threshold:this.threshold}}}class c{constructor(e){this.radius=e,this.type="blur"}interpolate(e,t,r){this.radius=Math.round(m(e.radius,t.radius,r))}clone(){return new c(this.radius)}toJSON(){return{type:"blur",radius:p(this.radius)}}}class u{constructor(e,t){this.type=e,this.amount=t,"invert"!==this.type&&"grayscale"!==this.type&&"sepia"!==this.type||(this.amount=Math.min(this.amount,1))}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.amount=m(e.amount,t.amount,r),this._updateMatrix()}clone(){return new u(this.type,this.amount)}toJSON(){return{type:this.type,amount:this.amount}}_updateMatrix(){const e=this._colorMatrix||s();switch(this.type){case"brightness":this._colorMatrix=((e,t)=>{const r=(0,l.hZ)(e,t,0,0,0,0,t,0,0,0,0,t,0,0,0,0,1);return(0,l.mg)(r,r)})(e,this.amount);break;case"contrast":this._colorMatrix=((e,t)=>{const r=(0,l.hZ)(e,t,0,0,.5-.5*t,0,t,0,.5-.5*t,0,0,t,.5-.5*t,0,0,0,1);return(0,l.mg)(r,r)})(e,this.amount);break;case"grayscale":this._colorMatrix=(e=>{const t=1-this.amount,r=(0,l.hZ)(e,.2126+.7874*t,.7152-.7152*t,.0722-.0722*t,0,.2126-.2126*t,.7152+.2848*t,.0722-.0722*t,0,.2126-.2126*t,.7152-.7152*t,.0722+.9278*t,0,0,0,0,1);return(0,l.mg)(r,r)})(e);break;case"invert":this._colorMatrix=((e,t)=>{const r=1-2*t,i=(0,l.hZ)(e,r,0,0,t,0,r,0,t,0,0,r,t,0,0,0,1);return(0,l.mg)(i,i)})(e,this.amount);break;case"saturate":this._colorMatrix=((e,t)=>{const r=(0,l.hZ)(e,.213+.787*t,.715-.715*t,.072-.072*t,0,.213-.213*t,.715+.285*t,.072-.072*t,0,.213-.213*t,.715-.715*t,.072+.928*t,0,0,0,0,1);return(0,l.mg)(r,r)})(e,this.amount);break;case"sepia":this._colorMatrix=(e=>{const t=1-this.amount,r=(0,l.hZ)(e,.393+.607*t,.769-.769*t,.189-.189*t,0,.349-.349*t,.686+.314*t,.168-.168*t,0,.272-.272*t,.534-.534*t,.131+.869*t,0,0,0,0,1);return(0,l.mg)(r,r)})(e)}}}class d{constructor(e,t,r,i){this.offsetX=e,this.offsetY=t,this.blurRadius=r,this.color=i,this.type="drop-shadow"}interpolate(e,t,r){this.offsetX=m(e.offsetX,t.offsetX,r),this.offsetY=m(e.offsetY,t.offsetY,r),this.blurRadius=m(e.blurRadius,t.blurRadius,r),this.color[0]=Math.round(m(e.color[0],t.color[0],r)),this.color[1]=Math.round(m(e.color[1],t.color[1],r)),this.color[2]=Math.round(m(e.color[2],t.color[2],r)),this.color[3]=m(e.color[3],t.color[3],r)}clone(){return new d(this.offsetX,this.offsetY,this.blurRadius,[...this.color])}toJSON(){const e=[...this.color];return e[3]*=255,{type:"drop-shadow",xoffset:p(this.offsetX),yoffset:p(this.offsetY),blurRadius:p(this.blurRadius),color:e}}}class h{constructor(e){this.angle=e,this.type="hue-rotate"}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.angle=m(e.angle,t.angle,r),this._updateMatrix()}clone(){return new h(this.angle)}toJSON(){return{type:"hue-rotate",angle:this.angle}}_updateMatrix(){const e=this._colorMatrix||s();this._colorMatrix=((e,t)=>{const r=Math.sin(t*Math.PI/180),i=Math.cos(t*Math.PI/180),n=(0,l.hZ)(e,.213+.787*i-.213*r,.715-.715*i-.715*r,.072-.072*i+.928*r,0,.213-.213*i+.143*r,.715+.285*i+.14*r,.072-.072*i-.283*r,0,.213-.213*i-.787*r,.715-.715*i+.715*r,.072+.928*i+.072*r,0,0,0,0,1);return(0,l.mg)(n,n)})(e,this.angle)}}class f{constructor(e){this.amount=e,this.type="opacity",this.amount=Math.min(this.amount,1)}interpolate(e,t,r){this.amount=m(e.amount,t.amount,r)}clone(){return new f(this.amount)}toJSON(){return{type:"opacity",amount:this.amount}}}function m(e,t,r){return e+(t-e)*r}function p(e){return Math.round(1e3*(0,n.PN)(e))/1e3}function g(e){switch(e.type){case"grayscale":case"sepia":case"invert":return new u(e.type,0);case"saturate":case"brightness":case"contrast":return new u(e.type,1);case"opacity":return new f(1);case"hue-rotate":return new h(0);case"blur":return new c(0);case"drop-shadow":return new d(0,0,0,[...(0,i.TS)("transparent")]);case"bloom":return new o(0,0,1)}}},61760:(e,t,r)=>{r.d(t,{PU:()=>a,YW:()=>o,ex:()=>n,hv:()=>l,zp:()=>s}),r(34727);var i=r(90629);r(87317),r(91829);const n=2.4;function s(e){return(0,i.PN)(e*n)}function a(e){return(0,i.Lz)(e)/n}function l(e,t,r){const i=Math.sqrt(e**2+t**2)/r;return i>1?0:3/(Math.PI*r**2)*(1-i**2)**2}function o(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},62577:(e,t,r)=>{function i(e){return e?{originPosition:"upper-left"===e.originPosition?"upperLeft":"lower-left"===e.originPosition?"lowerLeft":e.originPosition,scale:e.tolerance?[e.tolerance,e.tolerance,1,1]:[1,1,1,1],translate:null!=e.extent?[e.extent.xmin,e.extent.ymax,e.extent.zmin??0,e.extent.mmin??0]:[0,0,0,0]}:null}function n(e){if(function(e){return"lowerLeft"===e.originPosition&&4===e.scale.length&&4===e.translate.length}(e))return e;const{originPosition:t,scale:r,translate:i}=e,n=r[0]??1,s=r[1]??1;return{originPosition:"lowerLeft",scale:[n,"lowerLeft"===t?s:-s,r[2]??1,r[3]??1],translate:[i[0]??0,i[1]??0,i[2]??0,i[3]??0]}}function s({scale:e,translate:t},r){return Math.round((r-t[0])/e[0])}function a({scale:e,translate:t},r){return Math.round((r-t[1])/e[1])}function l({scale:e,translate:t},r){return r*e[0]+t[0]}function o({scale:e,translate:t},r){return r*e[1]+t[1]}function c({scale:e,translate:t},r){return(r??0)*e[2]+t[2]}function u({scale:e,translate:t},r){return r?r*e[3]+t[3]:0}function d(e,t){return e&&t?p:e&&!t?f:!e&&t?m:h}r.d(t,{$X:()=>_,B2:()=>a,Gy:()=>y,IE:()=>s,P5:()=>M,Q1:()=>n,SW:()=>b,Tr:()=>v,VV:()=>i}),r(65864);const h=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const i=t[0];let n=l(e,i[0]),s=o(e,i[1]);r[0]=[n,s];const{scale:a,originPosition:c}=e,u=a[0],d="lowerLeft"===c?a[1]:-a[1];for(let e=1;e<t.length;e++){const[i,a]=t[e];n+=u*i,s+=d*a,r[e]=[n,s]}return r},f=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const i=t[0];let n=l(e,i[0]),s=o(e,i[1]);r[0]=[n,s,c(e,i[2])];const{scale:a,originPosition:u}=e,d=a[0],h="lowerLeft"===u?a[1]:-a[1];for(let i=1;i<t.length;i++){const[a,l,o]=t[i];n+=d*a,s+=h*l,r[i]=[n,s,c(e,o)]}return r},m=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const i=t[0];let n=l(e,i[0]),s=o(e,i[1]);r[0]=[n,s,u(e,i[2])];const{scale:a,originPosition:c}=e,d=a[0],h="lowerLeft"===c?a[1]:-a[1];for(let i=1;i<t.length;i++){const[a,l,o]=t[i];n+=d*a,s+=h*l,r[i]=[n,s,u(e,o)]}return r},p=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const i=t[0];let n=l(e,i[0]),s=o(e,i[1]);r[0]=[n,s,c(e,i[2]),u(e,i[3])];const{scale:a,originPosition:d}=e,h=a[0],f="lowerLeft"===d?a[1]:-a[1];for(let i=1;i<t.length;i++){const[a,l,o,d]=t[i];n+=h*a,s+=f*l,r[i]=[n,s,c(e,o),u(e,d)]}return r};function g(e,t,r){const i=new Array(r.length);for(let n=0;n<r.length;n++)i[n]=t(e,r[n]);return i}function y(e,t,r){const i=n(e);return t.x=s(i,r.x),t.y=a(i,r.y),null!=r.z&&(t.z=function({scale:e,translate:t},r){return Math.round(((r??0)-t[2])/e[2])}(i,r.z)),null!=r.m&&(t.m=function({scale:e,translate:t},r){return r?Math.round((r-t[3])/e[3]):0}(i,r.m)),t}function b(e,t,r,i=r?.hasZ??!1,s=r?.hasM??!1){if(null!=r){const a=n(e);t.points=d(i,s)(a,r.points),t.hasZ=i,t.hasM=s}return t}function v(e,t,r,i=null!=r?.z,s=null!=r?.m){if(null==r)return t;const a=n(e);return t.x=l(a,r.x),t.y=o(a,r.y),i&&(t.z=c(a,r.z)),s&&(t.m=u(a,r.m)),t}function _(e,t,r,i=r?.hasZ??!1,s=r?.hasM??!1){if(null!=r){const a=n(e);t.rings=g(a,d(i,s),r.rings),t.hasZ=i,t.hasM=s}return t}function M(e,t,r,i=r?.hasZ??!1,s=r?.hasM??!1){if(null!=r){const a=n(e);t.paths=g(a,d(i,s),r.paths),t.hasZ=i,t.hasM=s}return t}},65529:(e,t,r)=>{r.d(t,{A:()=>l});var i=r(90237),n=r(69622),s=r(36563),a=r(40608);class l{constructor(){this._emitter=new l.EventEmitter(this)}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}}!function(e){class t{constructor(e=null){this._target=e,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(e,t){let r=this._listenersMap?.get(e);if(!r)return!1;const i=this._target||this;let n=!1;for(const e of r.slice()){const r="deref"in e?e.deref():e;r?r?.call(i,t):n=!0}return n&&(r=r.filter((e=>!("deref"in e)||null!=e.deref())),this._listenersMap.set(e,r)),r.length>0}on(e,t){if(Array.isArray(e)){const r=e.map((e=>this.on(e,t)));return(0,s.vE)(r)}if(e.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const r=this._listenersMap.get(e)||[];return r.push(t),this._listenersMap.set(e,r),(0,s.hA)((()=>{const r=this._listenersMap?.get(e),i=r?.indexOf(t)??-1;i>=0&&r.splice(i,1)}))}once(e,t){const r=this.on(e,(e=>{r.remove();const i="deref"in t?t.deref():t;i?.call(null,e)}));return r}hasEventListener(e){const t=this._listenersMap?.get(e);return null!=t&&t.length>0}}e.EventEmitter=t,e.EventedMixin=e=>{let r=class extends e{constructor(){super(...arguments),this._emitter=new t}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};return r=(0,i._)([(0,a.$)("esri.core.Evented")],r),r};let r=class extends n.A{constructor(){super(...arguments),this._emitter=new l.EventEmitter(this)}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};r=(0,i._)([(0,a.$)("esri.core.Evented.EventedAccessor")],r),e.EventedAccessor=r}(l)},68463:(e,t,r)=>{r.d(t,{Mh:()=>h,A5:()=>v});var i=r(3483),n=r(97768),s=r(54218),a=r(96285);const l=["HH:mm:ss.SSS","HH:mm:ss","HH:mm","TT"],o="yyyy-MM-dd";function c(e){if(!e||!(0,s.Kg)(e))return null;const t=a.c9.fromFormat(e,o);return t.isValid?t:null}function u(e){return e&&(0,s.Kg)(e)?(0,n.Pb)(l,(t=>{const r=a.c9.fromFormat(e,t);return r.isValid?r:null}))??null:null}function d(e){if(!e||!(0,s.Kg)(e))return null;const t=a.c9.fromISO(e);return t.isValid?t:null}var h,f;(f=h||(h={})).VALUE_OUT_OF_RANGE="domain-validation-error::value-out-of-range",f.INVALID_CODED_VALUE="domain-validation-error::invalid-coded-value";const m=new Set(["integer","small-integer","long","big-integer","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]);function p(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function g(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function y(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}const b=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]);function v(e,t){const r=t??e?.domain;if(!r||"range"!==r.type)return;const i="range"in r?r.range[0]:r.minValue,n="range"in r?r.range[1]:r.maxValue,s=function(e){return null!=e&&m.has(e.type)}(e);return p(e)||y(e)||g(e)?{..._(e,n,i),isInteger:s}:{min:null!=i&&"number"==typeof i?i:null,max:null!=n&&"number"==typeof n?n:null,rawMin:i,rawMax:n,isInteger:s}}function _(e,t,r){return p(e)?{min:c(r)?.toMillis(),max:c(t)?.toMillis(),rawMin:r,rawMax:t}:y(e)?{min:u(r)?.toMillis(),max:u(t)?.toMillis(),rawMin:r,rawMax:t}:g(e)?{min:d(r)?.toMillis(),max:d(t)?.toMillis(),rawMin:r,rawMax:t}:{max:null,min:null}}(0,i.KC)(m,b)},69309:(e,t,r)=>{function i(e){if(!e)return;const t=e.match(n);return t?.groups?t.groups.doubleQuoted??t.groups.singleQuoted??t.groups.dotNotation:void 0}r.d(t,{D:()=>s,o:()=>i});const n=/^(\$feature\[(?:"(?<doubleQuoted>[^"]+)"|'(?<singleQuoted>[^']+)')\]|\$feature\.(?<dotNotation>[a-zA-Z_][a-zA-Z0-9_]*))$/i;function s(e){return e.match(a)?.[1]?.replace(/\\'/g,"'")??null}const a=/^hash\(\$feature\['((\\'|[^'])+)'\]\) \* 8\.381e-8$/},84892:(e,t,r)=>{r.d(t,{t:()=>a});var i=r(53966);const n=()=>i.A.getLogger("esri.rest.support.generateRendererUtils");function s(e,t){return Number(e.toFixed(t))}function a(e,t){const{normalizationTotal:r}=e;return{classBreaks:l(e,t),normalizationTotal:r}}function l(e,t){const r=e.definition,{classificationMethod:i,normalizationType:n,definedInterval:a}=r,l=r.breakCount??1,u=[];let d=e.values;if(0===d.length)return[];d=d.sort(((e,t)=>e-t));const[h,f]=t??[d.at(0),d.at(-1)];if("equal-interval"===i)if(d.length>=l){const e=(f-h)/l;let t=h;for(let r=1;r<l;r++){const i=s(h+r*e,6);u.push({minValue:t,maxValue:i,label:o(t,i,n)}),t=i}u.push({minValue:t,maxValue:f,label:o(t,f,n)})}else d.forEach((e=>{u.push({minValue:e,maxValue:e,label:o(e,e,n)})}));else if("natural-breaks"===i){const t=function(e){const t=[],r=[];let i=Number.MIN_VALUE,n=1,s=-1;for(let a=0;a<e.length;a++){const l=e[a];l===i?(n++,r[s]=n):null!==l&&(t.push(l),i=l,n=1,r.push(n),s++)}return{uniqueValues:t,valueFrequency:r}}(d),r=e.valueFrequency||t.valueFrequency,i=c(t.uniqueValues,r,l);let a=h;for(let e=1;e<l;e++)if(t.uniqueValues.length>e){const r=s(t.uniqueValues[i[e]],6);u.push({minValue:a,maxValue:r,label:o(a,r,n)}),a=r}u.push({minValue:a,maxValue:f,label:o(a,f,n)})}else if("quantile"===i)if(d.length>=l&&h!==f){let e=h,t=Math.ceil(d.length/l),r=0;for(let i=1;i<l;i++){let s=t+r-1;s>d.length&&(s=d.length-1),s<0&&(s=0),u.push({minValue:e,maxValue:d[s],label:o(e,d[s],n)}),e=d[s],r+=t,t=Math.ceil((d.length-r)/(l-i))}u.push({minValue:e,maxValue:f,label:o(e,f,n)})}else{let e=-1;for(let t=0;t<d.length;t++){const r=d[t];r!==e&&(e=r,u.push({minValue:e,maxValue:r,label:o(e,r,n)}),e=r)}}else if("standard-deviation"===i){const e=function(e){let t=0;for(let r=0;r<e.length;r++)t+=e[r];return t/=e.length,t}(d),t=function(e,t){let r=0;for(let i=0;i<e.length;i++){const n=e[i];r+=(n-t)*(n-t)}return r/=e.length,Math.sqrt(r)}(d,e);if(0===t)u.push({minValue:d[0],maxValue:d[0],label:o(d[0],d[0],n)});else{const r=function(e,t,r,i,n){let s=Math.max(i-e,t-i)/n/r;return s=s>=1?1:s>=.5?.5:.25,s}(h,f,l,e,t)*t;let i=0,a=h;for(let t=l;t>=1;t--){const l=s(e-(t-.5)*r,6);u.push({minValue:a,maxValue:l,label:o(a,l,n)}),a=l,i++}let c=s(e+.5*r,6);u.push({minValue:a,maxValue:c,label:o(a,c,n)}),a=c,i++;for(let t=1;t<=l;t++)c=i===2*l?f:s(e+(t+.5)*r,6),u.push({minValue:a,maxValue:c,label:o(a,c,n)}),a=c,i++}}else if("defined-interval"===i){if(!a)return u;const[e,r]=t??[d.at(0),d.at(-1)],i=Math.ceil((r-e)/a);let l=e;for(let t=1;t<i;t++){const r=s(e+t*a,6);u.push({minValue:l,maxValue:r,label:o(l,r,n)}),l=r}u.push({minValue:l,maxValue:r,label:o(l,r,n)})}return u}function o(e,t,r){let i=null;return i=e===t?r&&"percent-of-total"===r?e+"%":e.toString():r&&"percent-of-total"===r?e+"% - "+t+"%":e+" - "+t,i}function c(e,t,r){const i=e.length,n=[];r>i&&(r=i);for(let e=0;e<r;e++)n.push(Math.round(e*i/r-1));n.push(i-1);let s=u(n,e,t,r);return function(e,t,r,i,n,s){let a=0,l=0,o=0,c=0,u=!0;for(let h=0;h<2&&u;h++){0===h&&(u=!1);for(let h=0;h<s-1;h++)for(;r[h+1]+1!==r[h+2];){r[h+1]=r[h+1]+1;const s=d(h,r,i,n);o=s.sbMean,a=s.sbSdcm;const f=d(h+1,r,i,n);if(c=f.sbMean,l=f.sbSdcm,!(a+l<t[h]+t[h+1])){r[h+1]=r[h+1]-1;break}t[h]=a,t[h+1]=l,e[h]=o,e[h+1]=c,u=!0}for(let h=s-1;h>0;h--)for(;r[h]!==r[h-1]+1;){r[h]=r[h]-1;const s=d(h-1,r,i,n);o=s.sbMean,a=s.sbSdcm;const f=d(h,r,i,n);if(c=f.sbMean,l=f.sbSdcm,!(a+l<t[h-1]+t[h])){r[h]=r[h]+1;break}t[h-1]=a,t[h]=l,e[h-1]=o,e[h]=c,u=!0}}return u}(s.mean,s.sdcm,n,e,t,r)&&(s=u(n,e,t,r)),n}function u(e,t,r,i){let n=[],s=[],a=[],l=0;const o=[],c=[];for(let n=0;n<i;n++){const i=d(n,e,t,r);o.push(i.sbMean),c.push(i.sbSdcm),l+=c[n]}let u,h=l,f=!0;for(;f||l<h;){f=!1,n=[];for(let t=0;t<i;t++)n.push(e[t]);for(let r=0;r<i;r++)for(let n=e[r]+1;n<=e[r+1];n++)if(u=t[n],r>0&&n!==e[r+1]&&Math.abs(u-o[r])>Math.abs(u-o[r-1]))e[r]=n;else if(r<i-1&&e[r]!==n-1&&Math.abs(u-o[r])>Math.abs(u-o[r+1])){e[r+1]=n-1;break}h=l,l=0,s=[],a=[];for(let n=0;n<i;n++){s.push(o[n]),a.push(c[n]);const i=d(n,e,t,r);o[n]=i.sbMean,c[n]=i.sbSdcm,l+=c[n]}}if(l>h){for(let t=0;t<i;t++)e[t]=n[t],o[t]=s[t],c[t]=a[t];l=h}return{mean:o,sdcm:c}}function d(e,t,r,i){let s=0,a=0;for(let n=t[e]+1;n<=t[e+1];n++){const e=i[n];s+=r[n]*e,a+=e}a<=0&&n().warn("Exception in Natural Breaks calculation");const l=s/a;let o=0;for(let n=t[e]+1;n<=t[e+1];n++)o+=i[n]*(r[n]-l)**2;return{sbMean:l,sbSdcm:o}}},87445:(e,t,r)=>{r.d(t,{$r:()=>g,Jc:()=>v,gV:()=>y,rb:()=>b}),r(49186);var i=r(90629),n=r(88930),s=r(86738),a=r(16930),l=r(62577),o=r(21325),c=r(30524),u=r(61760),d=r(4560),h=r(1873),f=r(43668);let m=null;const p=/^(?<hh>([0-1][0-9])|([2][0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?([.](?<ms>\d+))?$/;function g(e,t,r,i){const n=(0,o.d9)(r)?(0,o.Vp)(r):null,a=n?Math.round((n.valid[1]-n.valid[0])/t.scale[0]):null;return e.map((e=>{const r=new s.A(e.geometry);return(0,l.Gy)(t,r,r),e.geometry=n?function(e,t,r){return e.x<0?e.x+=t:e.x>r&&(e.x-=t),e}(r,a??0,i[0]):r,e}))}function y(e,t=18,r,n,s){const a=new Float64Array(n*s);t=Math.round((0,i.Lz)(t));let l=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;const c=(0,u.YW)(r);for(const{geometry:r,attributes:i}of e){const{x:e,y:d}=r,h=Math.max(0,e-t),f=Math.max(0,d-t),m=Math.min(s,d+t),p=Math.min(n,e+t),g=+c(i);for(let r=f;r<m;r++)for(let i=h;i<p;i++){const s=r*n+i,c=(0,u.hv)(i-e,r-d,t)*g,h=a[s]+=c;l=Math.min(l,h),o=Math.max(o,h)}}return{min:l,max:o}}function b(e){const t=p.exec(e);if(!t)return null;const{hh:r,mm:i,ss:s,ms:a}=t.groups;return Number(r)*n.vf.hours+Number(i)*n.vf.minutes+Number(s)*n.vf.seconds+Number(a||0)}async function v(e,t,r=!0){if(!t)return[];const{field:i,field2:n,field3:s,fieldDelimiter:l,fieldInfos:o,timeZone:u}=e,p=i&&o?.find((e=>e.name.toLowerCase()===i.toLowerCase())),g=!!p&&(0,c.OH)(p),y=!!p&&(0,d.fs)(p),v=e.valueExpression,_=e.normalizationType,M=e.normalizationField,S=e.normalizationTotal,T=[],w=e.viewInfoParams;let I=null,L=null;if(v){if(!m){const{arcadeUtils:e}=await(0,f.l)();m=e}m.hasGeometryOperations(v)&&await m.enableGeometryOperations(),I=m.createFunction(v),L=w?m.getViewInfo({viewingMode:w.viewingMode,scale:w.scale,spatialReference:new a.A(w.spatialReference)}):null}const x=e.fieldInfos,A=t[0]&&"declaredClass"in t[0]&&"esri.Graphic"===t[0].declaredClass||!x?null:{fields:x};return t.forEach((e=>{const t=e.attributes;let a;if(v){const t=A?{...e,layer:A}:e,r=m.createExecContext(t,L,u);a=m.executeFunction(I,r)}else t&&(a=t[i],n?(a=`${(0,h.gJ)(a)}${l}${(0,h.gJ)(t[n])}`,s&&(a=`${a}${l}${(0,h.gJ)(t[s])}`)):"string"==typeof a&&r&&(y?a=a?new Date(a).getTime():null:g&&(a=a?b(a):null)));if(_&&"number"==typeof a&&isFinite(a)){const e=t&&parseFloat(t[M]);a=(0,h.zS)(a,_,e,S)}T.push(a)})),T}},90629:(e,t,r)=>{r.d(t,{Lz:()=>a,PN:()=>l,cr:()=>o,tc:()=>c});const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i,n="screenUtils.toPt: input not recognized!",s=96;function a(e){return e?e/72*s:0}function l(e){return e?72*e/s:0}function o(e){if("string"==typeof e){const t=e.match(i);if(t){const r=Number(t[1]),i=t[3]&&t[3].toLowerCase(),n="-"===e.charAt(0),s="px"===i?l(r):r;return n?-s:s}return console.warn(n),null}return e}function c(e=0,t=0){return{x:e,y:t}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7445],{1873:(e,t,r)=>{r.d(t,{$y:()=>B,Ak:()=>G,FM:()=>v,G_:()=>y,Rw:()=>z,Vb:()=>p,b3:()=>O,gJ:()=>m,jM:()=>U,lv:()=>C,oZ:()=>D,qg:()=>b,sU:()=>R,z9:()=>g,zS:()=>k});var i=r(9760),n=r(84892);const s="<Null>",a="equal-interval",l=1,o=5,c=10,u=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,d=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),h=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),f=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function m(e){return null==e||"string"==typeof e&&!e?s:e}function p(e){const t=null!=e.normalizationField||null!=e.normalizationType,r=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!r&&!i}function g(e){const{outStatisticTypes:t}=e,r=e.returnDistinct?[...new Set(e.values)]:e.values,i=r.filter((e=>null!=e)).sort(),n=i.length,s={count:n,min:i[0],max:i[n-1]};return e.supportsNullCount&&(s.nullcount=r.length-n),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(s.median=b(r,e.percentileParams)),s}function y(e){const{values:t,useSampleStdDev:r,supportsNullCount:i,outStatisticTypes:n}=e;let s=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,l=null,o=null,c=null,u=null,d=0;const h=null==e.minValue?-1/0:e.minValue,f=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=h&&e<=f&&(l=null===l?e:l+e,s=Math.min(s,e),a=Math.max(a,e),d++):"string"==typeof e&&d++;if(d&&null!=l){o=l/d;let e=0;for(const r of t)Number.isFinite(r)&&r>=h&&r<=f&&(e+=(r-o)**2);u=r?d>1?e/(d-1):0:d>0?e/d:0,c=Math.sqrt(u)}else s=null,a=null;const m={avg:o,count:d,max:a,min:s,stddev:c,sum:l,variance:u};return i&&(m.nullcount=t.length-d),!e.percentileParams||n?.include?.length&&!n.include.includes("median")||n?.exclude?.length&&n.exclude.includes("median")||(m.median=b(t,e.percentileParams)),m}function b(e,t){const{fieldType:r,value:i,orderBy:n,isDiscrete:s}=t,a=v(r,"desc"===n);if(0===(e=[...e].filter((e=>null!=e)).sort(((e,t)=>a(e,t)))).length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];const l=(e.length-1)*i,o=Math.floor(l),c=o+1,u=l%1,d=e[o],h=e[c];return c>=e.length||s||"string"==typeof d||"string"==typeof h?d:d*(1-u)+h*u}function v(e,t){if(e){if(d.has(e))return F(t);if(h.has(e))return x(t,!1);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?w:T}(t);const r=x(t,!0);if("esriFieldTypeString"===e)return r;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>r(E(e),E(t))}const r=t?1:-1,i=F(t),n=x(t,!0),s=S(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?i(e,t):"string"==typeof e&&"string"==typeof t?n(e,t):s(e,t)??r}const _=(e,t)=>null==e?null==t?0:1:null==t?-1:null,M=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function S(e){return e?_:M}const T=(e,t)=>M(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),w=(e,t)=>_(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),I=(e,t)=>M(e,t)??(e===t?0:e<t?-1:1),L=(e,t)=>_(e,t)??(e===t?0:e<t?1:-1);function x(e,t){if(!t)return e?L:I;const r=S(e);return e?(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0}:(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}}const A=(e,t)=>_(e,t)??t-e,V=(e,t)=>M(e,t)??e-t;function F(e){return e?A:V}function E(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function D(e,t,r){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:f.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return r?(["avg","stddev","variance"].forEach((t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))})),e):e}function O(e){const t={};for(let r of e)(null==r||"string"==typeof r&&""===r.trim())&&(r=null),null==t[r]?t[r]={count:1,data:r}:t[r].count++;return{count:t}}function N(e){return"coded-value"!==e?.type?[]:e.codedValues.map((e=>e.code))}function C(e,t,r,i){const n=e.count,s=[];if(r&&t){const e=[],r=N(t[0]);for(const n of r)if(t[1]){const r=N(t[1]);for(const s of r)if(t[2]){const r=N(t[2]);for(const t of r)e.push(`${m(n)}${i}${m(s)}${i}${m(t)}`)}else e.push(`${m(n)}${i}${m(s)}`)}else e.push(n);for(const t of e)n.hasOwnProperty(t)||(n[t]={data:t,count:0})}for(const e in n){const t=n[e];s.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:s}}function k(e,t,r,i){let n=null;switch(t){case"log":0!==e&&(n=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(n=e/i*100);break;case"field":Number.isFinite(r)&&0!==r&&(n=e/r);break;case"natural-log":e>0&&(n=Math.log(e));break;case"square-root":e>0&&(n=e**.5)}return n}function z(e,t,r){const i=$({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||o});return e=function(e,t,r){const i=t??-1/0,n=r??1/0;return e.filter((e=>Number.isFinite(e)&&e>=i&&e<=n))}(e,t.minValue,t.maxValue),(0,n.t)({definition:i,values:e,normalizationTotal:t.normalizationTotal},r)}function $(e){const{breakCount:t,field:r,normalizationField:n,normalizationType:s}=e,o=e.classificationMethod||a,c="standard-deviation"===o?e.standardDeviationInterval||l:void 0,u="defined-interval"===o?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:r,classificationMethod:o,normalizationField:"field"===s?n:void 0,normalizationType:s,standardDeviationInterval:c,definedInterval:u})}function U(e,t){let r=e.classBreaks;const i=r.length,n=r[0]?.minValue,s=r[i-1]?.maxValue,a="standard-deviation"===t,l=u;return r=r.map((e=>{const t=e.label,r={minValue:e.minValue,maxValue:e.maxValue,label:t};if(a&&t){const e=t.match(l),i=e?.map((e=>+e.trim()))??[];2===i.length?(r.minStdDev=i[0],r.maxStdDev=i[1],i[0]<0&&i[1]>0&&(r.hasAvg=!0)):1===i.length&&(t.includes("<")?(r.minStdDev=null,r.maxStdDev=i[0]):t.includes(">")&&(r.minStdDev=i[0],r.maxStdDev=null))}return r})),{minValue:n,maxValue:s,classBreakInfos:r,normalizationTotal:e.normalizationTotal}}function B(e,t){const r=R(e,t);if(null==r.min&&null==r.max)return{bins:[],minValue:r.min,maxValue:r.max,normalizationTotal:t.normalizationTotal};const i=r.intervals,n=r.min??0,s=r.max??0,a=i.map(((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0})));for(const t of e)if(null!=t&&t>=n&&t<=s){const e=G(i,t);e>-1&&a[e].count++}return{bins:a,minValue:n,maxValue:s,normalizationTotal:t.normalizationTotal}}function R(e,t,r=!1){const{field:i,classificationMethod:n,standardDeviationInterval:s,definedInterval:a,normalizationType:l,normalizationField:o,normalizationTotal:u,minValue:d,maxValue:h}=t,f=t.numBins||c;let m=null,g=null,b=null;if(n&&"equal-interval"!==n||l){const{classBreaks:t}=z(e,{field:i,normalizationType:l,normalizationField:o,normalizationTotal:u,classificationMethod:n,standardDeviationInterval:s,definedInterval:a,minValue:d,maxValue:h,numClasses:f},null!=d&&null!=h?[d,h]:void 0);m=t[0]?.minValue,g=t[t.length-1]?.maxValue,b=t.map((e=>[e.minValue,e.maxValue]))}else{if(null!=d&&null!=h)m=d,g=h;else{const t=y({values:e,minValue:d,maxValue:h,useSampleStdDev:!l,supportsNullCount:p({normalizationType:l,normalizationField:o,minValue:d,maxValue:h})});m=t.min??null,g=t.max??null}b=function(e,t,r){const i=(t-e)/r,n=[];let s,a=e;for(let e=1;e<=r;e++)s=a+i,s=Number(s.toFixed(16)),n.push([a,e===r?t:s]),a=s;return n}(m??0,g??0,f)}if(r){const e=b.at(-1)[1];b.push([e,e])}return{min:m,max:g,intervals:b}}function G(e,t){let r=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){r=i;break}return r}},3483:(e,t,r)=>{function i(e,t){for(const r of e.values())if(t(r))return!0;return!1}function n(e,t){if(!t)return e;for(const r of t)null!=r&&e.add(r);return e}function s(e,t){return null!=t&&e.add(t),e}function a(e,t){const r=new Set;return n(r,e),n(r,t),r}function l(e,t){const r=new Set;for(const i of t)e.has(i)&&r.add(i);return r}function o(e,t){if(!e||!t)return!1;if(e===t)return!0;for(const r of e)if(!t.has(r))return!1;return!0}function c(e,t){if(null==e&&null==t)return!0;if(null==e||null==t||e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}function u(e,t){const r=new Set(e);for(const e of t)r.delete(e);return r}r.d(t,{E$:()=>l,FB:()=>n,KC:()=>a,Yy:()=>o,aI:()=>c,bw:()=>i,iv:()=>u,kb:()=>s})},4560:(e,t,r)=>{r.d(t,{i0:()=>o,fs:()=>l});var i=r(97770),n=r(30524);r(5503),r(84952),r(27865),r(43281);var s=r(98623),a=r(56400);function l(e){return(0,n.vE)(e)||(0,n.zD)(e)||(0,n.Ah)(e)}function o(e,t){const{format:r,timeZoneOptions:n,fieldType:l}=t??{};let o,c;if(n&&({timeZone:o,timeZoneName:c}=(0,a.hv)(n.layerTimeZone,n.datesInUnknownTimezone,n.viewTimeZone,(0,i.J2)(r||"short-date-short-time"),l)),"string"==typeof e&&isNaN(Date.parse("time-only"===l?`1970-01-01T${e}Z`:e)))return e;switch(l){case"date-only":{const t=(0,i.J2)(r||"short-date");return"string"==typeof e?(0,i.iS)(e,{...t}):(0,i.Yq)(e,{...t,timeZone:s.n$})}case"time-only":{const t=(0,i.J2)(r||"short-time");return"string"==typeof e?(0,i.F8)(e,t):(0,i.Yq)(e,{...t,timeZone:s.n$})}case"timestamp-offset":{if(!o&&"string"==typeof e&&new Date(e).toISOString()!==e)return e;const t=r||n?(0,i.J2)(r||"short-date-short-time"):void 0,s=t?{...t,timeZone:o,timeZoneName:c}:void 0;return"string"==typeof e?(0,i.Ey)(e,s):(0,i.Yq)(e,s)}default:{const t=r||n?(0,i.J2)(r||"short-date-short-time"):void 0;return(0,i.Yq)("string"==typeof e?new Date(e):e,t?{...t,timeZone:o,timeZoneName:c}:void 0)}}}new Set(["integer","small-integer"])},5503:(e,t,r)=>{r.d(t,{A:()=>D});var i,n=r(90237),s=r(98291),a=r(65529),l=r(36563),o=r(4718),c=r(93687);!function(e){e[e.ADD=1]="ADD",e[e.REMOVE=2]="REMOVE",e[e.MOVE=4]="MOVE"}(i||(i={}));var u,d=r(11932),h=r(56507),f=r(62788),m=r(10107),p=r(7695),g=r(40608),y=r(95488),b=r(12195);class v{constructor(e,t,r,i,n){this.target=e,this.added=t,this.removed=r,this.start=i,this.deleteCount=n}}const _=new c.A(class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}},void 0,(e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1}));function M(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function S(e){return e?e instanceof E?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function T(e){if(e?.length)return e[0]}function w(e,t,r,i){const n=Math.min(e.length-r,t.length-i);let s=0;for(;s<n&&e[r+s]===t[i+s];)s++;return s}function I(e,t,r,i){t&&t.forEach(((t,n,s)=>{e.push(t),I(e,r.call(i,t,n,s),r,i)}))}const L=new Set,x=new Set,A=new Set,V=new Map;let F=0,E=class extends a.A.EventedAccessor{static{u=this}static{this.ofType=e=>{if(!e)return u;if(V.has(e))return V.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const r in e.typeMap){const i=e.typeMap[r].prototype.declaredClass;t?t+=` | ${i}`:t=i}let r=class extends u{};return(0,n._)([(0,p.u)({Type:e,ensureType:"function"==typeof e?(0,h.dp)(e):(0,h.aq)(e)})],r.prototype,"itemType",void 0),r=(0,n._)([(0,g.$)(`esri.core.Collection<${t}>`)],r),V.set(e,r),r}}static isCollection(e){return null!=e&&e instanceof u}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new y.I,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:F++})}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof u?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),this._emitter.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get items(){return(0,f.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(i.ADD)||(this._splice(0,this.length,S(e)),this._emitAfterChanges(i.ADD))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:this._emitter.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,l.hA)();if("change"===e){const e=this._chgListeners,r={removed:!1,callback:t};return e.push(r),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,l.hA)((()=>{r.removed=!0,e.splice(e.indexOf(r),1)}))}return this._emitter.on(e,t)}once(e,t){const r="deref"in t?()=>t.deref():()=>t,i=this.on(e,(e=>{r()?.call(null,e),i.remove()}));return i}add(e,t){if((0,f.gc)(this._observable),this._emitBeforeChanges(i.ADD))return this;const r=this.getNextIndex(t??null);return this._splice(r,0,[e]),this._emitAfterChanges(i.ADD),this}addMany(e,t=this._items.length){if((0,f.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(i.ADD))return this;const r=this.getNextIndex(t);return this._splice(r,0,S(e)),this._emitAfterChanges(i.ADD),this}at(e){if((0,f.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return[];const e=this._removeAllRaw();return this._emitAfterChanges(i.REMOVE),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.map(o.o8)})}concat(...e){(0,f.gc)(this._observable);const t=e.map(S);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return;const r=this._splice(0,this.length),n=r.length;for(let i=0;i<n;i++)e.call(t,r[i],i,r);this._emitAfterChanges(i.REMOVE)}destroyAll(){this.drain(M)}destroyMany(e){const t=this.removeMany(e);return t.forEach(M),t}every(e,t){return(0,f.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,f.gc)(this._observable);const r=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:r})}find(e,t){return(0,f.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,f.gc)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,f.gc)(this._observable);const r=[];return I(r,this,e,t),new u(r)}forEach(e,t){return(0,f.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,f.gc)(this._observable),this._items[e]}getNextIndex(e){(0,f.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,f.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,f.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,f.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,f.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,f.gc)(this._observable);const r=this._items.map(e,t);return new u({items:r})}reorder(e,t=this.length-1){(0,f.gc)(this._observable);const r=this.indexOf(e);if(-1!==r){if(t<0?t=0:t>=this.length&&(t=this.length-1),r!==t){if(this._emitBeforeChanges(i.MOVE))return e;this._splice(r,1),this._splice(t,0,[e]),this._emitAfterChanges(i.MOVE)}return e}}pop(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return;const e=T(this._splice(this.length-1,1));return this._emitAfterChanges(i.REMOVE),e}push(...e){return(0,f.gc)(this._observable),this._emitBeforeChanges(i.ADD)||(this._splice(this.length,0,e),this._emitAfterChanges(i.ADD)),this.length}reduce(e,t){(0,f.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduce(e,t):r.reduce(e)}reduceRight(e,t){(0,f.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduceRight(e,t):r.reduceRight(e)}remove(e){return(0,f.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,f.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(i.REMOVE))return;const t=T(this._splice(e,1));return this._emitAfterChanges(i.REMOVE),t}removeMany(e){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(i.REMOVE))return[];const t=e instanceof u?e.toArray():e,r=this._items,n=[],s=t.length;for(let e=0;e<s;e++){const i=t[e],s=r.indexOf(i);if(s>-1){const i=1+w(t,r,e+1,s+1),a=this._splice(s,i);a&&a.length>0&&n.push.apply(n,a),e+=i-1}}return this._emitAfterChanges(i.REMOVE),n}reverse(){if((0,f.gc)(this._observable),this._emitBeforeChanges(i.MOVE))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(i.MOVE),this}shift(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.REMOVE))return;const e=T(this._splice(0,1));return this._emitAfterChanges(i.REMOVE),e}slice(e=0,t=this.length){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,f.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(i.MOVE)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(i.MOVE),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let r=0;r<t;r++)if(e(this.items[r],this.items[r+1])>0)return!0;return!1}splice(e,t,...r){(0,f.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const n=(t?i.REMOVE:0)|(r.length?i.ADD:0);if(this._emitBeforeChanges(n))return[];const s=this._splice(e,t,r)||[];return this._emitAfterChanges(n),s}toArray(){return(0,f.gc)(this._observable),this._items.slice()}toJSON(e){return(0,f.gc)(this._observable),this.toArray().map((t=>(0,b.W)(t)?t.toJSON(e):t))}toLocaleString(){return(0,f.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,f.gc)(this._observable),this._items.toString()}unshift(...e){return(0,f.gc)(this._observable),!e.length||this._emitBeforeChanges(i.ADD)||(this._splice(0,0,e),this._emitAfterChanges(i.ADD)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,r){const i=this._items,n=this.itemType;let s,a;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,d._)((()=>this._dispatchChange()))),e<0&&(e+=this.length),t){if(a=i.splice(e,t),this.hasEventListener("before-remove")){const t=_.acquire();t.target=this,t.cancellable=!0;for(let r=0,n=a.length;r<n;r++)s=a[r],t.reset(s),this.emit("before-remove",t),t.defaultPrevented&&(a.splice(r,1),i.splice(e,0,s),e+=1,r-=1,n-=1);_.release(t)}if(this.length=this._items.length,this.hasEventListener("after-remove")){const e=_.acquire();e.target=this,e.cancellable=!1;const t=a.length;for(let r=0;r<t;r++)e.reset(a[r]),this.emit("after-remove",e);_.release(e)}}if(r?.length){if(n){const e=[];for(const t of r){const r=n.ensureType(t);null==r&&null!=t||e.push(r)}r=e}const t=this.hasEventListener("before-add"),s=this.hasEventListener("after-add"),a=e===this.length;if(t||s){const n=_.acquire();n.target=this,n.cancellable=!0;const l=_.acquire();l.target=this,l.cancellable=!1;for(const o of r)t?(n.reset(o),this.emit("before-add",n),n.defaultPrevented||(a?i.push(o):i.splice(e++,0,o),this._set("length",i.length),s&&(l.reset(o),this.emit("after-add",l)))):(a?i.push(o):i.splice(e++,0,o),this._set("length",i.length),l.reset(o),this.emit("after-add",l));_.release(l),_.release(n)}else{if(a)for(const e of r)i.push(e);else i.splice(e,0,...r);this._set("length",i.length)}}if((r?.length||a?.length)&&this._notifyChangeEvent(r,a),this.hasEventListener("after-splice")){const i=new v(this,r,a,e,t);this.emit("after-splice",i)}return a}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const r=_.acquire();r.target=this,r.cancellable=!0,r.type=e,this.emit("before-changes",r),t=r.defaultPrevented,_.release(r)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=_.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),_.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;L.clear(),x.clear(),A.clear();for(const{added:t,removed:r}of e){if(t)if(0===A.size&&0===x.size)for(const e of t)L.add(e);else for(const e of t)x.has(e)?(A.add(e),x.delete(e)):A.has(e)||L.add(e);if(r)if(0===A.size&&0===L.size)for(const e of r)x.add(e);else for(const e of r)L.has(e)?L.delete(e):(A.delete(e),x.add(e))}const r=s.A.acquire();L.forEach((e=>{r.push(e)}));const i=s.A.acquire();x.forEach((e=>{i.push(e)}));const n=this._items,a=t.items,l=s.A.acquire();if(A.forEach((e=>{a.indexOf(e)!==n.indexOf(e)&&l.push(e)})),t.listeners&&(r.length||i.length||l.length)){const e={target:this,added:r,removed:i,moved:l},n=t.listeners.length;for(let r=0;r<n;r++){const i=t.listeners[r];i.removed||i.callback.call(this,e)}}s.A.release(r),s.A.release(i),s.A.release(l)}L.clear(),x.clear(),A.clear()}};(0,n._)([(0,m.MZ)()],E.prototype,"_updating",void 0),(0,n._)([(0,m.MZ)()],E.prototype,"length",void 0),(0,n._)([(0,m.MZ)()],E.prototype,"items",null),(0,n._)([(0,m.MZ)({readOnly:!0})],E.prototype,"updating",null),E=u=(0,n._)([(0,g.$)("esri.core.Collection")],E);const D=E},7695:(e,t,r)=>{function i(e){return(t,r)=>{t[r]=e}}r.d(t,{u:()=>i})},9760:(e,t,r)=>{r.d(t,{A:()=>h});var i=r(90237),n=r(66552),s=r(25482),a=r(10107),l=(r(44208),r(53966),r(87811),r(93223)),o=r(40608);const c=new n.J({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),u=new n.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let d=class extends s.A{constructor(e){super(e),this.type="class-breaks-definition",this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,i._)([(0,l.e)({classBreaksDef:"class-breaks-definition"})],d.prototype,"type",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"breakCount",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"classificationField",void 0),(0,i._)([(0,a.MZ)({type:String,json:{read:c.read,write:c.write}})],d.prototype,"classificationMethod",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],d.prototype,"normalizationField",void 0),(0,i._)([(0,a.MZ)({json:{read:u.read,write:u.write}})],d.prototype,"normalizationType",void 0),(0,i._)([(0,a.MZ)({value:null,json:{write:!0}})],d.prototype,"standardDeviationInterval",null),(0,i._)([(0,a.MZ)({value:null,json:{write:!0}})],d.prototype,"definedInterval",null),d=(0,i._)([(0,o.$)("esri.rest.support.ClassBreaksDefinition")],d);const h=d},27865:(e,t,r)=>{r.d(t,{O9:()=>s,dw:()=>a,mj:()=>n});var i=r(59247);function n(e,t){const r=e.length>t.length?e:t;return(e.length>t.length?t:e).every(((e,t)=>e.type===r[t].type))}function s(e,t){const r=e.length>t.length?e:t,n=e.length>t.length?t:e;for(let e=n.length;e<r.length;e++)n.push((0,i.sK)(r[e]))}function a(e){const t=e[0];return!!t&&"type"in t}},30524:(e,t,r)=>{r.d(t,{Ah:()=>J,Bz:()=>D,CJ:()=>re,DB:()=>b,Dx:()=>S,JL:()=>de,Kl:()=>ue,OG:()=>K,OH:()=>Y,R$:()=>E,R3:()=>j,WA:()=>P,WX:()=>te,Xz:()=>H,_b:()=>N,_w:()=>v,eX:()=>I,hL:()=>M,lD:()=>O,mB:()=>T,nw:()=>he,rS:()=>d,rq:()=>_,sv:()=>g,te:()=>X,uo:()=>ce,vE:()=>Z,yM:()=>q,yp:()=>m,zD:()=>W}),r(49186);var i=r(93637),n=r(3483),s=r(68463),a=r(69309),l=r(54218),o=r(43668);const c=/^([0-9_])/,u=/[^a-z0-9_\u0080-\uffff]+/gi;function d(e){return null==e?null:e.trim().replaceAll(u,"_").replace(c,"F$1")||null}const h=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],f=["field","normalizationField"];function m(e,t){if(null!=e&&null!=t)for(const r of Array.isArray(e)?e:[e])if(p(h,r,t),"visualVariables"in r&&r.visualVariables)for(const e of r.visualVariables)p(f,e,t)}function p(e,t,r){if(e)for(const n of e){const e=(0,i.wc)(n,t),s=e&&"function"!=typeof e&&r.get(e);s&&(0,i.sM)(n,s.name,t)}}function g(e,t){if(null!=e&&t?.fields?.length)if("startField"in e){const r=t.get(e.startField),i=t.get(e.endField);e.startField=r?.name??null,e.endField=i?.name??null}else{const r=t.get(e.startTimeField),i=t.get(e.endTimeField);e.startTimeField=r?.name??null,e.endTimeField=i?.name??null}}const y=new Set;function b(e,t){return e&&t?(y.clear(),v(y,e,t),Array.from(y).sort()):[]}function v(e,t,r){if(r)if(t?.fields?.length)if(r.includes("*"))for(const{name:r}of t.fields)e.add(r);else for(const i of r)_(e,t,i);else{if(r.includes("*"))return e.clear(),void e.add("*");for(const t of r)null!=t&&e.add(t)}}function _(e,t,r){if("string"==typeof r)if(t){const i=t.get(r);i&&e.add(i.name)}else e.add(r)}function M(e,t){return null==t||null==e?[]:t.includes("*")?(e.fields??[]).map((e=>e.name)):t}async function S(e,t,r){if(!r)return;let i;const n=(0,a.o)(r);if(n)i=[n];else{const{arcadeUtils:e}=await(0,o.l)();i=e.extractFieldNames(r,t?.fields?.map((e=>e.name)))}for(const r of i)_(e,t,r)}function T({displayField:e,fields:t}){return e||(t?.length?w(t,"name-or-title")||w(t,"unique-identifier")||w(t,"type-or-category")||function(e){for(const t of e){if(!t?.name)continue;const e=t.name.toLowerCase();if(e.includes("name")||e.includes("title"))return t.name}return null}(t):null)}function w(e,t){for(const r of e)if(r?.valueType&&r.valueType===t)return r.name;return null}function I(e){return e?b(e.fieldsIndex,V(e)):[]}const L=new Set(["oid","global-id","guid"]),x=new Set(["oid","global-id"]),A=[/^fnode_$/i,/^tnode_$/i,/^lpoly_$/i,/^rpoly_$/i,/^poly_$/i,/^shape$/i,/^shape_$/i,/^subclass$/i,/^subclass_$/i,/^rings_ok$/i,/^rings_nok$/i,/perimeter/i,/objectid/i,/_i$/i];function V(e){if(!e)return[];const t="editFieldsInfo"in e&&e.editFieldsInfo;if(!t)return[];const{creationDateField:r,creatorField:i,editDateField:n,editorField:s}=t;return[r,i,n,s].filter(Boolean)}function F(e){return V(e).map((e=>e.toLowerCase()))}function E(e,t){return e.editable&&!L.has(e.type)&&!F(t).includes(e.name?.toLowerCase()??"")}function D(e,t){const r=e.name?.toLowerCase()??"";return!(null!=t?.objectIdField&&r===t.objectIdField.toLowerCase()||null!=t?.globalIdField&&r===t.globalIdField.toLowerCase()||function(e){const t=new Set;F(e).forEach((e=>t.add(e))),function(e){if(!e)return[];const t=e.geometryFieldsInfo;return t?b(e.fieldsIndex,[t.shapeAreaField,t.shapeLengthField]):[]}(e).forEach((e=>t.add(e.toLowerCase())));const r=e&&"infoFor3D"in e?e.infoFor3D:void 0;return r&&(Object.values(r.assetMapFieldRoles).forEach((e=>t.add(e.toLowerCase()))),Object.values(r.transformFieldRoles).forEach((e=>t.add(e.toLowerCase())))),Array.from(t)}(t).includes(r)||x.has(e.type)||A.some((e=>e.test(r))))}function O(e){const t=e.defaultValue;return void 0!==t&&U(e,t)?t:e.nullable?null:void 0}function N(e){const t="string"==typeof e?{type:e}:e;return q(t)?255:"esriFieldTypeDate"===t.type||"date"===t.type?8:void 0}function C(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function k(e){return null===e||C(e)}function z(e){return null===e||Number.isInteger(e)}function $(){return!0}function U(e,t){let r;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"big-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":case"esriFieldTypeBigInteger":r=e.nullable?z:Number.isInteger;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":r=e.nullable?k:C;break;case"string":case"esriFieldTypeString":r=e.nullable?l.CO:l.Kg;break;default:r=$}return 1===arguments.length?r:r(t)}const B=new Set(["integer","small-integer","big-integer","long","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]),R=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]),G=(0,n.KC)(B,R);function j(e){return null!=e&&B.has(e.type)}function P(e){return null!=e&&G.has(e.type)}function q(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}function Z(e){return null!=e&&("date"===e.type||"esriFieldTypeDate"===e.type)}function W(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function J(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function Y(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}function X(e){return null!=e&&("oid"===e.type||"esriFieldTypeOID"===e.type)}function H(e){return null!=e&&("global-id"===e.type||"esriFieldTypeGlobalID"===e.type)}function K(e,t){return null===re(e,t)}var Q,ee;function te(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function re(e,t){return null==e||e.nullable&&null===t?null:U(e,t)?P(e)&&!function(e,t){const r="string"==typeof e?ie(e):e;if(!r)return!1;const i=r.min,n=r.max;return r.isInteger?Number.isInteger(t)&&t>=i&&t<=n:t>=i&&t<=n}(e.type,Number(t))?Q.OUT_OF_RANGE:null:ee.INVALID_TYPE}function ie(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return ne;case"esriFieldTypeInteger":case"esriFieldTypeLong":case"integer":case"long":return se;case"esriFieldTypeBigInteger":case"big-integer":return ae;case"esriFieldTypeSingle":case"single":return le;case"esriFieldTypeDouble":case"double":return oe}}(Q||(Q={})).OUT_OF_RANGE="numeric-range-validation-error::out-of-range",function(e){e.INVALID_TYPE="type-validation-error::invalid-type"}(ee||(ee={}));const ne={min:-32768,max:32767,isInteger:!0,rawMin:-32768,rawMax:32767},se={min:-2147483648,max:2147483647,isInteger:!0,rawMin:-2147483648,rawMax:2147483647},ae={min:-Number.MAX_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,isInteger:!0,rawMin:-Number.MAX_SAFE_INTEGER,rawMax:Number.MAX_SAFE_INTEGER},le={min:-34e37,max:12e37,isInteger:!1,rawMin:-34e37,rawMax:12e37},oe={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1,rawMin:-Number.MAX_VALUE,rawMax:Number.MAX_VALUE};function ce(e,t,r){switch(e){case s.Mh.INVALID_CODED_VALUE:return`Value ${r} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case s.Mh.VALUE_OUT_OF_RANGE:return`Value ${r} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case ee.INVALID_TYPE:return`Value ${r} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case Q.OUT_OF_RANGE:{const{min:e,max:i}=ie(t.type);return`Value ${r} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${i}`}}}function ue(e,t){return!function(e,t){if(!t?.attributes||!e)return!0;const r=new Set(Object.keys(t.attributes));let i=!1;for(const t of e)if(!r.has(t)){i=!0;break}return i}(e,t)}function de(e){return!!e&&["raster.itempixelvalue","raster.servicepixelvalue"].some((t=>e.toLowerCase().startsWith(t)))}function he(e){const t=e?.match(/{[^}]+}/g);return t?t.map((e=>e.slice(1,-1).split(":")[0].trim())):[]}},43281:(e,t,r)=>{r.d(t,{H:()=>a,q:()=>s});var i=r(2741),n=r(10838);async function s(e){if(!e)return;const t=e.includes("-vector")?e.slice(0,e.indexOf("-vector")):e.includes("-3d")?e.slice(0,e.indexOf("-3d")):e,r=await(0,n.ud)("esri/t9n/basemaps");return r[e]||r[t]}const a={satellite:{id:"satellite",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/satellite.jpg")},baseMapLayers:[{id:"satellite-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Imagery",showLegend:!1,visibility:!0,opacity:1}]},hybrid:{id:"hybrid",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/hybrid.jpg")},baseMapLayers:[{id:"hybrid-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Imagery",showLegend:!1,visibility:!0,opacity:1},{id:"hybrid-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/30d6b8271e1849cd9c3042060001f425/resources/styles/root.json",layerType:"VectorTileLayer",title:"Hybrid Reference Layer",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},terrain:{id:"terrain",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/terrain.jpg")},baseMapLayers:[{id:"terrain-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Terrain Base",showLegend:!1,visibility:!0,opacity:1},{id:"terrain-reference-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Reference Overlay",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},oceans:{id:"oceans",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/oceans.jpg")},baseMapLayers:[{id:"oceans-base-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Ocean Base",showLegend:!1,visibility:!0,opacity:1},{id:"oceans-reference-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Ocean Reference",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},osm:{id:"osm",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/osm.jpg")},baseMapLayers:[{id:"osm-base-layer",layerType:"OpenStreetMap",title:"Open Street Map",showLegend:!1,visibility:!0,opacity:1}]},"dark-gray-vector":{id:"dark-gray-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/dark-gray-vector.jpg")},baseMapLayers:[{id:"dark-gray-base-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/5e9b3685f4c24d8781073dd928ebda50/resources/styles/root.json",layerType:"VectorTileLayer",title:"Dark Gray Base",visibility:!0,opacity:1},{id:"dark-gray-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/747cb7a5329c478cbe6981076cc879c5/resources/styles/root.json",layerType:"VectorTileLayer",title:"Dark Gray Reference",isReference:!0,visibility:!0,opacity:1}]},get"dark-gray"(){return{...this["dark-gray-vector"],id:"dark-gray"}},"gray-vector":{id:"gray-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/gray-vector.jpg")},baseMapLayers:[{id:"gray-base-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/291da5eab3a0412593b66d384379f89f/resources/styles/root.json",layerType:"VectorTileLayer",title:"Light Gray Base",visibility:!0,opacity:1},{id:"gray-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/1768e8369a214dfab4e2167d5c5f2454/resources/styles/root.json",layerType:"VectorTileLayer",title:"Light Gray Reference",isReference:!0,visibility:!0,opacity:1}]},get gray(){return{...this["gray-vector"],id:"gray"}},"streets-vector":{id:"streets-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-vector.jpg")},baseMapLayers:[{id:"streets-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/de26a3cf4cc9451298ea173c4b324736/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets",visibility:!0,opacity:1}]},get streets(){return{...this["streets-vector"],id:"streets"}},"topo-vector":{id:"topo-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/topo-vector.jpg")},baseMapLayers:[{id:"world-hillshade-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Hillshade",showLegend:!1,visibility:!0,opacity:1},{id:"topo-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Topo",visibility:!0,opacity:1}]},get topo(){return{...this["topo-vector"],id:"topo"}},"streets-night-vector":{id:"streets-night-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-night.jpg")},baseMapLayers:[{id:"streets-night-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/86f556a2d1fd468181855a35e344567f/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets Night",visibility:!0,opacity:1}]},"streets-relief-vector":{id:"streets-relief-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-relief.jpg")},baseMapLayers:[{id:"world-hillshade-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Hillshade",showLegend:!1,visibility:!0,opacity:1},{id:"streets-relief-vector-base-layer",styleUrl:"//www.arcgis.com/sharing/rest/content/items/b266e6d17fc345b498345613930fbd76/resources/styles/root.json",title:"World Streets Relief",layerType:"VectorTileLayer",visibility:!0,opacity:1}]},"streets-navigation-vector":{id:"streets-navigation-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-navigation.jpg")},baseMapLayers:[{id:"streets-navigation-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets Navigation",visibility:!0,opacity:1}]},"topo-3d":{id:"topo-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/topo-3d.png")},baseMapLayers:[{id:"topo-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/1e7d1784d1ef4b79ba6764d0bd6c3150/resources/styles/root.json",layerType:"VectorTileLayer",title:"Topographic",visibility:!0,opacity:1},{id:"topo-3d-trees",title:"Trees",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Trees_Thematic_v1/SceneServer",itemId:"f75fef56b2d944fe92ef9f7737b4f953",layerType:"ArcGISSceneServiceLayer"},{id:"topo-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"topo-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"navigation-3d":{id:"navigation-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/navigation-3d.jpg")},baseMapLayers:[{id:"navigation-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/ccc904ff872b4144b94934e55e32784b/resources/styles/root.json",layerType:"VectorTileLayer",title:"Navigation",visibility:!0,opacity:1},{id:"navigation-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"navigation-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"streets-3d":{id:"streets-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-3d.png")},baseMapLayers:[{id:"streets-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/198298c4c64c4cb19de5b46aa00c198d/resources/styles/root.json",layerType:"VectorTileLayer",title:"Streets",visibility:!0,opacity:1},{id:"streets-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"streets-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"osm-3d":{id:"osm-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/osm-3d.png")},baseMapLayers:[{id:"osm-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/8628d259c9d14bdc848771c23c513940/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap",visibility:!0,opacity:1},{id:"osm-3d-trees",title:"Trees",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Trees_Thematic_v1/SceneServer",itemId:"f75fef56b2d944fe92ef9f7737b4f953",layerType:"ArcGISSceneServiceLayer"},{id:"osm-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"osm-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"gray-3d":{id:"gray-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/gray-3d.png")},baseMapLayers:[{id:"gray-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/01a14b466345455ba4176d2e6390db92/resources/styles/root.json",layerType:"VectorTileLayer",title:"Streets",visibility:!0,opacity:1},{id:"gray-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"gray-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"navigation-dark-3d":{id:"navigation-dark-3d",itemId:"5a1365328b4943f09a54cf5fd1205707",is3d:!0,baseMapLayers:[{id:"navigation-dark-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/451a1777ab3f4bf095fae24a117439d9/resources/styles/root.json",layerType:"VectorTileLayer",title:"Navigation Dark"},{id:"navigation-dark-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer/layers/0",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"navigation-dark-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"streets-dark-3d":{id:"streets-dark-3d",itemId:"8a4efa2c20484ec9b4557895e65736ff",is3d:!0,baseMapLayers:[{id:"streets-dark-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/bc599b6d741a4ac084b7eea7bf8c5938/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap Streets Night (for 3D)"},{id:"streets-dark-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"streets-dark-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]},"dark-gray-3d":{id:"dark-gray-3d",itemId:"a8b7322a5fe94002bb0f5e0eeb0c5c18",is3d:!0,baseMapLayers:[{id:"dark-gray-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/4178f71acb934fb89f169e7d667c20c6/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap Dark Gray Canvas (for 3D)"},{id:"dark-gray-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer/layers/0",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"dark-gray-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Buildings_v1/SceneServer",itemId:"ca0470dbbddb4db28bad74ed39949e25",layerType:"ArcGISSceneServiceLayer"}]}}},43668:(e,t,r)=>{let i;function n(){return i||(i=(async()=>{const e=await Promise.all([r.e(3720),r.e(254),r.e(655),r.e(3766)]).then(r.bind(r,43766));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature,Voxel:e.Voxel}})()),i}r.d(t,{l:()=>n})},54218:(e,t,r)=>{function i(e){return"number"==typeof e}function n(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function s(e){return"boolean"==typeof e}function a(e){return"string"==typeof e||e instanceof String}function l(e){return null==e||a(e)}function o(e){return Array.isArray(e)}function c(e){return"esri.Graphic"===e?.declaredClass}function u(e){return e instanceof Date}r.d(t,{$P:()=>u,CO:()=>l,DU:()=>c,Et:()=>i,Fq:()=>n,Kg:()=>a,Lm:()=>s,cy:()=>o})},59247:(e,t,r)=>{r.d(t,{bv:()=>o,Fk:()=>c,yG:()=>u,$b:()=>d,Nd:()=>h,jm:()=>f,sK:()=>g});var i=r(40876),n=r(90629);function s(){const e=new Float32Array(16);return e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}const a=s();Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:function(e){const t=new Float32Array(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},create:s,fromValues:function(e,t,r,i,n,s,a,l,o,c,u,d,h,f,m,p){const g=new Float32Array(16);return g[0]=e,g[1]=t,g[2]=r,g[3]=i,g[4]=n,g[5]=s,g[6]=a,g[7]=l,g[8]=o,g[9]=c,g[10]=u,g[11]=d,g[12]=h,g[13]=f,g[14]=m,g[15]=p,g}},Symbol.toStringTag,{value:"Module"}));var l=r(58083);class o{constructor(e,t,r){this.strength=e,this.radius=t,this.threshold=r,this.type="bloom"}interpolate(e,t,r){this.strength=m(e.strength,t.strength,r),this.radius=m(e.radius,t.radius,r),this.threshold=m(e.threshold,t.threshold,r)}clone(){return new o(this.strength,this.radius,this.threshold)}toJSON(){return{type:"bloom",radius:p(this.radius),strength:this.strength,threshold:this.threshold}}}class c{constructor(e){this.radius=e,this.type="blur"}interpolate(e,t,r){this.radius=Math.round(m(e.radius,t.radius,r))}clone(){return new c(this.radius)}toJSON(){return{type:"blur",radius:p(this.radius)}}}class u{constructor(e,t){this.type=e,this.amount=t,"invert"!==this.type&&"grayscale"!==this.type&&"sepia"!==this.type||(this.amount=Math.min(this.amount,1))}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.amount=m(e.amount,t.amount,r),this._updateMatrix()}clone(){return new u(this.type,this.amount)}toJSON(){return{type:this.type,amount:this.amount}}_updateMatrix(){const e=this._colorMatrix||s();switch(this.type){case"brightness":this._colorMatrix=((e,t)=>{const r=(0,l.hZ)(e,t,0,0,0,0,t,0,0,0,0,t,0,0,0,0,1);return(0,l.mg)(r,r)})(e,this.amount);break;case"contrast":this._colorMatrix=((e,t)=>{const r=(0,l.hZ)(e,t,0,0,.5-.5*t,0,t,0,.5-.5*t,0,0,t,.5-.5*t,0,0,0,1);return(0,l.mg)(r,r)})(e,this.amount);break;case"grayscale":this._colorMatrix=(e=>{const t=1-this.amount,r=(0,l.hZ)(e,.2126+.7874*t,.7152-.7152*t,.0722-.0722*t,0,.2126-.2126*t,.7152+.2848*t,.0722-.0722*t,0,.2126-.2126*t,.7152-.7152*t,.0722+.9278*t,0,0,0,0,1);return(0,l.mg)(r,r)})(e);break;case"invert":this._colorMatrix=((e,t)=>{const r=1-2*t,i=(0,l.hZ)(e,r,0,0,t,0,r,0,t,0,0,r,t,0,0,0,1);return(0,l.mg)(i,i)})(e,this.amount);break;case"saturate":this._colorMatrix=((e,t)=>{const r=(0,l.hZ)(e,.213+.787*t,.715-.715*t,.072-.072*t,0,.213-.213*t,.715+.285*t,.072-.072*t,0,.213-.213*t,.715-.715*t,.072+.928*t,0,0,0,0,1);return(0,l.mg)(r,r)})(e,this.amount);break;case"sepia":this._colorMatrix=(e=>{const t=1-this.amount,r=(0,l.hZ)(e,.393+.607*t,.769-.769*t,.189-.189*t,0,.349-.349*t,.686+.314*t,.168-.168*t,0,.272-.272*t,.534-.534*t,.131+.869*t,0,0,0,0,1);return(0,l.mg)(r,r)})(e)}}}class d{constructor(e,t,r,i){this.offsetX=e,this.offsetY=t,this.blurRadius=r,this.color=i,this.type="drop-shadow"}interpolate(e,t,r){this.offsetX=m(e.offsetX,t.offsetX,r),this.offsetY=m(e.offsetY,t.offsetY,r),this.blurRadius=m(e.blurRadius,t.blurRadius,r),this.color[0]=Math.round(m(e.color[0],t.color[0],r)),this.color[1]=Math.round(m(e.color[1],t.color[1],r)),this.color[2]=Math.round(m(e.color[2],t.color[2],r)),this.color[3]=m(e.color[3],t.color[3],r)}clone(){return new d(this.offsetX,this.offsetY,this.blurRadius,[...this.color])}toJSON(){const e=[...this.color];return e[3]*=255,{type:"drop-shadow",xoffset:p(this.offsetX),yoffset:p(this.offsetY),blurRadius:p(this.blurRadius),color:e}}}class h{constructor(e){this.angle=e,this.type="hue-rotate"}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.angle=m(e.angle,t.angle,r),this._updateMatrix()}clone(){return new h(this.angle)}toJSON(){return{type:"hue-rotate",angle:this.angle}}_updateMatrix(){const e=this._colorMatrix||s();this._colorMatrix=((e,t)=>{const r=Math.sin(t*Math.PI/180),i=Math.cos(t*Math.PI/180),n=(0,l.hZ)(e,.213+.787*i-.213*r,.715-.715*i-.715*r,.072-.072*i+.928*r,0,.213-.213*i+.143*r,.715+.285*i+.14*r,.072-.072*i-.283*r,0,.213-.213*i-.787*r,.715-.715*i+.715*r,.072+.928*i+.072*r,0,0,0,0,1);return(0,l.mg)(n,n)})(e,this.angle)}}class f{constructor(e){this.amount=e,this.type="opacity",this.amount=Math.min(this.amount,1)}interpolate(e,t,r){this.amount=m(e.amount,t.amount,r)}clone(){return new f(this.amount)}toJSON(){return{type:"opacity",amount:this.amount}}}function m(e,t,r){return e+(t-e)*r}function p(e){return Math.round(1e3*(0,n.PN)(e))/1e3}function g(e){switch(e.type){case"grayscale":case"sepia":case"invert":return new u(e.type,0);case"saturate":case"brightness":case"contrast":return new u(e.type,1);case"opacity":return new f(1);case"hue-rotate":return new h(0);case"blur":return new c(0);case"drop-shadow":return new d(0,0,0,[...(0,i.TS)("transparent")]);case"bloom":return new o(0,0,1)}}},61760:(e,t,r)=>{r.d(t,{PU:()=>a,YW:()=>o,ex:()=>n,hv:()=>l,zp:()=>s}),r(34727);var i=r(90629);r(87317),r(91829);const n=2.4;function s(e){return(0,i.PN)(e*n)}function a(e){return(0,i.Lz)(e)/n}function l(e,t,r){const i=Math.sqrt(e**2+t**2)/r;return i>1?0:3/(Math.PI*r**2)*(1-i**2)**2}function o(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},62577:(e,t,r)=>{function i(e){return e?{originPosition:"upper-left"===e.originPosition?"upperLeft":"lower-left"===e.originPosition?"lowerLeft":e.originPosition,scale:e.tolerance?[e.tolerance,e.tolerance,1,1]:[1,1,1,1],translate:null!=e.extent?[e.extent.xmin,e.extent.ymax,e.extent.zmin??0,e.extent.mmin??0]:[0,0,0,0]}:null}function n(e){if(function(e){return"lowerLeft"===e.originPosition&&4===e.scale.length&&4===e.translate.length}(e))return e;const{originPosition:t,scale:r,translate:i}=e,n=r[0]??1,s=r[1]??1;return{originPosition:"lowerLeft",scale:[n,"lowerLeft"===t?s:-s,r[2]??1,r[3]??1],translate:[i[0]??0,i[1]??0,i[2]??0,i[3]??0]}}function s({scale:e,translate:t},r){return Math.round((r-t[0])/e[0])}function a({scale:e,translate:t},r){return Math.round((r-t[1])/e[1])}function l({scale:e,translate:t},r){return r*e[0]+t[0]}function o({scale:e,translate:t},r){return r*e[1]+t[1]}function c({scale:e,translate:t},r){return(r??0)*e[2]+t[2]}function u({scale:e,translate:t},r){return r?r*e[3]+t[3]:0}function d(e,t){return e&&t?p:e&&!t?f:!e&&t?m:h}r.d(t,{$X:()=>_,B2:()=>a,Gy:()=>y,IE:()=>s,P5:()=>M,Q1:()=>n,SW:()=>b,Tr:()=>v,VV:()=>i}),r(65864);const h=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const i=t[0];let n=l(e,i[0]),s=o(e,i[1]);r[0]=[n,s];const{scale:a,originPosition:c}=e,u=a[0],d="lowerLeft"===c?a[1]:-a[1];for(let e=1;e<t.length;e++){const[i,a]=t[e];n+=u*i,s+=d*a,r[e]=[n,s]}return r},f=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const i=t[0];let n=l(e,i[0]),s=o(e,i[1]);r[0]=[n,s,c(e,i[2])];const{scale:a,originPosition:u}=e,d=a[0],h="lowerLeft"===u?a[1]:-a[1];for(let i=1;i<t.length;i++){const[a,l,o]=t[i];n+=d*a,s+=h*l,r[i]=[n,s,c(e,o)]}return r},m=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const i=t[0];let n=l(e,i[0]),s=o(e,i[1]);r[0]=[n,s,u(e,i[2])];const{scale:a,originPosition:c}=e,d=a[0],h="lowerLeft"===c?a[1]:-a[1];for(let i=1;i<t.length;i++){const[a,l,o]=t[i];n+=d*a,s+=h*l,r[i]=[n,s,u(e,o)]}return r},p=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const i=t[0];let n=l(e,i[0]),s=o(e,i[1]);r[0]=[n,s,c(e,i[2]),u(e,i[3])];const{scale:a,originPosition:d}=e,h=a[0],f="lowerLeft"===d?a[1]:-a[1];for(let i=1;i<t.length;i++){const[a,l,o,d]=t[i];n+=h*a,s+=f*l,r[i]=[n,s,c(e,o),u(e,d)]}return r};function g(e,t,r){const i=new Array(r.length);for(let n=0;n<r.length;n++)i[n]=t(e,r[n]);return i}function y(e,t,r){const i=n(e);return t.x=s(i,r.x),t.y=a(i,r.y),null!=r.z&&(t.z=function({scale:e,translate:t},r){return Math.round(((r??0)-t[2])/e[2])}(i,r.z)),null!=r.m&&(t.m=function({scale:e,translate:t},r){return r?Math.round((r-t[3])/e[3]):0}(i,r.m)),t}function b(e,t,r,i=r?.hasZ??!1,s=r?.hasM??!1){if(null!=r){const a=n(e);t.points=d(i,s)(a,r.points),t.hasZ=i,t.hasM=s}return t}function v(e,t,r,i=null!=r?.z,s=null!=r?.m){if(null==r)return t;const a=n(e);return t.x=l(a,r.x),t.y=o(a,r.y),i&&(t.z=c(a,r.z)),s&&(t.m=u(a,r.m)),t}function _(e,t,r,i=r?.hasZ??!1,s=r?.hasM??!1){if(null!=r){const a=n(e);t.rings=g(a,d(i,s),r.rings),t.hasZ=i,t.hasM=s}return t}function M(e,t,r,i=r?.hasZ??!1,s=r?.hasM??!1){if(null!=r){const a=n(e);t.paths=g(a,d(i,s),r.paths),t.hasZ=i,t.hasM=s}return t}},65529:(e,t,r)=>{r.d(t,{A:()=>l});var i=r(90237),n=r(69622),s=r(36563),a=r(40608);class l{constructor(){this._emitter=new l.EventEmitter(this)}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}}!function(e){class t{constructor(e=null){this._target=e,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(e,t){let r=this._listenersMap?.get(e);if(!r)return!1;const i=this._target||this;let n=!1;for(const e of r.slice()){const r="deref"in e?e.deref():e;r?r?.call(i,t):n=!0}return n&&(r=r.filter((e=>!("deref"in e)||null!=e.deref())),this._listenersMap.set(e,r)),r.length>0}on(e,t){if(Array.isArray(e)){const r=e.map((e=>this.on(e,t)));return(0,s.vE)(r)}if(e.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const r=this._listenersMap.get(e)||[];return r.push(t),this._listenersMap.set(e,r),(0,s.hA)((()=>{const r=this._listenersMap?.get(e),i=r?.indexOf(t)??-1;i>=0&&r.splice(i,1)}))}once(e,t){const r=this.on(e,(e=>{r.remove();const i="deref"in t?t.deref():t;i?.call(null,e)}));return r}hasEventListener(e){const t=this._listenersMap?.get(e);return null!=t&&t.length>0}}e.EventEmitter=t,e.EventedMixin=e=>{let r=class extends e{constructor(){super(...arguments),this._emitter=new t}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};return r=(0,i._)([(0,a.$)("esri.core.Evented")],r),r};let r=class extends n.A{constructor(){super(...arguments),this._emitter=new l.EventEmitter(this)}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};r=(0,i._)([(0,a.$)("esri.core.Evented.EventedAccessor")],r),e.EventedAccessor=r}(l)},68463:(e,t,r)=>{r.d(t,{Mh:()=>h,A5:()=>v});var i=r(3483),n=r(97768),s=r(54218),a=r(96285);const l=["HH:mm:ss.SSS","HH:mm:ss","HH:mm","TT"],o="yyyy-MM-dd";function c(e){if(!e||!(0,s.Kg)(e))return null;const t=a.c9.fromFormat(e,o);return t.isValid?t:null}function u(e){return e&&(0,s.Kg)(e)?(0,n.Pb)(l,(t=>{const r=a.c9.fromFormat(e,t);return r.isValid?r:null}))??null:null}function d(e){if(!e||!(0,s.Kg)(e))return null;const t=a.c9.fromISO(e);return t.isValid?t:null}var h,f;(f=h||(h={})).VALUE_OUT_OF_RANGE="domain-validation-error::value-out-of-range",f.INVALID_CODED_VALUE="domain-validation-error::invalid-coded-value";const m=new Set(["integer","small-integer","long","big-integer","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]);function p(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function g(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function y(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}const b=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]);function v(e,t){const r=t??e?.domain;if(!r||"range"!==r.type)return;const i="range"in r?r.range[0]:r.minValue,n="range"in r?r.range[1]:r.maxValue,s=function(e){return null!=e&&m.has(e.type)}(e);return p(e)||y(e)||g(e)?{..._(e,n,i),isInteger:s}:{min:null!=i&&"number"==typeof i?i:null,max:null!=n&&"number"==typeof n?n:null,rawMin:i,rawMax:n,isInteger:s}}function _(e,t,r){return p(e)?{min:c(r)?.toMillis(),max:c(t)?.toMillis(),rawMin:r,rawMax:t}:y(e)?{min:u(r)?.toMillis(),max:u(t)?.toMillis(),rawMin:r,rawMax:t}:g(e)?{min:d(r)?.toMillis(),max:d(t)?.toMillis(),rawMin:r,rawMax:t}:{max:null,min:null}}(0,i.KC)(m,b)},69309:(e,t,r)=>{function i(e){if(!e)return;const t=e.match(n);return t?.groups?t.groups.doubleQuoted??t.groups.singleQuoted??t.groups.dotNotation:void 0}r.d(t,{D:()=>s,o:()=>i});const n=/^(\$feature\[(?:"(?<doubleQuoted>[^"]+)"|'(?<singleQuoted>[^']+)')\]|\$feature\.(?<dotNotation>[a-zA-Z_][a-zA-Z0-9_]*))$/i;function s(e){return e.match(a)?.[1]?.replace(/\\'/g,"'")??null}const a=/^hash\(\$feature\['((\\'|[^'])+)'\]\) \* 8\.381e-8$/},84892:(e,t,r)=>{r.d(t,{t:()=>a});var i=r(53966);const n=()=>i.A.getLogger("esri.rest.support.generateRendererUtils");function s(e,t){return Number(e.toFixed(t))}function a(e,t){const{normalizationTotal:r}=e;return{classBreaks:l(e,t),normalizationTotal:r}}function l(e,t){const r=e.definition,{classificationMethod:i,normalizationType:n,definedInterval:a}=r,l=r.breakCount??1,u=[];let d=e.values;if(0===d.length)return[];d=d.sort(((e,t)=>e-t));const[h,f]=t??[d.at(0),d.at(-1)];if("equal-interval"===i)if(d.length>=l){const e=(f-h)/l;let t=h;for(let r=1;r<l;r++){const i=s(h+r*e,6);u.push({minValue:t,maxValue:i,label:o(t,i,n)}),t=i}u.push({minValue:t,maxValue:f,label:o(t,f,n)})}else d.forEach((e=>{u.push({minValue:e,maxValue:e,label:o(e,e,n)})}));else if("natural-breaks"===i){const t=function(e){const t=[],r=[];let i=Number.MIN_VALUE,n=1,s=-1;for(let a=0;a<e.length;a++){const l=e[a];l===i?(n++,r[s]=n):null!==l&&(t.push(l),i=l,n=1,r.push(n),s++)}return{uniqueValues:t,valueFrequency:r}}(d),r=e.valueFrequency||t.valueFrequency,i=c(t.uniqueValues,r,l);let a=h;for(let e=1;e<l;e++)if(t.uniqueValues.length>e){const r=s(t.uniqueValues[i[e]],6);u.push({minValue:a,maxValue:r,label:o(a,r,n)}),a=r}u.push({minValue:a,maxValue:f,label:o(a,f,n)})}else if("quantile"===i)if(d.length>=l&&h!==f){let e=h,t=Math.ceil(d.length/l),r=0;for(let i=1;i<l;i++){let s=t+r-1;s>d.length&&(s=d.length-1),s<0&&(s=0),u.push({minValue:e,maxValue:d[s],label:o(e,d[s],n)}),e=d[s],r+=t,t=Math.ceil((d.length-r)/(l-i))}u.push({minValue:e,maxValue:f,label:o(e,f,n)})}else{let e=-1;for(let t=0;t<d.length;t++){const r=d[t];r!==e&&(e=r,u.push({minValue:e,maxValue:r,label:o(e,r,n)}),e=r)}}else if("standard-deviation"===i){const e=function(e){let t=0;for(let r=0;r<e.length;r++)t+=e[r];return t/=e.length,t}(d),t=function(e,t){let r=0;for(let i=0;i<e.length;i++){const n=e[i];r+=(n-t)*(n-t)}return r/=e.length,Math.sqrt(r)}(d,e);if(0===t)u.push({minValue:d[0],maxValue:d[0],label:o(d[0],d[0],n)});else{const r=function(e,t,r,i,n){let s=Math.max(i-e,t-i)/n/r;return s=s>=1?1:s>=.5?.5:.25,s}(h,f,l,e,t)*t;let i=0,a=h;for(let t=l;t>=1;t--){const l=s(e-(t-.5)*r,6);u.push({minValue:a,maxValue:l,label:o(a,l,n)}),a=l,i++}let c=s(e+.5*r,6);u.push({minValue:a,maxValue:c,label:o(a,c,n)}),a=c,i++;for(let t=1;t<=l;t++)c=i===2*l?f:s(e+(t+.5)*r,6),u.push({minValue:a,maxValue:c,label:o(a,c,n)}),a=c,i++}}else if("defined-interval"===i){if(!a)return u;const[e,r]=t??[d.at(0),d.at(-1)],i=Math.ceil((r-e)/a);let l=e;for(let t=1;t<i;t++){const r=s(e+t*a,6);u.push({minValue:l,maxValue:r,label:o(l,r,n)}),l=r}u.push({minValue:l,maxValue:r,label:o(l,r,n)})}return u}function o(e,t,r){let i=null;return i=e===t?r&&"percent-of-total"===r?e+"%":e.toString():r&&"percent-of-total"===r?e+"% - "+t+"%":e+" - "+t,i}function c(e,t,r){const i=e.length,n=[];r>i&&(r=i);for(let e=0;e<r;e++)n.push(Math.round(e*i/r-1));n.push(i-1);let s=u(n,e,t,r);return function(e,t,r,i,n,s){let a=0,l=0,o=0,c=0,u=!0;for(let h=0;h<2&&u;h++){0===h&&(u=!1);for(let h=0;h<s-1;h++)for(;r[h+1]+1!==r[h+2];){r[h+1]=r[h+1]+1;const s=d(h,r,i,n);o=s.sbMean,a=s.sbSdcm;const f=d(h+1,r,i,n);if(c=f.sbMean,l=f.sbSdcm,!(a+l<t[h]+t[h+1])){r[h+1]=r[h+1]-1;break}t[h]=a,t[h+1]=l,e[h]=o,e[h+1]=c,u=!0}for(let h=s-1;h>0;h--)for(;r[h]!==r[h-1]+1;){r[h]=r[h]-1;const s=d(h-1,r,i,n);o=s.sbMean,a=s.sbSdcm;const f=d(h,r,i,n);if(c=f.sbMean,l=f.sbSdcm,!(a+l<t[h-1]+t[h])){r[h]=r[h]+1;break}t[h-1]=a,t[h]=l,e[h-1]=o,e[h]=c,u=!0}}return u}(s.mean,s.sdcm,n,e,t,r)&&(s=u(n,e,t,r)),n}function u(e,t,r,i){let n=[],s=[],a=[],l=0;const o=[],c=[];for(let n=0;n<i;n++){const i=d(n,e,t,r);o.push(i.sbMean),c.push(i.sbSdcm),l+=c[n]}let u,h=l,f=!0;for(;f||l<h;){f=!1,n=[];for(let t=0;t<i;t++)n.push(e[t]);for(let r=0;r<i;r++)for(let n=e[r]+1;n<=e[r+1];n++)if(u=t[n],r>0&&n!==e[r+1]&&Math.abs(u-o[r])>Math.abs(u-o[r-1]))e[r]=n;else if(r<i-1&&e[r]!==n-1&&Math.abs(u-o[r])>Math.abs(u-o[r+1])){e[r+1]=n-1;break}h=l,l=0,s=[],a=[];for(let n=0;n<i;n++){s.push(o[n]),a.push(c[n]);const i=d(n,e,t,r);o[n]=i.sbMean,c[n]=i.sbSdcm,l+=c[n]}}if(l>h){for(let t=0;t<i;t++)e[t]=n[t],o[t]=s[t],c[t]=a[t];l=h}return{mean:o,sdcm:c}}function d(e,t,r,i){let s=0,a=0;for(let n=t[e]+1;n<=t[e+1];n++){const e=i[n];s+=r[n]*e,a+=e}a<=0&&n().warn("Exception in Natural Breaks calculation");const l=s/a;let o=0;for(let n=t[e]+1;n<=t[e+1];n++)o+=i[n]*(r[n]-l)**2;return{sbMean:l,sbSdcm:o}}},87445:(e,t,r)=>{r.d(t,{$r:()=>g,Jc:()=>v,gV:()=>y,rb:()=>b}),r(49186);var i=r(90629),n=r(88930),s=r(86738),a=r(16930),l=r(62577),o=r(21325),c=r(30524),u=r(61760),d=r(4560),h=r(1873),f=r(43668);let m=null;const p=/^(?<hh>([0-1][0-9])|([2][0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?([.](?<ms>\d+))?$/;function g(e,t,r,i){const n=(0,o.d9)(r)?(0,o.Vp)(r):null,a=n?Math.round((n.valid[1]-n.valid[0])/t.scale[0]):null;return e.map((e=>{const r=new s.A(e.geometry);return(0,l.Gy)(t,r,r),e.geometry=n?function(e,t,r){return e.x<0?e.x+=t:e.x>r&&(e.x-=t),e}(r,a??0,i[0]):r,e}))}function y(e,t=18,r,n,s){const a=new Float64Array(n*s);t=Math.round((0,i.Lz)(t));let l=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;const c=(0,u.YW)(r);for(const{geometry:r,attributes:i}of e){const{x:e,y:d}=r,h=Math.max(0,e-t),f=Math.max(0,d-t),m=Math.min(s,d+t),p=Math.min(n,e+t),g=+c(i);for(let r=f;r<m;r++)for(let i=h;i<p;i++){const s=r*n+i,c=(0,u.hv)(i-e,r-d,t)*g,h=a[s]+=c;l=Math.min(l,h),o=Math.max(o,h)}}return{min:l,max:o}}function b(e){const t=p.exec(e);if(!t)return null;const{hh:r,mm:i,ss:s,ms:a}=t.groups;return Number(r)*n.vf.hours+Number(i)*n.vf.minutes+Number(s)*n.vf.seconds+Number(a||0)}async function v(e,t,r=!0){if(!t)return[];const{field:i,field2:n,field3:s,fieldDelimiter:l,fieldInfos:o,timeZone:u}=e,p=i&&o?.find((e=>e.name.toLowerCase()===i.toLowerCase())),g=!!p&&(0,c.OH)(p),y=!!p&&(0,d.fs)(p),v=e.valueExpression,_=e.normalizationType,M=e.normalizationField,S=e.normalizationTotal,T=[],w=e.viewInfoParams;let I=null,L=null;if(v){if(!m){const{arcadeUtils:e}=await(0,f.l)();m=e}m.hasGeometryOperations(v)&&await m.enableGeometryOperations(),I=m.createFunction(v),L=w?m.getViewInfo({viewingMode:w.viewingMode,scale:w.scale,spatialReference:new a.A(w.spatialReference)}):null}const x=e.fieldInfos,A=t[0]&&"declaredClass"in t[0]&&"esri.Graphic"===t[0].declaredClass||!x?null:{fields:x};return t.forEach((e=>{const t=e.attributes;let a;if(v){const t=A?{...e,layer:A}:e,r=m.createExecContext(t,L,u);a=m.executeFunction(I,r)}else t&&(a=t[i],n?(a=`${(0,h.gJ)(a)}${l}${(0,h.gJ)(t[n])}`,s&&(a=`${a}${l}${(0,h.gJ)(t[s])}`)):"string"==typeof a&&r&&(y?a=a?new Date(a).getTime():null:g&&(a=a?b(a):null)));if(_&&"number"==typeof a&&isFinite(a)){const e=t&&parseFloat(t[M]);a=(0,h.zS)(a,_,e,S)}T.push(a)})),T}},90629:(e,t,r)=>{r.d(t,{Lz:()=>a,PN:()=>l,cr:()=>o,tc:()=>c});const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i,n="screenUtils.toPt: input not recognized!",s=96;function a(e){return e?e/72*s:0}function l(e){return e?72*e/s:0}function o(e){if("string"==typeof e){const t=e.match(i);if(t){const r=Number(t[1]),i=t[3]&&t[3].toLowerCase(),n="-"===e.charAt(0),s="px"===i?l(r):r;return n?-s:s}return console.warn(n),null}return e}function c(e=0,t=0){return{x:e,y:t}}}}]);
|