@arcgis/core 6.0.0-next.57 → 6.0.0-next.59
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/Graphic.d.ts +1 -0
- package/WebLinkChart.d.ts +0 -12
- package/WebLinkChart.js +1 -1
- package/applications/Components/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/applications/SceneViewer/sceneViewerUtils.d.ts +74 -0
- package/applications/SceneViewer/sceneViewerUtils.js +1 -1
- package/applications/WebEditor/sketchUtils.js +1 -1
- package/arcade/arcadeCompiler.js +5 -5
- package/arcade/containerUtils.js +1 -1
- package/arcade/featureset/actions/Adapted.js +1 -1
- package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
- package/arcade/featureset/sources/FeatureLayerMemory.js +1 -1
- package/arcade/featureset/support/shared.js +1 -1
- package/arcade/featureset/support/sqlUtils.js +1 -1
- package/arcgisGlobal.d.ts +2 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/075e6c60e741482e673f.js +1 -0
- package/assets/esri/core/workers/chunks/076c2098570ee885d117.js +1 -0
- package/assets/esri/core/workers/chunks/091ce6b3de590e1d9ff6.js +1 -0
- package/assets/esri/core/workers/chunks/099dec4103f6e7556eb0.js +1 -0
- package/assets/esri/core/workers/chunks/{77267e0807cbbc00496d.js → 0be55d9bab7c3510a7f2.js} +1 -1
- package/assets/esri/core/workers/chunks/{da69e8cd52aa77aa4c2c.js → 0fc1facd26c9ef96e081.js} +1 -1
- package/assets/esri/core/workers/chunks/{f97dc99afe3375fc8e16.js → 1179a3574c580f7ce390.js} +1 -1
- package/assets/esri/core/workers/chunks/129140104be2620c0382.js +1 -0
- package/assets/esri/core/workers/chunks/1295fcf866e7347b2d53.js +1 -0
- package/assets/esri/core/workers/chunks/16219f0c56d6f6213c24.js +1 -0
- package/assets/esri/core/workers/chunks/185b317eec95f3370970.js +1 -0
- package/assets/esri/core/workers/chunks/1bdef2e142e78341fec0.js +1 -0
- package/assets/esri/core/workers/chunks/1ce0bf4ff14af8a68a5c.js +1 -0
- package/assets/esri/core/workers/chunks/1f1515313baeecc095a2.js +1 -0
- package/assets/esri/core/workers/chunks/1f710c91a82f6fd3d0f6.js +1 -0
- package/assets/esri/core/workers/chunks/{1894c39dabc78e7a5af8.js → 1fad7a7211bb8c9b58e3.js} +1 -1
- package/assets/esri/core/workers/chunks/24374aaa6fb3e12960d1.js +1 -0
- package/assets/esri/core/workers/chunks/24aa7b81814b4e519b01.js +1 -0
- package/assets/esri/core/workers/chunks/{c8c79d21dfce5695a089.js → 2b69fdf51b6f0b2abb75.js} +1 -1
- package/assets/esri/core/workers/chunks/2ba9b3b4d49eb2740a42.js +1 -0
- package/assets/esri/core/workers/chunks/2eb3297014f063fb4bc9.js +1 -0
- package/assets/esri/core/workers/chunks/2eb3cec44ce7587980a4.js +1 -0
- package/assets/esri/core/workers/chunks/2ee3cd6b2e5274932d31.js +1 -0
- package/assets/esri/core/workers/chunks/31df02c6f5b04a143ae6.js +1 -0
- package/assets/esri/core/workers/chunks/3a1510650ce8de7edec8.js +1 -0
- package/assets/esri/core/workers/chunks/3b0933cea2a902a26bb7.js +1 -0
- package/assets/esri/core/workers/chunks/3d96676b94e8ecb6a4d1.js +1 -0
- package/assets/esri/core/workers/chunks/3edfd8ecf000b00a4a92.js +1 -0
- package/assets/esri/core/workers/chunks/{f053cbfe671bd14c7d5b.js → 419d8116d8e7faccfed5.js} +1 -1
- package/assets/esri/core/workers/chunks/41d57b45cc2361305af3.js +1 -0
- package/assets/esri/core/workers/chunks/42ee1f8732e644371ea9.js +1 -0
- package/assets/esri/core/workers/chunks/4309f3e72c6332e01d75.js +1 -0
- package/assets/esri/core/workers/chunks/44ca7a56fb28227fdcbf.js +1 -0
- package/assets/esri/core/workers/chunks/4537f0866e903d2e9bb9.js +1 -0
- package/assets/esri/core/workers/chunks/49f61832e0d3b24e1608.js +1 -0
- package/assets/esri/core/workers/chunks/4a45505fb9a40b503672.js +29 -0
- package/assets/esri/core/workers/chunks/4b456c1f26d70392f7d4.js +1 -0
- package/assets/esri/core/workers/chunks/{28fae7da8cc4ae7a83e4.js → 4c510b1caffeec80dc6b.js} +1 -1
- package/assets/esri/core/workers/chunks/4ce5c9b658ba79a0b668.js +1 -0
- package/assets/esri/core/workers/chunks/{41694ee8990e799da225.js → 4d8f23b2e6721fb5b289.js} +1 -1
- package/assets/esri/core/workers/chunks/4fb8708666a614df583d.js +1 -0
- package/assets/esri/core/workers/chunks/4feec96a312dcc137911.js +1 -0
- package/assets/esri/core/workers/chunks/52ad9306fd40d488376d.js +1 -0
- package/assets/esri/core/workers/chunks/5375bdf46b602b19fa86.js +1 -0
- package/assets/esri/core/workers/chunks/549a8e7313f75ea3f85b.js +1 -0
- package/assets/esri/core/workers/chunks/55f97942c58455f47975.js +1 -0
- package/assets/esri/core/workers/chunks/566d72534d694c318e30.js +1 -0
- package/assets/esri/core/workers/chunks/5ce00674305e5716d27b.js +1 -0
- package/assets/esri/core/workers/chunks/5e032d209df500fad321.js +1 -0
- package/assets/esri/core/workers/chunks/5ea8cdc28a81744913cd.js +1 -0
- package/assets/esri/core/workers/chunks/61565d4674cf77cbf1dd.js +1 -0
- package/assets/esri/core/workers/chunks/{d296c9561f6a6aeff973.js → 68b8dff748f1ef588653.js} +1 -1
- package/assets/esri/core/workers/chunks/{6d99e7e1aa007a6f1039.js → 69316db52d7bed746879.js} +1 -1
- package/assets/esri/core/workers/chunks/69384a9703abee1903c5.js +1 -0
- package/assets/esri/core/workers/chunks/6992a7728451c5a7b673.js +1 -0
- package/assets/esri/core/workers/chunks/69e5efe1acbdaddee90d.js +1 -0
- package/assets/esri/core/workers/chunks/6b2e09e43f449020d5ad.js +1 -0
- package/assets/esri/core/workers/chunks/6b5f8bf8b3480910666d.js +1 -0
- package/assets/esri/core/workers/chunks/70fe8b90f174ec64db2e.js +1 -0
- package/assets/esri/core/workers/chunks/720356fc6d5e18008471.js +1 -0
- package/assets/esri/core/workers/chunks/{3869ea1be105eaad4a38.js → 7328aca34c95fd0fc752.js} +1 -1
- package/assets/esri/core/workers/chunks/{be0133fa63c5d6545a7f.js → 75667b1427a7f02f2cda.js} +33 -32
- package/assets/esri/core/workers/chunks/{b4018b21a03c0c909d23.js → 75a48b122254deb3ad59.js} +1 -1
- package/assets/esri/core/workers/chunks/789567124c4a15235952.js +1 -0
- package/assets/esri/core/workers/chunks/{a24dc5350af001db417a.js → 7affab0d0692bdb76036.js} +1 -1
- package/assets/esri/core/workers/chunks/{b6e628b5d2643af4c19b.js → 7b4063f45b45ad8a7289.js} +1 -1
- package/assets/esri/core/workers/chunks/7c22d3669087f38c92b9.js +1 -0
- package/assets/esri/core/workers/chunks/7cb7bdc30f970eb9ff7f.js +1 -0
- package/assets/esri/core/workers/chunks/7d71cf65bbc1b3308856.js +1 -0
- package/assets/esri/core/workers/chunks/81cdb9705f7eee9e792f.js +1 -0
- package/assets/esri/core/workers/chunks/821003fe1be30d5d29aa.js +1 -0
- package/assets/esri/core/workers/chunks/822b9c1e172c835b9624.js +1 -0
- package/assets/esri/core/workers/chunks/{a7dfca326883384d2751.js → 823228f1fa6ba4e8bff2.js} +1 -1
- package/assets/esri/core/workers/chunks/84021d57822f374217ef.js +1 -0
- package/assets/esri/core/workers/chunks/847ec6b337cfb2e4a15b.js +1 -0
- package/assets/esri/core/workers/chunks/84f41ddd7366bfbf5b25.js +1 -0
- package/assets/esri/core/workers/chunks/{c6e7c95391a54978402b.js → 893363ee500fc1288781.js} +1 -1
- package/assets/esri/core/workers/chunks/8b0cdbbf5c81283eae13.js +1 -0
- package/assets/esri/core/workers/chunks/{7850e306d7cd12653b23.js → 90de2f93b0ba1eb337fd.js} +1 -1
- package/assets/esri/core/workers/chunks/91b0035e3eae9e452fbc.js +1 -0
- package/assets/esri/core/workers/chunks/93262d3616ac0cc4b532.js +1 -0
- package/assets/esri/core/workers/chunks/956810d6f553c2198aae.js +1 -0
- package/assets/esri/core/workers/chunks/9748a0db6451336d51ef.js +1 -0
- package/assets/esri/core/workers/chunks/{69a09c6acb5ae03c67f6.js → 985ce51da8ae4984a4db.js} +1 -1
- package/assets/esri/core/workers/chunks/9bbff9230298b1bac46a.js +1 -0
- package/assets/esri/core/workers/chunks/9cae59db5b9cb37baea9.js +1 -0
- package/assets/esri/core/workers/chunks/{ed2626a895ca1d4a7216.js → 9dbb9e74754392b066a8.js} +1 -1
- package/assets/esri/core/workers/chunks/9dd3863b9d7c1a5ea20a.js +1 -0
- package/assets/esri/core/workers/chunks/9e62cfcb4e0188d51294.js +1 -0
- package/assets/esri/core/workers/chunks/a27c2edd7e043643cdd1.js +1 -0
- package/assets/esri/core/workers/chunks/a2a3edec2ee31273d609.js +1 -0
- package/assets/esri/core/workers/chunks/{d0e8d0f8b4e4cc13e837.js → a301aa62a03d3618eba9.js} +1 -1
- package/assets/esri/core/workers/chunks/a39d595fc11afedc1875.js +1 -0
- package/assets/esri/core/workers/chunks/a57b506c538e2186909d.js +1 -0
- package/assets/esri/core/workers/chunks/a722114f01e66a608cec.js +1 -0
- package/assets/esri/core/workers/chunks/{5bda285f6ecf725676b3.js → a7b4821fd3080cf2756f.js} +1 -1
- package/assets/esri/core/workers/chunks/a8d91c2654c5012400b4.js +1 -0
- package/assets/esri/core/workers/chunks/aa70d98e6bcbd06a8461.js +1 -0
- package/assets/esri/core/workers/chunks/add538f52c7bcfd154da.js +1 -0
- package/assets/esri/core/workers/chunks/ae0b0a562f0ab57e1883.js +1 -0
- package/assets/esri/core/workers/chunks/b2c3652c8ce9597dcf89.js +1 -0
- package/assets/esri/core/workers/chunks/b725d944ecd5da02fd9e.js +1 -0
- package/assets/esri/core/workers/chunks/b7fbbbeabaa5bfcdeabc.js +1 -0
- package/assets/esri/core/workers/chunks/{70ead4c231cba4084cf4.js → b856ef3a949ca06a4af5.js} +1 -1
- package/assets/esri/core/workers/chunks/{ae2cd50c2b938b39417b.js → b8b4f68305a4f654fa75.js} +1 -1
- package/assets/esri/core/workers/chunks/{97107e64407fa6825620.js → ba324fd300b6e6a584ae.js} +1 -1
- package/assets/esri/core/workers/chunks/bc40b96080346b91e507.js +1 -0
- package/assets/esri/core/workers/chunks/bd8ee0205f0a01d6d4d7.js +1 -0
- package/assets/esri/core/workers/chunks/c5ca8245113576b35acc.js +1 -0
- package/assets/esri/core/workers/chunks/{c7a0c4ca37ebd1d98cf1.js → c629a676b707138e7a1c.js} +1 -1
- package/assets/esri/core/workers/chunks/c8a1aa90ec6d455ff82d.js +1 -0
- package/assets/esri/core/workers/chunks/c8dd8b67100177109619.js +1 -0
- package/assets/esri/core/workers/chunks/c8eb8744f1ed9d1897dc.js +1 -0
- package/assets/esri/core/workers/chunks/ccc89208aad7206aabd9.js +1 -0
- package/assets/esri/core/workers/chunks/cebd6732fe573f79849c.js +1 -0
- package/assets/esri/core/workers/chunks/{c5ddf8b347c31fe772a3.js → d45769f8a02abe5d2917.js} +1 -1
- package/assets/esri/core/workers/chunks/d4b62e78bb27272a5f83.js +1 -0
- package/assets/esri/core/workers/chunks/d52b2a591e5e6abaa133.js +1 -0
- package/assets/esri/core/workers/chunks/{0978e12dd6a1cbc50b80.js → d572b125bed40a4d02b1.js} +1 -1
- package/assets/esri/core/workers/chunks/d65206fea850b1fc0712.js +1 -0
- package/assets/esri/core/workers/chunks/d6a42c936ead00ab7ad4.js +1 -0
- package/assets/esri/core/workers/chunks/d77887edc10d5be39ac9.js +1 -0
- package/assets/esri/core/workers/chunks/d7b9c16fe73f50a41099.js +1 -0
- package/assets/esri/core/workers/chunks/{423c7a981b9a06b76cbd.js → d833fc1fe63c9917ae3e.js} +1 -1
- package/assets/esri/core/workers/chunks/{7b6fd287e7043ad50f4e.js → d9bf0be2323e9df55834.js} +1 -1
- package/assets/esri/core/workers/chunks/dab98890d77a6b0b2741.js +1 -0
- package/assets/esri/core/workers/chunks/dca6abf260c0bfb7c9c0.js +1 -0
- package/assets/esri/core/workers/chunks/e2ac387e154d68fd10ca.js +1 -0
- package/assets/esri/core/workers/chunks/{fc8cb947a677aa12348d.js → e38ffdb19132529beda7.js} +1 -1
- package/assets/esri/core/workers/chunks/e39259ff441fb67cd3e4.js +1 -0
- package/assets/esri/core/workers/chunks/e3c152eeaa1c95f0f2d2.js +1 -0
- package/assets/esri/core/workers/chunks/e4ae0fad312467f218df.js +1 -0
- package/assets/esri/core/workers/chunks/e50cc686db878d0a9399.js +1 -0
- package/assets/esri/core/workers/chunks/e7cd5eeb15d3783f803d.js +1 -0
- package/assets/esri/core/workers/chunks/e8042584e422044ca1d1.js +1 -0
- package/assets/esri/core/workers/chunks/e89640667b71c1bb4ee3.js +1 -0
- package/assets/esri/core/workers/chunks/e9649aa2d0fdd28d91ac.js +1 -0
- package/assets/esri/core/workers/chunks/ee31801144602ce816d3.js +1 -0
- package/assets/esri/core/workers/chunks/eff8a1a880e0eb1a6814.js +1 -0
- package/assets/esri/core/workers/chunks/f2b7c61462f530d812c4.js +1 -0
- package/assets/esri/core/workers/chunks/f56404d401dfbce29473.js +1 -0
- package/assets/esri/core/workers/chunks/f87416f2aa791cd1bebe.js +1 -0
- package/assets/esri/core/workers/chunks/{f3744b12a5d0d8ca8621.js → fa65aafac2b99478c32a.js} +1 -1
- package/assets/esri/core/workers/chunks/fb14a0c8d2edf868838c.js +1 -0
- package/assets/esri/core/workers/chunks/fb8a24aa04bd2fa43241.js +1 -0
- package/assets/esri/core/workers/chunks/fbb27d2cef962f725180.js +1 -0
- package/assets/esri/core/workers/chunks/{3c6e7dcb79d13e8aecc5.js → fc965ace82bef4c6111b.js} +1 -1
- package/assets/esri/core/workers/chunks/{5954f02c3901b28d8e73.js → fd9382e5207b6da74b91.js} +1 -1
- package/assets/esri/core/workers/chunks/fdb370546be4ad552959.js +1 -0
- package/assets/esri/core/workers/chunks/fefac70ebe29dff54b4c.js +1 -0
- package/chunks/BlurEmission.glsl.js +7 -20
- package/chunks/Bufferer-CclWhXVb.js +1 -1
- package/chunks/ColorMaterial.glsl.js +1 -1
- package/chunks/Component.glsl.js +1 -1
- package/chunks/EmissionComposite.glsl.js +2 -2
- package/chunks/Envelope.js +1 -1
- package/chunks/Envelope2D.js +1 -1
- package/chunks/Fog.glsl.js +5 -5
- package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
- package/chunks/ImageMaterial.glsl.js +1 -1
- package/chunks/LineMarker.glsl.js +2 -2
- package/chunks/MultiPathImpl.js +1 -1
- package/chunks/OperatorGeodesicBuffer.js +1 -1
- package/chunks/OperatorGeodeticArea.js +1 -1
- package/chunks/OperatorShapePreservingProject.js +1 -1
- package/chunks/Point2D.js +1 -1
- package/chunks/RealisticAtmosphere.glsl.js +7 -9
- package/chunks/RealisticAtmosphereCompositing.glsl.js +6 -10
- package/chunks/RibbonLine.glsl.js +154 -108
- package/chunks/Terrain.glsl.js +27 -27
- package/chunks/UPCPointRenderer.glsl.js +100 -0
- package/chunks/UnitFactory.js +1 -1
- package/chunks/Water.glsl.js +24 -24
- package/chunks/arcade.js +1 -1
- package/chunks/arcgis-knowledge-client-core-simd.js +4 -4
- package/chunks/arcgis-knowledge-client-core.js +4 -4
- package/chunks/array.js +1 -1
- package/chunks/basis_encoder.js +3 -3
- package/chunks/basis_transcoder.js +2 -2
- package/chunks/draco_mesh_decoder.js +2 -2
- package/chunks/dxt_encoder.js +3 -3
- package/chunks/i3s.js +2 -2
- package/chunks/languageUtils.js +1 -1
- package/chunks/lclayout.js +3 -3
- package/chunks/lerc-wasm.js +1 -1
- package/chunks/lyr3DWorker.js +2 -2
- package/chunks/pe.js +1 -1
- package/chunks/projector.js +1 -1
- package/chunks/qb3-wasm.js +1 -1
- package/chunks/vxlLayer.js +2 -2
- package/colorUtils.js +1 -1
- package/config.js +1 -1
- package/core/AsyncUpdate.js +1 -1
- package/core/Clonable.js +1 -1
- package/core/Identifiable.js +1 -1
- package/core/Loadable.js +1 -1
- package/core/MultiOriginJSONSupport.js +1 -1
- package/core/NumericIdentifiable.js +1 -1
- package/core/Promise.js +1 -1
- package/core/ReadOnlyMultiOriginJSONSupport.js +1 -1
- package/core/accessorSupport/metadata.js +1 -1
- package/core/accessorSupport/trackingUtils.js +1 -1
- package/core/asyncUtils.js +1 -1
- package/core/handleUtils.js +1 -1
- package/core/mapCollectionUtils.js +1 -1
- package/core/reactiveUtils.js +1 -1
- package/core/sql/SqlTimestampOffset.js +1 -1
- package/core/sql/WhereClause.js +1 -1
- package/core/sql/WhereGrammar.js +1 -1
- package/core/sql/writeUtils.js +1 -1
- package/core/sql.js +1 -1
- package/core/urlUtils.js +1 -1
- package/core/workers/workers.js +1 -1
- package/geohash/GeohashCell.js +1 -1
- package/geohash/GeohashTree.js +1 -1
- package/geometry/coordinateConversion/CoordinateConversionModel.d.ts +11 -56
- package/geometry/coordinateConversion/support/Conversion.d.ts +5 -17
- package/geometry/coordinateConversion/support/Format.d.ts +6 -30
- package/geometry/coordinateConversion/types.d.ts +15 -15
- package/geometry/operators/reshapeOperator.js +1 -1
- package/geometry/support/MeshMaterial.js +1 -1
- package/geometry/support/MeshMaterialMetallicRoughness.js +1 -1
- package/geometry/support/meshUtils/elevationSampler.js +1 -1
- package/graphic/AggregateGraphicOrigin.js +1 -1
- package/graphic/AnnotationFeatureGraphicOrigin.js +1 -1
- package/graphic/BuildingGraphicOrigin.js +1 -1
- package/graphic/CSVGraphicOrigin.js +1 -1
- package/graphic/CatalogGraphicOrigin.js +1 -1
- package/graphic/DimensionFeatureGraphicOrigin.js +1 -1
- package/graphic/FeatureGraphicOrigin.js +1 -1
- package/graphic/GeoJSONGraphicOrigin.js +1 -1
- package/graphic/GeoRSSGraphicOrigin.js +1 -1
- package/graphic/ImageryGraphicOrigin.js +1 -1
- package/graphic/ImageryTileGraphicOrigin.js +1 -1
- package/graphic/KMLGraphicOrigin.js +1 -1
- package/graphic/KnowledgeGraphGraphicOrigin.js +1 -1
- package/graphic/LinkChartGraphicOrigin.js +1 -1
- package/graphic/MapImageGraphicOrigin.js +1 -1
- package/graphic/MapNotesGraphicOrigin.js +1 -1
- package/graphic/OGCFeatureGraphicOrigin.js +1 -1
- package/graphic/OrientedImageryGraphicOrigin.js +1 -1
- package/graphic/ParquetGraphicOrigin.js +1 -1
- package/graphic/PointCloudGraphicOrigin.js +1 -1
- package/graphic/SceneGraphicOrigin.js +1 -1
- package/graphic/SketchGraphicOrigin.js +1 -1
- package/graphic/StreamGraphicOrigin.js +1 -1
- package/graphic/SubtypeGroupGraphicOrigin.js +1 -1
- package/graphic/TileGraphicOrigin.js +1 -1
- package/graphic/TrackGraphicOrigin.js +1 -1
- package/graphic/VectorTileGraphicOrigin.js +1 -1
- package/graphic/VoxelGraphicOrigin.js +1 -1
- package/graphic/WCSGraphicOrigin.js +1 -1
- package/graphic/WFSGraphicOrigin.js +1 -1
- package/graphic/getLayerViewLayer.js +2 -0
- package/identity/IdentityManagerBase.js +1 -1
- package/interfaces.d.ts +8 -0
- package/kernel.js +1 -1
- package/layers/ElevationLayer.js +1 -1
- package/layers/LinkChartLayer.d.ts +1 -1
- package/layers/LinkChartLayer.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/PointCloudLayer.js +3 -3
- package/layers/VectorTileLayer.d.ts +17 -10
- package/layers/VoxelWasmPerSceneView.js +1 -1
- package/layers/WMTSLayer.js +1 -1
- package/layers/graphics/sources/CSVSource.js +1 -1
- package/layers/graphics/sources/GeoJSONSource.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayerBase.js +1 -1
- package/layers/mixins/APIKeyMixin.js +1 -1
- package/layers/mixins/ArcGISCachedService.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/ArcGISMapService.js +1 -1
- package/layers/mixins/ArcGISService.js +1 -1
- package/layers/mixins/BlendLayer.js +1 -1
- package/layers/mixins/CustomParametersMixin.js +1 -1
- package/layers/mixins/DataElementMixin.js +1 -1
- package/layers/mixins/DataSeriesLayer.js +1 -1
- package/layers/mixins/DisplayFilteredLayer.js +1 -1
- package/layers/mixins/EditBusLayer.js +1 -1
- package/layers/mixins/FeatureEffectLayer.js +1 -1
- package/layers/mixins/FeatureLayerBase.js +1 -1
- package/layers/mixins/FeatureReductionLayer.js +1 -1
- package/layers/mixins/HeightModelInfoMixin.js +1 -1
- package/layers/mixins/OperationalLayer.js +1 -1
- package/layers/mixins/OrderedLayer.js +1 -1
- package/layers/mixins/PortalLayer.js +1 -1
- package/layers/mixins/PublishableLayer.js +1 -1
- package/layers/mixins/RasterJobHandlerMixin.js +1 -1
- package/layers/mixins/RasterPresetRendererMixin.js +1 -1
- package/layers/mixins/RefreshableLayer.js +1 -1
- package/layers/mixins/ReloadableLayer.js +1 -1
- package/layers/mixins/ScaleRangeLayer.js +1 -1
- package/layers/mixins/SceneService.js +1 -1
- package/layers/mixins/SublayersOwner.js +1 -1
- package/layers/mixins/TemporalLayer.js +1 -1
- package/layers/mixins/TrackableLayer.js +1 -1
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/layers/raster/datasets/TIFFRaster.js +1 -1
- package/layers/raster/datasets/pixelReader.js +1 -1
- package/layers/raster/datasets/xmlUtilities.js +1 -1
- package/layers/raster/formats/Lerc.js +1 -1
- package/layers/raster/formats/Qb3.js +1 -1
- package/layers/raster/formats/TiffDecoder.js +1 -1
- package/layers/raster/formats/blosc.js +1 -1
- package/layers/raster/formats/tiffParser.js +1 -1
- package/layers/raster/formats/tiffSpatialReferenceUtils.js +2 -0
- package/layers/raster/formats/tiffTag.js +1 -1
- package/layers/raster/functions/colormaps.js +1 -1
- package/layers/support/TitleCreator.js +1 -1
- package/layers/support/WMTSSublayer.js +1 -1
- package/layers/support/geospatialPDFUtils.js +1 -1
- package/layers/support/imageUtils.js +1 -1
- package/layers/support/labelUtils.js +1 -1
- package/layers/support/tiles3DUtils.js +1 -1
- package/layers/video/VideoController.js +14 -14
- package/legend/ActiveLayerInfo.js +1 -1
- package/legend/support/sizeRampUtils.js +1 -1
- package/libs/basisu/BasisUEncoder.js +1 -1
- package/libs/basisu/BasisUTranscoder.js +1 -1
- package/libs/dracoMeshDecoder/dracoMeshDecoder.js +1 -1
- package/libs/dxtEncoder/DXTEncoder.js +1 -1
- package/libs/i3s/I3SModule.js +1 -1
- package/libs/librust-parquet/loadParquetModule.js +1 -1
- package/libs/librust-text/loadTextModule.js +1 -1
- package/libs/linkchartlayout/LinkChartLayout.js +1 -1
- package/libs/maquette-advanced-projector/projector.js +1 -1
- package/package.json +2 -2
- package/popup/FeatureModel.js +1 -1
- package/popup/FeaturesModel.d.ts +6 -0
- package/popup/FeaturesModel.js +1 -1
- package/portal/PortalUser.js +1 -1
- package/renderers/mixins/VisualVariablesMixin.js +1 -1
- package/renderers/visualVariables/VisualVariableFactory.js +1 -1
- package/rest/identify.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/knowledgeWasmAccess.js +1 -1
- package/rest/layerSources/utils.js +1 -1
- package/rest/networks/validateNetworkTopology.js +1 -1
- package/rest/support/AttributeBinsQuery.d.ts +41 -1
- package/rest/support/AttributeBinsQuery.js +1 -1
- package/rest/support/CameraInfoMixin.js +1 -1
- package/rest/support/NormalizationBinParametersMixin.js +1 -1
- package/rest/support/Query.d.ts +1 -2
- package/rest/support/generateRendererUtils.js +1 -1
- package/rest/versionManagement/gdbVersion/post.js +1 -1
- package/rest/versionManagement/gdbVersion/reconcile.js +1 -1
- package/rest/versionManagement/gdbVersion/serverVersionUtils.js +1 -1
- package/rest/versionManagement/gdbVersion/support/PostResult.d.ts +1 -1
- package/rest/versionManagement/gdbVersion/support/ReconcileResult.d.ts +1 -1
- package/smartMapping/raster/renderers/vectorField.js +1 -1
- package/smartMapping/renderers/type.js +1 -1
- package/smartMapping/statistics/histogram.js +1 -1
- package/smartMapping/statistics/types.d.ts +18 -0
- package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/FeatureLayerBinningAdapter.js +1 -1
- package/smartMapping/support/adapters/support/histogramUtils.js +1 -1
- package/smartMapping/symbology/color.js +1 -1
- package/smartMapping/symbology/support/Theme.js +1 -1
- package/support/BasemapStyle.js +1 -1
- package/support/LayersMixin.js +1 -1
- package/support/TablesMixin.js +1 -1
- package/support/actions/ActionBase.d.ts +14 -2
- package/support/actions/ActionBase.js +1 -1
- package/support/actions/ActionButton.js +1 -1
- package/support/actions/ActionToggle.js +1 -1
- package/support/loadArcade.js +1 -1
- package/symbols/LineSymbol3DLayer.js +1 -1
- package/tables/support/templateUtils.js +1 -1
- package/versionManagement/VersionManagementService.d.ts +47 -1
- package/versionManagement/VersionManagementService.js +1 -1
- package/versionManagement/support/PostJobInfo.d.ts +61 -0
- package/versionManagement/support/PostJobInfo.js +2 -0
- package/versionManagement/support/ReconcileJobInfo.d.ts +61 -0
- package/versionManagement/support/ReconcileJobInfo.js +2 -0
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/flow/utils.js +1 -1
- package/views/2d/engine/vectorTiles/TextShaping.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLMaterial.js +1 -1
- package/views/2d/engine/webgl/GlyphWorker.js +1 -1
- package/views/2d/engine/webgl/cpuMapped/CpuMeshData.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/bitmapUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/surface.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/utils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/layerViewModuleImportUtils.js +1 -1
- package/views/2d/layers/BitmapTileLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/LayerView2D.js +1 -1
- package/views/2d/layers/MapImageLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
- package/views/2d/layers/features/support/AttributeStore.js +1 -1
- package/views/2d/layers/features/support/DisplayIdGenerator.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/2d/layers/support/visualVariableSimpleUtils.js +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/layerViewModuleImportUtils.js +1 -1
- package/views/3d/layers/BuildingSublayerView3D.js +1 -1
- package/views/3d/layers/DynamicLayerView3D.js +1 -1
- package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
- package/views/3d/layers/FeatureLikeLayerViewBase3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/LayerView3D.js +1 -1
- package/views/3d/layers/Lyr3DWorker.js +1 -1
- package/views/3d/layers/PointCloudIntersector.js +2 -0
- package/views/3d/layers/PointCloudLayerView3D.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/layers/TiledLayerView3D.js +1 -1
- package/views/3d/layers/UPCPointRenderer.js +2 -0
- package/views/3d/layers/UPCPointRendererNode.js +2 -0
- package/views/3d/layers/UpdatablePointCloudLayerView3D.js +2 -0
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/i3s/PointCloudHighlights.js +1 -1
- package/views/3d/layers/i3s/PointCloudNodeHighlights.js +2 -0
- package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
- package/views/3d/layers/i3s/PointCloudRendererNode.js +1 -1
- package/views/3d/layers/support/DefinitionExpressionSceneLayerView.js +1 -1
- package/views/3d/layers/support/GraphicsProcessorLayerView3D.js +1 -1
- package/views/3d/layers/support/PopupSceneLayerView.js +1 -1
- package/views/3d/layers/support/TemporalSceneLayerView.js +1 -1
- package/views/3d/layers/support/Tiles3DLayerViewRegistration.js +1 -1
- package/views/3d/state/utils/groundNavigationUtils.js +1 -1
- package/views/3d/support/QualityProfile.js +1 -1
- package/views/3d/support/QualitySettings.js +1 -1
- package/views/3d/support/cameraUtils.js +1 -1
- package/views/3d/support/engineContent/sdfPrimitives.js +1 -1
- package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/PatchGeometry.js +1 -1
- package/views/3d/terrain/PatchGeometryFactory.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/webgl/RenderNode.js +1 -1
- package/views/3d/webgl-engine/collections/Component/DepthRange.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +9 -9
- package/views/3d/webgl-engine/collections/Component/RenderSubmitSystem.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +19 -19
- package/views/3d/webgl-engine/core/shaderLibrary/outputEmission.glsl.js +5 -0
- package/views/3d/webgl-engine/core/shaderLibrary/{util/CloudsParallaxShading.glsl.js → renderClouds.glsl.js} +5 -4
- package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +21 -12
- package/views/3d/webgl-engine/core/shaderLibrary/shading/evaluateSceneLightingFragment.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/forwardLocalUp.glsl.js +1 -5
- package/views/3d/webgl-engine/core/shaderLibrary/shading/readShadow.glsl.js +7 -7
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/blendLayers.glsl.js +9 -9
- package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderModules/glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
- package/views/3d/webgl-engine/effects/RenderNodes.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphere.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphereCompositing.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphereConfiguration.js +1 -1
- package/views/3d/webgl-engine/effects/fog/Fog.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
- package/views/3d/webgl-engine/effects/glow/BlurEmission.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/glow/applyEmissiveGlow.glsl.js +41 -59
- package/views/3d/webgl-engine/lib/EmissionComposite.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatShadows.js +1 -1
- package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/TriangleRangeBVH.js +1 -1
- package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterialBaseInstance.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterialBaseInstance.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/Water.glsl.js +1 -1
- package/views/3d/webgl-engine/materials/getWaterColor.glsl.js +15 -15
- package/views/3d/webgl-engine/materials/renderers/BufferCache.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +12 -14
- package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/Terrain.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/TerrainTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/UPCPointRenderer.glsl.js +2 -0
- package/views/3d/webgl-engine/shaders/UPCPointRendererTechnique.js +2 -0
- package/views/3d/webgl-engine/shaders/UPCPointRendererTechniqueConfiguration.js +2 -0
- package/views/Attribution.js +2 -2
- package/views/BreakpointsOwner.js +1 -1
- package/views/DOMContainer.d.ts +3 -2
- package/views/DOMContainer.js +1 -1
- package/views/PopupView.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/View.d.ts +29 -3
- package/views/View.js +1 -1
- package/views/Viewport2DBaseMixin.js +1 -1
- package/views/Viewport2DMixin.js +1 -1
- package/views/animation/pointToPoint/Animation.js +1 -1
- package/views/interactive/Tooltip.d.ts +1 -1
- package/views/interactive/Tooltip.js +1 -1
- package/views/interactive/tooltip/components/TooltipEditableField.js +1 -1
- package/views/interactive/tooltip/content/TooltipContent.js +1 -1
- package/views/interactive/tooltip/infos/DynamicTooltipInfo.js +1 -1
- package/views/interactive/tooltip/infos/TooltipInfoWithCoordinates.js +1 -1
- package/views/layers/MapImageLayerView.js +1 -1
- package/views/layers/PointCloudLayerView.js +1 -1
- package/views/layers/RefreshableLayerView.js +1 -1
- package/views/layers/WMSLayerView.js +1 -1
- package/views/overlay/ViewOverlay.js +1 -1
- package/views/support/flow/utils.js +1 -1
- package/views/support/screenshotUtils.js +1 -1
- package/views/types.d.ts +15 -0
- package/views/webgl/AllocationTracer.js +1 -1
- package/views/webgl/InstanceCounter.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/views/webgl/ShaderBuilder.js +23 -23
- package/views/webgl/ShaderTranspiler.js +1 -1
- package/views/webgl/capabilities/DisjointTimerQuery.js +1 -1
- package/views/webgl/capabilities.js +1 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +1 -1
- package/widgets/CoordinateConversion/support/Conversion.d.ts +1 -0
- package/widgets/CoordinateConversion/support/Format.d.ts +1 -0
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Feature/support/FeatureContentMixin.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/support/EditableColumnTemplateMixin.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/Legend/support/sizeRampUtils.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/DataCaptureAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/mixins/DrawHandlerMixin.js +1 -1
- package/widgets/OrientedImageryViewer/mixins/ImageMeasurementMixin.js +1 -1
- package/widgets/OrientedImageryViewer/mixins/SketchHandlerMixin.js +1 -1
- package/widgets/OrientedImageryViewer/mixins/TriangulatedImageMeasurementMixin.js +1 -1
- package/widgets/OrientedImageryViewer/mixins/TriangulatedSketchHandlerMixin.js +1 -1
- package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
- package/widgets/Sketch/support/ResponsiveToolbar/ToolbarGroupBase.js +1 -1
- package/widgets/smartMapping/support/utils.js +1 -1
- package/widgets/support/AnalysisViewModelMixin.js +1 -1
- package/widgets/support/AnchorElementViewModel.js +1 -1
- package/widgets/support/GoTo.js +1 -1
- package/widgets/support/InteractiveToolViewModelMixin.js +1 -1
- package/assets/esri/core/workers/chunks/0329fa3aa3403f1c243b.js +0 -1
- package/assets/esri/core/workers/chunks/04f09e1afda92cbe09f5.js +0 -1
- package/assets/esri/core/workers/chunks/0a97b1974367382cfdf5.js +0 -1
- package/assets/esri/core/workers/chunks/0b74d353f80974ff6fea.js +0 -1
- package/assets/esri/core/workers/chunks/0e100855bb3832a68e4b.js +0 -1
- package/assets/esri/core/workers/chunks/0ede8ba757fd0976d485.js +0 -1
- package/assets/esri/core/workers/chunks/0f39576806866cff777d.js +0 -1
- package/assets/esri/core/workers/chunks/0fea695721a818955abf.js +0 -1
- package/assets/esri/core/workers/chunks/10499abb7678e95d9f05.js +0 -1
- package/assets/esri/core/workers/chunks/110f78d5e78732750097.js +0 -1
- package/assets/esri/core/workers/chunks/1507297550c3cd1268e2.js +0 -1
- package/assets/esri/core/workers/chunks/21aa29039a95debd7f44.js +0 -1
- package/assets/esri/core/workers/chunks/29b74a3ff03d3c8b65dc.js +0 -1
- package/assets/esri/core/workers/chunks/2a84c9a81ec2bed3d4e5.js +0 -1
- package/assets/esri/core/workers/chunks/2ad6db80a508285a3e5d.js +0 -1
- package/assets/esri/core/workers/chunks/2b87d5b8931305b11ff6.js +0 -1
- package/assets/esri/core/workers/chunks/2f07dc632e51fddb2d48.js +0 -1
- package/assets/esri/core/workers/chunks/2f9adf0b809ce8797ebf.js +0 -1
- package/assets/esri/core/workers/chunks/3169d639ab54bf508e2c.js +0 -1
- package/assets/esri/core/workers/chunks/3354f1fa90f8ce4c8fde.js +0 -1
- package/assets/esri/core/workers/chunks/3809a8b3f31bb811d964.js +0 -1
- package/assets/esri/core/workers/chunks/38bba952c38af5a150e7.js +0 -1
- package/assets/esri/core/workers/chunks/3982409149571a827390.js +0 -1
- package/assets/esri/core/workers/chunks/3aea09191b737dc1de70.js +0 -1
- package/assets/esri/core/workers/chunks/3b11e4d2e69b7aea1d65.js +0 -1
- package/assets/esri/core/workers/chunks/3c1651e9e8d2e83d22df.js +0 -1
- package/assets/esri/core/workers/chunks/3df6631895d0a7109e00.js +0 -1
- package/assets/esri/core/workers/chunks/3e8d70039800f2395d66.js +0 -1
- package/assets/esri/core/workers/chunks/3f8d66d8447036f122ae.js +0 -1
- package/assets/esri/core/workers/chunks/420c6a14107a77ddad36.js +0 -1
- package/assets/esri/core/workers/chunks/421b8244d01736d82e7a.js +0 -1
- package/assets/esri/core/workers/chunks/457bd1bd37c67b61efe8.js +0 -1
- package/assets/esri/core/workers/chunks/48b60ff59afbae865de1.js +0 -1
- package/assets/esri/core/workers/chunks/4953314fd9afd52b6eec.js +0 -1
- package/assets/esri/core/workers/chunks/4cf8bddc3e0619e34424.js +0 -1
- package/assets/esri/core/workers/chunks/4d0bb5e4a1d789cc0d75.js +0 -1
- package/assets/esri/core/workers/chunks/4d8539674fc2e4fea03c.js +0 -1
- package/assets/esri/core/workers/chunks/5060be52a380fc4920f8.js +0 -1
- package/assets/esri/core/workers/chunks/5082cdc3e91e1c6d1070.js +0 -1
- package/assets/esri/core/workers/chunks/52ded087d19a93e29d93.js +0 -1
- package/assets/esri/core/workers/chunks/53bbb9aa6e4e4a0a8121.js +0 -1
- package/assets/esri/core/workers/chunks/54d3cb7d95d948998591.js +0 -1
- package/assets/esri/core/workers/chunks/560ebf5524ade7d1f85b.js +0 -1
- package/assets/esri/core/workers/chunks/5d75fcaded78f76efd3e.js +0 -1
- package/assets/esri/core/workers/chunks/5f7505ada0991cfbdd84.js +0 -1
- package/assets/esri/core/workers/chunks/601d668e70c5d72fe58c.js +0 -1
- package/assets/esri/core/workers/chunks/6737b2a4a70bbdafaf67.js +0 -1
- package/assets/esri/core/workers/chunks/6a202ef9ba9b89e09153.js +0 -1
- package/assets/esri/core/workers/chunks/6a339a47e765b9937dd7.js +0 -1
- package/assets/esri/core/workers/chunks/6c21964eb7c25c8b1e9a.js +0 -1
- package/assets/esri/core/workers/chunks/6fd10891506925560443.js +0 -29
- package/assets/esri/core/workers/chunks/71a05edd6f7f3197e621.js +0 -1
- package/assets/esri/core/workers/chunks/72b7e7b518c88b7569dd.js +0 -1
- package/assets/esri/core/workers/chunks/73918ca7fdf41272d941.js +0 -1
- package/assets/esri/core/workers/chunks/75274ac3ddf7c45f47d7.js +0 -1
- package/assets/esri/core/workers/chunks/7673217a688d739141e2.js +0 -1
- package/assets/esri/core/workers/chunks/76869c14dd7ffaae7eff.js +0 -1
- package/assets/esri/core/workers/chunks/7b156905d168bf973518.js +0 -1
- package/assets/esri/core/workers/chunks/7baa49055bc31618b56e.js +0 -1
- package/assets/esri/core/workers/chunks/7bd5a074d9f4ba137649.js +0 -1
- package/assets/esri/core/workers/chunks/7c13d7754fc914a87817.js +0 -1
- package/assets/esri/core/workers/chunks/7dc2e714234b2cee8701.js +0 -1
- package/assets/esri/core/workers/chunks/80d1267606383ae537f2.js +0 -1
- package/assets/esri/core/workers/chunks/835e0315661003caa71f.js +0 -1
- package/assets/esri/core/workers/chunks/8570e3df90fb76a8741a.js +0 -1
- package/assets/esri/core/workers/chunks/86578c191d76062157ec.js +0 -1
- package/assets/esri/core/workers/chunks/87d6e99d83db9a8cda7c.js +0 -1
- package/assets/esri/core/workers/chunks/8c9934d30655dd2c48da.js +0 -1
- package/assets/esri/core/workers/chunks/9117c9b720c9ba6e7a6e.js +0 -1
- package/assets/esri/core/workers/chunks/939fb9a8c301ace07186.js +0 -1
- package/assets/esri/core/workers/chunks/94a38c9b3d086b37242f.js +0 -1
- package/assets/esri/core/workers/chunks/98e1751f888975532afc.js +0 -1
- package/assets/esri/core/workers/chunks/9d61f10f2bef15b5811d.js +0 -1
- package/assets/esri/core/workers/chunks/9dcf5be203f8b1e47d9d.js +0 -1
- package/assets/esri/core/workers/chunks/9e372af03d62fa5ad10e.js +0 -1
- package/assets/esri/core/workers/chunks/9eb00bb8dab995c2dcb3.js +0 -1
- package/assets/esri/core/workers/chunks/9ed81757937fe08363ed.js +0 -1
- package/assets/esri/core/workers/chunks/9fe07947cf4ec44014e8.js +0 -1
- package/assets/esri/core/workers/chunks/a1d265614d038eb603f7.js +0 -1
- package/assets/esri/core/workers/chunks/a3d02885d6962b49eee4.js +0 -1
- package/assets/esri/core/workers/chunks/a66d6298236d59a615db.js +0 -1
- package/assets/esri/core/workers/chunks/a710c7a0584d9e45a469.js +0 -1
- package/assets/esri/core/workers/chunks/ab784764ddf9d7f693a1.js +0 -1
- package/assets/esri/core/workers/chunks/ace210d313ce53f3ae10.js +0 -1
- package/assets/esri/core/workers/chunks/b7426e5f290573cb9689.js +0 -1
- package/assets/esri/core/workers/chunks/b88e1084097a93a89f61.js +0 -1
- package/assets/esri/core/workers/chunks/baa5aa0670b23db86b50.js +0 -1
- package/assets/esri/core/workers/chunks/c0867890a84b4c98e0ba.js +0 -1
- package/assets/esri/core/workers/chunks/c1a551c4aa77f123d091.js +0 -1
- package/assets/esri/core/workers/chunks/c58f859dec9d6675dbd6.js +0 -1
- package/assets/esri/core/workers/chunks/c7425fb5e804f0f9d4dd.js +0 -1
- package/assets/esri/core/workers/chunks/c85184baccb4004bf42b.js +0 -1
- package/assets/esri/core/workers/chunks/ccf4b5fdcdace533bcb7.js +0 -1
- package/assets/esri/core/workers/chunks/d5bb6f479c0cdfc21d8a.js +0 -1
- package/assets/esri/core/workers/chunks/d689e7c685dd9a444d19.js +0 -1
- package/assets/esri/core/workers/chunks/d8b84d21144a58b6b911.js +0 -1
- package/assets/esri/core/workers/chunks/d8ffb1502def5c85740b.js +0 -1
- package/assets/esri/core/workers/chunks/db96d1d9f6d1a4d7fd2a.js +0 -1
- package/assets/esri/core/workers/chunks/de35baceeb815e6befd5.js +0 -1
- package/assets/esri/core/workers/chunks/e0341def2d81e679a200.js +0 -1
- package/assets/esri/core/workers/chunks/e164198dbb87ee202ba1.js +0 -1
- package/assets/esri/core/workers/chunks/e4eb6fdf5115bed48856.js +0 -1
- package/assets/esri/core/workers/chunks/e566102c7ed7a8ebf89e.js +0 -1
- package/assets/esri/core/workers/chunks/e59271f8b142a7602b7a.js +0 -1
- package/assets/esri/core/workers/chunks/eef3fa804e456beac4c1.js +0 -1
- package/assets/esri/core/workers/chunks/f319b59228b64e7f9008.js +0 -1
- package/assets/esri/core/workers/chunks/f42adcea81390fb21c66.js +0 -1
- package/assets/esri/core/workers/chunks/f4fcf87da4495584223d.js +0 -1
- package/assets/esri/core/workers/chunks/f52d081bbde5c95265cf.js +0 -1
- package/assets/esri/core/workers/chunks/f7ab4bf14ec8e986ef7c.js +0 -1
- package/assets/esri/core/workers/chunks/f92c92c0fd1b5b33ca21.js +0 -1
- package/assets/esri/core/workers/chunks/f989588dfdbb69056491.js +0 -1
- package/assets/esri/core/workers/chunks/fbd5f3b81cd9f061824d.js +0 -1
- package/assets/esri/core/workers/chunks/fc5b920f9756e11c2f88.js +0 -1
- package/assets/esri/core/workers/chunks/fdcc5fe4630a4ccf58de.js +0 -1
- package/assets/esri/core/workers/chunks/ff0a0819bba5e8264c47.js +0 -1
- package/assets/esri/core/workers/chunks/ff225735eba7f9130e19.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[9358],{56372(e,t,r){r.d(t,{A:()=>P});var i=r(56454),n=r(10107),s=r(64108),o=r(16649),a=r(85537),l=r(96156),u=(r(44208),r(4718)),c=r(53966),h=r(93687),f=r(30801),d=r(62788),p=r(47328),y=r(67867);const g=new WeakMap;class _ extends f.T{get trackingTarget(){return this._trackingTarget??=new y.R(this)}constructor(e,t){super(),this.propertyName=e,this.metadata=t,this.flags=function(e){let t=g.get(e);if(null!=t)return t;let r=p.i.Dirty|(e.nonNullable?p.i.NonNullable:0)|(e.hasOwnProperty("value")?p.i.HasDefaultValue:0)|(void 0===e.get?p.i.DepTrackingInitialized:0)|(void 0===e.dependsOn?p.i.AutoTracked:0);return g.set(e,r),r}(t)}destroy(){this.flags&p.i.Dirty&&this.onCommitted(),super.destroy(),this._trackingTarget?.destroy()}getComputed(e,t){e.mutable&&(0,d.gc)(this);let r=e.store,i=this.propertyName,n=this.flags,s=r.get(i);if(n&p.i.Computing||!(n&p.i.Dirty)&&r.has(i))return s;this.flags|=p.i.Computing;let o,{host:a}=e;n&p.i.AutoTracked?o=(0,d.a)(this.trackingTarget,t,a):((0,d.Xr)(a,this),o=t.call(a)),this.flags|=p.i.DepTrackingInitialized,r.set(i,o,1);let l=r.get(i);return l===s?this.flags&=~p.i.Dirty:(0,d.F_)(this.commit,this),this.flags&=~p.i.Computing,l}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~p.i.Dirty,this.onCommitted()}onInvalidated(){~this.flags&p.i.Overridden&&(this.flags|=p.i.Dirty);let e=this._observers;if(e&&e.length>0)for(let t of e)t.onInvalidated()}onCommitted(){let e=this._observers;if(e&&e.length>0){if(1===e.length)return void e[0].onCommitted();let t=e.slice();for(let e of t)e.onCommitted()}}}var v=r(35666);class m{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new m;return this._values.forEach((r,i)=>{e&&e.has(i)||t.set(i,(0,u.o8)(r))}),t}get(e){return this._values.get(e)}originOf(){return 7}keys(){return[...this._values.keys()]}set(e,t){this._values.set(e,t)}delete(e){this._values.delete(e)}has(e){return this._values.has(e)}isAtOrigin(e,t){return this.has(e)}isBelowOrigin(e,t){return!this.has(e)}forEach(e){this._values.forEach(e)}}function w(e,t,r){return void 0!==e}function b(e,t,r,i){return!(void 0===e||null==r&&e.flags&p.i.NonNullable&&(i.lifecycle,a.v.INITIALIZING,1))}class A{constructor(e){this.host=e,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=a.v.INITIALIZING,this.store=new m,this.mutable=!0,this._origin=7;let t=this.host.constructor.__accessorMetadata__;for(let e in t){let r=new _(e,t[e]);this.propertiesByName.set(e,r)}this.metadata=t}initialize(){this.lifecycle=a.v.CONSTRUCTING}constructed(){this.lifecycle=a.v.CONSTRUCTED}destroy(){this.lifecycle=a.v.DESTROYED,this.propertiesByName.forEach(e=>e.destroy())}get initialized(){return this.lifecycle!==a.v.INITIALIZING}get(e){let t=this.propertiesByName.get(e);if(!w(t))return;let r=t.metadata.get;if(r)return t.getComputed(this,r);this.mutable&&(0,d.gc)(t);let i=this.store;return i.has(e)?i.get(e):t.metadata.value}originOf(e){let t=this.store.originOf(e);if(void 0===t){let t=this.propertiesByName.get(e);if(void 0!==t&&t.flags&p.i.HasDefaultValue)return"defaults"}return(0,v.OL)(t)}has(e){return this.propertiesByName.has(e)&&this.store.has(e)}keys(){return[...this.propertiesByName.keys()]}internalGet(e){let t=this.propertiesByName.get(e);if(w(t))return this.store.has(e)?this.store.get(e):t.metadata.value}internalSet(e,t){let r=this.propertiesByName.get(e);w(r)&&this._internalSet(r,t)}getDependsInfo(e,t,r){let i=this.propertiesByName.get(t);if(!w(i))return"";let n=new y.R,s=(0,d.a)(n,()=>i.metadata.get?.call(e)),o=`${r}${e.declaredClass.split(".").pop()}.${t}: ${s}\n`,a=n.accessed??new Set;if(0===a.size)return o;r+=" ";for(let e of a)e instanceof _&&(o+=`${r}${e.propertyName}: undefined\n`);return o}setAtOrigin(e,t,r){let i=this.propertiesByName.get(e);if(w(i))return this._setAtOrigin(i,t,r)}isOverridden(e){let t=this.propertiesByName.get(e);return void 0!==t&&!!(t.flags&p.i.Overridden)}clearOrigin(e,t){let r=this.store,i=this.propertiesByName.get(e);if(!w(i))return;let n=r.isAtOrigin(e,t)&&!(i.flags&p.i.Overridden);r.delete(e,t),n&&i.notifyChange()}clearOverride(e){let t=this.propertiesByName.get(e);t&&t.flags&p.i.Overridden&&(t.flags&=~p.i.Overridden,t.notifyChange())}override(e,t){let r=this.propertiesByName.get(e);if(!b(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(N.release(e),!r)return;t=n}r.flags|=p.i.Overridden,this._internalSet(r,t)}set(e,t){let r=this.propertiesByName.get(e);if(!b(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(N.release(e),!r)return;t=n}let n=r.metadata.set;n?n.call(this.host,t):this._internalSet(r,t)}setDefaultOrigin(e){this._origin=(0,v.aB)(e)}getDefaultOrigin(){return(0,v.OL)(this._origin)}notifyChange(e){this.propertiesByName.get(e)?.notifyChange()}invalidate(e){this.propertiesByName.get(e)?.invalidate()}commit(e){this.propertiesByName.get(e)?.commit()}_internalSet(e,t){let r=this.lifecycle===a.v.INITIALIZING?0:this._origin;this._setAtOrigin(e,t,r)}_setAtOrigin(e,t,r){let i=this.store,n=e.propertyName,s=i.isAtOrigin(n,r);if(s&&~e.flags&p.i.Overridden&&(0,u.aI)(t,i.get(n)))return;let o=s||i.isBelowOrigin(n,r);o&&e.invalidate(),i.set(n,t,r),o&&e.commit(),(0,d.fE)(this.host,e)}_cast(e,t){let r=N.acquire();return r.valid=!0,r.value=t,e&&(r.value=e.call(this.host,t,r)),r}}class O{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}}const N=new h.A(()=>new O);var k,S,T=r(47821),j=r(53842),C=r(14012),D=r(51447),E=r(71511),$=r(97768);function I(e){if(null==e)return{value:e};if(Array.isArray(e))return{type:[e[0]],value:null};switch(typeof e){case"object":return e.constructor?.__accessorMetadata__||e instanceof Date?{type:e.constructor,value:e}:e;case"boolean":return{type:Boolean,value:e};case"string":return{type:String,value:e};case"number":return{type:Number,value:e};case"function":return{type:e,value:null};default:return}}const M=Symbol("Accessor-Handles"),z=Symbol("Accessor-Initialized");class P{static{k=M,S=z}static createSubclass(e={}){let{properties:t,declaredClass:r,constructor:i}=e;delete e.declaredClass,delete e.properties,delete e.constructor;let o=this;class a extends o{constructor(...e){super(...e),this.inherited=null,i&&i.apply(this,e)}}(0,l.tD)(a.prototype);for(let t in e){let r=e[t];if("function"==typeof r){let e=function(...e){if(o.prototype[t])return o.prototype[t].apply(this,e)};a.prototype[t]=function(...t){let i,n=this.inherited;this.inherited=e;try{i=r.apply(this,t)}catch(e){throw this.inherited=n,e}return this.inherited=n,i}}else a.prototype[t]=e[t]}for(let e in t){let r=I(t[e]);(0,n.MZ)(r)(a.prototype,e)}return(0,s.$K)(r)(a)}static freeze(e){return e instanceof P?e.__accessor__.mutable=!1:Object.freeze(e),e}static isFrozen(e){return e instanceof P?!e.__accessor__.mutable:Object.isFrozen(e)}constructor(e){if(this[k]=null,this[S]=!1,new.target===P)throw Error("[accessor] cannot instantiate Accessor directly.");let t=new A(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:t}),arguments.length>0&&(t.ctorArgs=e),(0,j.Z)()?.onInstanceConstruct(this)}postscript(){let e=this.__accessor__,t=e.ctorArgs;e.initialize(),t&&(this.set(t),e.ctorArgs=null),e.constructed(),this.initialize(),this[z]=!0}initialize(){}[i.G](){this[M]=(0,$.pR)(this[M])}destroy(){this.destroyed||((0,C.iS)(this),this.__accessor__.destroy(),(0,j.Z)()?.onInstanceDestroy(this))}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[z]}get destroyed(){return this.__accessor__?.lifecycle===a.v.DESTROYED||!1}get destroying(){return this.__accessor__?.lifecycle===a.v.DESTROYING||!1}commitProperty(e){(0,o.Jt)(this,e)}hasOwnProperty(e){return this.__accessor__?this.__accessor__.has(e):Object.prototype.hasOwnProperty.call(this,e)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(e,t){return(0,T.h)(this,e,t),this}watch(e,t,r){return(0,D.eO)(c.A.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://arcg.is/1vaqf42#watch",warnOnce:!0}),(0,C.wB)(this,e,t,r)}addHandles(e,t){if(this.destroyed){let t=Array.isArray(e)?e:[e];for(let e of t)e.remove()}else(this[M]??=new E.A).add(e,t)}removeHandles(e){this[M]?.remove(e)}removeAllHandles(){this[M]?.removeAll()}removeHandlesReference(e){this[M]?.removeReference(e)}hasHandles(e){return!0===this[M]?.has(e)}_override(e,t){void 0===t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_clearOverride(e){return this.__accessor__.clearOverride(e)}_overrideIfSome(e,t){null==t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_isOverridden(e){return this.__accessor__.isOverridden(e)}notifyChange(e){this.__accessor__.notifyChange(e)}_get(e){return this.__accessor__.internalGet(e)}_set(e,t){return this.__accessor__.internalSet(e,t),this}}},98291(e,t,r){r.d(t,{A:()=>s});var i=r(93687);function n(e){e.length=0}class s{constructor(e=50,t=50){this._pool=new i.A(()=>[],void 0,n,t,e)}acquire(){return this._pool.acquire()}release(e){this._pool.release(e)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(e){return o.release(e)}static prune(){o.prune()}}const o=new s(100)},71511(e,t,r){r.d(t,{A:()=>n});var i=r(5479);class n{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let e=0;return this._groups.forEach(t=>{e+=t.length}),e}add(e,t){if((0,i.xZ)(e)){let r=this._getOrCreateGroup(t);for(let t of e)a(t)&&r.push(t)}else a(e)&&this._getOrCreateGroup(t).push(e);return this}forEach(e,t){if("function"==typeof e)this._groups.forEach(t=>t.forEach(e));else{let r=this._getGroup(e);r&&t&&r.forEach(t)}}has(e){return this._groups.has(s(e))}remove(e){if("string"!=typeof e&&(0,i.xZ)(e)){for(let t of e)this.remove(t);return this}return this.has(e)&&(o(this._getGroup(e)),this._groups.delete(s(e))),this}removeAll(){return this._groups.forEach(o),this._groups.clear(),this}removeReference(e){return this._groups.delete(e),this}_getOrCreateGroup(e){if(this.has(e))return this._getGroup(e);let t=[];return this._groups.set(s(e),t),t}_getGroup(e){return this._groups.get(s(e))}}function s(e){return e||"_default_"}function o(e){for(let t of e)t instanceof n?t.removeAll():t.remove()}function a(e){return null!=e&&(!!e.remove||e instanceof n)}},25482(e,t,r){r.d(t,{o:()=>y,T:()=>d});var i=r(32198),n=r(56372),s=r(64108),o=r(4718);class a{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new a;return this._values.forEach((r,i)=>{e&&e.has(i)||t.set(i,(0,o.o8)(r.value),r.origin)}),t}get(e,t){t=this._normalizeOrigin(t);let r=this._values.get(e);return null==t||r?.origin===t?r?.value:void 0}originOf(e){return this._values.get(e)?.origin??7}keys(e){e=this._normalizeOrigin(e);let t=[...this._values.keys()];return null==e?t:t.filter(t=>this._values.get(t)?.origin===e)}set(e,t,r){if(0===(r=this._normalizeOrigin(r))){let t=this._values.get(e);if(null!=t?.origin&&t.origin>r)return}this._values.set(e,new l(t,r))}delete(e,t){(null==(t=this._normalizeOrigin(t))||this._values.get(e)?.origin===t)&&this._values.delete(e)}has(e,t){return null==(t=this._normalizeOrigin(t))?this._values.has(e):this._values.get(e)?.origin===t}isAtOrigin(e,t){return null!=(t=this._normalizeOrigin(t))&&this._values.get(e)?.origin===t}isBelowOrigin(e,t){return t=this._normalizeOrigin(t),!this.has(e)||this.originOf(e)<t}forEach(e){this._values.forEach(({value:t},r)=>e(t,r))}_normalizeOrigin(e){if(null!=e)return 0===e?e:7}}class l{constructor(e,t){this.value=e,this.origin=t}}var u=r(76953),c=r(45917),h=r(88620),f=r(49422);const d=e=>{let t=e,r=class extends t{constructor(...e){super(...e);let t=(0,h.oY)(this),r=t.store,i=new a;t.store=i,(0,u.k)(t,r,i)}read(e,t){(0,c.L)(this,e,t)}write(e,t){return(0,f.M)(this,e??{},t)}toJSON(e){return this.write({},e)}static fromJSON(e,t){return p.call(this,e,t)}};return r=(0,i.Cg)([(0,s.$K)("esri.core.JSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function p(e,t){if(!e)return null;if(e.declaredClass)throw Error("JSON object is already hydrated");let r=new this;return r.read(e,t),r}const y=d(n.A)},93687(e,t,r){r.d(t,{A:()=>s});var i=r(44208);const n=()=>!!(0,i.A)("esri-tests-disable-memory-pools");class s{constructor(e,t,r,i=1,n=0){this._creator=e,this._acquireFunction=t,this._releaseFunction=r,this.allocationSize=i,this._pool=Array(n),this._initialSize=n;for(let e=0;e<n;e++)this._pool[e]=this._creator();this.allocationSize=Math.max(i,1)}destroy(){this.prune(0)}acquire(...e){let t;if(n())t=this._creator();else{if(0===this._pool.length){let e=this.allocationSize;for(let t=0;t<e;t++)this._pool[t]=this._creator()}t=this._pool.pop()}return this._acquireFunction?this._acquireFunction(t,...e):function(e){return e?.acquire&&"function"==typeof e.acquire}(t)&&t.acquire(...e),t}release(e){e&&!n()&&(this._releaseFunction?this._releaseFunction(e):function(e){return e?.release&&"function"==typeof e.release}(e)&&e.release(),this._pool.push(e))}prune(e=this._initialSize){if(!(e>=this._pool.length)){for(let t=e;t<this._pool.length;++t){let e=this._pool[t];this._dispose(e)}this._pool.length=e}}_dispose(e){"function"==typeof e.dispose&&e.dispose()}}},15142(e,t,r){r.d(t,{A:()=>u});var i=r(4576),n=r(21818);const s=(e,t,r,i)=>{let n=t,s=t,o=r>>>1,a=e[n-1];for(;s<=o;){s=n<<1,s<r&&i(e[s-1],e[s])<0&&++s;let t=e[s-1];if(i(t,a)<=0)break;e[n-1]=t,n=s}e[n-1]=a},o=(e,t)=>e<t?-1:+(e>t);function a(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i);let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i)}}function*l(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i),yield;let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i),yield}}class u{constructor(e){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new i.vW,e&&(e.initialSize&&(this.data=Array(e.initialSize)),e.allocator&&(this._allocator=e.allocator),void 0!==e.deallocator&&(this._deallocator=e.deallocator),e.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(e){let t=[];for(let r=0;r<this._length;r++){let i=this.data[r];e(i)&&t.push(i)}return t}at(e){if((e=Math.trunc(e)||0)<0&&(e+=this._length),!(e<0||e>=this._length))return this.data[e]}includes(e,t){let r=this.data.indexOf(e,t);return-1!==r&&r<this.length}get length(){return this._length}set length(e){if(e>this._length){if(this._allocator){for(;this._length<e;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=e}else{if(this._deallocator)for(let t=e;t<this._length;++t)this.data[t]=this._deallocator(this.data[t]);this._length=e,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(e){this.data[this._length++]=e}pushArray(e,t=e.length){for(let r=0;r<t;r++)this.data[this._length++]=e[r]}pushAll(e){for(let t of e)this.data[this._length++]=t}fill(e,t){for(let r=0;r<t;r++)this.data[this._length++]=e}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let e=this.data[this._length];return++this._length,e}unshift(e){this.data.unshift(e),this._length++,c(this)}pop(){if(0===this.length)return;let e=this.data[this.length-1];return--this.length,this._shrink(),e}remove(e){let t=(0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint);if(-1!==t)return this.data.splice(t,1),--this.length,e}removeUnordered(e){return this.removeUnorderedIndex((0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint))}removeUnorderedIndex(e){if(!(e>=this.length||e<0))return this.swapElements(e,this.length-1),this.pop()}removeUnorderedMany(e,t=e.length,r){this.length=(0,i.mW)(this.data,e,this.length,t,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(e,t){if(e>=this.length||t>=this.length||e===t)return;let r=this.data[e];this.data[e]=this.data[t],this.data[t]=r}sort(e){a(this.data,0,this.length,e)}stableSort(e){let t=this.toArray().sort(e);for(let e=0;e<t.length;++e)this.data[e]=t[e]}iterableSort(e){return l(this.data,0,this.length,e)}some(e,t){for(let r=0;r<this.length;++r)if(e.call(t,this.data[r],r,this.data))return!0;return!1}find(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)if(e.call(t,r[n]))return r[n]}filterInPlace(e,t){let r=0;for(let i=0;i<this._length;++i){let n=this.data[i];e.call(t,n,i,this.data)&&(this.data[i]=this.data[r],this.data[r]=n,r++)}if(this._deallocator)for(let e=r;e<this._length;e++)this.data[e]=this._deallocator(this.data[e]);return this._length=r,this._shrink(),this}forAll(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)e.call(t,r[n],n,r)}forEach(e,t){this.data.slice(0,this.length).forEach(e,t)}map(e,t){let r=Array(this.length);for(let i=0;i<this.length;++i)r[i]=e.call(t,this.data[i],i,this.data);return r}reduce(e,t){let r=t;for(let t=0;t<this.length;++t)r=e(r,this.data[t],t,this.data);return r}has(e){let t=this.length,r=this.data;for(let i=0;i<t;++i)if(r[i]===e)return!0;return!1}*[Symbol.iterator](){for(let e=0;e<this.length;++e)yield this.data[e]}}function c(e){e.data.length>1.5*e.length&&(e.data.length=Math.floor(1.1*e.length))}},67076(e,t,r){r.d(t,{A:()=>n});var i=r(799);class n{constructor(e,t,r){this.name=e,this.details=r,this.type="warning",this.message=t?(0,i.V2)(t,r):""}toString(){let{name:e,message:t}=this;return`[${e}]: ${t}`}}},85537(e,t,r){r.d(t,["v",0,{INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}])},30801(e,t,r){r.d(t,{T:()=>a});var i=r(36563),n=r(16187);const s=Symbol("ObservableBase");function o(e){return s in e}class a{constructor(){this._observers=null,this.destroyed=!1}static observeForTracking(e,t,r){if(o(e)){let i=e.observe;if(i===u)return e._addObserver(t)??l;let n=r?.length?i.call(e,t,r.pop()):i.call(e,t);return Array.isArray(n)?c(n):n}let i=e.observe(t);return Array.isArray(i)||(0,n.b4)(i)?c(i):i}get[s](){return!0}observe(e,t){let r=this._addObserver(e);return r?t?t.rebind(r,e):new n.fk(r,e):l}_addObserver(e){if(this.destroyed||e.destroyed)return;let t=this._observers;if(null==t)return this._observers=[e];let r=!1;for(let i of t)if(i.destroyed)r=!0;else if(i===e)return t;return t.push(e),r&&this._removeDestroyedObservers(),t}_removeDestroyedObservers(){let e=this._observers;if(!e)return;let t=e.length;if(0===t)return;let r=0;for(let i=0;i<t;++i){for(;i+r<t&&e[i+r].destroyed;)++r;if(r>0){if(!(i+r<t))break;e[i]=e[i+r]}}e.length=t-r}destroy(){if(this.destroyed)return;this.destroyed=!0;let e=this._observers;if(null!=e){for(let t of e)t.onCommitted();this._observers=null}}}const l=(0,i.hA)(),u=a.prototype.observe;function c(e){return{remove:()=>e.remove()}}},35666(e,t,r){function i(e){switch(e){case"defaults":return 0;case"service":return 2;case"portal-item":return 3;case"web-scene":return 4;case"web-map":return 5;case"link-chart":return 6;case"user":return 7;default:return null}}function n(e){switch(e){case 0:return"defaults";case 2:return"service";case 3:return"portal-item";case 4:return"web-scene";case 5:return"web-map";case 6:return"link-chart";case 7:return"user"}}function s(e){return n(e)}r.d(t,{OL:()=>n,aB:()=>i,in:()=>s})},56454(e,t,r){const i=Symbol("Accessor-beforeDestroy");r.d(t,["G",0,i])},91429(e,t,r){r.d(t,{wg:()=>l,MZ:()=>o,$K:()=>a});var i=r(10107),n=r(79901),s=r(64108);r(93223),r(36005),r(43937);const o=i.MZ,a=s.$K;function l(...e){return(0,n.w)(...e)}},79901(e,t,r){r.d(t,{w:()=>l});var i=r(56507),n=r(96156);const s=Object.prototype.toString;function o(e){let t="__accessorMetadata__"in e?(0,i.dp)(e):e;return function(...e){if(e.push(t),"number"==typeof e[2])throw Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,e)}}function a(e,t,r,i){(0,n.z4)(e,t).cast=i}function l(...e){if(3!==e.length||"string"!=typeof e[1]){if(1===e.length&&"[object Function]"===s.call(e[0]))return o(e[0]);if(1===e.length&&"string"==typeof e[0])return function(e){return(t,r)=>{(0,n.z4)(t,e).cast=t[r]}}(e[0])}}},93223(e,t,r){r.d(t,{e:()=>s});var i=r(66552),n=r(10107);function s(e,t={}){let r=e instanceof i.J?e:new i.J(e,t),{alwaysWriteDefaults:s,default:o,ignoreUnknown:a=!0,name:l,nonNullable:u,readOnly:c=!1}=t;return(0,n.MZ)({type:a?r.apiValues:String,json:{type:r.jsonValues,default:o,name:l,read:!c&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:s}},nonNullable:u,readOnly:c})}},10107(e,t,r){r.d(t,{MZ:()=>l,rM:()=>u});var i=r(53966),n=r(56507),s=r(16649),o=r(96156),a=r(47821);function l(e={}){return(t,r)=>{if(t===Function.prototype)throw Error(`Inappropriate use of @property() on a static field: ${t.name}.${r}. Accessor does not support static properties.`);let l=Object.getOwnPropertyDescriptor(t,r),u=(0,o.z4)(t,r);l&&(l.get||l.set?(u.get=l.get||u.get,u.set=l.set||u.set):"value"in l&&("value"in e&&i.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${t.constructor.name}" already defined in the metadata`,e),u.value=e.value=l.value)),null!=e.readOnly&&(u.readOnly=e.readOnly);let c=e.aliasOf;if(c){let e,t="string"==typeof c?c:c.source,i="string"==typeof c?null:!0===c.overridable;u.dependsOn=[t],u.get=function(){let r=(0,s.Jt)(this,t);if("function"==typeof r){e||=t.split(".").slice(0,-1).join(".");let i=(0,s.Jt)(this,e);i&&(r=r.bind(i))}return r},u.readOnly||(u.set=i?function(e){this._override(r,e)}:function(e){(0,a.h)(this,t,e)})}let h=e.type,f=e.types;if(!u.cast){let t;h&&!1!==e.useTypeForAutocast?t=function(e){let t=0,r=e;if((0,n.Zu)(e))return(0,n.Nd)(e);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],t++;let i=r;if((0,n.EK)(i))return 0===t?(0,n.MB)(i):(0,n._e)((0,n.MB)(i),t);if(1===t)return(0,n.eC)(i);if(t>1)return(0,n.e6)(i,t);let s=e;return s.from?s.from:(0,n.dp)(s)}(h):f&&(t=Array.isArray(f)?(0,n.wB)((0,n.aq)(f[0])):(0,n.aq)(f)),e.cast=function(e,t){if(e||t)return e?t?(r,i)=>t(e(r,i),i):e:t}(e.cast,t)}(0,o.CX)(u,e),e.range&&(u.cast=(0,n.Qp)(u.cast,e.range))}}function u(e,t,r){let i=(0,o.z4)(e,r);i.json||={};let n=i.json;return void 0!==t&&(n.origins||(n.origins={}),n.origins[t]||(n.origins[t]={}),n=n.origins[t]),n}},36005(e,t,r){r.d(t,{w:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t||Array.isArray(t)?(s=e,r=t,n=[void 0]):(s=t,n=Array.isArray(e)?e:[e]),(e,t)=>{let o=e.constructor.prototype;n.forEach(n=>{let a=(0,i.rM)(e,n,s);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=o[t],r&&(a.read.source=(a.read.source||[]).concat(r))})}}},64108(e,t,r){r.d(t,{$K:()=>m}),r(44208);var i=r(53966),n=r(56454),s=r(56507),o=r(90360);function a(e){e.name&&(e.read&&"object"==typeof e.read?void 0===e.read.source&&(e.read.source=e.name):e.read={source:e.name},e.write&&"object"==typeof e.write?void 0===e.write.target&&(e.write.target=e.name):e.write={target:e.name})}function l(e){"boolean"==typeof e.read?e.read={enabled:e.read}:"function"==typeof e.read?e.read={enabled:!0,reader:e.read}:e.read&&"object"==typeof e.read&&void 0===e.read.enabled&&(e.read.enabled=!0)}function u(e){"boolean"==typeof e.write?e.write={enabled:e.write}:"function"==typeof e.write?e.write={enabled:!0,writer:e.write}:e.write&&"object"==typeof e.write&&void 0===e.write.enabled&&(e.write.enabled=!0)}var c=r(67124);function h(e){return e.type?f(e):d(e)}function f(e){if(!e.type)return;let t=0,r=e.type;for(;Array.isArray(r)&&!(0,s.EK)(r);)r=r[0],t++;return{type:r,ndimArray:t}}function d(e){if(!e.types)return;let t=0,r=e.types;for(;Array.isArray(r);)r=r[0],t++;return{types:r,ndimArray:t}}function p(e){(function(e){if(e.json||={},l(e.json),u(e.json),a(e.json),e.json.origins)for(let t in e.json.origins)l(e.json.origins[t]),u(e.json.origins[t]),a(e.json.origins[t]);return!0})(e)&&(function(e){if(e.json&&e.json.origins){let t=e.json.origins,r={"web-document":["web-scene","web-map"]};for(let e in r)if(t[e]){let i=t[e];r[e].forEach(e=>{t[e]=i}),delete t[e]}}}(e),function(e){let t=function(e){return e.json.types?d(e.json):e.type?f(e):d(e)}(e);if(e.json.origins)for(let r in e.json.origins){let i=e.json.origins[r],n=i.types?h(i):t;(0,o.v)(n,i,!1),i.types&&!i.write&&e.json.write?.enabled&&(i.write={...e.json.write}),(0,c.v)(n,i)}(0,o.v)(t,e.json,!0),(0,c.v)(t,e.json)}(e))}var y=r(85537),g=r(96156),_=r(62788);const v=new WeakMap;function m(e){return t=>{e??="esri.core.Accessor",t.prototype.declaredClass=e,function(e){let t=e.prototype,r=(0,g.tD)(t),i={};for(let e of Object.getOwnPropertyNames(r)){let t=r[e];p(t),i[e]={enumerable:!0,configurable:!0,get:A(e,t),set:N(e,t)}}Object.defineProperties(e.prototype,i)}(t);let r=class extends t{constructor(...e){super(...e),this.constructor===r&&"function"==typeof this.postscript&&this.postscript()}};if("function"==typeof t.prototype.postscript){Object.defineProperty(r.prototype,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}});let e=Object.getPrototypeOf(t.prototype),i=Object.hasOwn(t.prototype,"initialize")?t.prototype.initialize:void 0,s=b(e,"initialize");(i||!w(e?.initialize))&&(r.prototype.initialize=function(){s&&s.call(this),i&&i.call(this)},v.set(r.prototype.initialize,r.prototype.initialize));let o=Object.hasOwn(t.prototype,"destroy")?t.prototype.destroy:void 0,a=b(e,"destroy");if(o||!w(e?.destroy)){let e=function(){o&&o.call(this),a&&a.call(this)};r.prototype.destroy=function(){let t=this.__accessor__;t.lifecycle!==y.v.DESTROYING&&t.lifecycle!==y.v.DESTROYED&&(t.lifecycle=y.v.DESTROYING,this[n.G](),e.call(this))},v.set(r.prototype.destroy,e)}}r.__accessorMetadata__=(0,g.tD)(t.prototype),r.prototype.declaredClass=e;let i=(e||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(r.prototype,Symbol.toStringTag,{value:i,configurable:!0,writable:!0,enumerable:!1}),r}}function w(e){return void 0!==e&&v.has(e)}function b(e,t){if(!e)return;let r=Object.hasOwn(e,t)?e[t]:void 0,i=r&&v.get(r);if(i)return i;let n=b(Object.getPrototypeOf(e),t);return r?n?"initialize"===t?function(){n.call(this),r.call(this)}:"destroy"===t?function(){r.call(this),n.call(this)}:void 0:r:n}function A(e,{get:t,value:r}){return null==t?function(){let t=this.__accessor__,i=t.propertiesByName.get(e);if(void 0===i)return;t.mutable&&(0,_.gc)(i);let n=t.store;return n.has(e)?n.get(e):r}:function(){let r=this.__accessor__;return r.propertiesByName.get(e)?.getComputed(r,t)}}function O(e,t,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r})}function N(e,t){return t.readOnly&&t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);if(i.lifecycle===y.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else O(this,e,r)}:t.readOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);i.set(e,r)}}else O(this,e,r)}:t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.lifecycle===y.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else O(this,e,r)}:function(t){let r=this.__accessor__;r?r.mutable&&r.set(e,t):O(this,e,t)}}const k=(e,t)=>{i.A.getLogger("esri.core.Accessor").error(`cannot assign to ${e} property '${t}'`)}},43937(e,t,r){r.d(t,{K:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t?(s=e,n=[void 0]):"string"==typeof t?(s=t,n=Array.isArray(e)?e:[e]):(s=e,n=[void 0],r=t),(e,t)=>{let o=e.constructor.prototype;for(let a of n){let n=(0,i.rM)(e,a,s);n.write&&"object"==typeof n.write||(n.write={}),r&&(n.write.target=r),n.write.writer=o[t]}}}},76953(e,t,r){function i(e,t,r){t.keys().forEach(e=>{r.set(e,t.get(e),0)});let i=e.metadata;Object.keys(i).forEach(t=>{e.internalGet(t)&&r.set(t,e.internalGet(t),0)})}r.d(t,{k:()=>i})},56507(e,t,r){r.d(t,{EK:()=>C,GB:()=>u,GX:()=>l,MB:()=>D,Nd:()=>P,PZ:()=>v,Qp:()=>f,Uv:()=>I,Vr:()=>c,Zu:()=>z,_e:()=>T,aq:()=>E,dp:()=>A,e6:()=>j,eC:()=>k,gK:()=>M,jz:()=>$,qf:()=>O,wB:()=>N});var i=r(53966),n=r(91869);const s=()=>i.A.getLogger("esri.core.accessorSupport.ensureTypes");function o(e){if(null==e)return e;let t=new Date(e);return isNaN(t.getTime())?(s().error("Accessor#set",`Invalid date value: '${e}', falling back to current date`),new Date):t}function a(e){return null==e?e:!!e}function l(e){return null==e?e:e.toString()}function u(e,t=0){return null==e?e:(e=parseFloat(e),isNaN(e)?t:e)}function c(e){return null==e?e:Math.round(parseFloat(e))}function h(e){return null}function f(e,t){return r=>{let i=e(r);return null!=t.step&&(i=Math.round(i/t.step)*t.step),null!=t.min&&(i=Math.max(t.min,i)),null!=t.max&&(i=Math.min(t.max,i)),i}}function d(e){return e?.constructor&&void 0!==e.constructor.__accessorMetadata__}function p(e,t){return null!=t&&e&&!(t instanceof e)}function y(e){return e&&"isCollection"in e}function g(e){return e?.Type?"function"==typeof e.Type?e.Type:e.Type.base:null}function _(e,t){return!!d(t)&&(s().error("Accessor#set","Assigning an instance of '"+(t.declaredClass||"unknown")+"' which is not a subclass of '"+m(e)+"'"),!0)}function v(e,t){return null==t?t:y(e)?function(e,t){if(!t?.constructor||!y(t.constructor))return _(e,t)?t:new e(t);let r=g(e.prototype.itemType),i=g(t.constructor.prototype.itemType);return r?i?r===i?t:r.prototype.isPrototypeOf(i.prototype)?new e(t):(_(e,t),t):new e(t):t}(e,t):p(e,t)?_(e,t)?t:new e(t):t}function m(e){return e?.prototype?.declaredClass||"unknown"}const w=new WeakMap;function b(e){switch(e){case Number:return e=>u(e);case $:return c;case Boolean:return a;case String:return l;case Date:return o;case I:return h;default:return(0,n.tE)(w,e,()=>v.bind(null,e))}}function A(e,t){let r=b(e);return 1===arguments.length?r:r(t)}function O(e){let t=b(e);return e=>t(e)}function N(e,t,r){return 1===arguments.length?N.bind(null,e):t&&(Array.isArray(t)?t.map(t=>e(t,r)):[e(t,r)])}function k(e,t){return 1===arguments.length?N(t=>A(e,t)):N(t=>A(e,t),t)}function S(e,t,r){return 0!==t&&Array.isArray(r)?r.map(r=>S(e,t-1,r)):e(r)}function T(e,t,r){if(2===arguments.length)return r=>T(e,t,r);if(!r)return r;r=S(e,t,r);let i=t,n=r;for(;i>0&&Array.isArray(n);)i--,n=n[0];if(void 0!==n)for(let e=0;e<i;e++)r=[r];return r}function j(e,t,r){return 2===arguments.length?T(t=>A(e,t),t):T(t=>A(e,t),t,r)}function C(e){return!!Array.isArray(e)&&!e.some(t=>{let r=typeof t;return!("string"===r||"number"===r||"function"===r&&e.length>1)})}function D(e,t){if(2===arguments.length)return D(e).call(null,t);let r=new Set,i=e.filter(e=>"function"!=typeof e),n=e.filter(e=>"function"==typeof e);for(let t of e)("string"==typeof t||"number"==typeof t)&&r.add(t);let o=null,a=null;return(e,t)=>{if(null==e)return e;let l=typeof e,u="string"===l||"number"===l;return u&&(r.has(e)||n.some(e=>"string"===l&&e===String||"number"===l&&e===Number))||"object"===l&&n.some(t=>!p(t,e))?e:(u&&i.length?(o||=i.map(e=>"string"==typeof e?`'${e}'`:`${e}`).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, only the following values are valid: ${o}`)):"object"==typeof e&&n.length?(a||=n.map(e=>m(e)).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, value must be one of ${a}`)):s().error("Accessor#set",`'${e}' is not a valid value for this property`),t&&(t.valid=!1),null)}}function E(e,t){if(2===arguments.length)return E(e).call(null,t);let r={},i=[],n=[];for(let t in e.typeMap){let s=e.typeMap[t];r[t]=A(s),i.push(m(s)),n.push(t)}let o=()=>`'${i.join("', '")}'`,a=()=>`'${n.join("', '")}'`,l="string"==typeof e.key?t=>t[e.key]:e.key;return t=>{if(e.base&&!p(e.base,t)||null==t)return t;let i=l(t)||e.defaultKeyValue,n=r[i];if(!n)return s().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!p(e.typeMap[i],t))return t;if("string"==typeof e.key&&!d(t)){let r={};for(let i in t)i!==e.key&&(r[i]=t[i]);return n(r)}return n(t)}}class ${}class I{}const M={native:e=>({type:"native",value:e}),array:e=>({type:"array",value:e}),oneOf:e=>({type:"one-of",values:e})};function z(e){if(!e||"object"!=typeof e&&"function"!=typeof e||!("type"in e))return!1;switch(e.type){case"native":case"array":case"one-of":return!0}return!1}function P(e){switch(e.type){case"native":return A(e.value);case"array":return N(P(e.value));case"one-of":return function(e){let t=null;return(r,i)=>B(r,e)?r:(t??=q(e),s().error("Accessor#set",`Invalid property value, value needs to be of type ${t}`),i&&(i.valid=!1),null)}(e);default:return null}}function q(e){switch(e.type){case"native":switch(e.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case $:return"integer";case Date:return"date";case I:return"null";default:return m(e.value)}case"array":return`array of ${q(e.value)}`;case"one-of":{let t=e.values.map(e=>q(e));return`one of ${t.slice(0,-1)} or ${t[t.length-1]}`}}return"unknown"}function B(e,t){if(null==e)return!0;switch(t.type){case"native":switch(t.value){case Number:case $:return"number"==typeof e;case Boolean:return"boolean"==typeof e;case String:return"string"==typeof e;case I:return null===e}return e instanceof t.value;case"array":return!!Array.isArray(e)&&!e.some(e=>!B(e,t.value));case"one-of":return t.values.some(t=>B(e,t))}}},90360(e,t,r){r.d(t,{C:()=>h,v:()=>c});var i=r(59923),n=r(53966),s=r(93637),o=r(96156),a=r(15903),l=r(7142);const u=()=>n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function c(e,t,r){e&&(!r&&!t.read||t.read?.reader||!1===t.read?.enabled||function(e){return"types"in e?_(e.types):g(e.type)}(e)&&(0,s.sM)("read.reader",h(e),t))}function h(e){let t=e.ndimArray??0;if(t>1)return function(e){let t=f(e),r=d.bind(null,t),i=e.ndimArray??0;return(e,t,n)=>{if(null==e)return e;e=r(e,n,i);let s=i,o=e;for(;s>0&&Array.isArray(o);)s--,o=o[0];if(void 0!==o)for(let t=0;t<s;t++)e=[e];return e}}(e);if(1===t)return p(e);if("type"in e&&y(e.type)){let t=e.type.prototype?.itemType?.Type,r=p("function"==typeof t?{type:t}:{types:t});return(t,i,n)=>{let s=r(t,i,n);return s&&new e.type(s)}}return f(e)}function f(e){return"type"in e?function(e){return e.prototype.read?(t,r,i)=>{if(null==t)return t;let n=typeof t;if("object"!==n)return void u().error(`Expected JSON value of type 'object' to deserialize type '${e.prototype.declaredClass}', but got '${n}'`);let s=new e;return s.read(t,i),s}:e.fromJSON}(e.type):function(e){let t=null,r=e.errorContext??"type",n=e.validate;return(s,a,c)=>{if(null==s)return s;let h=typeof s;if("object"!==h)return void u().error(`Expected JSON value of type 'object' to deserialize, but got '${h}'`);t||=function(e){let t={};for(let r in e.typeMap){let i=e.typeMap[r],n=(0,o.tD)(i.prototype);if("function"==typeof e.key)continue;let s=n[e.key];if(!s)continue;if(s.json?.type&&Array.isArray(s.json.type)&&1===s.json.type.length&&"string"==typeof s.json.type[0]){t[s.json.type[0]]=i;continue}let a=s.json?.write;if(!a?.writer){t[r]=i;continue}let l=a.target,u="string"==typeof l?l:e.key,c={};a.writer(r,c,u),c[u]&&(t[c[u]]=i)}return t}(e);let f=e.key;if("string"!=typeof f)return;let d=s[function(e,t,r){let i=Object.values(t)[0],n=(0,o.tD)(i.prototype)[e],s=(0,l.N5)(n,r)?.read?.source;return s&&"string"==typeof s?s:e}(f,t,c)],p=d?t[d]:e.defaultKeyValue?e.typeMap[e.defaultKeyValue]:void 0;if(!p){let e=`Type '${d||"unknown"}' is not supported`;return c?.messages&&s&&(0,i.Yc)(c,"warning",r,e,{definition:s,context:c}),void u().error(e)}let y=new p;return y.read(s,c),n?n(y):y}}(e.types)}function d(e,t,r,i){return 0!==i&&Array.isArray(t)?t.map(t=>d(e,t,r,i-1)):e(t,void 0,r)}function p(e){let t=f(e);return(e,r,i)=>{if(null==e)return e;if(Array.isArray(e)){let r=[];for(let n of e){let e=t(n,void 0,i);void 0!==e&&r.push(e)}return r}let n=t(e,void 0,i);return void 0===n?void 0:[n]}}function y(e){if(!(0,a.P)(e))return!1;let t=e.prototype.itemType;return!(!t||!t.Type)&&("function"==typeof t.Type?g(t.Type):_(t.Type))}function g(e){return!Array.isArray(e)&&!!e&&("object"==typeof e||"function"==typeof e)&&e.prototype&&("read"in e.prototype||"fromJSON"in e||y(e))}function _(e){for(let t in e.typeMap)if(!g(e.typeMap[t]))return!1;return!0}},15903(e,t,r){function i(e){return!!e&&e.prototype?.declaredClass&&0===e.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(t,{P:()=>i})},7142(e,t,r){function i(e,t){return o(e,"any",t?.origin)}function n(e,t){return o(e,"read",t?.origin)}function s(e,t){return o(e,"write",t?.origin)}function o(e,t,r){let i=e?.json;if(i?.origins&&r){let e;e="link-chart"===r?i.origins[r]&&("any"===t||t in i.origins[r])?i.origins[r]:i.origins["web-map"]:i.origins[r],e&&("any"===t||t in e)&&(i=e)}return i}r.d(t,{N5:()=>n,k4:()=>s,xF:()=>i})},67124(e,t,r){r.d(t,{B:()=>h,v:()=>a});var i=r(59923),n=r(53966),s=r(93637),o=r(15903);function a(e,t){if(!t.write||t.write.writer||!1===t.write.enabled&&!t.write.overridePolicy)return;let r=e?.ndimArray??0;e&&(1===r||"type"in e&&(0,o.P)(e.type))?t.write.writer=f:r>1?t.write.writer=function(e){return(t,r,i,n)=>{let o;if(null===t)o=null;else{o=d(t,n,e);let r=e,i=o;for(;r>0&&Array.isArray(i);)r--,i=i[0];if(void 0!==i)for(let e=0;e<r;e++)o=[o]}(0,s.sM)(i,o,r)}}(r):t.types?Array.isArray(t.types)?t.write.writer=function(e){return(t,r,i,n)=>u(t&&Array.isArray(t)?t.filter(t=>l(t,e,n)):t,r,i,n)}(t.types[0]):t.write.writer=function(e){return(t,r,i,n)=>{if(!t||l(t,e,n))return u(t,r,i,n)}}(t.types):t.write.writer=u}function l(e,t,r){for(let r in t.typeMap)if(e instanceof t.typeMap[r])return!0;if(r?.messages){let s=t.errorContext??"type",o=`Values of type '${("function"==typeof t.key?e.declaredClass:e[t.key])??"Unknown"}' cannot be written`;r&&r.messages&&e&&(0,i.Yc)(r,"error",s,o,{definition:e,context:r}),n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(o)}return!1}function u(e,t,r,i){(0,s.sM)(r,c(e,i),t)}function c(e,t){return e&&"function"==typeof e.write?e.write({},t):e&&"function"==typeof e.toJSON?e.toJSON():"number"==typeof e?h(e):e}function h(e){return e===-1/0?-Number.MAX_VALUE:e===1/0?Number.MAX_VALUE:isNaN(e)?null:e}function f(e,t,r,i){let n;null===e?n=null:e&&"function"==typeof e.map?(n=e.map(e=>c(e,i)),"function"==typeof n.toArray&&(n=n.toArray())):n=[c(e,i)],(0,s.sM)(r,n,t)}function d(e,t,r){return 0!==r&&Array.isArray(e)?e.map(e=>d(e,t,r-1)):c(e,t)}},16649(e,t,r){r.d(t,{Jt:()=>a,RP:()=>o,t2:()=>l});var i=r(88620);function n(e,t){let r=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){let e=parseInt(r,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}let n=(0,i.oY)(t);return(0,i.yh)(n,r)?n.get(r):t[r]}function s(e,t,r){if(null==e)return e;let i=n(t[r],e);return!i&&r<t.length-1?void 0:r===t.length-1?i:s(i,t,r+1)}function o(e,t,r=0){return"string"!=typeof t||t.includes(".")?s(e,(0,i.AH)(t),r):n(t,e)}function a(e,t){return o(e,t)}function l(e,t){return void 0!==o(t,e)}},96156(e,t,r){r.d(t,{CX:()=>a,tD:()=>s,z4:()=>o});var i=r(4718),n=r(88620);function s(e){let t=e.constructor.__accessorMetadata__,r=Object.prototype.hasOwnProperty.call(e.constructor,"__accessorMetadata__");if(t){if(!r){t=Object.create(t);for(let e in t)t[e]=(0,i.o8)(t[e]);Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0})}}else t={},Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0});return e.constructor.__accessorMetadata__}function o(e,t){let r=s(e),i=r[t];return i||=r[t]={},i}function a(e,t){return(0,n.h1)(e,t,u)}const l=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function u(e){return l.test(e)?"replace":"merge"}},45917(e,t,r){r.d(t,{L:()=>c,t:()=>h});var i=r(7142),n=r(16649),s=r(88620);function o(e,t,r){if(!e?.read||!1===e.read.enabled||!e.read.source)return!1;let i=e.read.source;if("string"==typeof i){if(i===t||i.includes(".")&&i.startsWith(t)&&(0,n.t2)(i,r))return!0}else for(let e of i)if(e===t||e.includes(".")&&e.startsWith(t)&&(0,n.t2)(e,r))return!0;return!1}function a(e,t,r,n,s){let a=(0,i.N5)(t[r],s);var l;(l=a)&&(!l.read||!1!==l.read.enabled&&!l.read.source)&&(e[r]=!0);for(let l of Object.getOwnPropertyNames(t))a=(0,i.N5)(t[l],s),o(a,r,n)&&(e[l]=!0)}function l(e,t,r,n){let s=r.metadata,o=(0,i.xF)(s[t],n)?.default;if(void 0===o)return;let a="function"==typeof o?o.call(e,t,n):o;void 0!==a&&r.set(t,a)}const u={origin:"service"};function c(e,t,r=u){if(!t||"object"!=typeof t)return;let o=(0,s.oY)(e),c=o.metadata,h={};for(let e of Object.getOwnPropertyNames(t))a(h,c,e,t,r);o.setDefaultOrigin(r.origin);for(let s of Object.getOwnPropertyNames(h)){let a,l=(0,i.N5)(c[s],r).read,u=l?.source;a=u&&"string"==typeof u?(0,n.RP)(t,u):t[s],l?.reader&&(a=l.reader.call(e,a,t,r)),void 0!==a&&o.set(s,a)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(let t of Object.getOwnPropertyNames(c))h[t]||l(e,t,o,r)}o.setDefaultOrigin("user")}function h(e,t,r,i=u){let n={...i,messages:[]};r(n),n.messages?.forEach(t=>{"warning"!==t.type||e.loaded?i?.messages&&i.messages.push(t):e.loadWarnings.push(t)})}},47821(e,t,r){r.d(t,{h:()=>o});var i=r(49186),n=r(44208),s=(r(53966),r(16649));function o(e,t,r){if(e&&t)if("object"==typeof t)for(let r of Object.getOwnPropertyNames(t))o(e,r,t[r]);else{if(t.includes(".")){let i=t.split("."),n=i.splice(-1,1)[0];return void o((0,s.Jt)(e,i),n,r)}let a=e.__accessor__;null!=a&&function(e,t){if((0,n.A)("esri-unknown-property-errors")&&!function(e,t){return null!=t.metadata[e]}(e,t))throw new i.A("set:unknown-property",function(e,t){return"setting unknown property '"+e+"' on instance of "+t.host.declaredClass}(e,t))}(t,a),e[t]=r}}},53842(e,t,r){function i(){}r.d(t,{Z:()=>i})},62788(e,t,r){r.d(t,{F_:()=>p,Xr:()=>m,a:()=>d,fE:()=>_,gc:()=>c}),r(44208);var i=r(53966),n=r(47328),s=r(67867),o=r(88620);const a=new s.R,l=[];let u=a;function c(e){u.onAccessed(e)}let h=!1,f=!1;function d(e,t,r){if(h)return y(e,t,r);let n;if(f){u=e,l.push(e);try{n=t.call(r)}catch(e){throw i.A.getLogger("esri.core.accessorSupport.tracking").error(e),e}finally{g()}}else{u=e,l.push(e);try{n=t.call(r)}finally{g()}}return n}function p(e,t){return d(a,e,t)}function y(e,t,r){let n,s=h;h=!0,u=e,l.push(e);try{n=t.call(r)}catch(e){f&&i.A.getLogger("esri.core.accessorSupport.tracking").error(e)}return g(),h=s,n}function g(){let e=l.length;if(e>1){let t=l.pop();u=l[e-2],t.onTrackingEnd()}else if(1===e){let e=l.pop();u=a,e.onTrackingEnd()}else u=a}function _(e,t){if(t.flags&n.i.DepTrackingInitialized)return;t.flags|=n.i.DepTrackingInitialized;let r=f;f=!1,t.flags&n.i.AutoTracked?y(t.trackingTarget,t.metadata.get,e):m(e,t),f=r}const v=[];function m(e,t){t.flags&n.i.ExplicitlyTracking||(t.flags|=n.i.ExplicitlyTracking,y(t.trackingTarget,()=>{let r=t.metadata.dependsOn||v;for(let t of r)if("string"!=typeof t||t.includes(".")){let r=(0,o.AH)(t);for(let t=0,i=e;t<r.length&&"object"==typeof i&&i;++t)i=w(i,r[t],t!==r.length-1)}else w(e,t,!1)}),t.flags&=~n.i.ExplicitlyTracking)}function w(e,t,r){let i=t.endsWith("?")?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){let t=parseInt(i,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}let n=(0,o.oY)(e);if(n){let t=n.propertiesByName.get(i);t&&(c(t),_(e,t))}return r?e[i]:void 0}},47328(e,t,r){r.d(t,["i",0,{Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}])},16187(e,t,r){r.d(t,{b4:()=>n,fk:()=>s,ll:()=>o});const i=Symbol("ObservationHandle");function n(e){return i in e}class s{get[i](){return!0}constructor(e,t){this._observers=e,this._observer=t}rebind(e,t){return this._observers=e,this._observer=t,this}remove(){o(this._observers,this._observer)}}function o(e,t){if(e[e.length-1]===t)return void e.pop();let r=e.indexOf(t);-1!==r&&e.splice(r,1)}},71429(e,t,r){r.d(t,{r:()=>n});var i=r(67867);class n extends i.R{constructor(e){super(new s(e)),this._observer&&o.register(this,new WeakRef(this._observer),this)}destroy(){let e=this._observer;e&&o.unregister(this),this.accessed?.clear(),super.destroy(),e?.destroy()}}class s{constructor(e){this._notify=e,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;let e=this._invalidCount;1===e?(this._invalidCount=0,this._notify()):this._invalidCount=e>0?e-1:0}destroy(){this.destroyed=!0,this._notify=a}}const o=new FinalizationRegistry(e=>{e.deref()?.destroy()});function a(){}},67867(e,t,r){r.d(t,{R:()=>s});var i=r(30801),n=r(16187);class s{constructor(e){this.accessed=void 0,this._handles=void 0,this._reusableHandles=void 0,this._observer=e}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(e){null!=this._observer&&e!==this._observer&&(this.accessed??=new Set,this.accessed.add(e))}onTrackingEnd(){let e=this._observer;if(null!=e)try{this._unsubscribe(!0);let t=this.accessed;if(!t?.size)return;let r=this._handles??=[];for(let n of t){let t=i.T.observeForTracking(n,e,this._reusableHandles);if(this._observer!==e){o(t,e);break}r.push(t)}t.clear()}finally{this._reusableHandles?.length&&(this._reusableHandles.length=0)}}_unsubscribe(e){let t=this._handles;if(t)for(;t.length;){let r=t.pop();o(r,this._observer),e&&!Array.isArray(r)&&(0,n.b4)(r)&&(this._reusableHandles??=[]).push(r)}}clear(){this._reusableHandles?.length&&(this._reusableHandles.length=0),this._unsubscribe(!1)}}function o(e,t){Array.isArray(e)?(0,n.ll)(e,t):e.remove()}},80559(e,t,r){r.d(t,{Df:()=>c,fm:()=>h,mJ:()=>u});var i=r(36563),n=r(53966),s=r(62788),o=r(71429);let a=!1;const l=[];function u(e,t){let r=new o.r(function i(){if(!r||l)return;if(a)return void f(i);let o,u=n;r.clear(),a=!0,l=!0;try{try{n=(0,s.a)(r,e)}finally{l=!1,a=!1}t(n,u)}catch(u){o=p(u,t)}d(o)}),n=null,l=!1;return l=!0,n=(0,s.a)(r,e),l=!1,(0,i.hA)(function(){r&&(r.destroy(),r=null,n=null)})}function c(e,t){let r=new o.r(function(){t(n,a)}),n=null;function a(){return r?(r.clear(),n=(0,s.a)(r,e),n):null}return a(),(0,i.hA)(function(){r&&=(r.destroy(),null),n=null})}function h(e,t){let r=!1,n=!1,l=!!t?.sync,u=new o.r(()=>{!r&&!n&&(n=!0,l?c():queueMicrotask(c))});function c(){if(n=!1,!u||r)return;if(a)return void f(c);let t;u.clear(),a=!0,r=!0;try{try{(0,s.a)(u,e)}finally{r=!1,a=!1}}catch(r){t=p(r,e)}d(t)}return r=!0,(0,s.a)(u,e),r=!1,(0,i.hA)(function(){u&&=(u.destroy(),null)})}function f(e){l.includes(e)||l.unshift(e)}function d(e){for(;l.length;)try{l.pop()()}catch(t){e??={error:t}}if(e)throw e.error}function p(e,t){return n.A.getLogger("esri.core.Accessor").error("Reactive notification failed",{error:e,callback:t,pendingNotifications:l.length}),{error:e}}},88620(e,t,r){r.d(t,{AH:()=>u,h1:()=>a,oY:()=>s,qg:()=>h,yh:()=>o});var i=r(36563),n=r(4718);function s(e){return e.__accessor__??null}function o(e,t){return null!=e?.metadata?.[t]}function a(e,t,r){return l(e,t,r?{policy:r,path:""}:null)}function l(e,t,r){return t?Object.keys(t).reduce((e,i)=>{let s=i;if("__proto__"===s)return e;let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${i}`:i,a=r.policy(o)),"replace"===a||"replace-arrays"===a&&Array.isArray(e[s]))return e[s]=t[s],e;if(void 0===e[s])return e[s]=(0,n.o8)(t[s]),e;let u=e[s],c=t[s];if(u===c)return e;if(Array.isArray(c)||Array.isArray(e))u=e[s]=u?Array.isArray(u)?u.slice():[u]:[],c&&(Array.isArray(c)||(c=[c]),c.forEach(e=>{u.includes(e)||u.push(e)}));else if(c&&"object"==typeof c)if(r){let t=r.path;r.path=o,e[s]=l(u,c,r),r.path=t}else e[s]=l(u,c,null);else(!e.hasOwnProperty(i)||t.hasOwnProperty(i))&&(e[s]=c);return e},e||{}):e}function u(e){return Array.isArray(e)?e:e.split(".")}function c(e){return e.includes(",")?e.split(",").map(e=>e.trim()):[e.trim()]}function h(e,t,r,n){let s=function(e){if(Array.isArray(e)){let t=[];for(let r of e)t.push(...c(r));return t}return c(e)}(t);if(1!==s.length){let t=s.map(t=>n(e,t,r));return(0,i.vE)(t)}return n(e,s[0],r)}},14012(e,t,r){r.d(t,{iS:()=>A,wB:()=>S,Cn:()=>T});var i=r(98291),n=r(36563),s=r(4718),o=r(44208),a=r(93687);class l extends a.A{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...e){let t=super.acquire(...e);return this._set.delete(t),t}release(e){!e||(0,o.A)("esri-tests-disable-memory-pools")||this._set.has(e)||(super.release(e),this._set.add(e))}_dispose(e){this._set.delete(e),super._dispose(e)}}var u=r(76030),c=r(24326),h=r(16649),f=r(85537),d=r(80559),p=r(88620);class y{constructor(){this.uid=(0,c.c)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static{this.pool=new l(()=>new y)}static acquireUntracked(e,t,r,i,n){return this.pool.acquire(0,e,t,r,i,n,s.aI)}static acquireTracked(e,t,r,i){return this.pool.acquire(1,e,t,r,null,null,i)}notify(e,t){0===this.type?this.callback.call(this.target,e,t,this.path,this.target):this.callback.call(null,e,t,void 0,void 0)}acquire(e,t,r,i,n,s,o){this.uid=(0,c.c)(),this.removed=!1,this.type=e,this.oldValue=t,this.callback=r,this.getValue=i,this.target=n,this.path=s,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,c.c)(),this.removed=!0}}const g=new i.A,_=new Set,v=new Set;let m;function w(e){_.delete(e),_.add(e),null!==e.target&&v.add(e.target),m||=(0,u._)(O)}function b(e){if(e.removed)return;let t=e.oldValue,r=e.getValue();e.equals(t,r)||(e.oldValue=r,e.notify(r,t))}function A(e){if(v.has(e))for(let t of _.values())t.target===e&&(t.removed=!0)}function O(){let e=10;for(;m&&e--;){m=null;let e=N(),t=g.acquire();for(let r of e){let e=r.uid;b(r),e===r.uid&&r.removed&&t.push(r)}for(let e of _)e.removed&&(t.push(e),_.delete(e));for(let e of t)y.pool.release(e);g.release(t),g.release(e),k.forEach(e=>e())}}function N(){let e=g.acquire();e.length=_.size;let t=0;for(let r of _)e[t]=r,++t;return _.clear(),v.clear(),e}const k=new Set;function S(e,t,r,i=!1){return e.__accessor__&&e.__accessor__.lifecycle!==f.v.DESTROYED?i?function(e,t,r){let i=(0,p.qg)(e,t,r,(e,t,r)=>{let n=!1;return(0,d.mJ)(()=>(0,h.RP)(e,t),(o,a)=>{if(e.__accessor__.lifecycle===f.v.DESTROYED)i.remove();else if(!n){n=!0;try{(0,s.aI)(a,o)||r.call(e,o,a,t,e)}finally{n=!1}}})});return i}(e,t,r):function(e,t,r){let i=(0,p.qg)(e,t,r,(e,t,r)=>{let s,o,a=(0,d.Df)(()=>(0,h.RP)(e,t),(n,a)=>{e.__accessor__?.lifecycle===f.v.DESTROYED||s&&s.uid!==o?i.remove():(s||(s=y.acquireUntracked(n,r,a,e,t),o=s.uid),w(s))});return(0,n.hA)(()=>{a.remove(),s&&=(s.uid===o&&!s.removed&&(s.removed=!0,w(s)),null),i=a=null})});return i}(e,t,r):(0,n.hA)()}function T(e,t,r=!1,i=s.gh){return r?function(e,t,r){let i=!1;return(0,d.mJ)(e,(e,n)=>{if(!i){i=!0;try{r(n,e)||t(e,n)}finally{i=!1}}})}(e,t,i):function(e,t,r){let i,s,o=(0,d.Df)(e,(e,n)=>{i&&i.uid!==s?o.remove():(i||(i=y.acquireTracked(e,t,n,r),s=i.uid),w(i))});return(0,n.hA)(()=>{o.remove(),i&&=(i.uid===s&&!i.removed&&(i.removed=!0,w(i)),null),o=null})}(e,t,i)}},49422(e,t,r){r.d(t,{M:()=>d,R:()=>f});var i=r(4576),n=r(49186),s=r(53966),o=r(7142),a=r(16649),l=r(35666),u=r(88620);function c(e,t,r,i,n){let s={};return t.write?.writer?.call(e,i,s,r,n),s}function h(e,t,r,o,u,c){if(!o?.write)return!1;let h=(0,a.Jt)(e,r);if(!u&&o.write.overridePolicy){let t=o.write.overridePolicy.call(e,h,r,c??void 0);void 0!==t&&(u=t)}if(u||=o.write,!u||!1===u.enabled||u.layerContainerTypes&&c?.layerContainerType&&!u.layerContainerTypes.includes(c.layerContainerType))return!1;if((null===h&&!u.allowNull&&!u.writerEnsuresNonNull||void 0===h)&&u.isRequired){let t=new n.A("web-document-write:property-required",`Missing value for required property '${r}' on '${e.declaredClass}'`,{propertyName:r,target:e});return t&&c?.messages?c.messages.push(t):t&&!c&&s.A.getLogger("esri.core.accessorSupport.write").error(t.name,t.message),!1}if(void 0===h||null===h&&!u.allowNull&&!u.writerEnsuresNonNull)return!1;let f=t.store.multipleOriginsSupported?t.store.originOf(r):null;return void 0===o.default||null!==f&&0!==f?null===f||!c?.origin||!!u.ignoreOrigin||f>=(0,l.aB)(c.origin):!!u.alwaysWriteDefaults||!function(e,t,r,n,s){let o=n.default;if(null!=n.defaultEquals)return n.defaultEquals(s);if("function"==typeof o){if(Array.isArray(s)){let n=o.call(e,t,r??void 0);return(0,i.aI)(n,s)}return!1}return o===s}(e,r,c,o,h)}function f(e,t,r,i){let n=(0,u.oY)(e),s=n.metadata,a=(0,o.k4)(s[t],i);return!!a&&h(e,n,t,a,r,i)}function d(e,t,r){if(e&&"function"==typeof e.toJSON&&(!e.toJSON.isDefaultToJSON||!e.write))return(0,u.h1)(t,e.toJSON(r));let i=(0,u.oY)(e),n=i.metadata;for(let s in n){let f=(0,o.k4)(n[s],r);if(!h(e,i,s,f,void 0,r))continue;let d=(0,a.Jt)(e,s),p=c(e,f,f.write&&"string"==typeof f.write.target?f.write.target:s,d,r);Object.keys(p).length>0&&(t=(0,u.h1)(t,p),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>(0,u.h1)(t,p,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:e,propName:s,oldOrigin:(0,l.in)(i.store.originOf(s)),newOrigin:r.origin}))}return t}},5479(e,t,r){function i(e){let t=[];return function*(){yield*t;let r,i=t.length;for(;!(r=e.next()).done;)for(t.push(r.value),yield r.value;++i<t.length;)yield t[i]}}r.d(t,{I6:()=>o,N5:()=>s,PP:()=>i,xZ:()=>l,zN:()=>a});const n=Object.freeze({done:!0,value:void 0});function s(e){let t=[],r=null,i=null,s=!1;async function o(){if(s)return n;if(null!=i)return i;i=e.next();try{let e=await i;return i=null,e.done?(s=!0,n):(t.push(e.value),e)}catch(e){throw s=!0,i=null,r=e,e}}return async function*(){yield*t;let e,i=t.length;for(;!(e=await o()).done;)for(yield e.value;++i<t.length;)yield t[i];if(null!=r)throw r}}function o(e,t){for(let r of e)if(null!=r&&t(r))return r}function a(e,t){for(let r of e)if(t(r))return!0;return!1}function l(e){return null!=e&&"function"==typeof e[Symbol.iterator]}},66552(e,t,r){r.d(t,{J:()=>n,O:()=>o});var i=r(93637);class n{constructor(e,t={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=e,this._options=t,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(e){let t={};for(let r in e)t[e[r]]=r;return t}(e),this.apiValues=s(this._apiToJSON),this.jsonValues=s(this._jsonToAPI),this.read=e=>this.fromJSON(e),this.write=(e,t,r)=>{let n=this.toJSON(e);void 0!==n&&(0,i.sM)(r,n,t)},this.write.isJSONMapWriter=!0}toJSON(e){if(null==e)return null;if(this._apiToJSON.hasOwnProperty(e)){let t=this._apiToJSON[e];return this._options.useNumericKeys?+t:t}return this._options.ignoreUnknown?null:e}fromJSON(e){return null!=e&&this._jsonToAPI.hasOwnProperty(e)?this._jsonToAPI[e]:this._options.ignoreUnknown?void 0:e}}function s(e){let t=[];for(let r in e)t.push(r);return t.sort(),t}function o(){return function(e,t){return new n(e,{ignoreUnknown:!0,...t})}}},26390(e,t,r){r.d(t,{d:()=>n});const i=[];function n(e){i.push(e),1===i.length&&queueMicrotask(()=>{let e=i.slice();i.length=0;for(let t of e)t()})}},76030(e,t,r){r.d(t,{_:()=>g,$m:()=>O,md:()=>A});var i=r(26390);function n(e,t,r,i,n){console.timeStamp(e,t,r,n,i)}class s{constructor(e,t=30){this.name=e,this._counter=0,this._samples=Array(t)}push(e){null!=e&&(this._samples[++this._counter%this._samples.length]=e)}set(e){null!=e&&(this._samples[this._counter%this._samples.length]=e)}get median(){return this._samples.slice().sort((e,t)=>e-t)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((e,t)=>e+t,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var o=r(15142),a=r(17676),l=r(78659);class u{constructor(e){this.callback=e,this.isActive=!0}remove(){this.isActive=!1}}let c=0;const h={time:(0,l.l5)(0),deltaTime:(0,l.l5)(0),elapsedFrameTime:(0,l.l5)(0),frameDuration:(0,l.l5)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.A,y={frameTasks:p,willDispatch:!1,clearFrameTasks:function(e=!1){p.forAll(e=>{e.removed=!0}),e&&w()},dispatch:b,executeFrameTasks:function(e){let t=(0,l.l5)(e-c);c=e;let r=1e3/60,i=Math.max(0,t-r);h.time=e,h.frameDuration=(0,l.l5)(r-i);for(let r=0;r<f.length;r++){let i=performance.now(),s=f[r];p.forAll(i=>{i.paused||i.removed||(0===r&&i.ticks++,!i.phases[s])||(h.elapsedFrameTime=(0,l.l5)(performance.now()-e),h.deltaTime=0===i.ticks?(0,l.l5)(0):t,i.phases[s]?.call(i,h))});let o=performance.now();N[r].push(o-i),n(s,i,o,"Maps SDK","Scheduling")}w();let s=performance.now();k.push(s-e),n("Animation Frame",e,s,"Maps SDK","Scheduling")},reschedule:function(){null!=_&&(cancelAnimationFrame(_),_=requestAnimationFrame(v))}};function g(e){let t=new u(e);return d.push(t),y.willDispatch||(y.willDispatch=!0,(0,i.d)(b)),t}let _=null;function v(){let e=performance.now();_=null,_=p.some(e=>!e.paused&&!e.removed)?requestAnimationFrame(v):null,y.executeFrameTasks(e)}const m=new o.A;function w(){p.forAll(e=>{e.removed&&m.push(e)}),p.removeUnorderedMany(m.data,m.length),m.clear()}function b(){for(;d.length;){let e=d.shift();e.isActive&&e.callback()}y.willDispatch=!1}function A(e=1,t){let r=Promise.withResolvers(),n=()=>{(0,a.G4)(t)?r.reject((0,a.NK)()):0===e?r.resolve():(--e,(0,i.d)(()=>n()))};return n(),r.promise}async function O(e){await function(e){return A(1,e)}(e),await new Promise(t=>requestAnimationFrame(()=>{e?.aborted||t()}))}const N=f.map(e=>new s(e)),k=new s("total")},78659(e,t,r){function i(e){return e}function n(e){return 1e3*e}function s(e){return e}r.d(t,{Kp:()=>s,gr:()=>n,l5:()=>i})},24326(e,t,r){r.d(t,{c:()=>n});let i=0;function n(){return++i}},59923(e,t,r){r.d(t,{GL:()=>h,MG:()=>o,U4:()=>a,Yc:()=>c,bA:()=>u,qt:()=>l});var i=r(49186),n=r(67076);const s=["layer","property","renderer","symbol","symbol-layer","url","visual-variable","type","elevation-profile-line","field-configuration-field-format","parquet-data"].map(e=>`${e}:unsupported`),o=new Set(s);function a(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("layer",`Layer (${t.title}, ${t.id}) of type '${t.declaredClass}' is not supported in the context of '${i}'${r?`: ${r}`:""}`,{layer:t}))}function l(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("property",`Property '${t}' is not supported in the context of '${i}'${r?`: ${r}`:""}`))}function u(e,t,r,i){if(!e)return;let n=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("symbol",`Symbol '${t.declaredClass}' is not supported in the context of '${n}'${r?`: ${r}`:""}`,i))}function c(e,t,r,s,o){e&&e?.messages?.push(f("warning"===t?n.A:i.A,r,s,o))}function h(e,t,r){return f(i.A,e,t,r)}function f(e,t,r,i){return new e(`${t}:unsupported`,r,i)}}}]);
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[9358],{56372(e,t,r){r.d(t,{A:()=>P});var i=r(56454),n=r(10107),s=r(64108),o=r(16649),a=r(85537),l=r(96156),u=(r(44208),r(4718)),c=r(53966),h=r(93687),f=r(30801),d=r(62788),p=r(47328),y=r(67867);const g=new WeakMap;class _ extends f.T{get trackingTarget(){return this._trackingTarget??=new y.R(this)}constructor(e,t){super(),this.propertyName=e,this.metadata=t,this.flags=function(e){let t=g.get(e);if(null!=t)return t;let r=p.i.Dirty|(e.nonNullable?p.i.NonNullable:0)|(e.hasOwnProperty("value")?p.i.HasDefaultValue:0)|(void 0===e.get?p.i.DepTrackingInitialized:0)|(void 0===e.dependsOn?p.i.AutoTracked:0);return g.set(e,r),r}(t)}destroy(){this.flags&p.i.Dirty&&this.onCommitted(),super.destroy(),this._trackingTarget?.destroy()}getComputed(e,t){e.mutable&&(0,d.gc)(this);let r=e.store,i=this.propertyName,n=this.flags,s=r.get(i);if(n&p.i.Computing||!(n&p.i.Dirty)&&r.has(i))return s;this.flags|=p.i.Computing;let o,{host:a}=e;n&p.i.AutoTracked?o=(0,d.a)(this.trackingTarget,t,a):((0,d.Xr)(a,this),o=t.call(a)),this.flags|=p.i.DepTrackingInitialized,r.set(i,o,1);let l=r.get(i);return l===s?this.flags&=~p.i.Dirty:(0,d.F_)(this.commit,this),this.flags&=~p.i.Computing,l}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~p.i.Dirty,this.onCommitted()}onInvalidated(){~this.flags&p.i.Overridden&&(this.flags|=p.i.Dirty);let e=this._observers;if(e&&e.length>0)for(let t of e)t.onInvalidated()}onCommitted(){let e=this._observers;if(e&&e.length>0){if(1===e.length)return void e[0].onCommitted();let t=e.slice();for(let e of t)e.onCommitted()}}}var v=r(35666);class m{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new m;return this._values.forEach((r,i)=>{e&&e.has(i)||t.set(i,(0,u.o8)(r))}),t}get(e){return this._values.get(e)}originOf(){return 7}keys(){return[...this._values.keys()]}set(e,t){this._values.set(e,t)}delete(e){this._values.delete(e)}has(e){return this._values.has(e)}isAtOrigin(e,t){return this.has(e)}isBelowOrigin(e,t){return!this.has(e)}forEach(e){this._values.forEach(e)}}function w(e,t,r){return void 0!==e}function b(e,t,r,i){return!(void 0===e||null==r&&e.flags&p.i.NonNullable&&(i.lifecycle,a.v.INITIALIZING,1))}class A{constructor(e){this.host=e,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=a.v.INITIALIZING,this.store=new m,this.mutable=!0,this._origin=7;let t=this.host.constructor.__accessorMetadata__;for(let e in t){let r=new _(e,t[e]);this.propertiesByName.set(e,r)}this.metadata=t}initialize(){this.lifecycle=a.v.CONSTRUCTING}constructed(){this.lifecycle=a.v.CONSTRUCTED}destroy(){this.lifecycle=a.v.DESTROYED,this.propertiesByName.forEach(e=>e.destroy())}get initialized(){return this.lifecycle!==a.v.INITIALIZING}get(e){let t=this.propertiesByName.get(e);if(!w(t))return;let r=t.metadata.get;if(r)return t.getComputed(this,r);this.mutable&&(0,d.gc)(t);let i=this.store;return i.has(e)?i.get(e):t.metadata.value}originOf(e){let t=this.store.originOf(e);if(void 0===t){let t=this.propertiesByName.get(e);if(void 0!==t&&t.flags&p.i.HasDefaultValue)return"defaults"}return(0,v.OL)(t)}has(e){return this.propertiesByName.has(e)&&this.store.has(e)}keys(){return[...this.propertiesByName.keys()]}internalGet(e){let t=this.propertiesByName.get(e);if(w(t))return this.store.has(e)?this.store.get(e):t.metadata.value}internalSet(e,t){let r=this.propertiesByName.get(e);w(r)&&this._internalSet(r,t)}getDependsInfo(e,t,r){let i=this.propertiesByName.get(t);if(!w(i))return"";let n=new y.R,s=(0,d.a)(n,()=>i.metadata.get?.call(e)),o=`${r}${e.declaredClass.split(".").pop()}.${t}: ${s}\n`,a=n.accessed??new Set;if(0===a.size)return o;r+=" ";for(let e of a)e instanceof _&&(o+=`${r}${e.propertyName}: undefined\n`);return o}setAtOrigin(e,t,r){let i=this.propertiesByName.get(e);if(w(i))return this._setAtOrigin(i,t,r)}isOverridden(e){let t=this.propertiesByName.get(e);return void 0!==t&&!!(t.flags&p.i.Overridden)}clearOrigin(e,t){let r=this.store,i=this.propertiesByName.get(e);if(!w(i))return;let n=r.isAtOrigin(e,t)&&!(i.flags&p.i.Overridden);r.delete(e,t),n&&i.notifyChange()}clearOverride(e){let t=this.propertiesByName.get(e);t&&t.flags&p.i.Overridden&&(t.flags&=~p.i.Overridden,t.notifyChange())}override(e,t){let r=this.propertiesByName.get(e);if(!b(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(N.release(e),!r)return;t=n}r.flags|=p.i.Overridden,this._internalSet(r,t)}set(e,t){let r=this.propertiesByName.get(e);if(!b(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(N.release(e),!r)return;t=n}let n=r.metadata.set;n?n.call(this.host,t):this._internalSet(r,t)}setDefaultOrigin(e){this._origin=(0,v.aB)(e)}getDefaultOrigin(){return(0,v.OL)(this._origin)}notifyChange(e){this.propertiesByName.get(e)?.notifyChange()}invalidate(e){this.propertiesByName.get(e)?.invalidate()}commit(e){this.propertiesByName.get(e)?.commit()}_internalSet(e,t){let r=this.lifecycle===a.v.INITIALIZING?0:this._origin;this._setAtOrigin(e,t,r)}_setAtOrigin(e,t,r){let i=this.store,n=e.propertyName,s=i.isAtOrigin(n,r);if(s&&~e.flags&p.i.Overridden&&(0,u.aI)(t,i.get(n)))return;let o=s||i.isBelowOrigin(n,r);o&&e.invalidate(),i.set(n,t,r),o&&e.commit(),(0,d.fE)(this.host,e)}_cast(e,t){let r=N.acquire();return r.valid=!0,r.value=t,e&&(r.value=e.call(this.host,t,r)),r}}class O{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}}const N=new h.A(()=>new O);var k,S,T=r(47821),j=r(53842),C=r(14012),D=r(51447),E=r(71511),$=r(97768);function I(e){if(null==e)return{value:e};if(Array.isArray(e))return{type:[e[0]],value:null};switch(typeof e){case"object":return e.constructor?.__accessorMetadata__||e instanceof Date?{type:e.constructor,value:e}:e;case"boolean":return{type:Boolean,value:e};case"string":return{type:String,value:e};case"number":return{type:Number,value:e};case"function":return{type:e,value:null};default:return}}const M=Symbol("Accessor-Handles"),z=Symbol("Accessor-Initialized");class P{static{k=M,S=z}static createSubclass(e={}){let{properties:t,declaredClass:r,constructor:i}=e;delete e.declaredClass,delete e.properties,delete e.constructor;let o=this;class a extends o{constructor(...e){super(...e),this.inherited=null,i&&i.apply(this,e)}}(0,l.tD)(a.prototype);for(let t in e){let r=e[t];if("function"==typeof r){let e=function(...e){if(o.prototype[t])return o.prototype[t].apply(this,e)};a.prototype[t]=function(...t){let i,n=this.inherited;this.inherited=e;try{i=r.apply(this,t)}catch(e){throw this.inherited=n,e}return this.inherited=n,i}}else a.prototype[t]=e[t]}for(let e in t){let r=I(t[e]);(0,n.MZ)(r)(a.prototype,e)}return(0,s.$K)(r)(a)}static freeze(e){return e instanceof P?e.__accessor__.mutable=!1:Object.freeze(e),e}static isFrozen(e){return e instanceof P?!e.__accessor__.mutable:Object.isFrozen(e)}constructor(e){if(this[k]=null,this[S]=!1,new.target===P)throw Error("[accessor] cannot instantiate Accessor directly.");let t=new A(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:t}),arguments.length>0&&(t.ctorArgs=e),(0,j.Z)()?.onInstanceConstruct(this)}postscript(){let e=this.__accessor__,t=e.ctorArgs;e.initialize(),t&&(this.set(t),e.ctorArgs=null),e.constructed(),this.initialize(),this[z]=!0}initialize(){}[i.G](){this[M]=(0,$.pR)(this[M])}destroy(){this.destroyed||((0,C.iS)(this),this.__accessor__.destroy(),(0,j.Z)()?.onInstanceDestroy(this))}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[z]}get destroyed(){return this.__accessor__?.lifecycle===a.v.DESTROYED||!1}get destroying(){return this.__accessor__?.lifecycle===a.v.DESTROYING||!1}commitProperty(e){(0,o.Jt)(this,e)}hasOwnProperty(e){return this.__accessor__?this.__accessor__.has(e):Object.prototype.hasOwnProperty.call(this,e)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(e,t){return(0,T.h)(this,e,t),this}watch(e,t,r){return(0,D.eO)(c.A.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://arcg.is/1vaqf42#watch",warnOnce:!0}),(0,C.wB)(this,e,t,r)}addHandles(e,t){if(this.destroyed){let t=Array.isArray(e)?e:[e];for(let e of t)e.remove()}else(this[M]??=new E.A).add(e,t)}removeHandles(e){this[M]?.remove(e)}removeAllHandles(){this[M]?.removeAll()}removeHandlesReference(e){this[M]?.removeReference(e)}hasHandles(e){return!0===this[M]?.has(e)}_override(e,t){void 0===t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_clearOverride(e){return this.__accessor__.clearOverride(e)}_overrideIfSome(e,t){null==t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_isOverridden(e){return this.__accessor__.isOverridden(e)}notifyChange(e){this.__accessor__.notifyChange(e)}_get(e){return this.__accessor__.internalGet(e)}_set(e,t){return this.__accessor__.internalSet(e,t),this}}},98291(e,t,r){r.d(t,{A:()=>s});var i=r(93687);function n(e){e.length=0}class s{constructor(e=50,t=50){this._pool=new i.A(()=>[],void 0,n,t,e)}acquire(){return this._pool.acquire()}release(e){this._pool.release(e)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(e){return o.release(e)}static prune(){o.prune()}}const o=new s(100)},71511(e,t,r){r.d(t,{A:()=>n});var i=r(5479);class n{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let e=0;return this._groups.forEach(t=>{e+=t.length}),e}add(e,t){if((0,i.xZ)(e)){let r=this._getOrCreateGroup(t);for(let t of e)a(t)&&r.push(t)}else a(e)&&this._getOrCreateGroup(t).push(e);return this}forEach(e,t){if("function"==typeof e)this._groups.forEach(t=>t.forEach(e));else{let r=this._getGroup(e);r&&t&&r.forEach(t)}}has(e){return this._groups.has(s(e))}remove(e){if("string"!=typeof e&&(0,i.xZ)(e)){for(let t of e)this.remove(t);return this}return this.has(e)&&(o(this._getGroup(e)),this._groups.delete(s(e))),this}removeAll(){return this._groups.forEach(o),this._groups.clear(),this}removeReference(e){return this._groups.delete(e),this}_getOrCreateGroup(e){if(this.has(e))return this._getGroup(e);let t=[];return this._groups.set(s(e),t),t}_getGroup(e){return this._groups.get(s(e))}}function s(e){return e||"_default_"}function o(e){for(let t of e)t instanceof n?t.removeAll():t.remove()}function a(e){return null!=e&&(!!e.remove||e instanceof n)}},25482(e,t,r){r.d(t,{o:()=>y,T:()=>d});var i=r(32198),n=r(56372),s=r(64108),o=r(4718);class a{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new a;return this._values.forEach((r,i)=>{e&&e.has(i)||t.set(i,(0,o.o8)(r.value),r.origin)}),t}get(e,t){t=this._normalizeOrigin(t);let r=this._values.get(e);return null==t||r?.origin===t?r?.value:void 0}originOf(e){return this._values.get(e)?.origin??7}keys(e){e=this._normalizeOrigin(e);let t=[...this._values.keys()];return null==e?t:t.filter(t=>this._values.get(t)?.origin===e)}set(e,t,r){if(0===(r=this._normalizeOrigin(r))){let t=this._values.get(e);if(null!=t?.origin&&t.origin>r)return}this._values.set(e,new l(t,r))}delete(e,t){(null==(t=this._normalizeOrigin(t))||this._values.get(e)?.origin===t)&&this._values.delete(e)}has(e,t){return null==(t=this._normalizeOrigin(t))?this._values.has(e):this._values.get(e)?.origin===t}isAtOrigin(e,t){return null!=(t=this._normalizeOrigin(t))&&this._values.get(e)?.origin===t}isBelowOrigin(e,t){return t=this._normalizeOrigin(t),!this.has(e)||this.originOf(e)<t}forEach(e){this._values.forEach(({value:t},r)=>e(t,r))}_normalizeOrigin(e){if(null!=e)return 0===e?e:7}}class l{constructor(e,t){this.value=e,this.origin=t}}var u=r(76953),c=r(45917),h=r(88620),f=r(49422);const d=e=>{let t=e,r=class extends t{constructor(...e){super(...e);let t=(0,h.oY)(this),r=t.store,i=new a;t.store=i,(0,u.k)(t,r,i)}read(e,t){(0,c.L)(this,e,t)}write(e,t){return(0,f.M)(this,e??{},t)}toJSON(e){return this.write({},e)}static fromJSON(e,t){return p.call(this,e,t)}};return r=(0,i.Cg)([(0,s.$K)("esri.core.JSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function p(e,t){if(!e)return null;if(e.declaredClass)throw Error("JSON object is already hydrated");let r=new this;return r.read(e,t),r}const y=d(n.A)},93687(e,t,r){r.d(t,{A:()=>s});var i=r(44208);const n=()=>!!(0,i.A)("esri-tests-disable-memory-pools");class s{constructor(e,t,r,i=1,n=0){this._creator=e,this._acquireFunction=t,this._releaseFunction=r,this.allocationSize=i,this._pool=Array(n),this._initialSize=n;for(let e=0;e<n;e++)this._pool[e]=this._creator();this.allocationSize=Math.max(i,1)}destroy(){this.prune(0)}acquire(...e){let t;if(n())t=this._creator();else{if(0===this._pool.length){let e=this.allocationSize;for(let t=0;t<e;t++)this._pool[t]=this._creator()}t=this._pool.pop()}return this._acquireFunction?this._acquireFunction(t,...e):function(e){return e?.acquire&&"function"==typeof e.acquire}(t)&&t.acquire(...e),t}release(e){e&&!n()&&(this._releaseFunction?this._releaseFunction(e):function(e){return e?.release&&"function"==typeof e.release}(e)&&e.release(),this._pool.push(e))}prune(e=this._initialSize){if(!(e>=this._pool.length)){for(let t=e;t<this._pool.length;++t){let e=this._pool[t];this._dispose(e)}this._pool.length=e}}_dispose(e){"function"==typeof e.dispose&&e.dispose()}}},15142(e,t,r){r.d(t,{A:()=>u});var i=r(4576),n=r(21818);const s=(e,t,r,i)=>{let n=t,s=t,o=r>>>1,a=e[n-1];for(;s<=o;){s=n<<1,s<r&&i(e[s-1],e[s])<0&&++s;let t=e[s-1];if(i(t,a)<=0)break;e[n-1]=t,n=s}e[n-1]=a},o=(e,t)=>e<t?-1:+(e>t);function a(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i);let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i)}}function*l(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i),yield;let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i),yield}}class u{constructor(e){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new i.vW,e&&(e.initialSize&&(this.data=Array(e.initialSize)),e.allocator&&(this._allocator=e.allocator),void 0!==e.deallocator&&(this._deallocator=e.deallocator),e.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(e){let t=[];for(let r=0;r<this._length;r++){let i=this.data[r];e(i)&&t.push(i)}return t}at(e){if((e=Math.trunc(e)||0)<0&&(e+=this._length),!(e<0||e>=this._length))return this.data[e]}includes(e,t){let r=this.data.indexOf(e,t);return-1!==r&&r<this.length}get length(){return this._length}set length(e){if(e>this._length){if(this._allocator){for(;this._length<e;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=e}else{if(this._deallocator)for(let t=e;t<this._length;++t)this.data[t]=this._deallocator(this.data[t]);this._length=e,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(e){this.data[this._length++]=e}pushArray(e,t=e.length){for(let r=0;r<t;r++)this.data[this._length++]=e[r]}pushAll(e){for(let t of e)this.data[this._length++]=t}fill(e,t){for(let r=0;r<t;r++)this.data[this._length++]=e}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let e=this.data[this._length];return++this._length,e}unshift(e){this.data.unshift(e),this._length++,c(this)}pop(){if(0===this.length)return;let e=this.data[this.length-1];return--this.length,this._shrink(),e}remove(e){let t=(0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint);if(-1!==t)return this.data.splice(t,1),--this.length,e}removeUnordered(e){return this.removeUnorderedIndex((0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint))}removeUnorderedIndex(e){if(!(e>=this.length||e<0))return this.swapElements(e,this.length-1),this.pop()}removeUnorderedMany(e,t=e.length,r){this.length=(0,i.mW)(this.data,e,this.length,t,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(e,t){if(e>=this.length||t>=this.length||e===t)return;let r=this.data[e];this.data[e]=this.data[t],this.data[t]=r}sort(e){a(this.data,0,this.length,e)}stableSort(e){let t=this.toArray().sort(e);for(let e=0;e<t.length;++e)this.data[e]=t[e]}iterableSort(e){return l(this.data,0,this.length,e)}some(e,t){for(let r=0;r<this.length;++r)if(e.call(t,this.data[r],r,this.data))return!0;return!1}find(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)if(e.call(t,r[n]))return r[n]}filterInPlace(e,t){let r=0;for(let i=0;i<this._length;++i){let n=this.data[i];e.call(t,n,i,this.data)&&(this.data[i]=this.data[r],this.data[r]=n,r++)}if(this._deallocator)for(let e=r;e<this._length;e++)this.data[e]=this._deallocator(this.data[e]);return this._length=r,this._shrink(),this}forAll(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)e.call(t,r[n],n,r)}forEach(e,t){this.data.slice(0,this.length).forEach(e,t)}map(e,t){let r=Array(this.length);for(let i=0;i<this.length;++i)r[i]=e.call(t,this.data[i],i,this.data);return r}reduce(e,t){let r=t;for(let t=0;t<this.length;++t)r=e(r,this.data[t],t,this.data);return r}has(e){let t=this.length,r=this.data;for(let i=0;i<t;++i)if(r[i]===e)return!0;return!1}*[Symbol.iterator](){for(let e=0;e<this.length;++e)yield this.data[e]}}function c(e){e.data.length>1.5*e.length&&(e.data.length=Math.floor(1.1*e.length))}},67076(e,t,r){r.d(t,{A:()=>n});var i=r(799);class n{constructor(e,t,r){this.name=e,this.details=r,this.type="warning",this.message=t?(0,i.V2)(t,r):""}toString(){let{name:e,message:t}=this;return`[${e}]: ${t}`}}},85537(e,t,r){r.d(t,["v",0,{INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}])},30801(e,t,r){r.d(t,{T:()=>a});var i=r(36563),n=r(16187);const s=Symbol("ObservableBase");function o(e){return s in e}class a{constructor(){this._observers=null,this.destroyed=!1}static observeForTracking(e,t,r){if(o(e)){let i=e.observe;if(i===u)return e._addObserver(t)??l;let n=r?.length?i.call(e,t,r.pop()):i.call(e,t);return Array.isArray(n)?c(n):n}let i=e.observe(t);return Array.isArray(i)||(0,n.b4)(i)?c(i):i}get[s](){return!0}observe(e,t){let r=this._addObserver(e);return r?t?t.rebind(r,e):new n.fk(r,e):l}_addObserver(e){if(this.destroyed||e.destroyed)return;let t=this._observers;if(null==t)return this._observers=[e];let r=!1;for(let i of t)if(i.destroyed)r=!0;else if(i===e)return t;return t.push(e),r&&this._removeDestroyedObservers(),t}_removeDestroyedObservers(){let e=this._observers;if(!e)return;let t=e.length;if(0===t)return;let r=0;for(let i=0;i<t;++i){for(;i+r<t&&e[i+r].destroyed;)++r;if(r>0){if(!(i+r<t))break;e[i]=e[i+r]}}e.length=t-r}destroy(){if(this.destroyed)return;this.destroyed=!0;let e=this._observers;if(null!=e){for(let t of e)t.onCommitted();this._observers=null}}}const l=(0,i.hA)(),u=a.prototype.observe;function c(e){return{remove:()=>e.remove()}}},35666(e,t,r){function i(e){switch(e){case"defaults":return 0;case"service":return 2;case"portal-item":return 3;case"web-scene":return 4;case"web-map":return 5;case"link-chart":return 6;case"user":return 7;default:return null}}function n(e){switch(e){case 0:return"defaults";case 2:return"service";case 3:return"portal-item";case 4:return"web-scene";case 5:return"web-map";case 6:return"link-chart";case 7:return"user"}}function s(e){return n(e)}r.d(t,{OL:()=>n,aB:()=>i,in:()=>s})},56454(e,t,r){const i=Symbol("Accessor-beforeDestroy");r.d(t,["G",0,i])},91429(e,t,r){r.d(t,{wg:()=>l,MZ:()=>o,$K:()=>a});var i=r(10107),n=r(79901),s=r(64108);r(93223),r(36005),r(43937);const o=i.MZ,a=s.$K;function l(...e){return(0,n.w)(...e)}},79901(e,t,r){r.d(t,{w:()=>l});var i=r(56507),n=r(96156);const s=Object.prototype.toString;function o(e){let t="__accessorMetadata__"in e?(0,i.dp)(e):e;return function(...e){if(e.push(t),"number"==typeof e[2])throw Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,e)}}function a(e,t,r,i){(0,n.z4)(e,t).cast=i}function l(...e){if(3!==e.length||"string"!=typeof e[1]){if(1===e.length&&"[object Function]"===s.call(e[0]))return o(e[0]);if(1===e.length&&"string"==typeof e[0])return function(e){return(t,r)=>{(0,n.z4)(t,e).cast=t[r]}}(e[0])}}},93223(e,t,r){r.d(t,{e:()=>s});var i=r(66552),n=r(10107);function s(e,t={}){let r=e instanceof i.J?e:new i.J(e,t),{alwaysWriteDefaults:s,default:o,ignoreUnknown:a=!0,name:l,nonNullable:u,readOnly:c=!1}=t;return(0,n.MZ)({type:a?r.apiValues:String,json:{type:r.jsonValues,default:o,name:l,read:!c&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:s}},nonNullable:u,readOnly:c})}},10107(e,t,r){r.d(t,{MZ:()=>l,rM:()=>u});var i=r(53966),n=r(56507),s=r(16649),o=r(96156),a=r(47821);function l(e={}){return(t,r)=>{if(t===Function.prototype)throw Error(`Inappropriate use of @property() on a static field: ${t.name}.${r}. Accessor does not support static properties.`);let l=Object.getOwnPropertyDescriptor(t,r),u=(0,o.z4)(t,r);l&&(l.get||l.set?(u.get=l.get||u.get,u.set=l.set||u.set):"value"in l&&("value"in e&&i.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${t.constructor.name}" already defined in the metadata`,e),u.value=e.value=l.value)),null!=e.readOnly&&(u.readOnly=e.readOnly);let c=e.aliasOf;if(c){let e,t="string"==typeof c?c:c.source,i="string"==typeof c?null:!0===c.overridable;u.dependsOn=[t],u.get=function(){let r=(0,s.Jt)(this,t);if("function"==typeof r){e||=t.split(".").slice(0,-1).join(".");let i=(0,s.Jt)(this,e);i&&(r=r.bind(i))}return r},u.readOnly||(u.set=i?function(e){this._override(r,e)}:function(e){(0,a.h)(this,t,e)})}let h=e.type,f=e.types;if(!u.cast){let t;h&&!1!==e.useTypeForAutocast?t=function(e){let t=0,r=e;if((0,n.Zu)(e))return(0,n.Nd)(e);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],t++;let i=r;if((0,n.EK)(i))return 0===t?(0,n.MB)(i):(0,n._e)((0,n.MB)(i),t);if(1===t)return(0,n.eC)(i);if(t>1)return(0,n.e6)(i,t);let s=e;return s.from?s.from:(0,n.dp)(s)}(h):f&&(t=Array.isArray(f)?(0,n.wB)((0,n.aq)(f[0])):(0,n.aq)(f)),e.cast=function(e,t){if(e||t)return e?t?(r,i)=>t(e(r,i),i):e:t}(e.cast,t)}(0,o.CX)(u,e),e.range&&(u.cast=(0,n.Qp)(u.cast,e.range))}}function u(e,t,r){let i=(0,o.z4)(e,r);i.json||={};let n=i.json;return void 0!==t&&(n.origins||(n.origins={}),n.origins[t]||(n.origins[t]={}),n=n.origins[t]),n}},36005(e,t,r){r.d(t,{w:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t||Array.isArray(t)?(s=e,r=t,n=[void 0]):(s=t,n=Array.isArray(e)?e:[e]),(e,t)=>{let o=e.constructor.prototype;n.forEach(n=>{let a=(0,i.rM)(e,n,s);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=o[t],r&&(a.read.source=(a.read.source||[]).concat(r))})}}},64108(e,t,r){r.d(t,{$K:()=>m}),r(44208);var i=r(53966),n=r(56454),s=r(56507),o=r(90360);function a(e){e.name&&(e.read&&"object"==typeof e.read?void 0===e.read.source&&(e.read.source=e.name):e.read={source:e.name},e.write&&"object"==typeof e.write?void 0===e.write.target&&(e.write.target=e.name):e.write={target:e.name})}function l(e){"boolean"==typeof e.read?e.read={enabled:e.read}:"function"==typeof e.read?e.read={enabled:!0,reader:e.read}:e.read&&"object"==typeof e.read&&void 0===e.read.enabled&&(e.read.enabled=!0)}function u(e){"boolean"==typeof e.write?e.write={enabled:e.write}:"function"==typeof e.write?e.write={enabled:!0,writer:e.write}:e.write&&"object"==typeof e.write&&void 0===e.write.enabled&&(e.write.enabled=!0)}var c=r(67124);function h(e){return e.type?f(e):d(e)}function f(e){if(!e.type)return;let t=0,r=e.type;for(;Array.isArray(r)&&!(0,s.EK)(r);)r=r[0],t++;return{type:r,ndimArray:t}}function d(e){if(!e.types)return;let t=0,r=e.types;for(;Array.isArray(r);)r=r[0],t++;return{types:r,ndimArray:t}}function p(e){(function(e){if(e.json||={},l(e.json),u(e.json),a(e.json),e.json.origins)for(let t in e.json.origins)l(e.json.origins[t]),u(e.json.origins[t]),a(e.json.origins[t]);return!0})(e)&&(function(e){if(e.json&&e.json.origins){let t=e.json.origins,r={"web-document":["web-scene","web-map"]};for(let e in r)if(t[e]){let i=t[e];r[e].forEach(e=>{t[e]=i}),delete t[e]}}}(e),function(e){let t=function(e){return e.json.types?d(e.json):e.type?f(e):d(e)}(e);if(e.json.origins)for(let r in e.json.origins){let i=e.json.origins[r],n=i.types?h(i):t;(0,o.v)(n,i,!1),i.types&&!i.write&&e.json.write?.enabled&&(i.write={...e.json.write}),(0,c.v)(n,i)}(0,o.v)(t,e.json,!0),(0,c.v)(t,e.json)}(e))}var y=r(85537),g=r(96156),_=r(62788);const v=new WeakMap;function m(e){return t=>{e??="esri.core.Accessor",t.prototype.declaredClass=e,function(e){let t=e.prototype,r=(0,g.tD)(t),i={};for(let e of Object.getOwnPropertyNames(r)){let t=r[e];p(t),i[e]={enumerable:!0,configurable:!0,get:A(e,t),set:N(e,t)}}Object.defineProperties(e.prototype,i)}(t);let r=class extends t{constructor(...e){super(...e),this.constructor===r&&"function"==typeof this.postscript&&this.postscript()}};if("function"==typeof t.prototype.postscript){Object.defineProperty(r.prototype,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}});let e=Object.getPrototypeOf(t.prototype),i=Object.hasOwn(t.prototype,"initialize")?t.prototype.initialize:void 0,s=b(e,"initialize");(i||!w(e?.initialize))&&(r.prototype.initialize=function(){s&&s.call(this),i&&i.call(this)},v.set(r.prototype.initialize,r.prototype.initialize));let o=Object.hasOwn(t.prototype,"destroy")?t.prototype.destroy:void 0,a=b(e,"destroy");if(o||!w(e?.destroy)){let e=function(){o&&o.call(this),a&&a.call(this)};r.prototype.destroy=function(){let t=this.__accessor__;t.lifecycle!==y.v.DESTROYING&&t.lifecycle!==y.v.DESTROYED&&(t.lifecycle=y.v.DESTROYING,this[n.G](),e.call(this))},v.set(r.prototype.destroy,e)}}r.__accessorMetadata__=(0,g.tD)(t.prototype),r.prototype.declaredClass=e;let i=(e||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(r.prototype,Symbol.toStringTag,{value:i,configurable:!0,writable:!0,enumerable:!1}),r}}function w(e){return void 0!==e&&v.has(e)}function b(e,t){if(!e)return;let r=Object.hasOwn(e,t)?e[t]:void 0,i=r&&v.get(r);if(i)return i;let n=b(Object.getPrototypeOf(e),t);return r?n?"initialize"===t?function(){n.call(this),r.call(this)}:"destroy"===t?function(){r.call(this),n.call(this)}:void 0:r:n}function A(e,{get:t,value:r}){return null==t?function(){let t=this.__accessor__,i=t.propertiesByName.get(e);if(void 0===i)return;t.mutable&&(0,_.gc)(i);let n=t.store;return n.has(e)?n.get(e):r}:function(){let r=this.__accessor__;return r.propertiesByName.get(e)?.getComputed(r,t)}}function O(e,t,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r})}function N(e,t){return t.readOnly&&t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);if(i.lifecycle===y.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else O(this,e,r)}:t.readOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);i.set(e,r)}}else O(this,e,r)}:t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.lifecycle===y.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else O(this,e,r)}:function(t){let r=this.__accessor__;r?r.mutable&&r.set(e,t):O(this,e,t)}}const k=(e,t)=>{i.A.getLogger("esri.core.Accessor").error(`cannot assign to ${e} property '${t}'`)}},43937(e,t,r){r.d(t,{K:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t?(s=e,n=[void 0]):"string"==typeof t?(s=t,n=Array.isArray(e)?e:[e]):(s=e,n=[void 0],r=t),(e,t)=>{let o=e.constructor.prototype;for(let a of n){let n=(0,i.rM)(e,a,s);n.write&&"object"==typeof n.write||(n.write={}),r&&(n.write.target=r),n.write.writer=o[t]}}}},76953(e,t,r){function i(e,t,r){t.keys().forEach(e=>{r.set(e,t.get(e),0)});let i=e.metadata;Object.keys(i).forEach(t=>{e.internalGet(t)&&r.set(t,e.internalGet(t),0)})}r.d(t,{k:()=>i})},56507(e,t,r){r.d(t,{EK:()=>C,GB:()=>u,GX:()=>l,MB:()=>D,Nd:()=>P,PZ:()=>v,Qp:()=>f,Uv:()=>I,Vr:()=>c,Zu:()=>z,_e:()=>T,aq:()=>E,dp:()=>A,e6:()=>j,eC:()=>k,gK:()=>M,jz:()=>$,qf:()=>O,wB:()=>N});var i=r(53966),n=r(91869);const s=()=>i.A.getLogger("esri.core.accessorSupport.ensureTypes");function o(e){if(null==e)return e;let t=new Date(e);return isNaN(t.getTime())?(s().error("Accessor#set",`Invalid date value: '${e}', falling back to current date`),new Date):t}function a(e){return null==e?e:!!e}function l(e){return null==e?e:e.toString()}function u(e,t=0){return null==e?e:(e=parseFloat(e),isNaN(e)?t:e)}function c(e){return null==e?e:Math.round(parseFloat(e))}function h(e){return null}function f(e,t){return r=>{let i=e(r);return null!=t.step&&(i=Math.round(i/t.step)*t.step),null!=t.min&&(i=Math.max(t.min,i)),null!=t.max&&(i=Math.min(t.max,i)),i}}function d(e){return e?.constructor&&void 0!==e.constructor.__accessorMetadata__}function p(e,t){return null!=t&&e&&!(t instanceof e)}function y(e){return e&&"isCollection"in e}function g(e){return e?.Type?"function"==typeof e.Type?e.Type:e.Type.base:null}function _(e,t){return!!d(t)&&(s().error("Accessor#set","Assigning an instance of '"+(t.declaredClass||"unknown")+"' which is not a subclass of '"+m(e)+"'"),!0)}function v(e,t){return null==t?t:y(e)?function(e,t){if(!t?.constructor||!y(t.constructor))return _(e,t)?t:new e(t);let r=g(e.prototype.itemType),i=g(t.constructor.prototype.itemType);return r?i?r===i?t:r.prototype.isPrototypeOf(i.prototype)?new e(t):(_(e,t),t):new e(t):t}(e,t):p(e,t)?_(e,t)?t:new e(t):t}function m(e){return e?.prototype?.declaredClass||"unknown"}const w=new WeakMap;function b(e){switch(e){case Number:return e=>u(e);case $:return c;case Boolean:return a;case String:return l;case Date:return o;case I:return h;default:return(0,n.tE)(w,e,()=>v.bind(null,e))}}function A(e,t){let r=b(e);return 1===arguments.length?r:r(t)}function O(e){let t=b(e);return e=>t(e)}function N(e,t,r){return 1===arguments.length?N.bind(null,e):t&&(Array.isArray(t)?t.map(t=>e(t,r)):[e(t,r)])}function k(e,t){return 1===arguments.length?N(t=>A(e,t)):N(t=>A(e,t),t)}function S(e,t,r){return 0!==t&&Array.isArray(r)?r.map(r=>S(e,t-1,r)):e(r)}function T(e,t,r){if(2===arguments.length)return r=>T(e,t,r);if(!r)return r;r=S(e,t,r);let i=t,n=r;for(;i>0&&Array.isArray(n);)i--,n=n[0];if(void 0!==n)for(let e=0;e<i;e++)r=[r];return r}function j(e,t,r){return 2===arguments.length?T(t=>A(e,t),t):T(t=>A(e,t),t,r)}function C(e){return!!Array.isArray(e)&&!e.some(t=>{let r=typeof t;return!("string"===r||"number"===r||"function"===r&&e.length>1)})}function D(e,t){if(2===arguments.length)return D(e).call(null,t);let r=new Set,i=e.filter(e=>"function"!=typeof e),n=e.filter(e=>"function"==typeof e);for(let t of e)("string"==typeof t||"number"==typeof t)&&r.add(t);let o=null,a=null;return(e,t)=>{if(null==e)return e;let l=typeof e,u="string"===l||"number"===l;return u&&(r.has(e)||n.some(e=>"string"===l&&e===String||"number"===l&&e===Number))||"object"===l&&n.some(t=>!p(t,e))?e:(u&&i.length?(o||=i.map(e=>"string"==typeof e?`'${e}'`:`${e}`).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, only the following values are valid: ${o}`)):"object"==typeof e&&n.length?(a||=n.map(e=>m(e)).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, value must be one of ${a}`)):s().error("Accessor#set",`'${e}' is not a valid value for this property`),t&&(t.valid=!1),null)}}function E(e,t){if(2===arguments.length)return E(e).call(null,t);let r={},i=[],n=[];for(let t in e.typeMap){let s=e.typeMap[t];r[t]=A(s),i.push(m(s)),n.push(t)}let o=()=>`'${i.join("', '")}'`,a=()=>`'${n.join("', '")}'`,l="string"==typeof e.key?t=>t[e.key]:e.key;return t=>{if(e.base&&!p(e.base,t)||null==t)return t;let i=l(t)||e.defaultKeyValue,n=r[i];if(!n)return s().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!p(e.typeMap[i],t))return t;if("string"==typeof e.key&&!d(t)){let r={};for(let i in t)i!==e.key&&(r[i]=t[i]);return n(r)}return n(t)}}class ${}class I{}const M={native:e=>({type:"native",value:e}),array:e=>({type:"array",value:e}),oneOf:e=>({type:"one-of",values:e})};function z(e){if(!e||"object"!=typeof e&&"function"!=typeof e||!("type"in e))return!1;switch(e.type){case"native":case"array":case"one-of":return!0}return!1}function P(e){switch(e.type){case"native":return A(e.value);case"array":return N(P(e.value));case"one-of":return function(e){let t=null;return(r,i)=>B(r,e)?r:(t??=q(e),s().error("Accessor#set",`Invalid property value, value needs to be of type ${t}`),i&&(i.valid=!1),null)}(e);default:return null}}function q(e){switch(e.type){case"native":switch(e.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case $:return"integer";case Date:return"date";case I:return"null";default:return m(e.value)}case"array":return`array of ${q(e.value)}`;case"one-of":{let t=e.values.map(e=>q(e));return`one of ${t.slice(0,-1)} or ${t[t.length-1]}`}}return"unknown"}function B(e,t){if(null==e)return!0;switch(t.type){case"native":switch(t.value){case Number:case $:return"number"==typeof e;case Boolean:return"boolean"==typeof e;case String:return"string"==typeof e;case I:return null===e}return e instanceof t.value;case"array":return!!Array.isArray(e)&&!e.some(e=>!B(e,t.value));case"one-of":return t.values.some(t=>B(e,t))}}},90360(e,t,r){r.d(t,{C:()=>h,v:()=>c});var i=r(59923),n=r(53966),s=r(93637),o=r(96156),a=r(15903),l=r(7142);const u=()=>n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function c(e,t,r){e&&(!r&&!t.read||t.read?.reader||!1===t.read?.enabled||function(e){return"types"in e?_(e.types):g(e.type)}(e)&&(0,s.sM)("read.reader",h(e),t))}function h(e){let t=e.ndimArray??0;if(t>1)return function(e){let t=f(e),r=d.bind(null,t),i=e.ndimArray??0;return(e,t,n)=>{if(null==e)return e;e=r(e,n,i);let s=i,o=e;for(;s>0&&Array.isArray(o);)s--,o=o[0];if(void 0!==o)for(let t=0;t<s;t++)e=[e];return e}}(e);if(1===t)return p(e);if("type"in e&&y(e.type)){let t=e.type.prototype?.itemType?.Type,r=p("function"==typeof t?{type:t}:{types:t});return(t,i,n)=>{let s=r(t,i,n);return s&&new e.type(s)}}return f(e)}function f(e){return"type"in e?function(e){return e.prototype.read?(t,r,i)=>{if(null==t)return t;let n=typeof t;if("object"!==n)return void u().error(`Expected JSON value of type 'object' to deserialize type '${e.prototype.declaredClass}', but got '${n}'`);let s=new e;return s.read(t,i),s}:e.fromJSON}(e.type):function(e){let t=null,r=e.errorContext??"type",n=e.validate;return(s,a,c)=>{if(null==s)return s;let h=typeof s;if("object"!==h)return void u().error(`Expected JSON value of type 'object' to deserialize, but got '${h}'`);t||=function(e){let t={};for(let r in e.typeMap){let i=e.typeMap[r],n=(0,o.tD)(i.prototype);if("function"==typeof e.key)continue;let s=n[e.key];if(!s)continue;if(s.json?.type&&Array.isArray(s.json.type)&&1===s.json.type.length&&"string"==typeof s.json.type[0]){t[s.json.type[0]]=i;continue}let a=s.json?.write;if(!a?.writer){t[r]=i;continue}let l=a.target,u="string"==typeof l?l:e.key,c={};a.writer(r,c,u),c[u]&&(t[c[u]]=i)}return t}(e);let f=e.key;if("string"!=typeof f)return;let d=s[function(e,t,r){let i=Object.values(t)[0],n=(0,o.tD)(i.prototype)[e],s=(0,l.N5)(n,r)?.read?.source;return s&&"string"==typeof s?s:e}(f,t,c)],p=d?t[d]:e.defaultKeyValue?e.typeMap[e.defaultKeyValue]:void 0;if(!p){let e=`Type '${d||"unknown"}' is not supported`;return c?.messages&&s&&(0,i.Yc)(c,"warning",r,e,{definition:s,context:c}),void u().error(e)}let y=new p;return y.read(s,c),n?n(y):y}}(e.types)}function d(e,t,r,i){return 0!==i&&Array.isArray(t)?t.map(t=>d(e,t,r,i-1)):e(t,void 0,r)}function p(e){let t=f(e);return(e,r,i)=>{if(null==e)return e;if(Array.isArray(e)){let r=[];for(let n of e){let e=t(n,void 0,i);void 0!==e&&r.push(e)}return r}let n=t(e,void 0,i);return void 0===n?void 0:[n]}}function y(e){if(!(0,a.P)(e))return!1;let t=e.prototype.itemType;return!(!t||!t.Type)&&("function"==typeof t.Type?g(t.Type):_(t.Type))}function g(e){return!Array.isArray(e)&&!!e&&("object"==typeof e||"function"==typeof e)&&e.prototype&&("read"in e.prototype||"fromJSON"in e||y(e))}function _(e){for(let t in e.typeMap)if(!g(e.typeMap[t]))return!1;return!0}},15903(e,t,r){function i(e){return!!e&&e.prototype?.declaredClass&&0===e.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(t,{P:()=>i})},7142(e,t,r){function i(e,t){return o(e,"any",t?.origin)}function n(e,t){return o(e,"read",t?.origin)}function s(e,t){return o(e,"write",t?.origin)}function o(e,t,r){let i=e?.json;if(i?.origins&&r){let e;e="link-chart"===r?i.origins[r]&&("any"===t||t in i.origins[r])?i.origins[r]:i.origins["web-map"]:i.origins[r],e&&("any"===t||t in e)&&(i=e)}return i}r.d(t,{N5:()=>n,k4:()=>s,xF:()=>i})},67124(e,t,r){r.d(t,{B:()=>h,v:()=>a});var i=r(59923),n=r(53966),s=r(93637),o=r(15903);function a(e,t){if(!t.write||t.write.writer||!1===t.write.enabled&&!t.write.overridePolicy)return;let r=e?.ndimArray??0;e&&(1===r||"type"in e&&(0,o.P)(e.type))?t.write.writer=f:r>1?t.write.writer=function(e){return(t,r,i,n)=>{let o;if(null===t)o=null;else{o=d(t,n,e);let r=e,i=o;for(;r>0&&Array.isArray(i);)r--,i=i[0];if(void 0!==i)for(let e=0;e<r;e++)o=[o]}(0,s.sM)(i,o,r)}}(r):t.types?Array.isArray(t.types)?t.write.writer=function(e){return(t,r,i,n)=>u(t&&Array.isArray(t)?t.filter(t=>l(t,e,n)):t,r,i,n)}(t.types[0]):t.write.writer=function(e){return(t,r,i,n)=>{if(!t||l(t,e,n))return u(t,r,i,n)}}(t.types):t.write.writer=u}function l(e,t,r){for(let r in t.typeMap)if(e instanceof t.typeMap[r])return!0;if(r?.messages){let s=t.errorContext??"type",o=`Values of type '${("function"==typeof t.key?e.declaredClass:e[t.key])??"Unknown"}' cannot be written`;r&&r.messages&&e&&(0,i.Yc)(r,"error",s,o,{definition:e,context:r}),n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(o)}return!1}function u(e,t,r,i){(0,s.sM)(r,c(e,i),t)}function c(e,t){return e&&"function"==typeof e.write?e.write({},t):e&&"function"==typeof e.toJSON?e.toJSON():"number"==typeof e?h(e):e}function h(e){return e===-1/0?-Number.MAX_VALUE:e===1/0?Number.MAX_VALUE:isNaN(e)?null:e}function f(e,t,r,i){let n;null===e?n=null:e&&"function"==typeof e.map?(n=e.map(e=>c(e,i)),"function"==typeof n.toArray&&(n=n.toArray())):n=[c(e,i)],(0,s.sM)(r,n,t)}function d(e,t,r){return 0!==r&&Array.isArray(e)?e.map(e=>d(e,t,r-1)):c(e,t)}},16649(e,t,r){r.d(t,{Jt:()=>a,RP:()=>o,t2:()=>l});var i=r(88620);function n(e,t){let r=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){let e=parseInt(r,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}let n=(0,i.oY)(t);return(0,i.yh)(n,r)?n.get(r):t[r]}function s(e,t,r){if(null==e)return e;let i=n(t[r],e);return!i&&r<t.length-1?void 0:r===t.length-1?i:s(i,t,r+1)}function o(e,t,r=0){return"string"!=typeof t||t.includes(".")?s(e,(0,i.AH)(t),r):n(t,e)}function a(e,t){return o(e,t)}function l(e,t){return void 0!==o(t,e)}},96156(e,t,r){r.d(t,{CX:()=>a,tD:()=>s,z4:()=>o});var i=r(4718),n=r(88620);function s(e){let t=e.constructor.__accessorMetadata__,r=Object.prototype.hasOwnProperty.call(e.constructor,"__accessorMetadata__");if(t){if(!r){t=Object.create(t);for(let e in t)t[e]=(0,i.o8)(t[e]);Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0})}}else t={},Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0});return e.constructor.__accessorMetadata__}function o(e,t){let r=s(e),i=r[t];return i||=r[t]={}}function a(e,t){return(0,n.h1)(e,t,u)}const l=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function u(e){return l.test(e)?"replace":"merge"}},45917(e,t,r){r.d(t,{L:()=>c,t:()=>h});var i=r(7142),n=r(16649),s=r(88620);function o(e,t,r){if(!e?.read||!1===e.read.enabled||!e.read.source)return!1;let i=e.read.source;if("string"==typeof i){if(i===t||i.includes(".")&&i.startsWith(t)&&(0,n.t2)(i,r))return!0}else for(let e of i)if(e===t||e.includes(".")&&e.startsWith(t)&&(0,n.t2)(e,r))return!0;return!1}function a(e,t,r,n,s){let a=(0,i.N5)(t[r],s);var l;(l=a)&&(!l.read||!1!==l.read.enabled&&!l.read.source)&&(e[r]=!0);for(let l of Object.getOwnPropertyNames(t))a=(0,i.N5)(t[l],s),o(a,r,n)&&(e[l]=!0)}function l(e,t,r,n){let s=r.metadata,o=(0,i.xF)(s[t],n)?.default;if(void 0===o)return;let a="function"==typeof o?o.call(e,t,n):o;void 0!==a&&r.set(t,a)}const u={origin:"service"};function c(e,t,r=u){if(!t||"object"!=typeof t)return;let o=(0,s.oY)(e),c=o.metadata,h={};for(let e of Object.getOwnPropertyNames(t))a(h,c,e,t,r);o.setDefaultOrigin(r.origin);for(let s of Object.getOwnPropertyNames(h)){let a,l=(0,i.N5)(c[s],r).read,u=l?.source;a=u&&"string"==typeof u?(0,n.RP)(t,u):t[s],l?.reader&&(a=l.reader.call(e,a,t,r)),void 0!==a&&o.set(s,a)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(let t of Object.getOwnPropertyNames(c))h[t]||l(e,t,o,r)}o.setDefaultOrigin("user")}function h(e,t,r,i=u){let n={...i,messages:[]};r(n),n.messages?.forEach(t=>{"warning"!==t.type||e.loaded?i?.messages&&i.messages.push(t):e.loadWarnings.push(t)})}},47821(e,t,r){r.d(t,{h:()=>o});var i=r(49186),n=r(44208),s=(r(53966),r(16649));function o(e,t,r){if(e&&t)if("object"==typeof t)for(let r of Object.getOwnPropertyNames(t))o(e,r,t[r]);else{if(t.includes(".")){let i=t.split("."),n=i.splice(-1,1)[0];return void o((0,s.Jt)(e,i),n,r)}let a=e.__accessor__;null!=a&&function(e,t){if((0,n.A)("esri-unknown-property-errors")&&!function(e,t){return null!=t.metadata[e]}(e,t))throw new i.A("set:unknown-property",function(e,t){return"setting unknown property '"+e+"' on instance of "+t.host.declaredClass}(e,t))}(t,a),e[t]=r}}},53842(e,t,r){function i(){}r.d(t,{Z:()=>i})},62788(e,t,r){r.d(t,{F_:()=>p,Xr:()=>m,a:()=>d,fE:()=>_,gc:()=>c}),r(44208);var i=r(53966),n=r(47328),s=r(67867),o=r(88620);const a=new s.R,l=[];let u=a;function c(e){u.onAccessed(e)}let h=!1,f=!1;function d(e,t,r){if(h)return y(e,t,r);let n;if(f){u=e,l.push(e);try{n=t.call(r)}catch(e){throw i.A.getLogger("esri.core.accessorSupport.tracking").error(e),e}finally{g()}}else{u=e,l.push(e);try{n=t.call(r)}finally{g()}}return n}function p(e,t){return d(a,e,t)}function y(e,t,r){let n,s=h;h=!0,u=e,l.push(e);try{n=t.call(r)}catch(e){f&&i.A.getLogger("esri.core.accessorSupport.tracking").error(e)}return g(),h=s,n}function g(){let e=l.length;if(e>1){let t=l.pop();u=l[e-2],t.onTrackingEnd()}else if(1===e){let e=l.pop();u=a,e.onTrackingEnd()}else u=a}function _(e,t){if(t.flags&n.i.DepTrackingInitialized)return;t.flags|=n.i.DepTrackingInitialized;let r=f;f=!1,t.flags&n.i.AutoTracked?y(t.trackingTarget,t.metadata.get,e):m(e,t),f=r}const v=[];function m(e,t){t.flags&n.i.ExplicitlyTracking||(t.flags|=n.i.ExplicitlyTracking,y(t.trackingTarget,()=>{let r=t.metadata.dependsOn||v;for(let t of r)if("string"!=typeof t||t.includes(".")){let r=(0,o.AH)(t);for(let t=0,i=e;t<r.length&&"object"==typeof i&&i;++t)i=w(i,r[t],t!==r.length-1)}else w(e,t,!1)}),t.flags&=~n.i.ExplicitlyTracking)}function w(e,t,r){let i=t.endsWith("?")?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){let t=parseInt(i,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}let n=(0,o.oY)(e);if(n){let t=n.propertiesByName.get(i);t&&(c(t),_(e,t))}return r?e[i]:void 0}},47328(e,t,r){r.d(t,["i",0,{Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}])},16187(e,t,r){r.d(t,{b4:()=>n,fk:()=>s,ll:()=>o});const i=Symbol("ObservationHandle");function n(e){return i in e}class s{get[i](){return!0}constructor(e,t){this._observers=e,this._observer=t}rebind(e,t){return this._observers=e,this._observer=t,this}remove(){o(this._observers,this._observer)}}function o(e,t){if(e[e.length-1]===t)return void e.pop();let r=e.indexOf(t);-1!==r&&e.splice(r,1)}},71429(e,t,r){r.d(t,{r:()=>n});var i=r(67867);class n extends i.R{constructor(e){super(new s(e)),this._observer&&o.register(this,new WeakRef(this._observer),this)}destroy(){let e=this._observer;e&&o.unregister(this),this.accessed?.clear(),super.destroy(),e?.destroy()}}class s{constructor(e){this._notify=e,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;let e=this._invalidCount;1===e?(this._invalidCount=0,this._notify()):this._invalidCount=e>0?e-1:0}destroy(){this.destroyed=!0,this._notify=a}}const o=new FinalizationRegistry(e=>{e.deref()?.destroy()});function a(){}},67867(e,t,r){r.d(t,{R:()=>s});var i=r(30801),n=r(16187);class s{constructor(e){this.accessed=void 0,this._handles=void 0,this._reusableHandles=void 0,this._observer=e}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(e){null!=this._observer&&e!==this._observer&&(this.accessed??=new Set,this.accessed.add(e))}onTrackingEnd(){let e=this._observer;if(null!=e)try{this._unsubscribe(!0);let t=this.accessed;if(!t?.size)return;let r=this._handles??=[];for(let n of t){let t=i.T.observeForTracking(n,e,this._reusableHandles);if(this._observer!==e){o(t,e);break}r.push(t)}t.clear()}finally{this._reusableHandles?.length&&(this._reusableHandles.length=0)}}_unsubscribe(e){let t=this._handles;if(t)for(;t.length;){let r=t.pop();o(r,this._observer),e&&!Array.isArray(r)&&(0,n.b4)(r)&&(this._reusableHandles??=[]).push(r)}}clear(){this._reusableHandles?.length&&(this._reusableHandles.length=0),this._unsubscribe(!1)}}function o(e,t){Array.isArray(e)?(0,n.ll)(e,t):e.remove()}},80559(e,t,r){r.d(t,{Df:()=>c,fm:()=>h,mJ:()=>u});var i=r(36563),n=r(53966),s=r(62788),o=r(71429);let a=!1;const l=[];function u(e,t){let r=new o.r(function i(){if(!r||l)return;if(a)return void f(i);let o,u=n;r.clear(),a=!0,l=!0;try{try{n=(0,s.a)(r,e)}finally{l=!1,a=!1}t(n,u)}catch(u){o=p(u,t)}d(o)}),n=null,l=!1;return l=!0,n=(0,s.a)(r,e),l=!1,(0,i.hA)(function(){r&&(r.destroy(),r=null,n=null)})}function c(e,t){let r=new o.r(function(){t(n,a)}),n=null;function a(){return r?(r.clear(),n=(0,s.a)(r,e)):null}return a(),(0,i.hA)(function(){r&&=(r.destroy(),null),n=null})}function h(e,t){let r=!1,n=!1,l=!!t?.sync,u=new o.r(()=>{!r&&!n&&(n=!0,l?c():queueMicrotask(c))});function c(){if(n=!1,!u||r)return;if(a)return void f(c);let t;u.clear(),a=!0,r=!0;try{try{(0,s.a)(u,e)}finally{r=!1,a=!1}}catch(r){t=p(r,e)}d(t)}return r=!0,(0,s.a)(u,e),r=!1,(0,i.hA)(function(){u&&=(u.destroy(),null)})}function f(e){l.includes(e)||l.unshift(e)}function d(e){for(;l.length;)try{l.pop()()}catch(t){e??={error:t}}if(e)throw e.error}function p(e,t){return n.A.getLogger("esri.core.Accessor").error("Reactive notification failed",{error:e,callback:t,pendingNotifications:l.length}),{error:e}}},88620(e,t,r){r.d(t,{AH:()=>u,h1:()=>a,oY:()=>s,qg:()=>h,yh:()=>o});var i=r(36563),n=r(4718);function s(e){return e.__accessor__??null}function o(e,t){return null!=e?.metadata?.[t]}function a(e,t,r){return l(e,t,r?{policy:r,path:""}:null)}function l(e,t,r){return t?Object.keys(t).reduce((e,i)=>{let s=i;if("__proto__"===s)return e;let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${i}`:i,a=r.policy(o)),"replace"===a||"replace-arrays"===a&&Array.isArray(e[s]))return e[s]=t[s],e;if(void 0===e[s])return e[s]=(0,n.o8)(t[s]),e;let u=e[s],c=t[s];if(u===c)return e;if(Array.isArray(c)||Array.isArray(e))u=e[s]=u?Array.isArray(u)?u.slice():[u]:[],c&&(Array.isArray(c)||(c=[c]),c.forEach(e=>{u.includes(e)||u.push(e)}));else if(c&&"object"==typeof c)if(r){let t=r.path;r.path=o,e[s]=l(u,c,r),r.path=t}else e[s]=l(u,c,null);else(!e.hasOwnProperty(i)||t.hasOwnProperty(i))&&(e[s]=c);return e},e||{}):e}function u(e){return Array.isArray(e)?e:e.split(".")}function c(e){return e.includes(",")?e.split(",").map(e=>e.trim()):[e.trim()]}function h(e,t,r,n){let s=function(e){if(Array.isArray(e)){let t=[];for(let r of e)t.push(...c(r));return t}return c(e)}(t);if(1!==s.length){let t=s.map(t=>n(e,t,r));return(0,i.vE)(t)}return n(e,s[0],r)}},14012(e,t,r){r.d(t,{iS:()=>A,wB:()=>S,Cn:()=>T});var i=r(98291),n=r(36563),s=r(4718),o=r(44208),a=r(93687);class l extends a.A{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...e){let t=super.acquire(...e);return this._set.delete(t),t}release(e){!e||(0,o.A)("esri-tests-disable-memory-pools")||this._set.has(e)||(super.release(e),this._set.add(e))}_dispose(e){this._set.delete(e),super._dispose(e)}}var u=r(76030),c=r(24326),h=r(16649),f=r(85537),d=r(80559),p=r(88620);class y{constructor(){this.uid=(0,c.c)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static{this.pool=new l(()=>new y)}static acquireUntracked(e,t,r,i,n){return this.pool.acquire(0,e,t,r,i,n,s.aI)}static acquireTracked(e,t,r,i){return this.pool.acquire(1,e,t,r,null,null,i)}notify(e,t){0===this.type?this.callback.call(this.target,e,t,this.path,this.target):this.callback.call(null,e,t,void 0,void 0)}acquire(e,t,r,i,n,s,o){this.uid=(0,c.c)(),this.removed=!1,this.type=e,this.oldValue=t,this.callback=r,this.getValue=i,this.target=n,this.path=s,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,c.c)(),this.removed=!0}}const g=new i.A,_=new Set,v=new Set;let m;function w(e){_.delete(e),_.add(e),null!==e.target&&v.add(e.target),m||=(0,u._)(O)}function b(e){if(e.removed)return;let t=e.oldValue,r=e.getValue();e.equals(t,r)||(e.oldValue=r,e.notify(r,t))}function A(e){if(v.has(e))for(let t of _.values())t.target===e&&(t.removed=!0)}function O(){let e=10;for(;m&&e--;){m=null;let e=N(),t=g.acquire();for(let r of e){let e=r.uid;b(r),e===r.uid&&r.removed&&t.push(r)}for(let e of _)e.removed&&(t.push(e),_.delete(e));for(let e of t)y.pool.release(e);g.release(t),g.release(e),k.forEach(e=>e())}}function N(){let e=g.acquire();e.length=_.size;let t=0;for(let r of _)e[t]=r,++t;return _.clear(),v.clear(),e}const k=new Set;function S(e,t,r,i=!1){return e.__accessor__&&e.__accessor__.lifecycle!==f.v.DESTROYED?i?function(e,t,r){let i=(0,p.qg)(e,t,r,(e,t,r)=>{let n=!1;return(0,d.mJ)(()=>(0,h.RP)(e,t),(o,a)=>{if(e.__accessor__.lifecycle===f.v.DESTROYED)i.remove();else if(!n){n=!0;try{(0,s.aI)(a,o)||r.call(e,o,a,t,e)}finally{n=!1}}})});return i}(e,t,r):function(e,t,r){let i=(0,p.qg)(e,t,r,(e,t,r)=>{let s,o,a=(0,d.Df)(()=>(0,h.RP)(e,t),(n,a)=>{e.__accessor__?.lifecycle===f.v.DESTROYED||s&&s.uid!==o?i.remove():(s||(s=y.acquireUntracked(n,r,a,e,t),o=s.uid),w(s))});return(0,n.hA)(()=>{a.remove(),s&&=(s.uid===o&&!s.removed&&(s.removed=!0,w(s)),null),i=a=null})});return i}(e,t,r):(0,n.hA)()}function T(e,t,r=!1,i=s.gh){return r?function(e,t,r){let i=!1;return(0,d.mJ)(e,(e,n)=>{if(!i){i=!0;try{r(n,e)||t(e,n)}finally{i=!1}}})}(e,t,i):function(e,t,r){let i,s,o=(0,d.Df)(e,(e,n)=>{i&&i.uid!==s?o.remove():(i||(i=y.acquireTracked(e,t,n,r),s=i.uid),w(i))});return(0,n.hA)(()=>{o.remove(),i&&=(i.uid===s&&!i.removed&&(i.removed=!0,w(i)),null),o=null})}(e,t,i)}},49422(e,t,r){r.d(t,{M:()=>d,R:()=>f});var i=r(4576),n=r(49186),s=r(53966),o=r(7142),a=r(16649),l=r(35666),u=r(88620);function c(e,t,r,i,n){let s={};return t.write?.writer?.call(e,i,s,r,n),s}function h(e,t,r,o,u,c){if(!o?.write)return!1;let h=(0,a.Jt)(e,r);if(!u&&o.write.overridePolicy){let t=o.write.overridePolicy.call(e,h,r,c??void 0);void 0!==t&&(u=t)}if(u||=o.write,!u||!1===u.enabled||u.layerContainerTypes&&c?.layerContainerType&&!u.layerContainerTypes.includes(c.layerContainerType))return!1;if((null===h&&!u.allowNull&&!u.writerEnsuresNonNull||void 0===h)&&u.isRequired){let t=new n.A("web-document-write:property-required",`Missing value for required property '${r}' on '${e.declaredClass}'`,{propertyName:r,target:e});return t&&c?.messages?c.messages.push(t):t&&!c&&s.A.getLogger("esri.core.accessorSupport.write").error(t.name,t.message),!1}if(void 0===h||null===h&&!u.allowNull&&!u.writerEnsuresNonNull)return!1;let f=t.store.multipleOriginsSupported?t.store.originOf(r):null;return void 0===o.default||null!==f&&0!==f?null===f||!c?.origin||!!u.ignoreOrigin||f>=(0,l.aB)(c.origin):!!u.alwaysWriteDefaults||!function(e,t,r,n,s){let o=n.default;if(null!=n.defaultEquals)return n.defaultEquals(s);if("function"==typeof o){if(Array.isArray(s)){let n=o.call(e,t,r??void 0);return(0,i.aI)(n,s)}return!1}return o===s}(e,r,c,o,h)}function f(e,t,r,i){let n=(0,u.oY)(e),s=n.metadata,a=(0,o.k4)(s[t],i);return!!a&&h(e,n,t,a,r,i)}function d(e,t,r){if(e&&"function"==typeof e.toJSON&&(!e.toJSON.isDefaultToJSON||!e.write))return(0,u.h1)(t,e.toJSON(r));let i=(0,u.oY)(e),n=i.metadata;for(let s in n){let f=(0,o.k4)(n[s],r);if(!h(e,i,s,f,void 0,r))continue;let d=(0,a.Jt)(e,s),p=c(e,f,f.write&&"string"==typeof f.write.target?f.write.target:s,d,r);Object.keys(p).length>0&&(t=(0,u.h1)(t,p),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>(0,u.h1)(t,p,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:e,propName:s,oldOrigin:(0,l.in)(i.store.originOf(s)),newOrigin:r.origin}))}return t}},5479(e,t,r){function i(e){let t=[];return function*(){yield*t;let r,i=t.length;for(;!(r=e.next()).done;)for(t.push(r.value),yield r.value;++i<t.length;)yield t[i]}}r.d(t,{I6:()=>o,N5:()=>s,PP:()=>i,xZ:()=>l,zN:()=>a});const n=Object.freeze({done:!0,value:void 0});function s(e){let t=[],r=null,i=null,s=!1;async function o(){if(s)return n;if(null!=i)return i;i=e.next();try{let e=await i;return i=null,e.done?(s=!0,n):(t.push(e.value),e)}catch(e){throw s=!0,i=null,r=e,e}}return async function*(){yield*t;let e,i=t.length;for(;!(e=await o()).done;)for(yield e.value;++i<t.length;)yield t[i];if(null!=r)throw r}}function o(e,t){for(let r of e)if(null!=r&&t(r))return r}function a(e,t){for(let r of e)if(t(r))return!0;return!1}function l(e){return null!=e&&"function"==typeof e[Symbol.iterator]}},66552(e,t,r){r.d(t,{J:()=>n,O:()=>o});var i=r(93637);class n{constructor(e,t={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=e,this._options=t,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(e){let t={};for(let r in e)t[e[r]]=r;return t}(e),this.apiValues=s(this._apiToJSON),this.jsonValues=s(this._jsonToAPI),this.read=e=>this.fromJSON(e),this.write=(e,t,r)=>{let n=this.toJSON(e);void 0!==n&&(0,i.sM)(r,n,t)},this.write.isJSONMapWriter=!0}toJSON(e){if(null==e)return null;if(this._apiToJSON.hasOwnProperty(e)){let t=this._apiToJSON[e];return this._options.useNumericKeys?+t:t}return this._options.ignoreUnknown?null:e}fromJSON(e){return null!=e&&this._jsonToAPI.hasOwnProperty(e)?this._jsonToAPI[e]:this._options.ignoreUnknown?void 0:e}}function s(e){let t=[];for(let r in e)t.push(r);return t.sort(),t}function o(){return function(e,t){return new n(e,{ignoreUnknown:!0,...t})}}},26390(e,t,r){r.d(t,{d:()=>n});const i=[];function n(e){i.push(e),1===i.length&&queueMicrotask(()=>{let e=i.slice();i.length=0;for(let t of e)t()})}},76030(e,t,r){r.d(t,{_:()=>g,$m:()=>O,md:()=>A});var i=r(26390);function n(e,t,r,i,n){console.timeStamp(e,t,r,n,i)}class s{constructor(e,t=30){this.name=e,this._counter=0,this._samples=Array(t)}push(e){null!=e&&(this._samples[++this._counter%this._samples.length]=e)}set(e){null!=e&&(this._samples[this._counter%this._samples.length]=e)}get median(){return this._samples.slice().sort((e,t)=>e-t)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((e,t)=>e+t,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var o=r(15142),a=r(17676),l=r(78659);class u{constructor(e){this.callback=e,this.isActive=!0}remove(){this.isActive=!1}}let c=0;const h={time:(0,l.l5)(0),deltaTime:(0,l.l5)(0),elapsedFrameTime:(0,l.l5)(0),frameDuration:(0,l.l5)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.A,y={frameTasks:p,willDispatch:!1,clearFrameTasks:function(e=!1){p.forAll(e=>{e.removed=!0}),e&&w()},dispatch:b,executeFrameTasks:function(e){let t=(0,l.l5)(e-c);c=e;let r=1e3/60,i=Math.max(0,t-r);h.time=e,h.frameDuration=(0,l.l5)(r-i);for(let r=0;r<f.length;r++){let i=performance.now(),s=f[r];p.forAll(i=>{i.paused||i.removed||(0===r&&i.ticks++,!i.phases[s])||(h.elapsedFrameTime=(0,l.l5)(performance.now()-e),h.deltaTime=0===i.ticks?(0,l.l5)(0):t,i.phases[s]?.call(i,h))});let o=performance.now();N[r].push(o-i),n(s,i,o,"Maps SDK","Scheduling")}w();let s=performance.now();k.push(s-e),n("Animation Frame",e,s,"Maps SDK","Scheduling")},reschedule:function(){null!=_&&(cancelAnimationFrame(_),_=requestAnimationFrame(v))}};function g(e){let t=new u(e);return d.push(t),y.willDispatch||(y.willDispatch=!0,(0,i.d)(b)),t}let _=null;function v(){let e=performance.now();_=null,_=p.some(e=>!e.paused&&!e.removed)?requestAnimationFrame(v):null,y.executeFrameTasks(e)}const m=new o.A;function w(){p.forAll(e=>{e.removed&&m.push(e)}),p.removeUnorderedMany(m.data,m.length),m.clear()}function b(){for(;d.length;){let e=d.shift();e.isActive&&e.callback()}y.willDispatch=!1}function A(e=1,t){let r=Promise.withResolvers(),n=()=>{(0,a.G4)(t)?r.reject((0,a.NK)()):0===e?r.resolve():(--e,(0,i.d)(()=>n()))};return n(),r.promise}async function O(e){await function(e){return A(1,e)}(e),await new Promise(t=>requestAnimationFrame(()=>{e?.aborted||t()}))}const N=f.map(e=>new s(e)),k=new s("total")},78659(e,t,r){function i(e){return e}function n(e){return 1e3*e}function s(e){return e}r.d(t,{Kp:()=>s,gr:()=>n,l5:()=>i})},24326(e,t,r){r.d(t,{c:()=>n});let i=0;function n(){return++i}},59923(e,t,r){r.d(t,{GL:()=>h,MG:()=>o,U4:()=>a,Yc:()=>c,bA:()=>u,qt:()=>l});var i=r(49186),n=r(67076);const s=["layer","property","renderer","symbol","symbol-layer","url","visual-variable","type","elevation-profile-line","field-configuration-field-format","parquet-data"].map(e=>`${e}:unsupported`),o=new Set(s);function a(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("layer",`Layer (${t.title}, ${t.id}) of type '${t.declaredClass}' is not supported in the context of '${i}'${r?`: ${r}`:""}`,{layer:t}))}function l(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("property",`Property '${t}' is not supported in the context of '${i}'${r?`: ${r}`:""}`))}function u(e,t,r,i){if(!e)return;let n=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("symbol",`Symbol '${t.declaredClass}' is not supported in the context of '${n}'${r?`: ${r}`:""}`,i))}function c(e,t,r,s,o){e&&e?.messages?.push(f("warning"===t?n.A:i.A,r,s,o))}function h(e,t,r){return f(i.A,e,t,r)}function f(e,t,r,i){return new e(`${t}:unsupported`,r,i)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[8291],{11006(t,e,i){function n(t,e,i,n,s){r(t,e,i||0,n||t.length-1,s||o)}function r(t,e,i,n,o){for(;n>i;){if(n-i>600){var l=n-i+1,h=e-i+1,a=Math.log(l),u=.5*Math.exp(2*a/3),c=.5*Math.sqrt(a*u*(l-u)/l)*(h-l/2<0?-1:1);r(t,e,Math.max(i,Math.floor(e-h*u/l+c)),Math.min(n,Math.floor(e+(l-h)*u/l+c)),o)}var f=t[e],d=i,m=n;for(s(t,i,e),o(t[n],f)>0&&s(t,i,n);d<m;){for(s(t,d,m),d++,m--;o(t[d],f)<0;)d++;for(;o(t[m],f)>0;)m--}0===o(t[i],f)?s(t,i,m):s(t,++m,n),m<=e&&(i=m+1),e<=m&&(n=m-1)}}function s(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function o(t,e){return t<e?-1:+(t>e)}i.d(e,{q:()=>n})},69540(t,e,i){var n=i(32198),r=i(56372),s=i(64108),o=i(88620),l=(i(44208),i(4718)),h=(i(53966),i(97768));const a=Symbol("ClonableMixin"),u=t=>{var e;let i=t,r=class extends i{constructor(){super(...arguments),this[e]=!0}static{e=a}clone(t){let e=(0,o.oY)(this);(0,h.Lw)(e,"unable to clone instance of non-accessor class");let i=e.metadata,n=e.store,r={},s=new Map;for(let e in i){let o=i[e],h=n?.originOf(e),a=o.clonable;if(o.readOnly||!1===a||7!==h&&0!==h&&5!==h&&4!==h)continue;let u=this[e],c=null;if("function"==typeof a)c=a(u,t);else if("reference"===a)c=u;else if(c=(0,l.TU)(u,t),null!=u&&null==c)continue;0===h?s.set(e,c):r[e]=c}let a=new(Object.getPrototypeOf(this).constructor)(r);if(s.size){let t=(0,o.oY)(a)?.store;if(t)for(let[e,i]of s)t.set(e,i,0)}return a}};return(0,n.Cg)([(0,s.$K)("esri.core.Clonable")],r)},c=u(r.A);i.d(e,["OU",0,u,"Pw",0,c])},65529(t,e,i){var n=i(56372),r=i(36563);const s=t=>{let e=t;return class extends e{constructor(){super(...arguments),this._listenersMap=null}clearEvents(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clearEvents()}emit(t,e){let i=this._listenersMap?.get(t);if(!i)return!1;let n=!1;for(let t of i.slice()){let i="deref"in t?t.deref():t;i?i?.call(this,e):n=!0}return n&&(i=i.filter(t=>!("deref"in t)||null!=t.deref()),this._listenersMap.set(t,i)),i.length>0}on(t,e){if(Array.isArray(t)){let i=t.map(t=>this.on(t,e));return(0,r.vE)(i)}if(t.includes(","))throw TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;let i=this._listenersMap.get(t)||[];return i.push(e),this._listenersMap.set(t,i),(0,r.hA)(()=>{let i=this._listenersMap?.get(t),n=i?.indexOf(e)??-1;n>=0&&i.splice(n,1)})}once(t,e){let i=this.on(t,t=>{i.remove(),("deref"in e?e.deref():e)?.call(null,t)});return i}hasEventListener(t){let e=this._listenersMap?.get(t);return null!=e&&e.length>0}}},o=s(class{}),l=o,h=s(n.A);i.d(e,["Zt",0,s,"a$",0,o,"bk",0,l,"nJ",0,h])},67482(t,e,i){function n(t){return null!==r(t)}function r(t){return function(t){let e=s.exec(t);if(!e?.groups)return null;let i=e.groups,n=+i.year,r=i.month-1,o=+i.day,l=+(i.hours??"0"),h=+(i.minutes??"0"),a=+(i.seconds??"0");if(l>23||h>59||a>59)return null;let u,c=i.ms??"0",f=c?+c.padEnd(3,"0").slice(0,3):0;if(i.isUTC||!i.offsetSign)u=Date.UTC(n,r,o,l,h,a,f);else{let t=+i.offsetHours,e=+i.offsetMinutes;u=6e4*("+"===i.offsetSign?-1:1)*(60*t+e)+Date.UTC(n,r,o,l,h,a,f)}return Number.isNaN(u)?null:u}(t)??function(t){let e=new Date(t),i=e.getTime();return Number.isNaN(i)?null:t.toLowerCase()===e.toUTCString().toLowerCase()?i:null}(t)??function(t){if(!o.test(t))return null;let e=new Date(t);return Number.isNaN(e.getTime())?null:e.getTime()-6e4*e.getTimezoneOffset()}(t)}i.d(e,{C:()=>n,_:()=>r});const s=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,o=/^((\d{1,2}[/-]\d{1,2}[/-]\d{4})|(\d{4}[/-]\d{1,2}[/-]\d{1,2}))( \d{1,2}:\d{1,2}:\d{1,2}( ((AM)|(PM)))?)?$/i},9093(t,e,i){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function r(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}i.d(e,{o8:()=>r,vt:()=>n});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:r,create:n,fromValues:function(t,e,i,n,r,s,o,l,h,a,u,c,f,d,m,y){return[t,e,i,n,r,s,o,l,h,a,u,c,f,d,m,y]}},Symbol.toStringTag,{value:"Module"})),i.d(e,["zK",0,s])},35522(t,e,i){i.d(e,{$A:()=>T,Bw:()=>s,C:()=>o,Cc:()=>A,DI:()=>b,Il:()=>E,Io:()=>g,Ln:()=>_,Om:()=>I,Qr:()=>c,Re:()=>a,S8:()=>w,T9:()=>y,WQ:()=>h,Z0:()=>P,_S:()=>d,aI:()=>F,ei:()=>B,fw:()=>R,gL:()=>S,hG:()=>x,hZ:()=>l,hs:()=>p,jb:()=>O,jk:()=>m,lo:()=>z,lw:()=>u,m3:()=>M,oW:()=>j,t2:()=>Z,tn:()=>f,uE:()=>L,ze:()=>v});var n=i(51850),r=i(34304);function s(t){let e=t[0],i=t[1],n=t[2];return Math.sqrt(e*e+i*i+n*n)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function l(t,e,i,n){return t[0]=e,t[1]=i,t[2]=n,t}function h(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t[2]=e[2]+i[2],t}function a(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t[2]=e[2]-i[2],t}function u(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t[2]=e[2]*i[2],t}function c(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t[2]=e[2]/i[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function m(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t[2]=Math.min(e[2],i[2]),t}function y(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t[2]=Math.max(e[2],i[2]),t}function p(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t}function _(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t[2]=e[2]+i[2]*n,t}function g(t,e){let i=e[0]-t[0],n=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(i*i+n*n+r*r)}function x(t,e){let i=e[0]-t[0],n=e[1]-t[1],r=e[2]-t[2];return i*i+n*n+r*r}function M(t){let e=t[0],i=t[1],n=t[2];return e*e+i*i+n*n}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function w(t,e=t){let i=e[0],n=e[1],r=e[2],s=i*i+n*n+r*r;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function I(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function T(t,e,i){let n=e[0],r=e[1],s=e[2],o=i[0],l=i[1],h=i[2];return t[0]=r*h-s*l,t[1]=s*o-n*h,t[2]=n*l-r*o,t}function A(t,e,i,n){let r=e[0],s=e[1],o=e[2];return t[0]=r+n*(i[0]-r),t[1]=s+n*(i[1]-s),t[2]=o+n*(i[2]-o),t}function P(t,e,i){let n=e[0],r=e[1],s=e[2];return t[0]=i[0]*n+i[4]*r+i[8]*s+i[12],t[1]=i[1]*n+i[5]*r+i[9]*s+i[13],t[2]=i[2]*n+i[6]*r+i[10]*s+i[14],t}function B(t,e,i){let n=e[0],r=e[1],s=e[2];return t[0]=n*i[0]+r*i[3]+s*i[6],t[1]=n*i[1]+r*i[4]+s*i[7],t[2]=n*i[2]+r*i[5]+s*i[8],t}function S(t,e,i){return R(t,e,i[0],i[1],i[2],i[3])}function R(t,e,i,n,r,s){let o=e[0],l=e[1],h=e[2],a=n*h-r*l,u=r*o-i*h,c=i*l-n*o,f=n*c-r*u,d=r*a-i*c,m=i*u-n*a,y=2*s;return t[0]=o+a*y+2*f,t[1]=l+u*y+2*d,t[2]=h+c*y+2*m,t}const C=(0,n.vt)(),G=(0,n.vt)();function Z(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function F(t,e){if(t===e)return!0;let i=t[0],n=t[1],s=t[2],o=e[0],l=e[1],h=e[2],a=(0,r.FD)();return Math.abs(i-o)<=a*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(n-l)<=a*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(s-h)<=a*Math.max(1,Math.abs(s),Math.abs(h))}function j(t,e,i){let n=i[0]-e[0],r=i[1]-e[1],s=i[2]-e[2],o=n*n+r*r+s*s;return o>0?(o=1/Math.sqrt(o),t[0]=n*o,t[1]=r*o,t[2]=s*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const O=a,q=u,N=c,Y=g,z=x,E=s,L=M;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:h,angle:function(t,e){w(C,t),w(G,e);let i=I(C,G);return i>1?0:i<-1?Math.PI:Math.acos(i)},applyTranslation:function(t,e,i){return t[0]=e[0]+i[12],t[1]=e[1]+i[13],t[2]=e[2]+i[14],t},bezier:function(t,e,i,n,r,s){let o=1-s,l=o*o,h=s*s,a=l*o,u=3*s*l,c=3*h*o,f=h*s;return t[0]=e[0]*a+i[0]*u+n[0]*c+r[0]*f,t[1]=e[1]*a+i[1]*u+n[1]*c+r[1]*f,t[2]=e[2]*a+i[2]*u+n[2]*c+r[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,i=1){return t[0]=Math.min(Math.max(t[0],e),i),t[1]=Math.min(Math.max(t[1],e),i),t[2]=Math.min(Math.max(t[2],e),i),t},copy:o,cross:T,crossAndNormalize:function(t,e,i){let n=e[0],r=e[1],s=e[2],o=i[0],l=i[1],h=i[2],a=r*h-s*l,u=s*o-n*h,c=n*l-r*o,f=Math.sqrt(a*a+u*u+c*c);return t[0]=a/f,t[1]=u/f,t[2]=c/f,t},direction:j,dist:Y,distance:g,div:N,divide:c,dot:I,equals:F,exactEquals:Z,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,i,n,r,s){let o=s*s,l=o*(2*s-3)+1,h=o*(s-2)+s,a=o*(s-1),u=o*(3-2*s);return t[0]=e[0]*l+i[0]*h+n[0]*a+r[0]*u,t[1]=e[1]*l+i[1]*h+n[1]*a+r[1]*u,t[2]=e[2]*l+i[2]*h+n[2]*a+r[2]*u,t},inverse:b,len:E,length:s,lerp:A,max:y,min:m,mul:q,multiply:u,negate:v,normalize:w,random:function(t,e=1){let i=r.Ov,n=2*i()*Math.PI,s=2*i()-1,o=Math.sqrt(1-s*s)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=s*e,t},rotateX:function(t,e,i,n){let r=[],s=[];return r[0]=e[0]-i[0],r[1]=e[1]-i[1],r[2]=e[2]-i[2],s[0]=r[0],s[1]=r[1]*Math.cos(n)-r[2]*Math.sin(n),s[2]=r[1]*Math.sin(n)+r[2]*Math.cos(n),t[0]=s[0]+i[0],t[1]=s[1]+i[1],t[2]=s[2]+i[2],t},rotateY:function(t,e,i,n){let r=[],s=[];return r[0]=e[0]-i[0],r[1]=e[1]-i[1],r[2]=e[2]-i[2],s[0]=r[2]*Math.sin(n)+r[0]*Math.cos(n),s[1]=r[1],s[2]=r[2]*Math.cos(n)-r[0]*Math.sin(n),t[0]=s[0]+i[0],t[1]=s[1]+i[1],t[2]=s[2]+i[2],t},rotateZ:function(t,e,i,n){let r=[],s=[];return r[0]=e[0]-i[0],r[1]=e[1]-i[1],r[2]=e[2]-i[2],s[0]=r[0]*Math.cos(n)-r[1]*Math.sin(n),s[1]=r[0]*Math.sin(n)+r[1]*Math.cos(n),s[2]=r[2],t[0]=s[0]+i[0],t[1]=s[1]+i[1],t[2]=s[2]+i[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:p,scaleAndAdd:_,scaleTo:function(t,e){return p(t,t,e/E(t))},set:l,sign:d,sqrDist:z,sqrLen:L,squaredDistance:x,squaredLength:M,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:O,subtract:a,transformMat3:B,transformMat4:P,transformMat4Z:function(t,e){return e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]},transformQuat:S,transformQuatValues:R},Symbol.toStringTag,{value:"Module"}))},75503(t,e,i){i.d(e,{wq:()=>l});var n=i(4576),r=i(21818),s=(i(44208),i(15142)),o=i(11006);class l{constructor(t=9,e){this._compareMinX=f,this._compareMinY=d,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),v.prune(),b.prune(),w.prune(),I.prune()}all(t){h(this._data,t)}search(t,e){let i=this._data,n=this._toBBox;if(x(t,i))for(v.clear();i;){for(let r=0,s=i.children.length;r<s;r++){let s=i.children[r],o=i.leaf?n(s):s;x(t,o)&&(i.leaf?e(s):g(t,o)?h(s,e):v.push(s))}i=v.pop()}}collides(t){let e=this._data,i=this._toBBox;if(!x(t,e))return!1;for(v.clear();e;){for(let n=0,r=e.children.length;n<r;n++){let r=e.children[n],s=e.leaf?i(r):r;if(x(t,s)){if(e.leaf||g(t,s))return!0;v.push(r)}}e=v.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,i=t.length;e<i;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){let t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new P([]),this}remove(t){if(!t)return this;let e,i=this._data,s=null,o=0,l=!1,h=this._toBBox(t);for(w.clear(),I.clear();i||w.length>0;){if(i||(i=w.pop(),s=w.data[w.length-1],o=I.pop()??0,l=!0),i.leaf&&(e=(0,n.qh)(i.children,(0,r.z)(t),i.children.length,i.indexHint),-1!==e))return i.children.splice(e,1),w.push(i),this._condense(w),this;l||i.leaf||!g(i,h)?s?(o++,i=s.children[o],l=!1):i=null:(w.push(i),I.push(o),o=0,s=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,i,n){let r=i-e+1,s=this._maxEntries;if(r<=s){let n=new P(t.slice(e,i+1));return a(n,this._toBBox),n}n||(n=Math.ceil(Math.log(r)/Math.log(s)),s=Math.ceil(r/s**(n-1)));let o=new B([]);o.height=n;let l=Math.ceil(r/s),h=l*Math.ceil(Math.sqrt(s));M(t,e,i,h,this._compareMinX);for(let r=e;r<=i;r+=h){let e=Math.min(r+h-1,i);M(t,r,e,l,this._compareMinY);for(let i=r;i<=e;i+=l){let r=Math.min(i+l-1,e);o.children.push(this._build(t,i,r,n-1))}}return a(o,this._toBBox),o}_insert(t,e,i){let n=this._toBBox,r=i?t:n(t);w.clear();let s=function(t,e,i,n){for(;n.push(e),!0!==e.leaf&&n.length-1!==i;){let i,n=1/0,r=1/0;for(let s=0,o=e.children.length;s<o;s++){let o=e.children[s],l=m(o),h=p(t,o)-l;h<r?(r=h,n=l<n?l:n,i=o):h===r&&l<n&&(n=l,i=o)}e=i||e.children[0]}return e}(r,this._data,e,w);for(s.children.push(t),c(s,r);e>=0&&w.data[e].children.length>this._maxEntries;)this._split(w,e),e--;!function(t,e,i){for(let n=i;n>=0;n--)c(e.data[n],t)}(r,w,e)}_split(t,e){let i=t.data[e],n=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,n);let s=this._chooseSplitIndex(i,r,n);if(!s)return;let o=i.children.splice(s,i.children.length-s),l=i.leaf?new P(o):new B(o);l.height=i.height,a(i,this._toBBox),a(l,this._toBBox),e?t.data[e-1].children.push(l):this._splitRoot(i,l)}_splitRoot(t,e){this._data=new B([t,e]),this._data.height=t.height+1,a(this._data,this._toBBox)}_chooseSplitIndex(t,e,i){let n,r,s;n=r=1/0;for(let o=e;o<=i-e;o++){let e=u(t,0,o,this._toBBox),l=u(t,o,i,this._toBBox),h=_(e,l),a=m(e)+m(l);h<n?(n=h,s=o,r=a<r?a:r):h===n&&a<r&&(r=a,s=o)}return s}_chooseSplitAxis(t,e,i){let n=t.leaf?this._compareMinX:f,r=t.leaf?this._compareMinY:d;this._allDistMargin(t,e,i,n)<this._allDistMargin(t,e,i,r)&&t.children.sort(n)}_allDistMargin(t,e,i,n){t.children.sort(n);let r=this._toBBox,s=u(t,0,e,r),o=u(t,i-e,i,r),l=y(s)+y(o);for(let n=e;n<i-e;n++){let e=t.children[n];c(s,t.leaf?r(e):e),l+=y(s)}for(let n=i-e-1;n>=e;n--){let e=t.children[n];c(o,t.leaf?r(e):e),l+=y(o)}return l}_condense(t){for(let e=t.length-1;e>=0;e--){let i=t.data[e];if(0===i.children.length)if(e>0){let r=t.data[e-1],s=r.children;s.splice((0,n.qh)(s,i,s.length,r.indexHint),1)}else this.clear();else a(i,this._toBBox)}}_initFormat(t){let e=["return a"," - b",";"];this._compareMinX=Function("a","b",e.join(t[0])),this._compareMinY=Function("a","b",e.join(t[1])),this._toBBox=Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function h(t,e){let i=t;for(b.clear();i;){if(!0===i.leaf)for(let t of i.children)e((0,r.z)(t));else b.pushArray(i.children);i=b.pop()??null}}function a(t,e){u(t,0,t.children.length,e,t)}function u(t,e,i,n,r){r||=new P([]),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let s,o=e;o<i;o++)s=t.children[o],c(r,t.leaf?n(s):s);return r}function c(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function f(t,e){return t.minX-e.minX}function d(t,e){return t.minY-e.minY}function m(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function y(t){return t.maxX-t.minX+(t.maxY-t.minY)}function p(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function _(t,e){let i=Math.max(t.minX,e.minX),n=Math.max(t.minY,e.minY),r=Math.min(t.maxX,e.maxX),s=Math.min(t.maxY,e.maxY);return Math.max(0,r-i)*Math.max(0,s-n)}function g(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function x(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function M(t,e,i,n,r){let s=[e,i];for(;s.length;){let e=s.pop(),i=s.pop();if(e-i<=n)continue;let l=i+Math.ceil((e-i)/n/2)*n;(0,o.q)(t,l,i,e,r),s.push(i,l,l,e)}}const v=new s.A,b=new s.A,w=new s.A,I=new s.A({deallocator:void 0});class T{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class A extends T{constructor(){super(...arguments),this.height=1,this.indexHint=new n.vW}}class P extends A{constructor(t){super(),this.children=t,this.leaf=!0}}class B extends A{constructor(t){super(),this.children=t,this.leaf=!1}}},69397(t,e,i){i.d(e,{JY:()=>d,Qf:()=>h,Qh:()=>o,lM:()=>s,ro:()=>a,rq:()=>u});var n=i(44208),r=i(34275);function s(t){if(!t)return 0;let e=c;for(let i in t)t.hasOwnProperty(i)&&(e+=l(t[i],!1));return e}function o(t){if(!t)return 0;if(Array.isArray(t))return function(t){let e=f;for(let i of t)e+=l(i);return e}(t);if(ArrayBuffer.isView(t)&&"length"in t&&"number"==typeof t.length&&t.length>0)return t.byteLength+m;let e=c;for(let i in t)t.hasOwnProperty(i)&&(e+=l(t[i]));return e}function l(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function h(...t){return t.reduce((t,e)=>t+a(e),0)}function a(t,e=16){return t?(0,r.iu)(t)?t.byteLength+m:Array.isArray(t)?u(t,e):0:0}function u(t,e){return f+t.length*e}const c=32,f=16,d=(0,n.A)("ios")||!(0,n.A)("chrome")&&!(0,n.A)("opr")?8:4,m=145},48526(t,e,i){var n,r=i(32198),s=i(91429),o=i(4576),l=i(4718),h=i(5443),a=i(91075),u=i(86738),c=i(16930),f=i(90634),d=i(47610),m=i(56993),y=i(43937);let p=n=class extends a.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:i,hasZ:n,spatialReference:r}=t;switch(e??=[],e?.at(0)?.length){case 4:n??=!0,i??=!0;break;case 3:n??=!0!==i,i??=!n;break;default:n??=!1,i??=!1}return r??=c.A.WGS84,{...t,hasM:i,hasZ:n,points:e,spatialReference:r}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){let t=(0,f.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,l.o8)(this.points)}clone(){let{points:t,spatialReference:e,hasM:i,hasZ:r}=this;return new n({points:(0,l.o8)(t),spatialReference:e.clone(),hasM:i,hasZ:r})}equals(t){if(this===t)return!0;if(null==t)return!1;let e=this.spatialReference,i=t.spatialReference;return!(null!=e!=(null!=i)||null!=e&&null!=i&&!e.equals(i))&&(0,o.aI)(this.points,t.points,d.v6)}addPoint(t){return(0,m.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;let e=this.points[t],i={x:e[0],y:e[1],spatialReference:this.spatialReference},n=2;return this.hasZ&&(i.z=e[2],n=3),this.hasM&&(i.m=e[n]),new u.A(i)}removePoint(t){if(!this._validateInputs(t))return null;let[e,i,n,r]=this.points.splice(t,1)[0],s=new u.A({x:e,y:i,z:n,m:r,spatialReference:this.spatialReference});return this.notifyChange("points"),s}setPoint(t,e){return this._validateInputs(t)&&((0,m.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points")),this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,r.Cg)([(0,s.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,r.Cg)([(0,s.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],p.prototype,"points",void 0),(0,r.Cg)([(0,y.K)("points")],p.prototype,"writePoints",null),p=n=(0,r.Cg)([(0,s.$K)("esri.geometry.Multipoint")],p);const _=p;p.prototype.toJSON.isDefaultToJSON=!0,i.d(e,["A",0,_])},82799(t,e,i){var n,r=i(32198),s=i(91429),o=i(4718),l=i(5443),h=i(91075),a=i(86738),u=i(16930),c=i(90634),f=i(56993),d=i(43937);let m=n=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:i,hasZ:n,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:n??=!0,i??=!0;break;case 3:n??=!0!==i,i??=!n;break;default:n??=!1,i??=!1}return r??=u.A.WGS84,{...t,hasM:i,hasZ:n,paths:e,spatialReference:r}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,o.o8)(t)}get extent(){let t=(0,c.Z3)(this),{spatialReference:e}=this;return t?new l.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,o.o8)(this.paths)}addPath(t){if(!t)return;let e=this.paths,i=e.length;if(function(t){return!Array.isArray(t[0])}(t)){let n=[];for(let e=0,i=t.length;e<i;e++)n[e]=t[e].toArray();e[i]=n}else e[i]=t.slice();return this.notifyChange("paths"),this}clone(){let t=new n;return t.spatialReference=this.spatialReference,t.paths=(0,o.o8)(this.paths),t.curvePaths=(0,o.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;let i=this.paths[t][e],n=this.hasZ,r=this.hasM;return n&&!r?new a.A({x:i[0],y:i[1],z:i[2],spatialReference:this.spatialReference}):r&&!n?new a.A({x:i[0],y:i[1],m:i[2],spatialReference:this.spatialReference}):n&&r?new a.A({x:i[0],y:i[1],z:i[2],m:i[3],spatialReference:this.spatialReference}):new a.A({x:i[0],y:i[1],spatialReference:this.spatialReference})}insertPoint(t,e,i){return this._validateInputs(t,e,!0)&&((0,f.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[t].splice(e,0,i),this.notifyChange("paths")),this}removePath(t){if(!this._validateInputs(t,null))return null;let e=this.paths.splice(t,1)[0],i=this.spatialReference,n=e.map(t=>new a.A({x:t[0],y:t[1],z:t[2],m:t[3],spatialReference:i}));return this.notifyChange("paths"),n}removePoint(t,e){if(!this._validateInputs(t,e))return null;let[i,n,r,s]=this.paths[t].splice(e,1)[0],o=new a.A({x:i,y:n,z:r,m:s,spatialReference:this.spatialReference});return this.notifyChange("paths"),o}setPoint(t,e,i){return this._validateInputs(t,e)&&((0,f.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[t][e]=i,this.notifyChange("paths")),this}_validateInputs(t,e,i=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){let n=this.paths[t];if(i&&(e<0||e>n.length)||!i&&(e<0||e>=n.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,s.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,r.Cg)([(0,s.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],m.prototype,"curvePaths",void 0),(0,r.Cg)([(0,d.K)("curvePaths")],m.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],m.prototype,"extent",null),(0,r.Cg)([(0,s.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],m.prototype,"paths",void 0),(0,r.Cg)([(0,d.K)("paths")],m.prototype,"writePaths",null),m=n=(0,r.Cg)([(0,s.$K)("esri.geometry.Polyline")],m);const y=m;m.prototype.toJSON.isDefaultToJSON=!0,i.d(e,["A",0,y])},4197(t,e,i){i.d(e,{Vj:()=>o,cj:()=>s,jh:()=>r});var n=i(9093);function r(t){return t<=1024?Array(t).fill(0):new Float64Array(t)}function s(t){return[...t]}function o(t){let e=(0,n.vt)();for(let i=0;i<16;++i)e[i]=t[i];return e}},6774(t,e,i){i.d(e,{O3:()=>s,Ox:()=>o,bR:()=>n});class n{constructor(t,e){this.x=t,this.y=e}static fromArray(t){return new n(t[0],t[1])}clone(){return new n(this.x,this.y)}equals(t,e){return t===this.x&&e===this.y}isEqual(t){return t.x===this.x&&t.y===this.y}setCoords(t,e){return this.x=t,this.y=e,this}normalize(){let t=this.x,e=this.y,i=Math.sqrt(t*t+e*e);return this.x/=i,this.y/=i,this}rightPerpendicular(){let t=this.x;return this.x=this.y,this.y=-t,this}leftPerpendicular(){let t=this.x;return this.x=-this.y,this.y=t,this}move(t,e){return this.x+=t,this.y+=e,this}assign(t){return this.x=t.x,this.y=t.y,this}assignAdd(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}assignSub(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}rotate(t,e){let i=this.x,n=this.y;return this.x=i*t-n*e,this.y=i*e+n*t,this}rotateReverse(t,e){let i=this.x,n=this.y;return this.x=i*t+n*e,this.y=-i*e+n*t,this}scale(t){return this.x*=t,this.y*=t,this}length(){let t=this.x,e=this.y;return Math.sqrt(t*t+e*e)}sub(t){return this.x-=t.x,this.y-=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}static distance(t,e){let i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}static add(t,e){return new n(t.x+e.x,t.y+e.y)}static sub(t,e){return new n(t.x-e.x,t.y-e.y)}}class r{constructor(t,e,i){this.ratio=t,this.x=e,this.y=i}}class s{constructor(t,e,i,n=8,r=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=n,this._pixelMargin=r,this._tileSize=512*n,this._dz=t,this._yPos=e,this._xPos=i}setPixelMargin(t){t!==this._pixelMargin&&(this._pixelMargin=t,this.setExtent(this._extent))}setExtent(t){this._extent=t,this._finalRatio=this._tileSize/t*(1<<this._dz);let e=this._pixelRatio*this._pixelMargin;e/=this._finalRatio;let i=t>>this._dz;e>i&&(e=i),this._margin=e,this._xmin=i*this._xPos-e,this._ymin=i*this._yPos-e,this._xmax=this._xmin+i+2*e,this._ymax=this._ymin+i+2*e}reset(t){this._type=t,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,e){this._pushLine(),this._prevIsIn=this._isIn(t,e),this._moveTo(t,e,this._prevIsIn),this._prevPt=new n(t,e),this._firstPt=new n(t,e),this._dist=0}lineTo(t,e){let i,s,o,l,h,a,u,c,f=this._isIn(t,e),d=new n(t,e),m=n.distance(this._prevPt,d);if(f)this._prevIsIn?this._lineTo(t,e,!0):(i=this._prevPt,s=d,o=this._intersect(s,i),this._start=this._dist+m*(1-this._r),this._lineTo(o.x,o.y,!0),this._lineTo(s.x,s.y,!0));else if(this._prevIsIn)s=this._prevPt,i=d,o=this._intersect(s,i),this._lineTo(o.x,o.y,!0),this._lineTo(i.x,i.y,!1);else{let t=this._prevPt,e=d;if(t.x<=this._xmin&&e.x<=this._xmin||t.x>=this._xmax&&e.x>=this._xmax||t.y<=this._ymin&&e.y<=this._ymin||t.y>=this._ymax&&e.y>=this._ymax)this._lineTo(e.x,e.y,!1);else{let i=[];if((t.x<this._xmin&&e.x>this._xmin||t.x>this._xmin&&e.x<this._xmin)&&(l=(this._xmin-t.x)/(e.x-t.x),c=t.y+l*(e.y-t.y),c<this._ymin?a=!1:c>this._ymax?a=!0:i.push(new r(l,this._xmin,c))),(t.x<this._xmax&&e.x>this._xmax||t.x>this._xmax&&e.x<this._xmax)&&(l=(this._xmax-t.x)/(e.x-t.x),c=t.y+l*(e.y-t.y),c<this._ymin?a=!1:c>this._ymax?a=!0:i.push(new r(l,this._xmax,c))),(t.y<this._ymin&&e.y>this._ymin||t.y>this._ymin&&e.y<this._ymin)&&(l=(this._ymin-t.y)/(e.y-t.y),u=t.x+l*(e.x-t.x),u<=this._xmin?h=!1:u>=this._xmax?h=!0:i.push(new r(l,u,this._ymin))),(t.y<this._ymax&&e.y>this._ymax||t.y>this._ymax&&e.y<this._ymax)&&(l=(this._ymax-t.y)/(e.y-t.y),u=t.x+l*(e.x-t.x),u<=this._xmin?h=!1:u>=this._xmax?h=!0:i.push(new r(l,u,this._ymax))),0===i.length)h?a?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):a?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(i.length>1&&i[0].ratio>i[1].ratio)this._start=this._dist+m*i[1].ratio,this._lineTo(i[1].x,i[1].y,!0),this._lineTo(i[0].x,i[0].y,!0);else{this._start=this._dist+m*i[0].ratio;for(let t=0;t<i.length;t++)this._lineTo(i[t].x,i[t].y,!0)}this._lineTo(e.x,e.y,!1)}}this._dist+=m,this._prevIsIn=f,this._prevPt=d}close(){if(this._line.length>2){let t=this._firstPt,e=this._prevPt;(t.x!==e.x||t.y!==e.y)&&this.lineTo(t.x,t.y);let i=this._line,n=i.length;for(;n>=4&&(i[0].x===i[1].x&&i[0].x===i[n-2].x||i[0].y===i[1].y&&i[0].y===i[n-2].y);)i.pop(),i[0].x=i[n-2].x,i[0].y=i[n-2].y,--n}}result(t=!0){return this._pushLine(),0===this._lines.length?null:(3===this._type&&t&&l.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(2!==this._type)throw Error("Only valid for lines");this._pushLine();let t=this._lines,e=t.length;if(0===e)return null;let i=[];for(let n=0;n<e;n++)i.push({line:t[n],start:this._starts[n]||0});return i}_isIn(t,e){return t>=this._xmin&&t<=this._xmax&&e>=this._ymin&&e<=this._ymax}_intersect(t,e){let i,r,s;if(e.x>=this._xmin&&e.x<=this._xmax)r=e.y<=this._ymin?this._ymin:this._ymax,s=(r-t.y)/(e.y-t.y),i=t.x+s*(e.x-t.x);else if(e.y>=this._ymin&&e.y<=this._ymax)i=e.x<=this._xmin?this._xmin:this._xmax,s=(i-t.x)/(e.x-t.x),r=t.y+s*(e.y-t.y);else{r=e.y<=this._ymin?this._ymin:this._ymax,i=e.x<=this._xmin?this._xmin:this._xmax;let n=(i-t.x)/(e.x-t.x),o=(r-t.y)/(e.y-t.y);n<o?(s=n,r=t.y+n*(e.y-t.y)):(s=o,i=t.x+o*(e.x-t.x))}return this._r=s,new n(i,r)}_pushLine(){this._line&&(1===this._type?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):2===this._type?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):3===this._type&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,e,i){3===this._type?(i||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),e<this._ymin&&(e=this._ymin),e>this._ymax&&(e=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),e=Math.round((e-(this._ymin+this._margin))*this._finalRatio),this._line.push(new n(t,e)),this._isH=!1,this._isV=!1):i&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),e=Math.round((e-(this._ymin+this._margin))*this._finalRatio),this._line.push(new n(t,e)))}_lineTo(t,e,i){let r,s;if(3!==this._type)if(i){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),e=Math.round((e-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(r=this._line[this._line.length-1],r.equals(t,e)))return;this._line.push(new n(t,e))}else this._line&&this._line.length>0&&this._pushLine();else if(i||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),e<this._ymin&&(e=this._ymin),e>this._ymax&&(e=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),e=Math.round((e-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){r=this._line[this._line.length-1];let i=r.x===t,o=r.y===e;if(i&&o)return;this._isH&&i||this._isV&&o?(r.x=t,r.y=e,s=this._line[this._line.length-2],s.x===t&&s.y===e?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(s=this._line[this._line.length-2],this._isH=s.x===t,this._isV=s.y===e)):(this._isH=s.x===t,this._isV=s.y===e)):(this._line.push(new n(t,e)),this._isH=i,this._isV=o)}else this._line.push(new n(t,e))}}class o{setExtent(t){this._ratio=4096===t?1:4096/t}get validateTessellation(){return this._ratio<1}reset(t){this._lines=[],this._line=null}moveTo(t,e){this._line&&this._lines.push(this._line),this._line=[];let i=this._ratio;this._line.push(new n(t*i,e*i))}lineTo(t,e){let i=this._ratio;this._line.push(new n(t*i,e*i))}close(){let t=this._line;t&&!t[0].isEqual(t[t.length-1])&&t.push(t[0])}result(){return this._line&&this._lines.push(this._line),0===this._lines.length?null:this._lines}}class l{static simplify(t,e,i){if(!i)return;let n=-e,r=t+e,s=-e,o=t+e,h=[],a=[],u=i.length;for(let t=0;t<u;++t){let e=i[t];if(!e||e.length<2)continue;let l,u=e[0],c=e.length;for(let i=1;i<c;++i)l=e[i],u.x===l.x&&(u.x<=n&&(u.y>l.y?(h.push(t),h.push(i),h.push(0),h.push(-1)):(a.push(t),a.push(i),a.push(0),a.push(-1))),u.x>=r&&(u.y<l.y?(h.push(t),h.push(i),h.push(1),h.push(-1)):(a.push(t),a.push(i),a.push(1),a.push(-1)))),u.y===l.y&&(u.y<=s&&(u.x<l.x?(h.push(t),h.push(i),h.push(2),h.push(-1)):(a.push(t),a.push(i),a.push(2),a.push(-1))),u.y>=o&&(u.x>l.x?(h.push(t),h.push(i),h.push(3),h.push(-1)):(a.push(t),a.push(i),a.push(3),a.push(-1)))),u=l}if(0===h.length||0===a.length)return;l.fillParent(i,a,h),l.fillParent(i,h,a);let c=[];l.calcDeltas(c,a,h),l.calcDeltas(c,h,a),l.addDeltas(c,i)}static fillParent(t,e,i){let n=i.length,r=e.length;for(let s=0;s<r;s+=4){let r=e[s],o=e[s+1],l=e[s+2],a=t[r][o-1],u=t[r][o],c=8092,f=-1;for(let e=0;e<n;e+=4){if(i[e+2]!==l)continue;let n=i[e],r=i[e+1],s=t[n][r-1],o=t[n][r];switch(l){case 0:case 1:if(h(a.y,s.y,o.y)&&h(u.y,s.y,o.y)){let t=Math.abs(o.y-s.y);t<c&&(c=t,f=e)}break;case 2:case 3:if(h(a.x,s.x,o.x)&&h(u.x,s.x,o.x)){let t=Math.abs(o.x-s.x);t<c&&(c=t,f=e)}}}e[s+3]=f}}static calcDeltas(t,e,i){let n=e.length;for(let r=0;r<n;r+=4){let n=l.calcDelta(r,e,i,[]);t.push(e[r]),t.push(e[r+1]),t.push(e[r+2]),t.push(n)}}static calcDelta(t,e,i,n){let r=e[t+3];if(-1===r)return 0;let s=n.length;return s>1&&n[s-2]===r?0:(n.push(r),l.calcDelta(r,i,e,n)+1)}static addDeltas(t,e){let i=t.length,n=0;for(let e=0;e<i;e+=4){let i=t[e+3];i>n&&(n=i)}for(let r=0;r<i;r+=4){let i=e[t[r]],s=t[r+1],o=n-t[r+3];switch(t[r+2]){case 0:i[s-1].x-=o,i[s].x-=o,1===s&&(i[i.length-1].x-=o),s===i.length-1&&(i[0].x-=o);break;case 1:i[s-1].x+=o,i[s].x+=o,1===s&&(i[i.length-1].x+=o),s===i.length-1&&(i[0].x+=o);break;case 2:i[s-1].y-=o,i[s].y-=o,1===s&&(i[i.length-1].y-=o),s===i.length-1&&(i[0].y-=o);break;case 3:i[s-1].y+=o,i[s].y+=o,1===s&&(i[i.length-1].y+=o),s===i.length-1&&(i[0].y+=o)}}}}const h=(t,e,i)=>t>=e&&t<=i||t>=i&&t<=e},70328(t,e,i){i.d(e,{BI:()=>B,C:()=>o,DC:()=>f,Dg:()=>m,Ej:()=>M,Ie:()=>A,Jt:()=>P,Lu:()=>b,Ne:()=>w,RF:()=>c,TF:()=>g,VL:()=>y,aI:()=>R,fA:()=>l,gE:()=>a,gX:()=>x,hZ:()=>T,iT:()=>d,is:()=>S,pg:()=>v,qv:()=>C,uJ:()=>_,vI:()=>I,vY:()=>h,v_:()=>G,vt:()=>s,w1:()=>u,yr:()=>p}),i(35522);var n=i(5443),r=(i(19419),i(4197));function s(t=G){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e){for(let i=0;i<6;i++)t[i]=e[i];return t}function l(t,e,i,n,r,o,l=s()){return l[0]=t,l[1]=e,l[2]=i,l[3]=n,l[4]=r,l[5]=o,l}function h(t,e=s()){return function(t,e,i,n=s()){return T(n,C),function(t,e,i=0,n=e.length/3){let r=t[0],s=t[1],o=t[2],l=t[3],h=t[4],a=t[5];for(let t=0;t<n;t++)r=Math.min(r,e[i+3*t]),s=Math.min(s,e[i+3*t+1]),o=Math.min(o,e[i+3*t+2]),l=Math.max(l,e[i+3*t]),h=Math.max(h,e[i+3*t+1]),a=Math.max(a,e[i+3*t+2]);t[0]=r,t[1]=s,t[2]=o,t[3]=l,t[4]=h,t[5]=a}(n,t,e,i),n}(t,0,t.length/3,e)}function a(t,e=(0,r.jh)(24)){let[i,n,s,o,l,h]=t;return e[0]=i,e[1]=n,e[2]=s,e[3]=i,e[4]=n,e[5]=h,e[6]=i,e[7]=l,e[8]=s,e[9]=i,e[10]=l,e[11]=h,e[12]=o,e[13]=n,e[14]=s,e[15]=o,e[16]=n,e[17]=h,e[18]=o,e[19]=l,e[20]=s,e[21]=o,e[22]=l,e[23]=h,e}function u(t,e){return isFinite(t[2])||isFinite(t[5])?new n.A({xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}):new n.A({xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e,i=t){i[0]=Math.min(t[0],e[0]),i[1]=Math.min(t[1],e[1]),i[2]=Math.min(t[2],e[2]),i[3]=Math.max(t[3],e[3]),i[4]=Math.max(t[4],e[4]),i[5]=Math.max(t[5],e[5])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function d(t,[e,i,n]){m(t,e,i,n)}function m(t,e,i,n){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],i),t[2]=Math.min(t[2],n),t[3]=Math.max(t[3],e),t[4]=Math.max(t[4],i),t[5]=Math.max(t[5],n)}function y(t){return t[0]>=t[3]?0:t[3]-t[0]}function p(t){return t[1]>=t[4]?0:t[4]-t[1]}function _(t){return t[2]>=t[5]?0:t[5]-t[2]}function g(t){let e=y(t),i=_(t),n=p(t);return e*e+i*i+n*n}function x(t,e=[0,0,0]){return e[0]=t[0]+y(t)/2,e[1]=t[1]+p(t)/2,e[2]=t[2]+_(t)/2,e}function M(t,e=[0,0,0]){return e[0]=y(t),e[1]=p(t),e[2]=_(t),e}function v(t,e){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function b(t,e){return e[0]=t[3],e[1]=t[4],e[2]=t[5],e}function w(t,e,i=t){return i[0]=e[0],i[1]=e[1],i[2]=e[2],i!==t&&(i[3]=t[3],i[4]=t[4],i[5]=t[5]),i}function I(t,e,i=t){return i[3]=e[0],i[4]=e[1],i[5]=e[2],i!==t&&(i[0]=t[0],i[1]=t[1],i[2]=t[2]),t}function T(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function A(t){return t?T(t,C):s(C)}function P(t,e){return t[0]=e[0],t[1]=e[1],t[2]=-1/0,t[3]=e[2],t[4]=e[3],t[5]=1/0,t}function B(t,e,i,n,r){return t[0]=e,t[1]=i,t[2]=-1/0,t[3]=n,t[4]=r,t[5]=1/0,t}function S(t){return 6===t.length}function R(t,e,i){if(null==t||null==e)return t===e;if(!S(t)||!S(e))return!1;if(i){for(let n=0;n<t.length;n++)if(!i(t[n],e[n]))return!1}else for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}const C=[1/0,1/0,1/0,-1/0,-1/0,-1/0],G=[0,0,0,0,0,0];s()},60408(t,e,i){function n(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function r(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function l(t){return void 0!==t.rings||void 0!==t.curveRings}function h(t){return"object"==typeof t&&"vertexAttributes"in t}function a(t){return t?s(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":l(t)?"esriGeometryPolygon":n(t)?"esriGeometryEnvelope":r(t)?"esriGeometryMultipoint":null:null}function u(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function c(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}i.d(e,{$B:()=>a,Bi:()=>l,Pv:()=>u,Rg:()=>o,U9:()=>r,W0:()=>c,ZC:()=>n,fT:()=>s,uW:()=>h})},65864(t,e,i){i.d(e,{rS:()=>u,xD:()=>f});var n=i(5443),r=i(91075),s=i(48526),o=i(86738),l=i(39829),h=i(82799),a=i(60408);function u(t){return null==t?null:t instanceof r.A?t:(0,a.fT)(t)?o.A.fromJSON(t):(0,a.Rg)(t)?h.A.fromJSON(t):(0,a.Bi)(t)?l.A.fromJSON(t):(0,a.U9)(t)?s.A.fromJSON(t):(0,a.ZC)(t)?n.A.fromJSON(t):null}const c={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:n.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:l.A};function f(t){return t&&c[t]||null}},43334(t,e,i){i.d(e,{N3:()=>l,Om:()=>o});var n=i(69397),r=i(27647),s=i(92722);class o{constructor(t,e,i,n,r=0,s=null,o=null){this.geometry=t,this.attributes=e,this.centroid=i,this.objectId=n,this.displayId=r,this.distance=s,this.vertexCount=o}static fromJSON(t){let e=t.geometry?s.A.fromJSON(t.geometry):null,i=t.centroid?s.A.fromJSON(t.centroid):null,n=t.objectId;return new o(e,t.attributes,i,n,void 0,t.distance,t.vertexCount)}weakClone(){return new o(this.geometry,this.attributes,this.centroid,this.objectId,this.displayId,this.distance,this.vertexCount)}clone(){return new o(this.geometry?.clone(),{...this.attributes},this.centroid?.clone(),this.objectId,this.displayId,this.distance,this.vertexCount)}ensureCentroid(t){return this.centroid??=(0,r.Q)(this.geometry),this.centroid}get usedMemory(){return 128+(0,n.lM)(this.attributes)+(this.geometry?.usedMemory??0)}}function l(t){return!!t.geometry?.coords?.length}},58512(t,e,i){i.d(e,{A:()=>n});class n{constructor(){this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){let t=new n;return t.globalIdFieldName=this.globalIdFieldName,t.geohashFieldName=this.geohashFieldName,t.geometryProperties=this.geometryProperties,t.geometryType=this.geometryType,t.spatialReference=this.spatialReference,t.hasZ=this.hasZ,t.hasM=this.hasM,t.features=this.features,t.fields=this.fields,t.transform=this.transform,t.exceededTransferLimit=this.exceededTransferLimit,t.uniqueIdField=this.uniqueIdField,t.queryGeometry=this.queryGeometry,t.queryGeometryType=this.queryGeometryType,t}}},92722(t,e,i){i.d(e,{A:()=>r});var n=i(69397);class r{constructor(t=[],e=[],i=!1,n=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=i,this.hasM=n}static fromJSON({lengths:t,coords:e,hasZ:i,hasM:n}){return new r(t,e,i||!1,n||!1)}static fromRect([t,e,i,n]){let s=i-t,o=n-e;return new r([5],[t,e,s,0,0,o,-s,0,0,-o])}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,n.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:n}=this,r=this.coords[n*e],s=this.coords[n*e+1];for(let o=1;o<i;o+=1){let i=n*(e+o),l=this.coords[i],h=this.coords[i+1];t+=-.5*(l-r)*(h+s),r=l,s=h}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 n of this.lengths){for(let r=0;r<n;r++){let n=i*(e+r);t(this.coords[n],this.coords[n+1])}e+=n}}deltaDecode(){let t=this.clone(),{coords:e,lengths:i}=t,n=0,{stride:r}=this;for(let t of i){for(let i=1;i<t;i++){let t=r*(n+i);e[t]+=e[t-r],e[t+1]+=e[t+1-r]}n+=t}return t}clone(t){if(this.isPoint)return new r([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);let e=Array.from(this.lengths),{stride:i,size:n}=this,s=this.coords.slice(0,n*i);return t?(t.set(s),new r(e,t,this.hasZ,this.hasM)):new r(e,Array.from(s),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,n=0;e<i.length;e+=t)i[n++]=this.coords[e],i[n++]=this.coords[e+1];return new r(this.lengths,i,!1,!1)}}},27647(t,e,i){i.d(e,{Q:()=>s});var n=i(92722);function r(t,e){return t?e?4:3:e?3:2}function s(t){if(null==t||!t?.lengths.length)return null;let{lengths:e,coords:i,stride:r,hasZ:s,hasM:h}=t,a=new n.A([],[],s,!1),u=a.coords,c=[],f=s?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0],d=0;for(let t of e){let e=o(f,i,d,t,s,h);e&&c.push(e),d+=t*r}if(c.sort((t,e)=>{let i=t[2]-e[2];return 0===i&&s&&(i=t[4]-e[4]),i}),c.length){let t=6*c[0][2];u[0]=c[0][0]/t,u[1]=c[0][1]/t,s&&(t=6*c[0][4],u[2]=0===t?0:c[0][3]/t),(u[0]<f[0]||u[0]>f[1]||u[1]<f[2]||u[1]>f[3]||s&&(u[2]<f[4]||u[2]>f[5]))&&(u.length=0)}if(!u.length){let n=t.lengths[0]?l(i,0,e[0],s,h):null;if(!n)return null;u[0]=n[0],u[1]=n[1],s&&(u[2]=n[2]??0)}return a}function o(t,e,i,n,s,o){let l=r(s,o),h=i,a=i+l,u=0,c=0,f=0,d=0,m=0;for(let i=0,r=n-1;i<r;i++,h+=l,a+=l){let i=e[h],n=e[h+1],r=e[h+2],o=e[a],l=e[a+1],y=e[a+2],p=i*l-o*n;d+=p,u+=(i+o)*p,c+=(n+l)*p,s&&(p=i*y-o*r,f+=(r+y)*p,m+=p),i<t[0]&&(t[0]=i),i>t[1]&&(t[1]=i),n<t[2]&&(t[2]=n),n>t[3]&&(t[3]=n),s&&(r<t[4]&&(t[4]=r),r>t[5]&&(t[5]=r))}if(d>0&&(d*=-1),m>0&&(m*=-1),!d)return null;let y=[u,c,.5*d];return s&&(y[3]=f,y[4]=.5*m),y}function l(t,e,i,n,s){let o=r(n,s),l=e,f=e+o,d=0,m=0,y=0,p=0;for(let e=0,r=i-1;e<r;e++,l+=o,f+=o){let e=t[l],i=t[l+1],r=t[l+2],s=t[f],o=t[f+1],_=t[f+2],g=n?a(e,i,r,s,o,_):h(e,i,s,o);if(g)if(d+=g,n){let t=c(e,i,r,s,o,_);m+=g*t[0],y+=g*t[1],p+=g*t[2]}else{let t=u(e,i,s,o);m+=g*t[0],y+=g*t[1]}}return d>0?n?[m/d,y/d,p/d]:[m/d,y/d]:i>0?n?[t[e],t[e+1],t[e+2]]:[t[e],t[e+1]]:null}function h(t,e,i,n){let r=i-t,s=n-e;return Math.sqrt(r*r+s*s)}function a(t,e,i,n,r,s){let o=n-t,l=r-e,h=s-i;return Math.sqrt(o*o+l*l+h*h)}function u(t,e,i,n){return[t+.5*(i-t),e+.5*(n-e)]}function c(t,e,i,n,r,s){return[t+.5*(n-t),e+.5*(r-e),i+.5*(s-i)]}},6518(t,e,i){i.d(e,{F:()=>l});var n=i(44208),r=i(75503),s=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class l{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new r.wq(9,(0,n.A)("esri-csp-restrictions")?t=>({minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){let t=Array(this._idByBounds.size),e=0;this._idByBounds.forEach((i,n)=>{t[e++]=n}),this._indexInvalid=!1,this._index.clear(),this._index.load(t)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(t=>this._idByBounds.has(t))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;let t=(0,s.Ie)();for(let e of this._boundsById.values())e&&(t[0]=Math.min(e[0],t[0]),t[1]=Math.min(e[1],t[1]),t[2]=Math.max(e[2],t[2]),t[3]=Math.max(e[3],t[3]));return t}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(t){let e=this._boundsById.get(t);this._boundsById.delete(t),e&&(this._idByBounds.delete(e),this._indexInvalid||this._index.remove(e))}forEachInBounds(t,e){this._loadIndex(),function(t,e,i){(function(t){o.minX=t[0],o.minY=t[1],o.maxX=t[2],o.maxY=t[3]})(e),t.search(o,i)}(this._index,t,t=>e(this._idByBounds.get(t)))}get(t){return this._boundsById.get(t)}has(t){return this._boundsById.has(t)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(t,e){if(!this._indexInvalid){let e=this._boundsById.get(t);e&&(this._index.remove(e),this._idByBounds.delete(e))}this._boundsById.set(t,e),e&&(this._idByBounds.set(e,t),this._indexInvalid||(this._boundsToLoad.push(e),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(t,e,i){i.d(e,{A:()=>d});var n=i(4576),r=i(49186),s=i(65529),o=i(53966),l=i(70328),h=i(19419),a=i(90708),u=i(6518),c=i(37730);const f=(0,l.vt)();class d{constructor(t){this.geometryInfo=t,this._boundsStore=new u.F,this._featuresById=new Map,this._usedMemory=0,this.events=new s.bk,this.featureAdapter=c.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let t=0;return this._featuresById.forEach(e=>{null!=e.geometry&&e.geometry.coords&&(t+=e.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:t/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(t){if(null==this.fullBounds)return null;let[e,i,n,r]=this.fullBounds;return{xmin:e,ymin:i,xmax:n,ymax:r,spatialReference:t}}add(t){this._add(t),this._emitChanged()}addMany(t){for(let e of t)this._add(e);this._emitChanged()}upsertMany(t){let e=t.map(t=>this._upsert(t));return this._emitChanged(),e.filter(n.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(t){let e=this._featuresById.get(t);return e?(this._remove(e),this._emitChanged(),e):null}removeManyById(t){this._boundsStore.invalidateIndex();for(let e of t){let t=this._featuresById.get(e);t&&this._remove(t)}this._emitChanged()}forEachBounds(t,e){for(let i of t){let t=this._boundsStore.get(i.objectId);t&&e((0,l.Jt)(f,t))}}getFeature(t){return this._featuresById.get(t)}has(t){return this._featuresById.has(t)}forEach(t){this._featuresById.forEach(e=>t(e))}forEachInBounds(t,e){this._boundsStore.forEachInBounds(t,t=>{e(this._featuresById.get(t))})}_emitChanged(){this.events.emit("changed",void 0)}_add(t){if(!t)return;let e=t.objectId;if(null==e)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:t}));let i,n=this._featuresById.get(e);n?(t.displayId=n.displayId,i=this._boundsStore.get(e),this._boundsStore.delete(e),this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(t),t.geometry?.coords?.length?(i=(0,a.jQ)(i??(0,h.vt)(),t.geometry),null!=i&&this._boundsStore.set(e,i),this._featuresById.set(e,t),this._usedMemory+=this.estimateFeatureUsedMemory?.(t)??0):(this._boundsStore.set(e,null),this._featuresById.set(e,t))}_upsert(t){let e=t?.objectId;if(null==e)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:t})),null;let i=this._featuresById.get(e);if(!i)return this._add(t),t;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;let{geometry:n,attributes:s}=t;for(let t in s)i.attributes[t]=s[t];return n&&(i.geometry=n,this._boundsStore.set(e,(0,a.jQ)((0,h.vt)(),n)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(t){null!=this.onFeatureRemove&&this.onFeatureRemove(t);let e=t.objectId;return this._boundsStore.delete(e),this._featuresById.delete(e),this._usedMemory-=this.estimateFeatureUsedMemory?.(t)??0,t}}},54339(t,e,i){function n(t,e){switch(e.type){case"object-id":case"unique-id-simple":return t.attributes[e.fieldName];case"unique-id-composite":{let i=[];for(let n of e.fieldNames)i.push(t.attributes[n]??null);return JSON.stringify(i)}}}function r(t,e){if("uniqueIdFields"in e&&e.uniqueIdFields?.length){if(1===e.uniqueIdFields.length)return t.attributes?.[e.uniqueIdFields[0]];let i=e.uniqueIdFields.map(e=>t.attributes?.[e]);return JSON.stringify(i)}return"objectIdField"in e&&e.objectIdField?t.attributes?.[e.objectIdField]:null}i.d(e,{W:()=>n,r:()=>r})},37730(t,e,i){var n=i(43334);const r={getObjectId:t=>t.objectId,getAttributes:t=>t.attributes,getAttribute:(t,e)=>t.attributes[e],cloneWithGeometry:(t,e,i)=>new n.Om(e,t.attributes,null,t.objectId,t.displayId,t.distance,t.vertexCount),getGeometry:t=>t.geometry,getCentroid:(t,e)=>t.ensureCentroid(e)};i.d(e,["T",0,r])},31464(t,e,i){i.d(e,{Cv:()=>d,Nk:()=>f,lK:()=>y});var n=i(4576),r=i(99917),s=i(60408),o=i(21325),l=i(28735);const h=[0,0];function a(t,e){let i=(0,o.K8)(t)?l.je:l.tD;if((0,s.fT)(e)){let t={x:0,y:0};return[t.x,t.y]=i(e.x,e.y,h),null!=e.z&&(t.z=e.z),null!=e.m&&(t.m=e.m),t}if((0,s.ZC)(e)){let t={xmin:0,ymin:0,xmax:0,ymax:0};return[t.xmin,t.ymin]=i(e.xmin,e.ymin,h),[t.xmax,t.ymax]=i(e.xmax,e.ymax,h),e.hasZ&&(t.zmin=e.zmin,t.zmax=e.zmax,t.hasZ=!0),e.hasM&&(t.mmin=e.mmin,t.mmax=e.mmax,t.hasM=!0),t}if((0,s.Bi)(e))return{rings:u(e.rings,i),hasM:e.hasM,hasZ:e.hasZ};if((0,s.Rg)(e))return{paths:u(e.paths,i),hasM:e.hasM,hasZ:e.hasZ};if((0,s.U9)(e))return{points:c(e.points,i),hasM:e.hasM,hasZ:e.hasZ};throw Error()}function u(t,e){return Array.from(t,t=>c(t,e))}function c(t,e){let i=[];for(let n of t){let t=e(n[0],n[1],[0,0]);i.push(t),n.length>2&&t.push(n[2]),n.length>3&&t.push(n[3])}return i}async function f(t,e){if(!t||!e)return;let i=Array.isArray(t)?t.map(t=>null==t.geometry?null:t.geometry.spatialReference).filter(n.Ru):[t];await(0,r.initializeProjection)(i.map(t=>({source:t,dest:e})))}function d(t,e,i,n){if(!t)return null;if(i||(i=e,e=t.spatialReference),!(0,o.fn)(e)||!(0,o.fn)(i)||(0,o.aI)(e,i))return t;if((0,l.y7)(e,i)){let e=a(i,t);return e.spatialReference=i,e}let[s]=(0,r.projectMany)([t],e,i,n);return s}const m=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(t,e,i,n){if(!t?.length||!e||!i||(0,o.aI)(e,i))return t;let r={geometries:t,inSpatialReference:e,outSpatialReference:i,options:n,resolve:Promise.withResolvers()};return this._jobs.push(r),this._timer??=setTimeout(this._process,10),r.resolve.promise}_process(){this._timer=null;let t=this._jobs.shift();if(!t)return;let e,{geometries:i,inSpatialReference:n,outSpatialReference:s,resolve:o,options:h}=t,u=i.filter(t=>null!=t);e=(0,l.y7)(n,s)&&null==h?.extendedParams?u.map(t=>a(s,t)):(0,r.projectMany)(u,n,s,h);let c=0,f=i.map(t=>null==t?null:e[c++]);o.resolve(f),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function y(t,e,i,n){return m.push(t,e,i,n)}},90708(t,e,i){i.d(e,{Ap:()=>P,B2:()=>p,DF:()=>b,Di:()=>Z,E2:()=>G,IE:()=>y,Nl:()=>E,PR:()=>T,Rk:()=>U,Ux:()=>j,Ye:()=>S,ZF:()=>N,aQ:()=>J,jH:()=>z,jQ:()=>D,kz:()=>L,oN:()=>F,q3:()=>Y,qN:()=>w,zv:()=>O});var n=i(49186),r=i(53966),s=i(97768),o=i(70328),l=i(19419),h=i(60408),a=i(54339),u=i(43334),c=i(58512),f=i(92722);const d=()=>r.A.getLogger("esri.layers.graphics.featureConversionUtils"),m={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0,esriGeometryMultiPatch:3,esriGeometryEnvelope:0};function y({scale:t,translate:e},i){return Math.round((i-e[0])/t[0])}function p({scale:t,translate:e},i){return Math.round((e[1]-i)/t[1])}function _({scale:t,translate:e},i){return Math.round((i-e[0])/t[0])}function g({scale:t,translate:e},i){return Math.round((i-e[1])/t[1])}function x({scale:t,translate:e},i,n){return i*t[n]+e[n]}function M(t,e,i){return e&&(t.hasZ=!0),i&&(t.hasM=!0),t}function v(t,e,i,n){if(e&&n&&t!==i)return(e,i,n,r)=>{n[r++]=e[i++],n[r++]=e[i++],t?i++:n[r++]=0,n[r++]=e[i++]??0};let r=+!!i+2+ +!!n,s=r-((!t&&i?1:0)+(!e&&n?1:0));return(t,e,i,n)=>{for(let o=0;o<r;++o)i[n++]=o<s?t[e++]??0:0}}function b(t,e,i){if(!t)return null;let{coords:n,hasZ:r,hasM:s}=t,[o,l]=n,h=r?n[2]:0,a=s?n[+!!r+2]:0;return{x:o,y:l,z:e?h:void 0,m:i?a:void 0}}function w(t,e=(0,h.Pv)(t),i=(0,h.W0)(t)){let{x:n,y:r,z:s,m:o}=t,l=[n,r];return e&&l.push(s??0),i&&l.push(o??0),new f.A([],l,e,i)}function I(t,e,i){if(null==t)return null;let{coords:n,stride:r,hasZ:s,hasM:o}=t,l=v(s,o,e,i),h=[];for(let t=0;t<n.length;t+=r){let e=[];l(n,t,e,0),h.push(e)}return M({points:h},e,i)}function T(t,e=(0,h.Pv)(t),i=(0,h.W0)(t)){let{points:n,hasZ:r,hasM:s}=t,o=new f.A([n.length],[],e,i),{coords:l,stride:a}=o,u=0,c=v(r??!1,s??!1,e,i);for(let t of n)c(t,0,l,u),u+=a;return o}function A(t,e,i){if(!t)return null;let{coords:n,lengths:r,stride:s,hasZ:o,hasM:l}=t,h=0,a=v(o,l,e,i),u=[];for(let t of r){let e=[];for(let i=0;i<t;i++){let t=[];a(n,h,t,0),h+=s,e.push(t)}u.push(e)}return M({paths:u},e,i)}function P(t,e=(0,h.Pv)(t),i=(0,h.W0)(t)){let{paths:n,hasZ:r,hasM:s}=t,o=v(r??!1,s??!1,e,i),l=new f.A([],[],e,i),{lengths:a,coords:u,stride:c}=l,d=0;for(let t of n){for(let e of t)o(e,0,u,d),d+=c;a.push(t.length)}return l}function B(t,e,i){if(!t)return null;let{coords:n,lengths:r,stride:s,hasZ:o,hasM:l}=t,h=0,a=v(o,l,e,i),u=[];for(let t of r){let e=[];for(let i=0;i<t;i++){let t=[];a(n,h,t,0),h+=s,e.push(t)}u.push(e)}return M({rings:u},e,i)}function S(t,e=(0,h.Pv)(t),i=(0,h.W0)(t)){let{rings:n,hasZ:r,hasM:s}=t,o=new f.A([],[],e,i),{lengths:l,coords:a,stride:u}=o,c=0,d=v(r??!1,s??!1,e,i);for(let t of n){for(let e of t)d(e,0,a,c),c+=u;l.push(t.length)}return o}const R=[],C=[];function G(t,e,i,n,r){R[0]=t;let[s]=Z(C,R,e,i,n,r);return $(R),$(C),s}function Z(t,e,i,r,s,o){if($(t),!i){for(let i of e){let e=(0,a.W)(i,o);t.push(new u.Om(null,i.attributes,null,e,void 0,i.distance,i.vertexCount))}return t}switch(i){case"esriGeometryPoint":return function(t,e,i,n,r){for(let s of e){let{geometry:e,attributes:o,centroid:l}=s,c=(0,h.Pv)(e),f=(0,h.W0)(e);t.push(new u.Om(e?w(e,i&&c,n&&f):null,o,l?w(l,!1,!1):null,(0,a.W)(s,r),s.displayId,s.distance,s.vertexCount))}return t}(t,e,r,s,o);case"esriGeometryMultipoint":return function(t,e,i,n,r){for(let s of e){let{geometry:e,attributes:o}=s,l=(0,h.Pv)(e),c=(0,h.W0)(e);t.push(new u.Om(e?T(e,i&&l,n&&c):null,o,null,(0,a.W)(s,r),s.displayId,s.distance,s.vertexCount))}return t}(t,e,r,s,o);case"esriGeometryPolyline":return function(t,e,i,n,r){for(let s of e){let{geometry:e,attributes:o,centroid:l}=s,c=(0,h.Pv)(e),f=(0,h.W0)(e);t.push(new u.Om(e?P(e,i&&c,n&&f):null,o,l?w(l,!1,!1):null,(0,a.W)(s,r),s.displayId,s.distance,s.vertexCount))}return t}(t,e,r,s,o);case"esriGeometryPolygon":case"esriGeometryMultiPatch":return function(t,e,i,n,r){for(let s of e){let{geometry:e,attributes:o,centroid:l}=s,c=(0,h.Pv)(e),f=(0,h.W0)(e);t.push(new u.Om(e?S(e,i&&c,n&&f):null,o,l?w(l,!1,!1):null,(0,a.W)(s,r),s.displayId,s.distance,s.vertexCount))}return t}(t,e,r,s,o);default:d().error("convertToFeatureSet:unknown-geometry",new n.A("internal:geometry",`Unable to parse unknown geometry type '${i}'`)),$(t)}return t}function F(t,e,i,n){C[0]=t,q(R,C,e,i,n);let r=R[0];return $(R),$(C),r}function j(t,e=(0,h.Pv)(t),i=(0,h.W0)(t)){return null==t?null:(0,h.fT)(t)?w(t,e,i):(0,h.Bi)(t)?S(t,e,i):(0,h.Rg)(t)?P(t,e,i):(0,h.U9)(t)?T(t,e,i):void d().error("convertFromGeometry:unknown-geometry",new n.A("internal:geometry",`Unable to parse unknown geometry type '${t}'`))}function O(t,e,i,r){if(null==t)return null;let s="coords"in t?t:t.geometry;if(null==s)return null;switch(e){case"esriGeometryPoint":return b(s,i,r);case"esriGeometryMultipoint":return I(s,i,r);case"esriGeometryPolyline":return A(s,i,r);case"esriGeometryPolygon":return B(s,i,r);default:return d().error("convertToGeometry:unknown-geometry",new n.A("internal:geometry",`Unable to parse unknown geometry type '${e}'`)),null}}function q(t,e,i,r,s){if($(t),null==i)return function(t,e){for(let i of e)t.push({attributes:i.attributes});return t}(t,e);switch(i){case"esriGeometryPoint":return function(t,e,i,n){for(let{geometry:r,attributes:s}of e)t.push({attributes:s,geometry:b(r,i,n)});return t}(t,e,r,s);case"esriGeometryMultipoint":return function(t,e,i,n){for(let{geometry:r,attributes:s}of e)t.push({geometry:r&&I(r,i,n),attributes:s});return t}(t,e,r,s);case"esriGeometryPolyline":return function(t,e,i,n){for(let{geometry:r,attributes:s}of e)t.push({geometry:r&&A(r,i,n),attributes:s});return t}(t,e,r,s);case"esriGeometryPolygon":return function(t,e,i,n){for(let{geometry:r,attributes:s,centroid:o}of e){let e=B(r,i,n),l=b(o,!1,!1);t.push(o?{geometry:e,attributes:s,centroid:l}:{geometry:e,attributes:s})}return t}(t,e,r,s);default:d().error("convertToFeatureSet:unknown-geometry",new n.A("internal:geometry",`Unable to parse unknown geometry type '${i}'`))}return t}function N(t){let{spatialReference:e,transform:i,fields:n,hasM:r,hasZ:s,features:o,geometryType:l,exceededTransferLimit:h,queryGeometry:a,queryGeometryType:u}=t,c={features:q([],o,l,s,r),fields:n,geometryType:l,spatialReference:e,queryGeometry:O(a,u,s,r)};return i&&(c.transform=i),h&&(c.exceededTransferLimit=h),r&&(c.hasM=r),s&&(c.hasZ=s),c}function Y(t,e){let i=new c.A,{hasM:n,hasZ:r,features:s,spatialReference:o,geometryType:l,exceededTransferLimit:h,transform:a,fields:u,globalIdFieldName:f}=t;return u&&(i.fields=u),i.geometryType=l??null,i.spatialReference=o??null,s&&Z(i.features,s,l,r,n,e),h&&(i.exceededTransferLimit=h),n&&(i.hasM=n),r&&(i.hasZ=r),a&&(i.transform=a),f&&(i.globalIdFieldName=f),i}function z(t,e){let{geometryType:i,features:n}=e;if(!t)return e;for(let e=0;e<n.length;e++){let r=n[e],s=r.weakClone();s.geometry=E(r.geometry,i,t),s.centroid=E(r.centroid,"esriGeometryPoint",t),n[e]=s}return e.transform=t,e}function E(t,e,i,n,r,s=!1){if(null==t||!t?.coords.length)return null;let o=m[e],{coords:l,lengths:h,stride:a,hasZ:u,hasM:c}=t;n??=u,r??=c;let d=new f.A([],[],n,r),x=d.stride,M=v(u,c,n,r),b=0,w=[0,0,0,0].slice(x),I=s?_:y,T=s?g:p;function A(){M(l,b,w,0),b+=a,w[0]=I(i,w[0]),w[1]=T(i,w[1])}if(t.isPoint)return A(),d.coords.push(...w),d;let P=0;for(let t of h){if(t<o)continue;let e=1;A(),d.coords.push(...w);let[i,n]=w;for(let r=1;r<t;r++){A();let[t,r]=w;(i!==t||n!==r)&&(s||(w[0]-=i,w[1]-=n),d.coords.push(...w),i=t,n=r,e++)}e>=o?(d.lengths.push(e),P=d.coords.length):$(d.coords,P)}return $(d.coords,P),d.coords.length?d:null}function L(t,e,i,n=t.hasZ,r=t.hasM){if(!t.coords.length)return null;let s=m[e],{coords:o,lengths:l,stride:h,hasZ:a,hasM:u}=t,c=new f.A([],[],n,r),d=c.stride,y=v(a,u,n,r);if(t.isPoint)return y(o,0,c.coords,0),c;let p=0,_=i*i;for(let t of l){if(t<s){p+=t*h;continue}let e=c.coords.length/d,i=p,n=p+(t-1)*h;y(o,i,c.coords,c.coords.length),k(c.coords,o,h,_,y,i,n),y(o,n,c.coords,c.coords.length);let r=c.coords.length/d-e;r>=s?c.lengths.push(r):$(c.coords,e*d),p+=t*h}return c.coords.length?c:null}function X(t,e,i,n){let r=t[e],s=t[e+1],o=t[i],l=t[i+1],h=t[n],a=t[n+1],u=o,c=l,f=h-u,d=a-c;if(0!==f||0!==d){let t=((r-u)*f+(s-c)*d)/(f*f+d*d);t>1?(u=h,c=a):t>0&&(u+=f*t,c+=d*t)}return f=r-u,d=s-c,f*f+d*d}function k(t,e,i,n,r,s,o){let l,h=n,a=0;for(let t=s+i;t<o;t+=i)l=X(e,t,s,o),l>h&&(a=t,h=l);h>n&&(a-s>i&&k(t,e,i,n,r,s,a),r(e,a,t,t.length),o-a>i&&k(t,e,i,n,r,a,o))}function D(t,e){if(!e?.coords?.length)return null;let i=1/0,n=1/0,r=-1/0,s=-1/0,{coords:h,stride:a}=e;for(let t=0;t<h.length;t+=a){let e=h[t],o=h[t+1];i=Math.min(i,e),r=Math.max(r,e),n=Math.min(n,o),s=Math.max(s,o)}return(0,o.is)(t)?(0,o.BI)(t,i,n,r,s):(0,l.fA)(i,n,r,s,t),t}function J(t,e){let{coords:i,lengths:n,stride:r,hasZ:o,hasM:l}=t;if(!i.length)return void(n.length=0);(0,s.Lw)(e);let{originPosition:h,scale:a,translate:u}=e,c=H;c.originPosition=h;let f=c.scale;f[0]=a[0]??1,f[1]=-(a[1]??1),f[2]=a[2]??1,f[3]=a[3]??1;let d=c.translate;if(d[0]=u[0]??0,d[1]=u[1]??0,d[2]=u[2]??0,d[3]=u[3]??0,l&&!o&&(f[2]=f[3],d[2]=d[3]),!n.length){for(let t=0;t<r;++t)i[t]=x(c,i[t],t);return void(n.length=0)}let m=0;for(let t=0;t<n.length;t++){let e=n[t];n[t]=e;for(let t=0;t<r;++t)i[m+t]=x(c,i[m+t],t);let s=i[m],o=i[m+1];m+=r;for(let t=1;t<e;t++,m+=r){s+=i[m]*f[0],o+=i[m+1]*f[1],i[m]=s,i[m+1]=o;for(let t=2;t<r;++t)i[m+t]=x(c,i[m+t],t)}}}function W(t,e,i,n){let r=0,s=t[n*e],o=t[n*(e+1)];for(let l=1;l<i;l++){let i=s+t[n*(e+l)],h=o+t[n*(e+l)+1],a=(i-s)*(h+o);s=i,o=h,r+=a}return.5*r}function U(t,e){let{coords:i,lengths:n}=t,r=0,s=0;for(let t=0;t<n.length;t++){let o=n[t];s+=W(i,r,o,e),r+=o}return Math.abs(s)}function $(t,e=0){t.length!==e&&(t.length=e)}const H={originPosition:"lowerLeft",scale:[1,1,1,1],translate:[0,0,0,0]}},85113(t,e,i){i.d(e,{BM:()=>B,S_:()=>d,bd:()=>S,sO:()=>P,xD:()=>c});var n=i(67482),r=i(49186),s=i(21325),o=i(30524),l=i(90708),h=i(43334),a=i(92722);const u={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function c(t){return u[t]}function*f(t){switch(t.type){case"Feature":yield t;break;case"FeatureCollection":for(let e of t.features)e&&(yield e);break;default:yield{type:"Feature",geometry:t,properties:null}}}function d(t){for(let e of f(t))if("GeometryCollection"===e.geometry?.type)return!0;return!1}function*m(t){let e=0;for(let i of f(t)){let t="GeometryCollection"===i.geometry?.type,n=[{geometry:i.geometry,depth:0}];for(;n.length>0;){let{geometry:s,depth:o}=n.pop();if("GeometryCollection"===s?.type){if(o>=1024)throw new r.A("geojson-layer:invalid-geometry","GeometryCollection nesting exceeds 1024 levels.");for(let t=s.geometries.length-1;t>=0;t--)n.push({geometry:s.geometries[t],depth:o+1})}else yield{feature:i,geometry:s,index:e,isCollection:t}}e++}}function*y(t){if(t)switch(t.type){case"Point":yield t.coordinates;break;case"LineString":case"MultiPoint":yield*t.coordinates;break;case"MultiLineString":case"Polygon":for(let e of t.coordinates)yield*e;break;case"MultiPolygon":for(let e of t.coordinates)for(let t of e)yield*t}}function p(t,e,i,n,s){if(!n)throw new r.A("geojson-layer:geometry-collection-schema","Recreate the layer to add the parent ID field required by GeometryCollections.");let l=e;for(let e in t){let n=s.get(e);void 0===n&&(n=(0,o.rS)(e)?.toLowerCase()===i,s.set(e,n)),n&&(l??=t[e]??void 0,delete t[e])}t[n]=null==l?null:String(l)}function _(t){for(let e of t)if(e.length>2)return!0;return!1}function g(t){let e=0;for(let i=0;i<t.length;i++){let n=t[i],r=t[(i+1)%t.length];e+=n[0]*r[1]-r[0]*n[1]}return e<=0}function x(t){let e=t[0],i=t[t.length-1];(e[0]!==i[0]||e[1]!==i[1]||e[2]!==i[2])&&t.push(e)}function M(t,e){let{coordinates:i,type:n}=t,r=e.hasZ??!1;switch(n){case"Point":{let t=r||3!==i.length?r&&2===i.length?[...i,0]:[...i]:i.slice(0,2);return new a.A([],t,r,!1)}case"LineString":return(0,l.Ap)({paths:[i],hasZ:!0},r,!1);case"MultiLineString":return(0,l.Ap)({paths:i,hasZ:!0},r,!1);case"MultiPoint":return(0,l.PR)({points:i,hasZ:!0},r,!1);case"Polygon":case"MultiPolygon":{let t=new a.A([],[],r,!1);for(let e of"Polygon"===n?[i]:i){v(t,e[0],r);for(let i=1;i<e.length;i++)b(t,e[i],r)}return t}}}function v(t,e,i){x(e),function(t){return!g(t)}(e)?I(t,e,i):w(t,e,i)}function b(t,e,i){x(e),function(t){return g(t)}(e)?I(t,e,i):w(t,e,i)}function w(t,e,i){for(let n of e)T(t,n,i);t.lengths.push(e.length)}function I(t,e,i){for(let n=e.length-1;n>=0;n--)T(t,e[n],i);t.lengths.push(e.length)}function T(t,[e,i,n],r){t.coords.push(e,i),r&&t.coords.push(n||0)}function A(t){switch(typeof t){case"string":return(0,n.C)(t)?"esriFieldTypeDate":"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function P(t,e=4326){if(!t)throw new r.A("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==t.type&&"FeatureCollection"!==t.type&&"GeometryCollection"!==t.type)throw new r.A("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:t});let{crs:i}=t;if(!i)return;let n="string"==typeof i?i:"name"===i.type?i.properties.name:"EPSG"===i.type?i.properties.code:null,o=(0,s.oT)({wkid:e})?RegExp(".*(CRS84H?|4326)$","i"):RegExp(`.*(${e})$`,"i");if(!n||!o.test(n))throw new r.A("geojson:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:i})}function B(t,e={}){let i,n=[],r=new Set,s=new Set,l=!1,h=null,a=!1,{geometryType:u=null}=e;for(let{feature:e,geometry:f}of m(t)){let{properties:t,id:d}=e;if((!f||(u||=c(f.type),c(f.type)===u))&&(l||=_(y(f)),a||(a=null!=d,a&&(i=typeof d,t&&(h=Object.keys(t).filter(e=>t[e]===d)))),t&&h&&a&&null!=d&&(h.length>1?h=h.filter(e=>t[e]===d):1===h.length&&(h=t[h[0]]===d?h:[])),t))for(let e in t){if(r.has(e))continue;let i=A(t[e]);if("unknown"===i){s.add(e);continue}s.delete(e),r.add(e);let l=(0,o.rS)(e);l&&n.push({name:l,alias:e,type:i})}}let f=(0,o.rS)(1===h?.length&&h[0]||null)??void 0;if(f)for(let t of n)if(t.name===f&&(0,o.WA)(t)){t.type="esriFieldTypeOID";break}return{fields:n,geometryType:u,hasZ:l,objectIdFieldName:f,objectIdFieldType:i,unknownFields:Array.from(s)}}function S(t,e){return Array.from(function*(t,e={}){let{geometryType:i,objectIdField:n,parentIdField:r,getObjectId:s}=e,l=(0,o.rS)(n)?.toLowerCase(),a=new Map;for(let{feature:o,geometry:u,index:f,isCollection:d}of t){let{properties:t,id:m}=o;if(u&&c(u.type)!==i)continue;let y=d?{...t}:t??{},_=s?.(o,f);n&&(d?(p(y,m,l,r,a),_=void 0):(_=y[n],null!=m&&null==_&&(y[n]=_=m))),yield new h.Om(u&&M(u,e),y,null,_)}}(m(t),e))}},21599(t,e,i){i.r(e),i.d(e,{default:()=>y});var n=i(17676),r=i(19419),s=i(21325),o=i(6774),l=i(83221),h=i(31464),a=i(90708),u=i(92722),c=i(85113),f=i(78888);const d=4096,m=[{geometryType:"esriGeometryPolygon",vectorTileGeometryType:3},{geometryType:"esriGeometryPolyline",vectorTileGeometryType:2},{geometryType:"esriGeometryPoint",vectorTileGeometryType:1},{geometryType:"esriGeometryMultipoint",vectorTileGeometryType:1}];class y{constructor(){this._buffer=128,this._featureIds=new Map,this._name="",this._stores=[],this._webMercatorStores=null,this._tolerance=.375}destroy(){for(let{store:t}of this._stores)t.clear();for(let{store:t}of this._webMercatorStores??[])t.clear();this._webMercatorStores=null,this._featureIds.clear(),this._stores.length=0}async initialize({definition:t,name:e,requestOptions:i},r={}){if(null==t.data)throw Error(`GeoJSON source '${e}' must define a data property.`);if(!0===t.lineMetrics)throw Error("GeoJSON lineMetrics are not supported.");if(t.promoteId&&t.generateId)throw Error("GeoJSON promoteId and generateId cannot be used together.");let s="string"==typeof t.data?(await(0,f.A)(t.data,{...i,responseType:"json",signal:r.signal})).data:t.data;(0,n.Te)(r),(0,c.sO)(s),this.destroy(),this._buffer=t.buffer??128,this._name=e,this._tolerance=t.tolerance??.375;let o=0;for(let{geometryType:e,vectorTileGeometryType:i}of m){let n=(0,c.bd)(s,{geometryType:e,hasZ:!1,getObjectId:(e,i)=>{let n=t.promoteId?e.properties?.[t.promoteId]:!0===t.generateId?i:e.id;return"number"==typeof n||"string"==typeof n?n:null}});if(0===n.length)continue;let r=new l.A({geometryType:e,hasM:!1,hasZ:!1}),h=[];for(let t of n){if(!t.geometry)continue;let e=t.objectId;t.objectId=o++,this._featureIds.set(t.objectId,e??null),h.push(t)}h.length>0&&(r.addMany(h),this._stores.push({geometryType:e,store:r,vectorTileGeometryType:i}))}return(0,n.Te)(r),{geometryTypes:["polygon","line","point"].filter(t=>this._stores.some(({vectorTileGeometryType:e})=>e===function(t){switch(t){case"polygon":return 3;case"line":return 2;case"point":return 1}}(t)))}}requestTile(t,e={}){(0,n.Te)(e);let i=this._getTileFeatures(t);return(0,n.Te)(e),{result:{layers:[{name:this._name,extent:d,features:i}]},transferList:[]}}_getStores(t){return(0,s.K8)(t)?(this._webMercatorStores||=this._stores.map(({geometryType:t,store:e,vectorTileGeometryType:i})=>{let n=new l.A({geometryType:t,hasM:!1,hasZ:!1});return e.forEach(e=>{let i=function(t,e){return t?(0,a.Ux)((0,h.Cv)((0,a.zv)(t,e,!1,!1),s.KK,s.ch))??null:null}(e.geometry,t);if(i){let t=e.weakClone();t.geometry=i,n.add(t)}}),{geometryType:t,store:n,vectorTileGeometryType:i}}),this._webMercatorStores):this._stores}_getTileFeatures({col:t,row:e,origin:i,tileSpan:n,spatialReference:o}){let l=i.x+t*n,h=i.y-e*n,{valid:a}=(0,s.Vp)(o),u=a[1]-a[0],c=this._getStores(o),f=n/d,m=this._buffer*f,y=this._tolerance*f,_=[];for(let t of[-u,0,u]){let e=(0,r.fA)(l-m-t,h-n-m,l+n+m-t,h+m),i={scale:[f,-f,1,1],translate:[l-t,h,0,0]};for(let{geometryType:t,store:n,vectorTileGeometryType:r}of c)n.forEachInBounds(e,e=>{let n=p(e,t,r,i,y,this._buffer);n&&_.push({attributes:e.attributes,geometry:n,id:this._featureIds.get(e.objectId),type:r})})}return _}}function p(t,e,i,n,r,s){if(!t.geometry)return null;let l=r>0?(0,a.kz)(t.geometry,e,r,!1,!1):t.geometry;return function(t,e,i){if(!t)return null;let n=new o.O3(0,0,0,8,i/8);if(n.setExtent(d),n.reset(e),1===e)for(let e=0;e<t.size;e++){let i=e*t.stride;n.moveTo(t.coords[i],t.coords[i+1])}else{let i=0;for(let r of t.lengths){n.moveTo(t.coords[i],t.coords[i+1]);for(let e=1;e<r;e++){let r=i+e*t.stride;n.lineTo(t.coords[r],t.coords[r+1])}3===e&&n.close(),i+=r*t.stride}}let r=n.result();if(!r)return null;let s=1===e?[r.length]:r.map(t=>t.length),l=[];for(let t of r)for(let e of t)l.push(e.x,e.y);return new u.A(s,l)}((0,a.Nl)(l,e,n,!1,!1,!0),i,s)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[1630],{69052(e,t,i){i.d(t,{hr:()=>o});var r=i(34727);class o{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,i=!1){return n(this.range,this.min,this.max,e,t,i)}clamp(e,t=0){return(0,r.qE)(e-t,this.min,this.max)+t}monotonic(e,t,i){return e<t?t:t+l(this.range,e-t,i)}minimalMonotonic(e,t,i){return n(this.range,e,e+this.range,t,i)}center(e,t,i){return t=this.monotonic(e,t,i),this.normalize((e+t)/2,i)}diff(e,t,i){return this.monotonic(e,t,i)-e}shortestSignedDiff(e,t){e=this.normalize(e);let i=(t=this.normalize(t))-e,r=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(i)<Math.abs(r)?i:r}contains(e,t,i){return t=this.minimalMonotonic(e,t),(i=this.minimalMonotonic(e,i))>e&&i<t}}function n(e,t,i,r,o=0,n=!1){return(r-=o)<t?r+=l(e,t-r):r>i&&(r-=l(e,r-i)),n&&r===i&&(r=t),r+o}function l(e,t,i=0){return Math.ceil((t-i)/e)*e+i}const a=new o(0,2*Math.PI),s=(new o(-Math.PI,Math.PI),new o(0,360));i.d(t,["ie",0,s,"uC",0,a])},18370(e,t,i){i.d(t,{z:()=>o});class r{constructor(e){this._import=e,this.module=null,this._promise=null}getImportPromise(){return this._promise??=this._import().then(async e=>(this.module=e,e)),this._promise}}function o(e){return new r(e)}},52039(e,t,i){i.d(t,{O7:()=>y,Y_:()=>c,el:()=>p});var r=i(69052),o=(i(49186),i(18370)),n=i(17676),l=(i(5443),i(39829)),a=(i(82799),i(16930)),s=(i(80754),i(21325));async function p(e,t,i){Array.isArray(e)||(e=[e]),"object"==typeof t&&t&&"authMode"in t&&(i=t);let r=null;for(let t of e)r??=t?.spatialReference;if(!r)return e;let o=(0,s.Vp)(r);if(!o)return e;if(1===e.length&&"extent"===e[0]?.type){let t=e[0].clone().normalizeAsSingleGeometry(o);return["xmin"in t?t:new l.A(t)]}let[a,p]=o.valid,y=!1;for(let t of e){if(!t)continue;if("point"===t.type){y||=t.x>=p,y||=t.x<=a;continue}let{extent:e}=t;if(null==e){y=!0;break}y||=e.xmin>=p,y||=e.xmin<=a,y||=e.xmax>=p,y||=e.xmax<=a}if(!y)return e;let[{foldInto360Range:m},c]=await(0,n.qr)(Promise.all([u.getImportPromise(),d.getImportPromise()]),i),h=c.fromSpatialReference(r);return e.map(e=>{if(null==e||"mesh"===e.type)return e;let t=c.fromGeometry(e),i=c.toGeometry(m(t,h),r);return"extent"===e.type&&1===i?.rings.length?i.extent:i})}const u=(0,o.z)(()=>i.e(4144).then(()=>i(4144)).then(e=>e.load().then(()=>e))),d=(0,o.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(1550)]).then(()=>i(78125)));function y(e,t,i){let r=(0,s.Vp)(i);if(null==r)return e;let[o,n]=r.valid,l=2*n,a=0,p=0;t>n?a=Math.ceil(Math.abs(t-n)/l):t<o&&(a=-Math.ceil(Math.abs(t-o)/l)),e>n?p=Math.ceil(Math.abs(e-n)/l):e<o&&(p=-Math.ceil(Math.abs(e-o)/l));let u=e+(a-p)*l,d=u-t;return d>n?u-=l:d<o&&(u+=l),u}function m(e){let t=(0,s.Vp)(e);if(null==t)return null;let[i,o]=t.valid;return new r.hr(i,o)}const c=m(a.A.WGS84);m(a.A.WebMercator)},80754(e,t,i){i.d(t,{j7:()=>a,kS:()=>p,kd:()=>s});var r=i(82799),o=i(16930),n=i(52006),l=i(60408);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:o.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:o.A.WGS84})}};function s(e,t){return Math.ceil((e-t)/(2*t))}function p(e,t){if((0,n.Ed)(e))for(let i of function(e){return(0,l.Bi)(e)?e.curveRings:e.curvePaths}(e))for(let e of i)if((0,n.aO)(e)){let[i,r]=e.c;i[0]+=t,r[0]+=t}else if((0,n.FG)(e)){let[i,r]=e.a;i[0]+=t,r[0]+=t}else if((0,n.n1)(e)){let[i,r,o]=e.b;i[0]+=t,r[0]+=t,o[0]+=t}else e[0]+=t;for(let i of function(e){return(0,l.Bi)(e)?e.rings:e.paths}(e))for(let e of i)e[0]+=t;return e}},15056(e,t,i){i.r(t),i.d(t,{default:()=>V});var r=i(32198),o=i(91429),n=i(7762),l=i(49186),a=i(4718),s=i(25728),p=i(93637),u=i(58318),d=i(67076),y=i(5443),m=i(99917),c=i(16930),h=i(19419),g=i(52039),f=i(21325),w=i(52106),M=i(31888),C=i(89808),b=i(99959);const v=Symbol("isSketchGraphicOriginSymbol");var S;class O extends b.A{get[(S=v,M.E)](){return this.layer}get[C.Q](){return this.layer}constructor(e){super(),this[S]=!0,this.type="sketch",this.layer=e}get id(){return this.layer.id}}var A=i(98809),T=i(94985),I=i(31593),x=i(53930),N=i(88625),Z=i(68249),F=i(18589),j=i(33032),R=i(4146),J=i(63074),z=i(34287),L=i(8303),k=i(25036),D=i(20437),P=i(36005),G=i(43937);function _(e){return"markup"===e.featureCollectionType||e.layers.some(e=>null!=e.layerDefinition.visibilityField||!E(e))}function E({layerDefinition:e,featureSet:t}){let i=e.geometryType??t.geometryType;return q.find(t=>i===t.geometryTypeJSON&&e.drawingInfo?.renderer?.symbol?.type===t.identifyingSymbol.type)}const K=new D.A({name:"OBJECTID",alias:"OBJECTID",type:"oid",nullable:!1,editable:!1}),$=new D.A({name:"title",alias:"Title",type:"string",nullable:!0,editable:!0,length:255}),q=[{geometryType:"polygon",geometryTypeJSON:"esriGeometryPolygon",id:"polygonLayer",layerId:0,title:"Polygons",identifyingSymbol:(new T.A).toJSON()},{geometryType:"polyline",geometryTypeJSON:"esriGeometryPolyline",id:"polylineLayer",layerId:1,title:"Polylines",identifyingSymbol:(new I.A).toJSON()},{geometryType:"multipoint",geometryTypeJSON:"esriGeometryMultipoint",id:"multipointLayer",layerId:2,title:"Multipoints",identifyingSymbol:(new x.A).toJSON()},{geometryType:"point",geometryTypeJSON:"esriGeometryPoint",id:"pointLayer",layerId:3,title:"Points",identifyingSymbol:(new x.A).toJSON()},{geometryType:"point",geometryTypeJSON:"esriGeometryPoint",id:"textLayer",layerId:4,title:"Text",identifyingSymbol:(new Z.A).toJSON()}];let W=class extends((0,J.dM)((0,k.j)((0,z.q)((0,L.A)((0,s.M)(R.A)))))){constructor(e){super(e),this._featureCollectionMetadata=new Map,this.graphicOrigin=new O(this),this.capabilities={operations:{supportsMapNotesEditing:!0}},this.elevationInfo=null,this.featureCollections=null,this.featureCollectionJSON=null,this.featureCollectionType="notes",this.graphics=new A.Y,this.legendEnabled=!1,this.listMode="show",this.minScale=0,this.maxScale=0,this.screenSizePerspectiveEnabled=!0,this.spatialReference=c.A.WGS84,this.title="Sketch",this.type="sketch",this.visibilityMode="inherited"}initialize(){for(let e of this.graphics)e.sourceLayer=this,e.origin=this.graphicOrigin;this.addHandles([this.graphics.on("after-add",({item:e})=>{e.sourceLayer=this,e.origin=this.graphicOrigin}),this.graphics.on("after-remove",({item:e})=>{e.sourceLayer===this&&(e.sourceLayer=null),e.origin===this.graphicOrigin&&(e.origin=null)})])}destroy(){for(let e of this.graphics)e.sourceLayer===this&&(e.sourceLayer=null),e.origin===this.graphicOrigin&&(e.origin=null);this.graphics.removeAll(),this.graphics.destroy()}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Feature Collection"]},e)),Promise.resolve(this)}readCapabilities(e,t,i){return{operations:{supportsMapNotesEditing:!_(t)&&"portal-item"!==i?.origin}}}readFeatureCollections(e,t,i){if(!_(t))return null;let r=t.layers.map(e=>{let t=new F.default;return t.read(e,i),t});return new n.A({items:r})}readLegacyfeatureCollectionJSON(e,t){return _(t)?(0,a.o8)(t.featureCollection):null}get fullExtent(){let e=this.spatialReference,t=(0,h.Ie)();return null==this.featureCollectionJSON?this.graphics.forEach(i=>{let r=i.geometry,o=(0,m.projectOrLoad)("mesh"===r?.type?r.extent:r,e).geometry;null!=o&&(0,h.fT)(t,"point"===o.type?o:o.extent,t)}):this.featureCollectionJSON.layers.forEach(i=>{let r=(0,m.projectOrLoad)(i.layerDefinition.extent,e).geometry;null!=r&&(0,h.fT)(t,r,t)}),(0,h.aI)(t,h.qv)?(0,m.projectOrLoad)(new y.A({xmin:-180,ymin:-90,xmax:180,ymax:90}),e).geometry:(0,h.w1)(t,e)}readGraphics(e,t){if(this._featureCollectionMetadata.clear(),_(t))return[];let i=new Map,r=t.layers.reduce((e,t)=>Math.max(e,t.layerDefinition.id??-1),-1)+1;for(let e of t.layers){let t=E(e);if(null==t)continue;this._featureCollectionMetadata.has(t.id)||this._featureCollectionMetadata.set(t.id,{layerId:e.layerDefinition.id??r++,title:e.layerDefinition.name??t.title});let o=i.get(t.id)??[];o.push(e),i.set(t.id,o)}let o=[];for(let e of q)for(let t of i.get(e.id)??[])for(let{geometry:e,symbol:i,attributes:r,popupInfo:n}of t.featureSet.features)o.push(w.A.fromJSON({attributes:r,geometry:e,symbol:i,popupTemplate:n}));return o}writeGraphics(e,t,i,r){if(!this.capabilities.operations.supportsMapNotesEditing)return void(e.length>0&&r?.messages?.push(new l.A("sketch-layer:editing-not-supported","New graphics cannot be added to this layer")));let o=this.spatialReference.toJSON();for(let t of e)if(null!=t.geometry){o=t.geometry.spatialReference.toJSON();break}let n=new Map(q.map(e=>[e.id,[]]));for(let t of e){let{geometry:e}=t;if(null==e)continue;let i=q.find(i=>i.geometryType===e.type&&("point"!==e.type||"textLayer"===i.id==("text"===t.symbol?.type)));null==i?r?.messages?.push(new d.A("sketch-layer:invalid-geometry-type",`Geometry "${e.type}" cannot be saved`,{graphic:t})):this._writeMapNote(n.get(i.id),t,i.geometryType,r)}let a=[],s=new Set,u=Math.max(4,...Array.from(this._featureCollectionMetadata.values(),({layerId:e})=>e))+1;for(let e of q){let t=this._featureCollectionMetadata.get(e.id),i=t?.layerId??e.layerId;s.has(i)&&(i=u++),s.add(i),this._writeFeatureCollection(a,n.get(e.id),e,t?.title??e.title,i,this.minScale,this.maxScale,o)}(0,p.sM)("featureCollection.layers",a,t)}readMinScale(e,t){for(let e of t.layers)if(null!=e.layerDefinition.minScale)return e.layerDefinition.minScale;return 0}readMaxScale(e,t){for(let e of t.layers)if(null!=e.layerDefinition.maxScale)return e.layerDefinition.maxScale;return 0}readSpatialReference(e,t){return t.layers.length?c.A.fromJSON(t.layers[0].layerDefinition.spatialReference):c.A.WGS84}add(e){return this.graphics.add(e),this}remove(e){this.graphics.remove(e)}graphicChanged(e){this.emit("graphic-update",e)}read(e,t){"featureCollection"in e&&(e=(0,a.o8)(e),Object.assign(e,e.featureCollection)),super.read(e,t)}async updateFrom(e){if(!this.capabilities.operations.supportsMapNotesEditing)return;let t=e.view.spatialReference,i=[];for(let e of this.graphics)if(null!=e.geometry){let r=e.geometry;(0,f.aI)(r.spatialReference,t)||(!(0,m.canProjectWithoutEngine)(r.spatialReference,t)&&!(0,m.isLoaded)()&&await(0,m.load)(),e.geometry=(0,m.project)(r,t)),i.push(e)}let r=await(0,g.el)(i.map(e=>e.geometry));i.forEach((e,t)=>e.geometry=r[t])}_writeFeatureCollection(e,t,i,r,o,n,l,s){this._normalizeObjectIds(t,K),e.push({layerDefinition:{name:r,drawingInfo:{renderer:{type:"simple",symbol:(0,a.o8)(i.identifyingSymbol)}},id:o,geometryType:i.geometryTypeJSON,minScale:n,maxScale:l,objectIdField:"OBJECTID",fields:[K.toJSON(),$.toJSON()],spatialReference:s},featureSet:{features:t,geometryType:i.geometryTypeJSON}})}_writeMapNote(e,t,i,r){if(null==t)return;let{geometry:o,symbol:n,popupTemplate:l}=t;if(null==o)return;if(o.type!==i)return void r?.messages?.push(new d.A("sketch-layer:invalid-geometry-type",`Geometry "${o.type}" cannot be saved in "${i}" layer`,{graphic:t}));if(null==n)return void r?.messages?.push(new d.A("sketch-layer:no-symbol","Skipping graphic with no symbol",{graphic:t}));let a={attributes:{...t.attributes},geometry:o.toJSON(),symbol:n.toJSON()};null!=l&&(a.popupInfo=l.toJSON()),e.push(a)}_normalizeObjectIds(e,t){let i=t.name,r=(0,j.H)(i,e)+1,o=new Set;for(let t of e){t.attributes||={};let{attributes:e}=t;(null==e[i]||o.has(e[i]))&&(e[i]=r++),o.add(e[i])}}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],W.prototype,"capabilities",void 0),(0,r.Cg)([(0,P.w)(["portal-item","web-map"],"capabilities",["layers"])],W.prototype,"readCapabilities",null),(0,r.Cg)([(0,o.MZ)({type:N.A})],W.prototype,"elevationInfo",void 0),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],W.prototype,"featureCollections",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"featureCollections",["layers"])],W.prototype,"readFeatureCollections",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{enabled:!0,target:"featureCollection"}}}}})],W.prototype,"featureCollectionJSON",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"featureCollectionJSON",["featureCollection"])],W.prototype,"readLegacyfeatureCollectionJSON",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!0,write:{enabled:!0,ignoreOrigin:!0}}})],W.prototype,"featureCollectionType",void 0),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],W.prototype,"fullExtent",null),(0,r.Cg)([(0,o.MZ)({...(0,u.C)(A.Y,"graphics"),json:{origins:{"web-map":{write:{ignoreOrigin:!0}}}}})],W.prototype,"graphics",void 0),(0,r.Cg)([(0,P.w)("web-map","graphics",["layers"])],W.prototype,"readGraphics",null),(0,r.Cg)([(0,G.K)("web-map","graphics")],W.prototype,"writeGraphics",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{target:"featureCollection.showLegend",overridePolicy(){return{enabled:null!=this.featureCollectionJSON}}}}}}})],W.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,o.MZ)({type:["show","hide"]})],W.prototype,"listMode",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],W.prototype,"minScale",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"minScale",["layers"])],W.prototype,"readMinScale",null),(0,r.Cg)([(0,o.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],W.prototype,"maxScale",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"maxScale",["layers"])],W.prototype,"readMaxScale",null),(0,r.Cg)([(0,o.MZ)({value:"ArcGISFeatureLayer",type:["ArcGISFeatureLayer"]})],W.prototype,"operationalLayerType",void 0),(0,r.Cg)([(0,o.MZ)()],W.prototype,"screenSizePerspectiveEnabled",void 0),(0,r.Cg)([(0,o.MZ)({type:c.A})],W.prototype,"spatialReference",void 0),(0,r.Cg)([(0,P.w)(["web-map","portal-item"],"spatialReference",["layers"])],W.prototype,"readSpatialReference",null),(0,r.Cg)([(0,o.MZ)()],W.prototype,"title",void 0),(0,r.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],W.prototype,"type",void 0),W=(0,r.Cg)([(0,o.$K)("esri.layers.SketchLayer")],W);const V=W},54339(e,t,i){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{let i=[];for(let r of t.fieldNames)i.push(e.attributes[r]??null);return JSON.stringify(i)}}}function o(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];let i=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(i)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}i.d(t,{W:()=>r,r:()=>o})},33032(e,t,i){function r(e,t){let i=0;for(let r of t){let t=r.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}i.d(t,{H:()=>r})},52136(e,t,i){var r=i(32198),o=i(91429);i.d(t,["p",0,e=>{let t=e,i=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null==e?(this._clearOverride("apiKey"),this.clear("apiKey","user")):this._override("apiKey",e)}};return(0,r.Cg)([(0,o.MZ)({type:String})],i.prototype,"apiKey",null),(0,r.Cg)([(0,o.$K)("esri.layers.mixins.APIKeyMixin")],i)}])},28032(e,t,i){i.d(t,{A:()=>s});var r=i(32198),o=i(91429),n=i(69540),l=i(25482),a=i(56400);let s=class extends((0,n.OU)(l.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,r.Cg)([(0,o.MZ)()],s.prototype,"creatorField",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"creationDateField",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"editorField",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"editDateField",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"realm",void 0),(0,r.Cg)([(0,o.MZ)((0,a.P6)("dateFieldsTimeReference",!0))],s.prototype,"timeZone",void 0),s=(0,r.Cg)([(0,o.$K)("esri.layers.support.EditFieldsInfo")],s)},33143(e,t,i){i.d(t,{A:()=>d});var r=i(32198),o=i(91429),n=i(69540),l=i(25482),a=i(8631),s=i(29005),p=i(36005),u=i(43937);let d=class extends((0,n.OU)(l.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){let t={};for(let i of Object.keys(e))t[i]=(0,a.r)(e[i]);return t}writeDomains(e,t){let i={};for(let t of Object.keys(e))e[t]&&(i[t]=e[t]?.toJSON());t.domains=i}};(0,r.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,r.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,r.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,r.Cg)([(0,p.w)("domains")],d.prototype,"readDomains",null),(0,r.Cg)([(0,u.K)("domains")],d.prototype,"writeDomains",null),(0,r.Cg)([(0,o.MZ)({type:[s.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,r.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],d)},37352(e,t,i){i.d(t,{A:()=>s});var r,o=i(32198),n=i(91429),l=i(7762),a=i(25482);let s=r=class extends a.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new l.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o.Cg)([(0,n.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"floorField",void 0),(0,o.Cg)([(0,n.MZ)({json:{read:!1,write:!1}})],s.prototype,"viewAllMode",void 0),(0,o.Cg)([(0,n.MZ)({json:{read:!1,write:!1}})],s.prototype,"viewAllLevelIds",void 0),s=r=(0,o.Cg)([(0,n.$K)("esri.layers.support.LayerFloorInfo")],s)},45067(e,t,i){i.d(t,{A:()=>u});var r=i(32198),o=i(91429),n=i(69540),l=i(66552),a=i(25482);const s=new l.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),p=new l.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let u=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r.Cg)([(0,o.MZ)({json:{read:s.read,write:s.write}})],u.prototype,"cardinality",void 0),(0,r.Cg)([(0,o.MZ)({json:{name:"catalogID"}})],u.prototype,"catalogId",void 0),(0,r.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"composite",void 0),(0,r.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"id",void 0),(0,r.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyField",void 0),(0,r.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,o.MZ)({json:{read:p.read,write:p.write}})],u.prototype,"role",void 0),u=(0,r.Cg)([(0,o.$K)("esri.layers.support.Relationship")],u)},41366(e,t,i){var r=i(32198),o=i(91429),n=i(66552),l=i(53966),a=i(93223);const s=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),p="percent-of-total",u="field";i.d(t,["K",0,e=>{let t=e,i=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType"),t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&u||i&&p||null,t&&i&&l.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):(e===u||e===p)&&(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],i.prototype,"normalizationField",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],i.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],i.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],i.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,a.e)(s,{name:"parameters.normalizationType"})],i.prototype,"normalizationType",null),(0,r.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],i)},"Q",0,s])},2991(e,t,i){i.d(t,{G9:()=>p,RZ:()=>s});var r=i(39516);const o="=",n=">=",l="<=";function a(e,t,i,o){let n=o.get(e)?.type,l=o.getTimeZone(e);return`${(0,r.iA)(e)} ${t} ${(0,r.YG)(i,{type:"date"},{type:n,timeZone:l})}`}function s(e,t,i,s){if(!t||!i)return;let{startField:p,endField:u}=t,{start:d,end:y}=e;if(!d&&!y||!p&&!u)return;let m=p??u,c=u??p;if(m&&c){if(d&&y){if(d.getTime()===y.getTime())return(0,r.mA)(s,a(m,o,d,i));if(!p||!u){let e=a(m,n,d,i),t=a(m,l,y,i);return(0,r.mA)(s,(0,r.mA)(e,t))}let e=a(p,n,d,i),t=a(u,l,y,i);return(0,r.mA)(s,(0,r.mA)(e,t))}if(d)return(0,r.mA)(s,a(m,n,d,i));if(y)return(0,r.mA)(s,a(c,l,y,i))}}function p(e){let{start:t,end:i}=e;if(t||i){if(!t&&i)return`null,${i.getTime()}`;if(!i&&t)return`${t.getTime()},null`;if(i&&t)return t.getTime()===i.getTime()?`${t.getTime()}`:`${t.getTime()},${i.getTime()}`}}}}]);
|