@arcgis/core 5.2.0-next.74 → 5.2.0-next.76
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/arcgisGlobal.d.ts +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/013c9cc198736a72f7f2.js +1 -0
- package/assets/esri/core/workers/chunks/0194244a3f437ad74045.js +1 -0
- package/assets/esri/core/workers/chunks/0502641d9a214b37ff29.js +1 -0
- package/assets/esri/core/workers/chunks/{4dcd4a052b40047a9230.js → 08cac27df6c216ae1995.js} +1 -1
- package/assets/esri/core/workers/chunks/08ec5461af74356e7570.js +1 -0
- package/assets/esri/core/workers/chunks/0909816f13d25cacf250.js +1 -0
- package/assets/esri/core/workers/chunks/0933203eee15ea50e123.js +1 -0
- package/assets/esri/core/workers/chunks/0d9fe49812554e7d7ba7.js +1 -0
- package/assets/esri/core/workers/chunks/{0e81c6d4f1c81f9b0a1b.js → 1142f8e9c80207d6bdae.js} +1 -1
- package/assets/esri/core/workers/chunks/16929524565a677db4dc.js +1 -0
- package/assets/esri/core/workers/chunks/16a04fc184728d66e6e1.js +1 -0
- package/assets/esri/core/workers/chunks/177c3b23c1cbd4737049.js +1 -0
- package/assets/esri/core/workers/chunks/18e0e993c0c39c962e61.js +1 -0
- package/assets/esri/core/workers/chunks/1a467da4c0b33f655199.js +1 -0
- package/assets/esri/core/workers/chunks/1ef28d4457c8c943ad19.js +1 -0
- package/assets/esri/core/workers/chunks/20b54e7872d967f3be32.js +1 -0
- package/assets/esri/core/workers/chunks/{5f31b375971ab067121e.js → 21f763694a41968ac21a.js} +1 -1
- package/assets/esri/core/workers/chunks/230925079cee040a8d77.js +1 -0
- package/assets/esri/core/workers/chunks/2501d9459f6d14c797e5.js +1 -0
- package/assets/esri/core/workers/chunks/257f1e8316877f611e11.js +1 -0
- package/assets/esri/core/workers/chunks/270ed3070d118edb3f37.js +1 -0
- package/assets/esri/core/workers/chunks/2740f755c3a322cbd477.js +1 -0
- package/assets/esri/core/workers/chunks/2e7c830b5b1fe406169f.js +1 -0
- package/assets/esri/core/workers/chunks/2f4ed8a63d57636a4ebe.js +1 -0
- package/assets/esri/core/workers/chunks/{31d19bb72a9e79b30070.js → 30818b5ff0ce51b25d6f.js} +1 -1
- package/assets/esri/core/workers/chunks/315031323e11a18154e3.js +1 -0
- package/assets/esri/core/workers/chunks/393f79843d5a78c1cc37.js +1 -0
- package/assets/esri/core/workers/chunks/3b5c5356353f1a2303a0.js +1 -0
- package/assets/esri/core/workers/chunks/3c28e2040cb4fb716eaa.js +1 -0
- package/assets/esri/core/workers/chunks/{99e3aa4832ed87474ab4.js → 44857a76be2c0ac65bb9.js} +1 -1
- package/assets/esri/core/workers/chunks/44a786aba84918f2b247.js +1 -0
- package/assets/esri/core/workers/chunks/{3e2b4e734aa20a308f3e.js → 46e56fac44e0fd26ba1d.js} +1 -1
- package/assets/esri/core/workers/chunks/{4491dc227c28e2ab4f8e.js → 484b251fbcbffcb58323.js} +1 -1
- package/assets/esri/core/workers/chunks/48e2d0bfb62e1f4f2ad9.js +1 -0
- package/assets/esri/core/workers/chunks/4945d6b0ca1812864185.js +1 -0
- package/assets/esri/core/workers/chunks/{7f2f2a92dce3f68e579b.js → 4b54444c04fbd6f42c18.js} +1 -1
- package/assets/esri/core/workers/chunks/4c82f5f23004f905a18f.js +1 -0
- package/assets/esri/core/workers/chunks/4d7a3b3aaf876da0891b.js +1 -0
- package/assets/esri/core/workers/chunks/4f8ce5887102971bfa34.js +2 -0
- package/assets/esri/core/workers/chunks/50b08415e072a49bc572.js +1 -0
- package/assets/esri/core/workers/chunks/{186bedc377cc97731ca2.js → 532e3a59888e4cc13bd3.js} +2 -2
- package/assets/esri/core/workers/chunks/53eed0941a39b56cc034.js +1 -0
- package/assets/esri/core/workers/chunks/{1a3afee3ecd806b4aa81.js → 552d6aecc7d88d16227b.js} +1 -1
- package/assets/esri/core/workers/chunks/56e6d8c4a9ed893ce951.js +1 -0
- package/assets/esri/core/workers/chunks/57159bcac86d660dcceb.js +1 -0
- package/assets/esri/core/workers/chunks/58026fc30d8a0ded4102.js +1 -0
- package/assets/esri/core/workers/chunks/59598023c0aea62a6297.js +1 -0
- package/assets/esri/core/workers/chunks/5bf2ce280ea35ea4c96b.js +1 -0
- package/assets/esri/core/workers/chunks/5fd2aa0be03dfb494efa.js +1 -0
- package/assets/esri/core/workers/chunks/619aa1381296172ff47b.js +1 -0
- package/assets/esri/core/workers/chunks/62f37d1075390a177ae9.js +1 -0
- package/assets/esri/core/workers/chunks/{2baa16ec8559e77c226f.js → 64a1ffc221e5b63b43fb.js} +1 -1
- package/assets/esri/core/workers/chunks/65d1e338612e59063eba.js +1 -0
- package/assets/esri/core/workers/chunks/680dd7b7638465eb33de.js +1 -0
- package/assets/esri/core/workers/chunks/69b0dcd7bcd8ec42e2c3.js +1 -0
- package/assets/esri/core/workers/chunks/6c740c411b085d2d08c4.js +1 -0
- package/assets/esri/core/workers/chunks/6c982779d6d47ec99899.js +1 -0
- package/assets/esri/core/workers/chunks/6dddd3df31961b9fda12.js +1 -0
- package/assets/esri/core/workers/chunks/{1ca04ecf010e68863014.js → 6e45ecf359bce3417f5d.js} +1 -1
- package/assets/esri/core/workers/chunks/702b2381acf4d1f90094.js +1 -0
- package/assets/esri/core/workers/chunks/{a52c88e2d837b525ff6c.js → 71ee7c51d2c60a180f1e.js} +1 -1
- package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js → 755b2d883fba90c4e688.js} +2 -2
- package/assets/esri/core/workers/chunks/75fc0b1db8e2e3fd2458.js +1 -0
- package/assets/esri/core/workers/chunks/{9e25f715cda59c686a4c.js → 792303e4090c0c70c4ff.js} +1 -1
- package/assets/esri/core/workers/chunks/79429c8be5da85713200.js +1 -0
- package/assets/esri/core/workers/chunks/7b470d6ad182548b9e95.js +1 -0
- package/assets/esri/core/workers/chunks/7d8eb4dbea1916320f74.js +1 -0
- package/assets/esri/core/workers/chunks/83e54166ba634ec2bd89.js +1717 -0
- package/assets/esri/core/workers/chunks/841c81c280114412c95b.js +1 -0
- package/assets/esri/core/workers/chunks/87eaed6fdabd482d142e.js +1 -0
- package/assets/esri/core/workers/chunks/88d5541679e77117bf03.js +1 -0
- package/assets/esri/core/workers/chunks/894ebc64b698e5d7604b.js +1 -0
- package/assets/esri/core/workers/chunks/8a36b999cbd65dd2f16c.js +1 -0
- package/assets/esri/core/workers/chunks/8ae3a6ddc87bf8315583.js +1 -0
- package/assets/esri/core/workers/chunks/{67f54586156d1ab80257.js → 8b980c6b92cc4ea68ede.js} +1 -1
- package/assets/esri/core/workers/chunks/8d9a7fa14489897780d3.js +1 -0
- package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +1 -0
- package/assets/esri/core/workers/chunks/9199300ffd225a1bbef1.js +1 -0
- package/assets/esri/core/workers/chunks/94b9a61b4dbb83425a78.js +1 -0
- package/assets/esri/core/workers/chunks/98613fded899c59f34a4.js +1 -0
- package/assets/esri/core/workers/chunks/{9ca59077712e45ef4d56.js → 9c3e6325dc60bcaf44d7.js} +1 -1
- package/assets/esri/core/workers/chunks/9e1392a0c608a13ab036.js +1 -0
- package/assets/esri/core/workers/chunks/9e2e4d197a7a57c2a691.js +1 -0
- package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js → a014c17fc210620da738.js} +2 -2
- package/assets/esri/core/workers/chunks/{8302bffd28cc6720e0fe.js → a19be304219808268039.js} +2 -2
- package/assets/esri/core/workers/chunks/{bd311c85437743cf7d2f.js → a4e4fa4dd1a122bbf7cd.js} +1 -1
- package/assets/esri/core/workers/chunks/a5240c8a47842138f31f.js +1 -0
- package/assets/esri/core/workers/chunks/a69c10bfd632a5546b34.js +1 -0
- package/assets/esri/core/workers/chunks/{b6d26d9738c0787acc38.js → a6a2a4a2bae0d327d7ed.js} +1 -1
- package/assets/esri/core/workers/chunks/a7727a2377470d586ff9.js +1 -0
- package/assets/esri/core/workers/chunks/a91c1d782346a9c7e1ef.js +1 -0
- package/assets/esri/core/workers/chunks/{6cd6d0cfd313f0475d98.js → ac59218847e5ef4c4160.js} +1 -1
- package/assets/esri/core/workers/chunks/ac87be2210f868524996.js +1 -0
- package/assets/esri/core/workers/chunks/aed16c3e26652960ad3f.js +1 -0
- package/assets/esri/core/workers/chunks/b084829a3fd709dc47a8.js +1 -0
- package/assets/esri/core/workers/chunks/{05f6887805d92da03122.js → b24fc7eeda580ef020d2.js} +1 -1
- package/assets/esri/core/workers/chunks/b37a20c5c4a4686257d4.js +1 -0
- package/assets/esri/core/workers/chunks/{a0a1f0bd3648738354a6.js → b4abf82b8ac974a55ae1.js} +1 -1
- package/assets/esri/core/workers/chunks/b950ddafba8125c84a5b.js +1 -0
- package/assets/esri/core/workers/chunks/b9d1bb106737a05290e1.js +1 -0
- package/assets/esri/core/workers/chunks/bab5f4b2424b487b87ac.js +1 -0
- package/assets/esri/core/workers/chunks/bad2c7219e95750906e1.js +1 -0
- package/assets/esri/core/workers/chunks/bbc6b270d2032189107c.js +1 -0
- package/assets/esri/core/workers/chunks/{faa55265020591fd2224.js → bc0395777c5c1adb1ddb.js} +1 -1
- package/assets/esri/core/workers/chunks/bc6e488f5fbd50f9f3d0.js +1 -0
- package/assets/esri/core/workers/chunks/bd7d87d175ba933ab2ce.js +1 -0
- package/assets/esri/core/workers/chunks/{859dd86c921053bf03a1.js → c17dda6fadb8bfad0d51.js} +1 -1
- package/assets/esri/core/workers/chunks/c1e5ffe9a251be5a0744.js +1 -0
- package/assets/esri/core/workers/chunks/{94368a097e6190ce3c7a.js → c37b28f200b704ae6002.js} +1 -1
- package/assets/esri/core/workers/chunks/ca6652c6304ad0e37e8f.js +1 -0
- package/assets/esri/core/workers/chunks/{762be5d3e6aeaea33f74.js → cef02ed3942c010da2e8.js} +1 -1
- package/assets/esri/core/workers/chunks/cff6390b863361eaeeed.js +1 -0
- package/assets/esri/core/workers/chunks/d2172583ee6e481a66aa.js +1 -0
- package/assets/esri/core/workers/chunks/d520d407043bc52e5410.js +1 -0
- package/assets/esri/core/workers/chunks/da0ef984509057ec8507.js +1 -0
- package/assets/esri/core/workers/chunks/dbdd96e558936955acdb.js +1 -0
- package/assets/esri/core/workers/chunks/ddd8f6154e265dbb6f9f.js +1 -0
- package/assets/esri/core/workers/chunks/de601f0d5a2a282d2efd.js +1 -0
- package/assets/esri/core/workers/chunks/de927b1460bc384f5b87.js +1 -0
- package/assets/esri/core/workers/chunks/de9a1cce70581920f248.js +1 -0
- package/assets/esri/core/workers/chunks/dff932682d6386a861ce.js +1 -0
- package/assets/esri/core/workers/chunks/{2c31648a4b95275516ee.js → e227eb44cd139fe2bc1b.js} +1 -1
- package/assets/esri/core/workers/chunks/e4e5a171a4874c5af4a4.js +1 -0
- package/assets/esri/core/workers/chunks/{fdca9873914b9dbd9244.js → e59101f1d060d0a30a65.js} +1 -1
- package/assets/esri/core/workers/chunks/{ddb92c815d17c67a45e6.js → e5d114f2b57d2b8e2f1c.js} +1 -1
- package/assets/esri/core/workers/chunks/e89e6eea380ca2c13b64.js +1 -0
- package/assets/esri/core/workers/chunks/e9d352d030dcad1619a6.js +1 -0
- package/assets/esri/core/workers/chunks/{3de6e54b6ed0feae1940.js → eae51e827f629ab37207.js} +1 -1
- package/assets/esri/core/workers/chunks/eee1fd629619021ea279.js +1 -0
- package/assets/esri/core/workers/chunks/ef47a5da641cb0d33fdf.js +1 -0
- package/assets/esri/core/workers/chunks/f35e749bb5be39880cbe.js +1 -0
- package/assets/esri/core/workers/chunks/{3dff36f6de181d9dcdc5.js → f40e4433e7608d0962a6.js} +1 -1
- package/assets/esri/core/workers/chunks/f4aa6e90200f61e623e5.js +1 -0
- package/assets/esri/core/workers/chunks/ff578f0ca68d652fece5.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/libs/text/pkg/bundle_bg.wasm +0 -0
- package/chunks/GaussianSplat.glsl.js +8 -8
- package/chunks/GaussianSplatShadow.glsl.js +4 -5
- package/chunks/HeatmapDensity.glsl.js +5 -5
- package/chunks/OccludedGeometryDepth.glsl.js +5 -0
- package/chunks/ShadowCastVisualize.glsl.js +2 -2
- package/chunks/bundle2.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/config.js +1 -1
- package/core/importUtils.js +2 -0
- package/geometry/geometryEngine.js +1 -1
- package/geometry/operators/importUtils.js +2 -0
- package/geometry/support/centroid.js +1 -1
- package/geometry/support/curves/densifyCurvedGeometry.js +1 -1
- package/geometry/support/extentUtils.js +1 -1
- package/geometry/support/frustum.js +1 -1
- package/geometry/support/normalizeUtils.d.ts +17 -15
- package/geometry/support/normalizeUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/FeatureLayer.d.ts +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/graphics/data/QueryEngine.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/data/projectionSupport.js +1 -1
- package/layers/graphics/data/queryUtils.js +1 -1
- package/layers/graphics/hydratedFeatures.js +1 -1
- package/layers/graphics/sources/support/sourceUtils.js +1 -1
- package/package.json +2 -2
- package/portal/schemas/definitions.js +1 -1
- package/rest/geoprocessor/utils.js +1 -1
- package/rest/identify.js +1 -1
- package/rest/imageService.js +1 -1
- package/rest/query/operations/query.js +1 -1
- package/rest/query/operations/queryAttributeBins.js +1 -1
- package/rest/query/operations/queryPivot.js +1 -1
- package/rest/query/operations/queryTopFeatures.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/CIMEffects.js +1 -1
- package/symbols/cim/animationUtils.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/effects/EffectCircularSector.js +1 -1
- package/symbols/cim/utils.js +1 -1
- package/views/2d/engine/BitmapTile.js +1 -1
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/flow/styles/Particles.js +1 -1
- package/views/2d/engine/flow/styles/Streamlines.js +1 -1
- package/views/2d/engine/imagery/RasterTile.js +1 -1
- package/views/2d/engine/imagery/RasterVFTile.js +1 -1
- package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
- package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileRendererHelper3D.js +1 -1
- package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
- package/views/2d/engine/webgl/Painter.js +1 -1
- package/views/2d/engine/webgl/RenderingDevice.js +1 -1
- package/views/2d/engine/webgl/TileContainer.js +1 -1
- package/views/2d/engine/webgl/TiledDisplayObject.js +1 -1
- package/views/2d/engine/webgl/animations/infos.js +1 -1
- package/views/2d/engine/webgl/animations/instructions.js +1 -1
- package/views/2d/engine/webgl/normalizedTileUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/GraphShaderModule.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphContext.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedLineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/bitmap/BitmapTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/clip/ClipTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPointShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/drop-shadow/DropShadowTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/flow/FlowTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/LineTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/overlay/OverlayTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterColorizerTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/VectorFieldTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BitmapShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BlendShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/FillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientStrokeShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/PatternFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TexturedLineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/Tile.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileDebugInfoShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileInfo.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileStencilShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ViewInfo.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/BaseRasterColorizerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/MagDirShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/ScalarShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderBackground.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderCircle.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderFill.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderIcon.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderLine.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderOutline.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderText.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileDebugInfoTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileStencilTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/utility/DebugOverlayTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueCircle.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/typed/TypedShaderProgram.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/types.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/uniformBufferUtils.js +2 -0
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/support/DisplayGL.js +1 -1
- package/views/2d/layers/support/RouteLayerInteraction.js +1 -1
- package/views/2d/viewpointUtils.js +1 -1
- package/views/3d/environment/EnvironmentManager.js +1 -1
- package/views/3d/interactive/Manipulator3D.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
- package/views/3d/interactive/manipulatorUtils.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/VerticesVisualElement.js +1 -1
- package/views/3d/layers/MediaLayerView3D.js +1 -1
- package/views/3d/layers/VectorTileLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
- package/views/3d/support/GaussianSplatSortWorker.js +1 -1
- package/views/3d/support/GaussianSplatWorkerHandle.js +1 -1
- package/views/3d/support/flow/geometryUtils.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/hitTest.js +1 -1
- package/views/3d/support/renderInfoUtils/line.js +1 -1
- package/views/3d/support/renderInfoUtils/polygon.js +1 -1
- package/views/3d/terrain/DrapedZ.js +2 -0
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/TileCompositor.js +1 -1
- package/views/3d/webgl/RenderCamera.js +1 -1
- package/views/3d/webgl/RenderNode.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatCovariance.glsl.js +8 -3
- package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatEvaluation.glsl.js +8 -2
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowAccumulator.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastAccumulate.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastAccumulateTechnique.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastAccumulateTechniqueConfiguration.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastClear.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastClearTechnique.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastMaskTechnique.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastRenderer.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastVisualize.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastVisualizeTechnique.js +2 -0
- package/views/3d/webgl-engine/effects/shadowAccumulation/ShadowCastVisualizeTechniqueConfiguration.js +2 -0
- package/views/3d/webgl-engine/lib/CutFillVisualization.js +1 -1
- package/views/3d/webgl-engine/lib/PositionReader.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBuffer.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFields.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonOverlapUtils.js +1 -1
- package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +28 -21
- package/views/3d/webgl-engine/shaders/HeatmapDensity.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/OccludedGeometryDepth.glsl.js +2 -0
- package/views/3d/webgl-engine/shaders/OccludedGeometryDepthTechnique.js +2 -0
- package/views/VideoView.js +1 -1
- package/views/selection/SelectionOperation.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/views/webgl/UniformBufferLayout.js +1 -1
- package/views/webgl/UniformBufferObject.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +20 -6
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.d.ts +100 -0
- package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.js +2 -0
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/multipleChoiceInputUtils.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Feature/FeatureRelationship/FeatureRelationshipViewModel.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
- package/widgets/UtilityNetworkTrace/support/ResultAreaHandler.js +1 -1
- package/widgets/support/SelectionList/GroupLayerItem.d.ts +8 -1
- package/widgets/support/SelectionList/GroupLayerItem.js +1 -1
- package/widgets/support/SelectionList/LayerItem.d.ts +8 -1
- package/widgets/support/SelectionList/LayerItem.js +1 -1
- package/widgets/support/SelectionList/SelectionListViewModel.d.ts +29 -1
- package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
- package/widgets/support/SelectionList.js +1 -1
- package/widgets/support/SelectionToolbar.js +1 -1
- package/assets/esri/core/workers/chunks/01c92e68fb17cf2d0e08.js +0 -1
- package/assets/esri/core/workers/chunks/02dd79beb13eff6be85e.js +0 -1
- package/assets/esri/core/workers/chunks/0823961e5d0bdedbf8cf.js +0 -2
- package/assets/esri/core/workers/chunks/0aedeb837399d3f92e4a.js +0 -1
- package/assets/esri/core/workers/chunks/0bf644f93c180a2bc2f8.js +0 -705
- package/assets/esri/core/workers/chunks/0dbf31a663b5220a3136.js +0 -1
- package/assets/esri/core/workers/chunks/0df660dfd941cff3ea1d.js +0 -1
- package/assets/esri/core/workers/chunks/1119a33245138e7b3914.js +0 -1
- package/assets/esri/core/workers/chunks/1418c03c4ab87f7ab5f4.js +0 -1
- package/assets/esri/core/workers/chunks/160b204cbf5bda2a29e9.js +0 -1
- package/assets/esri/core/workers/chunks/193aed69de2dec4f36b6.js +0 -1
- package/assets/esri/core/workers/chunks/1cc063aa2ddf44bbd515.js +0 -1
- package/assets/esri/core/workers/chunks/264fd750691d517ab1f3.js +0 -1
- package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +0 -1
- package/assets/esri/core/workers/chunks/2a2ed7bd44010f24c2dd.js +0 -1
- package/assets/esri/core/workers/chunks/2bdb9b5365869081c936.js +0 -1
- package/assets/esri/core/workers/chunks/2d45daacec0d5ed38782.js +0 -1
- package/assets/esri/core/workers/chunks/2e44978ee677aa23163d.js +0 -256
- package/assets/esri/core/workers/chunks/2ea3ca68cfa4d34e8f3b.js +0 -1
- package/assets/esri/core/workers/chunks/2f81047790c4890ae625.js +0 -1
- package/assets/esri/core/workers/chunks/32f5112c848efec6c33b.js +0 -1
- package/assets/esri/core/workers/chunks/35fd2f765d2cb3f59a22.js +0 -1462
- package/assets/esri/core/workers/chunks/3bc2943035391b44d4cf.js +0 -29
- package/assets/esri/core/workers/chunks/3d6b2d5ae647e140abaf.js +0 -1
- package/assets/esri/core/workers/chunks/44e8cd4b3dad777ab0c9.js +0 -1
- package/assets/esri/core/workers/chunks/45ccca01db0027b9dc16.js +0 -1
- package/assets/esri/core/workers/chunks/4710f21b138a2c9a0345.js +0 -1
- package/assets/esri/core/workers/chunks/4abd54518e35050feb90.js +0 -1
- package/assets/esri/core/workers/chunks/4b5bd0c9a55ea2998601.js +0 -1
- package/assets/esri/core/workers/chunks/4c2794687aea172775a0.js +0 -1
- package/assets/esri/core/workers/chunks/4cf2b0558a4acc141429.js +0 -1
- package/assets/esri/core/workers/chunks/4d9bde9f66817a92ceca.js +0 -1
- package/assets/esri/core/workers/chunks/4e129b9f5772a06e580c.js +0 -1
- package/assets/esri/core/workers/chunks/509aecafbc629bee1c15.js +0 -1
- package/assets/esri/core/workers/chunks/5441f96cdd0660229efe.js +0 -1
- package/assets/esri/core/workers/chunks/553be2bd69bd311477ea.js +0 -1
- package/assets/esri/core/workers/chunks/5600fc334d20c4f0c83d.js +0 -1
- package/assets/esri/core/workers/chunks/56bbde1dff96b423fbb9.js +0 -1
- package/assets/esri/core/workers/chunks/5bf4ab72b9634b06cc5d.js +0 -1
- package/assets/esri/core/workers/chunks/5e3d5347223f0111f40f.js +0 -1
- package/assets/esri/core/workers/chunks/613e799377bdb767c955.js +0 -1
- package/assets/esri/core/workers/chunks/623d5518bca227f643bd.js +0 -1
- package/assets/esri/core/workers/chunks/62811bca7ad2100c023c.js +0 -1
- package/assets/esri/core/workers/chunks/64176f7ae719289a2f79.js +0 -1
- package/assets/esri/core/workers/chunks/6f58cb9dffe8016397a2.js +0 -1
- package/assets/esri/core/workers/chunks/73f77f5a6907cb8d9a35.js +0 -1
- package/assets/esri/core/workers/chunks/76b573143d1a65fdbcb6.js +0 -1
- package/assets/esri/core/workers/chunks/7aaa051b51a8e34bbfb0.js +0 -1
- package/assets/esri/core/workers/chunks/7b5b66ae79e0287e3ade.js +0 -1
- package/assets/esri/core/workers/chunks/7e373d9c98ce910db9d2.js +0 -1
- package/assets/esri/core/workers/chunks/7f91e45156bbe88f9a62.js +0 -1
- package/assets/esri/core/workers/chunks/86a4057572755b403548.js +0 -1
- package/assets/esri/core/workers/chunks/877594b6db08da98acd7.js +0 -1
- package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +0 -1
- package/assets/esri/core/workers/chunks/8d21e2dabc5165f1c8ca.js +0 -1
- package/assets/esri/core/workers/chunks/903e1cd8b76eff19ebdf.js +0 -1
- package/assets/esri/core/workers/chunks/917c11cb40a7742d7f98.js +0 -1
- package/assets/esri/core/workers/chunks/91d133c04ca764d74934.js +0 -1
- package/assets/esri/core/workers/chunks/92c4464b67fce6cea134.js +0 -1
- package/assets/esri/core/workers/chunks/947f1ea4dbc3e3419ecc.js +0 -1
- package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +0 -1
- package/assets/esri/core/workers/chunks/96cec8a02ca96175d602.js +0 -1
- package/assets/esri/core/workers/chunks/98e6c1d035755a074d24.js +0 -1
- package/assets/esri/core/workers/chunks/9902fcd2070c8eb6d043.js +0 -1
- package/assets/esri/core/workers/chunks/9b76c8974424a1908e86.js +0 -1
- package/assets/esri/core/workers/chunks/9be6827e5756031a56c1.js +0 -1
- package/assets/esri/core/workers/chunks/a101152066dd56259619.js +0 -1
- package/assets/esri/core/workers/chunks/a27cdf4c29dd50a6dab1.js +0 -1
- package/assets/esri/core/workers/chunks/a294dd12b5c708ce04af.js +0 -1
- package/assets/esri/core/workers/chunks/a2a2c7e274fb32fecffa.js +0 -1
- package/assets/esri/core/workers/chunks/a3bf8aa81ee398da5b52.js +0 -1
- package/assets/esri/core/workers/chunks/a9053ad0f4e8c4705665.js +0 -1
- package/assets/esri/core/workers/chunks/afeeb11b39e140303b5a.js +0 -1
- package/assets/esri/core/workers/chunks/b1a175b3b2d1a7ddde8e.js +0 -1
- package/assets/esri/core/workers/chunks/b33d870cbfa238762c5e.js +0 -1
- package/assets/esri/core/workers/chunks/b3b53cf0a3a30164d337.js +0 -1
- package/assets/esri/core/workers/chunks/b599b7dadce8b8bc88f6.js +0 -1
- package/assets/esri/core/workers/chunks/b858adff7043683fe41c.js +0 -1
- package/assets/esri/core/workers/chunks/b984b808d383974ca3d8.js +0 -1
- package/assets/esri/core/workers/chunks/be1d2c3a61e6447fbbc7.js +0 -1
- package/assets/esri/core/workers/chunks/bff75cc7413bf0d319db.js +0 -1
- package/assets/esri/core/workers/chunks/c02ae1d40c1fe95ae6c5.js +0 -1
- package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +0 -1
- package/assets/esri/core/workers/chunks/c1a4d499a30f3d80567b.js +0 -1
- package/assets/esri/core/workers/chunks/c25dc9073e73d6b44d88.js +0 -1
- package/assets/esri/core/workers/chunks/c45a5bcf26659daf02a1.js +0 -1
- package/assets/esri/core/workers/chunks/c46f79d5b7712adbbd1c.js +0 -1
- package/assets/esri/core/workers/chunks/c53b2be005721591e29b.js +0 -1
- package/assets/esri/core/workers/chunks/c82ab4f0908290e70ee9.js +0 -1
- package/assets/esri/core/workers/chunks/c866b66ba72d96453899.js +0 -1
- package/assets/esri/core/workers/chunks/c873383e7dae35dc1a61.js +0 -1
- package/assets/esri/core/workers/chunks/cc5ec6e99aa09342c704.js +0 -1
- package/assets/esri/core/workers/chunks/cd892c9603710d6130a9.js +0 -1
- package/assets/esri/core/workers/chunks/cf360767310fb45660a8.js +0 -1
- package/assets/esri/core/workers/chunks/d021775cf747556660a5.js +0 -1
- package/assets/esri/core/workers/chunks/d08f81d545930a79fb2e.js +0 -1
- package/assets/esri/core/workers/chunks/d607cf154218d20e4114.js +0 -1
- package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +0 -1
- package/assets/esri/core/workers/chunks/da6134c7883531f21afe.js +0 -1
- package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +0 -1
- package/assets/esri/core/workers/chunks/e4a2eefffe16cd5bb20f.js +0 -1
- package/assets/esri/core/workers/chunks/e602b91d8fdc36a92530.js +0 -1
- package/assets/esri/core/workers/chunks/ebfb3cdc0df15eb05d75.js +0 -1
- package/assets/esri/core/workers/chunks/ec1841e6e498d54012eb.js +0 -1
- package/assets/esri/core/workers/chunks/ed1de8b7406269e217b9.js +0 -29
- package/assets/esri/core/workers/chunks/f1727b4a32cb6f36a5e6.js +0 -1
- package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +0 -1
- package/assets/esri/core/workers/chunks/f721756a6c1593f96409.js +0 -1
- package/assets/esri/core/workers/chunks/fb51f823b25c827c6b29.js +0 -1
- package/chunks/geometryEngineBase.js +0 -2
- package/geometry/geometryAdapters/json.js +0 -2
- package/geometry/geometryEngineJSON.js +0 -2
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +0 -2
- package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadowCastAccumulate.glsl.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechnique.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechniqueConfiguration.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadowCastClear.glsl.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadowCastClearTechnique.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadowCastMaskTechnique.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadowCastVisualize.glsl.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadowCastVisualizeTechnique.js +0 -2
- package/views/3d/webgl-engine/shaders/ShadowCastVisualizeTechniqueConfiguration.js +0 -2
- /package/assets/esri/core/workers/chunks/{0823961e5d0bdedbf8cf.js.LICENSE.txt → 4f8ce5887102971bfa34.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{186bedc377cc97731ca2.js.LICENSE.txt → 532e3a59888e4cc13bd3.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js.LICENSE.txt → 755b2d883fba90c4e688.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js.LICENSE.txt → a014c17fc210620da738.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{8302bffd28cc6720e0fe.js.LICENSE.txt → a19be304219808268039.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1670],{60999(t,e,n){n.d(e,{DZ:()=>d,Ke:()=>h,Tj:()=>c,UT:()=>m,aD:()=>y,jJ:()=>s});var r=n(5482),o=n(69622),a=n(97768),u=n(17676),i=n(10107),l=n(64108);function s(t,e,n){return(0,u.Lx)(t.map((t,r)=>e.apply(n,[t,r])))}async function c(t,e,n){return(await(0,u.Lx)(t.map((t,r)=>e.apply(n,[t,r])))).map(t=>t.value)}function f(t){return{ok:!0,value:t}}function p(t){return{ok:!1,error:t}}async function h(t){if(null==t)return{ok:!1,error:new Error("no promise provided")};try{return f(await t)}catch(t){return p(t)}}async function d(t){try{return f(await t)}catch(t){return(0,u.QP)(t),p(t)}}function m(t,e){return new g(t,e)}let g=class extends o.A{get value(){return null!=(t=this._result)&&!0===t.ok?t.value:null;var t}get error(){return null!=(t=this._result)&&!1===t.ok?t.error:null;var t}get finished(){return null!=this._result}constructor(t,e){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,a.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:n}=this._abortController;this.promise=t(n),this.promise.then(t=>{this._result=f(t),this._cleanup()},t=>{this._result=p(t),this._cleanup()}),this._abortHandle=(0,u.u7)(e,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,a.xt)(this._abortHandle),this._abortController=null}};(0,r.Cg)([(0,i.MZ)()],g.prototype,"value",null),(0,r.Cg)([(0,i.MZ)()],g.prototype,"error",null),(0,r.Cg)([(0,i.MZ)()],g.prototype,"finished",null),(0,r.Cg)([(0,i.MZ)()],g.prototype,"promise",void 0),(0,r.Cg)([(0,i.MZ)()],g.prototype,"_result",void 0),g=(0,r.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],g);class y{constructor(){this._sequence=Promise.resolve()}async acquire(){let t;this._sequence=new Promise(e=>{t=this._sequence.then(()=>e,()=>e)});const e=await t;return{[Symbol.dispose]:e}}async run(t){const e={stack:[],error:void 0,hasError:!1};try{return(0,r.mS)(e,await this.acquire(),!1),await t()}catch(t){e.error=t,e.hasError=!0}finally{(0,r.hk)(e)}}}},35522(t,e,n){n.d(e,{$A:()=>C,Bw:()=>a,C:()=>u,Cc:()=>S,DI:()=>b,Io:()=>M,Ln:()=>y,Om:()=>R,Qr:()=>f,Re:()=>s,S8:()=>A,T9:()=>m,WQ:()=>l,Z0:()=>j,_S:()=>h,aI:()=>E,ei:()=>$,fw:()=>k,g7:()=>I,gL:()=>P,hG:()=>v,hZ:()=>i,hs:()=>g,jk:()=>d,lw:()=>c,m3:()=>w,oW:()=>T,t2:()=>Z,tn:()=>p,ze:()=>x});var r=n(51850),o=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 u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function i(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function s(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 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 p(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function h(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(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 m(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 g(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 M(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function v(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function w(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function x(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function A(t,e){const n=e[0],r=e[1],o=e[2];let a=n*n+r*r+o*o;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 R(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function C(t,e,n){const r=e[0],o=e[1],a=e[2],u=n[0],i=n[1],l=n[2];return t[0]=o*l-a*i,t[1]=a*u-r*l,t[2]=r*i-o*u,t}function S(t,e,n,r){const o=e[0],a=e[1],u=e[2];return t[0]=o+r*(n[0]-o),t[1]=a+r*(n[1]-a),t[2]=u+r*(n[2]-u),t}function j(t,e,n){const r=e[0],o=e[1],a=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*a+n[12],t[1]=n[1]*r+n[5]*o+n[9]*a+n[13],t[2]=n[2]*r+n[6]*o+n[10]*a+n[14],t}function $(t,e,n){const r=e[0],o=e[1],a=e[2];return t[0]=r*n[0]+o*n[3]+a*n[6],t[1]=r*n[1]+o*n[4]+a*n[7],t[2]=r*n[2]+o*n[5]+a*n[8],t}function P(t,e,n){return k(t,e,n[0],n[1],n[2],n[3])}function k(t,e,n,r,o,a){const u=e[0],i=e[1],l=e[2],s=r*l-o*i,c=o*u-n*l,f=n*i-r*u,p=r*f-o*c,h=o*s-n*f,d=n*c-r*s,m=2*a;return t[0]=u+s*m+2*p,t[1]=i+c*m+2*h,t[2]=l+f*m+2*d,t}function I(t,e){A(O,t),A(q,e);const n=R(O,q);return n>1?0:n<-1?Math.PI:Math.acos(n)}const O=(0,r.vt)(),q=(0,r.vt)();function Z(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function E(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],u=e[0],i=e[1],l=e[2],s=(0,o.FD)();return Math.abs(n-u)<=s*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(r-i)<=s*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(a-l)<=s*Math.max(1,Math.abs(a),Math.abs(l))}function T(t,e,n){const r=n[0]-e[0],o=n[1]-e[1],a=n[2]-e[2];let u=r*r+o*o+a*a;return u>0?(u=1/Math.sqrt(u),t[0]=r*u,t[1]=o*u,t[2]=a*u,t):(t[0]=0,t[1]=0,t[2]=0,t)}const F=s,_=c,L=f,z=M,G=v,N=a,U=w;Object.freeze(Object.defineProperty({__proto__:null,abs:p,add:l,angle:I,bezier:function(t,e,n,r,o,a){const u=1-a,i=u*u,l=a*a,s=i*u,c=3*a*i,f=3*l*u,p=l*a;return t[0]=e[0]*s+n[0]*c+r[0]*f+o[0]*p,t[1]=e[1]*s+n[1]*c+r[1]*f+o[1]*p,t[2]=e[2]*s+n[2]*c+r[2]*f+o[2]*p,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:u,cross:C,crossAndNormalize:function(t,e,n){const r=e[0],o=e[1],a=e[2],u=n[0],i=n[1],l=n[2],s=o*l-a*i,c=a*u-r*l,f=r*i-o*u,p=Math.sqrt(s*s+c*c+f*f);return t[0]=s/p,t[1]=c/p,t[2]=f/p,t},direction:T,dist:z,distance:M,div:L,divide:f,dot:R,equals:E,exactEquals:Z,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,o,a){const u=a*a,i=u*(2*a-3)+1,l=u*(a-2)+a,s=u*(a-1),c=u*(3-2*a);return t[0]=e[0]*i+n[0]*l+r[0]*s+o[0]*c,t[1]=e[1]*i+n[1]*l+r[1]*s+o[1]*c,t[2]=e[2]*i+n[2]*l+r[2]*s+o[2]*c,t},inverse:b,len:N,length:a,lerp:S,max:m,min:d,mul:_,multiply:c,negate:x,normalize:A,random:function(t,e=1){const n=o.Ov,r=2*n()*Math.PI,a=2*n()-1,u=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*u,t[1]=Math.sin(r)*u,t[2]=a*e,t},rotateX:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[0],a[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),a[2]=o[1]*Math.sin(r)+o[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 o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),a[1]=o[1],a[2]=o[2]*Math.cos(r)-o[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 o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),a[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),a[2]=o[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:g,scaleAndAdd:y,set:i,sign:h,sqrDist:G,sqrLen:U,squaredDistance:v,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:F,subtract:s,transformMat3:$,transformMat4:j,transformMat4Z:function(t,e){return e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]},transformQuat:P,transformQuatValues:k},Symbol.toStringTag,{value:"Module"})),n.d(e,["Il",0,N,"jb",0,F,"lo",0,G,"uE",0,U,"xg",0,z])},159(t,e,n){n.d(e,{A:()=>s});var r,o=n(5482),a=n(69540),u=n(25482),i=n(91429),l=n(99157);let s=r=class extends((0,a.OU)(u.o)){constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,o.Cg)([(0,i.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],s.prototype,"steps",void 0),s=r=(0,o.Cg)([(0,i.$K)("esri.geometry.operators.support.GeographicTransformation")],s)},99157(t,e,n){n.d(e,{A:()=>l});var r,o=n(5482),a=n(69540),u=n(25482),i=n(91429);let l=r=class extends((0,a.OU)(u.o)){constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,i.MZ)({json:{name:"transformForward",read:t=>!t,write:(t,e,n)=>{e[n]=!t}}})],l.prototype,"isInverse",void 0),(0,o.Cg)([(0,i.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,o.Cg)([(0,i.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,o.Cg)([(0,i.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(t,e,n){n.r(e),n.d(e,{projectBuffer:()=>o});var r=n(49208);function o(t,e,n,o,a,u,i=Math.floor(t.length/3)){const l=(0,r.jd)(e,a);if(null==l)return!1;if(l===r.pO){if(t===o&&n===u)return!0;const e=n+3*i;for(let r=n,a=u;r<e;r++,a++)o[a]=t[r]??0;return!0}const s=n+3*i;for(let e=n,r=u;e<s;e+=3,r+=3)l(t,e,o,r);return!0}},49208(t,e,n){n.d(e,{Tp:()=>f,jd:()=>c,pO:()=>h});var r=n(34727),o=n(86211),a=n(73941),u=n(79258),i=n(34403),l=n(21325);const s={2:{5:h,7:null,9:null,10:h,1:x,6:null,8:null,0:null,3:m,11:g,2:h,4:S},5:{5:h,7:null,9:null,10:h,1:x,6:null,8:null,0:null,3:m,11:g,2:h,4:S},7:{5:null,7:h,9:null,10:h,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(t,e,n,r){const o=t[e]/O,a=I-2*Math.atan(Math.exp(-t[e+1]/O)),u=O+(t[e+2]??0),i=Math.cos(a)*u;n[r]=Math.cos(o)*i,n[r+1]=Math.sin(o)*i,n[r+2]=Math.sin(a)*u},6:null,8:null,0:null,3:h,11:function(t,e,n,r){d(t,e,n,r),g(n,r,n,r)},2:d,4:function(t,e,n,r){d(t,e,n,r),S(n,r,n,r)}},4:{5:j,7:null,9:null,10:j,1:function(t,e,n,r){j(t,e,n,r),x(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){j(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){j(t,e,n,r),g(n,r,n,r)},2:j,4:h},1:{5:C,7:null,9:null,10:C,1:h,6:null,8:null,0:null,3:function(t,e,n,r){C(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){C(t,e,n,r),g(n,r,n,r)},2:C,4:function(t,e,n,r){C(t,e,n,r),S(n,r,n,r)}},6:{5:null,7:R,9:null,10:R,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:x,6:w,8:v,0:null,3:m,11:g,2:h,4:S},11:{5:y,7:null,9:null,10:y,1:function(t,e,n,r){y(t,e,n,r),x(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){y(t,e,n,r),m(n,r,n,r)},11:h,2:y,4:function(t,e,n,r){y(t,e,n,r),S(n,r,n,r)}}};function c(t,e){return f(t,e)?.projector}function f(t,e){if(null==t||null==e)return null;if($.source.spatialReference===t&&$.dest.spatialReference===e)return $;const n=p(t,$.source),r=p(e,$.dest);return 0===n&&0===r?(0,l.aI)(t,e)?$.projector=h:$.projector=null:$.projector=s[n][r],$}function p(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,o.GA)(t,1)),(0,a.jA)(t)?e.spatialReferenceId=1:(0,l.oT)(t)?e.spatialReferenceId=2:(0,l.K8)(t)?e.spatialReferenceId=3:(0,l.r1)(t)?e.spatialReferenceId=11:t.wkt===a.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===a.FY.wkt?e.spatialReferenceId=6:t.wkt===a.LJ.wkt?e.spatialReferenceId=8:(0,a.q8)(t)?e.spatialReferenceId=7:(0,a.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function h(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function d(t,e,n,r){n[r]=k*(t[e]/O),n[r+1]=k*(I-2*Math.atan(Math.exp(-t[e+1]/O))),n[r+2]=t[e+2]??0}function m(t,e,n,o){!function(t,e,n,o,a){const u=.4999999*Math.PI,i=(0,r.qE)(P*t[e+1],-u,u),l=Math.sin(i);n[o++]=P*t[e]*a.radius,n[o++]=a.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[o]=t[e+2]??0}(t,e,n,o,u.$O)}function g(t,e,n,r){n[r]=t[e]*q,n[r+1]=t[e+1]*q,n[r+2]=t[e+2]??0}function y(t,e,n,r){n[r]=t[e]*Z,n[r+1]=t[e+1]*Z,n[r+2]=t[e+2]??0}function M(t,e,n,r,o){const a=o+(t[e+2]??0),u=P*t[e],i=P*t[e+1],l=Math.cos(i)*a;n[r]=Math.cos(u)*l,n[r+1]=Math.sin(u)*l,n[r+2]=Math.sin(i)*a}function v(t,e,n,r){M(t,e,n,r,u.Sw.radius)}function w(t,e,n,r){M(t,e,n,r,u.sH.radius)}function x(t,e,n,r){M(t,e,n,r,u.$O.radius)}function b(t,e,n,o,a){const u=t[e],i=t[e+1],l=t[e+2]??0,s=Math.sqrt(u*u+i*i+l*l),c=(0,r.YN)(l/(0===s?1:s)),f=Math.atan2(i,u);n[o++]=k*f,n[o++]=k*c,n[o]=s-a}function A(t,e,n,r){b(t,e,n,r,u.Sw.radius)}function R(t,e,n,r){b(t,e,n,r,u.sH.radius)}function C(t,e,n,r){b(t,e,n,r,u.$O.radius)}function S(t,e,n,r){!function(t,e,n,r,o){const a=P*t[e],u=P*t[e+1],i=t[e+2]??0,l=Math.sin(u),s=Math.cos(u),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);n[r++]=(c+i)*s*Math.cos(a),n[r++]=(c+i)*s*Math.sin(a),n[r++]=(c*(1-o.eccentricitySquared)+i)*l}(t,e,n,r,u.$O)}function j(t,e,n,r){const o=i.TP,a=t[e],l=t[e+1],s=t[e+2]??0;let c,f,p,h,d,m,g,y,M,v,w,x,b,A,R,C,S,j,$,P,I;c=Math.abs(s),f=a*a+l*l,p=Math.sqrt(f),h=f+s*s,d=Math.sqrt(h),P=Math.atan2(l,a),m=s*s/h,g=f/h,A=o.a2/d,R=o.a3-o.a4/d,g>.3?(y=c/d*(1+g*(o.a1+A+m*R)/d),$=Math.asin(y),v=y*y,M=Math.sqrt(1-v)):(M=p/d*(1-m*(o.a5-A-g*R)/d),$=Math.acos(M),v=1-M*M,y=Math.sqrt(v)),w=1-u.$O.eccentricitySquared*v,x=u.$O.radius/Math.sqrt(w),b=o.a6*x,A=p-x*M,R=c-b*y,S=M*A+y*R,C=M*R-y*A,j=C/(b/w+S),$+=j,I=S+C*j/2,s<0&&($=-$),n[r++]=k*P,n[r++]=k*$,n[r]=I}const $={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},P=(0,r.kU)(1),k=(0,r.KJ)(1),I=.5*Math.PI,O=u.$O.radius,q=O*Math.PI/180,Z=180/(O*Math.PI);n.d(e,["w5",0,s])},91218(t,e,n){n.r(e),n.d(e,{canProjectWithoutEngine:()=>B,initializeProjection:()=>H,isEqualBaseGCS:()=>W,isLoaded:()=>O,isLoadedOrLoad:()=>q,isLoadedOrLoadFor:()=>Z,load:()=>T,project:()=>F,projectAsync:()=>K,projectExtent:()=>ot,projectMany:()=>_,projectMultipoint:()=>V,projectOrLoad:()=>z,projectOrLoadMany:()=>G,projectPoint:()=>Q,projectPolygon:()=>nt,projectPolyline:()=>tt,projectWithoutEngine:()=>J,requiresLoad:()=>E,test:()=>D,tryProject:()=>L,unload:()=>U});var r=n(49186),o=n(17676),a=n(62788),u=n(95488),i=n(51850),l=n(21276),s=n(73941),c=n(5443),f=n(91075),p=n(48526),h=n(86738),d=n(39829),m=n(82799),g=n(16930),y=n(98764),M=n(159),v=n(9762),w=n(49208);function x(t,e,n,r,o,a){return b[0]=t,b[1]=e,b[2]=n,(0,v.projectBuffer)(b,r,0,o,a,0)}const b=(0,i.vt)();var A=n(60408),R=n(21325),C=n(52006);let S=null,j=null,$=null,P=null,k={};const I=new u.I;function O(){return!!(j?.isLoaded()&&$?.isLoaded()&&P?.isLoaded())}function q(){return!!O()||((0,a.gc)(I),T(),!1)}function Z(t,e){return!t||!e||B(t,e)||q()}function E(t,e){return!B(t,e)&&!O()}async function T(t){null==S&&(S=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(j=t,j.load())),n.e(8377).then(n.bind(n,8377)).then(t=>($=t,$.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(P=t,P.load()))])),await S,(0,o.Te)(t),I.notify()}function F(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,l.H)(t),_(t,t[0].spatialReference,e,n)):((0,l.f)(t),_([t],t.spatialReference,e,n)[0])}function _(t,e,n,r){if(null==e||null==n)return t;if(B(e,n,r))return t.map(t=>J(t,e,n));if(null==r?.geographicTransformation&&(0,s.jA)(e))return _(t.map(t=>J(t,e,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,s.jA)(n))return _(t,e,g.A.WGS84).map(t=>J(t,g.A.WGS84,n));if(!O())throw new N;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:P.getTransformation(e,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let o=k[t];o||(o=P.getTransformation(e,n)||new M.A,k[t]=o),r={geographicTransformation:o,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof f.A?j.executeMany(t,n,r):$.executeMany(t,n,r)}function L(t,e,n){try{return F(t,e,n)}catch(t){return null}}function z(t,e){const n=G([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function G(t,e,n){if(!O())for(const n of t)if(null!=n&&!(0,R.aI)(n.spatialReference,e)&&(0,R.fn)(n.spatialReference)&&(0,R.fn)(e)&&!B(n.spatialReference,e))return(0,a.gc)(I),{pending:T(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,R.aI)(t.spatialReference,e)?t:(0,R.fn)(t.spatialReference)&&(0,R.fn)(e)?F(t,e,n):null)}}class N extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function U(){S=null,j=null,$=null,P=null,k={}}const D={get loadPromise(){return S}};async function K(t,e,n){if((0,o.Te)(n),!t)return t;const r=G(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,o.Te)(n),K(t,e,n);const a=r.geometries??[];return Array.isArray(t)?a:a[0]}function B(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,R.aI)(t,e)||(0,R.fn)(t)&&(0,R.fn)(e)&&!!(0,w.jd)(t,e))}function W(t,e){if((0,R.aI)(t,e))return!0;if(!(0,R.fn)(t)||!(0,R.fn)(e))return!1;const n=(0,R.oT)(t)||(0,R.K8)(t)||(0,R.x1)(t),r=(0,R.oT)(e)||(0,R.K8)(e)||(0,R.x1)(e);return n&&r}async function H(t,e,n,r){if(O())return(0,o.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:o}of t)if(e&&n&&!B(e,n,o))return T(r)}else if(t&&e&&!B(t,e,n))return T(r);return(0,o.NO)(r)}function J(t,e,n){return t?(0,A.fT)(t)?Y(t,e,new h.A,n,0):(0,A.ZC)(t)?at(t,e,new c.A,n,0):(0,A.Bi)(t)?rt(t,e,new d.A,n,0):(0,A.Rg)(t)?et(t,e,new m.A,n,0):(0,A.U9)(t)?X(t,e,new p.A,n,0):null:null}function Q(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=Y(t,t.spatialReference,e,n,r)}function Y(t,e,n,r,o){st[0]=t.x,st[1]=t.y;const a=t.z;return st[2]=void 0!==a?a:o,(0,v.projectBuffer)(st,e,0,st,r,0)?(n.x=st[0],n.y=st[1],n.spatialReference=r,void 0!==a||(0,s.xP)(r)?(n.z=st[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function V(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=X(t,t.spatialReference,e,n,r)}function X(t,e,n,r,o){const{points:a,hasZ:u,hasM:i}=t,l=[],s=a.length,c=[];for(const t of a)c.push(t[0],t[1],u?t[2]:o);if(!(0,v.projectBuffer)(c,e,0,c,r,0,s))return null;const f=lt(u,r);for(let t=0;t<s;++t){const e=3*t,n=c[e],r=c[e+1];f&&i?l.push([n,r,c[e+2],a[t][3]]):f?l.push([n,r,c[e+2]]):i?l.push([n,r,a[t][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=u,n.hasM=i,n}function tt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=et(t,t.spatialReference,e,n,r)}function et(t,e,n,r,o){const{curvePaths:a,paths:u,hasZ:i,hasM:l}=t;if(!(a?it(a,i??!1,l??!1,e,n.curvePaths=[],r,o):ut(u,i??!1,l??!1,e,n.paths,r,o)))return null;const s=lt(i,r);return n.spatialReference=r,n.hasZ=s,n.hasM=l,n}function nt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=rt(t,t.spatialReference,e,n,r)}function rt(t,e,n,r,o){const{curveRings:a,rings:u,hasZ:i,hasM:l}=t;return(a?it(a,i??!1,l??!1,e,n.curveRings=[],r,o):ut(u,i??!1,l??!1,e,n.rings,r,o))?(n.spatialReference=r,n.hasZ=lt(i,r),n.hasM=l,n):null}function ot(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=at(t,t.spatialReference,e,n,r)}function at(t,e,n,r,o){const{xmin:a,ymin:u,xmax:i,ymax:l,hasZ:s,hasM:c}=t;if(!x(a,u,s?t.zmin:o,e,st,r))return null;const f=lt(s,r);return n.xmin=st[0],n.ymin=st[1],f&&(n.zmin=st[2]),x(i,l,s?t.zmax:o,e,st,r)?(n.xmax=st[0],n.ymax=st[1],f&&(n.zmax=st[2]),c&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function ut(t,e,n,r,o,a,u=0){const i=new Array;for(const n of t)for(const t of n)i.push(t[0],t[1],e?t[2]:u);if(!(0,v.projectBuffer)(i,r,0,i,a,0))return!1;let l=0;o.length=0;const s=e?3:2,c=lt(e,a);for(const e of t){const t=new Array;for(const r of e){const e=i.slice(l,l+=3);c||e.pop(),n&&e.push(r[s]),t.push(e)}o.push(t)}return!0}function it(t,e,n,r,o,a,u=0){const i=new Array;for(const n of t)for(const t of n){if((0,C.FG)(t))return!1;if((0,C.aO)(t)){const[n,r]=t.c;i.push(n[0],n[1],e?n[2]:u,r[0],r[1],u);continue}if((0,C.n1)(t)){const[n,r,o]=t.b;i.push(n[0],n[1],e?n[2]:u,r[0],r[1],u,o[0],o[1],u);continue}const n=t;i.push(n[0],n[1],e?n[2]:u)}if(!(0,v.projectBuffer)(i,r,0,i,a,0))return!1;let l=0;o.length=0;const s=e?3:2,c=lt(e,a);for(const e of t){const t=new Array;for(const r of e){const e=i.slice(l,l+=3);if(c||e.pop(),n&&e.push((0,C.yP)(r)[s]),(0,C.FG)(r))return!1;if((0,C.aO)(r)){const n=i[l++],r=i[l++];++l,t.push({c:[e,[n,r]]});continue}if((0,C.n1)(r)){const n=i[l++],r=i[l++];++l;const o=i[l++],a=i[l++];++l,t.push({b:[e,[n,r],[o,a]]});continue}t.push(e)}o.push(t)}return!0}function lt(t,e){return t||(0,s.xP)(e)||(0,R.aI)(e,y.Y0)}const st=(0,i.vt)()},98764(t,e,n){n.d(e,{lO:()=>c});var r=n(73941),o=n(16930),a=n(21325);const u=new o.A(r.fv),i=new o.A(r.FY),l=new o.A(r.LJ),s=new o.A(r.Ro);function c(t){const e=f.get(t);if(e)return e;let n=u;if(t)if(t===i)n=i;else if(t===l)n=l;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,a.tl)(e)||(0,a.tl)(r)?n=i:((0,a.ZL)(e)||(0,a.ZL)(r))&&(n=l);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===p?n=i:t===h&&(n=l)}}}return f.set(t,n),n}const f=new Map,p=i.wkt.toUpperCase(),h=l.wkt.toUpperCase();n.d(e,["GD",0,u,"Y0",0,s])},34403(t,e,n){var r=n(79258);Math.PI;const o=r.$O.radius,a=r.$O.eccentricitySquared,u={a1:o*a,a2:o*a*o*a,a3:o*a*a/2,a4:o*a*o*a*2.5,a5:o*a+o*a*a/2,a6:1-a};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,n.d(e,["TP",0,u])},60408(t,e,n){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function o(t){return void 0!==t.points}function a(t){return void 0!==t.x&&void 0!==t.y}function u(t){return void 0!==t.paths||void 0!==t.curvePaths}function i(t){return void 0!==t.rings||void 0!==t.curveRings}function l(t){return"object"==typeof t&&"vertexAttributes"in t}function s(t){return t?a(t)?"esriGeometryPoint":u(t)?"esriGeometryPolyline":i(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":o(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function f(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>s,Bi:()=>i,Pv:()=>c,Rg:()=>u,U9:()=>o,W0:()=>f,ZC:()=>r,fT:()=>a,uW:()=>l})},76369(t,e,n){n.d(e,{LF:()=>b,M9:()=>A});var r=n(49186),o=n(93637),a=n(40876),u=n(59247),i=n(27865);class l extends SyntaxError{constructor(t,e,n,r){super(t),this.expected=e,this.found=n,this.location=r,this.name="SyntaxError"}format(t){let e="Error: "+this.message;if(this.location){let n=null;const r=t.find(t=>t.source===this.location.source);r&&(n=r.text.split(/\r\n|\n|\r/g));const o=this.location.start,a=this.location.source&&"function"==typeof this.location.source.offset?this.location.source.offset(o):o,u=this.location.source+":"+a.line+":"+a.column;if(n){const t=this.location.end,r="".padEnd(a.line.toString().length," "),i=n[o.line-1],l=(o.line===t.line?t.column:i.length+1)-o.column||1;e+="\n --\x3e "+u+"\n"+r+" |\n"+a.line+" | "+i+"\n"+r+" | "+"".padEnd(o.column-1," ")+"".padEnd(l,"^")}else e+="\n at "+u}return e}static buildMessage(t,e){function n(t){return t.codePointAt(0).toString(16).toUpperCase()}const r=Object.prototype.hasOwnProperty.call(RegExp.prototype,"unicode")?new RegExp("[\\p{C}\\p{Mn}\\p{Mc}]","gu"):null;function o(t){return r?t.replace(r,t=>"\\u{"+n(t)+"}"):t}function a(t){return o(t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,t=>"\\x0"+n(t)).replace(/[\x10-\x1F\x7F-\x9F]/g,t=>"\\x"+n(t)))}function u(t){return o(t.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,t=>"\\x0"+n(t)).replace(/[\x10-\x1F\x7F-\x9F]/g,t=>"\\x"+n(t)))}const i={literal:t=>'"'+a(t.text)+'"',class(t){const e=t.parts.map(t=>Array.isArray(t)?u(t[0])+"-"+u(t[1]):u(t));return"["+(t.inverted?"^":"")+e.join("")+"]"+(t.unicode?"u":"")},any:()=>"any character",end:()=>"end of input",other:t=>t.description};function l(t){return i[t.type](t)}return"Expected "+function(t){const e=t.map(l);if(e.sort(),e.length>0){let t=1;for(let n=1;n<e.length;n++)e[n-1]!==e[n]&&(e[t]=e[n],t++);e.length=t}switch(e.length){case 1:return e[0];case 2:return e[0]+" or "+e[1];default:return e.slice(0,-1).join(", ")+", or "+e[e.length-1]}}(t)+" but "+function(t){return t?'"'+a(t)+'"':"end of input"}(e)+" found."}}function s(t){if(!t||0===t.length)return null;if("string"==typeof t){const e=c(t);return e&&0!==e.length?e:null}const e=t.map(t=>{if(!Number.isFinite(t.scale)||t.scale<=0)throw new r.A("effect:invalid-scale","scale must be finite and greater than 0",{stop:t});return{scale:t.scale,effects:c(t.value)}});e.sort((t,e)=>e.effects.length-t.effects.length);for(let t=0;t<e.length-1;t++){if(!(0,i.mj)(e[t].effects,e[t+1].effects))throw new r.A("effect:interpolation-impossible","Cannot interpolate by scale between 2 lists of mixed effects",{a:e[t].effects,b:e[t+1].effects});(0,i.O9)(e[t].effects,e[t+1].effects)}return e.sort((t,e)=>e.scale-t.scale),e}function c(t){let e;if(!t)return[];try{e=function(t,e){const n={},r=(e=void 0!==e?e:{}).grammarSource,o={start:xt};let a=xt;const u="none",i=")",s=",",c="(",f="%",p="px",h="cm",d="mm",m="in",g="pt",y="pc",M="deg",v="rad",w="grad",x="turn",b="#",A=".",R="e",C=/^[ \t\n\r]/,S=/^[a-z\-]/,j=/^[0-9a-fA-F]/,$=/^[+\-]/,P=/^[0-9]/,k=yt("none"),I=mt("none",!1),O=mt(")",!1),q=mt(",",!1),Z=gt([" ","\t","\n","\r"],!1,!1,!1),E=yt("function"),T=mt("(",!1),F=yt("identifier"),_=gt([["a","z"],"-"],!1,!1,!1),L=yt("percentage"),z=mt("%",!1),G=yt("length"),N=mt("px",!1),U=mt("cm",!1),D=mt("mm",!1),K=mt("in",!1),B=mt("pt",!1),W=mt("pc",!1),H=yt("angle"),J=mt("deg",!1),Q=mt("rad",!1),Y=mt("grad",!1),V=mt("turn",!1),X=yt("number"),tt=yt("color"),et=mt("#",!1),nt=gt([["0","9"],["a","f"],["A","F"]],!1,!1,!1),rt=gt(["+","-"],!1,!1,!1),ot=gt([["0","9"]],!1,!1,!1),at=mt(".",!1),ut=mt("e",!1);let it=0|e.peg$currPos,lt=it;const st=[{line:1,column:1}];let ct,ft=it,pt=e.peg$maxFailExpected||[],ht=0|e.peg$silentFails;if(e.startRule){if(!(e.startRule in o))throw new Error("Can't start parsing from rule \""+e.startRule+'".');a=o[e.startRule]}function dt(){return t.substring(lt,it)}function mt(t,e){return{type:"literal",text:t,ignoreCase:e}}function gt(t,e,n,r){return{type:"class",parts:t,inverted:e,ignoreCase:n,unicode:r}}function yt(t){return{type:"other",description:t}}function Mt(e){let n,r=st[e];if(r)return r;if(e>=st.length)n=st.length-1;else for(n=e;!st[--n];);for(r=st[n],r={line:r.line,column:r.column};n<e;)10===t.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return st[e]=r,r}function vt(t,e,n){const o=Mt(t),a=Mt(e);return{source:r,start:{offset:t,line:o.line,column:o.column},end:{offset:e,line:a.line,column:a.column}}}function wt(t){it<ft||(it>ft&&(ft=it,pt=[]),pt.push(t))}function xt(){let t;return t=bt(),t===n&&(t=function(){let t,e;if(t=[],e=At(),e!==n)for(;e!==n;)t.push(e),e=At();else t=n;return t}()),t}function bt(){let e,r;return ht++,e=it,Ct(),t.substr(it,4)===u?(r=u,it+=4):(r=n,0===ht&&wt(I)),r!==n?(Ct(),lt=e,e=[]):(it=e,e=n),ht--,e===n&&0===ht&&wt(k),e}function At(){let e,r,o,a;return e=it,Ct(),r=function(){let e,r,o;return ht++,e=it,r=St(),r!==n?(40===t.charCodeAt(it)?(o=c,it++):(o=n,0===ht&&wt(T)),o!==n?(lt=e,e=r):(it=e,e=n)):(it=e,e=n),ht--,e===n&&(r=n,0===ht&&wt(E)),e}(),r!==n?(Ct(),o=function(){let e,r,o,a,u,i,l,c;if(e=it,r=Rt(),r!==n){for(o=[],a=it,u=Ct(),44===t.charCodeAt(it)?(i=s,it++):(i=n,0===ht&&wt(q)),i===n&&(i=null),l=Ct(),c=Rt(),c!==n?(u=[u,i,l,c],a=u):(it=a,a=n);a!==n;)o.push(a),a=it,u=Ct(),44===t.charCodeAt(it)?(i=s,it++):(i=n,0===ht&&wt(q)),i===n&&(i=null),l=Ct(),c=Rt(),c!==n?(u=[u,i,l,c],a=u):(it=a,a=n);lt=e,e=function(t,e){return e.length>0?function(t,e){return[t].concat(function(t){return t.map(function(t){return t[3]})}(e))}(t,e):[t]}(r,o)}else it=e,e=n;return e}(),o===n&&(o=null),Ct(),41===t.charCodeAt(it)?(a=i,it++):(a=n,0===ht&&wt(O)),a!==n?(Ct(),lt=e,e=function(t,e){return{type:"function",name:t,parameters:e||[]}}(r,o)):(it=e,e=n)):(it=e,e=n),e}function Rt(){let t,e;return t=it,e=jt(),e===n&&(e=$t(),e===n&&(e=Pt(),e===n&&(e=function(){let t,e;return ht++,t=it,Ct(),e=It(),e!==n?(lt=t,t=function(t){return{value:t,unit:null}}(e)):(it=t,t=n),ht--,t===n&&0===ht&&wt(X),t}()))),e!==n&&(lt=t,e=function(t){return{type:"quantity",value:t.value,unit:t.unit}}(e)),t=e,t===n&&(t=it,e=kt(),e!==n&&(lt=t,e=function(t){return{type:"color",colorType:t.type,value:t.value}}(e)),t=e),t}function Ct(){let e,r;for(ht++,e=[],r=t.charAt(it),C.test(r)?it++:(r=n,0===ht&&wt(Z));r!==n;)e.push(r),r=t.charAt(it),C.test(r)?it++:(r=n,0===ht&&wt(Z));return ht--,e}function St(){let e,r,o;if(ht++,e=it,r=[],o=t.charAt(it),S.test(o)?it++:(o=n,0===ht&&wt(_)),o!==n)for(;o!==n;)r.push(o),o=t.charAt(it),S.test(o)?it++:(o=n,0===ht&&wt(_));else r=n;return r!==n&&(lt=e,r=dt()),e=r,ht--,e===n&&(r=n,0===ht&&wt(F)),e}function jt(){let e,r,o;return ht++,e=it,Ct(),r=It(),r!==n?(37===t.charCodeAt(it)?(o=f,it++):(o=n,0===ht&&wt(z)),o!==n?(lt=e,e=function(t){return{value:t,unit:"%"}}(r)):(it=e,e=n)):(it=e,e=n),ht--,e===n&&0===ht&&wt(L),e}function $t(){let e,r,o;return ht++,e=it,Ct(),r=It(),r!==n?(t.substr(it,2)===p?(o=p,it+=2):(o=n,0===ht&&wt(N)),o!==n?(lt=e,e=function(t){return{value:t,unit:"px"}}(r)):(it=e,e=n)):(it=e,e=n),e===n&&(e=it,Ct(),r=It(),r!==n?(t.substr(it,2)===h?(o=h,it+=2):(o=n,0===ht&&wt(U)),o!==n?(lt=e,e=function(t){return{value:t,unit:"cm"}}(r)):(it=e,e=n)):(it=e,e=n),e===n&&(e=it,Ct(),r=It(),r!==n?(t.substr(it,2)===d?(o=d,it+=2):(o=n,0===ht&&wt(D)),o!==n?(lt=e,e=function(t){return{value:t,unit:"mm"}}(r)):(it=e,e=n)):(it=e,e=n),e===n&&(e=it,Ct(),r=It(),r!==n?(t.substr(it,2)===m?(o=m,it+=2):(o=n,0===ht&&wt(K)),o!==n?(lt=e,e=function(t){return{value:t,unit:"in"}}(r)):(it=e,e=n)):(it=e,e=n),e===n&&(e=it,Ct(),r=It(),r!==n?(t.substr(it,2)===g?(o=g,it+=2):(o=n,0===ht&&wt(B)),o!==n?(lt=e,e=function(t){return{value:t,unit:"pt"}}(r)):(it=e,e=n)):(it=e,e=n),e===n&&(e=it,Ct(),r=It(),r!==n?(t.substr(it,2)===y?(o=y,it+=2):(o=n,0===ht&&wt(W)),o!==n?(lt=e,e=function(t){return{value:t,unit:"pc"}}(r)):(it=e,e=n)):(it=e,e=n)))))),ht--,e===n&&0===ht&&wt(G),e}function Pt(){let e,r,o;return ht++,e=it,r=It(),r!==n?(t.substr(it,3)===M?(o=M,it+=3):(o=n,0===ht&&wt(J)),o!==n?(lt=e,e=function(t){return{value:t,unit:"deg"}}(r)):(it=e,e=n)):(it=e,e=n),e===n&&(e=it,r=It(),r!==n?(t.substr(it,3)===v?(o=v,it+=3):(o=n,0===ht&&wt(Q)),o!==n?(lt=e,e=function(t){return{value:t,unit:"rad"}}(r)):(it=e,e=n)):(it=e,e=n),e===n&&(e=it,r=It(),r!==n?(t.substr(it,4)===w?(o=w,it+=4):(o=n,0===ht&&wt(Y)),o!==n?(lt=e,e=function(t){return{value:t,unit:"grad"}}(r)):(it=e,e=n)):(it=e,e=n),e===n&&(e=it,r=It(),r!==n?(t.substr(it,4)===x?(o=x,it+=4):(o=n,0===ht&&wt(V)),o!==n?(lt=e,e=function(t){return{value:t,unit:"turn"}}(r)):(it=e,e=n)):(it=e,e=n)))),ht--,e===n&&(r=n,0===ht&&wt(H)),e}function kt(){let e,r,o,a;if(ht++,e=it,35===t.charCodeAt(it)?(r=b,it++):(r=n,0===ht&&wt(et)),r!==n){if(o=[],a=t.charAt(it),j.test(a)?it++:(a=n,0===ht&&wt(nt)),a!==n)for(;a!==n;)o.push(a),a=t.charAt(it),j.test(a)?it++:(a=n,0===ht&&wt(nt));else o=n;o!==n?(lt=e,e={type:"hex",value:dt()}):(it=e,e=n)}else it=e,e=n;return e===n&&(e=it,r=At(),r!==n&&(lt=e,r=function(t){return{type:"function",value:t}}(r)),e=r,e===n&&(e=it,r=St(),r!==n&&(lt=e,r={type:"named",value:dt()}),e=r)),ht--,e===n&&(r=n,0===ht&&wt(tt)),e}function It(){let e,r,o,a,u,i,l,s;for(e=it,r=t.charAt(it),$.test(r)?it++:(r=n,0===ht&&wt(rt)),r===n&&(r=null),o=it,a=[],u=t.charAt(it),P.test(u)?it++:(u=n,0===ht&&wt(ot));u!==n;)a.push(u),u=t.charAt(it),P.test(u)?it++:(u=n,0===ht&&wt(ot));if(46===t.charCodeAt(it)?(u=A,it++):(u=n,0===ht&&wt(at)),u!==n){if(i=[],l=t.charAt(it),P.test(l)?it++:(l=n,0===ht&&wt(ot)),l!==n)for(;l!==n;)i.push(l),l=t.charAt(it),P.test(l)?it++:(l=n,0===ht&&wt(ot));else i=n;i!==n?(a=[a,u,i],o=a):(it=o,o=n)}else it=o,o=n;if(o===n)if(o=[],a=t.charAt(it),P.test(a)?it++:(a=n,0===ht&&wt(ot)),a!==n)for(;a!==n;)o.push(a),a=t.charAt(it),P.test(a)?it++:(a=n,0===ht&&wt(ot));else o=n;if(o!==n){if(a=it,101===t.charCodeAt(it)?(u=R,it++):(u=n,0===ht&&wt(ut)),u!==n){if(i=t.charAt(it),$.test(i)?it++:(i=n,0===ht&&wt(rt)),i===n&&(i=null),l=[],s=t.charAt(it),P.test(s)?it++:(s=n,0===ht&&wt(ot)),s!==n)for(;s!==n;)l.push(s),s=t.charAt(it),P.test(s)?it++:(s=n,0===ht&&wt(ot));else l=n;l!==n?(u=[u,i,l],a=u):(it=a,a=n)}else it=a,a=n;a===n&&(a=null),lt=e,e=parseFloat(dt())}else it=e,e=n;return e}ct=a();const Ot=ct!==n&&it===t.length;function qt(){throw ct!==n&&it<t.length&&wt({type:"end"}),function(t,e,n){return new l(l.buildMessage(t,e),t,e,n)}(pt,ft<t.length?function(e=it){const n=t.codePointAt(e);return void 0===n?"":String.fromCodePoint(n)}(ft):null,ft<t.length?vt(ft,ft+1):vt(ft,ft))}return e.peg$library?{peg$result:ct,peg$currPos:it,peg$FAILED:n,peg$maxFailExpected:pt,peg$maxFailPos:ft,peg$success:Ot,peg$throw:Ot?void 0:qt}:Ot?ct:void qt()}(t)}catch(e){throw new r.A("effect:invalid-syntax","Invalid effect syntax",{value:t,error:e})}return e.map(t=>function(t){try{switch(t.name){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":return function(t){let e=1;return f(t.parameters,1),1===t.parameters.length&&(e=g(t.parameters[0])),new u.yG(t.name,e)}(t);case"opacity":return function(t){let e=1;return f(t.parameters,1),1===t.parameters.length&&(e=g(t.parameters[0])),new u.jm(e)}(t);case"hue-rotate":return function(t){let e=0;return f(t.parameters,1),1===t.parameters.length&&(e=function(t){return function(t){if("quantity"!==t.type||!(0===t.value&&null===t.unit||t.unit&&null!=d[t.unit]))throw new r.A("effect:type-error",`Expected <angle>, Actual: ${p(t)}`,{term:t})}(t),t.value*d[t.unit]||0}(t.parameters[0])),new u.Nd(e)}(t);case"blur":return function(t){let e=0;return f(t.parameters,1),1===t.parameters.length&&(e=y(t.parameters[0]),h(e,t.parameters[0])),new u.Fk(e)}(t);case"drop-shadow":return function(t){const e=[];let n=null;for(const o of t.parameters)if("color"===o.type){if(e.length&&Object.freeze(e),n)throw new r.A("effect:type-error","Accepts only one color",{});n=M(o)}else{const t=y(o);if(Object.isFrozen(e))throw new r.A("effect:type-error","<length> parameters not consecutive",{lengths:e});e.push(t),3===e.length&&h(t,o)}if(e.length<2||e.length>3)throw new r.A("effect:type-error",`Expected <length>{2,3}, Actual: <length>{${e.length}}`,{lengths:e});return new u.$b(e[0],e[1],e[2]||0,n||v("black"))}(t);case"bloom":return function(t){let e=1,n=0,r=0;return f(t.parameters,3),t.parameters[0]&&(e=g(t.parameters[0])),t.parameters[1]&&(n=y(t.parameters[1]),h(n,t.parameters[1])),t.parameters[2]&&(r=g(t.parameters[2])),new u.bv(e,n,r)}(t)}}catch(e){throw e.details.filter=t,e}throw new r.A("effect:unknown-effect",`Effect '${t.name}' is not supported`,{effect:t})}(t))}function f(t,e){if(t.length>e)throw new r.A("effect:type-error",`Function supports up to ${e} parameters, Actual: ${t.length}`,{parameters:t})}function p(t){if("color"===t.type)return"<color>";if(t.unit){if(t.unit in m)return"<length>";if(t.unit in d)return"<angle>";if("%"===t.unit)return"<percentage>"}return"<double>"}function h(t,e){if(t<0)throw new r.A("effect:type-error",`Negative values are not allowed, Actual: ${t}`,{term:e})}const d={deg:1,grad:.9,rad:180/Math.PI,turn:360},m={px:1,cm:96/2.54,mm:96/2.54/10,in:96,pc:16,pt:96/72};function g(t){!function(t){if("quantity"!==t.type||null!==t.unit&&"%"!==t.unit)throw new r.A("effect:type-error",`Expected <double> or <percentage>, Actual: ${p(t)}`,{term:t})}(t);const e=t.value;return h(e,t),"%"===t.unit?.01*e:e}function y(t){return function(t){if("quantity"!==t.type||!(0===t.value&&null===t.unit||t.unit&&null!=m[t.unit]))throw new r.A("effect:type-error",`Expected <length>, Actual: ${p(t)}`,{term:t})}(t),t.value*m[t.unit]||0}function M(t){switch(t.colorType){case"hex":return(0,a.j5)(t.value);case"named":return v(t.value);case"function":return function(t){if(f(t.parameters,4),w.test(t.name))return[g(t.parameters[0]),g(t.parameters[1]),g(t.parameters[2]),t.parameters[3]?g(t.parameters[3]):1];if(x.test(t.name))return(0,a.ay)(function(t){return function(t){if("quantity"!==t.type||null!==t.unit)throw new r.A("effect:type-error",`Expected <double>, Actual: ${p(t)}`,{term:t})}(t),h(t.value,t),t.value}(t.parameters[0]),g(t.parameters[1]),g(t.parameters[2]),t.parameters[3]?g(t.parameters[3]):1);throw new r.A("effect:syntax-error",`Invalid color function '${t.name}'`,{colorFunction:t})}(t.value)}}function v(t){if(!(0,a.V6)(t))throw new r.A("effect:unknown-color",`color '${t}' isn't valid`,{namedColor:t});return(0,a.c4)(t)}const w=/^rgba?/i,x=/^hsla?/i;function b(t,e,n){try{return function(t){if(!t||0===t.length)return null;if(function(t){const e=t[0];return!!e&&"scale"in e}(t)){const e=[];for(const n of t)e.push({scale:n.scale,value:R(n.value)});return e}return R(t)}(t)}catch(t){n?.messages?.push(t)}return null}function A(t,e,n,r){try{const r=function(t){const e=s(t);return e?(0,i.dw)(e)?e.map(t=>t.toJSON()):e.map(({scale:t,effects:e})=>({scale:t,value:e.map(t=>t.toJSON())})):null}(t);(0,o.sM)(n,r,e)}catch(t){r.messages&&r.messages.push(t)}}function R(t){if(!t?.length)return"";const e=[];for(const n of t){let t=[];switch(n.type){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":case"opacity":t=[C(n,"amount")];break;case"blur":t=[C(n,"radius","pt")];break;case"hue-rotate":t=[C(n,"angle","deg")];break;case"drop-shadow":t=[C(n,"xoffset","pt"),C(n,"yoffset","pt"),C(n,"blurRadius","pt"),S(n,"color")];break;case"bloom":t=[C(n,"strength"),C(n,"radius","pt"),C(n,"threshold")]}const r=`${n.type}(${t.filter(Boolean).join(" ")})`;s(r),e.push(r)}return e.join(" ")}function C(t,e,n){if(null==t[e])throw new r.A("effect:missing-parameter",`Missing parameter '${e}' in ${t.type} effect`,{effect:t});return n?t[e]+n:""+t[e]}function S(t,e){if(null==t[e])throw new r.A("effect:missing-parameter",`Missing parameter '${e}' in ${t.type} effect`,{effect:t});const n=t[e];return`rgba(${n[0]||0}, ${n[1]||0}, ${n[2]||0}, ${n[3]/255||0})`}},63074(t,e,n){var r=n(5482),o=n(91429),a=n(89317),u=n(76369);const i={type:["average","color-burn","color-dodge","color","darken","destination-atop","destination-in","destination-out","destination-over","difference","exclusion","hard-light","hue","invert","lighten","lighter","luminosity","minus","multiply","normal","overlay","plus","reflect","saturation","screen","soft-light","source-atop","source-in","source-out","vivid-light","xor"],nonNullable:!0,json:{read:!1,write:!1,origins:{"web-map":{read:!0,write:{layerContainerTypes:a.K}},"portal-item":{read:!0,write:{layerContainerTypes:a.K}}}}},l={read:{reader:u.LF},write:{allowNull:!0,writer:u.M9,layerContainerTypes:a.K}},s={json:{read:!1,write:!1,origins:{"web-map":l,"portal-item":l}}};n.d(e,["LF",0,s,"dM",0,t=>{const e=t;let n=class extends e{constructor(){super(...arguments),this.blendMode="normal",this.effect=null}};return(0,r.Cg)([(0,o.MZ)(i)],n.prototype,"blendMode",void 0),(0,r.Cg)([(0,o.MZ)(s)],n.prototype,"effect",void 0),n=(0,r.Cg)([(0,o.$K)("esri.layers.mixins.BlendLayer")],n),n},"sU",0,i])},25036(t,e,n){var r=n(5482),o=n(91429);n.d(e,["j",0,t=>{const e=t;let n=class extends e{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){const t={minScale:this.minScale,maxScale:this.maxScale},e=this.parent;void 0!==e?.effectiveScaleRange&&function(t,e){t.minScale=t.minScale>0?e.minScale>0?Math.min(t.minScale,e.minScale):t.minScale:e.minScale,t.maxScale=t.maxScale>0?e.maxScale>0?Math.max(t.maxScale,e.maxScale):t.maxScale:e.maxScale}(t,e.effectiveScaleRange);const n=this._get("effectiveScaleRange");return n&&n.minScale===t.minScale&&n.maxScale===t.maxScale?n:t}};return(0,r.Cg)([(0,o.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],n.prototype,"minScale",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],n.prototype,"maxScale",void 0),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],n.prototype,"effectiveScaleRange",null),n=(0,r.Cg)([(0,o.$K)("esri.layers.mixins.ScaleRangeLayer")],n),n}])},56560(t,e,n){n.d(e,{A:()=>i});var r=n(5482),o=n(69540),a=n(91429),u=n(86738);let i=class extends o.Pw{constructor(t){super(t),this.sourcePoint=null,this.mapPoint=null}};(0,r.Cg)([(0,a.MZ)()],i.prototype,"sourcePoint",void 0),(0,r.Cg)([(0,a.MZ)({type:u.A})],i.prototype,"mapPoint",void 0),i=(0,r.Cg)([(0,a.$K)("esri.layers.support.ControlPoint")],i)},78553(t,e,n){n.d(e,{D:()=>a,p:()=>o});var r=n(56507);function o(t){const e=(0,r.Vr)(100*(1-t));return Math.max(0,Math.min(e,100))}function a(t){const e=1-t/100;return Math.max(0,Math.min(e,1))}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3586],{73354(t,e,n){n.d(e,{a:()=>h,b:()=>a,c:()=>o,d:()=>i,e:()=>f,f:()=>c,l:()=>u,n:()=>d,t:()=>s}),n(44208);var r=n(72727);function o(t,e,n){s(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function s(t,e,n,o=3,s=o){const i=(0,r.k)(t.length,o,3),a=(0,r.k)(e.length,s,3),l=Math.min(i,a),u=n[0],c=n[1],h=n[2],f=n[4],d=n[5],p=n[6],m=n[8],y=n[9],g=n[10],M=n[12],_=n[13],b=n[14];let R=0,v=0;for(let n=0;n<l;n++){const n=e[R],r=e[R+1],i=e[R+2];t[v]=u*n+f*r+m*i+M,t[v+1]=c*n+d*r+y*i+_,t[v+2]=h*n+p*r+g*i+b,R+=s,v+=o}return t}function i(t,e,n){a(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function a(t,e,n,o=3,s=o){const i=(0,r.k)(t.length,o,3),a=(0,r.k)(e.length,s,3),l=Math.min(i,a),u=n[0],c=n[1],h=n[2],f=n[3],d=n[4],p=n[5],m=n[6],y=n[7],g=n[8];let M=0,_=0;for(let n=0;n<l;n++){const n=e[M],r=e[M+1],i=e[M+2];t[_]=u*n+f*r+m*i,t[_+1]=c*n+d*r+y*i,t[_+2]=h*n+p*r+g*i,M+=s,_+=o}}function l(t,e,n,r=3,o=r){const s=Math.min(t.length/r,e.length/o);let i=0,a=0;for(let l=0;l<s;l++)t[a]=n*e[i],t[a+1]=n*e[i+1],t[a+2]=n*e[i+2],i+=o,a+=r;return t}function u(t,e,n,r){c(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,r,o=3,s=o){const i=Math.min(t.length/o,e.length/s);let a=0,l=0;const u=1/2.2;for(let c=0;c<i;c++)t[l]=r*(n*e[a])**u,t[l+1]=r*(n*e[a+1])**u,t[l+2]=r*(n*e[a+2])**u,a+=s,l+=o}function h(t,e,n,o=3,s=o){const i=(0,r.k)(t.length,o,3),a=(0,r.k)(e.length,s,3),l=Math.min(i,a);let u=0,c=0;for(let r=0;r<l;r++)t[c]=e[u]+n[0],t[c+1]=e[u+1]+n[1],t[c+2]=e[u+2]+n[2],u+=s,c+=o;return t}function f(t,e){d(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function d(t,e,n=3,r=n){const o=Math.min(t.length/n,e.length/r);let s=0,i=0;for(let a=0;a<o;a++){const o=e[s],a=e[s+1],l=e[s+2],u=o*o+a*a+l*l;if(u>0){const e=1/Math.sqrt(u);t[i]=e*o,t[i+1]=e*a,t[i+2]=e*l}s+=r,i+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:d,normalizeView:f,scale:l,scaleView:function(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),o=t.typedBuffer,s=t.typedBufferStride,i=e.typedBuffer,a=e.typedBufferStride;let l=0,u=0;for(let t=0;t<r;t++)o[u]=i[l]>>n,o[u+1]=i[l+1]>>n,o[u+2]=i[l+2]>>n,l+=a,u+=s},transformMat3:a,transformMat3View:i,transformMat4:s,transformMat4View:o,translate:h},Symbol.toStringTag,{value:"Module"}))},69540(t,e,n){var r=n(5482),o=n(69622),s=(n(44208),n(4718)),i=(n(53966),n(97768)),a=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let o=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,a.oY)(this);(0,i.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,o={},l=new Map;for(const e in n){const i=n[e],a=r?.originOf(e),u=i.clonable;if(i.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[e];let h=null;if("function"==typeof u)h=u(c,t);else if("reference"===u)h=c;else if(h=(0,s.TU)(c,t),null!=c&&null==h)continue;0===a?l.set(e,h):o[e]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(o);if(l.size){const t=(0,a.oY)(u)?.store;if(t)for(const[e,n]of l)t.set(e,n,0)}return u}};return o=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],o),o},h=c(o.A);n.d(e,["OU",0,c,"Pw",0,h])},95488(t,e,n){n.d(e,{I:()=>o});var r=n(11406);class o extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>o,vt:()=>r});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:r,fromValues:function(t,e,n,r,o,s,i,a,l,u,c,h,f,d,p,m){return[t,e,n,r,o,s,i,a,l,u,c,h,f,d,p,m]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["zK",0,s])},51850(t,e,n){function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function s(t,e,n){return[t,e,n]}function i(t,e,n){return[t,e,n]}function a(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 l(){return[0,0,0]}function u(){return s(1,1,1)}function c(){return s(1,0,0)}function h(){return s(0,1,0)}function f(){return s(0,0,1)}n.d(e,{CN:()=>i,S:()=>u,Ul:()=>l,ci:()=>a,fA:()=>s,o8:()=>o,vt:()=>r});const d=[0,0,0],p=u(),m=c(),y=h(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:m,UNIT_Y:y,UNIT_Z:g,ZEROS:d,clone:o,create:r,freeze:i,fromArray:a,fromValues:s,ones:u,unitX:c,unitY:h,unitZ:f,zeros:l},Symbol.toStringTag,{value:"Module"})),n.d(e,["Cb",0,g,"Cw",0,m,"JP",0,y,"Un",0,p,"uY",0,d])},58083(t,e,n){n.d(e,{$0:()=>g,$h:()=>T,B8:()=>c,C:()=>s,D_:()=>a,N9:()=>_,O7:()=>S,Qw:()=>u,Tl:()=>f,X_:()=>w,e$:()=>p,eL:()=>m,hM:()=>M,hZ:()=>i,hs:()=>d,kN:()=>y,l:()=>x,lw:()=>h,mg:()=>l,o1:()=>A,sC:()=>v,t2:()=>P,t5:()=>O,tZ:()=>N,ut:()=>E,v3:()=>I});var r=n(51850),o=n(34304);function s(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[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function i(t,e,n,r,o,s,i,a,l,u,c,h,f,d,p,m,y){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=s,t[5]=i,t[6]=a,t[7]=l,t[8]=u,t[9]=c,t[10]=h,t[11]=f,t[12]=d,t[13]=p,t[14]=m,t[15]=y,t}function a(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 l(t,e){if(t===e){const n=e[1],r=e[2],o=e[3],s=e[6],i=e[7],a=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=s,t[11]=e[14],t[12]=o,t[13]=i,t[14]=a}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function u(t,e){return c(t,e)||a(t),t}function c(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],i=e[4],a=e[5],l=e[6],u=e[7],c=e[8],h=e[9],f=e[10],d=e[11],p=e[12],m=e[13],y=e[14],g=e[15],M=n*a-r*i,_=n*l-o*i,b=n*u-s*i,R=r*l-o*a,v=r*u-s*a,w=o*u-s*l,x=c*m-h*p,A=c*y-f*p,S=c*g-d*p,T=h*y-f*m,I=h*g-d*m,O=f*g-d*y;let C=M*O-_*I+b*T+R*S-v*A+w*x;return C?(C=1/C,t[0]=(a*O-l*I+u*T)*C,t[1]=(o*I-r*O-s*T)*C,t[2]=(m*w-y*v+g*R)*C,t[3]=(f*v-h*w-d*R)*C,t[4]=(l*S-i*O-u*A)*C,t[5]=(n*O-o*S+s*A)*C,t[6]=(y*b-p*w-g*_)*C,t[7]=(c*w-f*b+d*_)*C,t[8]=(i*I-a*S+u*x)*C,t[9]=(r*S-n*I-s*x)*C,t[10]=(p*v-m*b+g*M)*C,t[11]=(h*b-c*v-d*M)*C,t[12]=(a*A-i*T-l*x)*C,t[13]=(n*T-r*A+o*x)*C,t[14]=(m*_-p*R-y*M)*C,t[15]=(c*R-h*_+f*M)*C,t):null}function h(t,e,n){const r=e[0],o=e[1],s=e[2],i=e[3],a=e[4],l=e[5],u=e[6],c=e[7],h=e[8],f=e[9],d=e[10],p=e[11],m=e[12],y=e[13],g=e[14],M=e[15];let _=n[0],b=n[1],R=n[2],v=n[3];return t[0]=_*r+b*a+R*h+v*m,t[1]=_*o+b*l+R*f+v*y,t[2]=_*s+b*u+R*d+v*g,t[3]=_*i+b*c+R*p+v*M,_=n[4],b=n[5],R=n[6],v=n[7],t[4]=_*r+b*a+R*h+v*m,t[5]=_*o+b*l+R*f+v*y,t[6]=_*s+b*u+R*d+v*g,t[7]=_*i+b*c+R*p+v*M,_=n[8],b=n[9],R=n[10],v=n[11],t[8]=_*r+b*a+R*h+v*m,t[9]=_*o+b*l+R*f+v*y,t[10]=_*s+b*u+R*d+v*g,t[11]=_*i+b*c+R*p+v*M,_=n[12],b=n[13],R=n[14],v=n[15],t[12]=_*r+b*a+R*h+v*m,t[13]=_*o+b*l+R*f+v*y,t[14]=_*s+b*u+R*d+v*g,t[15]=_*i+b*c+R*p+v*M,t}function f(t,e,n){const r=n[0],o=n[1],s=n[2];if(e===t)t[12]=e[0]*r+e[4]*o+e[8]*s+e[12],t[13]=e[1]*r+e[5]*o+e[9]*s+e[13],t[14]=e[2]*r+e[6]*o+e[10]*s+e[14],t[15]=e[3]*r+e[7]*o+e[11]*s+e[15];else{const n=e[0],i=e[1],a=e[2],l=e[3],u=e[4],c=e[5],h=e[6],f=e[7],d=e[8],p=e[9],m=e[10],y=e[11];t[0]=n,t[1]=i,t[2]=a,t[3]=l,t[4]=u,t[5]=c,t[6]=h,t[7]=f,t[8]=d,t[9]=p,t[10]=m,t[11]=y,t[12]=n*r+u*o+d*s+e[12],t[13]=i*r+c*o+p*s+e[13],t[14]=a*r+h*o+m*s+e[14],t[15]=l*r+f*o+y*s+e[15]}return t}function d(t,e,n){const r=n[0],o=n[1],s=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*o,t[5]=e[5]*o,t[6]=e[6]*o,t[7]=e[7]*o,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function p(t,e,n,r){let i=r[0],a=r[1],l=r[2],u=Math.sqrt(i*i+a*a+l*l);if(u<=(0,o.FD)())return void s(t,e);u=1/u,i*=u,a*=u,l*=u;const c=Math.sin(n),h=Math.cos(n),f=1-h,d=e[0],p=e[1],m=e[2],y=e[3],g=e[4],M=e[5],_=e[6],b=e[7],R=e[8],v=e[9],w=e[10],x=e[11],A=i*i*f+h,S=a*i*f+l*c,T=l*i*f-a*c,I=i*a*f-l*c,O=a*a*f+h,C=l*a*f+i*c,P=i*l*f+a*c,E=a*l*f-i*c,N=l*l*f+h;t[0]=d*A+g*S+R*T,t[1]=p*A+M*S+v*T,t[2]=m*A+_*S+w*T,t[3]=y*A+b*S+x*T,t[4]=d*I+g*O+R*C,t[5]=p*I+M*O+v*C,t[6]=m*I+_*O+w*C,t[7]=y*I+b*O+x*C,t[8]=d*P+g*E+R*N,t[9]=p*P+M*E+v*N,t[10]=m*P+_*E+w*N,t[11]=y*P+b*E+x*N,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function m(t,e,n){const r=Math.sin(n),o=Math.cos(n),s=e[4],i=e[5],a=e[6],l=e[7],u=e[8],c=e[9],h=e[10],f=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=s*o+u*r,t[5]=i*o+c*r,t[6]=a*o+h*r,t[7]=l*o+f*r,t[8]=u*o-s*r,t[9]=c*o-i*r,t[10]=h*o-a*r,t[11]=f*o-l*r,t}function y(t,e){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]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function g(t,e,n){if(0===e)return a(t);let r=n[0],s=n[1],i=n[2],l=Math.sqrt(r*r+s*s+i*i);if(l<=(0,o.FD)())return null;l=1/l,r*=l,s*=l,i*=l;const u=Math.sin(e),c=Math.cos(e),h=1-c;return t[0]=r*r*h+c,t[1]=s*r*h+i*u,t[2]=i*r*h-s*u,t[3]=0,t[4]=r*s*h-i*u,t[5]=s*s*h+c,t[6]=i*s*h+r*u,t[7]=0,t[8]=r*i*h+s*u,t[9]=s*i*h-r*u,t[10]=i*i*h+c,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function _(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,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 b(t,e,n){const r=e[0],o=e[1],s=e[2],i=e[3],a=r+r,l=o+o,u=s+s,c=r*a,h=r*l,f=r*u,d=o*l,p=o*u,m=s*u,y=i*a,g=i*l,M=i*u;return t[0]=1-(d+m),t[1]=h+M,t[2]=f-g,t[3]=0,t[4]=h-M,t[5]=1-(c+m),t[6]=p+y,t[7]=0,t[8]=f+g,t[9]=p-y,t[10]=1-(c+d),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const R=(0,r.vt)();function v(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function w(t,e){const n=e[0],r=e[1],o=e[2],s=e[4],i=e[5],a=e[6],l=e[8],u=e[9],c=e[10];return t[0]=Math.sqrt(n*n+r*r+o*o),t[1]=Math.sqrt(s*s+i*i+a*a),t[2]=Math.sqrt(l*l+u*u+c*c),t}function x(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t}function A(t,e,n,r){const o=e[0],s=e[1],i=e[2],a=e[3],l=o+o,u=s+s,c=i+i,h=o*l,f=o*u,d=o*c,p=s*u,m=s*c,y=i*c,g=a*l,M=a*u,_=a*c,b=r[0],R=r[1],v=r[2];return t[0]=(1-(p+y))*b,t[1]=(f+_)*b,t[2]=(d-M)*b,t[3]=0,t[4]=(f-_)*R,t[5]=(1-(h+y))*R,t[6]=(m+g)*R,t[7]=0,t[8]=(d+M)*v,t[9]=(m-g)*v,t[10]=(1-(h+p))*v,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function S(t,e,n,r,o){const s=e[0],i=e[1],a=e[2],l=e[3],u=s+s,c=i+i,h=a+a,f=s*u,d=s*c,p=s*h,m=i*c,y=i*h,g=a*h,M=l*u,_=l*c,b=l*h,R=r[0],v=r[1],w=r[2],x=o[0],A=o[1],S=o[2],T=(1-(m+g))*R,I=(d+b)*R,O=(p-_)*R,C=(d-b)*v,P=(1-(f+g))*v,E=(y+M)*v,N=(p+_)*w,L=(y-M)*w,G=(1-(f+m))*w;return t[0]=T,t[1]=I,t[2]=O,t[3]=0,t[4]=C,t[5]=P,t[6]=E,t[7]=0,t[8]=N,t[9]=L,t[10]=G,t[11]=0,t[12]=n[0]+x-(T*x+C*A+N*S),t[13]=n[1]+A-(I*x+P*A+L*S),t[14]=n[2]+S-(O*x+E*A+G*S),t[15]=1,t}function T(t,e,n,r,o,s,i){const a=1/(n-e),l=1/(o-r),u=1/(s-i);return t[0]=2*s*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*s*l,t[6]=0,t[7]=0,t[8]=(n+e)*a,t[9]=(o+r)*l,t[10]=(i+s)*u,t[11]=-1,t[12]=0,t[13]=0,t[14]=i*s*2*u,t[15]=0,t}function I(t,e,n,r,o,s,i){const a=1/(e-n),l=1/(r-o),u=1/(s-i);return t[0]=-2*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*a,t[13]=(o+r)*l,t[14]=(i+s)*u,t[15]=1,t}function O(t,e,n,r){const s=e[0],i=e[1],l=e[2];let u=s-n[0],c=i-n[1],h=l-n[2];const f=(0,o.FD)();if(Math.abs(u)<f&&Math.abs(c)<f&&Math.abs(h)<f)return void a(t);let d=1/Math.sqrt(u*u+c*c+h*h);u*=d,c*=d,h*=d;const p=r[0],m=r[1],y=r[2];let g=m*h-y*c,M=y*u-p*h,_=p*c-m*u;d=Math.sqrt(g*g+M*M+_*_),d?(d=1/d,g*=d,M*=d,_*=d):(g=0,M=0,_=0);let b=c*_-h*M,R=h*g-u*_,v=u*M-c*g;d=Math.sqrt(b*b+R*R+v*v),d?(d=1/d,b*=d,R*=d,v*=d):(b=0,R=0,v=0),t[0]=g,t[1]=b,t[2]=u,t[3]=0,t[4]=M,t[5]=R,t[6]=c,t[7]=0,t[8]=_,t[9]=v,t[10]=h,t[11]=0,t[12]=-(g*s+M*i+_*l),t[13]=-(b*s+R*i+v*l),t[14]=-(u*s+c*i+h*l),t[15]=1}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[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],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[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function E(t){const e=(0,o.FD)(),n=t[0],r=t[1],s=t[2],i=t[4],a=t[5],l=t[6],u=t[8],c=t[9],h=t[10];return Math.abs(1-(n*n+i*i+u*u))<=e&&Math.abs(1-(r*r+a*a+c*c))<=e&&Math.abs(1-(s*s+l*l+h*h))<=e}function N(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 L=h,G=C;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},adjoint:function(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],i=e[4],a=e[5],l=e[6],u=e[7],c=e[8],h=e[9],f=e[10],d=e[11],p=e[12],m=e[13],y=e[14],g=e[15];return t[0]=a*(f*g-d*y)-h*(l*g-u*y)+m*(l*d-u*f),t[1]=-(r*(f*g-d*y)-h*(o*g-s*y)+m*(o*d-s*f)),t[2]=r*(l*g-u*y)-a*(o*g-s*y)+m*(o*u-s*l),t[3]=-(r*(l*d-u*f)-a*(o*d-s*f)+h*(o*u-s*l)),t[4]=-(i*(f*g-d*y)-c*(l*g-u*y)+p*(l*d-u*f)),t[5]=n*(f*g-d*y)-c*(o*g-s*y)+p*(o*d-s*f),t[6]=-(n*(l*g-u*y)-i*(o*g-s*y)+p*(o*u-s*l)),t[7]=n*(l*d-u*f)-i*(o*d-s*f)+c*(o*u-s*l),t[8]=i*(h*g-d*m)-c*(a*g-u*m)+p*(a*d-u*h),t[9]=-(n*(h*g-d*m)-c*(r*g-s*m)+p*(r*d-s*h)),t[10]=n*(a*g-u*m)-i*(r*g-s*m)+p*(r*u-s*a),t[11]=-(n*(a*d-u*h)-i*(r*d-s*h)+c*(r*u-s*a)),t[12]=-(i*(h*y-f*m)-c*(a*y-l*m)+p*(a*f-l*h)),t[13]=n*(h*y-f*m)-c*(r*y-o*m)+p*(r*f-o*h),t[14]=-(n*(a*y-l*m)-i*(r*y-o*m)+p*(r*l-o*a)),t[15]=n*(a*f-l*h)-i*(r*f-o*h)+c*(r*l-o*a),t},copy:s,determinant:function(t){const e=t[0],n=t[1],r=t[2],o=t[3],s=t[4],i=t[5],a=t[6],l=t[7],u=t[8],c=t[9],h=t[10],f=t[11],d=t[12],p=t[13],m=t[14],y=t[15];return(e*i-n*s)*(h*y-f*m)-(e*a-r*s)*(c*y-f*p)+(e*l-o*s)*(c*m-h*p)+(n*a-r*i)*(u*y-f*d)-(n*l-o*i)*(u*m-h*d)+(r*l-o*a)*(u*p-c*d)},equals:function(t,e){if(t===e)return!0;const n=t[0],r=t[1],s=t[2],i=t[3],a=t[4],l=t[5],u=t[6],c=t[7],h=t[8],f=t[9],d=t[10],p=t[11],m=t[12],y=t[13],g=t[14],M=t[15],_=e[0],b=e[1],R=e[2],v=e[3],w=e[4],x=e[5],A=e[6],S=e[7],T=e[8],I=e[9],O=e[10],C=e[11],P=e[12],E=e[13],N=e[14],L=e[15],G=(0,o.FD)();return Math.abs(n-_)<=G*Math.max(1,Math.abs(n),Math.abs(_))&&Math.abs(r-b)<=G*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(s-R)<=G*Math.max(1,Math.abs(s),Math.abs(R))&&Math.abs(i-v)<=G*Math.max(1,Math.abs(i),Math.abs(v))&&Math.abs(a-w)<=G*Math.max(1,Math.abs(a),Math.abs(w))&&Math.abs(l-x)<=G*Math.max(1,Math.abs(l),Math.abs(x))&&Math.abs(u-A)<=G*Math.max(1,Math.abs(u),Math.abs(A))&&Math.abs(c-S)<=G*Math.max(1,Math.abs(c),Math.abs(S))&&Math.abs(h-T)<=G*Math.max(1,Math.abs(h),Math.abs(T))&&Math.abs(f-I)<=G*Math.max(1,Math.abs(f),Math.abs(I))&&Math.abs(d-O)<=G*Math.max(1,Math.abs(d),Math.abs(O))&&Math.abs(p-C)<=G*Math.max(1,Math.abs(p),Math.abs(C))&&Math.abs(m-P)<=G*Math.max(1,Math.abs(m),Math.abs(P))&&Math.abs(y-E)<=G*Math.max(1,Math.abs(y),Math.abs(E))&&Math.abs(g-N)<=G*Math.max(1,Math.abs(g),Math.abs(N))&&Math.abs(M-L)<=G*Math.max(1,Math.abs(M),Math.abs(L))},exactEquals:P,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,e){const n=e[0],r=e[1],o=e[2],s=e[3],i=n+n,a=r+r,l=o+o,u=n*i,c=r*i,h=r*a,f=o*i,d=o*a,p=o*l,m=s*i,y=s*a,g=s*l;return t[0]=1-h-p,t[1]=c+g,t[2]=f-y,t[3]=0,t[4]=c-g,t[5]=1-u-p,t[6]=d+m,t[7]=0,t[8]=f+y,t[9]=d-m,t[10]=1-u-h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const n=R,r=-e[0],o=-e[1],s=-e[2],i=e[3],a=e[4],l=e[5],u=e[6],c=e[7],h=r*r+o*o+s*s+i*i;return h>0?(n[0]=2*(a*i+c*r+l*s-u*o)/h,n[1]=2*(l*i+c*o+u*r-a*s)/h,n[2]=2*(u*i+c*s+a*o-l*r)/h):(n[0]=2*(a*i+c*r+l*s-u*o),n[1]=2*(l*i+c*o+u*r-a*s),n[2]=2*(u*i+c*s+a*o-l*r)),b(t,e,n),t},fromRotation:g,fromRotationTranslation:b,fromRotationTranslationScale:A,fromRotationTranslationScaleOrigin:S,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:y,fromXRotation:M,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:_,frustum:T,getRotation:x,getScale:w,getTranslation:v,hasIdentityRotation:N,identity:a,invert:c,invertOrIdentity:u,isOrthoNormal:E,lookAt:O,mul:L,multiply:h,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(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[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},ortho:I,perspective:function(t,e,n,r,o){const s=1/Math.tan(e/2);let i;return t[0]=s/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=s,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!=o&&o!==1/0?(i=1/(r-o),t[10]=(o+r)*i,t[14]=2*o*r*i):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const o=Math.tan(e.upDegrees*Math.PI/180),s=Math.tan(e.downDegrees*Math.PI/180),i=Math.tan(e.leftDegrees*Math.PI/180),a=Math.tan(e.rightDegrees*Math.PI/180),l=2/(i+a),u=2/(o+s);return t[0]=l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=u,t[6]=0,t[7]=0,t[8]=-(i-a)*l*.5,t[9]=(o-s)*u*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},rotate:p,rotateX:m,rotateY:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),s=e[0],i=e[1],a=e[2],l=e[3],u=e[8],c=e[9],h=e[10],f=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*o-u*r,t[1]=i*o-c*r,t[2]=a*o-h*r,t[3]=l*o-f*r,t[8]=s*r+u*o,t[9]=i*r+c*o,t[10]=a*r+h*o,t[11]=l*r+f*o,t},rotateZ:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),s=e[0],i=e[1],a=e[2],l=e[3],u=e[4],c=e[5],h=e[6],f=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*o+u*r,t[1]=i*o+c*r,t[2]=a*o+h*r,t[3]=l*o+f*r,t[4]=u*o-s*r,t[5]=c*o-i*r,t[6]=h*o-a*r,t[7]=f*o-l*r,t},scale:d,set:i,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:G,subtract:C,targetTo:function(t,e,n,r){const o=e[0],s=e[1],i=e[2],a=r[0],l=r[1],u=r[2];let c=o-n[0],h=s-n[1],f=i-n[2],d=c*c+h*h+f*f;d>0&&(d=1/Math.sqrt(d),c*=d,h*=d,f*=d);let p=l*f-u*h,m=u*c-a*f,y=a*h-l*c;return d=p*p+m*m+y*y,d>0&&(d=1/Math.sqrt(d),p*=d,m*=d,y*=d),t[0]=p,t[1]=m,t[2]=y,t[3]=0,t[4]=h*y-f*m,t[5]=f*p-c*y,t[6]=c*m-h*p,t[7]=0,t[8]=c,t[9]=h,t[10]=f,t[11]=0,t[12]=o,t[13]=s,t[14]=i,t[15]=1,t},translate:f,transpose:l},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>A,Bw:()=>s,C:()=>i,Cc:()=>S,DI:()=>v,Io:()=>M,Ln:()=>g,Om:()=>x,Qr:()=>h,Re:()=>u,S8:()=>w,T9:()=>m,WQ:()=>l,Z0:()=>T,_S:()=>d,aI:()=>G,ei:()=>I,fw:()=>C,g7:()=>P,gL:()=>O,hG:()=>_,hZ:()=>a,hs:()=>y,jk:()=>p,lw:()=>c,m3:()=>b,oW:()=>D,t2:()=>L,tn:()=>f,ze:()=>R});var r=n(51850),o=n(34304);function s(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 a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],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){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function p(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 m(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 y(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function g(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 M(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function _(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function b(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function R(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function v(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function w(t,e){const n=e[0],r=e[1],o=e[2];let s=n*n+r*r+o*o;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function x(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function A(t,e,n){const r=e[0],o=e[1],s=e[2],i=n[0],a=n[1],l=n[2];return t[0]=o*l-s*a,t[1]=s*i-r*l,t[2]=r*a-o*i,t}function S(t,e,n,r){const o=e[0],s=e[1],i=e[2];return t[0]=o+r*(n[0]-o),t[1]=s+r*(n[1]-s),t[2]=i+r*(n[2]-i),t}function T(t,e,n){const r=e[0],o=e[1],s=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*s+n[12],t[1]=n[1]*r+n[5]*o+n[9]*s+n[13],t[2]=n[2]*r+n[6]*o+n[10]*s+n[14],t}function I(t,e,n){const r=e[0],o=e[1],s=e[2];return t[0]=r*n[0]+o*n[3]+s*n[6],t[1]=r*n[1]+o*n[4]+s*n[7],t[2]=r*n[2]+o*n[5]+s*n[8],t}function O(t,e,n){return C(t,e,n[0],n[1],n[2],n[3])}function C(t,e,n,r,o,s){const i=e[0],a=e[1],l=e[2],u=r*l-o*a,c=o*i-n*l,h=n*a-r*i,f=r*h-o*c,d=o*u-n*h,p=n*c-r*u,m=2*s;return t[0]=i+u*m+2*f,t[1]=a+c*m+2*d,t[2]=l+h*m+2*p,t}function P(t,e){w(E,t),w(N,e);const n=x(E,N);return n>1?0:n<-1?Math.PI:Math.acos(n)}const E=(0,r.vt)(),N=(0,r.vt)();function L(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function G(t,e){if(t===e)return!0;const n=t[0],r=t[1],s=t[2],i=e[0],a=e[1],l=e[2],u=(0,o.FD)();return Math.abs(n-i)<=u*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))}function D(t,e,n){const r=n[0]-e[0],o=n[1]-e[1],s=n[2]-e[2];let i=r*r+o*o+s*s;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=o*i,t[2]=s*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const B=u,j=c,U=h,k=M,F=_,Z=s,q=b;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:l,angle:P,bezier:function(t,e,n,r,o,s){const i=1-s,a=i*i,l=s*s,u=a*i,c=3*s*a,h=3*l*i,f=l*s;return t[0]=e[0]*u+n[0]*c+r[0]*h+o[0]*f,t[1]=e[1]*u+n[1]*c+r[1]*h+o[1]*f,t[2]=e[2]*u+n[2]*c+r[2]*h+o[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,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:A,crossAndNormalize:function(t,e,n){const r=e[0],o=e[1],s=e[2],i=n[0],a=n[1],l=n[2],u=o*l-s*a,c=s*i-r*l,h=r*a-o*i,f=Math.sqrt(u*u+c*c+h*h);return t[0]=u/f,t[1]=c/f,t[2]=h/f,t},direction:D,dist:k,distance:M,div:U,divide:h,dot:x,equals:G,exactEquals:L,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,o,s){const i=s*s,a=i*(2*s-3)+1,l=i*(s-2)+s,u=i*(s-1),c=i*(3-2*s);return t[0]=e[0]*a+n[0]*l+r[0]*u+o[0]*c,t[1]=e[1]*a+n[1]*l+r[1]*u+o[1]*c,t[2]=e[2]*a+n[2]*l+r[2]*u+o[2]*c,t},inverse:v,len:Z,length:s,lerp:S,max:m,min:p,mul:j,multiply:c,negate:R,normalize:w,random:function(t,e=1){const n=o.Ov,r=2*n()*Math.PI,s=2*n()-1,i=Math.sqrt(1-s*s)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=s*e,t},rotateX:function(t,e,n,r){const o=[],s=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],s[0]=o[0],s[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),s[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},rotateY:function(t,e,n,r){const o=[],s=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],s[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),s[1]=o[1],s[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},rotateZ:function(t,e,n,r){const o=[],s=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],s[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),s[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),s[2]=o[2],t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[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:y,scaleAndAdd:g,set:a,sign:d,sqrDist:F,sqrLen:q,squaredDistance:_,squaredLength:b,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:B,subtract:u,transformMat3:I,transformMat4:T,transformMat4Z:function(t,e){return e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]},transformQuat:O,transformQuatValues:C},Symbol.toStringTag,{value:"Module"})),n.d(e,["Il",0,Z,"jb",0,B,"lo",0,F,"uE",0,q,"xg",0,k])},83027(t,e,n){const r=n(29953).ho;n.d(e,["h",0,r])},35982(t,e,n){n.d(e,{B:()=>c});var r=n(4576),o=n(71511),s=n(36563),i=n(53966),a=n(97768),l=n(17676),u=n(83027);class c{constructor(t,e,n,r,o={}){this._mainMethod=e,this._transferLists=n,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(t,{...o,schedule:r}).then(t=>{null!=this._thread||this._destroyed?t.close():(this._thread=t,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(t=>{o.hasInitialize&&t.invoke("initialize",{}).catch(()=>{});for(const e of this._listeners)this._connectListenerToClient(e,t);this._onClientConnected(t)}))}),this._promise.catch(e=>i.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${t} worker: ${e}`))}on(t,e){const n=new h(t,e);return this._listeners.push(n),this._connectListener(n),(0,s.hA)(()=>{(0,r.TF)(this._listeners,n),n.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,a.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const t of this._listeners)t.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(t,e,n){return this.invokeMethod(this._mainMethod,t,e,n)}invokeMethod(t,e,n,r){if(this._thread){const o=this._transferLists[t],s=o?o(e):[];return this._thread.invoke(t,e,{transferList:s,signal:n,jobPriority:r})}return this._promise?this._promise.then(()=>((0,l.Te)(n),this.invokeMethod(t,e,n))):Promise.reject((0,l.NK)())}broadcast(t,e){return this._thread?Promise.all(this._thread.broadcast(e,t)).then(f):this._promise?this._promise.then(()=>this.broadcast(t,e)):Promise.reject((0,l.NK)())}get promise(){return this._promise}_onClientConnected(t){}_connectListener(t){this._thread&&t.add(this._thread.on(t.eventName,t.callback))}_connectListenerToClient(t,e){t.add(e.on(t.eventName,t.callback))}}class h{constructor(t,e){this.eventName=t,this.callback=e,this._handles=new o.A}add(t){this._handles.add(t)}destroy(){this._handles.destroy()}}function f(){}},48526(t,e,n){n.d(e,{A:()=>y});var r,o=n(5482),s=n(4576),i=n(4718),a=n(91429),l=n(5443),u=n(91075),c=n(86738),h=n(16930),f=n(90634),d=n(47610),p=n(56993),m=n(43937);let y=r=class extends u.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:o}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return o??=h.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:o}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,f.ge)(this);return t?new l.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,i.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:o}=this;return new r({points:(0,i.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:o})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,n=t.spatialReference;return null!=e==(null!=n)&&!(null!=e&&null!=n&&!e.equals(n))&&(0,s.aI)(this.points,t.points,d.v6)}addPoint(t){return(0,p.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=e[2],r=3),this.hasM&&(n.m=e[r]),new c.A(n)}removePoint(t){if(!this._validateInputs(t))return null;const e=new c.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,p.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,o.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,o.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,o.Cg)([(0,m.K)("points")],y.prototype,"writePoints",null),y=r=(0,o.Cg)([(0,a.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,n){n.d(e,{A:()=>p});var r,o=n(5482),s=n(4718),i=n(91429),a=n(5443),l=n(91075),u=n(86738),c=n(16930),h=n(90634),f=n(56993),d=n(43937);let p=r=class extends l.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:r,spatialReference:o}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return o??=c.A.WGS84,{...t,hasM:n,hasZ:r,paths:e,spatialReference:o}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,s.o8)(t)}get extent(){const t=(0,h.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,s.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,n=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const r=[];for(let e=0,n=t.length;e<n;e++)r[e]=t[e].toArray();e[n]=r}else e[n]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new r;return t.spatialReference=this.spatialReference,t.paths=(0,s.o8)(this.paths),t.curvePaths=(0,s.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.paths[t][e],r=this.hasZ,o=this.hasM;return r&&!o?new u.A(n[0],n[1],n[2],void 0,this.spatialReference):o&&!r?new u.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&o?new u.A(n[0],n[1],n[2],n[3],this.spatialReference):new u.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,f.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t].splice(e,0,n),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],n=this.spatialReference,r=e.map(t=>new u.A(t,n));return this.notifyChange("paths"),r}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new u.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(t,e,n){return this._validateInputs(t,e)?((0,f.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t][e]=n,this.notifyChange("paths"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const r=this.paths[t];if(n&&(e<0||e>r.length))return!1;if(!n&&(e<0||e>=r.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,o.Cg)([(0,i.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,o.Cg)([(0,i.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],p.prototype,"curvePaths",void 0),(0,o.Cg)([(0,d.K)("curvePaths")],p.prototype,"writeCurvePaths",null),(0,o.Cg)([(0,i.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,o.Cg)([(0,i.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],p.prototype,"paths",void 0),(0,o.Cg)([(0,d.K)("paths")],p.prototype,"writePaths",null),p=r=(0,o.Cg)([(0,i.$K)("esri.geometry.Polyline")],p),p.prototype.toJSON.isDefaultToJSON=!0},159(t,e,n){n.d(e,{A:()=>u});var r,o=n(5482),s=n(69540),i=n(25482),a=n(91429),l=n(99157);let u=r=class extends((0,s.OU)(i.o)){constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,o.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(t,e,n){n.d(e,{A:()=>l});var r,o=n(5482),s=n(69540),i=n(25482),a=n(91429);let l=r=class extends((0,s.OU)(i.o)){constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,a.MZ)({json:{name:"transformForward",read:t=>!t,write:(t,e,n)=>{e[n]=!t}}})],l.prototype,"isInverse",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(t,e,n){n.r(e),n.d(e,{projectBuffer:()=>o});var r=n(49208);function o(t,e,n,o,s,i,a=Math.floor(t.length/3)){const l=(0,r.jd)(e,s);if(null==l)return!1;if(l===r.pO){if(t===o&&n===i)return!0;const e=n+3*a;for(let r=n,s=i;r<e;r++,s++)o[s]=t[r]??0;return!0}const u=n+3*a;for(let e=n,r=i;e<u;e+=3,r+=3)l(t,e,o,r);return!0}},65806(t,e,n){n.d(e,{g:()=>i});var r=n(51850),o=n(91218),s=n(9762);function i(t,e,n,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,s.projectBuffer)(a,t.spatialReference,0,e,n,0);const i=(0,o.tryProject)(t,n,r);return!!i&&(e[0]=i.x,e[1]=i.y,e[2]=i.z??0,!0)}const a=(0,r.vt)()},27993(t,e,n){n.d(e,{F:()=>a});var r=n(91218),o=n(16930),s=n(9762),i=n(65806);function a(t,e,n,o){return!(null==e||null==o||t.length<2)&&((0,r.canProjectWithoutEngine)(e,o)?(0,s.projectBuffer)(t,e,0,n,o,0,1):(l.x=t[0],l.y=t[1],l.z=t[2],l.spatialReference=e,(0,i.g)(l,n,o)))}const l={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:o.A.WGS84,type:"point"}},49208(t,e,n){n.d(e,{Tp:()=>h,jd:()=>c,pO:()=>d});var r=n(34727),o=n(86211),s=n(73941),i=n(79258),a=n(34403),l=n(21325);const u={2:{5:d,7:null,9:null,10:d,1:R,6:null,8:null,0:null,3:m,11:y,2:d,4:S},5:{5:d,7:null,9:null,10:d,1:R,6:null,8:null,0:null,3:m,11:y,2:d,4:S},7:{5:null,7:d,9:null,10:d,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:_,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(t,e,n,r){const o=t[e]/E,s=P-2*Math.atan(Math.exp(-t[e+1]/E)),i=E+(t[e+2]??0),a=Math.cos(s)*i;n[r]=Math.cos(o)*a,n[r+1]=Math.sin(o)*a,n[r+2]=Math.sin(s)*i},6:null,8:null,0:null,3:d,11:function(t,e,n,r){p(t,e,n,r),y(n,r,n,r)},2:p,4:function(t,e,n,r){p(t,e,n,r),S(n,r,n,r)}},4:{5:T,7:null,9:null,10:T,1:function(t,e,n,r){T(t,e,n,r),R(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){T(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){T(t,e,n,r),y(n,r,n,r)},2:T,4:d},1:{5:A,7:null,9:null,10:A,1:d,6:null,8:null,0:null,3:function(t,e,n,r){A(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){A(t,e,n,r),y(n,r,n,r)},2:A,4:function(t,e,n,r){A(t,e,n,r),S(n,r,n,r)}},6:{5:null,7:x,9:null,10:x,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:d,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:R,6:b,8:_,0:null,3:m,11:y,2:d,4:S},11:{5:g,7:null,9:null,10:g,1:function(t,e,n,r){g(t,e,n,r),R(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){g(t,e,n,r),m(n,r,n,r)},11:d,2:g,4:function(t,e,n,r){g(t,e,n,r),S(n,r,n,r)}}};function c(t,e){return h(t,e)?.projector}function h(t,e){if(null==t||null==e)return null;if(I.source.spatialReference===t&&I.dest.spatialReference===e)return I;const n=f(t,I.source),r=f(e,I.dest);return 0===n&&0===r?(0,l.aI)(t,e)?I.projector=d:I.projector=null:I.projector=u[n][r],I}function f(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,o.GA)(t,1)),(0,s.jA)(t)?e.spatialReferenceId=1:(0,l.oT)(t)?e.spatialReferenceId=2:(0,l.K8)(t)?e.spatialReferenceId=3:(0,l.r1)(t)?e.spatialReferenceId=11:t.wkt===s.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===s.FY.wkt?e.spatialReferenceId=6:t.wkt===s.LJ.wkt?e.spatialReferenceId=8:(0,s.q8)(t)?e.spatialReferenceId=7:(0,s.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function d(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function p(t,e,n,r){n[r]=C*(t[e]/E),n[r+1]=C*(P-2*Math.atan(Math.exp(-t[e+1]/E))),n[r+2]=t[e+2]??0}function m(t,e,n,o){!function(t,e,n,o,s){const i=.4999999*Math.PI,a=(0,r.qE)(O*t[e+1],-i,i),l=Math.sin(a);n[o++]=O*t[e]*s.radius,n[o++]=s.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[o]=t[e+2]??0}(t,e,n,o,i.$O)}function y(t,e,n,r){n[r]=t[e]*N,n[r+1]=t[e+1]*N,n[r+2]=t[e+2]??0}function g(t,e,n,r){n[r]=t[e]*L,n[r+1]=t[e+1]*L,n[r+2]=t[e+2]??0}function M(t,e,n,r,o){const s=o+(t[e+2]??0),i=O*t[e],a=O*t[e+1],l=Math.cos(a)*s;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(a)*s}function _(t,e,n,r){M(t,e,n,r,i.Sw.radius)}function b(t,e,n,r){M(t,e,n,r,i.sH.radius)}function R(t,e,n,r){M(t,e,n,r,i.$O.radius)}function v(t,e,n,o,s){const i=t[e],a=t[e+1],l=t[e+2]??0,u=Math.sqrt(i*i+a*a+l*l),c=(0,r.YN)(l/(0===u?1:u)),h=Math.atan2(a,i);n[o++]=C*h,n[o++]=C*c,n[o]=u-s}function w(t,e,n,r){v(t,e,n,r,i.Sw.radius)}function x(t,e,n,r){v(t,e,n,r,i.sH.radius)}function A(t,e,n,r){v(t,e,n,r,i.$O.radius)}function S(t,e,n,r){!function(t,e,n,r,o){const s=O*t[e],i=O*t[e+1],a=t[e+2]??0,l=Math.sin(i),u=Math.cos(i),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);n[r++]=(c+a)*u*Math.cos(s),n[r++]=(c+a)*u*Math.sin(s),n[r++]=(c*(1-o.eccentricitySquared)+a)*l}(t,e,n,r,i.$O)}function T(t,e,n,r){const o=a.TP,s=t[e],l=t[e+1],u=t[e+2]??0;let c,h,f,d,p,m,y,g,M,_,b,R,v,w,x,A,S,T,I,O,P;c=Math.abs(u),h=s*s+l*l,f=Math.sqrt(h),d=h+u*u,p=Math.sqrt(d),O=Math.atan2(l,s),m=u*u/d,y=h/d,w=o.a2/p,x=o.a3-o.a4/p,y>.3?(g=c/p*(1+y*(o.a1+w+m*x)/p),I=Math.asin(g),_=g*g,M=Math.sqrt(1-_)):(M=f/p*(1-m*(o.a5-w-y*x)/p),I=Math.acos(M),_=1-M*M,g=Math.sqrt(_)),b=1-i.$O.eccentricitySquared*_,R=i.$O.radius/Math.sqrt(b),v=o.a6*R,w=f-R*M,x=c-v*g,S=M*w+g*x,A=M*x-g*w,T=A/(v/b+S),I+=T,P=S+A*T/2,u<0&&(I=-I),n[r++]=C*O,n[r++]=C*I,n[r]=P}const I={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},O=(0,r.kU)(1),C=(0,r.KJ)(1),P=.5*Math.PI,E=i.$O.radius,N=E*Math.PI/180,L=180/(E*Math.PI);n.d(e,["w5",0,u])},91218(t,e,n){n.r(e),n.d(e,{canProjectWithoutEngine:()=>Y,initializeProjection:()=>V,isEqualBaseGCS:()=>$,isLoaded:()=>E,isLoadedOrLoad:()=>N,isLoadedOrLoadFor:()=>L,load:()=>D,project:()=>B,projectAsync:()=>z,projectExtent:()=>ot,projectMany:()=>j,projectMultipoint:()=>J,projectOrLoad:()=>k,projectOrLoadMany:()=>F,projectPoint:()=>X,projectPolygon:()=>nt,projectPolyline:()=>tt,projectWithoutEngine:()=>W,requiresLoad:()=>G,test:()=>H,tryProject:()=>U,unload:()=>q});var r=n(49186),o=n(17676),s=n(62788),i=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),h=n(91075),f=n(48526),d=n(86738),p=n(39829),m=n(82799),y=n(16930),g=n(98764),M=n(159),_=n(9762),b=n(49208);function R(t,e,n,r,o,s){return v[0]=t,v[1]=e,v[2]=n,(0,_.projectBuffer)(v,r,0,o,s,0)}const v=(0,a.vt)();var w=n(60408),x=n(21325),A=n(52006);let S=null,T=null,I=null,O=null,C={};const P=new i.I;function E(){return!!(T?.isLoaded()&&I?.isLoaded()&&O?.isLoaded())}function N(){return!!E()||((0,s.gc)(P),D(),!1)}function L(t,e){return!t||!e||Y(t,e)||N()}function G(t,e){return!Y(t,e)&&!E()}async function D(t){null==S&&(S=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(T=t,T.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(I=t,I.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(O=t,O.load()))])),await S,(0,o.Te)(t),P.notify()}function B(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,l.H)(t),j(t,t[0].spatialReference,e,n)):((0,l.f)(t),j([t],t.spatialReference,e,n)[0])}function j(t,e,n,r){if(null==e||null==n)return t;if(Y(e,n,r))return t.map(t=>W(t,e,n));if(null==r?.geographicTransformation&&(0,u.jA)(e))return j(t.map(t=>W(t,e,y.A.WGS84)),y.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return j(t,e,y.A.WGS84).map(t=>W(t,y.A.WGS84,n));if(!E())throw new Z;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:O.getTransformation(e,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let o=C[t];o||(o=O.getTransformation(e,n)||new M.A,C[t]=o),r={geographicTransformation:o,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof h.A?T.executeMany(t,n,r):I.executeMany(t,n,r)}function U(t,e,n){try{return B(t,e,n)}catch(t){return null}}function k(t,e){const n=F([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function F(t,e,n){if(!E())for(const n of t)if(null!=n&&!(0,x.aI)(n.spatialReference,e)&&(0,x.fn)(n.spatialReference)&&(0,x.fn)(e)&&!Y(n.spatialReference,e))return(0,s.gc)(P),{pending:D(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,x.aI)(t.spatialReference,e)?t:(0,x.fn)(t.spatialReference)&&(0,x.fn)(e)?B(t,e,n):null)}}class Z extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function q(){S=null,T=null,I=null,O=null,C={}}const H={get loadPromise(){return S}};async function z(t,e,n){if((0,o.Te)(n),!t)return t;const r=F(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,o.Te)(n),z(t,e,n);const s=r.geometries??[];return Array.isArray(t)?s:s[0]}function Y(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,x.aI)(t,e)||(0,x.fn)(t)&&(0,x.fn)(e)&&!!(0,b.jd)(t,e))}function $(t,e){if((0,x.aI)(t,e))return!0;if(!(0,x.fn)(t)||!(0,x.fn)(e))return!1;const n=(0,x.oT)(t)||(0,x.K8)(t)||(0,x.x1)(t),r=(0,x.oT)(e)||(0,x.K8)(e)||(0,x.x1)(e);return n&&r}async function V(t,e,n,r){if(E())return(0,o.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:o}of t)if(e&&n&&!Y(e,n,o))return D(r)}else if(t&&e&&!Y(t,e,n))return D(r);return(0,o.NO)(r)}function W(t,e,n){return t?(0,w.fT)(t)?K(t,e,new d.A,n,0):(0,w.ZC)(t)?st(t,e,new c.A,n,0):(0,w.Bi)(t)?rt(t,e,new p.A,n,0):(0,w.Rg)(t)?et(t,e,new m.A,n,0):(0,w.U9)(t)?Q(t,e,new f.A,n,0):null:null}function X(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=K(t,t.spatialReference,e,n,r)}function K(t,e,n,r,o){ut[0]=t.x,ut[1]=t.y;const s=t.z;return ut[2]=void 0!==s?s:o,(0,_.projectBuffer)(ut,e,0,ut,r,0)?(n.x=ut[0],n.y=ut[1],n.spatialReference=r,void 0!==s||(0,u.xP)(r)?(n.z=ut[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function J(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=Q(t,t.spatialReference,e,n,r)}function Q(t,e,n,r,o){const{points:s,hasZ:i,hasM:a}=t,l=[],u=s.length,c=[];for(const t of s)c.push(t[0],t[1],i?t[2]:o);if(!(0,_.projectBuffer)(c,e,0,c,r,0,u))return null;const h=lt(i,r);for(let t=0;t<u;++t){const e=3*t,n=c[e],r=c[e+1];h&&a?l.push([n,r,c[e+2],s[t][3]]):h?l.push([n,r,c[e+2]]):a?l.push([n,r,s[t][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=i,n.hasM=a,n}function tt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=et(t,t.spatialReference,e,n,r)}function et(t,e,n,r,o){const{curvePaths:s,paths:i,hasZ:a,hasM:l}=t;if(!(s?at(s,a??!1,l??!1,e,n.curvePaths=[],r,o):it(i,a??!1,l??!1,e,n.paths,r,o)))return null;const u=lt(a,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function nt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=rt(t,t.spatialReference,e,n,r)}function rt(t,e,n,r,o){const{curveRings:s,rings:i,hasZ:a,hasM:l}=t;return(s?at(s,a??!1,l??!1,e,n.curveRings=[],r,o):it(i,a??!1,l??!1,e,n.rings,r,o))?(n.spatialReference=r,n.hasZ=lt(a,r),n.hasM=l,n):null}function ot(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=st(t,t.spatialReference,e,n,r)}function st(t,e,n,r,o){const{xmin:s,ymin:i,xmax:a,ymax:l,hasZ:u,hasM:c}=t;if(!R(s,i,u?t.zmin:o,e,ut,r))return null;const h=lt(u,r);return n.xmin=ut[0],n.ymin=ut[1],h&&(n.zmin=ut[2]),R(a,l,u?t.zmax:o,e,ut,r)?(n.xmax=ut[0],n.ymax=ut[1],h&&(n.zmax=ut[2]),c&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function it(t,e,n,r,o,s,i=0){const a=new Array;for(const n of t)for(const t of n)a.push(t[0],t[1],e?t[2]:i);if(!(0,_.projectBuffer)(a,r,0,a,s,0))return!1;let l=0;o.length=0;const u=e?3:2,c=lt(e,s);for(const e of t){const t=new Array;for(const r of e){const e=a.slice(l,l+=3);c||e.pop(),n&&e.push(r[u]),t.push(e)}o.push(t)}return!0}function at(t,e,n,r,o,s,i=0){const a=new Array;for(const n of t)for(const t of n){if((0,A.FG)(t))return!1;if((0,A.aO)(t)){const[n,r]=t.c;a.push(n[0],n[1],e?n[2]:i,r[0],r[1],i);continue}if((0,A.n1)(t)){const[n,r,o]=t.b;a.push(n[0],n[1],e?n[2]:i,r[0],r[1],i,o[0],o[1],i);continue}const n=t;a.push(n[0],n[1],e?n[2]:i)}if(!(0,_.projectBuffer)(a,r,0,a,s,0))return!1;let l=0;o.length=0;const u=e?3:2,c=lt(e,s);for(const e of t){const t=new Array;for(const r of e){const e=a.slice(l,l+=3);if(c||e.pop(),n&&e.push((0,A.yP)(r)[u]),(0,A.FG)(r))return!1;if((0,A.aO)(r)){const n=a[l++],r=a[l++];++l,t.push({c:[e,[n,r]]});continue}if((0,A.n1)(r)){const n=a[l++],r=a[l++];++l;const o=a[l++],s=a[l++];++l,t.push({b:[e,[n,r],[o,s]]});continue}t.push(e)}o.push(t)}return!0}function lt(t,e){return t||(0,u.xP)(e)||(0,x.aI)(e,g.Y0)}const ut=(0,a.vt)()},98764(t,e,n){n.d(e,{lO:()=>c});var r=n(73941),o=n(16930),s=n(21325);const i=new o.A(r.fv),a=new o.A(r.FY),l=new o.A(r.LJ),u=new o.A(r.Ro);function c(t){const e=h.get(t);if(e)return e;let n=i;if(t)if(t===a)n=a;else if(t===l)n=l;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,s.tl)(e)||(0,s.tl)(r)?n=a:((0,s.ZL)(e)||(0,s.ZL)(r))&&(n=l);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===f?n=a:t===d&&(n=l)}}}return h.set(t,n),n}const h=new Map,f=a.wkt.toUpperCase(),d=l.wkt.toUpperCase();n.d(e,["GD",0,i,"Y0",0,u])},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>u,jh:()=>s,l5:()=>a,yH:()=>l});var r=n(34275),o=n(9093);function s(t){return t<=1024?new Array(t).fill(0):new Float64Array(t)}function i(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=1024?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function l(t,e){if(0===e.length)return i(t);if(0===t.length)return i(e);const n=s(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function u(t){return[...t]}function c(t){const e=(0,o.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},95696(t,e,n){n.d(e,{A:()=>u});var r,o=n(5482),s=n(69540),i=n(25482),a=n(91429),l=n(93223);let u=class extends((0,s.OU)(i.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,o.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,o.Cg)([(0,a.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},18251(t,e,n){n.d(e,{A:()=>u});var r=n(5482),o=n(69540),s=n(25482),i=n(91429),a=n(51850),l=n(93223);let u=class extends((0,o.OU)(s.o)){constructor(t){super(t),this.type="local",this.origin=(0,a.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,i.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},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)},34403(t,e,n){var r=n(79258);Math.PI;const o=r.$O.radius,s=r.$O.eccentricitySquared,i={a1:o*s,a2:o*s*o*s,a3:o*s*s/2,a4:o*s*o*s*2.5,a5:o*s+o*s*s/2,a6:1-s};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,n.d(e,["TP",0,i])},60408(t,e,n){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function o(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function i(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function l(t){return"object"==typeof t&&"vertexAttributes"in t}function u(t){return t?s(t)?"esriGeometryPoint":i(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":o(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function h(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>u,Bi:()=>a,Pv:()=>c,Rg:()=>i,U9:()=>o,W0:()=>h,ZC:()=>r,fT:()=>s,uW:()=>l})},80754(t,e,n){n.d(e,{kS:()=>u,kd:()=>l,r8:()=>c});var r=n(82799),o=n(16930),s=n(60408),i=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:o.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:o.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:o.A.WGS84})}};function l(t,e){return Math.ceil((t-e)/(2*e))}function u(t,e){if((0,i.Ed)(t))for(const n of function(t){return(0,s.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of n){if((0,i.aO)(t)){const[n,r]=t.c;n[0]+=e,r[0]+=e;continue}if((0,i.FG)(t)){const[n,r]=t.a;n[0]+=e,r[0]+=e;continue}if((0,i.n1)(t)){const[n,r,o]=t.b;n[0]+=e,r[0]+=e,o[0]+=e;continue}t[0]+=e}for(const n of c(t))for(const t of n)t[0]+=e;return t}function c(t){return(0,s.Bi)(t)?t.rings:t.paths}n.d(e,["j7",0,a])},89056(t,e,n){n.d(e,{b3:()=>h,jZ:()=>c});var r=n(12195),o=n(19419),s=n(537),i=n(95108),a=n(60408),l=n(80754),u=n(21325);function c(t){return f(t,!0)}function h(t){return f(t,!1)}function f(t,e){if(null==t)return null;const n=t.spatialReference,o=(0,u.Vp)(n),i=(0,r.W)(t)?t.toJSON():t;if(!o)return i;const c=(0,u.K8)(n)?102100:4326,h=l.j7[c].maxX,f=l.j7[c].minX;if((0,a.fT)(i))return p(i,h,f);if((0,a.U9)(i))return i.points=i.points.map(t=>p(t,h,f)),i;if((0,a.ZC)(i))return d(i,o);if((0,a.Bi)(i)||(0,a.Rg)(i)){const t=(0,s.Rg)(b,i),n={xmin:t[0],ymin:t[1],xmax:t[2],ymax:t[3]},r=(0,l.kd)(n.xmin,f)*(2*h),o=0===r?i:(0,l.kS)(i,r);return n.xmin+=r,n.xmax+=r,n.xmax>h?M(o,h,e):n.xmin<f?M(o,f,e):o}return i}function d(t,e){if(!e)return t;const n=function(t,e){const n=[],{ymin:r,ymax:o,xmin:s,xmax:i}=t,a=t.xmax-t.xmin,[l,u]=e.valid,{x:c,frameId:h}=m(t.xmin,e),{x:f,frameId:d}=m(t.xmax,e),p=c===f&&a>0;if(a>2*u){const t={xmin:s<i?c:f,ymin:r,xmax:u,ymax:o},e={xmin:l,ymin:r,xmax:s<i?f:c,ymax:o},a={xmin:0,ymin:r,xmax:u,ymax:o},p={xmin:l,ymin:r,xmax:0,ymax:o},m=[],g=[];y(t,a)&&m.push(h),y(t,p)&&g.push(h),y(e,a)&&m.push(d),y(e,p)&&g.push(d);for(let t=h+1;t<d;t++)m.push(t),g.push(t);n.push(new _(t,[h]),new _(e,[d]),new _(a,m),new _(p,g))}else c>f||p?n.push(new _({xmin:c,ymin:r,xmax:u,ymax:o},[h]),new _({xmin:l,ymin:r,xmax:f,ymax:o},[d])):n.push(new _({xmin:c,ymin:r,xmax:f,ymax:o},[h]));return n}(t,e).map(t=>t.extent);return n.length<2?n[0]||t:n.length>2?(t.xmin=e.valid[0],t.xmax=e.valid[1],t):{rings:n.map(t=>[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]])}}function p(t,e,n){if(Array.isArray(t)){const r=t[0];if(r>e){const n=(0,l.kd)(r,e);t[0]=r+n*(-2*e)}else if(r<n){const e=(0,l.kd)(r,n);t[0]=r+e*(-2*n)}}else{const r=t.x;if(r>e){const n=(0,l.kd)(r,e);t.x+=n*(-2*e)}else if(r<n){const e=(0,l.kd)(r,n);t.x+=e*(-2*n)}}return t}function m(t,e){const[n,r]=e.valid,o=2*r;let s,i=0;return t>r?(s=Math.ceil(Math.abs(t-r)/o),t-=s*o,i=s):t<n&&(s=Math.ceil(Math.abs(t-n)/o),t+=s*o,i=-s),{x:t,frameId:i}}function y(t,e){const{xmin:n,ymin:r,xmax:o,ymax:s}=e;return g(t,n,r)&&g(t,n,s)&&g(t,o,s)&&g(t,o,r)}function g(t,e,n){return e>=t.xmin&&e<=t.xmax&&n>=t.ymin&&n<=t.ymax}function M(t,e,n=!0){const r=!(0,a.Rg)(t);if(r&&(0,i.m3)(t),n)return(new R).cut(t,e);const o=r?t.rings:t.paths,s=r?4:2,l=o.length,u=-2*e;for(let t=0;t<l;t++){const e=o[t];if(e&&e.length>=s){const t=[];for(const[n,...r]of e)t.push([n+u,...r]);o.push(t)}}return r?t.rings=o:t.paths=o,t}class _{constructor(t,e){this.extent=t,this.frameIds=e}}const b=(0,o.vt)();class R{constructor(){this._linesIn=[],this._linesOut=[]}cut(t,e){let n;if(this._xCut=e,t.rings)this._closed=!0,n=t.rings,this._minPts=4;else{if(!t.paths)return null;this._closed=!1,n=t.paths,this._minPts=2}for(const t of n){if(!t||t.length<this._minPts)continue;let e=!0;for(const n of t)e?(this.moveTo(n),e=!1):this.lineTo(n);this._closed&&this.close()}this._pushLineIn(),this._pushLineOut(),n=[];for(const t of this._linesIn)t&&t.length>=this._minPts&&n.push(t);const r=-2*this._xCut;for(const t of this._linesOut)if(t&&t.length>=this._minPts){for(const e of t)e[0]+=r;n.push(t)}return this._closed?t.rings=n:t.paths=n,t}moveTo(t){this._pushLineIn(),this._pushLineOut(),this._prevSide=this._side(t[0]),this._moveTo(t,this._prevSide),this._prevPt=t,this._firstPt=t}lineTo(t){const e=this._side(t[0]);if(e*this._prevSide===-1){const n=this._intersect(this._prevPt,t);this._lineTo(n,0),this._prevSide=0,this._lineTo(t,e)}else this._lineTo(t,e);this._prevSide=e,this._prevPt=t}close(){const t=this._firstPt,e=this._prevPt;t[0]===e[0]&&t[1]===e[1]||this.lineTo(t),this._checkClosingPt(this._lineIn),this._checkClosingPt(this._lineOut)}_moveTo(t,e){this._closed?(this._lineIn.push(v(t,e<=0?t[0]:this._xCut)),this._lineOut.push(v(t,e>=0?t[0]:this._xCut))):(e<=0&&this._lineIn.push(t.slice()),e>=0&&this._lineOut.push(t.slice()))}_lineTo(t,e){this._closed?(w(this._lineIn,t,e<=0?t[0]:this._xCut),w(this._lineOut,t,e>=0?t[0]:this._xCut)):e<0?(0===this._prevSide&&this._pushLineOut(),this._lineIn.push(t.slice())):e>0?(0===this._prevSide&&this._pushLineIn(),this._lineOut.push(t.slice())):this._prevSide<0?(this._lineIn.push(t.slice()),this._lineOut.push(t.slice())):this._prevSide>0&&(this._lineOut.push(t.slice()),this._lineIn.push(t.slice()))}_checkClosingPt(t){const e=t.length;e>3&&t[0][0]===this._xCut&&t[e-2][0]===this._xCut&&t[1][0]===this._xCut&&(t[0]=t[e-2].slice(),t.pop())}_side(t){return t<this._xCut?-1:t>this._xCut?1:0}_intersect(t,e){const n=(this._xCut-t[0])/(e[0]-t[0]),r=[this._xCut,t[1]+n*(e[1]-t[1])],o=Math.min(t.length,e.length);for(let s=2;s<o;s++)r.push(t[s]+n*(e[s]-t[s]));return r}_pushLineIn(){this._lineIn&&this._lineIn.length>=this._minPts&&this._linesIn.push(this._lineIn),this._lineIn=[]}_pushLineOut(){this._lineOut&&this._lineOut.length>=this._minPts&&this._linesOut.push(this._lineOut),this._lineOut=[]}}function v(t,e){const n=t.slice();return n[0]=e,n}function w(t,e,n){const r=t.length;r>1&&t[r-1][0]===n&&t[r-2][0]===n?t[r-1]=v(e,n):t.push(v(e,n))}},97770(t,e,n){n.d(e,{Ey:()=>E,F8:()=>P,J2:()=>T,Yq:()=>O,_m:()=>I,iS:()=>C,wj:()=>N});var r=n(66552),o=n(73444),s=n(98623),i=n(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},h={year:"numeric",month:"long",day:"numeric"},f={year:"numeric",month:"short",day:"numeric"},d={year:"numeric",month:"long",weekday:"long",day:"numeric"},p={hour:"numeric",minute:"numeric"},m={...p,second:"numeric"},y={hourCycle:"h23"},g={...p,...y},M={...m,...y},_={"short-date":c,"short-date-short-time":{...c,...p},"short-date-short-time-24":{...c,...g},"short-date-long-time":{...c,...m},"short-date-long-time-24":{...c,...M},"short-date-le":c,"short-date-le-short-time":{...c,...p},"short-date-le-short-time-24":{...c,...g},"short-date-le-long-time":{...c,...m},"short-date-le-long-time-24":{...c,...M},"long-month-day-year":h,"long-month-day-year-short-time":{...h,...p},"long-month-day-year-short-time-24":{...h,...g},"long-month-day-year-long-time":{...h,...m},"long-month-day-year-long-time-24":{...h,...M},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...p},"day-short-month-year-short-time-24":{...f,...g},"day-short-month-year-long-time":{...f,...m},"day-short-month-year-long-time-24":{...f,...M},"long-date":d,"long-date-short-time":{...d,...p},"long-date-short-time-24":{...d,...g},"long-date-long-time":{...d,...m},"long-date-long-time-24":{...d,...M},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":p,"long-time":m},b=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),R={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},v=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),w=v.find(({type:t})=>"month"===t)?.value.toLowerCase();function x(){const t=(0,o.lR)();return(t&&R[t])??(0,o.QC)()}"mart"!==w&&(R.bs="sr-Latn-CS");let A=new WeakMap;const S=_["short-date-short-time"];function T(t){return _[t]}function I(t){const{dateStyle:e,timeStyle:n,hour12:r,year:o,month:s}=t,i={};return e?i.dateStyle=e:o&&(i.year=o,i.month=s||void 0),n&&!i.year&&(i.timeStyle=n,i.hour12="auto"===r?void 0:"always"===r),i}function O(t,e=S){return function(t){let e=A.get(t);if(!e){const n=x(),r=N(t.timeZone??"system"),o={...t,timeZone:r};e=new Intl.DateTimeFormat(n,o),A.set(t,e)}return e}(e).format(t)}function C(t,e=S){return O(new Date(t),{...e,...u,...l})}function P(t,e=S){return O(new Date(`1970-01-01T${t}Z`),{...e,...u,...a})}function E(t,e=S){const n=i.c9.fromISO(t,{setZone:!0});if(!n.isValid)return t;if(e.timeZone)return O(n.toJSDate(),e);const r=0===n.offset?"UTC":e.timeZone,o={...e,timeZone:r};return n.toLocaleString(o,{locale:x()})}function N(t){switch(t){case"system":return s.N;case s.L:return"UTC";default:return t}}(0,o.Ml)(()=>{A=new WeakMap}),n.d(e,["_v",0,b])},73444(t,e,n){n.d(e,{JK:()=>l,Ml:()=>y,QC:()=>h,lR:()=>c,oQ:()=>p});var r=n(36563);let o;n(44208);const s=globalThis.esriConfig?.locale,i=globalThis.document?.documentElement;function a(){const t=i?.getAttribute("lang"),e=globalThis.navigator?.language;return s??t??e??"en"}function l(){return void 0===o&&(o=a()),o}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=l()){return f(t)?.language}function h(t=l()){const e=f(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function f(t=l()){return u.exec(t)?.groups}const d=[];function p(t){return d.push(t),(0,r.hA)(()=>{d.splice(d.indexOf(t),1)})}new Map;const m=[];function y(t){return m.push(t),(0,r.hA)(()=>m.splice(m.indexOf(t),1))}function g(){const t=a();o!==t&&([...m].forEach(e=>e(t)),o=t,[...d].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",g),i&&new MutationObserver(()=>{g()}).observe(i,{attributeFilter:["lang"]})},98623(t,e,n){const r=Intl.DateTimeFormat().resolvedOptions().timeZone;n.d(e,["L",0,"unknown","N",0,r])},89606(t,e,n){n.d(e,{GN:()=>h,MU:()=>c,yf:()=>d});var r=n(35522),o=n(51850),s=n(10614),i=n(63907),a=n(74038);class l{constructor(t,e){this.data=t,this.indices=e}}class u{constructor(t,e,n,r,o){this.indices=t,this.packedNormals=e,this.appendedVertexToOriginal=n,this.outputVertexCount=r,this.appendedVertexCount=o}}function c(t,e,n,u,c){return!u||n.some(({name:t})=>"normal"===t||"normalCompressed"===t)?function(t,e,n,i){const a=new l(t.slice().buffer,e);if(!i)return a;const u=n[0].stride,c=a.data.byteLength/u;for(const t of n)if("normalCompressed"===t.name){const{offset:e}=t,n=new Int16Array(a.data),l=(0,o.vt)();for(let t=0;t<c;++t)(0,s.Tz)(l,n,t,u/2,e/2),(0,r.ei)(l,l,i),(0,s.aT)(n,t,l[0],l[1],l[2],u/2,e/2)}else if("normal"===t.name){const{offset:e}=t,n=new Float32Array(a.data),s=(0,o.vt)();for(let t=0;t<c;++t){const o=(t*u+e)/4;s[0]=n[o],s[1]=n[o+1],s[2]=n[o+2],(0,r.ei)(s,s,i),n[o]=s[0],n[o+1]=s[1],n[o+2]=s[2]}}return a}(t,e,n,c):function(t,e,n,r){const o=n[0].stride,s=o/4,l=new Float32Array(t.buffer,t.byteOffset,t.byteLength/4),u=t.byteLength/o,c=o+4;n.forEach(t=>t.stride=c),n.push(new a._("normalCompressed",2,i.pe.SHORT,o,c,!0));const d=h(e,l,s,r);return f(l,u,o,c,d)}(t,e,n,c)}function h(t,e,n,r){const o=t.length/3,s=e.length/n,{faceNormals:i,faceAreas:a,faceEdges:l,edgeFaces:u,vertexFaces:c,vertexFaceCountAndOffset:h}=function(t,e,n,r,o,s){const i=new Float32Array(3*o),a=new Float32Array(o),l=new Uint32Array(3*o),u=new Int32Array(3*o*2),c=3*o,h=new Uint32Array(c),f=new Uint32Array(2*n);for(let t=0;t<o;++t){const e=3*t;for(let t=0;t<3;++t)++f[2*r[e+t]]}{let t=0;for(let e=0;e<n;++e){const n=2*e;f[n+1]=t,t+=f[n]}for(let t=0;t<o;++t){const e=3*t;for(let n=0;n<3;++n)h[f[2*r[e+n]+1]++]=t}for(let t=0;t<n;++t)f[2*t+1]-=f[2*t]}let d=0;const p=new Uint32Array(2*c*2),m=new Uint32Array(2*n);for(let t=0;t<n;++t){const e=2*t,n=4*f[e+1];m[e]=n,m[e+1]=n}function y(t,e,n){const r=Math.min(t,e),o=Math.max(t,e),s=t<e?0:1,i=2*r,a=m[i],l=m[i+1];let c=-1;for(let t=a;t<l;t+=2)if(p[t]===o){c=p[t+1];break}return-1===c&&(c=d++,p[l]=o,p[l+1]=c,m[i+1]=l+2,u[2*c+(1-s)]=-1),u[2*c+s]=n,c}for(let n=0;n<r.length;n+=3){const o=r[n],u=o*e,c=t[u],h=t[u+1],f=t[u+2],d=r[n+1],p=d*e,m=t[p],g=t[p+1],M=t[p+2],_=r[n+2],b=_*e,R=c-m,v=h-g,w=f-M,x=c-t[b],A=h-t[b+1],S=f-t[b+2],T=v*S-w*A,I=w*x-R*S,O=R*A-v*x,C=Math.sqrt(T*T+I*I+O*O)||1,P=n/3;a[P]=.5*C;const E=1/C;if(s){const t=s[0]*T+s[3]*I+s[6]*O,e=s[1]*T+s[4]*I+s[7]*O,n=s[2]*T+s[5]*I+s[8]*O;i[3*P]=t*E,i[3*P+1]=e*E,i[3*P+2]=n*E}else i[3*P]=T*E,i[3*P+1]=I*E,i[3*P+2]=O*E;const N=y(o,d,P),L=y(d,_,P),G=y(_,o,P);l[3*P]=N,l[3*P+1]=L,l[3*P+2]=G}return{faceNormals:i,faceAreas:a,faceEdges:l,vertexFaces:h,vertexFaceCountAndOffset:f,edgeFaces:u}}(e,n,s,t,o,r);return function(t,e,n,r,o,s){const i=new Uint8Array(e),a=new Uint32Array(e),l=new Uint32Array(3*e);let u=0;const c=new Uint32Array(e);let h=0;for(let e=0;e<t.length;e+=3){const t=e/3;if(1===i[t])continue;i[t]=1;const f=n[3*t],d=n[3*t+1],p=n[3*t+2];for(h=0,c[h++]=t,l[0]=o[3*t],l[1]=o[3*t+1],l[2]=o[3*t+2],u=3,a[t]=t+1;u>0;){const e=l[--u];for(let r=0;r<2;++r){const y=s[2*e+r];if(-1===y||a[y]===t+1)continue;a[y]=t+1;const g=n[3*y],M=n[3*y+1],_=n[3*y+2];if(Math.abs(1-(f*g+d*M+p*_))<m){c[h++]=y,i[y]=1;for(let t=0;t<3;++t){const n=o[3*y+t];n!==e&&(l[u++]=n)}}}}if(h>1){let t=0,e=0,o=0,s=0;for(let i=0;i<h;++i){const a=c[i],l=r[a];t+=l,e+=n[3*a]*l,o+=n[3*a+1]*l,s+=n[3*a+2]*l}const i=Math.sqrt(e*e+o*o+s*s)||1;e/=i,o/=i,s/=i;for(let i=0;i<h;++i){const a=c[i];n[3*a]=e,n[3*a+1]=o,n[3*a+2]=s,r[a]=t}}}}(t,o,i,a,l,u),p(o,s,t,i,a,c,h)}function f(t,e,n,r,o){const s=n/4,i=r/4,a=o.outputVertexCount,u=new Float32Array(a*i),c=new Uint32Array(u.buffer),h=s,f=new Uint32Array(t.buffer,t.byteOffset,t.length);return function(t,e,n,r,o,s,i){for(let a=0;a<s;++a){const s=a*o,l=a*e;for(let e=0;e<o;++e)t[l+e]=r[s+e];t[l+n]=i[a]}}(c,i,h,f,s,e,o.packedNormals),d(c,i,h,f,s,e,a,o.appendedVertexToOriginal,o.packedNormals),new l(u.buffer,o.indices)}function d(t,e,n,r,o,s,i,a,l){for(let u=s;u<i;++u){const i=a[u-s]*o,c=u*e;for(let e=0;e<o;++e)t[c+e]=r[i+e];t[c+n]=l[u]}}function p(t,e,n,r,o,s,i){const a=3*t,l=new(a<256?Uint8Array:a<65536?Uint16Array:Uint32Array)(n);let c=e;const h=new(e<256?Uint8Array:e<65536?Uint16Array:Uint32Array)(a-e),f=new ArrayBuffer(4*a),d=new Int16Array(f),p=new Uint32Array(f);let m=0,g=0;const M=new Uint32Array(t);let _=0;const b=1-y;for(let t=0;t<e;++t){m=i[2*t+1],g=m+i[2*t];let n=t;for(;m<g;){{const t=s[--g],e=3*t,i=r[e],a=r[e+1],l=r[e+2];_=0,M[_++]=t;let u=m;for(;u<g;){const t=s[u],e=3*t;if(i*r[e]+a*r[e+1]+l*r[e+2]>b){M[_++]=t;const e=--g;if(u<e){s[u]=s[e];continue}}++u}let c=0,h=0,f=0;if(1===_)c=i,h=a,f=l;else{for(let t=0;t<_;++t){const e=M[t],n=o[e],s=3*e;c+=r[s]*n,h+=r[s+1]*n,f+=r[s+2]*n}const t=Math.sqrt(c*c+h*h+f*f)||1;c/=t,h/=t,f/=t}{const t=1/(Math.abs(c)+Math.abs(h)+Math.abs(f)),e=c*t,r=h*t;let o=e,s=r;f<=0&&(o=(e>=0?1:-1)*(1-Math.abs(r)),s=(r>=0?1:-1)*(1-Math.abs(e)));const i=2*n,a=Math.round(32767*o),l=Math.round(32767*s);d[i]=a<-32767?-32767:a>32767?32767:a,d[i+1]=l<-32767?-32767:l>32767?32767:l}}if(n!==t)for(let e=0;e<_;++e){const r=3*M[e];l[r]===t&&(l[r]=n),l[r+1]===t&&(l[r+1]=n),l[r+2]===t&&(l[r+2]=n)}if(m>=g)break;n=c++,h[n-e]=t}}return new u(l,p,h,c,c-e)}const m=.04,y=.8},94715(t,e,n){n.r(e),n.d(e,{destroyContext:()=>x,dracoDecompressPointCloudData:()=>M,filterObbsForModifications:()=>_,filterObbsForModificationsSync:()=>C,initialize:()=>N,interpretObbModificationResults:()=>O,process:()=>g,project:()=>v,setLegacySchema:()=>R,setModifications:()=>b,setModificationsSync:()=>T,test:()=>G,transformNormals:()=>w});var r=n(34727),o=n(77690),s=n(29242),i=n(58083),a=n(9093),l=n(16930),u=n(4197),c=n(95696),h=n(18251),f=n(73354),d=n(2741);let p;var m=n(89606),y=n(98697);async function g(t){S=await L();const e=[t.geometryBuffer];return{result:I(S,t,e),transferList:e}}async function M(t){S=await L();const e=[t.geometryBuffer],{geometryBuffer:n}=t,r=n.byteLength,o=S._malloc(r),s=new Uint8Array(S.HEAPU8.buffer,o,r);s.set(new Uint8Array(n));const i=S.dracoDecompressPointCloudData(o,s.byteLength);if(S._free(o),i.error.length>0)throw new Error(`i3s.wasm: ${i.error}`);const a=i.featureIds?.length>0?i.featureIds.slice():null,l=i.positions.slice();return a&&e.push(a.buffer),e.push(l.buffer),{result:{positions:l,featureIds:a},transferList:e}}async function _(t){await L(),C(t);const e={buffer:t.buffer};return{result:e,transferList:[e.buffer]}}async function b(t){await L(),T(t)}async function R(t){S=await L(),S.setLegacySchema(t.context,t.jsonSchema)}async function v(t){const{localMatrix:e,origin:r,positions:o,vertexSpace:s}=t,i=l.A.fromJSON(t.inSpatialReference),a=l.A.fromJSON(t.outSpatialReference),f=e?(0,u.Vj)(e):void 0,d=(0,u.cj)(r);let p;const[{projectBuffer:m},{initializeProjection:y}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,91218))]);await y(i,a);const g=[0,0,0];if(!m(d,i,0,g,a,0))throw new Error("Failed to project");if("georeferenced"===s.type&&null==s.origin){if(p=new Float64Array(o.length),!m(o,i,0,p,a,0,p.length/3))throw new Error("Failed to project")}else{const t="georeferenced"===s.type?c.A.fromJSON(s):h.A.fromJSON(s),{projectMeshVertexPositions:e}=await n.e(4594).then(n.bind(n,74594)),r=e({vertexAttributes:{position:o},transform:f?{localMatrix:f}:void 0,vertexSpace:t,spatialReference:i},a);if(!r)throw new Error("Failed to project");p=r}const M=p.length,[_,b,R]=g;for(let t=0;t<M;t+=3)p[t]-=_,p[t+1]-=b,p[t+2]-=R;return{result:{projected:p,original:o,projectedOrigin:g},transferList:[p.buffer,o.buffer]}}async function w({normalMatrix:t,normals:e}){const n=new Float32Array(e.length);return(0,f.b)(n,e,t),(0,r.or)(t)&&(0,f.n)(n,n),{result:{transformed:n,original:e},transferList:[n.buffer,e.buffer]}}function x(t){P(t)}let A,S;function T(t){if(!S)return;const e=t.modifications,n=S._malloc(8*e.length),r=new Float64Array(S.HEAPU8.buffer,n,e.length);for(let t=0;t<e.length;++t)r[t]=e[t];S.setModifications(t.context,n,e.length,t.isGeodetic),S._free(n)}function I(t,e,n){const{context:r,globalTrafo:l,geometryElevationOffset:u,mbs:c,obbData:h,layouts:f,needNormals:d,computeNormals:p,elevationOffset:g,planetRadiusInGlobalMode:M,geometryBuffer:_,geometryDescriptor:b,geometryData:R,indexToVertexProjector:v,vertexToRenderProjector:w,normalReferenceFrame:x}=e,A=t._malloc(_.byteLength),S=t._malloc(33*Float64Array.BYTES_PER_ELEMENT),T=new Uint8Array(t.HEAPU8.buffer,A,_.byteLength);T.set(new Uint8Array(_));const I=new Float64Array(t.HEAPU8.buffer,S,33);E(I,[NaN,NaN,NaN],0);let O=3;E(I,l,O),O+=16,E(I,c.center,O),O+=3,I[O++]=c.radius,h&&E(I,h,O++);const C={isDraco:!1,isLegacy:!1,color:f.some(t=>t.some(t=>"color"===t.name)),normal:d&&f.some(t=>t.some(t=>"normalCompressed"===t.name)),uv0:f.some(t=>t.some(t=>"uv0"===t.name)),uvRegion:f.some(t=>t.some(t=>"uvRegion"===t.name)),featureIndex:b.featureIndex},P=t.process(r,!!h,A,T.byteLength,b,C,S,g,v,w,x);if(t._free(S),t._free(A),P.error.length>0)throw new Error(`i3s.wasm: ${P.error}`);if(P.discarded)return null;const N=P.componentOffsets.length>0?P.componentOffsets.slice():null,L=P.featureIds.length>0?P.featureIds.slice():null,G=P.anchorIds.length>0?Array.from(P.anchorIds):null,D=P.anchors.length>0?Array.from(P.anchors):null,B=1===P.indicesType?new Uint16Array(P.indices.buffer,P.indices.byteOffset,P.indices.byteLength/2).slice():new Uint32Array(P.indices.buffer,P.indices.byteOffset,P.indices.byteLength/4).slice(),j=f[0].slice(),U=(0,o.z0)((0,s.vt)(),l),k=(0,m.MU)(P.interleavedVertedData,B,j,p&&!C.normal,U),F=P.positions.slice(),Z=function(t,e,n,r,o){const s=n?(0,a.o8)(n):(0,a.vt)();(0,i.lw)(s,e,s);const l=s[0],u=s[1],c=s[2],h=s[4],f=s[5],d=s[6],p=s[8],m=s[9],y=s[10],g=s[12],M=s[13],_=s[14];let b=1/0,R=-1/0;for(let e=0;e<t.length;e+=3){const n=t[e],s=t[e+1],i=t[e+2],a=n*c+s*d+i*y+_;let v=0;if(r>0){const t=n*l+s*h+i*p+g,e=n*u+s*f+i*m+M;v=Math.sqrt(t*t+e*e+a*a)-r}else v=a;v-=o,b=Math.min(b,v),R=Math.max(R,v)}return{minElevation:b,maxElevation:R}}(F,l,R?.geometries[0]?.transformation,M,u),{buffer:q,byteOffset:H,byteLength:z}=P.positionIndices,Y=1===P.positionIndicesType?new Uint16Array(q,H,z/2).slice():new Uint32Array(q,H,z/4).slice(),$=new y._b(j,k.data,k.indices,P.hasColors,P.hasModifications,{data:F,indices:Y});return L&&n.push(L.buffer),N&&n.push(N.buffer),n.push(k.data),n.push(k.indices.buffer),n.push(F.buffer),n.push(Y.buffer),new y.sQ(N,L,G,D,$,l,P.obb,Z.minElevation,Z.maxElevation)}function O(t){return 0===t?0:1===t?1:2===t?2:3}function C(t){if(!S)return;const{context:e,buffer:n}=t,r=S._malloc(n.byteLength),o=n.byteLength/Float64Array.BYTES_PER_ELEMENT,s=new Float64Array(S.HEAPU8.buffer,r,o),i=new Float64Array(n);s.set(i),S.filterOBBs(e,r,o),i.set(s),S._free(r)}function P(t){0===S?.destroy(t)&&(S=null,A=null,p=null)}function E(t,e,n){for(let r=0;r<e.length;++r)t[r+n]=e[r]}async function N(){S||await L()}async function L(){return S||(S=await(A??=(p??=(async()=>{const t=await n.e(2980).then(n.bind(n,82980));return await t.default({locateFile:t=>(0,d.s)(`esri/libs/i3s/${t}`)})})(),p))),S}const G={transform:(t,e)=>S&&I(S,t,e),destroy:P}},98697(t,e,n){n.d(e,{H1:()=>M,Ir:()=>m,_b:()=>h,sQ:()=>f});var r=n(53966),o=n(15142),s=n(51850),i=n(35982),a=n(39829),l=n(91218),u=n(27993),c=n(89056);class h{constructor(t,e,n,r,o,s){this.layout=t,this.interleavedVertexData=e,this.indices=n,this.hasColors=r,this.hasModifications=o,this.positionData=s}}class f{constructor(t,e,n,r,o,s,i,a,l){this.componentOffsets=t,this.featureIds=e,this.anchorIds=n,this.anchors=r,this.transformedGeometry=o,this.globalTrafo=s,this.obb=i,this.geometryMinElevation=a,this.geometryMaxElevation=l}}i.B;const d=new o.A({deallocator:null}),p=(0,s.vt)();function m(t,e,n,o=!1){d.clear();let s=1/0,i=1/0,u=-1/0,h=-1/0,f=!1;for(const t of e){const e="clip"===t.type?2:"mask"===t.type?1:0,p=t.geometry,m=p.spatialReference??n;if(m!==n&&!(0,l.canProjectWithoutEngine)(m,n)){r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:p});continue}let M=p.rings;if(m!==n){const t=y(p.rings,m,n);if(null==t){r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:p});continue}M=t}const _=M;if(o){const t=(0,c.jZ)(new a.A({rings:M,spatialReference:n}));null!=t&&(M=t.rings)}const b=1===_.length&&M.length>1?[...M.map(t=>[t]),_]:[M];if(b.some(t=>0===t.length||t.some(t=>t.length<3||t.some(t=>!g(t)))))r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-invalid-polygon","Ignoring invalid modification polygon (empty ring, fewer than 3 vertices, or non-finite coordinates).",{polygon:p});else{f||=1===e;for(const t of b){d.push(e),d.push(t.length);for(const e of t){d.push(e.length);for(const t of e){const e=t[2]??0;d.push(t[0]),d.push(t[1]),d.push(e),s=Math.min(s,t[0]),i=Math.min(i,t[1]),u=Math.max(u,t[0]),h=Math.max(h,t[1])}}}}}if(null!=t)if(f){const e=1e-4;d.push(2),d.push(2),d.push(4),d.push(s-e),d.push(i-e),d.push(0),d.push(u+e),d.push(i-e),d.push(0),d.push(u+e),d.push(h+e),d.push(0),d.push(s-e),d.push(h+e),d.push(0),d.push(4),d.push(t[0]),d.push(t[1]),d.push(0),d.push(t[2]),d.push(t[1]),d.push(0),d.push(t[2]),d.push(t[3]),d.push(0),d.push(t[0]),d.push(t[3]),d.push(0)}else d.push(1),d.push(1),d.push(4),d.push(t[0]),d.push(t[1]),d.push(0),d.push(t[2]),d.push(t[1]),d.push(0),d.push(t[2]),d.push(t[3]),d.push(0),d.push(t[0]),d.push(t[3]),d.push(0);d.push(3);const p=new Float64Array(d.length);for(let t=0;t<d.length;++t)p[t]=d.at(t);return p}function y(t,e,n){const r=[];for(const o of t){const t=[];for(const r of o){if(!(0,u.F)(r,e,p,n)||!g(p))return null;t.push([p[0],p[1],p[2]])}r.push(t)}return r}function g(t){return Number.isFinite(t[0])&&Number.isFinite(t[1])&&(null==t[2]||Number.isFinite(t[2]))}function M(t,e){let n=0;for(const r of e){const e=r.geometry,o=e.rings.length,s=e.rings.some(t=>t.length<3);if(0!==o&&!s){n+=1,n+=1;for(let r=0;r<e.rings.length;++r){const o=e.rings[r];n+=1;for(let s=0;s<o.length;++s){const o=[t[n+0],t[n+1],t[n+2]];n+=3,e.setPoint(r,s,o)}}}}}},10614(t,e,n){n.d(e,{Tz:()=>i,aT:()=>s});var r=n(34727),o=n(35522);function s(t,e,n,r,o,s=2,i=0){const l=1/(Math.abs(n)+Math.abs(r)+Math.abs(o)),u=n*l,c=r*l,h=o<=0?(u>=0?1:-1)*(1-Math.abs(c)):u,f=o<=0?(c>=0?1:-1)*(1-Math.abs(u)):c,d=e*s+i;t[d]=a(h),t[d+1]=a(f)}function i(t,e,n,r=2,s=0){const i=n*r+s,a=l(e[i]),u=l(e[i+1]),c=1-Math.abs(a)-Math.abs(u);return t[2]=c,c<0?(t[0]=(a>=0?1:-1)*(1-Math.abs(u)),t[1]=(u>=0?1:-1)*(1-Math.abs(a))):(t[0]=a,t[1]=u),(0,o.S8)(t,t)}function a(t){return(0,r.qE)(Math.round(32767*t),-32767,32767)}function l(t){return(0,r.qE)(t/32767,-1,1)}n(51850)},74038(t,e,n){n.d(e,{_:()=>r});class r{constructor(t,e,n,r,o,s=!1,i=0,a=!1){this.name=t,this.count=e,this.type=n,this.offset=r,this.stride=o,this.normalized=s,this.divisor=i,this.integer=a}}},63907(t,e,n){const r={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},o={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},s=Object.values(o),i={FLOAT:r.FLOAT,UNSIGNED_BYTE:r.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:r.BYTE,UNSIGNED_SHORT:r.UNSIGNED_SHORT,SHORT:r.SHORT,UNSIGNED_INT:r.UNSIGNED_INT,INT:r.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};n.d(e,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,o,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,s,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,i,"pe",0,r,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6344,9526],{68197(e,t,i){i.d(t,{A:()=>u});var n=i(40876),r=i(4576),s=i(34727),o=i(56507);function l(e){return(0,s.qE)((0,o.Vr)(e),0,255)}function a(e,t){const i=e.toString(16).padStart(2,"0");return t?i.slice(0,1):i}class u{static blendColors(e,t,i,n=new u){return n.r=Math.round(e.r+(t.r-e.r)*i),n.g=Math.round(e.g+(t.g-e.g)*i),n.b=Math.round(e.b+(t.b-e.b)*i),n.a=e.a+(t.a-e.a)*i,n._sanitize()}static fromRgb(e,t){const i=(0,n.lT)(e);return i?u.fromArray(i,t):null}static fromHex(e,t=new u){const i=(0,n.oW)(e);return i?u.fromArray(i,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 i=(0,n.Eq)(e);return i?u.fromArray(i,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,r.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,i=e?.digits??6,n=3===i||4===i,r=4===i||8===i,s=`#${a(this.r,n)}${a(this.g,n)}${a(this.b,n)}${r?a(Math.round(255*this.a),n):""}`;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=l(this.r),i=l(this.g),n=l(this.b);return 0===e||1!==this.a?[t,i,n,l(255*this.a)]:[t,i,n]}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,n.c1)(this.r),this.g=(0,n.c1)(this.g),this.b=(0,n.c1)(this.b),this.a=(0,n.G1)(this.a),this}_set(e,t,i,n){this.r=e,this.g=t,this.b=i,this.a=n}}u.prototype.declaredClass="esri.Color"},52106(e,t,i){i.d(t,{A:()=>S});var n,r,s=i(5482),o=i(37838),l=i(69540),a=i(51447),u=i(25482),c=i(53966),h=i(36708),f=i(24326),d=i(91429),p=i(12195),y=i(65864),g=i(50498),m=i(55156),b=i(60950),M=i(54339),v=i(94128),_=i(33910);function w(e){if(null==e)return null;const t={};for(const i in e){const n=e[i];n&&(t[i]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let S=class extends((0,l.OU)(u.o)){static{n=v.Z}static{r=this}constructor(e){super(e),this[n]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,f.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new r({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,b.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const i=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[i,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const i=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",i,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.I)(this.origin);if(e)return(0,M.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,M.r)(this,t):null}getGlobalId(){const e=(0,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:w(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,p.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const i={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",i,i,e.action)}}_notifyLayer(e,t,i,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const r={graphic:this,property:e,oldValue:t,newValue:i};"origin-transform"===e&&(r.action=n),"attributes"===e&&(r.attributeName=n),this.layer.graphicChanged(r)}_watchMeshGeometryChanges(){this.addHandles([(0,h.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,h.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,s.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const i in e){const n=(0,y.rS)(e[i]);n&&(t[i]=n)}return 0!==Object.keys(t).length?t:null}}})],S.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,d.MZ)({value:null})],S.prototype,"attributes",null),(0,s.Cg)([(0,d.MZ)({value:null,types:g.yR,json:{read:y.rS}})],S.prototype,"geometry",null),(0,s.Cg)([(0,d.MZ)()],S.prototype,"distance",void 0),(0,s.Cg)([(0,d.MZ)({type:Boolean})],S.prototype,"isAggregate",void 0),(0,s.Cg)([(0,d.MZ)({clonable:!1})],S.prototype,"layer",void 0),(0,s.Cg)([(0,d.MZ)({clonable:"reference"})],S.prototype,"origin",void 0),(0,s.Cg)([(0,d.MZ)({type:o.A,value:null})],S.prototype,"popupTemplate",null),(0,s.Cg)([(0,d.MZ)({clonable:"reference"})],S.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,d.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],S.prototype,"statisticsAggregatedIds",void 0),(0,s.Cg)([(0,d.MZ)({value:null,types:_.Es})],S.prototype,"symbol",null),(0,s.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],S.prototype,"_version",void 0),(0,s.Cg)([(0,d.MZ)({type:Boolean,value:!0})],S.prototype,"visible",null),S=r=(0,s.Cg)([(0,d.$K)("esri.Graphic")],S)},40876(e,t,i){i.d(t,{Eq:()=>d,G1:()=>y,TS:()=>s,V6:()=>r,Vm:()=>p,ay:()=>a,c1:()=>g,c4:()=>o,j5:()=>u,lT:()=>h,oW:()=>c,xV:()=>M});const n={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 r(e){return!!n[e]||!!n[e.toLowerCase()]}function s(e){return n[e]??n[e.toLowerCase()]}function o(e){return[...s(e)]}function l(e,t,i){i<0&&++i,i>1&&--i;const n=6*i;return n<1?e+(t-e)*n:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}function a(e,t,i,n=1){const r=(e%360+360)%360/360,s=i<=.5?i*(t+1):i+t-i*t,o=2*i-s;return[Math.round(255*l(o,s,r+1/3)),Math.round(255*l(o,s,r)),Math.round(255*l(o,s,r-1/3)),n]}function u(e){const t=e.length>5,i=t?8:4,n=(1<<i)-1,r=t?1:17,s=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const l=[0,0,0,1];let a;return s&&(a=o&n,o>>=i,l[3]=r*a/255),a=o&n,o>>=i,l[2]=r*a,a=o&n,o>>=i,l[1]=r*a,a=o&n,o>>=i,l[0]=r*a,l}function c(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),i=parseInt(e.slice(2,3),16),n=parseInt(e.slice(3,4),16),r=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,i+16*i,n+16*n,(r+16*r)/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 h(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),i=t[1];if("rgb"===i&&3===e.length||"rgba"===i&&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])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===i&&3===e.length||"hsla"===i&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?y(e[3]):1,e}function d(e){let t=r(e)?s(e):null;return t??=h(e),t??=c(e),t}function p(e){const t=d(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function y(e){return m(e,0,1)}function g(e){return Math.round(m(e,0,255))}function m(e,t,i){return e=Number(e),isNaN(e)?i:e<t?t:e>i?i:e}const b=1/2.2;function M(e){return e**b}i.d(t,["iw",0,b])},38961(e,t,i){var n=i(5482),r=i(7762),s=i(36708),o=i(10107),l=i(64108),a=i(80559);let u=class extends r.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,a.fm)(()=>this._refresh(),s.OH))}destroy(){this.getCollections=null}_refresh(){const e=this.getCollections?.();if(null==e)return void this.removeAll();let t=0;for(const i of e)null!=i&&(t=this._processCollection(t,i));this.splice(t)}_createNewInstance(e){return new r.A(e)}_processCollection(e,t){if(!t)return e;const i=this.itemFilterFunction??(e=>!!e);for(const n of t)if(n){if(i(n)){const t=this.indexOf(n,e);t>=0?t!==e&&this.reorder(n,e):this.add(n,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(n);if(Array.isArray(t))for(const i of t)e=this._processCollection(e,i);else e=this._processCollection(e,t)}}return e}};(0,n.Cg)([(0,o.MZ)()],u.prototype,"getCollections",void 0),(0,n.Cg)([(0,o.MZ)()],u.prototype,"getChildrenFunction",void 0),(0,n.Cg)([(0,o.MZ)()],u.prototype,"itemFilterFunction",void 0),u=(0,n.Cg)([(0,l.$)("esri.core.CollectionFlattener")],u);const c=u;i.d(t,["A",0,c])},66344(e,t,i){i.d(t,{q:()=>l});const n=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{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,r,o){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)),r>this._maxSize)return void this._notifyRemove(t,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return n||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,i,0,0);const a=1+Math.max(o,-4)- -3;this._db.set(t,new s(i,r,a)),this._size+=r,e.size+=r,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 n=i.entry.usedMemory;for(;n>this._maxSize;){const e=this._notifyRemove(t,i.entry,n,1);if(!(null!=e&&e>0))return void this._db.delete(t);n=e}i.size=n,this._size+=n,e.size+=n,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,n)=>{const r=e.lifetime;i[r]=(i[r]||0)+e.size,this._clients.forEach(i=>{const{id:r,name:s}=i;if(n.startsWith(r)){const i=t[s]||0;t[s]=i+e.size}})});const n={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[i]||0;t[i]=r,n[i]=Math.round(100*e.hitRate)+"%"}else n[i]="0%"});const r=Object.keys(t);r.sort((e,i)=>t[i]-t[e]),r.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+n[i]);for(let t=i.length-1;t>=0;--t){const n=i[t];n&&(e["Priority "+(t+-3-1)]=Math.round(n/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,n){const r=this._clients.get(e.split(o)[0])?.removeFunc,s=r?.(t,n,i);return"number"==typeof s?s: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 n=t?.id;let r=!0;for(;r;){r=!1;for(const[s,l]of this._db)if(0===l.lifetime&&(!n||s.startsWith(n))){const n=t??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,l,n),i.size<=.9*e)return;r||=this._db.has(s)}}for(const[r,s]of this._db)if(!n||r.startsWith(n)){const n=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,s,n),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 n=this._notifyRemove(e,t.entry,t.size,1);null!=n&&n>0&&(this._size+=n,i&&(i.size+=n),t.lives=t.lifetime,t.size=n,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class s{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class l{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new r(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(){}}},6797(e,t,i){i.d(t,{Ui:()=>f});var n=i(69622),r=i(7762),s=i(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof n.A}function a(e){return e instanceof r.A?Object.keys(e.items):l(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof r.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function h(e,t){const i=e.diff;if(i&&"function"==typeof i)return i(e,t);const n=a(e),r=a(t);if(0===n.length&&0===r.length)return;if(!n.length||!r.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 s=r.filter(e=>!n.includes(e)),f=n.filter(e=>!r.includes(e)),d=n.filter(i=>r.includes(i)&&u(e,i)!==u(t,i)).concat(s,f).sort(),p=c(e);if(p&&o.has(p)&&d.length)return{type:"complete",oldValue:e,newValue:t};let y;const g=l(e)&&l(t);for(const n of d){const r=u(e,n),s=u(t,n);let o;if((g||"function"!=typeof r&&"function"!=typeof s)&&r!==s&&(null!=r||null!=s)){if(i&&i[n]&&"function"==typeof i[n])o=i[n]?.(r,s);else if(r instanceof Date&&s instanceof Date){if(r.getTime()===s.getTime())continue;o={type:"complete",oldValue:r,newValue:s}}else o="object"==typeof r&&"object"==typeof s&&c(r)===c(s)?h(r,s):{type:"complete",oldValue:r,newValue:s};null!=o&&(null!=y?y.diff[n]=o:y={type:"partial",diff:{[n]:o}})}}return y}function f(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:h(e,t)}},9093(e,t,i){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function r(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}i.d(t,{o8:()=>r,vt:()=>n});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:r,create:n,fromValues:function(e,t,i,n,r,s,o,l,a,u,c,h,f,d,p,y){return[e,t,i,n,r,s,o,l,a,u,c,h,f,d,p,y]}},Symbol.toStringTag,{value:"Module"})),i.d(t,["zK",0,s])},35522(e,t,i){i.d(t,{$A:()=>A,Bw:()=>s,C:()=>o,Cc:()=>x,DI:()=>w,Io:()=>b,Ln:()=>m,Om:()=>I,Qr:()=>h,Re:()=>u,S8:()=>S,T9:()=>y,WQ:()=>a,Z0:()=>C,_S:()=>d,aI:()=>k,ei:()=>F,fw:()=>R,g7:()=>T,gL:()=>z,hG:()=>M,hZ:()=>l,hs:()=>g,jk:()=>p,lw:()=>c,m3:()=>v,oW:()=>E,t2:()=>L,tn:()=>f,ze:()=>_});var n=i(51850),r=i(34304);function s(e){const t=e[0],i=e[1],n=e[2];return Math.sqrt(t*t+i*i+n*n)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function l(e,t,i,n){return e[0]=t,e[1]=i,e[2]=n,e}function a(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e[2]=t[2]+i[2],e}function u(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e[2]=t[2]-i[2],e}function c(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e[2]=t[2]*i[2],e}function h(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e[2]=t[2]/i[2],e}function f(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function d(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function p(e,t,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e[2]=Math.min(t[2],i[2]),e}function y(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e[2]=Math.max(t[2],i[2]),e}function g(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e}function m(e,t,i,n){return e[0]=t[0]+i[0]*n,e[1]=t[1]+i[1]*n,e[2]=t[2]+i[2]*n,e}function b(e,t){const i=t[0]-e[0],n=t[1]-e[1],r=t[2]-e[2];return Math.sqrt(i*i+n*n+r*r)}function M(e,t){const i=t[0]-e[0],n=t[1]-e[1],r=t[2]-e[2];return i*i+n*n+r*r}function v(e){const t=e[0],i=e[1],n=e[2];return t*t+i*i+n*n}function _(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function w(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function S(e,t){const i=t[0],n=t[1],r=t[2];let s=i*i+n*n+r*r;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function I(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function A(e,t,i){const n=t[0],r=t[1],s=t[2],o=i[0],l=i[1],a=i[2];return e[0]=r*a-s*l,e[1]=s*o-n*a,e[2]=n*l-r*o,e}function x(e,t,i,n){const r=t[0],s=t[1],o=t[2];return e[0]=r+n*(i[0]-r),e[1]=s+n*(i[1]-s),e[2]=o+n*(i[2]-o),e}function C(e,t,i){const n=t[0],r=t[1],s=t[2];return e[0]=i[0]*n+i[4]*r+i[8]*s+i[12],e[1]=i[1]*n+i[5]*r+i[9]*s+i[13],e[2]=i[2]*n+i[6]*r+i[10]*s+i[14],e}function F(e,t,i){const n=t[0],r=t[1],s=t[2];return e[0]=n*i[0]+r*i[3]+s*i[6],e[1]=n*i[1]+r*i[4]+s*i[7],e[2]=n*i[2]+r*i[5]+s*i[8],e}function z(e,t,i){return R(e,t,i[0],i[1],i[2],i[3])}function R(e,t,i,n,r,s){const o=t[0],l=t[1],a=t[2],u=n*a-r*l,c=r*o-i*a,h=i*l-n*o,f=n*h-r*c,d=r*u-i*h,p=i*c-n*u,y=2*s;return e[0]=o+u*y+2*f,e[1]=l+c*y+2*d,e[2]=a+h*y+2*p,e}function T(e,t){S(P,e),S(O,t);const i=I(P,O);return i>1?0:i<-1?Math.PI:Math.acos(i)}const P=(0,n.vt)(),O=(0,n.vt)();function L(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function k(e,t){if(e===t)return!0;const i=e[0],n=e[1],s=e[2],o=t[0],l=t[1],a=t[2],u=(0,r.FD)();return Math.abs(i-o)<=u*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(n-l)<=u*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(s-a)<=u*Math.max(1,Math.abs(s),Math.abs(a))}function E(e,t,i){const n=i[0]-t[0],r=i[1]-t[1],s=i[2]-t[2];let o=n*n+r*r+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=n*o,e[1]=r*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const Z=u,N=c,G=h,j=b,q=M,U=s,$=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:a,angle:T,bezier:function(e,t,i,n,r,s){const o=1-s,l=o*o,a=s*s,u=l*o,c=3*s*l,h=3*a*o,f=a*s;return e[0]=t[0]*u+i[0]*c+n[0]*h+r[0]*f,e[1]=t[1]*u+i[1]*c+n[1]*h+r[1]*f,e[2]=t[2]*u+i[2]*c+n[2]*h+r[2]*f,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,i=1){return e[0]=Math.min(Math.max(e[0],t),i),e[1]=Math.min(Math.max(e[1],t),i),e[2]=Math.min(Math.max(e[2],t),i),e},copy:o,cross:A,crossAndNormalize:function(e,t,i){const n=t[0],r=t[1],s=t[2],o=i[0],l=i[1],a=i[2],u=r*a-s*l,c=s*o-n*a,h=n*l-r*o,f=Math.sqrt(u*u+c*c+h*h);return e[0]=u/f,e[1]=c/f,e[2]=h/f,e},direction:E,dist:j,distance:b,div:G,divide:h,dot:I,equals:k,exactEquals:L,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,i,n,r,s){const o=s*s,l=o*(2*s-3)+1,a=o*(s-2)+s,u=o*(s-1),c=o*(3-2*s);return e[0]=t[0]*l+i[0]*a+n[0]*u+r[0]*c,e[1]=t[1]*l+i[1]*a+n[1]*u+r[1]*c,e[2]=t[2]*l+i[2]*a+n[2]*u+r[2]*c,e},inverse:w,len:U,length:s,lerp:x,max:y,min:p,mul:N,multiply:c,negate:_,normalize:S,random:function(e,t=1){const i=r.Ov,n=2*i()*Math.PI,s=2*i()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(n)*o,e[1]=Math.sin(n)*o,e[2]=s*t,e},rotateX:function(e,t,i,n){const r=[],s=[];return r[0]=t[0]-i[0],r[1]=t[1]-i[1],r[2]=t[2]-i[2],s[0]=r[0],s[1]=r[1]*Math.cos(n)-r[2]*Math.sin(n),s[2]=r[1]*Math.sin(n)+r[2]*Math.cos(n),e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},rotateY:function(e,t,i,n){const r=[],s=[];return r[0]=t[0]-i[0],r[1]=t[1]-i[1],r[2]=t[2]-i[2],s[0]=r[2]*Math.sin(n)+r[0]*Math.cos(n),s[1]=r[1],s[2]=r[2]*Math.cos(n)-r[0]*Math.sin(n),e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},rotateZ:function(e,t,i,n){const r=[],s=[];return r[0]=t[0]-i[0],r[1]=t[1]-i[1],r[2]=t[2]-i[2],s[0]=r[0]*Math.cos(n)-r[1]*Math.sin(n),s[1]=r[0]*Math.sin(n)+r[1]*Math.cos(n),s[2]=r[2],e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:m,set:l,sign:d,sqrDist:q,sqrLen:$,squaredDistance:M,squaredLength:v,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:Z,subtract:u,transformMat3:F,transformMat4:C,transformMat4Z:function(e,t){return t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]},transformQuat:z,transformQuatValues:R},Symbol.toStringTag,{value:"Module"})),i.d(t,["Il",0,U,"jb",0,Z,"lo",0,q,"uE",0,$,"xg",0,j])},90629(e,t,i){i.d(t,{Lz:()=>r,PN:()=>s,cr:()=>o,gs:()=>a,r_:()=>u,tc:()=>l}),i(39829);const n=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(e){return e?e/72*96:0}function s(e){return e?72*e/96:0}function o(e){if("string"==typeof e){const t=e.match(n);if(t){const i=Number(t[1]),n=t[3]&&t[3].toLowerCase(),r=e.startsWith("-"),o="px"===n?s(i):i;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function l(e=0,t=0){return{x:e,y:t}}function a(e=0,t=0){return[e,t]}function u(e=0,t=0,i=0){return[e,t,i]}},159(e,t,i){i.d(t,{A:()=>u});var n,r=i(5482),s=i(69540),o=i(25482),l=i(91429),a=i(99157);let u=n=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const i=this.steps[t];e.steps.push(i.getInverse())}return e}};(0,r.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=n=(0,r.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,i){i.d(t,{A:()=>a});var n,r=i(5482),s=i(69540),o=i(25482),l=i(91429);let a=n=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,r.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,i)=>{t[i]=!e}}})],a.prototype,"isInverse",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=n=(0,r.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,i){i.r(t),i.d(t,{projectBuffer:()=>r});var n=i(49208);function r(e,t,i,r,s,o,l=Math.floor(e.length/3)){const a=(0,n.jd)(t,s);if(null==a)return!1;if(a===n.pO){if(e===r&&i===o)return!0;const t=i+3*l;for(let n=i,s=o;n<t;n++,s++)r[s]=e[n]??0;return!0}const u=i+3*l;for(let t=i,n=o;t<u;t+=3,n+=3)a(e,t,r,n);return!0}},49208(e,t,i){i.d(t,{Tp:()=>h,jd:()=>c,pO:()=>d});var n=i(34727),r=i(86211),s=i(73941),o=i(79258),l=i(34403),a=i(21325);const u={2:{5:d,7:null,9:null,10:d,1:_,6:null,8:null,0:null,3:y,11:g,2:d,4:x},5:{5:d,7:null,9:null,10:d,1:_,6:null,8:null,0:null,3:y,11:g,2:d,4:x},7:{5:null,7:d,9:null,10:d,1:null,6:v,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:M,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(e,t,i,n){const r=e[t]/P,s=T-2*Math.atan(Math.exp(-e[t+1]/P)),o=P+(e[t+2]??0),l=Math.cos(s)*o;i[n]=Math.cos(r)*l,i[n+1]=Math.sin(r)*l,i[n+2]=Math.sin(s)*o},6:null,8:null,0:null,3:d,11:function(e,t,i,n){p(e,t,i,n),g(i,n,i,n)},2:p,4:function(e,t,i,n){p(e,t,i,n),x(i,n,i,n)}},4:{5:C,7:null,9:null,10:C,1:function(e,t,i,n){C(e,t,i,n),_(i,n,i,n)},6:null,8:null,0:null,3:function(e,t,i,n){C(e,t,i,n),y(i,n,i,n)},11:function(e,t,i,n){C(e,t,i,n),g(i,n,i,n)},2:C,4:d},1:{5:A,7:null,9:null,10:A,1:d,6:null,8:null,0:null,3:function(e,t,i,n){A(e,t,i,n),y(i,n,i,n)},11:function(e,t,i,n){A(e,t,i,n),g(i,n,i,n)},2:A,4:function(e,t,i,n){A(e,t,i,n),x(i,n,i,n)}},6:{5:null,7:I,9:null,10:I,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:S,10:S,1:null,6:null,8:d,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:_,6:v,8:M,0:null,3:y,11:g,2:d,4:x},11:{5:m,7:null,9:null,10:m,1:function(e,t,i,n){m(e,t,i,n),_(i,n,i,n)},6:null,8:null,0:null,3:function(e,t,i,n){m(e,t,i,n),y(i,n,i,n)},11:d,2:m,4:function(e,t,i,n){m(e,t,i,n),x(i,n,i,n)}}};function c(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(F.source.spatialReference===e&&F.dest.spatialReference===t)return F;const i=f(e,F.source),n=f(t,F.dest);return 0===i&&0===n?(0,a.aI)(e,t)?F.projector=d:F.projector=null:F.projector=u[i][n],F}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,r.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function d(e,t,i,n){e!==i&&(i[n++]=e[t++],i[n++]=e[t++],i[n]=e[t]??0)}function p(e,t,i,n){i[n]=R*(e[t]/P),i[n+1]=R*(T-2*Math.atan(Math.exp(-e[t+1]/P))),i[n+2]=e[t+2]??0}function y(e,t,i,r){!function(e,t,i,r,s){const o=.4999999*Math.PI,l=(0,n.qE)(z*e[t+1],-o,o),a=Math.sin(l);i[r++]=z*e[t]*s.radius,i[r++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),i[r]=e[t+2]??0}(e,t,i,r,o.$O)}function g(e,t,i,n){i[n]=e[t]*O,i[n+1]=e[t+1]*O,i[n+2]=e[t+2]??0}function m(e,t,i,n){i[n]=e[t]*L,i[n+1]=e[t+1]*L,i[n+2]=e[t+2]??0}function b(e,t,i,n,r){const s=r+(e[t+2]??0),o=z*e[t],l=z*e[t+1],a=Math.cos(l)*s;i[n]=Math.cos(o)*a,i[n+1]=Math.sin(o)*a,i[n+2]=Math.sin(l)*s}function M(e,t,i,n){b(e,t,i,n,o.Sw.radius)}function v(e,t,i,n){b(e,t,i,n,o.sH.radius)}function _(e,t,i,n){b(e,t,i,n,o.$O.radius)}function w(e,t,i,r,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),c=(0,n.YN)(a/(0===u?1:u)),h=Math.atan2(l,o);i[r++]=R*h,i[r++]=R*c,i[r]=u-s}function S(e,t,i,n){w(e,t,i,n,o.Sw.radius)}function I(e,t,i,n){w(e,t,i,n,o.sH.radius)}function A(e,t,i,n){w(e,t,i,n,o.$O.radius)}function x(e,t,i,n){!function(e,t,i,n,r){const s=z*e[t],o=z*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),c=r.radius/Math.sqrt(1-r.eccentricitySquared*a*a);i[n++]=(c+l)*u*Math.cos(s),i[n++]=(c+l)*u*Math.sin(s),i[n++]=(c*(1-r.eccentricitySquared)+l)*a}(e,t,i,n,o.$O)}function C(e,t,i,n){const r=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,h,f,d,p,y,g,m,b,M,v,_,w,S,I,A,x,C,F,z,T;c=Math.abs(u),h=s*s+a*a,f=Math.sqrt(h),d=h+u*u,p=Math.sqrt(d),z=Math.atan2(a,s),y=u*u/d,g=h/d,S=r.a2/p,I=r.a3-r.a4/p,g>.3?(m=c/p*(1+g*(r.a1+S+y*I)/p),F=Math.asin(m),M=m*m,b=Math.sqrt(1-M)):(b=f/p*(1-y*(r.a5-S-g*I)/p),F=Math.acos(b),M=1-b*b,m=Math.sqrt(M)),v=1-o.$O.eccentricitySquared*M,_=o.$O.radius/Math.sqrt(v),w=r.a6*_,S=f-_*b,I=c-w*m,x=b*S+m*I,A=b*I-m*S,C=A/(w/v+x),F+=C,T=x+A*C/2,u<0&&(F=-F),i[n++]=R*z,i[n++]=R*F,i[n]=T}const F={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},z=(0,n.kU)(1),R=(0,n.KJ)(1),T=.5*Math.PI,P=o.$O.radius,O=P*Math.PI/180,L=180/(P*Math.PI);i.d(t,["w5",0,u])},91218(e,t,i){i.r(t),i.d(t,{canProjectWithoutEngine:()=>H,initializeProjection:()=>V,isEqualBaseGCS:()=>D,isLoaded:()=>P,isLoadedOrLoad:()=>O,isLoadedOrLoadFor:()=>L,load:()=>E,project:()=>Z,projectAsync:()=>B,projectExtent:()=>re,projectMany:()=>N,projectMultipoint:()=>Q,projectOrLoad:()=>j,projectOrLoadMany:()=>q,projectPoint:()=>K,projectPolygon:()=>ie,projectPolyline:()=>ee,projectWithoutEngine:()=>W,requiresLoad:()=>k,test:()=>J,tryProject:()=>G,unload:()=>$});var n=i(49186),r=i(17676),s=i(62788),o=i(95488),l=i(51850),a=i(21276),u=i(73941),c=i(5443),h=i(91075),f=i(48526),d=i(86738),p=i(39829),y=i(82799),g=i(16930),m=i(98764),b=i(159),M=i(9762),v=i(49208);function _(e,t,i,n,r,s){return w[0]=e,w[1]=t,w[2]=i,(0,M.projectBuffer)(w,n,0,r,s,0)}const w=(0,l.vt)();var S=i(60408),I=i(21325),A=i(52006);let x=null,C=null,F=null,z=null,R={};const T=new o.I;function P(){return!!(C?.isLoaded()&&F?.isLoaded()&&z?.isLoaded())}function O(){return!!P()||((0,s.gc)(T),E(),!1)}function L(e,t){return!e||!t||H(e,t)||O()}function k(e,t){return!H(e,t)&&!P()}async function E(e){null==x&&(x=Promise.all([i.e(3276).then(i.bind(i,83276)).then(e=>(C=e,C.load())),i.e(8377).then(i.bind(i,8377)).then(e=>(F=e,F.load())),i.e(2158).then(i.bind(i,12158)).then(e=>(z=e,z.load()))])),await x,(0,r.Te)(e),T.notify()}function Z(e,t,i){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),N(e,e[0].spatialReference,t,i)):((0,a.f)(e),N([e],e.spatialReference,t,i)[0])}function N(e,t,i,n){if(null==t||null==i)return e;if(H(t,i,n))return e.map(e=>W(e,t,i));if(null==n?.geographicTransformation&&(0,u.jA)(t))return N(e.map(e=>W(e,t,g.A.WGS84)),g.A.WGS84,i,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(i))return N(e,t,g.A.WGS84).map(e=>W(e,g.A.WGS84,i));if(!P())throw new U;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:z.getTransformation(t,i,n.areaOfInterestExtent)||new b.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,i);let r=R[e];r||(r=z.getTransformation(t,i)||new b.A,R[e]=r),n={geographicTransformation:r,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof h.A?C.executeMany(e,i,n):F.executeMany(e,i,n)}function G(e,t,i){try{return Z(e,t,i)}catch(e){return null}}function j(e,t){const i=q([e],t);return null!=i.pending?{pending:i.pending,geometry:null}:null!=i.geometries?{pending:null,geometry:i.geometries[0]}:{pending:null,geometry:null}}function q(e,t,i){if(!P())for(const i of e)if(null!=i&&!(0,I.aI)(i.spatialReference,t)&&(0,I.fn)(i.spatialReference)&&(0,I.fn)(t)&&!H(i.spatialReference,t))return(0,s.gc)(T),{pending:E(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,I.aI)(e.spatialReference,t)?e:(0,I.fn)(e.spatialReference)&&(0,I.fn)(t)?Z(e,t,i):null)}}class U extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function $(){x=null,C=null,F=null,z=null,R={}}const J={get loadPromise(){return x}};async function B(e,t,i){if((0,r.Te)(i),!e)return e;const n=q(Array.isArray(e)?e:[e],t,i);if(n.pending)return await n.pending,(0,r.Te)(i),B(e,t,i);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function H(e,t,i){return!(i?.areaOfInterestExtent||i?.extendedParams||i?.geographicTransformation)&&(!!(0,I.aI)(e,t)||(0,I.fn)(e)&&(0,I.fn)(t)&&!!(0,v.jd)(e,t))}function D(e,t){if((0,I.aI)(e,t))return!0;if(!(0,I.fn)(e)||!(0,I.fn)(t))return!1;const i=(0,I.oT)(e)||(0,I.K8)(e)||(0,I.x1)(e),n=(0,I.oT)(t)||(0,I.K8)(t)||(0,I.x1)(t);return i&&n}async function V(e,t,i,n){if(P())return(0,r.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:i,options:r}of e)if(t&&i&&!H(t,i,r))return E(n)}else if(e&&t&&!H(e,t,i))return E(n);return(0,r.NO)(n)}function W(e,t,i){return e?(0,S.fT)(e)?Y(e,t,new d.A,i,0):(0,S.ZC)(e)?se(e,t,new c.A,i,0):(0,S.Bi)(e)?ne(e,t,new p.A,i,0):(0,S.Rg)(e)?te(e,t,new y.A,i,0):(0,S.U9)(e)?X(e,t,new f.A,i,0):null:null}function K(e,t,i=t.spatialReference,n=0){return null!=i&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,i,n)}function Y(e,t,i,n,r){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:r,(0,M.projectBuffer)(ue,t,0,ue,n,0)?(i.x=ue[0],i.y=ue[1],i.spatialReference=n,void 0!==s||(0,u.xP)(n)?(i.z=ue[2],i.hasZ=!0):(i.z=void 0,i.hasZ=!1),void 0===e.m?(i.m=void 0,i.hasM=!1):(i.m=e.m,i.hasM=!0),i):null}function Q(e,t,i=t.spatialReference,n=0){return null!=e.spatialReference&&null!=i&&null!=X(e,e.spatialReference,t,i,n)}function X(e,t,i,n,r){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:r);if(!(0,M.projectBuffer)(c,t,0,c,n,0,u))return null;const h=ae(o,n);for(let e=0;e<u;++e){const t=3*e,i=c[t],n=c[t+1];h&&l?a.push([i,n,c[t+2],s[e][3]]):h?a.push([i,n,c[t+2]]):l?a.push([i,n,s[e][2]]):a.push([i,n])}return i.points=a,i.spatialReference=n,i.hasZ=o,i.hasM=l,i}function ee(e,t,i=t.spatialReference,n=0){return null!=e.spatialReference&&null!=i&&null!=te(e,e.spatialReference,t,i,n)}function te(e,t,i,n,r){const{curvePaths:s,paths:o,hasZ:l,hasM:a}=e;if(!(s?le(s,l??!1,a??!1,t,i.curvePaths=[],n,r):oe(o,l??!1,a??!1,t,i.paths,n,r)))return null;const u=ae(l,n);return i.spatialReference=n,i.hasZ=u,i.hasM=a,i}function ie(e,t,i=t.spatialReference,n=0){return null!=e.spatialReference&&null!=i&&null!=ne(e,e.spatialReference,t,i,n)}function ne(e,t,i,n,r){const{curveRings:s,rings:o,hasZ:l,hasM:a}=e;return(s?le(s,l??!1,a??!1,t,i.curveRings=[],n,r):oe(o,l??!1,a??!1,t,i.rings,n,r))?(i.spatialReference=n,i.hasZ=ae(l,n),i.hasM=a,i):null}function re(e,t,i=t.spatialReference,n=0){return null!=e.spatialReference&&null!=i&&null!=se(e,e.spatialReference,t,i,n)}function se(e,t,i,n,r){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!_(s,o,u?e.zmin:r,t,ue,n))return null;const h=ae(u,n);return i.xmin=ue[0],i.ymin=ue[1],h&&(i.zmin=ue[2]),_(l,a,u?e.zmax:r,t,ue,n)?(i.xmax=ue[0],i.ymax=ue[1],h&&(i.zmax=ue[2]),c&&(i.mmin=e.mmin,i.mmax=e.mmax),i.spatialReference=n,i):null}function oe(e,t,i,n,r,s,o=0){const l=new Array;for(const i of e)for(const e of i)l.push(e[0],e[1],t?e[2]:o);if(!(0,M.projectBuffer)(l,n,0,l,s,0))return!1;let a=0;r.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const n of t){const t=l.slice(a,a+=3);c||t.pop(),i&&t.push(n[u]),e.push(t)}r.push(e)}return!0}function le(e,t,i,n,r,s,o=0){const l=new Array;for(const i of e)for(const e of i){if((0,A.FG)(e))return!1;if((0,A.aO)(e)){const[i,n]=e.c;l.push(i[0],i[1],t?i[2]:o,n[0],n[1],o);continue}if((0,A.n1)(e)){const[i,n,r]=e.b;l.push(i[0],i[1],t?i[2]:o,n[0],n[1],o,r[0],r[1],o);continue}const i=e;l.push(i[0],i[1],t?i[2]:o)}if(!(0,M.projectBuffer)(l,n,0,l,s,0))return!1;let a=0;r.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const n of t){const t=l.slice(a,a+=3);if(c||t.pop(),i&&t.push((0,A.yP)(n)[u]),(0,A.FG)(n))return!1;if((0,A.aO)(n)){const i=l[a++],n=l[a++];++a,e.push({c:[t,[i,n]]});continue}if((0,A.n1)(n)){const i=l[a++],n=l[a++];++a;const r=l[a++],s=l[a++];++a,e.push({b:[t,[i,n],[r,s]]});continue}e.push(t)}r.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,I.aI)(t,m.Y0)}const ue=(0,l.vt)()},98764(e,t,i){i.d(t,{lO:()=>c});var n=i(73941),r=i(16930),s=i(21325);const o=new r.A(n.fv),l=new r.A(n.FY),a=new r.A(n.LJ),u=new r.A(n.Ro);function c(e){const t=h.get(e);if(t)return t;let i=o;if(e)if(e===l)i=l;else if(e===a)i=a;else{const t=e.wkid,n=e.latestWkid;if(null!=t||null!=n)(0,s.tl)(t)||(0,s.tl)(n)?i=l:((0,s.ZL)(t)||(0,s.ZL)(n))&&(i=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?i=l:e===d&&(i=a)}}}return h.set(e,i),i}const h=new Map,f=l.wkt.toUpperCase(),d=a.wkt.toUpperCase();i.d(t,["GD",0,o,"Y0",0,u])},4197(e,t,i){i.d(t,{Vj:()=>c,cj:()=>u,jh:()=>s,l5:()=>l,yH:()=>a});var n=i(34275),r=i(9093);function s(e){return e<=1024?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=1024?Array.from(e):new Float64Array(e)}function l(e,t,i){return Array.isArray(e)?e.slice(t,t+i):e.subarray(t,t+i)}function a(e,t){if(0===t.length)return o(e);if(0===e.length)return o(t);const i=s(e.length+t.length);for(let t=0;t<e.length;++t)i[t]=e[t];for(let n=0;n<t.length;++n)i[e.length+n]=t[n];return i}function u(e){return[...e]}function c(e){const t=(0,r.vt)();for(let i=0;i<16;++i)t[i]=e[i];return t}},70328(e,t,i){i.d(t,{BI:()=>C,C:()=>o,DC:()=>f,Ej:()=>M,Ie:()=>A,Jt:()=>x,Lu:()=>_,Ne:()=>w,RF:()=>h,TF:()=>m,VL:()=>p,aI:()=>z,fA:()=>l,gE:()=>u,gX:()=>b,hZ:()=>I,iT:()=>d,is:()=>F,pg:()=>v,uJ:()=>g,vI:()=>S,vY:()=>a,vt:()=>s,w1:()=>c,yr:()=>y}),i(35522);var n=i(5443),r=(i(19419),i(4197));function s(e=T){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t){for(let i=0;i<6;i++)e[i]=t[i];return e}function l(e,t,i,n,r,o,l=s()){return l[0]=e,l[1]=t,l[2]=i,l[3]=n,l[4]=r,l[5]=o,l}function a(e,t=s()){return function(e,t,i,n=s()){return I(n,R),function(e,t,i=0,n=t.length/3){let r=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<n;e++)r=Math.min(r,t[i+3*e]),s=Math.min(s,t[i+3*e+1]),o=Math.min(o,t[i+3*e+2]),l=Math.max(l,t[i+3*e]),a=Math.max(a,t[i+3*e+1]),u=Math.max(u,t[i+3*e+2]);e[0]=r,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(n,e,t,i),n}(e,0,e.length/3,t)}function u(e,t=(0,r.jh)(24)){const[i,n,s,o,l,a]=e;return t[0]=i,t[1]=n,t[2]=s,t[3]=i,t[4]=n,t[5]=a,t[6]=i,t[7]=l,t[8]=s,t[9]=i,t[10]=l,t[11]=a,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function c(e,t){const i=isFinite(e[2])||isFinite(e[5]);return new n.A(i?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function h(e,t,i=e){i[0]=Math.min(e[0],t[0]),i[1]=Math.min(e[1],t[1]),i[2]=Math.min(e[2],t[2]),i[3]=Math.max(e[3],t[3]),i[4]=Math.max(e[4],t[4]),i[5]=Math.max(e[5],t[5])}function f(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,[t,i,n]){!function(e,t,i,n){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],i),e[2]=Math.min(e[2],n),e[3]=Math.max(e[3],t),e[4]=Math.max(e[4],i),e[5]=Math.max(e[5],n)}(e,t,i,n)}function p(e){return e[0]>=e[3]?0:e[3]-e[0]}function y(e){return e[1]>=e[4]?0:e[4]-e[1]}function g(e){return e[2]>=e[5]?0:e[5]-e[2]}function m(e){const t=p(e),i=g(e),n=y(e);return t*t+i*i+n*n}function b(e,t=[0,0,0]){return t[0]=e[0]+p(e)/2,t[1]=e[1]+y(e)/2,t[2]=e[2]+g(e)/2,t}function M(e,t=[0,0,0]){return t[0]=p(e),t[1]=y(e),t[2]=g(e),t}function v(e,t){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function _(e,t){return t[0]=e[3],t[1]=e[4],t[2]=e[5],t}function w(e,t,i=e){return i[0]=t[0],i[1]=t[1],i[2]=t[2],i!==e&&(i[3]=e[3],i[4]=e[4],i[5]=e[5]),i}function S(e,t,i=e){return i[3]=t[0],i[4]=t[1],i[5]=t[2],i!==e&&(i[0]=e[0],i[1]=e[1],i[2]=e[2]),e}function I(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function A(e){return e?I(e,R):s(R)}function x(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function C(e,t,i,n,r){return e[0]=t,e[1]=i,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=r,e[5]=Number.POSITIVE_INFINITY,e}function F(e){return 6===e.length}function z(e,t,i){if(null==e||null==t)return e===t;if(!F(e)||!F(t))return!1;if(i){for(let n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1}else for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}const R=[1/0,1/0,1/0,-1/0,-1/0,-1/0],T=[0,0,0,0,0,0];s(),i.d(t,["qv",0,R,"v_",0,T])},34403(e,t,i){var n=i(79258);Math.PI;const r=n.$O.radius,s=n.$O.eccentricitySquared,o={a1:r*s,a2:r*s*r*s,a3:r*s*s/2,a4:r*s*r*s*2.5,a5:r*s+r*s*s/2,a6:1-s};n.$O.radius,n.$O.flattening,n.Sw.radius,n.Sw.flattening,n.sH.radius,n.sH.flattening,n.sH.radius,i.d(t,["TP",0,o])},60408(e,t,i){function n(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function r(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function l(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":l(e)?"esriGeometryPolygon":n(e)?"esriGeometryEnvelope":r(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>c,Rg:()=>o,U9:()=>r,W0:()=>h,ZC:()=>n,fT:()=>s,uW:()=>a})},65864(e,t,i){i.d(t,{rS:()=>c,xD:()=>f});var n=i(5443),r=i(91075),s=i(48526),o=i(86738),l=i(39829),a=i(82799),u=i(60408);function c(e){return null==e?null:e instanceof r.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?a.A.fromJSON(e):(0,u.Bi)(e)?l.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?n.A.fromJSON(e):null}const h={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:n.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:l.A};function f(e){return e&&h[e]||null}},50498(e,t,i){var n=i(66552),r=i(5443),s=i(91075),o=i(48526),l=i(86738),a=i(39829),u=i(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),f={base:s.A,key:"type",typeMap:{extent:r.A,multipoint:o.A,point:l.A,polyline:u.A,polygon:a.A}},d=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});i.d(t,["Ye",0,h,"gy",0,c,"iI",0,d,"yR",0,f])},99959(e,t,i){i.d(t,{A:()=>s});var n=i(5482),r=i(91429);let s=class{};s=(0,n.Cg)([(0,r.$K)("esri.graphic.GraphicOrigin")],s)},55156(e,t,i){i.d(t,{I:()=>r});const n=Symbol("idFieldsProviderSymbol");function r(e){return(t=e)&&n in t?e[n]:void 0;var t}i.d(t,["e",0,n])},89808(e,t,i){const n=Symbol("getSliceableSymbol");i.d(t,["Q",0,n])},162(e,t,i){i.r(t),i.d(t,{default:()=>V});var n=i(5482),r=i(7762),s=i(38961),o=i(25728),l=i(17676),a=i(36708),u=i(84952),c=i(91429),h=i(5443),f=i(16930),d=i(4146),p=i(63074),y=i(34287),g=i(8303),m=i(54310),b=i(25036),M=i(10873),v=i(65529),_=i(25482),w=i(92474),S=i(799),I=i(56507),A=i(89808),x=i(99959);const C=Symbol("isKMLGraphicOrigin");var F;class z extends x.A{get[(F=C,A.Q)](){return this.layer}constructor(e,t){super(),this[F]=!0,this.type="kml",this.layer=e,this.sublayer=t}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var R=i(92602),T=i(70333),P=(i(37838),i(11254)),O=i(4718),L=i(70328),k=i(537);i(65494),i(22671);const E={esriGeometryPoint:"points",esriGeometryPolyline:"polylines",esriGeometryPolygon:"polygons"};function Z(e){const t=e.folders||[],i=t.slice(),n=new Map,r=new Map,s=new Map,o=new Map,l=new Map,a={esriGeometryPoint:r,esriGeometryPolyline:s,esriGeometryPolygon:o};(e.featureCollection?.layers||[]).forEach(e=>{const t=(0,O.o8)(e);t.featureSet.features=[];const i=e.featureSet.geometryType;n.set(i,t);const l=e.layerDefinition.objectIdField;"esriGeometryPoint"===i?j(r,l,e.featureSet.features):"esriGeometryPolyline"===i?j(s,l,e.featureSet.features):"esriGeometryPolygon"===i&&j(o,l,e.featureSet.features)}),e.groundOverlays&&e.groundOverlays.forEach(e=>{l.set(e.id,e)}),t.forEach(t=>{t.networkLinkIds.forEach(n=>{const r=function(e,t,i){const n=function(e,t){let i;return t.some(t=>t.id===e&&(i=t,!0)),i}(e,i);return n&&(n.parentFolderId=t,n.networkLink=n),n}(n,t.id,e.networkLinks);r&&i.push(r)})}),i.forEach(e=>{if(e.featureInfos){e.points=(0,O.o8)(n.get("esriGeometryPoint")),e.polylines=(0,O.o8)(n.get("esriGeometryPolyline")),e.polygons=(0,O.o8)(n.get("esriGeometryPolygon")),e.mapImages=[];for(const t of e.featureInfos)switch(t.type){case"esriGeometryPoint":case"esriGeometryPolyline":case"esriGeometryPolygon":{const i=a[t.type].get(t.id);i&&e[E[t.type]]?.featureSet.features.push(i);break}case"GroundOverlay":{const i=l.get(t.id);i&&e.mapImages.push(i);break}}e.fullExtent=q([e])}});const u=q(i);return{folders:t,sublayers:i,extent:u}}function N(e,t,i,n){const r=T.id?.findCredential(e);e=(0,u.a6)(e,{token:r?.token});const s=R.A.kmlServiceUrl;return(0,P.A)(s,{query:{url:e,model:"simple",folders:"",refresh:0!==i||void 0,outSR:JSON.stringify(t)},responseType:"json",signal:n})}function G(e,t,i=null,n=[]){const r=[],s={},o=t.sublayers,l=new Set(t.folders.map(e=>e.id));return o.forEach(t=>{const o=new e;if(i?o.read(t,i):o.read(t),n.length&&l.has(o.id)&&(o.visible=n.includes(o.id)),s[t.id]=o,null!=t.parentFolderId&&-1!==t.parentFolderId){const e=s[t.parentFolderId];e.sublayers||(e.sublayers=[]),e.sublayers?.unshift(o)}else r.unshift(o)}),r}function j(e,t,i){i.forEach(i=>{e.set(i.attributes[t],i)})}function q(e){const t=(0,L.vt)(L.qv),i=(0,L.vt)(L.qv);for(const n of e){if(n.polygons?.featureSet?.features)for(const e of n.polygons.featureSet.features)(0,k.LJ)(t,e.geometry),(0,L.RF)(i,t);if(n.polylines?.featureSet?.features)for(const e of n.polylines.featureSet.features)(0,k.LJ)(t,e.geometry),(0,L.RF)(i,t);if(n.points?.featureSet?.features)for(const e of n.points.featureSet.features)(0,k.LJ)(t,e.geometry),(0,L.RF)(i,t);if(n.mapImages)for(const e of n.mapImages)(0,k.LJ)(t,e.extent),(0,L.RF)(i,t)}return(0,L.aI)(i,L.qv)?void 0:{xmin:i[0],ymin:i[1],zmin:i[2],xmax:i[3],ymax:i[4],zmax:i[5],spatialReference:f.A.WGS84}}var U,$=i(36005);let J=U=class extends((0,v.Zt)((0,_.T)(w.x_))){constructor(...e){super(...e),this.description=null,this.fullExtent=null,this.id=null,this.networkLink=null,this.parent=null,this.sublayers=null,this.title=null,this.sourceJSON=null,this.layer=null,this.addHandles([(0,a.on)(()=>this.sublayers,"after-add",({item:e})=>{e.parent=this,e.layer=this.layer},a.OH),(0,a.on)(()=>this.sublayers,"after-remove",({item:e})=>{e.layer=e.parent=null},a.OH),(0,a.wB)(()=>this.sublayers,(e,t)=>{if(t)for(const e of t)e.layer=e.parent=null;if(e)for(const t of e)t.parent=this,t.layer=this.layer},a.OH),(0,a.wB)(()=>this.layer,e=>{if(this.sublayers)for(const t of this.sublayers)t.layer=e},a.OH)])}initialize(){(0,a.C_)(()=>this.networkLink).then(()=>(0,a.C_)(()=>!0===this.visible)).then(()=>this.load())}async load(e){if(!this.networkLink)return this;if(this.networkLink.viewFormat)return this;const t=null!=e?e.signal:null,i=this._fetchService(this._get("networkLink")?.href??"",t).then(e=>{const t=q(e.sublayers);this.fullExtent=h.A.fromJSON(t),this.sourceJSON=e;const i=(0,I.dp)(r.A.ofType(U),G(U,e));this.sublayers?this.sublayers.addMany(i):this.sublayers=i,this.layer?.emit("sublayer-update"),this.layer&&this.layer.notifyChange("visibleSublayers")});return this.addResolvingPromise(i),this}get visible(){return this._get("visible")}set visible(e){this._get("visible")!==e&&(this._set("visible",e),this.layer&&this.layer.notifyChange("visibleSublayers"))}readVisible(e,t){return!!t.visibility}get origin(){return this.layer?new z(this.layer,this):null}_fetchService(e,t){return N(e,this.layer.outSpatialReference,this.layer.refreshInterval,t).then(e=>Z(e.data))}};(0,n.Cg)([(0,c.MZ)()],J.prototype,"description",void 0),(0,n.Cg)([(0,c.MZ)({type:h.A})],J.prototype,"fullExtent",void 0),(0,n.Cg)([(0,c.MZ)()],J.prototype,"id",void 0),(0,n.Cg)([(0,c.MZ)({readOnly:!0,value:null})],J.prototype,"networkLink",void 0),(0,n.Cg)([(0,c.MZ)({json:{write:{allowNull:!0}}})],J.prototype,"parent",void 0),(0,n.Cg)([(0,c.MZ)({type:r.A.ofType(U),json:{write:{allowNull:!0}}})],J.prototype,"sublayers",void 0),(0,n.Cg)([(0,c.MZ)({value:null,json:{read:{source:"name",reader:e=>(0,S._e)(e)}}})],J.prototype,"title",void 0),(0,n.Cg)([(0,c.MZ)({value:!0})],J.prototype,"visible",null),(0,n.Cg)([(0,$.w)("visible",["visibility"])],J.prototype,"readVisible",null),(0,n.Cg)([(0,c.MZ)()],J.prototype,"sourceJSON",void 0),(0,n.Cg)([(0,c.MZ)()],J.prototype,"layer",void 0),(0,n.Cg)([(0,c.MZ)()],J.prototype,"origin",null),J=U=(0,n.Cg)([(0,c.$K)("esri.layers.support.KMLSublayer")],J);var B=i(43937);const H=["kml","xml"];let D=class extends((0,p.dM)((0,m.J)((0,b.j)((0,y.q)((0,g.A)((0,o.M)(d.A))))))){constructor(...e){super(...e),this._visibleFolders=[],this.allSublayers=new s.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>e.sublayers}),this.outSpatialReference=f.A.WGS84,this.path=null,this.legendEnabled=!1,this.operationalLayerType="KML",this.sublayers=null,this.type="kml",this.url=null}initialize(){this.addHandles([(0,a.wB)(()=>this.sublayers,(e,t)=>{t&&t.forEach(e=>{e.parent=null,e.layer=null}),e&&e.forEach(e=>{e.parent=this,e.layer=this})},a.OH),this.on("sublayer-update",()=>this.notifyChange("fullExtent"))])}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}get sublayerById(){const e=new Map;for(const t of this.allSublayers)e.set(t.id,t);return e}readSublayersFromItemOrWebMap(e,t){this._visibleFolders=t.visibleFolders}readSublayers(e,t,i){return G(J,t,i,this._visibleFolders)}writeSublayers(e,t){const i=[],n=e.toArray();for(;n.length;){const e=n[0];e.networkLink||(e.visible&&i.push(e.id),e.sublayers&&n.push(...e.sublayers.toArray())),n.shift()}t.visibleFolders=i}get title(){const e=this._get("title");return e&&"defaults"!==this.originOf("title")?e:this.url?(0,u.e7)(this.url,H)||"KML":e}set title(e){this._set("title",e)}get visibleSublayers(){const e=this.sublayers,t=[],i=e=>{e.visible&&(t.push(e),e.sublayers&&e.sublayers.forEach(i))};return e?.forEach(i),t}get fullExtent(){return this._recomputeFullExtent()}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["KML"],supportsData:!1},e).catch(l.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}destroy(){super.destroy(),this.allSublayers.destroy()}async _fetchService(e){const t=Z((await Promise.resolve().then(()=>this.resourceInfo?{ssl:!1,data:this.resourceInfo}:N(this.url??"",this.outSpatialReference,this.refreshInterval,e))).data);t&&this.read(t,{origin:"service"})}_recomputeFullExtent(){let e=null;null!=this.extent&&(e=this.extent.clone());const t=i=>{if(i.sublayers)for(const n of i.sublayers.items)t(n),n.visible&&n.fullExtent&&(null!=e?e.union(n.fullExtent):e=n.fullExtent.clone())};return t(this),e}};(0,n.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"allSublayers",void 0),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"sublayerById",null),(0,n.Cg)([(0,c.MZ)({type:f.A})],D.prototype,"outSpatialReference",void 0),(0,n.Cg)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],D.prototype,"path",void 0),(0,n.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!1,write:!1}})],D.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,c.MZ)({type:["show","hide","hide-children"]})],D.prototype,"listMode",void 0),(0,n.Cg)([(0,c.MZ)({type:["KML"]})],D.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,c.MZ)({})],D.prototype,"resourceInfo",void 0),(0,n.Cg)([(0,c.MZ)({type:r.A.ofType(J),json:{write:{ignoreOrigin:!0}}})],D.prototype,"sublayers",void 0),(0,n.Cg)([(0,$.w)(["web-map","portal-item"],"sublayers",["visibleFolders"])],D.prototype,"readSublayersFromItemOrWebMap",null),(0,n.Cg)([(0,$.w)("service","sublayers",["sublayers"])],D.prototype,"readSublayers",null),(0,n.Cg)([(0,B.K)("sublayers")],D.prototype,"writeSublayers",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!1}})],D.prototype,"type",void 0),(0,n.Cg)([(0,c.MZ)({json:{origins:{"web-map":{read:{source:"title"}}},write:{ignoreOrigin:!0}}})],D.prototype,"title",null),(0,n.Cg)([(0,c.MZ)(M.OZ)],D.prototype,"url",void 0),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],D.prototype,"visibleSublayers",null),(0,n.Cg)([(0,c.MZ)({type:h.A})],D.prototype,"extent",void 0),(0,n.Cg)([(0,c.MZ)()],D.prototype,"fullExtent",null),D=(0,n.Cg)([(0,c.$K)("esri.layers.KMLLayer")],D);const V=D},54339(e,t,i){function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const i=[];for(const n of t.fieldNames)i.push(e.attributes[n]??null);return JSON.stringify(i)}}}function r(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const i=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(i)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}i.d(t,{W:()=>n,r:()=>r})},8303(e,t,i){var n=i(5482),r=i(92602),s=i(70333),o=i(11254),l=i(60999),a=i(49186),u=i(36563),c=i(53966),h=i(97768),f=i(17676),d=i(84952),p=i(91429),y=i(77548),g=i(20655),m=i(80812),b=i(41318),M=i(10407),v=i(36005),_=i(43937);const w={credential:null,user:null};i.d(t,["A",0,e=>{const t=e;let S=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,h.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,i){if(t.itemId)return new m.default({id:t.itemId,portal:i?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await i.e(1204).then(i.bind(i,41204));return(0,f.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,f.zf)(e)||c.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:t}=await i.e(1204).then(i.bind(i,41204)),n=new AbortController,r=(0,u.rE)(n);return this.addHandles(r,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:n.signal})}catch(e){throw(0,f.zf)(e)||c.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,f.QP)(e),!0)))}async setUserPrivileges(e,t){if(!r.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:i,fullEdit:n},content:{updateItem:r}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",i),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",r)}catch(e){(0,f.QP)(e)}}async _fetchUserPrivileges(e,t){let i=this.portalItem;if(!e||!i||!i.loaded||i.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!s.id?.findCredential(this.url),r=e===i.id;if(r&&i.portal.user)return this._getUserPrivileges(i,n);let o,l;if(r)o=i.portal.url;else try{o=await(0,y.wI)(this.url,t)}catch(e){(0,f.QP)(e)}if(!o||!(0,d.b8)(o,i.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(s.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,f.QP)(e)}const a=!0,u=!1,c=!1;if(!l)return{features:{edit:a,fullEdit:u},content:{updateItem:c}};try{if(r?await i.reload():(i=new m.default({id:e,portal:{url:o}}),await i.load(t)),i.portal.user)return this._getUserPrivileges(i,n)}catch(e){(0,f.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const i=(0,M.It)(e);return t&&(i.features.edit=!0),i}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,f.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const i=w.credential===t?w.user:await this._fetchEditingUser(e);return w.credential=t,w.user=i,null==i?.privileges||i.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const i=s.id?.findServerInfo(this.url??"");if(!i?.owningSystemUrl)return null;const n=`${i.owningSystemUrl}/sharing/rest`,r=g.A.getDefault();if(r&&r.loaded&&(0,d.S8)(r.restUrl)===(0,d.S8)(n))return r.user;const a=`${n}/community/self`,u=null!=e?e.signal:null,c=await(0,l.Ke)((0,o.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?b.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const i=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return i&&n&&!(0,d.ut)(n.restUrl,i.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,p.MZ)({type:m.default})],S.prototype,"portalItem",null),(0,n.Cg)([(0,v.w)("web-document","portalItem",["itemId"])],S.prototype,"readPortalItem",null),(0,n.Cg)([(0,_.K)("web-document","portalItem",{itemId:{type:String}})],S.prototype,"writePortalItem",null),(0,n.Cg)([(0,p.MZ)({clonable:!1})],S.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],S.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],S.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],S.prototype,"userHasUpdateItemPrivileges",void 0),S=(0,n.Cg)([(0,p.$K)("esri.layers.mixins.PortalLayer")],S),S}])},95466(e,t,i){i.d(t,{A:()=>u});var n=i(49186),r=i(53966),s=i(12195),o=i(30524),l=i(98623),a=i(56400);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],h(e))}static fromLayerJSON(e){return new u(e.fields??[],h(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const i=[];for(const e of this.fields){const t=e?.name,n=(0,o.GZ)(t);if(t&&n){const r=(0,o.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(n,e),i.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,o.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,o.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,o.te)(e)||(0,o.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}i.sort(),this.uid=i.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,o.te)(e)||(0,o.Xz)(e)||e.nullable||void 0!==(0,o.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,o.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new n.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):c.has(t.type)?l.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,o.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,s.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const c=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function h(e){const t=new Map;if(!e.fields)return t;const i=!0===e.datesInUnknownTimezone,{timeInfo:n,editFieldsInfo:r}=e,s=(n?"startField"in n?n.startField:n.startTimeField:"")??"",u=(n?"endField"in n?n.endField:n.endTimeField:"")??"",h=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,a.ZS)(e.dateFieldsTimeReference):null,f=r?function(e){return"timeZone"in e}(r)?r.timeZone??h:r.dateFieldsTimeReference?(0,a.ZS)(r.dateFieldsTimeReference):h??"UTC":null,d=n?function(e){return"timeZone"in e}(n)?n.timeZone??h:n.timeReference?(0,a.ZS)(n.timeReference):h:null,p=new Map([[(0,o.NF)(r?.creationDateField??""),f],[(0,o.NF)(r?.editDateField??""),f],[(0,o.NF)(s),d],[(0,o.NF)(u),d]]);for(const{name:n,type:r}of e.fields)if(c.has(r))t.set(n,l.L);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(n,null);else if(i)t.set(n,l.L);else{const e=p.get((0,o.NF)(n??""))??h;t.set(n,e)}return t}},5757(e,t,i){i.d(t,{B:()=>r});const n=Symbol("PopupTemplateInstance");function r(e){return null!=e&&"object"==typeof e&&n in e}i.d(t,["P",0,n])},10407(e,t,i){i.d(t,{It:()=>d,LG:()=>o,OM:()=>u,Sm:()=>c,Y:()=>l,bK:()=>a,sQ:()=>h});var n=i(91218),r=i(16930),s=i(28735);function o(e,t){if(!l(e,t)){const i=e.typeKeywords;i?i.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,f.HOSTED_SERVICE)}function u(e,t){const i=e.typeKeywords;if(i){const e=i.indexOf(t);e>-1&&i.splice(e,1)}}function c(e,t,i){i?o(e,t):u(e,t)}async function h(e){const t=e.clone().normalize();let i;if(t.length>1)for(const e of t)i?e.width>i.width&&(i=e):i=e;else i=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const i=r.A.WGS84;return await(0,n.initializeProjection)(t,i),(0,n.project)(e,i)}(i)}const f={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function d(e){const{portal:t,isOrgItem:i,itemControl:n}=e,r=t.user?.privileges;let s=!r||r.includes("features:user:edit"),o=!!i&&!!r?.includes("features:user:fullEdit");const l="update"===n||"admin"===n;return l?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:l}}}i.d(t,["mm",0,f])},96576(e,t,i){i.d(t,{A:()=>h});var n,r=i(5482),s=i(4718),o=i(91429),l=i(92438),a=i(63988),u=i(49849),c=i(93223);let h=n=class extends((0,a.h)(l.A)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.type="simple"}async collectRequiredFields(e,t){await Promise.all([this.collectSymbolFields(e,t),this.collectVVRequiredFields(e,t)])}async collectSymbolFields(e,t){await Promise.all(this.symbols.map(i=>i.collectRequiredFields(e,t)))}getSymbol(e,t){return this.symbol}async getSymbolAsync(e,t){return this.symbol}get symbols(){return this.symbol?[this.symbol]:[]}get arcadeRequired(){return this.arcadeRequiredForVisualVariables}clone(){return new n({description:this.description,label:this.label,symbol:(0,s.o8)(this.symbol),visualVariables:(0,s.o8)(this.visualVariables),authoringInfo:(0,s.o8)(this.authoringInfo)})}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"description",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"label",void 0),(0,r.Cg)([(0,o.MZ)(u.Wp)],h.prototype,"symbol",void 0),(0,r.Cg)([(0,c.e)({simple:"simple"})],h.prototype,"type",void 0),h=n=(0,r.Cg)([(0,o.$K)("esri.renderers.SimpleRenderer")],h)},65494(e,t,i){i.d(t,{L:()=>a,r:()=>o});var n=i(90360),r=i(41214),s=i(59923);function o(e,t){return a(e,null,t)}const l=(0,n.C)({types:r.Hg});function a(e,t,i){return e?e&&(e.styleName||e.styleUrl)&&"uniqueValue"!==e.type?((0,s.Yc)(i,"warning","renderer",`Only UniqueValueRenderer can be referenced from a web style, but found '${e.type}'`,{definition:e}),null):l(e,t,i):null}},98205(e,t,i){i.d(t,{KZ:()=>l,eh:()=>o,gf:()=>s,of:()=>r});const n=Symbol("SizeVariableInstance");function r(e){return null!=e&&"object"==typeof e&&n in e}function s(e){return null!=e&&!isNaN(e)&&isFinite(e)}function o(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function l(e,t){const i=t||o(e),n=e.valueUnit||"unknown";return"unknown"===i?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===n?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}i.d(t,["uY",0,n])},22671(e,t,i){i.d(t,{A:()=>b});var n,r=i(5482),s=i(52106),o=i(66552),l=i(25482),a=i(4718),u=i(91429),c=i(16930),h=i(60408),f=i(65864),d=i(50498),p=i(20437),y=i(36005),g=i(43937);const m=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=n=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,i,n){if(e)return void m.write(e,t,i,n);const{features:r}=this;if(r)for(const e of r)if(null!=e?.geometry)return void m.write(e.geometry.type,t,i,n)}readQueryGeometry(e,t){if(!e)return null;const i=!!e.spatialReference,n=(0,f.rS)(e);return n&&!i&&t.spatialReference&&(n.spatialReference=c.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:i}=this;if(i)for(const e of i)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,a.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(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let i=0;i<t.features.length;i++){const n=t.features[i];if(n.geometry){const t=e?.[i];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,i],translate:[n,r]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((r-e)/i));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:i}=this;if(!i)return this;const{translate:[n,r],scale:[s,o]}=i;let l=null,a=null;if(this.hasZ&&null!=i?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=i;l=i=>i*t+e}if(this.hasM&&null!=i?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=i;a=i=>null==i?i:i*t+e}const u=this._getHydrationFunction(e,e=>e*s+n,e=>r-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,i){const n=c.A.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const s=e[t],o=i.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=n);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],i=a[e],r=i?.spatialReference;null==t||r||(t.spatialReference=n)}r.push(o)}return r}_quantizePoints(e,t,i){let n,r;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=i(l[1]);e===n&&o===r||(s.push([e-n,o-r]),n=e,r=o)}else n=t(l[0]),r=i(l[1]),s.push([n,r])}return s.length>0?s:null}_getQuantizationFunction(e,t,i){return"point"===e?e=>(e.x=t(e.x),e.y=i(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,h.Bi)(e)?e.rings:e.paths,r=[];for(let e=0,s=n.length;e<s;e++){const s=n[e],o=this._quantizePoints(s,t,i);o&&r.push(o)}return r.length>0?((0,h.Bi)(e)?e.rings=r:e.paths=r,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,i);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,i,n,r){return"point"===e?e=>{e.x=t(e.x),e.y=i(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,h.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,n=s.length;e<n;e++){const n=s[e];for(let e=0,r=n.length;e<r;e++){const r=n[e];e>0?(o+=r[0],l+=r[1]):(o=r[0],l=r[1]),r[0]=t(o),r[1]=i(l)}}if(n&&r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=n(i[2]),i[3]=r(i[3])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=n(i[2])}}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=i(e.ymin),e.xmax=t(e.xmax),e.ymax=i(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),r&&null!=e.mmax&&null!=e.mmin&&(e.mmax=r(e.mmax),e.mmin=r(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(o+=n[0],l+=n[1]):(o=n[0],l=n[1]),n[0]=t(o),n[1]=i(l)}if(n&&r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2]),t[3]=r(t[3])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2])}}:null}};(0,r.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,r.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,r.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],b.prototype,"features",void 0),(0,r.Cg)([(0,y.w)("features")],b.prototype,"readFeatures",null),(0,r.Cg)([(0,u.MZ)({type:[p.A],json:{write:!0}})],b.prototype,"fields",void 0),(0,r.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],b.prototype,"geometryType",void 0),(0,r.Cg)([(0,g.K)("geometryType")],b.prototype,"writeGeometryType",null),(0,r.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,r.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,r.Cg)([(0,u.MZ)({types:d.yR,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,r.Cg)([(0,y.w)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,r.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,r.Cg)([(0,g.K)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],b.prototype,"transform",void 0),b=n=(0,r.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0},93470(e,t,i){const n=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:n,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:n};i.d(t,["Cb",0,r,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{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},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,n,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,s])}}]);
|