@arcgis/core 5.1.0-next.93 → 5.1.0-next.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Graphic.js +1 -1
- package/analysis/Viewshed.js +1 -1
- package/arcade/arcadeAsyncRuntime.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/arcade/arcadeRuntime.js +1 -1
- package/arcade/compilerUtils.js +1 -1
- package/arcade/debug.d.ts +10 -1
- package/arcade.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/02aaeaa988e9e7d65a7f.js +1 -0
- package/assets/esri/core/workers/chunks/031ea31bbdb7f1be791e.js +1 -0
- package/assets/esri/core/workers/chunks/03a4543b94f9adeb1852.js +1 -0
- package/assets/esri/core/workers/chunks/05c52e8f187740da9b36.js +1 -0
- package/assets/esri/core/workers/chunks/0630ce1975c91ae362d9.js +1 -0
- package/assets/esri/core/workers/chunks/{7f0f10946f05a09b5654.js → 07ddf1b1f7602063ceb0.js} +1 -1
- package/assets/esri/core/workers/chunks/0ab1384282afc8731857.js +1 -0
- package/assets/esri/core/workers/chunks/{be47e42c6c8c0820efd8.js → 0e6b24e8864940ed9877.js} +1 -1
- package/assets/esri/core/workers/chunks/0f527961805cd45c14e2.js +1 -0
- package/assets/esri/core/workers/chunks/11a99ee68409a641810e.js +1 -0
- package/assets/esri/core/workers/chunks/11b0d3a825fe50dd1e84.js +1 -0
- package/assets/esri/core/workers/chunks/130abc6a353e4d79a1b1.js +1 -0
- package/assets/esri/core/workers/chunks/16006dc0cb95f7c291a5.js +1 -0
- package/assets/esri/core/workers/chunks/177472a6a9beb1590934.js +1 -0
- package/assets/esri/core/workers/chunks/19a9a555365a8363d34b.js +1 -0
- package/assets/esri/core/workers/chunks/1a68a249540fda9083a9.js +1 -0
- package/assets/esri/core/workers/chunks/1ae016e4f5e39c34a941.js +1 -0
- package/assets/esri/core/workers/chunks/{43f58604ba4a94a9167c.js → 1f3a676e7a4eae5ad566.js} +1 -1
- package/assets/esri/core/workers/chunks/23241e6093e245f9c774.js +1 -0
- package/assets/esri/core/workers/chunks/{172228d1a392ca7a5b21.js → 246253fbbb2ecea48f91.js} +1 -1
- package/assets/esri/core/workers/chunks/25d795a1697803d77e56.js +1 -0
- package/assets/esri/core/workers/chunks/268ed861c882740c805b.js +1 -0
- package/assets/esri/core/workers/chunks/{da008d6a3afb30d18392.js → 299b4eecd0288348c971.js} +1 -1
- package/assets/esri/core/workers/chunks/{df8a3d3cac454d42e14d.js → 29aba121db7f00e0cf81.js} +1 -1
- package/assets/esri/core/workers/chunks/2b52c1c01cf568ba01fb.js +1 -0
- package/assets/esri/core/workers/chunks/2f6ba01ea8b8f193bea5.js +1 -0
- package/assets/esri/core/workers/chunks/{f52443cd203e687551da.js → 2fda38219d778f0447b5.js} +1 -1
- package/assets/esri/core/workers/chunks/2ffffc1931b2e27c6617.js +1 -0
- package/assets/esri/core/workers/chunks/3116a1c2b67a296ba86e.js +1 -0
- package/assets/esri/core/workers/chunks/31837f2f8859e2cf2efd.js +1 -0
- package/assets/esri/core/workers/chunks/3241e0ed26aff61ec213.js +1 -0
- package/assets/esri/core/workers/chunks/330da3828eefd8d72d3f.js +1 -0
- package/assets/esri/core/workers/chunks/359465b9726edcc70c83.js +1 -0
- package/assets/esri/core/workers/chunks/36ecb0082b8804b10fbf.js +1 -0
- package/assets/esri/core/workers/chunks/389e57aab12d52d72695.js +1 -0
- package/assets/esri/core/workers/chunks/38b1d2ffcc318ac0119d.js +1 -0
- package/assets/esri/core/workers/chunks/390717f079def83a0d9c.js +1 -0
- package/assets/esri/core/workers/chunks/{3397eae416622c64e628.js → 3f0483cbcd893acf240c.js} +1 -1
- package/assets/esri/core/workers/chunks/{77c2d8d0ce1c1ab469e9.js → 40afdb74517a7df59e0d.js} +1 -1
- package/assets/esri/core/workers/chunks/{41cbde4738ae4adf973d.js → 4142d5232c99d8aa943d.js} +5 -5
- package/assets/esri/core/workers/chunks/41e811138c96d85fd3e8.js +1 -0
- package/assets/esri/core/workers/chunks/43b5cfb34b11c4124b51.js +1 -0
- package/assets/esri/core/workers/chunks/{747e258f57f0543c836e.js → 43cc82373be791b7cb4c.js} +1 -1
- package/assets/esri/core/workers/chunks/{8a370cc1a99ddc7ce70b.js → 4456bbb4b7dfe80c7477.js} +1 -1
- package/assets/esri/core/workers/chunks/44b30dfce12824ee1f33.js +1 -0
- package/assets/esri/core/workers/chunks/453c3b265481c80fc625.js +1 -0
- package/assets/esri/core/workers/chunks/4644e1b00fd4e628219d.js +1 -0
- package/assets/esri/core/workers/chunks/47dd2bfecc5c4b5f10f0.js +1 -0
- package/assets/esri/core/workers/chunks/4b19acf8bde5b2e80692.js +1 -0
- package/assets/esri/core/workers/chunks/4faaf61d20e20fcf6c18.js +1 -0
- package/assets/esri/core/workers/chunks/{a169d9fe66b5865911d9.js → 503439246250d9e1cbd5.js} +1 -1
- package/assets/esri/core/workers/chunks/{f8072a4cf1b25d8b93f9.js → 509beae195c900a85e0b.js} +1 -1
- package/assets/esri/core/workers/chunks/5217d676749bca59d90f.js +1 -0
- package/assets/esri/core/workers/chunks/{1e3fe89970c57a883fe5.js → 53ff47c06ccfc0be885c.js} +1 -1
- package/assets/esri/core/workers/chunks/{53750e85f3128993a43a.js → 545c38789267e3487dbd.js} +1 -1
- package/assets/esri/core/workers/chunks/54dad475dc806a38c287.js +1 -0
- package/assets/esri/core/workers/chunks/5648379d1ed4ca02eedd.js +1 -0
- package/assets/esri/core/workers/chunks/{12f41c1c66fb446b6286.js → 5853925d2f7fb550bd2e.js} +11 -11
- package/assets/esri/core/workers/chunks/58579c53be1a44bd08d2.js +1 -0
- package/assets/esri/core/workers/chunks/598271956c46e21e5c09.js +1 -0
- package/assets/esri/core/workers/chunks/{d82da31dc702b8fd6a07.js → 59a64d72eed8c40c63cf.js} +1 -1
- package/assets/esri/core/workers/chunks/5ea0096a282e87a269bd.js +1 -0
- package/assets/esri/core/workers/chunks/63378b0b4265a547656b.js +1 -0
- package/assets/esri/core/workers/chunks/{394812e19b6915d560b0.js → 642be1619c0e76355cb6.js} +1 -1
- package/assets/esri/core/workers/chunks/65b0b4e808479187da00.js +1 -0
- package/assets/esri/core/workers/chunks/6666cd3bf1a3d175dc8c.js +1 -0
- package/assets/esri/core/workers/chunks/69a1cbf0af059548f96a.js +1 -0
- package/assets/esri/core/workers/chunks/6ae2408ac075b974e887.js +1 -0
- package/assets/esri/core/workers/chunks/{19a0cb2d335d97ad9488.js → 6b4c99c7648f37feec00.js} +1 -1
- package/assets/esri/core/workers/chunks/6b79c254897ece95b7a3.js +1 -0
- package/assets/esri/core/workers/chunks/6d66dc77af8d112c33c6.js +1 -0
- package/assets/esri/core/workers/chunks/71119398ec91f1b209d7.js +1 -0
- package/assets/esri/core/workers/chunks/71e12db99589c98a4357.js +1 -0
- package/assets/esri/core/workers/chunks/7536f0683e488159d8bd.js +1 -0
- package/assets/esri/core/workers/chunks/76589434d573111a8fb4.js +1 -0
- package/assets/esri/core/workers/chunks/{6f67c9f68101a084b683.js → 765bc49e58e9d0caa496.js} +6 -6
- package/assets/esri/core/workers/chunks/7c2d2f22df057ba8cb50.js +1 -0
- package/assets/esri/core/workers/chunks/7d6299ab7b0db23ab961.js +1 -0
- package/assets/esri/core/workers/chunks/8042e001545e2782499c.js +1 -0
- package/assets/esri/core/workers/chunks/82b2acc6f181927de89c.js +1 -0
- package/assets/esri/core/workers/chunks/85a200aecc7a844c9566.js +1 -0
- package/assets/esri/core/workers/chunks/89250d268dc2554a9ece.js +1 -0
- package/assets/esri/core/workers/chunks/8a23a62cbf1c5b4019c5.js +1 -0
- package/assets/esri/core/workers/chunks/8ac8ef856ed9592c433b.js +1 -0
- package/assets/esri/core/workers/chunks/8bfe4841c83eb3abfbe8.js +1 -0
- package/assets/esri/core/workers/chunks/{6aed2e42e65ac80f1fab.js → 8de61993e114f453579b.js} +1 -1
- package/assets/esri/core/workers/chunks/8e374ce47256a567ae11.js +1 -0
- package/assets/esri/core/workers/chunks/8f992ff87173a3ca1621.js +640 -0
- package/assets/esri/core/workers/chunks/{d7e7f3efd1d28617b808.js → 92e7067960549733f8e6.js} +1 -1
- package/assets/esri/core/workers/chunks/{f1673e723b336204ad77.js → 9b23d999db902d25ba58.js} +1 -1
- package/assets/esri/core/workers/chunks/9bb2251ba58932f85d13.js +1 -0
- package/assets/esri/core/workers/chunks/{d8ccc713c5ad93e7a0c3.js → 9bd713d96502ddc2ce25.js} +1 -1
- package/assets/esri/core/workers/chunks/{8351012ceb466f01b8fd.js → 9d8e7839772029d83c93.js} +1 -1
- package/assets/esri/core/workers/chunks/a12fd6a445f42326642f.js +1 -0
- package/assets/esri/core/workers/chunks/a50fd0e66b01fe205033.js +1 -0
- package/assets/esri/core/workers/chunks/{51716e411fad624ac21c.js → a567d001fcfa1f1cdeea.js} +1 -1
- package/assets/esri/core/workers/chunks/{5eff240a0e41a4f80e61.js → a68b5cb66c2c5e6b46e0.js} +1 -1
- package/assets/esri/core/workers/chunks/a8e2fbbfbdf1c3203d5e.js +1 -0
- package/assets/esri/core/workers/chunks/a94674826e5893c9d197.js +1 -0
- package/assets/esri/core/workers/chunks/aad02c7417648d881129.js +1 -0
- package/assets/esri/core/workers/chunks/ad329226c8b579d0964c.js +1 -0
- package/assets/esri/core/workers/chunks/afdc6fc453157528cf9b.js +1 -0
- package/assets/esri/core/workers/chunks/b2504657d3ef8769005e.js +1 -0
- package/assets/esri/core/workers/chunks/b7f5d51ac26f37837b3b.js +1 -0
- package/assets/esri/core/workers/chunks/b90db0829da3f96e4a19.js +1 -0
- package/assets/esri/core/workers/chunks/{359d3acb3953e64e5a78.js → ba7fe21a78ea37a02b7c.js} +1 -1
- package/assets/esri/core/workers/chunks/bd17ac2e6f1eb8cf7abf.js +1 -0
- package/assets/esri/core/workers/chunks/bd721bbc7afc75d3bddb.js +1 -0
- package/assets/esri/core/workers/chunks/bd9dae2d5ec199f8e9ba.js +1 -0
- package/assets/esri/core/workers/chunks/{75c09a2fa4c34b4844c5.js → be0eab592db0e651b023.js} +6 -6
- package/assets/esri/core/workers/chunks/be19d4a6fb9b1c923127.js +1 -0
- package/assets/esri/core/workers/chunks/beba9f2213d8a850ddb6.js +1 -0
- package/assets/esri/core/workers/chunks/{f706bfea34d22539b46a.js → bf6c6bc15b0d2d82d1a4.js} +2 -2
- package/assets/esri/core/workers/chunks/bf706a5d065a357de51b.js +1 -0
- package/assets/esri/core/workers/chunks/{baea6f86b2dbe067940e.js → bf73232057ebc1ecc0ad.js} +1 -1
- package/assets/esri/core/workers/chunks/c2589e5e0e0f81a378c2.js +1 -0
- package/assets/esri/core/workers/chunks/c321bcda8e8893577948.js +1 -0
- package/assets/esri/core/workers/chunks/c33f1f722499a5c6fc11.js +1 -0
- package/assets/esri/core/workers/chunks/c452c74ba9de218c3e57.js +1 -0
- package/assets/esri/core/workers/chunks/{fade7b878a9498382bb2.js → c514135bf7703ba69a47.js} +1 -1
- package/assets/esri/core/workers/chunks/c798a40418e7ff38042a.js +1 -0
- package/assets/esri/core/workers/chunks/{969f58a2de4ebe63619d.js → c88fd4f69cb2b53b48ec.js} +1 -1
- package/assets/esri/core/workers/chunks/ca6c128940ddbebcaaab.js +1 -0
- package/assets/esri/core/workers/chunks/{c7ee05f46b26b17f9414.js → ce2ed9405ff1b704d35c.js} +1 -1
- package/assets/esri/core/workers/chunks/ce3e51c799a80648e46d.js +1 -0
- package/assets/esri/core/workers/chunks/{e81afc8a058a8ecc9b24.js → ce4e09b623ebb640c46c.js} +1 -1
- package/assets/esri/core/workers/chunks/cf7acf5acb6d322fd996.js +1 -0
- package/assets/esri/core/workers/chunks/{e0b27bceb397482bd0e8.js → d122431f3b0b88dcb488.js} +1 -1
- package/assets/esri/core/workers/chunks/{2647c739cda29361a463.js → d87e504082e293640ece.js} +2 -2
- package/assets/esri/core/workers/chunks/d8c4fb66c733ab2f66d3.js +1 -0
- package/assets/esri/core/workers/chunks/d8d338665fe00494c826.js +1 -0
- package/assets/esri/core/workers/chunks/d93a4ccf8f0208dc6ad7.js +1 -0
- package/assets/esri/core/workers/chunks/de11ebcea2b8f9dfe65d.js +1 -0
- package/assets/esri/core/workers/chunks/e03713dee3205c96d53f.js +1 -0
- package/assets/esri/core/workers/chunks/e133840540abf20262a4.js +1 -0
- package/assets/esri/core/workers/chunks/e54ad3683ad992682deb.js +1 -0
- package/assets/esri/core/workers/chunks/{3092184350d66c79f610.js → e5d969214d9eda5c0b4c.js} +1 -1
- package/assets/esri/core/workers/chunks/e63e24101e7e92c62d98.js +1 -0
- package/assets/esri/core/workers/chunks/e7e7c7cbfd8542bd7a46.js +1 -0
- package/assets/esri/core/workers/chunks/ead6e4d0a515c0913bee.js +1 -0
- package/assets/esri/core/workers/chunks/ee635172be7fdea69367.js +1 -0
- package/assets/esri/core/workers/chunks/{aefeb5a17bb481c95da3.js → eeb847bfea558566adf6.js} +1 -1
- package/assets/esri/core/workers/chunks/{d11de13537b623739e14.js → f14e3693cd644265f909.js} +1 -1
- package/assets/esri/core/workers/chunks/f196ad0c7dbcbf632776.js +1 -0
- package/assets/esri/core/workers/chunks/f31deeedb2508e81293b.js +2 -0
- package/assets/esri/core/workers/chunks/f618ee43581e8de6ad0c.js +1 -0
- package/assets/esri/core/workers/chunks/{2fd4220131bfc3f5e2dd.js → f635a8e3b0bfeda99ed5.js} +1 -1
- package/assets/esri/core/workers/chunks/f66262f8582909157f01.js +1 -0
- package/assets/esri/core/workers/chunks/f69c44479ee3fd8c831d.js +1 -0
- package/assets/esri/core/workers/chunks/{ea97619a4470f1540b99.js → f6ebec8d2248c719b89f.js} +1 -1
- package/assets/esri/core/workers/chunks/f948e4a80a7dbda70f2e.js +1 -0
- package/assets/esri/core/workers/chunks/f95e3333a65a0c09fd1e.js +1 -0
- package/assets/esri/core/workers/chunks/fa3138dd8139008b430d.js +1 -0
- package/assets/esri/core/workers/chunks/fa9ab152ea785b5e97e0.js +1 -0
- package/assets/esri/core/workers/chunks/fae147d03ed723ab234d.js +1 -0
- package/assets/esri/core/workers/chunks/fae79769df54eb4c4154.js +1 -0
- package/assets/esri/core/workers/chunks/fd2afff07aaac8203c18.js +1 -0
- package/assets/esri/core/workers/chunks/fdb7851e98e8d2ba48d3.js +1 -0
- package/assets/esri/core/workers/chunks/ff7708aaa2de720e3a47.js +1 -0
- package/assets/esri/core/workers/chunks/ffb8fa77297578afef7c.js +1 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
- package/chunks/GaussianSplat.glsl.js +8 -8
- package/chunks/GlobalIllumination.glsl.js +31 -31
- package/chunks/GlowComposition.glsl.js +4 -4
- package/chunks/OITBlend.glsl.js +3 -7
- package/chunks/OITBlendEmission.glsl.js +22 -0
- package/chunks/{OITDim.glsl.js → OITDimOpaque.glsl.js} +2 -2
- package/chunks/RibbonLine.glsl.js +57 -53
- package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
- package/chunks/arcgis-knowledge-client-core.js +1 -1
- package/config.js +1 -1
- package/core/has.js +1 -1
- package/geometry/support/geometryUtils.js +1 -1
- package/geometry/support/heightModelInfoUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/DimensionFeatureLayer.d.ts +7 -0
- package/layers/DimensionFeatureLayer.js +2 -0
- package/layers/FeatureLayer.d.ts +27 -1
- package/layers/FeatureLayer.js +1 -1
- package/layers/catalog/CatalogFootprintLayer.js +1 -1
- package/layers/graphics/OptimizedFeature.js +1 -1
- package/layers/graphics/data/QueryEngineCapabilities.js +1 -1
- package/layers/graphics/data/optimizedFeatureQueryEngineAdapter.js +1 -1
- package/layers/graphics/featureConversionUtils.js +1 -1
- package/layers/graphics/sources/OGCFeatureSource.js +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/FeatureReductionLayer.js +1 -1
- package/layers/mixins/PortalLayer.js +1 -1
- package/layers/raster/datasets/ImageAuxRaster.js +1 -1
- package/layers/raster/datasets/InMemoryRaster.js +1 -1
- package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/support/RasterJobHandler.js +1 -1
- package/layers/support/capabilities.js +1 -1
- package/layers/support/layerUtils.js +1 -1
- package/layers/support/serviceCapabilitiesUtils.js +1 -1
- package/layers/types.d.ts +1 -1
- package/networks/support/CircuitPathConnectivityElement.js +1 -1
- package/networks/support/networkFieldUtils.js +1 -1
- package/package.json +2 -2
- package/popup/Features.js +1 -1
- package/portal/schemas/definitions.js +1 -1
- package/portal/support/layersLoader.js +1 -1
- package/rest/knowledgeGraph/ReplicaDefinition.d.ts +0 -3
- package/rest/knowledgeGraph/types.d.ts +1 -1
- package/rest/knowledgeGraph/wasmInterface/queryToWasmEncodedFactories.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/replicaToWasmEncodedFactories.js +1 -1
- package/rest/support/Query.js +1 -1
- package/rest/versionManagement/gdbVersion/support/ConflictsParameters.js +1 -1
- package/rest/versionManagement/gdbVersion/support/DifferencesParameters.js +1 -1
- package/rest/versionManagement/gdbVersion/support/DifferencesResult.d.ts +25 -0
- package/rest/versionManagement/gdbVersion/support/InspectConflictsParameters.js +1 -1
- package/rest/versionManagement/gdbVersion/support/ReconcileParameters.d.ts +3 -5
- package/rest/versionManagement/gdbVersion/support/ReconcileParameters.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/CIMEffects.js +1 -1
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/CIMSymbolHelper.js +1 -1
- package/symbols/cim/defaultCIMValues.js +1 -1
- package/symbols/cim/effects/EffectAddControlPoints.js +1 -1
- package/symbols/cim/effects/EffectArrow.js +1 -1
- package/symbols/cim/effects/EffectBuffer.js +1 -1
- package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
- package/symbols/cim/effects/EffectCut.js +1 -1
- package/symbols/cim/effects/EffectDashes.js +1 -1
- package/symbols/cim/effects/EffectDonut.js +1 -1
- package/symbols/cim/effects/EffectEnclosingPolygon.js +1 -1
- package/symbols/cim/effects/EffectHelper.js +1 -1
- package/symbols/cim/effects/EffectJog.js +1 -1
- package/symbols/cim/effects/EffectMove.js +1 -1
- package/symbols/cim/effects/EffectOffset.js +1 -1
- package/symbols/cim/effects/EffectRadial.js +1 -1
- package/symbols/cim/effects/EffectTaperedPolygon.js +1 -1
- package/symbols/cim/effects/EffectWave.js +1 -1
- package/symbols/cim/placements/PlacementAtRatioPositions.js +1 -1
- package/symbols/cim/types.d.ts +34 -1
- package/symbols/cim/utils.js +1 -1
- package/symbols/dimensions/effects/LinearDimensionArrowEffect.js +1 -1
- package/symbols/dimensions/effects/LinearDimensionExtensionLineEffect.js +1 -1
- package/symbols/dimensions/effects/LinearDimensionLeaderLineEffect.js +1 -1
- package/symbols/dimensions/effects/LinearDimensionLineEffect.js +1 -1
- package/symbols/dimensions/effects/LinearDimensionPointEffect.js +1 -1
- package/symbols/dimensions/effects/LinearDimensionTextEffect.js +1 -1
- package/symbols/types.d.ts +1 -1
- package/views/2d/engine/vectorTiles/decluttering/SymbolDeclutterer.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/SymbolRepository.js +1 -1
- package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
- package/views/2d/engine/webgl/GlyphSDFCreator.js +1 -1
- package/views/2d/engine/webgl/alignmentUtils.js +1 -1
- package/views/2d/engine/webgl/definitions.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TestTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedPolyMeshWriters.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/AFillMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternFillMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/LineMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layerViewModuleImportUtils.js +1 -1
- package/views/2d/layers/DimensionLayerView2D.js +2 -0
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/DimensionLayerAdapter.js +2 -0
- package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
- package/views/2d/layers/features/schema/SourceSchema.js +1 -1
- package/views/2d/layers/features/sources/FeatureSource.js +1 -1
- package/views/2d/layers/features/sources/strategies/AFeatureTileLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/FeatureHybridTileLoadStrategy.js +2 -0
- package/views/2d/layers/features/sources/strategies/chunks/ByReferenceTileSourceChunk.js +2 -0
- package/views/2d/layers/features/support/AttributeStore.js +1 -1
- package/views/2d/layers/features/support/DisplayIdGenerator.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderJSON.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderPBF.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderPBFHeader.js +1 -1
- package/views/2d/layers/features/support/RefCounted.js +2 -0
- package/views/2d/types.d.ts +2 -0
- package/views/3d/layerViewModuleImportUtils.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/support/QualityProfile.js +1 -1
- package/views/3d/support/QualitySettings.js +1 -1
- package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
- package/views/3d/types.d.ts +2 -0
- package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +11 -12
- package/views/3d/webgl-engine/core/shaderLibrary/output/Emissions.glsl.js +5 -5
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceRayMarching.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/{ComputeCovariance.glsl.js → GaussianSplatCovariance.glsl.js} +15 -9
- package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatEvaluation.glsl.js +43 -0
- package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatTextureFetch.glsl.js +36 -0
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/LocalAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/MarsAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/CloudsComposition.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/CloudsRenderer.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/NoiseTextureAtlas.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorNode.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
- package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
- package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
- package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlightBuffer.js +1 -1
- package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
- package/views/3d/webgl-engine/effects/precipitation/Precipitation.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
- package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlend.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlendEmission.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechnique.js +2 -0
- package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechniqueConfiguration.js +2 -0
- package/views/3d/webgl-engine/effects/transparency/OITBlendTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/{OITDim.glsl.js → OITDimOpaque.glsl.js} +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechnique.js +2 -0
- package/views/3d/webgl-engine/effects/transparency/{OITDimTechniqueConfiguration.js → OITDimOpaqueTechniqueConfiguration.js} +1 -1
- package/views/3d/webgl-engine/lib/CutFillComputationRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillVisualizationRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/oitResolution.glsl.js +1 -1
- package/views/PopupView.js +1 -1
- package/views/SceneView.d.ts +3 -3
- package/views/layers/FeatureLikeLayerView.d.ts +2 -1
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +12 -12
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/Column.d.ts +2 -17
- package/widgets/FeatureTable/Grid/Column.js +1 -1
- package/widgets/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -7
- package/widgets/FeatureTable/Grid/GroupColumn.js +1 -1
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -9
- package/widgets/FeatureTable/support/ColumnTemplateBase.js +1 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/FeatureTable/support/types.d.ts +0 -8
- package/widgets/FeatureTable.d.ts +18 -3
- package/widgets/FeatureTable.js +1 -1
- package/widgets/Features/FeaturesViewModel.js +1 -1
- package/widgets/Search/support/layerSearchUtils.js +1 -1
- package/widgets/Search/support/locatorUtils.js +1 -1
- package/assets/esri/core/workers/chunks/00e9e25269d5776f8645.js +0 -1
- package/assets/esri/core/workers/chunks/014a5fad55f97b9b5166.js +0 -1
- package/assets/esri/core/workers/chunks/015fc0a17b17d69cc3bb.js +0 -1
- package/assets/esri/core/workers/chunks/02e8fc598ee09cf1b678.js +0 -1
- package/assets/esri/core/workers/chunks/06003996a378c45bc605.js +0 -1
- package/assets/esri/core/workers/chunks/0a6df243b18acae471be.js +0 -1
- package/assets/esri/core/workers/chunks/127cd8fee3717a473fc5.js +0 -1
- package/assets/esri/core/workers/chunks/146424b5717d0a645ee1.js +0 -1
- package/assets/esri/core/workers/chunks/169ca3724053fc046d1b.js +0 -1
- package/assets/esri/core/workers/chunks/17445fd8048966617d49.js +0 -1
- package/assets/esri/core/workers/chunks/1765dfeac20e34ce25b7.js +0 -1
- package/assets/esri/core/workers/chunks/1768f1a7e3caa6074d91.js +0 -1
- package/assets/esri/core/workers/chunks/1906416c84bab369bbd6.js +0 -1
- package/assets/esri/core/workers/chunks/1a35121a0c2595a41fdb.js +0 -1
- package/assets/esri/core/workers/chunks/1f85646936200a399c15.js +0 -1
- package/assets/esri/core/workers/chunks/1ff3c15a51c4dc991806.js +0 -1
- package/assets/esri/core/workers/chunks/206bdfd868a9ef88f3a8.js +0 -1
- package/assets/esri/core/workers/chunks/2343b1105bc4c1b4a086.js +0 -1
- package/assets/esri/core/workers/chunks/2387613b855771a3e537.js +0 -1
- package/assets/esri/core/workers/chunks/2b0b398180ed98c2c84c.js +0 -1
- package/assets/esri/core/workers/chunks/3469df5c4846b0cee012.js +0 -1
- package/assets/esri/core/workers/chunks/34b6b5dd415c68f0b0d1.js +0 -1
- package/assets/esri/core/workers/chunks/34f7450769826e8b7069.js +0 -636
- package/assets/esri/core/workers/chunks/36f6673b23579b88d8f7.js +0 -1
- package/assets/esri/core/workers/chunks/384c235d36f32769e32b.js +0 -1
- package/assets/esri/core/workers/chunks/38c28189f273636e4017.js +0 -1
- package/assets/esri/core/workers/chunks/3a183259805638c25363.js +0 -1
- package/assets/esri/core/workers/chunks/3d9032217347dadcbe41.js +0 -1
- package/assets/esri/core/workers/chunks/3efbb684c0409955186d.js +0 -1
- package/assets/esri/core/workers/chunks/3feec3d08424b94e1bcf.js +0 -1
- package/assets/esri/core/workers/chunks/412745bfacef23e3b702.js +0 -1
- package/assets/esri/core/workers/chunks/46b16501db6681dc467b.js +0 -1
- package/assets/esri/core/workers/chunks/47b3a5213539548ff3a6.js +0 -1
- package/assets/esri/core/workers/chunks/48549d3d7bf0154c0afa.js +0 -1
- package/assets/esri/core/workers/chunks/4b79ebfb3328f9483147.js +0 -1
- package/assets/esri/core/workers/chunks/4c97cc922eece3a91b6b.js +0 -1
- package/assets/esri/core/workers/chunks/4dbbf59c79d9e72f20ee.js +0 -1
- package/assets/esri/core/workers/chunks/4e206957b28253ddc1a3.js +0 -1
- package/assets/esri/core/workers/chunks/52b3a11c962810bc6dbe.js +0 -1
- package/assets/esri/core/workers/chunks/53ef72edc3ed80bf558c.js +0 -1
- package/assets/esri/core/workers/chunks/54c035cdc171998d0776.js +0 -1
- package/assets/esri/core/workers/chunks/54c6e870262469d0d702.js +0 -1
- package/assets/esri/core/workers/chunks/55fd201ca5e10c6e4761.js +0 -1
- package/assets/esri/core/workers/chunks/566f6319ded0634769e0.js +0 -1
- package/assets/esri/core/workers/chunks/56717ff315c6ec874142.js +0 -1
- package/assets/esri/core/workers/chunks/56941e8bbd2d49bf2656.js +0 -1
- package/assets/esri/core/workers/chunks/5fccb372b4d5ee2f64cc.js +0 -1
- package/assets/esri/core/workers/chunks/60cee9a44929decd2474.js +0 -1
- package/assets/esri/core/workers/chunks/6124141ac642e4ce1454.js +0 -1
- package/assets/esri/core/workers/chunks/61fada8942b65fa0b5e1.js +0 -1
- package/assets/esri/core/workers/chunks/65c61171e6c6be5c5c2f.js +0 -1
- package/assets/esri/core/workers/chunks/6a3d207308b29651f397.js +0 -1
- package/assets/esri/core/workers/chunks/6d696beddcc5fbed5875.js +0 -1
- package/assets/esri/core/workers/chunks/6dac8dfcd63fc757ae2d.js +0 -1
- package/assets/esri/core/workers/chunks/71cfab6305f275cfb04e.js +0 -1
- package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +0 -1
- package/assets/esri/core/workers/chunks/7b505112c7e6d9b7a239.js +0 -1
- package/assets/esri/core/workers/chunks/7b6c8be59ed87e386aa4.js +0 -1
- package/assets/esri/core/workers/chunks/7ba67f1d7831a5576a5a.js +0 -1
- package/assets/esri/core/workers/chunks/7c820c5f6f05480d5050.js +0 -1
- package/assets/esri/core/workers/chunks/7ef51b0ebd560113ae7e.js +0 -1
- package/assets/esri/core/workers/chunks/80f4f686ce403cb2693f.js +0 -1
- package/assets/esri/core/workers/chunks/81d761c837b7456ec99f.js +0 -1
- package/assets/esri/core/workers/chunks/83f1871d04c979fa23b7.js +0 -1
- package/assets/esri/core/workers/chunks/85da2987e17b6755a94e.js +0 -1
- package/assets/esri/core/workers/chunks/8a3bff0f58483c1665f9.js +0 -1
- package/assets/esri/core/workers/chunks/8a5a827ee557d9f9a66e.js +0 -1
- package/assets/esri/core/workers/chunks/8a7a99533d02eb9cb058.js +0 -2
- package/assets/esri/core/workers/chunks/8b046e28f879079caada.js +0 -1
- package/assets/esri/core/workers/chunks/8d738e9acc2f222235ea.js +0 -1
- package/assets/esri/core/workers/chunks/915e2711d3a2cfa402b2.js +0 -1
- package/assets/esri/core/workers/chunks/9a5ef33d99a8f89956ff.js +0 -1
- package/assets/esri/core/workers/chunks/9c09097e390985bbac58.js +0 -1
- package/assets/esri/core/workers/chunks/9c402657f63a4d5668d0.js +0 -1
- package/assets/esri/core/workers/chunks/9f51a69b8f1937a8794a.js +0 -1
- package/assets/esri/core/workers/chunks/a015c2f54eb91e43a1f4.js +0 -1
- package/assets/esri/core/workers/chunks/a232d05c0a055f398c6e.js +0 -1
- package/assets/esri/core/workers/chunks/a242ec19a7508de436da.js +0 -1
- package/assets/esri/core/workers/chunks/a25acccda8febac71a3d.js +0 -1
- package/assets/esri/core/workers/chunks/a432219de6a873f88776.js +0 -1
- package/assets/esri/core/workers/chunks/a6b75576d598ec161cc4.js +0 -1
- package/assets/esri/core/workers/chunks/a7f9f478bd1493fc3c76.js +0 -1
- package/assets/esri/core/workers/chunks/aac6a57edd7494125204.js +0 -1
- package/assets/esri/core/workers/chunks/afc0baf86ece710ef867.js +0 -1
- package/assets/esri/core/workers/chunks/b2662bfdbd1e3623ceb9.js +0 -1
- package/assets/esri/core/workers/chunks/b4bac22467e96be7a974.js +0 -1
- package/assets/esri/core/workers/chunks/b73c146d3e550eaf07eb.js +0 -1
- package/assets/esri/core/workers/chunks/b7af0e6b9aadbcaf6a0b.js +0 -1
- package/assets/esri/core/workers/chunks/bc78937986854e500b8e.js +0 -1
- package/assets/esri/core/workers/chunks/bd10d21545bca9a49de0.js +0 -1
- package/assets/esri/core/workers/chunks/bea170f08f5261e22d29.js +0 -1
- package/assets/esri/core/workers/chunks/bec3ee5ea945e1e07a35.js +0 -1
- package/assets/esri/core/workers/chunks/bf4dd8e50704e4040966.js +0 -1
- package/assets/esri/core/workers/chunks/c31ee5617c61a933cb0e.js +0 -1
- package/assets/esri/core/workers/chunks/c3e89c7c7b677bd18557.js +0 -1
- package/assets/esri/core/workers/chunks/cb81d524f12edcadb9bb.js +0 -1
- package/assets/esri/core/workers/chunks/cc0f3b9b153a0c232afe.js +0 -1
- package/assets/esri/core/workers/chunks/cd0c232f4e3868d91a05.js +0 -1
- package/assets/esri/core/workers/chunks/ce7ef7c4ca14d66d96f6.js +0 -1
- package/assets/esri/core/workers/chunks/d3d9d40556c847bba1a7.js +0 -1
- package/assets/esri/core/workers/chunks/d55cef8199b8246fea3f.js +0 -1
- package/assets/esri/core/workers/chunks/d8decaee2c780e1b5e35.js +0 -1
- package/assets/esri/core/workers/chunks/dc54d4a9fe1691862356.js +0 -1
- package/assets/esri/core/workers/chunks/dd5b362bded458afa2d6.js +0 -1
- package/assets/esri/core/workers/chunks/dde94664110ff231a52d.js +0 -1
- package/assets/esri/core/workers/chunks/de3e5d82502ee15b7eae.js +0 -1
- package/assets/esri/core/workers/chunks/e18badd11f360cc2912b.js +0 -1
- package/assets/esri/core/workers/chunks/e6f1ed5e56f1d9862821.js +0 -1
- package/assets/esri/core/workers/chunks/e6fe8b5fbe95de01453b.js +0 -1
- package/assets/esri/core/workers/chunks/eaab5ac049622986e3bc.js +0 -1
- package/assets/esri/core/workers/chunks/ee7e9bca57160694b3c4.js +0 -1
- package/assets/esri/core/workers/chunks/ef0085aa743b33cb549f.js +0 -1
- package/assets/esri/core/workers/chunks/f0250cecb243b32cdba7.js +0 -1
- package/assets/esri/core/workers/chunks/f1e5626a0cc1631a1efb.js +0 -1
- package/assets/esri/core/workers/chunks/f36345ebb9851ab92453.js +0 -1
- package/assets/esri/core/workers/chunks/f468c6ea2818a1f97e19.js +0 -1
- package/assets/esri/core/workers/chunks/f49c7bb5d134bcb22155.js +0 -1
- package/assets/esri/core/workers/chunks/f6c8e93ca2987e83f925.js +0 -1
- package/assets/esri/core/workers/chunks/f7531aa69a87814c60d1.js +0 -1
- package/assets/esri/themes/base/fonts/cdn.scss +0 -3
- package/views/3d/webgl-engine/effects/transparency/OITDimTechnique.js +0 -2
- /package/assets/esri/core/workers/chunks/{f706bfea34d22539b46a.js.LICENSE.txt → bf6c6bc15b0d2d82d1a4.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{2647c739cda29361a463.js.LICENSE.txt → d87e504082e293640ece.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{8a7a99533d02eb9cb058.js.LICENSE.txt → f31deeedb2508e81293b.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7548],{69052(t,e,n){n.d(e,{hr:()=>r,ie:()=>c,uC:()=>a});var s=n(34727);class r{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,n=!1){return o(this.range,this.min,this.max,t,e,n)}clamp(t,e=0){return(0,s.qE)(t-e,this.min,this.max)+e}monotonic(t,e,n){return t<e?e:e+i(this.range,t-e,n)}minimalMonotonic(t,e,n){return o(this.range,t,t+this.range,e,n)}center(t,e,n){return e=this.monotonic(t,e,n),this.normalize((t+e)/2,n)}diff(t,e,n){return this.monotonic(t,e,n)-t}shortestSignedDiff(t,e){t=this.normalize(t);const n=(e=this.normalize(e))-t,s=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(n)<Math.abs(s)?n:s}contains(t,e,n){return e=this.minimalMonotonic(t,e),(n=this.minimalMonotonic(t,n))>t&&n<e}}function o(t,e,n,s,r=0,o=!1){return(s-=r)<e?s+=i(t,e-s):s>n&&(s-=i(t,s-n)),o&&s===n&&(s=e),s+r}function i(t,e,n=0){return Math.ceil((e-n)/t)*t+n}const a=new r(0,2*Math.PI),c=(new r(-Math.PI,Math.PI),new r(0,360))},69397(t,e,n){n.d(e,{Qf:()=>c,Qh:()=>i,RS:()=>r,Ul:()=>p,i5:()=>h,lM:()=>o,qK:()=>u});var s=n(34275);const r=16;function o(t){if(!t)return 0;let e=u;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return l(t,8);let n=f;for(let s=0;s<e;s++)n+=a(t[s]);return n}(t);let e=u;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?i(t):u;case"string":return function(t){return 32+t.length}(t);case"number":return r;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+h:Array.isArray(e)?l(e,r):0:0),0)}function l(t,e){return f+t.length*e}const u=32,f=16,h=145,p=64},31411(t,e,n){n.d(e,{GS:()=>E,gh:()=>A});var s=n(49186),r=n(56512),o=n(65864),i=n(4305),a=n(50954),c=n(52006),l=n(49663),u=n(46068),f=n(15507);const h=1e-6,p=[0,0];function m(t){return{maxSegmentLength:t.maxSegmentLength??0,maxDeviation:t.maxDeviation??0,maxSegmentsPerCurve:t.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(t.minSegmentsPerCurve??1,1)}}class d{constructor(t,e){this.curveStart=t,this.curveEnd=e,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(t,e){this.tStart=0,this.arcStart=t,this.tEndStack.push(1),this.arcEndStack.push(e)}splitAt(t){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(t),this.arcEndStack.push(this.interpolate(t))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(t,{maxDeviation:e,maxSegmentLength:n,maxSegmentsPerCurve:s,minSegmentsPerCurve:r}){const o=n*n,i=e*e,a=1/s,c=this.interpolate(0),l=this.interpolate(1);(0,f.kb)(this.curveStart,c)>h&&t.push(c),this.initialize(c,l);const u=1/r;for(let t=r-1;t>0;t--){const e=t*u;this.pop(),this.splitAt(e)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<a||(0===o||!isFinite(o)||(0,f.kb)(this.arcStart,this.arcEnd)<o)&&(0===i||!isFinite(i)||this.getDeviation2()<i)?(t.push(this.arcEnd),this.next()):this.splitInHalf();return(0,f.kb)(this.curveEnd,l)>h&&t.push([...this.curveEnd]),t}}class y extends d{constructor(t,e){const[n,s,r]=e.b;super(t,n),this._controlPointsStack=[],this._curveControlPoints=[s,r],this._arcControlPoints=[s,r],this._controlPointsStack.push(this._arcControlPoints)}splitAt(t){const{arcStart:e,arcEnd:n,tStart:s,tEnd:r}=this,[o,i]=this._arcControlPoints,a=(t-s)/(r-s),c=(0,f.RS)([],e,o,a),l=(0,f.RS)(p,o,i,a),u=(0,f.RS)([],i,n,a),h=(0,f.RS)([],c,l,a),m=(0,f.RS)([],l,u,a),d=(0,f.RS)([],h,m,a);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([m,u]),this.tEndStack.push(t),this.arcEndStack.push(d),this._arcControlPoints[0]=c,this._arcControlPoints[1]=h,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(t){const{curveStart:e,curveEnd:n}=this,[s,r]=this._curveControlPoints;return(0,i.B4)(e,s,r,n,t)}getDeviation2(){const{arcStart:t,arcEnd:e}=this,[n,s]=this._arcControlPoints;return Math.max((0,f.yE)(n,t,e),(0,f.yE)(s,t,e))}}class g extends d{constructor(t,e){const[n]=e.a;super(t,n),this._derivedEllipse=(0,u.SW)(t,e)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(t){return(0,u.Uk)(this._derivedEllipse,t)}getDeviation2(){return(0,f.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function S(t,e,n,{cx:s,cy:r,radius:o,thetaStart:i,thetaEnd:a,isInvalid:c},{maxDeviation:l,maxSegmentLength:u,maxSegmentsPerCurve:p,minSegmentsPerCurve:m}){if(c)return t.push([...n]),t;const d=2*o,y=[s+o*Math.cos(i),r+o*Math.sin(i)],g=[s+o*Math.cos(a),r+o*Math.sin(a)];(0,f.kb)(e,y)>h&&t.push(y);const S=Math.abs(a-i),M=u>0&&u<d?2*Math.asin(u/d):S,v=l>0&&l<=o?2*Math.acos(1-l/o):S,w=Math.min(M,v),x=Math.min(p,Math.max(m,Math.ceil(Math.abs(S/w)))),b=1/x;for(let e=1;e<x;e++){const n=e*b,c=i*(1-n)+a*n;t.push([s+o*Math.cos(c),r+o*Math.sin(c)])}return t.push(g),(0,f.kb)(n,g)>h&&t.push([...n]),t}function M(t,e,n,s){return new y(e,n).densify(t,s)}function v(t,e,n,s){const r=(0,a.pM)(e,n),[o]=n.c;return S(t,e,o,r,s)}function w(t,e,n,s){const r=(0,l.io)(e,n),[o]=n.a;return S(t,e,o,r,s)}function x(t,e,n,s){const[r,o,i,a,c,l,u]=n.a;return 0===l||0===u?(t.push([...r]),t):new g(e,n).densify(t,s)}function b(t,e,n,s){return(0,c.Xq)(n)?(t.push([...n]),t):(0,c.n1)(n)?M(t,e,n,s):(0,c.aO)(n)?v(t,e,n,s):(0,c.DA)(n)?w(t,e,n,s):x(t,e,n,s)}function E(t,e={}){if(!(0,c.Ed)(t))return t;const n=m(e),s=(0,c.FD)(t),r=[];for(const t of s){const e=[];for(let s=0;s<t.length-1;s++){const r=s+1,o=[...(0,c.yP)(t[s])];0===s&&e.push(o),b(e,o,t[r],n)}r.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},paths:r,spatialReference:t.spatialReference}:{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},rings:r,spatialReference:t.spatialReference}}const R=(0,r.B)(t=>({maxDeviation:0,maxSegmentLength:100*t,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function A(t,e,r){const i=new Set(e);return await async function(t,e,r){let o=null;for(const i of t)if(i&&(0,c.Ed)(i)&&null==i.spatialReference.xyTolerance&&(0,c.V8)(i,e)){const t=i.spatialReference;if(!t)throw new s.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const e=P(t);if(r.has(e))i.spatialReference=r.get(e);else{o||(o=await Promise.all([n.e(6042),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(6312)]).then(n.bind(n,78125)));const a=o.fromSpatialReference(t),c=a?.getTolerance();if(null==c)throw new s.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const l=i.spatialReference.clone();l.read({xyTolerance:c}),i.spatialReference=l,r.set(e,l)}}}(t,i,r),t.map(t=>{if(!t||!(0,c.Ed)(t))return t;const n=t.spatialReference.xyTolerance;if(null==n)return t;const s=R(n);return(0,o.rS)(function(t,e,n){if(!(0,c.Ed)(t))return t;const s=new Set(e),r=m(n),o=(0,c.FD)(t),i=[];let a=!1;for(const t of o){const e=[];for(let n=0;n<t.length-1;n++){const o=n+1,i=[...(0,c.yP)(t[n])];0===n&&e.push(i);const l=t[o];(0,c.Xq)(l)?e.push([...l]):(0,c.n1)(l)&&!s.has("cubic-bezier")?M(e,i,l,r):(0,c.aO)(l)&&!s.has("circular-arc")?v(e,i,l,r):(0,c.DA)(l)&&!s.has("elliptic-arc")?w(e,i,l,r):(0,c.wY)(l)&&!s.has("elliptic-arc")?x(e,i,l,r):(e.push((0,c.tk)(l)),a=!0)}i.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},spatialReference:t.spatialReference,...a?{curvePaths:i}:{paths:i}}:{hasZ:t.hasZ,hasM:t.hasM,spatialReference:t.spatialReference,...a?{curveRings:i}:{rings:i}}}(t,e,s))})}function P(t){if(null!=t.wkid)return`${t.wkid}`;if(null!=t.wkt)return t.wkt;const e="toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():t;return JSON.stringify(e)}},17136(t,e,n){n.d(e,{Y_:()=>F,O7:()=>k,el:()=>P});var s=n(92602),r=n(69052),o=n(49186),i=n(53966),a=n(39829),c=n(82799),l=n(16930),u=n(80754),f=n(21325),h=n(28735),p=n(52006),m=n(31411),d=n(11254),y=n(60408),g=n(65864),S=n(2272),M=n(84952),v=n(92300);const w=()=>i.A.getLogger("esri.geometry.support.normalizeUtils");function x(t){return"polygon"===t[0].type}function b(t){return"polyline"===t[0].type}function E(t,e,n){const s=1e6;if(e){const e=(0,p.Ed)(t)?(0,m.GS)(t,{maxSegmentLength:s}):function(t,e){if(!(t instanceof c.A||t instanceof a.A)){const t="straightLineDensify: the input geometry is neither polyline nor polygon";throw w().error(t),new o.A("internal:geometry",t)}const n=(0,u.r8)(t),s=[];for(const t of n){const n=[];s.push(n),n.push([t[0][0],t[0][1]]);for(let s=0;s<t.length-1;s++){const r=t[s][0],o=t[s][1],i=t[s+1][0],a=t[s+1][1],c=Math.sqrt((i-r)*(i-r)+(a-o)*(a-o)),l=(a-o)/c,u=(i-r)/c,f=c/e;if(f>1){for(let t=1;t<=f-1;t++){const s=t*e,i=u*s+r,a=l*s+o;n.push([i,a])}const t=(c+Math.floor(f-1)*e)/2,s=u*t+r,i=l*t+o;n.push([s,i])}n.push([i,a])}}return function(t){return"polygon"===t.type}(t)?new a.A({rings:s,spatialReference:t.spatialReference}):new c.A({paths:s,spatialReference:t.spatialReference})}(t,s);t=(0,h.ci)(e,!0)}return n&&(t=(0,u.kS)(t,n)),t}function R(t,e,n){if(Array.isArray(t)){const s=t[0];if(s>e){const n=(0,u.kd)(s,e);t[0]=s+n*(-2*e)}else if(s<n){const e=(0,u.kd)(s,n);t[0]=s+e*(-2*n)}}else{const s=t.x;if(s>e){const n=(0,u.kd)(s,e);t=t.clone().offset(n*(-2*e),0)}else if(s<n){const e=(0,u.kd)(s,n);t=t.clone().offset(e*(-2*n),0)}}return t}function A(t,e){let n=-1;for(let s=0;s<e.cutIndexes.length;s++){const r=e.cutIndexes[s],o=e.geometries[s],i=(0,u.r8)(o);for(let t=0;t<i.length;t++){const e=i[t];e.some(n=>{if(n[0]<180)return!0;{let n=0;for(let t=0;t<e.length;t++){const s=e[t][0];n=s>n?s:n}n=Number(n.toFixed(9));const s=-360*(0,u.kd)(n,180);for(let n=0;n<e.length;n++){const e=o.getPoint(t,n);o.setPoint(t,n,e.clone().offset(s,0))}return!0}})}if(r===n){if(x(t))for(const e of(0,u.r8)(o))t[r]=t[r].addRing(e);else if(b(t))for(const e of(0,u.r8)(o))t[r]=t[r].addPath(e)}else n=r,t[r]=o}return t}async function P(t,e,n){if(!Array.isArray(t))return P([t],e);e&&"string"!=typeof e&&w().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const r="string"==typeof e?e:e?.url??s.A.geometryServiceUrl;let o,i,l,p,m,x,b,k,C=0;const F=[],q=[];for(const e of t)if(null!=e)if(o||(o=e.spatialReference,i=(0,f.Vp)(o),l=o.isWebMercator,x=l?102100:4326,p=u.j7[x].maxX,m=u.j7[x].minX,b=u.j7[x].plus180Line,k=u.j7[x].minus180Line),i)if("mesh"===e.type)q.push(e);else if("point"===e.type)q.push(R(e.clone(),p,m));else if("multipoint"===e.type){const t=e.clone();t.points=t.points.map(t=>R(t,p,m)),q.push(t)}else if("extent"===e.type){const t=e.clone()._normalize(!1,!1,i);q.push(t.rings?new a.A(t):t)}else if(e.extent){const t=e.extent,n=(0,u.kd)(t.xmin,m)*(2*p);let s=0===n?e.clone():(0,u.kS)(e.clone(),n);t.offset(n,0);let{xmin:r,xmax:o}=t;r=Number(r.toFixed(9)),o=Number(o.toFixed(9)),t.intersects(b)&&o!==p?(C=o>C?o:C,s=E(s,l),F.push(s),q.push("cut")):t.intersects(k)&&r!==m?(C=o*(2*p)>C?o*(2*p):C,s=E(s,l,360),F.push(s),q.push("cut")):q.push(s)}else q.push(e.clone());else q.push(e);else q.push(e);let I=(0,u.kd)(C,p),O=-90;const z=I,G=new c.A;for(;I>0;){const t=360*I-180;G.addPath([[t,O],[t,-1*O]]),O*=-1,I--}if(F.length>0&&z>0){const e=A(F,await async function(t,e,n,s){const r=(0,S.Dl)(t),o=e[0].spatialReference,i={...s,responseType:"json",query:{...r.query,f:"json",sr:(0,f.YX)(o),target:JSON.stringify({geometryType:(0,y.$B)(e[0]),geometries:e}),cutter:JSON.stringify(n)}},a=await(0,d.A)(r.path+"/cut",i),{cutIndexes:c,geometries:l=[]}=a.data;return{cutIndexes:c,geometries:l.map(t=>{const e=(0,g.rS)(t);return e.spatialReference=o,e})}}(r,F,G,n)),s=[],o=[];for(let n=0;n<q.length;n++){const r=q[n];if("cut"!==r)o.push(r);else{const r=e.shift(),i=t[n];null!=i&&"polygon"===i.type&&i.rings&&i.rings.length>1&&r.rings.length>=i.rings.length?(s.push(r),o.push("simplify")):o.push(l?(0,h.Gh)(r):r)}}if(!s.length)return o;const i=await async function(t,e,n){const s="string"==typeof t?(0,M.An)(t):t,r=e[0].spatialReference,o=(0,y.$B)(e[0]),i={...n,query:{...s.query,f:"json",sr:(0,f.YX)(r),geometries:JSON.stringify((0,v.X)(e))}},{data:a}=await(0,d.A)(s.path+"/simplify",i);return(0,v.V)(a.geometries,o,r)}(r,s,n),a=[];for(let t=0;t<o.length;t++){const e=o[t];"simplify"!==e?a.push(e):a.push(l?(0,h.Gh)(i.shift()):i.shift())}return a}const Z=[];for(let t=0;t<q.length;t++){const e=q[t];if("cut"!==e)Z.push(e);else{const t=F.shift();Z.push(!0===l?(0,h.Gh)(t):t)}}return Z}function k(t,e,n){const s=(0,f.Vp)(n);if(null==s)return t;const[r,o]=s.valid,i=2*o;let a=0,c=0;e>o?a=Math.ceil(Math.abs(e-o)/i):e<r&&(a=-Math.ceil(Math.abs(e-r)/i)),t>o?c=Math.ceil(Math.abs(t-o)/i):t<r&&(c=-Math.ceil(Math.abs(t-r)/i));let l=t+(a-c)*i;const u=l-e;return u>o?l-=i:u<r&&(l+=i),l}function C(t){const e=(0,f.Vp)(t);if(null==e)return null;const[n,s]=e.valid;return new r.hr(n,s)}const F=C(l.A.WGS84);C(l.A.WebMercator)},80754(t,e,n){n.d(e,{j7:()=>a,kS:()=>l,kd:()=>c,r8:()=>u});var s=n(82799),r=n(16930),o=n(60408),i=n(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new s.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator}),minus180Line:new s.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new s.A({paths:[[[180,-180],[180,180]]],spatialReference:r.A.WGS84}),minus180Line:new s.A({paths:[[[-180,-180],[-180,180]]],spatialReference:r.A.WGS84})}};function c(t,e){return Math.ceil((t-e)/(2*e))}function l(t,e){if((0,i.Ed)(t))for(const n of function(t){return(0,o.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of n){if((0,i.aO)(t)){const[n,s]=t.c;n[0]+=e,s[0]+=e;continue}if((0,i.FG)(t)){const[n,s]=t.a;n[0]+=e,s[0]+=e;continue}if((0,i.n1)(t)){const[n,s,r]=t.b;n[0]+=e,s[0]+=e,r[0]+=e;continue}t[0]+=e}for(const n of u(t))for(const t of n)t[0]+=e;return t}function u(t){return(0,o.Bi)(t)?t.rings:t.paths}},62815(t,e,n){n.d(e,{N:()=>a,d:()=>c});var s=n(86211),r=n(73941),o=n(21325),i=n(52006);function a(t,e,n){const s=c(e,n);if(1!==s)switch(t){case"point":case"esriGeometryPoint":return t=>function(t,e){null!=t?.z&&(t.z*=e)}(t,s);case"polyline":case"esriGeometryPolyline":return t=>function(t,e){if(t){if(t.curvePaths)for(const n of t.curvePaths)for(const t of n){const n=(0,i.yP)(t);n.length>2&&(n[2]*=e)}if(t.paths)for(const n of t.paths)for(const t of n)t.length>2&&(t[2]*=e)}}(t,s);case"polygon":case"esriGeometryPolygon":return t=>function(t,e){if(t){if(t.curveRings)for(const n of t.curveRings)for(const t of n){const n=(0,i.yP)(t);n.length>2&&(n[2]*=e)}if(t.rings)for(const n of t.rings)for(const t of n)t.length>2&&(t[2]*=e)}}(t,s);case"multipoint":case"esriGeometryMultipoint":return t=>function(t,e){if(t)for(const n of t.points)n.length>2&&(n[2]*=e)}(t,s);case"extent":case"esriGeometryEnvelope":return t=>function(t,e){t&&null!=t.zmin&&null!=t.zmax&&(t.zmin*=e,t.zmax*=e)}(t,s);default:return}}function c(t,e){return null==t||null==e||e.vcsWkid||(0,o.aI)(t,e)||(0,r.xP)(t)||(0,r.xP)(e)?1:(0,s.G9)(t)/(0,s.G9)(e)}},41653(t,e,n){n.r(e),n.d(e,{queryModel:()=>g,queryModels:()=>y});var s=n(11254),r=n(4576),o=n(49186),i=n(91869),a=n(84952),c=n(5482),l=n(69622),u=n(91429);let f=class extends l.A{constructor(t){super(t),this.name="",this.size=0}arrayBuffer(t){return this.loadArrayBuffer(t)}};(0,c.Cg)([(0,u.MZ)({constructOnly:!0})],f.prototype,"flags",void 0),(0,c.Cg)([(0,u.MZ)({constructOnly:!0})],f.prototype,"loadArrayBuffer",void 0),(0,c.Cg)([(0,u.MZ)({constructOnly:!0})],f.prototype,"name",void 0),(0,c.Cg)([(0,u.MZ)({constructOnly:!0})],f.prototype,"size",void 0),f=(0,c.Cg)([(0,u.$K)("esri.layers.scene.ModelFileInfo")],f);let h=class extends l.A{constructor(t){super(t),this.files=[],this.format="",this.isSource=!1,this.name="",this.size=0}};(0,c.Cg)([(0,u.MZ)({constructOnly:!0})],h.prototype,"files",void 0),(0,c.Cg)([(0,u.MZ)({constructOnly:!0})],h.prototype,"format",void 0),(0,c.Cg)([(0,u.MZ)({constructOnly:!0})],h.prototype,"isSource",void 0),(0,c.Cg)([(0,u.MZ)({constructOnly:!0})],h.prototype,"name",void 0),(0,c.Cg)([(0,u.MZ)({constructOnly:!0})],h.prototype,"size",void 0),h=(0,c.Cg)([(0,u.$K)("esri.layers.scene.ModelInfo")],h);var p=n(20557),m=n(99199),d=n(61956);async function y(t,e,n,s){const c=t.infoFor3D;if(!c)throw new o.A("scenelayer:query-models-not-available","Model queries are not available without 3D object metadata",{layer:t});const{objectIdField:l,globalIdField:u}=e;if(!l||!u)throw new o.A("scenelayer:query-models-not-available","Missing required fields for model queries",{layer:t});const f=function(t,e,n,s){const r=function(t,e){const n=d.A.from(e)?.clone()??t.createQuery();return n.outFields=null,n.formatOf3DObjects=null,n.returnGeometry=!1,n}(t,e);return r.outFields=[n,s],r.returnGeometry=!1,r}(t,n,l,u),h=await e.queryFeatures(f,s);return await async function(t){const{infoFor3D:e,associatedLayer:n,options:s}=t,o=n.globalIdField,c=n.parsedUrl;if(!o||!c)return new Map;const l=await async function(t){const{options:e,infoFor3D:n,featureInfos:s}=t,o=[...s.keys()];if(e?.requestedFormat){const t=(0,p.fE)(e.requestedFormat,n.supportedFormats);return t?[{formatId:t,objectIds:o}]:[]}const c=(0,r.Am)([...n.queryFormats,...n.editFormats]);return await async function({options:t,infoFor3D:e,featureInfos:n,requestQuery:s,associatedLayer:o},c){const l=e.assetMapFieldRoles.parentGlobalId,u=e.assetMapFieldRoles.assetType,f=e.assetMapFieldRoles.flags,h=new Map;for(const[t,{globalId:e}]of n)e&&h.set(t,e);const y=(0,r.Am)(h.values()),g=(0,p.JZ)(e);if(!g||!y.length)return[];const S=(0,a.fj)(o.parsedUrl?.path??"",`../${g.id}`),M=!!t?.sourceOnly,v=new d.A({where:`${l} IN (${y.map(x).join(",")})`,outFields:M?[l,u,f]:[l,u],returnDistinctValues:!0,returnGeometry:!1}),{features:w}=await(0,m.s)(S,v,{query:s,signal:t?.signal}),b=new Set(c),E=new Map;for(const t of w){const e=t.getAttribute(l),n=t.getAttribute(u),s=t.getAttribute(f)??0;n&&b.has(n)&&e&&!(1&s)&&(0,i.tE)(E,e,()=>new Set).add(n)}const R=new Map;for(const[t,e]of h)for(const n of E.get(e)??[])(0,i.tE)(R,n,()=>[]).push(t);return c.map(t=>({formatId:t,objectIds:R.get(t)??[]})).filter(({objectIds:t})=>t.length>0)}(t,c)}(t),u=new Map,f=await Promise.all(l.map(async({formatId:r,objectIds:i})=>{const a=(0,p.be)(r,e.supportedFormats),c=n.parsedUrl;if(null==a||!c||!i.length)return null;const l=(0,p._h)(r,e.supportedFormats),u=(0,p.qv)(l),f=n.createQuery();return f.objectIds=i,f.outFields=[o],f.formatOf3DObjects=r,f.returnGeometry=!0,{modelFormat:a,modelFileExtensions:u,featureSetJSON:await(0,m.e)(c.path,f,{query:t.requestQuery,signal:s?.signal},{uniqueIdFields:n.uniqueIdFields})}}));for(const e of f)e&&S(t,e.modelFormat,e.modelFileExtensions,e.featureSetJSON,u);return u}(new b(t,e,function(t){const e=new Map;for(const n of t.features){const t=n.getObjectId(),s=n.getGlobalId();null!=t&&null!=s&&e.set(t,{globalId:s})}return e}(h),c,s))}async function g(t,e,n,s){const r=s?.format;return((await y(t,e,{objectIds:[n]},{...s,requestedFormat:r,sourceOnly:null==r})).get(n)??[]).find(t=>r&&t.format===r||!r&&t.isSource)}function S({featureInfos:t,requestQuery:e,infoFor3D:n},s,r,o,a){const c=new Map;for(const t of o.assetMaps??[])(0,i.tE)(c,t.parentGlobalId,()=>[]).push(t);for(const[o,l]of t){const t=c.get(l.globalId);if(!t?.length)continue;const u=M(t,e,n);if(!u.length)continue;const f=u.reduce((t,e)=>t+e.size,0),p=w(u,r),m=!p.flags.includes("DERIVED");(0,i.tE)(a,o,()=>[]).push(new h({name:p.name,size:f,format:s,isSource:m,files:u}))}}function M(t,e,n){const s=new Map,r=({assetType:t})=>null!=(0,p.be)(t,n.supportedFormats),o=t.some(t=>r(t)&&!t.flags.includes("DERIVED"));for(const e of t)o&&r(e)&&e.flags.includes("DERIVED")||(0,i.tE)(s,e.assetName,()=>[]).push(e);const a=[];for(const[t,n]of s){n.sort((t,e)=>t.seqNo-e.seqNo);const s=n.reduce((t,e)=>t+e.size,0),r=n.map(({assetURL:t})=>t).filter(t=>!!t);r.length&&a.push(new f({name:t,size:s,flags:n[0].flags,loadArrayBuffer:t=>v(r,e,t)}))}return a}async function v(t,e,n){const r=await Promise.all(t.map(t=>(0,s.A)(t,{responseType:"array-buffer",query:e,signal:n?.signal}).then(({data:t})=>t)));return 1===r.length?r[0]:function(t){const e=t.reduce((t,e)=>t+e.byteLength,0),n=new Uint8Array(e);let s=0;for(const e of t)n.set(new Uint8Array(e),s),s+=e.byteLength;return n.buffer}(r)}function w(t,e){return t.find(({name:t})=>e.some(e=>t.toLowerCase().endsWith(`.${e}`)))??t[0]}function x(t){return`'${t.replaceAll("'","''")}'`}class b{constructor(t,e,n,s,r){this.layer=t,this.associatedLayer=e,this.featureInfos=n,this.infoFor3D=s,this.options=r,this.requestQuery={...e.parsedUrl?.query,...t.customParameters,...t.apiKey?{token:t.apiKey}:{}}}}},92300(t,e,n){n.d(e,{V:()=>i,X:()=>o});var s=n(60408),r=n(65864);function o(t){return{geometryType:(0,s.$B)(t[0]),geometries:t.map(t=>t.toJSON())}}function i(t,e,n){const s=(0,r.xD)(e);return t.map(t=>{const e=s.fromJSON(t);return e.spatialReference=n,e})}},99199(t,e,n){n.d(e,{e:()=>c,s:()=>a});var s=n(2272),r=n(80893),o=n(22671),i=n(61956);async function a(t,e,n,s){const r=await c(t,e,n,s);return o.A.fromJSON(r)}function c(t,e,n,o){const a=(0,s.Dl)(t),c={...n},l=i.A.from(e);return(0,r.eW)(a,l,l.sourceSpatialReference,c,o)}},58501(t,e,n){n.d(e,{q:()=>r});var s=n(62815);function r(t,e,n){if(!n?.features||!n.hasZ)return;const r=(0,s.N)(n.geometryType,e,t.outSpatialReference);if(r)for(const t of n.features)r(t.geometry)}},22671(t,e,n){n.d(e,{A:()=>S});var s,r=n(5482),o=n(52106),i=n(66552),a=n(25482),c=n(4718),l=n(91429),u=n(16930),f=n(60408),h=n(65864),p=n(50498),m=n(20437),d=n(36005),y=n(43937);const g=new i.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let S=s=class extends a.o{constructor(t){super(t),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(t,e){return this.readFeaturesWithClass(t,e,o.A)}writeGeometryType(t,e,n,s){if(t)return void g.write(t,e,n,s);const{features:r}=this;if(r)for(const t of r)if(null!=t?.geometry)return void g.write(t.geometry.type,e,n,s)}readQueryGeometry(t,e){if(!t)return null;const n=!!t.spatialReference,s=(0,h.rS)(t);return s&&!n&&e.spatialReference&&(s.spatialReference=u.A.fromJSON(e.spatialReference)),s}writeSpatialReference(t,e){if(t)return void(e.spatialReference=t.toJSON());const{features:n}=this;if(n)for(const t of n)if(t&&null!=t.geometry&&t.geometry.spatialReference)return void(e.spatialReference=t.geometry.spatialReference.toJSON())}clone(){return new s(this.cloneProperties())}cloneProperties(){return(0,c.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(t){const e=this.write();if(e.features&&Array.isArray(t)&&t.length>0)for(let n=0;n<e.features.length;n++){const s=e.features[n];if(s.geometry){const e=t?.[n];s.geometry=e?.toJSON()||s.geometry}}return e}quantize(t){const{scale:[e,n],translate:[s,r]}=t,o=this.features,i=this._getQuantizationFunction(this.geometryType,t=>Math.round((t-s)/e),t=>Math.round((r-t)/n));for(let t=0,e=o.length;t<e;t++)i?.(o[t].geometry)||(o.splice(t,1),t--,e--);return this.transform=t,this}unquantize(){const{geometryType:t,features:e,transform:n}=this;if(!n)return this;const{translate:[s,r],scale:[o,i]}=n;let a=null,c=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,t],scale:[,,e]}=n;a=n=>n*e+t}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,t],scale:[,,,e]}=n;c=n=>null==n?n:n*e+t}const l=this._getHydrationFunction(t,t=>t*o+s,t=>r-t*i,a,c);for(const{geometry:t}of e)null!=t&&l&&l(t);return this.transform=null,this}readFeaturesWithClass(t,e,n){const s=u.A.fromJSON(e.spatialReference),r=[];for(let e=0;e<t.length;e++){const o=t[e],i=n.fromJSON(o),a=o.geometry?.spatialReference;null==i.geometry||a||(i.geometry.spatialReference=s);const c=o.aggregateGeometries,l=i.aggregateGeometries;if(c&&null!=l)for(const t in l){const e=l[t],n=c[t],r=n?.spatialReference;null==e||r||(e.spatialReference=s)}r.push(i)}return r}_quantizePoints(t,e,n){let s,r;const o=[];for(let i=0,a=t.length;i<a;i++){const a=t[i];if(i>0){const t=e(a[0]),i=n(a[1]);t===s&&i===r||(o.push([t-s,i-r]),s=t,r=i)}else s=e(a[0]),r=n(a[1]),o.push([s,r])}return o.length>0?o:null}_getQuantizationFunction(t,e,n){return"point"===t?t=>(t.x=e(t.x),t.y=n(t.y),t):"polyline"===t||"polygon"===t?t=>{const s=(0,f.Bi)(t)?t.rings:t.paths,r=[];for(let t=0,o=s.length;t<o;t++){const o=s[t],i=this._quantizePoints(o,e,n);i&&r.push(i)}return r.length>0?((0,f.Bi)(t)?t.rings=r:t.paths=r,t):null}:"multipoint"===t?t=>{const s=this._quantizePoints(t.points,e,n);return s&&s.length>0?(t.points=s,t):null}:"extent"===t?t=>t:null}_getHydrationFunction(t,e,n,s,r){return"point"===t?t=>{t.x=e(t.x),t.y=n(t.y),s&&(t.z=s(t.z))}:"polyline"===t||"polygon"===t?t=>{const o=(0,f.Bi)(t)?t.rings:t.paths;let i,a;for(let t=0,s=o.length;t<s;t++){const s=o[t];for(let t=0,r=s.length;t<r;t++){const r=s[t];t>0?(i+=r[0],a+=r[1]):(i=r[0],a=r[1]),r[0]=e(i),r[1]=n(a)}}if(s&&r)for(let t=0,e=o.length;t<e;t++){const e=o[t];for(let t=0,n=e.length;t<n;t++){const n=e[t];n[2]=s(n[2]),n[3]=r(n[3])}}else if(s)for(let t=0,e=o.length;t<e;t++){const e=o[t];for(let t=0,n=e.length;t<n;t++){const n=e[t];n[2]=s(n[2])}}else if(r)for(let t=0,e=o.length;t<e;t++){const e=o[t];for(let t=0,n=e.length;t<n;t++){const n=e[t];n[2]=r(n[2])}}}:"extent"===t?t=>{t.xmin=e(t.xmin),t.ymin=n(t.ymin),t.xmax=e(t.xmax),t.ymax=n(t.ymax),s&&null!=t.zmax&&null!=t.zmin&&(t.zmax=s(t.zmax),t.zmin=s(t.zmin)),r&&null!=t.mmax&&null!=t.mmin&&(t.mmax=r(t.mmax),t.mmin=r(t.mmin))}:"multipoint"===t?t=>{const o=t.points;let i,a;for(let t=0,s=o.length;t<s;t++){const s=o[t];t>0?(i+=s[0],a+=s[1]):(i=s[0],a=s[1]),s[0]=e(i),s[1]=n(a)}if(s&&r)for(let t=0,e=o.length;t<e;t++){const e=o[t];e[2]=s(e[2]),e[3]=r(e[3])}else if(s)for(let t=0,e=o.length;t<e;t++){const e=o[t];e[2]=s(e[2])}else if(r)for(let t=0,e=o.length;t<e;t++){const e=o[t];e[2]=r(e[2])}}:null}};(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],S.prototype,"displayFieldName",void 0),(0,r.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],S.prototype,"exceededTransferLimit",void 0),(0,r.Cg)([(0,l.MZ)({type:[o.A],json:{write:!0}})],S.prototype,"features",void 0),(0,r.Cg)([(0,d.w)("features")],S.prototype,"readFeatures",null),(0,r.Cg)([(0,l.MZ)({type:[m.A],json:{write:!0}})],S.prototype,"fields",void 0),(0,r.Cg)([(0,l.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],S.prototype,"geometryType",void 0),(0,r.Cg)([(0,y.K)("geometryType")],S.prototype,"writeGeometryType",null),(0,r.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],S.prototype,"hasM",void 0),(0,r.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],S.prototype,"hasZ",void 0),(0,r.Cg)([(0,l.MZ)({types:p.yR,json:{write:!0}})],S.prototype,"queryGeometry",void 0),(0,r.Cg)([(0,d.w)("queryGeometry")],S.prototype,"readQueryGeometry",null),(0,r.Cg)([(0,l.MZ)({type:u.A,json:{write:!0}})],S.prototype,"spatialReference",void 0),(0,r.Cg)([(0,y.K)("spatialReference")],S.prototype,"writeSpatialReference",null),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],S.prototype,"transform",void 0),S=s=(0,r.Cg)([(0,l.$K)("esri.rest.support.FeatureSet")],S),S.prototype.toJSON.isDefaultToJSON=!0}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1948,3931,5611,6061,6312,7772,7992,8125,9169,9285],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},83587(t,e,n){n.d(e,{c:()=>o,e:()=>a});var r=n(96027),s=n(78125);function a(t,e){const n=(0,s.getSpatialReference)(t),a=(0,s.fromExtent)(e).asEnvelope2D();return(0,s.toGeometry)((0,r.g7)((0,s.fromGeometry)(t),a,(0,s.fromSpatialReference)(n)),n)}const i=(0,r.fz)(),o=Object.freeze(Object.defineProperty({__proto__:null,execute:a,executeMany:function(t,e){const n=t.map(s.fromGeometry),a=(0,s.getSpatialReference)(t),i=(0,s.fromExtent)(e).asEnvelope2D();return(0,r.zo)(n,i,(0,s.fromSpatialReference)(a)).map(t=>(0,s.toGeometry)(t,a))},supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:s,create:r,fromValues:function(t,e,n,r,s,a,i,o,u,c,h,f,l,m,g,x){return[t,e,n,r,s,a,i,o,u,c,h,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function a(t,e,n){return[t,e,n]}function i(t,e,n){return[t,e,n]}function o(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function c(){return a(1,1,1)}function h(){return a(1,0,0)}function f(){return a(0,1,0)}function l(){return a(0,0,1)}n.d(e,{CN:()=>i,Cb:()=>y,Cw:()=>x,JP:()=>p,S:()=>c,Ul:()=>u,Un:()=>g,ci:()=>o,fA:()=>a,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=c(),x=h(),p=f(),y=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:x,UNIT_Y:p,UNIT_Z:y,ZEROS:m,clone:s,create:r,freeze:i,fromArray:o,fromValues:a,ones:c,unitX:h,unitY:f,unitZ:l,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>_,Bw:()=>a,C:()=>i,Cc:()=>I,DI:()=>E,Il:()=>L,Io:()=>d,Ln:()=>y,Om:()=>b,Qr:()=>f,Re:()=>c,S8:()=>P,T9:()=>x,WQ:()=>u,Z0:()=>S,_S:()=>m,aI:()=>N,ei:()=>A,fw:()=>V,g7:()=>Z,gL:()=>O,hG:()=>M,hZ:()=>o,hs:()=>p,jb:()=>z,jk:()=>g,lo:()=>k,lw:()=>h,m3:()=>v,oW:()=>F,t2:()=>Y,tn:()=>l,uE:()=>B,xg:()=>X,ze:()=>C});var r=n(51850),s=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function h(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function P(t,e){const n=e[0],r=e[1],s=e[2];let a=n*n+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function b(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function _(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2];return t[0]=s*u-a*o,t[1]=a*i-r*u,t[2]=r*o-s*i,t}function I(t,e,n,r){const s=e[0],a=e[1],i=e[2];return t[0]=s+r*(n[0]-s),t[1]=a+r*(n[1]-a),t[2]=i+r*(n[2]-i),t}function S(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*a+n[12],t[1]=n[1]*r+n[5]*s+n[9]*a+n[13],t[2]=n[2]*r+n[6]*s+n[10]*a+n[14],t}function A(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=r*n[0]+s*n[3]+a*n[6],t[1]=r*n[1]+s*n[4]+a*n[7],t[2]=r*n[2]+s*n[5]+a*n[8],t}function O(t,e,n){return V(t,e,n[0],n[1],n[2],n[3])}function V(t,e,n,r,s,a){const i=e[0],o=e[1],u=e[2],c=r*u-s*o,h=s*i-n*u,f=n*o-r*i,l=r*f-s*h,m=s*c-n*f,g=n*h-r*c,x=2*a;return t[0]=i+c*x+2*l,t[1]=o+h*x+2*m,t[2]=u+f*x+2*g,t}function Z(t,e){P(w,t),P(R,e);const n=b(w,R);return n>1?0:n<-1?Math.PI:Math.acos(n)}const w=(0,r.vt)(),R=(0,r.vt)();function Y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function N(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],i=e[0],o=e[1],u=e[2],c=(0,s.FD)();return Math.abs(n-i)<=c*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-o)<=c*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(a-u)<=c*Math.max(1,Math.abs(a),Math.abs(u))}function F(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],a=n[2]-e[2];let i=r*r+s*s+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=s*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const z=c,T=h,G=f,X=d,k=M,L=a,B=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:Z,bezier:function(t,e,n,r,s,a){const i=1-a,o=i*i,u=a*a,c=o*i,h=3*a*o,f=3*u*i,l=u*a;return t[0]=e[0]*c+n[0]*h+r[0]*f+s[0]*l,t[1]=e[1]*c+n[1]*h+r[1]*f+s[1]*l,t[2]=e[2]*c+n[2]*h+r[2]*f+s[2]*l,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:i,cross:_,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2],c=s*u-a*o,h=a*i-r*u,f=r*o-s*i,l=Math.sqrt(c*c+h*h+f*f);return t[0]=c/l,t[1]=h/l,t[2]=f/l,t},direction:F,dist:X,distance:d,div:G,divide:f,dot:b,equals:N,exactEquals:Y,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,a){const i=a*a,o=i*(2*a-3)+1,u=i*(a-2)+a,c=i*(a-1),h=i*(3-2*a);return t[0]=e[0]*o+n[0]*u+r[0]*c+s[0]*h,t[1]=e[1]*o+n[1]*u+r[1]*c+s[1]*h,t[2]=e[2]*o+n[2]*u+r[2]*c+s[2]*h,t},inverse:E,len:L,length:a,lerp:I,max:x,min:g,mul:T,multiply:h,negate:C,normalize:P,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,a=2*n()-1,i=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=a*e,t},rotateX:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0],a[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),a[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),a[1]=s[1],a[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),a[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),a[2]=s[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:p,scaleAndAdd:y,set:o,sign:m,sqrDist:k,sqrLen:B,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:z,subtract:c,transformMat3:A,transformMat4:S,transformQuat:O,transformQuatValues:V},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>i,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>a,qK:()=>h});var r=n(34275);const s=16;function a(t){if(!t)return 0;let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return c(t,8);let n=f;for(let r=0;r<e;r++)n+=o(t[r]);return n}(t);let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?i(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+l:Array.isArray(e)?c(e,s):0:0),0)}function c(t,e){return f+t.length*e}const h=32,f=16,l=145,m=64},87992(t,e,n){n.d(e,{JR:()=>_,ME:()=>E,MY:()=>I,NO:()=>C,Nh:()=>b,V2:()=>Z,_s:()=>w,e6:()=>Y,gh:()=>P,tr:()=>F,uX:()=>p});var r=n(5482),s=n(69397),a=n(16930),i=(n(70328),n(19419)),o=n(60408),u=n(21325),c=n(513),h=n(50954),f=n(79567),l=n(52006),m=n(49663),g=n(46068),x=n(92722);class p{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:a,partCount:i,partOffsets:o,partFlags:u,segmentFlags:c,segmentIndices:h,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=a,this.partCount=i,this.partOffsets=o,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=h,this.segmentParams=f,this.segmentCountArc=l,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:a,segmentCountBezier:i}=this,o=Z(t,e,n,r,s,this.hasCurves(),a,i);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:h}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(c.subarray(0,e),0),o.vertexM?.set(h.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,n+1)),o.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(n.subarray(0,e),0),o.segmentParams.set(r.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=O(t),this._segments=new M(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=O(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],a=e[n++];return{b:[this.end,[t,r],[s,a]]}}const r=e[n++],s=e[n++],a=e[n++],i=e[n++],o=e[n++],u=e[n++];n++,n++;const c=e[n++],h=e[n++];if(!Boolean(4&r)&&1===a)return{c:[this.end,[c,h]]};const f=2&r?0:1,l=1&r?0:1;return{a:[this.end,[o,u],f,l,i,s,a]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,r.mS)(n,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:a,vertexM:o}=t,u=A(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new S(t,["vertexZ","vertexM"]),!1);const s=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,f.e)(s,t,n),t=(0,l.yP)(n)}const[a,o,c,h]=s;e={xmin:a,ymin:o,xmax:c,ymax:h,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,a,i;t=r=1/0,a=i=-1/0;for(let e=0;e<n;++e){const n=s[2*e],o=s[2*e+1];t=Math.min(t,n),a=Math.max(a,n),r=Math.min(r,o),i=Math.max(i,o)}e={xmin:t,ymin:r,xmax:a,ymax:i,spatialReference:u}}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(o){let t=1/0,n=-1/0;for(const e of o)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,o.fT)(t)){r="point";const{x:s,y:a,z:i,m:o}=t,u=[s,a];null!=i&&u.push(i),null!=o&&u.push(o),n=[[u]],e=1}else(0,o.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,o.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,V(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=Z(r,e,r.includes("point")?0:n.length,(0,o.Pv)(t),(0,o.W0)(t),(0,l.Ed)(t)),{hasZ:a,hasM:i,vertexXY:u,vertexZ:c,vertexM:h}=s;function f(t){u[2*g]=t[0],u[2*g+1]=t[1],a&&(c[g]=t[2]),i&&(h[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!a&&!i){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])f(t);return s}const x="polygon"===r,{partOffsets:p}=s;let y=0;if(!(0,l.Ed)(t)){for(const t of n){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&V(t[0],t.at(-1))&&--e,a||i)for(let n=0;n<e;++n)f(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return p[y]=g,s}function d(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*z;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];f(n);const a=g-1;(0,l.wY)(r)?(d(10),++s.segmentCountArc,M=w(n,r,s,a,M),n=r.a[0]):(0,l.DA)(r)?(d(10),++s.segmentCountArc,M=R(n,r,s,a,M),n=r.a[0]):(0,l.aO)(r)?(d(10),++s.segmentCountArc,M=Y(n,r,s,a,M),n=r.c[0]):(0,l.n1)(r)?(d(4),++s.segmentCountBezier,M=F(0,r,s,a,M),n=r.b[0]):n=r}x&&V(e,n)||f(n)}return s.partOffsets[y]=g,s}function P(t){const e=O(t),{vertexCount:n,partCount:r,hasZ:s,hasM:a}=t,i=A(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:i}}let o=0;if("multipoint"===t.type){const t=[];for(;o<n;)t.push(e(o++));return{points:t,spatialReference:i,hasZ:s,hasM:a}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],a=new Array;for(;o<r;)a.push(e(o++));u&&a.length>0&&a.push(a[0]),n.push(a)}return u?{rings:n,hasZ:s,hasM:a,spatialReference:i}:{paths:n,hasZ:s,hasM:a,spatialReference:i}}const c=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);c.push(t)}return u?{rings:[],curveRings:c,hasZ:s,hasM:a,spatialReference:i}:{paths:[],curvePaths:c,hasZ:s,hasM:a,spatialReference:i}}function b(t,{lengths:e,coords:n,hasZ:r,hasM:s},a){const i=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?i:0);r??=!1,s??=!1;const c=Z(t,u,i,r,s,!1,0,0);if(c.spatialReference=a??void 0,!c.isMultipart()){for(let t=0,e=0;t<u;++t)c.vertexXY[2*t]=n[e++],c.vertexXY[2*t+1]=n[e++],r&&(c.vertexZ[t]=n[e++]),s&&(c.vertexM[t]=n[e++]);return c}const h=2+Number(r)+Number(s);let f=0,l=0;c.partOffsets[0]=0;for(const t of e){const e=c.partOffsets[l],a=e+t-Number(o);c.partOffsets[++l]=a;for(let t=e;t<a;++t)c.vertexXY[2*t]=n[f++],c.vertexXY[2*t+1]=n[f++],r&&(c.vertexZ[t]=n[f++]),s&&(c.vertexM[t]=n[f++]);o&&(f+=h)}return c}function _({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:a,partOffsets:i,hasZ:o,hasM:u}){const c=new x.A([],[],o,u);a=Math.max(a,1);const h="polygon"===t;let f=0;for(let t=0;t<a;++t){const a=i?.[t+1]??e,l=c.coords.length;for(let t=f;t<a;++t)c.coords.push(n[2*t],n[2*t+1]),o&&c.coords.push(r[t]),u&&c.coords.push(s[t]);if(h){const t=f;c.coords.push(n[2*t],n[2*t+1]),o&&c.coords.push(r[t]),u&&c.coords.push(s[t])}c.lengths.push((c.coords.length-l)/c.stride),f=a}return"point"===t&&(c.lengths.length=0),c}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const a=s.isCustomWkid()?0:s.getOldID();if(a<=0)return{wkt:e};let i=t.getLatestVerticalID();return(i<=0||i===a)&&(i=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:a,latestVcsWkid:i}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function A({spatialReference:t}){return t instanceof a.A?t.toJSON():t}function O({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function V(t,e){return t.every((t,n)=>t===e[n])}function Z(t,e,n,r,s,a,i,o){i??=0,o??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:i,segmentCountBezier:o});let c=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(c+=Float64Array.BYTES_PER_ELEMENT*e),s&&(c+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),a&&(c+=e*Int8Array.BYTES_PER_ELEMENT,c+=e*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const h=new ArrayBuffer(c);let f=0;return u.vertexXY=new Float64Array(h,f,2*e),f+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(h,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(h,f,e),f+=u.vertexM.byteLength),a&&(u.segmentParams=new Float64Array(h,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(h,f,e),u.segmentIndices.fill(T),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(h,f,n+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(h,f,n+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),a&&(u.segmentFlags=new Int8Array(h,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function w(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const[o,[u,c],h,f,l,m,x]=e.a;let p=4;f||(p|=1),h||(p|=2);const y=(0,g.SW)(t,e),[d,M]=(0,g.Uk)(y,.5);return s[i++]=p,s[i++]=m,s[i++]=x,s[i++]=l,s[i++]=u,s[i++]=c,s[i++]=y.u2-y.u1,s[i++]=y.u1,s[i++]=d,s[i++]=M,i}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const o=(0,m.io)(t,e);return N(o,4,...(0,c.mq)(o,.5),s,i)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){return n[a]=4,r[a]=i,N((0,h.pM)(t,e),0,...e.c[1],s,i)}function N(t,e,n,r,s,a){const{cx:i,cy:o,thetaStart:u,thetaEnd:c,radius:h}=t;return u>c||(e|=1),Math.abs(c-u)<=Math.PI||(e|=2),s[a++]=e,s[a++]=h,s[a++]=1,s[a++]=0,s[a++]=i,s[a++]=o,s[a++]=c-u,s[a++]=u,s[a++]=n,s[a++]=r,a}function F(t,{b:[e,[n,r],[s,a]]},{segmentFlags:i,segmentIndices:o,segmentParams:u},c,h){return i[c]=2,o[c]=h,u[h++]=n,u[h++]=r,u[h++]=s,u[h++]=a,h}const z=1.61803,T=-1},24815(t,e,n){n.d(e,{execute:()=>r.e}),n(96027),n(78125);var r=n(83587)},96027(t,e,n){n.d(e,{fz:()=>o,g7:()=>a,zo:()=>i});var r=n(76061);const s=new(n(31139).O);function a(t,e,n){return s.execute(t,e,n,null)}function i(t,e,n){const a=s.executeMany(new r.S(t),e,n,null);return Array.from(a)}function o(){return s.supportsCurves()}},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>b,toGeometry:()=>P,toMultipoint:()=>_,toPoint:()=>I,toPolygon:()=>S,toPolyline:()=>A});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),i=n(88885),o=n(5443),u=n(48526),c=n(86738),h=n(39829),f=n(82799),l=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new a.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new i.M,n=new a.P,r=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,a=r.length;t<a;t++){const a=r[t];n.setXYCoords(a[0],a[1]),o&&n.setZ(a[2]??0),s&&n.setM(a[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new a.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,a=(0,l.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,l.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,l.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,l.fromSpatialReference)(t),t.cache[m]):(0,l.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return b(t,e);case s.G.enumMultiPoint:return _(t,e);case s.G.enumPolyline:return A(t,e);case s.G.enumPolygon:return S(t,e)}return null}function b(t,e){if(t.isEmpty())return null;const n=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function _(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],o=new a.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,o);const n=[o.getX(),o.getY()];s&&n.push(o.getZ()),r&&n.push(o.getM()),i.push(n)}const c=new u.A({hasM:r,hasZ:s,points:i,spatialReference:e});return c.setCacheValue(m,t),c}function I(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function S(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,l.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=f.A.fromJSON({...(0,l.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>u,cj:()=>o,jh:()=>a,l5:()=>i});var r=n(34275),s=n(9093);function a(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function i(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function o(t){return[...t]}function u(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>f,Ej:()=>m,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>h,aI:()=>C,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>P,vt:()=>a,w1:()=>c}),n(35522);var r=n(5443),s=(n(19419),n(4197));function a(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,e,n,r,s,i,o=a()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o[4]=s,o[5]=i,o}function o(t,e=a()){return function(t,e,n,r=a()){return p(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],a=t[1],i=t[2],o=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),a=Math.min(a,e[n+3*t+1]),i=Math.min(i,e[n+3*t+2]),o=Math.max(o,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=s,t[1]=a,t[2]=i,t[3]=o,t[4]=u,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,a,i,o,u]=t;return e[0]=n,e[1]=r,e[2]=a,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=o,e[8]=a,e[9]=n,e[10]=o,e[11]=u,e[12]=i,e[13]=r,e[14]=a,e[15]=i,e[16]=r,e[17]=u,e[18]=i,e[19]=o,e[20]=a,e[21]=i,e[22]=o,e[23]=u,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?p(t,E):a(E)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];a()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const a=n-t,i=r-e;return new s([5],[t,e,a,0,0,i,-a,0,0,-i])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],a=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),o=this.coords[n],u=this.coords[n+1];t+=-.5*(o-s)*(u+a),s=o,a=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,a=this.coords.slice(0,r*n);return t?(t.set(a),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(a),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7016],{50498(e,t,o){o.d(t,{Ye:()=>u,gy:()=>h,iI:()=>p,yR:()=>y});var r=o(66552),i=o(5443),n=o(91075),l=o(48526),s=o(86738),a=o(39829),c=o(82799);const h=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),u=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),y={base:n.A,key:"type",typeMap:{extent:i.A,multipoint:l.A,point:s.A,polyline:c.A,polygon:a.A}},p=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},11831(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),n=o(25482),l=o(90629),s=o(91429),a=o(5760);let c=r=class extends n.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,l.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,s.MZ)({type:a.h9,json:{default:"none",write:!0}})],c.prototype,"decoration",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"family",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy:(e,t,o)=>({enabled:!o||!o.textSymbol3D})}}})],c.prototype,"size",null),(0,i.Cg)([(0,s.wg)("size")],c.prototype,"castSize",null),(0,i.Cg)([(0,s.MZ)({type:a._R,json:{default:"normal",write:!0}})],c.prototype,"style",void 0),(0,i.Cg)([(0,s.MZ)({type:a.NM,json:{default:"normal",write:!0}})],c.prototype,"weight",void 0),c=r=(0,i.Cg)([(0,s.$K)("esri.symbols.Font")],c)},68249(e,t,o){o.d(t,{A:()=>f});var r,i=o(5482),n=o(68197),l=o(4718),s=o(90629),a=o(91429),c=o(11831),h=o(20378),u=o(5760),y=o(93223),p=o(43937);let f=r=class extends h.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new c.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.text=e),t&&(r.font=t),o&&(r.color=o),r}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}castLineWidth(e){return(0,s.cr)(e)}writeLineHeight(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,l.o8)(this.backgroundColor),borderLineColor:(0,l.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i.Cg)([(0,a.MZ)({type:n.A,json:{write:!0}})],f.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,a.MZ)({type:n.A,json:{write:!0}})],f.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0},cast:s.cr})],f.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,a.MZ)({type:c.A,json:{write:!0}})],f.prototype,"font",void 0),(0,i.Cg)([(0,a.MZ)({...u.rM,json:{write:!0}})],f.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"kerning",void 0),(0,i.Cg)([(0,a.MZ)({type:n.A,json:{write:!0}})],f.prototype,"haloColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:s.cr,json:{write:!0}})],f.prototype,"haloSize",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"rotated",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],f.prototype,"text",void 0),(0,i.Cg)([(0,y.e)({esriTS:"text"},{readOnly:!0})],f.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...u.x0,json:{write:!0}})],f.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:s.cr,json:{write:!0}})],f.prototype,"xoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,cast:s.cr,json:{write:!0}})],f.prototype,"yoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],f.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],f.prototype,"lineWidth",null),(0,i.Cg)([(0,p.K)("lineWidth")],f.prototype,"writeLineWidth",null),(0,i.Cg)([(0,a.wg)("lineWidth")],f.prototype,"castLineWidth",null),(0,i.Cg)([(0,a.MZ)(u.Tb)],f.prototype,"lineHeight",void 0),(0,i.Cg)([(0,p.K)("lineHeight")],f.prototype,"writeLineHeight",null),f=r=(0,i.Cg)([(0,a.$K)("esri.symbols.TextSymbol")],f)},62046(e,t,o){o.d(t,{Fe:()=>h,KU:()=>f,Nk:()=>n});var r=o(68197),i=o(93397);function n(e){const t=[];return l((0,i.lW)(e),t),t.length?new r.A((0,i.e6)(t[0])):null}function l(e,t){if(!e)return;let o;o="CIMTextSymbol"===e.type?e.symbol:e;const r="CIMPolygonSymbol"===e.type;if(o?.symbolLayers)for(const e of o.symbolLayers)if(!(e.colorLocked||r&&((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))))switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor&&s(t,e.tintColor);break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{l(e.symbol,t)});break;case"CIMSolidStroke":case"CIMSolidFill":s(t,e.color);break;case"CIMGradientFill":a(t,e);break;case"CIMHatchFill":l(e.lineSymbol,t)}}function s(e,t){for(const o of e)if(o.join(".")===t.join("."))return;e.push(t)}function a(e,t){const o=t.colorRamp?.type;switch(o){case"CIMMultipartColorRamp":t.colorRamp.colorRamps?.forEach(t=>{"CIMLinearContinuousColorRamp"===t.type&&c(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":c(e,t.colorRamp)}}function c(e,t){t&&(t.fromColor&&s(e,t.fromColor),t.toColor&&s(e,t.toColor))}function h(e,t,o){t instanceof r.A||(t=new r.A(t));const n=(0,i.lW)(e);n&&u(n,t,o)}function u(e,t,o){if(!e)return;let r;r="CIMTextSymbol"===e.type?e.symbol:e;const n="CIMPolygonSymbol"===r?.type;if(r?.symbolLayers)for(const e of r.symbolLayers){if(e.colorLocked)continue;if(n)if(o){const{layersToColor:t}=o;if(((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))&&"fill"===t||(0,i.jn)(e)&&"outline"===t)continue}else if((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))continue;const r=t.toArray();switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor=r;break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{u(e.symbol,t,o)});break;case"CIMSolidStroke":case"CIMSolidFill":e.color=r;break;case"CIMGradientFill":y(e,t);break;case"CIMHatchFill":u(e.lineSymbol,t,o)}}}function y(e,t){const o=e.colorRamp?.type;switch(o){case"CIMMultipartColorRamp":e.colorRamp.colorRamps?.forEach(e=>{"CIMLinearContinuousColorRamp"===e.type&&p(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":p(e.colorRamp,t)}}function p(e,t){if(e&&(e.fromColor&&(e.fromColor=t.toArray()),e.toColor)){const o=t.clone();o.a=0,e.toColor=o.toArray()}}function f(e,t,o=!1){const r=(0,i.lW)(e);if(o&&(t=360-t),"CIMTextSymbol"!==r?.type){if("CIMPointSymbol"===r?.type&&r.symbolLayers){const e=t-(r.angle||0);for(const t of r.symbolLayers)if((0,i.MM)(t)){let o=t.rotation||0;t.rotateClockwise?o-=e:o+=e,t.rotation=o}r.angle=t}}else r.angle=t}},5760(e,t,o){o.d(t,{NM:()=>s,Tb:()=>a,_R:()=>l,h9:()=>n,rM:()=>c,x0:()=>h,y7:()=>u});var r=o(34727),i=o(56507);const n=["none","underline","line-through"],l=["normal","italic","oblique"],s=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,i.GB)(e);return 0===t?1:(0,r.qE)(t,.1,4)},nonNullable:!0},c={type:["left","right","center"],nonNullable:!0},h={type:["baseline","top","middle","bottom"],nonNullable:!0},u=8},37531(e,t,o){o.d(t,{dt:()=>y,GG:()=>g,UQ:()=>m,Sx:()=>h});var r=o(68197),i=o(60999),n=o(51850),l=(o(76369),o(62046)),s=(o(2741),o(11254),o(66344));new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),new s.q(1e3),new r.A([128,128,128]);var a=o(28975),c=o(33910);function h(e,t){if(!e)return null;let o=null;return(0,c.wk)(e)?o=function(e){const t=e.symbolLayers;if(!t)return null;let o=null;return t.forEach(e=>{"object"===e.type&&e.resource?.href||(o="water"===e.type?e.color:e.material?e.material.color:null)}),o?new r.A(o):null}(e):(0,c.$y)(e)&&(o="cim"===e.type?(0,l.Nk)(e):e.color?new r.A(e.color):null),o?u(o,t):null}function u(e,t){if(null==t||null==e)return e;const o=e.toRgba();return o[3]=o[3]*t,new r.A(o)}function y(e,t,o){e&&(t||null!=o)&&(t&&(t=new r.A(t)),(0,c.wk)(e)?function(e,t,o){const i=e.symbolLayers;if(!i)return;const n=(e,i=!1)=>{let n=t??e??null;return null!=o?.override&&(!n&&i&&(n=new r.A([255,255,255])),n&&(n.a=o.override)),u(n,o?.add)};i.forEach(e=>{if("water"===e.type)return void(e.color=u(e.color,o?.add));const t=null!=e.material?e.material.color:null,r=n(t,"icon"===e.type&&null!=e.resource?.href);null==e.material?e.material=new a.A({color:r}):e.material.color=r,"outline"in e&&e.outline?.color&&null!=o?.add&&(e.outline.color=u(e.outline.color,o.add)),"marker"in e&&null!=e.marker&&(e.marker.color=n(e.marker.color))})}(e,t,o):(0,c.$y)(e)&&function(e,t,o){t=t??e.color,null!=o?.override&&t&&(t.a=o.override),t&&(e.color=u(t,o?.add)),"outline"in e&&e.outline?.color&&(e.outline.color=u(e.outline.color,o?.add))}(e,t,o))}function p(e){for(const t of e)if("number"==typeof t)return t;return null}function f(e,t,o){for(let r=0;r<3;r++){const i=e[r];switch(i){case"symbol-value":{const e=o[r];return null!=e?e/t[r]:1}case"proportional":break;default:if(null!=i&&t[r])return i/t[r]}}return null}function d(e,t,o,r){switch(e){case"proportional":return o*r;case"symbol-value":return null!=t?t:o;default:return e}}async function m(e,t){if(e&&t)return(0,c.wk)(e)?async function(e,t){const r=e.symbolLayers;r&&await(0,i.jJ)(r,async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){const o=t[2];"number"==typeof o&&(e.size=o)}(e,t);break;case"icon":case"line":case"text":!function(e,t){const o=p(t);null!=o&&(e.size=o)}(e,t);break;case"path":!function(e,t){const o=f(t,n.Un,[e.width,void 0,e.height]);null!=o&&(e.width=d(t[0],e.width,1,o),e.height=d(t[2],e.height,1,o))}(e,t);break;case"object":await async function(e,t){const{resourceSize:r,symbolSize:i}=await async function(e){const{computeObjectLayerResourceSize:t}=await o.e(5404).then(o.bind(o,95404)),r=await t(e,10),{width:i,height:n,depth:l}=e,s=[i,l,n];let a=1;for(let e=0;e<3;e++){const t=s[e];if(null!=t){a=t/r[e];break}}for(let e=0;e<3;e++)null==s[e]&&(s[e]=r[e]*a);return{resourceSize:r,symbolSize:s}}(e),n=f(t,r,i);null!=n&&(e.width=d(t[0],i[0],r[0],n),e.depth=d(t[1],i[1],r[1],n),e.height=d(t[2],i[2],r[2],n))}(e,t)}}(e,t))}(e,t):void((0,c.$y)(e)&&function(e,t){const o=p(t);if(null!=o)switch(e.type){case"simple-marker":e.size=o;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=o,e.height=o*t):(e.width=o*t,e.height=o);break}case"simple-line":e.width=o;break;case"text":e.font.size=o}}(e,t))}function g(e,t,o){if(e&&null!=t)if((0,c.wk)(e)){const r=e.symbolLayers;r&&r.forEach(e=>{if("object"===e.type)switch(o){case"tilt":e.tilt=(e.tilt??0)+t;break;case"roll":e.roll=(e.roll??0)+t;break;default:e.heading=(e.heading??0)+t}"icon"===e.type&&(e.angle+=t)})}else if((0,c.$y)(e))switch(e.type){case"simple-marker":case"picture-marker":case"text":e.angle+=t;break;case"cim":(0,l.KU)(e,t,!0)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8303],{66344(e,t,i){i.d(t,{q:()=>l});const r=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class s{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,s,n){t=e.id+t;const l=this._db.get(t);if(l&&(this._size-=l.size,e.size-=l.size,this._db.delete(t),l.entry!==i&&this._notifyRemove(t,l.entry,l.size,0)),s>this._maxSize)return void this._notifyRemove(t,i,s,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!s||s<0)return r||console.warn(`Refusing to cache entry with size ${s} for key ${t}`),void this._notifyRemove(t,i,0,0);const a=1+Math.max(n,-4)- -3;this._db.set(t,new o(i,s,a)),this._size+=s,e.size+=s,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let r=i.entry.usedMemory;for(;r>this._maxSize;){const e=this._notifyRemove(t,i.entry,r,1);if(!(null!=e&&e>0))return void this._db.delete(t);r=e}i.size=r,this._size+=r,e.size+=r,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,r)=>{const s=e.lifetime;i[s]=(i[s]||0)+e.size,this._clients.forEach(i=>{const{id:s,name:o}=i;if(r.startsWith(s)){const i=t[o]||0;t[o]=i+e.size}})});const r={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const s=t[i]||0;t[i]=s,r[i]=Math.round(100*e.hitRate)+"%"}else r[i]="0%"});const s=Object.keys(t);s.sort((e,i)=>t[i]-t[e]),s.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+r[i]);for(let t=i.length-1;t>=0;--t){const r=i[t];r&&(e["Priority "+(t+-3-1)]=Math.round(r/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,r){const s=this._clients.get(e.split(n)[0])?.removeFunc,o=s?.(t,r,i);return"number"==typeof o?o:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const r=t?.id;let s=!0;for(;s;){s=!1;for(const[o,l]of this._db)if(0===l.lifetime&&(!r||o.startsWith(r))){const r=t??this._clients.get(o.split(n)[0]);if(this._purgeItem(o,l,r),i.size<=.9*e)return;s||=this._db.has(o)}}for(const[s,o]of this._db)if(!r||s.startsWith(r)){const r=t??this._clients.get(s.split(n)[0]);if(this._purgeItem(s,o,r),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const r=this._notifyRemove(e,t.entry,t.size,1);null!=r&&r>0&&(this._size+=r,i&&(i.size+=r),t.lives=t.lifetime,t.size=r,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new s(0);class o{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const n=":";class l{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new s(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},28076(e,t,i){i.d(t,{D:()=>s});var r=i(13337);const s={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry"},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distanceAlong:100}}},13337(e,t,i){i.d(t,{h:()=>r});const r={Relative:0,Absolute:1}},93397(e,t,i){i.d(t,{$w:()=>y,Bu:()=>k,DW:()=>b,FH:()=>R,FM:()=>l,Kn:()=>C,MM:()=>u,Nl:()=>x,O2:()=>w,R8:()=>V,St:()=>H,UE:()=>L,YC:()=>E,YF:()=>P,_1:()=>z,_d:()=>g,_h:()=>n,bs:()=>v,e6:()=>c,gQ:()=>o,jn:()=>m,lW:()=>f,mA:()=>h,pM:()=>_,pV:()=>S,pk:()=>G,rB:()=>N,xo:()=>I,yX:()=>W,z9:()=>p,zb:()=>A,zr:()=>d});var r=i(28076);function s(e){let t=e.length;for(;t--;)if(!" /-,\n".includes(e.charAt(t)))return!1;return!0}function o(e,t){const i=[];let r=0,o=-1;do{if(o=e.indexOf("[",r),o>=r){if(o>r){const t=e.slice(r,o);i.push([t,null,s(t)])}if(r=o+1,o=e.indexOf("]",r),o>=r){if(o>r){const s=t[e.slice(r,o)];s&&i.push([null,s,!1])}r=o+1}}}while(-1!==o);if(r<e.length){const t=e.slice(r);i.push([t,null,s(t)])}return i}function n(e,t,i){let r="",s=null;for(const i of t){const[t,o,n]=i;if(null!=t&&""!==t)n?s=t:(null!=s&&(r+=s,s=null),r+=t);else{const t=e.readAttribute(o);null!=t&&""!==t&&(null!==s&&(r+=s,s=null),r+=t)}}return a(r,i)}function l(e,t,i,r){let s="",o=null;for(const r of t){const[t,n,l]=r;if(null!=t&&""!==t)l?o=t:(null!=o&&(s+=o,o=null),s+=t);else{let t=n;null!=i&&(t=F(n,i));const r=e.attributes[t];null!=r&&""!==r&&(null!=o&&(s+=o,o=null),s+=r)}}return a(s,r)}function a(e,t){switch("string"!=typeof e&&(e=String(e)),t){case"LowerCase":return e.toLowerCase();case"Allcaps":return e.toUpperCase();default:return e}}function c(e){return e?[e[0],e[1],e[2],e[3]/255]:[0,0,0,0]}function f(e){return e.data?.symbol??null}function u(e){return"CIMVectorMarker"===e.type||"CIMPictureMarker"===e.type||"CIMBarChartMarker"===e.type||"CIMCharacterMarker"===e.type||"CIMPieChartMarker"===e.type||"CIMStackedBarChartMarker"===e.type}function h(e){return"CIMGradientStroke"===e.type||"CIMPictureStroke"===e.type||"CIMSolidStroke"===e.type}function m(e){return null!=e&&("CIMGradientFill"===e.type||"CIMHatchFill"===e.type||"CIMPictureFill"===e.type||"CIMSolidFill"===e.type||"CIMWaterFill"===e.type)}function d(e){return null!=e&&("CIMMarkerPlacementAlongLineRandomSize"===e.type||"CIMMarkerPlacementAlongLineSameSize"===e.type||"CIMMarkerPlacementAlongLineVariableSize"===e.type||"CIMMarkerPlacementAtExtremities"===e.type||"CIMMarkerPlacementAtMeasuredUnits"===e.type||"CIMMarkerPlacementAtRatioPositions"===e.type||"CIMMarkerPlacementOnLine"===e.type||"CIMMarkerPlacementOnVertices"===e.type)}const y=(e,t=0)=>null==e||isNaN(e)?t:e;class M{constructor(e){this._import=e}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(e=>this.module=e)),this._promise}}function p(e){return new M(e)}function S(e){if(!e)return"normal";switch(e.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function C(e){if(!e)return"normal";switch(e.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function g(e){let t="normal",i="normal";if(e){const r=e.toLowerCase();r.includes("italic")?t="italic":r.includes("oblique")&&(t="oblique"),r.includes("bold")?i="bold":r.includes("light")&&(i="lighter")}return{style:t,weight:i}}function b(e){return e.underline?"underline":e.strikethrough?"line-through":"none"}function _(e){if(!e)return null;switch(e.type){case"CIMPolygonSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=_(t);if(null!=e)return e}break;case"CIMTextSymbol":return _(e.symbol);case"CIMSolidFill":return e.color}return null}function z(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{const t=e.symbolLayers;if(t)for(const e of t){const t=z(e);if(null!=t)return t}break}case"CIMTextSymbol":return z(e.symbol);case"CIMSolidStroke":return e.color}}function I(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=I(t);if(void 0!==e)return e}break;case"CIMTextSymbol":return I(e.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return e.width}}function k(e){switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":case"Justify":return"center"}}function x(e){switch(e){case"Top":default:return"top";case"Center":return"middle";case"Baseline":return"baseline";case"Bottom":return"bottom"}}function w(e){return(e?Object.keys(e):[]).map(t=>({name:t,alias:t,type:"string"==typeof e[t]?"esriFieldTypeString":"esriFieldTypeDouble"}))}const L=e=>e.includes("data:image/svg+xml");function P(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function A(e,t,i,r,s,o,n=!0){const{infos:l}=o;let a=1,c=0,f=0,u=0,h=1;for(const{absoluteAnchorPoint:e,offsetX:t,offsetY:i,rotation:r,size:s,frameHeight:o,rotateClockWise:m,scaleSymbolsProportionally:d}of l)h=e?1:a,f=T(t,i,c,h,f),u=O(t,i,c,h,u),o&&(d||n)&&(a*=s/o),c=D(r,m,c);const m=T(r,s,c,h,f),d=O(r,s,c,h,u);return{size:e*a,rotation:D(t,i,c),offsetX:m,offsetY:d}}function R(e){return e?.dashTemplate&&(e.dashTemplate=function(e){return"string"==typeof e?function(e){return e.split(" ").map(e=>Number(e))}(e):e}(e.dashTemplate)),e}function v(e){if(null==e)return"Normal";switch(e.type){case"CIMTextSymbol":return e.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{const t=e.symbolLayers;if(!t)return"Normal";for(const e of t)if("CIMVectorMarker"===e.type)return v(e)}break;case"CIMVectorMarker":{const t=e.markerGraphics;if(!t)return"Normal";for(const e of t)if(e.symbol)return v(e.symbol)}}return"Normal"}function E(e){if(e)switch(e.type){case"CIMTextSymbol":return e.height;case"CIMPointSymbol":{let t=0;if(e.symbolLayers)for(const i of e.symbolLayers)if(i)switch(i.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{const e=i.size??r.D.CIMVectorMarker.size;e>t&&(t=e);break}}return t}case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=0;if(e.symbolLayers)for(const i of e.symbolLayers)if(i)switch(i.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{const e=i.width;null!=e&&e>t&&(t=e);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(i.markerPlacement&&d(i.markerPlacement)){const e=i.size??r.D.CIMVectorMarker.size;e>t&&(t=e)}break;case"CIMPictureFill":{const e=i.height;null!=e&&e>t&&(t=e)}}return t}}}function F(e,t){if(null!==t){const i=t.get(e);return i?i.name:e}return e}function G(e){return e.map(e=>({...e,propertyName:P(e.propertyName)}))}function N(e){const t={};for(const i in e){const r=e[i];t[P(i)]=r}return t}function O(e,t,i,r,s){const o=i*Math.PI/180;if(o){const i=Math.cos(o);return(Math.sin(o)*e+i*t)*r+s}return t*r+s}function T(e,t,i,r,s){const o=i*Math.PI/180;return o?(Math.cos(o)*e-Math.sin(o)*t)*r+s:e*r+s}function D(e,t,i){return t?i-e:i+e}function W(e,t){return Math.max(Math.min((e??t)/100,1),0)}function H(e){return null!=e&&"inflateSize"in e&&null!=e.inflateSize}function V(e){if("CIMPictureMarker"!==e.type&&"CIMVectorMarker"!==e.type)return!1;const t=e.markerPlacement;return!(d(t)&&!0===t.angleToLine)}},59868(e,t,i){i.d(t,{A7:()=>c,Cx:()=>f,Hk:()=>u,UK:()=>a});var r=i(94985),s=i(31593),o=i(53930),n=i(68249),l=i(93470);const a=o.A.fromJSON(l.Cb),c=s.A.fromJSON(l.yM),f=r.A.fromJSON(l.WR),u=n.A.fromJSON(l.JZ);o.A.fromJSON(l.nC),s.A.fromJSON(l.HW),r.A.fromJSON(l.b6)},93470(e,t,i){i.d(t,{Cb:()=>o,HW:()=>f,JR:()=>s,JZ:()=>a,WR:()=>l,b6:()=>u,fT:()=>r,nC:()=>c,yM:()=>n});const r=[252,146,31,255],s=[153,153,153,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r},l={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},a={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},c={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},f={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},u={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1951],{73354(t,e,n){n.d(e,{a:()=>l,b:()=>c,c:()=>a,d:()=>i,e:()=>p,f:()=>f,l:()=>u,n:()=>d,t:()=>o});var r=n(40876),s=(n(44208),n(72727));function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=3,i=r){const o=(0,s.k)(t.length,r,3),a=(0,s.k)(e.length,i,3),c=Math.min(o,a),h=n[0],u=n[1],f=n[2],l=n[4],p=n[5],d=n[6],m=n[8],g=n[9],S=n[10],y=n[12],M=n[13],k=n[14];let E=0,v=0;for(let n=0;n<c;n++){const n=e[E],s=e[E+1],o=e[E+2];t[v]=h*n+l*s+m*o+y,t[v+1]=u*n+p*s+g*o+M,t[v+2]=f*n+d*s+S*o+k,E+=i,v+=r}return t}function a(t,e,n){c(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,r=3,i=r){const o=(0,s.k)(t.length,r,3),a=(0,s.k)(e.length,i,3),c=Math.min(o,a),h=n[0],u=n[1],f=n[2],l=n[3],p=n[4],d=n[5],m=n[6],g=n[7],S=n[8];let y=0,M=0;for(let n=0;n<c;n++){const n=e[y],s=e[y+1],o=e[y+2];t[M]=h*n+l*s+m*o,t[M+1]=u*n+p*s+g*o,t[M+2]=f*n+d*s+S*o,y+=i,M+=r}}function h(t,e,n,r=3,s=r){const i=Math.min(t.length/r,e.length/s);let o=0,a=0;for(let c=0;c<i;c++)t[a]=n*e[o],t[a+1]=n*e[o+1],t[a+2]=n*e[o+2],o+=s,a+=r;return t}function u(t,e,n,r){f(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function f(t,e,n,s,i=3,o=i){const a=Math.min(t.length/i,e.length/o);let c=0,h=0;const u=1/r.Tf;for(let r=0;r<a;r++)t[h]=s*(n*e[c])**u,t[h+1]=s*(n*e[c+1])**u,t[h+2]=s*(n*e[c+2])**u,c+=o,h+=i}function l(t,e,n,r=3,i=r){const o=(0,s.k)(t.length,r,3),a=(0,s.k)(e.length,i,3),c=Math.min(o,a);let h=0,u=0;for(let s=0;s<c;s++)t[u]=e[h]+n[0],t[u+1]=e[h+1]+n[1],t[u+2]=e[h+2]+n[2],h+=i,u+=r;return t}function p(t,e){d(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function d(t,e,n=3,r=n){const s=Math.min(t.length/n,e.length/r);let i=0,o=0;for(let a=0;a<s;a++){const s=e[i],a=e[i+1],c=e[i+2],h=s*s+a*a+c*c;if(h>0){const e=1/Math.sqrt(h);t[o]=e*s,t[o+1]=e*a,t[o+2]=e*c}i+=r,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:f,linearToSRGBView:u,normalize:d,normalizeView:p,scale:h,scaleView:function(t,e,n){h(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),s=t.typedBuffer,i=t.typedBufferStride,o=e.typedBuffer,a=e.typedBufferStride;let c=0,h=0;for(let t=0;t<r;t++)s[h]=o[c]>>n,s[h+1]=o[c+1]>>n,s[h+2]=o[c+2]>>n,c+=a,h+=i},transformMat3:c,transformMat3View:a,transformMat4:o,transformMat4View:i,translate:l},Symbol.toStringTag,{value:"Module"}))},69052(t,e,n){n.d(e,{hr:()=>s,ie:()=>c,uC:()=>a});var r=n(34727);class s{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,n=!1){return i(this.range,this.min,this.max,t,e,n)}clamp(t,e=0){return(0,r.qE)(t-e,this.min,this.max)+e}monotonic(t,e,n){return t<e?e:e+o(this.range,t-e,n)}minimalMonotonic(t,e,n){return i(this.range,t,t+this.range,e,n)}center(t,e,n){return e=this.monotonic(t,e,n),this.normalize((t+e)/2,n)}diff(t,e,n){return this.monotonic(t,e,n)-t}shortestSignedDiff(t,e){t=this.normalize(t);const n=(e=this.normalize(e))-t,r=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(n)<Math.abs(r)?n:r}contains(t,e,n){return e=this.minimalMonotonic(t,e),(n=this.minimalMonotonic(t,n))>t&&n<e}}function i(t,e,n,r,s=0,i=!1){return(r-=s)<e?r+=o(t,e-r):r>n&&(r-=o(t,r-n)),i&&r===n&&(r=e),r+s}function o(t,e,n=0){return Math.ceil((e-n)/t)*t+n}const a=new s(0,2*Math.PI),c=(new s(-Math.PI,Math.PI),new s(0,360))},69397(t,e,n){n.d(e,{Qf:()=>c,Qh:()=>o,RS:()=>s,Ul:()=>p,i5:()=>l,lM:()=>i,qK:()=>u});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=u;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=f;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=u;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):u;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const u=32,f=16,l=145,p=64},72727(t,e,n){function r(t,e,n){if(e<=0)return 0;const r=t-n;return r<0?0:Math.floor(r/e)+1}n.d(e,{k:()=>r}),n(53966)},31411(t,e,n){n.d(e,{GS:()=>w,gh:()=>b});var r=n(49186),s=n(56512),i=n(65864),o=n(4305),a=n(50954),c=n(52006),h=n(49663),u=n(46068),f=n(15507);const l=1e-6,p=[0,0];function d(t){return{maxSegmentLength:t.maxSegmentLength??0,maxDeviation:t.maxDeviation??0,maxSegmentsPerCurve:t.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(t.minSegmentsPerCurve??1,1)}}class m{constructor(t,e){this.curveStart=t,this.curveEnd=e,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(t,e){this.tStart=0,this.arcStart=t,this.tEndStack.push(1),this.arcEndStack.push(e)}splitAt(t){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(t),this.arcEndStack.push(this.interpolate(t))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(t,{maxDeviation:e,maxSegmentLength:n,maxSegmentsPerCurve:r,minSegmentsPerCurve:s}){const i=n*n,o=e*e,a=1/r,c=this.interpolate(0),h=this.interpolate(1);(0,f.kb)(this.curveStart,c)>l&&t.push(c),this.initialize(c,h);const u=1/s;for(let t=s-1;t>0;t--){const e=t*u;this.pop(),this.splitAt(e)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<a||(0===i||!isFinite(i)||(0,f.kb)(this.arcStart,this.arcEnd)<i)&&(0===o||!isFinite(o)||this.getDeviation2()<o)?(t.push(this.arcEnd),this.next()):this.splitInHalf();return(0,f.kb)(this.curveEnd,h)>l&&t.push([...this.curveEnd]),t}}class g extends m{constructor(t,e){const[n,r,s]=e.b;super(t,n),this._controlPointsStack=[],this._curveControlPoints=[r,s],this._arcControlPoints=[r,s],this._controlPointsStack.push(this._arcControlPoints)}splitAt(t){const{arcStart:e,arcEnd:n,tStart:r,tEnd:s}=this,[i,o]=this._arcControlPoints,a=(t-r)/(s-r),c=(0,f.RS)([],e,i,a),h=(0,f.RS)(p,i,o,a),u=(0,f.RS)([],o,n,a),l=(0,f.RS)([],c,h,a),d=(0,f.RS)([],h,u,a),m=(0,f.RS)([],l,d,a);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([d,u]),this.tEndStack.push(t),this.arcEndStack.push(m),this._arcControlPoints[0]=c,this._arcControlPoints[1]=l,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(t){const{curveStart:e,curveEnd:n}=this,[r,s]=this._curveControlPoints;return(0,o.B4)(e,r,s,n,t)}getDeviation2(){const{arcStart:t,arcEnd:e}=this,[n,r]=this._arcControlPoints;return Math.max((0,f.yE)(n,t,e),(0,f.yE)(r,t,e))}}class S extends m{constructor(t,e){const[n]=e.a;super(t,n),this._derivedEllipse=(0,u.SW)(t,e)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(t){return(0,u.Uk)(this._derivedEllipse,t)}getDeviation2(){return(0,f.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function y(t,e,n,{cx:r,cy:s,radius:i,thetaStart:o,thetaEnd:a,isInvalid:c},{maxDeviation:h,maxSegmentLength:u,maxSegmentsPerCurve:p,minSegmentsPerCurve:d}){if(c)return t.push([...n]),t;const m=2*i,g=[r+i*Math.cos(o),s+i*Math.sin(o)],S=[r+i*Math.cos(a),s+i*Math.sin(a)];(0,f.kb)(e,g)>l&&t.push(g);const y=Math.abs(a-o),M=u>0&&u<m?2*Math.asin(u/m):y,k=h>0&&h<=i?2*Math.acos(1-h/i):y,E=Math.min(M,k),v=Math.min(p,Math.max(d,Math.ceil(Math.abs(y/E)))),x=1/v;for(let e=1;e<v;e++){const n=e*x,c=o*(1-n)+a*n;t.push([r+i*Math.cos(c),s+i*Math.sin(c)])}return t.push(S),(0,f.kb)(n,S)>l&&t.push([...n]),t}function M(t,e,n,r){return new g(e,n).densify(t,r)}function k(t,e,n,r){const s=(0,a.pM)(e,n),[i]=n.c;return y(t,e,i,s,r)}function E(t,e,n,r){const s=(0,h.io)(e,n),[i]=n.a;return y(t,e,i,s,r)}function v(t,e,n,r){const[s,i,o,a,c,h,u]=n.a;return 0===h||0===u?(t.push([...s]),t):new S(e,n).densify(t,r)}function x(t,e,n,r){return(0,c.Xq)(n)?(t.push([...n]),t):(0,c.n1)(n)?M(t,e,n,r):(0,c.aO)(n)?k(t,e,n,r):(0,c.DA)(n)?E(t,e,n,r):v(t,e,n,r)}function w(t,e={}){if(!(0,c.Ed)(t))return t;const n=d(e),r=(0,c.FD)(t),s=[];for(const t of r){const e=[];for(let r=0;r<t.length-1;r++){const s=r+1,i=[...(0,c.yP)(t[r])];0===r&&e.push(i),x(e,i,t[s],n)}s.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},paths:s,spatialReference:t.spatialReference}:{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},rings:s,spatialReference:t.spatialReference}}const R=(0,s.B)(t=>({maxDeviation:0,maxSegmentLength:100*t,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function b(t,e,s){const o=new Set(e);return await async function(t,e,s){let i=null;for(const o of t)if(o&&(0,c.Ed)(o)&&null==o.spatialReference.xyTolerance&&(0,c.V8)(o,e)){const t=o.spatialReference;if(!t)throw new r.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const e=P(t);if(s.has(e))o.spatialReference=s.get(e);else{i||(i=await Promise.all([n.e(6042),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(6312)]).then(n.bind(n,78125)));const a=i.fromSpatialReference(t),c=a?.getTolerance();if(null==c)throw new r.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const h=o.spatialReference.clone();h.read({xyTolerance:c}),o.spatialReference=h,s.set(e,h)}}}(t,o,s),t.map(t=>{if(!t||!(0,c.Ed)(t))return t;const n=t.spatialReference.xyTolerance;if(null==n)return t;const r=R(n);return(0,i.rS)(function(t,e,n){if(!(0,c.Ed)(t))return t;const r=new Set(e),s=d(n),i=(0,c.FD)(t),o=[];let a=!1;for(const t of i){const e=[];for(let n=0;n<t.length-1;n++){const i=n+1,o=[...(0,c.yP)(t[n])];0===n&&e.push(o);const h=t[i];(0,c.Xq)(h)?e.push([...h]):(0,c.n1)(h)&&!r.has("cubic-bezier")?M(e,o,h,s):(0,c.aO)(h)&&!r.has("circular-arc")?k(e,o,h,s):(0,c.DA)(h)&&!r.has("elliptic-arc")?E(e,o,h,s):(0,c.wY)(h)&&!r.has("elliptic-arc")?v(e,o,h,s):(e.push((0,c.tk)(h)),a=!0)}o.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},spatialReference:t.spatialReference,...a?{curvePaths:o}:{paths:o}}:{hasZ:t.hasZ,hasM:t.hasM,spatialReference:t.spatialReference,...a?{curveRings:o}:{rings:o}}}(t,e,r))})}function P(t){if(null!=t.wkid)return`${t.wkid}`;if(null!=t.wkt)return t.wkt;const e="toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():t;return JSON.stringify(e)}},17136(t,e,n){n.d(e,{Y_:()=>_,O7:()=>A,el:()=>P});var r=n(92602),s=n(69052),i=n(49186),o=n(53966),a=n(39829),c=n(82799),h=n(16930),u=n(80754),f=n(21325),l=n(28735),p=n(52006),d=n(31411),m=n(11254),g=n(60408),S=n(65864),y=n(2272),M=n(84952),k=n(92300);const E=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function v(t){return"polygon"===t[0].type}function x(t){return"polyline"===t[0].type}function w(t,e,n){const r=1e6;if(e){const e=(0,p.Ed)(t)?(0,d.GS)(t,{maxSegmentLength:r}):function(t,e){if(!(t instanceof c.A||t instanceof a.A)){const t="straightLineDensify: the input geometry is neither polyline nor polygon";throw E().error(t),new i.A("internal:geometry",t)}const n=(0,u.r8)(t),r=[];for(const t of n){const n=[];r.push(n),n.push([t[0][0],t[0][1]]);for(let r=0;r<t.length-1;r++){const s=t[r][0],i=t[r][1],o=t[r+1][0],a=t[r+1][1],c=Math.sqrt((o-s)*(o-s)+(a-i)*(a-i)),h=(a-i)/c,u=(o-s)/c,f=c/e;if(f>1){for(let t=1;t<=f-1;t++){const r=t*e,o=u*r+s,a=h*r+i;n.push([o,a])}const t=(c+Math.floor(f-1)*e)/2,r=u*t+s,o=h*t+i;n.push([r,o])}n.push([o,a])}}return function(t){return"polygon"===t.type}(t)?new a.A({rings:r,spatialReference:t.spatialReference}):new c.A({paths:r,spatialReference:t.spatialReference})}(t,r);t=(0,l.ci)(e,!0)}return n&&(t=(0,u.kS)(t,n)),t}function R(t,e,n){if(Array.isArray(t)){const r=t[0];if(r>e){const n=(0,u.kd)(r,e);t[0]=r+n*(-2*e)}else if(r<n){const e=(0,u.kd)(r,n);t[0]=r+e*(-2*n)}}else{const r=t.x;if(r>e){const n=(0,u.kd)(r,e);t=t.clone().offset(n*(-2*e),0)}else if(r<n){const e=(0,u.kd)(r,n);t=t.clone().offset(e*(-2*n),0)}}return t}function b(t,e){let n=-1;for(let r=0;r<e.cutIndexes.length;r++){const s=e.cutIndexes[r],i=e.geometries[r],o=(0,u.r8)(i);for(let t=0;t<o.length;t++){const e=o[t];e.some(n=>{if(n[0]<180)return!0;{let n=0;for(let t=0;t<e.length;t++){const r=e[t][0];n=r>n?r:n}n=Number(n.toFixed(9));const r=-360*(0,u.kd)(n,180);for(let n=0;n<e.length;n++){const e=i.getPoint(t,n);i.setPoint(t,n,e.clone().offset(r,0))}return!0}})}if(s===n){if(v(t))for(const e of(0,u.r8)(i))t[s]=t[s].addRing(e);else if(x(t))for(const e of(0,u.r8)(i))t[s]=t[s].addPath(e)}else n=s,t[s]=i}return t}async function P(t,e,n){if(!Array.isArray(t))return P([t],e);e&&"string"!=typeof e&&E().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const s="string"==typeof e?e:e?.url??r.A.geometryServiceUrl;let i,o,h,p,d,v,x,A,B=0;const _=[],C=[];for(const e of t)if(null!=e)if(i||(i=e.spatialReference,o=(0,f.Vp)(i),h=i.isWebMercator,v=h?102100:4326,p=u.j7[v].maxX,d=u.j7[v].minX,x=u.j7[v].plus180Line,A=u.j7[v].minus180Line),o)if("mesh"===e.type)C.push(e);else if("point"===e.type)C.push(R(e.clone(),p,d));else if("multipoint"===e.type){const t=e.clone();t.points=t.points.map(t=>R(t,p,d)),C.push(t)}else if("extent"===e.type){const t=e.clone()._normalize(!1,!1,o);C.push(t.rings?new a.A(t):t)}else if(e.extent){const t=e.extent,n=(0,u.kd)(t.xmin,d)*(2*p);let r=0===n?e.clone():(0,u.kS)(e.clone(),n);t.offset(n,0);let{xmin:s,xmax:i}=t;s=Number(s.toFixed(9)),i=Number(i.toFixed(9)),t.intersects(x)&&i!==p?(B=i>B?i:B,r=w(r,h),_.push(r),C.push("cut")):t.intersects(A)&&s!==d?(B=i*(2*p)>B?i*(2*p):B,r=w(r,h,360),_.push(r),C.push("cut")):C.push(r)}else C.push(e.clone());else C.push(e);else C.push(e);let O=(0,u.kd)(B,p),D=-90;const L=O,T=new c.A;for(;O>0;){const t=360*O-180;T.addPath([[t,D],[t,-1*D]]),D*=-1,O--}if(_.length>0&&L>0){const e=b(_,await async function(t,e,n,r){const s=(0,y.Dl)(t),i=e[0].spatialReference,o={...r,responseType:"json",query:{...s.query,f:"json",sr:(0,f.YX)(i),target:JSON.stringify({geometryType:(0,g.$B)(e[0]),geometries:e}),cutter:JSON.stringify(n)}},a=await(0,m.A)(s.path+"/cut",o),{cutIndexes:c,geometries:h=[]}=a.data;return{cutIndexes:c,geometries:h.map(t=>{const e=(0,S.rS)(t);return e.spatialReference=i,e})}}(s,_,T,n)),r=[],i=[];for(let n=0;n<C.length;n++){const s=C[n];if("cut"!==s)i.push(s);else{const s=e.shift(),o=t[n];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&s.rings.length>=o.rings.length?(r.push(s),i.push("simplify")):i.push(h?(0,l.Gh)(s):s)}}if(!r.length)return i;const o=await async function(t,e,n){const r="string"==typeof t?(0,M.An)(t):t,s=e[0].spatialReference,i=(0,g.$B)(e[0]),o={...n,query:{...r.query,f:"json",sr:(0,f.YX)(s),geometries:JSON.stringify((0,k.X)(e))}},{data:a}=await(0,m.A)(r.path+"/simplify",o);return(0,k.V)(a.geometries,i,s)}(s,r,n),a=[];for(let t=0;t<i.length;t++){const e=i[t];"simplify"!==e?a.push(e):a.push(h?(0,l.Gh)(o.shift()):o.shift())}return a}const z=[];for(let t=0;t<C.length;t++){const e=C[t];if("cut"!==e)z.push(e);else{const t=_.shift();z.push(!0===h?(0,l.Gh)(t):t)}}return z}function A(t,e,n){const r=(0,f.Vp)(n);if(null==r)return t;const[s,i]=r.valid,o=2*i;let a=0,c=0;e>i?a=Math.ceil(Math.abs(e-i)/o):e<s&&(a=-Math.ceil(Math.abs(e-s)/o)),t>i?c=Math.ceil(Math.abs(t-i)/o):t<s&&(c=-Math.ceil(Math.abs(t-s)/o));let h=t+(a-c)*o;const u=h-e;return u>i?h-=o:u<s&&(h+=o),h}function B(t){const e=(0,f.Vp)(t);if(null==e)return null;const[n,r]=e.valid;return new s.hr(n,r)}const _=B(h.A.WGS84);B(h.A.WebMercator)},80754(t,e,n){n.d(e,{j7:()=>a,kS:()=>h,kd:()=>c,r8:()=>u});var r=n(82799),s=n(16930),i=n(60408),o=n(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:s.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:s.A.WGS84})}};function c(t,e){return Math.ceil((t-e)/(2*e))}function h(t,e){if((0,o.Ed)(t))for(const n of function(t){return(0,i.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of n){if((0,o.aO)(t)){const[n,r]=t.c;n[0]+=e,r[0]+=e;continue}if((0,o.FG)(t)){const[n,r]=t.a;n[0]+=e,r[0]+=e;continue}if((0,o.n1)(t)){const[n,r,s]=t.b;n[0]+=e,r[0]+=e,s[0]+=e;continue}t[0]+=e}for(const n of u(t))for(const t of n)t[0]+=e;return t}function u(t){return(0,i.Bi)(t)?t.rings:t.paths}},38969(t,e,n){n.d(e,{i:()=>s});var r=n(37955);function s(t,e){return new Promise((n,s)=>{t.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?n():(e((0,r.Oo)(t,"canplay",n)),e((0,r.Oo)(t,"error",s)))})}},92300(t,e,n){n.d(e,{V:()=>o,X:()=>i});var r=n(60408),s=n(65864);function i(t){return{geometryType:(0,r.$B)(t[0]),geometries:t.map(t=>t.toJSON())}}function o(t,e,n){const r=(0,s.xD)(e);return t.map(t=>{const e=r.fromJSON(t);return e.spatialReference=n,e})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5458],{46140(e,t,n){n.d(t,{A:()=>i});var r=n(49186);class i{constructor(e,t,n=""){this.major=e,this.minor=t,this._context=n}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",n=this._context&&this._context+" ";throw new r.A(t+"unsupported-version",`Required major ${n}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new i(this.major,this.minor,this._context)}static parse(e,t=""){const[n,o]=e.split("."),s=/^\s*\d+\s*$/;if(!n?.match||!s.test(n))throw new r.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!o?.match||!s.test(o))throw new r.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const a=parseInt(n,10),l=parseInt(o,10);return new i(a,l,t)}}},6797(e,t,n){n.d(t,{Ui:()=>h});var r=n(69622),i=n(7762),o=n(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof r.A}function l(e){return e instanceof i.A?Object.keys(e.items):a(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function c(e,t){return e instanceof i.A?e.items[t]:e[t]}function u(e){return e?e.declaredClass:null}function d(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const r=l(e),i=l(t);if(0===r.length&&0===i.length)return;if(!r.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!r.includes(e)),h=r.filter(e=>!i.includes(e)),p=r.filter(n=>i.includes(n)&&c(e,n)!==c(t,n)).concat(o,h).sort(),f=u(e);if(f&&s.has(f)&&p.length)return{type:"complete",oldValue:e,newValue:t};let g;const m=a(e)&&a(t);for(const r of p){const i=c(e,r),o=c(t,r);let s;if((m||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(n&&n[r]&&"function"==typeof n[r])s=n[r]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&u(i)===u(o)?d(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=g?g.diff[r]=s:g={type:"partial",diff:{[r]:s}})}}return g}function h(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&u(e)!==u(t)?{type:"complete",oldValue:e,newValue:t}:d(e,t)}},25747(e,t,n){n.d(t,{A:()=>c});var r=n(5482),i=n(69540),o=n(25482),s=n(91429),a=n(64108),l=n(9075);let c=class extends((0,o.T)(i.Pw)){constructor(e){super(e),this.type="fabric",this.refreshInterval=5e3/6e4}};(0,r.Cg)([(0,s.MZ)({type:["fabric"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{read:!1,write:{ignoreOrigin:!0}}})],c.prototype,"workspace",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{read:!1,write:{ignoreOrigin:!0}}})],c.prototype,"database",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{read:!1,write:{ignoreOrigin:!0}}})],c.prototype,"table",void 0),(0,r.Cg)([(0,s.MZ)({type:l.A,json:{read:!1,write:{ignoreOrigin:!0}}})],c.prototype,"geometryEncoding",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{read:!1,write:{ignoreOrigin:!0}}})],c.prototype,"refreshInterval",void 0),c=(0,r.Cg)([(0,a.$)("esri.layers.support.FabricKustoSource")],c)},41560(e,t,n){n.d(t,{Ch:()=>s,mW:()=>o});var r=n(34727),i=n(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,n){const o=function(e){if("manual"===c(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:r}of e.filters)t[0]=Math.max(t[0],u(n)),t[1]=Math.min(t[1],d(r));return t}(e);if(o&&((0,r.gg)(t,o[0])||(0,r.ZH)(n,o[1])))return"";const s=Array.from(a(e,t,n)),l=function(e,t,n){if(0===e.length)return!0;const i=u(e.at(0)?.minScale),o=d(e.at(-1)?.maxScale);if((0,r.ZH)(i,t)||(0,r.gg)(o,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],i=e[t+1];if((0,r.ZH)(u(i.minScale),d(n.maxScale)))return!0}return!1}(s,t,n)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,n){if("manual"===c(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)l(r.minScale,r.maxScale,t,n)&&(yield r)}}function l(e,t,n,i){return e=u(e),n=u(n),t=d(t),!(!(0,r.Sp)(n,e)&&(i??n)>e||(0,r.Hx)(t,n)||void 0!==i&&(0,r.Sp)(i,e))}function c(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},9916(e,t,n){n.d(t,{ZF:()=>c,iD:()=>h,xw:()=>d});var r=n(11254),i=n(49186),o=n(25747),s=n(20437),a=n(9075),l=n(54625);async function c(e,t,n,s,c={}){if(s.database||(s.database=await async function(e,t){const{data:n}=await(0,r.A)(`https://api.fabric.microsoft.com/v1/workspaces/${e}/kqlDatabases/${t}`,{responseType:"json"});if(null==n)throw new i.A("kusto:connection",`KQL database '${t}' was not found in workspace '${e}'`);return n}(e,t)),s.fields?.length||(s.fields=await async function(e,t,n={}){const o=await async function(e,t,n={}){const o=e.properties.queryServiceUri;return function(e){const t=e.Tables[0];if(null==t||0===t.Rows.length)throw new i.A("kusto:invalid-schema-response","Kusto schema response did not include any rows");const[n,r]=t.Rows[0];if("string"!=typeof r)throw new i.A("kusto:invalid-schema-response","Kusto schema response did not include a schema string");return JSON.parse(r)}((await(0,r.A)(`${o}/v1/rest/mgmt`,{responseType:"json",method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({db:e.displayName,csl:`.show table ${d(t)} schema as json`}),signal:n.signal})).data)}(e,t,n),s=[];for(const e of o.OrderedColumns){const t=u(e);t&&s.push(t)}return s}(s.database,n,c)),s.source||(s.source=new o.A({workspace:e,database:t,table:n})),!s.source.geometryEncoding){const e=(0,l.i_)(s.fields.map(e=>e.name));e.latitudeFieldName&&e.longitudeFieldName&&(s.source.geometryEncoding=new a.A({xField:e.longitudeFieldName,yField:e.latitudeFieldName}))}return s}function u(e){const t=function(e){switch(e){case"bool":return"small-integer";case"guid":case"string":return"string";case"int":return"integer";case"long":return"big-integer";case"real":return"double";case"dynamic":case"datetime":case"decimal":case"timespan":return null}}(e.CslType);return t?new s.A({name:e.Name,type:t}):null}function d(e){return`['${e.replaceAll("'","''")}']`}function h(e){return e.replaceAll("'","''")}},32730(e,t,n){n.d(t,{BI:()=>p,D3:()=>d,XJ:()=>h,lc:()=>u,mX:()=>g,rU:()=>f,tH:()=>_,vK:()=>v,zA:()=>x});var r=n(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),a=new RegExp(o,"ig"),l=new RegExp("^"+i,"i"),c=new RegExp(o+"$","i");function u(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function d(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function h(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=u(e.labelExpression),t.type="conventional"),t}function p(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return g(t.expression);case"arcade":return t.expression}return null}function f(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return _(t.expression)}return null}function g(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=l.test(t)?t.replace(l,""):'"'+t,t=c.test(t)?t.replace(c,""):t+'"',t=t.replaceAll(s,'" + ').replaceAll(a,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,y=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,w=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function _(e){if(!e)return null;let t=y.exec(e)||w.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}const v=Symbol("LabelClassInstance");function x(e){return null!=e&&"object"==typeof e&&v in e}},72691(e,t,n){n.d(t,{Aw:()=>s,DN:()=>r,EA:()=>o,Gm:()=>i,xq:()=>a});const r="__esri_stream_id__",i="__esri_timestamp__",o="__esri_track_part__",s="__esri_time_received__",a="__esri_track_line__"},73681(e,t,n){n.d(t,{n:()=>l});var r=n(49186),i=n(53966),o=n(46140),s=n(95466),a=n(55674);class l{static async from(e,t,n){const s=e.dictionary_version?o.A.parse(e.dictionary_version):null,u=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const h=new Set(e.authoringInfo.symbol);for(const e of Object.keys(n))h.delete(e);h.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:h});const p=await(0,a.xR)(e.expression,null,d);if(!p)throw new r.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const f=!s||!s.greaterEqual(4,0);f&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:s});const g=new c(n,f);return new l(f,u,p,g)}constructor(e,t,n,r){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=n,this._reader=r}get itemNames(){return this._itemNames}evaluate(e,t,n,r){try{return this._reader.bind(e,n,r),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new s.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new s.A(t)}}class c extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},55674(e,t,n){n.d(t,{Ad:()=>p,Gj:()=>m,QY:()=>h,lL:()=>y,xR:()=>f});var r=n(66131),i=n(49186),o=(n(44208),n(44729)),s=n(15032),a=n(65864),l=n(95466),c=n(43668),u=n(98623);const d=["geometry","scale","timeProperties"];function h(e,t){if(null!=t)for(const n of d)t.hasArcadeDependency(n)&&e.add(n);return e}function p(e,t){return g.create(e,t,null,["$feature","$view"])}function f(e,t,n){return g.create(e,t,n,["$feature","$view","$config"])}class g{static async create(e,t,n,r){const{arcade:o,Dictionary:s}=await(0,c.l)();let a;try{a=o.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=o.scriptUsesGeometryEngine(a);l&&await o.enableGeometrySupport(),await o.loadDependentModules(new Set,a,null,!1,l);const u={vars:r.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},d=o.compileScript(a,u);let h=null;null!=n&&(h=new s(n),h.immutable=!0);const p=new s;return p.immutable=!1,p.setField("scale",0),new g(e,o,a,d,t,p,h,s)}constructor(e,t,n,r,i,o,s,a){this.script=e,this._arcade=t,this._syntaxTree=n,this._compiled=r,this._spatialReference=i,this._viewDict=o,this._configDict=s,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const n=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:o}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=n?r.lY.epochToArcadeDate(i,n):r.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=o?null!=n?r.lY.epochToArcadeDate(o,n):r.lY.unknownEpochToArcadeDate(o):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:n})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,n){const r=t??new l.A(y(e.attributes));this._boundTarget=e,this._boundSchema.fields=r.fields,this._boundSchema.fieldsIndex=r,this._boundSchema.spatialReference=n}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===u.L5}field(e,t=!0){const n=this._getField(e);if(n){const t=this._boundTarget.attributes[n.name];if(null==t)return null;switch(n.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return s.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return r.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?r.lY.unknownEpochToArcadeDate(t):r.lY.epochToArcadeDate(t,this.contextTimeZone??u.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function y(e){const t=[];for(const n in e)t.push({name:n,alias:n,type:"string"==typeof e[n]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},11831(e,t,n){n.d(t,{A:()=>c});var r,i=n(5482),o=n(25482),s=n(90629),a=n(91429),l=n(5760);let c=r=class extends o.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,s.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,a.MZ)({type:l.h9,json:{default:"none",write:!0}})],c.prototype,"decoration",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"family",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:(e,t,n)=>({enabled:!n||!n.textSymbol3D})}}})],c.prototype,"size",null),(0,i.Cg)([(0,a.wg)("size")],c.prototype,"castSize",null),(0,i.Cg)([(0,a.MZ)({type:l._R,json:{default:"normal",write:!0}})],c.prototype,"style",void 0),(0,i.Cg)([(0,a.MZ)({type:l.NM,json:{default:"normal",write:!0}})],c.prototype,"weight",void 0),c=r=(0,i.Cg)([(0,a.$K)("esri.symbols.Font")],c)},68249(e,t,n){n.d(t,{A:()=>f});var r,i=n(5482),o=n(68197),s=n(4718),a=n(90629),l=n(91429),c=n(11831),u=n(20378),d=n(5760),h=n(93223),p=n(43937);let f=r=class extends u.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new c.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,n){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.text=e),t&&(r.font=t),n&&(r.color=n),r}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,n,r){r&&"string"!=typeof r?r.origin:t[n]=e}castLineWidth(e){return(0,a.cr)(e)}writeLineHeight(e,t,n,r){r&&"string"!=typeof r?r.origin:t[n]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,s.o8)(this.backgroundColor),borderLineColor:(0,s.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,s.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,s.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i.Cg)([(0,l.MZ)({type:o.A,json:{write:!0}})],f.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,l.MZ)({type:o.A,json:{write:!0}})],f.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0},cast:a.cr})],f.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,l.MZ)({type:c.A,json:{write:!0}})],f.prototype,"font",void 0),(0,i.Cg)([(0,l.MZ)({...d.rM,json:{write:!0}})],f.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"kerning",void 0),(0,i.Cg)([(0,l.MZ)({type:o.A,json:{write:!0}})],f.prototype,"haloColor",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,cast:a.cr,json:{write:!0}})],f.prototype,"haloSize",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"rotated",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],f.prototype,"text",void 0),(0,i.Cg)([(0,h.e)({esriTS:"text"},{readOnly:!0})],f.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({...d.x0,json:{write:!0}})],f.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,cast:a.cr,json:{write:!0}})],f.prototype,"xoffset",null),(0,i.Cg)([(0,l.MZ)({type:Number,cast:a.cr,json:{write:!0}})],f.prototype,"yoffset",null),(0,i.Cg)([(0,l.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],f.prototype,"angle",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,i.Cg)([(0,l.MZ)({type:Number})],f.prototype,"lineWidth",null),(0,i.Cg)([(0,p.K)("lineWidth")],f.prototype,"writeLineWidth",null),(0,i.Cg)([(0,l.wg)("lineWidth")],f.prototype,"castLineWidth",null),(0,i.Cg)([(0,l.MZ)(d.Tb)],f.prototype,"lineHeight",void 0),(0,i.Cg)([(0,p.K)("lineHeight")],f.prototype,"writeLineHeight",null),f=r=(0,i.Cg)([(0,l.$K)("esri.symbols.TextSymbol")],f)},5760(e,t,n){n.d(t,{NM:()=>a,Tb:()=>l,_R:()=>s,h9:()=>o,rM:()=>c,x0:()=>u,y7:()=>d});var r=n(34727),i=n(56507);const o=["none","underline","line-through"],s=["normal","italic","oblique"],a=["normal","lighter","bold","bolder"],l={type:Number,cast:e=>{const t=(0,i.GB)(e);return 0===t?1:(0,r.qE)(t,.1,4)},nonNullable:!0},c={type:["left","right","center"],nonNullable:!0},u={type:["baseline","top","middle","bottom"],nonNullable:!0},d=8}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,3931,6061,6312,8125,9598],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},70722(t,e,r){r.d(e,{d:()=>a,e:()=>i});var s=r(49074),n=r(78125);function i(t,e){const r=(0,n.getSpatialReference)(t);return(0,n.toGeometry)((0,s.g7)((0,n.fromGeometry)(t),(0,n.fromGeometry)(e),(0,n.fromSpatialReference)(r)),r)}const o=(0,s.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:function(t,e){const r=t.map(n.fromGeometry),i=(0,n.getSpatialReference)(t);return(0,s.zo)(r,(0,n.fromGeometry)(e),(0,n.fromSpatialReference)(i)).map(t=>(0,n.toGeometry)(t,i))},supportsCurves:o},Symbol.toStringTag,{value:"Module"}))},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>n,Ul:()=>g,i5:()=>f,lM:()=>i,qK:()=>c});var s=r(34275);const n=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=l;for(let s=0;s<e;s++)r+=a(t[s]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return n;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,n):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,g=64},87992(t,e,r){r.d(e,{JR:()=>Z,ME:()=>E,MY:()=>S,NO:()=>C,Nh:()=>V,V2:()=>_,_s:()=>b,e6:()=>G,gh:()=>P,tr:()=>F,uX:()=>x});var s=r(5482),n=r(69397),i=r(16930),o=(r(70328),r(19419)),a=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),f=r(52006),g=r(49663),m=r(46068),p=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=g}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?n.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:o}=this,a=_(t,e,r,s,n,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,r+1)),a.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(r.subarray(0,e),0),a.segmentParams.set(s.subarray(0,n),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=A(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new M(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class M{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=A(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],o=e[r++],a=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,c]]};const l=2&s?0:1,f=1&s?0:1;return{a:[this.end,[a,u],l,f,o,n,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,s.mS)(r,new w(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:a}=t,u=R(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new w(t,["vertexZ","vertexM"]),!1);const n=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,f.yP)(r)}const[i,a,h,c]=n;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,o;t=s=1/0,i=o=-1/0;for(let e=0;e<r;++e){const r=n[2*e],a=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,a),o=Math.max(o,a)}e={xmin:t,ymin:s,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function E(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:o,m:a}=t,u=[n,i];null!=o&&u.push(o),null!=a&&u.push(a),r=[[u]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,O(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const n=_(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=n;function l(t){u[2*m]=t[0],u[2*m+1]=t[1],i&&(h[m]=t[2]),o&&(c[m]=t[g]),++m}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let m=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])u[2*m]=t,u[2*m+1]=e,++m;return n}for(const t of r[0])l(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,f.Ed)(t)){for(const t of r){if(x[y++]=m,0===t.length)continue;let e=t.length;if(p&&O(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];u[2*m]=e,u[2*m+1]=s,++m}}return x[y]=m,n}function d(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*X;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[y++]=m,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];l(r);const i=m-1;(0,f.wY)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.a[0]):(0,f.DA)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,f.aO)(s)?(d(10),++n.segmentCountArc,v=G(r,s,n,i,v),r=s.c[0]):(0,f.n1)(s)?(d(4),++n.segmentCountBezier,v=F(0,s,n,i,v),r=s.b[0]):r=s}p&&O(e,r)||l(r)}return n.partOffsets[y]=m,n}function P(t){const e=A(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,o=R(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<r;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:n,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;a<s;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:o}:{paths:r,hasZ:n,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:n,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:o}}function V(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);s??=!1,n??=!1;const h=_(t,u,o,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],s&&(h.vertexZ[t]=r[e++]),n&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(s)+Number(n);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(a);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],s&&(h.vertexZ[t]=r[l++]),n&&(h.vertexM[t]=r[l++]);a&&(l+=c)}return h}function Z({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new p.A([],[],a,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),a&&h.coords.push(s[t]),u&&h.coords.push(n[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),a&&h.coords.push(s[t]),u&&h.coords.push(n[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function S(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class w{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function R({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function A({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function O(t,e){return t.every((t,r)=>t===e[r])}function _(t,e,r,s,n,i,o,a){o??=0,a??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,s&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),n&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(z),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){r[i]=4,s[i]=o;const[a,[u,h],c,l,f,g,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,m.SW)(t,e),[d,v]=(0,m.Uk)(y,.5);return n[o++]=x,n[o++]=g,n[o++]=p,n[o++]=f,n[o++]=u,n[o++]=h,n[o++]=y.u2-y.u1,n[o++]=y.u1,n[o++]=d,n[o++]=v,o}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){r[i]=4,s[i]=o;const a=(0,g.io)(t,e);return I(a,4,...(0,h.mq)(a,.5),n,o)}function G(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){return r[i]=4,s[i]=o,I((0,c.pM)(t,e),0,...e.c[1],n,o)}function I(t,e,r,s,n,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=o,n[i++]=a,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function F(t,{b:[e,[r,s],[n,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=r,u[c++]=s,u[c++]=n,u[c++]=i,c}const X=1.61803,z=-1},93054(t,e,r){r.d(e,{execute:()=>s.e}),r(49074),r(78125);var s=r(70722)},49074(t,e,r){r.d(e,{fz:()=>u,g7:()=>o,zo:()=>a});var s=r(76061),n=(r(55537),r(15756));r(83661),r(88885),r(79187),r(95213);const i=new n.o;function o(t,e,r){return i.execute(t,e,r,null)}function a(t,e,r){const n=i.executeMany(new s.S(t),new s.S([e]),r,null);return Array.from(n)}function u(){return i.supportsCurves()}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>m,toExtent:()=>V,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>S,toPolygon:()=>w,toPolyline:()=>R});var s=r(83661),n=(r(79187),r(55537)),i=r(95213),o=r(88885),a=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const g="_gxVersion";function m(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(g)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(g,e)}return t.getCacheValue(g)}function y(t){if(!t.getCacheValue(g)){const e=new o.M,r=new i.P,s=t.points,n=t.hasM,a=t.hasZ,u=a?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),a&&r.setZ(i[2]??0),n&&r.setM(i[u]??NaN),e.add(r)}t.setCacheValue(g,e)}return t.getCacheValue(g)}function d(t){if(!t.getCacheValue(g)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(g,e)}return t.getCacheValue(g)}function v(t){if(!t.getCacheValue(g)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function M(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function C(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function E(t){return t.cache?(t.cache[g]??=(0,f.fromSpatialReference)(t),t.cache[g]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return S(t,e);case n.G.enumEnvelope:return V(t,e);case n.G.enumMultiPoint:return Z(t,e);case n.G.enumPolyline:return R(t,e);case n.G.enumPolygon:return w(t,e)}return null}function V(t,e){if(t.isEmpty())return null;const r=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(g,t),r}function Z(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),o=[],a=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,a);const r=[a.getX(),a.getY()];n&&r.push(a.getZ()),s&&r.push(a.getM()),o.push(r)}const h=new u.A({hasM:s,hasZ:n,points:o,spatialReference:e});return h.setCacheValue(g,t),h}function S(t,e){if(t instanceof s.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(g,t),r}function w(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}function R(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,o=s-e;return new n([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let o=1;o<r;o+=1){const r=s*(e+o),a=this.coords[r],u=this.coords[r+1];t+=-.5*(a-n)*(u+i),n=a,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,3931,6061,6312,8125],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},69397(t,e,r){r.d(e,{Qf:()=>h,Qh:()=>a,RS:()=>n,Ul:()=>g,i5:()=>f,lM:()=>i,qK:()=>c});var s=r(34275);const n=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return h(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return u(t,8);let r=l;for(let s=0;s<e;s++)r+=o(t[s]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return n;case"boolean":return 4;default:return 8}}function h(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+f:Array.isArray(e)?u(e,n):0:0),0)}function u(t,e){return l+t.length*e}const c=32,l=16,f=145,g=64},87992(t,e,r){r.d(e,{JR:()=>Z,ME:()=>E,MY:()=>w,NO:()=>C,Nh:()=>V,V2:()=>_,_s:()=>Y,e6:()=>I,gh:()=>P,tr:()=>X,uX:()=>x});var s=r(5482),n=r(69397),i=r(16930),a=(r(70328),r(19419)),o=r(60408),h=r(21325),u=r(513),c=r(50954),l=r(79567),f=r(52006),g=r(49663),m=r(46068),p=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=g}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?n.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=_(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:c}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,h.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=R(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new M(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class M{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=R(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],h=e[r++];r++,r++;const u=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[u,c]]};const l=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,h],l,f,a,n,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,s.mS)(r,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:o}=t,h=O(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new A(t,["vertexZ","vertexM"]),!1);const n=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,f.yP)(r)}const[i,o,u,c]=n;e={xmin:i,ymin:o,xmax:u,ymax:c,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:h}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function E(t){let e,r,s;if((0,o.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),r=[[h]],e=1}else(0,o.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,S(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const n=_(s,e,s.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:a,vertexXY:h,vertexZ:u,vertexM:c}=n;function l(t){h[2*m]=t[0],h[2*m+1]=t[1],i&&(u[m]=t[2]),a&&(c[m]=t[g]),++m}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let m=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])h[2*m]=t,h[2*m+1]=e,++m;return n}for(const t of r[0])l(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,f.Ed)(t)){for(const t of r){if(x[y++]=m,0===t.length)continue;let e=t.length;if(p&&S(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];h[2*m]=e,h[2*m+1]=s,++m}}return x[y]=m,n}function d(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[y++]=m,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];l(r);const i=m-1;(0,f.wY)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,f.DA)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.a[0]):(0,f.aO)(s)?(d(10),++n.segmentCountArc,v=I(r,s,n,i,v),r=s.c[0]):(0,f.n1)(s)?(d(4),++n.segmentCountBezier,v=X(0,s,n,i,v),r=s.b[0]):r=s}p&&S(e,r)||l(r)}return n.partOffsets[y]=m,n}function P(t){const e=R(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=O(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function V(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const u=_(t,h,a,s,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=r[e++],u.vertexXY[2*t+1]=r[e++],s&&(u.vertexZ[t]=r[e++]),n&&(u.vertexM[t]=r[e++]);return u}const c=2+Number(s)+Number(n);let l=0,f=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[f],i=e+t-Number(o);u.partOffsets[++f]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=r[l++],u.vertexXY[2*t+1]=r[l++],s&&(u.vertexZ[t]=r[l++]),n&&(u.vertexM[t]=r[l++]);o&&(l+=c)}return u}function Z({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new p.A([],[],o,h);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=u.coords.length;for(let t=l;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t]);if(c){const t=l;u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-f)/u.stride),l=i}return"point"===t&&(u.lengths.length=0),u}function w(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function O({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function R({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function S(t,e){return t.every((t,r)=>t===e[r])}function _(t,e,r,s,n,i,a,o){a??=0,o??=0;const h=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(r+1)*Int32Array.BYTES_PER_ELEMENT,u+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(u);let l=0;return h.vertexXY=new Float64Array(c,l,2*e),l+=h.vertexXY.byteLength,s&&(h.vertexZ=new Float64Array(c,l,e),l+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(c,l,e),l+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(c,l,h.segmentParamCount),l+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(c,l,e),h.segmentIndices.fill(N),l+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(c,l,r+1),l+=h.partOffsets.byteLength,h.partFlags=new Int8Array(c,l,r+1),l+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,r).fill(1)),i&&(h.segmentFlags=new Int8Array(c,l,e),h.segmentFlags.fill(1),l+=h.segmentFlags.byteLength),h}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[h,u],c,l,f,g,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,m.SW)(t,e),[d,v]=(0,m.Uk)(y,.5);return n[a++]=x,n[a++]=g,n[a++]=p,n[a++]=f,n[a++]=h,n[a++]=u,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=d,n[a++]=v,a}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,g.io)(t,e);return F(o,4,...(0,u.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,F((0,c.pM)(t,e),0,...e.c[1],n,a)}function F(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:c}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function X(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,c){return a[u]=2,o[u]=c,h[c++]=r,h[c++]=s,h[c++]=n,h[c++]=i,c}const G=1.61803,N=-1},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>m,toExtent:()=>V,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>w,toPolygon:()=>A,toPolyline:()=>O});var s=r(83661),n=(r(79187),r(55537)),i=r(95213),a=r(88885),o=r(5443),h=r(48526),u=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const g="_gxVersion";function m(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(g)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(g,e)}return t.getCacheValue(g)}function y(t){if(!t.getCacheValue(g)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,h=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[h]??NaN),e.add(r)}t.setCacheValue(g,e)}return t.getCacheValue(g)}function d(t){if(!t.getCacheValue(g)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(g,e)}return t.getCacheValue(g)}function v(t){if(!t.getCacheValue(g)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function M(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function C(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function E(t){return t.cache?(t.cache[g]??=(0,f.fromSpatialReference)(t),t.cache[g]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return w(t,e);case n.G.enumEnvelope:return V(t,e);case n.G.enumMultiPoint:return Z(t,e);case n.G.enumPolyline:return O(t,e);case n.G.enumPolygon:return A(t,e)}return null}function V(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(g,t),r}function Z(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const u=new h.A({hasM:s,hasZ:n,points:a,spatialReference:e});return u.setCacheValue(g,t),u}function w(t,e){if(t instanceof s.P)return new u.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new u.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(g,t),r}function A(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}function O(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],h=this.coords[r+1];t+=-.5*(o-n)*(h+i),n=o,i=h}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7984],{68197(e,t,r){r.d(t,{A:()=>u});var o=r(40876),i=r(4576),s=r(34727),l=r(56507);function n(e){return(0,s.qE)((0,l.Vr)(e),0,255)}function a(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class u{static blendColors(e,t,r,o=new u){return o.r=Math.round(e.r+(t.r-e.r)*r),o.g=Math.round(e.g+(t.g-e.g)*r),o.b=Math.round(e.b+(t.b-e.b)*r),o.a=e.a+(t.a-e.a)*r,o._sanitize()}static fromRgb(e,t){const r=(0,o.lT)(e);return r?u.fromArray(r,t):null}static fromHex(e,t=new u){const r=(0,o.oW)(e);return r?u.fromArray(r,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,o.Eq)(e);return r?u.fromArray(r,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,r=e?.digits??6,o=3===r||4===r,i=4===r||8===r,s=`#${a(this.r,o)}${a(this.g,o)}${a(this.b,o)}${i?a(Math.round(255*this.a),o):""}`;return t?s.toUpperCase():s}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=n(this.r),r=n(this.g),o=n(this.b);return 0===e||1!==this.a?[t,r,o,n(255*this.a)]:[t,r,o]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,o.c1)(this.r),this.g=(0,o.c1)(this.g),this.b=(0,o.c1)(this.b),this.a=(0,o.G1)(this.a),this}_set(e,t,r,o){this.r=e,this.g=t,this.b=r,this.a=o}}u.prototype.declaredClass="esri.Color"},40876(e,t,r){r.d(t,{Eq:()=>c,G1:()=>y,TS:()=>s,Tf:()=>f,V6:()=>i,Vm:()=>g,ay:()=>a,c1:()=>m,c4:()=>l,j5:()=>u,lT:()=>d,oW:()=>p,xV:()=>w});const o={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(e){return!!o[e]||!!o[e.toLowerCase()]}function s(e){return o[e]??o[e.toLowerCase()]}function l(e){return[...s(e)]}function n(e,t,r){r<0&&++r,r>1&&--r;const o=6*r;return o<1?e+(t-e)*o:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function a(e,t,r,o=1){const i=(e%360+360)%360/360,s=r<=.5?r*(t+1):r+t-r*t,l=2*r-s;return[Math.round(255*n(l,s,i+1/3)),Math.round(255*n(l,s,i)),Math.round(255*n(l,s,i-1/3)),o]}function u(e){const t=e.length>5,r=t?8:4,o=(1<<r)-1,i=t?1:17,s=t?9===e.length:5===e.length;let l=Number("0x"+e.slice(1));if(isNaN(l))return null;const n=[0,0,0,1];let a;return s&&(a=l&o,l>>=r,n[3]=i*a/255),a=l&o,l>>=r,n[2]=i*a,a=l&o,l>>=r,n[1]=i*a,a=l&o,l>>=r,n[0]=i*a,n}function p(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),o=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,o+16*o,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),h(t)}return h(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function h(e){return e[0]=m(e[0]),e[1]=m(e[1]),e[2]=m(e[2]),e[3]=4===e.length?y(e[3]):1,e}function c(e){let t=i(e)?s(e):null;return t??=d(e),t??=p(e),t}function g(e){const t=c(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function y(e){return b(e,0,1)}function m(e){return Math.round(b(e,0,255))}function b(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const f=2.2,C=1/f;function w(e){return e**C}},63531(e,t,r){r.d(t,{A:()=>b});var o,i=r(5482),s=r(4718),l=r(91429),n=r(51857),a=r(20061),u=r(68197),p=r(25482),d=r(56507);let h=o=class extends p.o{constructor(e){super(e),this.description=null,this.label=null,this.minValue=0,this.maxValue=0,this.color=null}clone(){return new o({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,color:(0,s.o8)(this.color)})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],h.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],h.prototype,"label",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue",isRequired:!0}}})],h.prototype,"minValue",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue",isRequired:!0}}})],h.prototype,"maxValue",void 0),(0,i.Cg)([(0,l.MZ)({type:u.A,json:{type:[d.jz],write:{isRequired:!0}}})],h.prototype,"color",void 0),h=o=(0,i.Cg)([(0,l.$K)("esri.renderers.support.pointCloud.ColorClassBreakInfo")],h);const c=h;var g,y=r(19356),m=r(93223);let b=g=class extends n.A{constructor(e){super(e),this.type="point-cloud-class-breaks",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.colorClassBreakInfos=null}clone(){return new g({...this.cloneProperties(),field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:(0,s.o8)(this.colorClassBreakInfos),legendOptions:(0,s.o8)(this.legendOptions)})}};(0,i.Cg)([(0,m.e)({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],b.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:{isRequired:!0}},type:String})],b.prototype,"field",void 0),(0,i.Cg)([(0,l.MZ)({type:a.A,json:{write:!0}})],b.prototype,"legendOptions",void 0),(0,i.Cg)([(0,l.MZ)({type:y.i.apiValues,json:{type:y.i.jsonValues,read:y.i.read,write:y.i.write}})],b.prototype,"fieldTransformType",void 0),(0,i.Cg)([(0,l.MZ)({type:[c],json:{write:{isRequired:!0}}})],b.prototype,"colorClassBreakInfos",void 0),b=g=(0,i.Cg)([(0,l.$K)("esri.renderers.PointCloudClassBreaksRenderer")],b)},51857(e,t,r){r.d(t,{A:()=>M});var o,i=r(5482),s=r(66552),l=r(25482),n=r(4718),a=r(91429);let u=o=class extends l.o{constructor(e){super(e),this.field=null,this.minValue=0,this.maxValue=255}clone(){return new o({field:this.field,minValue:this.minValue,maxValue:this.maxValue})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"minValue",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"maxValue",void 0),u=o=(0,i.Cg)([(0,a.$K)("esri.renderers.support.pointCloud.ColorModulation")],u);const p=u,d=new s.J({pointCloudFixedSizeAlgorithm:"fixed-size",pointCloudSplatAlgorithm:"splat"});let h=class extends l.o{};(0,i.Cg)([(0,a.MZ)({type:d.apiValues,readOnly:!0,nonNullable:!0,json:{type:d.jsonValues,read:!1,write:{writer:d.write,isRequired:!0}}})],h.prototype,"type",void 0),h=(0,i.Cg)([(0,a.$K)("esri.renderers.support.pointCloud.PointSizeAlgorithm")],h);const c=h;var g,y=r(93223);let m=g=class extends c{constructor(e){super(e),this.type="fixed-size",this.size=0,this.useRealWorldSymbolSizes=null}clone(){return new g({size:this.size,useRealWorldSymbolSizes:this.useRealWorldSymbolSizes})}};(0,i.Cg)([(0,y.e)({pointCloudFixedSizeAlgorithm:"fixed-size"})],m.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],m.prototype,"size",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"useRealWorldSymbolSizes",void 0),m=g=(0,i.Cg)([(0,a.$K)("esri.renderers.support.pointCloud.PointSizeFixedSizeAlgorithm")],m);const b=m;var f;let C=f=class extends c{constructor(e){super(e),this.type="splat",this.scaleFactor=1}clone(){return new f({scaleFactor:this.scaleFactor})}};(0,i.Cg)([(0,y.e)({pointCloudSplatAlgorithm:"splat"})],C.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,value:1,nonNullable:!0,json:{write:{isRequired:!0}}})],C.prototype,"scaleFactor",void 0),C=f=(0,i.Cg)([(0,a.$K)("esri.renderers.support.pointCloud.PointSizeSplatAlgorithm")],C);const w={key:"type",base:c,typeMap:{"fixed-size":b,splat:C}},v=(0,s.O)()({pointCloudClassBreaksRenderer:"point-cloud-class-breaks",pointCloudRGBRenderer:"point-cloud-rgb",pointCloudStretchRenderer:"point-cloud-stretch",pointCloudUniqueValueRenderer:"point-cloud-unique-value"});let M=class extends l.o{constructor(e){super(e),this.type=void 0,this.pointSizeAlgorithm=null,this.colorModulation=null,this.pointsPerInch=10}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}cloneProperties(){return{pointSizeAlgorithm:(0,n.o8)(this.pointSizeAlgorithm),colorModulation:(0,n.o8)(this.colorModulation),pointsPerInch:(0,n.o8)(this.pointsPerInch)}}};(0,i.Cg)([(0,a.MZ)({type:v.apiValues,readOnly:!0,nonNullable:!0,json:{type:v.jsonValues,read:!1,write:{writer:v.write,isRequired:!0}}})],M.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({types:w,json:{write:!0}})],M.prototype,"pointSizeAlgorithm",void 0),(0,i.Cg)([(0,a.MZ)({type:p,json:{write:!0}})],M.prototype,"colorModulation",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0},nonNullable:!0,type:Number})],M.prototype,"pointsPerInch",void 0),M=(0,i.Cg)([(0,a.$K)("esri.renderers.PointCloudRenderer")],M)},69846(e,t,r){r.d(t,{A:()=>h});var o,i=r(5482),s=r(4718),l=r(91429),n=r(51857),a=r(20061),u=r(19356),p=r(72500),d=r(93223);let h=o=class extends n.A{constructor(e){super(e),this.type="point-cloud-stretch",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.stops=null}clone(){return new o({...this.cloneProperties(),field:(0,s.o8)(this.field),fieldTransformType:(0,s.o8)(this.fieldTransformType),stops:(0,s.o8)(this.stops),legendOptions:(0,s.o8)(this.legendOptions)})}};(0,i.Cg)([(0,d.e)({pointCloudStretchRenderer:"point-cloud-stretch"})],h.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:{isRequired:!0}},type:String})],h.prototype,"field",void 0),(0,i.Cg)([(0,l.MZ)({type:a.A,json:{write:!0}})],h.prototype,"legendOptions",void 0),(0,i.Cg)([(0,l.MZ)({type:u.i.apiValues,json:{type:u.i.jsonValues,read:u.i.read,write:u.i.write}})],h.prototype,"fieldTransformType",void 0),(0,i.Cg)([(0,l.MZ)({type:[p.A],json:{write:{isRequired:!0}}})],h.prototype,"stops",void 0),h=o=(0,i.Cg)([(0,l.$K)("esri.renderers.PointCloudStretchRenderer")],h)},48425(e,t,r){r.d(t,{A:()=>b});var o,i=r(5482),s=r(4718),l=r(91429),n=r(51857),a=r(20061),u=r(68197),p=r(25482),d=r(56507);let h=o=class extends p.o{constructor(e){super(e),this.description=null,this.label=null,this.values=null,this.color=null}clone(){return new o({description:this.description,label:this.label,values:(0,s.o8)(this.values),color:(0,s.o8)(this.color)})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],h.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],h.prototype,"label",void 0),(0,i.Cg)([(0,l.MZ)({type:[String],json:{write:{isRequired:!0}}})],h.prototype,"values",void 0),(0,i.Cg)([(0,l.MZ)({type:u.A,json:{type:[d.jz],write:{isRequired:!0}}})],h.prototype,"color",void 0),h=o=(0,i.Cg)([(0,l.$K)("esri.renderers.support.pointCloud.ColorUniqueValueInfo")],h);const c=h;var g,y=r(19356),m=r(93223);let b=g=class extends n.A{constructor(e){super(e),this.type="point-cloud-unique-value",this.field=null,this.fieldTransformType=null,this.colorUniqueValueInfos=null,this.legendOptions=null}clone(){return new g({...this.cloneProperties(),field:(0,s.o8)(this.field),fieldTransformType:(0,s.o8)(this.fieldTransformType),colorUniqueValueInfos:(0,s.o8)(this.colorUniqueValueInfos),legendOptions:(0,s.o8)(this.legendOptions)})}};(0,i.Cg)([(0,m.e)({pointCloudUniqueValueRenderer:"point-cloud-unique-value"})],b.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:{isRequired:!0}},type:String})],b.prototype,"field",void 0),(0,i.Cg)([(0,l.MZ)({type:y.i.apiValues,json:{type:y.i.jsonValues,read:y.i.read,write:y.i.write}})],b.prototype,"fieldTransformType",void 0),(0,i.Cg)([(0,l.MZ)({type:[c],json:{write:{isRequired:!0}}})],b.prototype,"colorUniqueValueInfos",void 0),(0,i.Cg)([(0,l.MZ)({type:a.A,json:{write:!0}})],b.prototype,"legendOptions",void 0),b=g=(0,i.Cg)([(0,l.$K)("esri.renderers.PointCloudUniqueValueRenderer")],b)},20061(e,t,r){r.d(t,{A:()=>c});var o,i=r(5482),s=r(69540),l=r(66552),n=r(25482),a=r(91429),u=r(56507),p=r(93223);const d=(0,l.O)()({ascendingValues:"ascending-values",descendingValues:"descending-values"});let h=o=class extends((0,s.OU)(n.o)){static from(e){return(0,u.PZ)(o,e)}constructor(e){super(e),this.title=null,this.order=null}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,i.Cg)([(0,p.e)(d)],h.prototype,"order",void 0),h=o=(0,i.Cg)([(0,a.$K)("esri.renderers.support.RendererLegendOptions")],h);const c=h},19356(e,t,r){r.d(t,{i:()=>o});const o=new(r(66552).J)({none:"none",lowFourBit:"low-four-bit",highFourBit:"high-four-bit",absoluteValue:"absolute-value",moduloTen:"modulo-ten"})},72500(e,t,r){r.d(t,{A:()=>d});var o,i=r(5482),s=r(68197),l=r(25482),n=r(91429),a=r(56507),u=r(43937);let p=o=class extends l.o{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,r){t[r]=e??0}clone(){return new o({color:this.color&&this.color.clone(),label:this.label,value:this.value})}equals(e){return this===e||this.value===e.value&&this.label===e.label&&(this.color===e.color||null!=this.color&&null!=e.color&&this.color.equals(e.color))}};(0,i.Cg)([(0,n.MZ)({type:s.A,json:{type:[a.jz],write:{isRequired:!0}}})],p.prototype,"color",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],p.prototype,"value",void 0),(0,i.Cg)([(0,u.K)("value")],p.prototype,"writeValue",null),p=o=(0,i.Cg)([(0,n.$K)("esri.renderers.visualVariables.support.ColorStop")],p);const d=p}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9790],{79608(t,n,r){r.d(n,{A:()=>l});var e=r(5482),a=r(69540),i=r(91429);let o=class extends a.Pw{constructor(t){super(t),this.type="web-scene"}equals(t){return this.type===t.type}};(0,e.Cg)([(0,i.MZ)()],o.prototype,"type",void 0),o=(0,e.Cg)([(0,i.$K)("esri.analysis.support.AnalysisOriginWebScene")],o);const s=o;var u=r(69622),c=r(4902),h=r(25482);let f=0,l=class extends((0,h.T)((0,a.OU)((0,c.s)(u.A)))){constructor(t){super(t),this.id=`${Date.now().toString(16)}-analysis-${f++}`,this.origin=null}get parent(){return this._get("parent")}set parent(t){const n=this.parent;if(null!=n)switch(n.type){case"line-of-sight":case"dimension":case"viewshed":n.releaseAnalysis(this);break;case"2d":case"3d":n.analyses.includes(this)&&n.analyses.remove(this)}this._set("parent",t)}equals(t){return this.type===t.type}};(0,e.Cg)([(0,i.MZ)({type:String,constructOnly:!0,clonable:!1})],l.prototype,"id",void 0),(0,e.Cg)([(0,i.MZ)({clonable:!1,value:null})],l.prototype,"parent",null),(0,e.Cg)([(0,i.MZ)({types:{key:"type",base:null,typeMap:{"web-scene":s}}})],l.prototype,"origin",void 0),l=(0,e.Cg)([(0,i.$K)("esri.analysis.Analysis")],l)},91715(t,n,r){r.d(n,{xH:()=>i,N1:()=>s}),r(35522);var e=r(51850),a=r(71351);function i(t,n){return o(t)===o(n)}function o(t){if(null==t)return null;const n=null!=t.layer?t.layer.id:"";let r=null;return r=null!=t.objectId?t.objectId:null!=t.layer&&"objectIdField"in t.layer&&null!=t.layer.objectIdField&&null!=t.attributes?t.attributes[t.layer.objectIdField]:t.uid,null==r?null:`o-${n}-${r}`}r(58083),r(70328),r(77548),r(6867),r(49718),(0,e.vt)();const s={json:{write:{writer:function(t,n){null!=t?.layer?.objectIdField&&null!=t.attributes&&(n.feature={layerId:t.layer.id,objectId:t.attributes[t.layer.objectIdField]})},target:{"feature.layerId":{type:[Number,String],isRequired:!0},"feature.objectId":{type:[Number,String],isRequired:!0}}},origins:{"web-scene":{read:function(t){if(null!=t.layerId&&null!=t.objectId)return{uid:null,layer:{id:t.layerId,objectIdField:"ObjectId"},attributes:{ObjectId:t.objectId}}}}}},clonable:"reference"};(0,a.vt)(),(0,e.vt)()},4341(t,n,r){r.d(n,{I:()=>a});var e=r(26390);class a{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*i);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,i));t++)this._items.push(this._allocator())}}const i=1024},62885(t,n,r){r.d(n,{H:()=>i,V:()=>a});var e=r(7762);function a(t,n,r=e.A){return n||(n=new r),n===t||n.destroyed||(n.removeAll(),(a=t)&&(Array.isArray(a)||"items"in a&&Array.isArray(a.items))?n.addMany(t):t&&n.add(t)),n;var a}function i(t){return t}},9093(t,n,r){function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(n,{o8:()=>a,vt:()=>e,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:a,create:e,fromValues:function(t,n,r,e,a,i,o,s,u,c,h,f,l,M,m,d){return[t,n,r,e,a,i,o,s,u,c,h,f,l,M,m,d]}},Symbol.toStringTag,{value:"Module"}))},82534(t,n,r){function e(){return[0,0,0,1]}function a(t){return[t[0],t[1],t[2],t[3]]}r.d(n,{o8:()=>a,vt:()=>e,zK:()=>i});const i=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:a,create:e,fromValues:function(t,n,r,e){return[t,n,r,e]}},Symbol.toStringTag,{value:"Module"}))},48163(t,n,r){function e(){return[0,0]}function a(t){return[t[0],t[1]]}function i(t,n){return[t,n]}function o(){return i(1,1)}function s(){return i(1,0)}function u(){return i(0,1)}r.d(n,{Un:()=>c,fA:()=>i,o8:()=>a,vt:()=>e});const c=o(),h=s(),f=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:h,UNIT_Y:f,ZEROS:[0,0],clone:a,create:e,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const r=Math.min(2,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:i,ones:o,unitX:s,unitY:u,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},91829(t,n,r){function e(){return[0,0,0,0]}function a(t,n,r,e){return[t,n,r,e]}function i(t,n,r,e){return[t,n,r,e]}function o(){return a(1,1,1,1)}function s(){return a(1,0,0,0)}function u(){return a(0,1,0,0)}function c(){return a(0,0,1,0)}function h(){return a(0,0,0,1)}r.d(n,{CN:()=>i,Un:()=>l,fA:()=>a,uY:()=>f,vt:()=>e});const f=[0,0,0,0],l=o(),M=s(),m=u(),d=c(),b=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:b,UNIT_X:M,UNIT_Y:m,UNIT_Z:d,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:e,freeze:i,fromArray:function(t,n=[0,0,0,0]){const r=Math.min(4,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:a,ones:o,unitW:h,unitX:s,unitY:u,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},58083(t,n,r){r.d(n,{$0:()=>b,$h:()=>j,B8:()=>c,C:()=>i,D_:()=>s,N9:()=>g,O7:()=>O,Tl:()=>f,X_:()=>I,aI:()=>N,e$:()=>M,eL:()=>m,hM:()=>y,hZ:()=>o,hs:()=>l,kN:()=>d,l:()=>x,lw:()=>h,mg:()=>u,o1:()=>q,sC:()=>p,t2:()=>A,t5:()=>S,tZ:()=>C,ut:()=>P,v3:()=>w});var e=r(51850),a=r(34304);function i(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function o(t,n,r,e,a,i,o,s,u,c,h,f,l,M,m,d,b){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t[4]=i,t[5]=o,t[6]=s,t[7]=u,t[8]=c,t[9]=h,t[10]=f,t[11]=l,t[12]=M,t[13]=m,t[14]=d,t[15]=b,t}function s(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,n){if(t===n){const r=n[1],e=n[2],a=n[3],i=n[6],o=n[7],s=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=r,t[6]=n[9],t[7]=n[13],t[8]=e,t[9]=i,t[11]=n[14],t[12]=a,t[13]=o,t[14]=s}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function c(t,n){const r=n[0],e=n[1],a=n[2],i=n[3],o=n[4],s=n[5],u=n[6],c=n[7],h=n[8],f=n[9],l=n[10],M=n[11],m=n[12],d=n[13],b=n[14],y=n[15],g=r*s-e*o,_=r*u-a*o,v=r*c-i*o,p=e*u-a*s,I=e*c-i*s,x=a*c-i*u,q=h*d-f*m,O=h*b-l*m,j=h*y-M*m,w=f*b-l*d,S=f*y-M*d,T=l*y-M*b;let A=g*T-_*S+v*w+p*j-I*O+x*q;return A?(A=1/A,t[0]=(s*T-u*S+c*w)*A,t[1]=(a*S-e*T-i*w)*A,t[2]=(d*x-b*I+y*p)*A,t[3]=(l*I-f*x-M*p)*A,t[4]=(u*j-o*T-c*O)*A,t[5]=(r*T-a*j+i*O)*A,t[6]=(b*v-m*x-y*_)*A,t[7]=(h*x-l*v+M*_)*A,t[8]=(o*S-s*j+c*q)*A,t[9]=(e*j-r*S-i*q)*A,t[10]=(m*I-d*v+y*g)*A,t[11]=(f*v-h*I-M*g)*A,t[12]=(s*O-o*w-u*q)*A,t[13]=(r*w-e*O+a*q)*A,t[14]=(d*_-m*p-b*g)*A,t[15]=(h*p-f*_+l*g)*A,t):null}function h(t,n,r){const e=n[0],a=n[1],i=n[2],o=n[3],s=n[4],u=n[5],c=n[6],h=n[7],f=n[8],l=n[9],M=n[10],m=n[11],d=n[12],b=n[13],y=n[14],g=n[15];let _=r[0],v=r[1],p=r[2],I=r[3];return t[0]=_*e+v*s+p*f+I*d,t[1]=_*a+v*u+p*l+I*b,t[2]=_*i+v*c+p*M+I*y,t[3]=_*o+v*h+p*m+I*g,_=r[4],v=r[5],p=r[6],I=r[7],t[4]=_*e+v*s+p*f+I*d,t[5]=_*a+v*u+p*l+I*b,t[6]=_*i+v*c+p*M+I*y,t[7]=_*o+v*h+p*m+I*g,_=r[8],v=r[9],p=r[10],I=r[11],t[8]=_*e+v*s+p*f+I*d,t[9]=_*a+v*u+p*l+I*b,t[10]=_*i+v*c+p*M+I*y,t[11]=_*o+v*h+p*m+I*g,_=r[12],v=r[13],p=r[14],I=r[15],t[12]=_*e+v*s+p*f+I*d,t[13]=_*a+v*u+p*l+I*b,t[14]=_*i+v*c+p*M+I*y,t[15]=_*o+v*h+p*m+I*g,t}function f(t,n,r){const e=r[0],a=r[1],i=r[2];if(n===t)t[12]=n[0]*e+n[4]*a+n[8]*i+n[12],t[13]=n[1]*e+n[5]*a+n[9]*i+n[13],t[14]=n[2]*e+n[6]*a+n[10]*i+n[14],t[15]=n[3]*e+n[7]*a+n[11]*i+n[15];else{const r=n[0],o=n[1],s=n[2],u=n[3],c=n[4],h=n[5],f=n[6],l=n[7],M=n[8],m=n[9],d=n[10],b=n[11];t[0]=r,t[1]=o,t[2]=s,t[3]=u,t[4]=c,t[5]=h,t[6]=f,t[7]=l,t[8]=M,t[9]=m,t[10]=d,t[11]=b,t[12]=r*e+c*a+M*i+n[12],t[13]=o*e+h*a+m*i+n[13],t[14]=s*e+f*a+d*i+n[14],t[15]=u*e+l*a+b*i+n[15]}return t}function l(t,n,r){const e=r[0],a=r[1],i=r[2];return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*i,t[9]=n[9]*i,t[10]=n[10]*i,t[11]=n[11]*i,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function M(t,n,r,e){let o=e[0],s=e[1],u=e[2],c=Math.sqrt(o*o+s*s+u*u);if(c<=(0,a.FD)())return void i(t,n);c=1/c,o*=c,s*=c,u*=c;const h=Math.sin(r),f=Math.cos(r),l=1-f,M=n[0],m=n[1],d=n[2],b=n[3],y=n[4],g=n[5],_=n[6],v=n[7],p=n[8],I=n[9],x=n[10],q=n[11],O=o*o*l+f,j=s*o*l+u*h,w=u*o*l-s*h,S=o*s*l-u*h,T=s*s*l+f,A=u*s*l+o*h,N=o*u*l+s*h,P=s*u*l-o*h,C=u*u*l+f;t[0]=M*O+y*j+p*w,t[1]=m*O+g*j+I*w,t[2]=d*O+_*j+x*w,t[3]=b*O+v*j+q*w,t[4]=M*S+y*T+p*A,t[5]=m*S+g*T+I*A,t[6]=d*S+_*T+x*A,t[7]=b*S+v*T+q*A,t[8]=M*N+y*P+p*C,t[9]=m*N+g*P+I*C,t[10]=d*N+_*P+x*C,t[11]=b*N+v*P+q*C,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function m(t,n,r){const e=Math.sin(r),a=Math.cos(r),i=n[4],o=n[5],s=n[6],u=n[7],c=n[8],h=n[9],f=n[10],l=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=i*a+c*e,t[5]=o*a+h*e,t[6]=s*a+f*e,t[7]=u*a+l*e,t[8]=c*a-i*e,t[9]=h*a-o*e,t[10]=f*a-s*e,t[11]=l*a-u*e,t}function d(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function b(t,n,r){if(0===n)return s(t);let e=r[0],i=r[1],o=r[2],u=Math.sqrt(e*e+i*i+o*o);if(u<=(0,a.FD)())return null;u=1/u,e*=u,i*=u,o*=u;const c=Math.sin(n),h=Math.cos(n),f=1-h;return t[0]=e*e*f+h,t[1]=i*e*f+o*c,t[2]=o*e*f-i*c,t[3]=0,t[4]=e*i*f-o*c,t[5]=i*i*f+h,t[6]=o*i*f+e*c,t[7]=0,t[8]=e*o*f+i*c,t[9]=i*o*f-e*c,t[10]=o*o*f+h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=e,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function _(t,n,r){const e=n[0],a=n[1],i=n[2],o=n[3],s=e+e,u=a+a,c=i+i,h=e*s,f=e*u,l=e*c,M=a*u,m=a*c,d=i*c,b=o*s,y=o*u,g=o*c;return t[0]=1-(M+d),t[1]=f+g,t[2]=l-y,t[3]=0,t[4]=f-g,t[5]=1-(h+d),t[6]=m+b,t[7]=0,t[8]=l+y,t[9]=m-b,t[10]=1-(h+M),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const v=(0,e.vt)();function p(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function I(t,n){const r=n[0],e=n[1],a=n[2],i=n[4],o=n[5],s=n[6],u=n[8],c=n[9],h=n[10];return t[0]=Math.sqrt(r*r+e*e+a*a),t[1]=Math.sqrt(i*i+o*o+s*s),t[2]=Math.sqrt(u*u+c*c+h*h),t}function x(t,n){const r=n[0]+n[5]+n[10];let e=0;return r>0?(e=2*Math.sqrt(r+1),t[3]=.25*e,t[0]=(n[6]-n[9])/e,t[1]=(n[8]-n[2])/e,t[2]=(n[1]-n[4])/e):n[0]>n[5]&&n[0]>n[10]?(e=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/e,t[0]=.25*e,t[1]=(n[1]+n[4])/e,t[2]=(n[8]+n[2])/e):n[5]>n[10]?(e=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/e,t[0]=(n[1]+n[4])/e,t[1]=.25*e,t[2]=(n[6]+n[9])/e):(e=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/e,t[0]=(n[8]+n[2])/e,t[1]=(n[6]+n[9])/e,t[2]=.25*e),t}function q(t,n,r,e){const a=n[0],i=n[1],o=n[2],s=n[3],u=a+a,c=i+i,h=o+o,f=a*u,l=a*c,M=a*h,m=i*c,d=i*h,b=o*h,y=s*u,g=s*c,_=s*h,v=e[0],p=e[1],I=e[2];return t[0]=(1-(m+b))*v,t[1]=(l+_)*v,t[2]=(M-g)*v,t[3]=0,t[4]=(l-_)*p,t[5]=(1-(f+b))*p,t[6]=(d+y)*p,t[7]=0,t[8]=(M+g)*I,t[9]=(d-y)*I,t[10]=(1-(f+m))*I,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function O(t,n,r,e,a){const i=n[0],o=n[1],s=n[2],u=n[3],c=i+i,h=o+o,f=s+s,l=i*c,M=i*h,m=i*f,d=o*h,b=o*f,y=s*f,g=u*c,_=u*h,v=u*f,p=e[0],I=e[1],x=e[2],q=a[0],O=a[1],j=a[2],w=(1-(d+y))*p,S=(M+v)*p,T=(m-_)*p,A=(M-v)*I,N=(1-(l+y))*I,P=(b+g)*I,C=(m+_)*x,R=(b-g)*x,D=(1-(l+d))*x;return t[0]=w,t[1]=S,t[2]=T,t[3]=0,t[4]=A,t[5]=N,t[6]=P,t[7]=0,t[8]=C,t[9]=R,t[10]=D,t[11]=0,t[12]=r[0]+q-(w*q+A*O+C*j),t[13]=r[1]+O-(S*q+N*O+R*j),t[14]=r[2]+j-(T*q+P*O+D*j),t[15]=1,t}function j(t,n,r,e,a,i,o){const s=1/(r-n),u=1/(a-e),c=1/(i-o);return t[0]=2*i*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*u,t[6]=0,t[7]=0,t[8]=(r+n)*s,t[9]=(a+e)*u,t[10]=(o+i)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*i*2*c,t[15]=0,t}function w(t,n,r,e,a,i,o){const s=1/(n-r),u=1/(e-a),c=1/(i-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(n+r)*s,t[13]=(a+e)*u,t[14]=(o+i)*c,t[15]=1,t}function S(t,n,r,e){const i=n[0],o=n[1],u=n[2];let c=i-r[0],h=o-r[1],f=u-r[2];const l=(0,a.FD)();if(Math.abs(c)<l&&Math.abs(h)<l&&Math.abs(f)<l)return void s(t);let M=1/Math.sqrt(c*c+h*h+f*f);c*=M,h*=M,f*=M;const m=e[0],d=e[1],b=e[2];let y=d*f-b*h,g=b*c-m*f,_=m*h-d*c;M=Math.sqrt(y*y+g*g+_*_),M?(M=1/M,y*=M,g*=M,_*=M):(y=0,g=0,_=0);let v=h*_-f*g,p=f*y-c*_,I=c*g-h*y;M=Math.sqrt(v*v+p*p+I*I),M?(M=1/M,v*=M,p*=M,I*=M):(v=0,p=0,I=0),t[0]=y,t[1]=v,t[2]=c,t[3]=0,t[4]=g,t[5]=p,t[6]=h,t[7]=0,t[8]=_,t[9]=I,t[10]=f,t[11]=0,t[12]=-(y*i+g*o+_*u),t[13]=-(v*i+p*o+I*u),t[14]=-(c*i+h*o+f*u),t[15]=1}function T(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t[9]=n[9]-r[9],t[10]=n[10]-r[10],t[11]=n[11]-r[11],t[12]=n[12]-r[12],t[13]=n[13]-r[13],t[14]=n[14]-r[14],t[15]=n[15]-r[15],t}function A(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function N(t,n){if(t===n)return!0;const r=t[0],e=t[1],i=t[2],o=t[3],s=t[4],u=t[5],c=t[6],h=t[7],f=t[8],l=t[9],M=t[10],m=t[11],d=t[12],b=t[13],y=t[14],g=t[15],_=n[0],v=n[1],p=n[2],I=n[3],x=n[4],q=n[5],O=n[6],j=n[7],w=n[8],S=n[9],T=n[10],A=n[11],N=n[12],P=n[13],C=n[14],R=n[15],D=(0,a.FD)();return Math.abs(r-_)<=D*Math.max(1,Math.abs(r),Math.abs(_))&&Math.abs(e-v)<=D*Math.max(1,Math.abs(e),Math.abs(v))&&Math.abs(i-p)<=D*Math.max(1,Math.abs(i),Math.abs(p))&&Math.abs(o-I)<=D*Math.max(1,Math.abs(o),Math.abs(I))&&Math.abs(s-x)<=D*Math.max(1,Math.abs(s),Math.abs(x))&&Math.abs(u-q)<=D*Math.max(1,Math.abs(u),Math.abs(q))&&Math.abs(c-O)<=D*Math.max(1,Math.abs(c),Math.abs(O))&&Math.abs(h-j)<=D*Math.max(1,Math.abs(h),Math.abs(j))&&Math.abs(f-w)<=D*Math.max(1,Math.abs(f),Math.abs(w))&&Math.abs(l-S)<=D*Math.max(1,Math.abs(l),Math.abs(S))&&Math.abs(M-T)<=D*Math.max(1,Math.abs(M),Math.abs(T))&&Math.abs(m-A)<=D*Math.max(1,Math.abs(m),Math.abs(A))&&Math.abs(d-N)<=D*Math.max(1,Math.abs(d),Math.abs(N))&&Math.abs(b-P)<=D*Math.max(1,Math.abs(b),Math.abs(P))&&Math.abs(y-C)<=D*Math.max(1,Math.abs(y),Math.abs(C))&&Math.abs(g-R)<=D*Math.max(1,Math.abs(g),Math.abs(R))}function P(t){const n=(0,a.FD)(),r=t[0],e=t[1],i=t[2],o=t[4],s=t[5],u=t[6],c=t[8],h=t[9],f=t[10];return Math.abs(1-(r*r+o*o+c*c))<=n&&Math.abs(1-(e*e+s*s+h*h))<=n&&Math.abs(1-(i*i+u*u+f*f))<=n}function C(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const R=h,D=T;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t[9]=n[9]+r[9],t[10]=n[10]+r[10],t[11]=n[11]+r[11],t[12]=n[12]+r[12],t[13]=n[13]+r[13],t[14]=n[14]+r[14],t[15]=n[15]+r[15],t},adjoint:function(t,n){const r=n[0],e=n[1],a=n[2],i=n[3],o=n[4],s=n[5],u=n[6],c=n[7],h=n[8],f=n[9],l=n[10],M=n[11],m=n[12],d=n[13],b=n[14],y=n[15];return t[0]=s*(l*y-M*b)-f*(u*y-c*b)+d*(u*M-c*l),t[1]=-(e*(l*y-M*b)-f*(a*y-i*b)+d*(a*M-i*l)),t[2]=e*(u*y-c*b)-s*(a*y-i*b)+d*(a*c-i*u),t[3]=-(e*(u*M-c*l)-s*(a*M-i*l)+f*(a*c-i*u)),t[4]=-(o*(l*y-M*b)-h*(u*y-c*b)+m*(u*M-c*l)),t[5]=r*(l*y-M*b)-h*(a*y-i*b)+m*(a*M-i*l),t[6]=-(r*(u*y-c*b)-o*(a*y-i*b)+m*(a*c-i*u)),t[7]=r*(u*M-c*l)-o*(a*M-i*l)+h*(a*c-i*u),t[8]=o*(f*y-M*d)-h*(s*y-c*d)+m*(s*M-c*f),t[9]=-(r*(f*y-M*d)-h*(e*y-i*d)+m*(e*M-i*f)),t[10]=r*(s*y-c*d)-o*(e*y-i*d)+m*(e*c-i*s),t[11]=-(r*(s*M-c*f)-o*(e*M-i*f)+h*(e*c-i*s)),t[12]=-(o*(f*b-l*d)-h*(s*b-u*d)+m*(s*l-u*f)),t[13]=r*(f*b-l*d)-h*(e*b-a*d)+m*(e*l-a*f),t[14]=-(r*(s*b-u*d)-o*(e*b-a*d)+m*(e*u-a*s)),t[15]=r*(s*l-u*f)-o*(e*l-a*f)+h*(e*u-a*s),t},copy:i,determinant:function(t){const n=t[0],r=t[1],e=t[2],a=t[3],i=t[4],o=t[5],s=t[6],u=t[7],c=t[8],h=t[9],f=t[10],l=t[11],M=t[12],m=t[13],d=t[14],b=t[15];return(n*o-r*i)*(f*b-l*d)-(n*s-e*i)*(h*b-l*m)+(n*u-a*i)*(h*d-f*m)+(r*s-e*o)*(c*b-l*M)-(r*u-a*o)*(c*d-f*M)+(e*u-a*s)*(c*m-h*M)},equals:N,exactEquals:A,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,n){const r=n[0],e=n[1],a=n[2],i=n[3],o=r+r,s=e+e,u=a+a,c=r*o,h=e*o,f=e*s,l=a*o,M=a*s,m=a*u,d=i*o,b=i*s,y=i*u;return t[0]=1-f-m,t[1]=h+y,t[2]=l-b,t[3]=0,t[4]=h-y,t[5]=1-c-m,t[6]=M+d,t[7]=0,t[8]=l+b,t[9]=M-d,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const r=v,e=-n[0],a=-n[1],i=-n[2],o=n[3],s=n[4],u=n[5],c=n[6],h=n[7],f=e*e+a*a+i*i+o*o;return f>0?(r[0]=2*(s*o+h*e+u*i-c*a)/f,r[1]=2*(u*o+h*a+c*e-s*i)/f,r[2]=2*(c*o+h*i+s*a-u*e)/f):(r[0]=2*(s*o+h*e+u*i-c*a),r[1]=2*(u*o+h*a+c*e-s*i),r[2]=2*(c*o+h*i+s*a-u*e)),_(t,n,r),t},fromRotation:b,fromRotationTranslation:_,fromRotationTranslationScale:q,fromRotationTranslationScaleOrigin:O,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:d,fromXRotation:y,fromYRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:g,frustum:j,getRotation:x,getScale:I,getTranslation:p,hasIdentityRotation:C,identity:s,invert:c,invertOrIdentity:function(t,n){return c(t,n)||s(t),t},isOrthoNormal:P,lookAt:S,mul:R,multiply:h,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t[9]=n[9]*r,t[10]=n[10]*r,t[11]=n[11]*r,t[12]=n[12]*r,t[13]=n[13]*r,t[14]=n[14]*r,t[15]=n[15]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t[9]=n[9]+r[9]*e,t[10]=n[10]+r[10]*e,t[11]=n[11]+r[11]*e,t[12]=n[12]+r[12]*e,t[13]=n[13]+r[13]*e,t[14]=n[14]+r[14]*e,t[15]=n[15]+r[15]*e,t},ortho:w,perspective:function(t,n,r,e,a){const i=1/Math.tan(n/2);let o;return t[0]=i/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=a&&a!==1/0?(o=1/(e-a),t[10]=(a+e)*o,t[14]=2*a*e*o):(t[10]=-1,t[14]=-2*e),t},perspectiveFromFieldOfView:function(t,n,r,e){const a=Math.tan(n.upDegrees*Math.PI/180),i=Math.tan(n.downDegrees*Math.PI/180),o=Math.tan(n.leftDegrees*Math.PI/180),s=Math.tan(n.rightDegrees*Math.PI/180),u=2/(o+s),c=2/(a+i);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(o-s)*u*.5,t[9]=(a-i)*c*.5,t[10]=e/(r-e),t[11]=-1,t[12]=0,t[13]=0,t[14]=e*r/(r-e),t[15]=0,t},rotate:M,rotateX:m,rotateY:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),i=n[0],o=n[1],s=n[2],u=n[3],c=n[8],h=n[9],f=n[10],l=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=i*a-c*e,t[1]=o*a-h*e,t[2]=s*a-f*e,t[3]=u*a-l*e,t[8]=i*e+c*a,t[9]=o*e+h*a,t[10]=s*e+f*a,t[11]=u*e+l*a,t},rotateZ:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),i=n[0],o=n[1],s=n[2],u=n[3],c=n[4],h=n[5],f=n[6],l=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=i*a+c*e,t[1]=o*a+h*e,t[2]=s*a+f*e,t[3]=u*a+l*e,t[4]=c*a-i*e,t[5]=h*a-o*e,t[6]=f*a-s*e,t[7]=l*a-u*e,t},scale:l,set:o,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:D,subtract:T,targetTo:function(t,n,r,e){const a=n[0],i=n[1],o=n[2],s=e[0],u=e[1],c=e[2];let h=a-r[0],f=i-r[1],l=o-r[2],M=h*h+f*f+l*l;M>0&&(M=1/Math.sqrt(M),h*=M,f*=M,l*=M);let m=u*l-c*f,d=c*h-s*l,b=s*f-u*h;return M=m*m+d*d+b*b,M>0&&(M=1/Math.sqrt(M),m*=M,d*=M,b*=M),t[0]=m,t[1]=d,t[2]=b,t[3]=0,t[4]=f*b-l*d,t[5]=l*m-h*b,t[6]=h*d-f*m,t[7]=0,t[8]=h,t[9]=f,t[10]=l,t[11]=0,t[12]=a,t[13]=i,t[14]=o,t[15]=1,t},translate:f,transpose:u},Symbol.toStringTag,{value:"Module"}))},35522(t,n,r){r.d(n,{$A:()=>O,Bw:()=>i,C:()=>o,Cc:()=>j,DI:()=>I,Il:()=>L,Io:()=>g,Ln:()=>y,Om:()=>q,Qr:()=>f,Re:()=>c,S8:()=>x,T9:()=>d,WQ:()=>u,Z0:()=>w,_S:()=>M,aI:()=>D,ei:()=>S,fw:()=>A,g7:()=>N,gL:()=>T,hG:()=>_,hZ:()=>s,hs:()=>b,jb:()=>z,jk:()=>m,lo:()=>Y,lw:()=>h,m3:()=>v,oW:()=>F,t2:()=>R,tn:()=>l,uE:()=>Q,xg:()=>E,ze:()=>p});var e=r(51850),a=r(34304);function i(t){const n=t[0],r=t[1],e=t[2];return Math.sqrt(n*n+r*r+e*e)}function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function s(t,n,r,e){return t[0]=n,t[1]=r,t[2]=e,t}function u(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t}function h(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t}function f(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t}function l(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function M(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function m(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t}function d(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t}function b(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t}function y(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t}function g(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return Math.sqrt(r*r+e*e+a*a)}function _(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return r*r+e*e+a*a}function v(t){const n=t[0],r=t[1],e=t[2];return n*n+r*r+e*e}function p(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function I(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function x(t,n){const r=n[0],e=n[1],a=n[2];let i=r*r+e*e+a*a;return i>0&&(i=1/Math.sqrt(i),t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i),t}function q(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function O(t,n,r){const e=n[0],a=n[1],i=n[2],o=r[0],s=r[1],u=r[2];return t[0]=a*u-i*s,t[1]=i*o-e*u,t[2]=e*s-a*o,t}function j(t,n,r,e){const a=n[0],i=n[1],o=n[2];return t[0]=a+e*(r[0]-a),t[1]=i+e*(r[1]-i),t[2]=o+e*(r[2]-o),t}function w(t,n,r){const e=n[0],a=n[1],i=n[2];return t[0]=r[0]*e+r[4]*a+r[8]*i+r[12],t[1]=r[1]*e+r[5]*a+r[9]*i+r[13],t[2]=r[2]*e+r[6]*a+r[10]*i+r[14],t}function S(t,n,r){const e=n[0],a=n[1],i=n[2];return t[0]=e*r[0]+a*r[3]+i*r[6],t[1]=e*r[1]+a*r[4]+i*r[7],t[2]=e*r[2]+a*r[5]+i*r[8],t}function T(t,n,r){return A(t,n,r[0],r[1],r[2],r[3])}function A(t,n,r,e,a,i){const o=n[0],s=n[1],u=n[2],c=e*u-a*s,h=a*o-r*u,f=r*s-e*o,l=e*f-a*h,M=a*c-r*f,m=r*h-e*c,d=2*i;return t[0]=o+c*d+2*l,t[1]=s+h*d+2*M,t[2]=u+f*d+2*m,t}function N(t,n){x(P,t),x(C,n);const r=q(P,C);return r>1?0:r<-1?Math.PI:Math.acos(r)}const P=(0,e.vt)(),C=(0,e.vt)();function R(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function D(t,n){if(t===n)return!0;const r=t[0],e=t[1],i=t[2],o=n[0],s=n[1],u=n[2],c=(0,a.FD)();return Math.abs(r-o)<=c*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(e-s)<=c*Math.max(1,Math.abs(e),Math.abs(s))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))}function F(t,n,r){const e=r[0]-n[0],a=r[1]-n[1],i=r[2]-n[2];let o=e*e+a*a+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=e*o,t[1]=a*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const z=c,V=h,Z=f,E=g,Y=_,L=i,Q=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:N,bezier:function(t,n,r,e,a,i){const o=1-i,s=o*o,u=i*i,c=s*o,h=3*i*s,f=3*u*o,l=u*i;return t[0]=n[0]*c+r[0]*h+e[0]*f+a[0]*l,t[1]=n[1]*c+r[1]*h+e[1]*f+a[1]*l,t[2]=n[2]*c+r[2]*h+e[2]*f+a[2]*l,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,r=1){return t[0]=Math.min(Math.max(t[0],n),r),t[1]=Math.min(Math.max(t[1],n),r),t[2]=Math.min(Math.max(t[2],n),r),t},copy:o,cross:O,crossAndNormalize:function(t,n,r){const e=n[0],a=n[1],i=n[2],o=r[0],s=r[1],u=r[2],c=a*u-i*s,h=i*o-e*u,f=e*s-a*o,l=Math.sqrt(c*c+h*h+f*f);return t[0]=c/l,t[1]=h/l,t[2]=f/l,t},direction:F,dist:E,distance:g,div:Z,divide:f,dot:q,equals:D,exactEquals:R,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,r,e,a,i){const o=i*i,s=o*(2*i-3)+1,u=o*(i-2)+i,c=o*(i-1),h=o*(3-2*i);return t[0]=n[0]*s+r[0]*u+e[0]*c+a[0]*h,t[1]=n[1]*s+r[1]*u+e[1]*c+a[1]*h,t[2]=n[2]*s+r[2]*u+e[2]*c+a[2]*h,t},inverse:I,len:L,length:i,lerp:j,max:d,min:m,mul:V,multiply:h,negate:p,normalize:x,random:function(t,n=1){const r=a.Ov,e=2*r()*Math.PI,i=2*r()-1,o=Math.sqrt(1-i*i)*n;return t[0]=Math.cos(e)*o,t[1]=Math.sin(e)*o,t[2]=i*n,t},rotateX:function(t,n,r,e){const a=[],i=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],i[0]=a[0],i[1]=a[1]*Math.cos(e)-a[2]*Math.sin(e),i[2]=a[1]*Math.sin(e)+a[2]*Math.cos(e),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateY:function(t,n,r,e){const a=[],i=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],i[0]=a[2]*Math.sin(e)+a[0]*Math.cos(e),i[1]=a[1],i[2]=a[2]*Math.cos(e)-a[0]*Math.sin(e),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateZ:function(t,n,r,e){const a=[],i=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],i[0]=a[0]*Math.cos(e)-a[1]*Math.sin(e),i[1]=a[0]*Math.sin(e)+a[1]*Math.cos(e),i[2]=a[2],t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:b,scaleAndAdd:y,set:s,sign:M,sqrDist:Y,sqrLen:Q,squaredDistance:_,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:z,subtract:c,transformMat3:S,transformMat4:w,transformQuat:T,transformQuatValues:A},Symbol.toStringTag,{value:"Module"}))},78955(t,n,r){r.d(n,{Bw:()=>b,C:()=>a,Cc:()=>v,LI:()=>l,Om:()=>_,S8:()=>g,T9:()=>f,WQ:()=>o,Z0:()=>p,aI:()=>x,hG:()=>d,hZ:()=>i,hs:()=>M,jk:()=>h,m3:()=>y,t2:()=>I});var e=r(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function i(t,n,r,e,a){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t}function o(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t}function s(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t}function u(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t[3]=n[3]*r[3],t}function c(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t[3]=n[3]/r[3],t}function h(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t[3]=Math.min(n[3],r[3]),t}function f(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t[3]=Math.max(n[3],r[3]),t}function l(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function M(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t}function m(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],i=n[3]-t[3];return Math.sqrt(r*r+e*e+a*a+i*i)}function d(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],i=n[3]-t[3];return r*r+e*e+a*a+i*i}function b(t){const n=t[0],r=t[1],e=t[2],a=t[3];return Math.sqrt(n*n+r*r+e*e+a*a)}function y(t){const n=t[0],r=t[1],e=t[2],a=t[3];return n*n+r*r+e*e+a*a}function g(t,n){const r=n[0],e=n[1],a=n[2],i=n[3];let o=r*r+e*e+a*a+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=r*o,t[1]=e*o,t[2]=a*o,t[3]=i*o),t}function _(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function v(t,n,r,e){const a=n[0],i=n[1],o=n[2],s=n[3];return t[0]=a+e*(r[0]-a),t[1]=i+e*(r[1]-i),t[2]=o+e*(r[2]-o),t[3]=s+e*(r[3]-s),t}function p(t,n,r){const e=n[0],a=n[1],i=n[2],o=n[3];return t[0]=r[0]*e+r[4]*a+r[8]*i+r[12]*o,t[1]=r[1]*e+r[5]*a+r[9]*i+r[13]*o,t[2]=r[2]*e+r[6]*a+r[10]*i+r[14]*o,t[3]=r[3]*e+r[7]*a+r[11]*i+r[15]*o,t}function I(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function x(t,n){const r=t[0],a=t[1],i=t[2],o=t[3],s=n[0],u=n[1],c=n[2],h=n[3],f=(0,e.FD)();return Math.abs(r-s)<=f*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(a-u)<=f*Math.max(1,Math.abs(a),Math.abs(u))&&Math.abs(i-c)<=f*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(o-h)<=f*Math.max(1,Math.abs(o),Math.abs(h))}const q=s,O=u,j=c,w=m,S=d,T=b,A=y;Object.freeze(Object.defineProperty({__proto__:null,add:o,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:a,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:w,distance:m,div:j,divide:c,dot:_,equals:x,exactEquals:I,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:T,length:b,lerp:v,max:f,min:h,mul:O,multiply:u,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:g,random:function(t,n=1){const r=e.Ov;let a,i,o,s,u,c;do{a=2*r()-1,i=2*r()-1,u=a*a+i*i}while(u>=1);do{o=2*r()-1,s=2*r()-1,c=o*o+s*s}while(c>=1);const h=Math.sqrt((1-u)/c);return t[0]=n*a,t[1]=n*i,t[2]=n*o*h,t[3]=n*s*h,t},round:l,scale:M,scaleAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t},set:i,sqrDist:S,sqrLen:A,squaredDistance:d,squaredLength:y,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:q,subtract:s,transformMat4:p,transformQuat:function(t,n,r){const e=n[0],a=n[1],i=n[2],o=r[0],s=r[1],u=r[2],c=r[3],h=c*e+s*i-u*a,f=c*a+u*e-o*i,l=c*i+o*a-s*e,M=-o*e-s*a-u*i;return t[0]=h*c+M*-o+f*-u-l*-s,t[1]=f*c+M*-s+l*-o-h*-u,t[2]=l*c+M*-u+h*-s-f*-o,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},4197(t,n,r){r.d(n,{Vj:()=>u,cj:()=>s,jh:()=>i,l5:()=>o});var e=r(34275),a=r(9093);function i(t){return t<=e.y9?new Array(t).fill(0):new Float64Array(t)}function o(t,n,r){return Array.isArray(t)?t.slice(n,n+r):t.subarray(n,n+r)}function s(t){return[...t]}function u(t){const n=(0,a.vt)();for(let r=0;r<16;++r)n[r]=t[r];return n}},70328(t,n,r){r.d(n,{BI:()=>_,DC:()=>f,Ej:()=>M,Ie:()=>y,Jt:()=>g,Ne:()=>m,RF:()=>h,aI:()=>p,fA:()=>o,gE:()=>u,hZ:()=>b,iT:()=>l,is:()=>v,qv:()=>I,vI:()=>d,vY:()=>s,v_:()=>x,vt:()=>i,w1:()=>c}),r(35522);var e=r(5443),a=(r(19419),r(4197));function i(t=x){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,n,r,e,a,o,s=i()){return s[0]=t,s[1]=n,s[2]=r,s[3]=e,s[4]=a,s[5]=o,s}function s(t,n=i()){return function(t,n,r,e=i()){return b(e,I),function(t,n,r=0,e=n.length/3){let a=t[0],i=t[1],o=t[2],s=t[3],u=t[4],c=t[5];for(let t=0;t<e;t++)a=Math.min(a,n[r+3*t]),i=Math.min(i,n[r+3*t+1]),o=Math.min(o,n[r+3*t+2]),s=Math.max(s,n[r+3*t]),u=Math.max(u,n[r+3*t+1]),c=Math.max(c,n[r+3*t+2]);t[0]=a,t[1]=i,t[2]=o,t[3]=s,t[4]=u,t[5]=c}(e,t,n,r),e}(t,0,t.length/3,n)}function u(t,n=(0,a.jh)(24)){const[r,e,i,o,s,u]=t;return n[0]=r,n[1]=e,n[2]=i,n[3]=r,n[4]=e,n[5]=u,n[6]=r,n[7]=s,n[8]=i,n[9]=r,n[10]=s,n[11]=u,n[12]=o,n[13]=e,n[14]=i,n[15]=o,n[16]=e,n[17]=u,n[18]=o,n[19]=s,n[20]=i,n[21]=o,n[22]=s,n[23]=u,n}function c(t,n){const r=isFinite(t[2])||isFinite(t[5]);return new e.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function h(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function M(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function m(t,n,r=t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function d(t,n,r=t){return r[3]=n[0],r[4]=n[1],r[5]=n[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function b(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function y(t){return t?b(t,I):i(I)}function g(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function _(t,n,r,e,a){return t[0]=n,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=e,t[4]=a,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function p(t,n,r){if(null==t||null==n)return t===n;if(!v(t)||!v(n))return!1;if(r){for(let e=0;e<t.length;e++)if(!r(t[e],n[e]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}const I=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];i()},71351(t,n,r){r.d(n,{C:()=>h,Cr:()=>f,LV:()=>c,fA:()=>l,oC:()=>M,vt:()=>s}),r(4576);var e=r(4341),a=(r(77690),r(29242)),i=r(35522),o=r(51850);function s(t){return t?u((0,o.o8)(t.origin),(0,o.o8)(t.direction)):u((0,o.vt)(),(0,o.vt)())}function u(t,n){return{origin:t,direction:n}}function c(t,n){const r=m.get();return r.origin=t,r.direction=n,r}function h(t,n=s()){return l(t.origin,t.direction,n)}function f(t,n,r=s()){return(0,i.C)(r.origin,t),(0,i.Re)(r.direction,n,t),r}function l(t,n,r=s()){return(0,i.C)(r.origin,t),(0,i.C)(r.direction,n),r}function M(t,n,r){const e=(0,i.Om)(t.direction,(0,i.Re)(r,n,t.origin));return(0,i.WQ)(r,t.origin,(0,i.hs)(r,t.direction,e)),r}r(32114);const m=new e.I(()=>s());(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,a.vt)()},32114(t,n,r){r.d(n,{Rc:()=>M,J8:()=>m,rq:()=>f,Km:()=>l}),r(44208);var e=r(26390),a=r(29242),i=r(9093),o=r(82534),s=r(48163),u=r(51850),c=r(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(s.vt)}static createVec3f64(){return new h(u.vt)}static createVec4f64(){return new h(c.vt)}static createMat3f64(){return new h(a.vt)}static createMat4f64(){return new h(i.vt)}static createQuatf64(){return new h(o.vt)}get test(){}}h.createVec2f64();const f=h.createVec3f64(),l=h.createVec4f64(),M=(h.createMat3f64(),h.createMat4f64()),m=h.createQuatf64()},49718(t,n,r){r(51850),r(6867).i},6867(t,n,r){r.d(n,{i:()=>h});var e=r(58083),a=r(9093),i=r(35522),o=r(51850),s=r(78955),u=r(91829),c=r(71351);class h{get ray(){return this._ray}get distanceInRenderSpace(){return null==this.distance?null:((0,i.hs)(l,this.ray.direction,this.distance),(0,i.Bw)(l))}withinDistance(t){return!!f(this)&&this.distanceInRenderSpace<=t}getIntersectionPoint(t){return!!f(this)&&((0,i.hs)(l,this.ray.direction,this.distance),(0,i.WQ)(t,this.ray.origin,l),!0)}getTransformedNormal(t){return(0,i.C)(M,this.normal),M[3]=0,(0,s.Z0)(M,M,this.transformation),(0,i.C)(t,M),(0,i.S8)(t,t)}constructor(t){this.intersector=4,this.normal=(0,o.vt)(),this.transformation=(0,a.vt)(),this._ray=(0,c.vt)(),this.init(t)}init(t){this.distance=this.target=this.drapedLayerOrder=this.renderPriority=null,this.intersector=4,(0,c.C)(t,this._ray)}set(t,n,r,s,u,c,h){this.intersector=t,this.distance=r,(0,i.C)(this.normal,s??o.Cb),(0,e.C)(this.transformation,u??a.zK),this.target=n,this.drapedLayerOrder=c,this.renderPriority=h}copy(t){(0,c.C)(t.ray,this._ray),this.intersector=t.intersector,this.distance=t.distance,this.target=t.target,this.drapedLayerOrder=t.drapedLayerOrder,this.renderPriority=t.renderPriority,(0,i.C)(this.normal,t.normal),(0,e.C)(this.transformation,t.transformation)}}function f(t){return null!=t?.distance}const l=(0,o.vt)(),M=(0,u.vt)()},78553(t,n,r){r.d(n,{D:()=>i,p:()=>a});var e=r(56507);function a(t){const n=(0,e.Vr)(100*(1-t));return Math.max(0,Math.min(n,100))}function i(t){const n=1-t/100;return Math.max(0,Math.min(n,1))}}}]);
|