@arcgis/core 4.22.0-next.20211021 → 4.22.0-next.20211025
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/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/00ac1ce56f9885a8be83.js +1 -0
- package/assets/esri/core/workers/chunks/01c9afe41ab4ccc597c9.js +1 -0
- package/assets/esri/core/workers/chunks/02a3d14adc504a51fa24.js +1 -0
- package/assets/esri/core/workers/chunks/035a9ab0202d5386b782.js +1 -0
- package/assets/esri/core/workers/chunks/062bace5505f13689c7d.js +1 -0
- package/assets/esri/core/workers/chunks/06c7745d813bcb540ce8.js +1 -0
- package/assets/esri/core/workers/chunks/0950b488a60b2abc21fc.js +1 -0
- package/assets/esri/core/workers/chunks/0af396f2e0de681113ef.js +1 -0
- package/assets/esri/core/workers/chunks/131838059f0f81d8eaee.js +1 -0
- package/assets/esri/core/workers/chunks/146cba0d172ec2f4eba2.js +1 -0
- package/assets/esri/core/workers/chunks/17e49c0dfa5a5a6213e2.js +1 -0
- package/assets/esri/core/workers/chunks/1a0b08190274725dc956.js +1 -0
- package/assets/esri/core/workers/chunks/1add7f0779accdf8d204.js +1 -0
- package/assets/esri/core/workers/chunks/20b81d11e6286d347bfc.js +1 -0
- package/assets/esri/core/workers/chunks/{e596bd3de960d1dc1c57.js → 2207580a78ee292ed9b8.js} +1 -1
- package/assets/esri/core/workers/chunks/2d3646a83465c75986f9.js +1 -0
- package/assets/esri/core/workers/chunks/2d38ee3ef3ebe32a1194.js +1 -0
- package/assets/esri/core/workers/chunks/3737dcc3c0dea3ca05d5.js +1 -0
- package/assets/esri/core/workers/chunks/3e2042e70647c1afa6aa.js +1 -0
- package/assets/esri/core/workers/chunks/3ebfaab2855a2236a95d.js +1 -0
- package/assets/esri/core/workers/chunks/{d6fe616192a8efbfbc3e.js → 440f8101402a4c0d7019.js} +1 -1
- package/assets/esri/core/workers/chunks/4587d770767966985e22.js +1 -0
- package/assets/esri/core/workers/chunks/487b8892fae85810a8c0.js +1 -0
- package/assets/esri/core/workers/chunks/4901a78f32c3ea6b823b.js +1 -0
- package/assets/esri/core/workers/chunks/496fe47fc4d28e1a716d.js +1 -0
- package/assets/esri/core/workers/chunks/{9f22f47d4b2e72d7bdcf.js → 4c010119c24510ea31bb.js} +2 -2
- package/assets/esri/core/workers/chunks/{9f22f47d4b2e72d7bdcf.js.LICENSE.txt → 4c010119c24510ea31bb.js.LICENSE.txt} +0 -0
- package/assets/esri/core/workers/chunks/4f5076e1f2b18ce8156d.js +1 -0
- package/assets/esri/core/workers/chunks/{f291ebc4b089bd1f0a3f.js → 50e86a6bb13042b1dbac.js} +1 -1
- package/assets/esri/core/workers/chunks/{64d9a062c1f1ac08a3ac.js → 565020b1c02a8cb33c2b.js} +1 -1
- package/assets/esri/core/workers/chunks/{d78c60a22f76df7c48c7.js → 59640d78295e2e363f18.js} +1 -1
- package/assets/esri/core/workers/chunks/{a0356f320a1b2fbd03f0.js → 5ac2b2598245aa17cdbd.js} +1 -1
- package/assets/esri/core/workers/chunks/5b4a8cce5601cc92c8a3.js +1 -0
- package/assets/esri/core/workers/chunks/5b92d5d4049622531109.js +1 -0
- package/assets/esri/core/workers/chunks/{751c1a2838b54a74a9a6.js → 5f3caa0ddb215342c728.js} +2 -2
- package/assets/esri/core/workers/chunks/615e995d5ce8fa044b09.js +1 -0
- package/assets/esri/core/workers/chunks/62a2453699e0dd2393b9.js +1 -0
- package/assets/esri/core/workers/chunks/67013547be1a7ae1670a.js +1 -0
- package/assets/esri/core/workers/chunks/67eddf4808f8888faeb4.js +1 -0
- package/assets/esri/core/workers/chunks/695dbedff2340aa019ba.js +1 -0
- package/assets/esri/core/workers/chunks/6a7e388c94206d2f61ff.js +1 -0
- package/assets/esri/core/workers/chunks/6e22b69d55e791ab3d9a.js +1 -0
- package/assets/esri/core/workers/chunks/71e6c0c5ef0aa7eb1703.js +1 -0
- package/assets/esri/core/workers/chunks/7a74e230439c5111f852.js +1 -0
- package/assets/esri/core/workers/chunks/7e76a8e6fa67e607d09e.js +1 -0
- package/assets/esri/core/workers/chunks/7fe4985ca0cb3e6d35c6.js +1 -0
- package/assets/esri/core/workers/chunks/8027330714ff5ffb020e.js +1 -0
- package/assets/esri/core/workers/chunks/844b564d1a422a17f6ac.js +1 -0
- package/assets/esri/core/workers/chunks/856f9281a08cb032238e.js +1 -0
- package/assets/esri/core/workers/chunks/89b4983de872780e9aa1.js +1 -0
- package/assets/esri/core/workers/chunks/8f3bc0cd2c2b01ab80cd.js +1 -0
- package/assets/esri/core/workers/chunks/8fd912e325ccd48b98a9.js +1 -0
- package/assets/esri/core/workers/chunks/901907a5c01f0fd1478f.js +1 -0
- package/assets/esri/core/workers/chunks/92a0b88a14c92239df8a.js +1 -0
- package/assets/esri/core/workers/chunks/972e9aeb3c29c9bf441a.js +1 -0
- package/assets/esri/core/workers/chunks/9758c34ce61c3714515a.js +1 -0
- package/assets/esri/core/workers/chunks/{457ea4feaa006d60c6b1.js → 9a04d087a29f0f3937a3.js} +1 -1
- package/assets/esri/core/workers/chunks/9b0bb171224b35ce2031.js +1 -0
- package/assets/esri/core/workers/chunks/9cbe7afdaef8720dfc8d.js +1 -0
- package/assets/esri/core/workers/chunks/9ccde5b6562f0007fe45.js +1 -0
- package/assets/esri/core/workers/chunks/9d320bbeedeea15522ab.js +1 -0
- package/assets/esri/core/workers/chunks/a001b3b4527817548094.js +1 -0
- package/assets/esri/core/workers/chunks/{197b72bca45065e0eb4a.js → a0c580d4a1915ddd3fe4.js} +1 -1
- package/assets/esri/core/workers/chunks/a4a9c15929b43d83701f.js +1 -0
- package/assets/esri/core/workers/chunks/a54d11f44721f808b82f.js +1 -0
- package/assets/esri/core/workers/chunks/a646a11673d513c00e7a.js +1 -0
- package/assets/esri/core/workers/chunks/a792e2bc7cafdc29f05e.js +1 -0
- package/assets/esri/core/workers/chunks/acae1771697034f265b1.js +1 -0
- package/assets/esri/core/workers/chunks/af2ee804a9c63eea610c.js +1 -0
- package/assets/esri/core/workers/chunks/b28b487047da3aeef3fd.js +1 -0
- package/assets/esri/core/workers/chunks/b3e57824a5855cb37a96.js +1 -0
- package/assets/esri/core/workers/chunks/b89449ead32e4cd21edd.js +1 -0
- package/assets/esri/core/workers/chunks/b99891ed5a02cab02173.js +1 -0
- package/assets/esri/core/workers/chunks/bac84bc621be73a7a4bc.js +1 -0
- package/assets/esri/core/workers/chunks/{25037dcf8a0c72b7b647.js → bbe068388167e9dd0c11.js} +1 -1
- package/assets/esri/core/workers/chunks/c271a1857bcc4e9a36dd.js +1 -0
- package/assets/esri/core/workers/chunks/{eb3035e49a45ecc82575.js → c5030664720fcdc6d85e.js} +1 -1
- package/assets/esri/core/workers/chunks/c534ed122f8a1202d3a3.js +1 -0
- package/assets/esri/core/workers/chunks/c5ef2e28b0c539ddb6a7.js +1 -0
- package/assets/esri/core/workers/chunks/c65e5ccfae03d148d82b.js +1 -0
- package/assets/esri/core/workers/chunks/c91660f3982be4e03705.js +1 -0
- package/assets/esri/core/workers/chunks/ce93113b99bdbeddd07b.js +1 -0
- package/assets/esri/core/workers/chunks/cf2d408e669cfa2c65be.js +1 -0
- package/assets/esri/core/workers/chunks/d08f63ffeecefa02ad91.js +1 -0
- package/assets/esri/core/workers/chunks/{8d33644192c01e5416b4.js → d1a71b58ef62e71979c5.js} +1 -1
- package/assets/esri/core/workers/chunks/d30eade5afecd334f6cb.js +1 -0
- package/assets/esri/core/workers/chunks/d8782d0856b9d815cb6c.js +1 -0
- package/assets/esri/core/workers/chunks/db16c21b650001502e6c.js +1 -0
- package/assets/esri/core/workers/chunks/db18110c57253a31ac96.js +1 -0
- package/assets/esri/core/workers/chunks/dbaa5fb466d6c0214f24.js +1 -0
- package/assets/esri/core/workers/chunks/deae370788a7aacf4dd5.js +1 -0
- package/assets/esri/core/workers/chunks/e6ca132e1eeea3aa174e.js +1 -0
- package/assets/esri/core/workers/chunks/e878ccc431729ef3360f.js +1 -0
- package/assets/esri/core/workers/chunks/eb124f15ad4b9193f00a.js +1 -0
- package/assets/esri/core/workers/chunks/ebc71c06c1c22aaef54e.js +1 -0
- package/assets/esri/core/workers/chunks/f183da283af0836421ab.js +1 -0
- package/assets/esri/core/workers/chunks/f42bdc2a134833d33b4e.js +1 -0
- package/assets/esri/core/workers/chunks/{736d628cda4e02d40337.js → f8612c2fc5739e98be58.js} +1 -1
- package/assets/esri/core/workers/chunks/f965e3e5f6f4f9ba54ac.js +1 -0
- package/assets/esri/core/workers/chunks/fa4089640f480b69962e.js +1 -0
- package/assets/esri/core/workers/chunks/fb219563e5169ea67d68.js +1 -0
- package/assets/esri/libs/i3s/i3s.wasm +0 -0
- package/chunks/ChapmanAtmosphere.glsl.js +56 -77
- package/chunks/Clouds.glsl.js +1 -1
- package/chunks/Pattern.glsl.js +9 -11
- package/chunks/RibbonLine.glsl.js +60 -68
- package/chunks/i3s.js +1 -1
- package/chunks/mat4.js +1 -1
- package/chunks/vec3.js +1 -1
- package/core/Collection.js +1 -1
- package/core/Loadable.js +1 -1
- package/core/accessorSupport/ensureType.js +1 -1
- package/core/promiseUtils.js +1 -1
- package/core/support/OwningCollection.js +1 -1
- package/core/workers/RemoteClient.js +1 -1
- package/core/workers/WorkerOwner.js +1 -1
- package/core/workers/workers.js +2 -2
- package/geometry/projection.js +1 -1
- package/identity/IdentityManagerBase.js +1 -1
- package/interfaces.d.ts +205 -497
- package/layers/ElevationLayer.js +1 -1
- package/layers/GeoJSONLayer.js +1 -1
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/VectorTileLayer.js +1 -1
- package/layers/VoxelWasmPerScene.js +1 -1
- package/layers/WCSLayer.js +1 -1
- package/layers/analyses/AreaMeasurement3D.js +1 -1
- package/layers/analyses/DirectLineMeasurement3D.js +1 -1
- package/layers/analyses/Slice.js +1 -1
- package/layers/effects/EffectList.js +1 -1
- package/layers/effects/effects.js +1 -1
- package/layers/effects/jsonUtils.js +1 -1
- package/layers/effects/parser.js +1 -1
- package/layers/effects/utils.js +5 -0
- package/layers/graphics/controllers/FeatureTileController3D.js +1 -1
- package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
- package/layers/graphics/data/QueryEngine.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/sources/connections/GeoEventConnection.js +1 -1
- package/layers/mixins/ImageryTileMixin.js +1 -1
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/TilemapCache.js +1 -1
- package/layers/support/rasterDatasets/BaseRaster.js +1 -1
- package/layers/support/rasterDatasets/ImageServerRaster.js +1 -1
- package/layers/support/rasterDatasets/WCSRaster.js +1 -1
- package/layers/support/rasterFunctions/pixelUtils.js +1 -1
- package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
- package/package.json +2 -2
- package/portal/support/portalLayers.js +1 -1
- package/request.js +1 -1
- package/smartMapping/renderers/support/utils.js +1 -1
- package/smartMapping/statistics/support/WorkerClient.js +1 -1
- package/smartMapping/statistics/support/statsWorker.js +1 -1
- package/smartMapping/statistics/support/utils.js +1 -1
- package/smartMapping/support/adapters/CSVLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/SceneLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/support/utils.js +1 -1
- package/statistics/utils.js +1 -1
- package/support/GraphicsCollection.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/FillSymbol3DLayer.js +1 -1
- package/symbols/IconSymbol3DLayer.js +1 -1
- package/symbols/LineSymbol3DLayer.js +1 -1
- package/symbols/patterns/LinePattern3D.js +5 -0
- package/symbols/patterns/LineStylePattern3D.d.ts +4 -0
- package/symbols/patterns/LineStylePattern3D.js +5 -0
- package/symbols/patterns/StylePattern3D.js +1 -1
- package/symbols/patterns/lineStyles.js +5 -0
- package/symbols/patterns/utils.js +1 -1
- package/symbols/support/Symbol3DFillMaterial.js +1 -1
- package/symbols/support/Symbol3DIconOutline.js +5 -0
- package/symbols/support/Symbol3DMaterial.js +1 -1
- package/symbols/support/Symbol3DOutline.js +1 -1
- package/symbols/support/defaults3D.js +1 -1
- package/symbols/support/previewSymbol3D.js +1 -1
- package/symbols/support/symbolLayerUtils3D.js +1 -1
- package/views/2d/engine/vectorTiles/TileParser.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleRepository.js +1 -1
- package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/controllers/EditsQueue.js +1 -1
- package/views/2d/layers/features/controllers/FeatureController2D.js +1 -1
- package/views/2d/layers/features/support/AttributeStore.js +1 -1
- package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
- package/views/2d/layers/support/FeatureLayerProxy.js +1 -1
- package/views/3d/environment/ChapmanAtmosphere.js +1 -1
- package/views/3d/environment/ChapmanAtmosphereTechnique.js +1 -1
- package/views/3d/environment/CloudsGenerator.js +1 -1
- package/views/3d/environment/EnvironmentRenderer.js +1 -1
- package/views/3d/environment/PanoramicAtmosphere.js +1 -1
- package/views/3d/environment/SimpleAtmosphere.js +1 -1
- package/views/3d/externalRenderers/ExternalRendererStore.js +1 -1
- package/views/3d/externalRenderers.js +1 -1
- package/views/3d/interactive/Manipulator3D.js +1 -1
- package/views/3d/interactive/analysisTools/slice/SliceTool.js +1 -1
- package/views/3d/interactive/analysisTools/slice/images/Factory.js +5 -0
- package/views/3d/interactive/analysisTools/slice/sliceToolConfig.js +1 -1
- package/views/3d/interactive/analysisTools/slice/sliceToolUtils.js +1 -1
- package/views/3d/interactive/editingTools/settings.js +1 -1
- package/views/3d/interactive/editingTools/transformGraphic/ExtentTransformTool.js +1 -1
- package/views/3d/interactive/graphics/Slice/SliceController.js +1 -1
- package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DTool.js +1 -1
- package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DView.js +1 -1
- package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DView.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/LaserlineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementArrowVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/SlicePlaneVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/VerticesVisualElement.js +1 -1
- package/views/3d/layers/BuildingSceneLayerView3D.js +1 -1
- package/views/3d/layers/DynamicLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/PointCloudLayerView3D.js +1 -1
- package/views/3d/layers/VectorTileLayerView3D.js +1 -1
- package/views/3d/layers/analyses/AreaMeasurement3D/AreaMeasurementView3D.js +1 -1
- package/views/3d/layers/analyses/AreaMeasurement3D/support/AreaMeasurementPathHelper.js +1 -1
- package/views/3d/layers/analyses/AreaMeasurement3D/support/AreaMeasurementVisualization.js +1 -1
- package/views/3d/layers/analyses/DirectLineMeasurement3D/DirectLineMeasurementView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/ElevationAligners.js +1 -1
- package/views/3d/layers/graphics/ElevationQuery.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLodInstanceGraphicLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbol.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DWebStyleSymbol.js +1 -1
- package/views/3d/layers/graphics/Labeler.js +1 -1
- package/views/3d/layers/graphics/Loadable.js +1 -1
- package/views/3d/layers/graphics/ObjectResourceCache.js +1 -1
- package/views/3d/layers/graphics/elevationAlignmentUtils.js +1 -1
- package/views/3d/layers/graphics/graphicUtils.js +1 -1
- package/views/3d/layers/graphics/labelPlacement.js +1 -1
- package/views/3d/layers/graphics/pointUtils.js +1 -1
- package/views/3d/layers/i3s/I3SAttributeOverrides.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/layers/i3s/I3SStreamDataController.js +1 -1
- package/views/3d/layers/i3s/PointRenderer.js +1 -1
- package/views/3d/layers/support/FastSymbolUpdates.js +1 -1
- package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
- package/views/3d/layers/support/patternUtils.js +1 -1
- package/views/3d/state/GoToOperation.js +1 -1
- package/views/3d/state/ViewStateManager.js +1 -1
- package/views/3d/support/LaserLineRenderer.js +1 -1
- package/views/3d/support/SharedSymbolResources.js +1 -1
- package/views/3d/support/StreamDataLoader.js +1 -1
- package/views/3d/support/StreamTextureCollection.js +5 -0
- package/views/3d/support/TextureCollection.js +1 -1
- package/views/3d/support/debugFlags.js +1 -1
- package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/StableSurfaceCenter.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/terrain/OverlayRenderTarget.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/Tile.js +1 -1
- package/views/3d/webgl-engine/Stage.js +1 -1
- package/views/3d/webgl-engine/core/material/RenderTexture.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +13 -12
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Reprojection.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +10 -3
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
- package/views/3d/webgl-engine/lib/Camera.js +1 -1
- package/views/3d/webgl-engine/lib/GLMaterialRepository.js +1 -1
- package/views/3d/webgl-engine/lib/GLMaterialTexture.js +1 -1
- package/views/3d/webgl-engine/lib/GLMaterials.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/ModelDirtySet.js +1 -1
- package/views/3d/webgl-engine/lib/Object3D.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/SmaaRenderPass.js +1 -1
- package/views/3d/webgl-engine/lib/TextTexture.js +1 -1
- package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
- package/views/3d/webgl-engine/lib/Texture.js +1 -1
- package/views/3d/webgl-engine/lib/TextureRepository.js +1 -1
- package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodComponentData.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodResources.js +1 -1
- package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/WaterGLMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/WaterMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
- package/views/3d/webgl-engine/parts/Model.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/LayerViewManager.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/ToolViewManager.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
- package/views/support/AllocationTracer.js +1 -1
- package/views/support/DefaultsFromMap.js +1 -1
- package/views/support/QueueProcessor.js +1 -1
- package/views/webgl/capabilities/load.js +1 -1
- package/webscene/Slide.js +1 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
- package/widgets/BuildingExplorer/support/layerUtils.js +1 -1
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Feature/FeatureViewModel.js +1 -1
- package/widgets/Home/HomeViewModel.js +1 -1
- package/widgets/Locate/LocateViewModel.js +1 -1
- package/widgets/Popup/PopupViewModel.js +1 -1
- package/widgets/Search/SearchViewModel.js +1 -1
- package/widgets/Search.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Slice/SliceViewModel.js +1 -1
- package/widgets/TimeSlider/TimeSliderViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/0283801d442984997abe.js +0 -1
- package/assets/esri/core/workers/chunks/0419e14a520b8fcf3e7a.js +0 -1
- package/assets/esri/core/workers/chunks/05318446b6a40caea361.js +0 -1
- package/assets/esri/core/workers/chunks/09e714d4381649348ac9.js +0 -1
- package/assets/esri/core/workers/chunks/0cecd668b9d5d3f83293.js +0 -1
- package/assets/esri/core/workers/chunks/13a73a88efd4f464173e.js +0 -1
- package/assets/esri/core/workers/chunks/1576727e8174d672555b.js +0 -1
- package/assets/esri/core/workers/chunks/1a3cbeb0a53d03a51dad.js +0 -1
- package/assets/esri/core/workers/chunks/1b8524b617bfc6fe422c.js +0 -1
- package/assets/esri/core/workers/chunks/1dc1d750046912ff6cef.js +0 -1
- package/assets/esri/core/workers/chunks/21fa174c114640be5e40.js +0 -1
- package/assets/esri/core/workers/chunks/2a3f6e56079620421a02.js +0 -1
- package/assets/esri/core/workers/chunks/2a5bcc73e55986ad93fe.js +0 -1
- package/assets/esri/core/workers/chunks/2a6f2e3d639aae491171.js +0 -1
- package/assets/esri/core/workers/chunks/2c17d1bad17bcee53f7d.js +0 -1
- package/assets/esri/core/workers/chunks/2cea27a0d07aa9a88ad4.js +0 -1
- package/assets/esri/core/workers/chunks/2e193d97d199b29b00c2.js +0 -1
- package/assets/esri/core/workers/chunks/2eb41fdf0d0a3b0c3232.js +0 -1
- package/assets/esri/core/workers/chunks/2f09ea639ca5d1d6ca7e.js +0 -1
- package/assets/esri/core/workers/chunks/2fb847ab1440bd1bdf15.js +0 -1
- package/assets/esri/core/workers/chunks/402d22ebbae608760b4f.js +0 -1
- package/assets/esri/core/workers/chunks/44daef7f0cbc6f6af09f.js +0 -1
- package/assets/esri/core/workers/chunks/46899156159e398c693f.js +0 -1
- package/assets/esri/core/workers/chunks/46bf8921db25845c63c0.js +0 -1
- package/assets/esri/core/workers/chunks/4eb23554e375350f73b5.js +0 -1
- package/assets/esri/core/workers/chunks/551917be63a513dfa4de.js +0 -1
- package/assets/esri/core/workers/chunks/564f6f5484bcb13ebb2b.js +0 -1
- package/assets/esri/core/workers/chunks/61df67ae47b7fb5875d9.js +0 -1
- package/assets/esri/core/workers/chunks/62642a8fc7bafe339984.js +0 -1
- package/assets/esri/core/workers/chunks/6304f4e53027df04eb8f.js +0 -1
- package/assets/esri/core/workers/chunks/6331987617ad166ea098.js +0 -1
- package/assets/esri/core/workers/chunks/6b13fcbc71c0088d317e.js +0 -1
- package/assets/esri/core/workers/chunks/6f7a6841e7269d2764ad.js +0 -1
- package/assets/esri/core/workers/chunks/70110efd2de23d9a5263.js +0 -1
- package/assets/esri/core/workers/chunks/7eae3f0588cde44fce39.js +0 -1
- package/assets/esri/core/workers/chunks/80d3c7a429c6412f1a8d.js +0 -1
- package/assets/esri/core/workers/chunks/80deebdf54bea04a0889.js +0 -1
- package/assets/esri/core/workers/chunks/81aa5fe7dcb4fdeb0974.js +0 -1
- package/assets/esri/core/workers/chunks/840d08b41913cad4df89.js +0 -1
- package/assets/esri/core/workers/chunks/85d154aeb511c5d70bb1.js +0 -1
- package/assets/esri/core/workers/chunks/8681e99e2bc9ece61c43.js +0 -1
- package/assets/esri/core/workers/chunks/8e5ef967f6518f4c93b1.js +0 -1
- package/assets/esri/core/workers/chunks/8edd7f70c8b95c34125c.js +0 -1
- package/assets/esri/core/workers/chunks/9044a7b90a53312b6392.js +0 -1
- package/assets/esri/core/workers/chunks/905b4dfc1ce57a225fa4.js +0 -1
- package/assets/esri/core/workers/chunks/945f90b31ebfae623ea0.js +0 -1
- package/assets/esri/core/workers/chunks/9943fd69b67cd1871d68.js +0 -1
- package/assets/esri/core/workers/chunks/9ad91c23480ffb656030.js +0 -1
- package/assets/esri/core/workers/chunks/9d103681372ab01a4147.js +0 -1
- package/assets/esri/core/workers/chunks/9d3230f59b4c4d1b2713.js +0 -1
- package/assets/esri/core/workers/chunks/9db75bc0980d16b730a1.js +0 -1
- package/assets/esri/core/workers/chunks/a0659b8bdc067da7badd.js +0 -1
- package/assets/esri/core/workers/chunks/a480ee9a994410177961.js +0 -1
- package/assets/esri/core/workers/chunks/a9b279975d7df0f295d7.js +0 -1
- package/assets/esri/core/workers/chunks/aa3abaa5ad4a5a3bcb84.js +0 -1
- package/assets/esri/core/workers/chunks/aa8e607f908297786675.js +0 -1
- package/assets/esri/core/workers/chunks/ab5a302b5f62d38293f9.js +0 -1
- package/assets/esri/core/workers/chunks/abd6a84396e0eb3f01ad.js +0 -1
- package/assets/esri/core/workers/chunks/abe9f8516b03a3fb0477.js +0 -1
- package/assets/esri/core/workers/chunks/aff6aa5c7f75f8e052d9.js +0 -1
- package/assets/esri/core/workers/chunks/b601cc5304b132536239.js +0 -1
- package/assets/esri/core/workers/chunks/b85f614ddbddd3c3007e.js +0 -1
- package/assets/esri/core/workers/chunks/b944f4ab25a691b3e611.js +0 -1
- package/assets/esri/core/workers/chunks/bbdacddb61e651ca0098.js +0 -1
- package/assets/esri/core/workers/chunks/c2fa728e805637a1783e.js +0 -1
- package/assets/esri/core/workers/chunks/c901f5f85d962254fc2c.js +0 -1
- package/assets/esri/core/workers/chunks/ca173b908d89a4e334f6.js +0 -1
- package/assets/esri/core/workers/chunks/cc2ef3bfa1f614d7452c.js +0 -1
- package/assets/esri/core/workers/chunks/cdb32a9ac9f5804c4212.js +0 -1
- package/assets/esri/core/workers/chunks/ce9a4997973da80141a5.js +0 -1
- package/assets/esri/core/workers/chunks/d0674b50a358d3bb9db2.js +0 -1
- package/assets/esri/core/workers/chunks/d18b7b4b3b9bea7204b0.js +0 -1
- package/assets/esri/core/workers/chunks/d2ce983f7babdf18a0ed.js +0 -1
- package/assets/esri/core/workers/chunks/d38a0d867dc6cecdc551.js +0 -1
- package/assets/esri/core/workers/chunks/e39ca33e9e463c1d6060.js +0 -1
- package/assets/esri/core/workers/chunks/e471d103205018a5cf7f.js +0 -1
- package/assets/esri/core/workers/chunks/e542fb044fc96f7e8af2.js +0 -1
- package/assets/esri/core/workers/chunks/e94e00a28591337b2def.js +0 -1
- package/assets/esri/core/workers/chunks/eb2709ccbc001f42ac1b.js +0 -1
- package/assets/esri/core/workers/chunks/f905511ca5f9b59fc17f.js +0 -1
- package/assets/esri/core/workers/chunks/f910e80dd87727af5184.js +0 -1
- package/assets/esri/core/workers/chunks/f9300a24305b0af1d227.js +0 -1
- package/assets/esri/core/workers/chunks/fa1e1ac5b3ef7bdf8a78.js +0 -1
- package/assets/esri/core/workers/chunks/fce76a84c7d25d8d47e8.js +0 -1
- package/assets/esri/core/workers/chunks/fef4f97fbe861a1b60e8.js +0 -1
- package/layers/AreaMeasurementLayer.d.ts +0 -4
- package/layers/DirectLineMeasurementLayer.d.ts +0 -4
- package/symbols/support/symbolPreview.d.ts +0 -4
- package/symbols/support/symbolPreview.js +0 -5
- package/views/3d/layers/AreaMeasurementLayerView3D.d.ts +0 -4
- package/views/3d/layers/DirectLineMeasurementLayerView3D.d.ts +0 -4
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3389,4889],{28263:(e,t,r)=>{r.d(t,{E:()=>s});class o{constructor(e={}){this._options=e}toQueryParams(e){if(!e)return null;const t=e.toJSON(),r={};return Object.keys(t).forEach((e=>{const o=this._options[e];if(o){const s="boolean"!=typeof o&&o.name?o.name:e,i="boolean"!=typeof o&&o.getter?o.getter(t):t[e];null!=i&&(r[s]=(e=>{if(!Array.isArray(e))return!1;const[t]=e;return"number"==typeof t||"string"==typeof t})(i)?i.join(","):"object"==typeof i?JSON.stringify(i):i)}else r[e]=t[e]}),this),r}}function s(e){return new o(e)}},66577:(e,t,r)=>{r.d(t,{qM:()=>u});var o=r(75215),s=r(6570),i=r(9361),n=r(65091),a=r(13473),l=r(17332),p=r(58901);r(82971),r(86973),r(33955);const u={base:i.Z,key:"type",typeMap:{extent:s.Z,multipoint:n.Z,point:a.Z,polyline:p.Z,polygon:l.Z}};(0,o.N7)(u)},33955:(e,t,r)=>{r.d(t,{im:()=>f,q9:()=>v,Ji:()=>h,YX:()=>u,aW:()=>c,wp:()=>y,oU:()=>m,l9:()=>d});var o=r(70586),s=r(6570),i=r(9361),n=r(65091),a=r(13473),l=r(17332),p=r(58901);function u(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function c(e){return void 0!==e.points}function y(e){return void 0!==e.x&&void 0!==e.y}function d(e){return void 0!==e.paths}function m(e){return void 0!==e.rings}function f(e){return(0,o.Wi)(e)?null:e instanceof i.Z?e:y(e)?a.Z.fromJSON(e):d(e)?p.Z.fromJSON(e):m(e)?l.Z.fromJSON(e):c(e)?n.Z.fromJSON(e):u(e)?s.Z.fromJSON(e):null}function h(e){return e?y(e)?"esriGeometryPoint":d(e)?"esriGeometryPolyline":m(e)?"esriGeometryPolygon":u(e)?"esriGeometryEnvelope":c(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:a.Z,esriGeometryPolyline:p.Z,esriGeometryPolygon:l.Z,esriGeometryEnvelope:s.Z,esriGeometryMultipoint:n.Z};function v(e){return e&&g[e]||null}},86973:(e,t,r)=>{r.d(t,{Mk:()=>s,P$:()=>i});var o=r(35454);const s=(0,o.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),i=(0,o.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},5226:(e,t,r)=>{r.d(t,{et:()=>R,ef:()=>G,bI:()=>k,mT:()=>U,Wf:()=>B});var o=r(3172),s=r(20102),i=r(70586),n=r(78286),a=r(17452),l=r(11282),p=r(43697),u=r(10736),c=r(5600),y=(r(67676),r(80442),r(75215),r(52011)),d=r(22974),m=r(36030),f=r(35454);const h=(0,f.wY)()({esriCentimeters:"centimeters",esriDecimalDegrees:"decimal-degrees",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriPoints:"points",esriYards:"yards"}),g=((0,f.wY)()({esriNAUCentimeters:"centimeters",esriNAUDecimalDegrees:"decimal-degrees",esriNAUDecimeters:"decimeters",esriNAUFeet:"feet",esriNAUInches:"inches",esriNAUKilometers:"kilometers",esriNAUMeters:"meters",esriNAUMiles:"miles",esriNAUMillimeters:"millimeters",esriNAUNauticalMiles:"nautical-miles",esriNAUPoints:"points",esriNAUYards:"yards"}),(0,f.wY)()({esriDOTComplete:"complete",esriDOTCompleteNoEvents:"complete-no-events",esriDOTInstructionsOnly:"instructions-only",esriDOTStandard:"standard",esriDOTSummaryOnly:"summary-only"}),(0,f.wY)()({esriNAOutputLineNone:"none",esriNAOutputLineStraight:"straight",esriNAOutputLineTrueShape:"true-shape",esriNAOutputLineTrueShapeWithMeasure:"true-shape-with-measure"}),(0,f.wY)()({esriNAOutputPolygonNone:"none",esriNAOutputPolygonSimplified:"simplified",esriNAOutputPolygonDetailed:"detailed"}),(0,f.wY)()({esriNFSBAllowBacktrack:"allow-backtrack",esriNFSBAtDeadEndsOnly:"at-dead-ends-only",esriNFSBNoBacktrack:"no-backtrack",esriNFSBAtDeadEndsAndIntersections:"at-dead-ends-and-intersections"})),v=((0,f.wY)()({esriNATravelDirectionFromFacility:"from-facility",esriNATravelDirectionToFacility:"to-facility"}),(0,f.wY)()({esriNATimeOfDayNotUsed:"not-used",esriNATimeOfDayUseAsStartTime:"start",esriNATimeOfDayUseAsEndTime:"end"}),(0,f.wY)()({AUTOMOBILE:"automobile",TRUCK:"truck",WALK:"walk",OTHER:"other"}));var b;let N=b=class extends u.wq{constructor(e){super(e),this.attributeParameterValues=null,this.description=null,this.distanceAttributeName=null,this.id=null,this.impedanceAttributeName=null,this.name=null,this.restrictionAttributeNames=null,this.simplificationTolerance=null,this.simplificationToleranceUnits=null,this.timeAttributeName=null,this.type=null,this.useHierarchy=null,this.uturnAtJunctions=null}clone(){return new b((0,d.d9)({attributeParameterValues:this.attributeParameterValues,description:this.description,distanceAttributeName:this.distanceAttributeName,id:this.id,impedanceAttributeName:this.impedanceAttributeName,name:this.name,restrictionAttributeNames:this.restrictionAttributeNames,simplificationTolerance:this.simplificationTolerance,simplificationToleranceUnits:this.simplificationToleranceUnits,timeAttributeName:this.timeAttributeName,type:this.type,useHierarchy:this.useHierarchy,uturnAtJunctions:this.uturnAtJunctions}))}};(0,p._)([(0,c.Cb)({type:[Object],json:{write:!0}})],N.prototype,"attributeParameterValues",void 0),(0,p._)([(0,c.Cb)({type:String,json:{write:!0}})],N.prototype,"description",void 0),(0,p._)([(0,c.Cb)({type:String,json:{write:!0}})],N.prototype,"distanceAttributeName",void 0),(0,p._)([(0,c.Cb)({type:String,json:{write:!0}})],N.prototype,"id",void 0),(0,p._)([(0,c.Cb)({type:String,json:{write:!0}})],N.prototype,"impedanceAttributeName",void 0),(0,p._)([(0,c.Cb)({type:String,json:{write:!0}})],N.prototype,"name",void 0),(0,p._)([(0,c.Cb)({type:[String],json:{write:!0}})],N.prototype,"restrictionAttributeNames",void 0),(0,p._)([(0,c.Cb)({type:Number,json:{write:!0}})],N.prototype,"simplificationTolerance",void 0),(0,p._)([(0,m.J)(h)],N.prototype,"simplificationToleranceUnits",void 0),(0,p._)([(0,c.Cb)({type:String,json:{write:!0}})],N.prototype,"timeAttributeName",void 0),(0,p._)([(0,m.J)(v)],N.prototype,"type",void 0),(0,p._)([(0,c.Cb)({type:Boolean,json:{write:!0}})],N.prototype,"useHierarchy",void 0),(0,p._)([(0,m.J)(g)],N.prototype,"uturnAtJunctions",void 0),N=b=(0,p._)([(0,y.j)("esri.rest.support.TravelMode")],N);const T=N;let _=class extends u.wq{constructor(e){super(e),this.currentVersion=null,this.defaultTravelMode=null,this.directionsLanguage=null,this.directionsSupportedLanguages=null,this.directionsTimeAttribute=null,this.hasZ=null,this.impedance=null,this.networkDataset=null,this.supportedTravelModes=null}};(0,p._)([(0,c.Cb)()],_.prototype,"currentVersion",void 0),(0,p._)([(0,c.Cb)()],_.prototype,"defaultTravelMode",void 0),(0,p._)([(0,c.Cb)()],_.prototype,"directionsLanguage",void 0),(0,p._)([(0,c.Cb)()],_.prototype,"directionsSupportedLanguages",void 0),(0,p._)([(0,c.Cb)()],_.prototype,"directionsTimeAttribute",void 0),(0,p._)([(0,c.Cb)()],_.prototype,"hasZ",void 0),(0,p._)([(0,c.Cb)()],_.prototype,"impedance",void 0),(0,p._)([(0,c.Cb)()],_.prototype,"networkDataset",void 0),(0,p._)([(0,c.Cb)({type:[T]})],_.prototype,"supportedTravelModes",void 0),_=(0,p._)([(0,y.j)("esri.rest.support.NetworkServiceDescription")],_);const w=_;var C=r(38171),A=r(71715),S=r(74889),M=r(79166),O=r(95642);let Z=class extends u.wq{constructor(e){super(e),this.directions=null,this.route=null,this.routeName=null,this.stops=null}};(0,p._)([(0,c.Cb)({type:O.Z,json:{write:!0}})],Z.prototype,"directions",void 0),(0,p._)([(0,c.Cb)({type:C.Z,json:{write:!0}})],Z.prototype,"route",void 0),(0,p._)([(0,c.Cb)({type:String,json:{write:!0}})],Z.prototype,"routeName",void 0),(0,p._)([(0,c.Cb)({type:[C.Z],json:{write:!0}})],Z.prototype,"stops",void 0),Z=(0,p._)([(0,y.j)("esri.rest.support.RouteResult")],Z);const j=Z;function x(e){return e&&S.default.fromJSON(e).features.map((e=>e))}let P=class extends u.wq{constructor(e){super(e),this.barriers=null,this.messages=null,this.pointBarriers=null,this.polylineBarriers=null,this.polygonBarriers=null,this.routeResults=null}readPointBarriers(e,t){return x(t.barriers||t.pointBarriers)}readPolylineBarriers(e){return x(e)}readPolygonBarriers(e){return x(e)}};(0,p._)([(0,c.Cb)({aliasOf:"pointBarriers"})],P.prototype,"barriers",void 0),(0,p._)([(0,c.Cb)({type:[M.Z]})],P.prototype,"messages",void 0),(0,p._)([(0,c.Cb)({type:[C.Z]})],P.prototype,"pointBarriers",void 0),(0,p._)([(0,A.r)("pointBarriers",["barriers","pointBarriers"])],P.prototype,"readPointBarriers",null),(0,p._)([(0,c.Cb)({type:[C.Z]})],P.prototype,"polylineBarriers",void 0),(0,p._)([(0,A.r)("polylineBarriers")],P.prototype,"readPolylineBarriers",null),(0,p._)([(0,c.Cb)({type:[C.Z]})],P.prototype,"polygonBarriers",void 0),(0,p._)([(0,A.r)("polygonBarriers")],P.prototype,"readPolygonBarriers",null),(0,p._)([(0,c.Cb)({type:[j]})],P.prototype,"routeResults",void 0),P=(0,p._)([(0,y.j)("esri.rest.support.RouteResultsContainer")],P);const J=P;function R(e,t,r,o){o[r]=[t.length,t.length+e.length],e.forEach((e=>{t.push(e.geometry)}))}function G(e,t){for(let r=0;r<t.length;r++){const o=e[t[r]];if(o&&o.length)for(const e of o)e.z=void 0}console.log("The remote Network Analysis service is powered by a network dataset which is not Z-aware.\nZ-coordinates of the input geometry are ignored.")}function U(e){const t=[],r=[],{directions:o=[],routes:{features:s=[],spatialReference:n=null}={},stops:{features:a=[],spatialReference:l=null}={},barriers:p,polygonBarriers:u,polylineBarriers:c,messages:y}=e.data,d="esri.tasks.RouteTask.NULL_ROUTE_NAME";let m,f,h=!0;const g=s&&n||a&&l||p&&p.spatialReference||u&&u.spatialReference||c&&c.spatialReference;o.forEach((e=>{t.push(m=e.routeName),r[m]={directions:e}})),s.forEach((e=>{-1===t.indexOf(m=e.attributes.Name)&&(t.push(m),r[m]={}),(0,i.pC)(e.geometry)&&(e.geometry.spatialReference=g),r[m].route=e})),a.forEach((e=>{f=e.attributes,-1===t.indexOf(m=f.RouteName||d)&&(t.push(m),r[m]={}),m!==d&&(h=!1),(0,i.pC)(e.geometry)&&(e.geometry.spatialReference=g),null==r[m].stops&&(r[m].stops=[]),r[m].stops.push(e)})),a.length>0&&!0===h&&(r[t[0]].stops=r[d].stops,delete r[d],t.splice(t.indexOf(d),1));const v=t.map((e=>(r[e].routeName=e===d?null:e,r[e])));return J.fromJSON({routeResults:v,pointBarriers:p,polygonBarriers:u,polylineBarriers:c,messages:y})}function B(e,t){for(let r=0;r<t.length;r++){const o=e[t[r]];if(o&&o.length)for(const e of o)if((0,i.pC)(e)&&e.hasZ)return!0}return!1}async function k(e,t,r){if(!e)throw new s.Z("network-service:missing-url","Url to Network service is missing");const i=(0,l.lA)({f:"json",token:t},r),{data:p}=await(0,o.default)(e,i);p.supportedTravelModes||(p.supportedTravelModes=[]);for(let e=0;e<p.supportedTravelModes.length;e++)p.supportedTravelModes[e].id||(p.supportedTravelModes[e].id=p.supportedTravelModes[e].itemId);const u=p.currentVersion>=10.4?async function(e,t,r){try{const s=(0,l.lA)({f:"json",token:t},r),i=(0,a.Qj)(e)+"/retrieveTravelModes",{data:{supportedTravelModes:n,defaultTravelMode:p}}=await(0,o.default)(i,s);return{supportedTravelModes:n,defaultTravelMode:p}}catch(e){throw new s.Z("network-service:retrieveTravelModes","Could not get to the NAServer's retrieveTravelModes.",{error:e})}}(e,t,r):async function(e,t){var r,s;const i=(0,l.lA)({f:"json"},t),{data:p}=await(0,o.default)(e.replace(/\/rest\/.*$/i,"/info"),i);if(!p||!p.owningSystemUrl)return{supportedTravelModes:[],defaultTravelMode:null};const{owningSystemUrl:u}=p,c=(0,a.Qj)(u)+"/sharing/rest/portals/self",{data:y}=await(0,o.default)(c,i),d=(0,n.hS)("helperServices.routingUtilities.url",y);if(!d)return{supportedTravelModes:[],defaultTravelMode:null};const m=(0,l.en)(u),f=/\/solve$/i.test(m.path)?"Route":/\/solveclosestfacility$/i.test(m.path)?"ClosestFacility":"ServiceAreas",h=(0,l.lA)({f:"json",serviceName:f},t),g=(0,a.Qj)(d)+"/GetTravelModes/execute",v=await(0,o.default)(g,h),b=[];let N=null;if(null!=v&&null!=(r=v.data)&&null!=(s=r.results)&&s.length){const e=v.data.results;for(const t of e){var T;if("supportedTravelModes"===t.paramName){if(null!=(T=t.value)&&T.features)for(const{attributes:e}of t.value.features)if(e){const t=JSON.parse(e.TravelMode);b.push(t)}}else"defaultTravelMode"===t.paramName&&(N=t.value)}}return{supportedTravelModes:b,defaultTravelMode:N}}(e,r),{defaultTravelMode:c,supportedTravelModes:y}=await u;return p.defaultTravelMode=c,p.supportedTravelModes=y,w.fromJSON(p)}},95642:(e,t,r)=>{r.d(t,{Z:()=>g});var o=r(43697),s=(r(66577),r(70586)),i=r(5600),n=(r(67676),r(80442),r(75215),r(71715)),a=r(52011),l=r(38171);let p=class extends l.Z{};(0,o._)([(0,i.Cb)()],p.prototype,"events",void 0),(0,o._)([(0,i.Cb)()],p.prototype,"strings",void 0),p=(0,o._)([(0,a.j)("esri.rest.support.DirectionsFeature")],p);const u=p;var c=r(74889),y=r(6570),d=r(82971),m=r(58901),f=r(13473);let h=class extends c.default{constructor(e){super(e),this.extent=null,this.features=null,this.geometryType="polyline",this.routeId=null,this.routeName=null,this.totalDriveTime=null,this.totalLength=null,this.totalTime=null}readFeatures(e,t){var r;if(!e)return[];const o=null!=(r=t.summary.envelope.spatialReference)?r:t.spatialReference,s=o&&d.Z.fromJSON(o);return e.map((e=>{var t,r;const o=this._decompressGeometry(e.compressedGeometry),i=new m.Z({...o,spatialReference:s}),n=null!=(t=null==(r=e.events)?void 0:r.map((e=>{const{arriveTimeUTC:t,ETA:r,point:{x:o,y:i,z:n},strings:a}=e;return new u({geometry:new f.Z({x:o,y:i,z:n,hasZ:void 0!==n,spatialReference:s}),attributes:{ETA:r,arriveTimeUTC:t},strings:a})})))?t:[];return new u({attributes:e.attributes,events:n,geometry:i,strings:e.strings})}))}get mergedGeometry(){if(!this.features)return null;const e=this.features.map((({geometry:e})=>(0,s.Wg)(e))),t=this.get("extent.spatialReference");return this._mergePolylinesToSinglePath(e,t)}get strings(){return this.features.map((({strings:e})=>e))}_decompressGeometry(e){let t=0,r=0,o=0,s=0;const i=[];let n,a,l,p,u,c,y,d,m=0,f=0,h=0;if(u=e.match(/((\+|\-)[^\+\-\|]+|\|)/g),u||(u=[]),0===parseInt(u[m],32)){m=2;const e=parseInt(u[m],32);m++,c=parseInt(u[m],32),m++,1&e&&(f=u.indexOf("|")+1,y=parseInt(u[f],32),f++),2&e&&(h=u.indexOf("|",f)+1,d=parseInt(u[h],32),h++)}else c=parseInt(u[m],32),m++;for(;m<u.length&&"|"!==u[m];){n=parseInt(u[m],32)+t,m++,t=n,a=parseInt(u[m],32)+r,m++,r=a;const e=[n/c,a/c];f&&(p=parseInt(u[f],32)+o,f++,o=p,e.push(p/y)),h&&(l=parseInt(u[h],32)+s,h++,s=l,e.push(l/d)),i.push(e)}return{paths:[i],hasZ:f>0,hasM:h>0}}_mergePolylinesToSinglePath(e,t){if(0===e.length)return new m.Z({spatialReference:t});const r=[];for(const t of e)for(const e of t.paths)r.push(...e);const o=[];r.forEach(((e,t)=>{0!==t&&e[0]===r[t-1][0]&&e[1]===r[t-1][1]||o.push(e)}));const{hasM:s,hasZ:i}=e[0];return new m.Z({hasM:s,hasZ:i,paths:[o],spatialReference:t})}};(0,o._)([(0,i.Cb)({type:y.Z,json:{read:{source:"summary.envelope"}}})],h.prototype,"extent",void 0),(0,o._)([(0,i.Cb)()],h.prototype,"features",void 0),(0,o._)([(0,n.r)("features")],h.prototype,"readFeatures",null),(0,o._)([(0,i.Cb)()],h.prototype,"geometryType",void 0),(0,o._)([(0,i.Cb)({readOnly:!0})],h.prototype,"mergedGeometry",null),(0,o._)([(0,i.Cb)()],h.prototype,"routeId",void 0),(0,o._)([(0,i.Cb)()],h.prototype,"routeName",void 0),(0,o._)([(0,i.Cb)({value:null,readOnly:!0})],h.prototype,"strings",null),(0,o._)([(0,i.Cb)({json:{read:{source:"summary.totalDriveTime"}}})],h.prototype,"totalDriveTime",void 0),(0,o._)([(0,i.Cb)({json:{read:{source:"summary.totalLength"}}})],h.prototype,"totalLength",void 0),(0,o._)([(0,i.Cb)({json:{read:{source:"summary.totalTime"}}})],h.prototype,"totalTime",void 0),h=(0,o._)([(0,a.j)("esri.rest.support.DirectionsFeatureSet")],h);const g=h},74889:(e,t,r)=>{r.r(t),r.d(t,{default:()=>v});var o=r(43697),s=r(66577),i=r(38171),n=r(35454),a=r(10736),l=r(70586),p=r(5600),u=(r(67676),r(80442),r(75215),r(71715)),c=r(52011),y=r(30556),d=r(82971),m=r(33955),f=r(1231);const h=new n.Xn({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let g=class extends a.wq{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const r=d.Z.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const s=e[t],n=i.Z.fromJSON(s),a=s.geometry&&s.geometry.spatialReference;(0,l.pC)(n.geometry)&&!a&&(n.geometry.spatialReference=r),o.push(n)}return o}writeGeometryType(e,t,r,o){if(e)return void h.write(e,t,r,o);const{features:s}=this;if(s)for(const e of s)if(e&&(0,l.pC)(e.geometry))return void h.write(e.geometry.type,t,r,o)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,o=(0,m.im)(e);return!r&&t.spatialReference&&(o.spatialReference=d.Z.fromJSON(t.spatialReference)),o}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&(0,l.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const o=t.features[r];if(o.geometry){const t=e&&e[r];o.geometry=t&&t.toJSON()||o.geometry}}return t}quantize(e){const{scale:[t,r],translate:[o,s]}=e,i=this.features,n=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-o)/t)),(e=>Math.round((s-e)/r)));for(let e=0,t=i.length;e<t;e++)n((0,l.Wg)(i[e].geometry))||(i.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[o,s],scale:[i,n]}=r,a=this._getHydrationFunction(e,(e=>e*i+o),(e=>s-e*n));for(const{geometry:e}of t)(0,l.pC)(e)&&a(e);return this.transform=null,this}_quantizePoints(e,t,r){let o,s;const i=[];for(let n=0,a=e.length;n<a;n++){const a=e[n];if(n>0){const e=t(a[0]),n=r(a[1]);e===o&&n===s||(i.push([e-o,n-s]),o=e,s=n)}else o=t(a[0]),s=r(a[1]),i.push([o,s])}return i.length>0?i:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const o=(0,m.oU)(e)?e.rings:e.paths,s=[];for(let e=0,i=o.length;e<i;e++){const i=o[e],n=this._quantizePoints(i,t,r);n&&s.push(n)}return s.length>0?((0,m.oU)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const o=this._quantizePoints(e.points,t,r);return o.length>0?(e.points=o,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y)}:"polyline"===e||"polygon"===e?e=>{const o=(0,m.oU)(e)?e.rings:e.paths;let s,i;for(let e=0,n=o.length;e<n;e++){const n=o[e];for(let e=0,o=n.length;e<o;e++){const o=n[e];e>0?(s+=o[0],i+=o[1]):(s=o[0],i=o[1]),o[0]=t(s),o[1]=r(i)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax)}:"multipoint"===e?e=>{const o=e.points;let s,i;for(let e=0,n=o.length;e<n;e++){const n=o[e];e>0?(s+=n[0],i+=n[1]):(s=n[0],i=n[1]),n[0]=t(s),n[1]=r(i)}}:void 0}};(0,o._)([(0,p.Cb)({type:String,json:{write:!0}})],g.prototype,"displayFieldName",void 0),(0,o._)([(0,p.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],g.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,p.Cb)({type:[i.Z],json:{write:!0}})],g.prototype,"features",void 0),(0,o._)([(0,u.r)("features")],g.prototype,"readFeatures",null),(0,o._)([(0,p.Cb)({type:[f.Z],json:{write:!0}})],g.prototype,"fields",void 0),(0,o._)([(0,p.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:h.read}}})],g.prototype,"geometryType",void 0),(0,o._)([(0,y.c)("geometryType")],g.prototype,"writeGeometryType",null),(0,o._)([(0,p.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],g.prototype,"hasM",void 0),(0,o._)([(0,p.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],g.prototype,"hasZ",void 0),(0,o._)([(0,p.Cb)({types:s.qM,json:{write:!0}})],g.prototype,"queryGeometry",void 0),(0,o._)([(0,u.r)("queryGeometry")],g.prototype,"readQueryGeometry",null),(0,o._)([(0,p.Cb)({type:d.Z,json:{write:!0}})],g.prototype,"spatialReference",void 0),(0,o._)([(0,y.c)("spatialReference")],g.prototype,"writeSpatialReference",null),(0,o._)([(0,p.Cb)({json:{write:!0}})],g.prototype,"transform",void 0),g=(0,o._)([(0,c.j)("esri.rest.support.FeatureSet")],g),g.prototype.toJSON.isDefaultToJSON=!0,g||(g={});const v=g},51623:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(43697),s=r(35454),i=r(10736),n=r(5600),a=(r(67676),r(80442),r(75215),r(52011));const l=new s.Xn({esriJobMessageTypeInformative:"informative",esriJobMessageTypeProcessDefinition:"process-definition",esriJobMessageTypeProcessStart:"process-start",esriJobMessageTypeProcessStop:"process-stop",esriJobMessageTypeWarning:"warning",esriJobMessageTypeError:"error",esriJobMessageTypeEmpty:"empty",esriJobMessageTypeAbort:"abort"});let p=class extends i.wq{constructor(e){super(e),this.description=null,this.type=null}};(0,o._)([(0,n.Cb)({type:String,json:{write:!0}})],p.prototype,"description",void 0),(0,o._)([(0,n.Cb)({type:String,json:{read:l.read,write:l.write}})],p.prototype,"type",void 0),p=(0,o._)([(0,a.j)("esri.rest.support.GPMessage")],p);const u=p},79166:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(43697),s=r(35454),i=r(5600),n=(r(67676),r(80442),r(75215),r(52011)),a=r(51623);const l=new s.Xn({0:"informative",1:"process-definition",2:"process-start",3:"process-stop",50:"warning",100:"error",101:"empty",200:"abort"});let p=class extends a.Z{constructor(e){super(e),this.type=null}};(0,o._)([(0,i.Cb)({type:String,json:{read:l.read,write:l.write}})],p.prototype,"type",void 0),p=(0,o._)([(0,n.j)("esri.rest.support.NAMessage")],p);const u=p},11282:(e,t,r)=>{r.d(t,{lA:()=>s,cv:()=>n,en:()=>i});var o=r(17452);function s(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function i(e){return"string"==typeof e?(0,o.mN)(e):e}function n(e,t,r){const o={};for(const s in e){if("declaredClass"===s)continue;const i=e[s];if(null!=i&&"function"!=typeof i)if(Array.isArray(i)){o[s]=[];for(let e=0;e<i.length;e++)o[s][e]=n(i[e])}else if("object"==typeof i)if(i.toJSON){const e=i.toJSON(r&&r[s]);o[s]=t?e:JSON.stringify(e)}else o[s]=t?i:JSON.stringify(i);else o[s]=i}return o}},59633:(e,t,r)=>{r.d(t,{Z:()=>p});var o=r(43697),s=r(15923),i=r(17452),n=r(5600),a=(r(67676),r(80442),r(75215),r(52011));let l=class extends s.Z{constructor(...e){super(...e),this.requestOptions=null,this.url=null}normalizeCtorArgs(e,t){return"string"!=typeof e?e:{url:e,...t}}get parsedUrl(){return this._parseUrl(this.url)}_parseUrl(e){return e?(0,i.mN)(e):null}_encode(e,t,r){const o={};for(const s in e){if("declaredClass"===s)continue;const i=e[s];if(null!=i&&"function"!=typeof i)if(Array.isArray(i)){o[s]=[];for(let e=0;e<i.length;e++)o[s][e]=this._encode(i[e])}else if("object"==typeof i)if(i.toJSON){const e=i.toJSON(r&&r[s]);o[s]=t?e:JSON.stringify(e)}else o[s]=t?i:JSON.stringify(i);else o[s]=i}return o}};(0,o._)([(0,n.Cb)({readOnly:!0})],l.prototype,"parsedUrl",null),(0,o._)([(0,n.Cb)()],l.prototype,"requestOptions",void 0),(0,o._)([(0,n.Cb)({type:String})],l.prototype,"url",void 0),l=(0,o._)([(0,a.j)("esri.tasks.Task")],l);const p=l}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4568,8511],{99880:(e,t,r)=>{r.d(t,{V:()=>l});var s=r(68773),n=(r(3172),r(20102)),i=r(92604),o=r(17452);const a=i.Z.getLogger("esri.assets");function l(e){if(!s.Z.assetsPath)throw a.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new n.Z("assets:path-not-set","config.assetsPath is not set");return(0,o.v_)(s.Z.assetsPath,e)}},25929:(e,t,r)=>{r.d(t,{f:()=>i,i:()=>d,p:()=>p,r:()=>a,t:()=>o,w:()=>l});var s=r(70586),n=r(17452);function i(e,t){const r=t&&t.url&&t.url.path;if(e&&r&&(e=(0,n.hF)(e,r,{preserveProtocolRelative:!0}),t.portalItem&&t.readResourcePaths)){const r=(0,n.PF)(e,t.portalItem.itemUrl);c.test(r)&&t.readResourcePaths.push(t.portalItem.resourceFromPath(r).path)}return h(e,t&&t.portal)}function o(e,t,r=0){if(!e)return e;!(0,n.YP)(e)&&t&&t.blockedRelativeUrls&&t.blockedRelativeUrls.push(e);let s=(0,n.hF)(e);if(t){const r=t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.rootPath||t.url&&t.url.path;if(r){const i=h(r,t.portal);s=(0,n.PF)(h(s,t.portal),i,i),s!==e&&t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.writtenUrls.push(s)}}return s=function(e,t){return t&&!t.isPortal&&t.urlKey&&t.customBaseUrl?(0,n.Ie)(e,`${t.urlKey}.${t.customBaseUrl}`,t.portalHostname):e}(s,t&&t.portal),(0,n.YP)(s)&&(s=(0,n.Fv)(s)),null!=t&&t.resources&&null!=t&&t.portalItem&&!(0,n.YP)(s)&&!(0,n.HK)(s)&&0===r&&t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(s)}),s}function a(e,t,r){return i(e,r)}function l(e,t,r,s){const n=o(e,s);void 0!==n&&(t[r]=n)}const u=/\/items\/([^\/]+)\/resources\//,c=/^\.\/resources\//;function d(e){const t=(0,s.pC)(e)?e.match(u):null;return(0,s.pC)(t)?t[1]:null}function h(e,t){if(!t||t.isPortal||!t.urlKey||!t.customBaseUrl)return e;const r=`${t.urlKey}.${t.customBaseUrl}`;return(0,n.D6)(n.Gd,`${n.Gd.scheme}://${r}`)?(0,n.Ie)(e,t.portalHostname,r):(0,n.Ie)(e,r,t.portalHostname)}const p=Object.freeze({__proto__:null,fromJSON:i,toJSON:o,read:a,write:l,itemIdFromResourceUrl:d})},3920:(e,t,r)=>{r.d(t,{r:()=>c,p:()=>u});var s=r(43697),n=r(15923),i=r(61247),o=r(5600),a=r(52011),l=r(89749);const u=e=>{let t=class extends e{destroy(){this.destroyed||(this.handles.destroy(),this.updatingHandles.destroy())}get handles(){return this._get("handles")||new i.Z}get updatingHandles(){return this._get("updatingHandles")||new l.t}};return(0,s._)([(0,o.Cb)({readOnly:!0})],t.prototype,"handles",null),(0,s._)([(0,o.Cb)({readOnly:!0})],t.prototype,"updatingHandles",null),t=(0,s._)([(0,a.j)("esri.core.HandleOwner")],t),t};let c=class extends(u(n.Z)){};c=(0,s._)([(0,a.j)("esri.core.HandleOwner")],c)},61247:(e,t,r)=>{r.d(t,{Z:()=>c});var s=r(43697),n=r(15923),i=r(81049),o=r(70586),a=r(5600),l=r(52011);let u=class extends n.Z{constructor(e){super(e),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(!this._isHandle(e)&&!Array.isArray(e)&&!i.Z.isCollection(e))return this;const r=this._getOrCreateGroup(t);return Array.isArray(e)||i.Z.isCollection(e)?e.forEach((e=>this._isHandle(e)&&r.push(e))):r.push(e),this.notifyChange("size"),this}forEach(e,t){if("function"==typeof e)this._groups.forEach((t=>t.forEach(e)));else{const r=this._getGroup(e);r&&t&&r.forEach(t)}}has(e){return this._groups.has(this._ensureGroupKey(e))}remove(e){if(Array.isArray(e)||i.Z.isCollection(e))return e.forEach(this.remove,this),this;if(!this.has(e))return this;const t=this._getGroup(e);for(let e=0;e<t.length;e++)t[e].remove();return this._deleteGroup(e),this.notifyChange("size"),this}removeAll(){return this._groups.forEach((e=>{for(let t=0;t<e.length;t++)e[t].remove()})),this._groups.clear(),this.notifyChange("size"),this}_isHandle(e){return e&&!!e.remove}_getOrCreateGroup(e){if(this.has(e))return this._getGroup(e);const t=[];return this._groups.set(this._ensureGroupKey(e),t),t}_getGroup(e){return(0,o.j0)(this._groups.get(this._ensureGroupKey(e)))}_deleteGroup(e){return this._groups.delete(this._ensureGroupKey(e))}_ensureGroupKey(e){return e||"_default_"}};(0,s._)([(0,a.Cb)({readOnly:!0})],u.prototype,"size",null),u=(0,s._)([(0,l.j)("esri.core.Handles")],u);const c=u},36030:(e,t,r)=>{r.d(t,{J:()=>i});var s=r(35454),n=r(5600);function i(e,t={}){var r;const i=e instanceof s.Xn?e:new s.Xn(e,t),o={type:null==(r=null==t?void 0:t.ignoreUnknown)||r?i.apiValues:String,readOnly:null==t?void 0:t.readOnly,json:{type:i.jsonValues,read:(null==t||!t.readOnly)&&{reader:i.read},write:{writer:i.write}}};return void 0!==(null==t?void 0:t.default)&&(o.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(o.json.name=t.name),(0,n.Cb)(o)}},17445:(e,t,r)=>{r.d(t,{Ym:()=>i}),r(91460);var s=r(70586),n=r(26258);function i(e,t,r={}){return function(e,t,r={},i){let o=null;const a=r.once?(e,r)=>{i(e)&&((0,s.hw)(o),t(e,r))}:(e,r)=>{i(e)&&t(e,r)};if(o=(0,n.aQ)(e,a,r.sync,r.equals),r.initial){const t=e();a(t,t)}return o}(e,t,r,o)}function o(e){return!0}r(87538)},67900:(e,t,r)=>{r.d(t,{gV:()=>x,En:()=>S,Z7:()=>T,c9:()=>k,_R:()=>C,qE:()=>M,cM:()=>E,hd:()=>c,ty:()=>I,Jo:()=>R,$C:()=>O}),r(80442);var s=r(35454),n=r(70586),i=r(24678),o=r(82971),a=r(68441),l=r(8744),u=r(58116);const c=39.37,d=a.sv.radius*Math.PI/200,h=/UNIT\[([^\]]+)\]\]$/i,p=u.Z,m=/UNIT\[([^\]]+)\]/i,f=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),y=(0,s.wY)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),g=e=>e*e,_=e=>e*e*e,v={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:g(.001)},"square-centimeters":{inBaseUnits:g(.01)},"square-decimeters":{inBaseUnits:g(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:g(1e3)},"square-inches":{inBaseUnits:g(.0254)},"square-feet":{inBaseUnits:g(.3048)},"square-yards":{inBaseUnits:g(.9144)},"square-miles":{inBaseUnits:g(1609.344)},"square-us-feet":{inBaseUnits:g(1200/3937)},acres:{inBaseUnits:.0015625*g(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*_(.001)},"cubic-centimeters":{inBaseUnits:1e3*_(.01)},"cubic-decimeters":{inBaseUnits:1e3*_(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*_(1e3)},"cubic-inches":{inBaseUnits:1e3*_(.0254)},"cubic-feet":{inBaseUnits:1e3*_(.3048)},"cubic-yards":{inBaseUnits:1e3*_(.9144)},"cubic-miles":{inBaseUnits:1e3*_(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},b=function(){const e={};for(const t in v)for(const r in v[t].units)e[r]=t;return e}();function w(e){const t=b[e];if(t)return t;throw new Error("unknown measure")}function P(e,t=null){return t=t||w(e),v[t].baseUnit===e}function S(e,t,r){if(t===r)return e;const s=w(t);if(s!==w(r))throw new Error("incompatible units");const n=P(t,s)?e:function(e,t,r){return e*v[r].units[t].inBaseUnits}(e,t,s);return P(r,s)?n:function(e,t,r){return e/v[r].units[t].inBaseUnits}(n,r,s)}function I(e,t,r){return S(e,t,"meters")/(r*Math.PI/180)}function O(e){return y.fromJSON(e.toLowerCase())||null}function C(e){if(e&&"object"==typeof e&&!(0,l.N$)(e))return 1;const t=k(e);return t>1e5?1:t}function E(e){return k(e)>=(e instanceof o.Z?(0,i.Iu)(e).metersPerDegree:1e5)?"meters":M(e)}function k(e,t=a.sv.metersPerDegree){return T(e,!0)||t}function T(e,t=!1){let r,s,n=null;if(null!=e&&("object"==typeof e?(r=e.wkid,s=e.wkt):"number"==typeof e?r=e:"string"==typeof e&&(s=e)),r){if((0,l.o$)(r))return a.yr.metersPerDegree;if((0,l.ME)(r))return a.Z1.metersPerDegree;n=p.values[p[r]],!n&&t&&f.has(r)&&(n=d)}else s&&(N(s)?n=U(h.exec(s),n):A(s)&&(n=U(m.exec(s),n)));return n}function U(e,t){return e&&e[1]?j(e[1]):t}function j(e){return parseFloat(e.split(",")[1])}function M(e){let t,r,s=null;if(null!=e&&("object"==typeof e?(t=e.wkid,r=e.wkt):"number"==typeof e?t=e:"string"==typeof e&&(r=e)),t)s=p.units[p[t]];else if(r){const e=N(r)?h:A(r)?m:null;if(e){const t=e.exec(r);t&&t[1]&&(s=function(e){const t=/[\\"\\']{1}([^\\"\\']+)/.exec(e);let r=t&&t[1];if(!r||-1===p.units.indexOf(r)){const t=j(e);r=null;const s=p.values;for(let e=0;e<s.length;++e)if(Math.abs(t-s[e])<1e-7){r=p.units[e];break}}return r}(t[1]))}}return(0,n.pC)(s)?O(s):null}function A(e){return/^GEOCCS/i.test(e)}function N(e){return/^PROJCS/i.test(e)}const F={esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"},G={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},x=(0,s.wY)()(F),R=(0,s.wY)()(G);(0,s.wY)()({...F,...G})},43050:(e,t,r)=>{r.d(t,{S1:()=>o,on:()=>d,OY:()=>c,cm:()=>l,N1:()=>a,LR:()=>u,tH:()=>h});var s=r(91460),n=(r(22974),r(95330));const i=/\?(\.|$)/g;function o(e,t,r,s){const n=Array.isArray(t)?t:t.indexOf(",")>-1?t.split(","):[t],o=function(e,t,r,s){return e.watch(t,r,s)}(e,t,r,s);for(const t of n){const s=t.trim().replace(i,"$1"),n=e.get(s);r.call(e,n,n,s,e)}return o}function a(e,t,r,s){return h(e,t,p,r,s)}function l(e,t,r,s){return h(e,t,m,r,s)}function u(e,t,r,s){return h(e,t,f,r,s)}function c(e,t,r,s){return h(e,t,y,r,s)}function d(e,t,r,n,i,a,l){const u={};function c(t){const s=u[t];s&&(a&&a(s.target,t,e,r),s.handle.remove(),delete u[t])}const d=o(e,t,((t,o,a)=>{c(a),(0,s.vT)(t)&&(u[a]={handle:(0,s.on)(t,r,n),target:t},i&&i(t,a,e,r))}),l);return{remove(){d.remove();for(const e in u)c(e)}}}function h(e,t,r,s,i){const o="function"==typeof s?s:null,a="object"==typeof s?s:null;"boolean"==typeof s&&(i=s);let l,u=!1;function c(){l&&(l.remove(),l=null)}const d=(0,n.dD)();(0,n.fu)(a,(()=>{c(),d.reject((0,n.zE)())}));const h={then:d.promise.then.bind(d.promise),catch:d.promise.catch.bind(d.promise),remove:c};return Object.freeze(h),l=function(e,t,r,s,n){const i=e.watch(t,((t,n,i,o)=>{r&&!r(t)||null==s||s.call(e,t,n,i,o)}),n);if(Array.isArray(t))for(const n of t){const i=e.get(n);r&&r(i)&&(null==s||s.call(e,i,i,t,e))}else{const n=e.get(t);r&&r(n)&&(null==s||s.call(e,n,n,t,e))}return i}(e,t,r,((t,r,s,n)=>{u=!0,c(),o&&o.call(e,t,r,s,n),d.resolve({value:t,oldValue:r,propertyName:s,target:n})}),i),u&&c(),h}function p(e){return!!e}function m(e){return!e}function f(e){return!0===e}function y(e){return!1===e}},80903:(e,t,r)=>{r.d(t,{Z:()=>l});var s=r(50758),n=r(92604),i=r(95330),o=r(25045);const a=n.Z.getLogger("esri.core.workers.Connection");class l{constructor(){this._clients=new Array,this._clientPromises=new Array,this._clientIdx=0}destroy(){this.close()}get closed(){return!this._clients||!this._clients.length}open(e,t){return new Promise(((r,s)=>{let n=!0;const a=e=>{(0,i.k_)(t.signal),n&&(n=!1,e())};this._clients.length=e.length,this._clientPromises.length=e.length;for(let n=0;n<e.length;++n){const l=e[n];(0,i.y8)(l)?this._clientPromises[n]=l.then((e=>(this._clients[n]=new o.default(e,t),a(r),this._clients[n])),(()=>(a(s),null))):(this._clients[n]=new o.default(l,t),this._clientPromises[n]=Promise.resolve(this._clients[n]),a(r))}}))}broadcast(e,t,r){const s=new Array(this._clientPromises.length);for(let n=0;n<this._clientPromises.length;++n){const i=this._clientPromises[n];s[n]=i.then((s=>s.invoke(e,t,r)))}return s}close(){for(const e of this._clientPromises)e.then((e=>e.close()));this._clients.length=0,this._clientPromises.length=0}getAvailableClient(){let e;for(let t=0;t<this._clients.length;++t){const r=this._clients[t];if(r){if(!r.isBusy())return Promise.resolve(r)}else e=e||[],e.push(this._clientPromises[t])}return e?Promise.race(e):(this._clientIdx=(this._clientIdx+1)%this._clients.length,Promise.resolve(this._clients[this._clientIdx]))}invoke(e,t,r){let s=null;return Array.isArray(r)?(a.warn("invoke()","The transferList parameter is deprecated, use the options object instead"),s={transferList:r}):s=r,this.closed?Promise.reject(new Error("Connection closed")):this.getAvailableClient().then((r=>r.invoke(e,t,s)))}on(e,t){return Promise.all(this._clientPromises).then((()=>(0,s.AL)(this._clients.map((r=>r.on(e,t))))))}openPorts(){return new Promise((e=>{const t=new Array(this._clientPromises.length);let r=t.length;for(let s=0;s<this._clientPromises.length;++s)this._clientPromises[s].then((n=>{t[s]=n.openPort(),0==--r&&e(t)}))}))}get test(){return{numClients:this._clients.length}}}},25045:(e,t,r)=>{r.r(t),r.d(t,{default:()=>_});var s=r(40330),n=r(20102),i=r(91460),o=r(70586),a=r(95330),l=r(94362),u=r(17202);const c={statsWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(7267)]).then(r.bind(r,37267)),geometryEngineWorker:()=>Promise.all([r.e(5837),r.e(8227)]).then(r.bind(r,48227)),CSVSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(8677),r.e(2894),r.e(1534),r.e(8397),r.e(3474),r.e(4324),r.e(1183)]).then(r.bind(r,27793)),EdgeProcessingWorker:()=>Promise.all([r.e(6481),r.e(8936)]).then(r.bind(r,18936)),ElevationSamplerWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(2894),r.e(6481),r.e(3675),r.e(5413)]).then(r.bind(r,61787)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(8677),r.e(9349),r.e(2894),r.e(1534),r.e(8397),r.e(3474),r.e(4324),r.e(991)]).then(r.bind(r,41650)),GeoJSONSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(8677),r.e(2894),r.e(1534),r.e(8397),r.e(3474),r.e(4324),r.e(4077),r.e(7845)]).then(r.bind(r,97845)),LercWorker:()=>r.e(3027).then(r.bind(r,23027)),MemorySourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(8677),r.e(2894),r.e(1534),r.e(8397),r.e(3474),r.e(4324),r.e(4077),r.e(639)]).then(r.bind(r,30639)),PBFDecoderWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(3474),r.e(1951)]).then(r.bind(r,61916)),Pipeline:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(8677),r.e(9349),r.e(2894),r.e(1534),r.e(8397),r.e(3474),r.e(4324),r.e(6312),r.e(3142)]).then(r.bind(r,53142)),PointCloudWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(2894),r.e(3941)]).then(r.bind(r,16583)),RasterWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(7303),r.e(3594)]).then(r.bind(r,61576)),SceneLayerWorker:()=>r.e(5265).then(r.bind(r,55265)),WFSSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(9928),r.e(8677),r.e(2894),r.e(1534),r.e(8397),r.e(3474),r.e(4324),r.e(4077),r.e(6919),r.e(3230)]).then(r.bind(r,43230)),WorkerTileHandler:()=>Promise.all([r.e(3568),r.e(6810),r.e(3388)]).then(r.bind(r,56456))},{CLOSE:d,ABORT:h,INVOKE:p,RESPONSE:m,OPEN_PORT:f,ON:y}=l.Cs;class g{constructor(e){this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._invoke=e,this._timer=null,this._process=this._process.bind(this)}push(e){e.type===l.Cs.ABORT?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class _{constructor(e,t){this._port=e,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new g((e=>this._onInvokeMessage(e))),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}static connect(e){const t=new MessageChannel;let r;r="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const s=new _(t.port1,{channel:t,client:r});return"object"==typeof r&&"remoteClient"in r&&(r.remoteClient=s),_.clients.set(s,r),t.port2}static loadWorker(e){const t=c[e];return t?t():Promise.resolve(null)}close(){this._post({type:d}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){const s=r&&r.signal,i=r&&r.transferList;if(!this._port)return Promise.reject(new n.Z("worker:port-closed",`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const o=(0,l.jt)();return new Promise(((r,n)=>{const l=(0,a.$F)(s,(()=>{var e;const t=this._outJobs.get(o);t&&(this._outJobs.delete(o),null==(e=t.abortHandle)||e.remove(),this._post({type:h,jobId:o}),n((0,a.zE)()))})),u={resolve:r,reject:n,abortHandle:l,debugInfo:e};this._outJobs.set(o,u),this._post({type:p,jobId:o,methodName:e,abortable:null!=s},t,i)}))}on(e,t){const r=new MessageChannel;function s(e){t(e.data)}return this._port.postMessage({type:l.Cs.ON,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",s),r.port1.start(),{remove(){r.port1.postMessage({type:l.Cs.CLOSE}),r.port1.close(),r.port1.removeEventListener("message",s)}}}openPort(){const e=new MessageChannel;return this._post({type:f,port:e.port2}),e.port1}_close(){this._channel&&(this._channel=null),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach((e=>{var t;null==(t=e.abortHandle)||t.remove(),e.reject((0,a.zE)(`Worker closing, aborting job calling '${e.debugInfo}'`))})),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=this._client=this._schedule=null}_onMessage(e){(0,o.pC)(this._schedule)?this._schedule((()=>this._processMessage(e))):this._processMessage(e)}_processMessage(e){const t=(0,l.QM)(e);if(t)switch(t.type){case m:this._onResponseMessage(t);break;case p:this._invokeQueue.push(t);break;case h:this._onAbortMessage(t);break;case d:this._onCloseMessage();break;case f:this._onOpenPortMessage(t);break;case y:this._onOnMessage(t)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,s=t.get(r);this._invokeQueue.push(e),s&&(s.controller&&s.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&_.clients.get(this)===e&&e.destroy(),_.clients.delete(this),e&&e.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:s,abortable:n}=e,i=n?(0,a.yi)():null,o=this._inJobs;let u,c=this._client,d=c[t];try{if(!d&&t&&-1!==t.indexOf(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)c=c[e[t]],d=c[e[t+1]]}if("function"!=typeof d)throw new TypeError(`${t} is not a function`);u=d.call(c,s,{client:this,signal:i?i.signal:null})}catch(e){return void this._post({type:m,jobId:r,error:(0,l.AB)(e)})}(0,a.y8)(u)?(o.set(r,{controller:i,promise:u}),u.then((e=>{o.has(r)&&(o.delete(r),this._post({type:m,jobId:r},e))}),(e=>{o.has(r)&&(o.delete(r),(0,a.D_)(e)||this._post({type:m,jobId:r,error:(0,l.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:m,jobId:r},u)}_onOpenPortMessage(e){new _(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,(e=>{t.postMessage(e)})),s=(0,i.on)(e.port,"message",(e=>{(0,l.QM)(e).type===l.Cs.CLOSE&&(s.remove(),r.remove(),t.close())}))}_onResponseMessage(e){var t;const{jobId:r,error:s,data:i}=e,o=this._outJobs;if(!o.has(r))return;const a=o.get(r);o.delete(r),null==(t=a.abortHandle)||t.remove(),s?a.reject(n.Z.fromJSON(JSON.parse(s))):a.resolve(i)}_post(e,t,r){return(0,l.oi)(this._port,e,t,r)}}_.kernelInfo={revision:u.$,version:s.i8,buildDate:u.r},_.clients=new Map},94362:(e,t,r)=>{r.d(t,{Cs:()=>s,jt:()=>a,oi:()=>u,QM:()=>c,AB:()=>l});var s,n,i=r(80442);(n=s||(s={}))[n.HANDSHAKE=0]="HANDSHAKE",n[n.OPEN=1]="OPEN",n[n.OPENED=2]="OPENED",n[n.RESPONSE=3]="RESPONSE",n[n.INVOKE=4]="INVOKE",n[n.ABORT=5]="ABORT",n[n.CLOSE=6]="CLOSE",n[n.OPEN_PORT=7]="OPEN_PORT",n[n.ON=8]="ON";let o=0;function a(){return o++}function l(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function u(e,t,r,n){if(t.type===s.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==s.INVOKE&&t.type!==s.RESPONSE)return void e.postMessage(t);let i;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(i=d(n),t.data=r):(i=d(r.transferList),t.data=r.result),i?e.postMessage(t,i):e.postMessage(t)}function c(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function d(e){if(!e||!e.length)return null;if((0,i.Z)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter((e=>!function(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}(e)));return t.length?t:null}},66577:(e,t,r)=>{r.d(t,{qM:()=>c});var s=r(75215),n=r(6570),i=r(9361),o=r(65091),a=r(13473),l=r(17332),u=r(58901);r(82971),r(86973),r(33955);const c={base:i.Z,key:"type",typeMap:{extent:n.Z,multipoint:o.Z,point:a.Z,polyline:u.Z,polygon:l.Z}};(0,s.N7)(c)},24678:(e,t,r)=>{r.d(t,{GG:()=>a,HQ:()=>l,VY:()=>u,wY:()=>c,Iu:()=>p,e8:()=>m,rS:()=>h,N_:()=>d});var s=r(82971),n=r(68441),i=r(8744);function o(e){return new s.Z({wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`})}const a=o(n.sv),l=o(n.yr),u=o(n.Z1),c=new s.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${n.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`});function d(e){return e&&e===n.yr?l:e&&e===n.Z1?u:a}function h(e){return e&&((0,i.BZ)(e)||e===l)?l:e&&((0,i.V2)(e)||e===u)?u:a}function p(e){return e&&((0,i.BZ)(e)||e===l)?n.yr:e&&((0,i.V2)(e)||e===u)?n.Z1:n.sv}function m(e){return(0,i.o$)(e)?n.yr:(0,i.ME)(e)?n.Z1:n.sv}},33955:(e,t,r)=>{r.d(t,{im:()=>f,q9:()=>_,Ji:()=>y,YX:()=>c,aW:()=>d,wp:()=>h,oU:()=>m,l9:()=>p});var s=r(70586),n=r(6570),i=r(9361),o=r(65091),a=r(13473),l=r(17332),u=r(58901);function c(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function d(e){return void 0!==e.points}function h(e){return void 0!==e.x&&void 0!==e.y}function p(e){return void 0!==e.paths}function m(e){return void 0!==e.rings}function f(e){return(0,s.Wi)(e)?null:e instanceof i.Z?e:h(e)?a.Z.fromJSON(e):p(e)?u.Z.fromJSON(e):m(e)?l.Z.fromJSON(e):d(e)?o.Z.fromJSON(e):c(e)?n.Z.fromJSON(e):null}function y(e){return e?h(e)?"esriGeometryPoint":p(e)?"esriGeometryPolyline":m(e)?"esriGeometryPolygon":c(e)?"esriGeometryEnvelope":d(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:a.Z,esriGeometryPolyline:u.Z,esriGeometryPolygon:l.Z,esriGeometryEnvelope:n.Z,esriGeometryMultipoint:o.Z};function _(e){return e&&g[e]||null}},86973:(e,t,r)=>{r.d(t,{Mk:()=>n,P$:()=>i});var s=r(35454);const n=(0,s.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),i=(0,s.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},40330:(e,t,r)=>{r.d(t,{Dp:()=>u,id:()=>a,qh:()=>l,i8:()=>i,Nv:()=>o});var s=r(80442),n=r(17452);const i="4.22",o={async request(e,t){var s;const{default:i}=await r.e(3172).then(r.bind(r,3172)),o=e.options,a=o.responseType;o.signal=null==t?void 0:t.signal,o.responseType="native"===a||"native-request-init"===a?"native-request-init":["blob","json","text"].includes(a)&&null!=(s=(0,n.oh)(e.url))&&s.after?a:"array-buffer";const l=await i(e.url,o),u={data:l.data,ssl:l.ssl};switch(l.requestOptions.responseType){case"native-request-init":return delete u.data.signal,u;case"blob":u.data=await u.data.arrayBuffer();break;case"json":u.data=(new TextEncoder).encode(JSON.stringify(u.data)).buffer;break;case"text":u.data=(new TextEncoder).encode(u.data).buffer}return{result:u,transferList:[u.data]}}};let a;function l(e){a=e}function u(e){const t=a&&a.findCredential(e);return t&&t.token?(0,n.ZN)(e,"token",t.token):e}(0,s.Z)("host-webworker")||((0,s.Z)("edge")||(0,s.Z)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},54295:(e,t,r)=>{r.d(t,{V:()=>o});var s=r(43697),n=r(5600),i=(r(67676),r(80442),r(75215),r(52011));const o=e=>{let t=class extends e{get apiKey(){var e;return this._isOverridden("apiKey")?this._get("apiKey"):function(e){return"portalItem"in e}(this)?null==(e=this.portalItem)?void 0:e.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,s._)([(0,n.Cb)({type:String})],t.prototype,"apiKey",null),t=(0,s._)([(0,i.j)("esri.layers.mixins.APIKeyMixin")],t),t}},17287:(e,t,r)=>{r.d(t,{Y:()=>u});var s=r(43697),n=r(92604),i=r(70586),o=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),l=r(66677);const u=e=>{let t=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,l.Qc)(this.url);if((0,i.pC)(e)&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,l.Nm)(e,n.Z.getLogger(this.declaredClass)))}};return(0,s._)([(0,o.Cb)()],t.prototype,"title",null),(0,s._)([(0,o.Cb)({type:String})],t.prototype,"url",null),t=(0,s._)([(0,a.j)("esri.layers.mixins.ArcGISService")],t),t}},16859:(e,t,r)=>{r.d(t,{I:()=>b});var s=r(43697),n=r(40330),i=r(3172),o=r(66643),a=r(20102),l=r(92604),u=r(70586),c=r(95330),d=r(17452),h=r(5600),p=(r(67676),r(80442),r(75215),r(71715)),m=r(52011),f=r(30556),y=r(65587),g=r(15235),_=r(86082);const v=l.Z.getLogger("esri.layers.mixins.PortalLayer"),b=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0}destroy(){var e;null==(e=this.portalItem)||e.destroy(),this.portalItem=null}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r&&r.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const s=await r.e(8062).then(r.bind(r,18062));return(0,c.k_)(t),await s.load({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData},t)}catch(e){throw(0,c.D_)(e)||v.warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this.fetchUserHasEditingPrivileges(e).catch((e=>((0,c.r9)(e),!0))))}async fetchUserHasEditingPrivileges(e){const t=this.url?null==n.id?void 0:n.id.findCredential(this.url):null;if(!t)return!0;const r=w.credential===t?w.user:await this.fetchEditingUser(e);return w.credential=t,w.user=r,(0,u.Wi)(r)||null==r.privileges||r.privileges.includes("features:user:edit")}async fetchEditingUser(e){var t,r;const s=null==(t=this.portalItem)||null==(r=t.portal)?void 0:r.user;if(s)return s;const a=n.id.findServerInfo(this.url);if(null==a||!a.owningSystemUrl)return null;const l=`${a.owningSystemUrl}/sharing/rest`,c=y.Z.getDefault();if(c&&c.loaded&&(0,d.Fv)(c.restUrl)===(0,d.Fv)(l))return c.user;const h=`${l}/community/self`,p=(0,u.pC)(e)?e.signal:null,m=await(0,o.q6)((0,i.default)(h,{authMode:"no-prompt",query:{f:"json"},signal:p}));return m.ok?_.default.fromJSON(m.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t&&t.portal,s=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||y.Z.getDefault());return r&&s&&!(0,d.tm)(s.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save the scene, set the layer.portalItem to null or save the scene to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,s._)([(0,h.Cb)({type:g.default})],t.prototype,"portalItem",null),(0,s._)([(0,p.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,s._)([(0,f.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,s._)([(0,h.Cb)()],t.prototype,"resourceReferences",void 0),(0,s._)([(0,h.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,s._)([(0,m.j)("esri.layers.mixins.PortalLayer")],t),t},w={credential:null,user:null}},70082:(e,t,r)=>{r.d(t,{Z:()=>c});var s=r(43697),n=r(35454),i=r(10736),o=r(5600),a=(r(67676),r(80442),r(75215),r(52011));const l=new n.Xn({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends i.wq{constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,s._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,s._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"description",void 0),(0,s._)([(0,o.Cb)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,s._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,s._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,s._)([(0,a.j)("esri.layers.support.FeatureTemplate")],u);const c=u},16451:(e,t,r)=>{r.d(t,{Z:()=>h});var s=r(43697),n=r(10736),i=r(5600),o=(r(67676),r(80442),r(75215),r(71715)),a=r(52011),l=r(30556),u=r(72729),c=r(70082);let d=class extends n.wq{constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.im)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e)){var s;e[t]&&(r[t]=null==(s=e[t])?void 0:s.toJSON())}t.domains=r}};(0,s._)([(0,i.Cb)({json:{write:!0}})],d.prototype,"id",void 0),(0,s._)([(0,i.Cb)({json:{write:!0}})],d.prototype,"name",void 0),(0,s._)([(0,i.Cb)({json:{write:!0}})],d.prototype,"domains",void 0),(0,s._)([(0,o.r)("domains")],d.prototype,"readDomains",null),(0,s._)([(0,l.c)("domains")],d.prototype,"writeDomains",null),(0,s._)([(0,i.Cb)({type:[c.Z],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,s._)([(0,a.j)("esri.layers.support.FeatureType")],d);const h=d},1231:(e,t,r)=>{r.d(t,{Z:()=>y});var s,n=r(43697),i=r(35454),o=r(10736),a=r(5600),l=(r(67676),r(80442),r(75215)),u=r(36030),c=r(71715),d=r(52011),h=r(72729),p=r(86719);const m=new i.Xn({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let f=s=class extends o.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=-1,this.name=null,this.nullable=!0,this.type=null,this.valueType=null}readDescription(e,{description:t}){let r;try{r=JSON.parse(t)}catch(e){}return r?r.value:null}readValueType(e,{description:t}){let r;try{r=JSON.parse(t)}catch(e){}return r?m.fromJSON(r.fieldValueType):null}clone(){return new s({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain&&this.domain.clone()||null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType})}};(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],f.prototype,"alias",void 0),(0,n._)([(0,a.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],f.prototype,"defaultValue",void 0),(0,n._)([(0,a.Cb)()],f.prototype,"description",void 0),(0,n._)([(0,c.r)("description")],f.prototype,"readDescription",null),(0,n._)([(0,a.Cb)({types:h.V5,json:{read:{reader:h.im},write:!0}})],f.prototype,"domain",void 0),(0,n._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],f.prototype,"editable",void 0),(0,n._)([(0,a.Cb)({type:l.z8,json:{write:!0}})],f.prototype,"length",void 0),(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],f.prototype,"name",void 0),(0,n._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],f.prototype,"nullable",void 0),(0,n._)([(0,u.J)(p.v)],f.prototype,"type",void 0),(0,n._)([(0,a.Cb)()],f.prototype,"valueType",void 0),(0,n._)([(0,c.r)("valueType",["description"])],f.prototype,"readValueType",null),f=s=(0,n._)([(0,d.j)("esri.layers.support.Field")],f);const y=f},56765:(e,t,r)=>{r.d(t,{Z:()=>c});var s,n=r(43697),i=r(81049),o=r(10736),a=r(5600),l=(r(67676),r(80442),r(75215),r(52011));let u=s=class extends o.wq{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new i.Z}clone(){return new s({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],u.prototype,"floorField",void 0),(0,n._)([(0,a.Cb)({json:{read:!1,write:!1}})],u.prototype,"viewAllMode",void 0),(0,n._)([(0,a.Cb)({json:{read:!1,write:!1}})],u.prototype,"viewAllLevelIds",void 0),u=s=(0,n._)([(0,l.j)("esri.layers.support.LayerFloorInfo")],u);const c=u},66677:(e,t,r)=>{r.d(t,{ld:()=>m,B5:()=>d,M8:()=>y,G:()=>b,Qc:()=>h,DR:()=>p,Nm:()=>g,XG:()=>_,a7:()=>f,wH:()=>v});var s=r(70586),n=r(17452),i=r(25929);const o={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer"},a=Object.values(o),l=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${a.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),u=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^\\/\\n]+)\\/(${a.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),c=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function d(e){return!!l.test(e)}function h(e){const t=(0,n.mN)(e),r=t.path.match(l)||t.path.match(u);if(!r)return null;const[,s,i,a,c]=r,d=i.indexOf("/");return{title:m(-1!==d?i.slice(d+1):i),serverType:o[a.toLowerCase()],sublayer:null!=c&&""!==c?parseInt(c,10):null,url:{path:s}}}function p(e){const t=(0,n.mN)(e).path.match(c);return t?{serviceUrl:t[1],sublayerId:Number(t[2])}:null}function m(e){return(e=e.replace(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function f(e,t){const r=[];if(e){const t=h(e);(0,s.pC)(t)&&t.title&&r.push(t.title)}if(t){const e=m(t);r.push(e)}if(2===r.length){if(-1!==r[0].toLowerCase().indexOf(r[1].toLowerCase()))return r[0];if(-1!==r[1].toLowerCase().indexOf(r[0].toLowerCase()))return r[1]}return r.join(" - ")}function y(e){if(!e)return!1;const t=-1!==(e=e.toLowerCase()).indexOf(".arcgis.com/"),r=-1!==e.indexOf("//services")||-1!==e.indexOf("//tiles")||-1!==e.indexOf("//features");return t&&r}function g(e,t){return e?(0,n.Qj)((0,n.Hu)(e,t)):e}function _(e){let{url:t}=e;if(!t)return{url:t};t=(0,n.Hu)(t,e.logger);const r=(0,n.mN)(t),i=h(r.path);let o;if((0,s.pC)(i))null!=i.sublayer&&null==e.layer.layerId&&(o=i.sublayer),t=i.url.path;else if(e.nonStandardUrlAllowed){const e=p(r.path);(0,s.pC)(e)&&(t=e.serviceUrl,o=e.sublayerId)}return{url:(0,n.Qj)(t),layerId:o}}function v(e,t,r,s,o){(0,i.w)(t,s,"url",o),s.url&&null!=e.layerId&&(s.url=(0,n.v_)(s.url,r,e.layerId.toString()))}function b(e){if(!e)return!1;const t=e.toLowerCase(),r=-1!==t.indexOf("/services/"),s=-1!==t.indexOf("/mapserver/wmsserver"),n=-1!==t.indexOf("/imageserver/wmsserver"),i=-1!==t.indexOf("/wmsserver");return r&&(s||n||i)}},72729:(e,t,r)=>{r.d(t,{im:()=>O,V5:()=>I}),r(80442);var s,n=r(43697),i=r(22974),o=r(5600),a=(r(75215),r(36030)),l=r(52011),u=r(10736);r(67676);let c=s=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,n._)([(0,o.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,n._)([(0,o.Cb)({type:[String,Number],json:{write:!0}})],c.prototype,"code",void 0),c=s=(0,n._)([(0,l.j)("esri.layers.support.CodedValue")],c);const d=c,h=new(r(35454).Xn)({inherited:"inherited",codedValue:"coded-value",range:"range"});let p=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,n._)([(0,o.Cb)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,n._)([(0,a.J)(h)],p.prototype,"type",void 0),p=(0,n._)([(0,l.j)("esri.layers.support.Domain")],p);const m=p;var f;let y=f=class extends m{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some((e=>(String(e.code)===r&&(t=e.name),!!t)))}return t}clone(){return new f({codedValues:(0,i.d9)(this.codedValues),name:this.name})}};(0,n._)([(0,o.Cb)({type:[d],json:{write:!0}})],y.prototype,"codedValues",void 0),(0,n._)([(0,a.J)({codedValue:"coded-value"})],y.prototype,"type",void 0),y=f=(0,n._)([(0,l.j)("esri.layers.support.CodedValueDomain")],y);const g=y;var _;r(92604),r(37697);let v=_=class extends m{constructor(e){super(e),this.type="inherited"}clone(){return new _}};(0,n._)([(0,a.J)({inherited:"inherited"})],v.prototype,"type",void 0),v=_=(0,n._)([(0,l.j)("esri.layers.support.InheritedDomain")],v);const b=v;var w;let P=w=class extends m{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new w({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,n._)([(0,o.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]}}}})],P.prototype,"maxValue",void 0),(0,n._)([(0,o.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]}}}})],P.prototype,"minValue",void 0),(0,n._)([(0,a.J)({range:"range"})],P.prototype,"type",void 0),P=w=(0,n._)([(0,l.j)("esri.layers.support.RangeDomain")],P);const S=P,I={key:"type",base:m,typeMap:{range:P,"coded-value":g,inherited:b}};function O(e){if(!e||!e.type)return null;switch(e.type){case"range":return S.fromJSON(e);case"codedValue":return g.fromJSON(e);case"inherited":return b.fromJSON(e)}return null}},86719:(e,t,r)=>{r.d(t,{v:()=>s});const s=new(r(35454).Xn)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml"})},28694:(e,t,r)=>{r.d(t,{p:()=>n});var s=r(50459);function n(e,t,r){if(!r||!r.features||!r.hasZ)return;const n=(0,s.k)(r.geometryType,t,e.outSpatialReference);if(n)for(const e of r.features)n(e.geometry)}},50459:(e,t,r)=>{r.d(t,{k:()=>o,P:()=>l});var s=r(70586),n=r(67900),i=r(8744);function o(e,t,r){if((0,s.Wi)(t)||(0,s.Wi)(r)||r.vcsWkid||(0,i.fS)(t,r))return null;const o=(0,n._R)(t)/(0,n._R)(r);if(1===o)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){e&&null!=e.z&&(e.z*=t)}(e,o);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,o);default:return null}}function a(e,t,r){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=r)}function l(e,t,r){if(!e&&!t||!r)return;const s=(0,n._R)(r);u(e,r,s),u(t,r,s)}function u(e,t,r){if(e)for(const s of e)c(s.geometry,t,r)}function c(e,t,r){if((0,s.Wi)(e)||!e.spatialReference||(0,i.fS)(e.spatialReference,t))return;const o=(0,n._R)(e.spatialReference)/r;if(1!==o)if("x"in e)null!=e.z&&(e.z*=o);else if("rings"in e)a(e,e.rings,o);else if("paths"in e)a(e,e.paths,o);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=o)}},59266:(e,t,r)=>{r.d(t,{mz:()=>c,pp:()=>u,WW:()=>a,Yi:()=>l,LC:()=>o}),r(66577);var s=r(70586),n=r(82971);let i;function o(){return i||(i=(async()=>{const e=await Promise.all([r.e(9490),r.e(6690)]).then(r.bind(r,96690));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature}})()),i}const a=(e,t,r)=>c.create(e,t,r,null,["$feature"]),l=(e,t,r)=>c.create(e,t,r,null,["$feature","$view"]),u=(e,t,r,s)=>c.create(e,t,r,s,["$feature","$view"]);class c{constructor(e,t,r,s,n,i,o,a){this.script=e,this.evaluate=n;const l=Array.isArray(o)?o:o.fields;this.fields=l,this._syntaxTree=s,this._arcade=t,this._arcadeDictionary=r,this._arcadeFeature=i,this._spatialReference=a,this._referencesGeometry=t.scriptTouchesGeometry(this._syntaxTree),this._referencesScale=this._arcade.referencesMember(this._syntaxTree,"scale")}static async create(e,t,r,i,a,l){const{arcade:u,Feature:d,Dictionary:h}=await o(),p=n.Z.fromJSON(t),m=u.parseScript(e,l),f=a.reduce(((e,t)=>({...e,[t]:null})),{});let y=null;(0,s.pC)(i)&&(y=new h(i),y.immutable=!0,f.$config=null);const g=u.scriptUsesGeometryEngine(m)&&u.enableGeometrySupport(),_=u.scriptUsesFeatureSet(m)&&u.enableFeatureSetSupport(),v=u.scriptIsAsync(m)&&u.enableAsyncSupport(),b={vars:f,spatialReference:p,useAsync:!!v},w=new h;w.immutable=!1,w.setField("scale",0);const P=u.compileScript(m,b);return await Promise.all([g,_,v]),new c(e,u,h,m,(e=>("$view"in e&&e.$view&&(w.setField("scale",e.$view.scale),e.$view=w),y&&(e.$config=y),P({vars:e,spatialReference:p}))),new d,r,p)}repurposeFeature(e){return e.geometry&&!e.geometry.spatialReference&&(e.geometry.spatialReference=this._spatialReference),this._arcadeFeature.repurposeFromGraphicLikeObject(e.geometry,e.attributes,{fields:this.fields}),this._arcadeFeature}repurposeAdapter(e){return this._arcadeFeature.repurposeFromAdapter(e,{fields:this.fields}),this._arcadeFeature}createDictionary(){return new this._arcadeDictionary}referencesMember(e){return this._arcade.referencesMember(this._syntaxTree,e)}referencesFunction(e){return this._arcade.referencesFunction(this._syntaxTree,e)}referencesGeometry(){return this._referencesGeometry}referencesScale(){return this._referencesScale}extractFieldLiterals(){return this._arcade.extractExpectedFieldLiterals(this._syntaxTree)}}},89749:(e,t,r)=>{r.d(t,{t:()=>p});var s=r(43697),n=r(15923),i=r(61247),o=r(70586),a=r(17445),l=r(90584),u=r(43050),c=r(67723),d=r(5600),h=r(52011);let p=class extends n.Z{constructor(){super(...arguments),this.updating=!1,this.handleId=0,this.handles=new i.Z,this.scheduleHandleId=0,this.pendingPromises=new Set}destroy(){this.removeAll(),this.handles.destroy()}add(e,t,r,s=0){const n=0!=(1&s),i=++this.handleId;n||this.installSyncUpdatingWatch(e,t,i);const o=0!=(2&s)?(0,u.S1)(e,t,r,n):e.watch(t,r,n);return this.handles.add(o,i),{remove:()=>this.handles.remove(i)}}addOnCollectionPropertyChange(e,t,r,s=0){const n=0!=(2&s),i=++this.handleId;return this.handles.add([(0,u.on)(e,t,"after-changes",this.createSyncUpdatingCallback()),(0,u.on)(e,t,"change",r,n?e=>{r({added:e.items,removed:[],moved:[],target:e})}:void 0)],i),{remove:()=>{this.handles.remove(i)}}}addOnCollectionChange(e,t,r=0){const s=0!=(2&r),n=++this.handleId;return this.handles.add([e.on("after-changes",this.createSyncUpdatingCallback()),e.on("change",t)],n),s&&t({added:e.items,removed:[],moved:[],target:e}),{remove:()=>{this.handles.remove(n)}}}addPromise(e){if((0,o.Wi)(e))return e;const t=++this.handleId;this.handles.add({remove:()=>{this.pendingPromises.delete(e)&&(0!==this.pendingPromises.size||this.handles.has(m)||this._set("updating",!1))}},t),this.pendingPromises.add(e),this._set("updating",!0);const r=()=>this.handles.remove(t);return e.then(r,r),e}removeAll(){this.pendingPromises.clear(),this.handles.removeAll(),this._set("updating",!1)}installSyncUpdatingWatch(e,t,r){const s=this.createSyncUpdatingCallback(),n=(0,a.Ym)((()=>(0,c.$z)(e,t)),s,{sync:!0,equals:()=>!1});return this.handles.add(n,r),n}createSyncUpdatingCallback(){return()=>{this.handles.remove(m),++this.scheduleHandleId;const e=this.scheduleHandleId;this._get("updating")||this._set("updating",!0),this.handles.add((0,l.Os)((()=>{e===this.scheduleHandleId&&(this._set("updating",this.pendingPromises.size>0),this.handles.remove(m))})),m)}}};(0,s._)([(0,d.Cb)({readOnly:!0})],p.prototype,"updating",void 0),p=(0,s._)([(0,h.j)("esri.views.support.WatchUpdatingTracking")],p);const m=-42}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2894],{99880:(e,t,n)=>{n.d(t,{V:()=>l});var r=n(68773),o=(n(3172),n(20102)),s=n(92604),i=n(17452);const u=s.Z.getLogger("esri.assets");function l(e){if(!r.Z.assetsPath)throw u.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new o.Z("assets:path-not-set","config.assetsPath is not set");return(0,i.v_)(r.Z.assetsPath,e)}},42894:(e,t,n)=>{n.d(t,{Up:()=>ie,Bm:()=>pe,iQ:()=>ue,kR:()=>ee,Gb:()=>te,zD:()=>ne,iV:()=>re,CM:()=>Pe,oj:()=>oe,KC:()=>ce,Wt:()=>le});var r=n(20102),o=n(22021),s=n(70586),i=n(95330),u=n(67900),l=n(52138),_=(n(17896),n(65617)),c=n(6570),a=n(65091),P=n(99880),f=n(80442);let p,E=null;function g(){return!!E}function h(){return p||(p=n.e(6774).then(n.bind(n,66774)).then((e=>e.p)).then((({default:e})=>e({locateFile:e=>(0,P.V)(`esri/geometry/support/${e}`)}))).then((e=>{C(e)})),p)}var d,T,M,S;!function(e){function t(e,t,n){E.ensureCache.prepare();const r=U(n),o=n===r,s=E.ensureFloat64(r),i=E._pe_geog_to_proj(E.getPointer(e),t,s);return i&&F(n,t,s,o),i}function n(e,t,n){return r(e,t,n,0)}function r(e,t,n,r){E.ensureCache.prepare();const o=U(n),s=n===o,i=E.ensureFloat64(o),u=E._pe_proj_to_geog_center(E.getPointer(e),t,i,r);return u&&F(n,t,i,s),u}e.geogToProj=t,e.projGeog=function(e,r,o,s){switch(s){case T.PE_TRANSFORM_P_TO_G:return n(e,r,o);case T.PE_TRANSFORM_G_TO_P:return t(e,r,o)}return 0},e.projToGeog=n,e.projToGeogCenter=r}(d||(d={})),(S=T||(T={})).init=function(){S.PE_BUFFER_MAX=E.PeDefs.prototype.PE_BUFFER_MAX,S.PE_NAME_MAX=E.PeDefs.prototype.PE_NAME_MAX,S.PE_MGRS_MAX=E.PeDefs.prototype.PE_MGRS_MAX,S.PE_USNG_MAX=E.PeDefs.prototype.PE_USNG_MAX,S.PE_DD_MAX=E.PeDefs.prototype.PE_DD_MAX,S.PE_DDM_MAX=E.PeDefs.prototype.PE_DDM_MAX,S.PE_DMS_MAX=E.PeDefs.prototype.PE_DMS_MAX,S.PE_UTM_MAX=E.PeDefs.prototype.PE_UTM_MAX,S.PE_PARM_MAX=E.PeDefs.prototype.PE_PARM_MAX,S.PE_TYPE_NONE=E.PeDefs.prototype.PE_TYPE_NONE,S.PE_TYPE_GEOGCS=E.PeDefs.prototype.PE_TYPE_GEOGCS,S.PE_TYPE_PROJCS=E.PeDefs.prototype.PE_TYPE_PROJCS,S.PE_TYPE_GEOGTRAN=E.PeDefs.prototype.PE_TYPE_GEOGTRAN,S.PE_TYPE_COORDSYS=E.PeDefs.prototype.PE_TYPE_COORDSYS,S.PE_TYPE_UNIT=E.PeDefs.prototype.PE_TYPE_UNIT,S.PE_TYPE_LINUNIT=E.PeDefs.prototype.PE_TYPE_LINUNIT,S.PE_STR_OPTS_NONE=E.PeDefs.prototype.PE_STR_OPTS_NONE,S.PE_STR_AUTH_NONE=E.PeDefs.prototype.PE_STR_AUTH_NONE,S.PE_STR_AUTH_TOP=E.PeDefs.prototype.PE_STR_AUTH_TOP,S.PE_STR_NAME_CANON=E.PeDefs.prototype.PE_STR_NAME_CANON,S.PE_PARM_X0=E.PeDefs.prototype.PE_PARM_X0,S.PE_PARM_ND=E.PeDefs.prototype.PE_PARM_ND,S.PE_TRANSFORM_1_TO_2=E.PeDefs.prototype.PE_TRANSFORM_1_TO_2,S.PE_TRANSFORM_2_TO_1=E.PeDefs.prototype.PE_TRANSFORM_2_TO_1,S.PE_TRANSFORM_P_TO_G=E.PeDefs.prototype.PE_TRANSFORM_P_TO_G,S.PE_TRANSFORM_G_TO_P=E.PeDefs.prototype.PE_TRANSFORM_G_TO_P,S.PE_HORIZON_RECT=E.PeDefs.prototype.PE_HORIZON_RECT,S.PE_HORIZON_POLY=E.PeDefs.prototype.PE_HORIZON_POLY,S.PE_HORIZON_LINE=E.PeDefs.prototype.PE_HORIZON_LINE,S.PE_HORIZON_DELTA=E.PeDefs.prototype.PE_HORIZON_DELTA},function(e){const t={},n={},r=e=>{if(e){const t=e.getType();switch(t){case T.PE_TYPE_GEOGCS:e=E.castObject(e,E.PeGeogcs);break;case T.PE_TYPE_PROJCS:e=E.castObject(e,E.PeProjcs);break;case T.PE_TYPE_GEOGTRAN:e=E.castObject(e,E.PeGeogtran);break;default:t&T.PE_TYPE_UNIT&&(e=E.castObject(e,E.PeUnit))}}return e};function o(e,n){let o=null,s=t[e];if(s||(s={},t[e]=s),s.hasOwnProperty(String(n)))o=s[n];else{const t=E.PeFactory.prototype.factoryByType(e,n);E.compare(t,E.NULL)||(o=t,s[n]=o)}return o=r(o),o}e.initialize=function(){E.PeFactory.prototype.initialize(null)},e.coordsys=function(e){return o(T.PE_TYPE_COORDSYS,e)},e.factoryByType=o,e.fromString=function(e,t){let o=null,s=n[e];if(s||(s={},n[e]=s),s.hasOwnProperty(t))o=s[t];else{const n=E.PeFactory.prototype.fromString(e,t);E.compare(n,E.NULL)||(o=n,s[t]=o)}return o=r(o),o},e.geogcs=function(e){return o(T.PE_TYPE_GEOGCS,e)},e.geogtran=function(e){return o(T.PE_TYPE_GEOGTRAN,e)},e.getCode=function(e){return E.PeFactory.prototype.getCode(e)},e.projcs=function(e){return o(T.PE_TYPE_PROJCS,e)},e.unit=function(e){return o(T.PE_TYPE_UNIT,e)}}(M||(M={}));let y=null;var O,R,N,A,m,w,I,G,D;function C(e){function t(e,t,n){e[t]=n(e[t])}E=e,T.init(),O.init(),m.init(),I.init(),G.init(),y=class extends E.PeGCSExtent{destroy(){E.destroy(this)}};const n=[E.PeDatum,E.PeGeogcs,E.PeGeogtran,E.PeObject,E.PeParameter,E.PePrimem,E.PeProjcs,E.PeSpheroid,E.PeUnit];for(const e of n)t(e.prototype,"getName",(e=>function(){return e.call(this,new Array(T.PE_NAME_MAX))}));for(const e of[E.PeGeogtran,E.PeProjcs])t(e.prototype,"getParameters",(e=>function(){const t=new Array(T.PE_PARM_MAX);let n=e.call(this);for(let e=0;e<t.length;e++){const r=E.getValue(n,"*");t[e]=r?E.wrapPointer(r,E.PeParameter):null,n+=Int32Array.BYTES_PER_ELEMENT}return t}));t(E.PeHorizon.prototype,"getCoord",(e=>function(){const t=this.getSize();if(!t)return null;const n=[];return F(n,t,e.call(this)),n})),t(E.PeGTlistExtendedEntry.prototype,"getEntries",(e=>{const t=E._pe_getPeGTlistExtendedGTsSize();return function(){let n=null;const r=e.call(this);if(!E.compare(r,E.NULL)){n=[r];const e=this.getSteps();if(e>1){const o=E.getPointer(r);for(let r=1;r<e;r++)n.push(E.wrapPointer(o+t*r,E.PeGTlistExtendedGTs))}}return n}}));const r=E._pe_getPeHorizonSize(),o=e=>function(){let t=this._cache;if(t||(t=new Map,this._cache=t),t.has(e))return t.get(e);let n=null;const o=e.call(this);if(!E.compare(o,E.NULL)){n=[o];const e=o.getNump();if(e>1){const t=E.getPointer(o);for(let o=1;o<e;o++)n.push(E.wrapPointer(t+r*o,E.PeHorizon))}}return t.set(e,n),n};t(E.PeProjcs.prototype,"horizonGcsGenerate",o),t(E.PeProjcs.prototype,"horizonPcsGenerate",o),E.PeObject.prototype.toString=function(e=T.PE_STR_OPTS_NONE){E.ensureCache.prepare();const t=E.getPointer(this),n=E.ensureInt8(new Array(T.PE_BUFFER_MAX));return E.UTF8ToString(E._pe_object_to_string_ext(t,e,n))}}function k(e){if(!e)return;const t=E.getClass(e);if(!t)return;const n=E.getCache(t);if(!n)return;const r=E.getPointer(e);r&&delete n[r]}function v(e,t){const n=[],r=new Array(t);for(let t=0;t<e;t++)n.push(E.ensureInt8(r));return n}function U(e){let t;return Array.isArray(e[0])?(t=[],e.forEach((e=>{t.push(e[0],e[1])}))):t=e,t}function F(e,t,n,r=!1){if(r)for(let r=0;r<2*t;r++)e[r]=E.getValue(n+r*Float64Array.BYTES_PER_ELEMENT,"double");else{const r=0===e.length;for(let o=0;o<t;o++)r&&(e[o]=new Array(2)),e[o][0]=E.getValue(n,"double"),e[o][1]=E.getValue(n+Float64Array.BYTES_PER_ELEMENT,"double"),n+=2*Float64Array.BYTES_PER_ELEMENT}}!function(e){let t;e.init=function(){e.PE_GTLIST_OPTS_COMMON=E.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON,t=E._pe_getPeGTlistExtendedEntrySize()},e.getGTlist=function(e,n,r,o,s,i){let u=null;const l=new E.PeInteger(i);try{const _=E.PeGTlistExtended.prototype.getGTlist(e,n,r,o,s,l);if((i=l.val)&&(u=[_],i>1)){const e=E.getPointer(_);for(let n=1;n<i;n++)u.push(E.wrapPointer(e+t*n,E.PeGTlistExtendedEntry))}}finally{E.destroy(l)}return u}}(O||(O={})),function(e){e.destroy=function(e){if(e&&e.length){for(const t of e)k(t),t.getEntries().forEach((e=>{k(e);const t=e.getGeogtran();k(t),t.getParameters().forEach(k),[t.getGeogcs1(),t.getGeogcs2()].forEach((e=>{k(e);const t=e.getDatum();k(t),k(t.getSpheroid()),k(e.getPrimem()),k(e.getUnit())}))}));E.PeGTlistExtendedEntry.prototype.Delete(e[0])}}}(R||(R={})),function(e){e.geogToGeog=function(e,t,n,r,o){E.ensureCache.prepare();const s=U(n),i=n===s,u=E.ensureFloat64(s);let l=0;r&&(l=E.ensureFloat64(r));const _=E._pe_geog_to_geog(E.getPointer(e),t,u,l,o);return _&&F(n,t,u,i),_}}(N||(N={})),function(e){const t=(e,t,n,r,o,s)=>{let i,u;switch(E.ensureCache.prepare(),e){case"dd":i=E._pe_geog_to_dd,u=T.PE_DD_MAX;break;case"ddm":i=E._pe_geog_to_ddm,u=T.PE_DDM_MAX;break;case"dms":i=E._pe_geog_to_dms,u=T.PE_DMS_MAX}let l=0;t&&(l=E.getPointer(t));const _=U(r),c=E.ensureFloat64(_),a=v(n,u),P=i(l,n,c,o,E.ensureInt32(a));if(P)for(let e=0;e<n;e++)s[e]=E.UTF8ToString(a[e]);return P},n=(e,t,n,r,o)=>{let s;switch(E.ensureCache.prepare(),e){case"dd":s=E._pe_dd_to_geog;break;case"ddm":s=E._pe_ddm_to_geog;break;case"dms":s=E._pe_dms_to_geog}let i=0;t&&(i=E.getPointer(t));const u=r.map((e=>E.ensureString(e))),l=E.ensureInt32(u),_=E.ensureFloat64(new Array(2*n)),c=s(i,n,l,_);return c&&F(o,n,_),c};e.geog_to_dms=function(e,n,r,o,s){return t("dms",e,n,r,o,s)},e.dms_to_geog=function(e,t,r,o){return n("dms",e,t,r,o)},e.geog_to_ddm=function(e,n,r,o,s){return t("ddm",e,n,r,o,s)},e.ddm_to_geog=function(e,t,r,o){return n("ddm",e,t,r,o)},e.geog_to_dd=function(e,n,r,o,s){return t("dd",e,n,r,o,s)},e.dd_to_geog=function(e,t,r,o){return n("dd",e,t,r,o)}}(A||(A={})),function(e){e.init=function(){e.PE_MGRS_STYLE_NEW=E.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW,e.PE_MGRS_STYLE_OLD=E.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD,e.PE_MGRS_STYLE_AUTO=E.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO,e.PE_MGRS_180_ZONE_1_PLUS=E.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS,e.PE_MGRS_ADD_SPACES=E.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES},e.geog_to_mgrs_extended=function(e,t,n,r,o,s,i){E.ensureCache.prepare();let u=0;e&&(u=E.getPointer(e));const l=U(n),_=E.ensureFloat64(l),c=v(t,T.PE_MGRS_MAX),a=E.ensureInt32(c),P=E._pe_geog_to_mgrs_extended(u,t,_,r,o,s,a);if(P)for(let e=0;e<t;e++)i[e]=E.UTF8ToString(c[e]);return P},e.mgrs_to_geog_extended=function(e,t,n,r,o){E.ensureCache.prepare();let s=0;e&&(s=E.getPointer(e));const i=n.map((e=>E.ensureString(e))),u=E.ensureInt32(i),l=E.ensureFloat64(new Array(2*t)),_=E._pe_mgrs_to_geog_extended(s,t,u,r,l);return _&&F(o,t,l),_}}(m||(m={})),function(e){e.geog_to_usng=function(e,t,n,r,o,s,i){E.ensureCache.prepare();let u=0;e&&(u=E.getPointer(e));const l=U(n),_=E.ensureFloat64(l),c=v(t,T.PE_MGRS_MAX),a=E.ensureInt32(c),P=E._pe_geog_to_usng(u,t,_,r,o,s,a);if(P)for(let e=0;e<t;e++)i[e]=E.UTF8ToString(c[e]);return P},e.usng_to_geog=function(e,t,n,r){E.ensureCache.prepare();let o=0;e&&(o=E.getPointer(e));const s=n.map((e=>E.ensureString(e))),i=E.ensureInt32(s),u=E.ensureFloat64(new Array(2*t)),l=E._pe_usng_to_geog(o,t,i,u);return l&&F(r,t,u),l}}(w||(w={})),function(e){e.init=function(){e.PE_UTM_OPTS_NONE=E.PeNotationUtm.prototype.PE_UTM_OPTS_NONE,e.PE_UTM_OPTS_ADD_SPACES=E.PeNotationUtm.prototype.PE_UTM_OPTS_ADD_SPACES,e.PE_UTM_OPTS_NS=E.PeNotationUtm.prototype.PE_UTM_OPTS_NS},e.geog_to_utm=function(e,t,n,r,o){E.ensureCache.prepare();let s=0;e&&(s=E.getPointer(e));const i=U(n),u=E.ensureFloat64(i),l=v(t,T.PE_UTM_MAX),_=E.ensureInt32(l),c=E._pe_geog_to_utm(s,t,u,r,_);if(c)for(let e=0;e<t;e++)o[e]=E.UTF8ToString(l[e]);return c},e.utm_to_geog=function(e,t,n,r,o){E.ensureCache.prepare();let s=0;e&&(s=E.getPointer(e));const i=n.map((e=>E.ensureString(e))),u=E.ensureInt32(i),l=E.ensureFloat64(new Array(2*t)),_=E._pe_utm_to_geog(s,t,u,r,l);return _&&F(o,t,l),_}}(I||(I={})),function(e){const t=new Map;e.init=function(){e.PE_PCSINFO_OPTION_NONE=E.PePCSInfo.prototype.PE_PCSINFO_OPTION_NONE,e.PE_PCSINFO_OPTION_DOMAIN=E.PePCSInfo.prototype.PE_PCSINFO_OPTION_DOMAIN,e.PE_POLE_OUTSIDE_BOUNDARY=E.PePCSInfo.prototype.PE_POLE_OUTSIDE_BOUNDARY,e.PE_POLE_POINT=E.PePCSInfo.prototype.PE_POLE_POINT},e.generate=function(n,r=e.PE_PCSINFO_OPTION_DOMAIN){let o,s;return t.has(n)&&(s=t.get(n),s[r]&&(o=s[r])),o||(o=E.PePCSInfo.prototype.generate(n,r),s||(s=[],t.set(n,s)),s[r]=o),o}}(G||(G={})),function(e){e.version_string=function(){return E.PeVersion.prototype.version_string()}}(D||(D={}));const Y=Object.freeze({__proto__:null,get _pe(){return E},isLoaded:g,isSupported:function(){return!!(0,f.Z)("esri-wasm")},load:h,get PeCSTransformations(){return d},get PeDefs(){return T},get PeFactory(){return M},get PeGCSExtent(){return y},get PeGTlistExtended(){return O},get PeGTlistExtendedEntry(){return R},get PeGTTransformations(){return N},get PeNotationDms(){return A},get PeNotationMgrs(){return m},get PeNotationUsng(){return w},get PeNotationUtm(){return I},get PePCSInfo(){return G},get PeVersion(){return D},_init:C});var L=n(13473),j=n(17332),x=n(58901),Z=n(24678),X=(n(24470),n(68441));Math.PI;const b=X.sv.radius,W=X.sv.eccentricitySquared,z={a1:b*W,a2:b*W*b*W,a3:b*W*W/2,a4:b*W*b*W*2.5,a5:b*W+b*W*W/2,a6:1-W};X.sv.radius,X.sv.flattening,X.Z1.radius,X.Z1.flattening,X.yr.radius,X.yr.flattening,X.yr.radius;let H=0;class B{constructor(e=null){this.uid=H++,e?(this._wkt=void 0!==e.wkt?e.wkt:null,this._wkid=void 0!==e.wkid?e.wkid:-1,this._isInverse=void 0!==e.isInverse&&!0===e.isInverse):(this._wkt=null,this._wkid=-1,this._isInverse=!1)}static fromGE(e){const t=new B;return t._wkt=e.wkt,t._wkid=e.wkid,t._isInverse=e.isInverse,t}get wkt(){return this._wkt}set wkt(e){this._wkt=e,this.uid=H++}get wkid(){return this._wkid}set wkid(e){this._wkid=e,this.uid=H++}get isInverse(){return this._isInverse}set isInverse(e){this._isInverse=e,this.uid=H++}getInverse(){const e=new B;return e._wkt=this.wkt,e._wkid=this._wkid,e._isInverse=!this.isInverse,e}}class V{constructor(e){if(this.steps=[],this._cached_projection={},this._chain="",this._gtlistentry=null,e&&e.steps)for(const t of e.steps)t instanceof B?this.steps.push(t):this.steps.push(new B({wkid:t.wkid,wkt:t.wkt,isInverse:t.isInverse}))}static cacheKey(e,t){return[void 0!==e.wkid&&null!==e.wkid?e.wkid.toString():"-1",void 0!==e.wkt&&null!==e.wkt?e.wkt.toString():"",void 0!==t.wkid&&null!==t.wkid?t.wkid.toString():"-1",void 0!==t.wkt&&null!==t.wkt?t.wkt.toString():""].join(",")}static fromGE(e){const t=new V;let n="";for(const r of e.steps){const e=B.fromGE(r);t.steps.push(e),n+=e.uid.toString()+","}return t._cached_projection={},t._gtlistentry=null,t._chain=n,t}getInverse(){const e=new V;e.steps=[];for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}getGTListEntry(){let e="";for(const t of this.steps)e+=t.uid.toString()+",";return e!==this._chain&&(this._gtlistentry=null,this._cached_projection={},this._chain=e),this._gtlistentry}assignCachedGe(e,t,n){this._cached_projection[V.cacheKey(e,t)]=n}getCachedGeTransformation(e,t){let n="";for(const e of this.steps)n+=e.uid.toString()+",";n!==this._chain&&(this._gtlistentry=null,this._cached_projection={},this._chain=n);const r=this._cached_projection[V.cacheKey(e,t)];return void 0===r?null:r}}var q=n(8744);let J=null,K=null,Q=null,$={};function ee(){return!!J&&g()}function te(){return!0}function ne(e){return(0,s.Wi)(Q)&&(Q=Promise.all([h(),n.e(5837).then(n.bind(n,45837)).then((e=>e.g)),n.e(819).then(n.bind(n,80819))])),Q.then((([,t,{hydratedAdapter:n}])=>{(0,i.k_)(e),K=n,J=t.default,J._enableProjection(Y)}))}function re(e,t,n=null){return Array.isArray(e)?0===e.length?[]:oe(K,e,e[0].spatialReference,t,n):oe(K,[e],e.spatialReference,t,n)[0]}function oe(e,t,n,r,o=null){if((0,s.Wi)(n)||(0,s.Wi)(r))return t;if(ie(n,r,o))return t.map((e=>(0,s.Wg)(function(e,t,n){return e?"x"in e?function(e,t,n,r,o){He[0]=e.x,He[1]=e.y;const s=e.z;return He[2]=void 0!==s?s:o,Pe(He,t,0,He,r,0,1)?(n.x=He[0],n.y=He[1],n.spatialReference=r,void 0===s?(n.z=void 0,n.hasZ=!1):(n.z=He[2],n.hasZ=!0),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}(e,t,new L.Z,n,0):"xmin"in e?function(e,t,n,r,o){const{xmin:s,ymin:i,xmax:u,ymax:l,hasZ:_,hasM:c}=e;return ae(s,i,_?e.zmin:o,t,He,r)?(n.xmin=He[0],n.ymin=He[1],_&&(n.zmin=He[2]),ae(u,l,_?e.zmax:o,t,He,r)?(n.xmax=He[0],n.ymax=He[1],_&&(n.zmax=He[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null):null}(e,t,new c.Z,n,0):"rings"in e?_e(e,t,new j.Z,n,0):"paths"in e?function(e,t,n,r,o){const{paths:s,hasZ:i,hasM:u}=e,l=[];return fe(s,i,u,t,l,r,o)?(n.paths=l,n.spatialReference=r,n.hasZ=i,n.hasM=u,n):null}(e,t,new x.Z,n,0):"points"in e?function(e,t,n,r,o){const{points:s,hasZ:i,hasM:u}=e,l=[],_=s.length,c=[];for(const e of s)c.push(e[0],e[1],i?e[2]:o);if(!Pe(c,t,0,c,r,0,_))return null;for(let e=0;e<_;++e){const t=3*e,n=c[t],r=c[t+1];i&&u?l.push([n,r,c[t+2],s[e][3]]):i?l.push([n,r,c[t+2]]):u?l.push([n,r,s[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=i,n.hasM=u,n}(e,t,new a.Z,n,0):null:null}(e,n,r))));if((0,s.Wi)(o)){const e=V.cacheKey(n,r);void 0!==$[e]?o=$[e]:(o=function(e,t,n=null){if((0,s.Wi)(J))throw new se;if((0,s.Wi)(e)||(0,s.Wi)(t))return null;const r=J._getTransformation(K,e,t,n,null==n?void 0:n.spatialReference);return null!==r?V.fromGE(r):null}(n,r,null),(0,s.Wi)(o)&&(o=new V),$[e]=o)}if((0,s.Wi)(J))throw new se;return J._project(e,t,n,r,o)}class se extends r.Z{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function ie(e,t,n){return!n&&(!!(0,q.fS)(e,t)||(0,q.JY)(e)&&(0,q.JY)(t)&&!!Fe(e,t,xe))}async function ue(e,t,n,r){if(!ee())if(Array.isArray(e)){for(const{source:t,dest:n,geographicTransformation:o}of e)if(!ie(t,n,o))return ne(r)}else if(!ie(e,t,n))return ne(r)}function le(e,t,n=t.spatialReference,r=0){return(0,s.pC)(n)&&(0,s.pC)(_e(e,e.spatialReference,t,n,r))}function _e(e,t,n,r,o){const{rings:s,hasZ:i,hasM:u}=e,l=[];return fe(s,i,u,t,l,r,o)?(n.rings=l,n.spatialReference=r,n.hasZ=i,n.hasM=u,n):null}function ce(e,t,n,r=0){He[0]=e.x,He[1]=e.y;const o=e.z;return He[2]=void 0!==o?o:r,Pe(He,e.spatialReference,0,t,n,0,1)}function ae(e,t,n,r,o,s){return be[0]=e,be[1]=t,be[2]=n,Pe(be,r,0,o,s,0,1)}function Pe(e,t,n,r,o,i,u=1){const l=Fe(t,o,xe);if((0,s.Wi)(l))return!1;if(l===de){if(e===r&&n===i)return!0;const t=n+3*u;for(let o=n,s=i;o<t;o++,s++)r[s]=e[o];return!0}const _=n+3*u;for(let t=n,o=i;t<_;t+=3,o+=3)l(e,t,r,o);return!0}function fe(e,t,n,r,o,s,i=0){const u=new Array;for(const n of e)for(const e of n)u.push(e[0],e[1],t?e[2]:i);if(!Pe(u,r,0,u,s,0,u.length/3))return!1;let l=0;o.length=0;for(const r of e){const e=new Array;for(const o of r)t&&n?e.push([u[l++],u[l++],u[l++],o[3]]):t?e.push([u[l++],u[l++],u[l++]]):n?(e.push([u[l++],u[l++],o[2]]),l++):(e.push([u[l++],u[l++]]),l++);o.push(e)}return!0}function pe(e,t,n,r){if((0,s.Wi)(e)||(0,s.Wi)(r))return!1;const o=he(e,Le),i=he(r,je);if(o===i&&!Ee(i)&&(0!==o||(0,q.fS)(e,r)))return(0,l.i)(n),(0,l.t)(n,n,t),!0;if(Ee(i)){const e=Ue[o][11],r=Ue[11][i];return!(0,s.Wi)(e)&&!(0,s.Wi)(r)&&(e(t,0,We,0),r(We,0,ze,0),ge(Ze*We[0],Ze*We[1],n),n[12]=ze[0],n[13]=ze[1],n[14]=ze[2],!0)}if(!(3!==i&&12!==i||2!==o&&1!==o&&3!==o)){const e=Ue[o][11],r=Ue[11][i];return!(0,s.Wi)(e)&&!(0,s.Wi)(r)&&(e(t,0,We,0),r(We,0,ze,0),1===o?function(e,t,n){ge(e,t,n),(0,l.a)(n,n)}(Ze*We[0],Ze*We[1],n):(0,l.i)(n),n[12]=ze[0],n[13]=ze[1],n[14]=ze[2],!0)}return!1}function Ee(e){return 1===e||7===e||9===e}function ge(e,t,n){const r=Math.sin(e),o=Math.cos(e),s=Math.sin(t),i=Math.cos(t),u=n;return u[0]=-r,u[4]=-s*o,u[8]=i*o,u[12]=0,u[1]=o,u[5]=-s*r,u[9]=i*r,u[13]=0,u[2]=0,u[6]=i,u[10]=s,u[14]=0,u[3]=0,u[7]=0,u[11]=0,u[15]=1,u}function he(e,t){return t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,u.c9)(e,1)),e.wkt===Z.GG.wkt?t.spatialReferenceId=1:(0,q.oR)(e)?t.spatialReferenceId=2:(0,q.sS)(e)?t.spatialReferenceId=3:(0,q.QM)(e)?t.spatialReferenceId=12:e.wkt===Z.wY.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===Z.HQ.wkt?t.spatialReferenceId=7:e.wkt===Z.VY.wkt?t.spatialReferenceId=9:(0,q.BZ)(e)?t.spatialReferenceId=8:(0,q.V2)(e)?t.spatialReferenceId=10:t.spatialReferenceId=0)}function de(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t])}function Te(e,t,n,r){n[r++]=Xe*(e[t++]/X.sv.radius),n[r++]=Xe*(Math.PI/2-2*Math.atan(Math.exp(-e[t++]/X.sv.radius))),n[r]=e[t]}function Me(e,t,n,r){!function(e,t,n,r,s){const i=.4999999*Math.PI,u=(0,o.uZ)(Ze*e[t+1],-i,i),l=Math.sin(u);n[r++]=Ze*e[t]*s.radius,n[r++]=s.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[r]=e[t+2]}(e,t,n,r,X.sv)}const Se=X.sv.radius*Math.PI/180,ye=180/(X.sv.radius*Math.PI);function Oe(e,t,n,r){n[r]=e[t]*Se,n[r+1]=e[t+1]*Se,n[r+2]=e[t+2]}function Re(e,t,n,r){n[r]=e[t]*ye,n[r+1]=e[t+1]*ye,n[r+2]=e[t+2]}function Ne(e,t,n,r,o){const s=o+e[t+2],i=Ze*e[t+1],u=Ze*e[t],l=Math.cos(i);n[r++]=Math.cos(u)*l*s,n[r++]=Math.sin(u)*l*s,n[r]=Math.sin(i)*s}function Ae(e,t,n,r){Ne(e,t,n,r,X.Z1.radius)}function me(e,t,n,r){Ne(e,t,n,r,X.yr.radius)}function we(e,t,n,r){Ne(e,t,n,r,X.sv.radius)}function Ie(e,t,n,r,s){const i=e[t],u=e[t+1],l=e[t+2],_=Math.sqrt(i*i+u*u+l*l),c=(0,o.Kt)(l/(0===_?1:_)),a=Math.atan2(u,i);n[r++]=Xe*a,n[r++]=Xe*c,n[r]=_-s}function Ge(e,t,n,r){Ie(e,t,n,r,X.Z1.radius)}function De(e,t,n,r){Ie(e,t,n,r,X.yr.radius)}function Ce(e,t,n,r){Ie(e,t,n,r,X.sv.radius)}function ke(e,t,n,r){!function(e,t,n,r,o){const s=Ze*e[t],i=Ze*e[t+1],u=e[t+2],l=Math.sin(i),_=Math.cos(i),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);n[r++]=(c+u)*_*Math.cos(s),n[r++]=(c+u)*_*Math.sin(s),n[r++]=(c*(1-o.eccentricitySquared)+u)*l}(e,t,n,r,X.sv)}function ve(e,t,n,r){const o=z,s=e[t],i=e[t+1],u=e[t+2];let l,_,c,a,P,f,p,E,g,h,d,T,M,S,y,O,R,N,A,m,w;l=Math.abs(u),_=s*s+i*i,c=Math.sqrt(_),a=_+u*u,P=Math.sqrt(a),m=Math.atan2(i,s),f=u*u/a,p=_/a,S=o.a2/P,y=o.a3-o.a4/P,p>.3?(E=l/P*(1+p*(o.a1+S+f*y)/P),A=Math.asin(E),h=E*E,g=Math.sqrt(1-h)):(g=c/P*(1-f*(o.a5-S-p*y)/P),A=Math.acos(g),h=1-g*g,E=Math.sqrt(h)),d=1-X.sv.eccentricitySquared*h,T=X.sv.radius/Math.sqrt(d),M=o.a6*T,S=c-T*g,y=l-M*E,R=g*S+E*y,O=g*y-E*S,N=O/(M/d+R),A+=N,w=R+O*N/2,u<0&&(A=-A),n[r++]=Xe*m,n[r++]=Xe*A,n[r]=w}const Ue={2:{5:null,8:null,10:null,11:de,6:de,1:we,7:null,9:null,0:null,3:Me,12:Oe,2:de,4:ke},5:{5:de,8:null,10:null,11:de,6:de,1:we,7:null,9:null,0:null,3:null,12:Oe,2:null,4:ke},8:{5:null,8:de,10:null,11:de,6:null,1:null,7:me,9:null,0:null,3:null,12:null,2:null,4:null},10:{5:null,8:null,10:de,11:de,6:null,1:null,7:null,9:Ae,0:null,3:null,12:null,2:null,4:null},3:{5:null,8:null,10:null,11:Te,6:Te,1:function(e,t,n,r){Te(e,t,n,r),we(n,r,n,r)},7:null,9:null,0:null,3:de,12:function(e,t,n,r){Te(e,t,n,r),Oe(n,r,n,r)},2:Te,4:function(e,t,n,r){Te(e,t,n,r),ke(n,r,n,r)}},4:{5:ve,8:null,10:null,11:ve,6:ve,1:function(e,t,n,r){ve(e,t,n,r),we(n,r,n,r)},7:null,9:null,0:null,3:function(e,t,n,r){ve(e,t,n,r),Me(n,r,n,r)},12:function(e,t,n,r){ve(e,t,n,r),Oe(n,r,n,r)},2:ve,4:de},1:{5:Ce,8:null,10:null,11:Ce,6:Ce,1:de,7:null,9:null,0:null,3:function(e,t,n,r){Ce(e,t,n,r),Me(n,r,n,r)},12:function(e,t,n,r){Ce(e,t,n,r),Oe(n,r,n,r)},2:Ce,4:function(e,t,n,r){Ce(e,t,n,r),ke(n,r,n,r)}},7:{5:null,8:De,10:null,11:De,6:null,1:null,7:de,9:null,0:null,3:null,12:null,2:null,4:null},9:{5:null,8:null,10:Ge,11:Ge,6:null,1:null,7:null,9:de,0:null,3:null,12:null,2:null,4:null},0:{5:null,8:null,10:null,11:null,6:null,1:null,7:null,9:null,0:de,3:null,12:null,2:null,4:null},11:{5:de,8:de,10:de,11:de,6:de,1:we,7:me,9:Ae,0:null,3:Me,12:Oe,2:de,4:ke},6:{5:null,8:null,10:null,11:de,6:de,1:we,7:null,9:null,0:null,3:null,12:Oe,2:de,4:ke},12:{5:Re,8:null,10:null,11:Re,6:Re,1:function(e,t,n,r){Re(e,t,n,r),we(n,r,n,r)},7:null,9:null,0:null,3:function(e,t,n,r){Re(e,t,n,r),Me(n,r,n,r)},12:de,2:Re,4:function(e,t,n,r){Re(e,t,n,r),ke(n,r,n,r)}}};function Fe(e,t,n=Ye()){return(0,s.Wi)(e)||(0,s.Wi)(t)?null:function(e,t,n){if((0,s.Wi)(e)||(0,s.Wi)(t)||n.source.spatialReference===e&&n.dest.spatialReference===t)return n;const r=he(e,n.source),o=he(t,n.dest);return 0===r&&0===o?(0,q.fS)(e,t)?n.projector=de:n.projector=null:n.projector=Ue[r][o],n}(e,t,n).projector}function Ye(){return{source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:de}}const Le={spatialReference:null,spatialReferenceId:0},je={spatialReference:null,spatialReferenceId:0},xe=Ye(),Ze=(Ye(),(0,o.Vl)(1)),Xe=(0,o.BV)(1),be=(0,_.c)(),We=(0,_.c)(),ze=(0,_.c)(),He=(0,_.c)();(0,_.c)()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6312],{25929:(e,t,n)=>{n.d(t,{f:()=>o,i:()=>d,p:()=>y,r:()=>l,t:()=>s,w:()=>a});var r=n(70586),i=n(17452);function o(e,t){const n=t&&t.url&&t.url.path;if(e&&n&&(e=(0,i.hF)(e,n,{preserveProtocolRelative:!0}),t.portalItem&&t.readResourcePaths)){const n=(0,i.PF)(e,t.portalItem.itemUrl);c.test(n)&&t.readResourcePaths.push(t.portalItem.resourceFromPath(n).path)}return p(e,t&&t.portal)}function s(e,t,n=0){if(!e)return e;!(0,i.YP)(e)&&t&&t.blockedRelativeUrls&&t.blockedRelativeUrls.push(e);let r=(0,i.hF)(e);if(t){const n=t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.rootPath||t.url&&t.url.path;if(n){const o=p(n,t.portal);r=(0,i.PF)(p(r,t.portal),o,o),r!==e&&t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.writtenUrls.push(r)}}return r=function(e,t){return t&&!t.isPortal&&t.urlKey&&t.customBaseUrl?(0,i.Ie)(e,`${t.urlKey}.${t.customBaseUrl}`,t.portalHostname):e}(r,t&&t.portal),(0,i.YP)(r)&&(r=(0,i.Fv)(r)),null!=t&&t.resources&&null!=t&&t.portalItem&&!(0,i.YP)(r)&&!(0,i.HK)(r)&&0===n&&t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(r)}),r}function l(e,t,n){return o(e,n)}function a(e,t,n,r){const i=s(e,r);void 0!==i&&(t[n]=i)}const u=/\/items\/([^\/]+)\/resources\//,c=/^\.\/resources\//;function d(e){const t=(0,r.pC)(e)?e.match(u):null;return(0,r.pC)(t)?t[1]:null}function p(e,t){if(!t||t.isPortal||!t.urlKey||!t.customBaseUrl)return e;const n=`${t.urlKey}.${t.customBaseUrl}`;return(0,i.D6)(i.Gd,`${i.Gd.scheme}://${n}`)?(0,i.Ie)(e,t.portalHostname,n):(0,i.Ie)(e,n,t.portalHostname)}const y=Object.freeze({__proto__:null,fromJSON:o,toJSON:s,read:l,write:a,itemIdFromResourceUrl:d})},36030:(e,t,n)=>{n.d(t,{J:()=>o});var r=n(35454),i=n(5600);function o(e,t={}){var n;const o=e instanceof r.Xn?e:new r.Xn(e,t),s={type:null==(n=null==t?void 0:t.ignoreUnknown)||n?o.apiValues:String,readOnly:null==t?void 0:t.readOnly,json:{type:o.jsonValues,read:(null==t||!t.readOnly)&&{reader:o.read},write:{writer:o.write}}};return void 0!==(null==t?void 0:t.default)&&(s.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(s.json.name=t.name),(0,i.Cb)(s)}},92722:(e,t,n)=>{n.d(t,{lG:()=>I,q9:()=>a,my:()=>F,O3:()=>v});var r=n(20102),i=n(70272),o=n(5428),s=n(35671);const l={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function a(e){return l[e]}function*u(e){switch(e.type){case"Feature":yield e;break;case"FeatureCollection":for(const t of e.features)t&&(yield t)}}function*c(e){if(!e)return null;switch(e.type){case"Point":yield e.coordinates;break;case"LineString":case"MultiPoint":yield*e.coordinates;break;case"MultiLineString":case"Polygon":for(const t of e.coordinates)yield*t;break;case"MultiPolygon":for(const t of e.coordinates)for(const e of t)yield*e}}function d(e){for(const t of e)if(t.length>2)return!0;return!1}function p(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n],i=e[(n+1)%e.length];t+=r[0]*i[1]-i[0]*r[1]}return t<=0}function y(e){const t=e[0],n=e[e.length-1];return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]||e.push(t),e}function m(e,t,n){switch(t.type){case"LineString":case"MultiPoint":return function(e,t,n){return h(e,t.coordinates,n),e}(e,t,n);case"MultiLineString":return function(e,t,n){for(const r of t.coordinates)h(e,r,n);return e}(e,t,n);case"MultiPolygon":return function(e,t,n){for(const r of t.coordinates){f(e,r[0],n);for(let t=1;t<r.length;t++)g(e,r[t],n)}return e}(e,t,n);case"Point":return function(e,t,n){return b(e,t.coordinates,n),e}(e,t,n);case"Polygon":return function(e,t,n){const r=t.coordinates;f(e,r[0],n);for(let t=1;t<r.length;t++)g(e,r[t],n);return e}(e,t,n)}}function f(e,t,n){const r=y(t);!function(e){return!p(e)}(r)?h(e,r,n):w(e,r,n)}function g(e,t,n){const r=y(t);!function(e){return p(e)}(r)?h(e,r,n):w(e,r,n)}function h(e,t,n){for(const r of t)b(e,r,n);e.lengths.push(t.length)}function w(e,t,n){for(let r=t.length-1;r>=0;r--)b(e,t[r],n);e.lengths.push(t.length)}function b(e,t,n){const[r,i,o]=t;e.coords.push(r,i),n.hasZ&&e.coords.push(o||0)}function S(e){switch(typeof e){case"string":return"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function v(e){if(!e)throw new r.Z("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==e.type&&"FeatureCollection"!==e.type)throw new r.Z("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:e});const{crs:t}=e;if(!t)return;const n="string"==typeof t?t:"name"===t.type?t.properties.name:"EPSG"===t.type?t.properties.code:null,i=new RegExp(".*(CRS84H?|4326)$","i");if(!n||!i.test(n))throw new r.Z("geojson-layer:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:t})}function F(e,t={}){const n=[],r=new Set,i=new Set;let o,l=!1,p=null,y=!1,{geometryType:m=null}=t,f=!1;for(const t of u(e)){const{geometry:e,properties:s,id:u}=t;if((!e||(m||(m=a(e.type)),a(e.type)===m))&&(l||(l=d(c(e))),y||(y=null!=u,y&&(o=typeof u,p=Object.keys(s).filter((e=>s[e]===u)))),y&&null!=u&&(p.length>1?p=p.filter((e=>s[e]===u)):1===p.length&&(p=s[p[0]]===u?p:[])),!f&&s)){let e=!0;for(const t in s){if(r.has(t))continue;const o=s[t];if(null==o){e=!1,i.add(t);continue}const l=S(o);"unknown"!==l?(i.delete(t),r.add(t),n.push({name:t,alias:t,type:l})):i.add(t)}f=e}}const g=p&&1===p.length&&p[0]||null;if(g)for(const e of n)if(e.name===g&&(0,s.H7)(e)){e.type="esriFieldTypeOID";break}return{fields:n,geometryType:m,hasZ:l,objectIdFieldName:g,objectIdFieldType:o,unknownFields:Array.from(i)}}function I(e,t){return Array.from(function*(e,t={}){const{geometryType:n,objectIdField:r}=t;for(const l of e){var s;const{geometry:e,properties:u,id:c}=l;if(e&&a(e.type)!==n)continue;const d=u||{};let p=null!=(s=d[r])?s:null;r&&null!=c&&!d[r]&&(d[r]=p=c);const y=new i.ZP(e?m(new o.Z,e,t):null,d,null,p);yield y}}(u(e),t))}},25278:(e,t,n)=>{n.d(t,{MS:()=>c,Dm:()=>a,Hq:()=>u,bU:()=>l});var r=n(80442),i=n(22974),o=n(61159),s=n(58333);function l(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?s.I4:"esriGeometryPolyline"===e?s.ET:s.lF}}}function a(e,t){if((0,r.Z)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let n=`this.${t} = null;`;for(const t in e)n+=`this${t.includes(".")?`["${t}"]`:`.${t}`} = ${JSON.stringify(e[t])};`;const r=new Function(n);return()=>new r}catch(n){return()=>({[t]:null,...e})}}function u(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.d9)(e)}}]}function c(e,t){return{attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryAttachments:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0},query:o.g,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0},editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1}}}},16467:(e,t,n)=>{n.d(t,{$9:()=>w,Lu:()=>h,w9:()=>b,j:()=>S,G4:()=>v,gp:()=>F,eS:()=>I,d:()=>T,yN:()=>j,WW:()=>k}),n(66577);var r=n(3172),i=n(20102),o=n(92604),s=n(70586),l=n(8744),a=n(40488),u=n(98732),c=n(44876),d=n(92722),p=n(25278),y=n(99514),m=n(86719),f=n(82971);const g=o.Z.getLogger("esri.layers.graphics.sources.ogcfeature"),h="http://www.opengis.net/def/crs/",w=`${h}OGC/1.3/CRS84`;async function b(e,t,n={},o=5){const{links:l}=e,a=V(l,"items","application/geo+json")||V(l,"http://www.opengis.net/def/rel/ogc/1.0/items","application/geo+json");if((0,s.Wi)(a))throw new i.Z("ogc-feature-layer:missing-items-page","Missing items url");const{data:u}=await(0,r.default)(a.href,{signal:n.signal,query:{limit:o,...n.customParameters,token:n.apiKey},headers:{accept:"application/geo+json"}});await(0,d.O3)(u);const c=(0,d.my)(u,{geometryType:t.geometryType}),f=t.fields||c.fields||[],h=null!=t.hasZ?t.hasZ:c.hasZ,w=c.geometryType,b=t.objectIdField||c.objectIdFieldName||"OBJECTID";let S=t.timeInfo;const v=f.find((e=>e.name===b));if(v)v.type="esriFieldTypeOID",v.editable=!1,v.nullable=!1;else{if(!c.objectIdFieldType)throw new i.Z("ogc-feature-layer:missing-feature-id","Collection geojson require a feature id as a unique identifier");f.unshift({name:b,alias:b,type:"esriFieldTypeOID",editable:!1,nullable:!1})}if(b!==c.objectIdFieldName){const e=f.find((e=>e.name===c.objectIdFieldName));e&&(e.type="esriFieldTypeInteger")}f===c.fields&&c.unknownFields.length>0&&g.warn({name:"ogc-feature-layer:unknown-field-types",message:"Some fields types couldn't be inferred from the features and were dropped",details:{unknownFields:c.unknownFields}});for(const e of f){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),"esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type&&(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable),!e.name)throw new i.Z("ogc-feature-layer:invalid-field-name","field name is missing",{field:e});if(-1===m.v.jsonValues.indexOf(e.type))throw new i.Z("ogc-feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e})}if(S){const e=new y.Z(f);if(S.startTimeField){const t=e.get(S.startTimeField);t?(S.startTimeField=t.name,t.type="esriFieldTypeDate"):S.startTimeField=null}if(S.endTimeField){const t=e.get(S.endTimeField);t?(S.endTimeField=t.name,t.type="esriFieldTypeDate"):S.endTimeField=null}if(S.trackIdField){const t=e.get(S.trackIdField);t?S.trackIdField=t.name:(S.trackIdField=null,g.warn({name:"ogc-feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:S}}))}S.startTimeField||S.endTimeField||(g.warn({name:"ogc-feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing",details:{timeInfo:S}}),S=null)}return{drawingInfo:w?(0,p.bU)(w):null,geometryType:w,fields:f,hasZ:!!h,objectIdField:b,timeInfo:S}}async function S(e,t={}){const{links:n}=e,o=V(n,"data","application/json")||V(n,"http://www.opengis.net/def/rel/ogc/1.0/data","application/json");if((0,s.Wi)(o))throw new i.Z("ogc-feature-layer:missing-collections-page","Missing collections url");const{apiKey:l,customParameters:a,signal:u}=t,{data:c}=await(0,r.default)(o.href,{signal:u,headers:{accept:"application/json"},query:{...a,token:l}});return c}async function v(e,t={}){const{links:n}=e,o=V(n,"conformance","application/json")||V(n,"http://www.opengis.net/def/rel/ogc/1.0/conformance","application/json");if((0,s.Wi)(o))throw new i.Z("ogc-feature-layer:missing-conformance-page","Missing conformance url");const{apiKey:l,customParameters:a,signal:u}=t,{data:c}=await(0,r.default)(o.href,{signal:u,headers:{accept:"application/json"},query:{...a,token:l}});return c}async function F(e,t={}){const{apiKey:n,customParameters:i,signal:o}=t,{data:s}=await(0,r.default)(e,{signal:o,headers:{accept:"application/json"},query:{...i,token:n}});return s}async function I(e,t={}){const n="application/vnd.oai.openapi+json;version=3.0",i=V(e.links,"service-desc",n);if((0,s.Wi)(i))return g.warn("ogc-feature-layer:missing-openapi-page","The OGC API-Features server does not have an OpenAPI page."),null;const{apiKey:o,customParameters:l,signal:a}=t,{data:u}=await(0,r.default)(i.href,{signal:a,headers:{accept:n},query:{...l,token:o}});return u}function T(e){const t=/^http:\/\/www\.opengis.net\/def\/crs\/(?<authority>.*)\/(?<version>.*)\/(?<code>.*)$/i.exec(e),n=null==t?void 0:t.groups;if(!n)return null;const{authority:r,code:i}=n;switch(r.toLowerCase()){case"ogc":switch(i.toLowerCase()){case"crs27":return f.Z.GCS_NAD_1927.wkid;case"crs83":return 4269;case"crs84":case"crs84h":return f.Z.WGS84.wkid;default:return null}case"esri":case"epsg":{const e=Number.parseInt(i,10);return Number.isNaN(e)?null:e}default:return null}}async function j(e,t,n){const r=await k(e,t,n);return(0,u.cn)(r)}async function k(e,t,n){const{capabilities:{query:{maxRecordCount:o}},collection:p,layerDefinition:y,queryParameters:{apiKey:m,customParameters:g},spatialReference:h,supportedCrs:w}=e,{links:b}=p,S=V(b,"items","application/geo+json")||V(b,"http://www.opengis.net/def/rel/ogc/1.0/items","application/geo+json");if((0,s.Wi)(S))throw new i.Z("ogc-feature-layer:missing-items-page","Missing items url");const{geometry:v,num:F,start:I,timeExtent:T,where:j}=t;if(t.objectIds)throw new i.Z("ogc-feature-layer:query-by-objectids-not-supported","Queries with objectids are not supported");const k=f.Z.fromJSON(h),P=(0,s.Pt)(t.outSpatialReference,k),N=P.isWGS84?null:C(P,w),G=O(v,w),Z=function(e){if((0,s.Wi)(e))return null;const{start:t,end:n}=e;return`${(0,s.pC)(t)?t.toISOString():".."}/${(0,s.pC)(n)?n.toISOString():".."}`}(T),_=(R=j,(0,s.Wi)(R)||!R||"1=1"===R?null:R),x=null!=F?F:null!=I&&void 0!==I?10:o,{data:M}=await(0,r.default)(S.href,{...n,query:{...g,...G,crs:N,datetime:Z,query:_,limit:x,startindex:I,token:m},headers:{accept:"application/geo+json"}});var R;let D=!1;M.links&&(D=!!M.links.find((e=>"next"===e.rel))),!D&&Number.isInteger(M.numberMatched)&&Number.isInteger(M.numberReturned)&&(D=M.numberReturned<M.numberMatched);const{fields:$,globalIdField:q,hasM:U,hasZ:L,objectIdField:W}=y,J=y.geometryType,A=(0,d.lG)(M,{geometryType:J,hasZ:L,objectIdField:W});if(!N&&P.isWebMercator)for(const e of A)if((0,s.pC)(e.geometry)){const t=(0,u.di)(e.geometry,J,L,!1);t.spatialReference=f.Z.WGS84,e.geometry=(0,u.GH)((0,a.iV)(t,P))}for(const e of A)e.objectId=e.attributes[W];const B=N||!N&&P.isWebMercator?P.toJSON():l.Zn,K=new c.Z;return K.exceededTransferLimit=D,K.features=A,K.fields=$,K.geometryType=J,K.globalIdFieldName=q,K.hasM=U,K.hasZ=L,K.objectIdFieldName=W,K.spatialReference=B,K}function C(e,t){var n,r,i;const{isWebMercator:o,wkid:s}=e;if(!s)return null;const l=o?null!=(n=null!=(r=null!=(i=t[3857])?i:t[102100])?r:t[102113])?n:t[900913]:t[e.wkid];return l?`${h}${l}`:null}function P(e){if((0,s.Wi)(e))return"";const{xmin:t,ymin:n,xmax:r,ymax:i}=e;return`${t},${n},${r},${i}`}function O(e,t){if(!function(e){return(0,s.pC)(e)&&"extent"===e.type}(e))return null;const{spatialReference:n}=e;if(!n||n.isWGS84)return{bbox:P(e)};const r=C(n,t);return(0,s.pC)(r)?{bbox:P(e),"bbox-crs":r}:n.isWebMercator?{bbox:P((0,a.iV)(e,f.Z.WGS84))}:null}function V(e,t,n){return e.find((e=>e.rel===t&&e.type===n))||e.find((e=>e.rel===t&&!e.type))}},1231:(e,t,n)=>{n.d(t,{Z:()=>g});var r,i=n(43697),o=n(35454),s=n(10736),l=n(5600),a=(n(67676),n(80442),n(75215)),u=n(36030),c=n(71715),d=n(52011),p=n(72729),y=n(86719);const m=new o.Xn({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let f=r=class extends s.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=-1,this.name=null,this.nullable=!0,this.type=null,this.valueType=null}readDescription(e,{description:t}){let n;try{n=JSON.parse(t)}catch(e){}return n?n.value:null}readValueType(e,{description:t}){let n;try{n=JSON.parse(t)}catch(e){}return n?m.fromJSON(n.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain&&this.domain.clone()||null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType})}};(0,i._)([(0,l.Cb)({type:String,json:{write:!0}})],f.prototype,"alias",void 0),(0,i._)([(0,l.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],f.prototype,"defaultValue",void 0),(0,i._)([(0,l.Cb)()],f.prototype,"description",void 0),(0,i._)([(0,c.r)("description")],f.prototype,"readDescription",null),(0,i._)([(0,l.Cb)({types:p.V5,json:{read:{reader:p.im},write:!0}})],f.prototype,"domain",void 0),(0,i._)([(0,l.Cb)({type:Boolean,json:{write:!0}})],f.prototype,"editable",void 0),(0,i._)([(0,l.Cb)({type:a.z8,json:{write:!0}})],f.prototype,"length",void 0),(0,i._)([(0,l.Cb)({type:String,json:{write:!0}})],f.prototype,"name",void 0),(0,i._)([(0,l.Cb)({type:Boolean,json:{write:!0}})],f.prototype,"nullable",void 0),(0,i._)([(0,u.J)(y.v)],f.prototype,"type",void 0),(0,i._)([(0,l.Cb)()],f.prototype,"valueType",void 0),(0,i._)([(0,c.r)("valueType",["description"])],f.prototype,"readValueType",null),f=r=(0,i._)([(0,d.j)("esri.layers.support.Field")],f);const g=f},72729:(e,t,n)=>{n.d(t,{im:()=>j,V5:()=>T}),n(80442);var r,i=n(43697),o=n(22974),s=n(5600),l=(n(75215),n(36030)),a=n(52011),u=n(10736);n(67676);let c=r=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,i._)([(0,s.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,i._)([(0,s.Cb)({type:[String,Number],json:{write:!0}})],c.prototype,"code",void 0),c=r=(0,i._)([(0,a.j)("esri.layers.support.CodedValue")],c);const d=c,p=new(n(35454).Xn)({inherited:"inherited",codedValue:"coded-value",range:"range"});let y=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,i._)([(0,s.Cb)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i._)([(0,l.J)(p)],y.prototype,"type",void 0),y=(0,i._)([(0,a.j)("esri.layers.support.Domain")],y);const m=y;var f;let g=f=class extends m{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const n=String(e);this.codedValues.some((e=>(String(e.code)===n&&(t=e.name),!!t)))}return t}clone(){return new f({codedValues:(0,o.d9)(this.codedValues),name:this.name})}};(0,i._)([(0,s.Cb)({type:[d],json:{write:!0}})],g.prototype,"codedValues",void 0),(0,i._)([(0,l.J)({codedValue:"coded-value"})],g.prototype,"type",void 0),g=f=(0,i._)([(0,a.j)("esri.layers.support.CodedValueDomain")],g);const h=g;var w;n(92604),n(37697);let b=w=class extends m{constructor(e){super(e),this.type="inherited"}clone(){return new w}};(0,i._)([(0,l.J)({inherited:"inherited"})],b.prototype,"type",void 0),b=w=(0,i._)([(0,a.j)("esri.layers.support.InheritedDomain")],b);const S=b;var v;let F=v=class extends m{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new v({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i._)([(0,s.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,n){t[n]=[this.minValue||0,e]}}}})],F.prototype,"maxValue",void 0),(0,i._)([(0,s.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[0]},write:{target:"range",writer(e,t,n){t[n]=[e,this.maxValue||0]}}}})],F.prototype,"minValue",void 0),(0,i._)([(0,l.J)({range:"range"})],F.prototype,"type",void 0),F=v=(0,i._)([(0,a.j)("esri.layers.support.RangeDomain")],F);const I=F,T={key:"type",base:m,typeMap:{range:F,"coded-value":h,inherited:S}};function j(e){if(!e||!e.type)return null;switch(e.type){case"range":return I.fromJSON(e);case"codedValue":return h.fromJSON(e);case"inherited":return S.fromJSON(e)}return null}},86719:(e,t,n)=>{n.d(t,{v:()=>r});const r=new(n(35454).Xn)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml"})},58333:(e,t,n)=>{n.d(t,{I4:()=>i,lF:()=>s,ET:()=>o,qP:()=>l,eG:()=>a,lj:()=>c,wW:()=>u});const r=[252,146,31,255],i={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r},s={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},a={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},u={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},c={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7039],{57039:(e,r,t)=>{t.r(r),t.d(r,{default:()=>k});var i=t(43697),s=t(5600),a=(t(67676),t(80442),t(75215),t(52011)),o=t(3172),l=t(28263),n=t(38581),p=t(5226),u=t(11282),y=(t(66577),t(38171)),c=t(10736),f=t(70586),B=t(71715),d=t(82971),g=t(79166),m=t(13473),v=t(58901),P=t(17332),b=t(33955);function h(e){return e.features.map((r=>{const t=d.Z.fromJSON(e.spatialReference),i=y.Z.fromJSON(r);return(0,f.Wg)(i.geometry).spatialReference=t,i}))}function _(e){return(0,f.lV)(e.features.map((r=>((0,f.pC)(r.geometry)&&(r.geometry.spatialReference=e.spatialReference),(0,b.im)(r.geometry)))))}let A=class extends c.wq{constructor(e){super(e),this.facilities=null,this.messages=null,this.pointBarriers=null,this.polylineBarriers=null,this.polygonBarriers=null,this.serviceAreaPolylines=null,this.serviceAreaPolygons=null}readFacilities(e){return _(e)}readPointBarriers(e,r){return _(r.barriers)}readPolylineBarriers(e){return _(e)}readPolygonBarriers(e){return _(e)}readIncidents(e,r){return h(r.saPolylines)}readServiceAreaPolygons(e,r){return h(r.saPolygons)}};(0,i._)([(0,s.Cb)({type:[m.Z]})],A.prototype,"facilities",void 0),(0,i._)([(0,B.r)("facilities")],A.prototype,"readFacilities",null),(0,i._)([(0,s.Cb)({type:[g.Z]})],A.prototype,"messages",void 0),(0,i._)([(0,s.Cb)({type:[m.Z]})],A.prototype,"pointBarriers",void 0),(0,i._)([(0,B.r)("pointBarriers",["barriers"])],A.prototype,"readPointBarriers",null),(0,i._)([(0,s.Cb)({type:[v.Z]})],A.prototype,"polylineBarriers",void 0),(0,i._)([(0,B.r)("polylineBarriers")],A.prototype,"readPolylineBarriers",null),(0,i._)([(0,s.Cb)({type:[P.Z]})],A.prototype,"polygonBarriers",void 0),(0,i._)([(0,B.r)("polygonBarriers")],A.prototype,"readPolygonBarriers",null),(0,i._)([(0,s.Cb)({type:[y.Z]})],A.prototype,"serviceAreaPolylines",void 0),(0,i._)([(0,B.r)("serviceAreaPolylines",["saPolylines"])],A.prototype,"readIncidents",null),(0,i._)([(0,s.Cb)({type:[y.Z]})],A.prototype,"serviceAreaPolygons",void 0),(0,i._)([(0,B.r)("serviceAreaPolygons",["saPolygons"])],A.prototype,"readServiceAreaPolygons",null),A=(0,i._)([(0,a.j)("esri.rest.support.ServiceAreaSolveResult")],A);const C=A,S=(0,l.E)({accumulateAttributes:{name:"accumulateAttributeNames"},attributeParameterValues:!0,defaultBreaks:!0,facilities:!0,outSpatialReference:{name:"outSR",getter:e=>e.outSpatialReference.wkid},pointBarriers:{name:"barriers"},polylineBarriers:!0,polygonBarriers:!0,restrictionAttributes:{name:"restrictionAttributeNames"},returnPointBarriers:{name:"returnBarriers"},travelMode:!0});var Z=t(59633);let R=class extends Z.Z{constructor(e){super(e),this.url=null}solve(e,r){return async function(e,r,t){const i=[],s=[],a={},l={},y=(0,u.en)(e),{path:c}=y;r.facilities&&r.facilities.features&&(0,p.et)(r.facilities.features,s,"facilities.features",a),r.pointBarriers&&r.pointBarriers.features&&(0,p.et)(r.pointBarriers.features,s,"pointBarriers.features",a),r.polylineBarriers&&r.polylineBarriers.features&&(0,p.et)(r.polylineBarriers.features,s,"polylineBarriers.features",a),r.polygonBarriers&&r.polygonBarriers.features&&(0,p.et)(r.polygonBarriers.features,s,"polygonBarriers.features",a);const f=await(0,n.aX)(s);for(const e in a){const r=a[e];i.push(e),l[e]=f.slice(r[0],r[1])}if((0,p.Wf)(l,i)){let e=null;try{e=await(0,p.bI)(c,r.apiKey,t)}catch{}e&&!e.hasZ&&(0,p.ef)(l,i)}for(const e in l)l[e].forEach(((t,i)=>{r.get(e)[i].geometry=t}));const B={...t,query:{...y.query,...S.toQueryParams(r),f:"json"}},{data:d}=await(0,o.default)(`${c}/solveServiceArea`,B);return C.fromJSON(d)}(this.url,e,r)}};(0,i._)([(0,s.Cb)()],R.prototype,"url",void 0),R=(0,i._)([(0,a.j)("esri.tasks.ServiceAreaTask")],R);const k=R}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3675],{21787:(t,n,r)=>{r.d(n,{a:()=>i,f:()=>o,i:()=>s,t:()=>a});var e=r(46851);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function a(t,n){if(t===n){const r=n[1],e=n[2],o=n[5];t[1]=n[3],t[2]=n[6],t[3]=r,t[5]=n[7],t[6]=e,t[7]=o}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function u(t,n,r){const e=n[0],o=n[1],a=n[2],u=n[3],i=n[4],c=n[5],s=n[6],f=n[7],l=n[8],h=r[0],M=r[1],m=r[2],p=r[3],d=r[4],y=r[5],g=r[6],b=r[7],A=r[8];return t[0]=h*e+M*u+m*s,t[1]=h*o+M*i+m*f,t[2]=h*a+M*c+m*l,t[3]=p*e+d*u+y*s,t[4]=p*o+d*i+y*f,t[5]=p*a+d*c+y*l,t[6]=g*e+b*u+A*s,t[7]=g*o+b*i+A*f,t[8]=g*a+b*c+A*l,t}function i(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],u=n[4],i=n[5],c=n[6],s=n[7],f=n[8],l=n[9],h=n[10],M=n[11],m=n[12],p=n[13],d=n[14],y=n[15],g=r*i-e*u,b=r*c-o*u,A=r*s-a*u,x=e*c-o*i,E=e*s-a*i,_=o*s-a*c,T=f*p-l*m,v=f*d-h*m,P=f*y-M*m,w=l*d-h*p,q=l*y-M*p,B=h*y-M*d;let R=g*B-b*q+A*w+x*P-E*v+_*T;return R?(R=1/R,t[0]=(i*B-c*q+s*w)*R,t[1]=(c*P-u*B-s*v)*R,t[2]=(u*q-i*P+s*T)*R,t[3]=(o*q-e*B-a*w)*R,t[4]=(r*B-o*P+a*v)*R,t[5]=(e*P-r*q-a*T)*R,t[6]=(p*_-d*E+y*x)*R,t[7]=(d*A-m*_-y*b)*R,t[8]=(m*E-p*A+y*g)*R,t):null}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t}function s(t){const n=e.E,r=t[0],o=t[1],a=t[2],u=t[3],i=t[4],c=t[5],s=t[6],f=t[7],l=t[8];return Math.abs(1-(r*r+u*u+s*s))<=n&&Math.abs(1-(o*o+i*i+f*f))<=n&&Math.abs(1-(a*a+c*c+l*l))<=n}const f=u,l=c;Object.freeze({__proto__:null,fromMat4:o,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},set:function(t,n,r,e,o,a,u,i,c,s){return t[0]=n,t[1]=r,t[2]=e,t[3]=o,t[4]=a,t[5]=u,t[6]=i,t[7]=c,t[8]=s,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},transpose:a,invert:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],u=n[4],i=n[5],c=n[6],s=n[7],f=n[8],l=f*u-i*s,h=-f*a+i*c,M=s*a-u*c;let m=r*l+e*h+o*M;return m?(m=1/m,t[0]=l*m,t[1]=(-f*e+o*s)*m,t[2]=(i*e-o*u)*m,t[3]=h*m,t[4]=(f*r-o*c)*m,t[5]=(-i*r+o*a)*m,t[6]=M*m,t[7]=(-s*r+e*c)*m,t[8]=(u*r-e*a)*m,t):null},adjoint:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],u=n[4],i=n[5],c=n[6],s=n[7],f=n[8];return t[0]=u*f-i*s,t[1]=o*s-e*f,t[2]=e*i-o*u,t[3]=i*c-a*f,t[4]=r*f-o*c,t[5]=o*a-r*i,t[6]=a*s-u*c,t[7]=e*c-r*s,t[8]=r*u-e*a,t},determinant:function(t){const n=t[0],r=t[1],e=t[2],o=t[3],a=t[4],u=t[5],i=t[6],c=t[7],s=t[8];return n*(s*a-u*c)+r*(-s*o+u*i)+e*(c*o-a*i)},multiply:u,translate:function(t,n,r){const e=n[0],o=n[1],a=n[2],u=n[3],i=n[4],c=n[5],s=n[6],f=n[7],l=n[8],h=r[0],M=r[1];return t[0]=e,t[1]=o,t[2]=a,t[3]=u,t[4]=i,t[5]=c,t[6]=h*e+M*u+s,t[7]=h*o+M*i+f,t[8]=h*a+M*c+l,t},rotate:function(t,n,r){const e=n[0],o=n[1],a=n[2],u=n[3],i=n[4],c=n[5],s=n[6],f=n[7],l=n[8],h=Math.sin(r),M=Math.cos(r);return t[0]=M*e+h*u,t[1]=M*o+h*i,t[2]=M*a+h*c,t[3]=M*u-h*e,t[4]=M*i-h*o,t[5]=M*c-h*a,t[6]=s,t[7]=f,t[8]=l,t},scale:function(t,n,r){const e=r[0],o=r[1],a=r[2];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t[6]=a*n[6],t[7]=a*n[7],t[8]=a*n[8],t},scaleByVec2:function(t,n,r){const e=r[0],o=r[1];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},fromRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=-r,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromQuat:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],u=r+r,i=e+e,c=o+o,s=r*u,f=e*u,l=e*i,h=o*u,M=o*i,m=o*c,p=a*u,d=a*i,y=a*c;return t[0]=1-l-m,t[3]=f-y,t[6]=h+d,t[1]=f+y,t[4]=1-s-m,t[7]=M-p,t[2]=h-d,t[5]=M+p,t[8]=1-s-l,t},normalFromMat4Legacy:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[4],u=n[5],i=n[6],c=n[8],s=n[9],f=n[10],l=f*u-i*s,h=-f*a+i*c,M=s*a-u*c,m=r*l+e*h+o*M;if(!m)return null;const p=1/m;return t[0]=l*p,t[1]=(-f*e+o*s)*p,t[2]=(i*e-o*u)*p,t[3]=h*p,t[4]=(f*r-o*c)*p,t[5]=(-i*r+o*a)*p,t[6]=M*p,t[7]=(-s*r+e*c)*p,t[8]=(u*r-e*a)*p,t},normalFromMat4:i,projection:function(t,n,r){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/r,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t},subtract:c,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},equals:function(t,n){const r=t[0],o=t[1],a=t[2],u=t[3],i=t[4],c=t[5],s=t[6],f=t[7],l=t[8],h=n[0],M=n[1],m=n[2],p=n[3],d=n[4],y=n[5],g=n[6],b=n[7],A=n[8];return Math.abs(r-h)<=e.E*Math.max(1,Math.abs(r),Math.abs(h))&&Math.abs(o-M)<=e.E*Math.max(1,Math.abs(o),Math.abs(M))&&Math.abs(a-m)<=e.E*Math.max(1,Math.abs(a),Math.abs(m))&&Math.abs(u-p)<=e.E*Math.max(1,Math.abs(u),Math.abs(p))&&Math.abs(i-d)<=e.E*Math.max(1,Math.abs(i),Math.abs(d))&&Math.abs(c-y)<=e.E*Math.max(1,Math.abs(c),Math.abs(y))&&Math.abs(s-g)<=e.E*Math.max(1,Math.abs(s),Math.abs(g))&&Math.abs(f-b)<=e.E*Math.max(1,Math.abs(f),Math.abs(b))&&Math.abs(l-A)<=e.E*Math.max(1,Math.abs(l),Math.abs(A))},isOrthoNormal:s,mul:f,sub:l})},46521:(t,n,r)=>{function e(){return[1,0,0,0,1,0,0,0,1]}function o(t,n){return new Float64Array(t,n,9)}r.d(n,{a:()=>o,c:()=>e}),Object.freeze({__proto__:null,create:e,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},fromValues:function(t,n,r,e,o,a,u,i,c){return[t,n,r,e,o,a,u,i,c]},createView:o})},13598:(t,n,r)=>{function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(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]]}function a(t,n){return new Float64Array(t,n,16)}r.d(n,{I:()=>u,a:()=>a,b:()=>o,c:()=>e});const u=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze({__proto__:null,create:e,clone:o,fromValues:function(t,n,r,e,o,a,u,i,c,s,f,l,h,M,m,p){return[t,n,r,e,o,a,u,i,c,s,f,l,h,M,m,p]},createView:a,IDENTITY:u})},51305:(t,n,r)=>{r.d(n,{c:()=>M,g:()=>f,j:()=>q,k:()=>p,m:()=>l,s:()=>s});var e=r(46521),o=r(94961),a=r(65617),u=r(46851),i=r(17896),c=r(98766);function s(t,n,r){r*=.5;const e=Math.sin(r);return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=Math.cos(r),t}function f(t,n){const r=2*Math.acos(n[3]),e=Math.sin(r/2);return e>u.E?(t[0]=n[0]/e,t[1]=n[1]/e,t[2]=n[2]/e):(t[0]=1,t[1]=0,t[2]=0),r}function l(t,n,r){const e=n[0],o=n[1],a=n[2],u=n[3],i=r[0],c=r[1],s=r[2],f=r[3];return t[0]=e*f+u*i+o*s-a*c,t[1]=o*f+u*c+a*i-e*s,t[2]=a*f+u*s+e*c-o*i,t[3]=u*f-e*i-o*c-a*s,t}function h(t,n,r,e){const o=n[0],a=n[1],i=n[2],c=n[3];let s,f,l,h,M,m=r[0],p=r[1],d=r[2],y=r[3];return f=o*m+a*p+i*d+c*y,f<0&&(f=-f,m=-m,p=-p,d=-d,y=-y),1-f>u.E?(s=Math.acos(f),l=Math.sin(s),h=Math.sin((1-e)*s)/l,M=Math.sin(e*s)/l):(h=1-e,M=e),t[0]=h*o+M*m,t[1]=h*a+M*p,t[2]=h*i+M*d,t[3]=h*c+M*y,t}function M(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=n[3],t}function m(t,n){const r=n[0]+n[4]+n[8];let e;if(r>0)e=Math.sqrt(r+1),t[3]=.5*e,e=.5/e,t[0]=(n[5]-n[7])*e,t[1]=(n[6]-n[2])*e,t[2]=(n[1]-n[3])*e;else{let r=0;n[4]>n[0]&&(r=1),n[8]>n[3*r+r]&&(r=2);const o=(r+1)%3,a=(r+2)%3;e=Math.sqrt(n[3*r+r]-n[3*o+o]-n[3*a+a]+1),t[r]=.5*e,e=.5/e,t[3]=(n[3*o+a]-n[3*a+o])*e,t[o]=(n[3*o+r]+n[3*r+o])*e,t[a]=(n[3*a+r]+n[3*r+a])*e}return t}function p(t,n,r,e){const o=.5*Math.PI/180;n*=o,r*=o,e*=o;const a=Math.sin(n),u=Math.cos(n),i=Math.sin(r),c=Math.cos(r),s=Math.sin(e),f=Math.cos(e);return t[0]=a*c*f-u*i*s,t[1]=u*i*f+a*c*s,t[2]=u*c*s-a*i*f,t[3]=u*c*f+a*i*s,t}const d=c.c,y=c.s,g=c.a,b=l,A=c.b,x=c.d,E=c.l,_=c.e,T=_,v=c.f,P=v,w=c.n,q=c.g,B=c.h,R=(0,a.c)(),F=(0,a.f)(1,0,0),S=(0,a.f)(0,1,0),I=(0,o.a)(),z=(0,o.a)(),C=(0,e.c)();Object.freeze({__proto__:null,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},setAxisAngle:s,getAxisAngle:f,multiply:l,rotateX:function(t,n,r){r*=.5;const e=n[0],o=n[1],a=n[2],u=n[3],i=Math.sin(r),c=Math.cos(r);return t[0]=e*c+u*i,t[1]=o*c+a*i,t[2]=a*c-o*i,t[3]=u*c-e*i,t},rotateY:function(t,n,r){r*=.5;const e=n[0],o=n[1],a=n[2],u=n[3],i=Math.sin(r),c=Math.cos(r);return t[0]=e*c-a*i,t[1]=o*c+u*i,t[2]=a*c+e*i,t[3]=u*c-o*i,t},rotateZ:function(t,n,r){r*=.5;const e=n[0],o=n[1],a=n[2],u=n[3],i=Math.sin(r),c=Math.cos(r);return t[0]=e*c+o*i,t[1]=o*c-e*i,t[2]=a*c+u*i,t[3]=u*c-a*i,t},calculateW:function(t,n){const r=n[0],e=n[1],o=n[2];return t[0]=r,t[1]=e,t[2]=o,t[3]=Math.sqrt(Math.abs(1-r*r-e*e-o*o)),t},slerp:h,random:function(t){const n=(0,u.R)(),r=(0,u.R)(),e=(0,u.R)(),o=Math.sqrt(1-n),a=Math.sqrt(n);return t[0]=o*Math.sin(2*Math.PI*r),t[1]=o*Math.cos(2*Math.PI*r),t[2]=a*Math.sin(2*Math.PI*e),t[3]=a*Math.cos(2*Math.PI*e),t},invert:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],u=r*r+e*e+o*o+a*a,i=u?1/u:0;return t[0]=-r*i,t[1]=-e*i,t[2]=-o*i,t[3]=a*i,t},conjugate:M,fromMat3:m,fromEuler:p,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},copy:d,set:y,add:g,mul:b,scale:A,dot:x,lerp:E,length:_,len:T,squaredLength:v,sqrLen:P,normalize:w,exactEquals:q,equals:B,rotationTo:function(t,n,r){const e=(0,i.d)(n,r);return e<-.999999?((0,i.c)(R,F,n),(0,i.u)(R)<1e-6&&(0,i.c)(R,S,n),(0,i.n)(R,R),s(t,R,Math.PI),t):e>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,i.c)(R,n,r),t[0]=R[0],t[1]=R[1],t[2]=R[2],t[3]=1+e,w(t,t))},sqlerp:function(t,n,r,e,o,a){return h(I,n,o,a),h(z,r,e,a),h(t,I,z,2*a*(1-a)),t},setAxes:function(t,n,r,e){const o=C;return o[0]=r[0],o[3]=r[1],o[6]=r[2],o[1]=e[0],o[4]=e[1],o[7]=e[2],o[2]=-n[0],o[5]=-n[1],o[8]=-n[2],w(t,m(t,o))}})},94961:(t,n,r)=>{function e(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}function a(t,n){return new Float64Array(t,n,4)}r.d(n,{I:()=>u,a:()=>e,b:()=>o,c:()=>a});const u=[0,0,0,1];Object.freeze({__proto__:null,create:e,clone:o,fromValues:function(t,n,r,e){return[t,n,r,e]},createView:a,IDENTITY:u})},17896:(t,n,r)=>{r.d(n,{E:()=>l,a:()=>h,b:()=>c,c:()=>g,d:()=>y,e:()=>b,f:()=>s,g:()=>u,h:()=>m,i:()=>M,k:()=>v,l:()=>a,m:()=>A,n:()=>d,p:()=>p,q:()=>E,r:()=>P,s:()=>i,t:()=>x,u:()=>S,w:()=>w});var e=r(65617),o=r(46851);function a(t){const n=t[0],r=t[1],e=t[2];return Math.sqrt(n*n+r*r+e*e)}function u(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function i(t,n,r,e){return t[0]=n,t[1]=r,t[2]=e,t}function c(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t}function s(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t}function f(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t}function l(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t}function h(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t}function M(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2];return Math.sqrt(r*r+e*e+o*o)}function m(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2];return r*r+e*e+o*o}function p(t){const n=t[0],r=t[1],e=t[2];return n*n+r*r+e*e}function d(t,n){const r=n[0],e=n[1],o=n[2];let a=r*r+e*e+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a),t}function y(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function g(t,n,r){const e=n[0],o=n[1],a=n[2],u=r[0],i=r[1],c=r[2];return t[0]=o*c-a*i,t[1]=a*u-e*c,t[2]=e*i-o*u,t}function b(t,n,r,e){const o=n[0],a=n[1],u=n[2];return t[0]=o+e*(r[0]-o),t[1]=a+e*(r[1]-a),t[2]=u+e*(r[2]-u),t}function A(t,n,r){const e=n[0],o=n[1],a=n[2];return t[0]=r[0]*e+r[4]*o+r[8]*a+r[12],t[1]=r[1]*e+r[5]*o+r[9]*a+r[13],t[2]=r[2]*e+r[6]*o+r[10]*a+r[14],t}function x(t,n,r){const e=n[0],o=n[1],a=n[2];return t[0]=e*r[0]+o*r[3]+a*r[6],t[1]=e*r[1]+o*r[4]+a*r[7],t[2]=e*r[2]+o*r[5]+a*r[8],t}function E(t,n,r){const e=r[0],o=r[1],a=r[2],u=r[3],i=n[0],c=n[1],s=n[2];let f=o*s-a*c,l=a*i-e*s,h=e*c-o*i,M=o*h-a*l,m=a*f-e*h,p=e*l-o*f;const d=2*u;return f*=d,l*=d,h*=d,M*=2,m*=2,p*=2,t[0]=i+f+M,t[1]=c+l+m,t[2]=s+h+p,t}const _=(0,e.c)(),T=(0,e.c)();function v(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function P(t,n,r){const e=r[0]-n[0],o=r[1]-n[1],a=r[2]-n[2];let u=e*e+o*o+a*a;return u>0?(u=1/Math.sqrt(u),t[0]=e*u,t[1]=o*u,t[2]=a*u,t):(t[0]=0,t[1]=0,t[2]=0,t)}const w=s,q=f,B=l,R=M,F=m,S=a,I=p;Object.freeze({__proto__:null,length:a,copy:u,set:i,add:c,subtract:s,multiply:f,divide:l,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},min:function(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t},max:function(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:h,scaleAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t},distance:M,squaredDistance:m,squaredLength:p,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t},normalize:d,dot:y,cross:g,lerp:b,hermite:function(t,n,r,e,o,a){const u=a*a,i=u*(2*a-3)+1,c=u*(a-2)+a,s=u*(a-1),f=u*(3-2*a);return t[0]=n[0]*i+r[0]*c+e[0]*s+o[0]*f,t[1]=n[1]*i+r[1]*c+e[1]*s+o[1]*f,t[2]=n[2]*i+r[2]*c+e[2]*s+o[2]*f,t},bezier:function(t,n,r,e,o,a){const u=1-a,i=u*u,c=a*a,s=i*u,f=3*a*i,l=3*c*u,h=c*a;return t[0]=n[0]*s+r[0]*f+e[0]*l+o[0]*h,t[1]=n[1]*s+r[1]*f+e[1]*l+o[1]*h,t[2]=n[2]*s+r[2]*f+e[2]*l+o[2]*h,t},random:function(t,n){n=n||1;const r=2*(0,o.R)()*Math.PI,e=2*(0,o.R)()-1,a=Math.sqrt(1-e*e)*n;return t[0]=Math.cos(r)*a,t[1]=Math.sin(r)*a,t[2]=e*n,t},transformMat4:A,transformMat3:x,transformQuat:E,rotateX:function(t,n,r,e){const o=[],a=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],a[0]=o[0],a[1]=o[1]*Math.cos(e)-o[2]*Math.sin(e),a[2]=o[1]*Math.sin(e)+o[2]*Math.cos(e),t[0]=a[0]+r[0],t[1]=a[1]+r[1],t[2]=a[2]+r[2],t},rotateY:function(t,n,r,e){const o=[],a=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],a[0]=o[2]*Math.sin(e)+o[0]*Math.cos(e),a[1]=o[1],a[2]=o[2]*Math.cos(e)-o[0]*Math.sin(e),t[0]=a[0]+r[0],t[1]=a[1]+r[1],t[2]=a[2]+r[2],t},rotateZ:function(t,n,r,e){const o=[],a=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],a[0]=o[0]*Math.cos(e)-o[1]*Math.sin(e),a[1]=o[0]*Math.sin(e)+o[1]*Math.cos(e),a[2]=o[2],t[0]=a[0]+r[0],t[1]=a[1]+r[1],t[2]=a[2]+r[2],t},angle:function(t,n){u(_,t),u(T,n),d(_,_),d(T,T);const r=y(_,T);return r>1?0:r<-1?Math.PI:Math.acos(r)},str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},exactEquals:v,equals:function(t,n){const r=t[0],e=t[1],a=t[2],u=n[0],i=n[1],c=n[2];return Math.abs(r-u)<=o.E*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(e-i)<=o.E*Math.max(1,Math.abs(e),Math.abs(i))&&Math.abs(a-c)<=o.E*Math.max(1,Math.abs(a),Math.abs(c))},direction:P,sub:w,mul:q,div:B,dist:R,sqrDist:F,len:S,sqrLen:I})},20773:(t,n,r)=>{r.d(n,{a:()=>a,b:()=>c,n:()=>i,s:()=>u,t:()=>o});var e=r(72220);function o(t,n,r){if(t.count!==n.count)return void e.k.error("source and destination buffers need to have the same number of elements");const o=t.count,a=r[0],u=r[1],i=r[2],c=r[4],s=r[5],f=r[6],l=r[8],h=r[9],M=r[10],m=r[12],p=r[13],d=r[14],y=t.typedBuffer,g=t.typedBufferStride,b=n.typedBuffer,A=n.typedBufferStride;for(let t=0;t<o;t++){const n=t*g,r=t*A,e=b[r],o=b[r+1],x=b[r+2];y[n]=a*e+c*o+l*x+m,y[n+1]=u*e+s*o+h*x+p,y[n+2]=i*e+f*o+M*x+d}}function a(t,n,r){if(t.count!==n.count)return void e.k.error("source and destination buffers need to have the same number of elements");const o=t.count,a=r[0],u=r[1],i=r[2],c=r[3],s=r[4],f=r[5],l=r[6],h=r[7],M=r[8],m=t.typedBuffer,p=t.typedBufferStride,d=n.typedBuffer,y=n.typedBufferStride;for(let t=0;t<o;t++){const n=t*p,r=t*y,e=d[r],o=d[r+1],g=d[r+2];m[n]=a*e+c*o+l*g,m[n+1]=u*e+s*o+h*g,m[n+2]=i*e+f*o+M*g}}function u(t,n,r){const e=Math.min(t.count,n.count),o=t.typedBuffer,a=t.typedBufferStride,u=n.typedBuffer,i=n.typedBufferStride;for(let t=0;t<e;t++){const n=t*a,e=t*i;o[n]=r*u[e],o[n+1]=r*u[e+1],o[n+2]=r*u[e+2]}}function i(t,n){const r=Math.min(t.count,n.count),e=t.typedBuffer,o=t.typedBufferStride,a=n.typedBuffer,u=n.typedBufferStride;for(let t=0;t<r;t++){const n=t*o,r=t*u,i=a[r],c=a[r+1],s=a[r+2],f=Math.sqrt(i*i+c*c+s*s);if(f>0){const t=1/f;e[n]=t*i,e[n+1]=t*c,e[n+2]=t*s}}}function c(t,n,r){const e=Math.min(t.count,n.count),o=t.typedBuffer,a=t.typedBufferStride,u=n.typedBuffer,i=n.typedBufferStride;for(let t=0;t<e;t++){const n=t*a,e=t*i;o[n]=u[e]>>r,o[n+1]=u[e+1]>>r,o[n+2]=u[e+2]>>r}}Object.freeze({__proto__:null,transformMat4:o,transformMat3:a,scale:u,normalize:i,shiftRight:c})},56067:(t,n,r)=>{function e(t,n,r){const e=t.typedBuffer,o=t.typedBufferStride,a=n.typedBuffer,u=n.typedBufferStride,i=r?r.count:n.count;let c=(r&&r.dstIndex?r.dstIndex:0)*o,s=(r&&r.srcIndex?r.srcIndex:0)*u;for(let t=0;t<i;++t)e[c]=a[s],e[c+1]=a[s+1],e[c+2]=a[s+2],c+=o,s+=u}function o(t,n,r,e,o){var a,u;const i=t.typedBuffer,c=t.typedBufferStride,s=null!=(a=null==o?void 0:o.count)?a:t.count;let f=(null!=(u=null==o?void 0:o.dstIndex)?u:0)*c;for(let t=0;t<s;++t)i[f]=n,i[f+1]=r,i[f+2]=e,f+=c}r.d(n,{c:()=>e,f:()=>o}),Object.freeze({__proto__:null,copy:e,fill:o})},98766:(t,n,r)=>{r.d(n,{a:()=>u,b:()=>f,c:()=>o,d:()=>d,e:()=>M,f:()=>m,g:()=>b,h:()=>A,l:()=>y,n:()=>p,s:()=>a,t:()=>g});var e=r(46851);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function a(t,n,r,e,o){return t[0]=n,t[1]=r,t[2]=e,t[3]=o,t}function u(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t}function i(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t}function c(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t[3]=n[3]*r[3],t}function s(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t[3]=n[3]/r[3],t}function f(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t}function l(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2],a=n[3]-t[3];return Math.sqrt(r*r+e*e+o*o+a*a)}function h(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2],a=n[3]-t[3];return r*r+e*e+o*o+a*a}function M(t){const n=t[0],r=t[1],e=t[2],o=t[3];return Math.sqrt(n*n+r*r+e*e+o*o)}function m(t){const n=t[0],r=t[1],e=t[2],o=t[3];return n*n+r*r+e*e+o*o}function p(t,n){const r=n[0],e=n[1],o=n[2],a=n[3];let u=r*r+e*e+o*o+a*a;return u>0&&(u=1/Math.sqrt(u),t[0]=r*u,t[1]=e*u,t[2]=o*u,t[3]=a*u),t}function d(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function y(t,n,r,e){const o=n[0],a=n[1],u=n[2],i=n[3];return t[0]=o+e*(r[0]-o),t[1]=a+e*(r[1]-a),t[2]=u+e*(r[2]-u),t[3]=i+e*(r[3]-i),t}function g(t,n,r){const e=n[0],o=n[1],a=n[2],u=n[3];return t[0]=r[0]*e+r[4]*o+r[8]*a+r[12]*u,t[1]=r[1]*e+r[5]*o+r[9]*a+r[13]*u,t[2]=r[2]*e+r[6]*o+r[10]*a+r[14]*u,t[3]=r[3]*e+r[7]*o+r[11]*a+r[15]*u,t}function b(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function A(t,n){const r=t[0],o=t[1],a=t[2],u=t[3],i=n[0],c=n[1],s=n[2],f=n[3];return Math.abs(r-i)<=e.E*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(o-c)<=e.E*Math.max(1,Math.abs(o),Math.abs(c))&&Math.abs(a-s)<=e.E*Math.max(1,Math.abs(a),Math.abs(s))&&Math.abs(u-f)<=e.E*Math.max(1,Math.abs(u),Math.abs(f))}const x=i,E=c,_=s,T=l,v=h,P=M,w=m;Object.freeze({__proto__:null,copy:o,set:a,add:u,subtract:i,multiply:c,divide:s,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},min:function(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t[3]=Math.min(n[3],r[3]),t},max:function(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t[3]=Math.max(n[3],r[3]),t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t},scale:f,scaleAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t},distance:l,squaredDistance:h,length:M,squaredLength:m,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},normalize:p,dot:d,lerp:y,random:function(t,n){let r,o,a,u,i,c;n=n||1;do{r=2*(0,e.R)()-1,o=2*(0,e.R)()-1,i=r*r+o*o}while(i>=1);do{a=2*(0,e.R)()-1,u=2*(0,e.R)()-1,c=a*a+u*u}while(c>=1);const s=Math.sqrt((1-i)/c);return t[0]=n*r,t[1]=n*o,t[2]=n*a*s,t[3]=n*u*s,t},transformMat4:g,transformQuat:function(t,n,r){const e=n[0],o=n[1],a=n[2],u=r[0],i=r[1],c=r[2],s=r[3],f=s*e+i*a-c*o,l=s*o+c*e-u*a,h=s*a+u*o-i*e,M=-u*e-i*o-c*a;return t[0]=f*s+M*-u+l*-c-h*-i,t[1]=l*s+M*-i+h*-u-f*-c,t[2]=h*s+M*-c+f*-i-l*-u,t[3]=n[3],t},str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},exactEquals:b,equals:A,sub:x,mul:E,div:_,dist:T,sqrDist:v,len:P,sqrLen:w})},22021:(t,n,r)=>{r.d(n,{ZF:()=>l,Kt:()=>h,jE:()=>p,uZ:()=>u,oK:()=>M,Vl:()=>s,wt:()=>i,t7:()=>c,Sf:()=>a,BV:()=>f});var e=r(17896);r(98766);const o=new Float32Array(1);function a(t){--t;for(let n=1;n<32;n<<=1)t|=t>>n;return t+1}function u(t,n,r){return Math.min(Math.max(t,n),r)}function i(t){return 0==(t&t-1)}function c(t,n,r){return t+(n-t)*r}function s(t){return t*Math.PI/180}function f(t){return 180*t/Math.PI}function l(t){return Math.acos(u(t,-1,1))}function h(t){return Math.asin(u(t,-1,1))}function M(t){return m(Math.max(-d,Math.min(t,d)))}function m(t){return o[0]=t,o[0]}function p(t,n){const r=(0,e.l)(t),o=h(t[2]/r),a=Math.atan2(t[1]/r,t[0]/r);return(0,e.s)(n,r,o,a),n}const d=m(34028234663852886e22)},2674:(t,n,r)=>{r.d(n,{Z:()=>x});var e,o=r(43697),a=r(10736),u=r(70586),i=r(5600),c=(r(67676),r(80442),r(75215),r(52011)),s=r(52138),f=r(13598),l=r(17896),h=r(65617),M=r(13473),m=r(42894),p=r(24678),d=r(3709),y=r(56481),g=r(20773),b=r(56067);let A=e=class extends a.wq{constructor(t){super(t),this.origin=(0,h.c)(),this.translation=(0,h.c)(),this.rotation=(0,d.Ue)(),this.scale=(0,h.f)(1,1,1),this.geographic=!0}get localMatrix(){const t=(0,f.c)();return(0,s.f)(t,t,this.scale),(0,s.d)(t,t,(0,d.WH)(this.rotation),(0,d.ZZ)(this.rotation)),(0,s.t)(t,t,this.translation),t}get localMatrixInverse(){return(0,s.b)((0,f.c)(),this.localMatrix)}applyLocal(t,n){return(0,l.m)(n,t,this.localMatrix)}applyLocalInverse(t,n){return(0,l.m)(n,t,this.localMatrixInverse)}project(t,n){const r=new Float64Array(t.length),e=y.fP.fromTypedArray(r),o=y.fP.fromTypedArray(t);if(this.geographic){const t=(0,p.N_)((0,p.Iu)(n)),a=(0,f.c)();return(0,m.Bm)(n,this.origin,a,t),(0,s.m)(a,a,this.localMatrix),(0,g.t)(e,o,a),(0,m.CM)(r,t,0,r,n,0,r.length/3),r}const{localMatrix:a,origin:u}=this;(0,s.g)(a,f.I)?(0,b.c)(e,o):(0,g.t)(e,o,a);for(let t=0;t<r.length;t+=3)r[t+0]+=u[0],r[t+1]+=u[1],r[t+2]+=u[2];return r}getOriginPoint(t){const[n,r,e]=this.origin;return new M.Z({x:n,y:r,z:e,spatialReference:t})}equals(t){return(0,u.pC)(t)&&this.geographic===t.geographic&&(0,l.k)(this.origin,t.origin)&&(0,s.h)(this.localMatrix,t.localMatrix)}clone(){const t={origin:(0,h.a)(this.origin),translation:(0,h.a)(this.translation),rotation:(0,d.Ue)(this.rotation),scale:(0,h.a)(this.scale),geographic:this.geographic};return new e(t)}};(0,o._)([(0,i.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"origin",void 0),(0,o._)([(0,i.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"translation",void 0),(0,o._)([(0,i.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"rotation",void 0),(0,o._)([(0,i.Cb)({type:[Number],nonNullable:!0,json:{write:!0}})],A.prototype,"scale",void 0),(0,o._)([(0,i.Cb)({type:Boolean,nonNullable:!0,json:{write:!0}})],A.prototype,"geographic",void 0),(0,o._)([(0,i.Cb)()],A.prototype,"localMatrix",null),(0,o._)([(0,i.Cb)()],A.prototype,"localMatrixInverse",null),A=e=(0,o._)([(0,c.j)("esri.geometry.support.MeshTransform")],A);const x=A},24470:(t,n,r)=>{r.d(n,{Gv:()=>h,SO:()=>s,r3:()=>l,Ue:()=>a,oJ:()=>i,al:()=>u,kK:()=>f,HH:()=>c}),r(80442),r(22021);var e=r(70586),o=r(6570);function a(t=M){return[t[0],t[1],t[2],t[3]]}function u(t,n,r,e,o=a()){return o[0]=t,o[1]=n,o[2]=r,o[3]=e,o}function i(t,n=a()){return n[0]=t.xmin,n[1]=t.ymin,n[2]=t.xmax,n[3]=t.ymax,n}function c(t,n){return new o.Z({xmin:t[0],ymin:t[1],xmax:t[2],ymax:t[3],spatialReference:n})}function s(t){return function(t){return(0,e.Wi)(t)||t[0]>=t[2]?0:t[2]-t[0]}(t)*function(t){return t[1]>=t[3]?0:t[3]-t[1]}(t)}function f(t,n){return Math.max(n[0],t[0])<=Math.min(n[2],t[2])&&Math.max(n[1],t[1])<=Math.min(n[3],t[3])}function l(t,n){return n[0]>=t[0]&&n[2]<=t[2]&&n[1]>=t[1]&&n[3]<=t[3]}const h=[1/0,1/0,-1/0,-1/0],M=[0,0,0,0]},3709:(t,n,r)=>{r.d(n,{WH:()=>l,ZZ:()=>f,qC:()=>s,Ue:()=>i,uT:()=>c});var e=r(22021),o=r(51305),a=r(94961),u=r(17896);function i(t=h){return[t[0],t[1],t[2],t[3]]}function c(t,n,r=i()){return(0,u.g)(r,t),r[3]=n,r}function s(t,n,r=i()){return(0,o.s)(M,t,l(t)),(0,o.s)(m,n,l(n)),(0,o.m)(M,m,M),function(t,n){return t[3]=n,t}(r,(0,e.BV)((0,o.g)(r,M)))}function f(t){return t}function l(t){return(0,e.Vl)(t[3])}const h=[0,0,1,0],M=(0,a.a)(),m=(0,a.a)();i()},72220:(t,n,r)=>{r.d(n,{k:()=>e});const e=r(92604).Z.getLogger("esri.views.3d.support.buffer.math")},13442:(t,n,r)=>{function e(t,n){var r;return t.isGeographic||t.isWebMercator&&(null==(r=null==n?void 0:n.geographic)||r)}r.d(n,{h:()=>e})},66459:(t,n,r)=>{r.d(n,{iv:()=>d,I5:()=>y,w1:()=>g,FF:()=>b,Yq:()=>A});var e=r(70586),o=r(67900),a=r(46521),u=r(52138),i=r(13598),c=r(21787),s=r(42894),f=r(24678),l=r(2674),h=r(56481),M=r(20773),m=r(13442),p=r(56493);function d(t,n,r){return(0,m.h)(n.spatialReference,r)?function(t,n,r){const e=n.spatialReference,o=v(n,r,B),a=new Float64Array(t.position.length),u=function(t,n,r,e){(0,M.t)(h.fP.fromTypedArray(e),h.fP.fromTypedArray(t),n);const o=new Float64Array(t.length);return(0,p.To)(e,o,r)}(t.position,o,e,a),i=(0,c.a)(F,o);return{position:u,normal:x(u,a,t.normal,i,e),tangent:E(u,a,t.tangent,i,e)}}(t,n,r):function(t,n,r){const e=new Float64Array(t.position.length),o=t.position,a=n.x,u=n.y,i=n.z||0,{horizontal:c,vertical:s}=q(r?r.unit:null,n.spatialReference);for(let t=0;t<o.length;t+=3)e[t+0]=o[t+0]*c+a,e[t+1]=o[t+1]*c+u,e[t+2]=o[t+2]*s+i;return{position:e,normal:t.normal,tangent:t.tangent}}(t,n,r)}function y(t,n,r){const{position:o,normal:a,tangent:u}=t;if((0,e.Wi)(n))return{position:o,normal:a,tangent:u};const i=n.localMatrix;return d({position:(0,p.zZ)(o,new Float64Array(o.length),i),normal:(0,e.pC)(a)?(0,p.w9)(a,new Float32Array(a.length),i):null,tangent:(0,e.pC)(u)?(0,p.VS)(u,new Float32Array(u.length),i):null},n.getOriginPoint(r),{geographic:n.geographic})}function g(t,n,r){if(null!=r&&r.useTransform){var e;const{position:o,normal:a,tangent:u}=t;return{vertexAttributes:{position:o,normal:a,tangent:u},transform:new l.Z({origin:[n.x,n.y,null!=(e=n.z)?e:0],geographic:(0,m.h)(n.spatialReference,r)})}}return{vertexAttributes:d(t,n,r),transform:null}}function b(t,n,r){return(0,m.h)(n.spatialReference,r)?T(t,n,r):_(t,n,r)}function A(t,n,r,o){if((0,e.Wi)(n))return b(t,r,o);const a=y(t,n,r.spatialReference);return r.equals(n.getOriginPoint(r.spatialReference))?_(a,r,o):(0,m.h)(r.spatialReference,o)?T(a,r,o):_(a,r,o)}function x(t,n,r,o,a){if((0,e.Wi)(r))return null;const u=new Float32Array(r.length);return(0,M.a)(h.ct.fromTypedArray(u),h.ct.fromTypedArray(r),o),(0,p.Yk)(u,t,n,a,u),u}function E(t,n,r,o,a){if((0,e.Wi)(r))return null;const u=new Float32Array(r.length);(0,M.a)(h.ct.fromTypedArray(u,4*Float32Array.BYTES_PER_ELEMENT),h.ct.fromTypedArray(r,4*Float32Array.BYTES_PER_ELEMENT),o);for(let t=3;t<u.length;t+=4)u[t]=r[t];return(0,p.M2)(u,t,n,a,u),u}function _(t,n,r){const e=new Float64Array(t.position.length),o=t.position,a=n.x,u=n.y,i=n.z||0,{horizontal:c,vertical:s}=q(r?r.unit:null,n.spatialReference);for(let t=0;t<o.length;t+=3)e[t+0]=(o[t+0]-a)/c,e[t+1]=(o[t+1]-u)/c,e[t+2]=(o[t+2]-i)/s;return{position:e,normal:t.normal,tangent:t.tangent}}function T(t,n,r){const e=n.spatialReference;v(n,r,B);const o=(0,u.b)(R,B),a=new Float64Array(t.position.length),i=function(t,n,r,e){const o=(0,p.XO)(t,n,e),a=h.fP.fromTypedArray(o),u=new Float64Array(o.length),i=h.fP.fromTypedArray(u);return(0,M.t)(i,a,r),u}(t.position,e,o,a),s=(0,c.a)(F,o);return{position:i,normal:P(t.normal,t.position,a,e,s),tangent:w(t.tangent,t.position,a,e,s)}}function v(t,n,r){(0,s.Bm)(t.spatialReference,[t.x,t.y,t.z||0],r,(0,f.rS)(t.spatialReference));const{horizontal:e,vertical:o}=q(n?n.unit:null,t.spatialReference);return(0,u.f)(r,r,[e,e,o]),r}function P(t,n,r,o,a){if((0,e.Wi)(t))return null;const u=(0,p.Iz)(t,n,r,o,new Float32Array(t.length)),i=h.ct.fromTypedArray(u);return(0,M.a)(i,i,a),u}function w(t,n,r,o,a){if((0,e.Wi)(t))return null;const u=(0,p.wi)(t,n,r,o,new Float32Array(t.length)),i=h.ct.fromTypedArray(u,4*Float32Array.BYTES_PER_ELEMENT);return(0,M.a)(i,i,a),u}function q(t,n){if((0,e.Wi)(t))return S;const r=n.isGeographic?1:(0,o.Z7)(n),a=n.isGeographic?1:(0,o._R)(n),u=(0,o.En)(1,t,"meters");return{horizontal:u*r,vertical:u*a}}const B=(0,i.c)(),R=(0,i.c)(),F=(0,a.c)(),S={horizontal:1,vertical:1}},56493:(t,n,r)=>{r.d(n,{To:()=>A,Yk:()=>g,Iz:()=>y,M2:()=>v,wi:()=>T,XO:()=>b,w9:()=>E,zZ:()=>x,VS:()=>_});var e=r(92604),o=r(70586),a=r(21787),u=r(46521),i=r(13598),c=r(17896),s=r(65617),f=r(42894),l=r(24678),h=r(8744),M=r(40488),m=r(56481),p=r(20773);const d=e.Z.getLogger("esri.geometry.support.meshUtils.normalProjection");function y(t,n,r,e,o){return w(e)?(P(0,m.ct.fromTypedArray(t),m.fP.fromTypedArray(n),m.fP.fromTypedArray(r),e,m.ct.fromTypedArray(o)),o):(d.error("Cannot convert spatial reference to PCPF"),o)}function g(t,n,r,e,o){return w(e)?(P(1,m.ct.fromTypedArray(t),m.fP.fromTypedArray(n),m.fP.fromTypedArray(r),e,m.ct.fromTypedArray(o)),o):(d.error("Cannot convert to spatial reference from PCPF"),o)}function b(t,n,r){return(0,f.CM)(t,n,0,r,(0,l.rS)(n),0,t.length/3),r}function A(t,n,r){return(0,f.CM)(t,(0,l.rS)(r),0,n,r,0,t.length/3),n}function x(t,n,r){if((0,o.Wi)(t))return n;const e=m.fP.fromTypedArray(t),a=m.fP.fromTypedArray(n);return(0,p.t)(a,e,r),n}function E(t,n,r){if((0,o.Wi)(t))return n;(0,a.a)(S,r);const e=m.ct.fromTypedArray(t),u=m.ct.fromTypedArray(n);return(0,p.a)(u,e,S),(0,a.i)(S)||(0,p.n)(u,u),n}function _(t,n,r){if((0,o.Wi)(t))return n;(0,a.a)(S,r);const e=m.ct.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),u=m.ct.fromTypedArray(n,4*Float32Array.BYTES_PER_ELEMENT);if((0,p.a)(u,e,S),(0,a.i)(S)||(0,p.n)(u,u),t!==n)for(let r=3;r<t.length;r+=4)n[r]=t[r];return n}function T(t,n,r,e,o){if(!w(e))return d.error("Cannot convert spatial reference to PCPF"),o;P(0,m.ct.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),m.fP.fromTypedArray(n),m.fP.fromTypedArray(r),e,m.ct.fromTypedArray(o,4*Float32Array.BYTES_PER_ELEMENT));for(let n=3;n<t.length;n+=4)o[n]=t[n];return o}function v(t,n,r,e,o){if(!w(e))return d.error("Cannot convert to spatial reference from PCPF"),o;P(1,m.ct.fromTypedArray(t,16),m.fP.fromTypedArray(n),m.fP.fromTypedArray(r),e,m.ct.fromTypedArray(o,16));for(let n=3;n<t.length;n+=4)o[n]=t[n];return o}function P(t,n,r,e,o,u){if(!n)return;const i=r.count,s=(0,l.rS)(o);if(q(o))for(let r=0;r<i;r++)e.getVec(r,B),n.getVec(r,R),(0,f.Bm)(s,B,F,s),(0,a.f)(S,F),1===t&&(0,a.t)(S,S),(0,c.t)(R,R,S),u.setVec(r,R);else for(let o=0;o<i;o++){e.getVec(o,B),n.getVec(o,R),(0,f.Bm)(s,B,F,s),(0,a.f)(S,F);const i=(0,M.mZ)(r.get(o,1));let l=Math.cos(i);0===t&&(l=1/l),S[0]*=l,S[1]*=l,S[2]*=l,S[3]*=l,S[4]*=l,S[5]*=l,1===t&&(0,a.t)(S,S),(0,c.t)(R,R,S),(0,c.n)(R,R),u.setVec(o,R)}return u}function w(t){return q(t)||function(t){return t.isWebMercator}(t)}function q(t){return t.isWGS84||(0,h.yW)(t)||(0,h.BZ)(t)||(0,h.V2)(t)}const B=(0,s.c)(),R=(0,s.c)(),F=(0,i.c)(),S=(0,u.c)()}}]);
|