@arcgis/core 6.0.0-next.15 → 6.0.0-next.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analysis/LineOfSightAnalysis.d.ts +49 -32
- package/analysis/LineOfSightAnalysisObserver.d.ts +19 -3
- package/analysis/LineOfSightAnalysisTarget.d.ts +19 -3
- package/analysis/Viewshed.d.ts +23 -3
- package/analysis/ViewshedAnalysis.d.ts +33 -13
- package/arcade/geometry/operatorsWorkerConnection.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/00d66e3fba5ab4d2aa3c.js +1 -0
- package/assets/esri/core/workers/chunks/{d994bcf0a65d1c07160f.js → 0320cbd825f9a4222042.js} +1 -1
- package/assets/esri/core/workers/chunks/14d5d219e7fe017f23f0.js +1 -0
- package/assets/esri/core/workers/chunks/164c8eeefa8232b2b191.js +2 -0
- package/assets/esri/core/workers/chunks/164e74d586297946a717.js +1 -0
- package/assets/esri/core/workers/chunks/1967b9c96045a5802d08.js +1 -0
- package/assets/esri/core/workers/chunks/{1bca39e0e651426bdbb5.js → 1b1d3f6916d2cb751435.js} +1 -1
- package/assets/esri/core/workers/chunks/{ed6e9d7f71bfd2691717.js → 1c77de1e79860f8d2228.js} +1 -1
- package/assets/esri/core/workers/chunks/1e40a26dcce4d1dadc28.js +1 -0
- package/assets/esri/core/workers/chunks/{261fea092ee7d27608a0.js → 20a2124cbe43e5527c40.js} +1 -1
- package/assets/esri/core/workers/chunks/237a1f68a0efbfe5b77c.js +1 -0
- package/assets/esri/core/workers/chunks/{3418877328f4f0830300.js → 24dac4970526a4e0ae63.js} +1 -1
- package/assets/esri/core/workers/chunks/26ceb0ff8d93dbb9b84f.js +1 -0
- package/assets/esri/core/workers/chunks/2853606099602f73d379.js +1 -0
- package/assets/esri/core/workers/chunks/2981e904ab62f3ed80d0.js +2 -0
- package/assets/esri/core/workers/chunks/2acf2952cef69e382a35.js +1 -0
- package/assets/esri/core/workers/chunks/32cc59e126df8c96a0cf.js +2 -0
- package/assets/esri/core/workers/chunks/{4df6cb1bee5d0720a43e.js → 34e0a8a3a2beea50f4f5.js} +1 -1
- package/assets/esri/core/workers/chunks/{481589c3eddad6e026ad.js → 369780276b2755361f7d.js} +1 -1
- package/assets/esri/core/workers/chunks/{1e0d2715d603f48a7e0b.js → 370aad23df597db80d65.js} +1 -1
- package/assets/esri/core/workers/chunks/3e30b96a8c75bd5b9ae2.js +1 -0
- package/assets/esri/core/workers/chunks/{25f19fc929f25ddd628c.js → 42753cf4965a94bc91ca.js} +1 -1
- package/assets/esri/core/workers/chunks/42d44c7d532df5ee70e9.js +1 -0
- package/assets/esri/core/workers/chunks/42e985a576d7aaeed0cf.js +1 -0
- package/assets/esri/core/workers/chunks/{6400446b7615b97c3521.js → 45f826554499c38968c6.js} +1 -1
- package/assets/esri/core/workers/chunks/48cc58890fddbcf69cef.js +1 -0
- package/assets/esri/core/workers/chunks/494bd434fee9032e1d02.js +1 -0
- package/assets/esri/core/workers/chunks/{33e4ff228a8c81b99022.js → 4abd3753cd9b80e4d937.js} +1 -1
- package/assets/esri/core/workers/chunks/{b564ec4e03478f5659db.js → 4c240ca50f70bf30813f.js} +1 -1
- package/assets/esri/core/workers/chunks/4c389472b8cdb0c55154.js +1 -0
- package/assets/esri/core/workers/chunks/4e4f747de424941a0bfa.js +1 -0
- package/assets/esri/core/workers/chunks/{70d3055f15d8b0cf4074.js → 532e9cda8ac3601d8892.js} +1 -1
- package/assets/esri/core/workers/chunks/5529831dd891382c79df.js +1 -0
- package/assets/esri/core/workers/chunks/{953ba13299e7aa92c1a0.js → 564565246dae080f5e6c.js} +1 -1
- package/assets/esri/core/workers/chunks/576248e9ae2654569420.js +1 -0
- package/assets/esri/core/workers/chunks/{2145a512d269d64036b0.js → 58c3ae6030def2ed5f31.js} +1 -1
- package/assets/esri/core/workers/chunks/5a19a9c3e01d3d415188.js +1 -0
- package/assets/esri/core/workers/chunks/5a830bc35adbedd33783.js +1 -0
- package/assets/esri/core/workers/chunks/{eb04e1717a1002cda3ab.js → 5b91e2dffdc84c006539.js} +1 -1
- package/assets/esri/core/workers/chunks/{aeaaff7a4b1a99540f52.js → 5cb26bbaa08114aec5ce.js} +1 -1
- package/assets/esri/core/workers/chunks/603fdbbe9534c614928f.js +1 -0
- package/assets/esri/core/workers/chunks/{4e6f40cbdb8c508e6df1.js → 60f92eb03c6e17ab4747.js} +1 -1
- package/assets/esri/core/workers/chunks/{67ebc5a3d46b254b725c.js → 612345f17f5eeb99ea8f.js} +1 -1
- package/assets/esri/core/workers/chunks/{1b077c92345ffb5916c2.js → 65c98f3449044fa4fd79.js} +1 -1
- package/assets/esri/core/workers/chunks/{2bd4ee083ca4ad221f8b.js → 65cb5e39c467a35621ca.js} +1 -1
- package/assets/esri/core/workers/chunks/661c6324529dd17b297e.js +1 -0
- package/assets/esri/core/workers/chunks/67a35155b8b4d36f171e.js +1 -0
- package/assets/esri/core/workers/chunks/68dd1fd2025c7125ead1.js +1 -0
- package/assets/esri/core/workers/chunks/{89e76de5ae3328d821a4.js → 69f6d5997b8ff1326e39.js} +1 -1
- package/assets/esri/core/workers/chunks/{ae31fd416bbb41a81392.js → 6ad309154fe84210d23c.js} +1 -1
- package/assets/esri/core/workers/chunks/{a40b6d8b5c73e06e14d4.js → 6c255c029d67423e4dac.js} +1 -1
- package/assets/esri/core/workers/chunks/7446d0dfebf93e86c098.js +1 -0
- package/assets/esri/core/workers/chunks/{688f2dbf784e66082308.js → 74c866e0b66e61751861.js} +1 -1
- package/assets/esri/core/workers/chunks/784d6c6949284ed6e10b.js +1 -0
- package/assets/esri/core/workers/chunks/{3ffda5bf0b91700dc308.js → 78643f116677950ea29a.js} +1 -1
- package/assets/esri/core/workers/chunks/{916b363c342b61ba5461.js → 787c1a8bda7d745633f2.js} +1 -1
- package/assets/esri/core/workers/chunks/{e2190361247f35b02b32.js → 7b5cd150a4d0139850be.js} +1 -1
- package/assets/esri/core/workers/chunks/7bbfe9ff352afc566367.js +1 -0
- package/assets/esri/core/workers/chunks/7d2cbc767c336d15e4d5.js +1 -0
- package/assets/esri/core/workers/chunks/{ac5a6603f7fa78d3e4c8.js → 7e8611cb709f105946f5.js} +1 -1
- package/assets/esri/core/workers/chunks/{05cd33d41d91f8d09633.js → 7fb7493f483cd9878bfa.js} +1 -1
- package/assets/esri/core/workers/chunks/{590e6c70206122e4cc3c.js → 844eedda8f749972f707.js} +2 -2
- package/assets/esri/core/workers/chunks/{acfa03c65ba3ca6c5685.js → 8715661a838361d4211a.js} +1 -1
- package/assets/esri/core/workers/chunks/{601e1d020b8115497944.js → 8a485130781b49dbf608.js} +1 -1
- package/assets/esri/core/workers/chunks/{0ccab50877b24f862d6e.js → 8ac2098ecdc40ad41055.js} +1 -1
- package/assets/esri/core/workers/chunks/{a655ebdb4bf0660615a2.js → 8b4e9fd88c0c313416d4.js} +1 -1
- package/assets/esri/core/workers/chunks/{4e544de61f07ca660236.js → 8c12269d26f5a4c753cb.js} +1 -1
- package/assets/esri/core/workers/chunks/{46b4fb6a7fe4877b0efc.js → 94baa354e50c03b82b25.js} +2 -2
- package/assets/esri/core/workers/chunks/9503eedfdda55fc5adab.js +1 -0
- package/assets/esri/core/workers/chunks/950d4578dc450467404c.js +1 -0
- package/assets/esri/core/workers/chunks/{68be3fb88ca61f82fb90.js → 95dbbddac6581b9d671f.js} +1 -1
- package/assets/esri/core/workers/chunks/98be2f621801e230aa01.js +1 -0
- package/assets/esri/core/workers/chunks/999c23da883eb11cb29e.js +1 -0
- package/assets/esri/core/workers/chunks/9b6929faf649e81265fb.js +1 -0
- package/assets/esri/core/workers/chunks/9d61740ef8bdcc162be1.js +1 -0
- package/assets/esri/core/workers/chunks/{fafb92ca2c5e4b0b2c23.js → a09d2e1e2540921e4717.js} +1 -1
- package/assets/esri/core/workers/chunks/a35c69a4751d28c39907.js +1 -0
- package/assets/esri/core/workers/chunks/{3b3e519f15ed52c83f0c.js → a49fe94933b65b4b64f8.js} +1 -1
- package/assets/esri/core/workers/chunks/{1819c45655c836b9a8d7.js → a4d3944700f1cc240176.js} +1 -1
- package/assets/esri/core/workers/chunks/{ec8b7476eac4718eb0ac.js → a504a5e06cb89a620799.js} +1 -1
- package/assets/esri/core/workers/chunks/a596779eaeec7310671d.js +1 -0
- package/assets/esri/core/workers/chunks/{d5d0fe8e198ff5a902ee.js → a5c8f9f5be4ef5063b42.js} +1 -1
- package/assets/esri/core/workers/chunks/{900181f68449d8f82eeb.js → aa1ac7954e4f0fefe15b.js} +1 -1
- package/assets/esri/core/workers/chunks/{90bdf86f553e2742d67c.js → ab1660f5f8a5268c2fac.js} +1 -1
- package/assets/esri/core/workers/chunks/ac24b4370dc7194a3107.js +1 -0
- package/assets/esri/core/workers/chunks/{b8337492e2b753aefac4.js → ace41659a5ca0e5abfc3.js} +1 -1
- package/assets/esri/core/workers/chunks/ae0563d573baf91e01f7.js +1 -0
- package/assets/esri/core/workers/chunks/{3c0ed15b544df6fb0903.js → b48952e1fb4cb7360dd0.js} +1 -1
- package/assets/esri/core/workers/chunks/b5e7475cc5fbf31289d3.js +1 -0
- package/assets/esri/core/workers/chunks/b686cd74975da09b9c91.js +2 -0
- package/assets/esri/core/workers/chunks/{aa36c3a9bbaa086e3757.js → b8fd7c3b36981261378b.js} +1 -1
- package/assets/esri/core/workers/chunks/bd046399e05e759e0bc2.js +1 -0
- package/assets/esri/core/workers/chunks/bd46a04a9ee4ea9e6ef1.js +2 -0
- package/assets/esri/core/workers/chunks/{f3da30d7300b92bd8bb0.js → befa32b9e7b3fbdd431e.js} +1 -1
- package/assets/esri/core/workers/chunks/bfb39590c548188f5052.js +1 -0
- package/assets/esri/core/workers/chunks/c4ddac23bd649d24f3f2.js +1 -0
- package/assets/esri/core/workers/chunks/cddc3e285f763ccf33c2.js +1 -0
- package/assets/esri/core/workers/chunks/d08ff41e2a9bcd58b64a.js +1 -0
- package/assets/esri/core/workers/chunks/d62afb71f4ece4283994.js +1 -0
- package/assets/esri/core/workers/chunks/dc1761cba0454fda3cf9.js +1 -0
- package/assets/esri/core/workers/chunks/{0f617980c7dd9ad0444f.js → dd0310184fe4832755a8.js} +1 -1
- package/assets/esri/core/workers/chunks/dfa5f1311806473e473f.js +1 -0
- package/assets/esri/core/workers/chunks/{4ac1d3e49e242e373a92.js → e0650b1408197d3ac862.js} +1 -1
- package/assets/esri/core/workers/chunks/{3ff6d1ed3c0f1285f3e7.js → e0d9dc97985561320bd4.js} +1 -1
- package/assets/esri/core/workers/chunks/eaddffcc7004101fc230.js +1 -0
- package/assets/esri/core/workers/chunks/eb2652ec48faa78de3c5.js +1 -0
- package/assets/esri/core/workers/chunks/eca44e53bcee9b08d70a.js +1 -0
- package/assets/esri/core/workers/chunks/f00458654c7c34c369ef.js +1 -0
- package/assets/esri/core/workers/chunks/f3cd610084e3f4d8656b.js +1 -0
- package/assets/esri/core/workers/chunks/f47fe4433b05fca5c3ad.js +1 -0
- package/assets/esri/core/workers/chunks/f7bfa3d33b05b250ce33.js +1 -0
- package/assets/esri/core/workers/chunks/f91bc1cb1014e05be763.js +1 -0
- package/assets/esri/core/workers/chunks/{19676b2c5f8b0a5ee680.js → facd1ff23203fed67686.js} +1 -1
- package/assets/esri/core/workers/chunks/{634523cc7757da9020e4.js → fb70ab267a08e24b710f.js} +1 -1
- package/assets/esri/core/workers/chunks/fc139f251dc0523074e7.js +1 -0
- package/assets/esri/core/workers/chunks/{40a584cb952e94326e9e.js → fcb86d24fc7e0666b564.js} +1 -1
- package/assets/esri/themes/base/widgets/_Weather.scss +1 -0
- 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/Distance2DCalculator-DjIp2uQi.js +1 -1
- package/chunks/Envelope.js +1 -1
- package/chunks/MultiPathImpl.js +1 -1
- package/chunks/OperatorGeodeticArea.js +1 -1
- package/chunks/OperatorShapePreservingLength.js +1 -1
- package/chunks/OperatorShapePreservingProject.js +1 -1
- package/chunks/UnitFactory.js +1 -1
- package/chunks/basis_encoder.js +1 -1
- package/chunks/basis_transcoder.js +1 -1
- package/chunks/index.js +1 -1
- package/chunks/lclayout.js +1 -1
- package/chunks/lerc-wasm.js +1 -1
- package/config.d.ts +2 -0
- package/config.js +1 -1
- package/core/accessorSupport/DefaultsStore.js +1 -1
- package/core/accessorSupport/MultiOriginStore.js +1 -1
- package/core/accessorSupport/Store.js +1 -1
- package/core/accessorSupport/decorators/reader.js +1 -1
- package/core/accessorSupport/decorators/writer.js +1 -1
- package/core/sql/WhereGrammar.js +2 -2
- package/core/workers/WorkerOwner.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/core/workers/workers.js +2 -2
- package/core/workers.d.ts +9 -0
- package/editing/sharedTemplates/executor/builders/equallySpaced.js +1 -1
- package/form/elements/inputs/DynamicChoiceInput.d.ts +4 -2
- package/geometry/Mesh.js +1 -1
- package/geometry/operators/gx/operatorAlphaShape.js +1 -1
- package/geometry/operators/gx/operatorOffset.js +1 -1
- package/geometry/operators/gx/operatorPolygonSlicer.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/geometry/support/curves/bezierCurveUtils.js +1 -1
- package/geometry/support/curves/ellipticArc7Utils.js +1 -1
- package/geometry/support/meshUtils/merge.js +1 -1
- package/geometry/support/meshUtils/rotate.js +1 -1
- package/geometry/support/polygonExtentClipping.js +1 -1
- package/identity/Credential.js +1 -1
- package/kernel.js +1 -1
- package/layers/AnnotationFeatureLayer.d.ts +2 -2
- package/layers/AnnotationFeatureLayer.js +1 -1
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/CatalogLayer.js +1 -1
- package/layers/DimensionFeatureLayer.d.ts +2 -2
- package/layers/DimensionFeatureLayer.js +1 -1
- package/layers/ElevationLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +4 -4
- package/layers/FeatureLayer.js +1 -1
- package/layers/GeoJSONLayer.d.ts +1 -1
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/LineOfSightLayer.d.ts +10 -8
- package/layers/SceneLayer.js +1 -1
- package/layers/SubtypeGroupLayer.d.ts +2 -2
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/ViewshedLayer.d.ts +1 -1
- package/layers/VoxelLayer.js +1 -1
- package/layers/WMSLayer.js +1 -1
- package/layers/effects/parser.js +3 -3
- package/layers/geospatialPDF/GeospatialPDFFrame.js +1 -1
- package/layers/geospatialPDF/GeospatialPDFLayerWorker.js +9 -9
- package/layers/geospatialPDF/GeospatialPDFWorkerClient.js +1 -1
- package/layers/geospatialPDF/LGIDictMapFrame.js +1 -1
- package/layers/geospatialPDF/ViewportMeasureFrame.js +1 -1
- package/layers/geospatialPDF/geospatialPDFParserUtils.js +1 -1
- package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/sources/connections/WebSocketConnection.js +1 -1
- package/layers/graphics/sources/parquet/FileProvider.js +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/mixins/{FeatureLayerReload.d.ts → ReloadableLayer.d.ts} +5 -3
- package/layers/mixins/ReloadableLayer.js +2 -0
- package/layers/raster/datasets/BaseRaster.js +1 -1
- package/layers/raster/datasets/GeospatialPDFRaster.js +1 -1
- package/layers/raster/datasets/ImageAuxRaster.js +2 -2
- package/layers/raster/datasets/ImageServerRaster.js +1 -1
- package/layers/raster/datasets/InMemoryRaster.js +1 -1
- package/layers/raster/datasets/MRFRaster.js +1 -1
- package/layers/raster/datasets/TIFFRaster.js +1 -1
- package/layers/raster/datasets/WCSRaster.js +1 -1
- package/layers/raster/formats/ElevationCodec.js +2 -0
- package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
- package/layers/raster/formats/Lerc.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/raster/formats/TiffDecoder.js +1 -1
- package/layers/raster/formats/Zlib.js +1 -1
- package/layers/raster/functions/stretchUtils.js +1 -1
- package/layers/raster/functions/vectorFieldUtils.js +1 -1
- package/layers/support/FieldsIndex.js +1 -1
- package/layers/support/LercWorker.js +1 -1
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/TileInfo.d.ts +1 -1
- package/layers/support/TileInfo.js +1 -1
- package/layers/support/featureReductionProperties.js +1 -1
- package/layers/support/kmlUtils.js +1 -1
- package/layers/support/layerOriginUtils.js +1 -1
- package/layers/video/VideoController.js +10 -10
- package/libs/maquette/projection.js +1 -1
- package/networks/UtilityNetworkTraceAnalysis.js +1 -1
- package/package.json +6 -6
- package/popup/FeatureModel.js +1 -1
- package/popup/FeaturesModel.js +1 -1
- package/portal/Portal.js +1 -1
- package/request/process.js +1 -1
- package/request/types.d.ts +7 -0
- package/rest/knowledgeGraphService.js +1 -1
- package/rest/networks/trace.js +1 -1
- package/rest/query/executeQuery.js +1 -1
- package/smartMapping/raster/renderers/shadedRelief.js +1 -1
- package/smartMapping/renderers/univariateColorSize.js +1 -1
- package/smartMapping/statistics/support/statsWorker.js +1 -1
- package/smartMapping/statistics/support/utils.js +1 -1
- package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/FeatureLayerBinningAdapter.js +1 -1
- package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/OGCFeatureLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/SceneLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/support/utils.js +1 -1
- package/smartMapping/support/clusterUtils.js +1 -1
- package/statistics/utils.js +1 -1
- package/symbols/cim/CIMCursor.js +1 -1
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/support/ElevationInfo.d.ts +4 -3
- package/time/TimeExtent.d.ts +1 -1
- package/undoredo/support/Services.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +2 -2
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
- package/views/2d/grid/GridView2D.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/features/sources/strategies/FeatureHybridTileLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/FeaturePagedTileLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/FeatureSnapshotLoadStrategy.js +1 -1
- package/views/2d/viewpointUtils.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
- package/views/3d/analysis/Dimension/LengthDimensionSubTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/LineOfSight/types.d.ts +14 -3
- package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +39 -13
- package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
- package/views/3d/analysis/Viewshed/types.d.ts +7 -0
- package/views/3d/analysis/ViewshedAnalysisView3D.d.ts +43 -15
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementTool.js +1 -1
- package/views/3d/input/handlers/KeyboardNavigation.js +1 -1
- package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
- package/views/3d/interactive/editingTools/transform/ExtentTransformTool.js +1 -1
- package/views/3d/interactive/editingTools/transform/ScaleRotateTransform.js +1 -1
- package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DTool.js +1 -1
- package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DElevationAlignment.js +1 -1
- package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/SpatialIndex2D.js +1 -1
- package/views/3d/layers/i3s/I3SNode.js +1 -1
- package/views/3d/layers/i3s/I3SUtil.js +1 -1
- package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
- package/views/3d/layers/i3s/LayerElevationProvider.js +1 -1
- package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
- package/views/3d/layers/support/FeatureTileFetcher3DDebugger.js +1 -1
- package/views/3d/layers/support/ImageHighlightHelper3D.js +1 -1
- package/views/3d/layers/support/MediaLayerInteraction.js +1 -1
- package/views/3d/layers/support/StageLayerElevationProvider.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/state/utils/navigationUtils.js +1 -1
- package/views/3d/support/elevationUpdateExtentUtils.js +1 -1
- package/views/3d/support/elevationUpdateUtils.js +1 -1
- package/views/3d/support/pointsOfInterest/Focus.js +1 -1
- package/views/3d/support/sphereExtentUtils.js +2 -0
- package/views/3d/terrain/OverlayFramebufferObject.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/PatchRenderData.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/ManagedTexture.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
- package/views/3d/webgl-engine/materials/internal/MaterialUtil.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/PerBufferData.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/ToolViewManager.js +1 -1
- package/views/View.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileTool.js +1 -1
- package/views/draw/DrawOperation.js +1 -1
- package/views/draw/support/InteractiveHandle.js +1 -1
- package/views/draw/support/Reshape.js +1 -1
- package/views/draw/support/createUtils.js +1 -1
- package/views/draw/support/editingSessionUtils.js +1 -1
- package/views/draw/support/managers/InteractiveHandleManager.js +1 -1
- package/views/interactive/SegmentLabels.js +1 -1
- package/views/interactive/editGeometry/EditGeometry.js +1 -1
- package/views/interactive/editGeometry/EditGeometryOperations.js +1 -1
- package/views/interactive/editGeometry/operations/SetAllVertexPositions.js +1 -1
- package/views/interactive/editGeometry/operations/UndoGroup.js +1 -1
- package/views/interactive/options/TooltipOptions.d.ts +2 -0
- package/views/interactive/sketch/SketchTooltipOptions.d.ts +2 -0
- package/views/interactive/sketch/constraintUtils.js +1 -1
- package/views/interactive/snapping/SnappingDragPipelineStep.js +1 -1
- package/views/interactive/snapping/SnappingManagerPool.js +1 -1
- package/views/interactive/snapping/allLayerSnapping.js +1 -1
- package/views/interactive/tooltip/components/TooltipEditableField.js +1 -1
- package/views/layers/LayerView.js +1 -1
- package/views/layers/LineOfSightLayerView.d.ts +35 -13
- package/views/layers/SketchLayerView.d.ts +1 -0
- package/views/layers/ViewshedLayerView.d.ts +36 -12
- package/views/webgl/Program.js +1 -1
- package/views/webgl/Texture.js +1 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +2 -1
- package/widgets/BasemapToggle/BasemapToggleViewModel.d.ts +2 -0
- package/widgets/BasemapToggle/BasemapToggleViewModel.js +1 -1
- package/widgets/Directions.js +1 -1
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +2 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/legacy/CreateFeaturesWorkflow.js +1 -1
- package/widgets/ElevationProfile/components/Statistics.js +1 -1
- package/widgets/ElevationProfile/support/chartUtils.js +1 -1
- package/widgets/Expand/ExpandViewModel.d.ts +2 -0
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/FeatureTable/support/GroupColumnTemplate.js +1 -1
- package/widgets/FeatureTable/support/TableTemplate.js +1 -1
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +3 -1
- package/widgets/Home/HomeViewModel.d.ts +2 -0
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/Print.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Slice.js +1 -1
- package/widgets/Swipe/SwipeViewModel.d.ts +2 -0
- package/widgets/Swipe/types.d.ts +9 -2
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +9 -5
- package/widgets/TimeSlider/types.d.ts +7 -0
- package/widgets/TimeSlider.d.ts +2 -3
- package/widgets/TimeSlider.js +1 -1
- package/widgets/Track/TrackViewModel.d.ts +4 -0
- package/widgets/Track/types.d.ts +1 -0
- package/widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel.js +1 -1
- package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
- package/widgets/support/SelectionList.js +1 -1
- package/widgets/support/Selector3D/selectorUtils.js +1 -1
- package/widgets/support/componentsUtils.js +1 -1
- package/assets/esri/core/workers/chunks/0050916e462e3c9e0627.js +0 -1
- package/assets/esri/core/workers/chunks/024b44c0c8876627f904.js +0 -1
- package/assets/esri/core/workers/chunks/02c5d027bdaee67869cf.js +0 -1
- package/assets/esri/core/workers/chunks/03261b9451e293a0fac8.js +0 -1
- package/assets/esri/core/workers/chunks/0c8c01097847617261b9.js +0 -1
- package/assets/esri/core/workers/chunks/0d931c7579b6409a696d.js +0 -1
- package/assets/esri/core/workers/chunks/12c154342fff876f2f1e.js +0 -1
- package/assets/esri/core/workers/chunks/1e11d2e97d17685b878a.js +0 -1
- package/assets/esri/core/workers/chunks/1f339247b68b061ab0a4.js +0 -1
- package/assets/esri/core/workers/chunks/21ddb26526bcb2b122c3.js +0 -1
- package/assets/esri/core/workers/chunks/2eae542fe7f0f6576ac1.js +0 -1
- package/assets/esri/core/workers/chunks/34cbaf844730ac2d92c2.js +0 -2
- package/assets/esri/core/workers/chunks/3c301a689c7853c9fa67.js +0 -2
- package/assets/esri/core/workers/chunks/3f946c13ad97fbed867b.js +0 -1
- package/assets/esri/core/workers/chunks/444e5f214abce3d607cd.js +0 -1
- package/assets/esri/core/workers/chunks/46a7da93a63663878583.js +0 -1
- package/assets/esri/core/workers/chunks/4a1e23e021bac37a88ab.js +0 -1
- package/assets/esri/core/workers/chunks/4c4117e28ea358a32088.js +0 -1
- package/assets/esri/core/workers/chunks/54b18559280a7d2a8d93.js +0 -1
- package/assets/esri/core/workers/chunks/59b216b60464611742d4.js +0 -1
- package/assets/esri/core/workers/chunks/604f0f4150fb79ee54c8.js +0 -1
- package/assets/esri/core/workers/chunks/6299be5e7e26bf3c6859.js +0 -1
- package/assets/esri/core/workers/chunks/62ac588f7dd1d24d0c9d.js +0 -1
- package/assets/esri/core/workers/chunks/62c8c9ad09e0166207fd.js +0 -1
- package/assets/esri/core/workers/chunks/62d6e101e9bd9557a410.js +0 -1
- package/assets/esri/core/workers/chunks/6558488ea96620439f34.js +0 -1
- package/assets/esri/core/workers/chunks/665e31c494d2af505acc.js +0 -1
- package/assets/esri/core/workers/chunks/6f4e6022a52de0c54aab.js +0 -1
- package/assets/esri/core/workers/chunks/7267b17de212207142c9.js +0 -1
- package/assets/esri/core/workers/chunks/745a153d0cd34faa124e.js +0 -1
- package/assets/esri/core/workers/chunks/7572c2bc5062e66f6330.js +0 -1
- package/assets/esri/core/workers/chunks/76ab353d80d786777161.js +0 -2
- package/assets/esri/core/workers/chunks/7ef182e24cad50815b4e.js +0 -1
- package/assets/esri/core/workers/chunks/8293600f94553afc8c38.js +0 -1
- package/assets/esri/core/workers/chunks/8431ca60ad33d594e323.js +0 -1
- package/assets/esri/core/workers/chunks/8483c50ed8f280fd74bb.js +0 -1
- package/assets/esri/core/workers/chunks/876f7633c15f1e31078d.js +0 -1
- package/assets/esri/core/workers/chunks/8ca9648eacb894283513.js +0 -1
- package/assets/esri/core/workers/chunks/8cb716f110d164030309.js +0 -1
- package/assets/esri/core/workers/chunks/91ebb2ccab1889eb7e81.js +0 -1
- package/assets/esri/core/workers/chunks/94e427040edb469d58ad.js +0 -1
- package/assets/esri/core/workers/chunks/9ce91a909eccc4dfe388.js +0 -1
- package/assets/esri/core/workers/chunks/9e1a3b6a08c96dcefdde.js +0 -1
- package/assets/esri/core/workers/chunks/9e3e442a9874ed23a043.js +0 -1
- package/assets/esri/core/workers/chunks/ad76f7ab2f3e6d5a5b3c.js +0 -1
- package/assets/esri/core/workers/chunks/aff32980d91dab07dfb7.js +0 -1
- package/assets/esri/core/workers/chunks/b49df4ebd4be1181b0f9.js +0 -2
- package/assets/esri/core/workers/chunks/b557824bc1fa163d72a3.js +0 -2
- package/assets/esri/core/workers/chunks/bbf993dba74850bbf9d7.js +0 -1
- package/assets/esri/core/workers/chunks/d8f1cefcad02d7353d4b.js +0 -1
- package/assets/esri/core/workers/chunks/d938987344bce83cc660.js +0 -1
- package/assets/esri/core/workers/chunks/ddf0671976648f621269.js +0 -1
- package/assets/esri/core/workers/chunks/de02f60258e6985ef676.js +0 -1
- package/assets/esri/core/workers/chunks/e10b57aefcc89671116e.js +0 -1
- package/assets/esri/core/workers/chunks/e65dfa19f030ec298437.js +0 -1
- package/assets/esri/core/workers/chunks/ed8786fed345718ed684.js +0 -1
- package/assets/esri/core/workers/chunks/f122c18af10e56f9ec2b.js +0 -1
- package/assets/esri/core/workers/chunks/f92364afaefbac7e8f77.js +0 -1
- package/assets/esri/core/workers/chunks/fc44227c1756f65b95df.js +0 -1
- package/assets/esri/core/workers/chunks/fd9663952d5a94f3a83f.js +0 -1
- package/assets/esri/core/workers/chunks/fe9879ecd69ac4329291.js +0 -1
- package/layers/mixins/FeatureLayerReload.js +0 -2
- /package/assets/esri/core/workers/chunks/{b557824bc1fa163d72a3.js.LICENSE.txt → 164c8eeefa8232b2b191.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{b49df4ebd4be1181b0f9.js.LICENSE.txt → 2981e904ab62f3ed80d0.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{34cbaf844730ac2d92c2.js.LICENSE.txt → 32cc59e126df8c96a0cf.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{590e6c70206122e4cc3c.js.LICENSE.txt → 844eedda8f749972f707.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{3c301a689c7853c9fa67.js.LICENSE.txt → b686cd74975da09b9c91.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{76ab353d80d786777161.js.LICENSE.txt → bd46a04a9ee4ea9e6ef1.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5158],{32488(t,e,i){i.d(e,{A:()=>P});const r=[["(",")"],[")","("],["<",">"],[">","<"],["[","]"],["]","["],["{","}"],["}","{"],["«","»"],["»","«"],["‹","›"],["›","‹"],["⁽","⁾"],["⁾","⁽"],["₍","₎"],["₎","₍"],["≤","≥"],["≥","≤"],["〈","〉"],["〉","〈"],["﹙","﹚"],["﹚","﹙"],["﹛","﹜"],["﹜","﹛"],["﹝","﹞"],["﹞","﹝"],["﹤","﹥"],["﹥","﹤"]],s=["آ","أ","إ","ا"],n=["ﻵ","ﻷ","ﻹ","ﻻ"],a=["ﻶ","ﻸ","ﻺ","ﻼ"],l="ا.ب.ت.ث.ج.ح.خ.د.ذ.ر.ز.س.ش.ص.ض.ط.ظ.ع.غ.ف.ق.ك.ل.م.ن.ه.و.ي.إ.أ.آ.ة.ى.ل.م.ن.ه.و.ي.إ.أ.آ.ة.ى.ی.ئ.ؤ".split("."),o="ﺍ.ﺏ.ﺕ.ﺙ.ﺝ.ﺡ.ﺥ.ﺩ.ﺫ.ﺭ.ﺯ.ﺱ.ﺵ.ﺹ.ﺽ.ﻁ.ﻅ.ﻉ.ﻍ.ﻑ.ﻕ.ﻙ.ﻝ.ﻡ.ﻥ.ﻩ.ﻭ.ﻱ.ﺇ.ﺃ.ﺁ.ﺓ.ﻯ.ﯼ.ﺉ.ﺅ.ﹰ.ﹲ.ﹴ.ﹶ.ﹸ.ﹺ.ﹼ.ﹾ.ﺀ.ﺉ.ﺅ".split("."),h="ﺎ.ﺐ.ﺖ.ﺚ.ﺞ.ﺢ.ﺦ.ﺪ.ﺬ.ﺮ.ﺰ.ﺲ.ﺶ.ﺺ.ﺾ.ﻂ.ﻆ.ﻊ.ﻎ.ﻒ.ﻖ.ﻚ.ﻞ.ﻢ.ﻦ.ﻪ.ﻮ.ﻲ.ﺈ.ﺄ.ﺂ.ﺔ.ﻰ.ﯽ.ﺊ.ﺆ.ﹰ.ﹲ.ﹴ.ﹶ.ﹸ.ﹺ.ﹼ.ﹾ.ﺀ.ﺊ.ﺆ".split("."),u="ﺎ.ﺒ.ﺘ.ﺜ.ﺠ.ﺤ.ﺨ.ﺪ.ﺬ.ﺮ.ﺰ.ﺴ.ﺸ.ﺼ.ﻀ.ﻄ.ﻈ.ﻌ.ﻐ.ﻔ.ﻘ.ﻜ.ﻠ.ﻤ.ﻨ.ﻬ.ﻮ.ﻴ.ﺈ.ﺄ.ﺂ.ﺔ.ﻰ.ﯿ.ﺌ.ﺆ.ﹱ.ﹲ.ﹴ.ﹷ.ﹹ.ﹻ.ﹽ.ﹿ.ﺀ.ﺌ.ﺆ".split("."),f="ﺍ.ﺑ.ﺗ.ﺛ.ﺟ.ﺣ.ﺧ.ﺩ.ﺫ.ﺭ.ﺯ.ﺳ.ﺷ.ﺻ.ﺿ.ﻃ.ﻇ.ﻋ.ﻏ.ﻓ.ﻗ.ﻛ.ﻟ.ﻣ.ﻧ.ﻫ.ﻭ.ﻳ.ﺇ.ﺃ.ﺁ.ﺓ.ﻯ.ﯾ.ﺋ.ﺅ.ﹰ.ﹲ.ﹴ.ﹶ.ﹸ.ﹺ.ﹼ.ﹾ.ﺀ.ﺋ.ﺅ".split("."),c=["ء","آ","أ","ؤ","إ","ا","ة","د","ذ","ر","ز","و","ى"],d="ً.ً.ٌ.؟.ٍ.؟.َ.َ.ُ.ُ.ِ.ِ.ّ.ّ.ْ.ْ.ء.آ.آ.أ.أ.ؤ.ؤ.إ.إ.ئ.ئ.ئ.ئ.ا.ا.ب.ب.ب.ب.ة.ة.ت.ت.ت.ت.ث.ث.ث.ث.ج.ج.ج.ج.ح.ح.ح.ح.خ.خ.خ.خ.د.د.ذ.ذ.ر.ر.ز.ز.س.س.س.س.ش.ش.ش.ش.ص.ص.ص.ص.ض.ض.ض.ض.ط.ط.ط.ط.ظ.ظ.ظ.ظ.ع.ع.ع.ع.غ.غ.غ.غ.ف.ف.ف.ف.ق.ق.ق.ق.ك.ك.ك.ك.ل.ل.ل.ل.م.م.م.م.ن.ن.ن.ن.ه.ه.ه.ه.و.و.ى.ى.ي.ي.ي.ي.ﻵ.ﻶ.ﻷ.ﻸ.ﻹ.ﻺ.ﻻ.ﻼ.؟.؟.؟".split("."),g=["ء","ف"],y=["غ","ي"],p=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],x=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],_=["UBAT_L","UBAT_R","UBAT_EN","UBAT_AN","UBAT_ON","UBAT_B","UBAT_S","UBAT_AL","UBAT_WS","UBAT_CS","UBAT_ES","UBAT_ET","UBAT_NSM","UBAT_LRE","UBAT_RLE","UBAT_PDF","UBAT_LRO","UBAT_RLO","UBAT_BN"],m=[100,0,0,0,0,101,102,103,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,4,4,4,0,4,0,4,0,4,4,4,0,0,4,4,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,0,0,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,105,7,7,106,107],I=[[18,18,18,18,18,18,18,18,18,6,5,6,8,5,18,18,18,18,18,18,18,18,18,18,18,18,18,18,5,5,5,6,8,4,4,11,11,11,4,4,4,4,4,10,9,10,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,18,18,18,18,18,18,5,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,9,4,11,11,11,11,4,4,4,4,0,4,4,18,4,4,11,11,2,2,4,0,4,4,4,2,0,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,1,12,12,1,12,12,1,12,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,4,4,4,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4],[3,3,3,3,4,4,4,4,7,11,11,7,9,7,4,4,12,12,12,12,12,12,12,12,12,12,12,7,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,3,3,3,3,3,11,3,3,7,7,7,12,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,12,12,12,12,12,12,12,3,4,12,12,12,12,12,12,7,7,12,12,4,12,12,12,12,7,7,2,2,2,2,2,2,2,2,2,2,7,7,7,7,7,7],[7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,7,7,12,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,12,12,12,12,12,12,12,12,12,12,12,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,12,12,12,12,12,12,12,12,1,1,4,4,4,4,1,4,4,4,4,4],[8,8,8,8,8,8,8,8,8,8,8,18,18,18,0,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,5,13,14,15,16,17,9,11,11,11,11,11,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,18,18,18,18,18,4,4,4,4,4,18,18,18,18,18,18,2,0,4,4,2,2,2,2,2,2,10,10,4,4,4,0,2,2,2,2,2,2,2,2,2,2,10,10,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],[0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,4,4,4,4,4,1,12,1,1,1,1,1,1,1,1,1,1,10,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,4,1,4,1,1,4,1,1,4,1,1,1,1,1,1,1,1,1,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7],[12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,9,4,4,9,4,4,4,4,4,4,4,4,4,11,4,4,10,10,4,4,4,4,4,11,11,4,4,4,4,4,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,18],[4,4,4,11,11,11,4,4,4,4,4,10,9,10,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,4,4,4,11,11,4,4,4,11,11,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4]];class P{constructor(){this.inputFormat="ILYNN",this.outputFormat="VLNNN",this.sourceToTarget=[],this.targetToSource=[],this.levels=[]}bidiTransform(t,e,i){if(this.sourceToTarget=[],this.targetToSource=[],!t)return"";if(function(t,e,i){q=[],K=[];for(let r=0;r<i;r++)t[r]=r,e[r]=r,q[r]=r}(this.sourceToTarget,this.targetToSource,t.length),!this.checkParameters(e,i))return t;e=this.inputFormat,i=this.outputFormat;let r=t,s=Y,n=E(e.charAt(1)),a=E(i.charAt(1)),l=(e.startsWith("I")?"L":e.charAt(0))+n,o=(i.startsWith("I")?"L":i.charAt(0))+a,h=e.charAt(2)+i.charAt(2);s.defInFormat=l,s.defOutFormat=o,s.defSwap=h;let u=b(t,l,o,h,s),f=!1;return"R"===i.charAt(1)?f=!0:("C"===i.charAt(1)||"D"===i.charAt(1))&&(f="rtl"===this.checkContextual(u)),this.sourceToTarget=q,this.targetToSource=function(t){let e=Array(t.length);for(let i=0;i<t.length;i++)e[t[i]]=i;return e}(this.sourceToTarget),j=this.targetToSource,r=e.charAt(3)===i.charAt(3)?u:"S"===i.charAt(3)?function(t,e){if(0===e.length)return"";void 0===t&&(t=!0);let i=(e=String(e)).split(""),r=0,s=1,n=i.length;t||(r=i.length-1,s=-1,n=1);let a=w(i,r,s,n),l="";for(let e=0;e<i.length;e++)k(a,a.length,e)>-1?(W(j,e,!t,-1),q.splice(e,1)):l+=i[e];return l}(f,u):T(u,f,!0),this.sourceToTarget=q,this.targetToSource=j,this.levels=K,r}_inputFormatSetter(t){if(!X.test(t))throw Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.inputFormat=t}_outputFormatSetter(t){if(!X.test(t))throw Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.outputFormat=t}checkParameters(t,e){return t?this._inputFormatSetter(t):t=this.inputFormat,e?this._outputFormatSetter(e):e=this.outputFormat,t!==e}checkContextual(t){let e=M(t);if("ltr"!==e&&"rtl"!==e){try{e=document.dir.toLowerCase()}catch{}"ltr"!==e&&"rtl"!==e&&(e="ltr")}return e}hasBidiChar(t){return tt.test(t)}}function b(t,e,i,r,s){let n=function(t,e,i){if(void 0===e.inFormat&&(e.inFormat=i.defInFormat),void 0===e.outFormat&&(e.outFormat=i.defOutFormat),void 0===e.swap&&(e.swap=i.defSwap),e.inFormat===e.outFormat)return e;let r,s=e.inFormat.slice(0,1),n=e.outFormat.slice(0,1),a=e.inFormat.slice(1,4),l=e.outFormat.slice(1,4);return a.startsWith("C")&&(r=M(t),a="ltr"===r||"rtl"===r?r.toUpperCase():"L"===e.inFormat.charAt(2)?"LTR":"RTL",e.inFormat=s+a),l.startsWith("C")&&(r=M(t),"rtl"===r?l="RTL":"ltr"===r?(r=function(t){let e=t.split("");return e.reverse(),M(e.join(""))}(t),l=r.toUpperCase()):l="L"===e.outFormat.charAt(2)?"LTR":"RTL",e.outFormat=n+l),e}(t,{inFormat:e,outFormat:i,swap:r},s);if(n.inFormat===n.outFormat)return t;e=n.inFormat,i=n.outFormat,r=n.swap;let a=e.slice(0,1),l=e.slice(1,4),o=i.slice(0,1),h=i.slice(1,4);if(s.inFormat=e,s.outFormat=i,s.swap=r,"L"===a&&"VLTR"===i){if("LTR"===l)return s.dir=$,v(t,s);if("RTL"===l)return s.dir=Q,v(t,s)}if("V"===a&&"V"===o)return s.dir="RTL"===l?Q:$,L(t,s);if("L"===a&&"VRTL"===i)return"LTR"===l?(s.dir=$,t=v(t,s)):(s.dir=Q,t=v(t,s)),L(t);if("VLTR"===e&&"LLTR"===i)return s.dir=$,v(t,s);if("V"===a&&"L"===o&&l!==h)return t=L(t),"RTL"===l?b(t,"LLTR","VLTR",r,s):b(t,"LRTL","VRTL",r,s);if("VRTL"===e&&"LRTL"===i)return b(t,"LRTL","VRTL",r,s);if("L"===a&&"L"===o){let e=s.swap;return s.swap=e.slice(0,1)+"N","RTL"===l?(s.dir=Q,t=v(t,s),s.swap="N"+e.slice(1,3),s.dir=$,t=v(t,s)):(s.dir=$,t=v(t,s),s.swap="N"+e.slice(1,3),t=b(t,"VLTR","LRTL",s.swap,s)),t}return t}function w(t,e,i,r,s){let l=0,u=[],c=0;for(let s=e;s*i<r;s+=i)if(B(t[s])||O(t[s])){if("ل"===t[s]&&D(t,s+i,i,r)){t[s]=Z(t[s+i],0===l?n:a),s+=i,G(t,s,i,r),u[c]=s,c++,l=0;continue}let e=t[s];1===l?t[s]=z(t,s+i,i,r)?F(t[s]):U(t[s],h):!0===z(t,s+i,i,r)?t[s]=U(t[s],f):t[s]=U(t[s],o),O(e)||(l=1),!0===N(e)&&(l=0)}else l=0;return u}function M(t){let e=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(t);return e?e[0]<="z"?"ltr":"rtl":""}function T(t,e,i){if(0===t.length)return"";void 0===e&&(e=!0);let r="",n=(t=String(t)).split("");for(let a=0;a<t.length;a++){let l=!1;if(n[a]>="ﹰ"&&n[a]<"\ufeff"){let o=t.charCodeAt(a);n[a]>="ﻵ"&&n[a]<="ﻼ"?(e?(a>0&&i&&" "===n[a-1]?r=r.slice(0,-1)+"ل":(r+="ل",l=!0),r+=s[(o-65269)/2]):(r+=s[(o-65269)/2],r+="ل",a+1<t.length&&i&&" "===n[a+1]?a++:l=!0),l&&(W(j,a,!0,1),q.splice(a,0,q[a]))):r+=d[o-65136]}else r+=n[a]}return r}function v(t,e){let i=t.split(""),r=[];return A(i,r,e),function(t,e,i){if(0!==i.hiLevel&&i.swap[0]!==i.swap[1])for(let i=0;i<t.length;i++)1===e[i]&&(t[i]=C(t[i]))}(i,r,e),R(2,i,r,e),R(1,i,r,e),K=r,i.join("")}function A(t,e,i){let r=t.length,s=i.dir?x:p,n=0,a=-1,l=[],o=[];i.hiLevel=i.dir,i.lastArabic=!1,i.hasUbatAl=!1,i.hasUbatB=!1,i.hasUbatS=!1;for(let e=0;e<r;e++)l[e]=S(t[e]);for(let h=0;h<r;h++){let r=n,u=V(t,l,o,h,i);o[h]=u,n=s[r][u];let f=240&n;n&=15;let c=s[n][J];if(e[h]=c,f>0)if(16===f){for(let t=a;t<h;t++)e[t]=1;a=-1}else a=-1;if(s[n][H])-1===a&&(a=h);else if(a>-1){for(let t=a;t<h;t++)e[t]=c;a=-1}5===l[h]&&(e[h]=0),i.hiLevel|=c}i.hasUbatS&&function(t,e,i,r){for(let s=0;s<i;s++)if(6===t[s]){e[s]=r.dir;for(let i=s-1;i>=0&&8===t[i];i--)e[i]=r.dir}}(l,e,r,i)}function S(t){let e=t.charCodeAt(0),i=m[e>>8];return i<100?i:I[i-100][255&e]}function L(t,e){let i=t.split("");if(e){let t=[];A(i,t,e),K=t}return i.reverse(),q.reverse(),i.join("")}function k(t,e,i){for(let r=0;r<e;r++)if(t[r]===i)return r;return-1}function B(t){for(let e=0;e<g.length;e++)if(t>=g[e]&&t<=y[e])return!0;return!1}function z(t,e,i,r){for(;e*i<r&&O(t[e]);)e+=i;return!!(e*i<r&&B(t[e]))}function D(t,e,i,r){for(;e*i<r&&O(t[e]);)e+=i;let n=" ";if(!(e*i<r))return!1;n=t[e];for(let t=0;t<s.length;t++)if(s[t]===n)return!0;return!1}function R(t,e,i,r){if(r.hiLevel<t)return;if(1===t&&r.dir===Q&&!r.hasUbatB)return e.reverse(),void q.reverse();let s,n,a,l,o,h=e.length,u=0;for(;u<h;){if(i[u]>=t){for(s=u+1;s<h&&i[s]>=t;)s++;for(n=u,a=s-1;n<a;n++,a--)l=e[n],e[n]=e[a],e[a]=l,o=q[n],q[n]=q[a],q[a]=o;u=s}u++}}function V(t,e,i,r,s){let n=e[r];return{UBAT_L:()=>(s.lastArabic=!1,0),UBAT_R:()=>(s.lastArabic=!1,1),UBAT_ON:()=>4,UBAT_AN:()=>3,UBAT_EN:()=>s.lastArabic?3:2,UBAT_AL:()=>(s.lastArabic=!0,s.hasUbatAl=!0,1),UBAT_WS:()=>4,UBAT_CS:()=>{let t,n;return r<1||r+1>=e.length||2!==(t=i[r-1])&&3!==t||2!==(n=e[r+1])&&3!==n?4:(s.lastArabic&&(n=3),n===t?n:4)},UBAT_ES:()=>2===(r>0?i[r-1]:5)&&r+1<e.length&&2===e[r+1]?2:4,UBAT_ET:()=>{if(r>0&&2===i[r-1])return 2;if(s.lastArabic)return 4;let t=r+1,n=e.length;for(;t<n&&11===e[t];)t++;return t<n&&2===e[t]?2:4},UBAT_NSM:()=>{if("VLTR"===s.inFormat){let i=e.length,s=r+1;for(;s<i&&12===e[s];)s++;if(s<i){let i=t[r].charCodeAt(0),n=i>=1425&&i<=2303||64286===i,a=e[s];if(n&&(1===a||7===a))return 1}}return r<1||5===e[r-1]?4:i[r-1]},UBAT_B:()=>(s.lastArabic=!0,s.hasUbatB=!0,s.dir),UBAT_S:()=>(s.hasUbatS=!0,4),UBAT_LRE:()=>(s.lastArabic=!1,4),UBAT_RLE:()=>(s.lastArabic=!1,4),UBAT_LRO:()=>(s.lastArabic=!1,4),UBAT_RLO:()=>(s.lastArabic=!1,4),UBAT_PDF:()=>(s.lastArabic=!1,4),UBAT_BN:()=>4}[_[n]]()}function C(t){let e,i=0,s=r.length-1;for(;i<=s;)if(e=Math.floor((i+s)/2),t<r[e][0])s=e-1;else{if(!(t>r[e][0]))return r[e][1];i=e+1}return t}function N(t){for(let e=0;e<c.length;e++)if(c[e]===t)return!0;return!1}function F(t){for(let e=0;e<l.length;e++)if(t===l[e])return u[e];return t}function U(t,e){for(let i=0;i<l.length;i++)if(t===l[i])return e[i];return t}function O(t){return t>="ً"&&t<="ٕ"}function E(t){return"L"===t?"LTR":"R"===t?"RTL":"C"===t?"CLR":"D"===t?"CRL":""}function G(t,e,i,r){for(;e*i<r&&O(t[e]);)e+=i;return e*i<r&&(t[e]=" ",!0)}function Z(t,e){for(let i=0;i<s.length;i++)if(t===s[i])return e[i];return t}function W(t,e,i,r){for(let s=0;s<t.length;s++)(t[s]>e||!i&&t[s]===e)&&(t[s]+=r)}let q=[],j=[],K=[];const Y={dir:0,defInFormat:"LLTR",defSwap:"YN",inFormat:"LLTR",outFormat:"VLTR",swap:"YN",hiLevel:0,lastArabic:!1,hasUbatAl:!1,defOutFormat:""},J=5,H=6,$=0,Q=1,X=/^[(I|V)][(L|RCD)][(Y|N)][(S|N)]N$/,tt=/[\u0591-\u06ff\ufb1d-\ufefc]/},9775(t,e,i){i.d(e,{A:()=>n});var r=i(62788),s=i(95488);class n{constructor(t=t=>t.values().next().value){this._peeker=t,this._observable=new s.I,this._items=new Set}get length(){return(0,r.gc)(this._observable),this._items.size}clear(){0!==this.length&&(this._items.clear(),this._observable.notify())}last(){if(0===this.length)return;let t;for(t of this._items);return t}peek(){if(0!==this.length)return this._peeker(this._items)}push(t){this.contains(t)||(this._items.add(t),this._observable.notify())}contains(t){return(0,r.gc)(this._observable),this._items.has(t)}pop(){if(0===this.length)return;let t=this.peek();return this._items.delete(t),this._observable.notify(),t}popLast(){if(0===this.length)return;let t=this.last();return this._items.delete(t),this._observable.notify(),t}remove(t){this.contains(t)&&(this._items.delete(t),this._observable.notify())}filter(t){let e=this.length;return this._items.forEach(e=>{t(e)||this._items.delete(e)}),e!==this._items.size&&this._observable.notify(),this}*[Symbol.iterator](){(0,r.gc)(this._observable),yield*this._items}}},95488(t,e,i){i.d(e,{I:()=>s});var r=i(11406);class s extends r.T{notify(){let t=this._observers;if(t&&t.length>0){let e=t.slice();for(let t of e)t.onInvalidated(),t.onCommitted()}}}},34304(t,e,i){i.d(e,{DF:()=>o,FD:()=>s,ct:()=>h});let r=1e-6;function s(){return r}const n=Math.random,a=Math.PI/180,l=180/Math.PI;function o(t){return t*a}function h(t){return t*l}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:n,equals:function(t,e){return Math.abs(t-e)<=r*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:s,setEpsilon:function(t){r=t},toDegree:h,toRadian:o},Symbol.toStringTag,{value:"Module"})),i.d(e,["Ov",0,n])},51624(t,e,i){i.d(e,{A:()=>h});var r=i(44208),s=i(69397),n=i(93687);const a=4294967296,l=new TextDecoder("utf-8"),o=(0,r.A)("safari")||(0,r.A)("ios")?6:(0,r.A)("ff")?12:32;class h{constructor(t,e,i=0,r=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,i,r)}[Symbol.dispose](){this.release()}_init(t,e,i,r){this._data=t,this._dataView=e,this._pos=i,this._end=r}get usedMemory(){return 64+(0,s.Qf)(this._data)}asUnsafe(){return this}clone(){return new h(this._data,this._dataView,this._pos,this._end)}clonePooled(){return h.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,i=0,r=t?.byteLength??0){let s=h.pool.acquire();return s._init(t,e,i,r),s}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;let e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;let t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128||(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)||(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)||(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)||(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128))return t;throw Error("Varint overflow")}getPackedEnd(){let t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){let t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){let t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){let t=this._dataView,e=this._pos,i=t.getUint32(e,!0)+t.getUint32(e+4,!0)*a;return this._skip(8),i}getSFixed64(){let t=this._dataView,e=this._pos,i=t.getUint32(e,!0)+t.getInt32(e+4,!0)*a;return this._skip(8),i}getDouble(){let t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){let t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){let t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){let t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){let t=this._getLength(),e=this._pos,i=this._toString(this._data,e,e+t);return this._skip(t),i}getBytes(){let t=this._getLength(),e=this._pos,i=this._toBytes(this._data,e,e+t);return this._skip(t),i}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,i,r){let s=this.getMessage(),n=t(s,e,i,r);return s.release(),n}processMessage(t){let e=this.getMessage(),i=t(e);return e.release(),i}getMessage(){let t=this._getLength(),e=h.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){h.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){let t=this._data,e=this._pos,i=0,r=0;if(this._end-e>=10){if(r=t[e++],i|=127&r,128&r&&(r=t[e++],i|=(127&r)<<7,128&r&&(r=t[e++],i|=(127&r)<<14,128&r&&(r=t[e++],i|=(127&r)<<21,128&r&&(r=t[e++],i+=268435456*(127&r),128&r&&(r=t[e++],i+=34359738368*(127&r),128&r&&(r=t[e++],i+=4398046511104*(127&r),128&r&&(r=t[e++],i+=562949953421312*(127&r),128&r&&(r=t[e++],i+=72057594037927940*(127&r),128&r&&(r=t[e++],i+=0x8000000000000000*(127&r),128&r))))))))))throw Error("Varint too long!")}else{let s=1;for(;e!==this._end&&(r=t[e],128&r);)++e,i+=(127&r)*s,s*=128;if(e===this._end)throw Error("Varint overrun!");++e,i+=r*s}return this._pos=e,i}_decodeSVarint(){let t,e=this._data,i=0,r=0,s=1&e[this._pos];if(r=e[this._pos++],i|=127&r,!(128&r&&(r=e[this._pos++],i|=(127&r)<<7,128&r)&&(r=e[this._pos++],i|=(127&r)<<14,128&r)&&(r=e[this._pos++],i|=(127&r)<<21,128&r)&&(r=e[this._pos++],i+=268435456*(127&r),128&r)&&(r=e[this._pos++],i+=34359738368*(127&r),128&r)&&(r=e[this._pos++],i+=4398046511104*(127&r),128&r)))return s?-(i+1)/2:i/2;if(t=BigInt(i),r=e[this._pos++],t+=562949953421312n*BigInt(127&r),!(128&r&&(r=e[this._pos++],t+=72057594037927936n*BigInt(127&r),128&r)&&(r=e[this._pos++],t+=9223372036854775808n*BigInt(127&r),128&r)))return Number(s?-(t+1n)/2n:t/2n);throw Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,i){if((i=Math.min(this._end,i))-e>o){let r=t.subarray(e,i);return l.decode(r)}let r="",s="";for(let n=e;n<i;++n){let e=t[n];128&e?s+="%"+e.toString(16):(r+=decodeURIComponent(s)+String.fromCharCode(e),s="")}return s.length&&(r+=decodeURIComponent(s)),r}_toBytes(t,e,i){return i=Math.min(this._end,i),new Uint8Array(t.buffer,e,i-e)}static{this.pool=new n.A(()=>new h(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},36745(t,e,i){i.d(e,{z:()=>l});var r=i(4718),s=i(51118),n=i(60408),a=i(92722);class l{static fromOptimized(t,e,i=1){return(new o).initialize(t,e,i)}static fromJSON(t){let[e,i]=u(t),r=(0,n.Pv)(t),s=(0,n.W0)(t);return(new f).initialize(e,i,r,s,1)}static fromOptimizedCIM(t,e,i=1){return(new c).initialize(t,e,i)}static fromJSONCIM(t,e=1){let[i,r]=u(t),s=(0,n.Pv)(t),a=(0,n.W0)(t);return(new d).initialize(i,r,s,a,e)}static fromFeatureSetReader(t){let e=t.readGeometryForDisplay(),i=t.geometryType;return e&&i?this.fromOptimized(e,i):null}static fromFeatureSetReaderCIM(t){let e=t.readGeometryForDisplay(),i=t.geometryType;return e&&i?this.fromOptimizedCIM(e,i):null}static createEmptyOptimized(t,e=!1,i=!1,r=1){return(new c).initialize(new a.A([],[],e,i),t,r)}static createEmptyJSON(t,e=!1,i=!1){return(new f).initialize([],t,e,i,1)}static createEmptyOptimizedCIM(t,e=!1,i=!1,r=1){return(new c).initialize(new a.A([],[],e,i),t,r)}static createEmptyJSONCIM(t,e=!1,i=!1,r=1){return(new d).initialize([],t,e,i,r)}asJSON(){let t=(0,s.x)(this),{hasZ:e,hasM:i}=this;return"esriGeometryEnvelope"===this.geometryType?{xmin:t[0][0][0],ymin:t[0][0][1],xmax:t[0][2][0],ymax:t[0][2][1]}:"esriGeometryMultipoint"===this.geometryType?{points:t.flat(),hasZ:e,hasM:i}:"esriGeometryPoint"===this.geometryType?{x:t[0][0][0],y:t[0][0][1],z:e?t[0][0][2]:void 0,m:i?t[0][0][e?3:2]:void 0}:"esriGeometryPolygon"===this.geometryType?{rings:t,hasZ:e,hasM:i}:{paths:t,hasZ:e,hasM:i}}getCurrentRingArea(){if(this.pathSize<3)return 0;let t,e,i=0;if(this.seekPathStart(),!this.nextPoint())return 0;t=this.x,e=this.y;let r=t,s=e;for(;this.nextPoint();)i+=(t-this.x)*(e+this.y),t=this.x,e=this.y;return i+=(t-r)*(e+s),-.5*i}invertY(){this.yFactor*=-1}}class o extends l{constructor(){super(...arguments),this._end=-1}get hasZ(){return this._geometry?.hasZ}get hasM(){return this._geometry?.hasM}initialize(t,e,i){return this.geometryType=e,this._stride=t.stride,this._geometry=t,this._pathIndex=-1,this._pathOffset=0,this._pointOffset=-this._stride,this._end=-1,this.yFactor=i,this}reset(){this.initialize(this._geometry,this.geometryType,this.yFactor)}seekPath(t){if(t>=0&&t<this.totalSize){if(this._pathIndex<t)for(;this._pathIndex<t&&this.nextPath(););else if(this._pathIndex>t)for(;this._pathIndex>t&&this.prevPath(););return!0}return!1}seekPathStart(){this._pointOffset=this._pathOffset-this._stride}seekPathEnd(){this._pointOffset=this._end}seekInPath(t){let e=this._pathOffset+t*this._stride;return e>=0&&e<this._end&&(this._pointOffset=e,!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(){let t=this._end,e=this._geometry.coords,i=this._pathOffset;return(new o).initialize(new a.A([this.pathSize],e.slice(i,t),this.hasZ,this.hasM),this.geometryType,this.yFactor)}pathLength(){let t=this._end,e=this._stride,i=this._geometry.coords,r=0;for(let s=this._pathOffset+e;s<t;s+=e){let t=i[s-e],n=i[s-e+1],a=i[s]-t,l=i[s+1]-n;r+=Math.sqrt(a*a+l*l)}return r}startPath(){this._geometry.lengths.push(0)}pushPath(t){this.startPath(),this.pushPoints(t)}pushPoint(t){for(let e=0;e<this._stride;++e)this._geometry.coords.push(t[e]);this._geometry.lengths[this.totalSize-1]++}pushXY(t,e){this._geometry.coords.push(t,e),this._geometry.lengths[this.totalSize-1]++}pushPoints(t){for(let e of t)for(let t=0;t<this._stride;++t)this._geometry.coords.push(e[t]);this._geometry.lengths[this.totalSize-1]+=t.length}pushCursor(t){let e=t.asOptimized();this._geometry.coords.push(...e.coords),this._geometry.lengths.push(...e.lengths)}asOptimized(){let t=this._geometry.clone();if(1!==this.yFactor)for(let e=1;e<t.coords.length;e+=this._stride)t.coords[e]*=this.yFactor;return"esriGeometryPoint"===this.geometryType&&(t.lengths.length=0),t}isClosed(){let t=this._geometry.coords,e=this._pathOffset,i=this._end-this._stride;for(let r=0;r<this._stride;r++)if(t[e+r]!==t[i+r])return!1;return!0}clone(){return(new o).initialize(this._geometry.clone(),this.geometryType,this.yFactor)}get totalPoints(){return this._geometry.isPoint?1:this._geometry.lengths.reduce((t,e)=>t+e)}get pathSize(){let{lengths:t}=this._geometry;return this._geometry.isPoint?1:this._pathIndex<0||this._pathIndex>t.length-1?0:t[this._pathIndex]}get totalSize(){return this._geometry.isPoint?1:this._geometry.lengths.length}get x(){return this._geometry.coords[this._pointOffset]}set x(t){this._geometry.coords[this._pointOffset]=t}get y(){return this.yFactor*this._geometry.coords[this._pointOffset+1]}set y(t){this._geometry.coords[this._pointOffset+1]=this.yFactor*t}get z(){return this._geometry.coords[this._pointOffset+2]}set z(t){this._geometry.coords[this._pointOffset+2]=t}get m(){let t=this.hasZ?3:2;return this._geometry.coords[this._pointOffset+t]}set m(t){this._geometry.coords[this._pointOffset+3]=t}get pathIndex(){return this._pathIndex}get _coordIndex(){return this._pointOffset/this._stride}}function h(t){let e=[t.x,t.y];return t.z&&e.push(t.z),t.m&&e.push(t.m),e}function u(t){return(0,n.Bi)(t)?[t.rings,"esriGeometryPolygon"]:(0,n.Rg)(t)?[t.paths,"esriGeometryPolyline"]:(0,n.U9)(t)?[[t.points],"esriGeometryMultipoint"]:(0,n.ZC)(t)?[[[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]]],"esriGeometryEnvelope"]:(0,n.fT)(t)?[[[h(t)]],"esriGeometryPoint"]:[[],"esriGeometryPolyline"]}class f extends l{initialize(t,e,i,r,s){return this._paths=t,this.geometryType=e,this.hasZ=i,this.hasM=r,this._pathIndex=this._pointIndex=-1,this.yFactor=s,this._mIndex=this.hasZ?3:2,this}reset(){this._pathIndex=this._pointIndex=-1}seekPath(t){return this._pathIndex=t,this._pointIndex=-1,t>=0&&t<this.totalSize&&(this._currentPath=this._paths[t],!0)}seekPathStart(){this._pointIndex=-1}seekPathEnd(){this._pointIndex=this._currentPath.length}seekInPath(t){return t>=0&&t<this._currentPath.length&&(this._pointIndex=t,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(){let t=this._currentPath.length,e=this._currentPath,i=0;for(let r=1;r<t;r++){let t=e[r-1],s=e[r],n=t[0],a=t[1],l=s[0]-n,o=s[1]-a;i+=Math.sqrt(l*l+o*o)}return i}startPath(){this._paths.push([])}getCurrentPath(){return(new f).initialize([this._currentPath],this.geometryType,this.hasZ,this.hasM,this.yFactor)}pushPath(t){this._paths.push(t)}pushPoint(t){this._paths[this.totalSize-1].push(t)}pushXY(t,e){this._paths[this.totalSize-1].push([t,e])}pushPoints(t){this._paths[this.totalSize-1].push(...t)}pushCursor(t){let e=(0,s.x)(t);for(let t of e)this.pushPath(t)}asOptimized(){let{hasZ:t,hasM:e}=this,i=new a.A([],[],t,e),{coords:r,lengths:s}=i;if("esriGeometryPoint"===this.geometryType)r.push(...this._paths[0][0]),s.length=0;else for(let i of this._paths){for(let s of i)r.push(s[0]),r.push(s[1]*this.yFactor),t&&r.push(s[2]),e&&r.push(s[this._mIndex]);s.push(i.length)}return i}isClosed(){let t=this._currentPath[0],e=this._currentPath[this._currentPath.length-1];for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}clone(){return(new f).initialize((0,r.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}get totalPoints(){return this._paths.map(t=>t.length).reduce((t,e)=>t+e)}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(t){this._currentPoint[0]=t}get y(){return this.yFactor*this._currentPoint[1]}set y(t){this._currentPoint[1]=this.yFactor*t}get z(){return this._currentPoint[2]}set z(t){this._currentPoint[2]=t}get m(){return this._currentPoint[this._mIndex]}set m(t){this._currentPoint[this._mIndex]=t}get pathIndex(){return this._pathIndex}}class c extends o{initialize(t,e,i){return super.initialize(t,e,i),this._controlPoints||=this._controlPoints=Array(this.totalSize).fill(void 0).map(t=>new Set),this}startPath(){super.startPath(),this._controlPoints.push(new Set)}clone(){let t=(new c).initialize(this._geometry.clone(),this.geometryType,this.yFactor);return t._controlPoints=this._controlPoints,t}setControlPoint(){this._controlPoints[this.pathIndex].add(this._coordIndex)}getControlPoint(){return this._controlPoints[this.pathIndex].has(this._coordIndex)}setControlPointAt(t){this._controlPoints[this.pathIndex].add(t)}getControlPointAt(t){return this._controlPoints[this.pathIndex].has(t)}}class d extends f{initialize(t,e,i,r,s){return super.initialize(t,e,i,r,s)}clone(){return(new d).initialize((0,r.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(t){this._paths[this.pathIndex][t][4]=1}getControlPointAt(t){return 1===this._paths[this.pathIndex][t][4]}}},51118(t,e,i){function r(t){let e=[];for(t.reset();t.nextPath();){let i=[];for(;t.nextPoint();){let e=[t.x,t.y];t.hasZ&&e.push(t.z),t.hasM&&e.push(t.m),i.push(e)}e.push(i)}return t.reset(),e}function s(t){let e=[];for(;t.nextPoint();)e.push([t.x,t.y]);return t.seekPathStart(),e}i.d(e,{A:()=>s,x:()=>r})},537(t,e,i){i.d(e,{B$:()=>p,LJ:()=>x,Pj:()=>I,Rg:()=>g,Yz:()=>_,z8:()=>y});var r=i(19419),s=i(79567),n=i(52006);function a(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function l(t){return void 0!==t.points}function o(t){return void 0!==t.x&&void 0!==t.y}function h(t){return void 0!==t.paths}function u(t){return void 0!==t.rings}function f(t){return function(e,i){return null==e?i:null==i?e:t(e,i)}}const c=f(Math.min),d=f(Math.max);function g(t,e){return h(e)?_(t,e.curvePaths??e.paths,!1,!1)??t:u(e)?_(t,e.curveRings??e.rings,!1,!1)??t:l(e)?I(t,e.points,!1,!1,!1,!1):a(e)?m(t,e):(o(e)&&(t[0]=e.x,t[1]=e.y,t[2]=e.x,t[3]=e.y),t)}function y(t){let e,i,s,n;for(t.reset(),e=s=1/0,i=n=-1/0;t.nextPath();){let r=p(t);e=Math.min(r[0],e),s=Math.min(r[1],s),i=Math.max(r[2],i),n=Math.max(r[3],n)}return(0,r.vt)([e,s,i,n])}function p(t){let e,i,s,n;for(e=s=1/0,i=n=-1/0;t.nextPoint();)e=Math.min(t.x,e),s=Math.min(t.y,s),i=Math.max(t.x,i),n=Math.max(t.y,n);return(0,r.vt)([e,s,i,n])}function x(t,e){return h(e)?_(t,e.curvePaths??e.paths,!0,!1)??t:u(e)?_(t,e.curveRings??e.rings,!0,!1)??t:l(e)?I(t,e.points,!0,!1,!0,!1):a(e)?m(t,e,0,0,!0,!1):(o(e)&&(t[0]=e.x,t[1]=e.y,t[2]=e.z,t[3]=e.x,t[4]=e.y,t[5]=e.z),t)}function _(t,e,i,a){let l=i?3:2;if(!e.length||!e[0].length)return null;let o,h,u,f,[g,y]=(0,n.yP)(e[0][0]),p=g,x=y;for(let t=0;t<e.length;t++){let _=e[t];for(let t=0;t<_.length;t++){let e=(0,n.yP)(_[t]),[m,I]=e;if(g=c(g,m),y=c(y,I),p=d(p,m),x=d(x,I),i&&e.length>2){let t=e[2];o=c(o,t),h=d(h,t)}if(a&&e.length>l){let t=e[l];u=c(u,t),f=d(f,t)}let P=_[t];if((0,n.Xq)(P)||t<1)continue;let b=(0,n.yP)(_[t-1]),w=(0,r.fA)(g,y,p,x);[g,y,p,x]=(0,s.e)(w,b,P)}}return i?a?(t[0]=g,t[1]=y,t[2]=o,t[3]=u,t[4]=p,t[5]=x,t[6]=h,t[7]=f,t.length=8,t):(t[0]=g,t[1]=y,t[2]=o,t[3]=p,t[4]=x,t[5]=h,t.length=6,t):a?(t[0]=g,t[1]=y,t[2]=u,t[3]=p,t[4]=x,t[5]=f,t.length=6,t):(t[0]=g,t[1]=y,t[2]=p,t[3]=x,t.length=4,t)}function m(t,e,i,r,s,n){let a=e.xmin,l=e.xmax,o=e.ymin,h=e.ymax,u=e.zmin,f=e.zmax,c=e.mmin,d=e.mmax;return s?(u||=0,f||=0,n?(c||=0,d||=0,t[0]=a,t[1]=o,t[2]=u,t[3]=c,t[4]=l,t[5]=h,t[6]=f,t[7]=d,t):(t[0]=a,t[1]=o,t[2]=u,t[3]=l,t[4]=h,t[5]=f,t)):n?(c||=0,d||=0,t[0]=a,t[1]=o,t[2]=c,t[3]=l,t[4]=h,t[5]=d,t):(t[0]=a,t[1]=o,t[2]=l,t[3]=h,t)}function I(t,e,i,r,s,n){let a=i?3:2,l=r&&n,o=i&&s;if(!e.length||!e[0].length)return null;let h,u,f,g,[y,p]=e[0],[x,_]=e[0];for(let t=0;t<e.length;t++){let i=e[t],[r,s]=i;if(y=c(y,r),p=c(p,s),x=d(x,r),_=d(_,s),o&&i.length>2){let t=i[2];h=c(h,t),u=d(u,t)}if(l&&i.length>a){let t=i[a];f=c(h,t),g=d(u,t)}}return s?(h||=0,u||=0,n?(f||=0,g||=0,t[0]=y,t[1]=p,t[2]=h,t[3]=f,t[4]=x,t[5]=_,t[6]=u,t[7]=g,t):(t[0]=y,t[1]=p,t[2]=h,t[3]=x,t[4]=_,t[5]=u,t)):n?(f||=0,g||=0,t[0]=y,t[1]=p,t[2]=f,t[3]=x,t[4]=_,t[5]=g,t):(t[0]=y,t[1]=p,t[2]=x,t[3]=_,t)}},12359(t,e,i){i.d(e,{IK:()=>u,TP:()=>f,Ve:()=>l,Z4:()=>n,l8:()=>a,w2:()=>h});var r=i(51118),s=i(95108);function n({xmin:t,xmax:e,ymin:i,ymax:r,zmin:s,zmax:n,hasZ:a}){let l=[(t+e)/2,(i+r)/2];return a&&l.push((s+n)/2),l}function a(t){return function(t,e){if(!t?.length)return null;let i=[],r=[],n=e?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(let i=0,s=t.length;i<s;i++){let s=o(t[i],e,n);s&&r.push(s)}if(r.sort((t,i)=>{let r=t[2]-i[2];return 0===r&&e&&(r=t[4]-i[4]),r}),r.length&&(i[0]=r[0][0],i[1]=r[0][1],e&&(i[2]=r[0][3]),(i[0]<n[0]||i[0]>n[1]||i[1]<n[2]||i[1]>n[3]||e&&(i[2]<n[4]||i[2]>n[5]))&&(i.length=0)),!i.length){let r=t[0]&&t[0].length?function(t,e){let i=e?[0,0,0]:[0,0],r=e?[0,0,0]:[0,0],n=0,a=0,l=0,o=0;for(let h=0,u=t.length;h<u-1;h++){let u=t[h],f=t[h+1];if(u&&f){i[0]=u[0],i[1]=u[1],r[0]=f[0],r[1]=f[1],e&&u.length>2&&f.length>2&&(i[2]=u[2],r[2]=f[2]);let t=(0,s.R3)(i,r);if(t){n+=t;let i=(0,s.t9)(u,f);a+=t*i[0],l+=t*i[1],e&&i.length>2&&(o+=t*i[2])}}}return n>0?e?[a/n,l/n,o/n]:[a/n,l/n]:t.length?t[0]:null}(t[0],e):null;if(!r)return null;i[0]=r[0],i[1]=r[1],e&&r.length>2&&(i[2]=r[2])}return i}(t.rings,t.hasZ??!1)}function l(t){let e=a(t);if(!e)return null;let{hasZ:i,spatialReference:r}=t,[s,n,l]=e;return isNaN(s)||isNaN(n)||i&&isNaN(l)?null:{x:s,y:n,z:i?l:void 0,spatialReference:r}}function o(t,e,i){let r=0,s=0,n=0,a=0,l=0,o=t.length?t[0][0]:0,h=t.length?t[0][1]:0,u=t.length&&e?t[0][2]:0;for(let f=0;f<t.length;f++){let c=t[f],d=t[(f+1)%t.length],[g,y,p]=c,x=g-o,_=y-h,[m,I,P]=d,b=m-o,w=I-h,M=x*w-b*_;if(a+=M,r+=(x+b)*M,s+=(_+w)*M,e&&c.length>2&&d.length>2){let t=p-u,e=P-u,i=x*e-b*t;n+=(t+e)*i,l+=i}g<i[0]&&(i[0]=g),g>i[1]&&(i[1]=g),y<i[2]&&(i[2]=y),y>i[3]&&(i[3]=y),e&&(p<i[4]&&(i[4]=p),p>i[5]&&(i[5]=p))}if(a>0&&(a*=-1),l>0&&(l*=-1),!a)return null;a*=.5,l*=.5;let f=[r/(6*a)+o,s/(6*a)+h,a];return e&&(i[4]===i[5]||0===l?(f[3]=(i[4]+i[5])/2,f[4]=0):(f[3]=n/(6*l)+u,f[4]=l)),f}function h(t,e){let i=0,r=0,s=0;t.nextPoint();let n=t.pathSize?t.x:0,a=t.pathSize?t.y:0;for(let l=0;l<t.pathSize;l++){t.seekInPath(l);let o=[t.x,t.y];t.seekInPath((l+1)%t.pathSize);let h=[t.x,t.y],[u,f]=o,c=u-n,d=f-a,[g,y]=h,p=g-n,x=y-a,_=c*x-p*d;s+=_,i+=(c+p)*_,r+=(d+x)*_,u<e[0]&&(e[0]=u),u>e[1]&&(e[1]=u),f<e[2]&&(e[2]=f),f>e[3]&&(e[3]=f)}return s>0&&(s*=-1),s?(s*=.5,[i/(6*s)+n,r/(6*s)+a,s]):null}function u(t){let{hasZ:e,totalSize:i}=t;if(0===i)return null;let n=[],a=[],l=e?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(t.reset();t.nextPath();){let e=o((0,r.A)(t),t.hasZ,l);e&&a.push(e)}if(a.sort((t,i)=>{let r=t[2]-i[2];return 0===r&&e&&(r=t[4]-i[4]),r}),a.length&&(n[0]=a[0][0],n[1]=a[0][1],e&&(n[2]=a[0][3]),(n[0]<l[0]||n[0]>l[1]||n[1]<l[2]||n[1]>l[3]||e&&(n[2]<l[4]||n[2]>l[5]))&&(n.length=0)),!n.length){t.reset(),t.nextPath();let i=t.pathSize?function(t){let{hasZ:e}=t,i=e?[0,0,0]:[0,0],r=e?[0,0,0]:[0,0],n=0,a=0,l=0,o=0;if(t.nextPoint()){let h=t.x,u=t.y,f=t.z;for(;t.nextPoint();){let c=t.x,d=t.y,g=t.z;i[0]=h,i[1]=u,r[0]=c,r[1]=d,e&&(i[2]=f,r[2]=g);let y=(0,s.R3)(i,r);if(y){n+=y;let t=(0,s.t9)(i,r);a+=y*t[0],l+=y*t[1],e&&t.length>2&&(o+=y*t[2])}h=c,u=d,f=g}}return n>0?e?[a/n,l/n,o/n]:[a/n,l/n]:t.pathSize?(t.seekPathStart(),t.nextPoint(),[t.x,t.y]):null}(t):null;if(!i)return null;n[0]=i[0],n[1]=i[1],e&&i.length>2&&(n[2]=i[2])}return n}function f(t){let e=0;for(t.reset();t.nextPath();)e+=t.getCurrentRingArea();if(e<1e-6){let e=u(t);return e?[e[0],e[1]]:null}let i=[0,0];if(t.reset(),!t.nextPath()||!t.nextPoint())return null;let r=[t.x,t.y];for(t.reset();t.nextPath();)c(i,r,t);return i[0]*=1/e,i[1]*=1/e,i[0]+=r[0],i[1]+=r[1],i}function c(t,e,i){if(!t||!i||i.pathSize<3)return null;i.nextPoint();let r=i.x,s=i.y;i.nextPoint();let n,a=i.x-r,l=i.y-s,o=0,h=0;for(;i.nextPoint();)o=i.x-r,h=i.y-s,n=.16666666666666666*(o*l-h*a),t[0]+=n*(a+o),t[1]+=n*(l+h),a=o,l=h;let u=i.getCurrentRingArea(),f=[r,s];return f[0]-=e[0],f[1]-=e[1],f[0]*=u,f[1]*=u,t[0]+=f[0],t[1]+=f[1],t}},95108(t,e,i){i.d(e,{$3:()=>u,R3:()=>s,Xf:()=>a,Yl:()=>h,gR:()=>n,m3:()=>c,t9:()=>o});var r=i(4576);function s(t,e){let i=e[0]-t[0],r=e[1]-t[1];if(t.length>2&&e.length>2){let s=t[2]-e[2];return Math.sqrt(i*i+r*r+s*s)}return Math.sqrt(i*i+r*r)}function n(t,e,i,r){let[s,n]=e,[a,l]=i,[o,h]=r,u=o-a,f=h-l,c=u*u+f*f,d=(s-a)*u+(n-l)*f,g=Math.min(1,Math.max(0,d/c));return t[0]=a+u*g,t[1]=l+f*g,t}function a(t,e,i){let r,s,n,a,o=!1,h=1/0;for(i.reset();i.nextPath();)if(i.nextPoint())for(r=i.x,s=i.y;i.nextPoint();)n=i.x,a=i.y,s>e!=a>e&&t<(n-r)*(e-s)/(a-s)+r&&(o=!o),h=Math.min(h,l(t,e,r,s,n,a)),r=n,s=a;return 0===h?0:(o?1:-1)*Math.sqrt(h)}function l(t,e,i,r,s,n){let a=i,l=r,o=s-a,h=n-l;if(0!==o||0!==h){let i=((t-a)*o+(e-l)*h)/(o*o+h*h);i>1?(a=s,l=n):i>0&&(a+=o*i,l+=h*i)}return o=t-a,h=e-l,o*o+h*h}function o(t,e){return function(t,e,i){let r=t[0]+i*(e[0]-t[0]),s=t[1]+i*(e[1]-t[1]);return t.length>2&&e.length>2?[r,s,t[2]+i*(e[2]-t[2])]:[r,s]}(t,e,.5)}function h(t){let e=t.length,i=0;for(let r=0;r<e-1;++r)i+=s(t[r],t[r+1]);return i}function u(t,e=0,i=1){let r=0,s=t.length,n=t[0];for(let a=1;a<s;a++){let s=t[a];r+=(s[e]-n[e])*(s[i]+n[i]),n=s}if(f(t)){let s=t[0];r+=(s[e]-n[e])*(s[i]+n[i])}return r>=0}function f(t){let e=t.length;return e>0&&!(0,r.aI)(t[0],t[e-1])}function c(t){if("rings"in t)for(let e of t.rings)f(e)&&e.push(e[0].slice())}i(52006)},52006(t,e,i){function r(t){return"curveRings"in t&&!!t.curveRings?.length||"curvePaths"in t&&!!t.curvePaths?.length}function s(t){return"curveRings"in t?t.curveRings:t.curvePaths}function n(t){return"b"in t}function a(t){return"c"in t}function l(t){return Array.isArray(t)}function o(t){return"a"in t}function h(t){return"a"in t&&4===t.a.length}function u(t){return"a"in t&&7===t.a.length}function f(t,e){return s(t).flat().some(t=>function(t,e){return!(l(t)||(n(t)?e.has("cubic-bezier"):a(t)?e.has("circular-arc"):!h(t)&&!u(t)||e.has("elliptic-arc")))}(t,e))}function c(t){return l(t)?t:n(t)?t.b[0]:a(t)?t.c[0]:t.a[0]}function d(t){if(n(t)){let[e,i,r]=t.b;return{b:[[...e],[...i],[...r]]}}if(a(t)){let[e,i]=t.c;return{c:[[...e],[...i]]}}if(l(t))return[...t];if(h(t)){let[e,i,r,s]=t.a;return{a:[[...e],[...i],r,s]}}if(u(t)){let[e,i,r,s,n,a,l]=t.a;return{a:[[...e],[...i],r,s,n,a,l]}}return t}i.d(e,{DA:()=>h,Ed:()=>r,FD:()=>s,FG:()=>o,V8:()=>f,Xq:()=>l,aO:()=>a,n1:()=>n,tk:()=>d,wY:()=>u,yP:()=>c}),i(4576)},60408(t,e,i){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function s(t){return void 0!==t.points}function n(t){return void 0!==t.x&&void 0!==t.y}function a(t){return void 0!==t.paths||void 0!==t.curvePaths}function l(t){return void 0!==t.rings||void 0!==t.curveRings}function o(t){return"object"==typeof t&&"vertexAttributes"in t}function h(t){return t?n(t)?"esriGeometryPoint":a(t)?"esriGeometryPolyline":l(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":s(t)?"esriGeometryMultipoint":null:null}function u(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function f(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}i.d(e,{$B:()=>h,Bi:()=>l,Pv:()=>u,Rg:()=>a,U9:()=>s,W0:()=>f,ZC:()=>r,fT:()=>n,uW:()=>o})},78957(t,e,i){i.d(e,{d:()=>u,R:()=>P});class r{constructor(t=s){this._data=[],this._compare=t}get size(){return this._data.length}enqueue(t){if(null==t)return;let{_data:e,_compare:i}=this;e.push(t);let r=e.length-1>>>0,s=e[r];for(;r>0;){let t=r-1>>1,n=e[t];if(!(i(n,s)<=0))break;e[t]=s,e[r]=n,r=t}}dequeue(){let{_data:t,_compare:e}=this,i=t[0],r=t.pop();if(0===t.length)return i;t[0]=r;let s,n,a=0,l=t.length,o=t[0],h=null;for(;;){let i=2*a+1,r=2*a+2;if(h=null,i<l&&(s=t[i],e(s,o)>0&&(h=i)),r<l&&(n=t[r],(null===h&&e(n,o)<=0||null!==h&&e(n,s)<=0)&&(h=r)),null===h)break;t[a]=t[h],t[h]=o,a=h}return i}}const s=(t,e)=>t<e?-1:+(t>e);var n=i(19419),a=i(537),l=i(12359),o=i(95108),h=i(12176);function u(t){if(0===t.totalSize)return null;let e=(0,a.z8)(t);if(!e)return null;let i=4*(Math.abs(e[0])+Math.abs(e[2])+Math.abs(e[1])+Math.abs(e[3])+1)*222045e-19,r=0,s=0;t.reset();for(let e=0;t.nextPath();e++){let i=t.getCurrentRingArea();i>s&&(s=i,r=e)}if(t.seekPath(r),0===t.pathSize)return null;t.seekPathStart();let o=(0,a.B$)(t);if(Math.abs(s)<=2*i*i)return[(o[0]+o[2])/2,(o[1]+o[3])/2];t.seekPathStart();let h=(0,l.w2)(t,(0,n.vt)());if(null===h)return null;if(t.totalPoints<4)return h;let u=[[NaN,NaN],[NaN,NaN],[NaN,NaN],[NaN,NaN]],g=[NaN,NaN,NaN,NaN],y=[NaN,NaN,NaN,NaN],p=!1,I=c(h,t,!0);0===I.distance&&(p=!0,u[0][0]=h[0],u[0][1]=h[1],I=c(h,t,!1)),g[0]=I.distance,y[0]=0;let P=[NaN,NaN],b=!1,w=.25,M=-1,T=NaN;do{if(T=NaN,u[1]=d(t,x(o[0],o[2],w),0,e),!isNaN(u[1][0])&&!isNaN(u[1][1])&&(I=c(u[1],t,!1),T=I.distance),!isNaN(T)&&T>i&&f(u[1],t))b=!0,g[1]=T,y[1]=_(u[1],h);else if(!isNaN(T)&&T>M&&(M=T,P[0]=u[1][0],P[1]=u[1][1]),w-=.01,w<.1){if(!(M>=0))break;b=!0,g[1]=M,u[1][0]=P[0],u[1][1]=P[1],y[1]=_(u[1],h)}}while(!b);b=!1,w=.5,M=-1;let v=.01,A=1;do{if(T=NaN,u[2]=d(t,x(o[0],o[2],w),0,e),!isNaN(u[2][0])&&!isNaN(u[2][1])&&(I=c(u[2],t,!1),T=I.distance),!isNaN(T)&&T>i&&f(u[2],t))b=!0,g[2]=T,y[2]=_(u[2],h);else if(!isNaN(T)&&T>M)M=T,P[0]=u[2][0],P[1]=u[2][1];else if(T>M&&(M=T,P[0]=u[2][0],P[1]=u[2][1]),w=.5+v*A,v+=.01,A*=-1,w<.3||w>.7){if(!(M>=0))break;b=!0,g[2]=M,u[2][0]=P[0],u[2][1]=P[1],y[2]=_(u[2],h)}}while(!b);b=!1,w=.75,M=-1;do{if(T=NaN,u[3]=d(t,x(o[0],o[2],w),0,e),!isNaN(u[3][0])&&!isNaN(u[3][1])&&(I=c(u[3],t,!1),T=I.distance),!isNaN(T)&&T>i&&f(u[3],t))b=!0,g[3]=T,y[3]=_(u[3],h);else if(T>M&&(M=T,P[0]=u[3][0],P[1]=u[3][1]),w+=.01,w>.9){if(!(M>=0))break;b=!0,g[3]=M,u[3][0]=P[0],u[3][1]=P[1],y[3]=_(u[3],h)}}while(!b);let S,L=[0,1,2,3],k=+!p;for(let t=k;t<4;t++)for(let t=k;t<3;t++){let e=y[t],i=y[t+1];m(e,i)>0&&(S=L[t],L[t]=L[t+1],L[t+1]=S,y[t]=i,y[t+1]=e)}let B=k,z=0,D=0;for(let t=k;t<4;t++){switch(t){case 0:D=2*g[L[t]];break;case 1:D=1.66666666*g[L[t]];break;case 2:D=1.33333333*g[L[t]];break;case 3:D=g[L[t]]}D>z&&(z=D,B=L[t])}return u[B]}function f(t,e){let i,r,s,n,a=0;for(e.reset();e.nextPath()&&e.nextPoint();)for(i=e.x,r=e.y;e.nextPoint();i=s,r=n)s=e.x,n=e.y,r>t[1]!=n>t[1]&&((s-i)*(t[1]-r)-(n-r)*(t[0]-i)>0?a++:a--);return 0!==a}function c(t,e,i){if(i&&f(t,e))return{coord:t,distance:0};let r=1/0,s=0,n=0,a=[0,0],l=[0,0],h=[0,0];for(e.reset();e.nextPath()&&e.nextPoint();)if(!(e.pathSize<2))for(a[0]=e.x,a[1]=e.y;e.nextPoint();a=l){l=[e.x,e.y],(0,o.gR)(h,t,a,l);let i=_(t,h);i<r&&(r=i,s=h[0],n=h[1])}return{coord:[s,n],distance:Math.sqrt(r)}}function d(t,e,i,r){let s=[e,0],a=1/0,l=1/0,o=!1,u=!1,f=[[e,r[1]-1],[e,r[3]+1]],c=[0,0],d=[0,0],p=[0,0],x=[[0,0],[0,0]],_=(0,n.vt)();for(t.reset();t.nextPath()&&t.nextPoint();)if(!(t.pathSize<2))for(x[0][0]=t.x,x[0][1]=t.y;t.nextPoint();x[0][0]=x[1][0],x[0][1]=x[1][1]){if(x[1][0]=t.x,x[1][1]=t.y,null===g(_,x)||(d[0]=f[0][0],d[1]=f[0][1],p[0]=f[1][0],p[1]=f[1][1],0===y(_,d,p))||!(0,h.Ql)(f[0],f[1],x[0],x[1],c))continue;let e=c[1];a>l?e<a&&(a=e,o=!0):e<l&&(l=e,u=!0)}return o&&u?s[1]=(a+l)/2:s[0]=s[1]=NaN,s}function g(t,e){if(e.length<2)return null;t||=(0,n.vt)();let[i,r]=e[0],[s,a]=e[1];return t[0]=Math.min(i,s),t[1]=Math.min(r,a),t[2]=Math.max(i,s),t[3]=Math.max(r,a),t}function y(t,e,i){let r=p(e,t),s=p(i,t),n=t[0],a=t[1],l=t[2],o=t[3];if(r&s)return 0;if(!(r|s))return 4;let h=!!r|(s?2:0);do{let h=i[0]-e[0],u=i[1]-e[1];if(h>u)3&r?(1&r?(e[1]+=u*(n-e[0])/h,e[0]=n):(e[1]+=u*(l-e[0])/h,e[0]=l),r=p(e,t)):3&s?(1&s?(i[1]+=u*(n-i[0])/h,i[0]=n):(i[1]+=u*(l-i[0])/h,i[0]=l),s=p(i,t)):r?(4&r?(e[0]+=h*(a-e[1])/u,e[1]=a):(e[0]+=h*(o-e[1])/u,e[1]=o),r=p(e,t)):(4&s?(i[0]+=h*(a-i[1])/u,i[1]=a):(i[0]+=h*(o-i[1])/u,i[1]=o),s=p(i,t));else if(12&r?(4&r?(e[0]+=h*(a-e[1])/u,e[1]=a):(e[0]+=h*(o-e[1])/u,e[1]=o),r=p(e,t)):12&s?(4&s?(i[0]+=h*(a-i[1])/u,i[1]=a):(i[0]+=h*(o-i[1])/u,i[1]=o),s=p(i,t)):r?(1&r?(e[1]+=u*(n-e[0])/h,e[0]=n):(e[1]+=u*(l-e[0])/h,e[0]=l),r=p(e,t)):(1&s?(i[1]+=u*(n-i[0])/h,i[0]=n):(i[1]+=u*(l-i[0])/h,i[0]=l),s=p(i,t)),r&s)return 0}while(r|s);return h}function p(t,e){return+(t[0]<e[0])|(t[0]>e[2])<<1|(t[1]<e[1])<<2|(t[1]>e[3])<<3}function x(t,e,i){return t+(e-t)*i}function _(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function m(t,e){if(t<e)return-1;if(t>e)return 1;if(t===e)return 0;let i=isNaN(t),r=isNaN(e);return i<r?-1:+(i>r)}class I{constructor(t,e,i,r){this.x=t,this.y=e,this.cellSize=i,this.distancefromCellCenter=(0,o.Xf)(t,e,r),this.maxDistanceToPolygon=this.distancefromCellCenter+this.cellSize*Math.SQRT2}}function P(t){if(!t.nextPath()||!t.pathSize)return null;let e=(0,a.B$)(t),i=e[2]-e[0],s=e[3]-e[1];if(0===i||0===s)return[e[0]+i/2,e[1]+s/2];let n=Math.max(Math.min(i,s)/100,1),o=new r((t,e)=>e.maxDistanceToPolygon-t.maxDistanceToPolygon),h=Math.min(i,s),u=h/2,f=0,c=0;for(f=e[0];f<e[2];f+=h)for(c=e[1];c<e[3];c+=h)o.enqueue(new I(f+u,c+u,u,t));t.reset(),t.nextPath();let d=(0,l.IK)(t);if(null===d)return null;let g,y=new I(d[0],d[1],0,t);for(;o.size>0;)g=o.dequeue(),g.distancefromCellCenter>y.distancefromCellCenter&&(y=g),!(g.maxDistanceToPolygon-y.distancefromCellCenter<=n)&&(u=g.cellSize/2,o.enqueue(new I(g.x-u,g.y-u,u,t)),o.enqueue(new I(g.x+u,g.y-u,u,t)),o.enqueue(new I(g.x-u,g.y+u,u,t)),o.enqueue(new I(g.x+u,g.y+u,u,t)));return[y.x,y.y]}},97770(t,e,i){i.d(e,{Ey:()=>k,F8:()=>L,J2:()=>T,Yq:()=>A,_m:()=>v,iS:()=>S,wj:()=>B});var r=i(66552),s=i(73444),n=i(98623),a=i(34747);const l={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},o={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},h={timeZone:"UTC"},u={year:"numeric",month:"numeric",day:"numeric"},f={year:"numeric",month:"long",day:"numeric"},c={year:"numeric",month:"short",day:"numeric"},d={year:"numeric",month:"long",weekday:"long",day:"numeric"},g={hour:"numeric",minute:"numeric"},y={...g,second:"numeric"},p={hourCycle:"h23"},x={...g,...p},_={...y,...p},m={"short-date":u,"short-date-short-time":{...u,...g},"short-date-short-time-24":{...u,...x},"short-date-long-time":{...u,...y},"short-date-long-time-24":{...u,..._},"short-date-le":u,"short-date-le-short-time":{...u,...g},"short-date-le-short-time-24":{...u,...x},"short-date-le-long-time":{...u,...y},"short-date-le-long-time-24":{...u,..._},"long-month-day-year":f,"long-month-day-year-short-time":{...f,...g},"long-month-day-year-short-time-24":{...f,...x},"long-month-day-year-long-time":{...f,...y},"long-month-day-year-long-time-24":{...f,..._},"day-short-month-year":c,"day-short-month-year-short-time":{...c,...g},"day-short-month-year-short-time-24":{...c,...x},"day-short-month-year-long-time":{...c,...y},"day-short-month-year-long-time-24":{...c,..._},"long-date":d,"long-date-short-time":{...d,...g},"long-date-short-time-24":{...d,...x},"long-date-long-time":{...d,...y},"long-date-long-time-24":{...d,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":g,"long-time":y},I=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),P={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"};function b(){let t=(0,s.lR)();return(t&&P[t])??(0,s.QC)()}"mart"!==new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)).find(({type:t})=>"month"===t)?.value.toLowerCase()&&(P.bs="sr-Latn-CS");let w=new WeakMap;const M=m["short-date-short-time"];function T(t){return m[t]}function v(t){let{dateStyle:e,timeStyle:i,hour12:r,year:s,month:n}=t,a={};return e?a.dateStyle=e:s&&(a.year=s,a.month=n||void 0),i&&!a.year&&(a.timeStyle=i,a.hour12="auto"===r?void 0:"always"===r),a}function A(t,e=M){return function(t){let e=w.get(t);if(!e){let i=b(),r=B(t.timeZone??"system"),s={...t,timeZone:r};e=new Intl.DateTimeFormat(i,s),w.set(t,e)}return e}(e).format(t)}function S(t,e=M){return A(new Date(t),{...e,...h,...o})}function L(t,e=M){return A(new Date(`1970-01-01T${t}Z`),{...e,...h,...l})}function k(t,e=M){let i=a.c9.fromISO(t,{setZone:!0});if(!i.isValid)return t;if(e.timeZone)return A(i.toJSDate(),e);let r=0===i.offset?"UTC":e.timeZone,s={...e,timeZone:r};return i.toLocaleString(s,{locale:b()})}function B(t){switch(t){case"system":return n.N;case n.L:return"UTC";default:return t}}(0,s.Ml)(()=>{w=new WeakMap}),i.d(e,["_v",0,I])},73444(t,e,i){i.d(e,{JK:()=>o,Ml:()=>p,QC:()=>f,lR:()=>u,oQ:()=>g});var r=i(36563);let s;i(44208);const n=globalThis.esriConfig?.locale,a=globalThis.document?.documentElement;function l(){let t=a?.getAttribute("lang"),e=globalThis.navigator?.language;return n??t??e??"en"}function o(){return void 0===s&&(s=l()),s}const h=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function u(t=o()){return c(t)?.language}function f(t=o()){let e=c(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function c(t=o()){return h.exec(t)?.groups}const d=[];function g(t){return d.push(t),(0,r.hA)(()=>{d.splice(d.indexOf(t),1)})}new Map;const y=[];function p(t){return y.push(t),(0,r.hA)(()=>y.splice(y.indexOf(t),1))}function x(){let t=l();s!==t&&([...y].forEach(e=>e(t)),s=t,[...d].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",x),a&&new MutationObserver(()=>{x()}).observe(a,{attributeFilter:["lang"]})},92722(t,e,i){i.d(e,{A:()=>s});var r=i(69397);class s{constructor(t=[],e=[],i=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=i,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:i,hasM:r}){return new s(t,e,i||!1,r||!1)}static fromRect([t,e,i,r]){let n=i-t,a=r-e;return new s([5],[t,e,n,0,0,a,-n,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return+!!this.hasZ+2+ +!!this.hasM}area(){if(this.isPoint)return 0;let t=0,e=0;for(let i of this.lengths){if(i<3)continue;let{stride:r}=this,s=this.coords[r*e],n=this.coords[r*e+1];for(let a=1;a<i;a+=1){let i=r*(e+a),l=this.coords[i],o=this.coords[i+1];t+=-.5*(l-s)*(o+n),s=l,n=o}e+=i}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);let{stride:i}=this;for(let r of this.lengths){for(let s=0;s<r;s++){let r=i*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){let t=this.clone(),{coords:e,lengths:i}=t,r=0,{stride:s}=this;for(let t of i){for(let i=1;i<t;i++){let t=s*(r+i);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);let e=Array.from(this.lengths),{stride:i,size:r}=this,n=this.coords.slice(0,r*i);return t?(t.set(n),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(n),this.hasZ,this.hasM)}justXY(){let{stride:t,size:e}=this;if(2===t)return this;let i=Array(e*t);for(let e=0,r=0;e<i.length;e+=t)i[r++]=this.coords[e],i[r++]=this.coords[e+1];return new s(this.lengths,i,!1,!1)}}},98623(t,e,i){const r=Intl.DateTimeFormat().resolvedOptions().timeZone;i.d(e,["L",0,"unknown","N",0,r])},36984(t,e,i){i.r(e),i.d(e,{default:()=>X});var r=i(17676),s=i(29953),n=i(6774),a=i(13195);function l(t){return 746===t||747===t||!(t<4352)&&(t>=12704&&t<=12735||t>=12544&&t<=12591||t>=65072&&t<=65103&&!(t>=65097&&t<=65103)||t>=63744&&t<=64255||t>=13056&&t<=13311||t>=11904&&t<=12031||t>=12736&&t<=12783||t>=12288&&t<=12351&&!(t>=12296&&t<=12305)&&!(t>=12308&&t<=12319)&&12336!==t||t>=13312&&t<=19903||t>=19968&&t<=40959||t>=12800&&t<=13055||t>=12592&&t<=12687||t>=43360&&t<=43391||t>=55216&&t<=55295||t>=4352&&t<=4607||t>=44032&&t<=55215||t>=12352&&t<=12447||t>=12272&&t<=12287||t>=12688&&t<=12703||t>=12032&&t<=12255||t>=12784&&t<=12799||t>=12448&&t<=12543&&12540!==t||t>=65280&&t<=65519&&65288!==t&&65289!==t&&65293!==t&&!(t>=65306&&t<=65310)&&65339!==t&&65341!==t&&65343!==t&&!(t>=65371&&t<=65503)&&65507!==t&&!(t>=65512&&t<=65519)||t>=65104&&t<=65135&&!(t>=65112&&t<=65118)&&!(t>=65123&&t<=65126)||t>=5120&&t<=5759||t>=6320&&t<=6399||t>=65040&&t<=65055||t>=19904&&t<=19967||t>=40960&&t<=42127||t>=42128&&t<=42191)}function o(t){return!(t<11904)&&(t>=12704&&t<=12735||t>=12544&&t<=12591||t>=65072&&t<=65103||t>=63744&&t<=64255||t>=13056&&t<=13311||t>=11904&&t<=12031||t>=12736&&t<=12783||t>=12288&&t<=12351||t>=13312&&t<=19903||t>=19968&&t<=40959||t>=12800&&t<=13055||t>=65280&&t<=65519||t>=12352&&t<=12447||t>=12272&&t<=12287||t>=12032&&t<=12255||t>=12784&&t<=12799||t>=12448&&t<=12543||t>=65040&&t<=65055||t>=42128&&t<=42191||t>=40960&&t<=42127)}function h(t){switch(t){case 10:case 32:case 38:case 40:case 41:case 43:case 45:case 47:case 173:case 183:case 8203:case 8208:case 8211:case 8231:return!0}return!1}function u(t){switch(t){case 9:case 10:case 11:case 12:case 13:case 32:return!0}return!1}var f=i(18989);class c{constructor(t,e,i,r,s,n,a){this._glyphItems=t,this._maxWidth=e,this._lineHeight=i,this._letterSpacing=r,this._hAnchor=s,this._vAnchor=n,this._justify=a}getShaping(t,e,i){let r=this._letterSpacing,s=this._lineHeight,n=this._justify,a=this._maxWidth,f=[],c=0,d=0;for(let e of t){let t=e.codePointAt(0);if(null==t)continue;let s,n=i&&l(t);for(let e of this._glyphItems)if(s=e[t],s)break;f.push({codePoint:t,x:c,y:d,vertical:n,glyphItem:s}),s&&(c+=s.shaping.xAdvance+r)}let g=c;a>0&&(g=c/Math.max(1,Math.ceil(c/a)));let y=t.includes(""),p=[],x=f.length;for(let t=0;t<x-1;t++){let e=f[t].codePoint,i=o(e);if(h(e)||i){let r=0;if(10===e)r-=1e4;else if(i&&y)r+=150;else{(40===e||65288===e)&&(r+=50);let i=f[t+1].codePoint;(41===i||65289===i)&&(r+=50)}p.push(this._buildBreak(t+1,f[t].x,g,p,r,!1))}}let _=this._optimalBreaks(this._buildBreak(x,c,g,p,0,!0)),m=0,I=e?-s:s,P=0;for(let t=0;t<_.length;t++){let e=_[t],i=P;for(;i<e&&u(f[i].codePoint);)f[i].glyphItem=null,++i;let r=e-1;for(;r>i&&u(f[r].codePoint);)f[r].glyphItem=null,--r;if(i<=r){let t=f[i].x;for(let e=i;e<=r;e++)f[e].x-=t,f[e].y=d;let e=f[r].x;f[r].glyphItem&&(e+=f[r].glyphItem.shaping.xAdvance),m=Math.max(e,m),n&&this._applyJustification(f,i,r)}P=e,d+=I}if(f.length>0){let t=_.length-1,i=(n-this._hAnchor)*m,r=(-this._vAnchor*(t+1)+.5)*s;e&&t&&(r+=t*s);for(let t of f)t.x+=i,t.y+=r}return f.filter(t=>t.glyphItem)}static getTextBox(t,e){if(!t.length)return null;let i=1/0,r=1/0,s=0,n=0;for(let a of t){let t=a.glyphItem.shaping.xAdvance,l=a.x,o=a.y-17,h=l+t,u=o+e;i=Math.min(i,l),s=Math.max(s,h),r=Math.min(r,o),n=Math.max(n,u)}return{x:i,y:r,width:s-i,height:n-r}}static getBox(t){if(!t.length)return null;let e=1/0,i=1/0,r=0,s=0;for(let n of t){let{height:t,left:a,top:l,width:o}=n.glyphItem.rect,h=n.x,u=n.y-(t-Math.abs(l)),f=h+o+a,c=u+t;e=Math.min(e,h),r=Math.max(r,f),i=Math.min(i,u),s=Math.max(s,c)}return{x:e,y:i,width:r-e,height:s-i}}static addDecoration(t,e){let i=t.length;if(0===i)return;let r={rect:new f.A(4,0,4,8),sdf:!0,page:0},s=t[0].x+t[0].glyphItem.rect.left,n=t[0].y;for(let a=1;a<i;a++){let i=t[a];if(i.y!==n){let l=t[a-1].x+t[a-1].glyphItem.rect.left+t[a-1].glyphItem.rect.width;t.push({codePoint:0,x:s,y:n+e-3,vertical:!1,glyphItem:{mosaicItem:r,rect:{width:l-s,height:8,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0},code:0}}),n=i.y,s=i.x+i.glyphItem.rect.left}}let a=t[i-1].x+t[i-1].glyphItem.rect.left+t[i-1].glyphItem.rect.width;t.push({codePoint:0,x:s,y:n+e-3,vertical:!1,glyphItem:{mosaicItem:r,rect:{width:a-s,height:8,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0},code:0}})}_breakScore(t,e,i,r){let s=(t-e)*(t-e);return r?t<e?s/2:2*s:s+Math.abs(i)*i}_buildBreak(t,e,i,r,s,n){let a=null,l=this._breakScore(e,i,s,n);for(let t of r){let r=e-t.x,o=this._breakScore(r,i,s,n)+t.score;o<=l&&(a=t,l=o)}return{index:t,x:e,score:l,previousBreak:a}}_optimalBreaks(t){return t?this._optimalBreaks(t.previousBreak).concat(t.index):[]}_applyJustification(t,e,i){let r=t[i],s=r.vertical?24:r.glyphItem?r.glyphItem.shaping.xAdvance:0,n=(r.x+s)*this._justify;for(let r=e;r<=i;r++)t[r].x-=n}}const d=.5;class g{constructor(t,e,i=0,r=-1,s=d){this.x=t,this.y=e,this.angle=i,this.segment=r,this.minzoom=s}}class y{constructor(t,e,i,r,s,n=d,l=a.MG){this.anchor=t,this.labelAngle=e,this.glyphAngle=i,this.page=r,this.alternateVerticalGlyph=s,this.minzoom=n,this.maxzoom=l}}class p{constructor(t,e,i,r,s,n,a,l,o,h,u,f){this.tl=t,this.tr=e,this.bl=i,this.br=r,this.mosaicRect=s,this.labelAngle=n,this.minAngle=a,this.maxAngle=l,this.anchor=o,this.minzoom=h,this.maxzoom=u,this.page=f}}class x{constructor(t){this.shapes=t}}class _{getIconPlacement(t,e,i){let r=new n.bR(t.x,t.y),s=0===i.rotationAlignment,l=i.keepUpright,o=i.rotate*a.os;s&&(o+=t.angle);let h=new x([]);return h.iconColliders=[],this._addIconPlacement(h,r,e,i,o),s&&l&&this._addIconPlacement(h,r,e,i,o+a.Jo),h}_addIconPlacement(t,e,i,r,s){let l=i.rasterizationScale,o=i.width/l,h=i.height/l,u=r.offset,f=u[0],c=u[1];switch(r.anchor){case 0:f-=o/2,c-=h/2;break;case 1:c-=h/2;break;case 2:f-=o,c-=h/2;break;case 3:f-=o/2;break;case 4:f-=o/2,c-=h;break;case 5:break;case 7:c-=h;break;case 6:f-=o;break;case 8:f-=o,c-=h}let g=i.rect,y=2/l,x=f-y,_=c-y,m=x+g.width/l,I=_+g.height/l,P=new n.bR(x,_),b=new n.bR(m,I),w=new n.bR(x,I),M=new n.bR(m,_);if(0!==s){let t=Math.cos(s),e=Math.sin(s);P.rotate(t,e),b.rotate(t,e),w.rotate(t,e),M.rotate(t,e)}let T=new p(P,M,w,b,g,s,0,256,e,d,a.MG,0);t.shapes.push(T);{let i=r.size,n=r.padding,l={xTile:e.x,yTile:e.y,dxPixels:f*i-n,dyPixels:c*i-n,hard:!r.optional,partIndex:0,width:o*i+2*n,height:h*i+2*n,angle:s,minLod:d,maxLod:a.MG};t.iconColliders.push(l)}}getTextPlacement(t,e,i,r){let s=new n.bR(t.x,t.y),{keepUpright:l,rotate:o,rotationAlignment:h,size:u}=r,f=o*a.os,g=0===h,_=l,m=r.padding,I=d,P=g?t.angle:0,b=t.segment>=0&&g,w=[],M=[],T=!b,v=1/0,A=-1/0,S=v,L=A,k=(b||g)&&_,B=u/24,z=!1;for(let t of e)if(t.vertical){z=!0;break}let D,R=0,V=0;if(!b&&z){let t=c.getTextBox(e,24*r.lineHeight);switch(r.anchor){case 1:R=t.height/2,V=-t.width/2;break;case 2:R=-t.height/2,V=t.width/2;break;case 3:R=t.height/2,V=t.width/2;break;case 4:R=-t.height/2,V=-t.width/2;break;case 5:R=t.height;break;case 7:V=-t.width;break;case 6:V=t.width;break;case 8:R=-t.height}}R+=24*r.offset[0],V+=24*r.offset[1];for(let l of e){let e=l.glyphItem?.mosaicItem,o=l.glyphItem?.rect;if(!e||e.rect.isEmpty)continue;let h=e.rect,u=e.page;if(w&&T){if(void 0!==D&&D!==l.y){let e,i,s,n;z?(e=-L+R,i=v+V,s=L-S,n=A-v):(e=v+R,i=S+V,s=A-v,n=L-S);let l={xTile:t.x,yTile:t.y,dxPixels:e*B-m,dyPixels:i*B-m,hard:!r.optional,partIndex:1,width:s*B+2*m,height:n*B+2*m,angle:f,minLod:d,maxLod:a.MG};w.push(l),v=1/0,A=-1/0,S=v,L=A}D=l.y}let c=[];if(b){let e=.5*o.width,r=(l.x+o.left-3+e)*B*8;if(I=this._placeGlyph(t,I,r,i,t.segment,1,l.vertical,u,c),_&&(I=this._placeGlyph(t,I,r,i,t.segment,-1,l.vertical,u,c)),I>=2)break}else c.push(new y(s,P,P,u,!1)),g&&_&&c.push(new y(s,P+a.Jo,P+a.Jo,u,!1));let x,C,N,F,U,O,E,G,Z=l.x+o.left,W=l.y-17-o.top,q=Z+o.width,j=W+o.height;if(!b&&z)if(l.vertical){let t=(Z+q)/2-o.height/2,e=(W+j)/2+o.width/2;x=new n.bR(-e-3+R,t-3+V),C=new n.bR(x.x+h.width,x.y+h.height),N=new n.bR(x.x,C.y),F=new n.bR(C.x,x.y)}else x=new n.bR(3-W+R,Z-3+V),C=new n.bR(x.x-h.height,x.y+h.width),N=new n.bR(C.x,x.y),F=new n.bR(x.x,C.y);else x=new n.bR(Z-3+R,W-3+V),C=new n.bR(x.x+h.width,x.y+h.height),N=new n.bR(x.x,C.y),F=new n.bR(C.x,x.y);for(let e of c){let i,s,a,u;if(e.alternateVerticalGlyph){if(!U){let t=(Z+q)/2+R,e=(W+j)/2+V;U=new n.bR(t-o.height/2-3,e+o.width/2+3),O=new n.bR(U.x+h.height,U.y-h.width),E=new n.bR(O.x,U.y),G=new n.bR(U.x,O.y)}i=U,s=E,a=G,u=O}else i=x,s=N,a=F,u=C;let c=W,d=j,g=e.glyphAngle+f;if(0!==g){let t=Math.cos(g),e=Math.sin(g);i=i.clone(),s=s?.clone(),a=a?.clone(),u=u?.clone(),i.rotate(t,e),u?.rotate(t,e),s?.rotate(t,e),a?.rotate(t,e)}let y=0,_=256;if(b&&z?l.vertical?e.alternateVerticalGlyph?(y=32,_=96):(y=224,_=32):(y=224,_=96):(y=192,_=64),M.push(new p(i,a,s,u,h,e.labelAngle,y,_,e.anchor,e.minzoom,e.maxzoom,e.page)),w&&(!k||this._legible(e.labelAngle)))if(T)Z<v&&(v=Z),c<S&&(S=c),q>A&&(A=q),d>L&&(L=d);else if(e.minzoom<2){let i={xTile:t.x,yTile:t.y,dxPixels:(Z+R)*B-m,dyPixels:(c+R)*B-m,hard:!r.optional,partIndex:1,width:(q-Z)*B+2*m,height:(d-c)*B+2*m,angle:g,minLod:e.minzoom,maxLod:e.maxzoom};w.push(i)}}}if(I>=2)return null;if(w&&T){let e,i,s,n;z?(e=-L+R,i=v+V,s=L-S,n=A-v):(e=v+R,i=S+V,s=A-v,n=L-S);let l={xTile:t.x,yTile:t.y,dxPixels:e*B-m,dyPixels:i*B-m,hard:!r.optional,partIndex:1,width:s*B+2*m,height:n*B+2*m,angle:f,minLod:d,maxLod:a.MG};w.push(l)}let C=new x(M);return w&&w.length>0&&(C.textColliders=w),C}_legible(t){let e=(0,a.z0)(t);return e<65||e>=193}_placeGlyph(t,e,i,r,s,l,o,h,u){let f=l,c=f<0?(0,a.Wh)(t.angle+a.Jo,a.pJ):t.angle,d=0;i<0&&(f*=-1,i*=-1,d=a.Jo),f>0&&++s;let g=new n.bR(t.x,t.y),p=r[s],x=a.MG;if(r.length<=s)return x;for(;;){let t=p.x-g.x,n=p.y-g.y,l=Math.sqrt(t*t+n*n),_=Math.max(i/l,e),m=t/l,I=n/l,P=(0,a.Wh)(Math.atan2(I,m)+d,a.pJ);if(u.push(new y(g,c,P,h,!1,_,x)),o&&u.push(new y(g,c,P,h,!0,_,x)),_<=e)return _;g=p.clone();do{if(s+=f,r.length<=s||s<0)return _;p=r[s]}while(g.isEqual(p));let b=p.x-g.x,w=p.y-g.y,M=Math.sqrt(b*b+w*w);b*=l/M,w*=l/M,g.x-=b,g.y-=w,x=_}}}var m=i(51624),I=i(15585);class P{constructor(t,e,i=0){this.values={},this._geometry=void 0,this._pbfGeometry=null,this.featureIndex=i;let r=e.keys,s=e.values,n=t.asUnsafe();for(;n.next();)switch(n.tag()){case 1:this.id=n.getUInt64();break;case 2:{let t=n.getMessage().asUnsafe(),e=this.values;for(;!t.empty();){let i=t.getUInt32(),n=t.getUInt32();e[r[i]]=s[n]}t.release();break}case 3:this.type=n.getUInt32();break;case 4:this._pbfGeometry=n.getMessage();break;default:n.skip()}}getGeometry(t){if(void 0!==this._geometry)return this._geometry;if(!this._pbfGeometry)return null;let e,i,r=this._pbfGeometry.asUnsafe();this._pbfGeometry=null,t?t.reset(this.type):e=[];let s,a=1,l=0,o=0,h=0;for(;!r.empty();){if(0===l){let t=r.getUInt32();a=7&t,l=t>>3}switch(l--,a){case 1:o+=r.getSInt32(),h+=r.getSInt32(),t?t.moveTo(o,h):e&&(i&&e.push(i),i=[],i.push(new n.bR(o,h)));break;case 2:o+=r.getSInt32(),h+=r.getSInt32(),t?t.lineTo(o,h):i&&i.push(new n.bR(o,h));break;case 7:t?t.close():i&&!i[0].equals(o,h)&&i.push(i[0].clone());break;default:throw r.release(),Error("Invalid path operation")}}return t?s=t.result():e&&(i&&e.push(i),s=e),r.release(),this._geometry=s,s}}i(44208);class b{constructor(t){this._array=[],this._stride=t}get array(){return this._array}get index(){return 4*this._array.length/this._stride}get itemSize(){return this._stride}get sizeInBytes(){return 4*this._array.length}reset(){this.array.length=0}toBuffer(){return new Uint32Array(this._array).buffer}}class w extends b{constructor(){super(12)}add(t,e,i){let r=this.array;r.push(t),r.push(e),r.push(i)}}class M{constructor(t){this.extent=4096,this.keys=[],this.values=[],this._pbfLayer=t.clone();let e=t.asUnsafe();for(;e.next();)switch(e.tag()){case 1:this.name=e.getString();break;case 3:this.keys.push(e.getString());break;case 4:this.values.push(e.processMessage(M._parseValue));break;case 5:this.extent=e.getUInt32();break;default:e.skip()}}getData(){return this._pbfLayer}static _parseValue(t){for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getInt64();case 5:return t.getUInt64();case 6:return t.getSInt64();case 7:return t.getBool();default:t.skip()}return null}}var T=i(89518);class v extends b{constructor(t){super(t)}add(t,e,i,r,s,n,a,l,o,h,u,f){let c=this.array,d=(0,T.M9)(t,e);c.push(d),d=(0,T.Ss)(Math.round(31*i),Math.round(31*r),Math.round(31*s),Math.round(31*n)),c.push(d),d=(0,T.Ss)(Math.round(31*a),Math.round(31*l),Math.round(31*o),Math.round(31*h)),c.push(d),d=(0,T.M9)(u,0),c.push(d),f&&c.push(...f)}}class A extends b{constructor(t){super(t)}add(t,e,i){let r=this.array;r.push((0,T.M9)(t,e)),i&&r.push(...i)}}class S extends b{constructor(t){super(t)}add(t,e,i,r,s,n,a){let l=this.array,o=this.index,h=(0,T.M9)(t,e);return l.push(h),h=(0,T.Ss)(Math.round(15*i),Math.round(15*r),s,n),l.push(h),a&&l.push(...a),o}}class L extends b{constructor(t){super(t)}add(t,e,i,r,s,n,l,o,h,u,f,c){let d=this.array,g=(0,T.M9)(t,e);d.push(g),g=(0,T.M9)(Math.round(8*i),Math.round(8*r)),d.push(g),g=(0,T.M9)((0,T.ws)(s/4,n/4),(0,T.ws)(o,h)),d.push(g),g=(0,T.M9)((0,T.ws)(0,(0,a.z0)(l)),(0,T.ws)(10*u,Math.min(10*f,255))),d.push(g),c&&d.push(...c)}}class k extends b{constructor(t){super(t)}add(t,e,i,r,s){let n=this.array,a=(0,T.M9)(2*t+i,2*e+r);n.push(a),s&&n.push(...s)}}class B{constructor(t,e,i){this.layerExtent=4096,this._features=[],this.layer=t,this.zoom=e,this._spriteInfo=i,this._filter=t.getFeatureFilter()}pushFeature(t){(!this._filter||this._filter.filter(t,this.zoom))&&this._features.push(t)}hasFeatures(){return this._features.length>0}getResources(t,e,i){}}class z extends B{constructor(t,e,i,r,s){super(t,e,i),this.type=4,this._circleVertexBuffer=r,this._circleIndexBuffer=s}get circleIndexStart(){return this._circleIndexStart}get circleIndexCount(){return this._circleIndexCount}processFeatures(t){let e=this._circleVertexBuffer,i=this._circleIndexBuffer;this._circleIndexStart=3*i.index,this._circleIndexCount=0;let r=this.layer,s=this.zoom;t&&t.setExtent(this.layerExtent);for(let n of this._features){let a=n.getGeometry(t);if(!a)continue;let l=r.circleMaterial.encodeAttributes(n,s,r);for(let t of a)if(t)for(let r of t){let t=e.index;e.add(r.x,r.y,0,0,l),e.add(r.x,r.y,0,1,l),e.add(r.x,r.y,1,0,l),e.add(r.x,r.y,1,1,l),i.add(t,t+1,t+2),i.add(t+1,t+2,t+3),this._circleIndexCount+=6}}}serialize(){let t=6;t+=this.layerUIDs.length,t+=this._circleVertexBuffer.array.length,t+=this._circleIndexBuffer.array.length;let e=new Uint32Array(t),i=new Int32Array(e.buffer),r=0;e[r++]=this.type,e[r++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[r++]=this.layerUIDs[t];e[r++]=this._circleIndexStart,e[r++]=this._circleIndexCount,e[r++]=this._circleVertexBuffer.array.length;for(let t=0;t<this._circleVertexBuffer.array.length;t++)i[r++]=this._circleVertexBuffer.array[t];e[r++]=this._circleIndexBuffer.array.length;for(let t=0;t<this._circleIndexBuffer.array.length;t++)e[r++]=this._circleIndexBuffer.array[t];return e.buffer}}var D=i(98291),R=i(83349);class V extends B{constructor(t,e,i,r,s,n,a){super(t,e,i),this.type=1,this._patternMap=new Map,this._fillVertexBuffer=r,this._fillIndexBuffer=s,this._outlineVertexBuffer=n,this._outlineIndexBuffer=a}get fillIndexStart(){return this._fillIndexStart}get fillIndexCount(){return this._fillIndexCount}get outlineIndexStart(){return this._outlineIndexStart}get outlineIndexCount(){return this._outlineIndexCount}getResources(t,e,i){let r=this.layer,s=this.zoom,n=r.getPaintProperty("fill-pattern");if(n)if(n.isDataDriven)for(let t of this._features)e(n.getValue(s,t),!0);else e(n.getValue(s),!0)}processFeatures(t){this._fillIndexStart=3*this._fillIndexBuffer.index,this._fillIndexCount=0,this._outlineIndexStart=3*this._outlineIndexBuffer.index,this._outlineIndexCount=0;let e=this.layer,i=this.zoom,{fillMaterial:r,outlineMaterial:s,hasDataDrivenFill:n,hasDataDrivenOutline:a}=e;t&&t.setExtent(this.layerExtent);let l=e.getPaintProperty("fill-pattern"),o=l?.isDataDriven,h=!l&&e.getPaintValue("fill-antialias",i);if(e.outlineUsesFillColor){if(h&&!e.hasDataDrivenOpacity){let t=e.getPaintValue("fill-opacity",i),r=e.getPaintValue("fill-opacity",i+1);t<1&&r<1&&(h=!1)}if(h&&!e.hasDataDrivenColor){let t=e.getPaintValue("fill-color",i),r=e.getPaintValue("fill-color",i+1);t[3]<1&&r[3]<1&&(h=!1)}}let u=this._features,f=t?.validateTessellation;if(o){let n=[];for(let o of u){let u=l.getValue(i,o),f=this._spriteInfo[u];if(!f?.rect)continue;let c=r.encodeAttributes(o,i,e,f),d=h&&a?s.encodeAttributes(o,i,e):[],g=o.getGeometry(t);n.push({ddFillAttributes:c,ddOutlineAttributes:d,page:f.page,geometry:g}),n.sort((t,e)=>t.page-e.page)}for(let{ddFillAttributes:t,ddOutlineAttributes:i,page:r,geometry:s}of n)this._processFeature(s,h,e.outlineUsesFillColor,t,i,f,r)}else for(let l of u){let o=n?r.encodeAttributes(l,i,e):null,u=h&&a?s.encodeAttributes(l,i,e):null,c=l.getGeometry(t);this._processFeature(c,h,e.outlineUsesFillColor,o,u,f)}}serialize(){let t=10;t+=this.layerUIDs.length,t+=this._fillVertexBuffer.array.length,t+=this._fillIndexBuffer.array.length,t+=this._outlineVertexBuffer.array.length,t+=this._outlineIndexBuffer.array.length,t+=3*this._patternMap.size+1;let e=new Uint32Array(t),i=new Int32Array(e.buffer),r=0;e[r++]=this.type,e[r++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[r++]=this.layerUIDs[t];e[r++]=this._fillIndexStart,e[r++]=this._fillIndexCount,e[r++]=this._outlineIndexStart,e[r++]=this._outlineIndexCount;let s=this._patternMap,n=s.size;if(e[r++]=n,n>0)for(let[t,[i,n]]of s)e[r++]=t,e[r++]=i,e[r++]=n;e[r++]=this._fillVertexBuffer.array.length;for(let t=0;t<this._fillVertexBuffer.array.length;t++)i[r++]=this._fillVertexBuffer.array[t];e[r++]=this._fillIndexBuffer.array.length;for(let t=0;t<this._fillIndexBuffer.array.length;t++)e[r++]=this._fillIndexBuffer.array[t];e[r++]=this._outlineVertexBuffer.array.length;for(let t=0;t<this._outlineVertexBuffer.array.length;t++)i[r++]=this._outlineVertexBuffer.array[t];e[r++]=this._outlineIndexBuffer.array.length;for(let t=0;t<this._outlineIndexBuffer.array.length;t++)e[r++]=this._outlineIndexBuffer.array[t];return e.buffer}_processFeature(t,e,i,r,s,n,a){if(!t)return;let l,o=t.length,h=!s||0===s.length;if(e&&(!i||h))for(let e=0;e<o;e++)this._processOutline(t[e],s);for(let e=0;e<o;e++){let i=V._area(t[e]);i>32?(void 0!==l&&this._processFill(t,l,r,n,a),l=[e]):i<-32&&void 0!==l&&l.push(e)}void 0!==l&&this._processFill(t,l,r,n,a)}_processOutline(t,e){let i,r,s,a=this._outlineVertexBuffer,l=this._outlineIndexBuffer,o=l.index,h=new n.bR(0,0),u=new n.bR(0,0),f=new n.bR(0,0),c=-1,d=-1,g=-1,y=-1,p=-1,x=!1,_=t.length;if(_<2)return;let m=t[0],I=t[_-1];for(;_&&I.isEqual(m);)--_,I=t[_-1];if(!(_-0<2)){for(let n=0;n<_;++n){0===n?(i=t[_-1],r=t[0],s=t[1],h.assignSub(r,i),h.normalize(),h.rightPerpendicular()):(i=r,r=s,s=n===_-1?t[0]:t[n+1],h.assign(u));let o=this._isClipEdge(i,r);-1===y&&(x=o),u.assignSub(s,r),u.normalize(),u.rightPerpendicular();let m=h.x*u.y-h.y*u.x;f.assignAdd(h,u),f.normalize();let I=-f.x*-h.x+-f.y*-h.y,P=Math.abs(0===I?1:1/I);P>8&&(P=8),m>=0?(g=a.add(r.x,r.y,h.x,h.y,0,1,e),-1===y&&(y=g),c>=0&&d>=0&&g>=0&&!o&&l.add(c,d,g),d=a.add(r.x,r.y,P*-f.x,P*-f.y,0,-1,e),-1===p&&(p=d),c>=0&&d>=0&&g>=0&&!o&&l.add(c,d,g),c=d,d=g,g=a.add(r.x,r.y,f.x,f.y,0,1,e),c>=0&&d>=0&&g>=0&&!o&&l.add(c,d,g),d=a.add(r.x,r.y,u.x,u.y,0,1,e),c>=0&&d>=0&&g>=0&&!o&&l.add(c,d,g)):(g=a.add(r.x,r.y,P*f.x,P*f.y,0,1,e),-1===y&&(y=g),c>=0&&d>=0&&g>=0&&!o&&l.add(c,d,g),d=a.add(r.x,r.y,-h.x,-h.y,0,-1,e),-1===p&&(p=d),c>=0&&d>=0&&g>=0&&!o&&l.add(c,d,g),c=d,d=g,g=a.add(r.x,r.y,-f.x,-f.y,0,-1,e),c>=0&&d>=0&&g>=0&&!o&&l.add(c,d,g),c=a.add(r.x,r.y,-u.x,-u.y,0,-1,e),c>=0&&d>=0&&g>=0&&!o&&l.add(c,d,g))}c>=0&&d>=0&&y>=0&&!x&&l.add(c,d,y),c>=0&&y>=0&&p>=0&&!x&&l.add(c,p,y),this._outlineIndexCount+=3*(l.index-o)}}_processFill(t,e,i,r,s){let n;e.length>1&&(n=[]);let a=0;for(let i of e)0!==a&&n.push(a),a+=t[i].length;let l=2*a,o=D.A.acquire();for(let i of e){let e=t[i],r=e.length;for(let t=0;t<r;++t)o.push(e[t].x,e[t].y)}let h=(0,R.e)(o,n,2);if(R.e.deviation(o,n,2,h)>0){let r=e.map(e=>t[e].length),{buffer:n,vertexCount:a}=(0,I.QT)(o,r);if(a>0){let t=this._fillVertexBuffer.index;for(let t=0;t<a;t++)this._fillVertexBuffer.add(n[2*t],n[2*t+1],i);for(let e=0;e<a;e+=3){let i=t+e;this._fillIndexBuffer.add(i,i+1,i+2)}if(void 0!==s){let t=this._patternMap,e=t.get(s);e?e[1]+=a:t.set(s,[this._fillIndexStart+this._fillIndexCount,a])}this._fillIndexCount+=a}}else{let t=h.length;if(t>0){let e=this._fillVertexBuffer.index,r=0;for(;r<l;)this._fillVertexBuffer.add(o[r++],o[r++],i);let n=0;for(;n<t;)this._fillIndexBuffer.add(e+h[n++],e+h[n++],e+h[n++]);if(void 0!==s){let e=this._patternMap,i=e.get(s);i?i[1]+=t:e.set(s,[this._fillIndexStart+this._fillIndexCount,t])}this._fillIndexCount+=t}}D.A.release(o)}_isClipEdge(t,e){return t.x===e.x?t.x<=-64||t.x>=4160:t.y===e.y&&(t.y<=-64||t.y>=4160)}static _area(t){let e=0,i=t.length-1;for(let r=0;r<i;r++)e+=(t[r].x-t[r+1].x)*(t[r].y+t[r+1].y);return e+=(t[i].x-t[0].x)*(t[i].y+t[0].y),.5*e}}var C=i(83773);class N extends B{constructor(t,e,i,r,s){super(t,e,i),this.type=2,this._tessellationOptions={pixelCoordRatio:8,halfWidth:0,offset:0},this._patternMap=new Map,this.tessellationProperties={_lineVertexBuffer:null,_lineIndexBuffer:null,_ddValues:null},this.tessellationProperties._lineVertexBuffer=r,this.tessellationProperties._lineIndexBuffer=s,this._lineTessellator=new C.i(F(this.tessellationProperties),U(this.tessellationProperties),t.canUseThinTessellation)}get lineIndexStart(){return this._lineIndexStart}get lineIndexCount(){return this._lineIndexCount}getResources(t,e,i){let r=this.layer,s=this.zoom,n=r.getPaintProperty("line-pattern"),a=r.getPaintProperty("line-dasharray"),l=r.getLayoutProperty("line-cap");if(!n&&!a)return;let o=l?.getValue(s)||0,h=l?.isDataDriven,u=n?.isDataDriven,f=a?.isDataDriven;if(u||f)for(let t of this._features)e(u?n.getValue(s,t):this._getDashArrayKey(t,s,r,a,h,l,o));else if(n)e(n.getValue(s));else if(a){let t=a.getValue(s);e(r.getDashKey(t,o))}}processFeatures(t){this._lineIndexStart=3*this.tessellationProperties._lineIndexBuffer.index,this._lineIndexCount=0;let e=this.layer,i=this.zoom,r=this._features,s=this._tessellationOptions,{hasDataDrivenLine:n,lineMaterial:a}=e;t&&t.setExtent(this.layerExtent);let l,o=e.getPaintProperty("line-pattern"),h=e.getPaintProperty("line-dasharray"),u=o?.isDataDriven,f=h?.isDataDriven;l=e.getLayoutProperty("line-cap");let c=l?.isDataDriven?l:null,d=c?null:e.getLayoutValue("line-cap",i),g=d||0,y=!!c;l=e.getLayoutProperty("line-join");let p=l?.isDataDriven?l:null,x=p?null:e.getLayoutValue("line-join",i);l=e.getLayoutProperty("line-miter-limit");let _=l?.isDataDriven?l:null,m=_?null:e.getLayoutValue("line-miter-limit",i);l=e.getLayoutProperty("line-round-limit");let I=l?.isDataDriven?l:null,P=I?null:e.getLayoutValue("line-round-limit",i);l=e.getPaintProperty("line-width");let b=l?.isDataDriven?l:null,w=b?null:e.getPaintValue("line-width",i);l=e.getPaintProperty("line-offset");let M=l?.isDataDriven?l:null,T=M?null:e.getPaintValue("line-offset",i);if(u||f){let n=[];for(let s of r){let r=u?o.getValue(i,s):this._getDashArrayKey(s,i,e,h,y,c,g),l=this._spriteInfo[r];if(!l?.rect)continue;let f=a.encodeAttributes(s,i,e,l),v=s.getGeometry(t);n.push({ddAttributes:f,page:l.page,cap:c?c.getValue(i,s):d,join:p?p.getValue(i,s):x,miterLimit:_?_.getValue(i,s):m,roundLimit:I?I.getValue(i,s):P,halfWidth:.5*(b?b.getValue(i,s):w),offset:M?M.getValue(i,s):T,geometry:v})}n.sort((t,e)=>t.page-e.page),s.textured=!0;for(let{ddAttributes:t,page:e,cap:i,join:r,miterLimit:a,roundLimit:l,halfWidth:o,offset:h,geometry:u}of n)s.capType=i,s.joinType=r,s.miterLimit=a,s.roundLimit=l,s.halfWidth=o,s.offset=h,this._processFeature(u,t,e)}else{if(o){let t=o.getValue(i);if(!this._spriteInfo[t]?.rect)return}s.textured=!(!o&&!h),s.capType=d,s.joinType=x,s.miterLimit=m,s.roundLimit=P,s.halfWidth=.5*w,s.offset=T;for(let l of r){let r=n?a.encodeAttributes(l,i,e):null;c&&(s.capType=c.getValue(i,l)),p&&(s.joinType=p.getValue(i,l)),_&&(s.miterLimit=_.getValue(i,l)),I&&(s.roundLimit=I.getValue(i,l)),b&&(s.halfWidth=.5*b.getValue(i,l)),M&&(s.offset=M.getValue(i,l));let o=l.getGeometry(t);this._processFeature(o,r)}}}serialize(){let t=6;t+=this.layerUIDs.length,t+=this.tessellationProperties._lineVertexBuffer.array.length,t+=this.tessellationProperties._lineIndexBuffer.array.length,t+=3*this._patternMap.size+1;let e=new Uint32Array(t),i=new Int32Array(e.buffer),r=0;e[r++]=this.type,e[r++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[r++]=this.layerUIDs[t];e[r++]=this._lineIndexStart,e[r++]=this._lineIndexCount;let s=this._patternMap,n=s.size;if(e[r++]=n,n>0)for(let[t,[i,n]]of s)e[r++]=t,e[r++]=i,e[r++]=n;e[r++]=this.tessellationProperties._lineVertexBuffer.array.length;for(let t=0;t<this.tessellationProperties._lineVertexBuffer.array.length;t++)i[r++]=this.tessellationProperties._lineVertexBuffer.array[t];e[r++]=this.tessellationProperties._lineIndexBuffer.array.length;for(let t=0;t<this.tessellationProperties._lineIndexBuffer.array.length;t++)e[r++]=this.tessellationProperties._lineIndexBuffer.array[t];return e.buffer}_processFeature(t,e,i){if(!t)return;let r=t.length;for(let s=0;s<r;s++)this._processGeometry(t[s],e,i)}_processGeometry(t,e,i){if(t.length<2)return;let r,s,n=t[0],a=1;for(;a<t.length;)r=t[a].x-n.x,s=t[a].y-n.y,r*r+s*s<1e-6?t.splice(a,1):(n=t[a],++a);if(t.length<2)return;let l=this.tessellationProperties._lineIndexBuffer,o=3*l.index;this._tessellationOptions.initialDistance=0,this._tessellationOptions.wrapDistance=65535,this.tessellationProperties._ddValues=e,this._lineTessellator.tessellate(t,this._tessellationOptions);let h=3*l.index-o;if(void 0!==i){let t=this._patternMap,e=t.get(i);e?e[1]+=h:t.set(i,[o+this._lineIndexCount,h])}this._lineIndexCount+=h}_getDashArrayKey(t,e,i,r,s,n,a){let l=s?n.getValue(e,t):a,o=r.getValue(e,t);return i.getDashKey(o,l)}}const F=t=>(e,i,r,s,n,a,l,o,h,u,f)=>(t._lineVertexBuffer.add(e,i,l,o,r,s,n,a,h,u,f,t._ddValues),t._lineVertexBuffer.index-1),U=t=>(e,i,r)=>{t._lineIndexBuffer.add(e,i,r)};var O=i(32488),E=i(97768),G=i(799),Z=i(36745),W=i(78957),q=i(92722);function j(t){let e=0;for(let i=0,r=t.length-1;i<t.length;r=i++)e+=(t[r].x-t[i].x)*(t[i].y+t[r].y);return.5*e}var K=i(4264);function Y(t,e){return t.iconMosaicItem&&e.iconMosaicItem?t.iconMosaicItem.page===e.iconMosaicItem.page?0:t.iconMosaicItem.page-e.iconMosaicItem.page:t.iconMosaicItem&&!e.iconMosaicItem?1:!t.iconMosaicItem&&e.iconMosaicItem?-1:0}class J extends B{constructor(t,e,i,r,s,n,a,l,o){super(e,i,o.getSpriteItems()),this.type=3,this._markerMap=new Map,this._glyphMap=new Map,this._glyphBufferDataStorage=new Map,this._isIconSDF=!1,this._sourceTileKey=t,this._iconVertexBuffer=r,this._iconIndexBuffer=s,this._textVertexBuffer=n,this._textIndexBuffer=a,this._placementEngine=l,this._workerTileHandler=o}get markerPageMap(){return this._markerMap}get glyphsPageMap(){return this._glyphMap}get symbolInstances(){return this._symbolInstances}static{this._bidiEngine=new O.A}getResources(t,e,i){let r=this.layer,s=this.zoom;t&&t.setExtent(this.layerExtent);let n,a,l,o,h=r.getLayoutProperty("icon-image"),u=r.getLayoutProperty("text-field"),f=r.getLayoutProperty("text-transform"),c=r.getLayoutProperty("text-font"),d=[];h&&!h.isDataDriven&&(n=h.getValue(s)),u&&!u.isDataDriven&&(a=u.getValue(s)),(!f||!f.isDataDriven)&&(l=r.getLayoutValue("text-transform",s),f=null),(!c||!c.isDataDriven)&&(o=r.getLayoutValue("text-font",s),c=null);for(let g of this._features){let y,p=g.getGeometry(t);if(!p||0===p.length)continue;h&&(y=h.isDataDriven?h.getValue(s,g):this._replaceKeys(n,g.values),y&&e(y));let x,_=!1;if(u&&(x=u.isDataDriven?u.getValue(s,g):this._replaceKeys(a,g.values),x)){switch(x=x.replaceAll("\\n","\n"),f&&(l=f.getValue(s,g)),l){case 2:x=x.toLowerCase();break;case 1:x=x.toUpperCase()}if(J._bidiEngine.hasBidiChar(x)){let t;t="rtl"===J._bidiEngine.checkContextual(x)?"IDNNN":"ICNNN",x=J._bidiEngine.bidiTransform(x,t,"VLYSN"),_=!0}if(x.length>0){c&&(o=c.getValue(s,g));for(let t of o){let e=i[t];e||=i[t]=new Set;for(let t of x){let i=t.codePointAt(0);null!=i&&e.add(i)}}}}if(!y&&!x)continue;let m=r.getLayoutValue("symbol-sort-key",s,g),I={feature:g,sprite:y,label:x,rtl:_,geometry:p,hash:(x?(0,G.Wm)(x):0)^(y?(0,G.Wm)(y):0),priority:m,textFont:o};d.push(I)}this._symbolFeatures=d}processFeatures(t){t&&t.setExtent(this.layerExtent);let e,i=this.layer,r=this.zoom,s=i.getLayoutValue("symbol-placement",r),n=0!==s,l=8*i.getLayoutValue("symbol-spacing",r),o=i.getLayoutProperty("icon-image"),h=i.getLayoutProperty("text-field"),u=o?new K.aR(i,r,n):null,f=h?new K.uU(i,r,n):null,d=this._workerTileHandler;o&&(e=d.getSpriteItems()),this._iconIndexStart=3*this._iconIndexBuffer.index,this._textIndexStart=3*this._textIndexBuffer.index,this._iconIndexCount=0,this._textIndexCount=0,this._markerMap.clear(),this._glyphMap.clear();let y=[],p=1;f?.size&&(p=f.size/24);let x=f?f.maxAngle*a.os:0,_=f?8*f.size:0;for(let t of this._symbolFeatures){let a;u&&e&&t.sprite&&(a=e[t.sprite],a&&a.sdf&&(this._isIconSDF=!0)),a&&u.update(r,t.feature);let o,h=0,m=t.label;if(m){(0,E.Lw)(f),f.update(r,t.feature);let e=n&&0===f.rotationAlignment?f.keepUpright:f.writingMode&&f.writingMode.includes(1),i=.5;switch(f.anchor){case 5:case 1:case 7:i=0;break;case 6:case 2:case 8:i=1}let s=.5;switch(f.anchor){case 5:case 3:case 6:s=0;break;case 7:case 4:case 8:s=1}let a=.5;switch(f.justify){case 0:a=i;break;case 1:a=0;break;case 3:a=1}let l=24*f.letterSpacing,u=n?0:24*f.maxWidth,g=24*f.lineHeight,y=t.textFont.map(t=>d.getGlyphItems(t));if(o=new c(y,u,g,l,i,s,a).getShaping(m,t.rtl,e),o&&o.length>0){let t=1e30,e=-1e30;for(let i of o)t=Math.min(t,i.x),e=Math.max(e,i.x);h=(e-t+48)*p*8}}let I=J._getPlacementCandidates(i,s,t.feature,t.geometry);for(let e of I){let{vertices:i}=e,r=[];if(1===s){if(o?.length&&f?.size){let t=8*f.size*(2+Math.min(2,4*Math.abs(f.offset[1])));i=J._smoothVertices(i,t)}J._pushAnchors(r,i,l,h)}else 2===s?J._pushCenterAnchor(r,i):3===t.feature.type?e.anchor?r.push(e.anchor):J._pushCentroid(r,i):r.push(new g(i[0].x,i[0].y));for(let e of r){if(e.x<0||e.x>4096||e.y<0||e.y>4096||n&&h>0&&0===f?.rotationAlignment&&!J._honorsTextMaxAngle(i,e,h,x,_))continue;let r={shaping:o,line:i,iconMosaicItem:a,anchor:e,symbolFeature:t,textColliders:[],iconColliders:[],textVertexRanges:[],iconVertexRanges:[]};y.push(r),this._processFeature(r,u,f)}}}y.sort(Y),this._addPlacedGlyphs(),this._symbolInstances=y}serialize(){let t=14;t+=this.layerUIDs.length,t+=3*this.markerPageMap.size,t+=3*this.glyphsPageMap.size,t+=J._symbolsSerializationLength(this._symbolInstances),t+=this._iconVertexBuffer.array.length,t+=this._iconIndexBuffer.array.length,t+=this._textVertexBuffer.array.length,t+=this._textIndexBuffer.array.length;let e=new Uint32Array(t),i=new Int32Array(e.buffer),r=new Float32Array(e.buffer),[s,n,a]=this._sourceTileKey.split("/"),l=0;e[l++]=this.type,e[l++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[l++]=this.layerUIDs[t];e[l++]=+!!this._isIconSDF,e[l++]=parseFloat(s),e[l++]=parseFloat(n),e[l++]=parseFloat(a),e[l++]=this.markerPageMap.size;for(let[t,[i,r]]of this.markerPageMap)e[l++]=t,e[l++]=i,e[l++]=r;e[l++]=this.glyphsPageMap.size;for(let[t,[i,r]]of this.glyphsPageMap)e[l++]=t,e[l++]=i,e[l++]=r;e[l++]=this._iconVertexBuffer.index/4,e[l++]=this._textVertexBuffer.index/4,l=J.serializeSymbols(e,i,r,l,this._symbolInstances),e[l++]=this._iconVertexBuffer.array.length;for(let t=0;t<this._iconVertexBuffer.array.length;t++)i[l++]=this._iconVertexBuffer.array[t];e[l++]=this._iconIndexBuffer.array.length;for(let t=0;t<this._iconIndexBuffer.array.length;t++)e[l++]=this._iconIndexBuffer.array[t];e[l++]=this._textVertexBuffer.array.length;for(let t=0;t<this._textVertexBuffer.array.length;t++)i[l++]=this._textVertexBuffer.array[t];e[l++]=this._textIndexBuffer.array.length;for(let t=0;t<this._textIndexBuffer.array.length;t++)e[l++]=this._textIndexBuffer.array[t];return e.buffer}static _symbolsSerializationLength(t){let e=0;e+=1;for(let i of t||[]){e+=5,e+=1;for(let t of i.textColliders)e+=10;for(let t of i.iconColliders)e+=10;e+=1,e+=2*i.textVertexRanges.length,e+=1,e+=2*i.iconVertexRanges.length}return e}static serializeSymbols(t,e,i,r,s){s||=[],e[r++]=s.length;for(let t of s){e[r++]=t.anchor.x,e[r++]=t.anchor.y,e[r++]=t.symbolFeature.hash,e[r++]=t.symbolFeature.priority,e[r++]=t.symbolFeature.feature.featureIndex,e[r++]=t.textColliders.length+t.iconColliders.length;for(let s of t.textColliders)e[r++]=s.xTile,e[r++]=s.yTile,e[r++]=s.dxPixels,e[r++]=s.dyPixels,e[r++]=+!!s.hard,e[r++]=s.partIndex,i[r++]=s.minLod,i[r++]=s.maxLod,e[r++]=s.width,e[r++]=s.height;for(let s of t.iconColliders)e[r++]=s.xTile,e[r++]=s.yTile,e[r++]=s.dxPixels,e[r++]=s.dyPixels,e[r++]=+!!s.hard,e[r++]=s.partIndex,i[r++]=s.minLod,i[r++]=s.maxLod,e[r++]=s.width,e[r++]=s.height;e[r++]=t.textVertexRanges.length;for(let[i,s]of t.textVertexRanges)e[r++]=i,e[r++]=s;e[r++]=t.iconVertexRanges.length;for(let[i,s]of t.iconVertexRanges)e[r++]=i,e[r++]=s}return r}_replaceKeys(t,e){return t.replaceAll(/{([^{}]+)}/g,(t,i)=>i in e?e[i]:"")}_processFeature(t,e,i){let{line:r,iconMosaicItem:s,shaping:n,anchor:l}=t,o=this.zoom,h=this.layer,u=!!s,f=!0;u&&(f=e?.optional||!s);let c,d,g=n&&n.length>0,y=!g||i?.optional;if(u&&(c=this._placementEngine.getIconPlacement(l,s,e)),(c||f)&&(g&&(d=this._placementEngine.getTextPlacement(l,n,r,i)),d||y)){if((!c||!d)&&(y||f?y||d?!f&&!c&&(d=null):c=null:(c=null,d=null)),d){let e=h.hasDataDrivenText?h.textMaterial.encodeAttributes(t.symbolFeature.feature,o,h):null;if(this._storePlacedGlyphs(t,d.shapes,o,i.rotationAlignment,e),d.textColliders){t.textColliders=d.textColliders;for(let t of d.textColliders){t.minLod=Math.max(o+(0,a.p6)(t.minLod),0),t.maxLod=Math.min(o+(0,a.p6)(t.maxLod),25);let e=t.angle;if(e){let i=Math.cos(e),r=Math.sin(e),s=t.dxPixels*i-t.dyPixels*r,n=t.dxPixels*r+t.dyPixels*i,a=(t.dxPixels+t.width)*i-t.dyPixels*r,l=(t.dxPixels+t.width)*r+t.dyPixels*i,o=t.dxPixels*i-(t.dyPixels+t.height)*r,h=t.dxPixels*r+(t.dyPixels+t.height)*i,u=(t.dxPixels+t.width)*i-(t.dyPixels+t.height)*r,f=(t.dxPixels+t.width)*r+(t.dyPixels+t.height)*i,c=Math.min(s,a,o,u),d=Math.max(s,a,o,u),g=Math.min(n,l,h,f),y=Math.max(n,l,h,f);t.dxPixels=c,t.dyPixels=g,t.width=d-c,t.height=y-g}}}}if(c){let i=h.hasDataDrivenIcon?h.iconMaterial.encodeAttributes(t.symbolFeature.feature,o,h):null;if(this._addPlacedIcons(t,c.shapes,o,s.page,1===e.rotationAlignment,i),c.iconColliders){t.iconColliders=c.iconColliders;for(let t of c.iconColliders){t.minLod=Math.max(o+(0,a.p6)(t.minLod),0),t.maxLod=Math.min(o+(0,a.p6)(t.maxLod),25);let e=t.angle;if(e){let i=Math.cos(e),r=Math.sin(e),s=t.dxPixels*i-t.dyPixels*r,n=t.dxPixels*r+t.dyPixels*i,a=(t.dxPixels+t.width)*i-t.dyPixels*r,l=(t.dxPixels+t.width)*r+t.dyPixels*i,o=t.dxPixels*i-(t.dyPixels+t.height)*r,h=t.dxPixels*r+(t.dyPixels+t.height)*i,u=(t.dxPixels+t.width)*i-(t.dyPixels+t.height)*r,f=(t.dxPixels+t.width)*r+(t.dyPixels+t.height)*i,c=Math.min(s,a,o,u),d=Math.max(s,a,o,u),g=Math.min(n,l,h,f),y=Math.max(n,l,h,f);t.dxPixels=c,t.dyPixels=g,t.width=d-c,t.height=y-g}}}}}}_addPlacedIcons(t,e,i,r,s,n){let l=Math.max(i-1,0),o=this._iconVertexBuffer,h=this._iconIndexBuffer,u=this._markerMap;for(let f of e){let e=s?0:Math.max(i+(0,a.p6)(f.minzoom),l),c=s?25:Math.min(i+(0,a.p6)(f.maxzoom),25);if(c<=e)continue;let d=f.tl,g=f.tr,y=f.bl,p=f.br,x=f.mosaicRect,_=f.labelAngle,m=f.minAngle,I=f.maxAngle,P=f.anchor,b=o.index,w=x.x,M=x.y,T=w+x.width,v=M+x.height,A=o.index;o.add(P.x,P.y,d.x,d.y,w,M,_,m,I,e,c,n),o.add(P.x,P.y,g.x,g.y,T,M,_,m,I,e,c,n),o.add(P.x,P.y,y.x,y.y,w,v,_,m,I,e,c,n),o.add(P.x,P.y,p.x,p.y,T,v,_,m,I,e,c,n),t.iconVertexRanges.length>0&&t.iconVertexRanges[0][0]+t.iconVertexRanges[0][1]===A?t.iconVertexRanges[0][1]+=4:t.iconVertexRanges.push([A,4]),h.add(b,b+1,b+2),h.add(b+1,b+2,b+3),u.has(r)?u.get(r)[1]+=6:u.set(r,[this._iconIndexStart+this._iconIndexCount,6]),this._iconIndexCount+=6}}_addPlacedGlyphs(){let t=this._textVertexBuffer,e=this._textIndexBuffer,i=this._glyphMap;for(let[r,s]of this._glyphBufferDataStorage)for(let n of s){let s=t.index,a=n.symbolInstance,l=n.ddAttributes,o=t.index;t.add(n.glyphAnchor[0],n.glyphAnchor[1],n.tl[0],n.tl[1],n.xmin,n.ymin,n.labelAngle,n.minAngle,n.maxAngle,n.minLod,n.maxLod,l),t.add(n.glyphAnchor[0],n.glyphAnchor[1],n.tr[0],n.tr[1],n.xmax,n.ymin,n.labelAngle,n.minAngle,n.maxAngle,n.minLod,n.maxLod,l),t.add(n.glyphAnchor[0],n.glyphAnchor[1],n.bl[0],n.bl[1],n.xmin,n.ymax,n.labelAngle,n.minAngle,n.maxAngle,n.minLod,n.maxLod,l),t.add(n.glyphAnchor[0],n.glyphAnchor[1],n.br[0],n.br[1],n.xmax,n.ymax,n.labelAngle,n.minAngle,n.maxAngle,n.minLod,n.maxLod,l),a.textVertexRanges.length>0&&a.textVertexRanges[0][0]+a.textVertexRanges[0][1]===o?a.textVertexRanges[0][1]+=4:a.textVertexRanges.push([o,4]),e.add(s,s+1,s+2),e.add(s+1,s+2,s+3),i.has(r)?i.get(r)[1]+=6:i.set(r,[this._textIndexStart+this._textIndexCount,6]),this._textIndexCount+=6}this._glyphBufferDataStorage.clear()}_storePlacedGlyphs(t,e,i,r,s){let n,l,o,h,u,f,c,d,g,y,p,x=Math.max(i-1,0),_=1===r;for(let r of e)n=_?0:Math.max(i+(0,a.p6)(r.minzoom),x),l=_?25:Math.min(i+(0,a.p6)(r.maxzoom),25),!(l<=n)&&(o=r.tl,h=r.tr,u=r.bl,f=r.br,c=r.labelAngle,d=r.minAngle,g=r.maxAngle,y=r.anchor,p=r.mosaicRect,this._glyphBufferDataStorage.has(r.page)||this._glyphBufferDataStorage.set(r.page,[]),this._glyphBufferDataStorage.get(r.page).push({glyphAnchor:[y.x,y.y],tl:[o.x,o.y],tr:[h.x,h.y],bl:[u.x,u.y],br:[f.x,f.y],xmin:p.x,ymin:p.y,xmax:p.x+p.width,ymax:p.y+p.height,labelAngle:c,minAngle:d,maxAngle:g,minLod:n,maxLod:l,placementLod:x,symbolInstance:t,ddAttributes:s}))}static _pushAnchors(t,e,i,r){i+=r;let s=0,l=e.length-1;for(let t=0;t<l;t++)s+=n.bR.distance(e[t],e[t+1]);let o=r||i;if(o*=.5,s<=o)return;let h=o/s,u=0,f=-(i=s/Math.max(Math.round(s/i),1))/2,c=e.length-1;for(let r=0;r<c;r++){let s,n=e[r],l=e[r+1],o=l.x-n.x,c=l.y-n.y,d=Math.sqrt(o*o+c*c);for(;f+i<u+d;){f+=i;let e=(f-u)/d,y=(0,a.GW)(n.x,l.x,e),p=(0,a.GW)(n.y,l.y,e);void 0===s&&(s=Math.atan2(c,o)),t.push(new g(y,p,s,r,h))}u+=d}}static _pushCenterAnchor(t,e){let i=0,r=e.length-1;for(let t=0;t<r;t++)i+=n.bR.distance(e[t],e[t+1]);let s=i/2,l=0,o=e.length-1;for(let i=0;i<o;i++){let r=e[i],n=e[i+1],o=n.x-r.x,h=n.y-r.y,u=Math.sqrt(o*o+h*h);if(s<l+u){let e=(s-l)/u,f=(0,a.GW)(r.x,n.x,e),c=(0,a.GW)(r.y,n.y,e),d=Math.atan2(h,o);return void t.push(new g(f,c,d,i,0))}l+=u}}static _deviation(t,e,i){let r=(e.x-t.x)*(i.x-e.x)+(e.y-t.y)*(i.y-e.y),s=(e.x-t.x)*(i.y-e.y)-(e.y-t.y)*(i.x-e.x);return Math.atan2(s,r)}static _honorsTextMaxAngle(t,e,i,r,s){let a=0,l=i/2,o=new n.bR(e.x,e.y),h=e.segment+1;for(;a>-l;){if(--h,h<0)return!1;a-=n.bR.distance(t[h],o),o=t[h]}a+=n.bR.distance(t[h],t[h+1]);let u=[],f=0,c=t.length;for(;a<l;){let e,i=t[h],l=h;do{if(++l,l===c)return!1;e=t[l]}while(e.isEqual(i));let o,d=l;do{if(++d,d===c)return!1;o=t[d]}while(o.isEqual(e));let g=this._deviation(i,e,o);for(u.push({deviation:g,distToAnchor:a}),f+=g;a-u[0].distToAnchor>s;)f-=u.shift().deviation;if(Math.abs(f)>r)return!1;a+=n.bR.distance(e,o),h=l}return!0}static _smoothVertices(t,e){if(e<=0)return t;let i=t.length;if(i<3)return t;let r=[],s=0,a=0;r.push(0);for(let e=1;e<i;e++){let i=n.bR.distance(t[e],t[e-1]);i>0&&(s+=i,r.push(s),a++,a!==e&&(t[a]=t[e]))}if(i=a+1,i<3)return t;e=Math.min(e,.2*s);let l=t[0].x,o=t[0].y,h=t[i-1].x,u=t[i-1].y,f=n.bR.sub(t[0],t[1]);f.normalize(),t[0].x+=e*f.x,t[0].y+=e*f.y,f.assignSub(t[i-1],t[i-2]),f.normalize(),t[i-1].x+=e*f.x,t[i-1].y+=e*f.y,r[0]-=e,r[i-1]+=e;let c=[];c.push(new n.bR(l,o));let d=1e-6,g=.5*e;for(let s=1;s<i-1;s++){let a=0,l=0,o=0;for(let i=s-1;i>=0;i--){let n=g+r[i+1]-r[s];if(n<0)break;let h=r[i+1]-r[i],u=r[s]-r[i]<g?1:n/h;if(u<d)break;let f=u*u,c=u*n-.5*f*h,y=u*h/e,p=t[i+1],x=t[i].x-p.x,_=t[i].y-p.y;a+=y/c*(p.x*u*n+.5*f*(n*x-h*p.x)-f*u*h*x/3),l+=y/c*(p.y*u*n+.5*f*(n*_-h*p.y)-f*u*h*_/3),o+=y}for(let n=s+1;n<i;n++){let i=g-r[n-1]+r[s];if(i<0)break;let h=r[n]-r[n-1],u=r[n]-r[s]<g?1:i/h;if(u<d)break;let f=u*u,c=u*i-.5*f*h,y=u*h/e,p=t[n-1],x=t[n].x-p.x,_=t[n].y-p.y;a+=y/c*(p.x*u*i+.5*f*(i*x-h*p.x)-f*u*h*x/3),l+=y/c*(p.y*u*i+.5*f*(i*_-h*p.y)-f*u*h*_/3),o+=y}c.push(new n.bR(a/o,l/o))}return c.push(new n.bR(h,u)),t[0].x=l,t[0].y=o,t[i-1].x=h,t[i-1].y=u,c}static _getPlacementCandidates(t,e,i,r){if(0!==e||3!==i.type||"geojson"!==t.sourceType)return r.map(t=>({anchor:null,vertices:t}));let s=function(t){let e=null,i=0,r=[],s=0;for(let n of t){let t=j(n);t>0?(s>i&&(i=s,e=r),r=[n],s=t):t<0&&r.length>0&&(r.push(n),s+=t)}if(s>i&&(e=r),!e)return null;let n=e.map(t=>t.length),a=[];for(let t of e)for(let e of t)a.push(e.x,e.y);let l=Z.z.fromOptimized(new q.A(n,a),"esriGeometryPolygon"),o=(0,W.R)(l);return o?{x:o[0],y:o[1],vertices:e[0]}:null}(r);return s?[{anchor:new g(s.x,s.y),vertices:s.vertices}]:[]}static _pushCentroid(t,e){let i=4096,r=4096,s=e.length-1,n=0,a=0,l=0,o=e[0].x,h=e[0].y;o>i&&(o=i),o<0&&(o=0),h>r&&(h=r),h<0&&(h=0);for(let t=1;t<s;t++){let s=e[t].x,u=e[t].y,f=e[t+1].x,c=e[t+1].y;s>i&&(s=i),s<0&&(s=0),u>r&&(u=r),u<0&&(u=0),f>i&&(f=i),f<0&&(f=0),c>r&&(c=r),c<0&&(c=0);let d=(s-o)*(c-h)-(f-o)*(u-h);n+=d*(o+s+f),a+=d*(h+u+c),l+=d}n/=3*l,a/=3*l,!isNaN(n)&&!isNaN(a)&&t.push(new g(n,a))}}class H{constructor(t,e,i,r,s,l,o){if(this._pbfTiles={},this._tileClippers={},this._client=i,this._tile=e,this._sourceDataMaxLOD=r,this._baseUrl=o,l){this._styleLayerUIDs=new Set;for(let t of l)this._styleLayerUIDs.add(t)}this._styleRepository=s,this._layers=this._styleRepository?.layers??[];let[h,u,f]=e.tileKey.split("/").map(parseFloat);this._level=h;let c=(0,a.IU)(this._level);for(let e of Object.keys(t)){let i=t[e];if(this._pbfTiles[e]=new m.A(new Uint8Array(i.protobuff),new DataView(i.protobuff)),i.refKey){let[t]=i.refKey.split("/").map(parseFloat),r=h-t;if(r>0){let t=(1<<r)-1,i=u&t,s=f&t;this._tileClippers[e]=new n.O3(r,i,s,8,c)}}this._tileClippers[e]||(this._tileClippers[e]=new n.Ox)}}_canParseStyleLayer(t){return!this._styleLayerUIDs||this._styleLayerUIDs.has(t)}async parse(t){let e=(0,I.If)(),i=this._initialize(t),{returnedBuckets:r}=i;this._processLayers(i),this._linkReferences(i),this._filterFeatures(i);let s=[],n=new Set,a=(t,e)=>{n.has(t)||(s.push({name:t,repeat:e}),n.add(t))},l={};for(let t of r)t.getResources(t.tileClipper,a,l);if(4===this._tile.status)return[];let o=this._fetchResources(s,l,t);return Promise.all([...o,e]).then(()=>this._processFeatures(i.returnedBuckets))}_initialize(t){return{signal:t?.signal,sourceNameToTileData:this._parseTileData(this._pbfTiles),layers:this._layers,zoom:this._level,sourceNameToTileClipper:this._tileClippers,sourceNameToUniqueSourceLayerBuckets:{},sourceNameToUniqueSourceLayers:{},returnedBuckets:[],layerIdToBucket:{},referencerUIDToReferencedId:new Map}}_processLayers(t){let{sourceNameToTileData:e,zoom:i,layers:r,sourceNameToTileClipper:s,sourceNameToUniqueSourceLayerBuckets:n,sourceNameToUniqueSourceLayers:a,returnedBuckets:l,layerIdToBucket:o,referencerUIDToReferencedId:h}=t,u=this._sourceDataMaxLOD;for(let t=r.length-1;t>=0;t--){let f=r[t];if(i<u){if(f.minzoom&&i<Math.floor(f.minzoom)||f.maxzoom&&i>=f.maxzoom)continue}else if(f.maxzoom&&i>=f.maxzoom)continue;if(0===f.type||!this._canParseStyleLayer(f.uid)||!e[f.source]||!s[f.source])continue;let c=e[f.source],d=s[f.source],g=f.sourceLayer,y=c[g];if(y){let t=a[f.source];if(t||=a[f.source]=new Set,t.add(f.sourceLayer),f.refLayerId)h.set(f.uid,f.refLayerId);else{let t=this._createBucket(f);if(t){t.layerUIDs=[f.uid],t.layerExtent=y.extent,t.tileClipper=d;let e=n[f.source];e||=n[f.source]={};let i=e[g];i||=e[g]=[],i.push(t),l.push(t),o[f.id]=t}}}}}_linkReferences(t){let{layerIdToBucket:e,referencerUIDToReferencedId:i}=t;i.forEach((t,i)=>{e[t]&&e[t].layerUIDs.push(i)})}_filterFeatures(t){let{signal:e,sourceNameToTileData:i,sourceNameToUniqueSourceLayerBuckets:s,sourceNameToUniqueSourceLayers:n}=t,a=10*this._level,l=10*(this._level+1),o=[],h=[];for(let t of Object.keys(n))n[t].forEach(e=>{o.push(e),h.push(t)});for(let t=0;t<o.length;t++){let n=h[t],u=o[t];if(!i[n]||!s[n])continue;let f=i[n][u],c=s[n][u];if(!c||0===c.length)continue;if((0,r.G4)(e))return;let d=0,g=f.getData();for(;g.nextTag(2);){let t=g.getMessage(),e=new P(t,f,d++);t.release();let i=e.values;if(i){let t=i._minzoom;if(t&&t>=l)continue;let e=i._maxzoom;if(e&&e<=a)continue}for(let t of c)t.pushFeature(e)}}}_fetchResources(t,e,i){let r,s,n=[],a=this._tile.getWorkerTileHandler();t.length>0&&(r=a.fetchSprites(t,this._client,i),n.push(r));for(let t in e){let r=e[t];r.size>0&&(s=a.fetchGlyphs(this._baseUrl,t,r,i),n.push(s))}return n}_processFeatures(t){let e=t.filter(t=>t.hasFeatures()||this._canParseStyleLayer(t.layer.uid));for(let t of e)t.processFeatures(t.tileClipper);return e}_parseTileData(t){let e={};for(let i of Object.keys(t)){let r=t[i],s={};for(;r.next();)switch(r.tag()){case 3:{let t=r.getMessage(),e=new M(t);t.release(),s[e.name]=e;break}default:r.skip()}e[i]=s}return e}_createBucket(t){switch(t.type){case 0:return null;case 1:return this._createFillBucket(t);case 2:return this._createLineBucket(t);case 4:return this._createCircleBucket(t);case 3:return this._createSymbolBucket(t)}}_createFillBucket(t){return new V(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new A(t.fillMaterial.getStride()),new w,new S(t.outlineMaterial.getStride()),new w)}_createLineBucket(t){return new N(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new v(t.lineMaterial.getStride()),new w)}_createCircleBucket(t){return new z(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new k(t.circleMaterial.getStride()),new w)}_createSymbolBucket(t){let e=this._tile;return new J(e.tileKey,t,this._level,new L(t.iconMaterial.getStride()),new w,new L(t.textMaterial.getStride()),new w,e.placementEngine,e.getWorkerTileHandler())}}class ${constructor(t,e,i,r){this.status=0,this.placementEngine=new _,this.tileKey=t,this.refKeys=e,this._workerTileHandler=i,this._styleRepository=r}release(){this.tileKey="",this.refKeys=null,this.status=0,this._workerTileHandler=null}async parse(t,e){let i=e?.signal;if(null!=i){let t=()=>{i.removeEventListener("abort",t),this.status=4};i.addEventListener("abort",t)}let s,n={bucketsWithData:[],emptyBuckets:null};try{s=await this._parse(t,e)}catch(t){if((0,r.zf)(t))throw t;return{result:n,transferList:[]}}this.status=2;let a=n.bucketsWithData,l=[];for(let t of s)if(t.hasFeatures()){let e=t.serialize();a.push(e)}else l.push(t.layer.uid);let o=[...a],h=null;return l.length>0&&(h=Uint32Array.from(l),o.push(h.buffer)),n.emptyBuckets=h,{result:n,transferList:o}}setObsolete(){this.status=4}getLayers(){return this._workerTileHandler.getLayers()}getWorkerTileHandler(){return this._workerTileHandler}async _parse(t,e){let i=t.sourceName2DataAndRefKey;return 0===Object.keys(i).length?[]:(this.status=3,new H(i,this,e.client,t.sourceDataMaxLOD,this._styleRepository,t.styleLayerUIDs,t.baseUrl).parse(e))}}var Q=i(45013);class X{constructor(){this._spriteInfo={},this._glyphInfo={},this._sourceDataMaxLOD=25}reset(){return this._spriteInfo={},this._glyphInfo={},Promise.resolve()}getLayers(){return this._styleRepository?.layers??[]}async createTileAndParse(t,e){let{key:i}=t,s={};for(let e of Object.keys(t.sourceName2DataAndRefKey))s[e]=t.sourceName2DataAndRefKey[e].refKey;let n=new $(i,s,this,this._styleRepository);this.initializeGlyphWorker(void 0,e);try{return await n.parse({...t,sourceDataMaxLOD:this._sourceDataMaxLOD},e)}catch(t){if(n.setObsolete(),n.release(),!(0,r.zf)(t))throw t;return null}}initializeGlyphWorker(t,e){return this._loaded??=(async()=>{let t=await e.client.invoke("openGlyphPorts"),i=await(0,s.N1)(t,{maxNumberOfConcurrentJobs:20});this._glyphWorker=i.createInvokeProxy()})()}updateStyle(t){if(!t||0===t.length||!this._styleRepository)return;let e=this._styleRepository;for(let i of t){let t=i.type,r=i.data;switch(t){case 0:e.setPaintProperties(r.layer,r.paint);break;case 1:e.setLayoutProperties(r.layer,r.layout);break;case 3:e.deleteStyleLayer(r.layer);break;case 2:e.setStyleLayer(r.layer,r.index);break;case 4:this._spriteInfo={}}}}setStyle(t){let{style:e,sourceDataMaxLOD:i}=t;this._styleRepository=new Q.A(e),this._sourceDataMaxLOD=i,this._spriteInfo={},this._glyphInfo={}}fetchSprites(t,e,i){let r=[],s=this._spriteInfo;for(let e of t)void 0===s[e.name]&&r.push(e);return 0===r.length?Promise.resolve():e.invoke("getSprites",r,{signal:i?.signal}).then(t=>{for(let e in t){let i=t[e];s[e]=i}})}getSpriteItems(){return this._spriteInfo}async fetchGlyphs(t,e,i,r){let s=[],n=this._glyphInfo[e];if(n?i.forEach(t=>{n[t]||s.push(t)}):(n=this._glyphInfo[e]=[],i.forEach(t=>s.push(t))),0===s.length)return;if(await this._loaded,!this._glyphWorker)return void console.error("Failed to fetch glyphs: no worker connection");let a=String.fromCodePoint(...s),l=await this._glyphWorker.getGlyphItems(a,!1,t,e,!0,r);if(l)for(let t of l.glyphs)n[t.code]=t}getGlyphItems(t){return this._glyphInfo[t]}}},18989(t,e,i){i.d(e,{A:()=>r});class r{constructor(t=0,e=0,i=0,r=0){this.x=t,this.y=e,this.width=i,this.height=r}get isEmpty(){return this.width<=0||this.height<=0}union(t){this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.width=Math.max(this.width,t.width),this.height=Math.max(this.height,t.height)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6569],{40876(e,t,r){r.d(t,{Eq:()=>f,G1:()=>h,Q6:()=>w,TS:()=>i,V6:()=>n,Vm:()=>y,ay:()=>o,c1:()=>m,c4:()=>l,j5:()=>u,lT:()=>d,oW:()=>c,xV:()=>b});const a={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(e){return!!a[e]||!!a[e.toLowerCase()]}function i(e){return a[e]??a[e.toLowerCase()]}function l(e){return[...i(e)]}function s(e,t,r){r<0&&++r,r>1&&--r;let a=6*r;return a<1?e+(t-e)*a:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function o(e,t,r,a=1){let n=(e%360+360)%360/360,i=r<=.5?r*(t+1):r+t-r*t,l=2*r-i;return[Math.round(255*s(l,i,n+1/3)),Math.round(255*s(l,i,n)),Math.round(255*s(l,i,n-1/3)),a]}function u(e){let t=e.length>5,r=t?8:4,a=(1<<r)-1,n=t?1:17,i=t?9===e.length:5===e.length,l=Number("0x"+e.slice(1));if(isNaN(l))return null;let s,o=[0,0,0,1];return i&&(s=l&a,l>>=r,o[3]=n*s/255),s=l&a,l>>=r,o[2]=n*s,s=l&a,l>>=r,o[1]=n*s,s=l&a,l>>=r,o[0]=n*s,o}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{let t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),a=parseInt(e.slice(3,4),16),n=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,a+16*a,(n+16*n)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){let t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){let e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){let t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),p(t)}return p(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return o(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function p(e){return e[0]=m(e[0]),e[1]=m(e[1]),e[2]=m(e[2]),e[3]=4===e.length?h(e[3]):1,e}function f(e){let t=n(e)?i(e):null;return t??=d(e),t??=c(e),t}function y(e){let t=f(e);return null==t?null:[t[0]/255,t[1]/255,t[2]/255,t[3]]}function h(e){return g(e,0,1)}function m(e){return Math.round(g(e,0,255))}function g(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const v=1/2.2;function w(e){return e**2.2}function b(e){return e**v}r.d(t,["iw",0,v])},38961(e,t,r){var a=r(32198),n=r(7762),i=r(36708),l=r(10107),s=r(64108),o=r(80559);let u=class extends n.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,o.fm)(()=>this._refresh(),i.OH))}destroy(){this.getCollections=null}_refresh(){let e=this.getCollections?.();if(null==e)return void this.removeAll();let t=0;for(let r of e)null!=r&&(t=this._processCollection(t,r));this.splice(t)}_createNewInstance(e){return new n.A(e)}_processCollection(e,t){if(!t)return e;let r=this.itemFilterFunction??(e=>!!e);for(let a of t)if(a){if(r(a)){let t=this.indexOf(a,e);t>=0?t!==e&&this.reorder(a,e):this.add(a,e),++e}if(this.getChildrenFunction){let t=this.getChildrenFunction(a);if(Array.isArray(t))for(let r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,a.Cg)([(0,l.MZ)()],u.prototype,"getCollections",void 0),(0,a.Cg)([(0,l.MZ)()],u.prototype,"getChildrenFunction",void 0),(0,a.Cg)([(0,l.MZ)()],u.prototype,"itemFilterFunction",void 0),u=(0,a.Cg)([(0,s.$)("esri.core.CollectionFlattener")],u);const c=u;r.d(t,["A",0,c])},60999(e,t,r){r.d(t,{DZ:()=>y,Ke:()=>f,QA:()=>h,Tj:()=>c,UT:()=>m,aD:()=>v,jJ:()=>u});var a=r(32198),n=r(69622),i=r(97768),l=r(17676),s=r(10107),o=r(64108);function u(e,t,r){return(0,l.Lx)(e.map((e,a)=>t.apply(r,[e,a])))}async function c(e,t,r){return(await(0,l.Lx)(e.map((e,a)=>t.apply(r,[e,a])))).map(e=>e.value)}function d(e){return{ok:!0,value:e}}function p(e){return{ok:!1,error:e}}async function f(e){if(null==e)return{ok:!1,error:Error("no promise provided")};try{return d(await e)}catch(e){return p(e)}}async function y(e){try{return d(await e)}catch(e){return(0,l.QP)(e),p(e)}}function h(e){if(!0===e.ok)return e.value;throw e.error}function m(e,t){return new g(e,t)}let g=class extends n.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,i.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=d(e),this._cleanup()},e=>{this._result=p(e),this._cleanup()}),this._abortHandle=(0,l.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,i.xt)(this._abortHandle),this._abortController=null}};(0,a.Cg)([(0,s.MZ)()],g.prototype,"value",null),(0,a.Cg)([(0,s.MZ)()],g.prototype,"error",null),(0,a.Cg)([(0,s.MZ)()],g.prototype,"finished",null),(0,a.Cg)([(0,s.MZ)()],g.prototype,"promise",void 0),(0,a.Cg)([(0,s.MZ)()],g.prototype,"_result",void 0),g=(0,a.Cg)([(0,o.$)("esri.core.asyncUtils.ReactiveTask")],g);class v{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});let t=await e;return{[Symbol.dispose]:t}}async run(e){let t={stack:[],error:void 0,hasError:!1};try{return(0,a.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,a.hk)(t)}}}},62885(e,t,r){r.d(t,{H:()=>i,V:()=>n});var a=r(7762);function n(e,t,r=a.A){return t||=new r,t===e||t.destroyed||(t.removeAll(),(n=e)&&(Array.isArray(n)||"items"in n&&Array.isArray(n.items))?t.addMany(e):e&&t.add(e)),t;var n}function i(e){return e}},81583(e,t,r){r.d(t,{L:()=>s,g:()=>l});var a=r(60999),n=r(7762),i=r(92474);async function l(e,t){return await e.load(),s(e,t)}async function s(e,t){let r=[],l=(...e)=>{for(let t of e)null!=t&&(Array.isArray(t)?l(...t):n.A.isCollection(t)?t.forEach(e=>l(e)):(0,i.Zm)(t)&&r.push(t))};t(l);let s=null;if(await(0,a.Tj)(r,async e=>{let t=await(0,a.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1===t.ok&&!s&&(s=t)}),s)throw s.error;return e}},90629(e,t,r){r.d(t,{Lz:()=>l,PN:()=>s,cr:()=>o,gs:()=>c,r_:()=>d,tc:()=>u}),r(39829);const a=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i,n=s(1),i=l(1);function l(e){return e?e/72*96:0}function s(e){return e?72*e/96:0}function o(e){if("string"==typeof e){let t=e.match(a);if(t){let r=Number(t[1]),a=t[3]&&t[3].toLowerCase(),n=e.startsWith("-"),i="px"===a?s(r):r;return n?-i:i}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function u(e=0,t=0){return{x:e,y:t}}function c(e=0,t=0){return[e,t]}function d(e=0,t=0,r=0){return[e,t,r]}r.d(t,["L7",0,i,"ps",0,n])},85989(e,t,r){r.r(t),r.d(t,{default:()=>N});var a=r(32198),n=r(38961),i=r(81583),l=r(53966),s=r(25728),o=r(17676),u=r(36708),c=r(91429),d=r(88620),p=r(16930),f=r(4146),y=r(63074),h=r(34287),m=r(8303),g=r(25036),v=r(75356),w=r(2976),b=r(80812),L=r(7762),A=r(62885);function S(e,t,r){let a,n;if(e)for(let i=0,l=e.length;i<l;i++){if(a=e.at(i),a?.[t]===r)return a;if("group"===a?.type&&(n=S(a.layers,t,r),n))return n}}const I=e=>{let t=e,r=class extends t{constructor(...e){super(...e),this.layers=new L.A;let t=e=>{e.parent=this,this.layerAdded(e),("elevation"===e.type||"base-elevation"===e.type)&&l.A.getLogger(this).error(`Layer 'title:${e.title}, id:${e.id}' of type '${e.type}' is not supported as an operational layer and will therefore be ignored.`)},r=e=>{e.parent=null,this.layerRemoved(e)};this.addHandles([this.layers.on("before-add",e=>{e.item===this?(e.preventDefault(),l.A.getLogger(this).error("#add()","Cannot add layer to itself.")):(e=>{e.parent&&e.removeFromParent()})(e.item)}),this.layers.on("after-add",e=>t(e.item)),this.layers.on("after-remove",e=>r(e.item))])}destroy(){let e=this.layers.toArray();for(let t of e)t.destroy();this.layers.destroy()}removeChildLayer(e){this.layers.remove(e),super.removeChildLayer?.(e)}get layers(){return this._get("layers")}set layers(e){this._set("layers",(0,A.V)(e,this._get("layers")))}add(e,t){let r=this.layers;if(t=r.getNextIndex(t),e instanceof f.A){let a=e;a.parent===this?this.reorder(a,t):r.add(a,t)}else(0,o.$X)(e)?e.then(e=>{this.destroyed||this.add(e,t)}):l.A.getLogger(this).error("#add()","The item being added is not a Layer or a Promise that resolves to a Layer.")}addMany(e,t){let r=this.layers,a=r.getNextIndex(t);e.slice().forEach(e=>{e.parent===this?this.reorder(e,a):(r.add(e,a),a+=1)})}findLayerById(e){return S(this.layers,"id",e)}findLayerByUid(e){return S(this.layers,"uid",e)}remove(e){return this.layers.remove(e)}removeMany(e){return this.layers.removeMany(e)}removeAll(){return this.layers.removeAll()}reorder(e,t){return this.layers.reorder(e,t)}layerAdded(e){}layerRemoved(e){}};return(0,a.Cg)([(0,c.MZ)()],r.prototype,"layers",null),r=(0,a.Cg)([(0,c.$K)("esri.support.LayersMixin")],r),r},C=new Set(["feature","subtype-group"]);function M(e,t,r){if(e)for(let a=0,n=e.length;a<n;a++){let n=e.at(a);if(n[t]===r)return n;if("group"===n?.type){let e=M(n.tables,t,r);if(e)return e}}}const P=e=>{let t=e,r=class extends t{constructor(...e){super(...e),this.tables=new L.A,this.addHandles([this.tables.on("after-add",e=>{let t=e.item;t.parent&&t.parent!==this&&t.removeFromParent(),t.parent=this,C.has(t.type)||l.A.getLogger(this).error(`Layer 'title:${t.title}, id:${t.id}' of type '${t.type}' is not supported as a table and will therefore be ignored.`)}),this.tables.on("after-remove",e=>{e.item.parent=null})])}destroy(){let e=this.tables.toArray();for(let t of e)t.destroy();this.tables.destroy()}removeChildLayer(e){this.tables.remove(e),super.removeChildLayer?.(e)}get tables(){return this._get("tables")}set tables(e){this._set("tables",(0,A.V)(e,this._get("tables")))}findTableById(e){return M(this.tables,"id",e)}findTableByUid(e){return M(this.tables,"uid",e)}};return(0,a.Cg)([(0,c.MZ)()],r.prototype,"tables",null),r=(0,a.Cg)([(0,c.$K)("esri.support.TablesMixin")],r),r},x=Symbol("WebScene");var _=r(26121),T=r(751),E=r(43937),F=r(36005);let k=class extends((0,y.dM)((0,g.j)((0,h.q)((0,m.A)(P(I((0,s.M)(f.A)))))))){constructor(e){var t;super(e),this._allLayers=new n.A({getCollections:()=>[this.layers],getChildrenFunction:e=>"layers"in e?e.layers:null}),this.allTables=(t=this,new n.A({getCollections:()=>[t.tables,t.layers],getChildrenFunction:e=>{let t=[];return"tables"in e&&t.push(e.tables),"layers"in e&&t.push(e.layers),t},itemFilterFunction:e=>{let t=e.parent;return!!t&&"tables"in t&&t.tables.includes(e)}})),this.fullExtent=void 0,this.operationalLayerType="GroupLayer",this.spatialReference=void 0,this.type="group",this._debouncedSaveOperations=(0,o.sg)(async(e,t,a)=>{let{save:n,saveAs:i}=await r.e(2958).then(()=>r(32958));switch(e){case 0:return n(this,t);case 1:return i(this,a,t)}})}initialize(){this._enforceVisibility(this.visibilityMode,this.visible),this.addHandles([(0,u.wB)(()=>{let e=this.parent;for(;e&&"parent"in e&&e.parent;)e=e.parent;return e&&x in e},e=>{let t="prevent-adding-tables";this.removeHandles(t),e&&(this.tables.removeAll(),this.addHandles((0,u.on)(()=>this.tables,"before-add",e=>{e.preventDefault(),l.A.getLogger(this).errorOnce("tables","tables in group layers in a webscene are not supported. Please move the tables from the group layer to the webscene if you want to persist them.")}),t))},u.pc),(0,u.wB)(()=>this.visible,this._onVisibilityChange.bind(this),u.OH)])}destroy(){this.allLayers.destroy(),this.allTables.destroy()}get allLayers(){return this._allLayers}get sourceIsPortalItem(){return this.portalItem&&7===this.originIdOf("portalItem")}_writeLayers(e,t,r,a){let n=[];if(!e)return n;e.forEach(e=>{let t=(0,T.CJ)(e,a.webmap?a.webmap.getLayerJSONFromResourceInfo(e):null,a);t?.layerType&&n.push(t)}),t.layers=n}set portalItem(e){this._set("portalItem",e)}readPortalItem(e,t,r){let{itemId:a,layerType:n}=t;if("GroupLayer"===n&&a)return new b.default({id:a,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}set visibilityMode(e){let t=this._get("visibilityMode")!==e;this._set("visibilityMode",e),t&&this._enforceVisibility(e,this.visible)}async beforeSave(){return(0,_.dL)(this)}load(e){let t=this.loadFromPortal({supportedTypes:["Feature Service","Feature Collection","Group Layer","Scene Service","Video Service"],layerModuleTypeMap:w.U,populateGroupLayer:v.N},e).catch(e=>{if((0,o.QP)(e),this.sourceIsPortalItem)throw e});return this.addResolvingPromise(t),Promise.resolve(this)}async loadAll(){return(0,i.g)(this,e=>{e(this.layers,this.tables)})}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}layerAdded(e){e.visible&&"exclusive"===this.visibilityMode?this._turnOffOtherLayers(e):"inherited"===this.visibilityMode&&(e.visible=this.visible),this.hasHandles(e.uid)?console.error(`Layer read to Grouplayer: uid=${e.uid}`):this.addHandles((0,u.wB)(()=>e.visible,t=>this._onChildVisibilityChange(e,t),u.OH),e.uid)}layerRemoved(e){this.removeHandles(e.uid),this._enforceVisibility(this.visibilityMode,this.visible)}_turnOffOtherLayers(e){this.layers.forEach(t=>{t!==e&&(t.visible=!1)})}_enforceVisibility(e,t){if(!(0,d.oY)(this).initialized)return;let r=this.layers,a=r.find(e=>e.visible);switch(e){case"exclusive":r.length&&!a&&(a=r.at(0),a.visible=!0),this._turnOffOtherLayers(a);break;case"inherited":r.forEach(e=>{e.visible=t})}}_onVisibilityChange(e){"inherited"===this.visibilityMode&&this.layers.forEach(t=>{t.visible=e})}_onChildVisibilityChange(e,t){switch(this.visibilityMode){case"exclusive":t?this._turnOffOtherLayers(e):this._isAnyLayerVisible()||(e.visible=!0);break;case"inherited":e.visible=this.visible}}_isAnyLayerVisible(){return this.layers.some(e=>e.visible)}};(0,a.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"allLayers",null),(0,a.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"allTables",void 0),(0,a.Cg)([(0,c.MZ)({json:{read:!0,write:!0}})],k.prototype,"blendMode",void 0),(0,a.Cg)([(0,c.MZ)()],k.prototype,"fullExtent",void 0),(0,a.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"sourceIsPortalItem",null),(0,a.Cg)([(0,c.MZ)({json:{read:!1,write:{ignoreOrigin:!0}}})],k.prototype,"layers",void 0),(0,a.Cg)([(0,E.K)("layers")],k.prototype,"_writeLayers",null),(0,a.Cg)([(0,c.MZ)({type:["GroupLayer"]})],k.prototype,"operationalLayerType",void 0),(0,a.Cg)([(0,c.MZ)({json:{origins:{"web-map":{read:!1,write:{overridePolicy(e,t,r){return{enabled:"Group Layer"===e?.type&&r?.initiator!==this}}}},"web-scene":{read:!1,write:!1}}}})],k.prototype,"portalItem",null),(0,a.Cg)([(0,F.w)("web-map","portalItem",["itemId"])],k.prototype,"readPortalItem",null),(0,a.Cg)([(0,E.K)("web-map","portalItem",{itemId:{type:String}})],k.prototype,"writePortalItem",null),(0,a.Cg)([(0,c.MZ)({type:p.A})],k.prototype,"spatialReference",void 0),(0,a.Cg)([(0,c.MZ)({json:{read:!1},readOnly:!0,value:"group"})],k.prototype,"type",void 0),(0,a.Cg)([(0,c.MZ)({type:["independent","inherited","exclusive"],value:"independent",json:{write:!0,origins:{"web-map":{type:["independent","exclusive"],write:(e,t,r)=>{"inherited"!==e&&(t[r]=e)}}}}})],k.prototype,"visibilityMode",null),k=(0,a.Cg)([(0,c.$K)("esri.layers.GroupLayer")],k);const N=k},76369(e,t,r){r.d(t,{LF:()=>A,M9:()=>S});var a=r(49186),n=r(93637),i=r(40876),l=r(59247),s=r(27865);class o extends SyntaxError{constructor(e,t,r,a){super(e),this.expected=t,this.found=r,this.location=a,this.name="SyntaxError"}format(e){let t="Error: "+this.message;if(this.location){let r=null,a=e.find(e=>e.source===this.location.source);a&&(r=a.text.split(/\r\n|\n|\r/g));let n=this.location.start,i=this.location.source&&"function"==typeof this.location.source.offset?this.location.source.offset(n):n,l=this.location.source+":"+i.line+":"+i.column;if(r){let e=this.location.end,a="".padEnd(i.line.toString().length," "),s=r[n.line-1],o=(n.line===e.line?e.column:s.length+1)-n.column||1;t+="\n --\x3e "+l+"\n"+a+" |\n"+i.line+" | "+s+"\n"+a+" | "+"".padEnd(n.column-1," ")+"".padEnd(o,"^")}else t+="\n at "+l}return t}static buildMessage(e,t){function r(e){return e.codePointAt(0).toString(16).toUpperCase()}let a=Object.prototype.hasOwnProperty.call(RegExp.prototype,"unicode")?RegExp("[\\p{C}\\p{Mn}\\p{Mc}]","gu"):null;function n(e){return a?e.replace(a,e=>"\\u{"+r(e)+"}"):e}function i(e){return n(e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,e=>"\\x0"+r(e)).replace(/[\x10-\x1F\x7F-\x9F]/g,e=>"\\x"+r(e)))}function l(e){return n(e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,e=>"\\x0"+r(e)).replace(/[\x10-\x1F\x7F-\x9F]/g,e=>"\\x"+r(e)))}let s={literal:e=>'"'+i(e.text)+'"',class(e){let t=e.parts.map(e=>Array.isArray(e)?l(e[0])+"-"+l(e[1]):l(e));return"["+(e.inverted?"^":"")+t.join("")+"]"+(e.unicode?"u":"")},any:()=>"any character",end:()=>"end of input",other:e=>e.description};function o(e){return s[e.type](e)}return"Expected "+function(e){let t=e.map(o);if(t.sort(),t.length>0){let e=1;for(let r=1;r<t.length;r++)t[r-1]!==t[r]&&(t[e]=t[r],e++);t.length=e}switch(t.length){case 1:return t[0];case 2:return t[0]+" or "+t[1];default:return t.slice(0,-1).join(", ")+", or "+t[t.length-1]}}(e)+" but "+function(e){return e?'"'+i(e)+'"':"end of input"}(t)+" found."}}function u(e){if(!e||0===e.length)return null;if("string"==typeof e){let t=c(e);return t&&0!==t.length?t:null}let t=e.map(e=>{if(!Number.isFinite(e.scale)||e.scale<=0)throw new a.A("effect:invalid-scale","scale must be finite and greater than 0",{stop:e});return{scale:e.scale,effects:c(e.value)}});t.sort((e,t)=>t.effects.length-e.effects.length);for(let e=0;e<t.length-1;e++){if(!(0,s.mj)(t[e].effects,t[e+1].effects))throw new a.A("effect:interpolation-impossible","Cannot interpolate by scale between 2 lists of mixed effects",{a:t[e].effects,b:t[e+1].effects});(0,s.O9)(t[e].effects,t[e+1].effects)}return t.sort((e,t)=>t.scale-e.scale),t}function c(e){let t;if(!e)return[];try{t=function(e,t){let r,a={},n=(t=void 0===t?{}:t).grammarSource,i={start:le},l=le,s="none",u="grad",c="turn",d=/^[ \t\n\r]/,p=/^[a-z\-]/,f=/^[0-9a-fA-F]/,y=/^[+\-]/,h=/^[0-9]/,m=re("none"),g=ee("none",!1),v=ee(")",!1),w=ee(",",!1),b=te([" ","\t","\n","\r"],!1,!1,!1),L=re("function"),A=ee("(",!1),S=re("identifier"),I=te([["a","z"],"-"],!1,!1,!1),C=re("percentage"),M=ee("%",!1),P=re("length"),x=ee("px",!1),_=ee("cm",!1),T=ee("mm",!1),E=ee("in",!1),F=ee("pt",!1),k=ee("pc",!1),N=re("angle"),$=ee("deg",!1),O=ee("rad",!1),G=ee("grad",!1),U=ee("turn",!1),R=re("number"),H=re("color"),D=ee("#",!1),j=te([["0","9"],["a","f"],["A","F"]],!1,!1,!1),K=te(["+","-"],!1,!1,!1),V=te([["0","9"]],!1,!1,!1),Z=ee(".",!1),q=ee("e",!1),W=0|t.peg$currPos,B=W,J=[{line:1,column:1}],Y=W,z=t.peg$maxFailExpected||[],X=0|t.peg$silentFails;if(t.startRule){if(!(t.startRule in i))throw Error("Can't start parsing from rule \""+t.startRule+'".');l=i[t.startRule]}function Q(){return e.substring(B,W)}function ee(e,t){return{type:"literal",text:e,ignoreCase:t}}function te(e,t,r,a){return{type:"class",parts:e,inverted:t,ignoreCase:r,unicode:a}}function re(e){return{type:"other",description:e}}function ae(t){let r,a=J[t];if(a)return a;if(t>=J.length)r=J.length-1;else for(r=t;!J[--r];);for(a=J[r],a={line:a.line,column:a.column};r<t;)10===e.charCodeAt(r)?(a.line++,a.column=1):a.column++,r++;return J[t]=a,a}function ne(e,t,r){let a=ae(e),i=ae(t);return{source:n,start:{offset:e,line:a.line,column:a.column},end:{offset:t,line:i.line,column:i.column}}}function ie(e){W<Y||(W>Y&&(Y=W,z=[]),z.push(e))}function le(){let e;return e=se(),e===a&&(e=function(){let e,t;if(e=[],t=oe(),t!==a)for(;t!==a;)e.push(t),t=oe();else e=a;return e}()),e}function se(){let t,r;return X++,t=W,ce(),e.substr(W,4)===s?(r=s,W+=4):(r=a,0===X&&ie(g)),r===a?(W=t,t=a):(ce(),B=t,t=[]),X--,t===a&&0===X&&ie(m),t}function oe(){let t,r,n,i;return t=W,ce(),r=function(){let t,r,n;return X++,t=W,r=de(),r===a?(W=t,t=a):(40===e.charCodeAt(W)?(n="(",W++):(n=a,0===X&&ie(A)),n===a?(W=t,t=a):(B=t,t=r)),X--,t===a&&(r=a,0===X&&ie(L)),t}(),r===a?(W=t,t=a):(ce(),n=function(){let t,r,n,i,l,s,o,u;if(t=W,r=ue(),r!==a){for(n=[],i=W,l=ce(),44===e.charCodeAt(W)?(s=",",W++):(s=a,0===X&&ie(w)),s===a&&(s=null),o=ce(),u=ue(),u===a?(W=i,i=a):(l=[l,s,o,u],i=l);i!==a;)n.push(i),i=W,l=ce(),44===e.charCodeAt(W)?(s=",",W++):(s=a,0===X&&ie(w)),s===a&&(s=null),o=ce(),u=ue(),u===a?(W=i,i=a):(l=[l,s,o,u],i=l);B=t,t=function(e,t){return t.length>0?function(e,t){return[e].concat(function(e){return e.map(function(e){return e[3]})}(t))}(e,t):[e]}(r,n)}else W=t,t=a;return t}(),n===a&&(n=null),ce(),41===e.charCodeAt(W)?(i=")",W++):(i=a,0===X&&ie(v)),i===a?(W=t,t=a):(ce(),B=t,t=function(e,t){return{type:"function",name:e,parameters:t||[]}}(r,n))),t}function ue(){let e,t;return e=W,t=pe(),t===a&&(t=fe(),t===a&&(t=ye(),t===a&&(t=function(){let e,t;return X++,e=W,ce(),t=me(),t===a?(W=e,e=a):(B=e,e=function(e){return{value:e,unit:null}}(t)),X--,e===a&&0===X&&ie(R),e}()))),t!==a&&(B=e,t=function(e){return{type:"quantity",value:e.value,unit:e.unit}}(t)),e=t,e===a&&(e=W,t=he(),t!==a&&(B=e,t=function(e){return{type:"color",colorType:e.type,value:e.value}}(t)),e=t),e}function ce(){let t,r;for(X++,t=[],r=e.charAt(W),d.test(r)?W++:(r=a,0===X&&ie(b));r!==a;)t.push(r),r=e.charAt(W),d.test(r)?W++:(r=a,0===X&&ie(b));return X--,t}function de(){let t,r,n;if(X++,t=W,r=[],n=e.charAt(W),p.test(n)?W++:(n=a,0===X&&ie(I)),n!==a)for(;n!==a;)r.push(n),n=e.charAt(W),p.test(n)?W++:(n=a,0===X&&ie(I));else r=a;return r!==a&&(B=t,r=Q()),t=r,X--,t===a&&(r=a,0===X&&ie(S)),t}function pe(){let t,r,n;return X++,t=W,ce(),r=me(),r===a?(W=t,t=a):(37===e.charCodeAt(W)?(n="%",W++):(n=a,0===X&&ie(M)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"%"}}(r))),X--,t===a&&0===X&&ie(C),t}function fe(){let t,r,n;return X++,t=W,ce(),r=me(),r===a?(W=t,t=a):("px"===e.substr(W,2)?(n="px",W+=2):(n=a,0===X&&ie(x)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"px"}}(r))),t===a&&(t=W,ce(),r=me(),r===a?(W=t,t=a):("cm"===e.substr(W,2)?(n="cm",W+=2):(n=a,0===X&&ie(_)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"cm"}}(r))),t===a&&(t=W,ce(),r=me(),r===a?(W=t,t=a):("mm"===e.substr(W,2)?(n="mm",W+=2):(n=a,0===X&&ie(T)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"mm"}}(r))),t===a&&(t=W,ce(),r=me(),r===a?(W=t,t=a):("in"===e.substr(W,2)?(n="in",W+=2):(n=a,0===X&&ie(E)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"in"}}(r))),t===a&&(t=W,ce(),r=me(),r===a?(W=t,t=a):("pt"===e.substr(W,2)?(n="pt",W+=2):(n=a,0===X&&ie(F)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"pt"}}(r))),t===a&&(t=W,ce(),r=me(),r===a?(W=t,t=a):("pc"===e.substr(W,2)?(n="pc",W+=2):(n=a,0===X&&ie(k)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"pc"}}(r)))))))),X--,t===a&&0===X&&ie(P),t}function ye(){let t,r,n;return X++,t=W,r=me(),r===a?(W=t,t=a):("deg"===e.substr(W,3)?(n="deg",W+=3):(n=a,0===X&&ie($)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"deg"}}(r))),t===a&&(t=W,r=me(),r===a?(W=t,t=a):("rad"===e.substr(W,3)?(n="rad",W+=3):(n=a,0===X&&ie(O)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"rad"}}(r))),t===a&&(t=W,r=me(),r===a?(W=t,t=a):(e.substr(W,4)===u?(n=u,W+=4):(n=a,0===X&&ie(G)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"grad"}}(r))),t===a&&(t=W,r=me(),r===a?(W=t,t=a):(e.substr(W,4)===c?(n=c,W+=4):(n=a,0===X&&ie(U)),n===a?(W=t,t=a):(B=t,t=function(e){return{value:e,unit:"turn"}}(r)))))),X--,t===a&&(r=a,0===X&&ie(N)),t}function he(){let t,r,n,i;if(X++,t=W,35===e.charCodeAt(W)?(r="#",W++):(r=a,0===X&&ie(D)),r!==a){if(n=[],i=e.charAt(W),f.test(i)?W++:(i=a,0===X&&ie(j)),i!==a)for(;i!==a;)n.push(i),i=e.charAt(W),f.test(i)?W++:(i=a,0===X&&ie(j));else n=a;n===a?(W=t,t=a):(B=t,t={type:"hex",value:Q()})}else W=t,t=a;return t===a&&(t=W,r=oe(),r!==a&&(B=t,r=function(e){return{type:"function",value:e}}(r)),t=r,t===a&&(t=W,r=de(),r!==a&&(B=t,r={type:"named",value:Q()}),t=r)),X--,t===a&&(r=a,0===X&&ie(H)),t}function me(){let t,r,n,i,l,s,o,u;for(t=W,r=e.charAt(W),y.test(r)?W++:(r=a,0===X&&ie(K)),r===a&&(r=null),n=W,i=[],l=e.charAt(W),h.test(l)?W++:(l=a,0===X&&ie(V));l!==a;)i.push(l),l=e.charAt(W),h.test(l)?W++:(l=a,0===X&&ie(V));if(46===e.charCodeAt(W)?(l=".",W++):(l=a,0===X&&ie(Z)),l!==a){if(s=[],o=e.charAt(W),h.test(o)?W++:(o=a,0===X&&ie(V)),o!==a)for(;o!==a;)s.push(o),o=e.charAt(W),h.test(o)?W++:(o=a,0===X&&ie(V));else s=a;s===a?(W=n,n=a):(i=[i,l,s],n=i)}else W=n,n=a;if(n===a)if(n=[],i=e.charAt(W),h.test(i)?W++:(i=a,0===X&&ie(V)),i!==a)for(;i!==a;)n.push(i),i=e.charAt(W),h.test(i)?W++:(i=a,0===X&&ie(V));else n=a;if(n!==a){if(i=W,101===e.charCodeAt(W)?(l="e",W++):(l=a,0===X&&ie(q)),l!==a){if(s=e.charAt(W),y.test(s)?W++:(s=a,0===X&&ie(K)),s===a&&(s=null),o=[],u=e.charAt(W),h.test(u)?W++:(u=a,0===X&&ie(V)),u!==a)for(;u!==a;)o.push(u),u=e.charAt(W),h.test(u)?W++:(u=a,0===X&&ie(V));else o=a;o===a?(W=i,i=a):(l=[l,s,o],i=l)}else W=i,i=a;i===a&&(i=null),B=t,t=parseFloat(Q())}else W=t,t=a;return t}r=l();let ge=r!==a&&W===e.length;function ve(){throw r!==a&&W<e.length&&ie({type:"end"}),function(e,t,r){return new o(o.buildMessage(e,t),e,t,r)}(z,Y<e.length?function(t=W){let r=e.codePointAt(t);return void 0===r?"":String.fromCodePoint(r)}(Y):null,Y<e.length?ne(Y,Y+1):ne(Y,Y))}return t.peg$library?{peg$result:r,peg$currPos:W,peg$FAILED:a,peg$maxFailExpected:z,peg$maxFailPos:Y,peg$success:ge,peg$throw:ge?void 0:ve}:ge?r:void ve()}(e)}catch(t){throw new a.A("effect:invalid-syntax","Invalid effect syntax",{value:e,error:t})}return t.map(e=>function(e){try{switch(e.name){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":return function(e){let t=1;return d(e.parameters,1),1===e.parameters.length&&(t=m(e.parameters[0])),new l.yG(e.name,t)}(e);case"opacity":return function(e){let t=1;return d(e.parameters,1),1===e.parameters.length&&(t=m(e.parameters[0])),new l.jm(t)}(e);case"hue-rotate":return function(e){let t=0;return d(e.parameters,1),1===e.parameters.length&&(t=function(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=y[e.unit]))throw new a.A("effect:type-error",`Expected <angle>, Actual: ${p(e)}`,{term:e})}(e),e.value*y[e.unit]||0}(e.parameters[0])),new l.Nd(t)}(e);case"blur":return function(e){let t=0;return d(e.parameters,1),1===e.parameters.length&&(t=g(e.parameters[0]),f(t,e.parameters[0])),new l.Fk(t)}(e);case"drop-shadow":return function(e){let t=[],r=null;for(let n of e.parameters)if("color"===n.type){if(t.length&&Object.freeze(t),r)throw new a.A("effect:type-error","Accepts only one color",{});r=v(n)}else{let e=g(n);if(Object.isFrozen(t))throw new a.A("effect:type-error","<length> parameters not consecutive",{lengths:t});t.push(e),3===t.length&&f(e,n)}if(t.length<2||t.length>3)throw new a.A("effect:type-error",`Expected <length>{2,3}, Actual: <length>{${t.length}}`,{lengths:t});return new l.$b(t[0],t[1],t[2]||0,r||w("black"))}(e);case"bloom":return function(e){let t=1,r=0,a=0;return d(e.parameters,3),e.parameters[0]&&(t=m(e.parameters[0])),e.parameters[1]&&(r=g(e.parameters[1]),f(r,e.parameters[1])),e.parameters[2]&&(a=m(e.parameters[2])),new l.bv(t,r,a)}(e)}}catch(t){throw t.details.filter=e,t}throw new a.A("effect:unknown-effect",`Effect '${e.name}' is not supported`,{effect:e})}(e))}function d(e,t){if(e.length>t)throw new a.A("effect:type-error",`Function supports up to ${t} parameters, Actual: ${e.length}`,{parameters:e})}function p(e){if("color"===e.type)return"<color>";if(e.unit){if(e.unit in h)return"<length>";if(e.unit in y)return"<angle>";if("%"===e.unit)return"<percentage>"}return"<double>"}function f(e,t){if(e<0)throw new a.A("effect:type-error",`Negative values are not allowed, Actual: ${e}`,{term:t})}const y={deg:1,grad:.9,rad:180/Math.PI,turn:360},h={px:1,cm:96/2.54,mm:96/2.54/10,in:96,pc:16,pt:96/72};function m(e){!function(e){if("quantity"!==e.type||null!==e.unit&&"%"!==e.unit)throw new a.A("effect:type-error",`Expected <double> or <percentage>, Actual: ${p(e)}`,{term:e})}(e);let t=e.value;return f(t,e),"%"===e.unit?.01*t:t}function g(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=h[e.unit]))throw new a.A("effect:type-error",`Expected <length>, Actual: ${p(e)}`,{term:e})}(e),e.value*h[e.unit]||0}function v(e){switch(e.colorType){case"hex":return(0,i.j5)(e.value);case"named":return w(e.value);case"function":return function(e){if(d(e.parameters,4),b.test(e.name))return[m(e.parameters[0]),m(e.parameters[1]),m(e.parameters[2]),e.parameters[3]?m(e.parameters[3]):1];if(L.test(e.name))return(0,i.ay)(function(e){return function(e){if("quantity"!==e.type||null!==e.unit)throw new a.A("effect:type-error",`Expected <double>, Actual: ${p(e)}`,{term:e})}(e),f(e.value,e),e.value}(e.parameters[0]),m(e.parameters[1]),m(e.parameters[2]),e.parameters[3]?m(e.parameters[3]):1);throw new a.A("effect:syntax-error",`Invalid color function '${e.name}'`,{colorFunction:e})}(e.value)}}function w(e){if(!(0,i.V6)(e))throw new a.A("effect:unknown-color",`color '${e}' isn't valid`,{namedColor:e});return(0,i.c4)(e)}const b=/^rgba?/i,L=/^hsla?/i;function A(e,t,r){try{return function(e){if(!e||0===e.length)return null;if(function(e){let t=e[0];return!!t&&"scale"in t}(e)){let t=[];for(let r of e)t.push({scale:r.scale,value:I(r.value)});return t}return I(e)}(e)}catch(e){r?.messages?.push(e)}return null}function S(e,t,r,a){try{let a=function(e){let t=u(e);return t?(0,s.dw)(t)?t.map(e=>e.toJSON()):t.map(({scale:e,effects:t})=>({scale:e,value:t.map(e=>e.toJSON())})):null}(e);(0,n.sM)(r,a,t)}catch(e){a.messages&&a.messages.push(e)}}function I(e){if(!e?.length)return"";let t=[];for(let r of e){let e=[];switch(r.type){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":case"opacity":e=[C(r,"amount")];break;case"blur":e=[C(r,"radius","pt")];break;case"hue-rotate":e=[C(r,"angle","deg")];break;case"drop-shadow":e=[C(r,"xoffset","pt"),C(r,"yoffset","pt"),C(r,"blurRadius","pt"),M(r,"color")];break;case"bloom":e=[C(r,"strength"),C(r,"radius","pt"),C(r,"threshold")]}let a=`${r.type}(${e.filter(Boolean).join(" ")})`;u(a),t.push(a)}return t.join(" ")}function C(e,t,r){if(null==e[t])throw new a.A("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});return r?e[t]+r:""+e[t]}function M(e,t){if(null==e[t])throw new a.A("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});let r=e[t];return`rgba(${r[0]||0}, ${r[1]||0}, ${r[2]||0}, ${r[3]/255||0})`}},63074(e,t,r){var a=r(32198),n=r(91429),i=r(89317),l=r(76369);const s={type:"average.color-burn.color-dodge.color.darken.destination-atop.destination-in.destination-out.destination-over.difference.exclusion.hard-light.hue.invert.lighten.lighter.luminosity.minus.multiply.normal.overlay.plus.reflect.saturation.screen.soft-light.source-atop.source-in.source-out.vivid-light.xor".split("."),nonNullable:!0,json:{read:!1,write:!1,origins:{"web-map":{read:!0,write:{layerContainerTypes:i.K}},"portal-item":{read:!0,write:{layerContainerTypes:i.K}}}}},o={read:{reader:l.LF},write:{allowNull:!0,writer:l.M9,layerContainerTypes:i.K}},u={json:{read:!1,write:!1,origins:{"web-map":o,"portal-item":o}}};r.d(t,["LF",0,u,"dM",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.blendMode="normal",this.effect=null}};return(0,a.Cg)([(0,n.MZ)(s)],r.prototype,"blendMode",void 0),(0,a.Cg)([(0,n.MZ)(u)],r.prototype,"effect",void 0),r=(0,a.Cg)([(0,n.$K)("esri.layers.mixins.BlendLayer")],r),r},"sU",0,s])},8303(e,t,r){var a=r(32198),n=r(92602),i=r(70333),l=r(56507),s=r(60999),o=r(49186),u=r(36563),c=r(53966),d=r(97768),p=r(17676),f=r(84952),y=r(91429),h=r(77548),m=r(20655),g=r(80812),v=r(41318),w=r(10407),b=r(26121),L=r(36005),A=r(43937);const S={credential:null,user:null};r.d(t,["A",0,e=>{let t=e,I=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,d.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{let{load:a}=await r.e(1204).then(()=>r(41204));return(0,p.Te)(t),await a({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,p.zf)(e)||c.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e,t){if(!this.loaded||!this.portalItem?.id)return!1;let a=t?.signal?null:new AbortController;try{let{reload:n}=await r.e(1204).then(()=>r(41204));return a&&this.addHandles((0,u.rE)(a),"reloadFromPortal"),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t?.signal?t:{signal:a.signal})}catch(e){throw(0,p.zf)(e)||c.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{a&&this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,p.QP)(e),!0)))}async setUserPrivileges(e,t){if(!n.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{let{features:{edit:r,fullEdit:a},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",a),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,p.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);let a,n,l=!i.id?.findCredential(this.url),s=e===r.id;if(s&&r.portal.user)return this._getUserPrivileges(r,l);if(s)a=r.portal.url;else try{a=await(0,h.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!a||!(0,f.b8)(a,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{let e=null==t?null:t.signal;n=await(i.id?.getCredential(`${a}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}if(!n)return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}};try{if(s?await r.reload():(r=new g.default({id:e,portal:{url:a}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,l)}catch(e){(0,p.QP)(e)}return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}}}_getUserPrivileges(e,t){let r=(0,w.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){let t=this.url?i.id?.findCredential(this.url):null;if(!t)return!0;let r=S.credential===t?S.user:await this._fetchEditingUser(e);return S.credential=t,S.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){let t=this.portalItem?.portal?.user;if(t)return t;let r=i.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;let a=`${r.owningSystemUrl}/sharing/rest`,n=m.A.getDefault();if(n&&n.loaded&&(0,f.S8)(n.restUrl)===(0,f.S8)(a))return n.user;let o=`${a}/community/self`,u=null==e?null:e.signal,c=await(0,s.Ke)((0,l.A)(o,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?v.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){return(0,b.wN)(this.portalItem,t)?(t?.messages?.push(new o.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,a.Cg)([(0,y.MZ)({type:g.default})],I.prototype,"portalItem",null),(0,a.Cg)([(0,L.w)("web-document","portalItem",["itemId"])],I.prototype,"readPortalItem",null),(0,a.Cg)([(0,A.K)("web-document","portalItem",{itemId:{type:String}})],I.prototype,"writePortalItem",null),(0,a.Cg)([(0,y.MZ)({clonable:!1})],I.prototype,"resourceReferences",void 0),(0,a.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasEditingPrivileges",void 0),(0,a.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasFullEditingPrivileges",void 0),(0,a.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasUpdateItemPrivileges",void 0),I=(0,a.Cg)([(0,y.$K)("esri.layers.mixins.PortalLayer")],I),I}])},25036(e,t,r){var a=r(32198),n=r(91429),i=r(83960);r.d(t,["j",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){let e={minScale:this.minScale,maxScale:this.maxScale},t=this.parent;void 0!==t?.effectiveScaleRange&&(0,i.RH)(e,t.effectiveScaleRange);let r=this._get("effectiveScaleRange");return r&&r.minScale===e.minScale&&r.maxScale===e.maxScale?r:e}};return(0,a.Cg)([(0,n.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"minScale",void 0),(0,a.Cg)([(0,n.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"maxScale",void 0),(0,a.Cg)([(0,n.MZ)({readOnly:!0})],r.prototype,"effectiveScaleRange",null),r=(0,a.Cg)([(0,n.$K)("esri.layers.mixins.ScaleRangeLayer")],r),r}])},22429(e,t,r){r.d(t,{v:()=>n});var a=r(7861);class n{constructor(){this._serviceMetadatas=new Map,this._itemDatas=new Map}async fetchServiceMetadata(e,t){let r=this._serviceMetadatas.get(e);if(r)return r;let n=await(0,a.L)(e,t);return this._serviceMetadatas.set(e,n),n}async fetchItemData(e){let{id:t}=e;if(!t)return null;let{_itemDatas:r}=this;if(r.has(t))return r.get(t);let a=await e.fetchData();return r.set(t,a),a}async fetchCustomParameters(e,t){let r=await this.fetchItemData(e);return r&&"object"==typeof r&&(t?t(r):r.customParameters)||null}}},75356(e,t,r){r.d(t,{N:()=>m,populateOperationalLayers:()=>p});var a=r(7762),n=r(44208),i=r(22429),l=r(2976),s=r(6345),o=r(80812);function u(e,t){return!(!e.layerType||"ArcGISFeatureLayer"!==e.layerType)&&e.featureCollectionType===t}var c=r(45613),d=r(8947);async function p(e,t,r){if(!t)return;let a=t.map(e=>async function(e,t){return async function(e,t,r){let a=new e;return a.read(t,r.context),"group"===a.type&&("GroupLayer"===t.layerType?await m(a,t,r):h(t)?function(e,t,r){t.itemId&&(e.portalItem=new o.default({id:t.itemId,portal:r?.portal}),e.when(()=>{let a=a=>{let n=a.layerId;g(a,e,t,n,r);let i=t.featureCollection?.layers?.[n];i&&a.read(i,r)};e.layers?.forEach(a),e.tables?.forEach(a)}))}(a,t,r.context):y(t)&&await async function(e,t,r){let a=l.U.FeatureLayer,n=await a(),i=t.featureCollection,s=i?.showLegend,o=i?.layers?.map((a,i)=>{let l=new n;l.read(a,r);let o={...r,ignoreDefaults:!0};return g(l,e,t,i,o),null!=s&&l.read({showLegend:s},o),l});e.layers.addMany(o??[])}(a,t,r.context)),await(0,d.L)(a,r.context),a}(await f(e,t),e,t)}(e,r)),n=await Promise.allSettled(a);for(let t of n)"rejected"===t.status||t.value&&e.add(t.value)}async function f(e,t){let r=t.context,a=(e.layerType||e.type)??t.defaultLayerType;switch(a){case"Feature Collection":case"ArcGISFeatureLayer":if(function(e){return u(e,"notes")}(e)||function(e){return u(e,"markup")}(e))return(0,n.A)("sketch-layer-enabled")?l.U.SketchLayer():l.U.MapNotesLayer();if(function(e){return u(e,"route")}(e))return l.U.RouteLayer();if(h(e)){let t=r?.portal;if(e.itemId){let r=new o.default({id:e.itemId,portal:t});await r.load();let a=(await(0,c.n)(r,new i.v)).className||"UnknownLayer";return l.U[a]()}return l.U.UnknownLayer()}return y(e)?l.U.GroupLayer():l.U.FeatureLayer();case"WebTiledLayer":return e.wmtsInfo?.url&&e.wmtsInfo.layerIdentifier?l.U.WMTSLayer():l.U.WebTileLayer();case"WFS":return"2.0.0"===e.wfsInfo?.version?l.U.WFSLayer():l.U.UnsupportedLayer();default:{let e=(0,s.VH)(r,a);return(0,l.U[e])()}}}function y(e){return"ArcGISFeatureLayer"===e.layerType&&!h(e)&&(e.featureCollection?.layers?.length??0)>1}function h(e){return"Feature Collection"===e.type}async function m(e,t,r){let n=new a.A,i=p(n,Array.isArray(t.layers)?t.layers:[],r);try{try{if(await i,"group"===e.type)return e.layers.addMany(n),e}catch(t){e.destroy();for(let e of n)e.destroy();throw t}}catch(e){throw e}}function g(e,t,r,a,n){e.read({id:`${t.id}-sublayer-${a}`,visibility:r.visibleLayers?.includes(a)??!0},n)}},66964(e,t,r){r.d(t,{Ju:()=>g,K8:()=>A,XH:()=>v,Y5:()=>m,_r:()=>s,bO:()=>u,l:()=>L,nu:()=>S,pJ:()=>c,rc:()=>d});var a=r(60694),n=r(92009),i=r(23154),l=r(77548);function s(e,t){let{id:r,name:a}=e,n={id:r,name:a};return o(n,e,t),n}function o(e,t,r){let a=(0,i.Aq)(t.type,r);a&&(e.layerType=a)}async function u(e,t,r){let a,n;if(function(e){return!!e&&Array.isArray(e.layers)&&Array.isArray(e.tables)}(e)&&p(e))n=e;else{let i=await r.fetchServiceMetadata(t,{customParameters:c(e)?.customParameters});a=(0,l.G$)(),n=f(e,i),y(n,i)}return h(n),{data:n,preferredHost:a}}function c(e){if(!e)return null;let{layers:t,tables:r}=e;return t?.[0]??r?.[0]??null}function d(e,t){return null==t?null:[...e.layers??[],...e.tables??[]].find(e=>e.id===t)}function p(e){return[...e.layers??[],...e.tables??[]].every(e=>!!e.layerType)}function f(e,t){return{...e,layers:e?.layers??t.layers?.map(e=>s(e))??[],tables:e?.tables??t.tables?.map(e=>s(e,!0))??[]}}function y(e,t){let r=e.layers??[],a=e.tables??[],n=[...t.layers??[],...t.tables??[]];for(let e of[...r,...a]){let{id:t,layerType:r}=e;if(r)continue;let i=n.find(({id:e})=>e===t);i&&o(e,i,a.includes(e))}}function h(e){e.layers=e.layers?.filter(b),e.tables=e.tables?.filter(b)}async function m(e,t,r){if(e?.layers?.length||e?.tables?.length){if(!p(e)){let n=(0,a.qg)(t)?.url.path;if(!n)return;y(e,await r.fetchServiceMetadata(n,{customParameters:c(e)?.customParameters}))}h(e)}}function g(e,t){return[...e.layers??[],...e.tables??[]].filter(({layerType:e})=>e?t.includes(e):t.includes("ArcGISFeatureLayer"))}function v(e){return(e?.layers?.length??0)+(e?.tables?.length??0)}const w=new Set(["ArcGISAnnotationLayer","ArcGISDimensionLayer","ArcGISFeatureLayer","CatalogLayer","OrientedImageryLayer","SubtypeGroupLayer","SubtypeGroupTable","Table"]);function b(e){return!!e.layerType&&w.has(e.layerType)}function L(e){switch(e){case"annotation-feature":return["ArcGISAnnotationLayer"];case"catalog":return["CatalogLayer"];case"dimension-feature":return["ArcGISDimensionLayer"];case"feature":return["ArcGISFeatureLayer","Table"];case"oriented-imagery":return["OrientedImageryLayer"];case"subtype-group":return["SubtypeGroupLayer","SubtypeGroupTable"]}return null}function A(e){switch(e){case"ArcGISAnnotationLayer":return"AnnotationFeatureLayer";case"ArcGISDimensionLayer":return"DimensionFeatureLayer";case"ArcGISFeatureLayer":case"Table":return"FeatureLayer";case"CatalogLayer":return"CatalogLayer";case"OrientedImageryLayer":return"OrientedImageryLayer";case"SubtypeGroupLayer":case"SubtypeGroupTable":return"SubtypeGroupLayer"}return null}async function S(e,t,r){if(!e?.url)return t??{};if(t??={},!t.layers){let a=await r.fetchServiceMetadata(e.url);t.layers=a.layers?.map(e=>s(e))}let{serverUrl:a,portalItem:i}=await(0,n.L)(e.url,{sceneLayerItem:e,customParameters:c(t)?.customParameters}).catch(()=>({serverUrl:null,portalItem:null}));if(null==a)return t.tables=[],t;if(!t.tables&&i){let e=await i.fetchData().catch(()=>null);if(e?.tables)t.tables=e.tables.map(({id:e,name:t})=>({id:e,name:t}));else{let n=await r.fetchServiceMetadata(a,{customParameters:c(e)?.customParameters}).catch(()=>null);t.tables=n?.tables?.map(e=>s(e,!0))}}if(t.tables)for(let e of t.tables)e.url=`${a}/${e.id}`;return t}},10407(e,t,r){r.d(t,{It:()=>f,LG:()=>l,OM:()=>u,Sm:()=>c,Y:()=>s,bK:()=>o,sQ:()=>d});var a=r(99917),n=r(16930),i=r(28735);function l(e,t){if(!s(e,t)){let r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function s(e,t){return!!e.typeKeywords?.includes(t)}function o(e){return s(e,p.HOSTED_SERVICE)}function u(e,t){let r=e.typeKeywords;if(r){let e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?l(e,t):u(e,t)}async function d(e){let t,r=e.clone().normalize();if(r.length>1)for(let e of r)t?e.width>t.width&&(t=e):t=e;else t=r[0];return async function(e){let t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,i.ci)(e);let r=n.A.WGS84;return await(0,a.initializeProjection)(t,r),(0,a.project)(e,r)}(t)}const p={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function f(e){let{portal:t,isOrgItem:r,itemControl:a}=e,n=t.user?.privileges,i=!n||n.includes("features:user:edit"),l=!!r&&!!n?.includes("features:user:fullEdit"),s="update"===a||"admin"===a;return s?l=i=!0:l&&(i=!0),{features:{edit:i,fullEdit:l},content:{updateItem:s}}}r.d(t,["mm",0,p])},45613(e,t,r){r.d(t,{fromItem:()=>f,n:()=>y});var a=r(49186),n=r(44208),i=r(92009),l=r(23154),s=r(22429),o=r(2976),u=r(77548),c=r(80812),d=r(66964),p=r(10407);async function f(e){let{portalItem:t}=e;t&&!(t instanceof c.default)&&(t=new c.default(t));let r=await async function(e){return await e.load(),async function(e){let t=e.className,r=o.U[t];return{constructor:await r(),properties:e.properties}}(await y(e,new s.v))}(t);return new(0,r.constructor)({portalItem:t,...r.properties})}async function y(e,t){switch(e.type){case"3DTiles Service":return e.typeKeywords.includes("3DObject")?{className:"UnsupportedLayer"}:e.typeKeywords.includes("GaussianSplat")?{className:"GaussianSplatLayer"}:{className:"IntegratedMesh3DTilesLayer"};case"CSV":return{className:"CSVLayer"};case"Feature Collection":return async function(e){await e.load();let t=(0,p.Y)(e,"Map Notes"),r=(0,p.Y)(e,"Markup");if(t||r)return{className:(0,n.A)("sketch-layer-enabled")?"SketchLayer":"MapNotesLayer"};if((0,p.Y)(e,"Route Layer"))return{className:"RouteLayer"};let a=await e.fetchData();return 1===(0,d.XH)(a)?{className:"FeatureLayer"}:{className:"GroupLayer"}}(e);case"Feature Service":return async function(e,t){let r=await h(e,t);if("object"==typeof r){let{sourceJSON:e,className:t}=r,a={sourceJSON:e};return null!=r.id&&(a.layerId=r.id),{className:t||"FeatureLayer",properties:a}}return{className:"GroupLayer"}}(e,t);case"Feed":case"Stream Service":return{className:"StreamLayer"};case"GeoJson":return{className:"GeoJSONLayer"};case"Group Layer":return{className:"GroupLayer"};case"Image Service":return async function(e,t){await e.load();let r=e.typeKeywords?.map(e=>e.toLowerCase())??[];if(r.includes("elevation 3d layer"))return{className:"ElevationLayer"};if(r.includes("tiled imagery"))return{className:"ImageryTileLayer"};let a=(await t.fetchItemData(e))?.layerType;if("ArcGISTiledImageServiceLayer"===a)return{className:"ImageryTileLayer"};if("ArcGISImageServiceLayer"===a)return{className:"ImageryLayer"};let n=await t.fetchServiceMetadata(e.url,{customParameters:await t.fetchCustomParameters(e)}),i=n.cacheType?.toLowerCase(),l=n.capabilities?.toLowerCase().includes("tilesonly"),s=n.tileInfo?.format?.toLowerCase()??"",o=null==i&&["jpg","jpeg","png","png8","png24","png32","mixed"].includes(s);return"map"===i||o||l?{className:"ImageryTileLayer"}:{className:"ImageryLayer"}}(e,t);case"KML":return{className:"KMLLayer"};case"Knowledge Graph Layer":return{className:"KnowledgeGraphLayer"};case"Map Service":return async function(e,t){return await async function(e,t){let{tileInfo:r}=await t.fetchServiceMetadata(e.url,{customParameters:await t.fetchCustomParameters(e)});return r}(e,t)?{className:"TileLayer"}:{className:"MapImageLayer"}}(e,t);case"Media Layer":return{className:"MediaLayer"};case"Parquet Feature Layer":return{className:"ParquetLayer"};case"Scene Service":return async function(e,t){let r=await h(e,t,async()=>{try{if(!e.url)return[];let{serverUrl:r}=await(0,i.L)(e.url,{sceneLayerItem:e});return(await t.fetchServiceMetadata(r))?.tables??[]}catch{return[]}});if("object"==typeof r){let a,n={};if(null==r.id?a=e.url:(n.layerId=r.id,a=`${e.url}/layers/${r.id}`),e.typeKeywords?.length)for(let t of Object.keys(u.XX))if(e.typeKeywords.includes(t))return{className:u.XX[t]};let i=await t.fetchServiceMetadata(a,{customParameters:await t.fetchCustomParameters(e,e=>(0,d.pJ)(e)?.customParameters)});return{className:u.XX[i?.layerType]||"SceneLayer",properties:n}}return!1===r&&"Voxel"===(await t.fetchServiceMetadata(e.url))?.layerType?{className:"VoxelLayer"}:{className:"GroupLayer"}}(e,t);case"Video Service":return async function(e,t){return"object"==typeof await h(e,t)?{className:"VideoLayer"}:{className:"GroupLayer"}}(e,t);case"Vector Tile Service":return{className:"VectorTileLayer"};case"WCS":return{className:"WCSLayer"};case"WFS":return{className:"WFSLayer"};case"WMS":return{className:"WMSLayer"};case"WMTS":return{className:"WMTSLayer"};default:throw new a.A("portal:unknown-item-type","Unknown item type '${type}'",{type:e.type})}}async function h(e,t,r){let{url:n,type:i}=e,s="Feature Service"===i;if(!n)return{};if(/\/\d+$/.test(n)){if(s){let r=await t.fetchServiceMetadata(n,{customParameters:await t.fetchCustomParameters(e,e=>(0,d.pJ)(e)?.customParameters)});(0,u.Gh)(e,(0,u.G$)());let{id:i,type:s}=r,o=(0,l.Jo)(s);if(!o)throw new a.A("from-portal-item:unsupported",`'${n}' has unsupported type: '${s}'`);return{id:i,className:o,sourceJSON:r}}return{}}if("Video Service"===i)return!(((await t.fetchServiceMetadata(n)).layers?.length??0)>1)&&{};await e.load();let o=await t.fetchItemData(e);if(s){let{data:r,preferredHost:i}=await(0,d.bO)(o,n,t);if(0===(0,d.XH)(r))throw new a.A("from-portal-item:no-data",`The feature service '${n}' does not have any supported layers or tables`);(0,u.Gh)(e,i);let l=m(r);if("object"==typeof l){let e=(0,d.rc)(r,l.id);return{id:l.id,className:(0,d.K8)(e?.layerType)}}return l}if("Scene Service"===i&&(o=await(0,d.nu)(e,o,t)),(0,d.XH)(o)>0)return m(o);let c=await t.fetchServiceMetadata(n);return r&&(c.tables=await r()),m(c)}function m(e){return 1===(0,d.XH)(e)&&{id:(0,d.pJ)(e)?.id}}},8947(e,t,r){r.d(t,{L:()=>l});var a=r(60999),n=r(17676),i=r(67076);async function l(e,t,r){let l=e&&e.getAtOrigin&&e.getAtOrigin("renderer",t.origin);if(l&&"unique-value"===l.type&&l.styleOrigin){let s=await(0,a.Ke)(l.populateFromStyle());if((0,n.Te)(r),!1===s.ok){let r=s.error;t?.messages&&t.messages.push(new i.A("renderer:style-reference",`Failed to create unique value renderer from style reference: ${r.message}`,{error:r,context:t})),e.clear("renderer",t?.origin)}}}},78553(e,t,r){r.d(t,{D:()=>i,p:()=>n});var a=r(78888);function n(e){let t=(0,a.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function i(e){let t=1-e/100;return Math.max(0,Math.min(t,1))}},26121(e,t,r){r.d(t,{I6:()=>c,ci:()=>u,dL:()=>o,wN:()=>d});var a=r(49186),n=r(84952),i=r(77548),l=r(20655),s=r(59923);async function o(e){let t=[];for(let r of e.allLayers)if("beforeSave"in r&&"function"==typeof r.beforeSave){let e=r.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}function u(e,t,r){let n=(e.messages??[]).filter(({type:e})=>"error"===e).map(({name:e,message:t,details:r})=>new a.A(e,t,r));if(e.blockedRelativeUrls&&(n=n.concat(e.blockedRelativeUrls.map(e=>(0,s.GL)("url",`Relative url '${e}' is not supported`)))),r){let{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:a}=r;e&&(n=n.filter(({name:e})=>!(s.MG.has(e)||t.includes(e)))),a&&(n=n.filter(e=>"web-document-write:property-required"!==e.name))}if(n.length>0)throw new a.A(t.errorName,"Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:n})}function c(e){return(0,i.qd)(e).some(e=>!!e.charts?.length)}function d(e,t){let r=t?.portal,a=e?.id&&(e.portal||l.A.getDefault());return!!r&&!!a&&!(0,n.ut)(a.restUrl,r.restUrl)}},751(e,t,r){r.d(t,{CJ:()=>y});var a=r(4718),n=r(93637),i=r(67124),l=r(77548),s=r(59923);const o=new Set(["bing-maps","imagery","imagery-tile","map-image","open-street-map","tile","unknown","unsupported","vector-tile","web-tile","wcs","wms","wmts"]),u=new Set(["integrated-mesh-3dtiles"]),c=new Set("annotation-feature.catalog.csv.dimension-feature.feature.geo-rss.geojson.group.imagery.imagery-tile.kml.knowledge-graph.map-image.map-notes.media.ogc-feature.oriented-imagery.parquet.route.sketch.stream.subtype-group.tile.unknown.unsupported.vector-tile.video.web-tile.wcs.wfs.wms.wmts".split(".")),d=new Set([...c,"link-chart"]);function p(e,t){if(t.restrictedWebMapWriting){let r=function(e){switch(e.layerContainerType){case"basemap-base-layers":return o;case"basemap-ground-layers":return u;case"operational-layers":return"link-chart"===e.origin?d:c;default:return null}}(t);return null==r||r.has(e.type)&&!(0,l.Ov)(e)}return!0}function f(e,t){"maxScale"in e&&(t.maxScale=(0,i.B)(e.maxScale)??void 0),"minScale"in e&&(t.minScale=(0,i.B)(e.minScale)??void 0)}function y(e,t,r){if(!e.persistenceEnabled)return null;if(!("write"in e)||!e.write)return(0,s.U4)(r,e),null;if((0,l.Ov)(e)&&!e.isTable)t=e.resourceInfo;else if(p(e,r)){let t={};return e.write(t,r)?t:null}return null!=t&&function(e,t){if(function(e,t){if(t)if((0,l.Ov)(e)){let r=(0,n.wc)("featureCollection.layers",t)?.[0]?.layerDefinition;r&&f(e,r)}else"group"!==e.type&&f(e,t)}(e,t),t&&(t.id=e.id,"blendMode"in e&&(t.blendMode=e.blendMode,"normal"===t.blendMode&&delete t.blendMode),t.opacity=(0,i.B)(e.opacity)??void 0,t.title=e.title||"Layer",t.visibility=e.visible,"legendEnabled"in e&&"wmts"!==e.type))if((0,l.Ov)(e)){let r=t.featureCollection;r&&(r.showLegend=e.legendEnabled)}else t.showLegend=e.legendEnabled}(e,t=(0,a.o8)(t)),t}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9894],{60999(e,t,r){r.d(t,{DZ:()=>m,Ke:()=>h,QA:()=>d,Tj:()=>c,UT:()=>g,aD:()=>v,jJ:()=>s});var n=r(32198),a=r(69622),o=r(97768),l=r(17676),u=r(10107),i=r(64108);function s(e,t,r){return(0,l.Lx)(e.map((e,n)=>t.apply(r,[e,n])))}async function c(e,t,r){return(await(0,l.Lx)(e.map((e,n)=>t.apply(r,[e,n])))).map(e=>e.value)}function f(e){return{ok:!0,value:e}}function p(e){return{ok:!1,error:e}}async function h(e){if(null==e)return{ok:!1,error:Error("no promise provided")};try{return f(await e)}catch(e){return p(e)}}async function m(e){try{return f(await e)}catch(e){return(0,l.QP)(e),p(e)}}function d(e){if(!0===e.ok)return e.value;throw e.error}function g(e,t){return new y(e,t)}let y=class extends a.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,o.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=f(e),this._cleanup()},e=>{this._result=p(e),this._cleanup()}),this._abortHandle=(0,l.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,o.xt)(this._abortHandle),this._abortController=null}};(0,n.Cg)([(0,u.MZ)()],y.prototype,"value",null),(0,n.Cg)([(0,u.MZ)()],y.prototype,"error",null),(0,n.Cg)([(0,u.MZ)()],y.prototype,"finished",null),(0,n.Cg)([(0,u.MZ)()],y.prototype,"promise",void 0),(0,n.Cg)([(0,u.MZ)()],y.prototype,"_result",void 0),y=(0,n.Cg)([(0,i.$)("esri.core.asyncUtils.ReactiveTask")],y);class v{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});let t=await e;return{[Symbol.dispose]:t}}async run(e){let t={stack:[],error:void 0,hasError:!1};try{return(0,n.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}}},76369(e,t,r){r.d(t,{LF:()=>x,M9:()=>C});var n=r(49186),a=r(93637),o=r(40876),l=r(59247),u=r(27865);class i extends SyntaxError{constructor(e,t,r,n){super(e),this.expected=t,this.found=r,this.location=n,this.name="SyntaxError"}format(e){let t="Error: "+this.message;if(this.location){let r=null,n=e.find(e=>e.source===this.location.source);n&&(r=n.text.split(/\r\n|\n|\r/g));let a=this.location.start,o=this.location.source&&"function"==typeof this.location.source.offset?this.location.source.offset(a):a,l=this.location.source+":"+o.line+":"+o.column;if(r){let e=this.location.end,n="".padEnd(o.line.toString().length," "),u=r[a.line-1],i=(a.line===e.line?e.column:u.length+1)-a.column||1;t+="\n --\x3e "+l+"\n"+n+" |\n"+o.line+" | "+u+"\n"+n+" | "+"".padEnd(a.column-1," ")+"".padEnd(i,"^")}else t+="\n at "+l}return t}static buildMessage(e,t){function r(e){return e.codePointAt(0).toString(16).toUpperCase()}let n=Object.prototype.hasOwnProperty.call(RegExp.prototype,"unicode")?RegExp("[\\p{C}\\p{Mn}\\p{Mc}]","gu"):null;function a(e){return n?e.replace(n,e=>"\\u{"+r(e)+"}"):e}function o(e){return a(e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,e=>"\\x0"+r(e)).replace(/[\x10-\x1F\x7F-\x9F]/g,e=>"\\x"+r(e)))}function l(e){return a(e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,e=>"\\x0"+r(e)).replace(/[\x10-\x1F\x7F-\x9F]/g,e=>"\\x"+r(e)))}let u={literal:e=>'"'+o(e.text)+'"',class(e){let t=e.parts.map(e=>Array.isArray(e)?l(e[0])+"-"+l(e[1]):l(e));return"["+(e.inverted?"^":"")+t.join("")+"]"+(e.unicode?"u":"")},any:()=>"any character",end:()=>"end of input",other:e=>e.description};function i(e){return u[e.type](e)}return"Expected "+function(e){let t=e.map(i);if(t.sort(),t.length>0){let e=1;for(let r=1;r<t.length;r++)t[r-1]!==t[r]&&(t[e]=t[r],e++);t.length=e}switch(t.length){case 1:return t[0];case 2:return t[0]+" or "+t[1];default:return t.slice(0,-1).join(", ")+", or "+t[t.length-1]}}(e)+" but "+function(e){return e?'"'+o(e)+'"':"end of input"}(t)+" found."}}function s(e){if(!e||0===e.length)return null;if("string"==typeof e){let t=c(e);return t&&0!==t.length?t:null}let t=e.map(e=>{if(!Number.isFinite(e.scale)||e.scale<=0)throw new n.A("effect:invalid-scale","scale must be finite and greater than 0",{stop:e});return{scale:e.scale,effects:c(e.value)}});t.sort((e,t)=>t.effects.length-e.effects.length);for(let e=0;e<t.length-1;e++){if(!(0,u.mj)(t[e].effects,t[e+1].effects))throw new n.A("effect:interpolation-impossible","Cannot interpolate by scale between 2 lists of mixed effects",{a:t[e].effects,b:t[e+1].effects});(0,u.O9)(t[e].effects,t[e+1].effects)}return t.sort((e,t)=>t.scale-e.scale),t}function c(e){let t;if(!e)return[];try{t=function(e,t){let r,n={},a=(t=void 0===t?{}:t).grammarSource,o={start:le},l=le,u="none",s="grad",c="turn",f=/^[ \t\n\r]/,p=/^[a-z\-]/,h=/^[0-9a-fA-F]/,m=/^[+\-]/,d=/^[0-9]/,g=re("none"),y=ee("none",!1),v=ee(")",!1),w=ee(",",!1),A=te([" ","\t","\n","\r"],!1,!1,!1),b=re("function"),x=ee("(",!1),C=re("identifier"),E=te([["a","z"],"-"],!1,!1,!1),S=re("percentage"),M=ee("%",!1),_=re("length"),R=ee("px",!1),$=ee("cm",!1),L=ee("mm",!1),P=ee("in",!1),T=ee("pt",!1),F=ee("pc",!1),I=re("angle"),k=ee("deg",!1),O=ee("rad",!1),j=ee("grad",!1),N=ee("turn",!1),D=re("number"),G=re("color"),K=ee("#",!1),Y=te([["0","9"],["a","f"],["A","F"]],!1,!1,!1),Z=te(["+","-"],!1,!1,!1),U=te([["0","9"]],!1,!1,!1),q=ee(".",!1),B=ee("e",!1),H=0|t.peg$currPos,z=H,V=[{line:1,column:1}],J=H,W=t.peg$maxFailExpected||[],Q=0|t.peg$silentFails;if(t.startRule){if(!(t.startRule in o))throw Error("Can't start parsing from rule \""+t.startRule+'".');l=o[t.startRule]}function X(){return e.substring(z,H)}function ee(e,t){return{type:"literal",text:e,ignoreCase:t}}function te(e,t,r,n){return{type:"class",parts:e,inverted:t,ignoreCase:r,unicode:n}}function re(e){return{type:"other",description:e}}function ne(t){let r,n=V[t];if(n)return n;if(t>=V.length)r=V.length-1;else for(r=t;!V[--r];);for(n=V[r],n={line:n.line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return V[t]=n,n}function ae(e,t,r){let n=ne(e),o=ne(t);return{source:a,start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:o.line,column:o.column}}}function oe(e){H<J||(H>J&&(J=H,W=[]),W.push(e))}function le(){let e;return e=ue(),e===n&&(e=function(){let e,t;if(e=[],t=ie(),t!==n)for(;t!==n;)e.push(t),t=ie();else e=n;return e}()),e}function ue(){let t,r;return Q++,t=H,ce(),e.substr(H,4)===u?(r=u,H+=4):(r=n,0===Q&&oe(y)),r===n?(H=t,t=n):(ce(),z=t,t=[]),Q--,t===n&&0===Q&&oe(g),t}function ie(){let t,r,a,o;return t=H,ce(),r=function(){let t,r,a;return Q++,t=H,r=fe(),r===n?(H=t,t=n):(40===e.charCodeAt(H)?(a="(",H++):(a=n,0===Q&&oe(x)),a===n?(H=t,t=n):(z=t,t=r)),Q--,t===n&&(r=n,0===Q&&oe(b)),t}(),r===n?(H=t,t=n):(ce(),a=function(){let t,r,a,o,l,u,i,s;if(t=H,r=se(),r!==n){for(a=[],o=H,l=ce(),44===e.charCodeAt(H)?(u=",",H++):(u=n,0===Q&&oe(w)),u===n&&(u=null),i=ce(),s=se(),s===n?(H=o,o=n):(l=[l,u,i,s],o=l);o!==n;)a.push(o),o=H,l=ce(),44===e.charCodeAt(H)?(u=",",H++):(u=n,0===Q&&oe(w)),u===n&&(u=null),i=ce(),s=se(),s===n?(H=o,o=n):(l=[l,u,i,s],o=l);z=t,t=function(e,t){return t.length>0?function(e,t){return[e].concat(function(e){return e.map(function(e){return e[3]})}(t))}(e,t):[e]}(r,a)}else H=t,t=n;return t}(),a===n&&(a=null),ce(),41===e.charCodeAt(H)?(o=")",H++):(o=n,0===Q&&oe(v)),o===n?(H=t,t=n):(ce(),z=t,t=function(e,t){return{type:"function",name:e,parameters:t||[]}}(r,a))),t}function se(){let e,t;return e=H,t=pe(),t===n&&(t=he(),t===n&&(t=me(),t===n&&(t=function(){let e,t;return Q++,e=H,ce(),t=ge(),t===n?(H=e,e=n):(z=e,e=function(e){return{value:e,unit:null}}(t)),Q--,e===n&&0===Q&&oe(D),e}()))),t!==n&&(z=e,t=function(e){return{type:"quantity",value:e.value,unit:e.unit}}(t)),e=t,e===n&&(e=H,t=de(),t!==n&&(z=e,t=function(e){return{type:"color",colorType:e.type,value:e.value}}(t)),e=t),e}function ce(){let t,r;for(Q++,t=[],r=e.charAt(H),f.test(r)?H++:(r=n,0===Q&&oe(A));r!==n;)t.push(r),r=e.charAt(H),f.test(r)?H++:(r=n,0===Q&&oe(A));return Q--,t}function fe(){let t,r,a;if(Q++,t=H,r=[],a=e.charAt(H),p.test(a)?H++:(a=n,0===Q&&oe(E)),a!==n)for(;a!==n;)r.push(a),a=e.charAt(H),p.test(a)?H++:(a=n,0===Q&&oe(E));else r=n;return r!==n&&(z=t,r=X()),t=r,Q--,t===n&&(r=n,0===Q&&oe(C)),t}function pe(){let t,r,a;return Q++,t=H,ce(),r=ge(),r===n?(H=t,t=n):(37===e.charCodeAt(H)?(a="%",H++):(a=n,0===Q&&oe(M)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"%"}}(r))),Q--,t===n&&0===Q&&oe(S),t}function he(){let t,r,a;return Q++,t=H,ce(),r=ge(),r===n?(H=t,t=n):("px"===e.substr(H,2)?(a="px",H+=2):(a=n,0===Q&&oe(R)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"px"}}(r))),t===n&&(t=H,ce(),r=ge(),r===n?(H=t,t=n):("cm"===e.substr(H,2)?(a="cm",H+=2):(a=n,0===Q&&oe($)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"cm"}}(r))),t===n&&(t=H,ce(),r=ge(),r===n?(H=t,t=n):("mm"===e.substr(H,2)?(a="mm",H+=2):(a=n,0===Q&&oe(L)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"mm"}}(r))),t===n&&(t=H,ce(),r=ge(),r===n?(H=t,t=n):("in"===e.substr(H,2)?(a="in",H+=2):(a=n,0===Q&&oe(P)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"in"}}(r))),t===n&&(t=H,ce(),r=ge(),r===n?(H=t,t=n):("pt"===e.substr(H,2)?(a="pt",H+=2):(a=n,0===Q&&oe(T)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"pt"}}(r))),t===n&&(t=H,ce(),r=ge(),r===n?(H=t,t=n):("pc"===e.substr(H,2)?(a="pc",H+=2):(a=n,0===Q&&oe(F)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"pc"}}(r)))))))),Q--,t===n&&0===Q&&oe(_),t}function me(){let t,r,a;return Q++,t=H,r=ge(),r===n?(H=t,t=n):("deg"===e.substr(H,3)?(a="deg",H+=3):(a=n,0===Q&&oe(k)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"deg"}}(r))),t===n&&(t=H,r=ge(),r===n?(H=t,t=n):("rad"===e.substr(H,3)?(a="rad",H+=3):(a=n,0===Q&&oe(O)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"rad"}}(r))),t===n&&(t=H,r=ge(),r===n?(H=t,t=n):(e.substr(H,4)===s?(a=s,H+=4):(a=n,0===Q&&oe(j)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"grad"}}(r))),t===n&&(t=H,r=ge(),r===n?(H=t,t=n):(e.substr(H,4)===c?(a=c,H+=4):(a=n,0===Q&&oe(N)),a===n?(H=t,t=n):(z=t,t=function(e){return{value:e,unit:"turn"}}(r)))))),Q--,t===n&&(r=n,0===Q&&oe(I)),t}function de(){let t,r,a,o;if(Q++,t=H,35===e.charCodeAt(H)?(r="#",H++):(r=n,0===Q&&oe(K)),r!==n){if(a=[],o=e.charAt(H),h.test(o)?H++:(o=n,0===Q&&oe(Y)),o!==n)for(;o!==n;)a.push(o),o=e.charAt(H),h.test(o)?H++:(o=n,0===Q&&oe(Y));else a=n;a===n?(H=t,t=n):(z=t,t={type:"hex",value:X()})}else H=t,t=n;return t===n&&(t=H,r=ie(),r!==n&&(z=t,r=function(e){return{type:"function",value:e}}(r)),t=r,t===n&&(t=H,r=fe(),r!==n&&(z=t,r={type:"named",value:X()}),t=r)),Q--,t===n&&(r=n,0===Q&&oe(G)),t}function ge(){let t,r,a,o,l,u,i,s;for(t=H,r=e.charAt(H),m.test(r)?H++:(r=n,0===Q&&oe(Z)),r===n&&(r=null),a=H,o=[],l=e.charAt(H),d.test(l)?H++:(l=n,0===Q&&oe(U));l!==n;)o.push(l),l=e.charAt(H),d.test(l)?H++:(l=n,0===Q&&oe(U));if(46===e.charCodeAt(H)?(l=".",H++):(l=n,0===Q&&oe(q)),l!==n){if(u=[],i=e.charAt(H),d.test(i)?H++:(i=n,0===Q&&oe(U)),i!==n)for(;i!==n;)u.push(i),i=e.charAt(H),d.test(i)?H++:(i=n,0===Q&&oe(U));else u=n;u===n?(H=a,a=n):(o=[o,l,u],a=o)}else H=a,a=n;if(a===n)if(a=[],o=e.charAt(H),d.test(o)?H++:(o=n,0===Q&&oe(U)),o!==n)for(;o!==n;)a.push(o),o=e.charAt(H),d.test(o)?H++:(o=n,0===Q&&oe(U));else a=n;if(a!==n){if(o=H,101===e.charCodeAt(H)?(l="e",H++):(l=n,0===Q&&oe(B)),l!==n){if(u=e.charAt(H),m.test(u)?H++:(u=n,0===Q&&oe(Z)),u===n&&(u=null),i=[],s=e.charAt(H),d.test(s)?H++:(s=n,0===Q&&oe(U)),s!==n)for(;s!==n;)i.push(s),s=e.charAt(H),d.test(s)?H++:(s=n,0===Q&&oe(U));else i=n;i===n?(H=o,o=n):(l=[l,u,i],o=l)}else H=o,o=n;o===n&&(o=null),z=t,t=parseFloat(X())}else H=t,t=n;return t}r=l();let ye=r!==n&&H===e.length;function ve(){throw r!==n&&H<e.length&&oe({type:"end"}),function(e,t,r){return new i(i.buildMessage(e,t),e,t,r)}(W,J<e.length?function(t=H){let r=e.codePointAt(t);return void 0===r?"":String.fromCodePoint(r)}(J):null,J<e.length?ae(J,J+1):ae(J,J))}return t.peg$library?{peg$result:r,peg$currPos:H,peg$FAILED:n,peg$maxFailExpected:W,peg$maxFailPos:J,peg$success:ye,peg$throw:ye?void 0:ve}:ye?r:void ve()}(e)}catch(t){throw new n.A("effect:invalid-syntax","Invalid effect syntax",{value:e,error:t})}return t.map(e=>function(e){try{switch(e.name){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":return function(e){let t=1;return f(e.parameters,1),1===e.parameters.length&&(t=g(e.parameters[0])),new l.yG(e.name,t)}(e);case"opacity":return function(e){let t=1;return f(e.parameters,1),1===e.parameters.length&&(t=g(e.parameters[0])),new l.jm(t)}(e);case"hue-rotate":return function(e){let t=0;return f(e.parameters,1),1===e.parameters.length&&(t=function(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=m[e.unit]))throw new n.A("effect:type-error",`Expected <angle>, Actual: ${p(e)}`,{term:e})}(e),e.value*m[e.unit]||0}(e.parameters[0])),new l.Nd(t)}(e);case"blur":return function(e){let t=0;return f(e.parameters,1),1===e.parameters.length&&(t=y(e.parameters[0]),h(t,e.parameters[0])),new l.Fk(t)}(e);case"drop-shadow":return function(e){let t=[],r=null;for(let a of e.parameters)if("color"===a.type){if(t.length&&Object.freeze(t),r)throw new n.A("effect:type-error","Accepts only one color",{});r=v(a)}else{let e=y(a);if(Object.isFrozen(t))throw new n.A("effect:type-error","<length> parameters not consecutive",{lengths:t});t.push(e),3===t.length&&h(e,a)}if(t.length<2||t.length>3)throw new n.A("effect:type-error",`Expected <length>{2,3}, Actual: <length>{${t.length}}`,{lengths:t});return new l.$b(t[0],t[1],t[2]||0,r||w("black"))}(e);case"bloom":return function(e){let t=1,r=0,n=0;return f(e.parameters,3),e.parameters[0]&&(t=g(e.parameters[0])),e.parameters[1]&&(r=y(e.parameters[1]),h(r,e.parameters[1])),e.parameters[2]&&(n=g(e.parameters[2])),new l.bv(t,r,n)}(e)}}catch(t){throw t.details.filter=e,t}throw new n.A("effect:unknown-effect",`Effect '${e.name}' is not supported`,{effect:e})}(e))}function f(e,t){if(e.length>t)throw new n.A("effect:type-error",`Function supports up to ${t} parameters, Actual: ${e.length}`,{parameters:e})}function p(e){if("color"===e.type)return"<color>";if(e.unit){if(e.unit in d)return"<length>";if(e.unit in m)return"<angle>";if("%"===e.unit)return"<percentage>"}return"<double>"}function h(e,t){if(e<0)throw new n.A("effect:type-error",`Negative values are not allowed, Actual: ${e}`,{term:t})}const m={deg:1,grad:.9,rad:180/Math.PI,turn:360},d={px:1,cm:96/2.54,mm:96/2.54/10,in:96,pc:16,pt:96/72};function g(e){!function(e){if("quantity"!==e.type||null!==e.unit&&"%"!==e.unit)throw new n.A("effect:type-error",`Expected <double> or <percentage>, Actual: ${p(e)}`,{term:e})}(e);let t=e.value;return h(t,e),"%"===e.unit?.01*t:t}function y(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=d[e.unit]))throw new n.A("effect:type-error",`Expected <length>, Actual: ${p(e)}`,{term:e})}(e),e.value*d[e.unit]||0}function v(e){switch(e.colorType){case"hex":return(0,o.j5)(e.value);case"named":return w(e.value);case"function":return function(e){if(f(e.parameters,4),A.test(e.name))return[g(e.parameters[0]),g(e.parameters[1]),g(e.parameters[2]),e.parameters[3]?g(e.parameters[3]):1];if(b.test(e.name))return(0,o.ay)(function(e){return function(e){if("quantity"!==e.type||null!==e.unit)throw new n.A("effect:type-error",`Expected <double>, Actual: ${p(e)}`,{term:e})}(e),h(e.value,e),e.value}(e.parameters[0]),g(e.parameters[1]),g(e.parameters[2]),e.parameters[3]?g(e.parameters[3]):1);throw new n.A("effect:syntax-error",`Invalid color function '${e.name}'`,{colorFunction:e})}(e.value)}}function w(e){if(!(0,o.V6)(e))throw new n.A("effect:unknown-color",`color '${e}' isn't valid`,{namedColor:e});return(0,o.c4)(e)}const A=/^rgba?/i,b=/^hsla?/i;function x(e,t,r){try{return function(e){if(!e||0===e.length)return null;if(function(e){let t=e[0];return!!t&&"scale"in t}(e)){let t=[];for(let r of e)t.push({scale:r.scale,value:E(r.value)});return t}return E(e)}(e)}catch(e){r?.messages?.push(e)}return null}function C(e,t,r,n){try{let n=function(e){let t=s(e);return t?(0,u.dw)(t)?t.map(e=>e.toJSON()):t.map(({scale:e,effects:t})=>({scale:e,value:t.map(e=>e.toJSON())})):null}(e);(0,a.sM)(r,n,t)}catch(e){n.messages&&n.messages.push(e)}}function E(e){if(!e?.length)return"";let t=[];for(let r of e){let e=[];switch(r.type){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":case"opacity":e=[S(r,"amount")];break;case"blur":e=[S(r,"radius","pt")];break;case"hue-rotate":e=[S(r,"angle","deg")];break;case"drop-shadow":e=[S(r,"xoffset","pt"),S(r,"yoffset","pt"),S(r,"blurRadius","pt"),M(r,"color")];break;case"bloom":e=[S(r,"strength"),S(r,"radius","pt"),S(r,"threshold")]}let n=`${r.type}(${e.filter(Boolean).join(" ")})`;s(n),t.push(n)}return t.join(" ")}function S(e,t,r){if(null==e[t])throw new n.A("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});return r?e[t]+r:""+e[t]}function M(e,t){if(null==e[t])throw new n.A("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});let r=e[t];return`rgba(${r[0]||0}, ${r[1]||0}, ${r[2]||0}, ${r[3]/255||0})`}},63074(e,t,r){var n=r(32198),a=r(91429),o=r(89317),l=r(76369);const u={type:"average.color-burn.color-dodge.color.darken.destination-atop.destination-in.destination-out.destination-over.difference.exclusion.hard-light.hue.invert.lighten.lighter.luminosity.minus.multiply.normal.overlay.plus.reflect.saturation.screen.soft-light.source-atop.source-in.source-out.vivid-light.xor".split("."),nonNullable:!0,json:{read:!1,write:!1,origins:{"web-map":{read:!0,write:{layerContainerTypes:o.K}},"portal-item":{read:!0,write:{layerContainerTypes:o.K}}}}},i={read:{reader:l.LF},write:{allowNull:!0,writer:l.M9,layerContainerTypes:o.K}},s={json:{read:!1,write:!1,origins:{"web-map":i,"portal-item":i}}};r.d(t,["LF",0,s,"dM",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.blendMode="normal",this.effect=null}};return(0,n.Cg)([(0,a.MZ)(u)],r.prototype,"blendMode",void 0),(0,n.Cg)([(0,a.MZ)(s)],r.prototype,"effect",void 0),r=(0,n.Cg)([(0,a.$K)("esri.layers.mixins.BlendLayer")],r),r},"sU",0,u])},25036(e,t,r){var n=r(32198),a=r(91429),o=r(83960);r.d(t,["j",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){let e={minScale:this.minScale,maxScale:this.maxScale},t=this.parent;void 0!==t?.effectiveScaleRange&&(0,o.RH)(e,t.effectiveScaleRange);let r=this._get("effectiveScaleRange");return r&&r.minScale===e.minScale&&r.maxScale===e.maxScale?r:e}};return(0,n.Cg)([(0,a.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"minScale",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"maxScale",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],r.prototype,"effectiveScaleRange",null),r=(0,n.Cg)([(0,a.$K)("esri.layers.mixins.ScaleRangeLayer")],r),r}])},56560(e,t,r){r.d(t,{A:()=>u});var n=r(32198),a=r(69540),o=r(91429),l=r(86738);let u=class extends a.Pw{constructor(e){super(e),this.sourcePoint=null,this.mapPoint=null}};(0,n.Cg)([(0,o.MZ)()],u.prototype,"sourcePoint",void 0),(0,n.Cg)([(0,o.MZ)({type:l.A})],u.prototype,"mapPoint",void 0),u=(0,n.Cg)([(0,o.$K)("esri.layers.support.ControlPoint")],u)},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>l,OM:()=>s,Sm:()=>c,Y:()=>u,bK:()=>i,sQ:()=>f});var n=r(99917),a=r(16930),o=r(28735);function l(e,t){if(!u(e,t)){let r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function u(e,t){return!!e.typeKeywords?.includes(t)}function i(e){return u(e,p.HOSTED_SERVICE)}function s(e,t){let r=e.typeKeywords;if(r){let e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?l(e,t):s(e,t)}async function f(e){let t,r=e.clone().normalize();if(r.length>1)for(let e of r)t?e.width>t.width&&(t=e):t=e;else t=r[0];return async function(e){let t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,o.ci)(e);let r=a.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(t)}const p={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function h(e){let{portal:t,isOrgItem:r,itemControl:n}=e,a=t.user?.privileges,o=!a||a.includes("features:user:edit"),l=!!r&&!!a?.includes("features:user:fullEdit"),u="update"===n||"admin"===n;return u?l=o=!0:l&&(o=!0),{features:{edit:o,fullEdit:l},content:{updateItem:u}}}r.d(t,["mm",0,p])},78553(e,t,r){r.d(t,{D:()=>o,p:()=>a});var n=r(78888);function a(e){let t=(0,n.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function o(e){let t=1-e/100;return Math.max(0,Math.min(t,1))}}}]);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 76ab353d80d786777161.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[858,7210,8477],{57590(t,e,i){i.d(e,{t:()=>n});var o=i(64209);function a(t){return function(t){return void 0!==t.openProp}(t)?t[t.openProp]:t.open}async function n(t){await t.updateComplete,a(t)?t.onBeforeOpen():t.onBeforeClose(),await t.updateComplete;const e=t.transitionRef?.value??t.transitionEl;e&&await(0,o.w)(e,t.transitionProp),a(t)?t.onOpen():t.onClose()}},99471(t,e,i){function o(t){return e=>e?.localName===t}i.d(e,{i:()=>o}),i.d(e,["K",0,{brand:"lightbulb",danger:"exclamationMarkTriangle",info:"information",success:"checkCircle",warning:"exclamationMarkTriangle"},"a",0,{danger:"exclamationMarkTriangleF",info:"informationF",success:"checkCircleF",warning:"exclamationMarkTriangleF"}])},95790(t,e,i){var o=i(99471);const a="calcite-action",n={button:t=>`${a}-${t}-button`,indicator:t=>`${a}-${t}-indicator`},c=(0,o.i)("calcite-action");i.d(e,["C",0,{button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible",indicatorWithIcon:"indicator-with-icon",indicatorWithoutIcon:"indicator-without-icon"},"I",0,n,"i",0,c])},78865(t,e,i){i(40652),i(80234);var o=i(89301),a=i(58933),n=i(41656),c=i(83435),r=i(83978),l=i(65816),s=i(30294),d=i(83058),h=i(75447),u=i(22828),p=i(4008),b=i(11330),g=i(95790);const v=a.AH`.screen-reader-text{position:absolute;inline-size:var(--calcite-border-width-sm);block-size:var(--calcite-border-width-sm);padding:0;margin:calc(-1 * var(--calcite-border-width-sm));overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}`;var m=i(76648);const f=a.AH`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-min-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-min-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-min-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm-plus)}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius-xs)))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-spacing-xxs)}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;outline-color:transparent;box-sizing:border-box;background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height, var(--calcite-internal-action-min-height));max-block-size:var(--calcite-internal-action-height, none);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}.button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition-property:opacity;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-3));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-3))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px;--calcite-loader-progress-color-inline: var(--calcite-action-loader-color)}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([appearance=transparent]) .button{transition-property:box-shadow;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);background-color:var(--calcite-action-background-color, var(--calcite-color-transparent))}:host([appearance=transparent]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}:host([appearance=transparent]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([selection-appearance=highlight]):host([active]) .button{background-color:var(--calcite-color-surface-highlight);color:var(--calcite-color-text-highlight)}:host([active-descendant]) .button{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.indicator-with-icon{position:relative}.indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-without-icon{margin-inline:.25rem;inline-size:1rem;position:relative}.indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}:host([scale=s]) .indicator-with-icon{position:relative}:host([scale=s]) .indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.125rem;inset-inline-end:-.125rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([scale=s]) .indicator-without-icon{position:relative}:host([scale=s]) .indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.175rem;inset-inline-end:-.175rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;class k extends r.WF{constructor(){super(),this.guid=(0,l.g)(),this.buttonRef=(0,c._)(),this.buttonId=g.I.button(this.guid),this.mutationObserver=(0,s.c)("mutation",()=>this.requestUpdate()),this.messages=(0,h.u)({blocking:!0}),this.focusSetter=(0,u.u)()(this),this.indicatorRef=(0,c._)(),this.interactiveContainer=(0,p.u)(this),this.labelElRef=(0,c._)(),this.active=!1,this.activeDescendant=!1,this.appearance="transparent",this.compact=!1,this.disabled=!1,this.dragHandle=!1,this.iconFlipRtl=!1,this.indicator=!1,this.loading=!1,this.overflowDisabled=!1,this.scale="m",this.width="auto",this.textEnabled=!1,this.type="button",(0,b.u)()(this)}static{this.properties={aria:[0,{},{attribute:!1}],active:[7,{},{reflect:!0,type:Boolean}],activeDescendant:[7,{},{reflect:!0,type:Boolean}],alignment:[3,{},{reflect:!0}],appearance:[3,{},{reflect:!0}],compact:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],dragHandle:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],icon:[3,{},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],indicator:[7,{},{reflect:!0,type:Boolean}],label:1,loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],overflowDisabled:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}],text:1,textEnabled:[7,{},{reflect:!0,type:Boolean}],type:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.formAssociated=!0}static{this.styles=[f,v]}async setFocus(t){return this.focusSetter(()=>this.buttonRef.value,t)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}getAccessibleLabel(){const t=this.label||this.text||"";return this.indicator?this.messages.indicatorLabel.replace("{label}",t):t}getLabelledByElements(){const t=[...this.labelElRef.value?[this.labelElRef.value]:[],...this.aria?.labelledByElements??[]];return t.length?t:void 0}renderTextContainer(){const{text:t,textEnabled:e}=this,i={[g.C.textContainer]:!0,[g.C.textContainerVisible]:e};return t?(0,n.D)("text-container",a.qy`<div aria-hidden=true class=${(0,r.CP)(i)}>${t}</div>`):null}renderIndicatorText(){const{indicator:t,messages:e,buttonId:i}=this;return a.qy`<div aria-labelledby=${i??r.s6} aria-live=polite class=${(0,r.CP)(o.C.screenReaderText)} role=region ${(0,c.K)(this.indicatorRef)}>${t?e.indicator:null}</div>`}renderIconContainer(){const{loading:t,icon:e,scale:i,el:o,iconFlipRtl:c,indicator:l}=this,s="l"===i?"l":"m",h=t?a.qy`<calcite-loader inline .label=${this.messages.loading} .scale=${s}></calcite-loader>`:null,u=e?a.qy`<calcite-icon class=${(0,r.CP)({[g.C.indicatorWithIcon]:l})} .flipRtl=${c} .icon=${e} .scale=${(0,d.g)(this.scale)}></calcite-icon>`:null,p=h||u,b=p||o.children?.length,v=a.qy`<div class=${(0,r.CP)({[g.C.slotContainer]:!0,[g.C.slotContainerHidden]:t})}><slot></slot></div>`;return b?(0,n.D)("icon-container",a.qy`<div aria-hidden=true class=${(0,r.CP)(g.C.iconContainer)}>${p}${v}</div>`):null}renderLabel(){const t=this.getAccessibleLabel();return t?a.qy`<span class=${(0,r.CP)(o.C.screenReaderText)} ${(0,c.K)(this.labelElRef)}>${t}</span>`:null}renderButton(){const{compact:t,disabled:e,icon:i,loading:o,textEnabled:l,indicator:s,indicatorRef:d,buttonId:h}=this,u=this.getLabelledByElements(),p={[g.C.button]:!0,[g.C.buttonTextVisible]:l,[g.C.buttonCompact]:t},b=a.qy`${this.renderIconContainer()}${this.renderTextContainer()}${!i&&s&&(0,n.D)("indicator-no-icon",a.qy`<div class=${(0,r.CP)(g.C.indicatorWithoutIcon)}></div>`)||""}${this.renderLabel()}`,v=s&&d.value?[d.value]:[],f=[...this.aria?.controlsElements??[],...v];return this.dragHandle?a.qy`<span .ariaBusy=${(0,m.t)(o,void 0)} .ariaControlsElements=${f} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${u} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,r.CP)(p)} id=${h??r.s6} role=button tabindex=${(this.disabled?void 0:0)??r.s6} ${(0,c.K)(this.buttonRef)}>${b}</span>`:a.qy`<button .ariaBusy=${(0,m.t)(o,void 0)} .ariaChecked=${this.aria?.checked} .ariaControlsElements=${f} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${u} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,r.CP)(p)} .disabled=${e} id=${h??r.s6} .role=${this.aria?.role} type=${this.type??r.s6} ${(0,c.K)(this.buttonRef)}>${b}</button>`}render(){return this.interactiveContainer({disabled:this.disabled,children:a.qy`${this.renderButton()}${this.renderIndicatorText()}`})}}(0,o.c)("calcite-action",k)},84065(t,e,i){i.r(e),i.d(e,{Notice:()=>g}),i(78865),i(80234);var o=i(89301),a=i(58933),n=i(83435),c=i(83978),r=i(64336),l=i(64209),s=i(99471),d=i(57590),h=i(83058),u=i(75447),p=i(22828);const b=a.AH`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .notice-close{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .actions-end{margin-inline-end:var(--calcite-spacing-sm);gap:var(--calcite-spacing-sm)}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-radius:var(--calcite-notice-corner-radius, var(--calcite-corner-radius-sm));box-shadow:var(--calcite-notice-shadow, var(--calcite-shadow-none))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;overflow:visible}@starting-style{:host([open]) .container{opacity:0;max-block-size:0}}:host([open][appearance=outline-fill]) .container{border:var(--calcite-border-width-sm) solid}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=title]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=title]){color:var(--calcite-notice-title-text-color, var(--calcite-color-text-inverse))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=message]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=message]){color:var(--calcite-notice-content-text-color, var(--calcite-color-text-inverse))}.notice-content{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-sizing:border-box;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-large)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-sizing:border-box;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;padding-inline:var(--calcite-notice-spacing-token-small)}.notice-close{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);--calcite-action-background-color: var(--calcite-notice-close-background-color);--calcite-action-background-color-hover: var( --calcite-notice-close-background-color-hover, var(--calcite-notice-close-background-color-focus) );--calcite-action-background-color-press: var(--calcite-notice-close-background-color-press);--calcite-action-text-color: var(--calcite-notice-close-icon-color, var(--calcite-color-text-3));--calcite-action-text-color-press: var(--calcite-notice-close-icon-color-hover)}.actions-end{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);gap:var(--calcite-spacing-xs)}:host([kind=brand][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-brand) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-brand) 5%, var(--calcite-color-foreground-1)))}:host([kind=brand][appearance=outline-fill]) .notice-icon,:host([kind=brand][appearance=transparent]) .notice-icon{color:var(--calcite-color-brand)}:host([kind=info][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-info) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-info) 5%, var(--calcite-color-foreground-1)))}:host([kind=info][appearance=outline-fill]) .notice-icon,:host([kind=info][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-danger) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 5%, var(--calcite-color-foreground-1)))}:host([kind=danger][appearance=outline-fill]) .notice-icon,:host([kind=danger][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-success) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-success) 5%, var(--calcite-color-foreground-1)))}:host([kind=success][appearance=outline-fill]) .notice-icon,:host([kind=success][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-warning) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-warning) 5%, var(--calcite-color-foreground-1)))}:host([kind=warning][appearance=outline-fill]) .notice-icon,:host([kind=warning][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-warning)}:host([kind=neutral][appearance=outline-fill]) .container{border-color:var(--calcite-color-border-2);background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}:host([kind=neutral]) .notice-icon{color:var(--calcite-color-text-3)}:host([appearance=transparent]) .container{background-color:transparent}:host([hidden]){display:none}[hidden]{display:none}`;class g extends c.WF{constructor(){super(...arguments),this.closeButtonRef=(0,n._)(),this.transitionProp="opacity",this.transitionRef=(0,n._)(),this.messages=(0,u.u)(),this.focusSetter=(0,p.u)()(this),this.hasActionEnd=!1,this.appearance="outline-fill",this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=(0,r.b)({cancelable:!1}),this.calciteNoticeBeforeOpen=(0,r.b)({cancelable:!1}),this.calciteNoticeClose=(0,r.b)({cancelable:!1}),this.calciteNoticeOpen=(0,r.b)({cancelable:!1})}static{this.properties={hasActionEnd:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],closable:[7,{},{reflect:!0,type:Boolean}],icon:[3,{converter:c.pf},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],kind:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=b}async setFocus(t){return this.focusSetter(()=>this.el.querySelector("calcite-link")||this.closeButtonRef.value,t)}async load(){this.kindIcons={...s.a,brand:s.K.brand},this.requestedIcon=(0,l.v)(this.kindIcons,this.icon,this.kind)}willUpdate(t){t.has("open")&&(this.hasUpdated||!1!==this.open)&&(0,d.t)(this),(t.has("icon")||t.has("kind")&&(this.hasUpdated||"brand"!==this.kind))&&(this.requestedIcon=(0,l.v)(this.kindIcons,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}close(){this.open=!1}handleActionsEndSlotChange(t){this.hasActionEnd=(0,l.s)(t)}render(){const t=a.qy`<calcite-action class=${(0,c.CP)("notice-close")} icon=x @click=${this.close} .scale=${this.scale} .text=${this.messages.close} ${(0,n.K)(this.closeButtonRef)}></calcite-action>`;return a.qy`<div class=${(0,c.CP)("container")} ${(0,n.K)(this.transitionRef)}>${this.requestedIcon?a.qy`<div class=${(0,c.CP)("notice-icon")}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${(0,h.g)(this.scale)}></calcite-icon></div>`:null}<div class=${(0,c.CP)("notice-content")}><slot name=${"title"}></slot><slot name=${"message"}></slot><slot name=${"link"}></slot></div><div class=${(0,c.CP)("actions-end")} .hidden=${!this.hasActionEnd}><slot name=${"actions-end"} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?t:null}</div>`}}(0,o.c)("calcite-notice",g)},41656(t,e,i){i.d(e,{D:()=>c});var o=i(7261),a=i(66567),n=i(58887);const c=(0,a.u$)(class extends a.WL{constructor(){super(...arguments),this.key=o.s6}render(t,e){return this.key=t,e}update(t,[e,i]){return e!==this.key&&((0,n.mY)(t),this.key=e),i}})},30858(t,e,i){i.d(e,{Dk:()=>v,aK:()=>m,yr:()=>z,jH:()=>$,oW:()=>y});var o=i(64336),a=i(59231);var n=i(58933),c=i(49411),r=i(44613);const l="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),s=new Set(l),d="en",h={pt:"pt-BR",nb:"no",nn:"no",zh:"zh-CN"},u={},p=async(t,e)=>{const i=`${e}${t}.json`;try{const t=await fetch(i);if(t.ok)return await t.json()}catch(t){return(0,r.Rm)("error","intl",`An unknown error occurred while fetching localization strings at ${i}`,{detail:{error:t}}),{}}return t===d?{}:await p(d,e)},b=t=>{const[e,i]=t.split("-"),o=e.toLowerCase();let a=o;return i&&(a=`${o}-${i.toUpperCase()}`),a=h[a]??a,s.has(a)?a:i?b(o):d},g=t=>{const e=(0,c.Zj)(t,"lang",globalThis.navigator?.language||"en");return{lang:e,t9nLocale:b(e)}},v=t=>k(void 0,t),m=t=>e=>k(e,t);class f extends o.C{constructor(t,e){super(t);const i=this.exports;try{(0,a.s)(this.component);const t=e(this.component,this),o=this.exports!==i;if((0,a.i)(t)){o||this.setProvisionalExports(t);const e=t.then(t=>{this.exports=t,super.catchUpLifecycle()}).catch(t=>{this.P.reject(t)});this.onLoad(async()=>await e)}else o&&void 0===t||(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t)}}catchUpLifecycle(){}}const k=(x=f,(...t)=>{const e=(0,a.b)(),i=new x(...t),n=i.exports;(0,a.a)(e.at(-1));const c=i.component.manager;c.W(i,n),i.watchExports(c.W.bind(c,i)),(0,a.f)(i);const r=[i.component,...e].reverse();return(0,o.a)(r,t=>void 0===t?void 0:((t,{host:e,key:i,isReactive:o},n)=>{const c=e,r=c[i]!==t.exports,l=c[i]!==n,s=n!==t.exports;if(r&&!l&&s&&(c[i]=t.exports),e===t.component){if(o){const e=t.component.manager;l&&e.W(t,c[i]),t.onUpdate(o=>{if(o.has(i)){const o=c[i];o!==t.exports&&e.W(t,o)}})}t.O=o?void 0:i}const d=t.component.constructor.elementProperties.get(i)?.readOnly;t.watchExports(()=>{c[i]!==t.exports&&(d?(0,a.c)(()=>{c[i]=t.exports}):c[i]=t.exports)})})(i,t,n),n)});var x;const y=(t,e)=>new w(t,e);class w extends o.C{#t;#e;#i;constructor(t,e){super(),n.S$||(this.#e=t,this.#i=e,this.#t=new MutationObserver(i=>{i.forEach(i=>{t.includes(i.attributeName)&&e.call(this.component,this.component.el.getAttribute(i.attributeName),i.oldValue,i.attributeName)})}))}hostConnected(){this.#e.forEach(t=>{this.component.el.hasAttribute(t)&&this.#i.call(this.component,this.component.el.getAttribute(t),null,t)}),this.#t.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this.#e})}hostDisconnected(){this.#t.disconnect()}}const $=()=>v((t,e)=>{e.exports="ltr",e.onLifecycle(()=>{const i=()=>{const i=(0,c.Zj)(t.el,"dir","ltr");e.exports="rtl"===i?"rtl":"ltr"};return i(),(0,c.Yt)(t.el,["dir"],i)})}),z=t=>(e={})=>v((i,o)=>{const a=g(i.el),n={_lang:a.lang,_t9nLocale:a.t9nLocale,_loading:!0},l=i;o.onLifecycle(()=>((e,a,n,d)=>{let h;const b=()=>(async(t,e,i=t.localName.split("-").slice(1).join("-"))=>{const{lang:o,t9nLocale:a}=g(t),n=`${e}/${i}/t9n`,c=null===i?{}:await(async(t,e,i="")=>{const o=`${e}/${i}`,a=`${o}${t}.json`;return u[a]??=p(t,o),await u[a]})(a,n,"messages.");return{lang:o,t9nLocale:a,t9nStrings:c}})(e,t("./assets"),d).then(t=>{h?.lang===t.lang&&h.t9nLocale===t.t9nLocale&&h.t9nStrings===t.t9nStrings||(({t9nLocale:t,t9nStrings:e,lang:a})=>{const n={...e,_lang:a,_t9nLocale:t,_loading:!1};o.exports=n;const c=e.componentLabel;"string"==typeof c&&"label"in i&&null==i.label&&(i.label??=c),s(l.messageOverrides)})(t),h=t}).catch(t=>{(0,r.Rm)("error","intl","Error updating component locale state",{detail:{error:t}})});return queueMicrotask(b),(0,c.Yt)(e,["lang"],b)})(i.el,0,0,e.name));const s=t=>{const e=o.exports,i=e._original??e,a=C(i,t);t&&(a._original=i),o.exports=a};return"messageOverrides"in l&&o.onUpdate(t=>{t.has("messageOverrides")&&s(l.messageOverrides)}),e.blocking?(o.setProvisionalExports(n,!1),o.ready):n}),C=(t,e)=>{if(!e)return t;const i={...t};return Object.entries(e).forEach(([e,o])=>{void 0!==t[e]&&(i[e]="object"==typeof o?C(t[e],o):o??t[e])}),i}}}]);
|