@arcgis/core 5.0.0-next.63 → 5.0.0-next.65
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/Ground.d.ts +2 -1
- package/Ground.js +1 -1
- package/WebDocument2D.js +1 -1
- package/WebLinkChart.js +1 -1
- package/WebMap.d.ts +1 -1
- package/WebMap.js +1 -1
- package/WebScene.d.ts +1 -1
- package/WebScene.js +1 -1
- package/applications/KnowledgeStudio/dataModelVisualization.d.ts +18 -0
- package/applications/KnowledgeStudio/dataModelVisualization.js +5 -0
- package/applications/MapViewer/templateUtils.d.ts +2 -2
- package/applications/Urban/LineImagePattern3D.d.ts +8 -0
- package/applications/Urban/LineImagePattern3D.js +5 -0
- package/applications/Urban/imagePatternUtils.d.ts +23 -0
- package/applications/Urban/imagePatternUtils.js +5 -0
- package/assets/esri/core/libs/libtess/libtess-f32.wasm +0 -0
- package/assets/esri/core/libs/libtess/libtess-f64.wasm +0 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{61707c22b029c2a7a397.js → 049c125085028ffdd0dd.js} +1 -1
- package/assets/esri/core/workers/chunks/{0bd73a66baea2f52e8a6.js → 07639f406b71bb49ffd6.js} +1 -1
- package/assets/esri/core/workers/chunks/{df0e5570174bf0942d7a.js → 0d9e1ccc3ba8b5ed3287.js} +1 -1
- package/assets/esri/core/workers/chunks/{4404b6f931f681cca342.js → 0e5cd0cf6ab7cb37d723.js} +1 -1
- package/assets/esri/core/workers/chunks/{a624dd283d264dce35a8.js → 0f5693541111fcae0c2f.js} +1 -1
- package/assets/esri/core/workers/chunks/{f56906c443ce8ff68a27.js → 13d61d34e55c80e4ecdf.js} +1 -1
- package/assets/esri/core/workers/chunks/{28b235b56a83c498d73f.js → 168ec8fca2702617a543.js} +1 -1
- package/assets/esri/core/workers/chunks/{831b8282380844a7c4d5.js → 1967239713b58dccfd81.js} +1 -1
- package/assets/esri/core/workers/chunks/1b838638e66e82d76cf3.js +1 -0
- package/assets/esri/core/workers/chunks/{2209550b6510e25da375.js → 226acd251ad7d7ee3b57.js} +1 -1
- package/assets/esri/core/workers/chunks/22dd5cecc7e2d4d0baf8.js +316 -0
- package/assets/esri/core/workers/chunks/2402d305a77fef4694a0.js +1 -0
- package/assets/esri/core/workers/chunks/{893a5ab0c2df9262efd8.js → 251eb6e00f99a816d55c.js} +1 -1
- package/assets/esri/core/workers/chunks/{e47535f795b15608a6cb.js → 27f096c434f049b8df01.js} +1 -1
- package/assets/esri/core/workers/chunks/29b09db309ff75fb3e97.js +1 -0
- package/assets/esri/core/workers/chunks/{bef2a70d382515b3c84e.js → 310f3268582e61cd86da.js} +1 -1
- package/assets/esri/core/workers/chunks/{02cf735176f286a48dd2.js → 3371935a4fd6346d3a17.js} +1 -1
- package/assets/esri/core/workers/chunks/{36d15c35fbbd4dedd5cb.js → 3c3d311b88f5400951ef.js} +1 -1
- package/assets/esri/core/workers/chunks/{cf3a9ead26629f3508b3.js → 3c4f8597f602779174f1.js} +1 -1
- package/assets/esri/core/workers/chunks/43d28c6509c21b8917a8.js +1 -0
- package/assets/esri/core/workers/chunks/{951e3c911a3486b1e609.js → 45b898367b6224dda46f.js} +1 -1
- package/assets/esri/core/workers/chunks/{57302b92e9899cce4ba3.js → 4785cd108e2dec6e1697.js} +1 -1
- package/assets/esri/core/workers/chunks/{153ff2ceefccd946498b.js → 47bfe8dd5d2bac4307ac.js} +1 -1
- package/assets/esri/core/workers/chunks/{2abc205f81f26fc4852b.js → 49a1b7f700b8a42de817.js} +4 -4
- package/assets/esri/core/workers/chunks/4d6d962d25aa836f53ee.js +1 -0
- package/assets/esri/core/workers/chunks/{454c15367cccbf63af7a.js → 4e9a8fce55cad841c731.js} +1 -1
- package/assets/esri/core/workers/chunks/{b93f2bd6429879f92143.js → 536c492fdda30f2f1288.js} +1 -1
- package/assets/esri/core/workers/chunks/5cee6c3ff23fb93f857a.js +1 -0
- package/assets/esri/core/workers/chunks/6035daa65fc3ebf86515.js +1 -0
- package/assets/esri/core/workers/chunks/62b28f73f814413c10fc.js +1 -0
- package/assets/esri/core/workers/chunks/{0bc01d71ed1ab8c3af3c.js → 6599cc702a46f81a5634.js} +1 -1
- package/assets/esri/core/workers/chunks/6925f09d44cc38480d53.js +1 -0
- package/assets/esri/core/workers/chunks/{72e3a48aa365542b0689.js → 6a782e8475bff4d56dbc.js} +1 -1
- package/assets/esri/core/workers/chunks/6ba3c2b9f699d94d62b8.js +1 -0
- package/assets/esri/core/workers/chunks/{f44f358db5c56d5bbc0c.js → 7306b5b66e738a281d83.js} +1 -1
- package/assets/esri/core/workers/chunks/{2da13c2269ab90281143.js → 7694abe44d55dae8872d.js} +1 -1
- package/assets/esri/core/workers/chunks/{2b34a010f76e5f289868.js → 7bf491b468cd74a4166c.js} +1 -1
- package/assets/esri/core/workers/chunks/{05ab54b81c366e98138f.js → 7d8664aeff66e34138bd.js} +1 -1
- package/assets/esri/core/workers/chunks/822ef6a043c7e147b4b6.js +1 -0
- package/assets/esri/core/workers/chunks/878010ca23da0bca9405.js +1 -0
- package/assets/esri/core/workers/chunks/892157696e8f9e38c472.js +1 -0
- package/assets/esri/core/workers/chunks/{d2abfcb0c8bf894c7f72.js → 8dca61f8ba6689379f86.js} +1 -1
- package/assets/esri/core/workers/chunks/{bce81df760f5e34c01d7.js → 964de713042f52d71e42.js} +1 -1
- package/assets/esri/core/workers/chunks/990341f7c47bd656c782.js +1 -0
- package/assets/esri/core/workers/chunks/9d6945cda99d14af83ac.js +1 -0
- package/assets/esri/core/workers/chunks/{5180b15f1a865756a02e.js → a3836f6a93924ee4816e.js} +1 -1
- package/assets/esri/core/workers/chunks/{d13b2ce8a89938b0472b.js → a6dcd13c792b6538ac50.js} +1 -1
- package/assets/esri/core/workers/chunks/{522a6787d9e0f520ac79.js → a893f8db2477cf677ac8.js} +1 -1
- package/assets/esri/core/workers/chunks/{983356eb4fd0a0dcf3fd.js → abc236e99b52be1c83b9.js} +1 -1
- package/assets/esri/core/workers/chunks/{b11c0e80e583f2b7c5de.js → ac83c2999a3d2ffb4356.js} +1 -1
- package/assets/esri/core/workers/chunks/{5873c7b65d0fb04998fb.js → acea42d268b53ceb2bfd.js} +1 -1
- package/assets/esri/core/workers/chunks/{8628bf45a33af786cd49.js → b65fcfde62d49de1fa54.js} +1 -1
- package/assets/esri/core/workers/chunks/ba7f57788847cc0f68df.js +1 -0
- package/assets/esri/core/workers/chunks/{12f700b932a241e59071.js → bcf612eabe7577540953.js} +1 -1
- package/assets/esri/core/workers/chunks/{75e9759290f0f67b2128.js → bf06250be7a7a36306b1.js} +1 -1
- package/assets/esri/core/workers/chunks/c3007b916ba933137709.js +1 -0
- package/assets/esri/core/workers/chunks/c9f868f85d740ee32715.js +1 -0
- package/assets/esri/core/workers/chunks/cc5c1887e6d7079e5fe3.js +1 -0
- package/assets/esri/core/workers/chunks/ce8f075c814a8378c00c.js +1 -0
- package/assets/esri/core/workers/chunks/{f91e63d7842c427c7f72.js → d30cfc5fa302cc08d862.js} +1 -1
- package/assets/esri/core/workers/chunks/d3325ed8d224e2350db7.js +1 -0
- package/assets/esri/core/workers/chunks/{1800994523d7cdfb73af.js → de71db3b0fb947b13c97.js} +1 -1
- package/assets/esri/core/workers/chunks/{ff7df6fb78fa2c0e9247.js → df92239eefff04471a0b.js} +1 -1
- package/assets/esri/core/workers/chunks/e69255e38ff200dda14b.js +1 -0
- package/assets/esri/core/workers/chunks/ee2ca25048a920e43743.js +1 -0
- package/assets/esri/core/workers/chunks/{609919428305d8c8c243.js → f9370830051865a3435b.js} +1 -1
- package/assets/esri/core/workers/chunks/fc00d7278b43df813c54.js +1 -0
- package/assets/esri/themes/base/widgets/_UtilityNetworkAssociations.scss +7 -18
- 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/RibbonLine.glsl.js +99 -61
- package/chunks/libtess-f32.js +5 -0
- package/chunks/libtess-f64.js +5 -0
- package/config.js +1 -1
- package/core/Version.d.ts +1 -1
- package/core/Version.js +1 -1
- package/core/has.js +1 -1
- package/core/workers/registry.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/form/elements/inputs/SwitchInput.d.ts +2 -1
- package/geometry/Mesh.d.ts +2 -1
- package/geometry/Mesh.js +1 -1
- package/geometry/libtess.js +1 -1
- package/geometry/support/MeshVertexAttributes.d.ts +1 -1
- package/geometry/support/MeshVertexAttributes.js +1 -1
- package/geometry/support/meshUtils/convertMeshVertexSpace.js +1 -1
- package/geometry/support/meshUtils/elevation.js +1 -1
- package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
- package/geometry/support/meshUtils/merge.js +1 -1
- package/geometry/support/meshUtils/primitives.js +1 -1
- package/ground/NavigationConstraint.d.ts +1 -1
- package/ground/NavigationConstraint.js +1 -1
- package/interfaces.d.ts +163 -158
- package/kernel.js +1 -1
- package/layers/BaseElevationLayer.d.ts +1 -1
- package/layers/ElevationLayer.d.ts +1 -1
- package/layers/ElevationLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +1 -5
- package/layers/Layer.d.ts +1 -2
- package/layers/ParquetLayer.js +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/knowledgeGraph/dataModelVisualizationUtils.d.ts +11 -0
- package/layers/knowledgeGraph/dataModelVisualizationUtils.js +5 -0
- package/layers/mixins/ArcGISMapService.js +1 -1
- package/layers/mixins/BlendLayer.d.ts +1 -1
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/orientedImagery/transformations/updateElevationUtils.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/raster/functions/ColormapToRGBFunction.js +1 -1
- package/layers/raster/functions/surfaceUtils.js +1 -1
- package/layers/support/CodedValue.d.ts +1 -1
- package/layers/support/CodedValue.js +1 -1
- package/layers/support/CodedValueDomain.d.ts +2 -1
- package/layers/support/CodedValueDomain.js +1 -1
- package/layers/support/ElevationTileData.d.ts +1 -1
- package/layers/support/ElevationTileData.js +1 -1
- package/layers/support/FeatureReduction.d.ts +1 -1
- package/layers/support/FeatureReduction.js +1 -1
- package/layers/support/FeatureReductionBinning.d.ts +1 -1
- package/layers/support/FeatureReductionBinning.js +1 -1
- package/layers/support/FeatureReductionSelection.d.ts +1 -1
- package/layers/support/FeatureReductionSelection.js +1 -1
- package/layers/support/KMLMapImage.d.ts +1 -1
- package/layers/support/KMLMapImage.js +1 -1
- package/layers/support/ParquetGeometryEncodingBase.d.ts +1 -1
- package/layers/support/ParquetGeometryEncodingBase.js +1 -1
- package/layers/support/ParquetGeometryEncodingLocation.d.ts +1 -1
- package/layers/support/ParquetGeometryEncodingLocation.js +1 -1
- package/layers/support/ParquetGeometryEncodingWkb.d.ts +1 -1
- package/layers/support/ParquetGeometryEncodingWkb.js +1 -1
- package/layers/support/PixelBlock.d.ts +1 -1
- package/layers/support/PixelBlock.js +1 -1
- package/layers/support/SimpleBandStatistics.d.ts +1 -1
- package/layers/support/SimpleBandStatistics.js +1 -1
- package/layers/support/Sublayer.js +1 -1
- package/layers/support/featureLayerUtils.js +1 -1
- package/layers/support/featureReductionUtils.js +1 -1
- package/layers/support/source/DataLayerSource.d.ts +6 -3
- package/layers/support/source/DataLayerSource.js +1 -1
- package/layers/support/source/MapLayerSource.d.ts +1 -1
- package/layers/support/source/MapLayerSource.js +1 -1
- package/layers/support/source/QueryTableDataSource.d.ts +1 -1
- package/layers/support/source/QueryTableDataSource.js +1 -1
- package/layers/support/source/RasterDataSource.d.ts +1 -1
- package/layers/support/source/RasterDataSource.js +1 -1
- package/layers/support/source/TableDataSource.d.ts +1 -1
- package/layers/support/source/TableDataSource.js +1 -1
- package/layers/support/source/types.d.ts +1 -1
- package/layers/types.d.ts +7 -1
- package/package.json +1 -1
- package/popup/content/MediaContent.d.ts +2 -2
- package/popup/content/types.d.ts +9 -0
- package/portal/Portal.d.ts +3 -3
- package/portal/PortalGroup.d.ts +1 -1
- package/portal/PortalItem.d.ts +2 -2
- package/portal/PortalItemResource.d.ts +1 -1
- package/portal/PortalQueryParams.d.ts +1 -1
- package/portal/PortalUser.d.ts +5 -5
- package/portal/schemas/definitions.js +1 -1
- package/portal/support/resourceUtils.d.ts +1 -1
- package/renderers/HeatmapRenderer.d.ts +2 -1
- package/renderers/HeatmapRenderer.js +1 -1
- package/renderers/PieChartRenderer.d.ts +2 -1
- package/renderers/PieChartRenderer.js +1 -1
- package/renderers/support/AuthoringInfo.d.ts +2 -1
- package/renderers/support/AuthoringInfo.js +1 -1
- package/renderers/support/AuthoringInfoClassBreakInfo.d.ts +1 -1
- package/renderers/support/AuthoringInfoClassBreakInfo.js +1 -1
- package/renderers/support/AuthoringInfoFieldInfo.d.ts +3 -2
- package/renderers/support/AuthoringInfoFieldInfo.js +1 -1
- package/renderers/support/DictionaryScriptEvaluator.js +1 -1
- package/renderers/support/HeatmapLegendOptions.d.ts +1 -1
- package/renderers/support/HeatmapLegendOptions.js +1 -1
- package/renderers/support/OthersCategory.d.ts +1 -1
- package/renderers/support/OthersCategory.js +1 -1
- package/rest/featureService/types.d.ts +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToDataModelFactories.js +1 -1
- package/rest/support/ArealUnit.d.ts +1 -1
- package/rest/support/BaseImageMeasureResultValue.d.ts +1 -1
- package/rest/support/BaseImageMeasureResultValue.js +1 -1
- package/rest/support/BufferParameters.d.ts +1 -1
- package/rest/support/ClosestFacilityParameters.d.ts +1 -1
- package/rest/support/DataLayer.d.ts +1 -1
- package/rest/support/DensifyParameters.d.ts +1 -1
- package/rest/support/DirectionLine.d.ts +1 -1
- package/rest/support/DirectionPoint.d.ts +1 -1
- package/rest/support/DirectionsString.d.ts +1 -1
- package/rest/support/DistanceParameters.d.ts +1 -1
- package/rest/support/GPMessage.d.ts +1 -1
- package/rest/support/ImageAreaParameters.d.ts +1 -1
- package/rest/support/ImageAreaResult.d.ts +4 -2
- package/rest/support/ImageAreaResult.js +1 -1
- package/rest/support/ImageDistanceResult.d.ts +4 -2
- package/rest/support/ImageDistanceResult.js +1 -1
- package/rest/support/ImageHeightResult.d.ts +2 -1
- package/rest/support/ImageHeightResult.js +1 -1
- package/rest/support/ImageMeasureResultAngleValue.d.ts +3 -2
- package/rest/support/ImageMeasureResultAngleValue.js +1 -1
- package/rest/support/ImageMeasureResultAreaValue.d.ts +3 -2
- package/rest/support/ImageMeasureResultAreaValue.js +1 -1
- package/rest/support/ImageMeasureResultLengthValue.d.ts +4 -3
- package/rest/support/ImageMeasureResultLengthValue.js +1 -1
- package/rest/support/JobInfo.d.ts +1 -1
- package/rest/support/LinearUnit.d.ts +1 -1
- package/rest/support/LocateSetting.d.ts +1 -1
- package/rest/support/NAMessage.d.ts +1 -1
- package/rest/support/NetworkAttribute.d.ts +1 -1
- package/rest/support/OffsetParameters.d.ts +1 -1
- package/rest/support/PointBarrier.d.ts +1 -1
- package/rest/support/PolygonBarrier.d.ts +1 -1
- package/rest/support/PolylineBarrier.d.ts +1 -1
- package/rest/support/RouteParameters.d.ts +1 -1
- package/rest/support/ServiceAreaParameters.d.ts +1 -1
- package/rest/support/Stop.d.ts +1 -1
- package/rest/support/TravelMode.d.ts +1 -1
- package/smartMapping/renderers/pieChart.js +1 -1
- package/smartMapping/renderers/relationship.js +1 -1
- package/smartMapping/renderers/univariateColorSize.js +1 -1
- package/smartMapping/support/adapters/support/utils.js +1 -1
- package/support/revision.js +1 -1
- package/support/tests/meshUtils.js +1 -1
- package/symbols/ExtrudeSymbol3DLayer.d.ts +2 -1
- package/symbols/ExtrudeSymbol3DLayer.js +1 -1
- package/symbols/FillSymbol3DLayer.d.ts +4 -2
- package/symbols/FillSymbol3DLayer.js +1 -1
- package/symbols/IconSymbol3DLayer.d.ts +23 -4
- package/symbols/IconSymbol3DLayer.js +1 -1
- package/symbols/LineSymbol3DLayer.d.ts +2 -1
- package/symbols/LineSymbol3DLayer.js +1 -1
- package/symbols/ObjectSymbol3DLayer.d.ts +6 -3
- package/symbols/ObjectSymbol3DLayer.js +1 -1
- package/symbols/PathSymbol3DLayer.d.ts +2 -1
- package/symbols/PathSymbol3DLayer.js +1 -1
- package/symbols/TextSymbol3DLayer.d.ts +21 -3
- package/symbols/TextSymbol3DLayer.js +1 -1
- package/symbols/patterns/LinePattern3D.js +1 -1
- package/symbols/support/IconSymbol3DLayerResource.d.ts +1 -1
- package/symbols/support/IconSymbol3DLayerResource.js +1 -1
- package/symbols/support/ObjectSymbol3DLayerResource.d.ts +1 -1
- package/symbols/support/ObjectSymbol3DLayerResource.js +1 -1
- package/symbols/support/OccludedVisibility.d.ts +27 -0
- package/symbols/support/Symbol3DAnchorPosition2D.d.ts +1 -1
- package/symbols/support/Symbol3DAnchorPosition2D.js +1 -1
- package/symbols/support/Symbol3DAnchorPosition3D.d.ts +1 -1
- package/symbols/support/Symbol3DAnchorPosition3D.js +1 -1
- package/symbols/support/Symbol3DFillMaterial.d.ts +3 -2
- package/symbols/support/Symbol3DFillMaterial.js +1 -1
- package/symbols/support/Symbol3DHalo.d.ts +1 -1
- package/symbols/support/Symbol3DHalo.js +1 -1
- package/symbols/support/Symbol3DIconOutline.d.ts +1 -1
- package/symbols/support/Symbol3DIconOutline.js +1 -1
- package/symbols/support/Symbol3DMaterial.d.ts +1 -1
- package/symbols/support/Symbol3DMaterial.js +1 -1
- package/symbols/support/Symbol3DOutline.d.ts +1 -1
- package/symbols/support/Symbol3DOutline.js +1 -1
- package/symbols/support/Symbol3DTextBackground.d.ts +1 -1
- package/symbols/support/Symbol3DTextBackground.js +1 -1
- package/symbols/support/previewSymbol3D.js +1 -1
- package/symbols/support/primitives.js +5 -0
- package/symbols/support/types.d.ts +2 -0
- package/symbols/support/utils.js +1 -1
- package/views/2d/analysis/AnalysisView2D.d.ts +2 -2
- package/views/2d/analysis/AnalysisView2D.js +1 -1
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +1 -1
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.js +1 -1
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +1 -1
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.js +1 -1
- package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +1 -1
- package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
- package/views/2d/engine/Bitmap.js +1 -1
- package/views/2d/engine/Container.js +1 -1
- package/views/2d/engine/DisplayObject.js +1 -1
- package/views/2d/engine/brushes.js +1 -1
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/vectorTiles/GlyphMosaic.js +1 -1
- package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
- package/views/2d/engine/vectorTiles/TileParser.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileRendererHelper3D.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/FillBucket.js +1 -1
- package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
- package/views/2d/engine/webgl/ClipMesh.js +5 -0
- package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
- package/views/2d/engine/webgl/Overlay.js +1 -1
- package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
- package/views/2d/engine/webgl/SpriteMosaic.js +1 -1
- package/views/2d/engine/webgl/VideoScreenRenderer.js +1 -1
- package/views/2d/engine/webgl/WGLContainer.js +1 -1
- package/views/2d/engine/webgl/animations/store/AnimationStore.js +1 -1
- package/views/2d/engine/webgl/brushes/WGLBrushTileDebugInfo.js +1 -1
- package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/templateUtils.js +1 -1
- package/views/2d/engine/webgl/meshing/SimpleMesh.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TestTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TextureStatisticsTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedPolyMeshWriters.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/blend/BlendTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/clip/ClipTechnique.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/colorize/ColorizeTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityResources.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/drop-shadow/DropShadowTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/AFillMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/grid/GridTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapResources.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/LineTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/magnifier/MagnifierTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterRegistry.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/opacity/OpacityTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/overlay/OverlayTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterColorizerTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterHighlightTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/textureUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ClipShader.js +5 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/videoScreenRenderer/VideoScreenTechnique.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/engine/webgl/textureUtils.js +1 -1
- package/views/2d/layers/KMLLayerView2D.js +1 -1
- package/views/2d/layers/LayerView2D.js +1 -1
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/features/RenderState.js +1 -1
- package/views/2d/webglDeps.js +1 -1
- package/views/3d/analysis/AnalysisView3D.d.ts +2 -2
- package/views/3d/analysis/AnalysisView3D.js +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
- package/views/3d/analysis/DimensionAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/DimensionAnalysisView3D.js +1 -1
- package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.js +1 -1
- package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
- package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/analysis/SliceAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/SliceAnalysisView3D.js +1 -1
- package/views/3d/analysis/ViewshedAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementTool.js +1 -1
- package/views/3d/analysis/VolumeMeasurementAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
- package/views/3d/constraints/AltitudeConstraint.d.ts +1 -1
- package/views/3d/constraints/AltitudeConstraint.js +1 -1
- package/views/3d/constraints/ClipDistanceConstraint.d.ts +1 -1
- package/views/3d/constraints/ClipDistanceConstraint.js +1 -1
- package/views/3d/constraints/Constraints.d.ts +7 -4
- package/views/3d/constraints/Constraints.js +1 -1
- package/views/3d/constraints/TiltConstraint.d.ts +1 -1
- package/views/3d/constraints/TiltConstraint.js +1 -1
- package/views/3d/environment/LocalAtmosphere.js +1 -1
- package/views/3d/environment/MarsAtmosphere.js +1 -1
- package/views/3d/glTF/internal/Resource.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
- package/views/3d/interactive/editingTools/reshape/reshapeTooltipUtils3D.js +1 -1
- package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
- package/views/3d/layers/ElevationLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/PointCloudLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/ObjectSymbolLayerRenderer.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/factoryUtils.js +1 -1
- package/views/3d/layers/graphics/wosrLoader.js +1 -1
- package/views/3d/layers/i3s/meshUtils.js +1 -1
- package/views/3d/layers/support/MediaLayerInteractionOptions.d.ts +3 -2
- package/views/3d/layers/support/MediaLayerInteractionOptions.js +1 -1
- package/views/3d/layers/support/MediaLayerInteractionReshapeOptions.d.ts +1 -1
- package/views/3d/layers/support/MediaLayerInteractionReshapeOptions.js +1 -1
- package/views/3d/support/engineContent/marker.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeTexture.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatOrderTexture.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/TileCompositor.js +1 -1
- package/views/3d/terrain/TileRenderer.js +1 -1
- package/views/3d/webgl/ManagedColorAttachment.d.ts +2 -2
- package/views/3d/webgl/ManagedColorAttachment.js +1 -1
- package/views/3d/webgl/ManagedDepthAttachment.d.ts +2 -2
- package/views/3d/webgl/ManagedDepthAttachment.js +1 -1
- package/views/3d/webgl/ManagedDepthTexture.js +1 -1
- package/views/3d/webgl/ManagedFBO.d.ts +8 -6
- package/views/3d/webgl/ManagedFBO.js +1 -1
- package/views/3d/webgl/ManagedFBOAttachment.d.ts +2 -2
- package/views/3d/webgl/ManagedFBOAttachment.js +1 -1
- package/views/3d/webgl/ManagedFBOResource.d.ts +1 -1
- package/views/3d/webgl/ManagedFBOResource.js +1 -1
- package/views/3d/webgl-engine/collections/Component/IntersectionGeometry.js +1 -1
- package/views/3d/webgl-engine/core/FBOCache.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +55 -23
- package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
- package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
- package/views/3d/webgl-engine/lib/BasisUtil.js +1 -1
- package/views/3d/webgl-engine/lib/DDSUtil.js +1 -1
- package/views/3d/webgl-engine/lib/DrapedHeatmapRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
- package/views/3d/webgl-engine/lib/ManagedTexture.js +1 -1
- package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBuffer.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/strokes.js +1 -1
- package/views/3d/webgl-engine/lib/glUtil3D.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/WaterTextureRepository.js +1 -1
- package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
- package/views/3d/webgl-engine/materials/stippleTextureRepository.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
- package/views/DOMContainer.d.ts +1 -2
- package/views/MapView.d.ts +10 -15
- package/views/PopupView.d.ts +6 -6
- package/views/SceneView.d.ts +3 -4
- package/views/SceneView.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/View.d.ts +11 -13
- package/views/View2D.d.ts +37 -37
- package/views/analysis/AnalysisView.d.ts +1 -1
- package/views/analysis/AnalysisView.js +1 -1
- package/views/draw/{input/CursorUpdateEvent.d.ts → CursorUpdateEvent.d.ts} +1 -1
- package/views/draw/{input/CursorUpdateEvent.js → CursorUpdateEvent.js} +1 -1
- package/views/draw/{input/DrawCompleteEvent.d.ts → DrawCompleteEvent.d.ts} +1 -1
- package/views/draw/{input/DrawCompleteEvent.js → DrawCompleteEvent.js} +1 -1
- package/views/draw/DrawGraphicTool.js +1 -1
- package/views/draw/MultipointDrawAction.d.ts +4 -4
- package/views/draw/MultipointDrawAction.js +1 -1
- package/views/draw/PointDrawAction.d.ts +2 -2
- package/views/draw/PointDrawAction.js +1 -1
- package/views/draw/PolygonDrawAction.d.ts +4 -4
- package/views/draw/PolygonDrawAction.js +1 -1
- package/views/draw/PolylineDrawAction.d.ts +4 -4
- package/views/draw/PolylineDrawAction.js +1 -1
- package/views/draw/SegmentDrawAction.d.ts +3 -3
- package/views/draw/SegmentDrawAction.js +1 -1
- package/views/draw/{input/VertexAddEvent.d.ts → VertexAddEvent.d.ts} +1 -1
- package/views/draw/{input/VertexAddEvent.js → VertexAddEvent.js} +1 -1
- package/views/draw/{input/VertexRemoveEvent.d.ts → VertexRemoveEvent.d.ts} +1 -1
- package/views/draw/VertexRemoveEvent.js +5 -0
- package/views/draw/support/Reshape.js +1 -1
- package/views/draw/support/reshapeTooltipUtils.js +1 -1
- package/views/draw/support/tooltipUtils.js +1 -1
- package/views/interactive/sketch/Units.d.ts +3 -0
- package/views/layers/HighlightLayerViewMixin.d.ts +1 -3
- package/views/layers/ImageryLayerViewMixin.d.ts +1 -3
- package/views/layers/KMLLayerView.d.ts +1 -1
- package/views/layers/MediaLayerViewMixin.d.ts +3 -2
- package/views/layers/MediaLayerViewMixin.js +1 -1
- package/views/support/GeodesicMeasurementWorker.js +5 -0
- package/views/support/GeodesicMeasurementWorkerHandle.js +5 -0
- package/views/support/HighlightOptions.d.ts +0 -1
- package/views/support/TextureCompressionHelper.js +1 -1
- package/views/support/automaticAreaMeasurementUtils.js +1 -1
- package/views/support/imageReprojection.js +1 -1
- package/views/types.d.ts +1 -1
- package/views/webgl/FramebufferObject.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/views/webgl/Texture.js +1 -1
- package/views/webgl/rasterUtils.js +1 -1
- package/views/webgl/testSVGPremultipliedAlpha.js +1 -1
- package/views/webgl/textureTracer.js +5 -0
- package/webdoc/support/SlideThumbnail.d.ts +1 -1
- package/webdoc/support/SlideThumbnail.js +1 -1
- package/webmap/Bookmark.d.ts +2 -1
- package/webmap/Bookmark.js +1 -1
- package/webmap/Version.d.ts +2 -2
- package/webmap/Version.js +1 -1
- package/webmap/utils.js +1 -1
- package/webscene/Slide.d.ts +6 -3
- package/webscene/Slide.js +1 -1
- package/webscene/Version.d.ts +2 -2
- package/webscene/Version.js +1 -1
- package/webscene/spec-certification/api.js +1 -1
- package/webscene/support/SlideEnvironment.d.ts +1 -1
- package/webscene/support/SlideEnvironment.js +1 -1
- package/webscene/support/SlideVisibleLayer.d.ts +1 -1
- package/webscene/support/SlideVisibleLayer.js +1 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +1 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.js +1 -1
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +1 -1
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
- package/widgets/BatchAttributeForm/VisibleElements.d.ts +1 -1
- package/widgets/BatchAttributeForm/VisibleElements.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm.d.ts +2 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Bookmarks/BookmarksViewModel.js +1 -1
- package/widgets/Bookmarks.js +1 -1
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +1 -1
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +1 -1
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/FeatureTable/ActionColumn.d.ts +1 -1
- package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +2 -2
- package/widgets/FeatureTable/FieldColumn.d.ts +1 -1
- package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
- package/widgets/FeatureTable/support/FieldColumnTemplate.d.ts +1 -1
- package/widgets/FeatureTable/support/GroupColumnTemplate.d.ts +1 -1
- package/widgets/FeatureTable/support/TableTemplate.d.ts +1 -1
- package/widgets/FeatureTable/support/{interfaces.d.ts → types.d.ts} +1 -1
- package/widgets/FeatureTable.d.ts +2 -2
- package/widgets/LineOfSight/LineOfSightViewModel.d.ts +1 -1
- package/widgets/LineOfSight/LineOfSightViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
- package/widgets/PanoramicViewer/support/importUtils.js +1 -1
- package/widgets/Print/PrintViewModel.d.ts +1 -1
- package/widgets/Sketch/CreateToolVisibilityMap.d.ts +1 -1
- package/widgets/Sketch/CreateToolVisibilityMap.js +1 -1
- package/widgets/Sketch/SelectionToolVisibilityMap.d.ts +1 -1
- package/widgets/Sketch/SelectionToolVisibilityMap.js +1 -1
- package/widgets/Sketch/VisibleElements.d.ts +5 -3
- package/widgets/Sketch/VisibleElements.js +1 -1
- package/widgets/Sketch.d.ts +2 -1
- package/widgets/Sketch.js +1 -1
- package/widgets/Slice/SliceViewModel.d.ts +1 -1
- package/widgets/Slice/SliceViewModel.js +1 -1
- package/widgets/UtilityNetworkAssociations.js +1 -1
- package/widgets/support/AnalysisViewModel.d.ts +1 -1
- package/widgets/support/AnalysisViewModel.js +1 -1
- package/widgets/support/InteractiveToolViewModel.d.ts +1 -1
- package/widgets/support/InteractiveToolViewModel.js +1 -1
- package/assets/esri/core/libs/libtess/libtess.wasm +0 -0
- package/assets/esri/core/workers/chunks/00e407d262c49890afa8.js +0 -1
- package/assets/esri/core/workers/chunks/19db60a3b4b09d445bd1.js +0 -1
- package/assets/esri/core/workers/chunks/1e55f152b60145f33b61.js +0 -1
- package/assets/esri/core/workers/chunks/294acaaebfedb05fe81e.js +0 -1
- package/assets/esri/core/workers/chunks/31eda00e6842005d0ec8.js +0 -1
- package/assets/esri/core/workers/chunks/3d49c6427120edc8eac9.js +0 -1
- package/assets/esri/core/workers/chunks/404229f10aef5ac23c87.js +0 -1
- package/assets/esri/core/workers/chunks/4278b35fb6fd578c403e.js +0 -1
- package/assets/esri/core/workers/chunks/46b63a65484b102e9ccb.js +0 -1
- package/assets/esri/core/workers/chunks/4f03d19a70dca6c507be.js +0 -316
- package/assets/esri/core/workers/chunks/5686220aed9a74dbd2b1.js +0 -1
- package/assets/esri/core/workers/chunks/5a2933ae19345b7d5aa7.js +0 -1
- package/assets/esri/core/workers/chunks/5e9fdd4eff7189f45932.js +0 -1
- package/assets/esri/core/workers/chunks/67a45faa80316f43c51b.js +0 -1
- package/assets/esri/core/workers/chunks/68ee11589de0da7fed08.js +0 -1
- package/assets/esri/core/workers/chunks/82ced9254b27707522ef.js +0 -1
- package/assets/esri/core/workers/chunks/bb5373ff7cdad7270095.js +0 -1
- package/assets/esri/core/workers/chunks/bddaa83fcb9fdb1e1856.js +0 -1
- package/assets/esri/core/workers/chunks/d048e4926e78458afa3e.js +0 -1
- package/assets/esri/core/workers/chunks/d199deff988eaefe18b4.js +0 -1
- package/assets/esri/core/workers/chunks/d77f56576a49a998164a.js +0 -1
- package/assets/esri/core/workers/chunks/dae09fb8da0faa6dede4.js +0 -1
- package/assets/esri/core/workers/chunks/e16e88de4e93b0f48b2c.js +0 -1
- package/chunks/libtess-asm.js +0 -5
- package/chunks/libtess.js +0 -5
- package/layers/BlendMode.d.ts +0 -2
- package/layers/LayerListMode.d.ts +0 -2
- package/layers/LayerType.d.ts +0 -2
- package/popup/content/support/mediaInfoTypes.d.ts +0 -7
- package/support/modeUtils.d.ts +0 -2
- package/views/SelectionManager.d.ts +0 -1
- package/views/draw/input/VertexRemoveEvent.js +0 -5
- package/views/webgl/Texture.d.ts +0 -6
- /package/portal/{interfaces.d.ts → types.d.ts} +0 -0
- /package/rest/support/{interfaces.d.ts → types.d.ts} +0 -0
- /package/views/draw/{input/VertexUpdateEvent.js → VertexUpdateEvent.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3367],{2272:(e,t,n)=>{n.d(t,{Dl:()=>u,gf:()=>f,jV:()=>a,lF:()=>c});var r=n(92602),i=n(70333),s=n(4718),o=n(84952),l=n(926);function a(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,s.o8)(e)}function c(e,t,n){const r={};for(const i in e){if("declaredClass"===i)continue;const s=e[i];if(null!=s&&"function"!=typeof s)if(Array.isArray(s))r[i]=s.map(e=>c(e));else if("object"==typeof s)if(s.toJSON){const e=s.toJSON(n?.[i]);r[i]=t?e:JSON.stringify(e)}else r[i]=t?s:JSON.stringify(s);else r[i]=s}return r}async function f(e,t,s){const o=function(e,t){return e?t&&(0,l.Qc)(e)?t:(0,l.CG)(e)??i.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!i.id&&r.A.request.useIdentity&&await Promise.all([n.e(7330),n.e(168),n.e(148)]).then(n.bind(n,50148));const a=await i.id.getCredential(e,s);return a?.token}},3367:(e,t,n)=>{n.d(t,{A:()=>A,B:()=>T,P:()=>m,g:()=>b,r:()=>v});var r=n(48938),i=n(66395),s=n(85935),o=n(78878),l=n(49186),a=n(53966),u=n(91869),c=n(20655),f=n(45475),d=n(67090),p=n(62791),y=n(14942),h=n(54218);class m{constructor(e,t){this.portal=e,this._debugLog=t}async translate(e){this.portal.loaded||await this.portal.load();const t=this.portal.helperServices?.aiUtilityServices;if(null==t)return{success:!1};const n=t.url+t.translateUtility;try{return e.requestSource??="arcade",{success:!0,results:(await(0,f.T)(n,e,{authMode:"no-prompt"})).map(e=>e.toJSON())}}catch(e){return null!=this._debugLog&&(e instanceof Error||e instanceof l.A)&&this._debugLog(`TranslateText error: ${e.message}`),a.A.getLogger("esri.arcade.functions.aiServices").error(e),{success:!1}}}}class g{constructor(e,t,n){this._parameters=e,this._maxTotalContentSize=t,this._maxContentsLength=n,this._requests=[],this._normalizedContents=new Map,this._contentsTotalSize=0}tryAdd(e){const t=new Set(e.filter(e=>!this._normalizedContents.has(e.text)).map(e=>e.text));if(this._requests.length+t.size>this._maxContentsLength)return null;let n=0;for(const e of t)n+=e.length;if((n+this._contentsTotalSize)*(this._parameters.to.length??1)>this._maxTotalContentSize)return null;const r=this._requests.length;for(const{key:t,text:n}of e)(0,u.tE)(this._normalizedContents,n,()=>[]).push({batchIdx:r,key:t});return this._requests.push(e),this._contentsTotalSize+=n,r}async send(e){const t=[],n=[];let r=0;for(const[e,i]of this._normalizedContents)t.push(new d.A({key:String(r++),text:e})),n.push(i);const i=new p.A(this._parameters);i.contents=t;const s=await e.translate(i);if(!s.success)return Array.from(this._requests,()=>s);const o=Array.from(this._requests,()=>({success:!0,results:[]}));for(const e of s.results){const t=Number(e.key);for(const r of n[t])o[r.batchIdx].results.push({...e,key:r.key})}return o}}function b(e){const t=[...new Set(e.to)].sort(),n=e.from??null,r=e.portalUrl,i=e.translator,s=e.apiKey??null;return JSON.stringify([t,n,r,i,s])}async function S(e,t,n){try{return(await e.yieldFor(n))[t]}catch{return{success:!1}}}class T{constructor(e,t,{maxTotalContentSize:n=5e4,maxContentsLength:r=1e3}={}){this._executor=e,this._service=t,this._openBatches=new Map,this._maxTotalContentSize=n,this._maxContentsLength=r}create(e){return{translate:async t=>{const n=b(t),{contents:r,to:i,from:s,translator:o,portalUrl:l,apiKey:a}=t;if(null==i)return{success:!1};if(null==r||r.every(e=>0===e.text.length))return{success:!1};const u=this._openBatches.get(n);if(null!=u){const t=u.data.tryAdd(r);if(null!=t)return await S(e,t,u);u.send()}const c=new g({to:i,from:s,translator:o,portalUrl:l,apiKey:a},this._maxTotalContentSize,this._maxContentsLength),f=c.tryAdd(r);if(null!=f){const t=this._executor.openBatch(c,{open:e=>{this._openBatches.set(n,e)},execute:e=>e.send(this._service),close:e=>{this._openBatches.get(n)===e&&this._openBatches.delete(n)}});return await S(e,f,t)}return await this._service.translate(t)}}}}function v(e){"async"===e.mode&&(e.functions[(0,r.X)("TranslateText")]=function(t,n){return e.standardFunctionAsync(t,n,async(e,t,n)=>{if((0,o.B)(n,2,3,e,t),!(0,h.Kg)(n[0])&&!(0,h.cy)(n[0])&&!(0,o.j)(n[0]))throw new s.D$(e,"InvalidParameter",t);const r=(0,o.N)(n[0]);if(!(0,h.Kg)(n[1])&&!(0,h.cy)(n[1])&&!(0,o.j)(n[1]))throw new s.D$(e,"InvalidParameter",t);const l=(0,o.N)(n[1]);let a=null;if(n.length>=3){if(!(0,h.Kg)(n[2]))throw new s.D$(e,"InvalidParameter",t);a=n[2]}const u=r.map((e,t)=>new d.A({key:String(t),text:e})),f=e.services?.portal??c.A.getDefault(),g=new p.A({to:l,contents:u,from:a,portalUrl:f.restUrl.replace(/\/sharing\/rest$/,"")}),S=new Map;let T=null;if(null!=e.lrucache){const t=e.lrucache;T??=b(g),g.contents=g.contents?.filter(e=>{const n=t.getCachedTranslation(T,e.text);return null==n||(S.set(e.key,{...n,key:e.key,text:e.text}),!1)})}if(g.contents?.length){const t=e.services?.translation??new m(f,e.console),n=await t.translate(g);if(!n.success)return new i.A({__proto__:null,success:!1});for(const t of n.results){const n=g.contents?.find(e=>e.key===t.key)?.text;if(null==n)throw new s.D$(null,"NeverReach",null);S.set(t.key,t),null!=e.lrucache&&(T??=b(g),e.lrucache.setCachedTranslation(T,n,{detectedLanguage:t.detectedLanguage,translation:t.translation}))}}const v=Array.from(u,t=>{const n=y.A.fromJSON(S.get(t.key));if(null==n)throw new s.D$(null,"NeverReach",null);return n.text=t.text,i.A.convertJsonToArcade(n.toJSON(),e.timeZone??"system",!0)});return new i.A({__proto__:null,success:!0,results:v})})})}const A=Object.freeze(Object.defineProperty({__proto__:null,BatchTranslationServiceFactory:T,PortalTranslationService:m,getTranslateParametersKey:b,registerFunctions:v},Symbol.toStringTag,{value:"Module"}))},6800:(e,t,n)=>{n.d(t,{G:()=>a,y:()=>o});var r=n(99719),i=n(78878),s=n(54218);function o(e){l=e}let l;function a(e){return null===e?null:(0,i.e)(e)?e.clone():(0,i.d)(e)?e:(0,i.h)(e)?e.clone():(0,i.j)(e)?e.toArray().map(e=>a(e)):(0,s.cy)(e)?e.map(e=>a(e)):(0,i.k)(e)?l.createFromArcadeFeature(e):(0,i.l)(e)||(0,i.m)(e)?e:(0,i.n)(e)||"esri.arcade.Attachment"===e?.declaredClass?e.deepClone():("esri.arcade.Portal"===e?.declaredClass||(0,i.o)(e)||e instanceof r.x||(0,i.i)(e),e)}},7320:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(93818),i=n(86738);class s extends r.A{constructor(e,t,n,r,i,s){super(e),this._lazyPt=[],this._hasZ=!1,this._hasM=!1,this._spRef=t,this._hasZ=n,this._hasM=r,this._cacheId=i,this._partId=s}get(e){if(void 0===this._lazyPt[e]){const t=this._elements[e];if(void 0===t)return;const n=new i.A(t[0],t[1],this._spRef);this._hasZ&&(n.z=t[2]),this._hasM&&(n.m=this._hasZ?t[3]:t[2]),n.cache._arcadeCacheId=this._cacheId.toString()+"-"+this._partId.toString()+"-"+e.toString(),this._lazyPt[e]=n}return this._lazyPt[e]}equalityTest(e){return e===this||null!==e&&e instanceof s!=0&&e.getUniqueHash()===this.getUniqueHash()}getUniqueHash(){return this._cacheId.toString()+"-"+this._partId.toString()}}},7335:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(93818),i=n(7320);class s extends r.A{constructor(e,t,n,r,i){super(e),this._lazyPath=[],this._hasZ=!1,this._hasM=!1,this._hasZ=n,this._hasM=r,this._spRef=t,this._cacheId=i}get(e){if(void 0===this._lazyPath[e]){const t=this._elements[e];if(void 0===t)return;this._lazyPath[e]=new i.A(t,this._spRef,this._hasZ,this._hasM,this._cacheId,e)}return this._lazyPath[e]}equalityTest(e){return e===this||null!==e&&e instanceof s!=0&&e.getUniqueHash()===this.getUniqueHash()}getUniqueHash(){return this._cacheId.toString()}}},8631:(e,t,n)=>{n.d(t,{rS:()=>d,gK:()=>f}),n(44208);var r,i=n(53177),s=n(76357),o=n(31635),l=n(91429),a=n(93223);let u=class extends s.A{static{r=this}constructor(e){super(e),this.type="inherited"}clone(){return new r}};(0,o.Cg)([(0,a.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=r=(0,o.Cg)([(0,l.$K)("esri.layers.support.InheritedDomain")],u);var c=n(41628);const f={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:u}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},14607:(e,t,n)=>{n.d(t,{B:()=>u,GP:()=>l,qg:()=>c});var r=n(799),i=n(73444);const s={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in s;if(!t){const n=e.split("-");n.length>1&&n[0]in s&&(e=n[0],t=!0),t||(e="en")}const[n,r,o="#,##0.###"]=s[e];return{decimal:n,group:r,pattern:o}}function l(e,t){const n=o((t={...t}).locale);t.customs=n;const r=t.pattern||n.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,n){const r=(n=n||{}).customs.group,i=n.customs.decimal,s=t.split(";"),o=s[0];if((t=s[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const l=a,u=o.match(l);if(!u)throw new Error("unable to find a number expression in pattern: "+t);return!1===n.fractional&&(n.places=0),t.replace(l,function(e,t,n){!0===(n=n||{}).places&&(n.places=0),n.places===1/0&&(n.places=6);const r=t.split("."),i="string"==typeof n.places&&n.places.indexOf(",");let s=n.places;i?s=n.places.slice(i+1):+s>=0||(s=(r[1]||[]).length),n.round<0||(e=Number(e.toFixed(Number(s))));const o=String(Math.abs(e)).split("."),l=o[1]||"";if(r[1]||n.places){i&&(n.places=n.places.slice(0,Math.max(0,i)));const e=void 0!==n.places?n.places:r[1]&&r[1].lastIndexOf("0")+1;+e>l.length&&(o[1]=l.padEnd(Number(e),"0")),+s<l.length&&(o[1]=l.slice(0,Math.max(0,Number(s))))}else o[1]&&o.pop();const a=r[0].replace(",","");let u=a.indexOf("0");-1!==u&&(u=a.length-u,u>o[0].length&&(o[0]=o[0].padStart(u,"0")),a.includes("#")||(o[0]=o[0].slice(-u)));let c,f,d=r[0].lastIndexOf(",");if(-1!==d){c=r[0].length-d-1;const e=r[0].slice(0,d);d=e.lastIndexOf(","),-1!==d&&(f=e.length-d-1)}const p=[];for(let e=o[0];e;){const t=e.length-c;p.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",f&&(c=f,f=void 0)}return o[0]=p.reverse().join(n.group||","),o.join(n.decimal||".")}(e,u[0],{decimal:i,group:r,places:n.places,round:n.round}))}(e,r,t)}const a=/[#0,]*[#0](?:\.0*#*)?/;function u(e){const t=o((e=e||{}).locale),n=e.pattern||t.pattern,i=t.group,s=t.decimal;let l=1;if(n.includes("%"))l/=100;else if(n.includes("‰"))l/=1e3;else if(n.includes("¤"))throw new Error("currency notation not supported");const u=n.split(";");1===u.length&&u.push("-"+u[0]);const c=d(u,t=>(t="(?:"+(0,r.Cj)(t,".")+")").replace(a,t=>{const n={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:s,exponent:!1},r=t.split(".");let o=e.places;1===r.length&&1!==l&&(r[1]="###"),1===r.length||0===o?n.fractional=!1:(void 0===o&&(o=e.pattern?r[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(n.fractional=!0),!e.places&&+o<r[1].length&&(o+=","+r[1].length),n.places=o);const a=r[0].split(",");return a.length>1&&(n.groupSize=a.pop().length,a.length>1&&(n.groupSize2=a.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=f(e),n=d(e.fractional,t=>{let n="";return t&&0!==e.places&&(n="\\"+e.decimal,e.places===1/0?n="(?:"+n+"\\d+)?":n+="\\d{"+e.places+"}"),n},!0);let r=t+n;return n&&(r="(?:(?:"+r+")|(?:"+n+"))"),r+d(e.exponent,t=>t?"([eE]"+f({signed:e.eSigned})+")":"")}(n)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:s,factor:l}}function c(e,t){const n=u(t),r=new RegExp("^"+n.regexp+"$").exec(e);if(!r)return NaN;let i=r[1];if(!r[1]){if(!r[2])return NaN;i=r[2],n.factor*=-1}return i=i.replaceAll(new RegExp("["+n.group+"\\s\\xa0]","g"),"").replace(n.decimal,"."),Number(i)*n.factor}function f(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",d(e.signed,e=>e?"[-+]":"",!0)+d(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,r.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const n=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+n+"})";return n-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(n-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(n-1)+"}(?:["+t+"]\\d{"+n+"})*)"},!0)}const d=(e,t,n)=>{if(!Array.isArray(e))return t(e);const r=[];for(let n=0;n<e.length;n++)r.push(t(e[n]));return p(r.join("|"),Boolean(n))},p=(e,t)=>"("+(t?"?:":"")+e+")"},14942:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(31635),i=n(25482),s=n(10107),o=n(64108);let l=class extends i.o{constructor(e){super(e),this.text=null,this.detectedLanguage="en",this.detectedLanguageScore=-1}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"key",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"text",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{read:{source:"detectedLanguage.language"},write:{target:"detectedLanguage.language"}}})],l.prototype,"detectedLanguage",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{read:{source:"detectedLanguage.score"},write:{target:"detectedLanguage.score"}}})],l.prototype,"detectedLanguageScore",void 0),(0,r.Cg)([(0,s.MZ)({type:Object,json:{write:!0}})],l.prototype,"translation",void 0),l=(0,r.Cg)([(0,o.$)("esri.rest.support.TranslateResult")],l)},20437:(e,t,n)=>{n.d(t,{A:()=>y});var r,i=n(31635),s=n(66552),o=n(25482),l=n(91429),a=n(56507),u=n(8631),c=n(98453),f=n(36005),d=n(93223);const p=new s.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let y=class extends o.o{static{r=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?.value??null}readValueType(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?p.fromJSON(n.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,l.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,l.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,f.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,l.MZ)({types:u.gK,json:{read:{reader:u.rS},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,l.MZ)({type:a.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,d.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,f.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=r=(0,i.Cg)([(0,l.$K)("esri.layers.support.Field")],y)},24097:(e,t,n)=>{n.d(t,{K:()=>r});const r={type:String,json:{read:{source:"token"},write:{target:"token"}}}},33325:(e,t,n)=>{n.d(t,{$P:()=>c,At:()=>b,JB:()=>T,Lk:()=>f,Qi:()=>S,eB:()=>v,eg:()=>y,f0:()=>p,gO:()=>h,ik:()=>m,ke:()=>a,nE:()=>u,rX:()=>d,yT:()=>g});var r=n(66131),i=n(44729),s=n(15032),o=n(20437),l=n(28097);function a(e){return o.A.fromJSON(e.toJSON())}function u(e){return e.toJSON?e.toJSON():e}function c(e){return e instanceof Date}function f(e){return e instanceof l.c9}function d(e){return e instanceof r.lY}function p(e){return e instanceof i.n}function y(e){return e instanceof s.k}const h=1e3,m={point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},g={point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"},b={"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"};function S(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function T(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const n="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(i=t.cmp,function(e){return function(t,n){const r={key:t,value:e[t]},s={key:n,value:e[n]};return i(r,s)}});var i;const s=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(s.includes(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const l=s.push(t)-1,a=Object.keys(t).sort(r?.(t));for(o="",i=0;i<a.length;i++){const n=a[i],r=e(t[n]);r&&(o&&(o+=","),o+=JSON.stringify(n)+":"+r)}return s.splice(l,1),"{"+o+"}"}(e)}function v(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}},39357:(e,t,n)=>{n.d(t,{H:()=>l});var r,i=n(31635),s=n(25482),o=n(91429);let l=r=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],l.prototype,"code",void 0),l=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],l)},41628:(e,t,n)=>{n.d(t,{A:()=>a});var r,i=n(31635),s=n(91429),o=n(76357),l=n(93223);let a=class extends o.A{static{r=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new r({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,n){t[n]=[this.minValue||0,e]},isRequired:!0}}})],a.prototype,"maxValue",void 0),(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,n){t[n]=[e,this.maxValue||0]},isRequired:!0}}})],a.prototype,"minValue",void 0),(0,i.Cg)([(0,l.e)({range:"range"})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],a)},45475:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(11254),i=n(2272),s=n(14942);async function o(e,t,n){const o=t.toJSON();o.contents=JSON.stringify(o.contents),o.token=await(0,i.gf)(t.portalUrl,t.apiKey,{signal:n?.signal,prompt:"no-prompt"!==n?.authMode});const l=(0,i.Dl)(e),a=(0,i.jV)(l.query,{...n,query:o,method:"post",authMode:"anonymous"});return(await(0,r.A)(l.path,a)).data.results.map(e=>s.A.fromJSON(e))}},48938:(e,t,n)=>{n.d(t,{X:()=>i,_:()=>s});var r=n(85935);function i(e){if("string"==typeof e)return e.toLowerCase();if("name"in e)return e.name.toLowerCase();if("string"!=typeof e.value)throw new r.D$(null,"InvalidIdentifier",null);return e.value.toLowerCase()}const s=Object.freeze({aborted:!1})},53177:(e,t,n)=>{n.d(t,{A:()=>c});var r,i=n(31635),s=n(4718),o=n(91429),l=n(39357),a=n(76357),u=n(93223);let c=class extends a.A{static{r=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const n=String(e);this.codedValues.some(e=>(String(e.code)===n&&(t=e.name),!!t))}return t}clone(){return new r({codedValues:(0,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[l.H],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},60408:(e,t,n)=>{function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function l(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":l(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function f(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>c,Rg:()=>o,U9:()=>i,W0:()=>f,ZC:()=>r,fT:()=>s,uW:()=>a})},62791:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(31635),i=n(25482),s=n(10107),o=n(64108),l=n(24097),a=n(67090);let u=class extends i.o{constructor(e){super(e),this.to=null,this.contents=null,this.portalUrl="https://www.arcgis.com",this.translator="esri",this.from=null,this.apiKey=null,this.requestSource=null}};(0,r.Cg)([(0,s.MZ)({type:[String],json:{write:!0}})],u.prototype,"to",void 0),(0,r.Cg)([(0,s.MZ)({type:[a.A],json:{write:!0}})],u.prototype,"contents",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"portalUrl",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0,default:"esri"}})],u.prototype,"translator",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"from",void 0),(0,r.Cg)([(0,s.MZ)(l.K)],u.prototype,"apiKey",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"x-esri-request-source"}})],u.prototype,"requestSource",void 0),u=(0,r.Cg)([(0,o.$)("esri.rest.support.TranslateParameters")],u)},65864:(e,t,n)=>{n.d(t,{rS:()=>c,xD:()=>d});var r=n(5443),i=n(91075),s=n(48526),o=n(86738),l=n(39829),a=n(82799),u=n(60408);function c(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?a.A.fromJSON(e):(0,u.Bi)(e)?l.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?r.A.fromJSON(e):null}const f={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:l.A};function d(e){return e&&f[e]||null}},66395:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(66131),i=n(6800),s=n(85935),o=n(78878),l=n(91075),a=n(54218);function u(e,t,n=!1,r=!1){if(null==e)return null;if((0,a.Et)(e)||(0,a.Lm)(e)||(0,a.Kg)(e)||(0,o.e)(e)||(0,o.f)(e)||(0,o.g)(e))return e;if((0,a.cy)(e)){const i=[];for(const s of e)i.push(u(s,t,n,r));return i}if(r&&(0,o.h)(e))return e;const i=new c;i.immutable=!1;for(const[s,o]of Object.entries(e))void 0!==o&&i.setField(s,u(o,t,n,r));return i.immutable=n,i}class c{constructor(e){this.declaredClass="esri.arcade.Dictionary",this.plain=!1,this.immutable=!0,e instanceof c?this.attributes=e.attributes:null==e?this.attributes=Object.create(null):null!=Object.getPrototypeOf(e)?this.attributes={__proto__:null,...e}:this.attributes=e}static containerEntry(e,t){return new c({__proto__:null,key:e,value:t})}static textFormatting(){const e=new c({__proto__:null,newline:"\n",tab:"\t",singlequote:"'",doublequote:'"',forwardslash:"/",backwardslash:"\\"});return e.immutable=!1,e}field(e){const t=e.toLowerCase(),n=this.attributes[e];if(void 0!==n)return n;for(const e in this.attributes)if(e.toLowerCase()===t)return this.attributes[e];throw new s.D$(null,"FieldNotFound",null,{key:e})}setField(e,t){if(this.immutable)throw new s.D$(null,"Immutable",null);if((0,o.i)(t))throw new s.D$(null,"NoFunctionInDictionary",null);const n=e.toLowerCase();if(t instanceof Date&&(t=r.lY.dateJSToArcadeDate(t)),void 0===this.attributes[e]){for(const e in this.attributes)if(e.toLowerCase()===n)return void(this.attributes[e]=t);this.attributes[e]=t}else this.attributes[e]=t}eraseField(e){if(this.immutable)throw new s.D$(null,"Immutable",null);if(e in this.attributes)return void delete this.attributes[e];const t=e.toLowerCase();for(const e in this.attributes)if(e.toLowerCase()===t)return void delete this.attributes[e]}hasField(e){const t=e.toLowerCase();if(void 0!==this.attributes[e])return!0;for(const e in this.attributes)if(e.toLowerCase()===t)return!0;return!1}keys(){let e=[];for(const t in this.attributes)e.push(t);return e=e.sort(),e}values(){return this.keys().map(e=>this.attributes[e])}entryCount(){return Object.keys(this.attributes).length}isEmpty(){return this.entryCount()<=0}castToText(e=!1){return(0,o.c)(this.attributes,{useNumbersForDates:e})}static convertObjectToArcadeDictionary(e,t,n=!0,r=!1){const i=new c;i.immutable=!1;for(const s in e){const o=e[s];void 0!==o&&i.setField(s.toString(),u(o,t,n,r))}return i.immutable=n,i}static convertJsonToArcade(e,t,n=!1,r=!1){return u(e,t,n,r)}castAsJson(e=null){const t=Object.create(null);for(let n in this.attributes){const r=this.attributes[n];void 0!==r&&(e?.keyTranslate&&(n=e.keyTranslate(n)),t[n]=(0,o.a)(r,e))}return t}async castDictionaryValueAsJsonAsync(e,t,n,r=null,i){const s=await(0,o.b)(n,r,i);return e[t]=s,s}async castAsJsonAsync(e=null,t=null){const n=Object.create(null),i=[];for(let s in this.attributes){const a=this.attributes[s];t?.keyTranslate&&(s=t.keyTranslate(s)),void 0!==a&&((0,o.d)(a)||a instanceof l.A||a instanceof r.lY?n[s]=(0,o.a)(a,t):i.push(this.castDictionaryValueAsJsonAsync(n,s,a,e,t)))}return i.length>0&&await Promise.all(i),n}deepClone(){const e=new c;e.immutable=!1;for(const t of this.keys())e.setField(t,(0,i.G)(this.field(t)));return e}}},67090:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(31635),i=n(25482),s=n(10107),o=n(64108);let l=class extends i.o{constructor(e){super(e)}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"key",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"text",void 0),l=(0,r.Cg)([(0,o.$)("esri.rest.support.TranslateContent")],l)},76357:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(31635),i=n(66552),s=n(25482),o=n(91429),l=n(93223);const a=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,l.e)(a),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,r.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},78878:(e,t,n)=>{n.d(t,{$:()=>M,A:()=>k,B:()=>ee,C:()=>Ne,D:()=>ge,E:()=>xe,F:()=>Fe,G:()=>_e,H:()=>me,I:()=>O,J:()=>P,K:()=>Ve,L:()=>te,M:()=>L,N:()=>Oe,O:()=>I,P:()=>he,Q:()=>se,R:()=>_,S:()=>ne,T:()=>Ie,U:()=>Ee,V:()=>Re,W:()=>Ke,X:()=>Ge,Y:()=>be,Z:()=>V,_:()=>K,a:()=>Me,a0:()=>ze,a1:()=>fe,a2:()=>Pe,a3:()=>De,a4:()=>ve,a5:()=>Se,a6:()=>Te,b:()=>Le,c:()=>ue,d:()=>j,e:()=>H,f:()=>X,g:()=>W,h:()=>R,i:()=>J,j:()=>U,k:()=>E,l:()=>Y,m:()=>z,n:()=>q,o:()=>B,p:()=>$e,q:()=>G,r:()=>ye,s:()=>ce,t:()=>de,u:()=>le,v:()=>Z,w:()=>ae,x:()=>ke,y:()=>$,z:()=>D});var r=n(92602),i=n(70333),s=n(66131),o=n(99719),l=n(85935),a=n(92400),u=n(93818),c=n(7335),f=n(7320),d=n(33325),p=n(14607),y=n(44729),h=n(15032),m=n(5443),g=n(91075),b=n(48526),S=n(86738),T=n(39829),v=n(82799),A=n(16930),w=n(95108),N=n(65864),C=n(73444),x=n(54218),F=n(28097);class _{constructor(e){this.value=e}}class O{constructor(e){this.value=e}}const Z={type:"VOID"},D=Symbol("BREAK"),k=Symbol("CONTINUE");function M(e,t,n){return""===t||null==t||t===n||t===n?e:e=e.split(t).join(n)}function J(e){return e instanceof a.fF}function L(e){return e instanceof o.x}function j(e){return!!((0,x.Kg)(e)||(0,x.Et)(e)||H(e)||X(e)||W(e)||(0,x.Lm)(e)||null===e||e===Z)}function P(e,t){return void 0===e?t:e}function I(e){return null==e?"":(0,x.cy)(e)||U(e)?"Array":H(e)?"Date":W(e)?"Time":X(e)?"DateOnly":(0,x.Kg)(e)?"String":(0,x.Lm)(e)?"Boolean":(0,x.Et)(e)?"Number":"esri.arcade.Attachment"===e?.declaredClass?"Attachment":"esri.arcade.Portal"===e?.declaredClass?"Portal":"esri.arcade.Dictionary"===e?.declaredClass?"Dictionary":B(e)?"KnowledgeGraph":e instanceof o.x?"Module":E(e)?"Feature":e instanceof S.A?"Point":e instanceof T.A?"Polygon":e instanceof v.A?"Polyline":e instanceof b.A?"Multipoint":e instanceof m.A?"Extent":J(e)?"Function":z(e)?"FeatureSet":Y(e)?"FeatureSetCollection":V(e)?"Voxel":K(e)?"Pixel":e===Z?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function G(e){return e===Z}function R(e){return e instanceof g.A}function E(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function V(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function K(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function z(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function q(e){return"esri.arcade.Dictionary"===e?.declaredClass}function $(e){return q(e)||E(e)||V(e)||K(e)}function Y(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function B(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function U(e){return e instanceof u.A}function H(e){return e instanceof s.lY}function X(e){return e instanceof y.n}function W(e){return e instanceof h.k}function Q(e){return null!=e&&"object"==typeof e}function ee(e,t,n,r,i){if(e.length<t||e.length>n)throw new l.D$(r,"WrongNumberOfParameters",i)}function te(e){return null==e||G(e)||""===e}function ne(e){return e<0?-Math.round(-e):Math.round(e)}function re(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=M(t,"‰",""),t=M(t,"¤",""),(0,p.GP)(e,{pattern:t}))}function ie(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(se(t),{locale:(0,C.JK)(),numberingSystem:"latn"})}function se(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let n="";const r=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(r)||[])switch(i){case"D":n+="d";break;case"DD":n+="dd";break;case"DDD":n+="o";break;case"d":n+="c";break;case"ddd":n+="ccc";break;case"dddd":n+="cccc";break;case"M":n+="L";break;case"MM":n+="LL";break;case"MMM":n+="LLL";break;case"MMMM":n+="LLLL";break;case"YY":n+="yy";break;case"Y":case"YYYY":n+="yyyy";break;case"Q":n+="q";break;case"Z":n+="Z";break;case"ZZ":n+="ZZ";break;case"ZZZ":n+="ZZZ";break;case"ZZZZ":n+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":n+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":n+="'S'";break;case"SS":n+="'SS'";break;case"SSS":n+="u";break;case"A":case"a":n+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":n+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?n+=`'${i.slice(1,-1)}'`:n+=`'${i}'`}return n}function oe(e,t,n){switch(n){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function le(e,t,n){if(null===e){if(null===t||t===Z)return oe(null,null,n);if((0,x.Et)(t))return oe(0,t,n);if((0,x.Kg)(t))return oe(0,ye(t),n);if((0,x.Lm)(t))return oe(0,ye(t),n);if(H(t))return oe(0,t.toNumber(),n);if(W(t))return oe(e,t.toNumber(),n);if(X(t))return oe(e,t.toNumber(),n)}if(e===Z){if(null===t||t===Z)return oe(null,null,n);if((0,x.Et)(t))return oe(0,t,n);if((0,x.Kg)(t))return oe(0,ye(t),n);if((0,x.Lm)(t))return oe(0,ye(t),n);if(H(t))return oe(0,t.toNumber(),n);if(W(t))return oe(e,t.toNumber(),n);if(X(t))return oe(e,t.toNumber(),n)}else if((0,x.Et)(e)){if((0,x.Et)(t))return oe(e,t,n);if((0,x.Lm)(t))return oe(e,ye(t),n);if(null===t||t===Z)return oe(e,0,n);if((0,x.Kg)(t))return oe(e,ye(t),n);if(H(t))return oe(e,t.toNumber(),n);if(W(t))return oe(e,t.toNumber(),n);if(X(t))return oe(e,t.toNumber(),n)}else if((0,x.Kg)(e)){if((0,x.Kg)(t))return oe(ce(e),ce(t),n);if(H(t))return oe(ye(e),t.toNumber(),n);if(W(t))return oe(ye(e),t.toNumber(),n);if(X(t))return oe(ye(e),t.toNumber(),n);if((0,x.Et)(t))return oe(ye(e),t,n);if(null===t||t===Z)return oe(ye(e),0,n);if((0,x.Lm)(t))return oe(ye(e),ye(t),n)}else if(H(e)){if(H(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=s.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=s.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),oe(e.toNumber(),t.toNumber(),n);if(null===t||t===Z)return oe(e.toNumber(),0,n);if((0,x.Et)(t))return oe(e.toNumber(),t,n);if((0,x.Lm)(t))return oe(e.toNumber(),ye(t),n);if((0,x.Kg)(t))return oe(e.toNumber(),ye(t),n);if(W(t))throw new l.D$(null,"CannotCompareDateAndTime",null);if(X(t))return oe(e.toNumber(),t.toNumber(),n)}else if((0,x.Lm)(e)){if((0,x.Lm)(t))return oe(e,t,n);if((0,x.Et)(t))return oe(ye(e),ye(t),n);if(H(t))return oe(ye(e),t.toNumber(),n);if(W(t))return oe(ye(e),t.toNumber(),n);if(X(t))return oe(ye(e),t.toNumber(),n);if(null===t||t===Z)return oe(ye(e),0,n);if((0,x.Kg)(t))return oe(ye(e),ye(t),n)}else if(X(e)){if(H(t))return oe(e.toNumber(),t.toNumber(),n);if(null===t||t===Z)return oe(e.toNumber(),0,n);if((0,x.Et)(t))return oe(e.toNumber(),t,n);if((0,x.Lm)(t))return oe(e.toNumber(),ye(t),n);if((0,x.Kg)(t))return oe(e.toNumber(),ye(t),n);if(W(t))throw new l.D$(null,"CannotCompareDateAndTime",null);if(X(t))return oe(e.toNumber(),t.toNumber(),n)}else if(W(e)){if(H(t))throw new l.D$(null,"CannotCompareDateAndTime",null);if(null===t||t===Z)return oe(e.toNumber(),0,n);if((0,x.Et)(t))return oe(e.toNumber(),t,n);if((0,x.Lm)(t))return oe(e.toNumber(),ye(t),n);if((0,x.Kg)(t))return oe(e.toNumber(),ye(t),n);if(W(t))return oe(e.toNumber(),t.toNumber(),n);if(X(t))throw new l.D$(null,"CannotCompareDateAndTime",null)}return!!ae(e,t)&&("<="===n||">="===n)}function ae(e,t){if(e===t)return!0;if(null===e&&t===Z||null===t&&e===Z)return!0;if(H(e)&&H(t))return e.equals(t);if(W(e)&&W(t))return e.equals(t);if(X(e)&&X(t))return e.equals(t);if(e instanceof c.A)return e.equalityTest(t);if(e instanceof f.A)return e.equalityTest(t);if(e instanceof S.A&&t instanceof S.A){const n=e.cache._arcadeCacheId,r=t.cache._arcadeCacheId;if(null!=n)return n===r}if(Q(e)&&Q(t)){if(e._arcadeCacheId===t._arcadeCacheId&&void 0!==e._arcadeCacheId&&null!==e._arcadeCacheId)return!0;if(e._underlyingGraphic===t._underlyingGraphic&&void 0!==e._underlyingGraphic&&null!==e._underlyingGraphic)return!0}return!1}function ue(e,{useNumbersForDates:t}){let n="";for(const r in e){""!==n&&(n+=",");const i=e[r];null==i?n+=JSON.stringify(r)+":null":(0,x.Lm)(i)||(0,x.Et)(i)||(0,x.Kg)(i)?n+=JSON.stringify(r)+":"+JSON.stringify(i):R(i)?n+=JSON.stringify(r)+":"+de(i):W(i)||X(i)?n+=`${JSON.stringify(r)}:${JSON.stringify(i.toString())}`:U(i)||Array.isArray(i)?n+=JSON.stringify(r)+":"+de(i,null,t):H(i)?n+=t?JSON.stringify(r)+":"+JSON.stringify(i.getTime()):JSON.stringify(r)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(n+=JSON.stringify(r)+":"+i.castToText(t))}return"{"+n+"}"}function ce(e,t){if((0,x.Kg)(e))return e;if(null===e)return"";if((0,x.Et)(e))return re(e,t);if((0,x.Lm)(e))return e.toString();if(H(e))return ie(e,t);if(W(e))return e.toFormat(t);if(X(e))return e.toFormat(t);if(e instanceof g.A)return JSON.stringify(e.toJSON());if((0,x.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=pe(e[n]);return"["+t.join(",")+"]"}if(e instanceof u.A){const t=[];for(let n=0;n<e.length();n++)t[n]=pe(e.get(n));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():J(e)?"object, Function":e===Z?"":L(e)?"object, Module":""}function fe(e){const t=[];if(e instanceof u.A){for(let n=0;n<e.length();n++)t[n]=ye(e.get(n));return t}if(!(0,x.cy)(e))return null;for(let n=0;n<e.length;n++)t[n]=ye(e[n]);return t}function de(e,t,n=!1){if((0,x.Kg)(e))return e;if(null===e)return"";if((0,x.Et)(e))return re(e,t);if((0,x.Lm)(e))return e.toString();if(H(e))return ie(e,t);if(W(e))return e.toFormat(t);if(X(e))return e.toFormat(t);if(e instanceof g.A)return e instanceof m.A?'{"xmin":'+e.xmin.toString()+',"ymin":'+e.ymin.toString()+","+(e.hasZ?'"zmin":'+e.zmin.toString()+",":"")+(e.hasM?'"mmin":'+e.mmin.toString()+",":"")+'"xmax":'+e.xmax.toString()+',"ymax":'+e.ymax.toString()+","+(e.hasZ?'"zmax":'+e.zmax.toString()+",":"")+(e.hasM?'"mmax":'+e.mmax.toString()+",":"")+'"spatialReference":'+we(e.spatialReference)+"}":we(e.toJSON(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0);if((0,x.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=pe(e[r],n);return"["+t.join(",")+"]"}if(e instanceof u.A){const t=[];for(let r=0;r<e.length();r++)t[r]=pe(e.get(r),n);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(n):J(e)?"object, Function":e===Z?"":L(e)?"object, Module":""}function pe(e,t=!1){if(null===e)return"null";if((0,x.Lm)(e)||(0,x.Kg)(e))return JSON.stringify(e);if((0,x.Et)(e))return e.toString();if(e instanceof g.A)return de(e,null,t);if(e instanceof u.A)return de(e,null,t);if(Array.isArray(e))return de(e,null,t);if(H(e))return t?JSON.stringify(e.getTime()):JSON.stringify(ie(e,""));if(W(e))return JSON.stringify(e.toString());if(X(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===Z)return"null";return"null"}function ye(e,t){return(0,x.Et)(e)?e:null===e||""===e?0:H(e)||X(e)||W(e)?NaN:(0,x.Lm)(e)?e?1:0:(0,x.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,x.Kg)(e)?(t=M(t,"‰",""),t=M(t,"¤",""),(0,p.qg)(e,{pattern:t})):e===Z?0:Number(e)}function he(e,t){if(H(e))return e;if((0,x.Kg)(e)){const n=function(e,t){const n=/ (\d\d)/,r=(0,s.mT)(t);let i=F.c9.fromISO(e,{zone:r});return i.isValid||n.test(e)&&(e=e.replace(n,"T$1"),i=F.c9.fromISO(e,{zone:t}),i.isValid)?i:null}(e,t);if(n)return s.lY.dateTimeToArcadeDate(n)}return null}function me(e){return(0,x.Lm)(e)?e:(0,x.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,x.Et)(e)&&0!==e&&!isNaN(e)}function ge(e,t){return null==e?null:(null!==e.spatialReference&&void 0!==e.spatialReference||(e.spatialReference=t),e)}function be(e){if(null===e)return null;if(e instanceof S.A)return"NaN"===e.x||null===e.x||isNaN(e.x)?null:e;if(e instanceof T.A){if(0===(e.curveRings??e.rings).length)return null;for(const t of e.curveRings??e.rings)if(t.length>0)return e;return null}if(e instanceof v.A){if(0===(e.curvePaths??e.paths).length)return null;for(const t of e.curvePaths??e.paths)if(t.length>0)return e;return null}return e instanceof b.A?0===e.points.length?null:e:e instanceof m.A?"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)?null:e:null}function Se(e,t){if(!e)return t;if(!e.domain)return t;let n=null,r=null;if(H(t))n=t.toNumber();else if(X(t))n=t.toString();else if(W(t))n=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)n=ce(t);else{if(null==t)return null;if(""===t)return t;n=ye(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===n&&(r=i)}return null===r?ce(t):r.name}function Te(e,t){if(!e)return t;if(!e.domain)return t;let n=null;const r=ce(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===r&&(n=i)}return null===n?t:n.code}function ve(e,t,n=null,r=null){if(!t)return null;if(!t.fields)return null;let i,s,o=null;for(let n=0;n<t.fields.length;n++){const r=t.fields[n];r.name.toLowerCase()===e.toString().toLowerCase()&&(o=r)}if(null===o)throw new l.D$(null,"FieldNotFound",null,{key:e});let a=t.typeIdField,u="id",c=t.types;if(t.subtypeField&&(a=t.subtypeField,u="code",c=t.subtypes??[]),null===r&&n&&a)r=n.hasField(a)?n.field(a):null;else if(a&&null!==r){let e=!1;for(const t of c||[])if(r===t[u]){e=!0;break}if(!e)for(const t of c||[])if(r===t.name){r=t[u],e=!0;break}e||(r=null,n&&a&&(r=n.hasField(a)?n.field(a):null))}return null!=r&&c.some(e=>e[u]===r&&(i=e.domains?.[o.name],i&&"inherited"===i.type&&(i=Ae(o.name,t),s=!0),!0)),s||i||(i=Ae(e,t)),{field:o,domain:i}}function Ae(e,t){let n;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(n=t.domain),!!n)),n}function we(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const n="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(i=t.cmp,function(e){return function(t,n){const r={key:t,value:e[t]},s={key:n,value:e[n]};return i(r,s)}});var i;const s=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(s.includes(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const l=s.push(t)-1,a=Object.keys(t).sort(r?.(t));for(o="",i=0;i<a.length;i++){const n=a[i],r=e(t[n]);r&&(o&&(o+=","),o+=JSON.stringify(n)+":"+r)}return s.splice(l,1),"{"+o+"}"}(e)}function Ne(e){if(null===e)return null;const t=[];for(const n of e)E(n)?t.push(n.geometry()):t.push(n);return t}function Ce(e,t){if(!(t instanceof S.A))throw new l.D$(null,"InvalidParameter",null);e.push(t.hasZ?t.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y])}function xe(e,t){if((0,x.cy)(e)||U(e)){let n=!1,r=!1,i=[],s=t;if((0,x.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,n=e[0].hasZ,r=e[0].hasM)}else if(e instanceof f.A)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,s=e.get(0).spatialReference);else{if(!U(e))throw new l.D$(null,"InvalidParameter",null);for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:((0,w.$3)(i)||(i=i.slice().reverse()),new T.A({rings:[i],spatialReference:s,hasZ:n,hasM:r}))}return e}function Fe(e,t){if((0,x.cy)(e)||U(e)){let n=!1,r=!1,i=[],s=t;if((0,x.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f.A)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,s=e.get(0).spatialReference);else if(U(e)){for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new v.A({paths:[i],spatialReference:s,hasZ:n,hasM:r})}return e}function _e(e,t){if((0,x.cy)(e)||U(e)){let n=!1,r=!1,i=[],s=t;if((0,x.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f.A)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,s=e.get(0).spatialReference);else if(U(e)){for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new b.A({points:i,spatialReference:s,hasZ:n,hasM:r})}return e}function Oe(e,t=!0){if(null==e)return[];if((0,x.cy)(e)){const n=[];for(const r of e){const e=ce(r);(t||""!==e)&&n.push(e)}return n}if(U(e)){const n=[];for(let r=0;r<e.length();r++){const i=ce(e.get(r));(t||""!==i)&&n.push(i)}return n}if(j(e)){const n=ce(e);if(t||""!==n)return[n]}return[]}let Ze=0;function De(){return Ze++,Ze%100==0?(Ze=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function ke(e,t,n){switch(n){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Me(e,t=null){return null==e?null:(0,x.Lm)(e)||(0,x.Et)(e)||(0,x.Kg)(e)?e:e instanceof g.A?!0===t?.keepGeometryType?e:e.toJSON():e instanceof u.A?e.toArray().map(e=>Me(e,t)):Array.isArray(e)?e.map(e=>Me(e,t)):(0,x.$P)(e)?e:H(e)?e.toJSDate():W(e)?e.toString():X(e)?e.toJSDate():null!==e&&"object"==typeof e&&void 0!==e.castAsJson?e.castAsJson(t):null}async function Je(e,t,n,r,i){const s=await Le(e,t,n);i[r]=s}async function Le(e,t=null,n=null){if(e instanceof u.A&&(e=e.toArray()),null==e)return null;if(j(e)||e instanceof g.A||(0,x.$P)(e)||H(e))return Me(e,n);if(Array.isArray(e)){const r=[],i=[];for(const s of e)null===s||j(s)||s instanceof g.A||(0,x.$P)(s)||H(s)?i.push(Me(s,n)):(i.push(null),r.push(Je(s,t,n,i.length-1,i)));return r.length>0&&await Promise.all(r),i}return null!==e&&"object"==typeof e&&void 0!==e.castAsJsonAsync?e.castAsJsonAsync(t,n):null}function je(e){return Pe(e)?e.parent:e}function Pe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function Ie(e,t,n){const r=je(e.fullSchema());return null===r?null:r.fields?ve(t,r,e,n):null}function Ge(e){const t=je(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Re(e,t,n,r){const i=je(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const s=ve(t,i,e,r);if(void 0===n)try{n=e.field(t)}catch(e){return null}return Se(s,n)}function Ee(e,t,n,r){const i=je(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===n){try{n=e.field(t)}catch(e){return null}return n}return Te(ve(t,i,e,r),n)}function Ve(e){return e?.timeZone??"system"}function Ke(e){const t=je(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const n=[];for(const e of t.fields)n.push((0,d.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===d.yT[t.geometryType]?"":d.yT[t.geometryType],fields:n}}function ze(e,t){const n=s.lY.systemTimeZoneCanonicalName;return"system"===e&&(e=n),{version:qe,engineVersion:i.rE,timeZone:e,userTimeZone:n,spatialReference:t instanceof A.A?t.toJSON():t,application:r.A.applicationName??"",engine:"web",locale:(0,C.JK)()}}const qe="1.34",$e=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:O,ReturnResult:_,absRound:ne,arcadeVersion:qe,autoCastArrayOfPointsToMultiPoint:_e,autoCastArrayOfPointsToPolygon:xe,autoCastArrayOfPointsToPolyline:Fe,autoCastFeatureToGeometry:Ne,binaryOperator:ke,breakResult:D,castAsJson:Me,castAsJsonAsync:Le,castRecordToText:ue,continueResult:k,defaultExecutingContext:ze,defaultTimeZone:Ve,defaultUndefined:P,equalityTest:ae,featureDomainCodeLookup:Ee,featureDomainValueLookup:Re,featureFullDomain:Ie,featureSchema:Ke,featureSubtypes:Ge,fixNullGeometry:be,fixSpatialReference:ge,formatDate:ie,formatNumber:re,getDomain:ve,getDomainCode:Te,getDomainValue:Se,getType:I,greaterThanLessThan:le,isArray:x.cy,isBoolean:x.Lm,isDate:H,isDateOnly:X,isDictionary:q,isDictionaryLike:$,isEmpty:te,isFeature:E,isFeatureSet:z,isFeatureSetCollection:Y,isFunctionParameter:J,isGeometry:R,isGraphic:x.DU,isImmutableArray:U,isInteger:x.Fq,isJsDate:x.$P,isKnowledgeGraph:B,isModule:L,isNumber:x.Et,isObject:Q,isPixel:K,isSimpleType:j,isString:x.Kg,isSubtypeGrouplayer:function(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass},isSubtypeSublayer:Pe,isTime:W,isVoid:G,isVoxel:V,multiReplace:M,parseGeometryFromJson:function(e,t){const n=JSON.parse(e);return n&&!n.spatialReference&&(n.spatialReference=t),(0,N.rS)(n)},pcCheck:ee,stableStringify:we,standardiseDateFormat:se,tick:De,toBoolean:me,toDate:he,toNumber:ye,toNumberArray:fe,toString:ce,toStringArray:Oe,toStringExplicit:de,voidOperation:Z},Symbol.toStringTag,{value:"Module"}))},92400:(e,t,n)=>{n.d(t,{CU:()=>l,UQ:()=>o,fF:()=>i,o6:()=>s});var r=n(74887);class i{constructor(){}}function s(e,t,n){if(e instanceof i&&!(e instanceof l)){const r=new l;return r.fn=e,r.parameterEvaluator=n,r.context=t,r}return e}class o extends i{constructor(e){super(),this.fn=e}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,n,o){return o(e,t,(t,a,u)=>{u=u.map(t=>t instanceof i&&!(t instanceof l)?s(t,e,o):t);const c=this.call(n,{args:u});return(0,r.$X)(c)?c.then(e=>s(e,n,o)):c})}}class l extends i{constructor(){super(...arguments),this.fn=null,this.context=null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,n){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818:(e,t,n)=>{n.d(t,{A:()=>r});class r{constructor(e=[]){this._elements=e}length(){return this._elements.length}get(e){return this._elements[e]}toArray(){return this.slice()}slice(e=0,t=this.length()){const n=[];for(let r=e;r<t;r++)n.push(this.get(r));return n}}},98453:(e,t,n)=>{n.d(t,{m:()=>r});const r=new(n(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},99719:(e,t,n)=>{n.d(t,{x:()=>r});class r{}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4680],{563:(e,t,r)=>{r.d(t,{QueueProcessor:()=>u,SharedConcurrency:()=>d});var s=r(97768),i=r(74887),n=r(9775),o=r(32587),a=r(76030),h=r(44794);class u{constructor(e){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=e.process,this.concurrency=e.concurrency,this.sharedConcurrency=e.sharedConcurrency??c,this._queue=new n.A(e.peeker)}destroy(){this.clear(),this._schedule=(0,s.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(e){const t=this._controllers.get(e);t?.abort()}clear(){this._queue.clear();const e=Array.from(this._controllers.values());this._controllers.clear(),e.forEach(e=>e.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(e){this._deferreds.forEach((t,r)=>e(r))}_get(e){const t=this._deferreds.get(e);return t?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(e,t){const r=this._get(e);if(r)return r;const s=new AbortController,n=(0,i.Tw)(),o=t?(0,i.u7)(t,()=>s.abort()):null,a=(0,i.NY)(s.signal,()=>{const t=this._processingItems.get(e);t&&t.controller.abort(),h(),n.reject((0,i.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(e),this._queue.remove(e),this._scheduleNext()};return this._deferreds.set(e,n),this._controllers.set(e,s),n.promise.then(h,h),this._queue.push(e),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const e=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const t of e)this._queue.push(t.item),t.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const e=[];for(;this._queue.length;)e.push(this._queue.pop());return this.clear(),e}_removeItem(e){this._deferreds.delete(e),this._controllers.delete(e),this._processingItems.has(e)&&(this._processingItems.delete(e),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).resolve(t))}_processError(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).reject(t))}_canProcessFulfillment(e){return!!this._deferreds.get(e.item)&&this._processingItems.get(e.item)===e}_process(e){if(null==e)return;let t;const r=new AbortController,s=new l(e,r);this._processingItems.set(e,s),this.sharedConcurrency.current.value+=1;try{t=this.process(e,r.signal)}catch(e){this._processError(s,e)}(0,i.$X)(t)?(s.promise=t,t.then(e=>this._processResult(s,e),e=>this._processError(s,e))):this._processResult(s,t)}}class l{constructor(e,t){this.item=e,this.controller=t,this.promise=null}}class d{constructor(e){this.limit=e,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const c=new d(1/0)},2272:(e,t,r)=>{r.d(t,{Dl:()=>u,gf:()=>d,jV:()=>h,lF:()=>l});var s=r(92602),i=r(70333),n=r(4718),o=r(84952),a=r(926);function h(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function l(e,t,r){const s={};for(const i in e){if("declaredClass"===i)continue;const n=e[i];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))s[i]=n.map(e=>l(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(r?.[i]);s[i]=t?e:JSON.stringify(e)}else s[i]=t?n:JSON.stringify(n);else s[i]=n}return s}async function d(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.CG)(e)??i.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!i.id&&s.A.request.useIdentity&&await Promise.all([r.e(7330),r.e(168),r.e(148)]).then(r.bind(r,50148));const h=await i.id.getCredential(e,n);return h?.token}},5162:(e,t,r)=>{r.d(t,{HJ:()=>o,Im:()=>l,KN:()=>h});var s=r(39516),i=r(70300),n=r(8446);class o{static async create(e){const{metadata:t,definitionExpression:r}=e,i=r?await(0,s.GP)(r,t.fieldsIndex):null;return new o(t,i,r)}constructor(e,t,r){this.metadata=e,this._clause=t,this._definitionExpression=r}get hash(){return this._definitionExpression}testFeature(e){return null==this._clause||this._clause.testFeature(e)}}class a{constructor(){this.modified=new Map,this.removed=new Set}modify(e){this.modified.set(e.objectId,e),this.removed.has(e.objectId)&&this.removed.delete(e.objectId)}remove(e){this.modified.delete(e),this.removed.add(e)}get isEmpty(){return 0===this.modified.size&&0===this.removed.size}applyWhereClause(e){const t=new a;for(const[r,s]of this.modified)e.testFeature(s)?t.modified.set(r,s):t.removed.add(s.objectId);for(const e of this.removed)t.removed.add(e);return t}}class h extends i.K{constructor(e){super(),this._reader=e,this.chunkId="override",this.normalizedChunkId="override"}static fromFeatures(e,t){const r=n.K.fromOptimizedFeatures(e,t);return new h(r)}get reader(){return this._reader}get queryInfo(){return{}}get first(){return!1}get end(){return!1}get isTiled(){return!1}getTileReader(e){if(!this._reader.getSize())return null;const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}class u{constructor(e,t){this.inner=e,this.isWeak=t,this.lastWeak=null}get isStrong(){return!this.isWeak}}class l{constructor(e){this._parameters=e,this._overrides=new Map,this._update=new a,this._lastCleanup=0}update(e){this._parameters=e}hasOverride(e){return this._overrides.has(e)}onChunkInsert(e){if(this._overrides.size){const t=e.reader.getCursor();for(;t.next();){const e=t.getObjectId(),r=this._overrides.get(e);if(r?.lastWeak&&(r.lastWeak=null),r?.isWeak){const e=t.readOptimizedFeatureWorldSpace(),s=r.inner?.attributes??{};e.attributes={...s,...e.attributes},r.inner=e,this._update.modify(e),this.invalidate()}}}e.registerOverrides(this)}apply(e,t){const{updateWeak:r,removeWeak:s,update:i,remove:n,release:o}=e.commands;this.invalidate();for(const e of r){const t=new u(e,!0),r=this._overrides.get(e.objectId);r?.isStrong?r.lastWeak=t:(this._overrides.set(e.objectId,t),this._update.modify(e))}for(const e of i){const t=new u(e,!1),r=this._overrides.get(e.objectId);t.lastWeak=r?.isWeak?r:r?.lastWeak??null,this._overrides.set(e.objectId,t),this._update.modify(e)}for(const e of s){const t=new u(null,!0),r=this._overrides.get(e);r?.isStrong?r.lastWeak=t:(this._overrides.set(e,t),this._update.remove(e))}for(const e of n){const t=new u(null,!1),r=this._overrides.get(e);t.lastWeak=r?.isWeak?r:r?.lastWeak??null,this._overrides.set(e,t),this._update.remove(e)}if(o.length){const e=new Set;for(const t of o){const r=this._overrides.get(t);r?.lastWeak?(this._overrides.set(t,r.lastWeak),null==r.lastWeak.inner?this._update.remove(t):this._update.modify(r.lastWeak.inner)):r&&!r.isWeak&&(this._overrides.delete(t),e.add(t))}t.forEachUnsafe(t=>{const r=t.getObjectId();e.has(r)&&(this._update.modify(t.readOptimizedFeatureWorldSpace()),e.delete(r))});for(const t of e.values())this._update.remove(t)}}clearWeakOverrides(){for(const[e,t]of this._overrides.entries())t.isWeak&&this._overrides.delete(e);this.invalidate()}cleanup(e){if(this._overrides.size<1e4)return;const t=performance.now();if(t-this._lastCleanup<1e3)return;this._lastCleanup=t;const r=this._getWeakDeletions();if(!(r.size<1e4)){for(const t of e){const e=t.reader.withoutOverrides().getCursor();for(;e.next();){const t=e.getObjectId();r.delete(t)}}for(const e of r)this._overrides.delete(e);r.size&&this.invalidate()}}takeOverrideUpdate(){const e=this._update;return e.isEmpty?null:(this._update=new a,e.applyWhereClause(this._parameters))}asChunk(){const e=this._parameters;if(this._lastOverrideParametersHash!==e.hash&&(this._lastOverrideParametersHash=e.hash,this._chunk=null),!this._chunk){const t=[];for(const r of this._overrides.values())null!=r.inner&&e.testFeature(r.inner)&&t.push(r.inner);this._chunk=h.fromFeatures(t,e.metadata)}return this._chunk}invalidate(){this._chunk=null}putWeakObjectIdsFromGlobalIds(e,t,r){for(const[s,i]of this._overrides.entries()){if(i.isWeak&&null!=i.inner){const n=i.inner.attributes[r];n&&t.has(n)&&!e.has(n)&&e.set(n,s);continue}if(null!=i.lastWeak&&null!=i.lastWeak.inner){const n=i.lastWeak.inner.attributes[r];n&&t.has(n)&&!e.has(n)&&e.set(n,s)}}}_getWeakDeletions(){const e=new Set;for(const[t,r]of this._overrides.entries())r.isWeak&&null==r.inner&&e.add(t);return e}}},8446:(e,t,r)=>{r.d(t,{K:()=>a});var s=r(90708),i=r(43334),n=r(95466),o=r(99996);class a extends o.Y{static fromFeatures(e,t){const{geometryType:r}=t,i=(0,s.Di)([],e,r,!1,!1,t.featureIdInfo);for(let t=0;t<i.length;t++)i[t].displayId=e[t].displayId;return a.fromOptimizedFeatures(i,t)}static fromFeatureSet(e,t){const r=(0,s.q3)(e,t.featureIdInfo);return a.fromOptimizedFeatureSet(r,t)}static fromOptimizedFeatureSet(e,t){const r=a.fromOptimizedFeatures(e.features,t);return r._exceededTransferLimit=e.exceededTransferLimit,r._transform=e.transform,r._fieldsIndex=new n.A(e.fields),r}static fromOptimizedFeatures(e,t,r){const s=new a(e,t);return s._fieldsIndex=t.fieldsIndex,s._transform=r,s}static empty(e){return new a([],e)}constructor(e,t){super(t),this._exceededTransferLimit=!1,this._featureIndex=-1,this._fieldsIndex=null,this._geometryType=t.geometryType,this._features=e}get fields(){return this._fieldsIndex}get geometryType(){return this._geometryType}get hasFeatures(){return!!this._features.length}get hasNext(){return this._featureIndex+1<this._features.length}get exceededTransferLimit(){return this._exceededTransferLimit}get hasZ(){return!1}get hasM(){return!1}get _current(){return this._features[this._featureIndex]}get usedMemory(){return this._current.usedMemory}getSize(){return this._features.length}getCursor(){return this.copy()}getInTransform(){return this._transform}getAttributeHash(){let e="";for(const t in this._current.attributes)e+=this._current.attributes[t];return e}getIndex(){return this._featureIndex}setIndex(e){this._featureIndex=e}getObjectId(){return this._current?.objectId}getDisplayId(){return this._current.displayId}setDisplayId(e){this._current.displayId=e}copy(){const e=new a(this._features,this.metadata);return this.copyInto(e),e}next(){for(;++this._featureIndex<this._features.length&&!this._getExists(););return this._featureIndex<this._features.length}readGeometryArea(){return(0,i.N3)(this._current)?(0,s.Rk)(this._current.geometry,2):0}_readX(){return(0,i.N3)(this._current)?this._current.geometry.coords[0]:0}_readY(){return(0,i.N3)(this._current)?this._current.geometry.coords[1]:0}_readGeometry(){return(0,i.N3)(this._current)?this._current.geometry??null:null}_readServerCentroid(){return this._current.centroid}_readAttribute(e,t){if(!this._fieldsIndex){const t=this._current.attributes[e];if(void 0!==t)return t;const r=e.toLowerCase();for(const e in this._current.attributes)if(e.toLowerCase()===r)return this._current.attributes[e];return}const r=this._fieldsIndex.get(e);if(!r)return;const s=this._current.attributes[r.name];return null==s?s:t&&this.fields.isDateField(e)?new Date(s):s}_readAttributes(){return this._current.attributes}copyInto(e){super.copyInto(e),e._featureIndex=this._featureIndex,e._transform=this._transform,e._fieldsIndex=this._fieldsIndex}}},8631:(e,t,r)=>{r.d(t,{rS:()=>c,gK:()=>d}),r(44208);var s,i=r(53177),n=r(76357),o=r(31635),a=r(91429),h=r(93223);let u=class extends n.A{static{s=this}constructor(e){super(e),this.type="inherited"}clone(){return new s}};(0,o.Cg)([(0,h.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=s=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var l=r(41628);const d={key:"type",base:n.A,typeMap:{range:l.A,"coded-value":i.A,inherited:u}};function c(e){if(!e?.type)return null;switch(e.type){case"range":return l.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},9012:(e,t,r)=>{function s(e,{timeZone:t,timeExtent:r}){return{$view:{scale:e,timeZone:t,timeProperties:{currentStart:r?.start,currentEnd:r?.end}}}}r.d(t,{N:()=>s})},9775:(e,t,r)=>{r.d(t,{A:()=>n});var s=r(62788),i=r(95488);class n{constructor(e=e=>e.values().next().value){this._peeker=e,this._observable=new i.I,this._items=new Set}get length(){return(0,s.gc)(this._observable),this._items.size}clear(){0!==this.length&&(this._items.clear(),this._observable.notify())}last(){if(0===this.length)return;let e;for(e of this._items);return e}peek(){if(0!==this.length)return this._peeker(this._items)}push(e){this.contains(e)||(this._items.add(e),this._observable.notify())}contains(e){return(0,s.gc)(this._observable),this._items.has(e)}pop(){if(0===this.length)return;const e=this.peek();return this._items.delete(e),this._observable.notify(),e}popLast(){if(0===this.length)return;const e=this.last();return this._items.delete(e),this._observable.notify(),e}remove(e){this.contains(e)&&(this._items.delete(e),this._observable.notify())}filter(e){const t=this.length;return this._items.forEach(t=>{e(t)||this._items.delete(t)}),t!==this._items.size&&this._observable.notify(),this}*[Symbol.iterator](){(0,s.gc)(this._observable),yield*this._items}}},16630:(e,t,r)=>{r.d(t,{s:()=>u}),r(44208);var s=r(69397),i=r(92722),n=r(57733),o=r(99996);let a;const h=new TextDecoder;class u extends o.Y{constructor(e,t,r,i,n=new Uint32Array(r.size())){super(e),this._fields=t,this._inner=r,this._fileIndex=i,this._displayIds=n,this._index=-1,this.usedMemory=s.qK,this._size=this._inner.size(),e.featureIdInfo.type}destroy(){super.destroy(),this._inner.free()}get fields(){return this._fields}get geometryType(){return this.metadata.geometryType}get hasFeatures(){return!0}get hasNext(){throw new Error("Method not implemented.")}get exceededTransferLimit(){return!1}get hasZ(){return!1}get hasM(){return!1}getInTransform(){return null}getSize(){return this._size}getCursor(){return this.copy()}getAttributeHash(){let e="";for(const t of this.fields.fields)e+=this._readAttribute(t.name,!1)+".";return e}getObjectId(){return this._fileIndex<<24|this._inner.rowId(this._index)}getDisplayId(){return this._displayIds[this._index]}setDisplayId(e){this._displayIds[this._index]=e}setIndex(e){this._index=e}getBoundsXMin(){return this._inner.boundsXMin(this._index)}getBoundsYMin(){return this._inner.boundsYMin(this._index)}getBoundsXMax(){return this._inner.boundsXMax(this._index)}getBoundsYMax(){return this._inner.boundsYMax(this._index)}setBoundsXMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsXMax(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMax(e){throw new Error("InternalError: Setting bounds is unsupported")}getIndex(){return this._index}next(){for(;++this._index<this._size&&!this._getExists(););return this._index<this._size}readGeometryArea(){return this.readGeometryForDisplay()?.area()??0}copy(){const e=new u(this.metadata,this._fields,this._inner,this._fileIndex,this._displayIds);return this.copyInto(e),e}copyInto(e){super.copyInto(e),e._index=this._index}readGeometryForDisplayTransformed(e){const[t,r]=e.translate,[s,o]=e.scale;return a||(a=n.QuantizedGeometryBuffer.new()),this._inner.transformGeometry(a,t,r,s,o,this._index)?new i.A(a.readLengthsUnsafe(),a.readCoordsUnsafe(),this.hasZ,this.hasM):null}_readGeometry(e){const t=this._inner.readCoordsUnsafe(this._index),r=this._inner.readLengthsUnsafe(this._index);return t&&r?new i.A(r,t,this.hasZ,this.hasM):null}_readX(){return this._inner.readX(this._index)}_readY(){return this._inner.readY(this._index)}_readServerCentroid(){return null}_readAttribute(e,t){const r=this.fields.get(e);if(!r)return;if(null==r.column)return this.getObjectId();const s=this._inner.readAttribute(this._index,r.column);if(null==s)return s;if("esriFieldTypeString"===r.type){const e=this._inner.readAttribute(this._index,r.column);return h.decode(e)}const i=this.fields.isDateField(r.name);return t?null==s?s:i?new Date(s):s:s}_readAttributes(){const e={};for(const t of this._fields.fields)if(null!=t.column&&null!=t.column){const r=this._readAttribute(t.name,!1);void 0!==r&&(e[t.name]=r)}return e.__OBJECTID=this.getObjectId(),e}}},20437:(e,t,r)=>{r.d(t,{A:()=>_});var s,i=r(31635),n=r(66552),o=r(25482),a=r(91429),h=r(56507),u=r(8631),l=r(98453),d=r(36005),c=r(93223);const p=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let _=class extends o.o{static{s=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?p.fromJSON(r.fieldValueType):null}clone(){return new s({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],_.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],_.prototype,"description",void 0),(0,i.Cg)([(0,d.w)("description")],_.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:u.gK,json:{read:{reader:u.rS},write:!0}})],_.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],_.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:h.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],_.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],_.prototype,"nullable",void 0),(0,i.Cg)([(0,c.e)(l.m)],_.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],_.prototype,"valueType",void 0),(0,i.Cg)([(0,d.w)("valueType",["description"])],_.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],_.prototype,"visible",void 0),_=s=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],_)},28923:(e,t,r)=>{r.d(t,{j:()=>i});var s=r(70300);class i extends s.K{constructor(e,t,r,s,i=0){super(),this._reader=e,this._queryJSON=t,this._page=r,this._end=s,this.fileIndex=i,this.chunkId=`${this.fileIndex}.${this._page}${this.end?"e":""}`,this.normalizedChunkId=this.chunkId}get reader(){return this._reader}get first(){return 0===this._page}get end(){return this._end}get queryInfo(){return{type:"snapshot",chunkId:this.chunkId,queryJSON:this._queryJSON,page:this._page,size:this.size(),end:this.end}}get isTiled(){return!1}getTileReader(e){const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}},30661:(e,t,r)=>{r.d(t,{Z:()=>n});var s=r(43334),i=r(8446);class n{static{this.Shared=new n}getObjectId(e){return e.getObjectId()}getAttributes(e){return e.readAttributes()}getAttribute(e,t){return e.readAttribute(t)}getAttributeAsTimestamp(e,t){return e.readAttributeAsTimestamp(t)}cloneWithGeometry(e,t,r){const n=e.readAttributes(),o=new s.Om(t,n,null,e.getObjectId(),e.getDisplayId()),a=i.K.fromOptimizedFeatures([o],e.metadata);return a.setIndex(0),a}getGeometry(e){return e.readGeometryWorldSpace()}getCentroid(e,t){return e.readCentroidForDisplay()}}},32011:(e,t,r)=>{r.d(t,{d:()=>u});var s=r(19419),i=r(537),n=r(12359),o=r(95108),a=r(12176);const h=222045e-19;function u(e){if(0===e.totalSize)return null;const t=(0,i.z8)(e);if(!t)return null;const r=4*(Math.abs(t[0])+Math.abs(t[2])+Math.abs(t[1])+Math.abs(t[3])+1)*h;let o=0,a=0;e.reset();for(let t=0;e.nextPath();t++){const r=e.getCurrentRingArea();r>a&&(a=r,o=t)}if(e.seekPath(o),0===e.pathSize)return null;e.seekPathStart();const u=(0,i.B$)(e);if(Math.abs(a)<=2*r*r)return[(u[0]+u[2])/2,(u[1]+u[3])/2];e.seekPathStart();const p=(0,n.w2)(e,(0,s.vt)());if(null===p)return null;if(e.totalPoints<4)return p;const _=[[NaN,NaN],[NaN,NaN],[NaN,NaN],[NaN,NaN]],f=[NaN,NaN,NaN,NaN],m=[NaN,NaN,NaN,NaN];let y=!1,g=d(p,e,!0);0===g.distance&&(y=!0,_[0][0]=p[0],_[0][1]=p[1],g=d(p,e,!1)),f[0]=g.distance,m[0]=0;const x=[NaN,NaN];let w=!1,T=.25,M=-1,S=NaN;do{if(S=NaN,_[1]=c(e,v(u[0],u[2],T),0,t),isNaN(_[1][0])||isNaN(_[1][1])||(g=d(_[1],e,!1),S=g.distance),!isNaN(S)&&S>r&&l(_[1],e))w=!0,f[1]=S,m[1]=b(_[1],p);else if(!isNaN(S)&&S>M&&(M=S,x[0]=_[1][0],x[1]=_[1][1]),T-=.01,T<.1){if(!(M>=0))break;w=!0,f[1]=M,_[1][0]=x[0],_[1][1]=x[1],m[1]=b(_[1],p)}}while(!w);w=!1,T=.5,M=-1;let F=.01,A=1;do{if(S=NaN,_[2]=c(e,v(u[0],u[2],T),0,t),isNaN(_[2][0])||isNaN(_[2][1])||(g=d(_[2],e,!1),S=g.distance),!isNaN(S)&&S>r&&l(_[2],e))w=!0,f[2]=S,m[2]=b(_[2],p);else if(!isNaN(S)&&S>M)M=S,x[0]=_[2][0],x[1]=_[2][1];else if(S>M&&(M=S,x[0]=_[2][0],x[1]=_[2][1]),T=.5+F*A,F+=.01,A*=-1,T<.3||T>.7){if(!(M>=0))break;w=!0,f[2]=M,_[2][0]=x[0],_[2][1]=x[1],m[2]=b(_[2],p)}}while(!w);w=!1,T=.75,M=-1;do{if(S=NaN,_[3]=c(e,v(u[0],u[2],T),0,t),isNaN(_[3][0])||isNaN(_[3][1])||(g=d(_[3],e,!1),S=g.distance),!isNaN(S)&&S>r&&l(_[3],e))w=!0,f[3]=S,m[3]=b(_[3],p);else if(S>M&&(M=S,x[0]=_[3][0],x[1]=_[3][1]),T+=.01,T>.9){if(!(M>=0))break;w=!0,f[3]=M,_[3][0]=x[0],_[3][1]=x[1],m[3]=b(_[3],p)}}while(!w);const C=[0,1,2,3],P=y?0:1;let O;for(let e=P;e<4;e++)for(let e=P;e<3;e++){const t=m[e],r=m[e+1];I(t,r)>0&&(O=C[e],C[e]=C[e+1],C[e+1]=O,m[e]=r,m[e+1]=t)}let N=P,k=0,z=0;for(let e=P;e<4;e++){switch(e){case 0:z=2*f[C[e]];break;case 1:z=1.66666666*f[C[e]];break;case 2:z=1.33333333*f[C[e]];break;case 3:z=f[C[e]]}z>k&&(k=z,N=C[e])}return _[N]}function l(e,t){let r,s,i,n,o=0;for(t.reset();t.nextPath()&&t.nextPoint();)for(r=t.x,s=t.y;t.nextPoint();r=i,s=n)i=t.x,n=t.y,s>e[1]!=n>e[1]&&((i-r)*(e[1]-s)-(n-s)*(e[0]-r)>0?o++:o--);return 0!==o}function d(e,t,r){if(r&&l(e,t))return{coord:e,distance:0};let s=1/0,i=0,n=0,a=[0,0],h=[0,0];const u=[0,0];for(t.reset();t.nextPath()&&t.nextPoint();)if(!(t.pathSize<2))for(a[0]=t.x,a[1]=t.y;t.nextPoint();a=h){h=[t.x,t.y],(0,o.gR)(u,e,a,h);const r=b(e,u);r<s&&(s=r,i=u[0],n=u[1])}return{coord:[i,n],distance:Math.sqrt(s)}}function c(e,t,r,i){const n=[t,0];let o=1/0,h=1/0,u=!1,l=!1;const d=[[t,i[1]-1],[t,i[3]+1]],c=[0,0],_=[0,0],f=[0,0],m=[[0,0],[0,0]],y=(0,s.vt)();for(e.reset();e.nextPath()&&e.nextPoint();)if(!(e.pathSize<2))for(m[0][0]=e.x,m[0][1]=e.y;e.nextPoint();m[0][0]=m[1][0],m[0][1]=m[1][1]){if(m[1][0]=e.x,m[1][1]=e.y,null===p(y,m))continue;if(_[0]=d[0][0],_[1]=d[0][1],f[0]=d[1][0],f[1]=d[1][1],0===g(y,_,f))continue;if(!(0,a.Ql)(d[0],d[1],m[0],m[1],c))continue;const t=c[1];o>h?t<o&&(o=t,u=!0):t<h&&(h=t,l=!0)}return u&&l?n[1]=(o+h)/2:n[0]=n[1]=NaN,n}function p(e,t){if(t.length<2)return null;e||(e=(0,s.vt)());const[r,i]=t[0],[n,o]=t[1];return e[0]=Math.min(r,n),e[1]=Math.min(i,o),e[2]=Math.max(r,n),e[3]=Math.max(i,o),e}const _=1,f=4,m=3,y=12;function g(e,t,r){let s=x(t,e),i=x(r,e);const n=e[0],o=e[1],a=e[2],h=e[3];if(s&i)return 0;if(!(s|i))return 4;const u=(s?1:0)|(i?2:0);do{const u=r[0]-t[0],l=r[1]-t[1];if(u>l)s&m?(s&_?(t[1]+=l*(n-t[0])/u,t[0]=n):(t[1]+=l*(a-t[0])/u,t[0]=a),s=x(t,e)):i&m?(i&_?(r[1]+=l*(n-r[0])/u,r[0]=n):(r[1]+=l*(a-r[0])/u,r[0]=a),i=x(r,e)):s?(s&f?(t[0]+=u*(o-t[1])/l,t[1]=o):(t[0]+=u*(h-t[1])/l,t[1]=h),s=x(t,e)):(i&f?(r[0]+=u*(o-r[1])/l,r[1]=o):(r[0]+=u*(h-r[1])/l,r[1]=h),i=x(r,e));else if(s&y?(s&f?(t[0]+=u*(o-t[1])/l,t[1]=o):(t[0]+=u*(h-t[1])/l,t[1]=h),s=x(t,e)):i&y?(i&f?(r[0]+=u*(o-r[1])/l,r[1]=o):(r[0]+=u*(h-r[1])/l,r[1]=h),i=x(r,e)):s?(s&_?(t[1]+=l*(n-t[0])/u,t[0]=n):(t[1]+=l*(a-t[0])/u,t[0]=a),s=x(t,e)):(i&_?(r[1]+=l*(n-r[0])/u,r[0]=n):(r[1]+=l*(a-r[0])/u,r[0]=a),i=x(r,e)),s&i)return 0}while(s|i);return u}function x(e,t){return(e[0]<t[0]?1:0)|(e[0]>t[2]?1:0)<<1|(e[1]<t[1]?1:0)<<2|(e[1]>t[3]?1:0)<<3}function v(e,t,r){return e+(t-e)*r}function b(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}function I(e,t){if(e<t)return-1;if(e>t)return 1;if(e===t)return 0;const r=isNaN(e),s=isNaN(t);return r<s?-1:r>s?1:0}},32587:(e,t,r)=>{r.d(t,{A:()=>n});var s=r(62788),i=r(95488);class n{constructor(e){this._observable=new i.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(e)}get size(){return(0,s.gc)(this._observable),this._map.size}batch(e){try{this._batchDepth++,e()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(e){const t=this._map.delete(e);return t&&this._notify(),t}entries(){return(0,s.gc)(this._observable),this._map.entries()}forEach(e,t){(0,s.gc)(this._observable),this._map.forEach((r,s)=>e.call(t,r,s,this),t)}get(e){return(0,s.gc)(this._observable),this._map.get(e)}has(e){return(0,s.gc)(this._observable),this._map.has(e)}keys(){return(0,s.gc)(this._observable),this._map.keys()}set(e,t){return this._map.set(e,t),this._notify(),this}transformValues(e,t=this._map.keys()){this.batch(()=>{for(const r of t){if(!this._map.has(r))continue;const t=this._map.get(r),s=e(t,r);s!==t&&this.set(r,s)}})}values(){return(0,s.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,s.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},35258:(e,t,r)=>{r.d(t,{i:()=>n});var s=r(16930),i=r(95466);class n{static minimal(e,t,r=[]){return new n({geometryType:e,fieldsIndex:new i.A(r).toJSON(),featureIdInfo:{type:"object-id",fieldName:t},subtypes:null,subtypeField:null,types:null,globalIdField:null,spatialReference:null,outSpatialReference:null,timeInfo:null,timeReferenceUnknownClient:null,dateFieldsTimeZone:null,typeIdField:null})}static createFeature(e){return new n(e)}constructor(e){let t;this._options=e,this._fieldsIndex=i.A.fromJSON(e.fieldsIndex),e.spatialReference&&(e.spatialReference instanceof s.A?this._spatialReference=e.spatialReference:this._spatialReference=s.A.fromJSON(e.spatialReference)),e.outSpatialReference&&(e.outSpatialReference instanceof s.A?this._outSpatialReference=e.outSpatialReference:this._outSpatialReference=s.A.fromJSON(e.outSpatialReference)),"object-id"===e.featureIdInfo.type&&(t=e.featureIdInfo.fieldName),this._arcadeSchema={fields:this.fieldsIndex.fields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,objectIdField:t,globalIdField:this._options.globalIdField,spatialReference:this._spatialReference,timeInfo:this._options.timeInfo,typeIdField:this._options.typeIdField??void 0,types:this._options.types??void 0,subtypeField:this._options.subtypeField,subtypes:this._options.subtypes??void 0,datesInUnknownTimezone:this._options.timeReferenceUnknownClient??void 0,dateFieldsTimeZone:this._options.dateFieldsTimeZone??void 0}}get fieldsIndex(){return this._fieldsIndex}get geometryType(){return"esriGeometryMultiPatch"===this._options.geometryType?"esriGeometryPolygon":this._options.geometryType}get serviceGeometryType(){return this._options.geometryType}get subtypeField(){return this._options.subtypeField}get timeInfo(){return this._options.timeInfo}get featureIdInfo(){return this._options.featureIdInfo}get globalIdField(){return this._options.globalIdField}get arcadeSchema(){return this._arcadeSchema}get spatialReference(){return this._spatialReference}get outSpatialReference(){return this._outSpatialReference}get timeReferenceUnknownClient(){return this._options.timeReferenceUnknownClient}weakCloneWithAdditionalFields(e){return new n({fieldsIndex:{fields:[...this._fieldsIndex.fields,...e],timeZoneByFieldName:null},geometryType:this.geometryType,globalIdField:this.globalIdField,featureIdInfo:this.featureIdInfo,spatialReference:this.spatialReference,outSpatialReference:this.outSpatialReference,subtypeField:this.subtypeField,subtypes:this._options.subtypes,timeInfo:this.timeInfo,timeReferenceUnknownClient:this.timeReferenceUnknownClient,dateFieldsTimeZone:this._options.dateFieldsTimeZone,typeIdField:this._options.typeIdField,types:this._options.types})}}},36708:(e,t,r)=>{r.d(t,{C_:()=>c,OH:()=>f,Vh:()=>m,on:()=>d,pc:()=>y,wB:()=>h,z7:()=>u});var s=r(37955),i=r(36563),n=r(97768),o=r(74887),a=r(14012);function h(e,t,r={}){return l(e,t,r,p)}function u(e,t,r={}){return l(e,t,r,_)}function l(e,t,r={},s){let i=null;const o=r.once?(e,r)=>{s(e)&&((0,n.xt)(i),t(e,r))}:(e,r)=>{s(e)&&t(e,r)};if(i=(0,a.Cn)(e,o,r.sync,r.equals),r.initial){const t=e();o(t,t)}return i}function d(e,t,r,o={}){let a=null,u=null,l=null;function d(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,n.xt)(l),r(e)}const p=h(e,(e,r)=>{d(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return l=(0,i.hA)(()=>{p.remove(),d()}),l}function c(e,t){return function(e,t,r){if((0,o.G4)(r))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function h(){a=(0,n.xt)(a)}return new Promise((s,n)=>{a=(0,i.vE)([(0,o.u7)(r,()=>{h(),n((0,o.NK)())}),l(e,e=>{h(),s(e)},{sync:!1,once:!0},t??p)])})}(e,_,t)}function p(e){return!0}function _(e){return!!e}r(80559);const f={sync:!0},m={initial:!0},y={sync:!0,initial:!0}},36745:(e,t,r)=>{r.d(t,{z:()=>a});var s=r(4718),i=r(51118),n=r(60408),o=r(92722);class a{static fromOptimized(e,t,r=1){return(new h).initialize(e,t,r)}static fromJSON(e){const[t,r]=l(e),s=(0,n.Pv)(e),i=(0,n.W0)(e);return(new d).initialize(t,r,s,i,1)}static fromOptimizedCIM(e,t,r=1){return(new c).initialize(e,t,r)}static fromJSONCIM(e,t=1){const[r,s]=l(e),i=(0,n.Pv)(e),o=(0,n.W0)(e);return(new p).initialize(r,s,i,o,t)}static fromFeatureSetReader(e){const t=e.readGeometryForDisplay(),r=e.geometryType;return t&&r?this.fromOptimized(t,r):null}static fromFeatureSetReaderCIM(e){const t=e.readGeometryForDisplay(),r=e.geometryType;return t&&r?this.fromOptimizedCIM(t,r):null}static createEmptyOptimized(e,t=!1,r=!1,s=1){return(new c).initialize(new o.A([],[],t,r),e,s)}static createEmptyJSON(e,t=!1,r=!1){return(new d).initialize([],e,t,r,1)}static createEmptyOptimizedCIM(e,t=!1,r=!1,s=1){return(new c).initialize(new o.A([],[],t,r),e,s)}static createEmptyJSONCIM(e,t=!1,r=!1,s=1){return(new p).initialize([],e,t,r,s)}asJSON(){const e=(0,i.x)(this),{hasZ:t,hasM:r}=this;return"esriGeometryEnvelope"===this.geometryType?{xmin:e[0][0][0],ymin:e[0][0][1],xmax:e[0][2][0],ymax:e[0][2][1]}:"esriGeometryMultipoint"===this.geometryType?{points:e.flat(),hasZ:t,hasM:r}:"esriGeometryPoint"===this.geometryType?{x:e[0][0][0],y:e[0][0][1],z:t?e[0][0][2]:void 0,m:r?e[0][0][t?3:2]:void 0}:"esriGeometryPolygon"===this.geometryType?{rings:e,hasZ:t,hasM:r}:{paths:e,hasZ:t,hasM:r}}getCurrentRingArea(){if(this.pathSize<3)return 0;let e,t,r=0;if(this.seekPathStart(),!this.nextPoint())return 0;e=this.x,t=this.y;const s=e,i=t;for(;this.nextPoint();)r+=(e-this.x)*(t+this.y),e=this.x,t=this.y;return r+=(e-s)*(t+i),-.5*r}invertY(){this.yFactor*=-1}}class h extends a{constructor(){super(...arguments),this._end=-1}get hasZ(){return this._geometry?.hasZ}get hasM(){return this._geometry?.hasM}initialize(e,t,r){return this.geometryType=t,this._stride=e.stride,this._geometry=e,this._pathIndex=-1,this._pathOffset=0,this._pointOffset=-this._stride,this._end=-1,this.yFactor=r,this}reset(){this.initialize(this._geometry,this.geometryType,this.yFactor)}seekPath(e){if(e>=0&&e<this.totalSize){if(this._pathIndex<e)for(;this._pathIndex<e&&this.nextPath(););else if(this._pathIndex>e)for(;this._pathIndex>e&&this.prevPath(););return!0}return!1}seekPathStart(){this._pointOffset=this._pathOffset-this._stride}seekPathEnd(){this._pointOffset=this._end}seekInPath(e){const t=this._pathOffset+e*this._stride;return t>=0&&t<this._end&&(this._pointOffset=t,!0)}nextPoint(){return(this._pointOffset+=this._stride)<this._end}prevPoint(){return(this._pointOffset-=this._stride)>=this._pathOffset}nextPath(){return!(this.pathIndex>=this.totalSize-1||(this._pathIndex>=0&&(this._pathOffset+=this._stride*this.pathSize),this._pathIndex++,this._pointOffset=this._pathOffset-this._stride,this._end=this._pointOffset+this._stride+this._stride*this.pathSize,0))}prevPath(){return!(this.pathIndex<=0||(this._pathIndex--,this._end=this._pathOffset,this._pathOffset-=this._stride*this.pathSize,this._pointOffset=this._pathOffset-this._stride,0))}getCurrentPath(){const e=this._end,t=this._geometry.coords,r=this._pathOffset;return(new h).initialize(new o.A([this.pathSize],t.slice(r,e),this.hasZ,this.hasM),this.geometryType,this.yFactor)}pathLength(){const e=this._end,t=this._stride,r=this._geometry.coords;let s=0;for(let i=this._pathOffset+t;i<e;i+=t){const e=r[i-t],n=r[i-t+1],o=r[i]-e,a=r[i+1]-n;s+=Math.sqrt(o*o+a*a)}return s}startPath(){this._geometry.lengths.push(0)}pushPath(e){this.startPath(),this.pushPoints(e)}pushPoint(e){for(let t=0;t<this._stride;++t)this._geometry.coords.push(e[t]);this._geometry.lengths[this.totalSize-1]++}pushXY(e,t){this._geometry.coords.push(e,t),this._geometry.lengths[this.totalSize-1]++}pushPoints(e){for(const t of e)for(let e=0;e<this._stride;++e)this._geometry.coords.push(t[e]);this._geometry.lengths[this.totalSize-1]+=e.length}pushCursor(e){const t=e.asOptimized();this._geometry.coords.push(...t.coords),this._geometry.lengths.push(...t.lengths)}asOptimized(){const e=this._geometry.clone();if(1!==this.yFactor)for(let t=1;t<e.coords.length;t+=this._stride)e.coords[t]*=this.yFactor;return"esriGeometryPoint"===this.geometryType&&(e.lengths.length=0),e}isClosed(){const e=this._geometry.coords,t=this._pathOffset,r=this._end-this._stride;for(let s=0;s<this._stride;s++)if(e[t+s]!==e[r+s])return!1;return!0}clone(){return(new h).initialize(this._geometry.clone(),this.geometryType,this.yFactor)}get totalPoints(){return this._geometry.isPoint?1:this._geometry.lengths.reduce((e,t)=>e+t)}get pathSize(){const{lengths:e}=this._geometry;return this._geometry.isPoint?1:this._pathIndex<0||this._pathIndex>e.length-1?0:e[this._pathIndex]}get totalSize(){return this._geometry.isPoint?1:this._geometry.lengths.length}get x(){return this._geometry.coords[this._pointOffset]}set x(e){this._geometry.coords[this._pointOffset]=e}get y(){return this.yFactor*this._geometry.coords[this._pointOffset+1]}set y(e){this._geometry.coords[this._pointOffset+1]=this.yFactor*e}get z(){return this._geometry.coords[this._pointOffset+2]}set z(e){this._geometry.coords[this._pointOffset+2]=e}get m(){const e=this.hasZ?3:2;return this._geometry.coords[this._pointOffset+e]}set m(e){this._geometry.coords[this._pointOffset+3]=e}get pathIndex(){return this._pathIndex}get _coordIndex(){return this._pointOffset/this._stride}}function u(e){const t=[e.x,e.y];return e.z&&t.push(e.z),e.m&&t.push(e.m),t}function l(e){return(0,n.Bi)(e)?[e.rings,"esriGeometryPolygon"]:(0,n.Rg)(e)?[e.paths,"esriGeometryPolyline"]:(0,n.U9)(e)?[[e.points],"esriGeometryMultipoint"]:(0,n.ZC)(e)?[[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]],"esriGeometryEnvelope"]:(0,n.fT)(e)?[[[u(e)]],"esriGeometryPoint"]:[[],"esriGeometryPolyline"]}class d extends a{initialize(e,t,r,s,i){return this._paths=e,this.geometryType=t,this.hasZ=r,this.hasM=s,this._pathIndex=this._pointIndex=-1,this.yFactor=i,this._mIndex=this.hasZ?3:2,this}reset(){this._pathIndex=this._pointIndex=-1}seekPath(e){return this._pathIndex=e,this._pointIndex=-1,e>=0&&e<this.totalSize&&(this._currentPath=this._paths[e],!0)}seekPathStart(){this._pointIndex=-1}seekPathEnd(){this._pointIndex=this._currentPath.length}seekInPath(e){return e>=0&&e<this._currentPath.length&&(this._pointIndex=e,this._currentPoint=this._currentPath[this._pointIndex],!0)}nextPoint(){return this._currentPoint=this._currentPath[++this._pointIndex],this._pointIndex<this._currentPath.length}prevPoint(){return this._currentPoint=this._currentPath[--this._pointIndex],this._pointIndex>=0}nextPath(){return this._pointIndex=-1,this._currentPath=this._paths[++this._pathIndex],this._pathIndex<this.totalSize}prevPath(){return this.pathIndex>0&&(this._pointIndex=-1,this._pathIndex--,this._currentPath=this._paths[this._pathIndex],!0)}pathLength(){const e=this._currentPath.length,t=this._currentPath;let r=0;for(let s=1;s<e;s++){const e=t[s-1],i=t[s],n=e[0],o=e[1],a=i[0]-n,h=i[1]-o;r+=Math.sqrt(a*a+h*h)}return r}startPath(){this._paths.push([])}getCurrentPath(){return(new d).initialize([this._currentPath],this.geometryType,this.hasZ,this.hasM,this.yFactor)}pushPath(e){this._paths.push(e)}pushPoint(e){this._paths[this.totalSize-1].push(e)}pushXY(e,t){this._paths[this.totalSize-1].push([e,t])}pushPoints(e){this._paths[this.totalSize-1].push(...e)}pushCursor(e){const t=(0,i.x)(e);for(const e of t)this.pushPath(e)}asOptimized(){const{hasZ:e,hasM:t}=this,r=new o.A([],[],e,t),{coords:s,lengths:i}=r;if("esriGeometryPoint"===this.geometryType)s.push(...this._paths[0][0]),i.length=0;else for(const r of this._paths){for(const i of r)s.push(i[0]),s.push(i[1]*this.yFactor),e&&s.push(i[2]),t&&s.push(i[this._mIndex]);i.push(r.length)}return r}isClosed(){const e=this._currentPath[0],t=this._currentPath[this._currentPath.length-1];for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}clone(){return(new d).initialize((0,s.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}get totalPoints(){return this._paths.map(e=>e.length).reduce((e,t)=>e+t)}get pathSize(){return this._pathIndex<0||this._pathIndex>this.totalSize-1?-1:this._paths[this._pathIndex].length}get totalSize(){return this._paths.length}get x(){return this._currentPoint[0]}set x(e){this._currentPoint[0]=e}get y(){return this.yFactor*this._currentPoint[1]}set y(e){this._currentPoint[1]=this.yFactor*e}get z(){return this._currentPoint[2]}set z(e){this._currentPoint[2]=e}get m(){return this._currentPoint[this._mIndex]}set m(e){this._currentPoint[this._mIndex]=e}get pathIndex(){return this._pathIndex}}class c extends h{initialize(e,t,r){return super.initialize(e,t,r),this._controlPoints||(this._controlPoints=this._controlPoints=new Array(this.totalSize).fill(void 0).map(e=>new Set)),this}startPath(){super.startPath(),this._controlPoints.push(new Set)}clone(){const e=(new c).initialize(this._geometry.clone(),this.geometryType,this.yFactor);return e._controlPoints=this._controlPoints,e}setControlPoint(){this._controlPoints[this.pathIndex].add(this._coordIndex)}getControlPoint(){return this._controlPoints[this.pathIndex].has(this._coordIndex)}setControlPointAt(e){this._controlPoints[this.pathIndex].add(e)}getControlPointAt(e){return this._controlPoints[this.pathIndex].has(e)}}class p extends d{initialize(e,t,r,s,i){return super.initialize(e,t,r,s,i)}clone(){return(new p).initialize((0,s.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}setControlPoint(){this._paths[this.pathIndex][this._pointIndex][4]=1}getControlPoint(){return 1===this._paths[this.pathIndex][this._pointIndex][4]}setControlPointAt(e){this._paths[this.pathIndex][e][4]=1}getControlPointAt(e){return 1===this._paths[this.pathIndex][e][4]}}},38976:(e,t,r)=>{r.d(t,{n:()=>n});var s=r(76213),i=r(9012);class n{constructor(e){this._options=e}insert(e,t){const r=e.getCursor(),{arcadeContextInfo:s,scale:n}=this._options,o=(0,i.N)(n,s);for(;r.next();)this._insertFeature(r,o,this._options.sqlOptions,t)}_insertFeature(e,t,r,i){const{featureFilter:n}=this._options;if(null!==n&&!n.check(e,r))return;let o=0,a=0;if("esriGeometryPoint"===e.geometryType)o=e.readXWorldSpace(),a=e.readYWorldSpace();else{if(i){const t=e.readCentroidForDisplay();if(null==t)return;const[r,i]=t.coords;if(r<0||r>s.CQ||i<0||i>s.CQ)return}const t=e.readCentroidWorldSpace();if(null==t)return;o=t.coords[0],a=t.coords[1]}this._insert(e,o,a,t)}}},39357:(e,t,r)=>{r.d(t,{H:()=>a});var s,i=r(31635),n=r(25482),o=r(91429);let a=s=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=s=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},39412:(e,t,r)=>{r.d(t,{N:()=>n});var s=r(2741);let i=null;async function n(){return i||(i=async function(){const e=await r.e(7733).then(r.bind(r,57733));return await e.default({module_or_path:(0,s.s)("esri/libs/parquet/pkg/bundle_bg.wasm")}),e}()),i}},41628:(e,t,r)=>{r.d(t,{A:()=>h});var s,i=r(31635),n=r(91429),o=r(76357),a=r(93223);let h=class extends o.A{static{s=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new s({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],h.prototype,"maxValue",void 0),(0,i.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],h.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],h.prototype,"type",void 0),h=s=(0,i.Cg)([(0,n.$K)("esri.layers.support.RangeDomain")],h)},44320:(e,t,r)=>{r.d(t,{I:()=>h});var s=r(65529),i=r(44208),n=r(70328),o=r(30661),a=r(5162);class h{constructor(){this._chunks=new Map,this._chunksToRemove=[],this.events=new s.bk,this.featureAdapter=new o.Z}destroy(){this.clear()}clear(){for(const e of this._chunks.values())this._chunksToRemove.push(e);this._chunks.clear(),this._overrides?.clearWeakOverrides()}get usedMemory(){let e=0;for(const t of this._chunks.values())e+=t.usedMemory;return e}async update(e){if(this._overrides){const t=await a.HJ.create(e);this._overrides.update(t)}this._schema=e}*chunks(){this._overrides&&(yield this._overrides.asChunk()),yield*this._chunks.values()}insert(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.insert`),this._overrides?.onChunkInsert(e),this._chunks.set(e.chunkId,e),this.events.emit("changed")}remove(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.remove`),this._chunks.delete(e.chunkId),this._chunksToRemove.push(e)}removeById(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e}] SourceChunkStore.remove`);const t=this._chunks.get(e);this._chunks.delete(e),t&&this._chunksToRemove.push(t)}cleanup(){const e=this._chunksToRemove;return this._chunksToRemove=[],this._overrides?.cleanup(this._chunks.values()),e}async applyOverride(e){if(null==this._overrides){const e=await a.HJ.create(this._schema);this._overrides=new a.Im(e);for(const e of this._chunks.values())this._overrides.onChunkInsert(e)}this._overrides.apply(e,this),this.events.emit("changed");for(const e of this._chunks.values())e.invalidate()}takeOverrideUpdate(){return this._overrides?.takeOverrideUpdate()}refresh(){this.events.emit("refresh")}forEach(e){const t=new Set;for(const r of this.chunks()){const s=r.reader.getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s.copy()),t.add(r))}}}forEachUnsafe(e){const t=new Set;for(const r of this.chunks()){const s=r.reader.getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s),t.add(r))}}}mapObjectIdsFromGlobalIds(e,t){const r=new Map,s=new Set(e);return this._overrides?.putWeakObjectIdsFromGlobalIds(r,s,t),this._forEachUnsafeIgnoreOverrides(e=>{const i=e.readAttribute(t);if(i&&s.has(i)&&!r.has(i)){const t=e.getObjectId();r.set(i,t)}}),r}forEachInBounds(e,t){const r=new Set;for(const s of this.chunks()){const i=s.queryFeaturesInBounds(e);for(;i.next();){const e=i.getObjectId();r.has(e)||(t(i.copy()),r.add(e))}}}forEachBounds(e,t){const r=(0,n.vt)();for(const s of e)s.getBounds(r)&&t(r)}_forEachUnsafeIgnoreOverrides(e){const t=new Set;for(const r of this._chunks.values()){const s=r.reader.withoutOverrides().getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s),t.add(r))}}}}},48163:(e,t,r)=>{function s(){return[0,0]}function i(e){return[e[0],e[1]]}function n(e,t){return[e,t]}function o(){return n(1,1)}function a(){return n(1,0)}function h(){return n(0,1)}r.d(t,{Un:()=>u,fA:()=>n,o8:()=>i,vt:()=>s});const u=o(),l=a(),d=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:l,UNIT_Y:d,ZEROS:[0,0],clone:i,create:s,freeze:function(e,t){return[e,t]},fromArray:function(e,t=[0,0]){const r=Math.min(2,e.length);for(let s=0;s<r;++s)t[s]=e[s];return t},fromValues:n,ones:o,unitX:a,unitY:h,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},50115:(e,t,r)=>{r.d(t,{OP:()=>o,V4:()=>i,rZ:()=>n}),r(44208);var s=r(53966);function i(e,t,r){if(null==e)return null;const i=t.readArcadeFeature();t.contextTimeZone=r.$view?.timeZone;try{return e.evaluate(i,r)}catch(e){return s.A.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:",e),null}}function n(e){return null==e||e===1/0||e===-1/0||"number"==typeof e&&isNaN(e)}function o(e,t,r,s){if(null==e)return null!=s?s:null;const i=t.readArcadeFeature();t.contextTimeZone=r.$view?.timeZone;const o=e.evaluate(i,r);return n(o)?null!=s?s:null:o}},52350:(e,t,r)=>{r.d(t,{e:()=>a});var s=r(69397),i=r(62577),n=r(90708),o=r(99996);class a extends o.Y{static from(e,t){if(e instanceof this){const r=new Set(t),s=e._indices.filter(e=>r.has(e));return new a(e._reader,s)}return new a(e.copy(),t)}constructor(e,t){super(e.metadata),this._currentIndex=-1,this._displayTransform=null,this._reader=e,this._indices=t}setTransformForDisplay(e){const t=this._reader.getInTransform();if(null==t)return void(this._displayTransform=(0,i.Q1)(e));const r=(0,i.Q1)(t),s=(0,i.Q1)(e),[n,o]=r.scale,[a,h]=r.translate,[u,l]=s.scale,[d,c]=s.translate,p=n/u,_=o/l,f=(a-d)/u,m=(h-c)/l;this._displayTransform={originPosition:"lowerLeft",scale:[1/p,1/_,1,1],translate:[-f/p,-m/_,0,0]}}getInTransform(){return this._reader.getInTransform()}get fields(){return this._reader.fields}get hasNext(){return this._currentIndex+1<this._indices.length}getSize(){return this._indices.length}getCursor(){return this.copy()}copy(){const e=new a(this._reader.copy(),this._indices);return e._currentIndex=this._currentIndex,e._displayTransform=this._displayTransform,e._processorAttributes=this._processorAttributes,e}get contextTimeZone(){return this._reader.contextTimeZone}set contextTimeZone(e){this._reader.contextTimeZone=e}get usedMemory(){return s.qK+this._reader.usedMemory}setProcessorAttributes(e){this._processorAttributes=Object.assign(this._processorAttributes??{},e)}_nextIndex(){return++this._currentIndex<this._indices.length&&(this._reader.setIndex(this._indices[this._currentIndex]),!0)}next(){for(;this._nextIndex()&&!this._reader._getExists(););return this._currentIndex<this._indices.length}readXForDisplay(){return this._displayTransform?(0,i.IE)(this._displayTransform,this._reader.readXForDisplay()):this._reader.readXForDisplay()}readYForDisplay(){return this._displayTransform?(0,i.B2)(this._displayTransform,this._reader.readYForDisplay()):this._reader.readYForDisplay()}readGeometryForDisplay(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform):this._reader.readGeometryForDisplay()}readCentroidForDisplay(){const e=this._reader.readCentroidForDisplay()?.clone();if(e){const[t,r]=e.coords;this._displayTransform&&(e.coords[0]=(0,i.IE)(this._displayTransform,t),e.coords[1]=(0,i.B2)(this._displayTransform,r))}return e}get geometryType(){return this._reader.geometryType}get hasFeatures(){return this._reader.hasFeatures}get exceededTransferLimit(){return this._reader.exceededTransferLimit}get hasZ(){return this._reader.hasZ}get hasM(){return this._reader.hasM}readAttribute(e,t=!1){const r=this._reader.readAttribute(e,t);return null==r&&this._processorAttributes?this._processorAttributes[e]:r}readAttributes(){return{...this._processorAttributes,...this._reader.readAttributes()}}joinAttributes(e){return this._reader.joinAttributes(e)}getBounds(e){return this._reader.getBounds(e)}getAttributeHash(){return this._reader.getAttributeHash()}getObjectId(){return this._reader.getObjectId()}getDisplayId(){return this._reader.getDisplayId()}setDisplayId(e){return this._reader.setDisplayId(e)}setIndex(e){return this._reader.setIndex(e)}getIndex(){return this._reader.getIndex()}readXWorldSpace(){return this._reader.readXWorldSpace()}readYWorldSpace(){return this._reader.readYWorldSpace()}_readX(){return this._reader.readXForDisplay()}_readY(){return this._reader.readYForDisplay()}_readServerCentroid(){return this._reader._readServerCentroid()}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,n.zv)(e,this.geometryType,!1,!1)}readGeometryArea(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform)?.area()??0:this._reader.readGeometryArea()}readGeometryWorldSpace(){return this._reader.readGeometryWorldSpace()}_readGeometry(){return this._reader._readGeometry()}_readAttribute(e,t){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}_readAttributes(){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}readArcadeFeature(){return this._reader.readArcadeFeature()}geometry(){return this._reader.geometry()}field(e){return this._reader.field(e)}hasField(e){return this._reader.hasField(e)}setField(e,t){return this._reader.setField(e,t)}keys(){return this._reader.keys()}castToText(e=!1){return this._reader.castToText(e)}}},53177:(e,t,r)=>{r.d(t,{A:()=>l});var s,i=r(31635),n=r(4718),o=r(91429),a=r(39357),h=r(76357),u=r(93223);let l=class extends h.A{static{s=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new s({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.H],json:{write:{isRequired:!0}}})],l.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],l.prototype,"type",void 0),l=s=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],l)},60408:(e,t,r)=>{function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function n(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function h(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?n(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function l(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>l,Rg:()=>o,U9:()=>i,W0:()=>d,ZC:()=>s,fT:()=>n,uW:()=>h})},63664:(e,t,r)=>{r.d(t,{B:()=>s});class s{constructor(e){this._statistics=e}get statistics(){return this._statistics}}},63892:(e,t,r)=>{r.d(t,{DV:()=>p,Xj:()=>f,hD:()=>_});var s=r(11254),i=r(49186),n=(r(44208),r(563)),o=r(84952),a=r(39412);const h=new n.QueueProcessor({concurrency:8,process:async e=>{const{data:t}=await(0,s.A)(e.url,e.options);return t}}),u=e=>async function(t,r,s,i){const n=e?.(),o=n??{};return await h.push({url:t,options:{responseType:"array-buffer",query:o,headers:{range:`bytes=${r}-${s}`}}})},l=e=>async function(t){if((0,o.w8)(t)){const{data:e}=await(0,s.A)(t,{responseType:"blob"});return e.size}const{data:r}=await(0,s.A)(t,{responseType:"native",method:"head",query:e?.()}),i=r.headers.get("Content-Length");if(null==i)throw new Error("Unable to parse content length");return parseInt(i,10)};function d(e,t){switch(t){case"esriGeometryPoint":return e.GeometryType.Point;case"esriGeometryPolygon":case"polygon":return e.GeometryType.Polygon;case"esriGeometryPolyline":case"polyline":return e.GeometryType.Polyline;case"esriGeometryMultipoint":case"multipoint":return e.GeometryType.Multipoint;default:throw new i.A("parquet",`Found unexpected GeometryType: ${t}`)}}function c(e,t){const r=e.GeometryInfo.new();t.geometry&&r.setGeometry(function(e,t){const r=t.encoding,s=d(e,t.geometryType),i=t.spatialReference.wkid;if(null==i)throw new Error("InternalError: Wkid must be defined.");switch(r.type){case"wkb":return e.GeometryField.fromWkb(r.field,i,s);case"location":{const{yField:t,xField:n}=r;return e.GeometryField.fromLocation(t,n,i,s)}}}(e,t.geometry));const s=t.displayOptimization;if(s){const{index:t,parentColumn:i}=s,n=e=>null!=i?[i,e].join("."):e;if("z"===t.type){const s=e.DisplayOptimizationZBuilder.new();s.setCodeField(n(t.code)),s.setXColumn(n(t.xColumn)),s.setYColumn(n(t.yColumn)),s.setCooordinatePrecision(t.coordinatePrecision),s.setFullExtent(t.fullExtent),s.setSpatialReference(t.wkid,t.wkt),s.setHasZ(!!t.zColumn),s.setHasM(!!t.mColumn),r.setOptmizationZ(s)}if("xz"===t.type){const s=d(e,t.geometryType),i=e.DisplayOptimizationXZBuilder.new();i.setCodeField(n(t.code)),i.setEncoding(t.encoding),i.setFullExtent(t.fullExtent),i.setGeometryType(s),i.setSpatialReference(t.wkid,t.wkt),i.setMaxLevel(t.maxLevel),i.setHasZ(t.hasZ??!1),i.setHasM(t.hasM??!1);for(const r of t.levels??[]){const[t,s]=r.transform.translate,[o,a]=r.transform.scale,h=new Float64Array([t,s]),u=new Float64Array([o,a]),l=n(r.column);i.addLevel(e.MultiscaleGeometryField.new(r.level,r.scale,l,h,u))}r.setOptmizationXZ(i)}}return r}async function p(e,t={}){const r=await(0,a.N)(),s=u(t.getCustomParameters),n=l(t.getCustomParameters),o=t.geometryInfo?c(r,t.geometryInfo):null;try{return await r.ParquetFile.fromUrl(e,s,n,o)}catch(e){throw new i.A("parquet","Failed to parse file",{error:e})}}function _(e){const t=e.keyValueMetadata("geo");return null!=t?JSON.parse(t):null}function f(e){if(e.keyValueMetadata("esri"))throw new i.A("parquet:unsupported","File was created using an unsupported experimental display index. Please regenerate the file.");const t=e.keyValueMetadata("geodisplay");if(null!=t)return JSON.parse(t);const r=e.keyValueMetadata("org.apache.spark.sql.parquet.row.metadata");if(null!=r){const e=JSON.parse(r);for(const t of e.fields)if(null!=t.metadata&&"type"in t.metadata&&("xz"===t.metadata.type||"z"===t.metadata.type)){const e={parentColumn:t.name,index:t.metadata};if("xz"===e.index.type&&(e.index.geometryType=e.index.geometryType.toLowerCase(),"esri-pbf"===e.index.encoding&&(e.index.encoding="esriPBF"),"esriPBF"!==e.index.encoding))throw new i.A("parquet:unsupported",`Encoding for display index must be of type esriPBF, but found ${e.index.encoding}`);return e}}return null}},64714:(e,t,r)=>{r.d(t,{F0:()=>a,Vx:()=>l,e2:()=>c,f:()=>p});var s=r(44208),i=r(4718),n=r(99352),o=r(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const h=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function l(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${d(t)} = null;`;for(const t in e)r+=`this${d(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new s}catch(r){return()=>({[t]:null,...e})}}function d(e){return h.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function p(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:n.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:n.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},65864:(e,t,r)=>{r.d(t,{rS:()=>l,xD:()=>c});var s=r(5443),i=r(91075),n=r(48526),o=r(86738),a=r(39829),h=r(82799),u=r(60408);function l(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?h.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?n.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},68974:(e,t,r)=>{r.d(t,{H:()=>u,p:()=>h});var s=r(69397),i=r(86211),n=r(38976),o=r(75538);const a=96;function h(e,t){return(0,i.GA)(e)*i.dy*a/t}class u extends n.n{constructor(e){super(e),this._cells=new Map,this._pixelsPerMapUnit=h(e.spatialReference,e.scale)}get usedMemory(){const e=this._cells.values().next().value;return e?(s.RS+e.usedMemory)*this._cells.size:0}put(e){for(const t of this._cells.values()){const r=e.get(t.id);r?r.merge(t):e.set(t.id,t.clone())}}putBounded(e,t,r){const s=[t.xmin,t.ymin,t.xmax,t.ymax],[i,n,o,a]=s,h=Math.floor(i*this._pixelsPerMapUnit/this._options.cellSize),u=Math.floor(n*this._pixelsPerMapUnit/this._options.cellSize),l=Math.ceil(o*this._pixelsPerMapUnit/this._options.cellSize),d=Math.ceil(a*this._pixelsPerMapUnit/this._options.cellSize);for(let t=u;t<=d;t++)for(let r=h;r<=l;r++){const s=`${r}.${t}`,i=this._cells.get(s);if(!i)continue;const n=e.get(i.id);n?i&&!e.has(i.id)&&n.merge(i):e.set(i.id,i.clone())}}_insert(e,t,r,s){const i=t*this._pixelsPerMapUnit,n=r*this._pixelsPerMapUnit,o=Math.floor(i/this._options.cellSize),a=Math.floor(n/this._options.cellSize);this._getCellOrCreate(o,a).insert(e,s,t,r)}_getCellOrCreate(e,t){const r=o.L.createId(e,t);let s=this._cells.get(r);if(!s){const i=1*this._options.cellSize/this._pixelsPerMapUnit;s=o.L.create(e,t,this._options.fields,i),this._cells.set(r,s)}return s}}},70300:(e,t,r)=>{r.d(t,{K:()=>R});var s=r(69397),i=r(11006);function n(e,t){if(!(this instanceof n))return new n(e,t);this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this.toBBox=t:this._initFormat(t)),this.clear()}function o(e,t,r){if(!r)return t.indexOf(e);for(var s=0;s<t.length;s++)if(r(e,t[s]))return s;return-1}function a(e,t){h(e,0,e.children.length,t,e)}function h(e,t,r,s,i){i||(i=g(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var n,o=t;o<r;o++)n=e.children[o],u(i,e.leaf?s(n):n);return i}function u(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function l(e,t){return e.minX-t.minX}function d(e,t){return e.minY-t.minY}function c(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function p(e){return e.maxX-e.minX+(e.maxY-e.minY)}function _(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function f(e,t){var r=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),i=Math.min(e.maxX,t.maxX),n=Math.min(e.maxY,t.maxY);return Math.max(0,i-r)*Math.max(0,n-s)}function m(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function y(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function g(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function x(e,t,r,s,n){for(var o,a=[t,r];a.length;)(r=a.pop())-(t=a.pop())<=s||(o=t+Math.ceil((r-t)/s/2)*s,(0,i.q)(e,o,t,r,n),a.push(t,o,o,r))}n.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,r=[],s=this.toBBox;if(!y(e,t))return r;for(var i,n,o,a,h=[];t;){for(i=0,n=t.children.length;i<n;i++)o=t.children[i],y(e,a=t.leaf?s(o):o)&&(t.leaf?r.push(o):m(e,a)?this._all(o,r):h.push(o));t=h.pop()}return r},collides:function(e){var t=this.data,r=this.toBBox;if(!y(e,t))return!1;for(var s,i,n,o,a=[];t;){for(s=0,i=t.children.length;s<i;s++)if(n=t.children[s],y(e,o=t.leaf?r(n):n)){if(t.leaf||m(e,o))return!0;a.push(n)}t=a.pop()}return!1},load:function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0,r=e.length;t<r;t++)this.insert(e[t]);return this}var s=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===s.height)this._splitRoot(this.data,s);else{if(this.data.height<s.height){var i=this.data;this.data=s,s=i}this._insert(s,this.data.height-s.height-1,!0)}else this.data=s;return this},insert:function(e){return null!=e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=g([]),this},remove:function(e,t){if(null==e)return this;for(var r,s,i,n,a=this.data,h=this.toBBox(e),u=[],l=[];a||u.length;){if(a||(a=u.pop(),s=u[u.length-1],r=l.pop(),n=!0),a.leaf&&-1!==(i=o(e,a.children,t)))return a.children.splice(i,1),u.push(a),this._condense(u),this;n||a.leaf||!m(a,h)?s?(r++,a=s.children[r],n=!1):a=null:(u.push(a),l.push(r),r=0,s=a,a=a.children[0])}return this},toBBox:function(e){return e},compareMinX:l,compareMinY:d,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var r=[];e;)e.leaf?t.push.apply(t,e.children):r.push.apply(r,e.children),e=r.pop();return t},_build:function(e,t,r,s){var i,n=r-t+1,o=this._maxEntries;if(n<=o)return a(i=g(e.slice(t,r+1)),this.toBBox),i;s||(s=Math.ceil(Math.log(n)/Math.log(o)),o=Math.ceil(n/Math.pow(o,s-1))),(i=g([])).leaf=!1,i.height=s;var h,u,l,d,c=Math.ceil(n/o),p=c*Math.ceil(Math.sqrt(o));for(x(e,t,r,p,this.compareMinX),h=t;h<=r;h+=p)for(x(e,h,l=Math.min(h+p-1,r),c,this.compareMinY),u=h;u<=l;u+=c)d=Math.min(u+c-1,l),i.children.push(this._build(e,u,d,s-1));return a(i,this.toBBox),i},_chooseSubtree:function(e,t,r,s){for(var i,n,o,a,h,u,l,d;s.push(t),!t.leaf&&s.length-1!==r;){for(l=d=1/0,i=0,n=t.children.length;i<n;i++)h=c(o=t.children[i]),(u=_(e,o)-h)<d?(d=u,l=h<l?h:l,a=o):u===d&&h<l&&(l=h,a=o);t=a||t.children[0]}return t},_insert:function(e,t,r){var s=this.toBBox,i=r?e:s(e),n=[],o=this._chooseSubtree(i,this.data,t,n);for(o.children.push(e),u(o,i);t>=0&&n[t].children.length>this._maxEntries;)this._split(n,t),t--;this._adjustParentBBoxes(i,n,t)},_split:function(e,t){var r=e[t],s=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,s);var n=this._chooseSplitIndex(r,i,s),o=g(r.children.splice(n,r.children.length-n));o.height=r.height,o.leaf=r.leaf,a(r,this.toBBox),a(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(r,o)},_splitRoot:function(e,t){this.data=g([e,t]),this.data.height=e.height+1,this.data.leaf=!1,a(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,r){var s,i,n,o,a,u,l,d;for(u=l=1/0,s=t;s<=r-t;s++)o=f(i=h(e,0,s,this.toBBox),n=h(e,s,r,this.toBBox)),a=c(i)+c(n),o<u?(u=o,d=s,l=a<l?a:l):o===u&&a<l&&(l=a,d=s);return d},_chooseSplitAxis:function(e,t,r){var s=e.leaf?this.compareMinX:l,i=e.leaf?this.compareMinY:d;this._allDistMargin(e,t,r,s)<this._allDistMargin(e,t,r,i)&&e.children.sort(s)},_allDistMargin:function(e,t,r,s){e.children.sort(s);var i,n,o=this.toBBox,a=h(e,0,t,o),l=h(e,r-t,r,o),d=p(a)+p(l);for(i=t;i<r-t;i++)n=e.children[i],u(a,e.leaf?o(n):n),d+=p(a);for(i=r-t-1;i>=t;i--)n=e.children[i],u(l,e.leaf?o(n):n),d+=p(l);return d},_adjustParentBBoxes:function(e,t,r){for(var s=r;s>=0;s--)u(t[s],e)},_condense:function(e){for(var t,r=e.length-1;r>=0;r--)0===e[r].children.length?r>0?(t=e[r-1].children).splice(t.indexOf(e[r]),1):this.clear():a(e[r],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=new Function("a","b",t.join(e[0])),this.compareMinY=new Function("a","b",t.join(e[1])),this.toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}};var v=r(70328);class b{static fromReader(e){const t=[],r=e.copy(),s=(0,v.vt)();for(;r.next();)r.getBounds(s)&&t.push(r.getIndex());const i=n(9,e=>(r.setIndex(e),{minX:r.getBoundsXMin(),minY:r.getBoundsYMin(),maxX:r.getBoundsXMax(),maxY:r.getBoundsYMax()}));return i.load(t),new b(i,t.length)}constructor(e,t){this._index=e,this._size=t}get usedMemory(){return this._size*s.RS}search(e){const t={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this._index.search(t)}}r(44208);var I=r(34727),w=(r(37585),r(48163)),T=r(39829),M=r(16930),S=r(19419),F=r(79258),A=r(90708),C=r(31464);function P(e,t,r,s){if(s.isWebMercator){const s=(0,I.KJ)(e/F.$O.radius),i=s-360*Math.floor((s+180)/360),n=[0,0];return O(n,0,(0,I.KJ)(Math.PI/2-2*Math.atan(Math.exp(-t/F.$O.radius))),i,r),n}const i=(0,C.Cv)({x:e,y:t},s,M.A.WGS84);if(!i)return null;const n=[0,0];return O(n,0,i.y,i.x,r),n}function O(e,t,r,s,i){i%2&&(i+=1);let n=0,o=0,a=-90,h=90,u=-180,l=180;for(let e=0;e<i/2;e++){for(let t=0;t<5;t++){const r=(u+l)/2,i=s>r?1:0;n|=i<<29-(t+5*e),u=(1-i)*u+i*r,l=(1-i)*r+i*l}for(let t=0;t<5;t++){const s=(a+h)/2,i=r>s?1:0;o|=i<<29-(t+5*e),a=(1-i)*a+i*s,h=(1-i)*s+i*h}}e[2*t]=n,e[2*t+1]=o}(0,w.vt)(),(0,w.vt)();var N=r(63664),k=r(92029);class z extends N.B{static create(e,t,r,s){const i=k.o.create(e),n=new Array(32);for(let e=0;e<n.length;e++)n[e]=null;return new z(i,t,r,s,n)}constructor(e,t,r,s,i){super(e),this.xNode=t,this.yNode=r,this.depth=s,this.children=i,this._objectIds=new Set,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._xGeohashTotal=0,this._yGeohashTotal=0,this.next=null}static get estimatedMemory(){let e=0;return e+=2*s.qK,e+=32*s.RS,e+=k.o.estimatedMemory,e}get id(){return`${this.xNode}.${this.yNode}`}get containedObjectIds(){return this._objectIds}get count(){return this._count}clone(){const e=new z(this._statistics.clone(),this.xNode,this.yNode,this.depth,this.children);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._xGeohashTotal=this._xGeohashTotal,e._yGeohashTotal=this._yGeohashTotal,e.next=this.next,e._objectIds=new Set(this._objectIds),e}insert(e,t,r,s,i,n){this._count+=1,this._xWorldTotal+=t,this._yWorldTotal+=r,this._xGeohashTotal+=s,this._yGeohashTotal+=i,this._statistics.insert(e,n),this._objectIds.add(e.getObjectId())}merge(e){if(0!==e._count){this._count+=e._count,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._xGeohashTotal+=e._xWorldTotal,this._yGeohashTotal+=e._yWorldTotal,this._statistics.merge(e._statistics);for(const t of e._objectIds.values())this._objectIds.add(t)}}getCentroid(e){throw new Error("getCentroid not supported for GeohashNode")}getGeometry(e,t){const r=this._getLngLatBounds(),[s,i,n,o]=r,a=(0,C.Cv)({rings:[[[s,i],[s,o],[n,o],[n,i],[s,i]]]},M.A.WGS84,e),h=(0,A.Ye)(a);return null!=t?(0,A.Nl)(h,"esriGeometryPolygon",t,!1,!1):h}getGeometricCentroid(e,t){const r=this._getLngLatBounds(),[s,i,n,o]=r,a=(0,C.Cv)({x:(s+n)/2,y:(i+o)/2},M.A.WGS84,e),h=(0,A.qN)(a);return null!=t?(0,A.Nl)(h,"esriGeometryPoint",t,!1,!1):h}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return e.aggregateCount=this._count,e}find(e,t,r,s,i,n){if(s>=r)return this;const o=1-s%2,a=3*o+2*(1-o),h=2*o+3*(1-o),u=30-i-a,l=30-n-h,d=((e&7*o+3*(1-o)<<u)>>u)+((t&3*o+7*(1-o)<<l)>>l)*(8*o+4*(1-o)),c=this.children[d];return null==c?null:c.find(e,t,r,s+1,i+a,n+h)}_getLngLatBounds(){const e=this.depth,t=Math.ceil(e/2),r=Math.floor(e/2),s=30-(3*t+2*r),i=30-(2*t+3*r);return function(e,t){let r=-90,s=90,i=-180,n=180;for(let o=0;o<t;o++){const t=Math.ceil((o+1)/2),a=Math.floor((o+1)/2),h=1-o%2,u=30-(3*t+2*a),l=30-(2*t+3*a),d=2*h+3*(1-h),c=(7*h+3*(1-h)<<u&e.geohashX)>>u,p=(3*h+7*(1-h)<<l&e.geohashY)>>l;for(let e=3*h+2*(1-h)-1;e>=0;e--){const t=(i+n)/2,r=c&1<<e?1:0;i=(1-r)*i+r*t,n=(1-r)*t+r*n}for(let e=d-1;e>=0;e--){const t=(r+s)/2,i=p&1<<e?1:0;r=(1-i)*r+i*t,s=(1-i)*t+i*s}}return[i,r,n,s]}({geohashX:this.xNode<<s,geohashY:this.yNode<<i},this.depth)}}class G{constructor(e){this._fields=e,this._size=0,this._depth=0,this._root=z.create(this._fields,0,0,0)}destroy(){}get size(){return this._size}get depth(){return this._depth}get usedMemory(){return this._size*z.estimatedMemory}find(e,t,r){return this._root.find(e,t,r,0,0,0)}insert(e,t,r,s,i,n,o){let a=this._root,h=0,u=0,l=0;for(;null!==a;){if(a.insert(e,t,r,s,i,o),h>=n)return;const d=Math.ceil((h+1)/2),c=Math.floor((h+1)/2),p=1-h%2,_=30-(3*d+2*c),f=30-(2*d+3*c),m=(s&7*p+3*(1-p)<<_)>>_,y=(i&3*p+7*(1-p)<<f)>>f,g=m+y*(8*p+4*(1-p));u=u<<3*p+2*(1-p)|m,l=l<<2*p+3*(1-p)|y,null==a.children[g]&&(a.children[g]=z.create(this._fields,u,l,h+1),this._depth=Math.max(this._depth,h+1),this._size+=1),h+=1,a=a.children[g]}}putBins(e,t){for(const r of this.getNodes(t)){const t=e.get(r.id);t?t.merge(r):e.set(r.id,r.clone())}}getNodes(e){const t=[],{geohashBounds:r,level:s}=e;let i=this._root;for(;null!==i;){const e=i.depth,n=i.xNode,o=i.yNode;if(e>=s){t.push(i),i=i.next;continue}const a=Math.ceil((e+1)/2),h=Math.floor((e+1)/2),u=1-e%2,l=30-(3*a+2*h),d=30-(2*a+3*h),c=~((1<<l)-1),p=~((1<<d)-1),_=(r.xLL&c)>>l,f=(r.yLL&p)>>d,m=(r.xTR&c)>>l,y=(r.yTR&p)>>d,g=n<<3*u+2*(1-u),x=o<<2*u+3*(1-u),v=g+8*u+4*(1-u),b=x+4*u+8*(1-u),I=Math.max(g,_),w=Math.max(x,f),T=Math.min(v,m),M=Math.min(b,y);let S=null,F=null;for(let e=w;e<=M;e++)for(let t=I;t<=T;t++){const r=t-g+(e-x)*(8*u+4*(1-u)),s=i.children[r];s&&(S||(S=s,S.next=i.next),F&&(F.next=s),F=s,s.next=i.next)}i=S||i.next}return t}}var B=r(38976);class D extends B.n{constructor(e){super(e),this._tree=new G(this._options.fields)}get usedMemory(){return this._tree.usedMemory}put(e){throw new Error("Geohash tree does not support put")}putBounded(e,t,r){const{geohashLevel:s,spatialReference:i}=this._options,n=function(e,t,r,s){const i=[e.xmin,e.ymin,e.xmax,e.ymax],n=T.A.fromExtent((0,S.w1)(i,s)),o=(0,C.Cv)(n,s,M.A.WGS84,{extendedParams:{densificationStep:64*t}});if(!o)return null;const a=(0,A.Ye)(o,!1,!1),h=a.coords.filter((e,t)=>!(t%2)),u=a.coords.filter((e,t)=>t%2),l=Math.min(...h),d=Math.min(...u),c=Math.max(...h),p=Math.max(...u),_=P(l,d,r,M.A.WGS84),f=P(c,p,r,M.A.WGS84);return _&&f?{bounds:i,geohashBounds:{xLL:_[0],yLL:_[1],xTR:f[0],yTR:f[1]},level:r}:null}(t,r,s,i);null!=n&&this._tree.putBins(e,n)}_insert(e,t,r,s){const{geohashLevel:i,spatialReference:n}=this._options,o=P(t,r,i,n);o&&this._tree.insert(e,t,r,o[0],o[1],i,s)}}var W=r(68974),j=r(52350);class R{size(){return this.reader.getSize()}get fields(){return this.reader.fields}invalidate(){this._aggregateIndex=null,this._aggregateIndexHash=null,this._spatialIndex=null}get usedMemory(){let e=0;return e+=this.reader.underlyingMemory,this._aggregateIndex&&(e+=this._aggregateIndex.usedMemory),this._spatialIndex&&(e+=this._spatialIndex.usedMemory),e}getObjectIds(){const e=this.reader.getCursor(),t=[];for(;e.next();)t.push(e.getObjectId());return t}registerOverrides(e){this.reader.registerOverrides(e),this.invalidate()}queryFeaturesInBounds(e){const t=this._getSpatialIndex().search(e);return j.e.from(this.reader,t)}getAggregateIndex(e){const t=JSON.stringify(e);if(t!==this._aggregateIndexHash){switch(this._aggregateIndexHash=t,e.type){case"grid":this._aggregateIndex=new W.H(e);break;case"geohash":this._aggregateIndex=new D(e)}this._aggregateIndex.insert(this.reader,this.isTiled)}return this._aggregateIndex}_getSpatialIndex(){return this._spatialIndex||(this._spatialIndex=b.fromReader(this.reader)),this._spatialIndex}}},73250:(e,t,r)=>{r.d(t,{y:()=>i});var s=r(69397);class i{static fromBuffer(e,t){return new i(e,t)}static create(e,t=4294967295){const r=new Uint32Array(Math.ceil(e/32));return new i(r,t)}constructor(e,t){this._mask=0,this._buf=e,this._mask=t}_getIndex(e){return Math.floor(e/32)}get usedMemory(){return(0,s.Qf)(this._buf)}has(e){const t=this._mask&e;return!!(this._buf[this._getIndex(t)]&1<<t%32)}hasRange(e,t){let r=e,s=t;for(;r%32&&r!==s;){if(this.has(r))return!0;r++}for(;s%32&&r!==s;){if(this.has(r))return!0;s--}if(r===s)return!1;for(let e=r/32;e!==s/32;e++)if(this._buf[e])return!0;return!1}set(e){const t=this._mask&e,r=this._getIndex(t),s=1<<t%32;this._buf[r]|=s}setRange(e,t){let r=e,s=t;for(;r%32&&r!==s;)this.set(r++);for(;s%32&&r!==s;)this.set(s--);if(r!==s)for(let e=r/32;e!==s/32;e++)this._buf[e]=4294967295}unset(e){const t=this._mask&e,r=this._getIndex(t),s=1<<t%32;this._buf[r]&=4294967295^s}resize(e){const t=this._buf,r=new Uint32Array(Math.ceil(e/32));r.set(t),this._buf=r}or(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=e._buf[t];return this}and(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=e._buf[t];return this}xor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=e._buf[t];return this}ior(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=~e._buf[t];return this}iand(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=~e._buf[t];return this}ixor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=~e._buf[t];return this}any(){for(let e=0;e<this._buf.length;e++)if(this._buf[e])return!0;return!1}copy(e){for(let t=0;t<this._buf.length;t++)this._buf[t]=e._buf[t];return this}clone(){return new i(this._buf.slice(),this._mask)}clear(){for(let e=0;e<this._buf.length;e++)this._buf[e]=0;return this}forEachSet(e){for(let t=0;t<this._buf.length;t++){let r=this._buf[t],s=32*t;if(r)for(;r;)1&r&&e(s),r>>>=1,s++}}countSet(){let e=0;return this.forEachSet(t=>{e++}),e}}},75538:(e,t,r)=>{r.d(t,{L:()=>a});var s=r(90708),i=r(92722),n=r(63664),o=r(92029);class a extends n.B{static createId(e,t){return`${e}.${t}`}static create(e,t,r,s){return new a(e,t,o.o.create(r),s)}constructor(e,t,r,s){super(r),this.gridX=e,this.gridY=t,this._worldUnitsPerCell=s,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._objectIds=new Set}get id(){return a.createId(this.gridX,this.gridY)}get containedObjectIds(){return this._objectIds}get count(){return this._count}get firstObjectId(){return this._objectIds.values().next().value}get centroidXWorld(){return this._xWorldTotal/this._count}get centroidYWorld(){return this._yWorldTotal/this._count}get usedMemory(){return 48}clone(){const e=new a(this.gridX,this.gridY,this._statistics.clone(),this._worldUnitsPerCell);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._firstFeatureAttributes=this._firstFeatureAttributes,e._objectIds=new Set(this._objectIds),e}insert(e,t,r,s){0===this._count?this._firstFeatureAttributes=e.readAttributes():this._firstFeatureAttributes=null,this._count+=1,this._xWorldTotal+=r,this._yWorldTotal+=s,this._statistics.insert(e,t),this._objectIds.add(e.getObjectId())}merge(e){if(0!==e._count){this._count+=e._count,this._firstFeatureAttributes=e._firstFeatureAttributes,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._statistics.merge(e._statistics);for(const t of e._objectIds.values())this._objectIds.add(t)}}getCentroidX(e){return null==e?this.centroidXWorld:(0,s.IE)(e,this.centroidXWorld)}getCentroidY(e){return null==e?this.centroidYWorld:(0,s.B2)(e,this.centroidYWorld)}getGeometry(e,t){const r=this.gridX*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell,o=new i.A([4],[r,n,r+this._worldUnitsPerCell,n,r+this._worldUnitsPerCell,n+this._worldUnitsPerCell,r,n+this._worldUnitsPerCell]);return null!=t?(0,s.Nl)(o,"esriGeometryPolygon",t):o}getCentroid(e){const t=new i.A([],[this.centroidXWorld,this.centroidYWorld]);return null!=e?(0,s.Nl)(t,"esriGeometryPoint",e):t}getGeometricCentroid(e,t){const r=this.gridX*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,o=new i.A([],[r,n]);return null!=t?(0,s.Nl)(o,"esriGeometryPoint",t):o}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return null!=this._firstFeatureAttributes?{...e,...this._firstFeatureAttributes}:e}}},76213:(e,t,r)=>{r.d(t,{C2:()=>o,CQ:()=>s,DY:()=>i,GR:()=>f,Gh:()=>h,MZ:()=>c,TB:()=>_,U5:()=>a,_M:()=>u,cp:()=>m,eG:()=>n,fq:()=>p,hM:()=>d,ie:()=>l});const s=512,i=29,n=24,o=4,a=6,h=1.05,u=3,l=3,d=4,c=1,p=10,_=256,f=32,m=512},76357:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(31635),i=r(66552),n=r(25482),o=r(91429),a=r(93223);const h=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,s.Cg)([(0,a.e)(h),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},92029:(e,t,r)=>{r.d(t,{o:()=>o});var s=r(69397),i=r(50115);const n=Math.PI/180;class o{static create(e){return new o(e.map(e=>function(e){switch(e.statisticType){case"min":return new h(e);case"max":return new u(e);case"avg":return new d(e);case"avg_angle":return new c(e);case"sum":case"count":return new l(e);case"mode":return new p(e)}}(e)))}constructor(e){this._statistics=e}static get estimatedMemory(){return s.qK+4*s.qK}values(){return this._statistics.values()}insert(e,t){for(const r of this._statistics)r.insert(e,t)}merge(e){for(let t=0;t<this._statistics.length;t++){const r=this._statistics[t],s=e._statistics[t];if(r.field.name!==s.field.name)throw new Error("InternalError: Tried to merge incompatible statistics");r.merge(s)}}clone(){return new o(this._statistics.map(e=>e.clone()))}}class a{constructor(e){this.field=e}insert(e,t){if(!this.field.computed)return;const r=this.field.computed.read(e,t);(0,i.rZ)(r)||this._insertValue(r)}}class h extends a{constructor(){super(...arguments),this.type="min",this.value=Number.MAX_VALUE}_insertValue(e){this.value=Math.min(this.value,e)}merge(e){this.value=Math.min(this.value,e.value)}clone(){const e=new h(this.field);return e.value=this.value,e}}class u extends a{constructor(){super(...arguments),this.type="max",this.value=Number.MIN_VALUE}_insertValue(e){this.value=Math.max(this.value,e)}merge(e){this.value=Math.max(this.value,e.value)}clone(){const e=new u(this.field);return e.value=this.value,e}}class l extends a{constructor(){super(...arguments),this.type="sum",this.value=0}_insertValue(e){this.value+=e}merge(e){this.value+=e.value}clone(){const e=new l(this.field);return e.value=this.value,e}}class d extends a{constructor(){super(...arguments),this.type="avg",this._total=0,this._count=0}get value(){return this._total/this._count}_insertValue(e){this._total+=e,this._count+=1}merge(e){this._total+=e._total,this._count+=e._count}clone(){const e=new d(this.field);return e._total=this._total,e._count=this._count,e}}class c extends a{constructor(){super(...arguments),this.type="avg_angle",this._x=0,this._y=0,this._count=0}get value(){const e=this._x/this._count,t=this._y/this._count,r=180/Math.PI;return Math.atan2(t,e)*r}_insertValue(e){this._x=this._x+Math.cos(e*n),this._y=this._y+Math.sin(e*n),this._count+=1}merge(e){this._x+=e._x,this._y+=e._y,this._count+=e._count}clone(){const e=new c(this.field);return e._x=this._x,e._y=this._y,e._count=this._count,e}}class p extends a{constructor(){super(...arguments),this._frequencies=new Map}get value(){let e,t=0;for(const[r,s]of this._frequencies.entries())s>t&&(t=s,e=r);return e}_insertValue(e){const t=this._frequencies.get(e);null!=t?this._frequencies.set(e,t+1):this._frequencies.set(e,1)}merge(e){for(const[t,r]of e._frequencies.entries()){const e=this._frequencies.get(t);null!=e?this._frequencies.set(t,e+r):this._frequencies.set(t,r)}}clone(){const e=new p(this.field);return e._frequencies=new Map(this._frequencies),e}}},97633:(e,t,r)=>{r.d(t,{P:()=>n});var s=r(69397),i=r(73250);class n{constructor(e){this._valid=i.y.create(e),this._data=new Array(e)}get usedMemory(){let e=this._valid.usedMemory;if(this._data.length>0){const t="string"==typeof this._data[0]?64:s.RS;e+=this._data.length*t}return e}has(e){return this._valid.has(e)}set(e,t){this._valid.set(e),this._data[e]=t}get(e){return this._data[e]}}},98453:(e,t,r)=>{r.d(t,{m:()=>s});const s=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},99996:(e,t,r)=>{r.d(t,{Y:()=>O});var s=r(66131),i=r(44208),n=r(69397),o=r(44729),a=r(15032),h=r(36745),u=r(70328),l=r(65864),d=r(32011),c=r(62577),p=r(27647),_=r(90708),f=r(43334),m=r(92722),y=r(98623),g=r(97633);const x=(0,i.A)("featurelayer-simplify-thresholds")??[.5,.5,.5,.5],v=x[0],b=x[1],I=x[2],w=x[3],T=(0,i.A)("featurelayer-simplify-payload-size-factors")??[1,2,4],M=T[0],S=T[1],F=T[2],A=(0,i.A)("featurelayer-simplify-mobile-factor")??2,C=(0,i.A)("esri-mobile"),P=4294967295;class O{constructor(e){this.metadata=e,this.type="FeatureSetReader",this._overrides=null,this._joined=[],this._objectIdToIndex=null,this._boundsBuffer=[],this._caches=new Map,this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}destroy(){}[Symbol.dispose](){this.destroy()}getAreaSimplificationThreshold(e,t){let r=1;const s=C?A:1;t>4e6?r=F*s:t>1e6?r=S*s:t>5e5?r=M*s:t>1e5&&(r=s);let i=0;return e>4e3?i=w*r:e>2e3?i=I*r:e>100?i=b:e>15&&(i=v),i}getBounds(e){!function(e,t){if(!(e.length>t))for(;e.length<=t;)e.push(0)}(this._boundsBuffer,4*this.getIndex()+4);const t=this.getBoundsXMin();if(t===P||!isFinite(t))return!1;if(0===this.getBoundsXMin()){const t=this.readGeometryWorldSpace();if(t?.isPoint&&0===t.coords[0]&&0===t.coords[1])return(0,u.BI)(e,0,0,0,0),!0;if(!t)return this.setBoundsXMin(P),!1;let r=1/0,s=1/0,i=-1/0,n=-1/0;return t.forEachVertex((e,t)=>{r=Math.min(r,e),s=Math.min(s,t),i=Math.max(i,e),n=Math.max(n,t)}),this.setBoundsXMin(r),this.setBoundsYMin(s),this.setBoundsXMax(i),this.setBoundsYMax(n),(0,u.BI)(e,r,s,i,n),!0}const r=this.getBoundsXMin(),s=this.getBoundsYMin(),i=this.getBoundsXMax(),n=this.getBoundsYMax();return(0,u.BI)(e,r,s,i,n),!0}getBoundsXMin(){return this._boundsBuffer[4*this.getIndex()]}setBoundsXMin(e){this._boundsBuffer[4*this.getIndex()]=e}getBoundsYMin(){return this._boundsBuffer[4*this.getIndex()+1]}setBoundsYMin(e){this._boundsBuffer[4*this.getIndex()+1]=e}getBoundsXMax(){return this._boundsBuffer[4*this.getIndex()+2]}setBoundsXMax(e){this._boundsBuffer[4*this.getIndex()+2]=e}getBoundsYMax(){return this._boundsBuffer[4*this.getIndex()+3]}setBoundsYMax(e){this._boundsBuffer[4*this.getIndex()+3]=e}readAttributeAsTimestamp(e){const t=this.readAttribute(e);return"string"==typeof t?new Date(t).getTime():"number"==typeof t||null==t?t:null}readAttribute(e,t=!1){const r=this._readAttribute(e,t);if(void 0!==r)return r;for(const r of this._joined){r.setIndex(this.getIndex());const s=r._readAttribute(e,t);if(void 0!==s)return s}}readAttributes(){const e=this._readAttributes();for(const t of this._joined){t.setIndex(this.getIndex());const r=t._readAttributes();for(const t of Object.keys(r))e[t]=r[t]}return e}joinAttributes(e){this._joined.push(e)}registerOverrides(e){this._overrides=e}withoutOverrides(){const e=this.copy();return e._overrides=null,e}readOptimizedFeatureWorldSpace(){const e=this.readGeometryWorldSpace(),t=this.readAttributes(),r=this.readCentroidWorldSpace();return new f.Om(e,t,r,this.getObjectId(),this.getDisplayId())}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyFeatureWorldSpace(){const e=this.readCentroidWorldSpace();return{attributes:this.readAttributes(),geometry:this._readLegacyGeometryWorldSpace(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,_.zv)(e,this.geometryType,!1,!1)}readXForDisplay(){return this._readX()}readYForDisplay(){return this._readY()}readXWorldSpace(){const e=this._readX(),t=this.getInTransform();return null==t?e:e*t.scale[0]+t.translate[0]}readYWorldSpace(){const e=this._readY(),t=this.getInTransform();return null==t?e:t.translate[1]-e*t.scale[1]}readGeometryForDisplay(){const e=this._readGeometryDeltaDecoded(!0);if(!e){const e=this._createDeltaQuantizedGeometryFromServerCentroid();return e?e.deltaDecode():null}return e}readGeometryForDisplayTransformed(e){let t=this.readGeometryForDisplay();if(t&&"esriGeometryPolyline"===this.metadata.geometryType&&(t=(0,_.kz)(t,this.metadata.geometryType,e.scale[0])),t&&(t=(0,_.hK)(t,e,this.metadata.geometryType)),!t){const t=this.readCentroidForDisplay();if(!t)return null;const r=(0,c.IE)(e,t.coords[0]),s=(0,c.B2)(e,t.coords[1]);return this._createDeltaQuantizedExtrudedGeometry(r,s).deltaDecode()}return t}readGeometryWorldSpace(){let e=this._readGeometry();if(e||(e=this._createDeltaQuantizedGeometryFromServerCentroid()),!e)return null;const t=e.clone(),r=this.getInTransform();return null!=r&&(0,_.aQ)(t,r),t}readCentroidForDisplay(){const e=this.readGeometryForDisplay();return e?this._computeDisplayCentroid(e):this._readServerCentroid()}readCentroidWorldSpace(){const e=this.readGeometryForDisplay(),t=e?this._computeDisplayCentroid(e):this._readServerCentroid();if(!t)return null;const r=t.clone(),s=this.getInTransform();return null!=s&&(0,_.aQ)(r,s),r}setCache(e){let t=this._caches.get(e);null==t&&(t=new g.P(this.getSize()),this._caches.set(e,t)),this._activeCache=t}setCachedValue(e){this._activeCache.set(this.getIndex(),e)}hasCachedValue(){return this._activeCache.has(this.getIndex())}getCachedValue(){return this._activeCache.get(this.getIndex())}get underlyingMemory(){let e=0;e+=(0,n.Qf)(this._boundsBuffer);for(const t of this._caches.values())e+=t.usedMemory;return e}_readGeometryDeltaDecoded(e){const t=this._readGeometry(e);return"esriGeometryPoint"!==this.geometryType&&t&&this.getInTransform()?t.deltaDecode():t}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this.fields.has(e)||this._joined.some(t=>t.hasField(e))}geometry(){const e=this.readGeometryWorldSpace(),t=(0,_.zv)(e,this.geometryType,this.hasZ,this.hasM),r=(0,l.rS)(t);if(r){if(!this.metadata.outSpatialReference)throw new Error("InternalError: Expected spatial reference to be defined");r.spatialReference=this.metadata.outSpatialReference}return r}autocastArcadeDate(e,t){return t&&t instanceof Date?this.isUnknownDateTimeField(e)?s.lY.unknownDateJSToArcadeDate(t):s.lY.dateJSAndZoneToArcadeDate(t,this.contextTimeZone??y.qU):t}isUnknownDateTimeField(e){return this.metadata.fieldsIndex.getTimeZone(e)===y.L5}field(e){let t=this.fields.get(e);if(t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(this.readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(this.readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return s.lY.fromReaderAsTimeStampOffset(this.readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,this.readAttribute(e,!0));default:return this.readAttribute(e,!1)}for(const r of this._joined)if(r.setIndex(this.getIndex()),t=r.fields.get(e),t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(r._readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(r._readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return s.lY.fromReaderAsTimeStampOffset(r._readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,r._readAttribute(e,!0));default:return this.readAttribute(e,!1)}throw new Error(`Field ${e} does not exist`)}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this.fields.fields.map(e=>e.name)}isEmpty(){return this.fields.fields.length<=0&&null==this.geometry()}castToText(e=!1){if(!e)return JSON.stringify(this.readLegacyFeatureForDisplay());const t=this.readLegacyFeatureForDisplay();if(!t)return JSON.stringify(null);const r={geometry:t.geometry,attributes:{...t.attributes}};for(const e in r.attributes){const t=r.attributes[e];t instanceof Date&&(r.attributes[e]=t.getTime())}return JSON.stringify(r)}gdbVersion(){return null}fullSchema(){return this.metadata.arcadeSchema}castAsJson(e=null){return{attributes:this._readAttributes(),geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}_getExists(){if(this._overrides){const e=this.getObjectId();return!this._overrides.hasOverride(e)}return!0}_computeDisplayCentroid(e){if(null==this.getInTransform())return(0,p.Q)(e);const t=h.z.fromOptimized(e,this.geometryType);t.yFactor*=-1;const r=(0,d.d)(t);return r?(r[1]*=-1,new m.A([],r)):null}copyInto(e){e._joined=this._joined,e._overrides=this._overrides,e._objectIdToIndex=this._objectIdToIndex,e._boundsBuffer=this._boundsBuffer,e._activeCache=this._activeCache,e._caches=this._caches,e._contextTimeZone=this._contextTimeZone}_readLegacyGeometryWorldSpace(){const e=this.readGeometryWorldSpace();return(0,_.zv)(e,this.geometryType,!1,!1)}_createDeltaQuantizedGeometryFromServerCentroid(){const e=this._readServerCentroid();if(!e)return null;const[t,r]=e.coords;return this._createDeltaQuantizedExtrudedGeometry(t,r)}_createDeltaQuantizedExtrudedGeometry(e,t){return"esriGeometryPolyline"===this.geometryType?this._createDeltaQuantizedExtrudedLine(e,t):this._createDeltaQuantizedExtrudedQuad(e,t)}_createDeltaQuantizedExtrudedQuad(e,t){return new m.A([5],[e-1,t,1,-1,1,1,-1,1,-1,-1])}_createDeltaQuantizedExtrudedLine(e,t){return new m.A([2],[e-1,t+1,1,-1])}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{3904:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(31635),s=o(25482),i=o(91429),l=o(43937);let n=class extends s.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],n.prototype,"enabled",void 0),(0,r.Cg)([(0,l.K)("enabled")],n.prototype,"writeEnabled",null),(0,r.Cg)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.Symbol3DLayer")],n)},3955:(e,t,o)=>{o.d(t,{A:()=>l});var r=o(31635),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e),this.type="style"}clone(){throw new Error("Subclasses of Pattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],l.prototype,"type",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.Pattern3D")],l)},4595:(e,t,o)=>{o.d(t,{A:()=>l});var r=o(31635),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"visible",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.callouts.Callout3D")],l)},4792:(e,t,o)=>{o.d(t,{A:()=>c});var r=o(31635),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(91429),y=o(67222);let p=class extends i.o{constructor(e){super(e),this.color=new s.A([0,0,0,1])}get extensionLength(){return this._get("extensionLength")??0}set extensionLength(e){this._set("extensionLength",e)}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],p.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,y.EW)({colorRequiredOnWrite:!0}))],p.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...y.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],p.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(y.pI)],p.prototype,"size",null),p=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],p);const c=p},4900:(e,t,o)=>{o.d(t,{A:()=>a});var r,s=o(31635),i=o(25482),l=o(91429),n=o(67222);let a=r=class extends i.o{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},6847:(e,t,o)=>{o.d(t,{i:()=>d,r:()=>m});var r,s=o(31635),i=o(66552),l=o(25482),n=o(84952),a=o(91429),y=o(97159),p=o(36005),c=o(43937),h=o(93223);const u=(0,i.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let d=r=class extends l.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,y.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,y.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})}equals(e){return e.primitive===this.primitive&&e.href===this.href}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],d.prototype,"href",void 0),(0,s.Cg)([(0,p.w)("href")],d.prototype,"readHref",null),(0,s.Cg)([(0,c.K)("href",{href:{type:String},dataURI:{type:String}})],d.prototype,"writeHref",null),(0,s.Cg)([(0,h.e)(u)],d.prototype,"primitive",void 0),d=r=(0,s.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],d);const m="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:()=>g});var r,s=o(31635),i=o(68197),l=o(4718),n=o(90629),a=o(91429),y=o(4595),p=o(25482),c=o(67222);let h=r=class extends p.o{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],h.prototype,"color",void 0),h=r=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],h);const u=h;var d,m=o(93223);let g=d=class extends y.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new d({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s.Cg)([(0,m.e)({line:"line"})],g.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],g.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...c.pI,json:{write:{isRequired:!0}}})],g.prototype,"size",null),(0,s.Cg)([(0,a.MZ)({type:u,json:{write:!0}})],g.prototype,"border",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"visible",null),g=d=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],g)},10224:(e,t,o)=>{o.d(t,{A:()=>C});var r,s=o(31635),i=o(4718),l=o(91429),n=o(11831),a=o(3904),y=o(67222),p=o(97515),c=o(68197),h=o(25482);let u=r=class extends h.o{constructor(){super(...arguments),this.color=new c.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s.Cg)([(0,l.MZ)((0,y.EW)())],u.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)(y.pI)],u.prototype,"size",null),u=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],u);var d=o(28975),m=o(69540);let g=class extends((0,m.OU)(h.o)){constructor(e){super(e),this.color=null}};(0,s.Cg)([(0,l.MZ)((0,y.EW)())],g.prototype,"color",void 0),g=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],g);var b,w=o(5760),v=o(43937),f=o(93223);let C=class extends a.A{static{b=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",this.occludedVisibility=null}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=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new b({enabled:this.enabled,font:(0,i.o8)(this.font),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),occludedVisibility:(0,i.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new b({font:null!=e.font?e.font.clone():new n.A,halo:A(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new d.N({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new g({color:e.backgroundColor.clone()}):null})}};function A(e,t){return e&&null!=t&&t>0?new u({color:(0,i.o8)(e),size:t}):null}(0,s.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],C.prototype,"font",null),(0,s.Cg)([(0,v.K)("font")],C.prototype,"writeFont",null),(0,s.Cg)([(0,l.MZ)({type:u,json:{write:!0}})],C.prototype,"halo",void 0),(0,s.Cg)([(0,l.MZ)({...w.rM,json:{default:"center",write:!0}})],C.prototype,"horizontalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({...w.Tb,json:{default:1,write:!0}})],C.prototype,"lineHeight",void 0),(0,s.Cg)([(0,l.MZ)({type:d.N,json:{write:!0}})],C.prototype,"material",void 0),(0,s.Cg)([(0,l.MZ)({type:g,json:{write:!0}})],C.prototype,"background",void 0),(0,s.Cg)([(0,l.MZ)(y.pI)],C.prototype,"size",null),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],C.prototype,"text",void 0),(0,s.Cg)([(0,f.e)({Text:"text"},{readOnly:!0})],C.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({...w.x0,json:{default:"baseline",write:!0}})],C.prototype,"verticalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({type:p.A})],C.prototype,"occludedVisibility",void 0),C=b=(0,s.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],C)},11506:(e,t,o)=>{o.d(t,{A:()=>C});var r=o(31635),s=o(90629),i=o(91429),l=o(68197),n=o(69540),a=o(25482),y=o(56507),p=o(83213);let c=class extends((0,n.OU)(a.o)){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.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:p.x,json:{default:"begin-end",write:!0}})],c.prototype,"placement",void 0),(0,r.Cg)([(0,i.MZ)({type:p.z,json:{default:"arrow",write:!0}})],c.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:l.A,json:{type:[y.jz],default:null,write:!0}})],c.prototype,"color",void 0),c=(0,r.Cg)([(0,i.$K)("esri.symbols.LineStyleMarker3D")],c);var h,u=o(3904),d=o(44633),m=o(20603),g=o(33386),b=o(67222),w=o(28975),v=o(8887),f=o(93223);let C=class extends u.A{static{h=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.pattern=null,this.marker=null}get size(){return this._get("size")??(0,s.PN)(1)}set size(e){this._set("size",e)}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 h(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 d.A({style:e.style}):null,material:new w.N({color:(e.color||g.ON).clone()}),marker:e.marker?new c({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new h(t)}};(0,r.Cg)([(0,i.MZ)({type:w.N,json:{write:!0}})],C.prototype,"material",void 0),(0,r.Cg)([(0,f.e)({Line:"line"},{readOnly:!0})],C.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:v.e,json:{write:!0,default:"miter"}})],C.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({type:v.M4,json:{write:!0,default:"butt"}})],C.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({...b.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(m.v)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:c,typeMap:{style:c}},json:{write:!0}})],C.prototype,"marker",void 0),C=h=(0,r.Cg)([(0,i.$K)("esri.symbols.LineSymbol3DLayer")],C)},13313:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(31635),i=o(7762),l=o(62885),n=o(4718),a=o(91429),y=o(58185),p=o(10224),c=o(59483),h=o(4900),u=o(93223);const d=i.A.ofType({base:null,key:"type",typeMap:{text:p.A}});let m=r=class extends y.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,c.LH)(this)}hasVisibleVerticalOffset(){return(0,c.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([p.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(c.oG)],m.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,a.MZ)({type:d})],m.prototype,"symbolLayers",null),(0,s.Cg)([(0,u.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],m)},16264:(e,t,o)=>{o.d(t,{A:()=>n});var r,s=o(31635),i=o(91429),l=o(3955);let n=r=class extends l.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){return new r({style:this.style})}};(0,s.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],n.prototype,"style",void 0),n=r=(0,s.Cg)([(0,i.$K)("esri.symbols.patterns.StylePattern3D")],n)},18574:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(31635),i=o(4718),l=o(53966),n=o(84952),a=o(91429),y=o(3904),p=o(33386),c=o(6847),h=o(67222),u=o(97515),d=o(69622);let m=r=class extends d.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new r({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,s.Cg)([(0,a.MZ)({type:Number})],m.prototype,"x",void 0),(0,s.Cg)([(0,a.MZ)({type:Number})],m.prototype,"y",void 0),m=r=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],m);var g,b=o(68197),w=o(25482),v=o(90629);let f=g=class extends w.o{constructor(e){super(e),this.color=new b.A([0,0,0,1])}get size(){return this._get("size")??(0,v.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new g(e)}equals(e){return e.size===this.size&&(null==this.color?null==e.color:this.color.equals(e.color))}};(0,s.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],f.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...h.pI,json:{write:{isRequired:!0}}})],f.prototype,"size",null),f=g=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],f);var C,A=o(28975),M=o(93223);let S=class extends y.A{static{C=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0,this.occludedVisibility=null}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new C({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,occludedVisibility:(0,i.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||p.ON,o=x(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||p.ON).clone()}:null;return new C({size:e.size,angle:e.angle,resource:{primitive:z(()=>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,p.U9)(e.color)?p.ON:e.color,o=x(e);return new C({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 C({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};function x(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=Z(e.xoffset),s=Z(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function Z(e){return isFinite(e)?e:0}(0,s.Cg)([(0,a.MZ)({type:A.N,json:{write:!0}})],S.prototype,"material",void 0),(0,s.Cg)([(0,a.MZ)({type:c.i,json:{write:!0}})],S.prototype,"resource",void 0),(0,s.Cg)([(0,M.e)({Icon:"icon"},{readOnly:!0})],S.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({...h.pI,json:{write:{isRequired:!0}}})],S.prototype,"size",null),(0,s.Cg)([(0,M.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.Cg)([(0,a.MZ)({type:m,json:{type:[Number],read:{reader:e=>new m({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.Cg)([(0,a.MZ)({type:f,json:{write:!0}})],S.prototype,"outline",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],S.prototype,"angle",void 0),(0,s.Cg)([(0,a.MZ)({type:u.A})],S.prototype,"occludedVisibility",void 0),S=C=(0,s.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],S);const j={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function z(e,t){return j[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:()=>p});var r,s=o(31635),i=o(91429),l=o(3904),n=o(51734),a=o(28975),y=o(93223);let p=class extends l.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.Cg)([(0,y.e)({Extrude:"extrude"},{readOnly:!0})],p.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],p.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)({type:a.N,json:{write:!0}})],p.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],p.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)(n.J)],p.prototype,"edges",void 0),p=r=(0,s.Cg)([(0,i.$K)("esri.symbols.ExtrudeSymbol3DLayer")],p)},27845:(e,t,o)=>{o.d(t,{A:()=>M});var r,s=o(31635),i=o(91429),l=o(3904),n=o(51734),a=o(44633),y=o(16264),p=o(20603),c=o(33386),h=o(28975),u=o(93223);let d=r=class extends h.N{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:this.color?.clone(),colorMixMode:this.colorMixMode,emissive:this.emissive?.clone()};return new r(e)}};(0,s.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],d.prototype,"colorMixMode",void 0),d=r=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DFillMaterial")],d);var m,g=o(68197),b=o(25482),w=o(90629),v=o(67222),f=o(8887);let C=m=class extends b.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,w.PN)(1)}set size(e){this._set("size",e)}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 m(e)}};var A;(0,s.Cg)([(0,i.MZ)((0,v.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,s.Cg)([(0,i.MZ)({...v.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,s.Cg)([(0,i.MZ)(p.v)],C.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:f.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=m=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DOutline")],C);let M=class extends l.A{static{A=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 A(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new a.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??c.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new A({material:new d({color:(e.color??c.u7).clone()}),pattern:e.style&&"solid"!==e.style?new y.A({style:e.style}):null,outline:o})}};(0,s.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],M.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:d,json:{write:!0}})],M.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)(p.r)],M.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],M.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:C,json:{write:!0}})],M.prototype,"outline",void 0),(0,s.Cg)([(0,i.MZ)(n.J)],M.prototype,"edges",void 0),M=A=(0,s.Cg)([(0,i.$K)("esri.symbols.FillSymbol3DLayer")],M)},28975:(e,t,o)=>{o.d(t,{N:()=>p});var r,s=o(31635),i=o(25482),l=o(91429),n=o(67222);let a=r=class extends i.o{constructor(){super(...arguments),this.strength=null,this.source="emissive"}clone(){const e={strength:this.strength,source:this.source};return new r(e)}};var y;(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],a.prototype,"strength",void 0),(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],a.prototype,"source",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],a);let p=y=class extends i.o{constructor(e){super(e),this.color=null,this.emissive=new a({source:"emissive"})}clone(){const e={color:this.color?.clone()??null,emissive:this.emissive?.clone()??null};return new y(e)}};(0,s.Cg)([(0,l.MZ)((0,n.EW)())],p.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)({type:a,json:{write:!1}})],p.prototype,"emissive",void 0),p=y=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],p)},30809:(e,t,o)=>{o.d(t,{E:()=>c,r:()=>h});var r,s=o(31635),i=o(66552),l=o(25482),n=o(91429),a=o(97159),y=o(93223);const p=(0,i.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let c=r=class extends l.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,n.MZ)({type:String,json:{read:a.r,write:a.w}})],c.prototype,"href",void 0),(0,s.Cg)([(0,y.e)(p)],c.prototype,"primitive",void 0),c=r=(0,s.Cg)([(0,n.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],c);const h="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:()=>R,$y:()=>j,wk:()=>z,Y7:()=>N,wC:()=>O,Ac:()=>k,Bu:()=>_,Es:()=>L,q8:()=>D,em:()=>P,Rv:()=>q,xK:()=>$,On:()=>K});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),y=o(68548),p=o(31635),c=o(4718),h=o(90629),u=o(91429),d=o(65851),m=o(77040),g=o(93223);let b=r=class extends d.A{constructor(...e){super(...e),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,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}get width(){return this._get("width")??12}set width(e){this._set("width",e)}get height(){return this._get("height")??12}set height(e){this._set("height",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}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.Cg)([(0,g.e)({esriPFS:"picture-fill"},{readOnly:!0})],b.prototype,"type",void 0),(0,p.Cg)([(0,u.MZ)(m.ku)],b.prototype,"url",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],b.prototype,"xscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],b.prototype,"yscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"width",null),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"height",null),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"xoffset",null),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],b.prototype,"yoffset",null),(0,p.Cg)([(0,u.MZ)(m.k7)],b.prototype,"source",void 0),b=r=(0,p.Cg)([(0,u.$K)("esri.symbols.PictureFillSymbol")],b);var w=o(58592),v=o(75981),f=o(65365),C=o(94985),A=o(31593),M=o(53930),S=o(20378),x=o(68249),Z=o(37757);function j(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 L={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:x.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"},O=(S.A,C.A,l.A,{base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,"point-3d":v.A,cim:l.A},errorContext:"symbol"}),N={base:S.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"polygon-3d":f.A,cim:l.A},errorContext:"symbol"},D={base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,text:x.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"},_=(0,i.C)({types:L}),$={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:x.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"},P={base:S.A,key:"type",typeMap:{text:x.A,"label-3d":n.A},errorContext:"symbol"},K=(S.A,n.A,a.A,y.A,v.A,f.A,Z.A,{base:S.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":y.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":Z.A,cim:l.A},errorContext:"symbol"}),q={base:S.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},R=(0,s.aq)(L)},34723:(e,t,o)=>{o.d(t,{A:()=>p});var r,s=o(31635),i=o(68197),l=o(91429),n=o(56507),a=o(3904),y=o(93223);let p=class extends a.A{static{r=this}constructor(e){super(e),this.color=c.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s.Cg)([(0,l.MZ)({type:i.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>c.clone(),defaultEquals:e=>e.toCss(!0)===c.toCss(!0)}})],p.prototype,"color",void 0),(0,s.Cg)([(0,y.e)({Water:"water"},{readOnly:!0})],p.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],p.prototype,"waterbodySize",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],p.prototype,"waveDirection",void 0),(0,s.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],p.prototype,"waveStrength",void 0),p=r=(0,s.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],p);const c=new i.A([0,119,190])},36533:(e,t,o)=>{o.d(t,{A:()=>l});var r=o(31635),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e)}clone(){throw new Error("Subclasses of LinePattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],l.prototype,"type",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.LinePattern3D")],l)},37757:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(31635),i=o(51447),l=o(49186),n=o(53966),a=o(74887),y=o(91429),p=o(20655),c=o(97159),h=o(20378),u=o(57212),d=o(93223);let m=r=class extends h.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:p.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.Cg)([(0,y.MZ)({json:{write:!1}})],m.prototype,"color",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{write:!0}})],m.prototype,"styleName",void 0),(0,s.Cg)([(0,y.MZ)({type:p.A,json:{write:!1}})],m.prototype,"portal",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{read:c.r,write:c.w}})],m.prototype,"styleUrl",void 0),(0,s.Cg)([(0,y.MZ)({type:u.V,json:{read:!1}})],m.prototype,"thumbnail",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,s.Cg)([(0,d.e)({styleSymbolReference:"web-style"},{readOnly:!0})],m.prototype,"type",void 0),(0,s.Cg)([(0,y.MZ)()],m.prototype,"_fetchCacheKey",null),m=r=(0,s.Cg)([(0,y.$K)("esri.symbols.WebStyleSymbol")],m)},39065:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(31635),i=o(91429),l=o(4792),n=o(93223);let a=r=class extends l.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,i.$K)("esri.symbols.edges.SolidEdges3D")],a);const y=a},40863:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(31635),i=o(4718),l=o(799),n=o(91429),a=o(30524),y=o(20378),p=o(36005),c=o(43937),h=o(93223);let u=r=class extends y.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,a.Dx)(e,t,null,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.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],u.prototype,"data",void 0),(0,s.Cg)([(0,p.w)("data",["symbol"])],u.prototype,"readData",null),(0,s.Cg)([(0,c.K)("data",{})],u.prototype,"writeData",null),(0,s.Cg)([(0,h.e)({CIMSymbolReference:"cim"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],u)},44633:(e,t,o)=>{o.d(t,{A:()=>p});var r,s=o(31635),i=o(66552),l=o(91429),n=o(36533),a=o(93223);const y=(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 p=r=class extends n.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new r(e)}};(0,s.Cg)([(0,l.MZ)({type:["style"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,s.Cg)([(0,a.e)(y),(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}}})],p.prototype,"style",void 0),p=r=(0,s.Cg)([(0,l.$K)("esri.symbols.patterns.LineStylePattern3D")],p)},51734:(e,t,o)=>{o.d(t,{J:()=>c});var r,s=o(4792),i=o(31635),l=o(91429),n=o(93223);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,l.$K)("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}}},57212:(e,t,o)=>{o.d(t,{V:()=>n});var r,s=o(31635),i=o(69622),l=o(91429);let n=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},58185:(e,t,o)=>{o.d(t,{A:()=>z});var r=o(31635),s=o(7762),i=o(62885),l=o(53966),n=o(84952),a=o(67076),y=o(91429),p=o(20655),c=o(97159),h=o(26449),u=o(27845),d=o(18574),m=o(11506),g=o(87403),b=o(66525),w=o(20378),v=o(3904),f=o(10224),C=o(34723),A=o(98751),M=o(57212),S=o(36005),x=o(43937);const Z={icon:d.A,object:g.A,line:m.A,path:b.A,fill:u.A,extrude:h.A,text:f.A,water:C.A},j=s.A.ofType({base:v.A,key:"type",typeMap:Z,errorContext:"symbol-layer"});let z=class extends w.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,c.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||p.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,c.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 v.A||e&&Z[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,y.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,y.MZ)({type:j,nonNullable:!0,json:{write:!0}}),(0,y.wg)(i.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,y.MZ)({type:A.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,S.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,x.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,y.MZ)({type:M.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,y.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,y.$K)("esri.symbols.Symbol3D")],z)},58592:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(31635),i=o(4718),l=o(90629),n=o(91429),a=o(89420),y=o(77040),p=o(93223),c=o(36005);let h=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=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}get height(){return this._get("height")??12}set height(e){this._set("height",e)}readHeight(e,t){return t.size||e}get width(){return this._get("width")??12}set width(e){this._set("width",e)}readWidth(e,t){return t.size||e}get size(){return this._get("size")??null}set size(e){this._set("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.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"color",void 0),(0,s.Cg)([(0,p.e)({esriPMS:"picture-marker"},{readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)(y.ku)],h.prototype,"url",void 0),(0,s.Cg)([(0,n.MZ)(y.k7)],h.prototype,"source",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],h.prototype,"height",null),(0,s.Cg)([(0,c.w)("height",["height","size"])],h.prototype,"readHeight",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],h.prototype,"width",null),(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"size",null),h=r=(0,s.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],h)},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(7762);function s(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(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:()=>C});var r,s=o(31635),i=o(7762),l=o(51447),n=o(4718),a=o(53966),y=o(36708),p=o(91429),c=o(26449),h=o(27845),u=o(18574),d=o(11506),m=o(87403),g=o(58185),b=o(10224),w=o(34723),v=o(93223);const f=i.A.ofType({base:null,key:"type",typeMap:{extrude:c.A,fill:h.A,icon:u.A,line:d.A,object:m.A,text:b.A,water:w.A}});let C=r=class extends g.A{constructor(e){super(e),this.symbolLayers=new f,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([h.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],C.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,v.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],C.prototype,"type",void 0),C=r=(0,s.Cg)([(0,p.$K)("esri.symbols.PolygonSymbol3D")],C)},66525:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(31635),i=o(91429),l=o(3904),n=o(28975),a=o(8887),y=o(93223),p=o(36005);let c=class extends l.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.Cg)([(0,i.MZ)({type:n.N,json:{write:!0}})],c.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s.Cg)([(0,y.e)({Path:"path"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],c.prototype,"profile",void 0),(0,s.Cg)([(0,i.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],c.prototype,"join",void 0),(0,s.Cg)([(0,i.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],c.prototype,"cap",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],c.prototype,"width",void 0),(0,s.Cg)([(0,p.w)("width",["width","size","height"])],c.prototype,"readWidth",null),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],c.prototype,"height",void 0),(0,s.Cg)([(0,p.w)("height",["height","size","width"])],c.prototype,"readHeight",null),(0,s.Cg)([(0,i.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],c.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],c.prototype,"profileRotation",void 0),c=r=(0,s.Cg)([(0,i.$K)("esri.symbols.PathSymbol3DLayer")],c)},67222:(e,t,o)=>{o.d(t,{EW:()=>y,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}}},68548:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(31635),i=o(7762),l=o(62885),n=o(4718),a=o(91429),y=o(27845),p=o(58185),c=o(93223);const h=i.A.ofType({base:null,key:"type",typeMap:{fill:y.A}});let u=r=class extends p.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new h}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([y.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:h})],u.prototype,"symbolLayers",null),(0,s.Cg)([(0,c.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],u)},75981:(e,t,o)=>{o.d(t,{A:()=>w});var r,s=o(31635),i=o(68197),l=o(7762),n=o(4718),a=o(91429),y=o(18574),p=o(87403),c=o(58185),h=o(10224),u=o(59483),d=o(8893),m=o(4900),g=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:y.A,object:p.A,text:h.A}});let w=r=class extends c.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new b,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,u.LH)(this)}hasVisibleVerticalOffset(){return(0,u.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([y.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([y.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([y.A.fromCIMSymbol(e)]),callout:new d.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new m.A({screenLength:40})}:{symbolLayers:new l.A([y.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([h.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:m.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(u.oG)],w.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,g.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},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:()=>u});var r,s=o(31635),i=o(91429),l=o(3904),n=o(30809),a=o(69622);let y=r=class extends a.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.Cg)([(0,i.MZ)({type:Number})],y.prototype,"x",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],y.prototype,"y",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],y.prototype,"z",void 0),y=r=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],y);var p,c=o(28975),h=o(93223);let u=class extends l.A{static{p=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 p({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.Cg)([(0,i.MZ)({type:c.N,json:{write:!0}})],u.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],u.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:n.E,json:{write:!0}})],u.prototype,"resource",void 0),(0,s.Cg)([(0,h.e)({Object:"object"},{readOnly:!0})],u.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"width",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"height",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"depth",void 0),(0,s.Cg)([(0,h.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],u.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:y,json:{type:[Number],read:{reader:e=>new y({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}}}}})],u.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"heading",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"tilt",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],u.prototype,"roll",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],u.prototype,"isPrimitive",null),u=p=(0,s.Cg)([(0,i.$K)("esri.symbols.ObjectSymbol3DLayer")],u)},97515:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(31635),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.mode="hidden"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n);const a=n},97887:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(31635),i=o(7762),l=o(4718),n=o(91429),a=o(11506),y=o(66525),p=o(58185),c=o(93223);const h=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:y.A}}),u=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:y.A}});let d=r=class extends p.A{constructor(e){super(e),this.symbolLayers=new h,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([a.A.fromSimpleLineSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:h,json:{type:u}})],d.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,c.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],d)},98751:(e,t,o)=>{o.d(t,{A:()=>a});var r,s=o(31635),i=o(69622),l=o(91429),n=o(20655);let a=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.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,s.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)}}]);
|