@arcgis/core 5.0.0-next.32 → 5.0.0-next.34
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/{9252854b512237b6a0ef.js → 0446562aee0639c61485.js} +1 -1
- package/assets/esri/core/workers/chunks/{b56c07c0b43cb1999070.js → 1fa55d4c4b092a98bdd7.js} +1 -1
- package/assets/esri/core/workers/chunks/22f745539ca54d8cd30d.js +1 -0
- package/assets/esri/core/workers/chunks/2613e482450b57f2d4f5.js +1 -0
- package/assets/esri/core/workers/chunks/{e7f4d135ef9665de1468.js → 33431e8131f6017de2f9.js} +1 -1
- package/assets/esri/core/workers/chunks/{1dfca37f95f2b968aa54.js → 39d2b540738431adec98.js} +1 -1
- package/assets/esri/core/workers/chunks/{096e5f94eaa226814569.js → 4356274cfa477eb6d749.js} +1 -1
- package/assets/esri/core/workers/chunks/44b6b7418cbf7f778bef.js +1 -0
- package/assets/esri/core/workers/chunks/4675ed3ca3e0104d00bf.js +1 -0
- package/assets/esri/core/workers/chunks/{25fd0884dd14973c89f5.js → 486e69261aa2caf9ec3c.js} +1 -1
- package/assets/esri/core/workers/chunks/{3c1e50c3505e5e7c946a.js → 4d5591c1b4ef37075921.js} +1 -1
- package/assets/esri/core/workers/chunks/4df7cc3477bc46fc39af.js +1 -0
- package/assets/esri/core/workers/chunks/52ecbaa2d32692d6d8df.js +1 -0
- package/assets/esri/core/workers/chunks/{3777b41b4fa2f1418402.js → 55818fe7a7aa1e5c8bbd.js} +1 -1
- package/assets/esri/core/workers/chunks/{d21ae4980741be98f948.js → 59889855d23baec1adf9.js} +1 -1
- package/assets/esri/core/workers/chunks/{7e6fae3660e7a6a0fa16.js → 5f781ef46ce7c4048c2f.js} +1 -1
- package/assets/esri/core/workers/chunks/5f9e64f00329cb646f0c.js +1 -0
- package/assets/esri/core/workers/chunks/61cb30e2e8edd18ebbf0.js +1 -0
- package/assets/esri/core/workers/chunks/63933cbcb5c12df09715.js +1 -0
- package/assets/esri/core/workers/chunks/706423d801fa9cbf2e90.js +1 -0
- package/assets/esri/core/workers/chunks/{e6df4327ac1d9b65b80d.js → 71dd80231ea656a6380c.js} +1 -1
- package/assets/esri/core/workers/chunks/725819839434c59102f3.js +1 -0
- package/assets/esri/core/workers/chunks/{d786b17cc9062b1450ac.js → 726a797f5df7eeee0b3d.js} +1 -1
- package/assets/esri/core/workers/chunks/72cebf18da5ec5eeb666.js +1 -0
- package/assets/esri/core/workers/chunks/{bd58c027408dc858f23c.js → 77b45957cfe42523c1c8.js} +1 -1
- package/assets/esri/core/workers/chunks/{a2cee5ac0d4df0108425.js → 82cc758bddd9f8397b9f.js} +1 -1
- package/assets/esri/core/workers/chunks/852de585a72d902344a6.js +1 -0
- package/assets/esri/core/workers/chunks/871dd5e1f016a04b8d98.js +1 -0
- package/assets/esri/core/workers/chunks/892c417f5130b003889d.js +1 -0
- package/assets/esri/core/workers/chunks/907083c427d7fb4354e9.js +1 -0
- package/assets/esri/core/workers/chunks/{433d249c35c56bf15806.js → 97650ee3d0eecb69ccbb.js} +3 -3
- package/assets/esri/core/workers/chunks/{add17e95f47e6904bf6d.js → a59dab47a58695c639da.js} +1 -1
- package/assets/esri/core/workers/chunks/{f441fc74451330384fb0.js → abb05a903440d97a6a74.js} +1 -1
- package/assets/esri/core/workers/chunks/{3bacd904cd93c8013f6a.js → ae793d814cf32db9fbde.js} +1 -1
- package/assets/esri/core/workers/chunks/{e0b70652da4a7f672cfc.js → b21cf62652ca772108c8.js} +1 -1
- package/assets/esri/core/workers/chunks/{5baef729beef0199c3d9.js → b536fdb655ad293d9024.js} +1 -1
- package/assets/esri/core/workers/chunks/{1d4ea8db272655c0608c.js → c7c721de93bc8688e13c.js} +1 -1
- package/assets/esri/core/workers/chunks/c82a974c8448407885e6.js +1 -0
- package/assets/esri/core/workers/chunks/c8d2cce4a426c72ab173.js +1 -0
- package/assets/esri/core/workers/chunks/c9c2e00fed979c21e2f0.js +1 -0
- package/assets/esri/core/workers/chunks/{94005916d321c879bea1.js → cb500d673ca7ec1ef945.js} +1 -1
- package/assets/esri/core/workers/chunks/{14feb12826e0c8ba7fb8.js → d14bd320f72d8e8a0ad8.js} +1 -1
- package/assets/esri/core/workers/chunks/d239a4ef60e348cfb05a.js +1 -0
- package/assets/esri/core/workers/chunks/{4b6a44c6265c8959abd8.js → d3db7244fac7398cc700.js} +1 -1
- package/assets/esri/core/workers/chunks/d6d03f22c91f528b97e5.js +1 -0
- package/assets/esri/core/workers/chunks/{4ab89c990a82c745c0fd.js → d764b6273974f4bca31b.js} +1 -1
- package/assets/esri/core/workers/chunks/d86e59da76eea888ba86.js +1 -0
- package/assets/esri/core/workers/chunks/dc3a4ad62bc041a4f899.js +1 -0
- package/assets/esri/core/workers/chunks/{7aa730e5ac7b268e3c98.js → dd34d56caafa38d4b8e4.js} +1 -1
- package/assets/esri/core/workers/chunks/df458ad51be27df3d79d.js +1 -0
- package/assets/esri/core/workers/chunks/{01b8e680befff83e7d3e.js → e093e745708f722bc1b9.js} +1 -1
- package/assets/esri/core/workers/chunks/e3a994587f9b2e88db85.js +1 -0
- package/assets/esri/core/workers/chunks/ea5bf896acfcc3106bf5.js +1 -0
- package/assets/esri/core/workers/chunks/{a74e6d505a55ed27f004.js → f11453f24c0b728669d2.js} +1 -1
- package/assets/esri/core/workers/chunks/f2ebd6471e1259a6eac0.js +1 -0
- package/assets/esri/core/workers/chunks/f3c232fc56a29d51196a.js +1 -0
- package/assets/esri/core/workers/chunks/{2a17991923abc64c84c6.js → f55328aabf84770c8e6a.js} +1 -1
- package/assets/esri/core/workers/chunks/fa01d1813fa78034526e.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/chunks/ComponentShader.glsl.js +19 -21
- package/chunks/Envelope.js +1 -1
- package/chunks/GaussianSplat.glsl.js +2 -2
- package/chunks/Geometry.js +1 -1
- package/chunks/GlowComposition.glsl.js +5 -5
- package/chunks/Laserlines.glsl.js +1 -1
- package/chunks/MultiPathImpl.js +1 -1
- package/chunks/Point2D.js +1 -1
- package/chunks/Terrain.glsl.js +9 -11
- package/chunks/UnitFactory.js +1 -1
- package/chunks/boundedPlane.js +1 -1
- package/chunks/cameraUtilsSpherical.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/vec32.js +1 -1
- package/config.js +1 -1
- package/core/deprecate.js +1 -1
- package/core/has.js +1 -1
- package/core/libs/gl-matrix-2/math/quat.js +1 -1
- package/core/libs/gl-matrix-2/math/vec3.js +1 -1
- package/geometry/SpatialReference.js +1 -1
- package/geometry/operators/integrateOperator.js +1 -1
- package/geometry/operators/support/apiConverter.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/geometry/support/lineSegment.js +1 -1
- package/geometry/support/meshUtils/merge.js +1 -1
- package/geometry/support/spatialReferenceUtils.js +1 -1
- package/geometry/support/sphere.js +1 -1
- package/interfaces.d.ts +522 -5
- package/intl/locale.js +1 -1
- package/kernel.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/VoxelWasmPerSceneView.js +1 -1
- package/layers/catalog/CatalogDynamicGroupLayer.js +1 -1
- package/layers/graphics/data/AttributesBuilder.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/orientedImagery/transformations/worldToImage.js +1 -1
- package/layers/support/layerOriginUtils.js +1 -1
- package/layers/voxel/VoxelVolume.js +1 -1
- package/package.json +3 -3
- package/portal/schemas/definitions.js +1 -1
- package/request/config.js +1 -1
- package/request/process.js +1 -1
- package/rest/query/operations/query.js +1 -1
- package/rest/support/LocateSetting.d.ts +4 -0
- package/rest/support/LocateSetting.js +5 -0
- package/rest/support/LocateSettingBase.d.ts +4 -0
- package/rest/support/LocateSettingBase.js +5 -0
- package/rest/support/LocateSettingSource.d.ts +4 -0
- package/rest/support/LocateSettingSource.js +5 -0
- package/rest/support/LocateSettings.d.ts +4 -0
- package/rest/support/LocateSettings.js +5 -0
- package/rest/support/LocateSettingsOverrides.d.ts +4 -0
- package/rest/support/LocateSettingsOverrides.js +5 -0
- package/rest/support/RouteParameters.js +1 -1
- package/statistics/utils.js +1 -1
- package/support/revision.js +1 -1
- package/views/3d/GroundView3D.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
- package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
- package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightIntersectionResult.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
- package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedScaleOrientManipulation.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
- package/views/3d/animation/pointToPoint/Camera.js +1 -1
- package/views/3d/camera/constraintUtils/distance.js +1 -1
- package/views/3d/camera/constraintUtils/tilt.js +1 -1
- package/views/3d/environment/ChapmanAtmosphere.js +1 -1
- package/views/3d/environment/CloudsParameters.js +1 -1
- package/views/3d/environment/EnvironmentManager.js +1 -1
- package/views/3d/environment/MarsAtmosphere.js +1 -1
- package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
- package/views/3d/interactive/editingTools/media/MediaElementManipulator3D.js +1 -1
- package/views/3d/interactive/editingTools/reshape/edgeOffsetUtils.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementArrowVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/i3s/I3SIndex.js +1 -1
- package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
- package/views/3d/layers/i3s/LayerElevationProvider.js +1 -1
- package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
- package/views/3d/layers/support/FeatureTileMeasurements3D.js +1 -1
- package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
- package/views/3d/state/ConstraintsManager.js +1 -1
- package/views/3d/state/Frustum.js +1 -1
- package/views/3d/state/NearFarHeuristic.js +1 -1
- package/views/3d/state/controllers/FovController.js +1 -1
- package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
- package/views/3d/state/controllers/momentum/ZoomPlanarMomentumController.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/CombinedElevationProvider.js +1 -1
- package/views/3d/support/ElevationRange.js +1 -1
- package/views/3d/support/FrustumExtentIntersection.js +1 -1
- package/views/3d/support/cameraUtils.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +5 -0
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeTexture.js +5 -0
- package/views/3d/support/gaussianSplatting/GaussianSplatOrderTexture.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
- package/views/3d/support/intersectionUtils.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/Focus.js +1 -1
- package/views/3d/support/viewpointUtils.js +1 -1
- package/views/3d/terrain/ElevationBounds.js +1 -1
- package/views/3d/terrain/ElevationData.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/terrain/PatchRenderData.js +1 -1
- package/views/3d/terrain/SphericalPatch.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/Tile.js +1 -1
- package/views/3d/webgl/RenderCamera.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +57 -0
- package/views/3d/webgl-engine/collections/Component/Material/ComponentDataConstants.js +5 -0
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentShader.glsl.js +5 -0
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/{shader/DecodeSymbolColor.glsl.js → DecodeSymbolColor.glsl.js} +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +10 -13
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +7 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatUnpacking.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowComposition.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowCompositionTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowPresets.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
- package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/Object3D.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/BufferManager.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBuffer.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFields.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferLayout.js +1 -1
- package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/edgePreprocessing.js +1 -1
- package/views/3d/webgl-engine/lib/geometryDataUtils.js +1 -1
- package/views/3d/webgl-engine/lib/triangleIntersectionUtils.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultLayouts.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineMarkerMaterial.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/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeUtil.glsl.js +24 -31
- package/views/Attribution.js +1 -1
- package/views/DOMContainer.js +1 -1
- package/views/SelectionManager.js +1 -1
- package/views/View.js +1 -1
- package/views/interactive/GraphicManipulator.js +1 -1
- package/views/interactive/SegmentLabels.js +1 -1
- package/views/interactive/coordinateHelper.js +1 -1
- package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
- package/views/interactive/sketch/constraints.js +1 -1
- package/views/interactive/snapping/featureSources/sceneLayerSource/SceneLayerSnappingSourceWorker.js +1 -1
- package/views/interactive/snapping/featureSources/sceneLayerSource/sceneLayerSnappingUtils.js +1 -1
- package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
- package/views/interactive/tooltip/tooltipCommonUtils.js +1 -1
- package/views/navigation/PanSphericalMomentumEstimator.js +1 -1
- package/views/support/GroundElevationSampler.js +1 -1
- package/views/support/euclideanAreaMeasurementUtils.js +1 -1
- package/views/support/euclideanLengthMeasurementUtils.js +1 -1
- package/views/support/geometry3dUtils.js +1 -1
- package/views/support/selectionUtils.js +1 -1
- package/widgets/Attachments/AttachmentsViewModel.js +1 -1
- package/widgets/BuildingExplorer/BuildingExplorerViewModel.js +1 -1
- package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.js +1 -1
- package/widgets/BuildingExplorer.js +1 -1
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/ShadowCast/DiscreteOptions.js +1 -1
- package/widgets/ShadowCast/DurationOptions.js +1 -1
- package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
- package/widgets/ShadowCast/ThresholdOptions.js +1 -1
- package/widgets/ShadowCast.js +1 -1
- package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/0a1df5a724fe253b3866.js +0 -1
- package/assets/esri/core/workers/chunks/155d74b9c0ef31dc2316.js +0 -1
- package/assets/esri/core/workers/chunks/2c8c48433b380da59831.js +0 -1
- package/assets/esri/core/workers/chunks/31b5747a254d13acc58e.js +0 -1
- package/assets/esri/core/workers/chunks/3ac84e324d212815e252.js +0 -1
- package/assets/esri/core/workers/chunks/41a00c77e6f7ce61e476.js +0 -1
- package/assets/esri/core/workers/chunks/45729d006db6a569715f.js +0 -1
- package/assets/esri/core/workers/chunks/50cf3cbcad2be1c1e210.js +0 -1
- package/assets/esri/core/workers/chunks/565358ea8d1bdc4d1ebc.js +0 -1
- package/assets/esri/core/workers/chunks/592afe1a41bed3b0cc31.js +0 -1
- package/assets/esri/core/workers/chunks/5aeda8a1f2ccabfdf40f.js +0 -1
- package/assets/esri/core/workers/chunks/657d9e5145da1306ace8.js +0 -1
- package/assets/esri/core/workers/chunks/7f7a81ed8893ab649af7.js +0 -1
- package/assets/esri/core/workers/chunks/7ffef8a19166f6b564d8.js +0 -1
- package/assets/esri/core/workers/chunks/819781a209608dcdd678.js +0 -1
- package/assets/esri/core/workers/chunks/8d57e3a0e5687ce15557.js +0 -1
- package/assets/esri/core/workers/chunks/8e9a5d38da40702def80.js +0 -1
- package/assets/esri/core/workers/chunks/aac313257a8b1ae75b75.js +0 -1
- package/assets/esri/core/workers/chunks/be06c8a58c217a17451b.js +0 -1
- package/assets/esri/core/workers/chunks/d56548a994753b08403c.js +0 -1
- package/assets/esri/core/workers/chunks/dd95e679618b7b21a7b1.js +0 -1
- package/assets/esri/core/workers/chunks/e08a1934d98e7324776d.js +0 -1
- package/assets/esri/core/workers/chunks/e5deb72df8b2505fd325.js +0 -1
- package/assets/esri/core/workers/chunks/e689a4849f5af3f2f641.js +0 -1
- package/assets/esri/core/workers/chunks/f259ad785ce3aa970792.js +0 -1
- package/assets/esri/core/workers/chunks/f3127bdf28a1d9b8db27.js +0 -1
- package/assets/esri/core/workers/chunks/f4919950a9a3703d9da3.js +0 -1
- package/assets/esri/core/workers/chunks/f6ce485c082d0d640b01.js +0 -1
- package/assets/esri/core/workers/chunks/fd9ef4b8c969962cf72b.js +0 -1
- package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentData.glsl.js +0 -57
- package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentShader.glsl.js +0 -5
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4996],{16930:(e,t,r)=>{r.d(t,{A:()=>d});var o,n=r(31635),i=r(69622),s=r(25482),a=r(4718),f=r(86211),_=r(56507),u=r(10107),l=r(64108),c=r(43937),P=r(21325);let d=class extends s.o{static{o=this}static{this.GCS_NAD_1927=null}static{this.WGS84=null}static{this.WebMercator=null}static{this.PlateCarree=null}static fromJSON(e){if(!e)return null;if(102100===e?.wkid)return o.WebMercator;if(4326===e?.wkid)return o.WGS84;const t=new o;return t.read(e),t}constructor(e){super(e),this.latestWkid=null,this.wkid=null,this.wkt=null,this.wkt2=null,this.vcsWkid=null,this.latestVcsWkid=null,this.imageCoordinateSystem=null}normalizeCtorArgs(e){if(e&&"object"==typeof e)return e;const t="string"==typeof e?"wkt":"wkid";return{[t]:e}}get isWGS84(){return(0,P.oT)(this)}get isWebMercator(){return(0,P.K8)(this)}get isGeographic(){return(0,P.EA)(this)}get isWrappable(){return(0,P.d9)(this)}get metersPerUnit(){return(0,f.GA)(this)}get unit(){return(0,f.Ij)(this)||(this.isGeographic?"degrees":null)}writeWkt(e,t){this.wkid||(t.wkt=e)}clone(){if(this===o.WGS84)return new o(P.KK);if(this===o.WebMercator)return new o(P.ch);const e=new o;return null!=this.wkid?(e.wkid=this.wkid,null!=this.latestWkid&&(e.latestWkid=this.latestWkid),null!=this.vcsWkid&&(e.vcsWkid=this.vcsWkid),null!=this.latestVcsWkid&&(e.latestVcsWkid=this.latestVcsWkid)):(null!=this.wkt&&(e.wkt=this.wkt),null!=this.wkt2&&(e.wkt2=this.wkt2)),this.imageCoordinateSystem&&(e.imageCoordinateSystem=(0,a.o8)(this.imageCoordinateSystem)),e}equals(e){if(null==e)return!1;if(this.imageCoordinateSystem||e.imageCoordinateSystem){if(null==this.imageCoordinateSystem||null==e.imageCoordinateSystem)return!1;const{id:t,referenceServiceName:r}=e.imageCoordinateSystem,{geodataXform:o}=e.imageCoordinateSystem,n=this.imageCoordinateSystem;return null==t||o?JSON.stringify(n)===JSON.stringify(e.imageCoordinateSystem):r?n.id===t&&n.referenceServiceName===r:n.id===t}return(0,P.aI)(this,e)}toJSON(e){return this.write(void 0,e)}};(0,n.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"isWGS84",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"isWebMercator",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"isGeographic",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"isWrappable",null),(0,n.Cg)([(0,u.MZ)({type:_.jz,json:{write:!0}})],d.prototype,"latestWkid",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"metersPerUnit",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"unit",null),(0,n.Cg)([(0,u.MZ)({type:_.jz,json:{write:!0,origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkt}}}}}}})],d.prototype,"wkid",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkid}}}}}}})],d.prototype,"wkt",void 0),(0,n.Cg)([(0,c.K)("wkt"),(0,c.K)("web-scene","wkt")],d.prototype,"writeWkt",null),(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!1}})],d.prototype,"wkt2",void 0),(0,n.Cg)([(0,u.MZ)({type:_.jz,json:{write:!0}})],d.prototype,"vcsWkid",void 0),(0,n.Cg)([(0,u.MZ)({type:_.jz,json:{write:!0}})],d.prototype,"latestVcsWkid",void 0),(0,n.Cg)([(0,u.MZ)()],d.prototype,"imageCoordinateSystem",void 0),d=o=(0,n.Cg)([(0,l.$)("esri.geometry.SpatialReference")],d),d.prototype.toJSON.isDefaultToJSON=!0,d.GCS_NAD_1927=i.A.freeze(new d({wkid:4267,wkt:'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'})),d.WGS84=i.A.freeze(new d(P.KK)),d.WebMercator=i.A.freeze(new d(P.ch)),d.PlateCarree=i.A.freeze(new d(P.tQ))},21325:(e,t,r)=>{r.d(t,{B3:()=>p,EA:()=>d,K8:()=>g,KK:()=>R,KQ:()=>O,Mc:()=>a,Vp:()=>c,YX:()=>P,ZL:()=>y,aI:()=>l,ch:()=>G,d9:()=>A,fn:()=>U,jp:()=>S,oT:()=>E,q8:()=>M,r1:()=>h,tQ:()=>N,tl:()=>m,x1:()=>T});var o=r(799),n=(r(83290),r(22530));const i=[102100,102113,3857,3785,900913],s=[4326,...i,104905,104971,104903],a=[-20037508.342788905,20037508.342788905],f=[-20037508.342787,20037508.342787],_={wkTemplate:'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',valid:a,origin:f,dx:1e-5},u={102113:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:a,origin:f,dx:1e-5},102100:_,3785:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:a,origin:f,dx:1e-5},3857:_,4326:{wkTemplate:'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]',altTemplate:'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104971:{wkTemplate:'GEOGCS["Mars_2000_(Sphere)",DATUM["Mars_2000_(Sphere)",SPHEROID["Mars_2000_(Sphere)",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104905:{wkTemplate:'GEOGCS["GCS_Mars_2000",DATUM["D_Mars_2000",SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.8944472236118]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},900913:_,104903:{wkTemplate:'GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0,AUTHORITY["ESRI","107903"]],AUTHORITY["ESRI","106903"]],PRIMEM["Reference_Meridian",0,AUTHORITY["ESRI","108900"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["ESRI","104903"]]',valid:[-180,180],origin:[-180,90],dx:1e-5}};function l(e,t){if(e===t)return!0;if(null==e||null==t)return!1;const r=e.wkid,o=t.wkid;if(null!=r||null!=o){if(r===o)return!0;if(g(e)&&g(t))return!0;const n=e.latestWkid;if(null!=n&&o===n)return!0;const i=t.latestWkid;return null!=i&&r===i}let n,i;return e.wkt2&&t.wkt2?(n=e.wkt2,i=t.wkt2):e.wkt&&t.wkt&&(n=e.wkt,i=t.wkt),!(!n||!i)&&n.toUpperCase()===i.toUpperCase()}function c(e){const t=e?.wkid;return null!=t&&t>=2e3&&u[t]||null}function P(e){if(!e)return;const{wkid:t,vcsWkid:r}=e;if(t)return r?JSON.stringify({wkid:t,vcsWkid:r}):String(t);const o=e.wkt||e.wkt2;return JSON.stringify(o?r?{wkt:o,vcsWkid:r}:{wkt:o}:{})}function d(e){if(!U(e))return!1;const{wkid:t}=e;if(t)return null==n.A[t];const r=e.wkt2||e.wkt;return!!r&&/^\s*(?:GEOGCS|GEOGCRS|GEOGRAPHICCRS)/i.test(r)}function p(e){return!(M(e)||O(e))}function E(e){return 4326===e?.wkid}function S(e){return/^\s*(?:GEOD|GEODETIC|GEOG|GEOGRAPHIC|PROJ|PROJECTED|VERT|VERTICAL|ENG|ENGINEERING|PARAMETRIC|TIME|DERIVEDPROJ|COMPOUND|BOUND)CRS/i.test(e)}function T(e){return 4490===e?.wkid}function g(e){const t=e?.wkid;return null!=t&&t>=2e3&&i.includes(t)}function h(e){return 32662===e?.wkid}function m(e){return 104971===e||104905===e}function M(e){return m(e?.wkid)}function y(e){return 104903===e}function O(e){return y(e?.wkid)}function A(e){const t=e?.wkid;return null!=t&&t>=2e3&&s.includes(t)}function U(e){if(null==e)return!1;const t=e.wkid;return null!=t&&t>=2e3||null!=e.wkt2||null!=e.wkt}const R={wkid:4326,wkt:(0,o.HC)(u[4326].wkTemplate,{Central_Meridian:"0.0"})},G={wkid:102100,latestWkid:3857},N={wkid:32662}},22530:(e,t,r)=>{let o;r.d(t,{A:()=>n});const n={values:[1,.3048,.3048006096012192,.3047972654,.9143917962,.201166195164,.9143984146160287,.3047994715386762,20.11676512155263,20.11678249437587,.9143985307444408,.91439523,.3047997101815088,20.1168,20.116756,5e4,15e4],units:["Meter","Foot","Foot_US","Foot_Clarke","Yard_Clarke","Link_Clarke","Yard_Sears","Foot_Sears","Chain_Sears","Chain_Benoit_1895_B","Yard_Indian","Yard_Indian_1937","Foot_Gold_Coast","Chain","Chain_Sears_1922_Truncated","50_Kilometers","150_Kilometers"],2066:5,2136:12,2155:2,2157:0,2158:0,2159:12,2160:12,2204:2,2219:0,2220:0,2254:2,2255:2,2256:1,2265:1,2266:1,2267:2,2268:2,2269:1,2270:1,2271:2,2272:2,2273:1,2294:0,2295:0,2314:3,2899:2,2900:2,2901:1,2909:1,2910:1,2911:2,2912:2,2913:1,2914:1,2992:1,2993:0,2994:1,3080:1,3089:2,3090:0,3091:2,3102:2,3141:0,3142:0,3167:14,3359:2,3360:0,3361:1,3362:0,3363:2,3364:0,3365:2,3366:3,3404:2,3405:0,3406:0,3407:3,3439:0,3440:0,3479:1,3480:0,3481:1,3482:0,3483:1,3484:0,3485:2,3486:0,3487:2,3488:0,3489:0,3490:2,3491:0,3492:2,3493:0,3494:2,3495:0,3496:2,3497:0,3498:2,3499:0,3500:2,3501:0,3502:2,3503:0,3504:2,3505:0,3506:2,3507:0,3508:2,3509:0,3510:2,3511:0,3512:2,3513:0,3514:0,3515:2,3516:0,3517:2,3518:0,3519:2,3520:0,3521:2,3522:0,3523:2,3524:0,3525:2,3526:0,3527:2,3528:0,3529:2,3530:0,3531:2,3532:0,3533:2,3534:0,3535:2,3536:0,3537:2,3538:0,3539:2,3540:0,3541:2,3542:0,3543:2,3544:0,3545:2,3546:0,3547:2,3548:0,3549:2,3550:0,3551:2,3552:0,3553:2,3582:2,3583:0,3584:2,3585:0,3586:2,3587:0,3588:1,3589:0,3590:1,3591:0,3592:0,3593:1,3598:2,3599:0,3600:2,3605:1,3606:0,3607:0,3608:2,3609:0,3610:2,3611:0,3612:2,3613:0,3614:2,3615:0,3616:2,3617:0,3618:2,3619:0,3620:2,3621:0,3622:2,3623:0,3624:2,3625:0,3626:2,3627:0,3628:2,3629:0,3630:2,3631:0,3632:2,3633:0,3634:1,3635:0,3636:1,3640:2,3641:0,3642:2,3643:0,3644:1,3645:0,3646:1,3647:0,3648:1,3649:0,3650:2,3651:0,3652:2,3653:0,3654:2,3655:0,3656:1,3657:0,3658:2,3659:0,3660:2,3661:0,3662:2,3663:0,3664:2,3668:2,3669:0,3670:2,3671:0,3672:2,3673:0,3674:2,3675:0,3676:1,3677:2,3678:0,3679:1,3680:2,3681:0,3682:1,3683:2,3684:0,3685:0,3686:2,3687:0,3688:2,3689:0,3690:2,3691:0,3692:2,3696:2,3697:0,3698:2,3699:0,3700:2,3793:0,3794:0,3812:0,3854:0,3857:0,3920:0,3978:0,3979:0,3991:2,3992:2,4026:0,4037:0,4038:0,4071:0,4082:0,4083:0,4087:0,4088:0,4217:2,4414:0,4415:0,4417:0,4434:0,4437:0,4438:2,4439:2,4462:0,4467:0,4471:0,4474:0,4559:0,4647:0,4822:0,4826:0,4839:0,5018:0,5041:0,5042:0,5048:0,5221:0,5223:0,5234:0,5235:0,5243:0,5247:0,5266:0,5316:0,5320:0,5321:0,5325:0,5337:0,5361:0,5362:0,5367:0,5382:0,5383:0,5396:0,5456:0,5457:0,5469:0,5472:4,5490:0,5513:0,5514:0,5523:0,5559:0,5588:1,5589:3,5596:0,5627:0,5629:0,5641:0,5643:0,5644:0,5646:2,5654:2,5655:2,5659:0,5700:0,5825:0,5836:0,5837:0,5839:0,5842:0,5844:0,5858:0,5879:0,5880:0,5887:0,5890:0,6128:1,6129:1,6141:1,6204:0,6210:0,6211:0,6307:0,6312:0,6316:0,6362:0,6391:1,6405:1,6406:0,6407:1,6408:0,6409:1,6410:0,6411:2,6412:0,6413:2,6414:0,6415:0,6416:2,6417:0,6418:2,6419:0,6420:2,6421:0,6422:2,6423:0,6424:2,6425:0,6426:2,6427:0,6428:2,6429:0,6430:2,6431:0,6432:2,6433:0,6434:2,6435:0,6436:2,6437:0,6438:2,6439:0,6440:0,6441:2,6442:0,6443:2,6444:0,6445:2,6446:0,6447:2,6448:0,6449:2,6450:0,6451:2,6452:0,6453:2,6454:0,6455:2,6456:0,6457:2,6458:0,6459:2,6460:0,6461:2,6462:0,6463:2,6464:0,6465:2,6466:0,6467:2,6468:0,6469:2,6470:0,6471:2,6472:0,6473:2,6474:0,6475:2,6476:0,6477:2,6478:0,6479:2,6484:2,6485:0,6486:2,6487:0,6488:2,6489:0,6490:2,6491:0,6492:2,6493:0,6494:1,6495:0,6496:1,6497:0,6498:0,6499:1,6500:0,6501:2,6502:0,6503:2,6504:0,6505:2,6506:0,6507:2,6508:0,6509:0,6510:2,6515:1,6516:0,6518:0,6519:2,6520:0,6521:2,6522:0,6523:2,6524:0,6525:2,6526:0,6527:2,6528:0,6529:2,6530:0,6531:2,6532:0,6533:2,6534:0,6535:2,6536:0,6537:2,6538:0,6539:2,6540:0,6541:2,6542:0,6543:2,6544:0,6545:1,6546:0,6547:1,6548:0,6549:2,6550:0,6551:2,6552:0,6553:2,6554:0,6555:2,6556:0,6557:1,6558:0,6559:1,6560:0,6561:1,6562:0,6563:2,6564:0,6565:2,6566:0,6567:0,6568:2,6569:0,6570:1,6571:0,6572:2,6573:0,6574:2,6575:0,6576:2,6577:0,6578:2,6582:2,6583:0,6584:2,6585:0,6586:2,6587:0,6588:2,6589:0,6590:2,6591:0,6592:0,6593:2,6594:0,6595:2,6596:0,6597:2,6598:0,6599:2,6600:0,6601:2,6602:0,6603:2,6605:2,6606:0,6607:2,6608:0,6609:2,6610:0,6611:0,6612:2,6613:0,6614:2,6615:0,6616:2,6617:0,6618:2,6633:2,6646:0,6703:0,6784:0,6785:1,6786:0,6787:1,6788:0,6789:1,6790:0,6791:1,6792:0,6793:1,6794:0,6795:1,6796:0,6797:1,6798:0,6799:1,6800:0,6801:1,6802:0,6803:1,6804:0,6805:1,6806:0,6807:1,6808:0,6809:1,6810:0,6811:1,6812:0,6813:1,6814:0,6815:1,6816:0,6817:1,6818:0,6819:1,6820:0,6821:1,6822:0,6823:1,6824:0,6825:1,6826:0,6827:1,6828:0,6829:1,6830:0,6831:1,6832:0,6833:1,6834:0,6835:1,6836:0,6837:1,6838:0,6839:1,6840:0,6841:1,6842:0,6843:1,6844:0,6845:1,6846:0,6847:1,6848:0,6849:1,6850:0,6851:1,6852:0,6853:1,6854:0,6855:1,6856:0,6857:1,6858:0,6859:1,6860:0,6861:1,6862:0,6863:1,6867:0,6868:1,6870:0,6875:0,6876:0,6879:0,6880:2,6884:0,6885:1,6886:0,6887:1,6915:0,6922:0,6923:2,6924:0,6925:2,6962:0,6984:0,6991:0,7128:2,7131:0,7132:2,7142:0,7257:0,7258:2,7259:0,7260:2,7261:0,7262:2,7263:0,7264:2,7265:0,7266:2,7267:0,7268:2,7269:0,7270:2,7271:0,7272:2,7273:0,7274:2,7275:0,7276:2,7277:0,7278:2,7279:0,7280:2,7281:0,7282:2,7283:0,7284:2,7285:0,7286:2,7287:0,7288:2,7289:0,7290:2,7291:0,7292:2,7293:0,7294:2,7295:0,7296:2,7297:0,7298:2,7299:0,7300:2,7301:0,7302:2,7303:0,7304:2,7305:0,7306:2,7307:0,7308:2,7309:0,7310:2,7311:0,7312:2,7313:0,7314:2,7315:0,7316:2,7317:0,7318:2,7319:0,7320:2,7321:0,7322:2,7323:0,7324:2,7325:0,7326:2,7327:0,7328:2,7329:0,7330:2,7331:0,7332:2,7333:0,7334:2,7335:0,7336:2,7337:0,7338:2,7339:0,7340:2,7341:0,7342:2,7343:0,7344:2,7345:0,7346:2,7347:0,7348:2,7349:0,7350:2,7351:0,7352:2,7353:0,7354:2,7355:0,7356:2,7357:0,7358:2,7359:0,7360:2,7361:0,7362:2,7363:0,7364:2,7365:0,7366:2,7367:0,7368:2,7369:0,7370:2,7877:0,7878:0,7882:0,7883:0,7887:0,7899:0,7991:0,7992:0,8035:2,8036:2,8058:0,8059:0,8082:0,8083:0,8088:0,8090:0,8091:2,8092:0,8093:2,8095:0,8096:2,8097:0,8098:2,8099:0,8100:2,8101:0,8102:2,8103:0,8104:2,8105:0,8106:2,8107:0,8108:2,8109:0,8110:2,8111:0,8112:2,8113:0,8114:2,8115:0,8116:2,8117:0,8118:2,8119:0,8120:2,8121:0,8122:2,8123:0,8124:2,8125:0,8126:2,8127:0,8128:2,8129:0,8130:2,8131:0,8132:2,8133:0,8134:2,8135:0,8136:2,8137:0,8138:2,8139:0,8140:2,8141:0,8142:2,8143:0,8144:2,8145:0,8146:2,8147:0,8148:2,8149:0,8150:2,8151:0,8152:2,8153:0,8154:2,8155:0,8156:2,8157:0,8158:2,8159:0,8160:2,8161:0,8162:2,8163:0,8164:2,8165:0,8166:2,8167:0,8168:2,8169:0,8170:2,8171:0,8172:2,8173:0,8177:2,8179:0,8180:2,8181:0,8182:2,8184:0,8185:2,8187:0,8189:2,8191:0,8193:2,8196:0,8197:2,8198:0,8200:2,8201:0,8202:2,8203:0,8204:2,8205:0,8206:2,8207:0,8208:2,8209:0,8210:2,8212:0,8213:2,8214:0,8216:2,8218:0,8220:2,8222:0,8224:2,8225:0,8226:2,8311:0,8312:1,8313:0,8314:1,8315:0,8316:1,8317:0,8318:1,8319:0,8320:1,8321:0,8322:1,8323:0,8324:1,8325:0,8326:1,8327:0,8328:1,8329:0,8330:1,8331:0,8332:1,8333:0,8334:1,8335:0,8336:1,8337:0,8338:1,8339:0,8340:1,8341:0,8342:1,8343:0,8344:1,8345:0,8346:1,8347:0,8348:1,8352:0,8353:0,8379:0,8380:2,8381:0,8382:2,8383:0,8384:2,8385:0,8387:2,8391:0,8395:0,8433:0,8441:0,8455:0,8456:0,8531:2,8682:0,8686:0,8687:0,8692:0,8693:0,8826:0,8903:0,8950:0,8951:0,9039:0,9040:0,9141:0,9149:0,9150:0,9191:0,9221:0,9222:0,9249:0,9250:0,9252:0,9254:0,9265:0,9284:0,9285:0,9300:0,9354:0,9367:0,9373:0,9377:0,9387:0,9391:0,9456:0,9473:0,9498:0,9674:0,9678:0,9680:0,9709:0,9712:0,9713:0,9716:0,9741:0,9748:2,9749:2,9761:0,9766:0,9793:0,9794:0,9869:0,9874:0,9875:0,9880:0,9895:0,9943:0,9945:0,9947:0,9967:0,9972:0,9977:0,10160:0,10183:0,10188:0,10194:0,10199:0,10207:0,10212:0,10217:0,10222:0,10227:0,10235:0,10240:0,10250:0,10254:0,10270:0,10275:0,10280:0,10306:0,10329:0,10471:0,10477:0,10481:2,10516:2,10592:0,10594:0,10596:0,10598:0,10601:0,10603:0,10626:0,10632:0,10641:0,10665:0,10674:0,10744:0,10745:0,10759:0,10773:0,10802:0,10820:0,20002:0,20042:0,20050:1,20499:0,20538:0,20539:0,20790:0,20791:0,21291:0,21292:0,21500:0,21817:0,21818:0,22032:0,22033:0,22091:0,22092:0,22239:0,22240:0,22332:0,22337:0,22338:0,22391:0,22392:0,22639:0,22700:0,22739:0,22770:0,22780:0,22832:0,23090:0,23095:0,23239:0,23240:0,23433:0,23700:0,24047:0,24048:0,24100:3,24200:0,24305:0,24306:0,24382:10,24383:0,24500:0,24547:0,24548:0,24571:9,24600:0,25e3:0,25231:0,25884:0,25932:0,26237:0,26331:0,26332:0,26432:0,26591:0,26592:0,26632:0,26692:0,27120:0,27200:0,27291:6,27292:6,27429:0,27492:0,27493:0,27500:0,28232:0,28600:0,28991:0,28992:0,29100:0,29101:0,29220:0,29221:0,29333:0,29635:0,29636:0,29701:0,29738:0,29739:0,29849:0,29850:0,29871:8,29872:7,29873:0,29874:0,30200:5,30339:0,30340:0,30591:0,30592:0,30791:0,30792:0,30800:0,31028:0,31121:0,31154:0,31170:0,31171:0,31370:0,31528:0,31529:0,31600:0,31700:0,31838:0,31839:0,31900:0,31901:0,32061:0,32062:0,32098:0,32099:2,32100:0,32104:0,32161:0,32766:0,53048:0,53049:0,65061:2,65062:2,102041:2,102064:11,102068:15,102069:16,102118:2,102119:1,102120:2,102121:2,102217:2,102218:0,102219:2,102220:2,102378:1,102379:1,102380:0,102381:1,102589:2,102599:2,102600:2,102604:2,102647:0,102704:2,102705:2,102706:0,102731:0,102732:0,102759:1,102760:1,102761:2,102762:0,102763:2,102764:0,102765:0,102766:2,102970:1,102974:2,102993:0,102994:0,102995:2,102996:2,103015:0,103016:2,103017:0,103018:2,103025:0,103026:0,103027:2,103028:2,103035:0,103036:0,103037:2,103038:2,103039:0,103040:0,103041:2,103042:2,103043:0,103044:0,103045:2,103046:2,103047:0,103048:0,103049:2,103050:2,103051:0,103052:2,103053:0,103054:2,103055:0,103056:2,103057:0,103058:0,103059:2,103060:2,103061:0,103062:0,103063:2,103064:2,103069:2,103070:0,103071:0,103072:2,103073:2,103086:0,103087:0,103088:2,103089:2,103094:1,103095:0,103096:2,103103:0,103104:2,103105:0,103106:2,103121:0,103122:2,103123:0,103124:0,103125:1,103126:1,103127:0,103128:0,103129:2,103130:2,103131:0,103132:0,103133:2,103134:2,103135:0,103136:0,103137:1,103138:1,103139:0,103140:2,103141:0,103142:2,103143:0,103144:2,103145:0,103146:1,103147:0,103148:0,103149:2,103150:2,103151:0,103152:2,103172:0,103173:2,103174:0,103175:0,103176:2,103177:2,103178:0,103179:0,103180:2,103181:2,103182:0,103183:0,103184:2,103185:2,103228:0,103229:0,103230:2,103231:2,103250:0,103251:2,103252:0,103253:2,103260:0,103261:0,103262:2,103263:2,103270:0,103271:0,103272:2,103273:2,103274:0,103275:0,103276:2,103277:2,103278:0,103279:0,103280:2,103281:2,103282:0,103283:0,103284:2,103285:2,103286:0,103287:2,103288:0,103289:2,103290:0,103291:2,103292:0,103293:0,103294:2,103295:2,103296:0,103297:0,103298:2,103299:2,103376:2,103377:0,103378:0,103379:2,103380:2,103393:0,103394:0,103395:2,103396:2,103472:0,103473:1,103474:0,103475:2,103482:0,103483:2,103484:0,103485:2,103500:0,103501:2,103502:0,103503:0,103504:1,103505:1,103506:0,103507:0,103508:2,103509:2,103510:0,103511:0,103512:2,103513:2,103514:0,103515:2,103516:0,103517:2,103518:0,103519:2,103520:0,103521:1,103522:0,103523:0,103524:2,103525:2,103526:0,103527:2,103561:2,103562:2,103563:0,103564:0,103565:2,103566:2,103567:0,103568:0,103569:2,103570:2,103584:0,103585:2,103586:0,103587:2,103588:1,103589:0,103590:2,103591:1,103592:0,103593:2,103594:1,103695:2,103897:1,103978:2,103979:0,103980:2,103981:0};for(o=2e3;o<=2045;o++)n[o]=0;for(o=2056;o<=2065;o++)n[o]=0;for(o=2067;o<=2135;o++)n[o]=0;for(o=2137;o<=2154;o++)n[o]=0;for(o=2161;o<=2170;o++)n[o]=0;for(o=2172;o<=2193;o++)n[o]=0;for(o=2195;o<=2198;o++)n[o]=0;for(o=2200;o<=2203;o++)n[o]=0;for(o=2205;o<=2217;o++)n[o]=0;for(o=2222;o<=2224;o++)n[o]=1;for(o=2225;o<=2250;o++)n[o]=2;for(o=2251;o<=2253;o++)n[o]=1;for(o=2257;o<=2264;o++)n[o]=2;for(o=2274;o<=2279;o++)n[o]=2;for(o=2280;o<=2282;o++)n[o]=1;for(o=2283;o<=2289;o++)n[o]=2;for(o=2290;o<=2292;o++)n[o]=0;for(o=2308;o<=2313;o++)n[o]=0;for(o=2315;o<=2491;o++)n[o]=0;for(o=2494;o<=2866;o++)n[o]=0;for(o=2867;o<=2869;o++)n[o]=1;for(o=2870;o<=2888;o++)n[o]=2;for(o=2891;o<=2895;o++)n[o]=2;for(o=2896;o<=2898;o++)n[o]=1;for(o=2902;o<=2908;o++)n[o]=2;for(o=2915;o<=2920;o++)n[o]=2;for(o=2921;o<=2923;o++)n[o]=1;for(o=2924;o<=2930;o++)n[o]=2;for(o=2931;o<=2962;o++)n[o]=0;for(o=2964;o<=2968;o++)n[o]=2;for(o=2969;o<=2973;o++)n[o]=0;for(o=2975;o<=2991;o++)n[o]=0;for(o=2995;o<=3051;o++)n[o]=0;for(o=3054;o<=3079;o++)n[o]=0;for(o=3081;o<=3088;o++)n[o]=0;for(o=3092;o<=3101;o++)n[o]=0;for(o=3106;o<=3138;o++)n[o]=0;for(o=3146;o<=3151;o++)n[o]=0;for(o=3153;o<=3166;o++)n[o]=0;for(o=3168;o<=3172;o++)n[o]=0;for(o=3174;o<=3203;o++)n[o]=0;for(o=3294;o<=3358;o++)n[o]=0;for(o=3367;o<=3403;o++)n[o]=0;for(o=3408;o<=3416;o++)n[o]=0;for(o=3417;o<=3438;o++)n[o]=2;for(o=3441;o<=3446;o++)n[o]=2;for(o=3447;o<=3450;o++)n[o]=0;for(o=3451;o<=3459;o++)n[o]=2;for(o=3460;o<=3478;o++)n[o]=0;for(o=3554;o<=3559;o++)n[o]=0;for(o=3560;o<=3570;o++)n[o]=2;for(o=3571;o<=3581;o++)n[o]=0;for(o=3594;o<=3597;o++)n[o]=0;for(o=3601;o<=3604;o++)n[o]=0;for(o=3637;o<=3639;o++)n[o]=0;for(o=3665;o<=3667;o++)n[o]=0;for(o=3693;o<=3695;o++)n[o]=0;for(o=3701;o<=3727;o++)n[o]=0;for(o=3728;o<=3739;o++)n[o]=2;for(o=3740;o<=3751;o++)n[o]=0;for(o=3753;o<=3760;o++)n[o]=2;for(o=3761;o<=3773;o++)n[o]=0;for(o=3775;o<=3777;o++)n[o]=0;for(o=3779;o<=3781;o++)n[o]=0;for(o=3783;o<=3785;o++)n[o]=0;for(o=3788;o<=3791;o++)n[o]=0;for(o=3797;o<=3802;o++)n[o]=0;for(o=3814;o<=3816;o++)n[o]=0;for(o=3825;o<=3829;o++)n[o]=0;for(o=3832;o<=3841;o++)n[o]=0;for(o=3844;o<=3852;o++)n[o]=0;for(o=3873;o<=3885;o++)n[o]=0;for(o=3890;o<=3893;o++)n[o]=0;for(o=3907;o<=3912;o++)n[o]=0;for(o=3942;o<=3950;o++)n[o]=0;for(o=3968;o<=3970;o++)n[o]=0;for(o=3973;o<=3976;o++)n[o]=0;for(o=3986;o<=3989;o++)n[o]=0;for(o=3994;o<=3997;o++)n[o]=0;for(o=4048;o<=4051;o++)n[o]=0;for(o=4056;o<=4063;o++)n[o]=0;for(o=4093;o<=4096;o++)n[o]=0;for(o=4390;o<=4398;o++)n[o]=0;for(o=4399;o<=4413;o++)n[o]=2;for(o=4418;o<=4433;o++)n[o]=2;for(o=4455;o<=4457;o++)n[o]=2;for(o=4484;o<=4489;o++)n[o]=0;for(o=4491;o<=4554;o++)n[o]=0;for(o=4568;o<=4589;o++)n[o]=0;for(o=4652;o<=4656;o++)n[o]=0;for(o=4766;o<=4800;o++)n[o]=0;for(o=5014;o<=5016;o++)n[o]=0;for(o=5069;o<=5072;o++)n[o]=0;for(o=5105;o<=5130;o++)n[o]=0;for(o=5167;o<=5188;o++)n[o]=0;for(o=5253;o<=5259;o++)n[o]=0;for(o=5269;o<=5275;o++)n[o]=0;for(o=5292;o<=5311;o++)n[o]=0;for(o=5329;o<=5331;o++)n[o]=0;for(o=5343;o<=5349;o++)n[o]=0;for(o=5355;o<=5357;o++)n[o]=0;for(o=5387;o<=5389;o++)n[o]=0;for(o=5459;o<=5463;o++)n[o]=0;for(o=5479;o<=5482;o++)n[o]=0;for(o=5518;o<=5520;o++)n[o]=0;for(o=5530;o<=5539;o++)n[o]=0;for(o=5550;o<=5552;o++)n[o]=0;for(o=5562;o<=5583;o++)n[o]=0;for(o=5623;o<=5625;o++)n[o]=2;for(o=5631;o<=5639;o++)n[o]=0;for(o=5649;o<=5653;o++)n[o]=0;for(o=5663;o<=5680;o++)n[o]=0;for(o=5682;o<=5685;o++)n[o]=0;for(o=5875;o<=5877;o++)n[o]=0;for(o=5896;o<=5899;o++)n[o]=0;for(o=5921;o<=5940;o++)n[o]=0;for(o=6050;o<=6125;o++)n[o]=0;for(o=6244;o<=6275;o++)n[o]=0;for(o=6328;o<=6348;o++)n[o]=0;for(o=6350;o<=6356;o++)n[o]=0;for(o=6366;o<=6372;o++)n[o]=0;for(o=6381;o<=6387;o++)n[o]=0;for(o=6393;o<=6404;o++)n[o]=0;for(o=6480;o<=6483;o++)n[o]=0;for(o=6511;o<=6514;o++)n[o]=0;for(o=6579;o<=6581;o++)n[o]=0;for(o=6619;o<=6624;o++)n[o]=0;for(o=6625;o<=6627;o++)n[o]=2;for(o=6628;o<=6632;o++)n[o]=0;for(o=6634;o<=6637;o++)n[o]=0;for(o=6669;o<=6692;o++)n[o]=0;for(o=6707;o<=6709;o++)n[o]=0;for(o=6720;o<=6723;o++)n[o]=0;for(o=6732;o<=6738;o++)n[o]=0;for(o=6931;o<=6933;o++)n[o]=0;for(o=6956;o<=6959;o++)n[o]=0;for(o=7005;o<=7007;o++)n[o]=0;for(o=7057;o<=7070;o++)n[o]=2;for(o=7074;o<=7082;o++)n[o]=0;for(o=7109;o<=7118;o++)n[o]=0;for(o=7119;o<=7127;o++)n[o]=1;for(o=7374;o<=7376;o++)n[o]=0;for(o=7528;o<=7586;o++)n[o]=0;for(o=7587;o<=7645;o++)n[o]=2;for(o=7692;o<=7696;o++)n[o]=0;for(o=7755;o<=7787;o++)n[o]=0;for(o=7791;o<=7795;o++)n[o]=0;for(o=7799;o<=7801;o++)n[o]=0;for(o=7803;o<=7805;o++)n[o]=0;for(o=7825;o<=7831;o++)n[o]=0;for(o=7845;o<=7859;o++)n[o]=0;for(o=8013;o<=8032;o++)n[o]=0;for(o=8065;o<=8068;o++)n[o]=1;for(o=8518;o<=8529;o++)n[o]=2;for(o=8533;o<=8536;o++)n[o]=2;for(o=8538;o<=8540;o++)n[o]=2;for(o=8677;o<=8679;o++)n[o]=0;for(o=8836;o<=8840;o++)n[o]=0;for(o=8857;o<=8859;o++)n[o]=0;for(o=8908;o<=8910;o++)n[o]=0;for(o=9154;o<=9159;o++)n[o]=0;for(o=9205;o<=9218;o++)n[o]=0;for(o=9271;o<=9273;o++)n[o]=0;for(o=9295;o<=9297;o++)n[o]=0;for(o=9356;o<=9360;o++)n[o]=0;for(o=9404;o<=9407;o++)n[o]=0;for(o=9476;o<=9482;o++)n[o]=0;for(o=9487;o<=9494;o++)n[o]=0;for(o=9697;o<=9699;o++)n[o]=0;for(o=9821;o<=9865;o++)n[o]=0;for(o=10285;o<=10291;o++)n[o]=0;for(o=10314;o<=10317;o++)n[o]=0;for(o=10448;o<=10465;o++)n[o]=0;for(o=10726;o<=10729;o++)n[o]=0;for(o=10731;o<=10733;o++)n[o]=0;for(o=11114;o<=11118;o++)n[o]=0;for(o=20004;o<=20032;o++)n[o]=0;for(o=20047;o<=20049;o++)n[o]=0;for(o=20062;o<=20092;o++)n[o]=0;for(o=20135;o<=20138;o++)n[o]=0;for(o=20248;o<=20258;o++)n[o]=0;for(o=20348;o<=20358;o++)n[o]=0;for(o=20436;o<=20440;o++)n[o]=0;for(o=20822;o<=20824;o++)n[o]=0;for(o=20904;o<=20932;o++)n[o]=0;for(o=20934;o<=20936;o++)n[o]=0;for(o=21004;o<=21032;o++)n[o]=0;for(o=21035;o<=21037;o++)n[o]=0;for(o=21095;o<=21097;o++)n[o]=0;for(o=21148;o<=21150;o++)n[o]=0;for(o=21207;o<=21264;o++)n[o]=0;for(o=21307;o<=21364;o++)n[o]=0;for(o=21413;o<=21423;o++)n[o]=0;for(o=21453;o<=21463;o++)n[o]=0;for(o=21473;o<=21483;o++)n[o]=0;for(o=21780;o<=21782;o++)n[o]=0;for(o=21891;o<=21894;o++)n[o]=0;for(o=21896;o<=21899;o++)n[o]=0;for(o=22171;o<=22177;o++)n[o]=0;for(o=22181;o<=22187;o++)n[o]=0;for(o=22191;o<=22197;o++)n[o]=0;for(o=22207;o<=22222;o++)n[o]=0;for(o=22229;o<=22232;o++)n[o]=0;for(o=22234;o<=22236;o++)n[o]=0;for(o=22243;o<=22250;o++)n[o]=0;for(o=22262;o<=22265;o++)n[o]=0;for(o=22307;o<=22322;o++)n[o]=0;for(o=22348;o<=22357;o++)n[o]=0;for(o=22407;o<=22422;o++)n[o]=0;for(o=22462;o<=22465;o++)n[o]=0;for(o=22521;o<=22525;o++)n[o]=0;for(o=22607;o<=22622;o++)n[o]=0;for(o=22641;o<=22646;o++)n[o]=0;for(o=22648;o<=22657;o++)n[o]=0;for(o=22707;o<=22722;o++)n[o]=0;for(o=22762;o<=22765;o++)n[o]=0;for(o=22807;o<=22822;o++)n[o]=0;for(o=22991;o<=22994;o++)n[o]=0;for(o=23028;o<=23038;o++)n[o]=0;for(o=23301;o<=23333;o++)n[o]=2;for(o=23830;o<=23853;o++)n[o]=0;for(o=23866;o<=23872;o++)n[o]=0;for(o=23877;o<=23884;o++)n[o]=0;for(o=23886;o<=23894;o++)n[o]=0;for(o=23946;o<=23948;o++)n[o]=0;for(o=24311;o<=24313;o++)n[o]=0;for(o=24342;o<=24347;o++)n[o]=0;for(o=24370;o<=24374;o++)n[o]=10;for(o=24375;o<=24381;o++)n[o]=0;for(o=24718;o<=24721;o++)n[o]=0;for(o=24817;o<=24821;o++)n[o]=0;for(o=24877;o<=24882;o++)n[o]=0;for(o=24891;o<=24893;o++)n[o]=0;for(o=25391;o<=25395;o++)n[o]=0;for(o=25828;o<=25838;o++)n[o]=0;for(o=26191;o<=26195;o++)n[o]=0;for(o=26391;o<=26393;o++)n[o]=0;for(o=26701;o<=26722;o++)n[o]=0;for(o=26729;o<=26799;o++)n[o]=2;for(o=26801;o<=26803;o++)n[o]=2;for(o=26811;o<=26813;o++)n[o]=2;for(o=26847;o<=26870;o++)n[o]=2;for(o=26891;o<=26899;o++)n[o]=0;for(o=26901;o<=26923;o++)n[o]=0;for(o=26929;o<=26946;o++)n[o]=0;for(o=26948;o<=26998;o++)n[o]=0;for(o=27037;o<=27040;o++)n[o]=0;for(o=27205;o<=27232;o++)n[o]=0;for(o=27258;o<=27260;o++)n[o]=0;for(o=27391;o<=27398;o++)n[o]=0;for(o=27561;o<=27564;o++)n[o]=0;for(o=27571;o<=27574;o++)n[o]=0;for(o=27581;o<=27584;o++)n[o]=0;for(o=27591;o<=27594;o++)n[o]=0;for(o=27700;o<=27707;o++)n[o]=0;for(o=28191;o<=28193;o++)n[o]=0;for(o=28348;o<=28358;o++)n[o]=0;for(o=28402;o<=28432;o++)n[o]=0;for(o=28462;o<=28492;o++)n[o]=0;for(o=29118;o<=29122;o++)n[o]=0;for(o=29168;o<=29172;o++)n[o]=0;for(o=29177;o<=29185;o++)n[o]=0;for(o=29187;o<=29195;o++)n[o]=0;for(o=29900;o<=29903;o++)n[o]=0;for(o=30161;o<=30179;o++)n[o]=0;for(o=30491;o<=30494;o++)n[o]=0;for(o=30729;o<=30732;o++)n[o]=0;for(o=31251;o<=31259;o++)n[o]=0;for(o=31265;o<=31268;o++)n[o]=0;for(o=31275;o<=31279;o++)n[o]=0;for(o=31281;o<=31297;o++)n[o]=0;for(o=31461;o<=31469;o++)n[o]=0;for(o=31491;o<=31495;o++)n[o]=0;for(o=31917;o<=31922;o++)n[o]=0;for(o=31965;o<=32e3;o++)n[o]=0;for(o=32001;o<=32003;o++)n[o]=2;for(o=32005;o<=32031;o++)n[o]=2;for(o=32033;o<=32060;o++)n[o]=2;for(o=32064;o<=32067;o++)n[o]=2;for(o=32074;o<=32077;o++)n[o]=2;for(o=32081;o<=32086;o++)n[o]=0;for(o=32107;o<=32130;o++)n[o]=0;for(o=32133;o<=32159;o++)n[o]=0;for(o=32164;o<=32167;o++)n[o]=2;for(o=32180;o<=32199;o++)n[o]=0;for(o=32201;o<=32260;o++)n[o]=0;for(o=32301;o<=32360;o++)n[o]=0;for(o=32401;o<=32460;o++)n[o]=0;for(o=32501;o<=32560;o++)n[o]=0;for(o=32601;o<=32662;o++)n[o]=0;for(o=32664;o<=32667;o++)n[o]=2;for(o=32701;o<=32761;o++)n[o]=0;for(o=53001;o<=53004;o++)n[o]=0;for(o=53008;o<=53019;o++)n[o]=0;for(o=53021;o<=53032;o++)n[o]=0;for(o=53034;o<=53037;o++)n[o]=0;for(o=53042;o<=53046;o++)n[o]=0;for(o=53074;o<=53080;o++)n[o]=0;for(o=54001;o<=54004;o++)n[o]=0;for(o=54008;o<=54019;o++)n[o]=0;for(o=54021;o<=54032;o++)n[o]=0;for(o=54034;o<=54037;o++)n[o]=0;for(o=54042;o<=54046;o++)n[o]=0;for(o=54048;o<=54053;o++)n[o]=0;for(o=54074;o<=54080;o++)n[o]=0;for(o=54090;o<=54096;o++)n[o]=0;for(o=54098;o<=54101;o++)n[o]=0;for(o=65161;o<=65163;o++)n[o]=0;for(o=102001;o<=102040;o++)n[o]=0;for(o=102042;o<=102063;o++)n[o]=0;for(o=102065;o<=102067;o++)n[o]=0;for(o=102070;o<=102117;o++)n[o]=0;for(o=102122;o<=102216;o++)n[o]=0;for(o=102221;o<=102377;o++)n[o]=0;for(o=102382;o<=102388;o++)n[o]=0;for(o=102389;o<=102398;o++)n[o]=2;for(o=102399;o<=102444;o++)n[o]=0;for(o=102445;o<=102447;o++)n[o]=2;for(o=102448;o<=102458;o++)n[o]=0;for(o=102459;o<=102468;o++)n[o]=2;for(o=102469;o<=102499;o++)n[o]=0;for(o=102500;o<=102519;o++)n[o]=1;for(o=102520;o<=102524;o++)n[o]=0;for(o=102525;o<=102529;o++)n[o]=2;for(o=102530;o<=102588;o++)n[o]=0;for(o=102590;o<=102598;o++)n[o]=0;for(o=102601;o<=102603;o++)n[o]=0;for(o=102605;o<=102628;o++)n[o]=0;for(o=102629;o<=102646;o++)n[o]=2;for(o=102648;o<=102700;o++)n[o]=2;for(o=102701;o<=102703;o++)n[o]=0;for(o=102707;o<=102730;o++)n[o]=2;for(o=102733;o<=102758;o++)n[o]=2;for(o=102767;o<=102900;o++)n[o]=0;for(o=102901;o<=102933;o++)n[o]=2;for(o=102934;o<=102950;o++)n[o]=13;for(o=102951;o<=102963;o++)n[o]=0;for(o=102965;o<=102969;o++)n[o]=0;for(o=102971;o<=102973;o++)n[o]=0;for(o=102975;o<=102989;o++)n[o]=0;for(o=102990;o<=102992;o++)n[o]=1;for(o=102997;o<=103002;o++)n[o]=0;for(o=103003;o<=103008;o++)n[o]=2;for(o=103009;o<=103011;o++)n[o]=0;for(o=103012;o<=103014;o++)n[o]=2;for(o=103019;o<=103021;o++)n[o]=0;for(o=103022;o<=103024;o++)n[o]=2;for(o=103029;o<=103031;o++)n[o]=0;for(o=103032;o<=103034;o++)n[o]=2;for(o=103065;o<=103068;o++)n[o]=0;for(o=103074;o<=103076;o++)n[o]=0;for(o=103077;o<=103079;o++)n[o]=1;for(o=103080;o<=103082;o++)n[o]=0;for(o=103083;o<=103085;o++)n[o]=2;for(o=103090;o<=103093;o++)n[o]=0;for(o=103097;o<=103099;o++)n[o]=0;for(o=103100;o<=103102;o++)n[o]=2;for(o=103107;o<=103109;o++)n[o]=0;for(o=103110;o<=103112;o++)n[o]=2;for(o=103113;o<=103116;o++)n[o]=0;for(o=103117;o<=103120;o++)n[o]=2;for(o=103153;o<=103157;o++)n[o]=0;for(o=103158;o<=103162;o++)n[o]=2;for(o=103163;o<=103165;o++)n[o]=0;for(o=103166;o<=103168;o++)n[o]=1;for(o=103169;o<=103171;o++)n[o]=2;for(o=103186;o<=103188;o++)n[o]=0;for(o=103189;o<=103191;o++)n[o]=2;for(o=103192;o<=103195;o++)n[o]=0;for(o=103196;o<=103199;o++)n[o]=2;for(o=103200;o<=103224;o++)n[o]=0;for(o=103225;o<=103227;o++)n[o]=1;for(o=103232;o<=103237;o++)n[o]=0;for(o=103238;o<=103243;o++)n[o]=2;for(o=103244;o<=103246;o++)n[o]=0;for(o=103247;o<=103249;o++)n[o]=2;for(o=103254;o<=103256;o++)n[o]=0;for(o=103257;o<=103259;o++)n[o]=2;for(o=103264;o<=103266;o++)n[o]=0;for(o=103267;o<=103269;o++)n[o]=2;for(o=103300;o<=103375;o++)n[o]=0;for(o=103381;o<=103383;o++)n[o]=0;for(o=103384;o<=103386;o++)n[o]=1;for(o=103387;o<=103389;o++)n[o]=0;for(o=103390;o<=103392;o++)n[o]=2;for(o=103397;o<=103399;o++)n[o]=0;for(o=103400;o<=103471;o++)n[o]=2;for(o=103476;o<=103478;o++)n[o]=0;for(o=103479;o<=103481;o++)n[o]=2;for(o=103486;o<=103488;o++)n[o]=0;for(o=103489;o<=103491;o++)n[o]=2;for(o=103492;o<=103495;o++)n[o]=0;for(o=103496;o<=103499;o++)n[o]=2;for(o=103528;o<=103543;o++)n[o]=0;for(o=103544;o<=103548;o++)n[o]=2;for(o=103549;o<=103551;o++)n[o]=0;for(o=103552;o<=103554;o++)n[o]=1;for(o=103555;o<=103557;o++)n[o]=2;for(o=103558;o<=103560;o++)n[o]=0;for(o=103571;o<=103573;o++)n[o]=0;for(o=103574;o<=103576;o++)n[o]=2;for(o=103577;o<=103580;o++)n[o]=0;for(o=103581;o<=103583;o++)n[o]=2;for(o=103595;o<=103694;o++)n[o]=0;for(o=103696;o<=103699;o++)n[o]=0;for(o=103700;o<=103793;o++)n[o]=2;for(o=103794;o<=103890;o++)n[o]=0;for(o=103891;o<=103896;o++)n[o]=2;for(o=103900;o<=103971;o++)n[o]=2;for(o=103972;o<=103977;o++)n[o]=0;for(o=112e3;o<=112101;o++)n[o]=0},34727:(e,t,r)=>{r.d(t,{$8:()=>y,Cc:()=>s,Hx:()=>p,Io:()=>m,KJ:()=>_,OS:()=>U,Sp:()=>c,XM:()=>u,YN:()=>l,ZH:()=>d,b6:()=>M,cU:()=>n,gg:()=>P,hs:()=>a,kU:()=>f,or:()=>A,pF:()=>G,pq:()=>R,qE:()=>i});const o=new Float32Array(1);function n(e){--e;for(let t=1;t<32;t<<=1)e|=e>>t;return e+1}function i(e,t,r){return Math.min(Math.max(e,t),r)}function s(e,t,r){return e+(t-e)*r}function a(e,t,r,o,n){return s(o,n,(e-t)/(r-t))}function f(e){return e*Math.PI/180}function _(e){return 180*e/Math.PI}function u(e){return Math.acos(i(e,-1,1))}function l(e){return Math.asin(i(e,-1,1))}function c(e,t,r=1e-6){return e===t||!(!Number.isFinite(e)||!Number.isFinite(t))&&(e>t?e-t:t-e)<=r}function P(e,t,r=1e-6){return!c(e,t,r)&&e>t}function d(e,t,r=1e-6){return!c(e,t,r)&&e<t}function p(e,t,r=1e-6){return c(e,t,r)||e>t}const E=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function S(e){return E.setFloat64(0,e),E.getBigInt64(0)}const T=1000000n,g=h(1);function h(e){const t=S(e=Math.abs(e)),r=function(e){return E.setBigInt64(0,e),E.getFloat64(0)}(t<=T?T:t-T);return Math.abs(e-r)}function m(e,t,r=g){if(e===t)return!0;if(!Number.isFinite(e)||!Number.isFinite(t))return!1;if(null!=r&&h(Math.min(Math.abs(e),Math.abs(t)))<r)return Math.abs(e-t)<=r;const o=S(e),n=S(t);return o<0==n<0&&!((o<n?n-o:o-n)>T)}function M(e,t,r=1e-6){if(e===t)return!0;if(!Number.isFinite(e)||!Number.isFinite(t))return!1;const o=Math.abs(e-t),n=Math.abs(e),i=Math.abs(t);if(0===e||0===t||n<1e-12&&i<1e-12){if(o>.01*r)return!1}else if(o/(n+i)>r)return!1;return!0}function y(e){return O(Math.max(-R,Math.min(e,R)))}function O(e){return o[0]=e,o[0]}function A(e){const t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],r=e[3]*e[3]+e[4]*e[4]+e[5]*e[5],o=e[6]*e[6]+e[7]*e[7]+e[8]*e[8];return!(c(t,1)&&c(r,1)&&c(o,1))}function U(e,t){return(e%t+t)%t}const R=O(34028234663852886e22);function G(e,t,r){if(void 0===r||0===+r)return Math[e](t);if(t=+t,r=+r,isNaN(t)||"number"!=typeof r||r%1!=0)return NaN;let o=t.toString().split("e");return o=(t=Math[e](+(o[0]+"e"+(o[1]?+o[1]-r:-r)))).toString().split("e"),+(o[0]+"e"+(o[1]?+o[1]+r:r))}},73941:(e,t,r)=>{r.d(t,{FY:()=>a,LJ:()=>f,Ro:()=>_,fv:()=>s,jA:()=>d,tO:()=>c,xP:()=>p,y7:()=>P});var o=r(79258),n=r(21325);function i(e){return{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 s=i(o.$O),a=i(o.sH),f=i(o.Sw),_={wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${o.$O.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]`},u=a.wkt.toUpperCase(),l=f.wkt.toUpperCase();function c(e){if(null!=e&&(0,n.fn)(e)){const t=e.wkid,r=e.wkt2??e.wkt;if((0,n.tl)(t))return o.sH;const i=r?.toUpperCase();if(r&&i===u)return o.sH;if((0,n.ZL)(t)||i&&i===l)return o.Sw}return o.$O}function P(e){return(0,n.tl)(e)?o.sH:(0,n.ZL)(e)?o.Sw:o.$O}function d(e){return(0,n.aI)(e,s)}function p(e){return d(e)||(0,n.aI)(e,a)||(0,n.aI)(e,f)}Math.cos(Math.PI/16/16)},79258:(e,t,r)=>{r.d(t,{$O:()=>n,Sw:()=>s,sH:()=>i});class o{constructor(e,t,r,o,n,i){this.semiMajorAxis=e,this.flattening=t,this.outerAtmosphereRimWidth=r,this.atmosphereHeight=o,this.scaleHeight=n;const s=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*s,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=i||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}}const n=new o(6378137,1/298.257223563,3e5,1e5,.085,.006694379990137799),i=new o(3396190,1/169.8944472236118,23e4,6e4,.111),s=new o(1737400,0,0,0,0)},83290:(e,t,r)=>{r.d(t,{P:()=>p,a:()=>u,g:()=>N,h:()=>_,i:()=>a,j:()=>h,l:()=>f,p:()=>B});var o=r(2741),n=r(44208);let i,s=null;function a(){return!!s}function f(){return i||(i=r.e(6187).then(r.bind(r,46187)).then(({default:e})=>e({locateFile:e=>(0,o.s)(`esri/geometry/support/${e}`)})).then(e=>{C(e)}),i)}const _={geogToProj(e,t,r){s.ensureCache.prepare();const o=D(r),n=r===o,i=s.ensureFloat64(o),a=s._pe_geog_to_proj(s.getPointer(e),t,i);return a&&b(r,t,i,n),a},projGeog(e,t,r,o){switch(o){case u.PE_TRANSFORM_P_TO_G:return _.projToGeog(e,t,r);case u.PE_TRANSFORM_G_TO_P:return _.geogToProj(e,t,r)}return 0},projToGeog:(e,t,r)=>_.projToGeogCenter(e,t,r,0),projToGeogCenter(e,t,r,o){s.ensureCache.prepare();const n=D(r),i=r===n,a=s.ensureFloat64(n),f=s._pe_proj_to_geog_center(s.getPointer(e),t,a,o);return f&&b(r,t,a,i),f}};class u{static init(){u.PE_BUFFER_MAX=s.PeDefs.prototype.PE_BUFFER_MAX,u.PE_NAME_MAX=s.PeDefs.prototype.PE_NAME_MAX,u.PE_MGRS_MAX=s.PeDefs.prototype.PE_MGRS_MAX,u.PE_USNG_MAX=s.PeDefs.prototype.PE_USNG_MAX,u.PE_DD_MAX=s.PeDefs.prototype.PE_DD_MAX,u.PE_DDM_MAX=s.PeDefs.prototype.PE_DDM_MAX,u.PE_DMS_MAX=s.PeDefs.prototype.PE_DMS_MAX,u.PE_UTM_MAX=s.PeDefs.prototype.PE_UTM_MAX,u.PE_PARM_MAX=s.PeDefs.prototype.PE_PARM_MAX,u.PE_TYPE_NONE=s.PeDefs.prototype.PE_TYPE_NONE,u.PE_TYPE_GEOGCS=s.PeDefs.prototype.PE_TYPE_GEOGCS,u.PE_TYPE_PROJCS=s.PeDefs.prototype.PE_TYPE_PROJCS,u.PE_TYPE_GEOGTRAN=s.PeDefs.prototype.PE_TYPE_GEOGTRAN,u.PE_TYPE_COORDSYS=s.PeDefs.prototype.PE_TYPE_COORDSYS,u.PE_TYPE_UNIT=s.PeDefs.prototype.PE_TYPE_UNIT,u.PE_TYPE_LINUNIT=s.PeDefs.prototype.PE_TYPE_LINUNIT,u.PE_STR_OPTS_NONE=s.PeDefs.prototype.PE_STR_OPTS_NONE,u.PE_STR_AUTH_NONE=s.PeDefs.prototype.PE_STR_AUTH_NONE,u.PE_STR_AUTH_TOP=s.PeDefs.prototype.PE_STR_AUTH_TOP,u.PE_STR_NAME_CANON=s.PeDefs.prototype.PE_STR_NAME_CANON,u.PE_STR_FMT_WKT=s.PeDefs.prototype.PE_STR_FMT_WKT,u.PE_STR_FMT_WKT2=s.PeDefs.prototype.PE_STR_FMT_WKT2,u.PE_PARM_X0=s.PeDefs.prototype.PE_PARM_X0,u.PE_PARM_ND=s.PeDefs.prototype.PE_PARM_ND,u.PE_TRANSFORM_1_TO_2=s.PeDefs.prototype.PE_TRANSFORM_1_TO_2,u.PE_TRANSFORM_2_TO_1=s.PeDefs.prototype.PE_TRANSFORM_2_TO_1,u.PE_TRANSFORM_P_TO_G=s.PeDefs.prototype.PE_TRANSFORM_P_TO_G,u.PE_TRANSFORM_G_TO_P=s.PeDefs.prototype.PE_TRANSFORM_G_TO_P,u.PE_HORIZON_RECT=s.PeDefs.prototype.PE_HORIZON_RECT,u.PE_HORIZON_POLY=s.PeDefs.prototype.PE_HORIZON_POLY,u.PE_HORIZON_LINE=s.PeDefs.prototype.PE_HORIZON_LINE,u.PE_HORIZON_DELTA=s.PeDefs.prototype.PE_HORIZON_DELTA}}let l=null;const c={},P={},d=e=>{const t=e.getType();switch(t){case u.PE_TYPE_GEOGCS:e=s.castObject(e,s.PeGeogcs);break;case u.PE_TYPE_PROJCS:e=s.castObject(e,s.PeProjcs);break;case u.PE_TYPE_GEOGTRAN:e=s.castObject(e,s.PeGeogtran);break;default:t&u.PE_TYPE_UNIT&&(e=s.castObject(e,s.PeUnit))}return e},p={initialize(){s.PeFactory.prototype.initialize(null)},coordsys:e=>p.factoryByType(u.PE_TYPE_COORDSYS,e),factoryByType(e,t){let r=null,o=c[e];if(o||(o={},c[e]=o),o.hasOwnProperty(String(t))&&(r=o[t],s.compare(r,s.NULL)&&(r=null)),!r){const n=s.PeFactory.prototype.factoryByType(e,t);s.compare(n,s.NULL)||(r=d(n),o[t]=r)}return r},fromString(e,t){let r=null,o=P[e];if(o||(o={},P[e]=o),o.hasOwnProperty(t)&&(r=o[t],s.compare(r,s.NULL)&&(r=null)),!r){const n=s.PeFactory.prototype.fromString(e,t);s.compare(n,s.NULL)||(r=d(n),o[t]=r)}return r},geogcs:e=>p.factoryByType(u.PE_TYPE_GEOGCS,e),geogtran:e=>p.factoryByType(u.PE_TYPE_GEOGTRAN,e),getCode:e=>s.PeFactory.prototype.getCode(e),projcs:e=>p.factoryByType(u.PE_TYPE_PROJCS,e),unit:e=>p.factoryByType(u.PE_TYPE_UNIT,e)};let E,S=null;const T={PE_GTLIST_OPTS_COMMON:0,init(){T.PE_GTLIST_OPTS_COMMON=s.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON,E=s._pe_getPeGTlistExtendedEntrySize()},getGTlist(e,t,r,o,n,i){let a=null;const f=new s.PeInteger(i);try{const _=s.PeGTlistExtended.prototype.getGTlist(e,t,r,o,n,f);if((i=f.val)&&(a=[_],i>1)){const e=s.getPointer(_);for(let t=1;t<i;t++)a.push(s.wrapPointer(e+E*t,s.PeGTlistExtendedEntry))}}finally{s.destroy(f)}return a}},g={destroy(e){if(e?.length){for(const t of e)w(t),t.getEntries().forEach(e=>{w(e);const t=e.getGeogtran();w(t),t.getParameters().forEach(w),[t.getGeogcs1(),t.getGeogcs2()].forEach(e=>{w(e);const t=e.getDatum();w(t),w(t.getSpheroid()),w(e.getPrimem()),w(e.getUnit())})});s.PeGTlistExtendedEntry.prototype.Delete(e[0])}}},h={geogToGeog(e,t,r,o,n){s.ensureCache.prepare();const i=D(r),a=r===i,f=s.ensureFloat64(i);let _=0;o&&(_=s.ensureFloat64(o));const u=s._pe_geog_to_geog(s.getPointer(e),t,f,_,n);return u&&b(r,t,f,a),u}},m={geodesicCoordinate(e,t,r,o,n,i,a,f){s.PeLineType.prototype.geodesic_coordinate(e,t,r,o,n,i,a,f)},geodeticCoordinate(e,t,r,o,n,i,a,f,_){s.PeLineType.prototype.geodetic_coordinate(e,t,r,o,n,i,a,f,_)},geodeticDistance(e,t,r,o,n,i,a,f,_,u){s.PeLineType.prototype.geodetic_distance(e,t,r,o,n,i,a,f,_,u)},greatEllipticDistance(e,t,r,o,n,i,a,f,_){s.PeLineType.prototype.great_elliptic_distance(e,t,r,o,n,i,a,f,_)}},M={phiToEta:(e,t)=>s.PeMath.prototype.phi_to_eta(e,t),etaToPhi:(e,t)=>s.PeMath.prototype.eta_to_phi(e,t),phiToPhig:(e,t)=>s.PeMath.prototype.phi_to_phig(e,t),q:(e,t,r)=>s.PeMath.prototype.q(e,t,r),q90:(e,t)=>s.PeMath.prototype.q90(e,t)},y=(e,t,r,o,n,i)=>{let a,f;switch(s.ensureCache.prepare(),e){case"dd":a=s._pe_geog_to_dd,f=u.PE_DD_MAX;break;case"ddm":a=s._pe_geog_to_ddm,f=u.PE_DDM_MAX;break;case"dms":a=s._pe_geog_to_dms,f=u.PE_DMS_MAX}let _=0;t&&(_=s.getPointer(t));const l=D(o),c=s.ensureFloat64(l),P=I(r,f),d=a(_,r,c,n,s.ensureInt32(P));if(d)for(let e=0;e<r;e++)i[e]=s.UTF8ToString(P[e]);return d},O=(e,t,r,o,n)=>{let i;switch(s.ensureCache.prepare(),e){case"dd":i=s._pe_dd_to_geog;break;case"ddm":i=s._pe_ddm_to_geog;break;case"dms":i=s._pe_dms_to_geog}let a=0;t&&(a=s.getPointer(t));const f=o.map(e=>s.ensureString(e)),_=s.ensureInt32(f),u=s.ensureFloat64(new Array(2*r)),l=i(a,r,_,u);return l&&b(n,r,u),l},A={geogToDms:(e,t,r,o,n)=>y("dms",e,t,r,o,n),dmsToGeog:(e,t,r,o)=>O("dms",e,t,r,o),geogToDdm:(e,t,r,o,n)=>y("ddm",e,t,r,o,n),ddmToGeog:(e,t,r,o)=>O("ddm",e,t,r,o),geogToDd:(e,t,r,o,n)=>y("dd",e,t,r,o,n),ddToGeog:(e,t,r,o)=>O("dd",e,t,r,o)};class U{static init(){U.PE_MGRS_STYLE_NEW=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW,U.PE_MGRS_STYLE_OLD=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD,U.PE_MGRS_STYLE_AUTO=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO,U.PE_MGRS_180_ZONE_1_PLUS=s.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS,U.PE_MGRS_ADD_SPACES=s.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES}static geogToMgrsExtended(e,t,r,o,n,i,a){s.ensureCache.prepare();let f=0;e&&(f=s.getPointer(e));const _=D(r),l=s.ensureFloat64(_),c=I(t,u.PE_MGRS_MAX),P=s.ensureInt32(c),d=s._pe_geog_to_mgrs_extended(f,t,l,o,n,i,P);if(d)for(let e=0;e<t;e++)a[e]=s.UTF8ToString(c[e]);return d}static mgrsToGeogExtended(e,t,r,o,n){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=r.map(e=>s.ensureString(e)),f=s.ensureInt32(a),_=s.ensureFloat64(new Array(2*t)),u=s._pe_mgrs_to_geog_extended(i,t,f,o,_);return u&&b(n,t,_),u}}const R={geogToUsng(e,t,r,o,n,i,a){s.ensureCache.prepare();let f=0;e&&(f=s.getPointer(e));const _=D(r),l=s.ensureFloat64(_),c=I(t,u.PE_MGRS_MAX),P=s.ensureInt32(c),d=s._pe_geog_to_usng(f,t,l,o,n,i,P);if(d)for(let e=0;e<t;e++)a[e]=s.UTF8ToString(c[e]);return d},usngToGeog(e,t,r,o){s.ensureCache.prepare();let n=0;e&&(n=s.getPointer(e));const i=r.map(e=>s.ensureString(e)),a=s.ensureInt32(i),f=s.ensureFloat64(new Array(2*t)),_=s._pe_usng_to_geog(n,t,a,f);return _&&b(o,t,f),_}};class G{static init(){G.PE_UTM_OPTS_NONE=s.PeNotationUtm.prototype.PE_UTM_OPTS_NONE,G.PE_UTM_OPTS_ADD_SPACES=s.PeNotationUtm.prototype.PE_UTM_OPTS_ADD_SPACES,G.PE_UTM_OPTS_NS=s.PeNotationUtm.prototype.PE_UTM_OPTS_NS}static geogToUtm(e,t,r,o,n){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=D(r),f=s.ensureFloat64(a),_=I(t,u.PE_UTM_MAX),l=s.ensureInt32(_),c=s._pe_geog_to_utm(i,t,f,o,l);if(c)for(let e=0;e<t;e++)n[e]=s.UTF8ToString(_[e]);return c}static utmToGeog(e,t,r,o,n){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=r.map(e=>s.ensureString(e)),f=s.ensureInt32(a),_=s.ensureFloat64(new Array(2*t)),u=s._pe_utm_to_geog(i,t,f,o,_);return u&&b(n,t,_),u}}class N{static{this.cache=new Map}static init(){N.PE_PCSINFO_OPTION_NONE=s.PePCSInfo.prototype.PE_PCSINFO_OPTION_NONE,N.PE_PCSINFO_OPTION_DOMAIN=s.PePCSInfo.prototype.PE_PCSINFO_OPTION_DOMAIN,N.PE_POLE_OUTSIDE_BOUNDARY=s.PePCSInfo.prototype.PE_POLE_OUTSIDE_BOUNDARY,N.PE_POLE_POINT=s.PePCSInfo.prototype.PE_POLE_POINT}static generate(e,t=N.PE_PCSINFO_OPTION_DOMAIN){let r=null,o=null;return N.cache.has(e)&&(o=N.cache.get(e),o[t]&&(r=o[t])),r||(r=s.PePCSInfo.prototype.generate(e,t),o||(o=[],N.cache.set(e,o)),o[t]=r),r}}const k={versionString:()=>s.PeVersion.prototype.version_string()};function C(e){function t(e,t,r){e[t]=r(e[t])}s=e,u.init(),T.init(),U.init(),G.init(),N.init(),l=class extends s.PeDouble{constructor(e=NaN){super(e)}destroy(){s.destroy(this)}[Symbol.dispose](){this.destroy()}},S=class extends s.PeGCSExtent{destroy(){s.destroy(this)}[Symbol.dispose](){this.destroy()}};const r=[s.PeAngunit,s.PeDatum,s.PeGeogcs,s.PeGeogtran,s.PeObject,s.PeParameter,s.PePrimem,s.PeProjcs,s.PeSpheroid,s.PeUnit];for(const e of r)t(e.prototype,"getName",e=>function(){return e.call(this,new Array(u.PE_NAME_MAX))});for(const e of[s.PeGeogtran,s.PeProjcs])t(e.prototype,"getParameters",e=>function(){const t=new Array(u.PE_PARM_MAX);let r=e.call(this);for(let e=0;e<t.length;e++){const o=s.getValue(r,"*");t[e]=o?s.wrapPointer(o,s.PeParameter):null,r+=Int32Array.BYTES_PER_ELEMENT}return t});t(s.PeHorizon.prototype,"getCoord",e=>function(t=!1){const r=this.getSize();if(!r)return null;const o=[];return b(o,r,e.call(this),t),o}),t(s.PeGTlistExtendedEntry.prototype,"getEntries",e=>{const t=s._pe_getPeGTlistExtendedGTsSize();return function(){let r=null;const o=e.call(this);if(!s.compare(o,s.NULL)){r=[o];const e=this.getSteps();if(e>1){const n=s.getPointer(o);for(let o=1;o<e;o++)r.push(s.wrapPointer(n+t*o,s.PeGTlistExtendedGTs))}}return r}});const o=s._pe_getPeHorizonSize(),n=e=>function(){let t=this._cache;if(t||(t=new Map,this._cache=t),t.has(e))return t.get(e);let r=null;const n=e.call(this);if(!s.compare(n,s.NULL)){r=[n];const e=n.getNump();if(e>1){const t=s.getPointer(n);for(let n=1;n<e;n++)r.push(s.wrapPointer(t+o*n,s.PeHorizon))}}return t.set(e,r),r};t(s.PeProjcs.prototype,"horizonGcsGenerate",n),t(s.PeProjcs.prototype,"horizonPcsGenerate",n),s.PeObject.prototype.toString=function(e=u.PE_STR_OPTS_NONE){s.ensureCache.prepare();const t=s.getPointer(this),r=s.ensureInt8(new Array(u.PE_BUFFER_MAX));return s.UTF8ToString(s._pe_object_to_string_ext(t,e,r))},s.PeGeogcs.prototype.destroy=function(){this.Delete(),w(this),this.ptr=0},s.PeGeogcs.prototype[Symbol.dispose]=function(){this.destroy()},s.PeProjcs.prototype.destroy=function(){this.Delete(),w(this),this.ptr=0},s.PeProjcs.prototype[Symbol.dispose]=function(){this.destroy()}}function w(e){if(!e)return;const t=s.getClass(e);if(!t)return;const r=s.getCache(t);if(!r)return;const o=s.getPointer(e);o&&delete r[o]}function I(e,t){const r=[],o=new Array(t);for(let t=0;t<e;t++)r.push(s.ensureInt8(o));return r}function D(e){return ArrayBuffer.isView(e)?e:Array.isArray(e[0])?e.flat():e}function b(e,t,r,o=!1){if(o)for(let o=0;o<2*t;o++)e[o]=s.getValue(r+o*Float64Array.BYTES_PER_ELEMENT,"double");else{const o=0===e.length;for(let n=0;n<t;n++)o&&(e[n]=new Array(2)),e[n][0]=s.getValue(r,"double"),e[n][1]=s.getValue(r+Float64Array.BYTES_PER_ELEMENT,"double"),r+=2*Float64Array.BYTES_PER_ELEMENT}}const B=Object.freeze(Object.defineProperty({__proto__:null,PeCSTransformations:_,PeDefs:u,get PeDouble(){return l},PeFactory:p,get PeGCSExtent(){return S},PeGTTransformations:h,PeGTlistExtended:T,PeGTlistExtendedEntry:g,PeLineType:m,PeMath:M,PeNotationDms:A,PeNotationMgrs:U,PeNotationUsng:R,PeNotationUtm:G,PePCSInfo:N,PeVersion:k,_init:C,get _pe(){return s},isLoaded:a,isSupported:function(){return!!(0,n.A)("esri-wasm")},load:f},Symbol.toStringTag,{value:"Module"}))},86211:(e,t,r)=>{r.d(t,{Ao:()=>C,B5:()=>F,G9:()=>G,GA:()=>k,Ij:()=>b,KX:()=>w,LA:()=>R,PQ:()=>O,Sk:()=>H,UW:()=>A,b$:()=>j,dk:()=>L,dy:()=>f,k1:()=>N,mq:()=>B,oU:()=>y,vl:()=>U,x1:()=>Y,yD:()=>P}),r(44208);var o=r(66552),n=r(73941),i=r(79258),s=r(21325),a=r(22530);const f=39.37,_=i.$O.radius*Math.PI/200,u=/(?:LENGTH)?UNIT\[([^\]]+)]]$/i,l=a.A,c=/UNIT\[([^\]]+)]/i,P=new Set([4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104025,104026,104139,104140]),d=(0,o.O)()({millimeter:"millimeters",centimeter:"centimeters",meter:"meters",meter_german:"german-meters",kilometer:"kilometers",decimeter:"decimeters",micrometer:"micrometers",nanometer:"nanometers","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",fathom:"fathoms",nautical_mile:"nautical-miles",chain_us:"us-chains",link_us:"us-links",mile_us:"us-miles",yard_clarke:"clarke-yards",chain_clarke:"clarke-chains",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",link_sears:"sears-links",yard_benoit_1895_a:"benoit-1895-a-yards",foot_benoit_1895_a:"benoit-1895-a-feet",chain_benoit_1895_a:"benoit-1895-a-chains",link_benoit_1895_a:"benoit-1895-a-links",yard_benoit_1895_b:"benoit-1895-b-yards",foot_benoit_1895_b:"benoit-1895-b-feet",chain_benoit_1895_b:"benoit-1895-b-chains",link_benoit_1895_b:"benoit-1895-b-links",foot_1865:"1865-feet",foot_indian:"indian-feet",foot_indian_1937:"indian-1937-feet",foot_indian_1962:"indian-1962-feet",foot_indian_1975:"indian-1975-feet",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",yard_indian_1962:"indian-1962-yards",yard_indian_1975:"indian-1975-yards",statute_mile:"statute-miles",foot_gold_coast:"gold-coast-feet",foot_british_1936:"british-1936-feet",yard:"yards",chain:"chains",link:"links",yard_sears_1922_truncated:"sears-1922-truncated-yards",foot_sears_1922_truncated:"sears-1922-truncated-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains",link_sears_1922_truncated:"sears-1922-truncated-links",yard_us:"us-yards",inch:"inches",inch_us:"us-inches",rod:"rods",rod_us:"us-rods",nautical_mile_us:"us-nautical-miles",nautical_mile_uk:"uk-nautical-miles",smoot:"smoots",vara_tx:"tx-vara",point:"points"}),p=e=>e*e,E=e=>e*e*e,S={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},meters:{inBaseUnits:1},feet:{inBaseUnits:.3048},"us-feet":{inBaseUnits:.3048006096012192},"clarke-feet":{inBaseUnits:.3047972654},fathoms:{inBaseUnits:1.8288},"nautical-miles":{inBaseUnits:1852},"german-meters":{inBaseUnits:1.0000135965},"us-chains":{inBaseUnits:20.11684023368047},"us-links":{inBaseUnits:.2011684023368047},"us-miles":{inBaseUnits:1609.347218694438},kilometers:{inBaseUnits:1e3},"clarke-yards":{inBaseUnits:.9143917962},"clarke-chains":{inBaseUnits:20.1166195164},"clarke-links":{inBaseUnits:.201166195164},"sears-yards":{inBaseUnits:.9143984146160287},"sears-feet":{inBaseUnits:.3047994715386762},"sears-chains":{inBaseUnits:20.11676512155263},"sears-links":{inBaseUnits:.2011676512155263},"benoit-1895-a-yards":{inBaseUnits:.9143992},"benoit-1895-a-feet":{inBaseUnits:.3047997333333333},"benoit-1895-a-chains":{inBaseUnits:20.1167824},"benoit-1895-a-links":{inBaseUnits:.201167824},"benoit-1895-b-yards":{inBaseUnits:.9143992042898124},"benoit-1895-b-feet":{inBaseUnits:.3047997347632708},"benoit-1895-b-chains":{inBaseUnits:20.11678249437587},"benoit-1895-b-links":{inBaseUnits:.2011678249437587},"1865-feet":{inBaseUnits:.3048008333333334},"indian-feet":{inBaseUnits:.3047995102481469},"indian-1937-feet":{inBaseUnits:.30479841},"indian-1962-feet":{inBaseUnits:.3047996},"indian-1975-feet":{inBaseUnits:.3047995},"indian-yards":{inBaseUnits:.9143985307444408},"indian-1937-yards":{inBaseUnits:.91439523},"indian-1962-yards":{inBaseUnits:.9143988},"indian-1975-yards":{inBaseUnits:.9143985},miles:{inBaseUnits:1609.344},"statute-miles":{inBaseUnits:1609.344},"gold-coast-feet":{inBaseUnits:.3047997101815088},"british-1936-feet":{inBaseUnits:.3048007491},yards:{inBaseUnits:.9144},chains:{inBaseUnits:20.1168},links:{inBaseUnits:.201168},"sears-1922-truncated-yards":{inBaseUnits:.914398},"sears-1922-truncated-feet":{inBaseUnits:.3047993333333334},"sears-1922-truncated-chains":{inBaseUnits:20.116756},"sears-1922-truncated-links":{inBaseUnits:.20116756},"us-yards":{inBaseUnits:.9144018288036576},decimeters:{inBaseUnits:.1},inches:{inBaseUnits:.0254},"us-inches":{inBaseUnits:.0254000508001016},rods:{inBaseUnits:5.0292},"us-rods":{inBaseUnits:5.029210058420118},"us-nautical-miles":{inBaseUnits:1853.248},"uk-nautical-miles":{inBaseUnits:1853.184},smoots:{inBaseUnits:1.7018},"tx-vara":{inBaseUnits:.8466683600033867},points:{inBaseUnits:.0003527777777777778},micrometers:{inBaseUnits:1e-6},nanometers:{inBaseUnits:1e-9},"50-kilometers":{inBaseUnits:5e4},"150-kilometers":{inBaseUnits:15e4}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:p(.001)},"square-centimeters":{inBaseUnits:p(.01)},"square-decimeters":{inBaseUnits:p(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:p(1e3)},"square-inches":{inBaseUnits:p(.0254)},"square-feet":{inBaseUnits:p(.3048)},"square-yards":{inBaseUnits:p(.9144)},"square-miles":{inBaseUnits:p(1609.344)},"square-nautical-miles":{inBaseUnits:p(1852)},"square-us-feet":{inBaseUnits:p(1200/3937)},acres:{inBaseUnits:.0015625*p(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*E(.001)},"cubic-centimeters":{inBaseUnits:1e3*E(.01)},"cubic-decimeters":{inBaseUnits:1e3*E(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*E(1e3)},"cubic-inches":{inBaseUnits:1e3*E(.0254)},"cubic-feet":{inBaseUnits:1e3*E(.3048)},"cubic-yards":{inBaseUnits:1e3*E(.9144)},"cubic-miles":{inBaseUnits:1e3*E(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},T=(()=>{const e={};for(const t in S)for(const r in S[t].units)e[r]=t;return e})(),g=["metric","imperial","inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],h=new Map([["meters","square-meters"],["feet","square-feet"],["us-feet","square-us-feet"]]);function m(e){const t=T[e];if(!t)throw new Error("unknown type");return t}function M(e,t=null){return t=t||m(e),S[t].baseUnit===e}function y(e,t,r){if(t===r)return e;const o=m(t);if(o!==m(r))throw new Error("incompatible units");const n=M(t,o)?e:function(e,t,r){return e*S[r].units[t].inBaseUnits}(e,t,o);return M(r,o)?n:function(e,t,r){return e/S[r].units[t].inBaseUnits}(n,r,o)}function O(e,t,r,o=!1){if(!o&&(0,s.EA)(t))throw new Error("Unable to convert from an angular unit to a linear unit.");const n=b(t);return n!==r&&(e=n?y(e,n,r):y(e*=k(t),"meters",r)),e}function A(e,t,r,o=!1){if(!o&&(0,s.EA)(r))throw new Error("Unable to convert from a linear unit to an angular unit.");const n=b(r);return t!==n&&(e=n?y(e,t,n):y(e,t,"meters")/k(r)),e}function U(e,t,r){return y(e,t,"meters")/(r*Math.PI/180)}function R(e){return d.fromJSON(e.toLowerCase())||null}function G(e){if(null!=e&&!(0,s.B3)(e))return 1;const t=k(e);return t>1e5?1:t}function N(e){return k(e)>=(0,n.tO)(e).metersPerDegree?"meters":b(e)}function k(e,t=i.$O.metersPerDegree){return C(e,!0)??t}function C(e,t=!1){const r=e?.wkid??null,o=e?.wkt2??e?.wkt??null;let n=null;if(r){if((0,s.tl)(r))return i.sH.metersPerDegree;if((0,s.ZL)(r))return i.Sw.metersPerDegree;n=l.values[l[r]],!n&&t&&P.has(r)&&(n=_)}else o&&(Y(o)?n=I(u.exec(o),n):W(o)&&(n=I(c.exec(o),n)));return n}function w(e){return(0,s.EA)(e)?1:k(e)}function I(e,t){return e?.[1]?D(e[1]):t}function D(e){return parseFloat(e.split(",")[1])}function b(e){const t=e?.wkid??null,r=e?.wkt2??e?.wkt??null;let o=null;if(t)o=l.units[l[t]];else if(r){const e=Y(r)?u:W(r)?c:null;if(e){const t=e.exec(r);t?.[1]&&(o=function(e){const t=/[\\"']([^\\"']+)/.exec(e);let r=t?.[1];if(!r||!R(r)){const t=D(e);r=null;const o=l.values;for(let e=0;e<o.length;++e)if(Math.abs(t-o[e])<x){r=l.units[e];break}}return r}(t[1]))}}return null!=o?R(o):null}function B(e){const t=N(e);return null!=t&&g.includes(t)?t:null}function F(e){const t=b(e);return null==t?null:h.get(t)}function W(e){return/^GEOCCS/i.test(e)}function Y(e){return/^\s*(?:PROJCS|PROJCRS|PROJECTEDCRS)/i.test(e)}const x=1e-7,L=(0,o.O)()({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"}),H=(0,o.O)()({esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"}),j=(0,o.O)()({esriDUDecimalDegrees:"degrees",esriDURadians:"radians"})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2741],{926:(e,t,r)=>{r.d(t,{CG:()=>a,Dd:()=>i,Jn:()=>l,Qc:()=>u});var s=r(92602),n=r(84952);const o=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]);function a(e){if(!u(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),r=s.A.apiKeys;if(Array.isArray(r.scopes))for(const e of r.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return r.basemapStyles&&/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i.test(e)?r.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}function i(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function l(e,t){return t?u(e):null!=a(e)}function u(e){const t=(0,n.$z)(e,!0);return!!t&&!o.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},2741:(e,t,r)=>{r.d(t,{s:()=>i});var s=r(92602),n=(r(11254),r(49186)),o=r(53966),a=r(84952);function i(e){if(!s.A.assetsPath)throw o.A.getLogger("esri.assets").errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new n.A("assets:path-not-set","config.assetsPath is not set");return(0,a.fj)(s.A.assetsPath,e)}},11254:(e,t,r)=>{r.d(t,{A:()=>g});var s=r(92602),n=r(49186),o=r(44208),a=r(74887),i=r(84952),l=r(56152),u=r(51699),c=r(91869),d=r(60694);async function p(e){const t=function(e){let t,r=!1;return"string"==typeof e?(t=(0,i.$z)(e,!0),r=(0,d.Wo)(e)):(t=e.origin,r=(0,d.Wo)(e.toString())),null==t?null:new y(t,r)}(e.parameters.url);if(!t)return null;const{QueueProcessor:s,SharedConcurrency:n}=await r.e(563).then(r.bind(r,563));return(0,c.tE)(f,t.origin,()=>{const e=(t.isHosted?(0,o.A)("request-queue-concurrency-hosted"):(0,o.A)("request-queue-concurrency-non-hosted"))??4;return h??=new n((0,o.A)("request-queue-concurrency-global")??50),new s({concurrency:e,sharedConcurrency:h,process:e=>{if((0,a.G4)(e.parameters.requestOptions))throw(0,u.YB)("",(0,a.NK)("Request canceled"),e.parameters);return(0,u.zc)(e)}})})}const f=new Map;let h,m;class y{constructor(e,t){this.origin=e,this.isHosted=t}}async function g(e,t){e instanceof URL&&(e=e.toString());const s=(0,i.DB)(e),n=(0,i.w8)(e);n||s||(e=(0,i.S8)(e));const c={url:e,requestOptions:{...t}};t?.query&&(c.requestOptions.query=t?.query instanceof URLSearchParams?(0,i.zf)(t.query.toString().replaceAll("+"," ")):t?.query);const d=e=>({data:e,getAllHeaders:v,getHeader:v,httpStatus:200,requestOptions:c.requestOptions,url:c.url}),f=(0,i.sC)(e,w.internalInterceptors);if(f){const e=await b(f,c);if(null!=e)return d(e)}let h=(0,i.sC)(e);if(h){const e=await b(h,c);if(null!=e)return d(e);h.after||h.error||(h=null)}if(e=c.url,"image"===(t=c.requestOptions).responseType&&((0,o.A)("host-webworker")||(0,o.A)("host-node")))throw(0,u.YB)("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),c);if("head"===t.method){if(t.body)throw(0,u.YB)("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),c);if(s||n)throw(0,u.YB)("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),c)}if(await async function(){(0,o.A)("host-webworker")&&(!m&&globalThis.invokeStaticMessage?m=await r.e(369).then(r.bind(r,40369)):l.i.isForeignWorker=!0)}(),m)return m.execute(e,t);const y=new AbortController,g=(0,a.u7)(t,()=>y.abort()),q={controller:y,credential:void 0,credentialToken:void 0,fetchOptions:void 0,hasToken:!1,interceptor:h,parameters:c,redoRequest:!1,useIdentity:w.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},S=t.useQueue?async function(e){const t=await p(e);return t?t.push(e):(0,u.zc)(e)}(q):(0,u.zc)(q),A=await S.finally(()=>g?.remove());return h?.after?.(A),A}const w=s.A.request,v=()=>null;async function b(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let r,s;try{s=await e.before(t)}catch(e){r=(0,u.YB)("request:interceptor",e,t)}if((s instanceof Error||s instanceof n.A)&&(r=(0,u.YB)("request:interceptor",s,t)),r)throw e.error&&e.error(r),r;return s}}},51699:(e,t,r)=>{r.d(t,{YB:()=>E,c8:()=>$,zc:()=>A});var s=r(92602),n=r(70333),o=r(49186),a=r(44208),i=r(4718),l=r(74887),u=r(84952),c=r(39131),d=r(56152);class p{constructor(e,t){this.element=e,this.type="image+type",this.isOpaque="image/jpeg"===t}}var f=r(95117),h=r(60694);const m=new Map;function y(e,t){const r=t?.preferredHost;if(!r||(0,u.FX)(e,`https://${r}`,!0))return;const s=(0,h.qg)(e);if(!s||"FeatureServer"!==s.serverType||(0,c.$E)(e))return;const n=s.url.path.toLowerCase();m.has(n)||m.set(n,r)}function g(e){const t=(0,h.qg)(e)?.url.path.toLowerCase();if(!t)return e;const r=m.get(t);return r?(0,u.hf)(e,r):e}var w=r(926);const v="FormData"in globalThis,b=new Set([499,498,403,401]),q=new Set(["COM_0056","COM_0057","SB_0008"]),S=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i];async function A(e){let t,r;await async function(e){const t=e.parameters.url,r=e.parameters.requestOptions,o=e.controller.signal,a=r.body;let i=null,u=null;if(v&&"HTMLFormElement"in globalThis&&(a instanceof FormData?i=a:a instanceof HTMLFormElement&&(i=new FormData(a))),"string"==typeof a&&(u=a),e.fetchOptions={cache:r.cacheBust?"no-cache":"default",credentials:"same-origin",headers:r.headers||{},keepalive:r.keepAlive??!1,method:"head"===r.method?"HEAD":"GET",mode:"cors",priority:r.priority??s.A.request.priority,redirect:"follow",signal:o},(i||u)&&(e.fetchOptions.body=i||u),(d.i.isForeignWorker||"anonymous"===r.authMode)&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||r.query?.token||i?.get("token")),!e.hasToken){const s=(0,w.CG)(t);s&&(r.query??={},r.query.token=s,e.hasToken=!0)}if(e.useIdentity&&!e.hasToken&&!e.credential&&!e.credentialToken&&!L(t)&&!(0,l.G4)(o)){let s;"immediate"===r.authMode?(await T(),s=await n.id.getCredential(t,{signal:o})):"no-prompt"===r.authMode?(await T(),s=await n.id.getCredential(t,{prompt:!1,signal:o}).catch(()=>{})):n.id&&(s=n.id.findCredential(t)),s&&(e.credential=s,e.credentialToken=s.token,e.useSSL=!!s.ssl)}}(e);try{do{[t,r]=await C(e)}while(!await U(e,t,r))}catch(r){const s=E("request:server",r,e.parameters,t);throw s.details.ssl=e.useSSL,e.interceptor?.error?.(s),s}const o=e.parameters.url;if(r)if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(o)){if(!e.hasToken&&!e.credentialToken&&r.user?.username&&!(0,u.FL)(o)){const e=(0,u.$z)(o,!0);e&&s.A.request.trustedServers.push(e)}Array.isArray(r.authorizedCrossOriginNoCorsDomains)&&function(e){s.A.request.crossOriginNoCorsDomains||(s.A.request.crossOriginNoCorsDomains={});const t=s.A.request.crossOriginNoCorsDomains;for(let r of e)r=r.toLowerCase(),/^https?:\/\//.test(r)?t[(0,u.$z)(r)??""]=0:(t[(0,u.$z)("http://"+r)??""]=0,t[(0,u.$z)("https://"+r)??""]=0)}(r.authorizedCrossOriginNoCorsDomains)}else"json"===(e.parameters.requestOptions.responseType||"json")&&y(o,r);const a=e.credential;if(a&&n.id){const e=n.id.findServerInfo(a.server);let t=e?.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=n.id.findCredential(t,a.userId);e&&-1===n.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:r,getAllHeaders:t?()=>Array.from(t.headers):R,getHeader:t?e=>t.headers.get(e):R,httpStatus:t?.status??200,requestOptions:e.parameters.requestOptions,ssl:e.useSSL,url:e.parameters.url}}async function C(e){let t=e.parameters.url,r=g(t);const o=e.parameters.requestOptions,i=e.fetchOptions??{},f=(0,u.w8)(t)||(0,u.DB)(t),h=o.responseType??"json",m="image"===h&&o.imageWithType,y=f?0:null!=o.timeout?o.timeout:s.A.request.timeout;let w=!1;if(!f){e.useSSL&&(t=(0,u.lM)(t));let l={...o.query};e.credentialToken&&(l.token=e.credentialToken);let d=(0,u.x0)(l);(0,a.A)("esri-url-encodes-apostrophe")&&(d=d.replaceAll("'","%27"));const p=r.length+1+d.length;let f;w="delete"===o.method||"post"===o.method||"put"===o.method||!!o.body||p>s.A.request.maxUrlLength;const h=o.useProxy||!!(0,u.zs)(t);if(h){const e=(0,u.s_)(t);f=e.path,!w&&f.length+1+p>s.A.request.maxUrlLength&&(w=!0),e.query&&(l={...e.query,...l})}if("HEAD"===i.method&&(w||h)){if(w){if(p>s.A.request.maxUrlLength)throw E("request:invalid-parameters",new Error("URL exceeds maximum length"),e.parameters);throw E("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.parameters)}if(h)throw E("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.parameters)}if(w?(i.method="delete"===o.method?"DELETE":"put"===o.method?"PUT":"POST",o.body?t=(0,u.a6)(t,l):(i.body=(0,u.x0)(l),i.headers||(i.headers={}),i.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,u.a6)(t,l),h&&(e.useProxy=!0,t=`${f}?${t}`),l.token&&v&&i.body instanceof FormData&&!(0,c.$E)(t)&&i.body.set("token",l.token),o.hasOwnProperty("withCredentials"))e.withCredentials=o.withCredentials;else if(!(0,u.FX)(t,(0,u.Xq)()))if((0,u.FL)(t))e.withCredentials=!0;else if(n.id){const r=n.id.findServerInfo(t);r?.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(i.credentials="include",function(e){const t=s.A.request.crossOriginNoCorsDomains;if(t){let r=(0,u.$z)(e);if(r)return r=r.toLowerCase(),!(0,u.FX)(r,(0,u.Xq)())&&t[r]<Date.now()-36e5}return!1}(t)&&await async function(e){const t=(0,u.An)(e);e=t.path,"json"===t.query?.f&&(e+="?f=json");try{await fetch(e,{mode:"no-cors",credentials:"include"})}catch{}const r=s.A.request.crossOriginNoCorsDomains,n=(0,u.$z)(e);r&&n&&(r[n.toLowerCase()]=Date.now())}(w?(0,u.a6)(t,l):t)),r=g(t)}let b,q,S=0,A=!1;y>0&&(S=setTimeout(()=>{A=!0,e.controller.abort()},y));try{if("native-request-init"===o.responseType)q=i,q.url=r,o.signal?q.signal=o.signal:delete q.signal;else if("image"!==o.responseType||"default"!==i.cache||i.keepalive||"GET"!==i.method||w||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(o.headers)||!f&&!e.useProxy&&s.A.request.proxyUrl&&!O(t)){if(await(d.i.beforeFetch?.(t,i)),b=await d.i.fetch(r,i),await(d.i.afterFetch?.(b)),e.useProxy||function(e){const t=(0,u.$z)(e);t&&!d.i.corsServers.includes(t)&&d.i.corsServers.push(t)}(t),"native"===o.responseType)q=b;else if("HEAD"!==i.method)if(b.ok){switch(h){case"array-buffer":q=await b.arrayBuffer();break;case"blob":q=await b.blob();break;case"image":q=await(m?b.arrayBuffer():b.blob());break;default:q=await b.text()}if(S&&(clearTimeout(S),S=0),"json"===h||"xml"===h||"document"===h)if(q)switch(h){case"json":q=JSON.parse(q);break;case"xml":q=x(q,"application/xml");break;case"document":q=x(q,"text/html")}else q=null;if(q){if("array-buffer"===h||"blob"===h){const e=b.headers.get("Content-Type");if(e&&/application\/json|text\/plain/i.test(e)&&q["blob"===h?"size":"byteLength"]<=750)try{const e=await new Response(q).json();e.error&&(q=e)}catch{}}if(m&&q instanceof ArrayBuffer){const t=function(e){if(e.byteLength<2)return"unknown";const t=new Uint8Array(e,0,e.byteLength);return 137===t[0]&&80===t[1]?"image/png":71===t[0]&&73===t[1]?"image/gif":66===t[0]&&77===t[1]?"image/bmp":255===t[0]&&216===t[1]?"image/jpeg":"unknown"}(q);if("unknown"===t)return o.responseType="image",await C(e);q=await b.blob(),q=await k(URL.createObjectURL(q),e,!0),q=new p(q,t)}"image"===h&&q instanceof Blob&&(q=await k(URL.createObjectURL(q),e,!0))}}else{q=await b.text();try{q=JSON.parse(q)}catch{}}}else q=await k(r,e)}catch(r){if("AbortError"===r.name){if(A)throw new Error(I);throw(0,l.NK)("Request canceled")}if(!(!b&&r instanceof TypeError&&s.A.request.proxyUrl)||o.body||"delete"===o.method||"head"===o.method||"post"===o.method||"put"===o.method||e.useProxy||O(t))throw r;e.redoRequest=!0,(0,u.oy)({proxyUrl:s.A.request.proxyUrl,urlPrefix:(0,u.$z)(t)??""})}finally{S&&clearTimeout(S)}return[b,q]}function k(e,t,r=!1){const n=t.controller.signal,o=new Image;return t.withCredentials?o.crossOrigin="use-credentials":o.crossOrigin="anonymous",o.alt="",o.fetchPriority=s.A.request.priority,o.src=e,(0,f.y)(o,e,r,n)}function O(e){const t=(0,u.$z)(e);return!t||t.endsWith(".arcgis.com")||d.i.corsServers.includes(t)||(0,u.FL)(t)}async function T(){n.id||await Promise.all([r.e(7330),r.e(7603),r.e(168),r.e(9466),r.e(5482),r.e(148),r.e(4724)]).then(r.bind(r,50148))}function L(e){return S.some(t=>t.test(e))}function x(e,t){let r;try{r=(new DOMParser).parseFromString(e,t)}catch{}if(!r||r.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return r}async function U(e,t,r){if(e.redoRequest)return e.redoRequest=!1,!1;const s=e.parameters.requestOptions;if(!t||"native"===s.responseType||"native-request-init"===s.responseType)return!0;let o,a;if(r&&(r.error&&"object"==typeof r.error?o=r.error:"error"===r.status&&Array.isArray(r.messages)&&(o={...r},o[P]=r,o.details=r.messages)),!o&&!t.ok)throw o=new Error(`Unable to load ${t.url} status: ${t.status}`),o[P]=r,o;let i,l=null;o&&(a=Number(o.code),l=o.hasOwnProperty("subcode")?Number(o.subcode):null,i=o.messageCode,i=i?.toUpperCase());const u=s.authMode;if(403===a&&(4===l||o.message?.toLowerCase().includes("ssl")&&!o.message.toLowerCase().includes("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===a)&&void 0!==a&&b.has(a)&&!L(e.parameters.url)&&(403!==a||(!i||!q.has(i))&&(null==l||2===l&&e.credentialToken))){await T();try{const t=await n.id.getCredential(e.parameters.url,{error:E("request:server",o,e.parameters),credential:e.credential,prompt:"no-prompt"!==u,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===u)return e.credential=void 0,e.credentialToken=void 0,!1;o=t}}if(o)throw o;return!0}function E(e,t,r,s){let n;const a={url:r.url,requestOptions:r.requestOptions,getAllHeaders:R,getHeader:R,ssl:!1};if(t instanceof o.A)return t.details?(t.details=(0,i.o8)(t.details),t.details.url=r.url,t.details.requestOptions=r.requestOptions):t.details=a,t;if(t){const e=s&&(()=>Array.from(s.headers)),r=s&&(e=>s.headers.get(e)),o=s?.status,i=t.message;i&&(n=i),e&&r&&(a.getAllHeaders=e,a.getHeader=r),a.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||o||0,a.subCode=t.subcode,a.messageCode=t.messageCode,"string"==typeof t.details?(a.messages=[t.details],n??=t.details):(a.messages=t.details,n??=a.messages?.[0]),a.raw=P in t?t[P]:t}return n??="Error",(0,l.zf)(t)?(0,l.NK)():new o.A(e,n,a)}const P=Symbol(),R=()=>null,I="Timeout exceeded";function $(e){return"object"==typeof e&&!!e&&"message"in e&&e.message===I}},56152:(e,t,r)=>{r.d(t,{i:()=>s});const s={corsServers:["https://server.arcgisonline.com","https://services.arcgisonline.com"],beforeFetch:void 0,fetch:fetch.bind(null),afterFetch:void 0,isForeignWorker:!1}},60694:(e,t,r)=>{r.d(t,{Fi:()=>c,HZ:()=>w,Jf:()=>g,LS:()=>v,Wo:()=>y,bd:()=>b,cr:()=>f,iz:()=>p,qg:()=>d,yG:()=>h});var s=r(84952),n=r(97159);const o={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",knowledgegraphserver:"KnowledgeGraphServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer","3dtilesserver":"3DTilesServer",videoserver:"VideoServer"},a=Object.values(o),i=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${a.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),l=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^/\\n]+)\\/(${a.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),u=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function c(e){return i.test(e)}function d(e){if(null==e)return null;const t=(0,s.An)(e),r=t?.path.match(i)||t?.path.match(l);if(!r)return null;const[,n,a,u,c]=r,d=a.indexOf("/");return{title:f(-1!==d?a.slice(d+1):a),serverType:o[u.toLowerCase()],sublayer:null!=c&&""!==c?parseInt(c,10):null,url:{path:n}}}function p(e){const t=(0,s.An)(e).path.match(u);return t?{serviceUrl:t[1],sublayerId:Number(t[2])}:null}function f(e){return(e=e.replaceAll(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function h(e,t){const r=[];if(e){const t=d(e);null!=t&&t.title&&r.push(t.title)}if(t){const e=f(t);r.push(e)}if(2===r.length){if(r[0].toLowerCase().includes(r[1].toLowerCase()))return r[0];if(r[1].toLowerCase().includes(r[0].toLowerCase()))return r[1]}return r.join(" - ")}const m=["services","features","tiles","elevation3d","basemaps3d"];function y(e){let t=(0,s.$z)(e,!0);return!!t&&(t=t.toLowerCase(),!!t.endsWith(".arcgis.com")&&(!!m.some(e=>t.startsWith(e))||/^[a-z\d-]+\.svcs[a-z\d-]*\./.test(t)))}function g(e,t){return e?(0,s.UC)((0,s.zi)(e,t)):e}function w(e){let{url:t}=e;if(!t)return{url:t};t=(0,s.zi)(t,e.logger);const r=(0,s.An)(t),n=d(r.path);let o;if(null!=n)null!=n.sublayer&&null==e.layer.layerId&&(o=n.sublayer),t=n.url.path;else if(e.nonStandardUrlAllowed){const e=p(r.path);null!=e&&(t=e.serviceUrl,o=e.sublayerId)}return{url:(0,s.UC)(t),layerId:o}}function v(e,t,r,o,a){(0,n.w)(t,o,"url",a),o.url&&null!=e.layerId&&(o.url=(0,s.fj)(o.url,r,e.layerId.toString()))}function b(e){if(!e)return!1;const t=e.toLowerCase(),r=t.includes("/services/"),s=t.includes("/mapserver/wmsserver"),n=t.includes("/imageserver/wmsserver"),o=t.includes("/wmsserver");return r&&(s||n||o)}},91869:(e,t,r)=>{function s(e,t){for(const r of e.values())if(t(r))return!0;return!1}function n(e,t,r){const s=e.get(t);if(void 0!==s)return s;const n=r();return e.set(t,n),n}function o(e){const t=new Map;return r=>(t.has(r)||t.set(r,e(r)),t.get(r))}r.d(t,{Bj:()=>o,Bs:()=>s,tE:()=>n})},95117:(e,t,r)=>{r.d(t,{y:()=>n});var s=r(74887);function n(e,t,r=!1,n){return new Promise((o,a)=>{if((0,s.G4)(n))return void a((0,s.NK)());let i=()=>{c(),a(new Error(`Unable to load ${t}`))},l=async()=>{const t=e;try{await t.decode()}catch{}c(),o(t)},u=()=>{if(!e)return;const t=e;c(),t.src="",a((0,s.NK)())};const c=()=>{e&&(e.removeEventListener("error",i),e.removeEventListener("load",l),i=null,l=null,e=null,n?.removeEventListener("abort",u),u=null,r&&URL.revokeObjectURL(t))};n?.addEventListener("abort",u),e.addEventListener("error",i),e.addEventListener("load",l)})}},97159:(e,t,r)=>{r.d(t,{a:()=>y,b:()=>w,e:()=>h,f:()=>a,i:()=>p,p:()=>f,r:()=>l,t:()=>i,w:()=>u});var s=r(70333),n=r(84952),o=r(39131);function a(e,t){const r=t?.url?.path;if(e&&r&&(e=(0,n.s2)(e,r,{preserveProtocolRelative:!0}),t.portalItem&&t.readResourcePaths)){const r=(0,n.V1)(e,t.portalItem.itemUrl);null!=r&&r.startsWith(d)&&t.readResourcePaths.push(t.portalItem.resourceFromPath(r).path)}return(e=m(e,t?.portal))&&c.test(e)?y(e):e}function i(e,t,r=0){if(null==(e=e&&c.test(e)?g(e):e))return e;!(0,n.oP)(e)&&t?.blockedRelativeUrls&&t.blockedRelativeUrls.push(e);let s=(0,n.s2)(e);if(t){const r=t.verifyItemRelativeUrls?.rootPath||t.url?.path;if(r){const o=m(r,t.portal),a=m(s,t.portal);s=(0,n.V1)(a,o,o),null!=s&&s!==a&&s!==e&&t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.writtenUrls.push(s)}}return s=h(s,t?.portal),(0,n.oP)(s)&&(s=(0,n.S8)(s)),t?.resources&&t?.portalItem&&!(0,n.oP)(s)&&!(0,n.DB)(s)&&0===r&&t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(s),compress:!1}),s}function l(e,t,r){return a(e,r)}function u(e,t,r,s){const n=i(e,s);void 0!==n&&(t[r]=n)}const c=/\/items\/([^/]+)\/resources\/(.*)/,d="./resources/";function p(e){const t=e?.match(c)??null;return t?.[1]??null}function f(e){const t=e?.match(c)??null;if(null==t)return null;const r=t[2],s=r.lastIndexOf("/");if(-1===s){const{path:e,extension:t}=(0,n.xw)(r);return{prefix:null,filename:e,extension:t}}const{path:o,extension:a}=(0,n.xw)(r.slice(s+1));return{prefix:r.slice(0,s),filename:o,extension:a}}function h(e,t){return t&&!t.isPortal&&t.urlKey&&t.customBaseUrl?(0,n.T1)(e,`${t.urlKey}.${t.customBaseUrl}`,t.portalHostname):e}function m(e,t){if(!t||t.isPortal||!t.urlKey||!t.customBaseUrl)return e;const r=`${t.urlKey}.${t.customBaseUrl}`,s=(0,n.Xq)();return(0,n.FX)(s,`${s.scheme}://${r}`)?(0,n.T1)(e,t.portalHostname,r):(0,n.T1)(e,r,t.portalHostname)}function y(e){if(!e)return e||null;let t=e;return t&&s.id&&!s.id.findCredential(t)&&(t=(0,o.qG)(t),t=t.replace(/^https?:\/\/www\.arcgis\.com/,"https://cdn.arcgis.com"),t=t.replace(/^https?:\/\/devext\.arcgis\.com/,"https://cdndev.arcgis.com"),t=t.replace(/^https?:\/\/qaext\.arcgis\.com/,"https://cdnqa.arcgis.com")),t}function g(e){if(!e)return e||null;let t=e;return t=t.replace(/^https?:\/\/cdn\.arcgis\.com/,"https://www.arcgis.com"),t=t.replace(/^https?:\/\/cdndev\.arcgis\.com/,"https://devext.arcgis.com"),t=t.replace(/^https?:\/\/cdnqa\.arcgis\.com/,"https://qaext.arcgis.com"),t&&s.id&&!s.id.findCredential(t)&&(t=(0,o.qG)(t)),t}const w=Object.freeze(Object.defineProperty({__proto__:null,ensureMainOnlineDomain:h,fromCDNUrl:g,fromJSON:a,itemIdFromResourceUrl:p,prefixAndFilenameFromResourceUrl:f,read:l,toCDNUrl:y,toJSON:i,write:u},Symbol.toStringTag,{value:"Module"}))}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3169,7817,8125],{37817:(e,t,n)=>{n.d(t,{execute:()=>s.e}),n(4576),n(90756),n(78125);var s=n(68925)},68925:(e,t,n)=>{n.d(t,{c:()=>c,e:()=>i});var s=n(4576),r=n(90756),o=n(78125);function i(e,t){const n=(0,o.getSpatialReference)(e);return(0,r.g)((0,o.fromGeometry)(e),(0,o.fromPolyline)(t),(0,o.fromSpatialReference)(n)).map(e=>(0,o.toGeometry)(e,n)).filter(s.Ru)}const u=(0,r.f)(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},76061:(e,t,n)=>{n.d(t,{G:()=>s,S:()=>r});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class r extends s{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>C,fromGeometry:()=>_,fromMultipoint:()=>G,fromPoint:()=>x,fromPolygon:()=>E,fromPolyline:()=>v,fromSpatialReference:()=>w,getSpatialReference:()=>d,toExtent:()=>V,toGeometry:()=>P,toMultipoint:()=>M,toPoint:()=>R,toPolygon:()=>k,toPolyline:()=>T});var s=n(83661),r=(n(79187),n(55537)),o=n(95213),i=n(88885),u=n(39117),c=n(5443),a=n(48526),m=n(86738),l=n(39829),h=n(82799),y=(n(90293),n(83299));const p="_gxVersion",g=2,f=1;function d(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function _(e){switch(e.type){case"point":return x(e);case"multipoint":return G(e);case"polyline":return v(e);case"polygon":return E(e);case"extent":return C(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function C(e){if(!e.getCacheValue(p)){const t=new o.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(g,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(f,0,e.zmin,e.zmax),e.setCacheValue(p,t)}return e.getCacheValue(p)}function G(e){if(!e.getCacheValue(p)){const t=new i.M,n=new o.P,s=e.points,r=e.hasM,u=e.hasZ,c=u?3:2;for(let e=0,o=s.length;e<o;e++){const o=s[e];n.setXYCoords(o[0],o[1]),u&&n.setZ(o[2]??0),r&&n.setM(o[c]??NaN),t.add(n)}e.setCacheValue(p,t)}return e.getCacheValue(p)}function x(e){if(!e.getCacheValue(p)){const t=new o.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(p,t)}return e.getCacheValue(p)}function E(e){if(!e.getCacheValue(p)){const{curveRings:t,hasM:n,hasZ:s,rings:r}=e,o=(0,y.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:s,rings:r});e.setCacheValue(p,o)}return e.getCacheValue(p)}function v(e){if(!e.getCacheValue(p)){const{curvePaths:t,hasM:n,hasZ:s,paths:r}=e,o=(0,y.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:s,paths:r});e.setCacheValue(p,o)}return e.getCacheValue(p)}function w(e){if(e.wkid)return(0,u.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,u.b)(t):null}function P(e,t){if(e)switch(e.getGeometryType()){case r.G.enumPoint:return R(e,t);case r.G.enumEnvelope:return V(e,t);case r.G.enumMultiPoint:return M(e,t);case r.G.enumPolyline:return T(e,t);case r.G.enumPolygon:return k(e,t)}return null}function V(e,t){if(e.isEmpty())return null;const n=new c.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),s=e.getDescription();if(s.hasM()){const t=e.queryInterval(g,0);n.mmin=t.vmin,n.mmax=t.vmax}if(s.hasZ()){const t=e.queryInterval(f,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(p,e),n}function M(e,t){if(e.isEmpty())return null;const n=e.getDescription(),s=n.hasM(),r=n.hasZ(),i=[],u=new o.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,u);const n=[u.getX(),u.getY()];r&&n.push(u.getZ()),s&&n.push(u.getM()),i.push(n)}const c=new a.A({hasM:s,hasZ:r,points:i,spatialReference:t});return c.setCacheValue(p,e),c}function R(e,t){if(e instanceof s.P)return new m.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new m.A({x:e.getX(),y:e.getY(),spatialReference:t}),r=e.getDescription();return r.hasM()&&(n.m=e.getM()),r.hasZ()&&(n.z=e.getZ()),n.setCacheValue(p,e),n}function k(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({spatialReference:t,...(0,y.toGeometry)(e,null)});return n.setCacheValue(p,e),n}function T(e,t){if(e.isEmpty())return null;const n=h.A.fromJSON({spatialReference:t,...(0,y.toGeometry)(e,null)});return n.setCacheValue(p,e),n}},90756:(e,t,n)=>{n.d(t,{g:()=>h,f:()=>y});var s=n(76061),r=n(55537),o=n(88885),i=n(95213),u=n(39117),c=u.W;function a(e,t){return{m_geometry:e,m_side:t}}class m extends s.G{constructor(e,t,n,s,r){super(),this.m_cutIndex=-1,this.m_cuts=[],this.m_progressTracker=r,this.m_cuttee=t.clone(),this.m_cutter=new o.P({copy:n}),this.m_bConsiderTouch=e;const u=(0,i.g)(t,n);this.m_tolerance=(0,i.c)(s,u,!0)}next(){return-1===this.m_cutIndex&&this.generateCuts(),++this.m_cutIndex<this.m_cuts.length?this.m_cuts[this.m_cutIndex]:null}getGeometryID(){return this.m_cutIndex}tock(){return!0}getRank(){return 1}generateCuts(){switch(this.m_cuttee.getGeometryType()){case r.G.enumPolyline:this.generatePolylineCuts();break;case r.G.enumPolygon:this.generatePolygonCuts()}}generatePolylineCuts(){const e=new o.P,t=new o.P,n=new o.P;this.m_cuts.length=0,this.m_cuts.push(e),this.m_cuts.push(t);const s=[];!function(e,t,n,s,r,i){if(t.isEmpty()){const e=a(t,0);return void r.push(e)}if(n.isEmpty()){const e=a(t,0);return void r.push(e)}const m=[],l=new o.E;{const o=l.createGeometryUserIndex(),h=l.addGeometry(t),y=l.addGeometry(n),p=new u.U(i);let g=0,f=null;if(l.hasCurves()){f=new c;const e=l.getEnvelope2D(i);g=(0,u.Q)(s.total());const t=(0,u.R)(s.total(),e);(0,u.T)(l,t,s.total(),12e3,f,null,i)}l.dbgVerifyCurves(),p.setEditShapeCrackAndCluster(l,s),p.cut(e,o,h,y,m);for(const e of m){null!==f&&f.stitchCurves(l,e,g,!1);const t=a(l.getGeometry(e),(0,u.V)(l.getGeometryUserIndex(e,o)));r.push(t)}null!==f&&f.clearStitcher(l)}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,s,this.m_progressTracker);for(let o=0;o<s.length;o++){const i=s[o];1===i.m_side?e.add(i.m_geometry,!1):2===i.m_side||4===i.m_side?t.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,r.d)("")}n.isEmpty()||e.isEmpty()&&t.isEmpty()&&!(this.m_cuts.length>=3)||this.m_cuts.push(n),e.isEmpty()&&t.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}generatePolygonCuts(){const e=new o.a,t=new o.a,n=new o.a;this.m_cuts.length=0,this.m_cuts.push(e),this.m_cuts.push(t);const s=[];!function(e,t,n,s,r,i){if(t.isEmpty()){const e=a(t,0);return void r.push(e)}if(n.isEmpty()){const e=a(t,0);return void r.push(e)}const m=[],l=new o.E;{const e=l.createGeometryUserIndex(),h=l.addGeometry(t),y=l.addGeometry(n),p=new u.U(i);let g=0,f=null;if(l.hasCurves()){f=new c;const e=l.getEnvelope2D(i);g=(0,u.Q)(s.total());const t=(0,u.R)(s.total(),e);(0,u.T)(l,t,s.total(),12e3,f,null,i)}l.dbgVerifyCurves(),p.setEditShapeCrackAndCluster(l,s),p.cut(!1,e,h,y,m),null!==f&&f.stitchCurves(l,o.n,g,!0);let d=l.getGeometry(h);const _=new o.a,C=new o.a,G=[];for(let t=0;t<m.length;t++){let n=null;{const r=new o.E,c=r.addGeometry(d),a=r.addGeometry(l.getGeometry(m[t]));if(r.hasCurves()){const e=r.getEnvelope2D(i);g=(0,u.Q)(s.total());const t=(0,u.R)(s.total(),e);(0,u.T)(r,t,s.total(),12e3,f,null,i)}p.setEditShapeCrackAndCluster(r,s);const h=p.intersection(c,a);if(null!==f&&f.stitchCurves(r,o.n,g,!0),n=r.getGeometry(h),n.isEmpty())continue;const y=l.getGeometryUserIndex(m[t],e);2===y?_.add(n,!1):1===y?C.add(n,!1):G.push(n)}{const e=new o.E,n=e.addGeometry(d),r=e.addGeometry(l.getGeometry(m[t]));if(e.hasCurves()){const t=e.getEnvelope2D(i);g=(0,u.Q)(s.total());const n=(0,u.R)(s.total(),t);(0,u.T)(e,n,s.total(),12e3,f,null,i)}p.setEditShapeCrackAndCluster(e,s);const c=p.difference(n,r);null!==f&&f.stitchCurves(e,o.n,g,!0),d=e.getGeometry(c)}}if(!d.isEmpty()&&m.length>0&&G.push(d),_.isEmpty()&&C.isEmpty())return;if(!_.isEmpty()){const e=a(_,1);r.push(e)}if(!C.isEmpty()){const e=a(C,2);r.push(e)}for(let e=0,t=G.length;e<t;++e){const t=a(G[e],3);r.push(t)}}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,s,this.m_progressTracker);for(let o=0;o<s.length;o++){const i=s[o];1===i.m_side?e.add(i.m_geometry,!1):2===i.m_side?t.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,r.d)("")}(0,r.g)(n.isEmpty()||1===s.length),e.isEmpty()&&t.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}}const l=new class{getOperatorType(){return 10005}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t,n,s,r){return new m(e,t,n,s,r)}};function h(e,t,n){const s=l.execute(!0,e,t,n,null);return Array.from(s)}function y(){return l.supportsCurves()}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[807,3169,8125],{10767:(e,t,n)=>{n.d(t,{a:()=>o,e:()=>u,i:()=>c,s:()=>i});var r=n(70031),a=n(78125);const s=new r.O;function o(e){const t=(0,a.getSpatialReference)(e);return s.accelerateGeometry((0,a.fromGeometry)(e),(0,a.fromSpatialReference)(t),1)}function u(e,t){return s.execute((0,a.fromGeometry)(e),(0,a.fromGeometry)(t),(0,a.fromSpatialReference)(e.spatialReference),null)}const i=s.supportsCurves(),c=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:o,execute:u,supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},25275:(e,t,n)=>{n.r(t),n.d(t,{accelerateGeometry:()=>r.a,execute:()=>r.e,supportsCurves:()=>r.s}),n(70031),n(78125);var r=n(10767)},70031:(e,t,n)=>{n.d(t,{O:()=>a});var r=n(39117);class a extends r.I{getOperatorType(){return 4}execute(e,t,n,a){return!(0,r.J)(e,t,n,4,a)}}},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>a});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class a extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>C,fromGeometry:()=>G,fromMultipoint:()=>M,fromPoint:()=>V,fromPolygon:()=>v,fromPolyline:()=>w,fromSpatialReference:()=>d,getSpatialReference:()=>x,toExtent:()=>R,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>_,toPolygon:()=>S,toPolyline:()=>k});var r=n(83661),a=(n(79187),n(55537)),s=n(95213),o=n(88885),u=n(39117),i=n(5443),c=n(48526),l=n(86738),m=n(39829),f=n(82799),h=(n(90293),n(83299));const p="_gxVersion",y=2,g=1;function x(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function G(e){switch(e.type){case"point":return V(e);case"multipoint":return M(e);case"polyline":return w(e);case"polygon":return v(e);case"extent":return C(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function C(e){if(!e.getCacheValue(p)){const t=new s.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(y,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(g,0,e.zmin,e.zmax),e.setCacheValue(p,t)}return e.getCacheValue(p)}function M(e){if(!e.getCacheValue(p)){const t=new o.M,n=new s.P,r=e.points,a=e.hasM,u=e.hasZ,i=u?3:2;for(let e=0,s=r.length;e<s;e++){const s=r[e];n.setXYCoords(s[0],s[1]),u&&n.setZ(s[2]??0),a&&n.setM(s[i]??NaN),t.add(n)}e.setCacheValue(p,t)}return e.getCacheValue(p)}function V(e){if(!e.getCacheValue(p)){const t=new s.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(p,t)}return e.getCacheValue(p)}function v(e){if(!e.getCacheValue(p)){const{curveRings:t,hasM:n,hasZ:r,rings:a}=e,s=(0,h.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:a});e.setCacheValue(p,s)}return e.getCacheValue(p)}function w(e){if(!e.getCacheValue(p)){const{curvePaths:t,hasM:n,hasZ:r,paths:a}=e,s=(0,h.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:a});e.setCacheValue(p,s)}return e.getCacheValue(p)}function d(e){if(e.wkid)return(0,u.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,u.b)(t):null}function P(e,t){if(e)switch(e.getGeometryType()){case a.G.enumPoint:return _(e,t);case a.G.enumEnvelope:return R(e,t);case a.G.enumMultiPoint:return Z(e,t);case a.G.enumPolyline:return k(e,t);case a.G.enumPolygon:return S(e,t)}return null}function R(e,t){if(e.isEmpty())return null;const n=new i.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(y,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(g,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(p,e),n}function Z(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),a=n.hasZ(),o=[],u=new s.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,u);const n=[u.getX(),u.getY()];a&&n.push(u.getZ()),r&&n.push(u.getM()),o.push(n)}const i=new c.A({hasM:r,hasZ:a,points:o,spatialReference:t});return i.setCacheValue(p,e),i}function _(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),a=e.getDescription();return a.hasM()&&(n.m=e.getM()),a.hasZ()&&(n.z=e.getZ()),n.setCacheValue(p,e),n}function S(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}function k(e,t){if(e.isEmpty())return null;const n=f.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3169,3236,8125],{65708:(e,t,n)=>{n.d(t,{a:()=>s,e:()=>o});var r=n(86211),a=n(78125);function o(e,t={}){const{unit:n}=t;let o=(0,a.fromGeometry)(e).calculateArea2D();if(o&&n){const t=(0,a.getSpatialReference)(e);if(t.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const s=(0,r.B5)(t);s!==n&&(s?o=(0,r.oU)(o,s,n):(o=Math.sqrt(o),o*=(0,r.GA)(t),o**=2,o=(0,r.oU)(o,"square-meters",n)))}return o}const s=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:!0},Symbol.toStringTag,{value:"Module"}))},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>a});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class a extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>C,fromGeometry:()=>G,fromMultipoint:()=>M,fromPoint:()=>V,fromPolygon:()=>w,fromPolyline:()=>v,fromSpatialReference:()=>P,getSpatialReference:()=>x,toExtent:()=>R,toGeometry:()=>d,toMultipoint:()=>Z,toPoint:()=>_,toPolygon:()=>E,toPolyline:()=>k});var r=n(83661),a=(n(79187),n(55537)),o=n(95213),s=n(88885),i=n(39117),u=n(5443),c=n(48526),l=n(86738),m=n(39829),h=n(82799),f=(n(90293),n(83299));const g="_gxVersion",p=2,y=1;function x(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function G(e){switch(e.type){case"point":return V(e);case"multipoint":return M(e);case"polyline":return v(e);case"polygon":return w(e);case"extent":return C(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function C(e){if(!e.getCacheValue(g)){const t=new o.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(p,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(y,0,e.zmin,e.zmax),e.setCacheValue(g,t)}return e.getCacheValue(g)}function M(e){if(!e.getCacheValue(g)){const t=new s.M,n=new o.P,r=e.points,a=e.hasM,i=e.hasZ,u=i?3:2;for(let e=0,o=r.length;e<o;e++){const o=r[e];n.setXYCoords(o[0],o[1]),i&&n.setZ(o[2]??0),a&&n.setM(o[u]??NaN),t.add(n)}e.setCacheValue(g,t)}return e.getCacheValue(g)}function V(e){if(!e.getCacheValue(g)){const t=new o.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(g,t)}return e.getCacheValue(g)}function w(e){if(!e.getCacheValue(g)){const{curveRings:t,hasM:n,hasZ:r,rings:a}=e,o=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:a});e.setCacheValue(g,o)}return e.getCacheValue(g)}function v(e){if(!e.getCacheValue(g)){const{curvePaths:t,hasM:n,hasZ:r,paths:a}=e,o=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:a});e.setCacheValue(g,o)}return e.getCacheValue(g)}function P(e){if(e.wkid)return(0,i.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,i.b)(t):null}function d(e,t){if(e)switch(e.getGeometryType()){case a.G.enumPoint:return _(e,t);case a.G.enumEnvelope:return R(e,t);case a.G.enumMultiPoint:return Z(e,t);case a.G.enumPolyline:return k(e,t);case a.G.enumPolygon:return E(e,t)}return null}function R(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(p,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(y,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(g,e),n}function Z(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),a=n.hasZ(),s=[],i=new o.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,i);const n=[i.getX(),i.getY()];a&&n.push(i.getZ()),r&&n.push(i.getM()),s.push(n)}const u=new c.A({hasM:r,hasZ:a,points:s,spatialReference:t});return u.setCacheValue(g,e),u}function _(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),a=e.getDescription();return a.hasM()&&(n.m=e.getM()),a.hasZ()&&(n.z=e.getZ()),n.setCacheValue(g,e),n}function E(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(g,e),n}function k(e,t){if(e.isEmpty())return null;const n=h.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(g,e),n}},95624:(e,t,n)=>{n.d(t,{execute:()=>r.e}),n(86211),n(78125);var r=n(65708)}}]);
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
*/
|
|
5
|
-
import{neverReached as o}from"../../../../../../../core/compilerUtils.js";import{packFloatRGBA as e,packFloatRGB as r}from"../../../../../../../core/floatRGBA.js";import{DecodeSymbolColor as t}from"./DecodeSymbolColor.glsl.js";import{TextureBackedBufferModule as a,itemData as d}from"../../../../core/shaderLibrary/TextureBackedBuffer.glsl.js";import{Float4DrawUniform as n}from"../../../../core/shaderModules/Float4DrawUniform.js";import{FloatDrawUniform as l}from"../../../../core/shaderModules/FloatDrawUniform.js";import{glsl as i,If as s}from"../../../../core/shaderModules/glsl.js";import{IntegerDrawUniform as c}from"../../../../core/shaderModules/IntegerDrawUniform.js";import{getTextureBackedBufferLayout as u}from"../../../../lib/TextureBackedBuffer/TextureBackedBuffer.js";const f=429496.7296;function v(o,r){e(o/f*.5+.5,r)}const m=1e6;function x(o,e){r(o/m*.5+.5,e)}function C(e,r){switch(r.componentData){case 1:return M(e,r);case 0:return h(e,r);case 2:return;default:o(r.componentData)}}function M(o,e){const{vertex:r,fragment:n}=o,{output:l,hasEmission:c}=e;if(0===e.textureBackedBufferLayout)return;const f=u(e.textureBackedBufferLayout);if(null==f)throw new Error(`Invalid TextureBackedBufferLayout: ${e.textureBackedBufferLayout}. TextureBackedBuffer shader code generation only possible with valid buffer assigned.`);const v=9===l,m=o=>"emissiveSourceMode"===o||"emissiveStrength"===o?c:"oidColor"!==o||v;o.include(a(f,m,"componentIndex")),o.attributes.add("componentIndex","float"),o.varyings.add("vExternalColorMixMode","mediump float"),o.varyings.add("vExternalColor","vec4"),v&&o.varyings.add("vObjectAndLayerIdColor","vec4"),c&&(o.varyings.add("emissiveStrength","float"),o.varyings.add("emissiveSource","int")),o.include(t),r.code.add(i`
|
|
6
|
-
float readElevationOffset() {
|
|
7
|
-
return ${d("elevationOffset")};
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
void forwardEmissiveStrength() {
|
|
11
|
-
${s(c,i`emissiveStrength = ${d("emissiveStrength")};
|
|
12
|
-
emissiveSource = ${d("emissiveSourceMode")} == 0.0 ? 0 : 1;`)}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
void forwardObjectAndLayerIdColor() {
|
|
16
|
-
${s(v,i`vObjectAndLayerIdColor = ${d("oidColor")};`)}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
vec4 forwardExternalColor(out bool castShadows) {
|
|
20
|
-
vec5 colorAndCastShadow = ${d("colorAndCastShadows")};
|
|
21
|
-
vec4 componentColor = vec4(colorAndCastShadow.x, colorAndCastShadow.y, colorAndCastShadow.z, colorAndCastShadow.w);
|
|
22
|
-
castShadows = colorAndCastShadow.v >= 1.0;
|
|
23
|
-
|
|
24
|
-
int decodedColorMixMode;
|
|
25
|
-
vExternalColor = decodeSymbolColor(componentColor, decodedColorMixMode) * 0.003921568627451; // = 1/255;
|
|
26
|
-
vExternalColorMixMode = float(decodedColorMixMode) + 0.5; // add 0.5 to avoid interpolation artifacts
|
|
27
|
-
|
|
28
|
-
return vExternalColor;
|
|
29
|
-
}
|
|
30
|
-
`),n.code.add(i`
|
|
31
|
-
void readExternalColor(out vec4 externalColor, out int externalColorMixMode) {
|
|
32
|
-
externalColor = vExternalColor;
|
|
33
|
-
externalColorMixMode = int(vExternalColorMixMode);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
void outputObjectAndLayerIdColor() {
|
|
37
|
-
${v?i`fragColor = vObjectAndLayerIdColor;`:""}
|
|
38
|
-
}
|
|
39
|
-
`)}function h(o,e){const{vertex:r,fragment:t}=o;o.varyings.add("vExternalColor","vec4"),t.uniforms.add(new l("emissiveStrength",o=>o.componentParameters.emissiveStrength)),r.uniforms.add(new n("externalColor",o=>o.componentParameters.externalColor)).code.add(i`float readElevationOffset() {
|
|
40
|
-
return 0.0;
|
|
41
|
-
}
|
|
42
|
-
void forwardObjectAndLayerIdColor() {}
|
|
43
|
-
void forwardEmissiveStrength() {}
|
|
44
|
-
vec4 forwardExternalColor(out bool castShadows) {
|
|
45
|
-
vExternalColor = externalColor;
|
|
46
|
-
castShadows = true;
|
|
47
|
-
return externalColor;
|
|
48
|
-
}`);const a=9===e.output;t.uniforms.add(new c("externalColorMixMode",o=>o.componentParameters.externalColorMixMode)).code.add(i`
|
|
49
|
-
void readExternalColor(out vec4 color, out int colorMixMode) {
|
|
50
|
-
color = vExternalColor;
|
|
51
|
-
colorMixMode = externalColorMixMode;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
void outputObjectAndLayerIdColor() {
|
|
55
|
-
${s(a,"fragColor = vec4(0, 0, 0, 0);")}
|
|
56
|
-
}
|
|
57
|
-
`)}export{C as ComponentData,v as encodeElevationOffset,x as encodeEmissiveStrength,f as maxElevationOffset,m as maxPackedRGBEmission};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
*/
|
|
5
|
-
import"../../../../../../../geometry/ellipsoidUtils.js";import"../../../../../../../geometry/support/Ellipsoid.js";import"./ComponentData.glsl.js";import"../../../../core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js";import"../../../../core/shaderLibrary/ShaderOutput.js";import"../../../../core/shaderLibrary/Slice.glsl.js";import"../../../../core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import"../../../../core/shaderLibrary/attributes/VertexColor.glsl.js";import"../../../../core/shaderLibrary/attributes/VertexNormal.glsl.js";import"../../../../core/shaderLibrary/attributes/VertexPosition.glsl.js";import"../../../../core/shaderLibrary/output/OutputDepth.glsl.js";import"../../../../core/shaderLibrary/output/OutputHighlight.glsl.js";import"../../../../core/shaderLibrary/output/OutputHighlightOverlay.js";import"../../../../core/shaderLibrary/output/ReadDepth.glsl.js";import"../../../../core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js";import"../../../../core/shaderLibrary/shading/ComputeMaterialColor.glsl.js";import"../../../../core/shaderLibrary/shading/ComputeNormalTexture.glsl.js";import"../../../../core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import"../../../../core/shaderLibrary/shading/MainLighting.glsl.js";import"../../../../core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import"../../../../core/shaderLibrary/shading/PiUtils.glsl.js";import"../../../../core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js";import"../../../../core/shaderLibrary/shading/ReadShadowMap.glsl.js";import"../../../../core/shaderLibrary/shading/TerrainDepthTest.glsl.js";import"../../../../core/shaderLibrary/terrain/Overlay.glsl.js";import"../../../../core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js";import"../../../../core/shaderModules/BooleanDrawUniform.js";import"../../../../core/shaderModules/glsl.js";import"../../../../core/shaderModules/Texture2DBindUniform.js";import"../../../../effects/weather/SnowCover.glsl.js";import"../../../../shaders/OutputColorHighlightOLID.glsl.js";import"../../../../shaders/SphereDepthInterpolate.glsl.js";import"../../../../../../webgl/ShaderBuilder.js";import"../../../../../../../webscene/support/AlphaCutoff.js";export{b as build}from"../../../../../../../chunks/ComponentShader.glsl.js";
|