@arcgis/core 5.2.0-next.75 → 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/{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/{5e1d84e97de0e662aaa9.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/1a467da4c0b33f655199.js +1 -0
- package/assets/esri/core/workers/chunks/1ef28d4457c8c943ad19.js +1 -0
- package/assets/esri/core/workers/chunks/{2b93888e61ca638490cf.js → 20b54e7872d967f3be32.js} +1 -1
- 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/257f1e8316877f611e11.js +1 -0
- package/assets/esri/core/workers/chunks/270ed3070d118edb3f37.js +1 -0
- package/assets/esri/core/workers/chunks/2e7c830b5b1fe406169f.js +1 -0
- 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/{99e3aa4832ed87474ab4.js → 44857a76be2c0ac65bb9.js} +1 -1
- 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/4f8ce5887102971bfa34.js +2 -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/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/65d1e338612e59063eba.js +1 -0
- package/assets/esri/core/workers/chunks/680dd7b7638465eb33de.js +1 -0
- package/assets/esri/core/workers/chunks/6c740c411b085d2d08c4.js +1 -0
- package/assets/esri/core/workers/chunks/{b14961a9f1f40028f141.js → 6c982779d6d47ec99899.js} +1 -1
- package/assets/esri/core/workers/chunks/{0eb35e09765fd74eb698.js → 6e45ecf359bce3417f5d.js} +1 -1
- 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/{6b783f440c4a5d36e879.js → 75fc0b1db8e2e3fd2458.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/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/{67f54586156d1ab80257.js → 8b980c6b92cc4ea68ede.js} +1 -1
- package/assets/esri/core/workers/chunks/{4046bd65d7d0677f4600.js → 8d9a7fa14489897780d3.js} +1 -1
- 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/{5ba3a30b7cbfa9e3aa62.js → 94b9a61b4dbb83425a78.js} +1 -1
- package/assets/esri/core/workers/chunks/98613fded899c59f34a4.js +1 -0
- package/assets/esri/core/workers/chunks/{6743d726e45e7b660505.js → 9c3e6325dc60bcaf44d7.js} +1 -1
- package/assets/esri/core/workers/chunks/9e1392a0c608a13ab036.js +1 -0
- package/assets/esri/core/workers/chunks/{7a24cc0f3b4eff2bdb8e.js → 9e2e4d197a7a57c2a691.js} +1 -1
- 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/{53d165b4f30fd64e5d8a.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/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/{43713bc6f7eea07259d0.js → b084829a3fd709dc47a8.js} +1 -1
- 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/{43a65cab888d43954564.js → b4abf82b8ac974a55ae1.js} +1 -1
- package/assets/esri/core/workers/chunks/b950ddafba8125c84a5b.js +1 -0
- package/assets/esri/core/workers/chunks/bab5f4b2424b487b87ac.js +1 -0
- package/assets/esri/core/workers/chunks/{0d3b2d9a19383bb63f0a.js → bad2c7219e95750906e1.js} +1 -1
- package/assets/esri/core/workers/chunks/bbc6b270d2032189107c.js +1 -0
- 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/{1c49c9472167a2e0c923.js → c17dda6fadb8bfad0d51.js} +1 -1
- package/assets/esri/core/workers/chunks/c1e5ffe9a251be5a0744.js +1 -0
- 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/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/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/{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/{b6cd165d0e58598f28a5.js → ef47a5da641cb0d33fdf.js} +1 -1
- 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/{d1c7c877edc6948f3801.js → f4aa6e90200f61e623e5.js} +1 -1
- package/assets/esri/core/workers/chunks/{36ec5b84e551ab08b24a.js → ff578f0ca68d652fece5.js} +1 -1
- 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/HeatmapDensity.glsl.js +5 -5
- package/chunks/bundle2.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/config.js +1 -1
- package/geometry/geometryEngine.js +1 -1
- package/geometry/support/centroid.js +1 -1
- package/geometry/support/extentUtils.js +1 -1
- package/geometry/support/frustum.js +1 -1
- package/kernel.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/data/projectionSupport.js +1 -1
- package/layers/graphics/sources/support/sourceUtils.js +1 -1
- package/package.json +2 -2
- package/support/revision.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/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/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/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/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/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/lib/PositionReader.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/shaders/HeatmapDensity.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
- package/views/VideoView.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/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/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/0daaa89de339e8ea4b81.js +0 -1
- package/assets/esri/core/workers/chunks/1119a33245138e7b3914.js +0 -1
- package/assets/esri/core/workers/chunks/12234a63d3fa4bc25e7e.js +0 -1
- package/assets/esri/core/workers/chunks/1cf8fb704c48ac3d3b15.js +0 -1
- package/assets/esri/core/workers/chunks/2435ef7d11f8dbb920b7.js +0 -256
- package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +0 -1
- package/assets/esri/core/workers/chunks/27f574acf52f2c8bc2c9.js +0 -1
- package/assets/esri/core/workers/chunks/2d45daacec0d5ed38782.js +0 -1
- 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/3235e14fedb19dd94807.js +0 -1
- package/assets/esri/core/workers/chunks/32f5112c848efec6c33b.js +0 -1
- package/assets/esri/core/workers/chunks/3bc2943035391b44d4cf.js +0 -29
- package/assets/esri/core/workers/chunks/3c32471785bc8570e41c.js +0 -1
- package/assets/esri/core/workers/chunks/4295822fa6ef743c76f1.js +0 -1
- package/assets/esri/core/workers/chunks/42d5ed44111bea77ec71.js +0 -1462
- package/assets/esri/core/workers/chunks/46873badbd6ce8ff4e1e.js +0 -1
- package/assets/esri/core/workers/chunks/4710f21b138a2c9a0345.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/4d9bde9f66817a92ceca.js +0 -1
- package/assets/esri/core/workers/chunks/4fe2cca405180af23364.js +0 -1
- package/assets/esri/core/workers/chunks/519af918050b47f93516.js +0 -1
- package/assets/esri/core/workers/chunks/5600fc334d20c4f0c83d.js +0 -1
- package/assets/esri/core/workers/chunks/5627f562dea8bae2f346.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/6f58cb9dffe8016397a2.js +0 -1
- package/assets/esri/core/workers/chunks/6fc3553c52af6ace926d.js +0 -1
- package/assets/esri/core/workers/chunks/7aaa051b51a8e34bbfb0.js +0 -1
- package/assets/esri/core/workers/chunks/7dc5aedc964eacd1be5a.js +0 -1
- package/assets/esri/core/workers/chunks/7f91e45156bbe88f9a62.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/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/9cff18e6f751d1b3085e.js +0 -1
- package/assets/esri/core/workers/chunks/a101152066dd56259619.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/a7a7d3289d4ca95f545f.js +0 -1
- package/assets/esri/core/workers/chunks/abb6c76d5dba3559a68e.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/b78f509fd8e95f728178.js +0 -1
- package/assets/esri/core/workers/chunks/b858adff7043683fe41c.js +0 -1
- package/assets/esri/core/workers/chunks/be1d2c3a61e6447fbbc7.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/c53b2be005721591e29b.js +0 -1
- package/assets/esri/core/workers/chunks/c82ab4f0908290e70ee9.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/d021775cf747556660a5.js +0 -1
- package/assets/esri/core/workers/chunks/d633e98b0dfa0490e4de.js +0 -1
- package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +0 -1
- package/assets/esri/core/workers/chunks/d8eca13c127b443141b7.js +0 -1
- package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +0 -1
- package/assets/esri/core/workers/chunks/eb1a86159dbc098f06fe.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/ee9eb381e675d2d01260.js +0 -1
- package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +0 -1
- package/assets/esri/core/workers/chunks/f43a0edf58941e2ac78e.js +0 -1
- package/assets/esri/core/workers/chunks/f78acff510ca615d42e4.js +0 -1
- package/assets/esri/core/workers/chunks/f7a5c4d22a24e1ac433c.js +0 -1
- package/chunks/geometryEngineBase.js +0 -2
- package/geometry/geometryAdapters/json.js +0 -2
- package/geometry/geometryEngineJSON.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 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7539],{68197(t,e,s){s.d(e,{A:()=>l});var i=s(40876),r=s(4576),n=s(34727),o=s(56507);function a(t){return(0,n.qE)((0,o.Vr)(t),0,255)}function h(t,e){const s=t.toString(16).padStart(2,"0");return e?s.slice(0,1):s}class l{static blendColors(t,e,s,i=new l){return i.r=Math.round(t.r+(e.r-t.r)*s),i.g=Math.round(t.g+(e.g-t.g)*s),i.b=Math.round(t.b+(e.b-t.b)*s),i.a=t.a+(e.a-t.a)*s,i._sanitize()}static fromRgb(t,e){const s=(0,i.lT)(t);return s?l.fromArray(s,e):null}static fromHex(t,e=new l){const s=(0,i.oW)(t);return s?l.fromArray(s,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const s=(0,i.Eq)(t);return s?l.fromArray(s,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,r.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,s=t?.digits??6,i=3===s||4===s,r=4===s||8===s,n=`#${h(this.r,i)}${h(this.g,i)}${h(this.b,i)}${r?h(Math.round(255*this.a),i):""}`;return e?n.toUpperCase():n}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),s=a(this.g),i=a(this.b);return 0===t||1!==this.a?[e,s,i,a(255*this.a)]:[e,s,i]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(t,e,s,i){this.r=t,this.g=e,this.b=s,this.a=i}}l.prototype.declaredClass="esri.Color"},40876(t,e,s){s.d(e,{Eq:()=>d,G1:()=>y,TS:()=>n,V6:()=>r,Vm:()=>g,ay:()=>h,c1:()=>f,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>w});const i={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(t){return!!i[t]||!!i[t.toLowerCase()]}function n(t){return i[t]??i[t.toLowerCase()]}function o(t){return[...n(t)]}function a(t,e,s){s<0&&++s,s>1&&--s;const i=6*s;return i<1?t+(e-t)*i:2*s<1?e:3*s<2?t+(e-t)*(2/3-s)*6:t}function h(t,e,s,i=1){const r=(t%360+360)%360/360,n=s<=.5?s*(e+1):s+e-s*e,o=2*s-n;return[Math.round(255*a(o,n,r+1/3)),Math.round(255*a(o,n,r)),Math.round(255*a(o,n,r-1/3)),i]}function l(t){const e=t.length>5,s=e?8:4,i=(1<<s)-1,r=e?1:17,n=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return n&&(h=o&i,o>>=s,a[3]=r*h/255),h=o&i,o>>=s,a[2]=r*h,h=o&i,o>>=s,a[1]=r*h,h=o&i,o>>=s,a[0]=r*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),s=parseInt(t.slice(2,3),16),i=parseInt(t.slice(3,4),16),r=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,s+16*s,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),s=e[1];if("rgb"===s&&3===t.length||"rgba"===s&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),p(e)}return p(t.map(t=>parseFloat(t)))}if("hsl"===s&&3===t.length||"hsla"===s&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function p(t){return t[0]=f(t[0]),t[1]=f(t[1]),t[2]=f(t[2]),t[3]=4===t.length?y(t[3]):1,t}function d(t){let e=r(t)?n(t):null;return e??=u(t),e??=c(t),e}function g(t){const e=d(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return _(t,0,1)}function f(t){return Math.round(_(t,0,255))}function _(t,e,s){return t=Number(t),isNaN(t)?s:t<e?e:t>s?s:t}const m=1/2.2;function w(t){return t**m}s.d(e,["iw",0,m])},563(t,e,s){s.d(e,{QueueProcessor:()=>l,SharedConcurrency:()=>u});var i=s(97768),r=s(17676),n=s(9775),o=s(32587),a=s(76030),h=s(44794);class l{constructor(t){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=t.process,this.concurrency=t.concurrency,this.sharedConcurrency=t.sharedConcurrency??p,this._queue=new n.A(t.peeker)}destroy(){this.clear(),this._schedule=(0,i.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(t){const e=this._controllers.get(t);e?.abort()}clear(){this._queue.clear();const t=Array.from(this._controllers.values());this._controllers.clear(),t.forEach(t=>t.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(t){this._deferreds.forEach((e,s)=>t(s))}_get(t){const e=this._deferreds.get(t);return e?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(t,e){const s=this._get(t);if(s)return s;const i=new AbortController,n=Promise.withResolvers(),o=e?(0,r.u7)(e,()=>i.abort()):null,a=(0,r.NY)(i.signal,()=>{const e=this._processingItems.get(t);e&&e.controller.abort(),h(),n.reject((0,r.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(t),this._queue.remove(t),this._scheduleNext()};return this._deferreds.set(t,n),this._controllers.set(t,i),n.promise.then(h,h),this._queue.push(t),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const t=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const e of t)this._queue.push(e.item),e.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const t=[];for(;this._queue.length;)t.push(this._queue.pop());return this.clear(),t}_removeItem(t){this._deferreds.delete(t),this._controllers.delete(t),this._processingItems.has(t)&&(this._processingItems.delete(t),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).resolve(e))}_processError(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).reject(e))}_canProcessFulfillment(t){return!!this._deferreds.get(t.item)&&this._processingItems.get(t.item)===t}_process(t){if(null==t)return;let e;const s=new AbortController,i=new c(t,s);this._processingItems.set(t,i),this.sharedConcurrency.current.value+=1;try{e=this.process(t,s.signal)}catch(t){this._processError(i,t)}(0,r.$X)(e)?(i.promise=e,e.then(t=>this._processResult(i,t),t=>this._processError(i,t))):this._processResult(i,e)}}class c{constructor(t,e){this.item=t,this.controller=e,this.promise=null}}class u{constructor(t){this.limit=t,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const p=new u(1/0)},32587(t,e,s){s.d(e,{A:()=>n});var i=s(62788),r=s(95488);class n{constructor(t){this._observable=new r.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(t)}get size(){return(0,i.gc)(this._observable),this._map.size}batch(t){try{this._batchDepth++,t()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(t){const e=this._map.delete(t);return e&&this._notify(),e}entries(){return(0,i.gc)(this._observable),this._map.entries()}forEach(t,e){(0,i.gc)(this._observable),this._map.forEach((s,i)=>t.call(e,s,i,this),e)}get(t){return(0,i.gc)(this._observable),this._map.get(t)}has(t){return(0,i.gc)(this._observable),this._map.has(t)}keys(){return(0,i.gc)(this._observable),this._map.keys()}set(t,e){return this._map.set(t,e),this._notify(),this}transformValues(t,e=this._map.keys()){this.batch(()=>{for(const s of e){if(!this._map.has(s))continue;const e=this._map.get(s),i=t(e,s);i!==e&&this.set(s,i)}})}values(){return(0,i.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,i.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},95488(t,e,s){s.d(e,{I:()=>r});var i=s(11406);class r extends i.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},21287(t,e,s){s.d(e,{M5:()=>u,eV:()=>c});var i=s(11254),r=s(49186),n=s(17676),o=s(84952),a=s(26306);let h=null,l=!0;function c(t,e,s,i){if(!e||!s)throw new Error("Cannot construct image data without dimensions");if(l)try{return new ImageData(t,e,s)}catch(t){l=!1}const r=function(t,e,s){return s||(h||(h=document.createElement("canvas"),h.width=1,h.height=1),s=h),s.getContext("2d").createImageData(t,e)}(e,s,i);return r.data.set(t,0),r}async function u(t,e){const{arrayBuffer:h,mediaType:l}=await async function(t,e){const s=(0,o.r$)(t);if(s?.isBase64)return{arrayBuffer:(0,a.M)(s.data),mediaType:s.mediaType};const r=await(0,i.A)(t,{responseType:"array-buffer",...e});return{arrayBuffer:r.data,mediaType:r.getHeader?.("Content-Type")??""}}(t,e),c="image/png"===l;if("image/gif"===l){const{isAnimatedGIF:t,parseGif:i}=await s.e(820).then(s.bind(s,10820));if(t(h))return i(h,e)}if(c){const{isAnimatedPNG:t,parseApng:i}=await s.e(2390).then(s.bind(s,22390));if(t(h))return i(h,e)}return async function(t,e){const s=window.URL.createObjectURL(t);try{const{data:t}=await(0,i.A)(s,{...e,responseType:"image"});return t}catch(t){if(!(0,n.zf)(t))throw new r.A("invalid-image",`Could not fetch requested image at ${s}`);throw t}finally{window.URL.revokeObjectURL(s)}}(new Blob([h],{type:l}),e)}},51624(t,e,s){s.d(e,{A:()=>l});var i=s(44208),r=s(69397),n=s(93687);const o=4294967296,a=new TextDecoder("utf-8"),h=(0,i.A)("safari")||(0,i.A)("ios")?6:(0,i.A)("ff")?12:32;class l{constructor(t,e,s=0,i=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,s,i)}[Symbol.dispose](){this.release()}_init(t,e,s,i){this._data=t,this._dataView=e,this._pos=s,this._end=i}get usedMemory(){return 64+(0,r.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,s=0,i=t?.byteLength??0){const r=l.pool.acquire();return r._init(t,e,s,i),r}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;const e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return t;throw new Error("Varint overflow")}getPackedEnd(){const t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){const t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){const t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){const t=this._dataView,e=this._pos,s=t.getUint32(e,!0)+t.getUint32(e+4,!0)*o;return this._skip(8),s}getSFixed64(){const t=this._dataView,e=this._pos,s=t.getUint32(e,!0)+t.getInt32(e+4,!0)*o;return this._skip(8),s}getDouble(){const t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){const t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){const t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){const t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){const t=this._getLength(),e=this._pos,s=this._toString(this._data,e,e+t);return this._skip(t),s}getBytes(){const t=this._getLength(),e=this._pos,s=this._toBytes(this._data,e,e+t);return this._skip(t),s}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,s,i){const r=this.getMessage(),n=t(r,e,s,i);return r.release(),n}processMessage(t){const e=this.getMessage(),s=t(e);return e.release(),s}getMessage(){const t=this._getLength(),e=l.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){const t=this._data;let e=this._pos,s=0,i=0;if(this._end-e>=10)do{if(i=t[e++],s|=127&i,!(128&i))break;if(i=t[e++],s|=(127&i)<<7,!(128&i))break;if(i=t[e++],s|=(127&i)<<14,!(128&i))break;if(i=t[e++],s|=(127&i)<<21,!(128&i))break;if(i=t[e++],s+=268435456*(127&i),!(128&i))break;if(i=t[e++],s+=34359738368*(127&i),!(128&i))break;if(i=t[e++],s+=4398046511104*(127&i),!(128&i))break;if(i=t[e++],s+=562949953421312*(127&i),!(128&i))break;if(i=t[e++],s+=72057594037927940*(127&i),!(128&i))break;if(i=t[e++],s+=0x8000000000000000*(127&i),!(128&i))break;throw new Error("Varint too long!")}while(0);else{let r=1;for(;e!==this._end&&(i=t[e],128&i);)++e,s+=(127&i)*r,r*=128;if(e===this._end)throw new Error("Varint overrun!");++e,s+=i*r}return this._pos=e,s}_decodeSVarint(){const t=this._data;let e,s=0,i=0;const r=1&t[this._pos];if(i=t[this._pos++],s|=127&i,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<7,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<14,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<21,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=268435456*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=34359738368*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=4398046511104*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(e=BigInt(s),i=t[this._pos++],e+=0x2000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);if(i=t[this._pos++],e+=0x100000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);if(i=t[this._pos++],e+=0x8000000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,s){if((s=Math.min(this._end,s))-e>h){const i=t.subarray(e,s);return a.decode(i)}let i="",r="";for(let n=e;n<s;++n){const e=t[n];128&e?r+="%"+e.toString(16):(i+=decodeURIComponent(r)+String.fromCharCode(e),r="")}return r.length&&(i+=decodeURIComponent(r)),i}_toBytes(t,e,s){return s=Math.min(this._end,s),new Uint8Array(t.buffer,e,s-e)}static{this.pool=new n.A(()=>new l(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},90629(t,e,s){s.d(e,{Lz:()=>r,PN:()=>n,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a}),s(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(t){return t?t/72*96:0}function n(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(i);if(e){const s=Number(e[1]),i=e[3]&&e[3].toLowerCase(),r=t.startsWith("-"),o="px"===i?n(s):s;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,s=0){return[t,e,s]}},44794(t,e,s){s.d(e,{v:()=>a});var i=s(4718),r=s(62788),n=s(95488);class o{constructor(t,e){this._observable=new n.I,this._value=t,this._equalityFunction=e}get value(){return(0,r.gc)(this._observable),this._value}set value(t){this._equalityFunction(t,this._value)||(this._value=t,this._observable.notify())}mutate(t){t(this._value),this._observable.notify()}}function a(t,e=i.gh){return new o(t,e)}},83027(t,e,s){const i=s(29953).ho;s.d(e,["h",0,i])},48526(t,e,s){s.d(e,{A:()=>f});var i,r=s(5482),n=s(4576),o=s(4718),a=s(91429),h=s(5443),l=s(91075),c=s(86738),u=s(16930),p=s(90634),d=s(47610),g=s(56993),y=s(43937);let f=i=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:s,hasZ:i,spatialReference:r}=t;switch(e??=[],e?.at(0)?.length){case 4:i??=!0,s??=!0;break;case 3:i??=!0!==s,s??=!i;break;default:i??=!1,s??=!1}return r??=u.A.WGS84,{...t,hasM:s,hasZ:i,points:e,spatialReference:r}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,p.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:s,hasZ:r}=this;return new i({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:s,hasZ:r})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,s=t.spatialReference;return null!=e==(null!=s)&&!(null!=e&&null!=s&&!e.equals(s))&&(0,n.aI)(this.points,t.points,d.v6)}addPoint(t){return(0,g.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],s={x:e[0],y:e[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(s.z=e[2],i=3),this.hasM&&(s.m=e[i]),new c.A(s)}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,g.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,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,r.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,r.Cg)([(0,y.K)("points")],f.prototype,"writePoints",null),f=i=(0,r.Cg)([(0,a.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,s){s.d(e,{A:()=>g});var i,r=s(5482),n=s(4718),o=s(91429),a=s(5443),h=s(91075),l=s(86738),c=s(16930),u=s(90634),p=s(56993),d=s(43937);let g=i=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:s,hasZ:i,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:i??=!0,s??=!0;break;case 3:i??=!0!==s,s??=!i;break;default:i??=!1,s??=!1}return r??=c.A.WGS84,{...t,hasM:s,hasZ:i,paths:e,spatialReference:r}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,n.o8)(t)}get extent(){const t=(0,u.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,n.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,s=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const i=[];for(let e=0,s=t.length;e<s;e++)i[e]=t[e].toArray();e[s]=i}else e[s]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new i;return t.spatialReference=this.spatialReference,t.paths=(0,n.o8)(this.paths),t.curvePaths=(0,n.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const s=this.paths[t][e],i=this.hasZ,r=this.hasM;return i&&!r?new l.A(s[0],s[1],s[2],void 0,this.spatialReference):r&&!i?new l.A(s[0],s[1],void 0,s[2],this.spatialReference):i&&r?new l.A(s[0],s[1],s[2],s[3],this.spatialReference):new l.A(s[0],s[1],this.spatialReference)}insertPoint(t,e,s){return this._validateInputs(t,e,!0)?((0,p.h)(this,s),Array.isArray(s)||(s=s.toArray()),this.paths[t].splice(e,0,s),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],s=this.spatialReference,i=e.map(t=>new l.A(t,s));return this.notifyChange("paths"),i}removePoint(t,e){if(!this._validateInputs(t,e))return null;const s=new l.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),s}setPoint(t,e,s){return this._validateInputs(t,e)?((0,p.h)(this,s),Array.isArray(s)||(s=s.toArray()),this.paths[t][e]=s,this.notifyChange("paths"),this):this}_validateInputs(t,e,s=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const i=this.paths[t];if(s&&(e<0||e>i.length))return!1;if(!s&&(e<0||e>=i.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],g.prototype,"curvePaths",void 0),(0,r.Cg)([(0,d.K)("curvePaths")],g.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],g.prototype,"paths",void 0),(0,r.Cg)([(0,d.K)("paths")],g.prototype,"writePaths",null),g=i=(0,r.Cg)([(0,o.$K)("esri.geometry.Polyline")],g),g.prototype.toJSON.isDefaultToJSON=!0},60408(t,e,s){function i(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function r(t){return void 0!==t.points}function n(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function h(t){return"object"==typeof t&&"vertexAttributes"in t}function l(t){return t?n(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":i(t)?"esriGeometryEnvelope":r(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function u(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}s.d(e,{$B:()=>l,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>r,W0:()=>u,ZC:()=>i,fT:()=>n,uW:()=>h})},65864(t,e,s){s.d(e,{rS:()=>c,xD:()=>p});var i=s(5443),r=s(91075),n=s(48526),o=s(86738),a=s(39829),h=s(82799),l=s(60408);function c(t){return null==t?null:t instanceof r.A?t:(0,l.fT)(t)?o.A.fromJSON(t):(0,l.Rg)(t)?h.A.fromJSON(t):(0,l.Bi)(t)?a.A.fromJSON(t):(0,l.U9)(t)?n.A.fromJSON(t):(0,l.ZC)(t)?i.A.fromJSON(t):null}const u={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:i.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function p(t){return t&&u[t]||null}},97770(t,e,s){s.d(e,{Ey:()=>P,F8:()=>k,J2:()=>x,Yq:()=>I,_m:()=>N,iS:()=>T,wj:()=>D});var i=s(66552),r=s(73444),n=s(98623),o=s(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},l={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},p={year:"numeric",month:"short",day:"numeric"},d={year:"numeric",month:"long",weekday:"long",day:"numeric"},g={hour:"numeric",minute:"numeric"},y={...g,second:"numeric"},f={hourCycle:"h23"},_={...g,...f},m={...y,...f},w={"short-date":c,"short-date-short-time":{...c,...g},"short-date-short-time-24":{...c,..._},"short-date-long-time":{...c,...y},"short-date-long-time-24":{...c,...m},"short-date-le":c,"short-date-le-short-time":{...c,...g},"short-date-le-short-time-24":{...c,..._},"short-date-le-long-time":{...c,...y},"short-date-le-long-time-24":{...c,...m},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...g},"long-month-day-year-short-time-24":{...u,..._},"long-month-day-year-long-time":{...u,...y},"long-month-day-year-long-time-24":{...u,...m},"day-short-month-year":p,"day-short-month-year-short-time":{...p,...g},"day-short-month-year-short-time-24":{...p,..._},"day-short-month-year-long-time":{...p,...y},"day-short-month-year-long-time-24":{...p,...m},"long-date":d,"long-date-short-time":{...d,...g},"long-date-short-time-24":{...d,..._},"long-date-long-time":{...d,...y},"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":g,"long-time":y},S=(0,i.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"}),b={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},C=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),v=C.find(({type:t})=>"month"===t)?.value.toLowerCase();function A(){const t=(0,r.lR)();return(t&&b[t])??(0,r.QC)()}"mart"!==v&&(b.bs="sr-Latn-CS");let M=new WeakMap;const R=w["short-date-short-time"];function x(t){return w[t]}function N(t){const{dateStyle:e,timeStyle:s,hour12:i,year:r,month:n}=t,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=n||void 0),s&&!o.year&&(o.timeStyle=s,o.hour12="auto"===i?void 0:"always"===i),o}function I(t,e=R){return function(t){let e=M.get(t);if(!e){const s=A(),i=D(t.timeZone??"system"),r={...t,timeZone:i};e=new Intl.DateTimeFormat(s,r),M.set(t,e)}return e}(e).format(t)}function T(t,e=R){return I(new Date(t),{...e,...l,...h})}function k(t,e=R){return I(new Date(`1970-01-01T${t}Z`),{...e,...l,...a})}function P(t,e=R){const s=o.c9.fromISO(t,{setZone:!0});if(!s.isValid)return t;if(e.timeZone)return I(s.toJSDate(),e);const i=0===s.offset?"UTC":e.timeZone,r={...e,timeZone:i};return s.toLocaleString(r,{locale:A()})}function D(t){switch(t){case"system":return n.N;case n.L:return"UTC";default:return t}}(0,r.Ml)(()=>{M=new WeakMap}),s.d(e,["_v",0,S])},73444(t,e,s){s.d(e,{JK:()=>h,Ml:()=>f,QC:()=>u,lR:()=>c,oQ:()=>g});var i=s(36563);let r;s(44208);const n=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const t=o?.getAttribute("lang"),e=globalThis.navigator?.language;return n??t??e??"en"}function h(){return void 0===r&&(r=a()),r}const l=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=h()){return p(t)?.language}function u(t=h()){const e=p(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function p(t=h()){return l.exec(t)?.groups}const d=[];function g(t){return d.push(t),(0,i.hA)(()=>{d.splice(d.indexOf(t),1)})}new Map;const y=[];function f(t){return y.push(t),(0,i.hA)(()=>y.splice(y.indexOf(t),1))}function _(){const t=a();r!==t&&([...y].forEach(e=>e(t)),r=t,[...d].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",_),o&&new MutationObserver(()=>{_()}).observe(o,{attributeFilter:["lang"]})},65851(t,e,s){s.d(e,{A:()=>a});var i=s(5482),r=s(91429),n=s(31593),o=s(20378);let a=class extends o.A{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,i.Cg)([(0,r.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":n.A}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,i.Cg)([(0,r.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,i.Cg)([(0,r.$K)("esri.symbols.FillSymbol")],a)},11831(t,e,s){s.d(e,{A:()=>l});var i,r=s(5482),n=s(25482),o=s(90629),a=s(91429),h=s(5760);let l=i=class extends n.o{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(t){this._set("size",t)}castSize(t){return(0,o.cr)(t)}clone(){return new i({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,r.Cg)([(0,a.MZ)({type:h.h9,json:{default:"none",write:!0}})],l.prototype,"decoration",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],l.prototype,"family",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:(t,e,s)=>({enabled:!s||!s.textSymbol3D})}}})],l.prototype,"size",null),(0,r.Cg)([(0,a.wg)("size")],l.prototype,"castSize",null),(0,r.Cg)([(0,a.MZ)({type:h._R,json:{default:"normal",write:!0}})],l.prototype,"style",void 0),(0,r.Cg)([(0,a.MZ)({type:h.NM,json:{default:"normal",write:!0}})],l.prototype,"weight",void 0),l=i=(0,r.Cg)([(0,a.$K)("esri.symbols.Font")],l)},89420(t,e,s){s.d(e,{A:()=>h});var i=s(5482),r=s(90629),n=s(91429),o=s(56507),a=s(20378);let h=class extends a.A{constructor(t){super(t),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get size(){return this._get("size")??9}set size(t){this._set("size",t)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,i.Cg)([(0,n.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],h.prototype,"angle",void 0),(0,i.Cg)([(0,n.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],h.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"xoffset",null),(0,i.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"yoffset",null),(0,i.Cg)([(0,n.MZ)({cast:t=>"auto"===t?t:(0,o.GB)((0,r.cr)(t)),json:{write:!0}})],h.prototype,"size",null),h=(0,i.Cg)([(0,n.$K)("esri.symbols.MarkerSymbol")],h)},94985(t,e,s){s.d(e,{A:()=>d});var i,r=s(5482),n=s(68197),o=s(66552),a=s(4718),h=s(91429),l=s(65851),c=s(31593),u=s(93223);const p=new o.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let d=i=class extends l.A{constructor(...t){super(...t),this.color=new n.A([0,0,0,.25]),this.outline=new c.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,s){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.style=t),e&&(i.outline=e),s&&(i.color=s),i}clone(){return new i({color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,r.Cg)([(0,h.MZ)({type:n.A})],d.prototype,"color",void 0),(0,r.Cg)([(0,h.MZ)()],d.prototype,"outline",void 0),(0,r.Cg)([(0,u.e)({esriSFS:"simple-fill"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({type:p.apiValues,json:{read:p.read,write:p.write}})],d.prototype,"style",void 0),d=i=(0,r.Cg)([(0,h.$K)("esri.symbols.SimpleFillSymbol")],d)},31593(t,e,s){s.d(e,{A:()=>b});var i=s(5482),r=s(66552),n=s(4718),o=s(90629),a=s(91429),h=s(20378),l=s(93223);let c=class extends h.A{constructor(t){super(t),this.type="simple-line"}get width(){return this._get("width")??.75}set width(t){this._set("width",t)}hash(){return`${this.type}.${this.width}`}};(0,i.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:o.cr,json:{write:!0}})],c.prototype,"width",null),c=(0,i.Cg)([(0,a.$K)("esri.symbols.LineSymbol")],c);var u,p=s(68197),d=s(25482),g=s(83213),y=s(43937),f=s(36005);let _=u=class extends d.o{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,s,i){e[s]="web-map"===i?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,s,i){"web-map"===i?.origin||(e[s]=t)}clone(){return new u({color:(0,n.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,i.Cg)([(0,a.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],_.prototype,"placement",void 0),(0,i.Cg)([(0,l.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,a.MZ)({json:{origins:{"web-map":{write:!1}}}})],_.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:g.z})],_.prototype,"style",void 0),(0,i.Cg)([(0,y.K)("style")],_.prototype,"writeStyle",null),(0,i.Cg)([(0,a.MZ)({type:p.A,value:null,json:{write:{allowNull:!0}}})],_.prototype,"color",null),(0,i.Cg)([(0,f.w)("color")],_.prototype,"readColor",null),(0,i.Cg)([(0,y.K)("color")],_.prototype,"writeColor",null),_=u=(0,i.Cg)([(0,a.$K)("esri.symbols.LineSymbolMarker")],_);const m=_;var w;const S=new r.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let b=w=class extends c{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,s,i,r,n){if(t&&"string"!=typeof t)return t;const a={};return null!=t&&(a.style=t),null!=e&&(a.color=e),null!=s&&(a.width=(0,o.cr)(s)),null!=i&&(a.cap=i),null!=r&&(a.join=r),null!=n&&(a.miterLimit=(0,o.cr)(n)),a}clone(){return new w({color:(0,n.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,i.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],b.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:S.apiValues,json:{read:S.read,write:S.write}})],b.prototype,"style",void 0),(0,i.Cg)([(0,a.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,s)=>({enabled:"round"!==t&&null==s?.origin})}}})],b.prototype,"cap",void 0),(0,i.Cg)([(0,a.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,s)=>({enabled:"round"!==t&&null==s?.origin})}}})],b.prototype,"join",void 0),(0,i.Cg)([(0,a.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":m}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],b.prototype,"marker",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:!1,write:!1}})],b.prototype,"miterLimit",void 0),b=w=(0,i.Cg)([(0,a.$K)("esri.symbols.SimpleLineSymbol")],b)},53930(t,e,s){s.d(e,{A:()=>y});var i,r=s(5482),n=s(68197),o=s(66552),a=s(4718),h=s(90629),l=s(91429),c=s(89420),u=s(31593),p=s(43937),d=s(93223);const g=new o.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let y=i=class extends c.A{constructor(...t){super(...t),this.color=new n.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new u.A}normalizeCtorArgs(t,e,s,i){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),null!=e&&(r.size=(0,h.cr)(e)),s&&(r.outline=s),i&&(r.color=i),r}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}get size(){return this._get("size")??12}set size(t){this._set("size",t)}set path(t){this.style="path",this._set("path",t)}clone(){return new i({angle:this.angle,color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,r.Cg)([(0,l.MZ)({type:n.A})],y.prototype,"color",void 0),(0,r.Cg)([(0,p.K)("color")],y.prototype,"writeColor",null),(0,r.Cg)([(0,d.e)({esriSMS:"simple-marker"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)()],y.prototype,"size",null),(0,r.Cg)([(0,l.MZ)({type:g.apiValues,json:{read:g.read,write:g.write}})],y.prototype,"style",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],y.prototype,"path",null),(0,r.Cg)([(0,l.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.A}},json:{default:null,write:!0}})],y.prototype,"outline",void 0),y=i=(0,r.Cg)([(0,l.$K)("esri.symbols.SimpleMarkerSymbol")],y)},20378(t,e,s){s.d(e,{A:()=>u});var i=s(5482),r=s(68197),n=s(66552),o=s(25482),a=s(91429),h=s(36005);const l=new n.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let c=0,u=class extends o.o{constructor(t){super(t),this.id="sym"+c++,this.type=null,this.color=new r.A([0,0,0,1])}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}async collectRequiredFields(t,e){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,i.Cg)([(0,a.MZ)({type:l.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:l.write,isRequired:!0}}})],u.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:r.A,json:{write:{allowNull:!0}}})],u.prototype,"color",void 0),(0,i.Cg)([(0,h.w)("color")],u.prototype,"readColor",null),u=(0,i.Cg)([(0,a.$K)("esri.symbols.Symbol")],u)},68249(t,e,s){s.d(e,{A:()=>g});var i,r=s(5482),n=s(68197),o=s(4718),a=s(90629),h=s(91429),l=s(11831),c=s(20378),u=s(5760),p=s(93223),d=s(43937);let g=i=class extends c.A{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new l.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(t,e,s){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.text=t),e&&(i.font=e),s&&(i.color=s),i}get haloSize(){return this._get("haloSize")??null}set haloSize(t){this._set("haloSize",t)}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(t){this._set("lineWidth",t)}writeLineWidth(t,e,s,i){i&&"string"!=typeof i?i.origin:e[s]=t}castLineWidth(t){return(0,a.cr)(t)}writeLineHeight(t,e,s,i){i&&"string"!=typeof i?i.origin:e[s]=t}clone(){return new i({angle:this.angle,backgroundColor:(0,o.o8)(this.backgroundColor),borderLineColor:(0,o.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,o.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,o.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"backgroundColor",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"borderLineColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0},cast:a.cr})],g.prototype,"borderLineSize",void 0),(0,r.Cg)([(0,h.MZ)({type:l.A,json:{write:!0}})],g.prototype,"font",void 0),(0,r.Cg)([(0,h.MZ)({...u.rM,json:{write:!0}})],g.prototype,"horizontalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"kerning",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"haloColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"haloSize",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rightToLeft",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rotated",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{write:!0}})],g.prototype,"text",void 0),(0,r.Cg)([(0,p.e)({esriTS:"text"},{readOnly:!0})],g.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({...u.x0,json:{write:!0}})],g.prototype,"verticalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"xoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"yoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],g.prototype,"angle",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],g.prototype,"width",void 0),(0,r.Cg)([(0,h.MZ)({type:Number})],g.prototype,"lineWidth",null),(0,r.Cg)([(0,d.K)("lineWidth")],g.prototype,"writeLineWidth",null),(0,r.Cg)([(0,h.wg)("lineWidth")],g.prototype,"castLineWidth",null),(0,r.Cg)([(0,h.MZ)(u.Tb)],g.prototype,"lineHeight",void 0),(0,r.Cg)([(0,d.K)("lineHeight")],g.prototype,"writeLineHeight",null),g=i=(0,r.Cg)([(0,h.$K)("esri.symbols.TextSymbol")],g)},59868(t,e,s){var i=s(94985),r=s(31593),n=s(53930),o=s(68249),a=s(93470);const h=n.A.fromJSON(a.Cb),l=r.A.fromJSON(a.yM),c=i.A.fromJSON(a.WR),u=o.A.fromJSON(a.JZ);n.A.fromJSON(a.nC),r.A.fromJSON(a.HW),i.A.fromJSON(a.b6),s.d(e,["A7",0,l,"Cx",0,c,"Hk",0,u,"UK",0,h])},93470(t,e,s){const i=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i};s.d(e,["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,i,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,n])},83213(t,e,s){s.d(e,["x",0,["begin","end","begin-end"],"z",0,["arrow","circle","square","diamond","cross","x"]])},5760(t,e,s){var i=s(34727),r=s(56507);const n={type:Number,cast:t=>{const e=(0,r.GB)(t);return 0===e?1:(0,i.qE)(e,.1,4)},nonNullable:!0};s.d(e,["NM",0,["normal","lighter","bold","bolder"],"Tb",0,n,"_R",0,["normal","italic","oblique"],"h9",0,["none","underline","line-through"],"rM",0,{type:["left","right","center"],nonNullable:!0},"x0",0,{type:["baseline","top","middle","bottom"],nonNullable:!0}])},98623(t,e,s){const i=Intl.DateTimeFormat().resolvedOptions().timeZone;s.d(e,["L",0,"unknown","N",0,i])},93602(t,e,s){s.r(e),s.d(e,{default:()=>x});var i=s(11254),r=s(6371),n=s(57582),o=s(44208),a=s(53966),h=s(17676),l=s(2741);let c=null;var u=s(69754),p=(s(83027),s(18989));s(25530),s(67171);const d={width:5,height:2,left:0,top:0};new p.A(0,0,11,8),new p.A(11,0,11,8);const g=1e20;class y{constructor(t){this.pxDensity=4,this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.rasterSizePx=this.pxDensity*this.sdfSizePx,this.rasterBufferPx=this.pxDensity*this.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;const e=this.pxDensity*t.sdfSizePx*3;this.canvasSize=e;const s=new OffscreenCanvas(e,e);this.context=s.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.gridValues=new Float64Array(e),this.parabolaBoundaries=new Float64Array(e+1),this.parabolaIndices=new Uint16Array(e)}draw(t,e){const{context:s,gridInner:i,gridOuter:r,rasterSizePx:n,rasterBufferPx:o,canvasSize:a,radius:h,cutoff:l}=this,c=n/t.units_per_em();this.context.fillStyle="black",this.context.strokeStyle="black",this.context.resetTransform(),this.context.clearRect(0,0,a,a),this.context.translate(n,n),this.context.scale(c,c);const u=t.paintCurves(e,s);if(!u)return null;const p=u.xMin*c,d=u.xMax*c,y=u.yMin*c,f=u.yMax*c;u.free();const _=Math.ceil(d-p),m=Math.ceil(f-y),w=Math.floor(n+p-o),S=Math.floor(n+y-o),b=_+2*o,C=m+2*o,v=new Float32Array(Math.max(b*C,0)),A=s.getImageData(w,S,b,C);r.fill(g,0,v.length),i.fill(0,0,v.length);for(let t=0;t<C;t++)for(let e=0;e<b;e++){const s=C-1-t,n=A.data[4*(s*b+e)+3]/255;if(0===n)continue;const o=t*b+e;if(1===n)r[o]=0,i[o]=g;else{const t=.5-n;r[o]=t>0?t*t:0,i[o]=t<0?t*t:0}}this._edt(r,0,0,b,C,b),this._edt(i,0,0,b,C,b);for(let t=0;t<v.length;t++)v[t]=Math.sqrt(r[t])-Math.sqrt(i[t]);const M=Math.ceil(b/this.pxDensity),R=Math.ceil(C/this.pxDensity),x=this.pxDensity*this.pxDensity,N=new Uint8ClampedArray(Math.max(M*R,0));for(let t=0;t<R;t++)for(let e=0;e<M;e++){let s=0;for(let i=0;i<this.pxDensity;i++)for(let r=0;r<this.pxDensity;r++)e+r>b||t+i>C||(s+=v[(this.pxDensity*t+i)*b+(this.pxDensity*e+r)]);const i=s/this.pxDensity/x/h+l;N[t*M+e]=Math.round(255-255*i)}const I=c*t.face_height(),T=Math.round(f-I+2*o),k=Math.round(p-o);return{buffer:N,rect:{width:Math.ceil(_/this.pxDensity),height:Math.ceil(m/this.pxDensity),top:Math.round(T/this.pxDensity),left:Math.round(k/this.pxDensity)}}}_edt(t,e,s,i,r,n){for(let o=e;o<e+i;o++)this._edt1d(t,s*n+o,n,r);for(let o=s;o<s+r;o++)this._edt1d(t,o*n+e,1,i)}_edt1d(t,e,s,i){const r=this.parabolaIndices,n=this.parabolaBoundaries,o=this.gridValues;r[0]=0,n[0]=-g,n[1]=g,o[0]=t[e];let a=0;for(let h=1;h<i;h++){o[h]=t[e+h*s];const i=h*h;let l;do{const t=r[a];l=(o[h]-o[t]+i-t*t)/(h-t)/2}while(l<=n[a]&&--a>-1);a++,r[a]=h,n[a]=l,n[a+1]=g}for(let a=0,h=0;a<i;a++){for(;n[h+1]<a;)h++;const i=r[h],l=a-i;t[e+a*s]=o[i]+l*l}}}var f=s(92602),_=s(51624);class m{constructor(t){this._rects=[],this._shapings=[],this._bitmaps=[];const e=new Map;let s=0;for(;t.next();)switch(t.tag()){case 1:{const i=t.getMessage();for(;i.next();)switch(i.tag()){case 3:{const t=i.getMessage();let r,n,o,a,h,l,c;for(;t.next();)switch(t.tag()){case 1:r=t.getUInt32();break;case 2:n=t.getBytes();break;case 3:o=t.getUInt32();break;case 4:a=t.getUInt32();break;case 5:h=t.getSInt32();break;case 6:l=t.getSInt32();break;case 7:c=t.getUInt32();break;default:t.skip()}if(t.release(),r){const t={width:o,height:a,left:h,top:l};this._rects[r]=t;const i={xOffset:0,yOffset:0,xAdvance:c,yAdvance:0};if(this._shapings[r]=i,n){const t=n.length;e.set(r,n),this._bitmaps[r]={start:s,length:t},s+=t}}break}default:i.skip()}i.release();break}default:t.skip()}this._buffer=new Uint8Array(s);for(const[t,s]of e)this._buffer.set(s,this._bitmaps[t].start)}getRect(t){return this._rects.at(t)}getShaping(t){return this._shapings.at(t)}getBitmap(t){const e=this._bitmaps.at(t);if(void 0!==e&&0!==e.length)return this._buffer.subarray(e.start,e.start+e.length)}}class w{constructor(){this._ranges=[]}getRange(t){return this._ranges.at(t)}addRange(t,e){this._ranges[t]=e}}class S{constructor(t){this._glyphInfo=new Map,this._baseURL=t,this._woff2URL=`${f.A.fontsUrl}/woff2/{fontstack}.woff2`}async fetchRange(t,e,s){const r=this._getFontStack(t);if(r.getRange(e))return;const n=256*e,o=n+255,a=this._baseURL.replace("{fontstack}",t).replace("{range}",n+"-"+o);return(0,i.A)(a,{responseType:"array-buffer",signal:s?.signal}).then(t=>{r.addRange(e,new m(new _.A(new Uint8Array(t.data),new DataView(t.data))))})}async preloadASCIIRange(t){const e=this._getFontStack(t),s=this._baseURL.replace("{fontstack}",t).replace("{range}","0-255"),r=await(0,i.A)(s,{responseType:"array-buffer"}),n=new m(new _.A(new Uint8Array(r.data),new DataView(r.data)));for(let t=0;t<=255;t++)e.getRange(t)||e.addRange(t,n)}getRange(t,e){const s=this._glyphInfo.get(t);return s?.getRange(Math.floor(e/256))}woffURL(t){return this._woff2URL.replace("{fontstack}",t)}_getFontStack(t){return this._glyphInfo.get(t)||this._glyphInfo.set(t,new w),this._glyphInfo.get(t)}}class b{constructor(t,e){this._width=0,this._height=0,this._free=[],this._width=t,this._height=e,this._free.push(new p.A(0,0,t,e))}get width(){return this._width}get height(){return this._height}allocate(t,e){if(t>this._width||e>this._height)return new p.A;let s=null,i=-1;for(let r=0;r<this._free.length;++r){const n=this._free[r];t<=n.width&&e<=n.height&&(null===s||n.y<=s.y&&n.x<=s.x)&&(s=n,i=r)}return null===s?new p.A:(this._free.splice(i,1),s.width<s.height?(s.width>t&&this._free.push(new p.A(s.x+t,s.y,s.width-t,e)),s.height>e&&this._free.push(new p.A(s.x,s.y+e,s.width,s.height-e))):(s.width>t&&this._free.push(new p.A(s.x+t,s.y,s.width-t,s.height)),s.height>e&&this._free.push(new p.A(s.x,s.y+e,t,s.height-e))),new p.A(s.x,s.y,t,e))}release(t){for(let e=0;e<this._free.length;++e){const s=this._free[e];if(s.y===t.y&&s.height===t.height&&s.x+s.width===t.x)s.width+=t.width;else if(s.x===t.x&&s.width===t.width&&s.y+s.height===t.y)s.height+=t.height;else if(t.y===s.y&&t.height===s.height&&t.x+t.width===s.x)s.x=t.x,s.width+=t.width;else{if(t.x!==s.x||t.width!==s.width||t.y+t.height!==s.y)continue;s.y=t.y,s.height+=t.height}this._free.splice(e,1),this.release(t)}this._free.push(t)}}s(49186),s(563),s(90629),s(799),s(21287),s(5427),s(44589),s(40804),s(93397),Math.PI,Math.LN2;var C=s(27071);function v(t,e,s,i){return 1|t<<1|(s?1:0)<<2|("Nearest"===i?1:0)<<3|e<<4}s(46858),s(63907),s(42553);const A="arial-unicode-ms-regular",M=/[\u0695\u0698\u06a9\u06af\u06b5\u06be\u06c6\u06cc\u06ce\u06d5\u06ca]|\p{Script=Thai}|\p{Script=Lao}|\p{Script=Tamil}|\p{Script=Khmer}/u,R=new Set(["Noto Sans Khmer","Noto Sans Lao","Noto Sans Myanmar","Noto Sans Thai"]);class x{constructor(){this._glyphSources=new Map,this._snapCoords=!0,this._currentPage=0,this._faces=new Map,this._facePromises=new Map,this._pbfRangePromises=new Map,this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._invalidFonts=new Set,this._preloadCache={},this._glyphSDFCreator=new y({sdfSizePx:24,sdfBufferPx:3,radius:8,cutoff:.25})}set remoteClient(t){this._client=t.createInvokeProxy();const e=this._client.getOptions();this._inited=this._init(e)}async rasterizeText(t,e,s){await this._inited;const i=e.symbol?(0,u.Z)(e):null;return i?{type:"rich-glyphs",runs:(await Promise.all(i.map(async e=>({fontSize:e.fontSize,characterSpacing:e.characterSpacing,color:e.color,glyphs:await this._rasterizeTextRun(t,e.font,e.text,s)})))).filter(t=>null!=t.glyphs)}:this._rasterizeTextRun(t,e.font,e.textString,s)}async _rasterizeTextRun(t,e,s,i){const r=(0,n.rK)(e),h=this._invalidFonts.has(r),l=!!(0,o.A)("esri-2d-force-complex-shaping"),c=!!(0,o.A)("esri-2d-complex-shaping")&&M.test(s),u=R.has(e.family),p=l||c||u,d=h?A:r;let g=await this.getGlyphItems(s,p,t,d,!1,i);return g||(((t,e="")=>{a.A.getLogger("esri.views.MapView").warnOnce(t,e)})(`Font ${r} is not available on the web, using "Arial Unicode MS Regular"`),this._invalidFonts.add(r),g=await this.getGlyphItems(s,p,t,A,!1,i)),g}async getGlyphItems(t,e,s,i,n,a){await this._inited;const h=this._getSource(s);let l,c,u;if((0,o.A)("esri-2d-stabilize-glyphs")&&await this.preloadASCIIGlyphCache(h,i).catch(()=>{}),e){const e=await this._getFace(h,i);if(!e)return null;let s=this._glyphCache.get(i);s||(s=new Map,this._glyphCache.set(i,s));const{shaping:r,isRTL:n}=this._shape(e,t);u=n,l=r.map(t=>this._getShapedGlyph(e,s,t)),c={baseline:e.baseline()/24,midline:e.midline()/24}}else{let e=this._pbfGlyphCache.get(i);e||(e=new Map,this._pbfGlyphCache.set(i,e));const[s,o,c]=(0,r.y)(t),p=(0,C.bX)(s);try{await this._fetchRanges(h,i,p,a)}catch{return null}u=o,l=p.map(t=>this._getPBFGlyph(e,h,i,t,n)).filter(t=>!!t)}const p=l.filter(t=>t.needsRecord);return p.length>0&&await this._client.recordGlyphs(p),{type:"glyphs",glyphs:l,faceInfo:c,isRightToLeft:u,sdfSize:24,sdfRadius:8,sdfPadding:3}}async _init(t){const{width:e,height:s,snapCoords:i}=await t;this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._binPack=new b(e,s),this._snapCoords=i,this._currentPage=0,this._initDecorationGlyphs()}_getShapedGlyph(t,e,s){let i,r,n=e.get(s.glyphId);if(!n){i=this._glyphSDFCreator.draw(t,s.glyphId);const o=this._glyphSDFCreator.sdfBufferPx;n={mosaicItem:{rect:this._recordGlyph(i?.rect,o),page:this._currentPage,sdf:!0,textureBinding:v(1,this._currentPage,!0)},glyphRect:i?.rect??{width:0,height:0,top:0,left:0}},e.set(s.glyphId,n),r=!0}return{mosaicItem:n.mosaicItem,rect:n.glyphRect,shaping:{xAdvance:s.xAdvance,yAdvance:s.yAdvance,xOffset:s.xOffset,yOffset:s.yOffset},code:s.isNewline?10:s.isWhitespace?32:NaN,sdf:i,needsRecord:r}}_getPBFGlyph(t,e,s,i,r=!1){let n,o,a=t.get(i);if(!a){const h=e.getRange(s,i),l=h?.getRect(i),c=h?.getShaping(i),u=h?.getBitmap(i);if(r&&(!l||!c))return;if(!l||!c)return I(i);n=u&&{buffer:u,rect:l},a={mosaicItem:{rect:u?this._recordGlyph(l,3):new p.A(0,0,0,0),sdf:!0,page:this._currentPage,textureBinding:v(1,this._currentPage,!0)},rect:l,shaping:c,code:i},o=!0,t.set(i,a)}const{mosaicItem:h,rect:l,shaping:c}=a;return{mosaicItem:h,rect:l,shaping:c,code:i,sdf:n,needsRecord:o}}_shape(t,e){const s=this._glyphSDFCreator.sdfSizePx,[i,n,o]=(0,r.y)(e,!1),a=new Uint32Array(Array.from(i).map((t,e)=>o.levels[o.targetToSource[e]]));return{shaping:t.shape(i,a,s),isRTL:n}}async _getFace(t,e,r){if(this._faces.has(e))return this._faces.get(e);const n=t.woffURL(e);return await N(this._facePromises,e,async()=>{const t=await(0,i.A)(n,{responseType:"array-buffer",...r}),o=(await async function(){return c||(c=async function(){const t=await s.e(1687).then(s.bind(s,31687));return await t.default({module_or_path:(0,l.s)("esri/libs/text/pkg/bundle_bg.wasm")}),t}()),c}()).Face.parseWoff2(new Uint8Array(t.data));this._faces.set(e,o)}),this._faces.get(e)}_getSource(t){return this._glyphSources.has(t)||this._glyphSources.set(t,new S(t)),this._glyphSources.get(t)}async _fetchRanges(t,e,s,i){const r=function(t){const e=new Set;for(const s of t)e.add(Math.floor(s/256));return e}(s),n=[];r.forEach(s=>{n.push(this._fetchRange(t,e,s,i))}),await Promise.all(n)}async _fetchRange(t,e,s,i){if(s>256)return;const r=e+s;return N(this._pbfRangePromises,r,()=>t.fetchRange(e,s,i))}_allocNewPage(){this._currentPage++,this._binPack=new b(this._binPack.width,this._binPack.height),this._initDecorationGlyphs()}_recordGlyph(t,e){const s=this._binPack;if(!t||0===t.width)return new p.A;const i=t.width+2*e,r=t.height+2*e;let n=i,o=r;this._snapCoords&&(n+=i%4?4-i%4:4,o+=r%4?4-r%4:4);const a=s.allocate(n,o);return a.isEmpty?(this._allocNewPage(),s.allocate(n,o)):a}_initDecorationGlyphs(){this._recordGlyph(d,3),this._recordGlyph(d,3)}preloadASCIIGlyphCache(t,e){const s=this._preloadCache[e];if(null!=s)return s;const i=t.preloadASCIIRange(e).then(async()=>{let s=this._pbfGlyphCache.get(e);s||(s=new Map,this._pbfGlyphCache.set(e,s));for(let i=0;i<256;i++)this._getPBFGlyph(s,t,e,i);const i=Array.from(this._pbfGlyphCache.get(e).values());await this._client.recordGlyphs(i)},t=>{throw delete this._preloadCache[e],t});return this._preloadCache[e]=i,i}}function N(t,e,s){return t.has(e)||t.set(e,s().finally(()=>{t.delete(e)}).catch(t=>{(0,h.jH)(t)})),t.get(e)}const I=t=>({mosaicItem:{rect:new p.A(0,0,0,0),sdf:!0,page:0},rect:{left:0,width:0,height:0,top:0},shaping:{xAdvance:0,yAdvance:0,xOffset:0,yOffset:0},code:t})},27071(t,e,s){s.d(e,{bX:()=>a,Qz:()=>o});var i=s(49186),r=s(53966),n=s(63907);function o(t){switch(t){case n.ld.UNSIGNED_BYTE:return Uint8Array;case n.ld.UNSIGNED_SHORT_4_4_4_4:return Uint16Array;case n.ld.FLOAT:return Float32Array;default:return void r.A.getLogger("esri.views.2d.engine.webgl.Utils").error(new i.A("webgl-utils",`Unable to handle type ${t}`))}}function a(t){const e=[];for(let s=0;s<t.length;s++)e.push(t.charCodeAt(s));return e}new Map},46858(t,e,s){s.d(e,{A:()=>n,J:()=>r});var i=s(799);function r(t,e){let s;if("string"==typeof t)s=(0,i.Wm)(t+`-seed(${e})`);else{let i=12;s=t^e;do{s=107*(s>>8^s)+i|0}while(0!==--i)}return(1+s/(1<<31))/2}function n(t){return Math.floor(r(t,o)*a)}const o=53290320,a=10},63907(t,e,s){const i={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},r={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},n=Object.values(r),o={FLOAT:i.FLOAT,UNSIGNED_BYTE:i.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:i.BYTE,UNSIGNED_SHORT:i.UNSIGNED_SHORT,SHORT:i.SHORT,UNSIGNED_INT:i.UNSIGNED_INT,INT:i.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};s.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,r,"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,n,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,o,"pe",0,i,"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
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7539],{68197(t,e,s){s.d(e,{A:()=>l});var i=s(40876),r=s(4576),n=s(34727),o=s(56507);function a(t){return(0,n.qE)((0,o.Vr)(t),0,255)}function h(t,e){const s=t.toString(16).padStart(2,"0");return e?s.slice(0,1):s}class l{static blendColors(t,e,s,i=new l){return i.r=Math.round(t.r+(e.r-t.r)*s),i.g=Math.round(t.g+(e.g-t.g)*s),i.b=Math.round(t.b+(e.b-t.b)*s),i.a=t.a+(e.a-t.a)*s,i._sanitize()}static fromRgb(t,e){const s=(0,i.lT)(t);return s?l.fromArray(s,e):null}static fromHex(t,e=new l){const s=(0,i.oW)(t);return s?l.fromArray(s,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const s=(0,i.Eq)(t);return s?l.fromArray(s,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,r.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,s=t?.digits??6,i=3===s||4===s,r=4===s||8===s,n=`#${h(this.r,i)}${h(this.g,i)}${h(this.b,i)}${r?h(Math.round(255*this.a),i):""}`;return e?n.toUpperCase():n}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),s=a(this.g),i=a(this.b);return 0===t||1!==this.a?[e,s,i,a(255*this.a)]:[e,s,i]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(t,e,s,i){this.r=t,this.g=e,this.b=s,this.a=i}}l.prototype.declaredClass="esri.Color"},40876(t,e,s){s.d(e,{Eq:()=>d,G1:()=>y,TS:()=>n,V6:()=>r,Vm:()=>g,ay:()=>h,c1:()=>f,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>w});const i={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(t){return!!i[t]||!!i[t.toLowerCase()]}function n(t){return i[t]??i[t.toLowerCase()]}function o(t){return[...n(t)]}function a(t,e,s){s<0&&++s,s>1&&--s;const i=6*s;return i<1?t+(e-t)*i:2*s<1?e:3*s<2?t+(e-t)*(2/3-s)*6:t}function h(t,e,s,i=1){const r=(t%360+360)%360/360,n=s<=.5?s*(e+1):s+e-s*e,o=2*s-n;return[Math.round(255*a(o,n,r+1/3)),Math.round(255*a(o,n,r)),Math.round(255*a(o,n,r-1/3)),i]}function l(t){const e=t.length>5,s=e?8:4,i=(1<<s)-1,r=e?1:17,n=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return n&&(h=o&i,o>>=s,a[3]=r*h/255),h=o&i,o>>=s,a[2]=r*h,h=o&i,o>>=s,a[1]=r*h,h=o&i,o>>=s,a[0]=r*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),s=parseInt(t.slice(2,3),16),i=parseInt(t.slice(3,4),16),r=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,s+16*s,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),s=e[1];if("rgb"===s&&3===t.length||"rgba"===s&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),p(e)}return p(t.map(t=>parseFloat(t)))}if("hsl"===s&&3===t.length||"hsla"===s&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function p(t){return t[0]=f(t[0]),t[1]=f(t[1]),t[2]=f(t[2]),t[3]=4===t.length?y(t[3]):1,t}function d(t){let e=r(t)?n(t):null;return e??=u(t),e??=c(t),e}function g(t){const e=d(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return m(t,0,1)}function f(t){return Math.round(m(t,0,255))}function m(t,e,s){return t=Number(t),isNaN(t)?s:t<e?e:t>s?s:t}const _=1/2.2;function w(t){return t**_}s.d(e,["iw",0,_])},563(t,e,s){s.d(e,{QueueProcessor:()=>l,SharedConcurrency:()=>u});var i=s(97768),r=s(17676),n=s(9775),o=s(32587),a=s(76030),h=s(44794);class l{constructor(t){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=t.process,this.concurrency=t.concurrency,this.sharedConcurrency=t.sharedConcurrency??p,this._queue=new n.A(t.peeker)}destroy(){this.clear(),this._schedule=(0,i.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(t){const e=this._controllers.get(t);e?.abort()}clear(){this._queue.clear();const t=Array.from(this._controllers.values());this._controllers.clear(),t.forEach(t=>t.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(t){this._deferreds.forEach((e,s)=>t(s))}_get(t){const e=this._deferreds.get(t);return e?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(t,e){const s=this._get(t);if(s)return s;const i=new AbortController,n=Promise.withResolvers(),o=e?(0,r.u7)(e,()=>i.abort()):null,a=(0,r.NY)(i.signal,()=>{const e=this._processingItems.get(t);e&&e.controller.abort(),h(),n.reject((0,r.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(t),this._queue.remove(t),this._scheduleNext()};return this._deferreds.set(t,n),this._controllers.set(t,i),n.promise.then(h,h),this._queue.push(t),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const t=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const e of t)this._queue.push(e.item),e.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const t=[];for(;this._queue.length;)t.push(this._queue.pop());return this.clear(),t}_removeItem(t){this._deferreds.delete(t),this._controllers.delete(t),this._processingItems.has(t)&&(this._processingItems.delete(t),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).resolve(e))}_processError(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).reject(e))}_canProcessFulfillment(t){return!!this._deferreds.get(t.item)&&this._processingItems.get(t.item)===t}_process(t){if(null==t)return;let e;const s=new AbortController,i=new c(t,s);this._processingItems.set(t,i),this.sharedConcurrency.current.value+=1;try{e=this.process(t,s.signal)}catch(t){this._processError(i,t)}(0,r.$X)(e)?(i.promise=e,e.then(t=>this._processResult(i,t),t=>this._processError(i,t))):this._processResult(i,e)}}class c{constructor(t,e){this.item=t,this.controller=e,this.promise=null}}class u{constructor(t){this.limit=t,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const p=new u(1/0)},32587(t,e,s){s.d(e,{A:()=>n});var i=s(62788),r=s(95488);class n{constructor(t){this._observable=new r.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(t)}get size(){return(0,i.gc)(this._observable),this._map.size}batch(t){try{this._batchDepth++,t()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(t){const e=this._map.delete(t);return e&&this._notify(),e}entries(){return(0,i.gc)(this._observable),this._map.entries()}forEach(t,e){(0,i.gc)(this._observable),this._map.forEach((s,i)=>t.call(e,s,i,this),e)}get(t){return(0,i.gc)(this._observable),this._map.get(t)}has(t){return(0,i.gc)(this._observable),this._map.has(t)}keys(){return(0,i.gc)(this._observable),this._map.keys()}set(t,e){return this._map.set(t,e),this._notify(),this}transformValues(t,e=this._map.keys()){this.batch(()=>{for(const s of e){if(!this._map.has(s))continue;const e=this._map.get(s),i=t(e,s);i!==e&&this.set(s,i)}})}values(){return(0,i.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,i.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},95488(t,e,s){s.d(e,{I:()=>r});var i=s(11406);class r extends i.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},21287(t,e,s){s.d(e,{M5:()=>u,eV:()=>c});var i=s(11254),r=s(49186),n=s(17676),o=s(84952),a=s(26306);let h=null,l=!0;function c(t,e,s,i){if(!e||!s)throw new Error("Cannot construct image data without dimensions");if(l)try{return new ImageData(t,e,s)}catch(t){l=!1}const r=function(t,e,s){return s||(h||(h=document.createElement("canvas"),h.width=1,h.height=1),s=h),s.getContext("2d").createImageData(t,e)}(e,s,i);return r.data.set(t,0),r}async function u(t,e){const{arrayBuffer:h,mediaType:l}=await async function(t,e){const s=(0,o.r$)(t);if(s?.isBase64)return{arrayBuffer:(0,a.M)(s.data),mediaType:s.mediaType};const r=await(0,i.A)(t,{responseType:"array-buffer",...e});return{arrayBuffer:r.data,mediaType:r.getHeader?.("Content-Type")??""}}(t,e),c="image/png"===l;if("image/gif"===l){const{isAnimatedGIF:t,parseGif:i}=await s.e(820).then(s.bind(s,10820));if(t(h))return i(h,e)}if(c){const{isAnimatedPNG:t,parseApng:i}=await s.e(2390).then(s.bind(s,22390));if(t(h))return i(h,e)}return async function(t,e){const s=window.URL.createObjectURL(t);try{const{data:t}=await(0,i.A)(s,{...e,responseType:"image"});return t}catch(t){if(!(0,n.zf)(t))throw new r.A("invalid-image",`Could not fetch requested image at ${s}`);throw t}finally{window.URL.revokeObjectURL(s)}}(new Blob([h],{type:l}),e)}},51624(t,e,s){s.d(e,{A:()=>l});var i=s(44208),r=s(69397),n=s(93687);const o=4294967296,a=new TextDecoder("utf-8"),h=(0,i.A)("safari")||(0,i.A)("ios")?6:(0,i.A)("ff")?12:32;class l{constructor(t,e,s=0,i=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,s,i)}[Symbol.dispose](){this.release()}_init(t,e,s,i){this._data=t,this._dataView=e,this._pos=s,this._end=i}get usedMemory(){return 64+(0,r.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,s=0,i=t?.byteLength??0){const r=l.pool.acquire();return r._init(t,e,s,i),r}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;const e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return t;throw new Error("Varint overflow")}getPackedEnd(){const t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){const t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){const t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){const t=this._dataView,e=this._pos,s=t.getUint32(e,!0)+t.getUint32(e+4,!0)*o;return this._skip(8),s}getSFixed64(){const t=this._dataView,e=this._pos,s=t.getUint32(e,!0)+t.getInt32(e+4,!0)*o;return this._skip(8),s}getDouble(){const t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){const t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){const t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){const t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){const t=this._getLength(),e=this._pos,s=this._toString(this._data,e,e+t);return this._skip(t),s}getBytes(){const t=this._getLength(),e=this._pos,s=this._toBytes(this._data,e,e+t);return this._skip(t),s}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,s,i){const r=this.getMessage(),n=t(r,e,s,i);return r.release(),n}processMessage(t){const e=this.getMessage(),s=t(e);return e.release(),s}getMessage(){const t=this._getLength(),e=l.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){const t=this._data;let e=this._pos,s=0,i=0;if(this._end-e>=10)do{if(i=t[e++],s|=127&i,!(128&i))break;if(i=t[e++],s|=(127&i)<<7,!(128&i))break;if(i=t[e++],s|=(127&i)<<14,!(128&i))break;if(i=t[e++],s|=(127&i)<<21,!(128&i))break;if(i=t[e++],s+=268435456*(127&i),!(128&i))break;if(i=t[e++],s+=34359738368*(127&i),!(128&i))break;if(i=t[e++],s+=4398046511104*(127&i),!(128&i))break;if(i=t[e++],s+=562949953421312*(127&i),!(128&i))break;if(i=t[e++],s+=72057594037927940*(127&i),!(128&i))break;if(i=t[e++],s+=0x8000000000000000*(127&i),!(128&i))break;throw new Error("Varint too long!")}while(0);else{let r=1;for(;e!==this._end&&(i=t[e],128&i);)++e,s+=(127&i)*r,r*=128;if(e===this._end)throw new Error("Varint overrun!");++e,s+=i*r}return this._pos=e,s}_decodeSVarint(){const t=this._data;let e,s=0,i=0;const r=1&t[this._pos];if(i=t[this._pos++],s|=127&i,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<7,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<14,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s|=(127&i)<<21,!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=268435456*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=34359738368*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(i=t[this._pos++],s+=4398046511104*(127&i),!(128&i))return r?-(s+1)/2:s/2;if(e=BigInt(s),i=t[this._pos++],e+=0x2000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);if(i=t[this._pos++],e+=0x100000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);if(i=t[this._pos++],e+=0x8000000000000000n*BigInt(127&i),!(128&i))return Number(r?-(e+1n)/2n:e/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,s){if((s=Math.min(this._end,s))-e>h){const i=t.subarray(e,s);return a.decode(i)}let i="",r="";for(let n=e;n<s;++n){const e=t[n];128&e?r+="%"+e.toString(16):(i+=decodeURIComponent(r)+String.fromCharCode(e),r="")}return r.length&&(i+=decodeURIComponent(r)),i}_toBytes(t,e,s){return s=Math.min(this._end,s),new Uint8Array(t.buffer,e,s-e)}static{this.pool=new n.A(()=>new l(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},90629(t,e,s){s.d(e,{Lz:()=>r,PN:()=>n,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a}),s(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(t){return t?t/72*96:0}function n(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(i);if(e){const s=Number(e[1]),i=e[3]&&e[3].toLowerCase(),r=t.startsWith("-"),o="px"===i?n(s):s;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,s=0){return[t,e,s]}},44794(t,e,s){s.d(e,{v:()=>a});var i=s(4718),r=s(62788),n=s(95488);class o{constructor(t,e){this._observable=new n.I,this._value=t,this._equalityFunction=e}get value(){return(0,r.gc)(this._observable),this._value}set value(t){this._equalityFunction(t,this._value)||(this._value=t,this._observable.notify())}mutate(t){t(this._value),this._observable.notify()}}function a(t,e=i.gh){return new o(t,e)}},83027(t,e,s){const i=s(29953).ho;s.d(e,["h",0,i])},48526(t,e,s){s.d(e,{A:()=>f});var i,r=s(5482),n=s(4576),o=s(4718),a=s(91429),h=s(5443),l=s(91075),c=s(86738),u=s(16930),p=s(90634),d=s(47610),g=s(56993),y=s(43937);let f=i=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:s,hasZ:i,spatialReference:r}=t;switch(e??=[],e?.at(0)?.length){case 4:i??=!0,s??=!0;break;case 3:i??=!0!==s,s??=!i;break;default:i??=!1,s??=!1}return r??=u.A.WGS84,{...t,hasM:s,hasZ:i,points:e,spatialReference:r}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,p.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:s,hasZ:r}=this;return new i({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:s,hasZ:r})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,s=t.spatialReference;return null!=e==(null!=s)&&!(null!=e&&null!=s&&!e.equals(s))&&(0,n.aI)(this.points,t.points,d.v6)}addPoint(t){return(0,g.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],s={x:e[0],y:e[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(s.z=e[2],i=3),this.hasM&&(s.m=e[i]),new c.A(s)}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,g.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,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,r.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,r.Cg)([(0,y.K)("points")],f.prototype,"writePoints",null),f=i=(0,r.Cg)([(0,a.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,s){s.d(e,{A:()=>g});var i,r=s(5482),n=s(4718),o=s(91429),a=s(5443),h=s(91075),l=s(86738),c=s(16930),u=s(90634),p=s(56993),d=s(43937);let g=i=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:s,hasZ:i,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:i??=!0,s??=!0;break;case 3:i??=!0!==s,s??=!i;break;default:i??=!1,s??=!1}return r??=c.A.WGS84,{...t,hasM:s,hasZ:i,paths:e,spatialReference:r}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,n.o8)(t)}get extent(){const t=(0,u.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,n.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,s=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const i=[];for(let e=0,s=t.length;e<s;e++)i[e]=t[e].toArray();e[s]=i}else e[s]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new i;return t.spatialReference=this.spatialReference,t.paths=(0,n.o8)(this.paths),t.curvePaths=(0,n.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const s=this.paths[t][e],i=this.hasZ,r=this.hasM;return i&&!r?new l.A(s[0],s[1],s[2],void 0,this.spatialReference):r&&!i?new l.A(s[0],s[1],void 0,s[2],this.spatialReference):i&&r?new l.A(s[0],s[1],s[2],s[3],this.spatialReference):new l.A(s[0],s[1],this.spatialReference)}insertPoint(t,e,s){return this._validateInputs(t,e,!0)?((0,p.h)(this,s),Array.isArray(s)||(s=s.toArray()),this.paths[t].splice(e,0,s),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],s=this.spatialReference,i=e.map(t=>new l.A(t,s));return this.notifyChange("paths"),i}removePoint(t,e){if(!this._validateInputs(t,e))return null;const s=new l.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),s}setPoint(t,e,s){return this._validateInputs(t,e)?((0,p.h)(this,s),Array.isArray(s)||(s=s.toArray()),this.paths[t][e]=s,this.notifyChange("paths"),this):this}_validateInputs(t,e,s=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const i=this.paths[t];if(s&&(e<0||e>i.length))return!1;if(!s&&(e<0||e>=i.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],g.prototype,"curvePaths",void 0),(0,r.Cg)([(0,d.K)("curvePaths")],g.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],g.prototype,"paths",void 0),(0,r.Cg)([(0,d.K)("paths")],g.prototype,"writePaths",null),g=i=(0,r.Cg)([(0,o.$K)("esri.geometry.Polyline")],g),g.prototype.toJSON.isDefaultToJSON=!0},60408(t,e,s){function i(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function r(t){return void 0!==t.points}function n(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function h(t){return"object"==typeof t&&"vertexAttributes"in t}function l(t){return t?n(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":i(t)?"esriGeometryEnvelope":r(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function u(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}s.d(e,{$B:()=>l,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>r,W0:()=>u,ZC:()=>i,fT:()=>n,uW:()=>h})},65864(t,e,s){s.d(e,{rS:()=>c,xD:()=>p});var i=s(5443),r=s(91075),n=s(48526),o=s(86738),a=s(39829),h=s(82799),l=s(60408);function c(t){return null==t?null:t instanceof r.A?t:(0,l.fT)(t)?o.A.fromJSON(t):(0,l.Rg)(t)?h.A.fromJSON(t):(0,l.Bi)(t)?a.A.fromJSON(t):(0,l.U9)(t)?n.A.fromJSON(t):(0,l.ZC)(t)?i.A.fromJSON(t):null}const u={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:i.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function p(t){return t&&u[t]||null}},97770(t,e,s){s.d(e,{Ey:()=>N,F8:()=>R,J2:()=>k,Yq:()=>P,_m:()=>L,iS:()=>I,wj:()=>z});var i=s(66552),r=s(73444),n=s(98623),o=s(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},l={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},p={year:"numeric",month:"short",day:"numeric"},d={year:"numeric",month:"long",weekday:"long",day:"numeric"},g={hour:"numeric",minute:"numeric"},y={...g,second:"numeric"},f={hourCycle:"h23"},m={...g,...f},_={...y,...f},w={"short-date":c,"short-date-short-time":{...c,...g},"short-date-short-time-24":{...c,...m},"short-date-long-time":{...c,...y},"short-date-long-time-24":{...c,..._},"short-date-le":c,"short-date-le-short-time":{...c,...g},"short-date-le-short-time-24":{...c,...m},"short-date-le-long-time":{...c,...y},"short-date-le-long-time-24":{...c,..._},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...g},"long-month-day-year-short-time-24":{...u,...m},"long-month-day-year-long-time":{...u,...y},"long-month-day-year-long-time-24":{...u,..._},"day-short-month-year":p,"day-short-month-year-short-time":{...p,...g},"day-short-month-year-short-time-24":{...p,...m},"day-short-month-year-long-time":{...p,...y},"day-short-month-year-long-time-24":{...p,..._},"long-date":d,"long-date-short-time":{...d,...g},"long-date-short-time-24":{...d,...m},"long-date-long-time":{...d,...y},"long-date-long-time-24":{...d,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":g,"long-time":y},b=(0,i.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"}),S={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},v=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),C=v.find(({type:t})=>"month"===t)?.value.toLowerCase();function A(){const t=(0,r.lR)();return(t&&S[t])??(0,r.QC)()}"mart"!==C&&(S.bs="sr-Latn-CS");let x=new WeakMap;const M=w["short-date-short-time"];function k(t){return w[t]}function L(t){const{dateStyle:e,timeStyle:s,hour12:i,year:r,month:n}=t,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=n||void 0),s&&!o.year&&(o.timeStyle=s,o.hour12="auto"===i?void 0:"always"===i),o}function P(t,e=M){return function(t){let e=x.get(t);if(!e){const s=A(),i=z(t.timeZone??"system"),r={...t,timeZone:i};e=new Intl.DateTimeFormat(s,r),x.set(t,e)}return e}(e).format(t)}function I(t,e=M){return P(new Date(t),{...e,...l,...h})}function R(t,e=M){return P(new Date(`1970-01-01T${t}Z`),{...e,...l,...a})}function N(t,e=M){const s=o.c9.fromISO(t,{setZone:!0});if(!s.isValid)return t;if(e.timeZone)return P(s.toJSDate(),e);const i=0===s.offset?"UTC":e.timeZone,r={...e,timeZone:i};return s.toLocaleString(r,{locale:A()})}function z(t){switch(t){case"system":return n.N;case n.L:return"UTC";default:return t}}(0,r.Ml)(()=>{x=new WeakMap}),s.d(e,["_v",0,b])},73444(t,e,s){s.d(e,{JK:()=>h,Ml:()=>f,QC:()=>u,lR:()=>c,oQ:()=>g});var i=s(36563);let r;s(44208);const n=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const t=o?.getAttribute("lang"),e=globalThis.navigator?.language;return n??t??e??"en"}function h(){return void 0===r&&(r=a()),r}const l=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=h()){return p(t)?.language}function u(t=h()){const e=p(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function p(t=h()){return l.exec(t)?.groups}const d=[];function g(t){return d.push(t),(0,i.hA)(()=>{d.splice(d.indexOf(t),1)})}new Map;const y=[];function f(t){return y.push(t),(0,i.hA)(()=>y.splice(y.indexOf(t),1))}function m(){const t=a();r!==t&&([...y].forEach(e=>e(t)),r=t,[...d].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",m),o&&new MutationObserver(()=>{m()}).observe(o,{attributeFilter:["lang"]})},65851(t,e,s){s.d(e,{A:()=>a});var i=s(5482),r=s(91429),n=s(31593),o=s(20378);let a=class extends o.A{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,i.Cg)([(0,r.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":n.A}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,i.Cg)([(0,r.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,i.Cg)([(0,r.$K)("esri.symbols.FillSymbol")],a)},11831(t,e,s){s.d(e,{A:()=>l});var i,r=s(5482),n=s(25482),o=s(90629),a=s(91429),h=s(5760);let l=i=class extends n.o{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(t){this._set("size",t)}castSize(t){return(0,o.cr)(t)}clone(){return new i({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,r.Cg)([(0,a.MZ)({type:h.h9,json:{default:"none",write:!0}})],l.prototype,"decoration",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],l.prototype,"family",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:(t,e,s)=>({enabled:!s||!s.textSymbol3D})}}})],l.prototype,"size",null),(0,r.Cg)([(0,a.wg)("size")],l.prototype,"castSize",null),(0,r.Cg)([(0,a.MZ)({type:h._R,json:{default:"normal",write:!0}})],l.prototype,"style",void 0),(0,r.Cg)([(0,a.MZ)({type:h.NM,json:{default:"normal",write:!0}})],l.prototype,"weight",void 0),l=i=(0,r.Cg)([(0,a.$K)("esri.symbols.Font")],l)},89420(t,e,s){s.d(e,{A:()=>h});var i=s(5482),r=s(90629),n=s(91429),o=s(56507),a=s(20378);let h=class extends a.A{constructor(t){super(t),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get size(){return this._get("size")??9}set size(t){this._set("size",t)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,i.Cg)([(0,n.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],h.prototype,"angle",void 0),(0,i.Cg)([(0,n.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],h.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"xoffset",null),(0,i.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"yoffset",null),(0,i.Cg)([(0,n.MZ)({cast:t=>"auto"===t?t:(0,o.GB)((0,r.cr)(t)),json:{write:!0}})],h.prototype,"size",null),h=(0,i.Cg)([(0,n.$K)("esri.symbols.MarkerSymbol")],h)},94985(t,e,s){s.d(e,{A:()=>d});var i,r=s(5482),n=s(68197),o=s(66552),a=s(4718),h=s(91429),l=s(65851),c=s(31593),u=s(93223);const p=new o.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let d=i=class extends l.A{constructor(...t){super(...t),this.color=new n.A([0,0,0,.25]),this.outline=new c.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,s){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.style=t),e&&(i.outline=e),s&&(i.color=s),i}clone(){return new i({color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,r.Cg)([(0,h.MZ)({type:n.A})],d.prototype,"color",void 0),(0,r.Cg)([(0,h.MZ)()],d.prototype,"outline",void 0),(0,r.Cg)([(0,u.e)({esriSFS:"simple-fill"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({type:p.apiValues,json:{read:p.read,write:p.write}})],d.prototype,"style",void 0),d=i=(0,r.Cg)([(0,h.$K)("esri.symbols.SimpleFillSymbol")],d)},31593(t,e,s){s.d(e,{A:()=>S});var i=s(5482),r=s(66552),n=s(4718),o=s(90629),a=s(91429),h=s(20378),l=s(93223);let c=class extends h.A{constructor(t){super(t),this.type="simple-line"}get width(){return this._get("width")??.75}set width(t){this._set("width",t)}hash(){return`${this.type}.${this.width}`}};(0,i.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:o.cr,json:{write:!0}})],c.prototype,"width",null),c=(0,i.Cg)([(0,a.$K)("esri.symbols.LineSymbol")],c);var u,p=s(68197),d=s(25482),g=s(83213),y=s(43937),f=s(36005);let m=u=class extends d.o{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,s,i){e[s]="web-map"===i?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,s,i){"web-map"===i?.origin||(e[s]=t)}clone(){return new u({color:(0,n.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,i.Cg)([(0,a.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],m.prototype,"placement",void 0),(0,i.Cg)([(0,l.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,a.MZ)({json:{origins:{"web-map":{write:!1}}}})],m.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:g.z})],m.prototype,"style",void 0),(0,i.Cg)([(0,y.K)("style")],m.prototype,"writeStyle",null),(0,i.Cg)([(0,a.MZ)({type:p.A,value:null,json:{write:{allowNull:!0}}})],m.prototype,"color",null),(0,i.Cg)([(0,f.w)("color")],m.prototype,"readColor",null),(0,i.Cg)([(0,y.K)("color")],m.prototype,"writeColor",null),m=u=(0,i.Cg)([(0,a.$K)("esri.symbols.LineSymbolMarker")],m);const _=m;var w;const b=new r.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let S=w=class extends c{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,s,i,r,n){if(t&&"string"!=typeof t)return t;const a={};return null!=t&&(a.style=t),null!=e&&(a.color=e),null!=s&&(a.width=(0,o.cr)(s)),null!=i&&(a.cap=i),null!=r&&(a.join=r),null!=n&&(a.miterLimit=(0,o.cr)(n)),a}clone(){return new w({color:(0,n.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,i.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],S.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:b.apiValues,json:{read:b.read,write:b.write}})],S.prototype,"style",void 0),(0,i.Cg)([(0,a.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,s)=>({enabled:"round"!==t&&null==s?.origin})}}})],S.prototype,"cap",void 0),(0,i.Cg)([(0,a.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,s)=>({enabled:"round"!==t&&null==s?.origin})}}})],S.prototype,"join",void 0),(0,i.Cg)([(0,a.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":_}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],S.prototype,"marker",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:!1,write:!1}})],S.prototype,"miterLimit",void 0),S=w=(0,i.Cg)([(0,a.$K)("esri.symbols.SimpleLineSymbol")],S)},53930(t,e,s){s.d(e,{A:()=>y});var i,r=s(5482),n=s(68197),o=s(66552),a=s(4718),h=s(90629),l=s(91429),c=s(89420),u=s(31593),p=s(43937),d=s(93223);const g=new o.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let y=i=class extends c.A{constructor(...t){super(...t),this.color=new n.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new u.A}normalizeCtorArgs(t,e,s,i){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),null!=e&&(r.size=(0,h.cr)(e)),s&&(r.outline=s),i&&(r.color=i),r}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}get size(){return this._get("size")??12}set size(t){this._set("size",t)}set path(t){this.style="path",this._set("path",t)}clone(){return new i({angle:this.angle,color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,r.Cg)([(0,l.MZ)({type:n.A})],y.prototype,"color",void 0),(0,r.Cg)([(0,p.K)("color")],y.prototype,"writeColor",null),(0,r.Cg)([(0,d.e)({esriSMS:"simple-marker"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)()],y.prototype,"size",null),(0,r.Cg)([(0,l.MZ)({type:g.apiValues,json:{read:g.read,write:g.write}})],y.prototype,"style",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],y.prototype,"path",null),(0,r.Cg)([(0,l.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.A}},json:{default:null,write:!0}})],y.prototype,"outline",void 0),y=i=(0,r.Cg)([(0,l.$K)("esri.symbols.SimpleMarkerSymbol")],y)},20378(t,e,s){s.d(e,{A:()=>u});var i=s(5482),r=s(68197),n=s(66552),o=s(25482),a=s(91429),h=s(36005);const l=new n.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let c=0,u=class extends o.o{constructor(t){super(t),this.id="sym"+c++,this.type=null,this.color=new r.A([0,0,0,1])}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}async collectRequiredFields(t,e){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,i.Cg)([(0,a.MZ)({type:l.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:l.write,isRequired:!0}}})],u.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:r.A,json:{write:{allowNull:!0}}})],u.prototype,"color",void 0),(0,i.Cg)([(0,h.w)("color")],u.prototype,"readColor",null),u=(0,i.Cg)([(0,a.$K)("esri.symbols.Symbol")],u)},68249(t,e,s){s.d(e,{A:()=>g});var i,r=s(5482),n=s(68197),o=s(4718),a=s(90629),h=s(91429),l=s(11831),c=s(20378),u=s(5760),p=s(93223),d=s(43937);let g=i=class extends c.A{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new l.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(t,e,s){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.text=t),e&&(i.font=e),s&&(i.color=s),i}get haloSize(){return this._get("haloSize")??null}set haloSize(t){this._set("haloSize",t)}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(t){this._set("lineWidth",t)}writeLineWidth(t,e,s,i){i&&"string"!=typeof i?i.origin:e[s]=t}castLineWidth(t){return(0,a.cr)(t)}writeLineHeight(t,e,s,i){i&&"string"!=typeof i?i.origin:e[s]=t}clone(){return new i({angle:this.angle,backgroundColor:(0,o.o8)(this.backgroundColor),borderLineColor:(0,o.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,o.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,o.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"backgroundColor",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"borderLineColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0},cast:a.cr})],g.prototype,"borderLineSize",void 0),(0,r.Cg)([(0,h.MZ)({type:l.A,json:{write:!0}})],g.prototype,"font",void 0),(0,r.Cg)([(0,h.MZ)({...u.rM,json:{write:!0}})],g.prototype,"horizontalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"kerning",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],g.prototype,"haloColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"haloSize",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rightToLeft",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"rotated",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{write:!0}})],g.prototype,"text",void 0),(0,r.Cg)([(0,p.e)({esriTS:"text"},{readOnly:!0})],g.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({...u.x0,json:{write:!0}})],g.prototype,"verticalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"xoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],g.prototype,"yoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],g.prototype,"angle",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],g.prototype,"width",void 0),(0,r.Cg)([(0,h.MZ)({type:Number})],g.prototype,"lineWidth",null),(0,r.Cg)([(0,d.K)("lineWidth")],g.prototype,"writeLineWidth",null),(0,r.Cg)([(0,h.wg)("lineWidth")],g.prototype,"castLineWidth",null),(0,r.Cg)([(0,h.MZ)(u.Tb)],g.prototype,"lineHeight",void 0),(0,r.Cg)([(0,d.K)("lineHeight")],g.prototype,"writeLineHeight",null),g=i=(0,r.Cg)([(0,h.$K)("esri.symbols.TextSymbol")],g)},59868(t,e,s){var i=s(94985),r=s(31593),n=s(53930),o=s(68249),a=s(93470);const h=n.A.fromJSON(a.Cb),l=r.A.fromJSON(a.yM),c=i.A.fromJSON(a.WR),u=o.A.fromJSON(a.JZ);n.A.fromJSON(a.nC),r.A.fromJSON(a.HW),i.A.fromJSON(a.b6),s.d(e,["A7",0,l,"Cx",0,c,"Hk",0,u,"UK",0,h])},93470(t,e,s){const i=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i};s.d(e,["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,i,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,n])},83213(t,e,s){s.d(e,["x",0,["begin","end","begin-end"],"z",0,["arrow","circle","square","diamond","cross","x"]])},5760(t,e,s){var i=s(34727),r=s(56507);const n={type:Number,cast:t=>{const e=(0,r.GB)(t);return 0===e?1:(0,i.qE)(e,.1,4)},nonNullable:!0};s.d(e,["NM",0,["normal","lighter","bold","bolder"],"Tb",0,n,"_R",0,["normal","italic","oblique"],"h9",0,["none","underline","line-through"],"rM",0,{type:["left","right","center"],nonNullable:!0},"x0",0,{type:["baseline","top","middle","bottom"],nonNullable:!0}])},98623(t,e,s){const i=Intl.DateTimeFormat().resolvedOptions().timeZone;s.d(e,["L",0,"unknown","N",0,i])},93602(t,e,s){s.r(e),s.d(e,{default:()=>k});var i=s(11254),r=s(6371),n=s(57582),o=s(44208),a=s(53966),h=s(17676),l=s(2741);let c=null;var u=s(69754),p=(s(83027),s(18989));s(25530),s(67171);const d={width:5,height:2,left:0,top:0};new p.A(0,0,11,8),new p.A(11,0,11,8);const g=1e20;class y{constructor(t){this.pxDensity=4,this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.rasterSizePx=this.pxDensity*this.sdfSizePx,this.rasterBufferPx=this.pxDensity*this.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;const e=this.pxDensity*t.sdfSizePx*3;this.canvasSize=e;const s=new OffscreenCanvas(e,e);this.context=s.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.gridValues=new Float64Array(e),this.parabolaBoundaries=new Float64Array(e+1),this.parabolaIndices=new Uint16Array(e)}draw(t,e){const{context:s,gridInner:i,gridOuter:r,rasterSizePx:n,rasterBufferPx:o,canvasSize:a,radius:h,cutoff:l}=this,c=n/t.units_per_em();this.context.fillStyle="black",this.context.strokeStyle="black",this.context.resetTransform(),this.context.clearRect(0,0,a,a),this.context.translate(n,n),this.context.scale(c,c);const u=t.paintCurves(e,s);if(!u)return null;const p=u.xMin*c,d=u.xMax*c,y=u.yMin*c,f=u.yMax*c;u.free();const m=Math.ceil(d-p),_=Math.ceil(f-y),w=Math.floor(n+p-o),b=Math.floor(n+y-o),S=m+2*o,v=_+2*o,C=new Float32Array(Math.max(S*v,0)),A=s.getImageData(w,b,S,v);r.fill(g,0,C.length),i.fill(0,0,C.length);for(let t=0;t<v;t++)for(let e=0;e<S;e++){const s=v-1-t,n=A.data[4*(s*S+e)+3]/255;if(0===n)continue;const o=t*S+e;if(1===n)r[o]=0,i[o]=g;else{const t=.5-n;r[o]=t>0?t*t:0,i[o]=t<0?t*t:0}}this._edt(r,0,0,S,v,S),this._edt(i,0,0,S,v,S);for(let t=0;t<C.length;t++)C[t]=Math.sqrt(r[t])-Math.sqrt(i[t]);const x=Math.ceil(S/this.pxDensity),M=Math.ceil(v/this.pxDensity),k=this.pxDensity*this.pxDensity,L=new Uint8ClampedArray(Math.max(x*M,0));for(let t=0;t<M;t++)for(let e=0;e<x;e++){let s=0;for(let i=0;i<this.pxDensity;i++)for(let r=0;r<this.pxDensity;r++)e+r>S||t+i>v||(s+=C[(this.pxDensity*t+i)*S+(this.pxDensity*e+r)]);const i=s/this.pxDensity/k/h+l;L[t*x+e]=Math.round(255-255*i)}const P=c*t.face_height(),I=Math.round(f-P+2*o),R=Math.round(p-o);return{buffer:L,rect:{width:Math.ceil(m/this.pxDensity),height:Math.ceil(_/this.pxDensity),top:Math.round(I/this.pxDensity),left:Math.round(R/this.pxDensity)}}}_edt(t,e,s,i,r,n){for(let o=e;o<e+i;o++)this._edt1d(t,s*n+o,n,r);for(let o=s;o<s+r;o++)this._edt1d(t,o*n+e,1,i)}_edt1d(t,e,s,i){const r=this.parabolaIndices,n=this.parabolaBoundaries,o=this.gridValues;r[0]=0,n[0]=-g,n[1]=g,o[0]=t[e];let a=0;for(let h=1;h<i;h++){o[h]=t[e+h*s];const i=h*h;let l;do{const t=r[a];l=(o[h]-o[t]+i-t*t)/(h-t)/2}while(l<=n[a]&&--a>-1);a++,r[a]=h,n[a]=l,n[a+1]=g}for(let a=0,h=0;a<i;a++){for(;n[h+1]<a;)h++;const i=r[h],l=a-i;t[e+a*s]=o[i]+l*l}}}var f=s(92602),m=s(51624);class _{constructor(t){this._rects=[],this._shapings=[],this._bitmaps=[];const e=new Map;let s=0;for(;t.next();)switch(t.tag()){case 1:{const i=t.getMessage();for(;i.next();)switch(i.tag()){case 3:{const t=i.getMessage();let r,n,o,a,h,l,c;for(;t.next();)switch(t.tag()){case 1:r=t.getUInt32();break;case 2:n=t.getBytes();break;case 3:o=t.getUInt32();break;case 4:a=t.getUInt32();break;case 5:h=t.getSInt32();break;case 6:l=t.getSInt32();break;case 7:c=t.getUInt32();break;default:t.skip()}if(t.release(),r){const t={width:o,height:a,left:h,top:l};this._rects[r]=t;const i={xOffset:0,yOffset:0,xAdvance:c,yAdvance:0};if(this._shapings[r]=i,n){const t=n.length;e.set(r,n),this._bitmaps[r]={start:s,length:t},s+=t}}break}default:i.skip()}i.release();break}default:t.skip()}this._buffer=new Uint8Array(s);for(const[t,s]of e)this._buffer.set(s,this._bitmaps[t].start)}getRect(t){return this._rects.at(t)}getShaping(t){return this._shapings.at(t)}getBitmap(t){const e=this._bitmaps.at(t);if(void 0!==e&&0!==e.length)return this._buffer.subarray(e.start,e.start+e.length)}}class w{constructor(){this._ranges=[]}getRange(t){return this._ranges.at(t)}addRange(t,e){this._ranges[t]=e}}class b{constructor(t){this._glyphInfo=new Map,this._baseURL=t,this._woff2URL=`${f.A.fontsUrl}/woff2/{fontstack}.woff2`}async fetchRange(t,e,s){const r=this._getFontStack(t);if(r.getRange(e))return;const n=256*e,o=n+255,a=this._baseURL.replace("{fontstack}",t).replace("{range}",n+"-"+o);return(0,i.A)(a,{responseType:"array-buffer",signal:s?.signal}).then(t=>{r.addRange(e,new _(new m.A(new Uint8Array(t.data),new DataView(t.data))))})}async preloadASCIIRange(t){const e=this._getFontStack(t),s=this._baseURL.replace("{fontstack}",t).replace("{range}","0-255"),r=await(0,i.A)(s,{responseType:"array-buffer"}),n=new _(new m.A(new Uint8Array(r.data),new DataView(r.data)));for(let t=0;t<=255;t++)e.getRange(t)||e.addRange(t,n)}getRange(t,e){const s=this._glyphInfo.get(t);return s?.getRange(Math.floor(e/256))}woffURL(t){return this._woff2URL.replace("{fontstack}",t)}_getFontStack(t){return this._glyphInfo.get(t)||this._glyphInfo.set(t,new w),this._glyphInfo.get(t)}}class S{constructor(t,e){this._width=0,this._height=0,this._free=[],this._width=t,this._height=e,this._free.push(new p.A(0,0,t,e))}get width(){return this._width}get height(){return this._height}allocate(t,e){if(t>this._width||e>this._height)return new p.A;let s=null,i=-1;for(let r=0;r<this._free.length;++r){const n=this._free[r];t<=n.width&&e<=n.height&&(null===s||n.y<=s.y&&n.x<=s.x)&&(s=n,i=r)}return null===s?new p.A:(this._free.splice(i,1),s.width<s.height?(s.width>t&&this._free.push(new p.A(s.x+t,s.y,s.width-t,e)),s.height>e&&this._free.push(new p.A(s.x,s.y+e,s.width,s.height-e))):(s.width>t&&this._free.push(new p.A(s.x+t,s.y,s.width-t,s.height)),s.height>e&&this._free.push(new p.A(s.x,s.y+e,t,s.height-e))),new p.A(s.x,s.y,t,e))}release(t){for(let e=0;e<this._free.length;++e){const s=this._free[e];if(s.y===t.y&&s.height===t.height&&s.x+s.width===t.x)s.width+=t.width;else if(s.x===t.x&&s.width===t.width&&s.y+s.height===t.y)s.height+=t.height;else if(t.y===s.y&&t.height===s.height&&t.x+t.width===s.x)s.x=t.x,s.width+=t.width;else{if(t.x!==s.x||t.width!==s.width||t.y+t.height!==s.y)continue;s.y=t.y,s.height+=t.height}this._free.splice(e,1),this.release(t)}this._free.push(t)}}s(49186),s(563),s(90629),s(799),s(21287),s(5427),s(44589),s(40804),s(93397),Math.PI,Math.LN2;var v=s(27071);function C(t,e,s,i){return 1|t<<1|(s?1:0)<<2|("Nearest"===i?1:0)<<3|e<<4}s(46858),s(63907),s(42553);const A="arial-unicode-ms-regular",x=/[\u0695\u0698\u06a9\u06af\u06b5\u06be\u06c6\u06cc\u06ce\u06d5\u06ca]|\p{Script=Thai}|\p{Script=Lao}|\p{Script=Tamil}|\p{Script=Khmer}/u,M=new Set(["Noto Sans Khmer","Noto Sans Lao","Noto Sans Myanmar","Noto Sans Thai"]);class k{constructor(){this._glyphSources=new Map,this._snapCoords=!0,this._currentPage=0,this._faces=new Map,this._facePromises=new Map,this._pbfRangePromises=new Map,this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._invalidFonts=new Set,this._preloadCache={},this._glyphSDFCreator=new y({sdfSizePx:24,sdfBufferPx:3,radius:8,cutoff:.25})}set remoteClient(t){this._client=t.createInvokeProxy();const e=this._client.getOptions();this._inited=this._init(e)}async rasterizeText(t,e,s){await this._inited;const i=e.symbol?(0,u.Z)(e):null;return i?{type:"rich-glyphs",runs:(await Promise.all(i.map(async e=>({fontSize:e.fontSize,characterSpacing:e.characterSpacing,color:e.color,glyphs:await this._rasterizeTextRun(t,e.font,e.text,s)})))).filter(t=>null!=t.glyphs)}:this._rasterizeTextRun(t,e.font,e.textString,s)}async _rasterizeTextRun(t,e,s,i){const r=(0,n.rK)(e),h=this._invalidFonts.has(r),l=!!(0,o.A)("esri-2d-force-complex-shaping"),c=!!(0,o.A)("esri-2d-complex-shaping")&&x.test(s),u=M.has(e.family),p=l||c||u,d=h?A:r;let g=await this.getGlyphItems(s,p,t,d,!1,i);return g||(((t,e="")=>{a.A.getLogger("esri.views.MapView").warnOnce(t,e)})(`Font ${r} is not available on the web, using "Arial Unicode MS Regular"`),this._invalidFonts.add(r),g=await this.getGlyphItems(s,p,t,A,!1,i)),g}async getGlyphItems(t,e,s,i,n,a){await this._inited;const h=this._getSource(s);let l,c,u;if((0,o.A)("esri-2d-stabilize-glyphs")&&await this.preloadASCIIGlyphCache(h,i).catch(()=>{}),e){const e=await this._getFace(h,i);if(!e)return null;let s=this._glyphCache.get(i);s||(s=new Map,this._glyphCache.set(i,s));const{shaping:r,isRTL:n}=this._shape(e,t);u=n,l=r.map(t=>this._getShapedGlyph(e,s,t)),c={baseline:e.baseline()/24,midline:e.midline()/24}}else{let e=this._pbfGlyphCache.get(i);e||(e=new Map,this._pbfGlyphCache.set(i,e));const[s,o,c]=(0,r.y)(t),p=(0,v.bX)(s);try{await this._fetchRanges(h,i,p,a)}catch{return null}u=o,l=p.map(t=>this._getPBFGlyph(e,h,i,t,n)).filter(t=>!!t)}const p=l.filter(t=>t.needsRecord);return p.length>0&&await this._client.recordGlyphs(p),{type:"glyphs",glyphs:l,faceInfo:c,isRightToLeft:u,sdfSize:24,sdfRadius:8,sdfPadding:3}}async _init(t){const{width:e,height:s,snapCoords:i}=await t;this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._binPack=new S(e,s),this._snapCoords=i,this._currentPage=0,this._initDecorationGlyphs()}_getShapedGlyph(t,e,s){let i,r,n=e.get(s.glyphId);if(!n){i=this._glyphSDFCreator.draw(t,s.glyphId);const o=this._glyphSDFCreator.sdfBufferPx;n={mosaicItem:{rect:this._recordGlyph(i?.rect,o),page:this._currentPage,sdf:!0,textureBinding:C(1,this._currentPage,!0)},glyphRect:i?.rect??{width:0,height:0,top:0,left:0}},e.set(s.glyphId,n),r=!0}return{mosaicItem:n.mosaicItem,rect:n.glyphRect,shaping:{xAdvance:s.xAdvance,yAdvance:s.yAdvance,xOffset:s.xOffset,yOffset:s.yOffset},code:s.isNewline?10:s.isWhitespace?32:NaN,sdf:i,needsRecord:r}}_getPBFGlyph(t,e,s,i,r=!1){let n,o,a=t.get(i);if(!a){const h=e.getRange(s,i),l=h?.getRect(i),c=h?.getShaping(i),u=h?.getBitmap(i);if(r&&(!l||!c))return;if(!l||!c)return P(i);n=u&&{buffer:u,rect:l},a={mosaicItem:{rect:u?this._recordGlyph(l,3):new p.A(0,0,0,0),sdf:!0,page:this._currentPage,textureBinding:C(1,this._currentPage,!0)},rect:l,shaping:c,code:i},o=!0,t.set(i,a)}const{mosaicItem:h,rect:l,shaping:c}=a;return{mosaicItem:h,rect:l,shaping:c,code:i,sdf:n,needsRecord:o}}_shape(t,e){const s=this._glyphSDFCreator.sdfSizePx,[i,n,o]=(0,r.y)(e,!1),a=new Uint32Array(Array.from(i).map((t,e)=>o.levels[o.targetToSource[e]]));return{shaping:t.shape(i,a,s),isRTL:n}}async _getFace(t,e,r){if(this._faces.has(e))return this._faces.get(e);const n=t.woffURL(e);return await L(this._facePromises,e,async()=>{const t=await(0,i.A)(n,{responseType:"array-buffer",...r}),o=(await async function(){return c||(c=async function(){const t=await s.e(1687).then(s.bind(s,31687));return await t.default({module_or_path:(0,l.s)("esri/libs/text/pkg/bundle_bg.wasm")}),t}()),c}()).Face.parseWoff2(new Uint8Array(t.data));this._faces.set(e,o)}),this._faces.get(e)}_getSource(t){return this._glyphSources.has(t)||this._glyphSources.set(t,new b(t)),this._glyphSources.get(t)}async _fetchRanges(t,e,s,i){const r=function(t){const e=new Set;for(const s of t)e.add(Math.floor(s/256));return e}(s),n=[];r.forEach(s=>{n.push(this._fetchRange(t,e,s,i))}),await Promise.all(n)}async _fetchRange(t,e,s,i){if(s>256)return;const r=e+s;return L(this._pbfRangePromises,r,()=>t.fetchRange(e,s,i))}_allocNewPage(){this._currentPage++,this._binPack=new S(this._binPack.width,this._binPack.height),this._initDecorationGlyphs()}_recordGlyph(t,e){const s=this._binPack;if(!t||0===t.width)return new p.A;const i=t.width+2*e,r=t.height+2*e;let n=i,o=r;this._snapCoords&&(n+=i%4?4-i%4:4,o+=r%4?4-r%4:4);const a=s.allocate(n,o);return a.isEmpty?(this._allocNewPage(),s.allocate(n,o)):a}_initDecorationGlyphs(){this._recordGlyph(d,3),this._recordGlyph(d,3)}preloadASCIIGlyphCache(t,e){const s=this._preloadCache[e];if(null!=s)return s;const i=t.preloadASCIIRange(e).then(async()=>{let s=this._pbfGlyphCache.get(e);s||(s=new Map,this._pbfGlyphCache.set(e,s));for(let i=0;i<256;i++)this._getPBFGlyph(s,t,e,i);const i=Array.from(this._pbfGlyphCache.get(e).values());await this._client.recordGlyphs(i)},t=>{throw delete this._preloadCache[e],t});return this._preloadCache[e]=i,i}}function L(t,e,s){return t.has(e)||t.set(e,s().finally(()=>{t.delete(e)}).catch(t=>{(0,h.jH)(t)})),t.get(e)}const P=t=>({mosaicItem:{rect:new p.A(0,0,0,0),sdf:!0,page:0},rect:{left:0,width:0,height:0,top:0},shaping:{xAdvance:0,yAdvance:0,xOffset:0,yOffset:0},code:t})},27071(t,e,s){s.d(e,{bX:()=>a,Qz:()=>o});var i=s(49186),r=s(53966),n=s(63907);function o(t){switch(t){case n.ld.UNSIGNED_BYTE:return Uint8Array;case n.ld.UNSIGNED_SHORT_4_4_4_4:return Uint16Array;case n.ld.FLOAT:return Float32Array;default:return void r.A.getLogger("esri.views.2d.engine.webgl.Utils").error(new i.A("webgl-utils",`Unable to handle type ${t}`))}}function a(t){const e=[];for(let s=0;s<t.length;s++)e.push(t.charCodeAt(s));return e}new Map},46858(t,e,s){s.d(e,{A:()=>n,J:()=>r});var i=s(799);function r(t,e){let s;if("string"==typeof t)s=(0,i.Wm)(t+`-seed(${e})`);else{let i=12;s=t^e;do{s=107*(s>>8^s)+i|0}while(0!==--i)}return(1+s/(1<<31))/2}function n(t){return Math.floor(r(t,o)*a)}const o=53290320,a=10}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9829],{29242(t,n,r){function e(){return[1,0,0,0,1,0,0,0,1]}function i(t,n,r,e,i,s,a,o,u){return[t,n,r,e,i,s,a,o,u]}r.d(n,{fA:()=>i,vt:()=>e});const s=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:e,fromValues:i},Symbol.toStringTag,{value:"Module"})),r.d(n,["zK",0,s])},34304(t,n,r){r.d(n,{DF:()=>u,FD:()=>i,ct:()=>c});let e=1e-6;function i(){return e}const s=Math.random,a=Math.PI/180,o=180/Math.PI;function u(t){return t*a}function c(t){return t*o}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(t,n){return Math.abs(t-n)<=e*Math.max(1,Math.abs(t),Math.abs(n))},getEpsilon:i,setEpsilon:function(t){e=t},toDegree:c,toRadian:u},Symbol.toStringTag,{value:"Module"})),r.d(n,["Ov",0,s])},77690(t,n,r){r.d(n,{B8:()=>o,Ge:()=>m,I0:()=>f,KC:()=>u,a4:()=>c,hZ:()=>s,hs:()=>l,lw:()=>h,mg:()=>a,z0:()=>i});var e=r(34304);function i(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function s(t,n,r,e,i,s,a,o,u,c){return t[0]=n,t[1]=r,t[2]=e,t[3]=i,t[4]=s,t[5]=a,t[6]=o,t[7]=u,t[8]=c,t}function a(t,n){if(t===n){const r=n[1],e=n[2],i=n[5];t[1]=n[3],t[2]=n[6],t[3]=r,t[5]=n[7],t[6]=e,t[7]=i}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function o(t,n){const r=n[0],e=n[1],i=n[2],s=n[3],a=n[4],o=n[5],u=n[6],c=n[7],h=n[8],l=h*a-o*c,f=-h*s+o*u,m=c*s-a*u;let M=r*l+e*f+i*m;return M?(M=1/M,t[0]=l*M,t[1]=(-h*e+i*c)*M,t[2]=(o*e-i*a)*M,t[3]=f*M,t[4]=(h*r-i*u)*M,t[5]=(-o*r+i*s)*M,t[6]=m*M,t[7]=(-c*r+e*u)*M,t[8]=(a*r-e*s)*M,t):null}function u(t,n){const r=n[0],e=n[1],i=n[2],s=n[3],a=n[4],o=n[5],u=n[6],c=n[7],h=n[8];return t[0]=a*h-o*c,t[1]=i*c-e*h,t[2]=e*o-i*a,t[3]=o*u-s*h,t[4]=r*h-i*u,t[5]=i*s-r*o,t[6]=s*c-a*u,t[7]=e*u-r*c,t[8]=r*a-e*s,t}function c(t){const n=t[0],r=t[1],e=t[2],i=t[3],s=t[4],a=t[5],o=t[6],u=t[7],c=t[8];return n*(c*s-a*u)+r*(-c*i+a*o)+e*(u*i-s*o)}function h(t,n,r){const e=n[0],i=n[1],s=n[2],a=n[3],o=n[4],u=n[5],c=n[6],h=n[7],l=n[8],f=r[0],m=r[1],M=r[2],g=r[3],x=r[4],d=r[5],p=r[6],y=r[7],b=r[8];return t[0]=f*e+m*a+M*c,t[1]=f*i+m*o+M*h,t[2]=f*s+m*u+M*l,t[3]=g*e+x*a+d*c,t[4]=g*i+x*o+d*h,t[5]=g*s+x*u+d*l,t[6]=p*e+y*a+b*c,t[7]=p*i+y*o+b*h,t[8]=p*s+y*u+b*l,t}function l(t,n,r){const e=r[0],i=r[1],s=r[2];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=i*n[3],t[4]=i*n[4],t[5]=i*n[5],t[6]=s*n[6],t[7]=s*n[7],t[8]=s*n[8],t}function f(t,n){const r=n[0],e=n[1],i=n[2],s=n[3],a=r+r,o=e+e,u=i+i,c=r*a,h=e*a,l=e*o,f=i*a,m=i*o,M=i*u,g=s*a,x=s*o,d=s*u;return t[0]=1-l-M,t[3]=h-d,t[6]=f+x,t[1]=h+d,t[4]=1-c-M,t[7]=m-g,t[2]=f-x,t[5]=m+g,t[8]=1-c-l,t}function m(t,n){const r=n[0],e=n[1],i=n[2],s=n[3],a=n[4],o=n[5],u=n[6],c=n[7],h=n[8],l=n[9],f=n[10],m=n[11],M=n[12],g=n[13],x=n[14],d=n[15],p=r*o-e*a,y=r*u-i*a,b=r*c-s*a,v=e*u-i*o,I=e*c-s*o,P=i*c-s*u,R=h*g-l*M,N=h*x-f*M,S=h*d-m*M,z=l*x-f*g,q=l*d-m*g,A=f*d-m*x;let _=p*A-y*q+b*z+v*S-I*N+P*R;return _?(_=1/_,t[0]=(o*A-u*q+c*z)*_,t[1]=(u*S-a*A-c*N)*_,t[2]=(a*q-o*S+c*R)*_,t[3]=(i*q-e*A-s*z)*_,t[4]=(r*A-i*S+s*N)*_,t[5]=(e*S-r*q-s*R)*_,t[6]=(g*P-x*I+d*v)*_,t[7]=(x*b-M*P-d*y)*_,t[8]=(M*I-g*b+d*p)*_,t):null}function M(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t}const g=h,x=M;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t},adjoint:u,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:c,equals:function(t,n){const r=t[0],i=t[1],s=t[2],a=t[3],o=t[4],u=t[5],c=t[6],h=t[7],l=t[8],f=n[0],m=n[1],M=n[2],g=n[3],x=n[4],d=n[5],p=n[6],y=n[7],b=n[8],v=(0,e.FD)();return Math.abs(r-f)<=v*Math.max(1,Math.abs(r),Math.abs(f))&&Math.abs(i-m)<=v*Math.max(1,Math.abs(i),Math.abs(m))&&Math.abs(s-M)<=v*Math.max(1,Math.abs(s),Math.abs(M))&&Math.abs(a-g)<=v*Math.max(1,Math.abs(a),Math.abs(g))&&Math.abs(o-x)<=v*Math.max(1,Math.abs(o),Math.abs(x))&&Math.abs(u-d)<=v*Math.max(1,Math.abs(u),Math.abs(d))&&Math.abs(c-p)<=v*Math.max(1,Math.abs(c),Math.abs(p))&&Math.abs(h-y)<=v*Math.max(1,Math.abs(h),Math.abs(y))&&Math.abs(l-b)<=v*Math.max(1,Math.abs(l),Math.abs(b))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},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)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:i,fromQuat:f,fromRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=-r,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:o,isOrthoNormal:function(t){const n=(0,e.FD)(),r=t[0],i=t[1],s=t[2],a=t[3],o=t[4],u=t[5],c=t[6],h=t[7],l=t[8];return Math.abs(1-(r*r+a*a+c*c))<=n&&Math.abs(1-(i*i+o*o+h*h))<=n&&Math.abs(1-(s*s+u*u+l*l))<=n},mul:g,multiply:h,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t},normalFromMat4:m,normalFromMat4Legacy:function(t,n){const r=n[0],e=n[1],i=n[2],s=n[4],a=n[5],o=n[6],u=n[8],c=n[9],h=n[10],l=h*a-o*c,f=-h*s+o*u,m=c*s-a*u,M=r*l+e*f+i*m;if(!M)return null;const g=1/M;return t[0]=l*g,t[1]=(-h*e+i*c)*g,t[2]=(o*e-i*a)*g,t[3]=f*g,t[4]=(h*r-i*u)*g,t[5]=(-o*r+i*s)*g,t[6]=m*g,t[7]=(-c*r+e*u)*g,t[8]=(a*r-e*s)*g,t},projection:function(t,n,r){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/r,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,r){const e=n[0],i=n[1],s=n[2],a=n[3],o=n[4],u=n[5],c=n[6],h=n[7],l=n[8],f=Math.sin(r),m=Math.cos(r);return t[0]=m*e+f*a,t[1]=m*i+f*o,t[2]=m*s+f*u,t[3]=m*a-f*e,t[4]=m*o-f*i,t[5]=m*u-f*s,t[6]=c,t[7]=h,t[8]=l,t},scale:l,scaleByVec2:function(t,n,r){const e=r[0],i=r[1];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=i*n[3],t[4]=i*n[4],t[5]=i*n[5],t},set:s,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:x,subtract:M,translate:function(t,n,r){const e=n[0],i=n[1],s=n[2],a=n[3],o=n[4],u=n[5],c=n[6],h=n[7],l=n[8],f=r[0],m=r[1];return t[0]=e,t[1]=i,t[2]=s,t[3]=a,t[4]=o,t[5]=u,t[6]=f*e+m*a+c,t[7]=f*i+m*o+h,t[8]=f*s+m*u+l,t},transpose:a},Symbol.toStringTag,{value:"Module"}))},37585(t,n,r){r.d(n,{C:()=>s,Cc:()=>I,Io:()=>x,LI:()=>m,Ln:()=>g,Om:()=>v,Re:()=>u,S8:()=>b,T9:()=>l,WQ:()=>o,aI:()=>S,e$:()=>R,hG:()=>d,hZ:()=>a,hs:()=>M,l0:()=>P,qE:()=>f,t2:()=>N});var e=r(34727),i=r(34304);function s(t,n){return t[0]=n[0],t[1]=n[1],t}function a(t,n,r){return t[0]=n,t[1]=r,t}function o(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t}function u(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t}function c(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t}function h(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t}function l(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t}function f(t,n,r,i){return t[0]=(0,e.qE)(n[0],r[0],i[0]),t[1]=(0,e.qE)(n[1],r[1],i[1]),t}function m(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t}function M(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t}function g(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t}function x(t,n){const r=n[0]-t[0],e=n[1]-t[1];return Math.sqrt(r*r+e*e)}function d(t,n){const r=n[0]-t[0],e=n[1]-t[1];return r*r+e*e}function p(t){const n=t[0],r=t[1];return Math.sqrt(n*n+r*r)}function y(t){const n=t[0],r=t[1];return n*n+r*r}function b(t,n){const r=n[0],e=n[1];let i=r*r+e*e;return i>0&&(i=1/Math.sqrt(i),t[0]=n[0]*i,t[1]=n[1]*i),t}function v(t,n){return t[0]*n[0]+t[1]*n[1]}function I(t,n,r,e){const i=n[0],s=n[1];return t[0]=i+e*(r[0]-i),t[1]=s+e*(r[1]-s),t}function P(t,n,r){const e=n[0],i=n[1];return t[0]=r[0]*e+r[2]*i+r[4],t[1]=r[1]*e+r[3]*i+r[5],t}function R(t,n,r,e){const i=n[0]-r[0],s=n[1]-r[1],a=Math.sin(e),o=Math.cos(e);return t[0]=i*o-s*a+r[0],t[1]=i*a+s*o+r[1],t}function N(t,n){return t[0]===n[0]&&t[1]===n[1]}function S(t,n){const r=t[0],e=t[1],s=n[0],a=n[1],o=(0,i.FD)();return Math.abs(r-s)<=o*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(e-a)<=o*Math.max(1,Math.abs(e),Math.abs(a))}const z=p,q=u,A=c,_=h,E=x,w=d,T=y;Object.freeze(Object.defineProperty({__proto__:null,add:o,angle:function(t,n){const r=t[0],e=t[1],i=n[0],s=n[1];let a=r*r+e*e;a>0&&(a=1/Math.sqrt(a));let o=i*i+s*s;o>0&&(o=1/Math.sqrt(o));const u=(r*i+e*s)*a*o;return u>1?0:u<-1?Math.PI:Math.acos(u)},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t},clamp:f,copy:s,cross:function(t,n,r){const e=n[0]*r[1]-n[1]*r[0];return t[0]=t[1]=0,t[2]=e,t},dist:E,distance:x,div:_,divide:h,dot:v,equals:S,exactEquals:N,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t},len:z,length:p,lerp:I,max:l,min:function(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t},mul:A,multiply:c,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t},normalize:b,projectAndScale:function(t,n,r,e,i){let s=n[0]-r[0],a=n[1]-r[1];const o=(e[0]*s+e[1]*a)*(i-1);return s=e[0]*o,a=e[1]*o,t[0]=n[0]+s,t[1]=n[1]+a,t},random:function(t,n=1){const r=2*(0,i.Ov)()*Math.PI;return t[0]=Math.cos(r)*n,t[1]=Math.sin(r)*n,t},rotate:R,round:m,scale:M,scaleAndAdd:g,set:a,sqrDist:w,sqrLen:T,squaredDistance:d,squaredLength:y,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:q,subtract:u,transformMat2:function(t,n,r){const e=n[0],i=n[1];return t[0]=r[0]*e+r[2]*i,t[1]=r[1]*e+r[3]*i,t},transformMat2d:P,transformMat3:function(t,n,r){const e=n[0],i=n[1];return t[0]=r[0]*e+r[3]*i+r[6],t[1]=r[1]*e+r[4]*i+r[7],t},transformMat4:function(t,n,r){const e=n[0],i=n[1];return t[0]=r[0]*e+r[4]*i+r[12],t[1]=r[1]*e+r[5]*i+r[13],t}},Symbol.toStringTag,{value:"Module"})),r.d(n,["Il",0,z,"jb",0,q,"xg",0,E])},39829(t,n,r){r.d(n,{A:()=>P});var e,i=r(5482),s=r(4576),a=r(51447),o=r(4718),u=r(53966),c=r(91429),h=r(5443),l=r(91075),f=r(86738),m=r(16930),M=r(12359),g=r(94078),x=r(95108),d=r(90634),p=r(47610),y=r(28735),b=r(56993),v=r(43937);function I(t){return!Array.isArray(t[0])}let P=e=class extends l.A{static fromExtent(t){const n=t.clone().normalize(),{spatialReference:r}=t;let i=!1,s=!1;for(const t of n)t.hasZ&&(i=!0),t.hasM&&(s=!0);const a={rings:n.map(t=>{const n=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(i&&t.hasZ){const r=t.zmin+.5*(t.zmax-t.zmin);for(let t=0;t<n.length;t++)n[t].push(r)}if(s&&t.hasM){const r=t.mmin+.5*(t.mmax-t.mmin);for(let t=0;t<n.length;t++)n[t].push(r)}return n}),spatialReference:r};return i&&(a.hasZ=!0),s&&(a.hasM=!0),new e(a)}constructor(t){super(function(t){if(!t)return;let{rings:n,hasM:r,hasZ:e,spatialReference:i}=t;switch(n??=[],function(t){return"number"==typeof t[0]?.[0]}(n)&&(n=[n]),n[0]?.[0]?.length){case 4:e??=!0,r??=!0;break;case 3:e??=!0!==r,r??=!e;break;default:e??=!1,r??=!1}return i??=m.A.WGS84,{...t,hasM:r,hasZ:e,rings:n,spatialReference:i}}(t)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){(0,a.Lx)(u.A.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const t=(0,M.Ve)(this);return t?f.A.fromJSON(t):null}writeCurveRings(t,n){n.curveRings=(0,o.o8)(t)}get extent(){const t=(0,d.v)(this),{spatialReference:n}=this;return t?new h.A({...t,spatialReference:n}):null}writeRings(t,n){n.rings=(0,o.o8)(this.rings)}addRing(t){if(!t)return;const n=this.rings,r=n.length;if(I(t)){const e=[];for(let n=0,r=t.length;n<r;n++)e[n]=t[n].toArray();n[r]=e}else n[r]=t.slice();return this.notifyChange("rings"),this}clone(){const t=new e;return t.spatialReference=this.spatialReference,t.rings=(0,o.o8)(this.rings),t.curveRings=(0,o.o8)(this.curveRings),t.hasZ=this.hasZ,t.hasM=this.hasM,t}equals(t){if(this===t)return!0;if(null==t)return!1;const n=this.spatialReference,r=t.spatialReference;if(null!=n!=(null!=r))return!1;if(null!=n&&null!=r&&!n.equals(r))return!1;if(this.rings.length!==t.rings.length)return!1;for(let n=0;n<this.rings.length;n++){const r=this.rings[n],e=t.rings[n];if(!(0,s.aI)(r,e,p.v6))return!1}return!0}contains(t){if(!t)return!1;const n=(0,y.Cv)(t,this.spatialReference);return(0,g.m3)(this,null!=n?n:t)}isClockwise(t){const n=I(t)?t.map(t=>this.hasZ?this.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y]):t;return(0,x.$3)(n)}getPoint(t,n){if(!this._validateInputs(t,n))return null;const r=this.rings[t][n],e=this.hasZ,i=this.hasM;return e&&!i?new f.A(r[0],r[1],r[2],void 0,this.spatialReference):i&&!e?new f.A(r[0],r[1],void 0,r[2],this.spatialReference):e&&i?new f.A(r[0],r[1],r[2],r[3],this.spatialReference):new f.A(r[0],r[1],this.spatialReference)}insertPoint(t,n,r){return this._validateInputs(t,n,!0)?((0,b.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.rings[t].splice(n,0,r),this.notifyChange("rings"),this):this}removePoint(t,n){if(!this._validateInputs(t,n))return null;const r=new f.A(this.rings[t].splice(n,1)[0],this.spatialReference);return this.notifyChange("rings"),r}removeRing(t){if(!this._validateInputs(t,null))return null;const n=this.rings.splice(t,1)[0],r=this.spatialReference,e=n.map(t=>new f.A(t,r));return this.notifyChange("rings"),e}setPoint(t,n,r){return this._validateInputs(t,n)?((0,b.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.rings[t][n]=r,this.notifyChange("rings"),this):this}_validateInputs(t,n,r=!1){if(null==t||t<0||t>=this.rings.length)return!1;if(null!=n){const e=this.rings[t];if(r&&(n<0||n>e.length))return!1;if(!r&&(n<0||n>=e.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,i.Cg)([(0,c.MZ)({readOnly:!0})],P.prototype,"cache",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],P.prototype,"centroid",null),(0,i.Cg)([(0,c.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],P.prototype,"curveRings",void 0),(0,i.Cg)([(0,v.K)("curveRings")],P.prototype,"writeCurveRings",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],P.prototype,"extent",null),(0,i.Cg)([(0,c.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],P.prototype,"rings",void 0),(0,i.Cg)([(0,v.K)("rings")],P.prototype,"writeRings",null),P=e=(0,i.Cg)([(0,c.$K)("esri.geometry.Polygon")],P),P.prototype.toJSON.isDefaultToJSON=!0},51118(t,n,r){function e(t){const n=[];for(t.reset();t.nextPath();){const r=[];for(;t.nextPoint();){const n=[t.x,t.y];t.hasZ&&n.push(t.z),t.hasM&&n.push(t.m),r.push(n)}n.push(r)}return t.reset(),n}function i(t){const n=[];for(;t.nextPoint();)n.push([t.x,t.y]);return t.seekPathStart(),n}r.d(n,{A:()=>i,x:()=>e})},537(t,n,r){r.d(n,{B$:()=>x,LJ:()=>d,Pj:()=>b,Rg:()=>M,Yz:()=>p,z8:()=>g});var e=r(19419),i=r(79567),s=r(52006);function a(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 u(t){return void 0!==t.x&&void 0!==t.y}function c(t){return void 0!==t.paths}function h(t){return void 0!==t.rings}function l(t){return function(n,r){return null==n?r:null==r?n:t(n,r)}}const f=l(Math.min),m=l(Math.max);function M(t,n){return c(n)?p(t,n.curvePaths??n.paths,!1,!1)??t:h(n)?p(t,n.curveRings??n.rings,!1,!1)??t:o(n)?b(t,n.points,!1,!1,!1,!1):a(n)?y(t,n):(u(n)&&(t[0]=n.x,t[1]=n.y,t[2]=n.x,t[3]=n.y),t)}function g(t){let n,r,i,s;for(t.reset(),n=i=1/0,r=s=-1/0;t.nextPath();){const e=x(t);n=Math.min(e[0],n),i=Math.min(e[1],i),r=Math.max(e[2],r),s=Math.max(e[3],s)}return(0,e.vt)([n,i,r,s])}function x(t){let n,r,i,s;for(n=i=1/0,r=s=-1/0;t.nextPoint();)n=Math.min(t.x,n),i=Math.min(t.y,i),r=Math.max(t.x,r),s=Math.max(t.y,s);return(0,e.vt)([n,i,r,s])}function d(t,n){return c(n)?p(t,n.curvePaths??n.paths,!0,!1)??t:h(n)?p(t,n.curveRings??n.rings,!0,!1)??t:o(n)?b(t,n.points,!0,!1,!0,!1):a(n)?y(t,n,0,0,!0,!1):(u(n)&&(t[0]=n.x,t[1]=n.y,t[2]=n.z,t[3]=n.x,t[4]=n.y,t[5]=n.z),t)}function p(t,n,r,a){const o=r?3:2;if(!n.length||!n[0].length)return null;let u,c,h,l,[M,g]=(0,s.yP)(n[0][0]),x=M,d=g;for(let t=0;t<n.length;t++){const p=n[t];for(let t=0;t<p.length;t++){const n=(0,s.yP)(p[t]),[y,b]=n;if(M=f(M,y),g=f(g,b),x=m(x,y),d=m(d,b),r&&n.length>2){const t=n[2];u=f(u,t),c=m(c,t)}if(a&&n.length>o){const t=n[o];h=f(h,t),l=m(l,t)}const v=p[t];if((0,s.Xq)(v)||t<1)continue;const I=(0,s.yP)(p[t-1]),P=(0,e.fA)(M,g,x,d);[M,g,x,d]=(0,i.e)(P,I,v)}}return r?a?(t[0]=M,t[1]=g,t[2]=u,t[3]=h,t[4]=x,t[5]=d,t[6]=c,t[7]=l,t.length=8,t):(t[0]=M,t[1]=g,t[2]=u,t[3]=x,t[4]=d,t[5]=c,t.length=6,t):a?(t[0]=M,t[1]=g,t[2]=h,t[3]=x,t[4]=d,t[5]=l,t.length=6,t):(t[0]=M,t[1]=g,t[2]=x,t[3]=d,t.length=4,t)}function y(t,n,r,e,i,s){const a=n.xmin,o=n.xmax,u=n.ymin,c=n.ymax;let h=n.zmin,l=n.zmax,f=n.mmin,m=n.mmax;return i?(h=h||0,l=l||0,s?(f=f||0,m=m||0,t[0]=a,t[1]=u,t[2]=h,t[3]=f,t[4]=o,t[5]=c,t[6]=l,t[7]=m,t):(t[0]=a,t[1]=u,t[2]=h,t[3]=o,t[4]=c,t[5]=l,t)):s?(f=f||0,m=m||0,t[0]=a,t[1]=u,t[2]=f,t[3]=o,t[4]=c,t[5]=m,t):(t[0]=a,t[1]=u,t[2]=o,t[3]=c,t)}function b(t,n,r,e,i,s){const a=r?3:2,o=e&&s,u=r&&i;if(!n.length||!n[0].length)return null;let c,h,l,M,[g,x]=n[0],[d,p]=n[0];for(let t=0;t<n.length;t++){const r=n[t],[e,i]=r;if(g=f(g,e),x=f(x,i),d=m(d,e),p=m(p,i),u&&r.length>2){const t=r[2];c=f(c,t),h=m(h,t)}if(o&&r.length>a){const t=r[a];l=f(c,t),M=m(h,t)}}return i?(c=c||0,h=h||0,s?(l=l||0,M=M||0,t[0]=g,t[1]=x,t[2]=c,t[3]=l,t[4]=d,t[5]=p,t[6]=h,t[7]=M,t):(t[0]=g,t[1]=x,t[2]=c,t[3]=d,t[4]=p,t[5]=h,t)):s?(l=l||0,M=M||0,t[0]=g,t[1]=x,t[2]=l,t[3]=d,t[4]=p,t[5]=M,t):(t[0]=g,t[1]=x,t[2]=d,t[3]=p,t)}},12359(t,n,r){r.d(n,{IK:()=>h,TP:()=>l,Ve:()=>o,Z4:()=>s,l8:()=>a,w2:()=>c});var e=r(51118),i=r(95108);function s({xmin:t,xmax:n,ymin:r,ymax:e,zmin:i,zmax:s,hasZ:a}){const o=[(t+n)/2,(r+e)/2];return a&&o.push((i+s)/2),o}function a(t){return function(t,n){if(!t?.length)return null;const r=[],e=[],s=n?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(let r=0,i=t.length;r<i;r++){const i=u(t[r],n,s);i&&e.push(i)}if(e.sort((t,r)=>{let e=t[2]-r[2];return 0===e&&n&&(e=t[4]-r[4]),e}),e.length&&(r[0]=e[0][0],r[1]=e[0][1],n&&(r[2]=e[0][3]),(r[0]<s[0]||r[0]>s[1]||r[1]<s[2]||r[1]>s[3]||n&&(r[2]<s[4]||r[2]>s[5]))&&(r.length=0)),!r.length){const e=t[0]&&t[0].length?function(t,n){const r=n?[0,0,0]:[0,0],e=n?[0,0,0]:[0,0];let s=0,a=0,o=0,u=0;for(let c=0,h=t.length;c<h-1;c++){const h=t[c],l=t[c+1];if(h&&l){r[0]=h[0],r[1]=h[1],e[0]=l[0],e[1]=l[1],n&&h.length>2&&l.length>2&&(r[2]=h[2],e[2]=l[2]);const t=(0,i.R3)(r,e);if(t){s+=t;const r=(0,i.t9)(h,l);a+=t*r[0],o+=t*r[1],n&&r.length>2&&(u+=t*r[2])}}}return s>0?n?[a/s,o/s,u/s]:[a/s,o/s]:t.length?t[0]:null}(t[0],n):null;if(!e)return null;r[0]=e[0],r[1]=e[1],n&&e.length>2&&(r[2]=e[2])}return r}(t.rings,t.hasZ??!1)}function o(t){const n=a(t);if(!n)return null;const{hasZ:r,spatialReference:e}=t,[i,s,o]=n;return isNaN(i)||isNaN(s)||r&&isNaN(o)?null:{x:i,y:s,z:r?o:void 0,spatialReference:e}}function u(t,n,r){let e=0,i=0,s=0,a=0,o=0;const u=t.length?t[0][0]:0,c=t.length?t[0][1]:0,h=t.length&&n?t[0][2]:0;for(let l=0;l<t.length;l++){const f=t[l],m=t[(l+1)%t.length],[M,g,x]=f,d=M-u,p=g-c,[y,b,v]=m,I=y-u,P=b-c,R=d*P-I*p;if(a+=R,e+=(d+I)*R,i+=(p+P)*R,n&&f.length>2&&m.length>2){const t=x-h,n=v-h,r=d*n-I*t;s+=(t+n)*r,o+=r}M<r[0]&&(r[0]=M),M>r[1]&&(r[1]=M),g<r[2]&&(r[2]=g),g>r[3]&&(r[3]=g),n&&(x<r[4]&&(r[4]=x),x>r[5]&&(r[5]=x))}if(a>0&&(a*=-1),o>0&&(o*=-1),!a)return null;a*=.5,o*=.5;const l=[e/(6*a)+u,i/(6*a)+c,a];return n&&(r[4]===r[5]||0===o?(l[3]=(r[4]+r[5])/2,l[4]=0):(l[3]=s/(6*o)+h,l[4]=o)),l}function c(t,n){let r=0,e=0,i=0;t.nextPoint();const s=t.pathSize?t.x:0,a=t.pathSize?t.y:0;for(let o=0;o<t.pathSize;o++){t.seekInPath(o);const u=[t.x,t.y];t.seekInPath((o+1)%t.pathSize);const c=[t.x,t.y],[h,l]=u,f=h-s,m=l-a,[M,g]=c,x=M-s,d=g-a,p=f*d-x*m;i+=p,r+=(f+x)*p,e+=(m+d)*p,h<n[0]&&(n[0]=h),h>n[1]&&(n[1]=h),l<n[2]&&(n[2]=l),l>n[3]&&(n[3]=l)}return i>0&&(i*=-1),i?(i*=.5,[r/(6*i)+s,e/(6*i)+a,i]):null}function h(t){const{hasZ:n,totalSize:r}=t;if(0===r)return null;const s=[],a=[],o=n?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY];for(t.reset();t.nextPath();){const n=u((0,e.A)(t),t.hasZ,o);n&&a.push(n)}if(a.sort((t,r)=>{let e=t[2]-r[2];return 0===e&&n&&(e=t[4]-r[4]),e}),a.length&&(s[0]=a[0][0],s[1]=a[0][1],n&&(s[2]=a[0][3]),(s[0]<o[0]||s[0]>o[1]||s[1]<o[2]||s[1]>o[3]||n&&(s[2]<o[4]||s[2]>o[5]))&&(s.length=0)),!s.length){t.reset(),t.nextPath();const r=t.pathSize?function(t){const{hasZ:n}=t,r=n?[0,0,0]:[0,0],e=n?[0,0,0]:[0,0];let s=0,a=0,o=0,u=0;if(t.nextPoint()){let c=t.x,h=t.y,l=t.z;for(;t.nextPoint();){const f=t.x,m=t.y,M=t.z;r[0]=c,r[1]=h,e[0]=f,e[1]=m,n&&(r[2]=l,e[2]=M);const g=(0,i.R3)(r,e);if(g){s+=g;const t=(0,i.t9)(r,e);a+=g*t[0],o+=g*t[1],n&&t.length>2&&(u+=g*t[2])}c=f,h=m,l=M}}return s>0?n?[a/s,o/s,u/s]:[a/s,o/s]:t.pathSize?(t.seekPathStart(),t.nextPoint(),[t.x,t.y]):null}(t):null;if(!r)return null;s[0]=r[0],s[1]=r[1],n&&r.length>2&&(s[2]=r[2])}return s}function l(t){let n=0;for(t.reset();t.nextPath();)n+=t.getCurrentRingArea();if(n<1e-6){const n=h(t);return n?[n[0],n[1]]:null}const r=[0,0];if(t.reset(),!t.nextPath()||!t.nextPoint())return null;const e=[t.x,t.y];for(t.reset();t.nextPath();)m(r,e,t);return r[0]*=1/n,r[1]*=1/n,r[0]+=e[0],r[1]+=e[1],r}const f=1/3;function m(t,n,r){if(!t||!r||r.pathSize<3)return null;r.nextPoint();const e=r.x,i=r.y;r.nextPoint();let s,a=r.x-e,o=r.y-i,u=0,c=0;for(;r.nextPoint();)u=r.x-e,c=r.y-i,s=.5*f*(u*o-c*a),t[0]+=s*(a+u),t[1]+=s*(o+c),a=u,o=c;const h=r.getCurrentRingArea(),l=[e,i];return l[0]-=n[0],l[1]-=n[1],l[0]*=h,l[1]*=h,t[0]+=l[0],t[1]+=l[1],t}},95108(t,n,r){r.d(n,{$3:()=>c,Ng:()=>a,R3:()=>i,Yl:()=>u,gR:()=>s,m3:()=>l,t9:()=>o});var e=r(4576);function i(t,n){const r=n[0]-t[0],e=n[1]-t[1];if(t.length>2&&n.length>2){const i=t[2]-n[2];return Math.sqrt(r*r+e*e+i*i)}return Math.sqrt(r*r+e*e)}function s(t,n,r,e){const[i,s]=n,[a,o]=r,[u,c]=e,h=u-a,l=c-o,f=h*h+l*l,m=(i-a)*h+(s-o)*l,M=Math.min(1,Math.max(0,m/f));return t[0]=a+h*M,t[1]=o+l*M,t}function a(t,n,r,e,i,s){let a=r,o=e,u=i-a,c=s-o;if(0!==u||0!==c){const r=((t-a)*u+(n-o)*c)/(u*u+c*c);r>1?(a=i,o=s):r>0&&(a+=u*r,o+=c*r)}return u=t-a,c=n-o,u*u+c*c}function o(t,n){return function(t,n,r){const e=t[0]+r*(n[0]-t[0]),i=t[1]+r*(n[1]-t[1]);return t.length>2&&n.length>2?[e,i,t[2]+r*(n[2]-t[2])]:[e,i]}(t,n,.5)}function u(t){const n=t.length;let r=0;for(let e=0;e<n-1;++e)r+=i(t[e],t[e+1]);return r}function c(t,n=0,r=1){let e=0;const i=t.length;let s=t[0];for(let a=1;a<i;a++){const i=t[a];e+=(i[n]-s[n])*(i[r]+s[r]),s=i}if(h(t)){const i=t[0];e+=(i[n]-s[n])*(i[r]+s[r])}return e>=0}function h(t){const n=t.length;return n>0&&!(0,e.aI)(t[0],t[n-1])}function l(t){if("rings"in t)for(const n of t.rings)h(n)&&n.push(n[0].slice())}r(52006)},4305(t,n,r){r.d(n,{B4:()=>u,jK:()=>h,lM:()=>f,m_:()=>l,ty:()=>M});var e=r(34727),i=(r(37585),r(19419)),s=r(15507);const a=[0,0];function o(t){const n=1-t,r=n*n,e=t*t;return[r*n,3*t*r,3*e*n,e*t]}function u(t,n,r,e,i){const[s,a,u,c]=o(i);return[t[0]*s+n[0]*a+r[0]*u+e[0]*c,t[1]*s+n[1]*a+r[1]*u+e[1]*c]}function c(t,n,r,e,i){const[s,a,u,c]=o(i);return t*s+n*a+r*u+e*c}function h(t,n,r){const e=t,[i,o,u]=n.b,c=(0,s.RS)([0,0],e,o,r),h=(0,s.RS)(a,o,u,r),l=(0,s.RS)([0,0],u,i,r),f=(0,s.RS)([0,0],c,h,r),m=(0,s.RS)([0,0],h,l,r);return[{b:[(0,s.RS)([],f,m,r),c,f]},{b:[[...i],m,l]}]}function l(t,n,r){const i=t,[a,o,c]=n.b,h=(0,s.R)(r,[.1,.5,.9],t=>{const n=1-t,[r,e]=u(i,o,c,a,t);return[r,e,3*n*n*(o[0]-i[0])+6*n*t*(c[0]-o[0])+3*t*t*(a[0]-c[0]),3*n*n*(o[1]-i[1])+6*n*t*(c[1]-o[1])+3*t*t*(a[1]-c[1]),6*n*(c[0]-2*o[0]+i[0])+6*t*(a[0]-2*c[0]+o[0]),6*n*(c[1]-2*o[1]+i[1])+6*t*(a[1]-2*c[1]+o[1])]}).map(t=>Math.min(1,Math.max(0,t)));h.push(0,1);let l=1/0;const f=h.map(t=>{const n=u(i,o,c,a,t),[e,s]=n,h=r[0]-e,f=r[1]-s,m=Math.sqrt(h*h+f*f);return l=Math.min(m,l),{t,curvePoint:n,distance:m}}),m=[];for(const t of f){const{t:n,distance:r}=t;(0,e.b6)(r,l)&&!m.some(({t})=>(0,e.Sp)(t,n))&&m.push(t)}return m}function f(t,n,r){const e=n,[s,a,o]=r.b;if((0,i.tK)(t,e),(0,i.tK)(t,s),(0,i.Rj)(t,a[0],a[1])&&(0,i.Rj)(t,o[0],o[1]))return t;for(const n of m(e[0],a[0],o[0],s[0]))n>0&&n<1&&(0,i.nw)(t,c(e[0],a[0],o[0],s[0],n));for(const n of m(e[1],a[1],o[1],s[1]))n>0&&n<1&&(0,i.IO)(t,c(e[1],a[1],o[1],s[1],n));return t}function m(t,n,r,e){const i=3*(3*(n-r)-t+e),s=6*(t-2*n+r),a=3*(n-t);if(0===i)return 0!==s?[-a/s]:[];const o=Math.sqrt(s*s-4*i*a);return[(-s+o)/(2*i),(-s-o)/(2*i)]}function M(t,n,r){let e=0,i=[n];for(let n=0;n<16;n++){let n=t;const a=[];for(const t of i)a.push(...h(n,t,.5)),n=t.b[0];i=a,n=t,e=0;let o=0;for(const t of i){const[r,i,a]=t.b,u=Math.sqrt((0,s.kb)(n,r));e+=(u+(Math.sqrt((0,s.kb)(n,i))+Math.sqrt((0,s.kb)(i,a))+Math.sqrt((0,s.kb)(a,r))))/2,o+=u,n=r}if(e-o<r)return e}return e}},513(t,n,r){r.d(n,{KP:()=>a,X0:()=>h,fM:()=>c,mq:()=>u,zW:()=>l});var e=r(19419),i=r(59803),s=r(15507);class a{constructor(t,n,r,e,i,s){this.cx=t,this.cy=n,this.radius=r,this.thetaStart=e,this.thetaEnd=i,this.isInvalid=s}get startPoint(){const{cx:t,cy:n,radius:r,thetaStart:e}=this;return[t+r*Math.cos(e),n+r*Math.sin(e)]}get endPoint(){const{cx:t,cy:n,radius:r,thetaEnd:e}=this;return[t+r*Math.cos(e),n+r*Math.sin(e)]}}function o(t,n){const{cx:r,cy:e,radius:i}=t;return[r+i*Math.cos(n),e+i*Math.sin(n)]}function u(t,n){if(t.isInvalid)return(0,s.RS)([0,0],t.startPoint,t.endPoint,n);const{thetaStart:r,thetaEnd:e}=t;return o(t,r*(1-n)+e*n)}function c(t,n){if(t.isInvalid)return(0,i.T)(t.startPoint,t.endPoint,n);const{cx:r,cy:e,thetaStart:a,thetaEnd:u}=t,[c,h]=n,l=(0,s.Pf)((0,s.yN)(a,u),Math.atan2(h-e,c-r)),f=o(t,l);return{t:(l-a)/(u-a),curvePoint:f,distance:Math.sqrt((0,s.kb)(n,f))}}function h(t,n){if(n.isInvalid)return(0,e.tK)(t,n.startPoint),(0,e.tK)(t,n.endPoint),t;const{cx:r,cy:i,radius:a,thetaStart:u,thetaEnd:c}=n;(0,e.tK)(t,o(n,u)),(0,e.tK)(t,o(n,c));const h=(0,s.yN)(u,c),l=Math.PI/2;let f=0;for(const n of[[r+a,i],[r,i+a],[r-a,i],[r,i-a]])f=(0,s.Cp)(h,f),f>h.min&&f<h.max&&(0,e.tK)(t,n),f+=l;return t}function l(t){if(t.isInvalid)return 2*t.radius;const{radius:n,thetaStart:r,thetaEnd:e}=t;return n*Math.abs(e-r)}},50954(t,n,r){r.d(n,{GX:()=>h,pM:()=>c});var e=r(77690),i=r(29242),s=(r(37585),r(513)),a=r(15507);const o=(0,i.vt)();function u(t,n,r){const[i,s]=t,[u,c]=n,[h,l]=r;(0,e.hZ)(o,i,u,h,s,c,l,1,1,1);const f=(0,e.a4)(o),m=4*f/((0,a.kb)(t,n)+(0,a.kb)(n,r)+(0,a.kb)(r,t));if(!isFinite(m)||Math.abs(m)<1e-8)return null;const M=i**2+s**2,g=u**2+c**2,x=h**2+l**2;(0,e.hZ)(o,M,g,x,s,c,l,1,1,1);const d=(0,e.a4)(o);return(0,e.hZ)(o,M,g,x,i,u,h,1,1,1),[d/f*.5,(0,e.a4)(o)/f*-.5]}function c(t,n){const[r,e]=n.c,i=u(t,e,r),o=null==i,c=i??(0,a.RS)([],t,r,.5),[h,l]=t,[f,m]=e,[M,g]=r,[x,d]=c,p=h-x,y=l-d,b=Math.sqrt(p*p+y*y),v=(0,a.t7)(l-d,h-x),I=(0,a.t7)(m-d,f-x);let P=(0,a.t7)(g-d,M-x);return(I-v)*(P-I)<0&&(P+=2*Math.sign(v-P)*Math.PI),new s.KP(x,d,b,v,P,o)}function h(t,n,r){const e=(0,s.mq)(t,r/2),i=(0,s.mq)(t,r),a=(0,s.mq)(t,(r+1)/2);return[{c:[i,e]},{c:[[...n.c[0]],a]}]}},79567(t,n,r){r.d(n,{e:()=>h});var e=r(19419),i=r(4305),s=r(513),a=r(50954),o=r(52006),u=r(49663),c=r(46068);function h(t,n,r){if((0,o.Xq)(r))return(0,e.tK)(t,n),(0,e.tK)(t,r),t;if((0,o.n1)(r))return(0,i.lM)(t,n,r);if((0,o.aO)(r)){const e=(0,a.pM)(n,r);return(0,s.X0)(t,e)}if((0,o.DA)(r)){const e=(0,u.io)(n,r);return(0,s.X0)(t,e)}return(0,c.DL)(t,n,r)}},52006(t,n,r){function e(t){return"curveRings"in t&&!!t.curveRings?.length||"curvePaths"in t&&!!t.curvePaths?.length}function i(t){return"curveRings"in t?t.curveRings:t.curvePaths}function s(t){return"b"in t}function a(t){return"c"in t}function o(t){return Array.isArray(t)}function u(t){return"a"in t}function c(t){return"a"in t&&4===t.a.length}function h(t){return"a"in t&&7===t.a.length}function l(t,n){return i(t).flat().some(t=>function(t,n){return!(o(t)||(s(t)?n.has("cubic-bezier"):a(t)?n.has("circular-arc"):!c(t)&&!h(t)||n.has("elliptic-arc")))}(t,n))}function f(t){return o(t)?t:s(t)?t.b[0]:a(t)?t.c[0]:t.a[0]}function m(t){if(s(t)){const[n,r,e]=t.b;return{b:[[...n],[...r],[...e]]}}if(a(t)){const[n,r]=t.c;return{c:[[...n],[...r]]}}if(o(t))return[...t];if(c(t)){const[n,r,e,i]=t.a;return{a:[[...n],[...r],e,i]}}if(h(t)){const[n,r,e,i,s,a,o]=t.a;return{a:[[...n],[...r],e,i,s,a,o]}}return t}r.d(n,{DA:()=>c,Ed:()=>e,FD:()=>i,FG:()=>u,V8:()=>l,Xq:()=>o,aO:()=>a,n1:()=>s,tk:()=>m,wY:()=>h,yP:()=>f}),r(4576)},49663(t,n,r){r.d(n,{io:()=>a,xG:()=>o});var e=r(34727),i=(r(37585),r(513)),s=r(15507);function a(t,n){const[r,a,o,u]=n.a,[c,h]=t,[l,f]=r,[m,M]=a,g=c-m,x=h-M,d=Math.sqrt(g*g+x*x),p=l-m,y=f-M,b=Math.sqrt(p*p+y*y),v=0===d||0===b||!(0,e.b6)(d,b),I=d,[P,R]=(0,s.Gz)((0,s.t7)(h-M,c-m),Math.atan2(f-M,l-m),o,u);return new i.KP(m,M,I,P,R,v)}function o(t,n,r){const{cx:e,cy:s,thetaStart:a,thetaEnd:o}=t,[u,c,h,l]=n.a,f=a*(1-r)+o*r;return[{a:[(0,i.mq)(t,r),[e,s],Math.abs(f-a)<Math.PI?1:0,l]},{a:[[...u],[e,s],Math.abs(o-f)<Math.PI?1:0,l]}]}},46068(t,n,r){r.d(n,{DL:()=>m,ED:()=>l,SW:()=>u,Uk:()=>h,pb:()=>f,xm:()=>M}),r(77690);var e=r(29242),i=(r(37585),r(19419)),s=r(52006),a=r(15507);class o{constructor(t,n,r,e,i,s,a,o,u){this.cx=t,this.cy=n,this.a=r,this.b=e,this.cosR=i,this.sinR=s,this.u1=a,this.u2=o,this.isInvalid=u}}function u(t,n){const[r,e,i,s,u,c,h]=n.a,[l,f]=t,[m,M]=r,[g,x]=e,d=c*h,p=Math.cos(u),y=Math.sin(u),[b,v]=(0,a.Gz)((0,a.t7)(1/d*(f-x)*p-1/d*(l-g)*y,1/c*(f-x)*y+1/c*(l-g)*p),Math.atan2(1/d*(M-x)*p-1/d*(m-g)*y,1/c*(M-x)*y+1/c*(m-g)*p),i,s);return new o(g,x,c,d,p,y,b,v,0===c||0===d)}function c(t,n){const{a:r,b:e,cosR:i,sinR:s,cx:a,cy:o}=t,u=Math.cos(n),c=Math.sin(n);return[r*u*i-e*c*s+a,r*u*s+e*c*i+o]}function h(t,n){const{u1:r,u2:e}=t;return c(t,r*(1-n)+e*n)}function l(t,n,r){if(r<0||r>1)return[];if(0===r||1===r)return[(0,s.tk)(n)];const[e,[i,a],o,u,c,l,f]=n.a,{u1:m,u2:M}=t,g=m*(1-r)+M*r;return[{a:[[...h(t,r)],[i,a],Math.abs(g-m)<Math.PI?1:0,u,c,l,f]},{a:[[...e],[i,a],Math.abs(M-g)<Math.PI?1:0,u,c,l,f]}]}function f(t,n){const{a:r,b:e,cosR:i,sinR:s,u1:o,u2:u}=t,h=Math.PI/6,l=(0,a.R)(n,[1*h,2*h,4*h,5*h,7*h,8*h,10*h,11*h],n=>{const a=Math.cos(n),o=Math.sin(n),[u,h]=c(t,n);return[u,h,-r*i*o-e*s*a,-r*s*o+e*i*a,-r*i*a+e*s*o,-r*s*a-e*i*o]}),f=(0,a.yN)(o,u),m=new Set(l.map(t=>(0,a.Cp)(f,t)).filter(t=>t>f.min&&t<f.max));m.add(o),m.add(u);let M,g,x=1/0;for(const r of m){const e=c(t,r),[i,s]=e,a=n[0]-i,h=n[1]-s,l=a*a+h*h;l<x&&(M=(r-o)/(u-o),g=e,x=l)}return{t:M,curvePoint:g,distance:Math.sqrt(x)}}function m(t,n,r){const e=u(n,r),{a:s,b:o,u1:h,u2:l,cosR:f,sinR:m,isInvalid:M}=e,g=r.a[0];if((0,i.tK)(t,n),(0,i.tK)(t,g),M)return t;const x=Math.atan2(-o*m,s*f),d=x+Math.PI,p=Math.atan2(o*f,s*m),y=p+Math.PI,b=(0,a.yN)(h,l);for(const n of[x,d,p,y].map(t=>(0,a.Cp)(b,t)))n>b.min&&n<b.max&&(0,i.tK)(t,c(e,n));return t}function M(t,n,r){const[e,i,s,o,l,f,m]=n.a,M=u(t,n),{u1:g,u2:x,isInvalid:d}=M,p=x-g;if(d)return Math.sqrt((0,a.kb)(t,e));const y=[0,0];let b=0,v=[h(M,0),h(M,.25),h(M,.5),h(M,.75),h(M,1)];for(let t=0;t<14;t++){const t=v.length-1,n=p/(2*t),e=[];for(let r=0;r<t;r++)e.push(v[r]),e.push(c(M,g+(2*r+1)*n));e.push(v[v.length-1]),v=e,b=0;let s=0;for(let t=1;t<v.length;t++){const n=v[t-1],r=v[t];if(b+=Math.sqrt((0,a.kb)(n,r)),t>1){const e=v[t-2],o=(0,a.M_)(y,e,n,i,r);s+=o?Math.sqrt((0,a.kb)(n,o)):Math.abs(r[0]-n[0])+Math.abs(r[1]-n[1])}else s+=b}if(s-b<r)return b}return b}(0,e.vt)(),(0,e.vt)(),(0,e.vt)(),(0,e.vt)()},59803(t,n,r){r.d(n,{T:()=>s});var e=r(34727),i=r(15507);function s(t,n,r){const[s,a]=t,[o,u]=n,[c,h]=r,[l,f]=[o-s,u-a];let m=l*(c-s)+f*(h-a);m/=l**2+f**2,m=isNaN(m)?0:(0,e.qE)(m,0,1);const M=(0,i.RS)([0,0],t,n,m);return{t:m,curvePoint:M,distance:Math.sqrt((0,i.kb)(M,r))}}},15507(t,n,r){r.d(n,{Cp:()=>g,Gz:()=>M,M_:()=>u,Pf:()=>x,R:()=>d,RS:()=>s,kb:()=>a,t7:()=>h,yE:()=>o,yN:()=>m});var e=r(34727),i=r(37585);function s(t,n,r,e){return t[0]=n[0]*(1-e)+r[0]*e,t[1]=n[1]*(1-e)+r[1]*e,t}function a(t,n){return(0,i.hG)(t,n)}function o(t,n,r){const e=a(n,r);if(0===e)return a(n,t);const i=(n[0]-t[0])*(r[1]-t[1])-(n[1]-t[1])*(r[0]-t[0]);return i*i/e}function u(t,n,r,e,i){const[s,a]=n,[o,u]=r,[c,h]=e,[l,f]=i,m=(s-o)*(h-f)-(a-u)*(c-l);if(0===m)return null;const M=(s*u-a*o)*(c-l)-(s-o)*(c*f-h*l),g=(s*u-a*o)*(h-f)-(a-u)*(c*f-h*l);return t[0]=M/m,t[1]=g/m,t}const c=2*Math.PI;function h(t,n){const r=Math.atan2(t,n);return r<0?r+c:r}function l(t){return Math.abs(t)%c}function f(t){const n=l(t);return n<Math.PI?n:c-n}function m(t,n){return{min:Math.min(t,n),max:Math.max(t,n)}}function M(t,n,r,i){if((0,e.Sp)(l(t-n),0))return r?[t,t]:[t,i?t-c:t+c];const[s,a]=i?[t-c,t]:[t,t+c];return[t,g({min:s,max:a},n)]}function g({min:t,max:n},r){let e;return e=n-r,e>=c?(e-=e%c,r+e):(e=r-t,e>=c?(e-=e%c,r-e):r)}function x(t,n){const r=g(t,n);return r>t.min&&r<t.max?r:f(r-t.min)<f(r-t.max)?t.min:t.max}function d(t,n,r,e=10){return n.map(n=>{let i=n;for(let n=0;n<e;n++){const[n,e,s,a,o,u]=r(i),c=t[0]-n,h=t[1]-e,l=-s,f=-a;i+=-(2*c*l+2*h*f)/(2*l*l+2*c*-o+2*f*f+2*h*-u||1e-6)}return i})}},90634(t,n,r){r.d(n,{HA:()=>h,JM:()=>l,Z3:()=>M,ge:()=>f,v:()=>m});var e=r(537);const i=[];function s(t,n,r,e){return{xmin:t,ymin:n,xmax:r,ymax:e}}function a(t,n,r,e,i,s){return{xmin:t,ymin:n,zmin:r,xmax:e,ymax:i,zmax:s}}function o(t,n,r,e,i,s){return{xmin:t,ymin:n,mmin:r,xmax:e,ymax:i,mmax:s}}function u(t,n,r,e,i,s,a,o){return{xmin:t,ymin:n,zmin:r,mmin:e,xmax:i,ymax:s,zmax:a,mmax:o}}function c(t,n=!1,r=!1){return n?r?u(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]):a(t[0],t[1],t[2],t[3],t[4],t[5]):r?o(t[0],t[1],t[2],t[3],t[4],t[5]):s(t[0],t[1],t[2],t[3])}function h(t){return t?function(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}(t)?t:function(t){return void 0!==t.x&&void 0!==t.y}(t)?function(t){const{x:n,y:r,z:e,m:i}=t,c=null!=i;return null!=e?c?u(n,r,e,i,n,r,e,i):a(n,r,e,n,r,e):c?o(n,r,i,n,r,i):s(n,r,n,r)}(t):function(t){return void 0!==t.rings}(t)?m(t):function(t){return void 0!==t.paths}(t)?M(t):function(t){return void 0!==t.points}(t)?f(t):null:null}function l(t,{xmin:n,ymin:r,zmin:e,mmin:i,xmax:s,ymax:a,zmax:o,mmax:u}){t.xmin=Math.min(t.xmin,n),t.xmax=Math.max(t.xmax,s),t.ymin=Math.min(t.ymin,r),t.ymax=Math.max(t.ymax,a),null!=t.zmin&&(t.zmin=Math.min(t.zmin,e),t.zmax=Math.max(t.zmax,o)),null!=t.mmin&&(t.mmin=Math.min(t.mmin,i),t.mmax=Math.max(t.mmax,u))}function f(t){const{hasZ:n,hasM:r,points:s}=t,a=(0,e.Pj)(i,s,n??!1,r??!1,n??!1,r??!1);return a?c(a,n,r):null}function m(t){const{hasZ:n,hasM:r,rings:s,curveRings:a}=t,o=(0,e.Yz)(i,a??s,n??!1,r??!1);return o?c(o,n,r):null}function M(t){const{hasZ:n,hasM:r,paths:s,curvePaths:a}=t,o=(0,e.Yz)(i,a??s,n??!1,r??!1);return o?c(o,n,r):null}},47610(t,n,r){function e([t,n,r,e],[i,s,a,o]){return t===i&&n===s&&(null==r&&null==a||r===a)&&(null==e&&null==o||e===o)}r.d(n,{v6:()=>e}),r(5443),r(83960)},83960(t,n,r){r.d(n,{X_:()=>s,oW:()=>o,zx:()=>a});var e=r(34727),i=r(86211);function s(t,n){const r=n||t.extent,e=t.width,s=(0,i.GA)(r?.spatialReference);return r&&e?r.width/e*s*39.37*96:0}function a(t,n,r){return function(t,n){return 0===n||(0,e.Sp)(t,n)||t<n}(t,n)&&function(t,n){return 0===n||(0,e.Sp)(t,n)||t>n}(t,r)}function o(t,n){return(0,e.Sp)(t,n)?0:(t||Number.POSITIVE_INFINITY)>(n||Number.POSITIVE_INFINITY)?1:-1}},56993(t,n,r){function e(t,n,r=!1){let{hasM:e,hasZ:i}=t;Array.isArray(n)?4!==n.length||e||i?3===n.length&&r&&!e?(i=!0,e=!1):3===n.length&&e&&i&&(e=!1,i=!1):(e=!0,i=!0):(i=!i&&n.hasZ&&(!e||n.hasM),e=!e&&n.hasM&&(!i||n.hasZ)),t.hasZ=i,t.hasM=e}r.d(n,{h:()=>e})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4807],{79608(t,n,r){r.d(n,{A:()=>f});var e=r(5482),a=r(69540),o=r(91429);let i=class extends a.Pw{constructor(t){super(t),this.type="web-scene"}equals(t){return this.type===t.type}};(0,e.Cg)([(0,o.MZ)()],i.prototype,"type",void 0),i=(0,e.Cg)([(0,o.$K)("esri.analysis.support.AnalysisOriginWebScene")],i);const s=i;var u=r(69622),c=r(4902),h=r(25482);let l=0,f=class extends((0,h.T)((0,a.OU)((0,c.s)(u.A)))){constructor(t){super(t),this.id=`${Date.now().toString(16)}-analysis-${l++}`,this.origin=null}get parent(){return this._get("parent")}set parent(t){const n=this.parent;if(null!=n)switch(n.type){case"line-of-sight":case"dimension":case"viewshed":n.releaseAnalysis(this);break;case"2d":case"3d":n.analyses.includes(this)&&n.analyses.remove(this)}this._set("parent",t)}equals(t){return this.type===t.type}};(0,e.Cg)([(0,o.MZ)({type:String,constructOnly:!0,clonable:!1})],f.prototype,"id",void 0),(0,e.Cg)([(0,o.MZ)({clonable:!1,value:null})],f.prototype,"parent",null),(0,e.Cg)([(0,o.MZ)({types:{key:"type",base:null,typeMap:{"web-scene":s}}})],f.prototype,"origin",void 0),f=(0,e.Cg)([(0,o.$K)("esri.analysis.Analysis")],f)},91715(t,n,r){r.d(n,{xH:()=>o,N1:()=>s}),r(35522);var e=r(51850),a=r(71351);function o(t,n){return i(t)===i(n)}function i(t){if(null==t)return null;const n=null!=t.layer?t.layer.id:"";let r=null;return r=null!=t.objectId?t.objectId:null!=t.layer&&"objectIdField"in t.layer&&null!=t.layer.objectIdField&&null!=t.attributes?t.attributes[t.layer.objectIdField]:t.uid,null==r?null:`o-${n}-${r}`}r(58083),r(70328),r(77548),r(6867),r(49718),(0,e.vt)();const s={json:{write:{writer:function(t,n){null!=t?.layer?.objectIdField&&null!=t.attributes&&(n.feature={layerId:t.layer.id,objectId:t.attributes[t.layer.objectIdField]})},target:{"feature.layerId":{type:[Number,String],isRequired:!0},"feature.objectId":{type:[Number,String],isRequired:!0}}},origins:{"web-scene":{read:function(t){if(null!=t.layerId&&null!=t.objectId)return{uid:null,layer:{id:t.layerId,objectIdField:"ObjectId"},attributes:{ObjectId:t.objectId}}}}}},clonable:"reference"};(0,a.vt)(),(0,e.vt)()},80200(t,n,r){r.d(n,{d:()=>l});const e={Base64:0,Hex:1,String:2,Raw:3};function a(t,n){const r=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(r>>16)<<16|65535&r}function o(t,n,r,e,o,i){return a(function(t,n){return t<<n|t>>>32-n}(a(a(n,t),a(e,i)),o),r)}function i(t,n,r,e,a,i,s){return o(n&r|~n&e,t,n,a,i,s)}function s(t,n,r,e,a,i,s){return o(n&e|r&~e,t,n,a,i,s)}function u(t,n,r,e,a,i,s){return o(n^r^e,t,n,a,i,s)}function c(t,n,r,e,a,i,s){return o(r^(n|~e),t,n,a,i,s)}function h(t,n){t[n>>5]|=128<<n%32,t[14+(n+64>>>9<<4)]=n;let r=1732584193,e=-271733879,o=-1732584194,h=271733878;for(let n=0;n<t.length;n+=16){const l=r,f=e,M=o,d=h;r=i(r,e,o,h,t[n],7,-680876936),h=i(h,r,e,o,t[n+1],12,-389564586),o=i(o,h,r,e,t[n+2],17,606105819),e=i(e,o,h,r,t[n+3],22,-1044525330),r=i(r,e,o,h,t[n+4],7,-176418897),h=i(h,r,e,o,t[n+5],12,1200080426),o=i(o,h,r,e,t[n+6],17,-1473231341),e=i(e,o,h,r,t[n+7],22,-45705983),r=i(r,e,o,h,t[n+8],7,1770035416),h=i(h,r,e,o,t[n+9],12,-1958414417),o=i(o,h,r,e,t[n+10],17,-42063),e=i(e,o,h,r,t[n+11],22,-1990404162),r=i(r,e,o,h,t[n+12],7,1804603682),h=i(h,r,e,o,t[n+13],12,-40341101),o=i(o,h,r,e,t[n+14],17,-1502002290),e=i(e,o,h,r,t[n+15],22,1236535329),r=s(r,e,o,h,t[n+1],5,-165796510),h=s(h,r,e,o,t[n+6],9,-1069501632),o=s(o,h,r,e,t[n+11],14,643717713),e=s(e,o,h,r,t[n],20,-373897302),r=s(r,e,o,h,t[n+5],5,-701558691),h=s(h,r,e,o,t[n+10],9,38016083),o=s(o,h,r,e,t[n+15],14,-660478335),e=s(e,o,h,r,t[n+4],20,-405537848),r=s(r,e,o,h,t[n+9],5,568446438),h=s(h,r,e,o,t[n+14],9,-1019803690),o=s(o,h,r,e,t[n+3],14,-187363961),e=s(e,o,h,r,t[n+8],20,1163531501),r=s(r,e,o,h,t[n+13],5,-1444681467),h=s(h,r,e,o,t[n+2],9,-51403784),o=s(o,h,r,e,t[n+7],14,1735328473),e=s(e,o,h,r,t[n+12],20,-1926607734),r=u(r,e,o,h,t[n+5],4,-378558),h=u(h,r,e,o,t[n+8],11,-2022574463),o=u(o,h,r,e,t[n+11],16,1839030562),e=u(e,o,h,r,t[n+14],23,-35309556),r=u(r,e,o,h,t[n+1],4,-1530992060),h=u(h,r,e,o,t[n+4],11,1272893353),o=u(o,h,r,e,t[n+7],16,-155497632),e=u(e,o,h,r,t[n+10],23,-1094730640),r=u(r,e,o,h,t[n+13],4,681279174),h=u(h,r,e,o,t[n],11,-358537222),o=u(o,h,r,e,t[n+3],16,-722521979),e=u(e,o,h,r,t[n+6],23,76029189),r=u(r,e,o,h,t[n+9],4,-640364487),h=u(h,r,e,o,t[n+12],11,-421815835),o=u(o,h,r,e,t[n+15],16,530742520),e=u(e,o,h,r,t[n+2],23,-995338651),r=c(r,e,o,h,t[n],6,-198630844),h=c(h,r,e,o,t[n+7],10,1126891415),o=c(o,h,r,e,t[n+14],15,-1416354905),e=c(e,o,h,r,t[n+5],21,-57434055),r=c(r,e,o,h,t[n+12],6,1700485571),h=c(h,r,e,o,t[n+3],10,-1894986606),o=c(o,h,r,e,t[n+10],15,-1051523),e=c(e,o,h,r,t[n+1],21,-2054922799),r=c(r,e,o,h,t[n+8],6,1873313359),h=c(h,r,e,o,t[n+15],10,-30611744),o=c(o,h,r,e,t[n+6],15,-1560198380),e=c(e,o,h,r,t[n+13],21,1309151649),r=c(r,e,o,h,t[n+4],6,-145523070),h=c(h,r,e,o,t[n+11],10,-1120210379),o=c(o,h,r,e,t[n+2],15,718787259),e=c(e,o,h,r,t[n+9],21,-343485551),r=a(r,l),e=a(e,f),o=a(o,M),h=a(h,d)}return[r,e,o,h]}function l(t,n=e.Hex){const r=n||e.Base64,a=h(function(t){const n=[];for(let r=0,e=8*t.length;r<e;r+=8)n[r>>5]|=(255&t.charCodeAt(r/8))<<r%32;return n}(t),8*t.length);switch(r){case e.Raw:return a;case e.Hex:return function(t){const n="0123456789abcdef",r=[];for(let e=0,a=4*t.length;e<a;e++)r.push(n.charAt(t[e>>2]>>e%4*8+4&15)+n.charAt(t[e>>2]>>e%4*8&15));return r.join("")}(a);case e.String:return function(t){const n=[];for(let r=0,e=32*t.length;r<e;r+=8)n.push(String.fromCharCode(t[r>>5]>>>r%32&255));return n.join("")}(a);case e.Base64:return function(t){const n=[];for(let r=0,e=4*t.length;r<e;r+=3){const e=(t[r>>2]>>r%4*8&255)<<16|(t[r+1>>2]>>(r+1)%4*8&255)<<8|t[r+2>>2]>>(r+2)%4*8&255;for(let a=0;a<4;a++)8*r+6*a>32*t.length?n.push("="):n.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>6*(3-a)&63))}return n.join("")}(a)}}r.d(n,["T",0,e])},4341(t,n,r){r.d(n,{I:()=>a});var e=r(26390);class a{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*o);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,o));t++)this._items.push(this._allocator())}}const o=1024},87024(t,n,r){r.d(n,{P:()=>M});var e=r(49186),a=r(80200),o=r(76553),i=r(84952),s=r(13069),u=r(96156),c=r(35666),h=r(10107),l=r(85648),f=r(97159);function M(t){const n=t?.origins??[void 0];return(r,e)=>{const a=function(t,n,r){if("resource"===t?.type)return function(t,n,r){const e=(0,u.z4)(n,r);return{type:String,read:(t,n,r)=>{const a=(0,f.r)(t,n,r);return e.type===String?a:"function"==typeof e.type?new e.type({url:a}):void 0},write:{isRequired:e.json?.write?.isRequired,writer(n,a,s,u){if(!u?.resources)return"string"==typeof n?void(a[s]=(0,f.t)(n,u)):void(a[s]=n.write({},u));const h=function(t){return null==t?null:"string"==typeof t?t:t.url}(n),M=(0,f.t)(h,{...u,verifyItemRelativeUrls:u?.verifyItemRelativeUrls?{writtenUrls:u.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},1),g=e.type!==String&&(!(0,o.H)(this)||u?.origin&&this.originIdOf(r)>(0,c.aB)(u.origin)),b={object:this,propertyName:r,value:n,targetUrl:M,dest:a,targetPropertyName:s,context:u,params:t};u?.portalItem&&M&&!(0,i.oP)(M)?g&&t?.contentAddressed?d(b):g?function(t){const{context:n,targetUrl:r,params:e,value:a,dest:o,targetPropertyName:s}=t;if(!n.portalItem)return;const u=n.portalItem.resourceFromPath(r),c=p(a,r,n),h=(0,l.n)(c),f=(0,i.Zo)(u.path),M=e?.compress??!1;h===f?(n.resources&&m({...t,resource:u,content:c,compress:M,updates:n.resources.toUpdate}),o[s]=r):d(t)}(b):function({context:t,targetUrl:n,dest:r,targetPropertyName:e}){t.portalItem&&t.resources&&(t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(n),compress:!1}),r[e]=n)}(b):u?.portalItem&&(null==M||null!=(0,f.i)(M)||(0,i.w8)(M)||g)?d(b):a[s]=M}}}}(t,n,r);switch(t?.type??"other"){case"other":return{read:!0,write:!0};case"url":{const{read:t,write:n}=f.b;return{read:t,write:n}}}}(t,r,e);for(const t of n){const n=(0,h.rM)(r,t,e);for(const t in a)n[t]=a[t]}}}function d(t){const{targetUrl:n,params:r,value:o,context:u,dest:c,targetPropertyName:h}=t;if(!u.portalItem)return;const M=(0,f.p)(n),d=p(o,n,u);if(r?.contentAddressed&&"json"!==d.type)return void u.messages?.push(new e.A("persistable:contentAddressingUnsupported",`Property "${h}" is trying to serializing a resource with content of type ${d.type} with content addressing. Content addressing is only supported for json resources.`,{content:d}));const g=r?.contentAddressed&&"json"===d.type?(0,a.d)(d.jsonString):M?.filename??(0,s.lk)(),b=(0,i.fj)(r?.prefix??M?.prefix,g),y=`${b}.${(0,l.n)(d)}`;if(r?.contentAddressed&&u.resources&&"json"===d.type){const t=u.resources.toKeep.find(({resource:t})=>t.path===y)??u.resources.toAdd.find(({resource:t})=>t.path===y);if(t)return void(c[h]=t.resource.itemRelativeUrl)}const v=u.portalItem.resourceFromPath(y);(0,i.w8)(n)&&u.resources&&u.resources.pendingOperations.push((0,i.tk)(n).then(t=>{v.path=`${b}.${(0,l.n)({type:"blob",blob:t})}`,c[h]=v.itemRelativeUrl}).catch(()=>{}));const _=r?.compress??!1;u.resources&&m({...t,resource:v,content:d,compress:_,updates:u.resources.toAdd}),c[h]=v.itemRelativeUrl}function m({object:t,propertyName:n,updates:r,resource:e,content:a,compress:o}){r.push({resource:e,content:a,compress:o,finish:r=>{!function(t,n,r){"string"==typeof t[n]?t[n]=r.url:t[n].url=r.url}(t,n,r)}})}function p(t,n,r){return"string"==typeof t?{type:"url",url:n}:{type:"json",jsonString:JSON.stringify(t.toJSON(r))}}},62885(t,n,r){r.d(n,{H:()=>o,V:()=>a});var e=r(7762);function a(t,n,r=e.A){return n||(n=new r),n===t||n.destroyed||(n.removeAll(),(a=t)&&(Array.isArray(a)||"items"in a&&Array.isArray(a.items))?n.addMany(t):t&&n.add(t)),n;var a}function o(t){return t}},9093(t,n,r){function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(n,{o8:()=>a,vt:()=>e});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:a,create:e,fromValues:function(t,n,r,e,a,o,i,s,u,c,h,l,f,M,d,m){return[t,n,r,e,a,o,i,s,u,c,h,l,f,M,d,m]}},Symbol.toStringTag,{value:"Module"})),r.d(n,["zK",0,o])},82534(t,n,r){function e(){return[0,0,0,1]}function a(t){return[t[0],t[1],t[2],t[3]]}r.d(n,{o8:()=>a,vt:()=>e});const o=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:a,create:e,fromValues:function(t,n,r,e){return[t,n,r,e]}},Symbol.toStringTag,{value:"Module"})),r.d(n,["zK",0,o])},48163(t,n,r){function e(){return[0,0]}function a(t){return[t[0],t[1]]}function o(t,n){return[t,n]}function i(){return o(1,1)}function s(){return o(-1,-1)}function u(){return o(1,0)}function c(){return o(0,1)}r.d(n,{fA:()=>o,o8:()=>a,vt:()=>e});const h=i(),l=s(),f=u(),M=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:l,ONES:h,UNIT_X:f,UNIT_Y:M,ZEROS:[0,0],clone:a,create:e,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const r=Math.min(2,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:o,negativeOnes:s,ones:i,unitX:u,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"})),r.d(n,["IA",0,l,"Un",0,h])},91829(t,n,r){function e(){return[0,0,0,0]}function a(t,n,r,e){return[t,n,r,e]}function o(){return a(1,1,1,1)}function i(){return a(1,0,0,0)}function s(){return a(0,1,0,0)}function u(){return a(0,0,1,0)}function c(){return a(0,0,0,1)}r.d(n,{_Y:()=>c,fA:()=>a,vt:()=>e});const h=[0,0,0,0],l=o(),f=i(),M=s(),d=u(),m=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:m,UNIT_X:f,UNIT_Y:M,UNIT_Z:d,ZEROS:h,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:e,freeze:function(t,n,r,e){return[t,n,r,e]},fromArray:function(t,n=[0,0,0,0]){const r=Math.min(4,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:a,ones:o,unitW:c,unitX:i,unitY:s,unitZ:u,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),r.d(n,["Un",0,l,"uY",0,h])},58083(t,n,r){r.d(n,{$0:()=>g,$h:()=>S,B8:()=>h,C:()=>o,D_:()=>s,N9:()=>y,O7:()=>A,Qw:()=>c,Tl:()=>f,X_:()=>x,e$:()=>d,eL:()=>m,hM:()=>b,hZ:()=>i,hs:()=>M,kN:()=>p,l:()=>w,lw:()=>l,mg:()=>u,o1:()=>j,sC:()=>I,t2:()=>P,t5:()=>q,tZ:()=>T,ut:()=>N});var e=r(51850),a=r(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function i(t,n,r,e,a,o,i,s,u,c,h,l,f,M,d,m,p){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t[4]=o,t[5]=i,t[6]=s,t[7]=u,t[8]=c,t[9]=h,t[10]=l,t[11]=f,t[12]=M,t[13]=d,t[14]=m,t[15]=p,t}function s(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,n){if(t===n){const r=n[1],e=n[2],a=n[3],o=n[6],i=n[7],s=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=r,t[6]=n[9],t[7]=n[13],t[8]=e,t[9]=o,t[11]=n[14],t[12]=a,t[13]=i,t[14]=s}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function c(t,n){return h(t,n)||s(t),t}function h(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],i=n[4],s=n[5],u=n[6],c=n[7],h=n[8],l=n[9],f=n[10],M=n[11],d=n[12],m=n[13],p=n[14],g=n[15],b=r*s-e*i,y=r*u-a*i,v=r*c-o*i,_=e*u-a*s,I=e*c-o*s,x=a*c-o*u,w=h*m-l*d,j=h*p-f*d,A=h*g-M*d,S=l*p-f*m,q=l*g-M*m,O=f*g-M*p;let P=b*O-y*q+v*S+_*A-I*j+x*w;return P?(P=1/P,t[0]=(s*O-u*q+c*S)*P,t[1]=(a*q-e*O-o*S)*P,t[2]=(m*x-p*I+g*_)*P,t[3]=(f*I-l*x-M*_)*P,t[4]=(u*A-i*O-c*j)*P,t[5]=(r*O-a*A+o*j)*P,t[6]=(p*v-d*x-g*y)*P,t[7]=(h*x-f*v+M*y)*P,t[8]=(i*q-s*A+c*w)*P,t[9]=(e*A-r*q-o*w)*P,t[10]=(d*I-m*v+g*b)*P,t[11]=(l*v-h*I-M*b)*P,t[12]=(s*j-i*S-u*w)*P,t[13]=(r*S-e*j+a*w)*P,t[14]=(m*y-d*_-p*b)*P,t[15]=(h*_-l*y+f*b)*P,t):null}function l(t,n,r){const e=n[0],a=n[1],o=n[2],i=n[3],s=n[4],u=n[5],c=n[6],h=n[7],l=n[8],f=n[9],M=n[10],d=n[11],m=n[12],p=n[13],g=n[14],b=n[15];let y=r[0],v=r[1],_=r[2],I=r[3];return t[0]=y*e+v*s+_*l+I*m,t[1]=y*a+v*u+_*f+I*p,t[2]=y*o+v*c+_*M+I*g,t[3]=y*i+v*h+_*d+I*b,y=r[4],v=r[5],_=r[6],I=r[7],t[4]=y*e+v*s+_*l+I*m,t[5]=y*a+v*u+_*f+I*p,t[6]=y*o+v*c+_*M+I*g,t[7]=y*i+v*h+_*d+I*b,y=r[8],v=r[9],_=r[10],I=r[11],t[8]=y*e+v*s+_*l+I*m,t[9]=y*a+v*u+_*f+I*p,t[10]=y*o+v*c+_*M+I*g,t[11]=y*i+v*h+_*d+I*b,y=r[12],v=r[13],_=r[14],I=r[15],t[12]=y*e+v*s+_*l+I*m,t[13]=y*a+v*u+_*f+I*p,t[14]=y*o+v*c+_*M+I*g,t[15]=y*i+v*h+_*d+I*b,t}function f(t,n,r){const e=r[0],a=r[1],o=r[2];if(n===t)t[12]=n[0]*e+n[4]*a+n[8]*o+n[12],t[13]=n[1]*e+n[5]*a+n[9]*o+n[13],t[14]=n[2]*e+n[6]*a+n[10]*o+n[14],t[15]=n[3]*e+n[7]*a+n[11]*o+n[15];else{const r=n[0],i=n[1],s=n[2],u=n[3],c=n[4],h=n[5],l=n[6],f=n[7],M=n[8],d=n[9],m=n[10],p=n[11];t[0]=r,t[1]=i,t[2]=s,t[3]=u,t[4]=c,t[5]=h,t[6]=l,t[7]=f,t[8]=M,t[9]=d,t[10]=m,t[11]=p,t[12]=r*e+c*a+M*o+n[12],t[13]=i*e+h*a+d*o+n[13],t[14]=s*e+l*a+m*o+n[14],t[15]=u*e+f*a+p*o+n[15]}return t}function M(t,n,r){const e=r[0],a=r[1],o=r[2];return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*o,t[9]=n[9]*o,t[10]=n[10]*o,t[11]=n[11]*o,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function d(t,n,r,e){let i=e[0],s=e[1],u=e[2],c=Math.sqrt(i*i+s*s+u*u);if(c<=(0,a.FD)())return void o(t,n);c=1/c,i*=c,s*=c,u*=c;const h=Math.sin(r),l=Math.cos(r),f=1-l,M=n[0],d=n[1],m=n[2],p=n[3],g=n[4],b=n[5],y=n[6],v=n[7],_=n[8],I=n[9],x=n[10],w=n[11],j=i*i*f+l,A=s*i*f+u*h,S=u*i*f-s*h,q=i*s*f-u*h,O=s*s*f+l,P=u*s*f+i*h,N=i*u*f+s*h,T=s*u*f-i*h,C=u*u*f+l;t[0]=M*j+g*A+_*S,t[1]=d*j+b*A+I*S,t[2]=m*j+y*A+x*S,t[3]=p*j+v*A+w*S,t[4]=M*q+g*O+_*P,t[5]=d*q+b*O+I*P,t[6]=m*q+y*O+x*P,t[7]=p*q+v*O+w*P,t[8]=M*N+g*T+_*C,t[9]=d*N+b*T+I*C,t[10]=m*N+y*T+x*C,t[11]=p*N+v*T+w*C,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function m(t,n,r){const e=Math.sin(r),a=Math.cos(r),o=n[4],i=n[5],s=n[6],u=n[7],c=n[8],h=n[9],l=n[10],f=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=o*a+c*e,t[5]=i*a+h*e,t[6]=s*a+l*e,t[7]=u*a+f*e,t[8]=c*a-o*e,t[9]=h*a-i*e,t[10]=l*a-s*e,t[11]=f*a-u*e,t}function p(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function g(t,n,r){if(0===n)return s(t);let e=r[0],o=r[1],i=r[2],u=Math.sqrt(e*e+o*o+i*i);if(u<=(0,a.FD)())return null;u=1/u,e*=u,o*=u,i*=u;const c=Math.sin(n),h=Math.cos(n),l=1-h;return t[0]=e*e*l+h,t[1]=o*e*l+i*c,t[2]=i*e*l-o*c,t[3]=0,t[4]=e*o*l-i*c,t[5]=o*o*l+h,t[6]=i*o*l+e*c,t[7]=0,t[8]=e*i*l+o*c,t[9]=o*i*l-e*c,t[10]=i*i*l+h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function b(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=e,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function v(t,n,r){const e=n[0],a=n[1],o=n[2],i=n[3],s=e+e,u=a+a,c=o+o,h=e*s,l=e*u,f=e*c,M=a*u,d=a*c,m=o*c,p=i*s,g=i*u,b=i*c;return t[0]=1-(M+m),t[1]=l+b,t[2]=f-g,t[3]=0,t[4]=l-b,t[5]=1-(h+m),t[6]=d+p,t[7]=0,t[8]=f+g,t[9]=d-p,t[10]=1-(h+M),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const _=(0,e.vt)();function I(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function x(t,n){const r=n[0],e=n[1],a=n[2],o=n[4],i=n[5],s=n[6],u=n[8],c=n[9],h=n[10];return t[0]=Math.sqrt(r*r+e*e+a*a),t[1]=Math.sqrt(o*o+i*i+s*s),t[2]=Math.sqrt(u*u+c*c+h*h),t}function w(t,n){const r=n[0]+n[5]+n[10];let e=0;return r>0?(e=2*Math.sqrt(r+1),t[3]=.25*e,t[0]=(n[6]-n[9])/e,t[1]=(n[8]-n[2])/e,t[2]=(n[1]-n[4])/e):n[0]>n[5]&&n[0]>n[10]?(e=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/e,t[0]=.25*e,t[1]=(n[1]+n[4])/e,t[2]=(n[8]+n[2])/e):n[5]>n[10]?(e=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/e,t[0]=(n[1]+n[4])/e,t[1]=.25*e,t[2]=(n[6]+n[9])/e):(e=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/e,t[0]=(n[8]+n[2])/e,t[1]=(n[6]+n[9])/e,t[2]=.25*e),t}function j(t,n,r,e){const a=n[0],o=n[1],i=n[2],s=n[3],u=a+a,c=o+o,h=i+i,l=a*u,f=a*c,M=a*h,d=o*c,m=o*h,p=i*h,g=s*u,b=s*c,y=s*h,v=e[0],_=e[1],I=e[2];return t[0]=(1-(d+p))*v,t[1]=(f+y)*v,t[2]=(M-b)*v,t[3]=0,t[4]=(f-y)*_,t[5]=(1-(l+p))*_,t[6]=(m+g)*_,t[7]=0,t[8]=(M+b)*I,t[9]=(m-g)*I,t[10]=(1-(l+d))*I,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function A(t,n,r,e,a){const o=n[0],i=n[1],s=n[2],u=n[3],c=o+o,h=i+i,l=s+s,f=o*c,M=o*h,d=o*l,m=i*h,p=i*l,g=s*l,b=u*c,y=u*h,v=u*l,_=e[0],I=e[1],x=e[2],w=a[0],j=a[1],A=a[2],S=(1-(m+g))*_,q=(M+v)*_,O=(d-y)*_,P=(M-v)*I,N=(1-(f+g))*I,T=(p+b)*I,C=(d+y)*x,R=(p-b)*x,D=(1-(f+m))*x;return t[0]=S,t[1]=q,t[2]=O,t[3]=0,t[4]=P,t[5]=N,t[6]=T,t[7]=0,t[8]=C,t[9]=R,t[10]=D,t[11]=0,t[12]=r[0]+w-(S*w+P*j+C*A),t[13]=r[1]+j-(q*w+N*j+R*A),t[14]=r[2]+A-(O*w+T*j+D*A),t[15]=1,t}function S(t,n,r,e,a,o,i){const s=1/(r-n),u=1/(a-e),c=1/(o-i);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*u,t[6]=0,t[7]=0,t[8]=(r+n)*s,t[9]=(a+e)*u,t[10]=(i+o)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=i*o*2*c,t[15]=0,t}function q(t,n,r,e){const o=n[0],i=n[1],u=n[2];let c=o-r[0],h=i-r[1],l=u-r[2];const f=(0,a.FD)();if(Math.abs(c)<f&&Math.abs(h)<f&&Math.abs(l)<f)return void s(t);let M=1/Math.sqrt(c*c+h*h+l*l);c*=M,h*=M,l*=M;const d=e[0],m=e[1],p=e[2];let g=m*l-p*h,b=p*c-d*l,y=d*h-m*c;M=Math.sqrt(g*g+b*b+y*y),M?(M=1/M,g*=M,b*=M,y*=M):(g=0,b=0,y=0);let v=h*y-l*b,_=l*g-c*y,I=c*b-h*g;M=Math.sqrt(v*v+_*_+I*I),M?(M=1/M,v*=M,_*=M,I*=M):(v=0,_=0,I=0),t[0]=g,t[1]=v,t[2]=c,t[3]=0,t[4]=b,t[5]=_,t[6]=h,t[7]=0,t[8]=y,t[9]=I,t[10]=l,t[11]=0,t[12]=-(g*o+b*i+y*u),t[13]=-(v*o+_*i+I*u),t[14]=-(c*o+h*i+l*u),t[15]=1}function O(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t[9]=n[9]-r[9],t[10]=n[10]-r[10],t[11]=n[11]-r[11],t[12]=n[12]-r[12],t[13]=n[13]-r[13],t[14]=n[14]-r[14],t[15]=n[15]-r[15],t}function P(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function N(t){const n=(0,a.FD)(),r=t[0],e=t[1],o=t[2],i=t[4],s=t[5],u=t[6],c=t[8],h=t[9],l=t[10];return Math.abs(1-(r*r+i*i+c*c))<=n&&Math.abs(1-(e*e+s*s+h*h))<=n&&Math.abs(1-(o*o+u*u+l*l))<=n}function T(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 C=l,R=O;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t[9]=n[9]+r[9],t[10]=n[10]+r[10],t[11]=n[11]+r[11],t[12]=n[12]+r[12],t[13]=n[13]+r[13],t[14]=n[14]+r[14],t[15]=n[15]+r[15],t},adjoint:function(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],i=n[4],s=n[5],u=n[6],c=n[7],h=n[8],l=n[9],f=n[10],M=n[11],d=n[12],m=n[13],p=n[14],g=n[15];return t[0]=s*(f*g-M*p)-l*(u*g-c*p)+m*(u*M-c*f),t[1]=-(e*(f*g-M*p)-l*(a*g-o*p)+m*(a*M-o*f)),t[2]=e*(u*g-c*p)-s*(a*g-o*p)+m*(a*c-o*u),t[3]=-(e*(u*M-c*f)-s*(a*M-o*f)+l*(a*c-o*u)),t[4]=-(i*(f*g-M*p)-h*(u*g-c*p)+d*(u*M-c*f)),t[5]=r*(f*g-M*p)-h*(a*g-o*p)+d*(a*M-o*f),t[6]=-(r*(u*g-c*p)-i*(a*g-o*p)+d*(a*c-o*u)),t[7]=r*(u*M-c*f)-i*(a*M-o*f)+h*(a*c-o*u),t[8]=i*(l*g-M*m)-h*(s*g-c*m)+d*(s*M-c*l),t[9]=-(r*(l*g-M*m)-h*(e*g-o*m)+d*(e*M-o*l)),t[10]=r*(s*g-c*m)-i*(e*g-o*m)+d*(e*c-o*s),t[11]=-(r*(s*M-c*l)-i*(e*M-o*l)+h*(e*c-o*s)),t[12]=-(i*(l*p-f*m)-h*(s*p-u*m)+d*(s*f-u*l)),t[13]=r*(l*p-f*m)-h*(e*p-a*m)+d*(e*f-a*l),t[14]=-(r*(s*p-u*m)-i*(e*p-a*m)+d*(e*u-a*s)),t[15]=r*(s*f-u*l)-i*(e*f-a*l)+h*(e*u-a*s),t},copy:o,determinant:function(t){const n=t[0],r=t[1],e=t[2],a=t[3],o=t[4],i=t[5],s=t[6],u=t[7],c=t[8],h=t[9],l=t[10],f=t[11],M=t[12],d=t[13],m=t[14],p=t[15];return(n*i-r*o)*(l*p-f*m)-(n*s-e*o)*(h*p-f*d)+(n*u-a*o)*(h*m-l*d)+(r*s-e*i)*(c*p-f*M)-(r*u-a*i)*(c*m-l*M)+(e*u-a*s)*(c*d-h*M)},equals:function(t,n){if(t===n)return!0;const r=t[0],e=t[1],o=t[2],i=t[3],s=t[4],u=t[5],c=t[6],h=t[7],l=t[8],f=t[9],M=t[10],d=t[11],m=t[12],p=t[13],g=t[14],b=t[15],y=n[0],v=n[1],_=n[2],I=n[3],x=n[4],w=n[5],j=n[6],A=n[7],S=n[8],q=n[9],O=n[10],P=n[11],N=n[12],T=n[13],C=n[14],R=n[15],D=(0,a.FD)();return Math.abs(r-y)<=D*Math.max(1,Math.abs(r),Math.abs(y))&&Math.abs(e-v)<=D*Math.max(1,Math.abs(e),Math.abs(v))&&Math.abs(o-_)<=D*Math.max(1,Math.abs(o),Math.abs(_))&&Math.abs(i-I)<=D*Math.max(1,Math.abs(i),Math.abs(I))&&Math.abs(s-x)<=D*Math.max(1,Math.abs(s),Math.abs(x))&&Math.abs(u-w)<=D*Math.max(1,Math.abs(u),Math.abs(w))&&Math.abs(c-j)<=D*Math.max(1,Math.abs(c),Math.abs(j))&&Math.abs(h-A)<=D*Math.max(1,Math.abs(h),Math.abs(A))&&Math.abs(l-S)<=D*Math.max(1,Math.abs(l),Math.abs(S))&&Math.abs(f-q)<=D*Math.max(1,Math.abs(f),Math.abs(q))&&Math.abs(M-O)<=D*Math.max(1,Math.abs(M),Math.abs(O))&&Math.abs(d-P)<=D*Math.max(1,Math.abs(d),Math.abs(P))&&Math.abs(m-N)<=D*Math.max(1,Math.abs(m),Math.abs(N))&&Math.abs(p-T)<=D*Math.max(1,Math.abs(p),Math.abs(T))&&Math.abs(g-C)<=D*Math.max(1,Math.abs(g),Math.abs(C))&&Math.abs(b-R)<=D*Math.max(1,Math.abs(b),Math.abs(R))},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,n){const r=n[0],e=n[1],a=n[2],o=n[3],i=r+r,s=e+e,u=a+a,c=r*i,h=e*i,l=e*s,f=a*i,M=a*s,d=a*u,m=o*i,p=o*s,g=o*u;return t[0]=1-l-d,t[1]=h+g,t[2]=f-p,t[3]=0,t[4]=h-g,t[5]=1-c-d,t[6]=M+m,t[7]=0,t[8]=f+p,t[9]=M-m,t[10]=1-c-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const r=_,e=-n[0],a=-n[1],o=-n[2],i=n[3],s=n[4],u=n[5],c=n[6],h=n[7],l=e*e+a*a+o*o+i*i;return l>0?(r[0]=2*(s*i+h*e+u*o-c*a)/l,r[1]=2*(u*i+h*a+c*e-s*o)/l,r[2]=2*(c*i+h*o+s*a-u*e)/l):(r[0]=2*(s*i+h*e+u*o-c*a),r[1]=2*(u*i+h*a+c*e-s*o),r[2]=2*(c*i+h*o+s*a-u*e)),v(t,n,r),t},fromRotation:g,fromRotationTranslation:v,fromRotationTranslationScale:j,fromRotationTranslationScaleOrigin:A,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:p,fromXRotation:b,fromYRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:y,frustum:S,getRotation:w,getScale:x,getTranslation:I,hasIdentityRotation:T,identity:s,invert:h,invertOrIdentity:c,isOrthoNormal:N,lookAt:q,mul:C,multiply:l,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t[9]=n[9]*r,t[10]=n[10]*r,t[11]=n[11]*r,t[12]=n[12]*r,t[13]=n[13]*r,t[14]=n[14]*r,t[15]=n[15]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t[9]=n[9]+r[9]*e,t[10]=n[10]+r[10]*e,t[11]=n[11]+r[11]*e,t[12]=n[12]+r[12]*e,t[13]=n[13]+r[13]*e,t[14]=n[14]+r[14]*e,t[15]=n[15]+r[15]*e,t},ortho:function(t,n,r,e,a,o,i){const s=1/(n-r),u=1/(e-a),c=1/(o-i);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(n+r)*s,t[13]=(a+e)*u,t[14]=(i+o)*c,t[15]=1,t},perspective:function(t,n,r,e,a){const o=1/Math.tan(n/2);let i;return t[0]=o/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=a&&a!==1/0?(i=1/(e-a),t[10]=(a+e)*i,t[14]=2*a*e*i):(t[10]=-1,t[14]=-2*e),t},perspectiveFromFieldOfView:function(t,n,r,e){const a=Math.tan(n.upDegrees*Math.PI/180),o=Math.tan(n.downDegrees*Math.PI/180),i=Math.tan(n.leftDegrees*Math.PI/180),s=Math.tan(n.rightDegrees*Math.PI/180),u=2/(i+s),c=2/(a+o);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(i-s)*u*.5,t[9]=(a-o)*c*.5,t[10]=e/(r-e),t[11]=-1,t[12]=0,t[13]=0,t[14]=e*r/(r-e),t[15]=0,t},rotate:d,rotateX:m,rotateY:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),o=n[0],i=n[1],s=n[2],u=n[3],c=n[8],h=n[9],l=n[10],f=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a-c*e,t[1]=i*a-h*e,t[2]=s*a-l*e,t[3]=u*a-f*e,t[8]=o*e+c*a,t[9]=i*e+h*a,t[10]=s*e+l*a,t[11]=u*e+f*a,t},rotateZ:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),o=n[0],i=n[1],s=n[2],u=n[3],c=n[4],h=n[5],l=n[6],f=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a+c*e,t[1]=i*a+h*e,t[2]=s*a+l*e,t[3]=u*a+f*e,t[4]=c*a-o*e,t[5]=h*a-i*e,t[6]=l*a-s*e,t[7]=f*a-u*e,t},scale:M,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:R,subtract:O,targetTo:function(t,n,r,e){const a=n[0],o=n[1],i=n[2],s=e[0],u=e[1],c=e[2];let h=a-r[0],l=o-r[1],f=i-r[2],M=h*h+l*l+f*f;M>0&&(M=1/Math.sqrt(M),h*=M,l*=M,f*=M);let d=u*f-c*l,m=c*h-s*f,p=s*l-u*h;return M=d*d+m*m+p*p,M>0&&(M=1/Math.sqrt(M),d*=M,m*=M,p*=M),t[0]=d,t[1]=m,t[2]=p,t[3]=0,t[4]=l*p-f*m,t[5]=f*d-h*p,t[6]=h*m-l*d,t[7]=0,t[8]=h,t[9]=l,t[10]=f,t[11]=0,t[12]=a,t[13]=o,t[14]=i,t[15]=1,t},translate:f,transpose:u},Symbol.toStringTag,{value:"Module"}))},35522(t,n,r){r.d(n,{$A:()=>j,Bw:()=>o,C:()=>i,Cc:()=>A,DI:()=>I,Io:()=>b,Ln:()=>g,Om:()=>w,Qr:()=>l,Re:()=>c,S8:()=>x,T9:()=>m,WQ:()=>u,Z0:()=>S,_S:()=>M,aI:()=>R,ei:()=>q,fw:()=>P,gL:()=>O,hG:()=>y,hZ:()=>s,hs:()=>p,jk:()=>d,lw:()=>h,m3:()=>v,oW:()=>D,t2:()=>C,tn:()=>f,ze:()=>_});var e=r(51850),a=r(34304);function o(t){const n=t[0],r=t[1],e=t[2];return Math.sqrt(n*n+r*r+e*e)}function i(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function s(t,n,r,e){return t[0]=n,t[1]=r,t[2]=e,t}function u(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t}function h(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t}function l(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t}function f(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function M(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function d(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t}function m(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t}function p(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t}function g(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t}function b(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return Math.sqrt(r*r+e*e+a*a)}function y(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return r*r+e*e+a*a}function v(t){const n=t[0],r=t[1],e=t[2];return n*n+r*r+e*e}function _(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function I(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function x(t,n){const r=n[0],e=n[1],a=n[2];let o=r*r+e*e+a*a;return o>0&&(o=1/Math.sqrt(o),t[0]=n[0]*o,t[1]=n[1]*o,t[2]=n[2]*o),t}function w(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function j(t,n,r){const e=n[0],a=n[1],o=n[2],i=r[0],s=r[1],u=r[2];return t[0]=a*u-o*s,t[1]=o*i-e*u,t[2]=e*s-a*i,t}function A(t,n,r,e){const a=n[0],o=n[1],i=n[2];return t[0]=a+e*(r[0]-a),t[1]=o+e*(r[1]-o),t[2]=i+e*(r[2]-i),t}function S(t,n,r){const e=n[0],a=n[1],o=n[2];return t[0]=r[0]*e+r[4]*a+r[8]*o+r[12],t[1]=r[1]*e+r[5]*a+r[9]*o+r[13],t[2]=r[2]*e+r[6]*a+r[10]*o+r[14],t}function q(t,n,r){const e=n[0],a=n[1],o=n[2];return t[0]=e*r[0]+a*r[3]+o*r[6],t[1]=e*r[1]+a*r[4]+o*r[7],t[2]=e*r[2]+a*r[5]+o*r[8],t}function O(t,n,r){return P(t,n,r[0],r[1],r[2],r[3])}function P(t,n,r,e,a,o){const i=n[0],s=n[1],u=n[2],c=e*u-a*s,h=a*i-r*u,l=r*s-e*i,f=e*l-a*h,M=a*c-r*l,d=r*h-e*c,m=2*o;return t[0]=i+c*m+2*f,t[1]=s+h*m+2*M,t[2]=u+l*m+2*d,t}const N=(0,e.vt)(),T=(0,e.vt)();function C(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function R(t,n){if(t===n)return!0;const r=t[0],e=t[1],o=t[2],i=n[0],s=n[1],u=n[2],c=(0,a.FD)();return Math.abs(r-i)<=c*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(e-s)<=c*Math.max(1,Math.abs(e),Math.abs(s))&&Math.abs(o-u)<=c*Math.max(1,Math.abs(o),Math.abs(u))}function D(t,n,r){const e=r[0]-n[0],a=r[1]-n[1],o=r[2]-n[2];let i=e*e+a*a+o*o;return i>0?(i=1/Math.sqrt(i),t[0]=e*i,t[1]=a*i,t[2]=o*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const U=c,z=h,F=l,V=b,Z=y,E=o,$=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:function(t,n){x(N,t),x(T,n);const r=w(N,T);return r>1?0:r<-1?Math.PI:Math.acos(r)},bezier:function(t,n,r,e,a,o){const i=1-o,s=i*i,u=o*o,c=s*i,h=3*o*s,l=3*u*i,f=u*o;return t[0]=n[0]*c+r[0]*h+e[0]*l+a[0]*f,t[1]=n[1]*c+r[1]*h+e[1]*l+a[1]*f,t[2]=n[2]*c+r[2]*h+e[2]*l+a[2]*f,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,r=1){return t[0]=Math.min(Math.max(t[0],n),r),t[1]=Math.min(Math.max(t[1],n),r),t[2]=Math.min(Math.max(t[2],n),r),t},copy:i,cross:j,crossAndNormalize:function(t,n,r){const e=n[0],a=n[1],o=n[2],i=r[0],s=r[1],u=r[2],c=a*u-o*s,h=o*i-e*u,l=e*s-a*i,f=Math.sqrt(c*c+h*h+l*l);return t[0]=c/f,t[1]=h/f,t[2]=l/f,t},direction:D,dist:V,distance:b,div:F,divide:l,dot:w,equals:R,exactEquals:C,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,r,e,a,o){const i=o*o,s=i*(2*o-3)+1,u=i*(o-2)+o,c=i*(o-1),h=i*(3-2*o);return t[0]=n[0]*s+r[0]*u+e[0]*c+a[0]*h,t[1]=n[1]*s+r[1]*u+e[1]*c+a[1]*h,t[2]=n[2]*s+r[2]*u+e[2]*c+a[2]*h,t},inverse:I,len:E,length:o,lerp:A,max:m,min:d,mul:z,multiply:h,negate:_,normalize:x,random:function(t,n=1){const r=a.Ov,e=2*r()*Math.PI,o=2*r()-1,i=Math.sqrt(1-o*o)*n;return t[0]=Math.cos(e)*i,t[1]=Math.sin(e)*i,t[2]=o*n,t},rotateX:function(t,n,r,e){const a=[],o=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],o[0]=a[0],o[1]=a[1]*Math.cos(e)-a[2]*Math.sin(e),o[2]=a[1]*Math.sin(e)+a[2]*Math.cos(e),t[0]=o[0]+r[0],t[1]=o[1]+r[1],t[2]=o[2]+r[2],t},rotateY:function(t,n,r,e){const a=[],o=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],o[0]=a[2]*Math.sin(e)+a[0]*Math.cos(e),o[1]=a[1],o[2]=a[2]*Math.cos(e)-a[0]*Math.sin(e),t[0]=o[0]+r[0],t[1]=o[1]+r[1],t[2]=o[2]+r[2],t},rotateZ:function(t,n,r,e){const a=[],o=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],o[0]=a[0]*Math.cos(e)-a[1]*Math.sin(e),o[1]=a[0]*Math.sin(e)+a[1]*Math.cos(e),o[2]=a[2],t[0]=o[0]+r[0],t[1]=o[1]+r[1],t[2]=o[2]+r[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:p,scaleAndAdd:g,set:s,sign:M,sqrDist:Z,sqrLen:$,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:U,subtract:c,transformMat3:q,transformMat4:S,transformMat4Z:function(t,n){return n[2]*t[0]+n[6]*t[1]+n[10]*t[2]+n[14]},transformQuat:O,transformQuatValues:P},Symbol.toStringTag,{value:"Module"})),r.d(n,["Il",0,E,"jb",0,U,"lo",0,Z,"uE",0,$,"xg",0,V])},78955(t,n,r){r.d(n,{Bw:()=>p,C:()=>a,Cc:()=>v,LI:()=>f,Om:()=>y,S8:()=>b,T9:()=>l,WQ:()=>i,Z0:()=>_,aI:()=>x,hG:()=>m,hZ:()=>o,hs:()=>M,jk:()=>h,m3:()=>g,t2:()=>I});var e=r(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function o(t,n,r,e,a){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t}function i(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t}function s(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t}function u(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t[3]=n[3]*r[3],t}function c(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t[3]=n[3]/r[3],t}function h(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t[3]=Math.min(n[3],r[3]),t}function l(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t[3]=Math.max(n[3],r[3]),t}function f(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function M(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t}function d(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return Math.sqrt(r*r+e*e+a*a+o*o)}function m(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return r*r+e*e+a*a+o*o}function p(t){const n=t[0],r=t[1],e=t[2],a=t[3];return Math.sqrt(n*n+r*r+e*e+a*a)}function g(t){const n=t[0],r=t[1],e=t[2],a=t[3];return n*n+r*r+e*e+a*a}function b(t,n){const r=n[0],e=n[1],a=n[2],o=n[3];let i=r*r+e*e+a*a+o*o;return i>0&&(i=1/Math.sqrt(i),t[0]=r*i,t[1]=e*i,t[2]=a*i,t[3]=o*i),t}function y(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function v(t,n,r,e){const a=n[0],o=n[1],i=n[2],s=n[3];return t[0]=a+e*(r[0]-a),t[1]=o+e*(r[1]-o),t[2]=i+e*(r[2]-i),t[3]=s+e*(r[3]-s),t}function _(t,n,r){const e=n[0],a=n[1],o=n[2],i=n[3];return t[0]=r[0]*e+r[4]*a+r[8]*o+r[12]*i,t[1]=r[1]*e+r[5]*a+r[9]*o+r[13]*i,t[2]=r[2]*e+r[6]*a+r[10]*o+r[14]*i,t[3]=r[3]*e+r[7]*a+r[11]*o+r[15]*i,t}function I(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function x(t,n){const r=t[0],a=t[1],o=t[2],i=t[3],s=n[0],u=n[1],c=n[2],h=n[3],l=(0,e.FD)();return Math.abs(r-s)<=l*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(a-u)<=l*Math.max(1,Math.abs(a),Math.abs(u))&&Math.abs(o-c)<=l*Math.max(1,Math.abs(o),Math.abs(c))&&Math.abs(i-h)<=l*Math.max(1,Math.abs(i),Math.abs(h))}const w=s,j=u,A=c,S=d,q=m,O=p,P=g;Object.freeze(Object.defineProperty({__proto__:null,add:i,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:a,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:S,distance:d,div:A,divide:c,dot:y,equals:x,exactEquals:I,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:O,length:p,lerp:v,max:l,min:h,mul:j,multiply:u,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:b,random:function(t,n=1){const r=e.Ov;let a,o,i,s,u,c;do{a=2*r()-1,o=2*r()-1,u=a*a+o*o}while(u>=1);do{i=2*r()-1,s=2*r()-1,c=i*i+s*s}while(c>=1);const h=Math.sqrt((1-u)/c);return t[0]=n*a,t[1]=n*o,t[2]=n*i*h,t[3]=n*s*h,t},round:f,scale:M,scaleAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t},set:o,sqrDist:q,sqrLen:P,squaredDistance:m,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:w,subtract:s,transformMat4:_,transformQuat:function(t,n,r){const e=n[0],a=n[1],o=n[2],i=r[0],s=r[1],u=r[2],c=r[3],h=c*e+s*o-u*a,l=c*a+u*e-i*o,f=c*o+i*a-s*e,M=-i*e-s*a-u*o;return t[0]=h*c+M*-i+l*-u-f*-s,t[1]=l*c+M*-s+f*-i-h*-u,t[2]=f*c+M*-u+h*-s-l*-i,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},76553(t,n,r){function e(t){return t&&"getAtOrigin"in t&&"originOf"in t}r.d(n,{H:()=>e})},13069(t,n,r){r.d(n,{AG:()=>s,lk:()=>a,vD:()=>i,yS:()=>o});const e="randomUUID"in crypto;function a(){if(e)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const n=n=>t[n].toString(16).padStart(4,"0");return n(0)+n(1)+"-"+n(2)+"-"+n(3)+"-"+n(4)+"-"+n(5)+n(6)+n(7)}function o(){return`{${a().toUpperCase()}}`}function i(){return`{${a()}}`}function s(t){const n=t.toUpperCase();return t.startsWith("{")?n:`{${n}}`}},4197(t,n,r){r.d(n,{Vj:()=>h,cj:()=>c,jh:()=>o,l5:()=>s,yH:()=>u});var e=r(34275),a=r(9093);function o(t){return t<=1024?new Array(t).fill(0):new Float64Array(t)}function i(t){return((0,e.iu)(t)?t.byteLength/8:t.length)<=1024?Array.from(t):new Float64Array(t)}function s(t,n,r){return Array.isArray(t)?t.slice(n,n+r):t.subarray(n,n+r)}function u(t,n){if(0===n.length)return i(t);if(0===t.length)return i(n);const r=o(t.length+n.length);for(let n=0;n<t.length;++n)r[n]=t[n];for(let e=0;e<n.length;++e)r[t.length+e]=n[e];return r}function c(t){return[...t]}function h(t){const n=(0,a.vt)();for(let r=0;r<16;++r)n[r]=t[r];return n}},70328(t,n,r){r.d(n,{BI:()=>S,C:()=>i,DC:()=>f,Ej:()=>y,Ie:()=>j,Jt:()=>A,Lu:()=>_,Ne:()=>I,RF:()=>l,TF:()=>g,VL:()=>d,aI:()=>O,fA:()=>s,gE:()=>c,gX:()=>b,hZ:()=>w,iT:()=>M,is:()=>q,pg:()=>v,uJ:()=>p,vI:()=>x,vY:()=>u,vt:()=>o,w1:()=>h,yr:()=>m}),r(35522);var e=r(5443),a=(r(19419),r(4197));function o(t=N){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,n){for(let r=0;r<6;r++)t[r]=n[r];return t}function s(t,n,r,e,a,i,s=o()){return s[0]=t,s[1]=n,s[2]=r,s[3]=e,s[4]=a,s[5]=i,s}function u(t,n=o()){return function(t,n,r,e=o()){return w(e,P),function(t,n,r=0,e=n.length/3){let a=t[0],o=t[1],i=t[2],s=t[3],u=t[4],c=t[5];for(let t=0;t<e;t++)a=Math.min(a,n[r+3*t]),o=Math.min(o,n[r+3*t+1]),i=Math.min(i,n[r+3*t+2]),s=Math.max(s,n[r+3*t]),u=Math.max(u,n[r+3*t+1]),c=Math.max(c,n[r+3*t+2]);t[0]=a,t[1]=o,t[2]=i,t[3]=s,t[4]=u,t[5]=c}(e,t,n,r),e}(t,0,t.length/3,n)}function c(t,n=(0,a.jh)(24)){const[r,e,o,i,s,u]=t;return n[0]=r,n[1]=e,n[2]=o,n[3]=r,n[4]=e,n[5]=u,n[6]=r,n[7]=s,n[8]=o,n[9]=r,n[10]=s,n[11]=u,n[12]=i,n[13]=e,n[14]=o,n[15]=i,n[16]=e,n[17]=u,n[18]=i,n[19]=s,n[20]=o,n[21]=i,n[22]=s,n[23]=u,n}function h(t,n){const r=isFinite(t[2])||isFinite(t[5]);return new e.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function l(t,n,r=t){r[0]=Math.min(t[0],n[0]),r[1]=Math.min(t[1],n[1]),r[2]=Math.min(t[2],n[2]),r[3]=Math.max(t[3],n[3]),r[4]=Math.max(t[4],n[4]),r[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function M(t,[n,r,e]){!function(t,n,r,e){t[0]=Math.min(t[0],n),t[1]=Math.min(t[1],r),t[2]=Math.min(t[2],e),t[3]=Math.max(t[3],n),t[4]=Math.max(t[4],r),t[5]=Math.max(t[5],e)}(t,n,r,e)}function d(t){return t[0]>=t[3]?0:t[3]-t[0]}function m(t){return t[1]>=t[4]?0:t[4]-t[1]}function p(t){return t[2]>=t[5]?0:t[5]-t[2]}function g(t){const n=d(t),r=p(t),e=m(t);return n*n+r*r+e*e}function b(t,n=[0,0,0]){return n[0]=t[0]+d(t)/2,n[1]=t[1]+m(t)/2,n[2]=t[2]+p(t)/2,n}function y(t,n=[0,0,0]){return n[0]=d(t),n[1]=m(t),n[2]=p(t),n}function v(t,n){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function _(t,n){return n[0]=t[3],n[1]=t[4],n[2]=t[5],n}function I(t,n,r=t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function x(t,n,r=t){return r[3]=n[0],r[4]=n[1],r[5]=n[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function w(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function j(t){return t?w(t,P):o(P)}function A(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function S(t,n,r,e,a){return t[0]=n,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=e,t[4]=a,t[5]=Number.POSITIVE_INFINITY,t}function q(t){return 6===t.length}function O(t,n,r){if(null==t||null==n)return t===n;if(!q(t)||!q(n))return!1;if(r){for(let e=0;e<t.length;e++)if(!r(t[e],n[e]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}const P=[1/0,1/0,1/0,-1/0,-1/0,-1/0],N=[0,0,0,0,0,0];o(),r.d(n,["qv",0,P,"v_",0,N])},71351(t,n,r){r.d(n,{C:()=>h,Cr:()=>l,LV:()=>c,fA:()=>f,vt:()=>s}),r(4576);var e=r(4341),a=(r(77690),r(29242)),o=r(35522),i=r(51850);function s(t){return t?u((0,i.o8)(t.origin),(0,i.o8)(t.direction)):u((0,i.vt)(),(0,i.vt)())}function u(t,n){return{origin:t,direction:n}}function c(t,n){const r=M.get();return r.origin=t,r.direction=n,r}function h(t,n=s()){return f(t.origin,t.direction,n)}function l(t,n,r=s()){return(0,o.C)(r.origin,t),(0,o.Re)(r.direction,n,t),r}function f(t,n,r=s()){return(0,o.C)(r.origin,t),(0,o.C)(r.direction,n),r}r(32114);const M=new e.I(()=>s());(0,i.vt)(),(0,i.vt)(),(0,i.vt)(),(0,a.vt)()},32114(t,n,r){r.d(n,{Rc:()=>M,rq:()=>l,Km:()=>f}),r(44208);var e=r(26390),a=r(29242),o=r(9093),i=r(82534),s=r(48163),u=r(51850),c=r(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(s.vt)}static createVec3f64(){return new h(u.vt)}static createVec4f64(){return new h(c.vt)}static createMat3f64(){return new h(a.vt)}static createMat4f64(){return new h(o.vt)}static createQuatf64(){return new h(i.vt)}get test(){}}h.createVec2f64();const l=h.createVec3f64(),f=h.createVec4f64(),M=(h.createMat3f64(),h.createMat4f64());h.createQuatf64()},85648(t,n,r){r.d(n,{n:()=>a});var e=r(84952);function a(t){return o[function(t){return"json"===t.type?"application/json":"blob"===t.type?t.blob.type:function(t){const n=(0,e.Zo)(t);return u[n]||i}(t.url)}(t)]||s}const o={},i="text/plain",s=o[i],u={png:"image/png",jpeg:"image/jpeg",jpg:"image/jpg",bmp:"image/bmp",gif:"image/gif",json:"application/json",txt:"text/plain",xml:"application/xml",svg:"image/svg+xml",zip:"application/zip",pbf:"application/vnd.mapbox-vector-tile",gz:"application/gzip","bin.gz":"application/octet-stream"};for(const t in u)o[u[t]]=t},49718(t,n,r){r(51850),r(6867).w_},6867(t,n,r){r.d(n,{w_:()=>l});var e=r(58083),a=r(9093),o=r(35522),i=r(51850),s=r(78955),u=r(91829),c=r(71351);class h{constructor(){this.intersector=4}get distance(){return this._distance}get renderDistance(){return this._renderDistance}_init(){this._distance=this._renderDistance=this.target=this.drapedLayerOrder=this.renderPriority=null,this.intersector=4}_setBase(t,n,r,e=null,a=null,o=null){this.intersector=t,this._distance=r,this._renderDistance=e,this.target=n,this.drapedLayerOrder=a,this.renderPriority=o}}class l extends h{get ray(){return this._ray}get distanceInRenderSpace(){return null==this.distance?null:((0,o.hs)(M,this.ray.direction,this.distance),(0,o.Bw)(M))}withinDistance(t){return!!f(this)&&null!=this.distanceInRenderSpace&&this.distanceInRenderSpace<=t}getIntersectionPoint(t){return!!f(this)&&((0,o.hs)(M,this.ray.direction,this.distance),(0,o.WQ)(t,this.ray.origin,M),!0)}getTransformedNormal(t){return(0,o.C)(d,this.normal),d[3]=0,(0,s.Z0)(d,d,this.transformation),(0,o.C)(t,d),(0,o.S8)(t,t)}constructor(t){super(),this.normal=(0,i.vt)(),this.transformation=(0,a.vt)(),this._ray=(0,c.vt)(),this.init(t)}init(t){super._init(),t&&(0,c.C)(t,this._ray)}set(t,n,r,s,u,c,h,l){this._setBase(t,n,r,s,h,l),(0,o.C)(this.normal,u??i.Cb),(0,e.C)(this.transformation,c??a.zK)}copy(t){this._setBase(t.intersector,t.target,t.distance,t.renderDistance,t.drapedLayerOrder,t.renderPriority),(0,c.C)(t.ray,this._ray),(0,o.C)(this.normal,t.normal),(0,e.C)(this.transformation,t.transformation)}}function f(t){return null!=t?.distance&&null!=t?.renderDistance}const M=(0,i.vt)(),d=(0,u.vt)()},78553(t,n,r){r.d(n,{D:()=>o,p:()=>a});var e=r(56507);function a(t){const n=(0,e.Vr)(100*(1-t));return Math.max(0,Math.min(n,100))}function o(t){const n=1-t/100;return Math.max(0,Math.min(n,1))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7865],{58083(t,n,a){a.d(n,{$0:()=>p,$h:()=>O,B8:()=>c,C:()=>o,D_:()=>h,N9:()=>y,O7:()=>S,Qw:()=>u,Tl:()=>M,X_:()=>v,e$:()=>b,eL:()=>m,hM:()=>g,hZ:()=>e,hs:()=>f,kN:()=>d,l:()=>R,lw:()=>l,mg:()=>i,o1:()=>q,sC:()=>w,t2:()=>T,t5:()=>k,tZ:()=>F,ut:()=>D});var r=a(51850),s=a(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function e(t,n,a,r,s,o,e,h,i,u,c,l,M,f,b,m,d){return t[0]=n,t[1]=a,t[2]=r,t[3]=s,t[4]=o,t[5]=e,t[6]=h,t[7]=i,t[8]=u,t[9]=c,t[10]=l,t[11]=M,t[12]=f,t[13]=b,t[14]=m,t[15]=d,t}function h(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 i(t,n){if(t===n){const a=n[1],r=n[2],s=n[3],o=n[6],e=n[7],h=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=a,t[6]=n[9],t[7]=n[13],t[8]=r,t[9]=o,t[11]=n[14],t[12]=s,t[13]=e,t[14]=h}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function u(t,n){return c(t,n)||h(t),t}function c(t,n){const a=n[0],r=n[1],s=n[2],o=n[3],e=n[4],h=n[5],i=n[6],u=n[7],c=n[8],l=n[9],M=n[10],f=n[11],b=n[12],m=n[13],d=n[14],p=n[15],g=a*h-r*e,y=a*i-s*e,x=a*u-o*e,_=r*i-s*h,w=r*u-o*h,v=s*u-o*i,R=c*m-l*b,q=c*d-M*b,S=c*p-f*b,O=l*d-M*m,k=l*p-f*m,N=M*p-f*d;let T=g*N-y*k+x*O+_*S-w*q+v*R;return T?(T=1/T,t[0]=(h*N-i*k+u*O)*T,t[1]=(s*k-r*N-o*O)*T,t[2]=(m*v-d*w+p*_)*T,t[3]=(M*w-l*v-f*_)*T,t[4]=(i*S-e*N-u*q)*T,t[5]=(a*N-s*S+o*q)*T,t[6]=(d*x-b*v-p*y)*T,t[7]=(c*v-M*x+f*y)*T,t[8]=(e*k-h*S+u*R)*T,t[9]=(r*S-a*k-o*R)*T,t[10]=(b*w-m*x+p*g)*T,t[11]=(l*x-c*w-f*g)*T,t[12]=(h*q-e*O-i*R)*T,t[13]=(a*O-r*q+s*R)*T,t[14]=(m*y-b*_-d*g)*T,t[15]=(c*_-l*y+M*g)*T,t):null}function l(t,n,a){const r=n[0],s=n[1],o=n[2],e=n[3],h=n[4],i=n[5],u=n[6],c=n[7],l=n[8],M=n[9],f=n[10],b=n[11],m=n[12],d=n[13],p=n[14],g=n[15];let y=a[0],x=a[1],_=a[2],w=a[3];return t[0]=y*r+x*h+_*l+w*m,t[1]=y*s+x*i+_*M+w*d,t[2]=y*o+x*u+_*f+w*p,t[3]=y*e+x*c+_*b+w*g,y=a[4],x=a[5],_=a[6],w=a[7],t[4]=y*r+x*h+_*l+w*m,t[5]=y*s+x*i+_*M+w*d,t[6]=y*o+x*u+_*f+w*p,t[7]=y*e+x*c+_*b+w*g,y=a[8],x=a[9],_=a[10],w=a[11],t[8]=y*r+x*h+_*l+w*m,t[9]=y*s+x*i+_*M+w*d,t[10]=y*o+x*u+_*f+w*p,t[11]=y*e+x*c+_*b+w*g,y=a[12],x=a[13],_=a[14],w=a[15],t[12]=y*r+x*h+_*l+w*m,t[13]=y*s+x*i+_*M+w*d,t[14]=y*o+x*u+_*f+w*p,t[15]=y*e+x*c+_*b+w*g,t}function M(t,n,a){const r=a[0],s=a[1],o=a[2];if(n===t)t[12]=n[0]*r+n[4]*s+n[8]*o+n[12],t[13]=n[1]*r+n[5]*s+n[9]*o+n[13],t[14]=n[2]*r+n[6]*s+n[10]*o+n[14],t[15]=n[3]*r+n[7]*s+n[11]*o+n[15];else{const a=n[0],e=n[1],h=n[2],i=n[3],u=n[4],c=n[5],l=n[6],M=n[7],f=n[8],b=n[9],m=n[10],d=n[11];t[0]=a,t[1]=e,t[2]=h,t[3]=i,t[4]=u,t[5]=c,t[6]=l,t[7]=M,t[8]=f,t[9]=b,t[10]=m,t[11]=d,t[12]=a*r+u*s+f*o+n[12],t[13]=e*r+c*s+b*o+n[13],t[14]=h*r+l*s+m*o+n[14],t[15]=i*r+M*s+d*o+n[15]}return t}function f(t,n,a){const r=a[0],s=a[1],o=a[2];return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*s,t[5]=n[5]*s,t[6]=n[6]*s,t[7]=n[7]*s,t[8]=n[8]*o,t[9]=n[9]*o,t[10]=n[10]*o,t[11]=n[11]*o,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function b(t,n,a,r){let e=r[0],h=r[1],i=r[2],u=Math.sqrt(e*e+h*h+i*i);if(u<=(0,s.FD)())return void o(t,n);u=1/u,e*=u,h*=u,i*=u;const c=Math.sin(a),l=Math.cos(a),M=1-l,f=n[0],b=n[1],m=n[2],d=n[3],p=n[4],g=n[5],y=n[6],x=n[7],_=n[8],w=n[9],v=n[10],R=n[11],q=e*e*M+l,S=h*e*M+i*c,O=i*e*M-h*c,k=e*h*M-i*c,N=h*h*M+l,T=i*h*M+e*c,D=e*i*M+h*c,F=h*i*M-e*c,Z=i*i*M+l;t[0]=f*q+p*S+_*O,t[1]=b*q+g*S+w*O,t[2]=m*q+y*S+v*O,t[3]=d*q+x*S+R*O,t[4]=f*k+p*N+_*T,t[5]=b*k+g*N+w*T,t[6]=m*k+y*N+v*T,t[7]=d*k+x*N+R*T,t[8]=f*D+p*F+_*Z,t[9]=b*D+g*F+w*Z,t[10]=m*D+y*F+v*Z,t[11]=d*D+x*F+R*Z,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function m(t,n,a){const r=Math.sin(a),s=Math.cos(a),o=n[4],e=n[5],h=n[6],i=n[7],u=n[8],c=n[9],l=n[10],M=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=o*s+u*r,t[5]=e*s+c*r,t[6]=h*s+l*r,t[7]=i*s+M*r,t[8]=u*s-o*r,t[9]=c*s-e*r,t[10]=l*s-h*r,t[11]=M*s-i*r,t}function d(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function p(t,n,a){if(0===n)return h(t);let r=a[0],o=a[1],e=a[2],i=Math.sqrt(r*r+o*o+e*e);if(i<=(0,s.FD)())return null;i=1/i,r*=i,o*=i,e*=i;const u=Math.sin(n),c=Math.cos(n),l=1-c;return t[0]=r*r*l+c,t[1]=o*r*l+e*u,t[2]=e*r*l-o*u,t[3]=0,t[4]=r*o*l-e*u,t[5]=o*o*l+c,t[6]=e*o*l+r*u,t[7]=0,t[8]=r*e*l+o*u,t[9]=o*e*l-r*u,t[10]=e*e*l+c,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n){const a=Math.sin(n),r=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=a,t[7]=0,t[8]=0,t[9]=-a,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n){const a=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=a,t[2]=0,t[3]=0,t[4]=-a,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 x(t,n,a){const r=n[0],s=n[1],o=n[2],e=n[3],h=r+r,i=s+s,u=o+o,c=r*h,l=r*i,M=r*u,f=s*i,b=s*u,m=o*u,d=e*h,p=e*i,g=e*u;return t[0]=1-(f+m),t[1]=l+g,t[2]=M-p,t[3]=0,t[4]=l-g,t[5]=1-(c+m),t[6]=b+d,t[7]=0,t[8]=M+p,t[9]=b-d,t[10]=1-(c+f),t[11]=0,t[12]=a[0],t[13]=a[1],t[14]=a[2],t[15]=1,t}const _=(0,r.vt)();function w(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function v(t,n){const a=n[0],r=n[1],s=n[2],o=n[4],e=n[5],h=n[6],i=n[8],u=n[9],c=n[10];return t[0]=Math.sqrt(a*a+r*r+s*s),t[1]=Math.sqrt(o*o+e*e+h*h),t[2]=Math.sqrt(i*i+u*u+c*c),t}function R(t,n){const a=n[0]+n[5]+n[10];let r=0;return a>0?(r=2*Math.sqrt(a+1),t[3]=.25*r,t[0]=(n[6]-n[9])/r,t[1]=(n[8]-n[2])/r,t[2]=(n[1]-n[4])/r):n[0]>n[5]&&n[0]>n[10]?(r=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/r,t[0]=.25*r,t[1]=(n[1]+n[4])/r,t[2]=(n[8]+n[2])/r):n[5]>n[10]?(r=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/r,t[0]=(n[1]+n[4])/r,t[1]=.25*r,t[2]=(n[6]+n[9])/r):(r=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/r,t[0]=(n[8]+n[2])/r,t[1]=(n[6]+n[9])/r,t[2]=.25*r),t}function q(t,n,a,r){const s=n[0],o=n[1],e=n[2],h=n[3],i=s+s,u=o+o,c=e+e,l=s*i,M=s*u,f=s*c,b=o*u,m=o*c,d=e*c,p=h*i,g=h*u,y=h*c,x=r[0],_=r[1],w=r[2];return t[0]=(1-(b+d))*x,t[1]=(M+y)*x,t[2]=(f-g)*x,t[3]=0,t[4]=(M-y)*_,t[5]=(1-(l+d))*_,t[6]=(m+p)*_,t[7]=0,t[8]=(f+g)*w,t[9]=(m-p)*w,t[10]=(1-(l+b))*w,t[11]=0,t[12]=a[0],t[13]=a[1],t[14]=a[2],t[15]=1,t}function S(t,n,a,r,s){const o=n[0],e=n[1],h=n[2],i=n[3],u=o+o,c=e+e,l=h+h,M=o*u,f=o*c,b=o*l,m=e*c,d=e*l,p=h*l,g=i*u,y=i*c,x=i*l,_=r[0],w=r[1],v=r[2],R=s[0],q=s[1],S=s[2],O=(1-(m+p))*_,k=(f+x)*_,N=(b-y)*_,T=(f-x)*w,D=(1-(M+p))*w,F=(d+g)*w,Z=(b+y)*v,I=(d-g)*v,P=(1-(M+m))*v;return t[0]=O,t[1]=k,t[2]=N,t[3]=0,t[4]=T,t[5]=D,t[6]=F,t[7]=0,t[8]=Z,t[9]=I,t[10]=P,t[11]=0,t[12]=a[0]+R-(O*R+T*q+Z*S),t[13]=a[1]+q-(k*R+D*q+I*S),t[14]=a[2]+S-(N*R+F*q+P*S),t[15]=1,t}function O(t,n,a,r,s,o,e){const h=1/(a-n),i=1/(s-r),u=1/(o-e);return t[0]=2*o*h,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*i,t[6]=0,t[7]=0,t[8]=(a+n)*h,t[9]=(s+r)*i,t[10]=(e+o)*u,t[11]=-1,t[12]=0,t[13]=0,t[14]=e*o*2*u,t[15]=0,t}function k(t,n,a,r){const o=n[0],e=n[1],i=n[2];let u=o-a[0],c=e-a[1],l=i-a[2];const M=(0,s.FD)();if(Math.abs(u)<M&&Math.abs(c)<M&&Math.abs(l)<M)return void h(t);let f=1/Math.sqrt(u*u+c*c+l*l);u*=f,c*=f,l*=f;const b=r[0],m=r[1],d=r[2];let p=m*l-d*c,g=d*u-b*l,y=b*c-m*u;f=Math.sqrt(p*p+g*g+y*y),f?(f=1/f,p*=f,g*=f,y*=f):(p=0,g=0,y=0);let x=c*y-l*g,_=l*p-u*y,w=u*g-c*p;f=Math.sqrt(x*x+_*_+w*w),f?(f=1/f,x*=f,_*=f,w*=f):(x=0,_=0,w=0),t[0]=p,t[1]=x,t[2]=u,t[3]=0,t[4]=g,t[5]=_,t[6]=c,t[7]=0,t[8]=y,t[9]=w,t[10]=l,t[11]=0,t[12]=-(p*o+g*e+y*i),t[13]=-(x*o+_*e+w*i),t[14]=-(u*o+c*e+l*i),t[15]=1}function N(t,n,a){return t[0]=n[0]-a[0],t[1]=n[1]-a[1],t[2]=n[2]-a[2],t[3]=n[3]-a[3],t[4]=n[4]-a[4],t[5]=n[5]-a[5],t[6]=n[6]-a[6],t[7]=n[7]-a[7],t[8]=n[8]-a[8],t[9]=n[9]-a[9],t[10]=n[10]-a[10],t[11]=n[11]-a[11],t[12]=n[12]-a[12],t[13]=n[13]-a[13],t[14]=n[14]-a[14],t[15]=n[15]-a[15],t}function T(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function D(t){const n=(0,s.FD)(),a=t[0],r=t[1],o=t[2],e=t[4],h=t[5],i=t[6],u=t[8],c=t[9],l=t[10];return Math.abs(1-(a*a+e*e+u*u))<=n&&Math.abs(1-(r*r+h*h+c*c))<=n&&Math.abs(1-(o*o+i*i+l*l))<=n}function F(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 Z=l,I=N;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,a){return t[0]=n[0]+a[0],t[1]=n[1]+a[1],t[2]=n[2]+a[2],t[3]=n[3]+a[3],t[4]=n[4]+a[4],t[5]=n[5]+a[5],t[6]=n[6]+a[6],t[7]=n[7]+a[7],t[8]=n[8]+a[8],t[9]=n[9]+a[9],t[10]=n[10]+a[10],t[11]=n[11]+a[11],t[12]=n[12]+a[12],t[13]=n[13]+a[13],t[14]=n[14]+a[14],t[15]=n[15]+a[15],t},adjoint:function(t,n){const a=n[0],r=n[1],s=n[2],o=n[3],e=n[4],h=n[5],i=n[6],u=n[7],c=n[8],l=n[9],M=n[10],f=n[11],b=n[12],m=n[13],d=n[14],p=n[15];return t[0]=h*(M*p-f*d)-l*(i*p-u*d)+m*(i*f-u*M),t[1]=-(r*(M*p-f*d)-l*(s*p-o*d)+m*(s*f-o*M)),t[2]=r*(i*p-u*d)-h*(s*p-o*d)+m*(s*u-o*i),t[3]=-(r*(i*f-u*M)-h*(s*f-o*M)+l*(s*u-o*i)),t[4]=-(e*(M*p-f*d)-c*(i*p-u*d)+b*(i*f-u*M)),t[5]=a*(M*p-f*d)-c*(s*p-o*d)+b*(s*f-o*M),t[6]=-(a*(i*p-u*d)-e*(s*p-o*d)+b*(s*u-o*i)),t[7]=a*(i*f-u*M)-e*(s*f-o*M)+c*(s*u-o*i),t[8]=e*(l*p-f*m)-c*(h*p-u*m)+b*(h*f-u*l),t[9]=-(a*(l*p-f*m)-c*(r*p-o*m)+b*(r*f-o*l)),t[10]=a*(h*p-u*m)-e*(r*p-o*m)+b*(r*u-o*h),t[11]=-(a*(h*f-u*l)-e*(r*f-o*l)+c*(r*u-o*h)),t[12]=-(e*(l*d-M*m)-c*(h*d-i*m)+b*(h*M-i*l)),t[13]=a*(l*d-M*m)-c*(r*d-s*m)+b*(r*M-s*l),t[14]=-(a*(h*d-i*m)-e*(r*d-s*m)+b*(r*i-s*h)),t[15]=a*(h*M-i*l)-e*(r*M-s*l)+c*(r*i-s*h),t},copy:o,determinant:function(t){const n=t[0],a=t[1],r=t[2],s=t[3],o=t[4],e=t[5],h=t[6],i=t[7],u=t[8],c=t[9],l=t[10],M=t[11],f=t[12],b=t[13],m=t[14],d=t[15];return(n*e-a*o)*(l*d-M*m)-(n*h-r*o)*(c*d-M*b)+(n*i-s*o)*(c*m-l*b)+(a*h-r*e)*(u*d-M*f)-(a*i-s*e)*(u*m-l*f)+(r*i-s*h)*(u*b-c*f)},equals:function(t,n){if(t===n)return!0;const a=t[0],r=t[1],o=t[2],e=t[3],h=t[4],i=t[5],u=t[6],c=t[7],l=t[8],M=t[9],f=t[10],b=t[11],m=t[12],d=t[13],p=t[14],g=t[15],y=n[0],x=n[1],_=n[2],w=n[3],v=n[4],R=n[5],q=n[6],S=n[7],O=n[8],k=n[9],N=n[10],T=n[11],D=n[12],F=n[13],Z=n[14],I=n[15],P=(0,s.FD)();return Math.abs(a-y)<=P*Math.max(1,Math.abs(a),Math.abs(y))&&Math.abs(r-x)<=P*Math.max(1,Math.abs(r),Math.abs(x))&&Math.abs(o-_)<=P*Math.max(1,Math.abs(o),Math.abs(_))&&Math.abs(e-w)<=P*Math.max(1,Math.abs(e),Math.abs(w))&&Math.abs(h-v)<=P*Math.max(1,Math.abs(h),Math.abs(v))&&Math.abs(i-R)<=P*Math.max(1,Math.abs(i),Math.abs(R))&&Math.abs(u-q)<=P*Math.max(1,Math.abs(u),Math.abs(q))&&Math.abs(c-S)<=P*Math.max(1,Math.abs(c),Math.abs(S))&&Math.abs(l-O)<=P*Math.max(1,Math.abs(l),Math.abs(O))&&Math.abs(M-k)<=P*Math.max(1,Math.abs(M),Math.abs(k))&&Math.abs(f-N)<=P*Math.max(1,Math.abs(f),Math.abs(N))&&Math.abs(b-T)<=P*Math.max(1,Math.abs(b),Math.abs(T))&&Math.abs(m-D)<=P*Math.max(1,Math.abs(m),Math.abs(D))&&Math.abs(d-F)<=P*Math.max(1,Math.abs(d),Math.abs(F))&&Math.abs(p-Z)<=P*Math.max(1,Math.abs(p),Math.abs(Z))&&Math.abs(g-I)<=P*Math.max(1,Math.abs(g),Math.abs(I))},exactEquals:T,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,n){const a=n[0],r=n[1],s=n[2],o=n[3],e=a+a,h=r+r,i=s+s,u=a*e,c=r*e,l=r*h,M=s*e,f=s*h,b=s*i,m=o*e,d=o*h,p=o*i;return t[0]=1-l-b,t[1]=c+p,t[2]=M-d,t[3]=0,t[4]=c-p,t[5]=1-u-b,t[6]=f+m,t[7]=0,t[8]=M+d,t[9]=f-m,t[10]=1-u-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const a=_,r=-n[0],s=-n[1],o=-n[2],e=n[3],h=n[4],i=n[5],u=n[6],c=n[7],l=r*r+s*s+o*o+e*e;return l>0?(a[0]=2*(h*e+c*r+i*o-u*s)/l,a[1]=2*(i*e+c*s+u*r-h*o)/l,a[2]=2*(u*e+c*o+h*s-i*r)/l):(a[0]=2*(h*e+c*r+i*o-u*s),a[1]=2*(i*e+c*s+u*r-h*o),a[2]=2*(u*e+c*o+h*s-i*r)),x(t,n,a),t},fromRotation:p,fromRotationTranslation:x,fromRotationTranslationScale:q,fromRotationTranslationScaleOrigin:S,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:d,fromXRotation:g,fromYRotation:function(t,n){const a=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=0,t[2]=-a,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=a,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:y,frustum:O,getRotation:R,getScale:v,getTranslation:w,hasIdentityRotation:F,identity:h,invert:c,invertOrIdentity:u,isOrthoNormal:D,lookAt:k,mul:Z,multiply:l,multiplyScalar:function(t,n,a){return t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a,t[3]=n[3]*a,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=n[11]*a,t[12]=n[12]*a,t[13]=n[13]*a,t[14]=n[14]*a,t[15]=n[15]*a,t},multiplyScalarAndAdd:function(t,n,a,r){return t[0]=n[0]+a[0]*r,t[1]=n[1]+a[1]*r,t[2]=n[2]+a[2]*r,t[3]=n[3]+a[3]*r,t[4]=n[4]+a[4]*r,t[5]=n[5]+a[5]*r,t[6]=n[6]+a[6]*r,t[7]=n[7]+a[7]*r,t[8]=n[8]+a[8]*r,t[9]=n[9]+a[9]*r,t[10]=n[10]+a[10]*r,t[11]=n[11]+a[11]*r,t[12]=n[12]+a[12]*r,t[13]=n[13]+a[13]*r,t[14]=n[14]+a[14]*r,t[15]=n[15]+a[15]*r,t},ortho:function(t,n,a,r,s,o,e){const h=1/(n-a),i=1/(r-s),u=1/(o-e);return t[0]=-2*h,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(n+a)*h,t[13]=(s+r)*i,t[14]=(e+o)*u,t[15]=1,t},perspective:function(t,n,a,r,s){const o=1/Math.tan(n/2);let e;return t[0]=o/a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,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!=s&&s!==1/0?(e=1/(r-s),t[10]=(s+r)*e,t[14]=2*s*r*e):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,n,a,r){const s=Math.tan(n.upDegrees*Math.PI/180),o=Math.tan(n.downDegrees*Math.PI/180),e=Math.tan(n.leftDegrees*Math.PI/180),h=Math.tan(n.rightDegrees*Math.PI/180),i=2/(e+h),u=2/(s+o);return t[0]=i,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=u,t[6]=0,t[7]=0,t[8]=-(e-h)*i*.5,t[9]=(s-o)*u*.5,t[10]=r/(a-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*a/(a-r),t[15]=0,t},rotate:b,rotateX:m,rotateY:function(t,n,a){const r=Math.sin(a),s=Math.cos(a),o=n[0],e=n[1],h=n[2],i=n[3],u=n[8],c=n[9],l=n[10],M=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*s-u*r,t[1]=e*s-c*r,t[2]=h*s-l*r,t[3]=i*s-M*r,t[8]=o*r+u*s,t[9]=e*r+c*s,t[10]=h*r+l*s,t[11]=i*r+M*s,t},rotateZ:function(t,n,a){const r=Math.sin(a),s=Math.cos(a),o=n[0],e=n[1],h=n[2],i=n[3],u=n[4],c=n[5],l=n[6],M=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*s+u*r,t[1]=e*s+c*r,t[2]=h*s+l*r,t[3]=i*s+M*r,t[4]=u*s-o*r,t[5]=c*s-e*r,t[6]=l*s-h*r,t[7]=M*s-i*r,t},scale:f,set:e,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:I,subtract:N,targetTo:function(t,n,a,r){const s=n[0],o=n[1],e=n[2],h=r[0],i=r[1],u=r[2];let c=s-a[0],l=o-a[1],M=e-a[2],f=c*c+l*l+M*M;f>0&&(f=1/Math.sqrt(f),c*=f,l*=f,M*=f);let b=i*M-u*l,m=u*c-h*M,d=h*l-i*c;return f=b*b+m*m+d*d,f>0&&(f=1/Math.sqrt(f),b*=f,m*=f,d*=f),t[0]=b,t[1]=m,t[2]=d,t[3]=0,t[4]=l*d-M*m,t[5]=M*b-c*d,t[6]=c*m-l*b,t[7]=0,t[8]=c,t[9]=l,t[10]=M,t[11]=0,t[12]=s,t[13]=o,t[14]=e,t[15]=1,t},translate:M,transpose:i},Symbol.toStringTag,{value:"Module"}))},59247(t,n,a){a.d(n,{bv:()=>i,Fk:()=>u,yG:()=>c,$b:()=>l,Nd:()=>M,jm:()=>f,sK:()=>d});var r=a(40876),s=a(90629);function o(){const t=new Float32Array(16);return t[0]=1,t[5]=1,t[10]=1,t[15]=1,t}const e=o();Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:e,clone:function(t){const n=new Float32Array(16);return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n[6]=t[6],n[7]=t[7],n[8]=t[8],n[9]=t[9],n[10]=t[10],n[11]=t[11],n[12]=t[12],n[13]=t[13],n[14]=t[14],n[15]=t[15],n},create:o,fromValues:function(t,n,a,r,s,o,e,h,i,u,c,l,M,f,b,m){const d=new Float32Array(16);return d[0]=t,d[1]=n,d[2]=a,d[3]=r,d[4]=s,d[5]=o,d[6]=e,d[7]=h,d[8]=i,d[9]=u,d[10]=c,d[11]=l,d[12]=M,d[13]=f,d[14]=b,d[15]=m,d}},Symbol.toStringTag,{value:"Module"}));var h=a(58083);class i{constructor(t,n,a){this.strength=t,this.radius=n,this.threshold=a,this.type="bloom"}interpolate(t,n,a){this.strength=b(t.strength,n.strength,a),this.radius=b(t.radius,n.radius,a),this.threshold=b(t.threshold,n.threshold,a)}clone(){return new i(this.strength,this.radius,this.threshold)}toJSON(){return{type:"bloom",radius:m(this.radius),strength:this.strength,threshold:this.threshold}}}class u{constructor(t){this.radius=t,this.type="blur"}interpolate(t,n,a){this.radius=Math.round(b(t.radius,n.radius,a))}clone(){return new u(this.radius)}toJSON(){return{type:"blur",radius:m(this.radius)}}}class c{constructor(t,n){this.type=t,this.amount=n,"invert"!==this.type&&"grayscale"!==this.type&&"sepia"!==this.type||(this.amount=Math.min(this.amount,1))}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(t,n,a){this.amount=b(t.amount,n.amount,a),this._updateMatrix()}clone(){return new c(this.type,this.amount)}toJSON(){return{type:this.type,amount:this.amount}}_updateMatrix(){const t=this._colorMatrix||o();switch(this.type){case"brightness":this._colorMatrix=((t,n)=>{const a=(0,h.hZ)(t,n,0,0,0,0,n,0,0,0,0,n,0,0,0,0,1);return(0,h.mg)(a,a)})(t,this.amount);break;case"contrast":this._colorMatrix=((t,n)=>{const a=(0,h.hZ)(t,n,0,0,.5-.5*n,0,n,0,.5-.5*n,0,0,n,.5-.5*n,0,0,0,1);return(0,h.mg)(a,a)})(t,this.amount);break;case"grayscale":this._colorMatrix=(t=>{const n=1-this.amount,a=(0,h.hZ)(t,.2126+.7874*n,.7152-.7152*n,.0722-.0722*n,0,.2126-.2126*n,.7152+.2848*n,.0722-.0722*n,0,.2126-.2126*n,.7152-.7152*n,.0722+.9278*n,0,0,0,0,1);return(0,h.mg)(a,a)})(t);break;case"invert":this._colorMatrix=((t,n)=>{const a=1-2*n,r=(0,h.hZ)(t,a,0,0,n,0,a,0,n,0,0,a,n,0,0,0,1);return(0,h.mg)(r,r)})(t,this.amount);break;case"saturate":this._colorMatrix=((t,n)=>{const a=(0,h.hZ)(t,.213+.787*n,.715-.715*n,.072-.072*n,0,.213-.213*n,.715+.285*n,.072-.072*n,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,1);return(0,h.mg)(a,a)})(t,this.amount);break;case"sepia":this._colorMatrix=(t=>{const n=1-this.amount,a=(0,h.hZ)(t,.393+.607*n,.769-.769*n,.189-.189*n,0,.349-.349*n,.686+.314*n,.168-.168*n,0,.272-.272*n,.534-.534*n,.131+.869*n,0,0,0,0,1);return(0,h.mg)(a,a)})(t)}}}class l{constructor(t,n,a,r){this.offsetX=t,this.offsetY=n,this.blurRadius=a,this.color=r,this.type="drop-shadow"}interpolate(t,n,a){this.offsetX=b(t.offsetX,n.offsetX,a),this.offsetY=b(t.offsetY,n.offsetY,a),this.blurRadius=b(t.blurRadius,n.blurRadius,a),this.color[0]=Math.round(b(t.color[0],n.color[0],a)),this.color[1]=Math.round(b(t.color[1],n.color[1],a)),this.color[2]=Math.round(b(t.color[2],n.color[2],a)),this.color[3]=b(t.color[3],n.color[3],a)}clone(){return new l(this.offsetX,this.offsetY,this.blurRadius,[...this.color])}toJSON(){const t=[...this.color];return t[3]*=255,{type:"drop-shadow",xoffset:m(this.offsetX),yoffset:m(this.offsetY),blurRadius:m(this.blurRadius),color:t}}}class M{constructor(t){this.angle=t,this.type="hue-rotate"}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(t,n,a){this.angle=b(t.angle,n.angle,a),this._updateMatrix()}clone(){return new M(this.angle)}toJSON(){return{type:"hue-rotate",angle:this.angle}}_updateMatrix(){const t=this._colorMatrix||o();this._colorMatrix=((t,n)=>{const a=Math.sin(n*Math.PI/180),r=Math.cos(n*Math.PI/180),s=(0,h.hZ)(t,.213+.787*r-.213*a,.715-.715*r-.715*a,.072-.072*r+.928*a,0,.213-.213*r+.143*a,.715+.285*r+.14*a,.072-.072*r-.283*a,0,.213-.213*r-.787*a,.715-.715*r+.715*a,.072+.928*r+.072*a,0,0,0,0,1);return(0,h.mg)(s,s)})(t,this.angle)}}class f{constructor(t){this.amount=t,this.type="opacity",this.amount=Math.min(this.amount,1)}interpolate(t,n,a){this.amount=b(t.amount,n.amount,a)}clone(){return new f(this.amount)}toJSON(){return{type:"opacity",amount:this.amount}}}function b(t,n,a){return t+(n-t)*a}function m(t){return Math.round(1e3*(0,s.PN)(t))/1e3}function d(t){switch(t.type){case"grayscale":case"sepia":case"invert":return new c(t.type,0);case"saturate":case"brightness":case"contrast":return new c(t.type,1);case"opacity":return new f(1);case"hue-rotate":return new M(0);case"blur":return new u(0);case"drop-shadow":return new l(0,0,0,[...(0,r.TS)("transparent")]);case"bloom":return new i(0,0,1)}}},27865(t,n,a){a.d(n,{O9:()=>o,dw:()=>e,mj:()=>s});var r=a(59247);function s(t,n){const a=t.length>n.length?t:n;return(t.length>n.length?n:t).every((t,n)=>t.type===a[n].type)}function o(t,n){const a=t.length>n.length?t:n,s=t.length>n.length?n:t;for(let t=s.length;t<a.length;t++)s.push((0,r.sK)(a[t]))}function e(t){const n=t[0];return!!n&&"type"in n}}}]);
|